Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5b17f991c425fdfdbf3defaffe349f04efb7e6d5 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-ssh3329560894347939043.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-ssh15603458733994552194.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 32edd24ee733e309d05e35b1f887f14b07bde6d0 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/edgex-global-pipelines/.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/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11973660758154159364.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 32edd24ee733e309d05e35b1f887f14b07bde6d0 # timeout=10 Commit message: "Merge pull request #369 from ernestojeda/revert-script-move" > 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 shared 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-ssh14492544702808232855.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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/lf-pipelines/.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/lf-pipelines@tmp/jenkins-gitclient-ssh2890327546762897897.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 shared 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: [[centos7-docker-4c-2g, ubuntu18.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.16 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-99 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.24.4' 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 /w/workspace/edgexfoundry_device-rest-go_main@tmp/jenkins-gitclient-ssh8105789425307111094.key > 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 5b17f991c425fdfdbf3defaffe349f04efb7e6d5 (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 5b17f991c425fdfdbf3defaffe349f04efb7e6d5 # timeout=10 Commit message: "Merge pull request #148 from farshidtz/snap-config-plug-target-fix" > git rev-list --no-walk 8f9dabbcd23e32bae175015e2a15c1f428ed019f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-12-02T14:19:10.139Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-12-02T14:19:10.190Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-12-02T14:19:10.205Z] ========================================================= [2021-12-02T14:19:10.205Z] EdgeX Global Pipelines Version Info [2021-12-02T14:19:10.205Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-12-02T14:19:11.339Z] ------------------- [2021-12-02T14:19:11.339Z] stable info: [2021-12-02T14:19:11.339Z] ------------------- [2021-12-02T14:19:11.339Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-12-02T14:19:11.339Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2021-12-02T14:19:11.339Z] Message: update stable to v1.0.217 [2021-12-02T14:19:11.917Z] ------------------- [2021-12-02T14:19:11.917Z] experimental info: [2021-12-02T14:19:11.917Z] ------------------- [2021-12-02T14:19:11.917Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-12-02T14:19:11.917Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2021-12-02T14:19:11.917Z] Message: update experimental to v1.0.217 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-12-02T14:19:12.054Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-12-02T14:19:12.067Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-12-02T14:19:12.084Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-12-02T14:19:12.094Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-12-02T14:19:12.108Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-12-02T14:19:12.120Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-12-02T14:19:12.133Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-12-02T14:19:12.149Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-12-02T14:19:12.161Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-12-02T14:19:12.180Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-12-02T14:19:12.193Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-12-02T14:19:12.204Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-12-02T14:19:12.217Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-12-02T14:19:12.233Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-12-02T14:19:12.250Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-12-02T14:19:12.265Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-12-02T14:19:12.278Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-12-02T14:19:12.288Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-12-02T14:19:12.303Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-12-02T14:19:12.321Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-12-02T14:19:12.340Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-12-02T14:19:12.359Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-12-02T14:19:12.376Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-12-02T14:19:12.391Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-12-02T14:19:12.402Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-12-02T14:19:12.414Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-12-02T14:19:12.426Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-12-02T14:19:12.441Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-12-02T14:19:12.455Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-12-02T14:19:12.466Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5b17f991c425fdfdbf3defaffe349f04efb7e6d5 [Pipeline] echo [2021-12-02T14:19:12.481Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5b17f99 [Pipeline] echo [2021-12-02T14:19:12.497Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-02T14:19:12.535Z] provisioning config files... [2021-12-02T14:19:12.549Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1752117277389602170tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T14:19:12.862Z] ---> docker-login.sh [2021-12-02T14:19:12.863Z] nexus3.edgexfoundry.org:10001 [2021-12-02T14:19:13.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:19:13.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:19:13.131Z] Configure a credential helper to remove this warning. See [2021-12-02T14:19:13.131Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:19:13.131Z] [2021-12-02T14:19:13.131Z] Login Succeeded [2021-12-02T14:19:13.131Z] nexus3.edgexfoundry.org:10002 [2021-12-02T14:19:13.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:19:13.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:19:13.131Z] Configure a credential helper to remove this warning. See [2021-12-02T14:19:13.131Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:19:13.131Z] [2021-12-02T14:19:13.131Z] Login Succeeded [2021-12-02T14:19:13.131Z] nexus3.edgexfoundry.org:10003 [2021-12-02T14:19:13.396Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:19:13.396Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:19:13.396Z] Configure a credential helper to remove this warning. See [2021-12-02T14:19:13.396Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:19:13.396Z] [2021-12-02T14:19:13.396Z] Login Succeeded [2021-12-02T14:19:13.396Z] nexus3.edgexfoundry.org:10004 [2021-12-02T14:19:13.396Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:19:13.396Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:19:13.396Z] Configure a credential helper to remove this warning. See [2021-12-02T14:19:13.396Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:19:13.396Z] [2021-12-02T14:19:13.396Z] Login Succeeded [2021-12-02T14:19:13.396Z] docker.io [2021-12-02T14:19:13.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:19:13.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:19:13.920Z] Configure a credential helper to remove this warning. See [2021-12-02T14:19:13.920Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:19:13.920Z] [2021-12-02T14:19:13.920Z] Login Succeeded [2021-12-02T14:19:13.920Z] ---> docker-login.sh ends [Pipeline] } [2021-12-02T14:19:13.929Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-12-02T14:19:14.366Z] + git rev-list -1 --merges 5b17f991c425fdfdbf3defaffe349f04efb7e6d5~1..5b17f991c425fdfdbf3defaffe349f04efb7e6d5 [Pipeline] echo [2021-12-02T14:19:14.392Z] -----------> git rev-list -1 --merges 5b17f991c425fdfdbf3defaffe349f04efb7e6d5~1..5b17f991c425fdfdbf3defaffe349f04efb7e6d5 5b17f991c425fdfdbf3defaffe349f04efb7e6d5 [2021-12-02T14:19:14.392Z] 5b17f991c425fdfdbf3defaffe349f04efb7e6d5 [false] [Pipeline] sh [2021-12-02T14:19:14.700Z] + git log --format=format:%s -1 5b17f991c425fdfdbf3defaffe349f04efb7e6d5 [Pipeline] echo [2021-12-02T14:19:14.719Z] ========================================================= [2021-12-02T14:19:14.719Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-12-02T14:19:14.719Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-02T14:19:15.044Z] + git log --format=format:%s -1 5b17f991c425fdfdbf3defaffe349f04efb7e6d5 [Pipeline] echo [2021-12-02T14:19:15.058Z] [semverPrep] GIT_COMMIT: 5b17f991c425fdfdbf3defaffe349f04efb7e6d5, Commit Message: Merge pull request #148 from farshidtz/snap-config-plug-target-fix [Pipeline] echo [2021-12-02T14:19:15.065Z] [semverPrep] This is not a build commit. [Pipeline] sh [2021-12-02T14:19:15.445Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-12-02T14:19:15.445Z] + grep -v github /etc/ssh/ssh_known_hosts [2021-12-02T14:19:15.445Z] + '[' -e /tmp/ssh_known_hosts ']' [2021-12-02T14:19:15.445Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2021-12-02T14:19:15.445Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2021-12-02T14:19:15.445Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2021-12-02T14:19:15.445Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:19:15.787Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-02T14:19:15.787Z] [2021-12-02T14:19:15.787Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:19:16.088Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-02T14:19:16.088Z] latest: Pulling from edgex-devops/git-semver [2021-12-02T14:19:16.088Z] a0d0a0d46f8b: Pulling fs layer [2021-12-02T14:19:16.088Z] 3e5f54012d9b: Pulling fs layer [2021-12-02T14:19:16.088Z] 4c7163046ea9: Pulling fs layer [2021-12-02T14:19:16.088Z] 0c2d73faf560: Pulling fs layer [2021-12-02T14:19:16.088Z] 0c2d73faf560: Waiting [2021-12-02T14:19:16.088Z] 3e5f54012d9b: Verifying Checksum [2021-12-02T14:19:16.088Z] 3e5f54012d9b: Download complete [2021-12-02T14:19:16.088Z] a0d0a0d46f8b: Verifying Checksum [2021-12-02T14:19:16.088Z] a0d0a0d46f8b: Download complete [2021-12-02T14:19:16.088Z] 4c7163046ea9: Verifying Checksum [2021-12-02T14:19:16.088Z] 4c7163046ea9: Download complete [2021-12-02T14:19:16.354Z] 0c2d73faf560: Verifying Checksum [2021-12-02T14:19:16.354Z] 0c2d73faf560: Download complete [2021-12-02T14:19:16.354Z] a0d0a0d46f8b: Pull complete [2021-12-02T14:19:16.354Z] 3e5f54012d9b: Pull complete [2021-12-02T14:19:16.616Z] 4c7163046ea9: Pull complete [2021-12-02T14:19:16.875Z] 0c2d73faf560: Pull complete [2021-12-02T14:19:16.875Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-12-02T14:19:16.875Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-02T14:19:16.875Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-12-02T14:19:16.944Z] prd-centos7-docker-4c-2g-99 does not seem to be running inside a container [2021-12-02T14:19:16.980Z] $ 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:10004/edgex-devops/git-semver:latest cat [2021-12-02T14:19:17.640Z] $ docker top e1d1ef6d031204ec6573108f5c088742867748b8b461ef2baeaacae76b2b1bc9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-12-02T14:19:17.747Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-02T14:19:17.747Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-02T14:19:17.850Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-02T14:19:17.850Z] $ docker exec e1d1ef6d031204ec6573108f5c088742867748b8b461ef2baeaacae76b2b1bc9 ssh-agent [2021-12-02T14:19:17.947Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlooMkc/agent.13 [2021-12-02T14:19:17.947Z] SSH_AGENT_PID=19 [2021-12-02T14:19:17.954Z] Running ssh-add (command line suppressed) [2021-12-02T14:19:18.037Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2558052521986214845.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2558052521986214845.key) [2021-12-02T14:19:18.052Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-02T14:19:18.344Z] + git tag --points-at HEAD [Pipeline] } [2021-12-02T14:19:18.366Z] $ docker exec --env ******** --env ******** e1d1ef6d031204ec6573108f5c088742867748b8b461ef2baeaacae76b2b1bc9 ssh-agent -k [2021-12-02T14:19:18.447Z] unset SSH_AUTH_SOCK; [2021-12-02T14:19:18.448Z] unset SSH_AGENT_PID; [2021-12-02T14:19:18.448Z] echo Agent pid 19 killed; [2021-12-02T14:19:18.462Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-12-02T14:19:18.488Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-02T14:19:18.488Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-02T14:19:18.581Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-02T14:19:18.581Z] $ docker exec e1d1ef6d031204ec6573108f5c088742867748b8b461ef2baeaacae76b2b1bc9 ssh-agent [2021-12-02T14:19:18.670Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXimFOPB/agent.53 [2021-12-02T14:19:18.670Z] SSH_AGENT_PID=60 [2021-12-02T14:19:18.675Z] Running ssh-add (command line suppressed) [2021-12-02T14:19:18.758Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4165065442370400810.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4165065442370400810.key) [2021-12-02T14:19:18.774Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-02T14:19:19.074Z] + git semver init [2021-12-02T14:19:19.075Z] # -> Open(): unable to determine branch for HEAD [2021-12-02T14:19:19.075Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-12-02T14:19:19.075Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-12-02T14:19:19.075Z] # $SEMVER_REMOTE_NAME = origin [2021-12-02T14:19:19.075Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-12-02T14:19:19.075Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-12-02T14:19:19.075Z] # $SEMVER_BRANCH = main [2021-12-02T14:19:19.075Z] # $SEMVER_TEMP = /tmp/semver-149419562 [2021-12-02T14:19:19.075Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-12-02T14:19:22.383Z] # '/tmp/semver-149419562' -> '/w/workspace/edgexfoundry_device-rest-go_main/.semver' [2021-12-02T14:19:22.383Z] # -> Force: false [2021-12-02T14:19:22.383Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } [2021-12-02T14:19:22.390Z] $ docker exec --env ******** --env ******** e1d1ef6d031204ec6573108f5c088742867748b8b461ef2baeaacae76b2b1bc9 ssh-agent -k [2021-12-02T14:19:22.468Z] unset SSH_AUTH_SOCK; [2021-12-02T14:19:22.469Z] unset SSH_AGENT_PID; [2021-12-02T14:19:22.469Z] echo Agent pid 60 killed; [2021-12-02T14:19:22.480Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-12-02T14:19:22.793Z] + git semver [Pipeline] } [2021-12-02T14:19:22.803Z] $ docker stop --time=1 e1d1ef6d031204ec6573108f5c088742867748b8b461ef2baeaacae76b2b1bc9 [2021-12-02T14:19:24.056Z] $ docker rm -f e1d1ef6d031204ec6573108f5c088742867748b8b461ef2baeaacae76b2b1bc9 [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-02T14:19:24.407Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-12-02T14:19:24.616Z] Stashed 1 file(s) [Pipeline] echo [2021-12-02T14:19:24.619Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.2 [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] node [Pipeline] node [2021-12-02T14:19:39.769Z] Still waiting to schedule task [2021-12-02T14:19:39.769Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-12-02T14:19:39.771Z] Still waiting to schedule task [2021-12-02T14:19:39.771Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-96’ [2021-12-02T14:22:03.194Z] Running on prd-centos7-docker-4c-2g-103 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2021-12-02T14:22:03.207Z] Running in /w/workspace/device-rest-go/22 [Pipeline] { [Pipeline] checkout [2021-12-02T14:22:03.295Z] The recommended git tool is: git [2021-12-02T14:22:04.875Z] using credential edgex-jenkins-ssh [2021-12-02T14:22:04.889Z] Cloning the remote Git repository [2021-12-02T14:22:04.862Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-12-02T14:22:04.893Z] > git init /w/workspace/device-rest-go/22 # timeout=10 [2021-12-02T14:22:04.923Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-12-02T14:22:04.923Z] > git --version # timeout=10 [2021-12-02T14:22:04.935Z] > git --version # 'git version 2.24.4' [2021-12-02T14:22:04.935Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-02T14:22:05.013Z] [INFO] Currently running in a labeled security context [2021-12-02T14:22:05.014Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-12-02T14:22:05.014Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/22@tmp/jenkins-gitclient-ssh4662200245706620074.key [2021-12-02T14:22:05.042Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-02T14:22:06.024Z] Avoid second fetch [2021-12-02T14:22:06.024Z] Checking out Revision 5b17f991c425fdfdbf3defaffe349f04efb7e6d5 (main) [2021-12-02T14:22:05.957Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-12-02T14:22:05.965Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-02T14:22:05.985Z] > git config core.sparsecheckout # timeout=10 [2021-12-02T14:22:05.995Z] > git checkout -f 5b17f991c425fdfdbf3defaffe349f04efb7e6d5 # timeout=10 [2021-12-02T14:22:08.678Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-102 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2021-12-02T14:22:08.691Z] Running in /w/workspace/device-rest-go/22 [Pipeline] { [Pipeline] checkout [2021-12-02T14:22:08.891Z] The recommended git tool is: git [2021-12-02T14:22:09.665Z] Commit message: "Merge pull request #148 from farshidtz/snap-config-plug-target-fix" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-02T14:22:10.015Z] provisioning config files... [2021-12-02T14:22:10.029Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/22@tmp/config5856402522635550890tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T14:22:10.402Z] ---> docker-login.sh [2021-12-02T14:22:10.402Z] nexus3.edgexfoundry.org:10001 [2021-12-02T14:22:10.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:22:10.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:22:10.402Z] Configure a credential helper to remove this warning. See [2021-12-02T14:22:10.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:22:10.402Z] [2021-12-02T14:22:10.402Z] Login Succeeded [2021-12-02T14:22:10.402Z] nexus3.edgexfoundry.org:10002 [2021-12-02T14:22:10.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:22:10.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:22:10.665Z] Configure a credential helper to remove this warning. See [2021-12-02T14:22:10.665Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:22:10.665Z] [2021-12-02T14:22:10.665Z] Login Succeeded [2021-12-02T14:22:10.665Z] nexus3.edgexfoundry.org:10003 [2021-12-02T14:22:10.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:22:10.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:22:10.665Z] Configure a credential helper to remove this warning. See [2021-12-02T14:22:10.665Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:22:10.665Z] [2021-12-02T14:22:10.665Z] Login Succeeded [2021-12-02T14:22:10.665Z] nexus3.edgexfoundry.org:10004 [2021-12-02T14:22:10.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:22:10.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:22:10.929Z] Configure a credential helper to remove this warning. See [2021-12-02T14:22:10.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:22:10.929Z] [2021-12-02T14:22:10.929Z] Login Succeeded [2021-12-02T14:22:10.929Z] docker.io [2021-12-02T14:22:10.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:22:11.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:22:11.190Z] Configure a credential helper to remove this warning. See [2021-12-02T14:22:11.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:22:11.190Z] [2021-12-02T14:22:11.190Z] Login Succeeded [2021-12-02T14:22:11.190Z] ---> docker-login.sh ends [Pipeline] } [2021-12-02T14:22:11.279Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-12-02T14:22:11.410Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-02T14:22:11.423Z] ========================================================= [2021-12-02T14:22:11.423Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-12-02T14:22:11.423Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:22:11.742Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-12-02T14:22:11.742Z] Sending build context to Docker daemon 121.9kB [2021-12-02T14:22:11.742Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-12-02T14:22:11.742Z] Step 2/11 : FROM ${BASE} AS builder [2021-12-02T14:22:11.742Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-12-02T14:22:11.742Z] a0d0a0d46f8b: Pulling fs layer [2021-12-02T14:22:11.742Z] 31adcdaf11c8: Pulling fs layer [2021-12-02T14:22:11.742Z] b8b176561691: Pulling fs layer [2021-12-02T14:22:11.742Z] 4527c011a84f: Pulling fs layer [2021-12-02T14:22:11.742Z] 5d74067f8e1e: Pulling fs layer [2021-12-02T14:22:11.742Z] e0aca202a116: Pulling fs layer [2021-12-02T14:22:11.742Z] 3a43be97a3b4: Pulling fs layer [2021-12-02T14:22:11.742Z] 34cad66bf833: Pulling fs layer [2021-12-02T14:22:11.742Z] b4e3c513aaa6: Pulling fs layer [2021-12-02T14:22:11.742Z] 4527c011a84f: Waiting [2021-12-02T14:22:11.742Z] 5d74067f8e1e: Waiting [2021-12-02T14:22:11.742Z] e0aca202a116: Waiting [2021-12-02T14:22:11.742Z] 3a43be97a3b4: Waiting [2021-12-02T14:22:11.742Z] 34cad66bf833: Waiting [2021-12-02T14:22:11.742Z] b4e3c513aaa6: Waiting [2021-12-02T14:22:11.742Z] b8b176561691: Verifying Checksum [2021-12-02T14:22:11.742Z] b8b176561691: Download complete [2021-12-02T14:22:11.742Z] 31adcdaf11c8: Verifying Checksum [2021-12-02T14:22:11.742Z] 31adcdaf11c8: Download complete [2021-12-02T14:22:11.742Z] a0d0a0d46f8b: Verifying Checksum [2021-12-02T14:22:11.742Z] a0d0a0d46f8b: Download complete [2021-12-02T14:22:11.742Z] 5d74067f8e1e: Verifying Checksum [2021-12-02T14:22:11.742Z] 5d74067f8e1e: Download complete [2021-12-02T14:22:11.742Z] 3a43be97a3b4: Verifying Checksum [2021-12-02T14:22:11.742Z] 3a43be97a3b4: Download complete [2021-12-02T14:22:12.013Z] e0aca202a116: Verifying Checksum [2021-12-02T14:22:12.013Z] e0aca202a116: Download complete [2021-12-02T14:22:12.013Z] 34cad66bf833: Verifying Checksum [2021-12-02T14:22:12.013Z] 34cad66bf833: Download complete [2021-12-02T14:22:12.587Z] 4527c011a84f: Verifying Checksum [2021-12-02T14:22:12.587Z] 4527c011a84f: Download complete [2021-12-02T14:22:12.587Z] a0d0a0d46f8b: Pull complete [2021-12-02T14:22:12.587Z] b4e3c513aaa6: Verifying Checksum [2021-12-02T14:22:12.587Z] b4e3c513aaa6: Download complete [2021-12-02T14:22:12.587Z] 31adcdaf11c8: Pull complete [2021-12-02T14:22:12.856Z] b8b176561691: Pull complete [2021-12-02T14:22:13.908Z] using credential edgex-jenkins-ssh [2021-12-02T14:22:13.931Z] Cloning the remote Git repository [2021-12-02T14:22:13.991Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-12-02T14:22:14.064Z] > git init /w/workspace/device-rest-go/22 # timeout=10 [2021-12-02T14:22:14.161Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-12-02T14:22:14.162Z] > git --version # timeout=10 [2021-12-02T14:22:14.183Z] > git --version # 'git version 2.17.1' [2021-12-02T14:22:14.185Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-02T14:22:14.273Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-02T14:22:16.209Z] 4527c011a84f: Pull complete [2021-12-02T14:22:16.209Z] 5d74067f8e1e: Pull complete [2021-12-02T14:22:16.223Z] Avoid second fetch [2021-12-02T14:22:16.224Z] Checking out Revision 5b17f991c425fdfdbf3defaffe349f04efb7e6d5 (main) [2021-12-02T14:22:16.186Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-12-02T14:22:16.207Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-02T14:22:16.244Z] > git config core.sparsecheckout # timeout=10 [2021-12-02T14:22:16.263Z] > git checkout -f 5b17f991c425fdfdbf3defaffe349f04efb7e6d5 # timeout=10 [2021-12-02T14:22:16.479Z] e0aca202a116: Pull complete [2021-12-02T14:22:16.479Z] 3a43be97a3b4: Pull complete [2021-12-02T14:22:16.479Z] 34cad66bf833: Pull complete [2021-12-02T14:22:19.057Z] b4e3c513aaa6: Pull complete [2021-12-02T14:22:19.057Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-12-02T14:22:19.057Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-12-02T14:22:19.057Z] ---> 9f6097aaca64 [2021-12-02T14:22:19.057Z] Step 3/11 : ARG MAKE='make build' [2021-12-02T14:22:20.590Z] Commit message: "Merge pull request #148 from farshidtz/snap-config-plug-target-fix" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-02T14:22:21.409Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-12-02T14:22:21.410Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-12-02T14:22:21.410Z] Dload Upload Total Spent Left Speed [2021-12-02T14:22:21.410Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 206k 0 --:--:-- --:--:-- --:--:-- 209k [Pipeline] sh [2021-12-02T14:22:21.944Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-12-02T14:22:22.283Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-12-02T14:22:22.283Z] + sudo tee /etc/docker/daemon.new [2021-12-02T14:22:22.283Z] { [2021-12-02T14:22:22.283Z] "registry-mirrors": [ [2021-12-02T14:22:22.283Z] "https://nexus3.edgexfoundry.org:10001" [2021-12-02T14:22:22.283Z] ], [2021-12-02T14:22:22.283Z] "bip": "10.250.0.254/24", [2021-12-02T14:22:22.283Z] "hosts": [ [2021-12-02T14:22:22.283Z] "tcp://0.0.0.0:5555", [2021-12-02T14:22:22.283Z] "unix:///var/run/docker.sock" [2021-12-02T14:22:22.283Z] ], [2021-12-02T14:22:22.283Z] "mtu": 1458, [2021-12-02T14:22:22.283Z] "selinux-enabled": true, [2021-12-02T14:22:22.283Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-12-02T14:22:22.283Z] } [Pipeline] sh [2021-12-02T14:22:22.635Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-12-02T14:22:22.977Z] + sudo service docker restart [2021-12-02T14:22:23.268Z] ---> Running in 0faeaf334e25 [2021-12-02T14:22:23.268Z] Removing intermediate container 0faeaf334e25 [2021-12-02T14:22:23.268Z] ---> 49c4c578ffc0 [2021-12-02T14:22:23.268Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-02T14:22:23.268Z] ---> Running in 4c2cd1d6a4c6 [2021-12-02T14:22:23.268Z] Removing intermediate container 4c2cd1d6a4c6 [2021-12-02T14:22:23.268Z] ---> 2150736920fd [2021-12-02T14:22:23.268Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-12-02T14:22:23.268Z] ---> Running in 6fe7c6739125 [2021-12-02T14:22:23.268Z] Removing intermediate container 6fe7c6739125 [2021-12-02T14:22:23.268Z] ---> adeb69adc607 [2021-12-02T14:22:23.268Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-02T14:22:23.268Z] ---> Running in 3adacb3c5614 [2021-12-02T14:22:23.531Z] Removing intermediate container 3adacb3c5614 [2021-12-02T14:22:23.531Z] ---> 420a573be340 [2021-12-02T14:22:23.531Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-02T14:22:23.531Z] ---> Running in e802426565b9 [2021-12-02T14:22:23.791Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-02T14:22:24.739Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-02T14:22:25.003Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-12-02T14:22:25.003Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-12-02T14:22:25.003Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-12-02T14:22:25.264Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-12-02T14:22:25.264Z] Executing busybox-1.33.1-r3.trigger [2021-12-02T14:22:25.264Z] OK: 224 MiB in 56 packages [2021-12-02T14:22:25.524Z] Removing intermediate container e802426565b9 [2021-12-02T14:22:25.524Z] ---> 9ffa7c26b29c [2021-12-02T14:22:25.524Z] Step 8/11 : WORKDIR /device-rest-go [2021-12-02T14:22:25.524Z] ---> Running in 5edeb51d9cdd [2021-12-02T14:22:25.524Z] Removing intermediate container 5edeb51d9cdd [2021-12-02T14:22:25.524Z] ---> a0ac8dc634e6 [2021-12-02T14:22:25.524Z] Step 9/11 : COPY . . [2021-12-02T14:22:25.783Z] ---> 7c5b62d6803d [2021-12-02T14:22:25.783Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-02T14:22:25.783Z] ---> Running in 676cd3e3181e [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-02T14:22:41.296Z] provisioning config files... [2021-12-02T14:22:41.319Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/22@tmp/config6241191048317743684tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T14:22:41.676Z] ---> docker-login.sh [2021-12-02T14:22:41.676Z] nexus3.edgexfoundry.org:10001 [2021-12-02T14:22:42.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:22:42.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:22:42.270Z] Configure a credential helper to remove this warning. See [2021-12-02T14:22:42.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:22:42.270Z] [2021-12-02T14:22:42.270Z] Login Succeeded [2021-12-02T14:22:42.270Z] nexus3.edgexfoundry.org:10002 [2021-12-02T14:22:42.864Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:22:42.864Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:22:42.864Z] Configure a credential helper to remove this warning. See [2021-12-02T14:22:42.864Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:22:42.864Z] [2021-12-02T14:22:42.864Z] Login Succeeded [2021-12-02T14:22:42.864Z] nexus3.edgexfoundry.org:10003 [2021-12-02T14:22:43.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:22:43.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:22:43.136Z] Configure a credential helper to remove this warning. See [2021-12-02T14:22:43.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:22:43.136Z] [2021-12-02T14:22:43.136Z] Login Succeeded [2021-12-02T14:22:43.136Z] nexus3.edgexfoundry.org:10004 [2021-12-02T14:22:43.409Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:22:43.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:22:43.685Z] Configure a credential helper to remove this warning. See [2021-12-02T14:22:43.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:22:43.685Z] [2021-12-02T14:22:43.685Z] Login Succeeded [2021-12-02T14:22:43.685Z] docker.io [2021-12-02T14:22:43.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:22:44.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:22:44.584Z] Configure a credential helper to remove this warning. See [2021-12-02T14:22:44.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:22:44.584Z] [2021-12-02T14:22:44.584Z] Login Succeeded [2021-12-02T14:22:44.584Z] ---> docker-login.sh ends [Pipeline] } [2021-12-02T14:22:44.618Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-12-02T14:22:45.152Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-02T14:22:45.164Z] ========================================================= [2021-12-02T14:22:45.164Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-12-02T14:22:45.164Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:22:45.510Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-12-02T14:22:45.510Z] Sending build context to Docker daemon 121.9kB [2021-12-02T14:22:45.782Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-12-02T14:22:45.782Z] Step 2/11 : FROM ${BASE} AS builder [2021-12-02T14:22:46.055Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-12-02T14:22:46.055Z] 552d1f2373af: Pulling fs layer [2021-12-02T14:22:46.055Z] ea3f2d53f512: Pulling fs layer [2021-12-02T14:22:46.055Z] 9e70ebbbe112: Pulling fs layer [2021-12-02T14:22:46.055Z] 7a9cfe048b4a: Pulling fs layer [2021-12-02T14:22:46.055Z] 72dc09318566: Pulling fs layer [2021-12-02T14:22:46.055Z] f4f7b4309257: Pulling fs layer [2021-12-02T14:22:46.055Z] 0ac9a79272e3: Pulling fs layer [2021-12-02T14:22:46.055Z] b78e95d17946: Pulling fs layer [2021-12-02T14:22:46.055Z] 7a9cfe048b4a: Waiting [2021-12-02T14:22:46.055Z] 72dc09318566: Waiting [2021-12-02T14:22:46.055Z] f4f7b4309257: Waiting [2021-12-02T14:22:46.055Z] 0ac9a79272e3: Waiting [2021-12-02T14:22:46.055Z] b78e95d17946: Waiting [2021-12-02T14:22:46.055Z] 9e70ebbbe112: Download complete [2021-12-02T14:22:46.055Z] ea3f2d53f512: Verifying Checksum [2021-12-02T14:22:46.055Z] ea3f2d53f512: Download complete [2021-12-02T14:22:46.055Z] 72dc09318566: Verifying Checksum [2021-12-02T14:22:46.055Z] 72dc09318566: Download complete [2021-12-02T14:22:46.055Z] f4f7b4309257: Verifying Checksum [2021-12-02T14:22:46.055Z] f4f7b4309257: Download complete [2021-12-02T14:22:46.055Z] 0ac9a79272e3: Verifying Checksum [2021-12-02T14:22:46.055Z] 0ac9a79272e3: Download complete [2021-12-02T14:22:46.055Z] 552d1f2373af: Verifying Checksum [2021-12-02T14:22:46.055Z] 552d1f2373af: Download complete [2021-12-02T14:22:46.656Z] 552d1f2373af: Pull complete [2021-12-02T14:22:47.271Z] ea3f2d53f512: Pull complete [2021-12-02T14:22:47.866Z] 9e70ebbbe112: Pull complete [2021-12-02T14:22:48.138Z] b78e95d17946: Verifying Checksum [2021-12-02T14:22:48.138Z] b78e95d17946: Download complete [2021-12-02T14:22:48.411Z] 7a9cfe048b4a: Verifying Checksum [2021-12-02T14:22:48.411Z] 7a9cfe048b4a: Download complete [2021-12-02T14:22:57.926Z] Removing intermediate container 676cd3e3181e [2021-12-02T14:22:57.926Z] ---> 86704a3b165d [2021-12-02T14:22:57.926Z] Step 11/11 : RUN $MAKE [2021-12-02T14:22:57.926Z] ---> Running in f32df09d49b3 [2021-12-02T14:22:57.926Z] noop [2021-12-02T14:22:57.926Z] Removing intermediate container f32df09d49b3 [2021-12-02T14:22:57.926Z] ---> bbd48bff4d92 [2021-12-02T14:22:57.926Z] Successfully built bbd48bff4d92 [2021-12-02T14:22:57.926Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:22:58.223Z] + docker inspect -f . ci-base-image-x86_64 [2021-12-02T14:22:58.223Z] . [Pipeline] withDockerContainer [2021-12-02T14:22:58.296Z] prd-centos7-docker-4c-2g-103 does not seem to be running inside a container [2021-12-02T14:22:58.335Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/22 -v /w/workspace/device-rest-go/22:/w/workspace/device-rest-go/22:rw,z -v /w/workspace/device-rest-go/22@tmp:/w/workspace/device-rest-go/22@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 [2021-12-02T14:22:58.681Z] $ docker top 0d330ec97e912d2d651d440f6989c5c043900ac47dfca4822c85d57a0118c246 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-02T14:22:59.047Z] + go version [2021-12-02T14:22:59.047Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-12-02T14:22:59.058Z] $ docker stop --time=1 0d330ec97e912d2d651d440f6989c5c043900ac47dfca4822c85d57a0118c246 [2021-12-02T14:23:00.246Z] $ docker rm -f 0d330ec97e912d2d651d440f6989c5c043900ac47dfca4822c85d57a0118c246 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:23:00.724Z] + docker inspect -f . ci-base-image-x86_64 [2021-12-02T14:23:00.724Z] . [Pipeline] withDockerContainer [2021-12-02T14:23:00.795Z] prd-centos7-docker-4c-2g-103 does not seem to be running inside a container [2021-12-02T14:23:00.809Z] 7a9cfe048b4a: Pull complete [2021-12-02T14:23:00.809Z] 72dc09318566: Pull complete [2021-12-02T14:23:00.809Z] f4f7b4309257: Pull complete [2021-12-02T14:23:00.809Z] 0ac9a79272e3: Pull complete [2021-12-02T14:23:00.833Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/22 -v /w/workspace/device-rest-go/22:/w/workspace/device-rest-go/22:rw,z -v /w/workspace/device-rest-go/22@tmp:/w/workspace/device-rest-go/22@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 [2021-12-02T14:23:01.157Z] $ docker top 85b451c4c31e4659a18b5009cdafdb39b8a8059b165e063f5d82071284472893 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-12-02T14:23:01.538Z] + make test [2021-12-02T14:23:01.538Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-12-02T14:23:01.799Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-12-02T14:23:06.218Z] b78e95d17946: Pull complete [2021-12-02T14:23:06.218Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-12-02T14:23:06.218Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-12-02T14:23:06.218Z] ---> 8b459fc5aaf0 [2021-12-02T14:23:06.218Z] Step 3/11 : ARG MAKE='make build' [2021-12-02T14:23:08.199Z] ---> Running in f0d56d501aa4 [2021-12-02T14:23:08.474Z] Removing intermediate container f0d56d501aa4 [2021-12-02T14:23:08.474Z] ---> 99ec9c055095 [2021-12-02T14:23:08.474Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-02T14:23:08.474Z] ---> Running in 183a1482a631 [2021-12-02T14:23:09.076Z] Removing intermediate container 183a1482a631 [2021-12-02T14:23:09.076Z] ---> 07d2bf9f7ce3 [2021-12-02T14:23:09.076Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-12-02T14:23:09.076Z] ---> Running in 0350d96d36d7 [2021-12-02T14:23:09.347Z] Removing intermediate container 0350d96d36d7 [2021-12-02T14:23:09.347Z] ---> 8a16dd825846 [2021-12-02T14:23:09.347Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-02T14:23:09.624Z] ---> Running in 3a6baf2a55a2 [2021-12-02T14:23:11.609Z] Removing intermediate container 3a6baf2a55a2 [2021-12-02T14:23:11.610Z] ---> ddc291d33aa9 [2021-12-02T14:23:11.610Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-02T14:23:11.610Z] ---> Running in 40f25c6c6f8e [2021-12-02T14:23:12.596Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-02T14:23:13.576Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-02T14:23:14.553Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-12-02T14:23:14.553Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-12-02T14:23:14.553Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-12-02T14:23:14.827Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-12-02T14:23:14.827Z] Executing busybox-1.33.1-r3.trigger [2021-12-02T14:23:14.827Z] OK: 223 MiB in 56 packages [2021-12-02T14:23:15.811Z] Removing intermediate container 40f25c6c6f8e [2021-12-02T14:23:15.811Z] ---> c6b8f606ce19 [2021-12-02T14:23:15.811Z] Step 8/11 : WORKDIR /device-rest-go [2021-12-02T14:23:16.089Z] ---> Running in 98a928a363f2 [2021-12-02T14:23:16.370Z] Removing intermediate container 98a928a363f2 [2021-12-02T14:23:16.370Z] ---> d44796886af4 [2021-12-02T14:23:16.370Z] Step 9/11 : COPY . . [2021-12-02T14:23:17.368Z] ---> 4d0608987ec7 [2021-12-02T14:23:17.368Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-02T14:23:17.368Z] ---> Running in bdaf0a67cc55 [2021-12-02T14:23:20.060Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-12-02T14:23:20.060Z] ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 56.0% of statements [2021-12-02T14:23:20.060Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-12-02T14:23:25.402Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-12-02T14:23:25.402Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-12-02T14:23:25.402Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-12-02T14:23:25.674Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-12-02T14:23:25.687Z] $ docker stop --time=1 85b451c4c31e4659a18b5009cdafdb39b8a8059b165e063f5d82071284472893 [2021-12-02T14:23:27.213Z] $ docker rm -f 85b451c4c31e4659a18b5009cdafdb39b8a8059b165e063f5d82071284472893 [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-02T14:23:27.623Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-12-02T14:23:27.789Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-12-02T14:23:28.413Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-12-02T14:23:28.705Z] + ls -al . [2021-12-02T14:23:28.706Z] total 148 [2021-12-02T14:23:28.706Z] drwxrwxr-x. 8 jenkins jenkins 4096 Dec 2 14:23 . [2021-12-02T14:23:28.706Z] drwxrwxr-x. 4 jenkins jenkins 30 Dec 2 14:22 .. [2021-12-02T14:23:28.706Z] -rw-rw-r--. 1 jenkins jenkins 7095 Dec 2 14:22 Attribution.txt [2021-12-02T14:23:28.706Z] drwxrwxr-x. 2 jenkins jenkins 37 Dec 2 14:22 bin [2021-12-02T14:23:28.706Z] -rw-rw-r--. 1 jenkins jenkins 7459 Dec 2 14:22 CHANGELOG.md [2021-12-02T14:23:28.706Z] drwxrwxr-x. 3 jenkins jenkins 32 Dec 2 14:22 cmd [2021-12-02T14:23:28.706Z] -rw-r--r--. 1 jenkins jenkins 9215 Dec 2 14:23 coverage.out [2021-12-02T14:23:28.706Z] -rw-rw-r--. 1 jenkins jenkins 1649 Dec 2 14:22 Dockerfile [2021-12-02T14:23:28.706Z] -rw-rw-r--. 1 jenkins jenkins 151 Dec 2 14:22 .dockerignore [2021-12-02T14:23:28.706Z] drwxrwxr-x. 2 jenkins jenkins 76 Dec 2 14:22 driver [2021-12-02T14:23:28.706Z] drwxrwxr-x. 8 jenkins jenkins 162 Dec 2 14:22 .git [2021-12-02T14:23:28.706Z] drwxrwxr-x. 2 jenkins jenkins 103 Dec 2 14:22 .github [2021-12-02T14:23:28.706Z] -rw-rw-r--. 1 jenkins jenkins 329 Dec 2 14:22 .gitignore [2021-12-02T14:23:28.706Z] -rw-rw-r--. 1 jenkins jenkins 277 Dec 2 14:22 go.mod [2021-12-02T14:23:28.706Z] -rw-rw-r--. 1 jenkins jenkins 49330 Dec 2 14:22 go.sum [2021-12-02T14:23:28.706Z] -rw-rw-r--. 1 jenkins jenkins 677 Dec 2 14:22 GOVERNANCE.md [2021-12-02T14:23:28.706Z] -rw-rw-r--. 1 jenkins jenkins 680 Dec 2 14:22 Jenkinsfile [2021-12-02T14:23:28.706Z] -rw-rw-r--. 1 jenkins jenkins 11340 Dec 2 14:22 LICENSE [2021-12-02T14:23:28.706Z] -rw-rw-r--. 1 jenkins jenkins 1078 Dec 2 14:22 Makefile [2021-12-02T14:23:28.706Z] -rw-rw-r--. 1 jenkins jenkins 620 Dec 2 14:22 OWNERS.md [2021-12-02T14:23:28.706Z] -rw-rw-r--. 1 jenkins jenkins 8246 Dec 2 14:22 README.md [2021-12-02T14:23:28.706Z] drwxrwxr-x. 3 jenkins jenkins 58 Dec 2 14:22 snap [2021-12-02T14:23:28.706Z] -rw-rw-r--. 1 jenkins jenkins 11 Dec 2 14:19 VERSION [2021-12-02T14:23:28.706Z] -rw-rw-r--. 1 jenkins jenkins 713 Dec 2 14:22 version.go [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:23:29.017Z] + 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=5b17f991c425fdfdbf3defaffe349f04efb7e6d5 --label arch=amd64 --label version=2.2.0-dev.2 . [2021-12-02T14:23:29.017Z] Sending build context to Docker daemon 131.6kB [2021-12-02T14:23:29.017Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-12-02T14:23:29.017Z] Step 2/24 : FROM ${BASE} AS builder [2021-12-02T14:23:29.017Z] ---> bbd48bff4d92 [2021-12-02T14:23:29.017Z] Step 3/24 : ARG MAKE='make build' [2021-12-02T14:23:29.017Z] ---> Running in 92f1aebf9273 [2021-12-02T14:23:29.017Z] Removing intermediate container 92f1aebf9273 [2021-12-02T14:23:29.017Z] ---> 47c159f01ca7 [2021-12-02T14:23:29.017Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-02T14:23:29.017Z] ---> Running in 90334d87fb58 [2021-12-02T14:23:29.281Z] Removing intermediate container 90334d87fb58 [2021-12-02T14:23:29.281Z] ---> e4b081e6c5db [2021-12-02T14:23:29.281Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-12-02T14:23:29.281Z] ---> Running in 4e4f9a0147ee [2021-12-02T14:23:29.281Z] Removing intermediate container 4e4f9a0147ee [2021-12-02T14:23:29.281Z] ---> aee202d25835 [2021-12-02T14:23:29.281Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-02T14:23:29.281Z] ---> Running in 04b015534b8b [2021-12-02T14:23:29.859Z] Removing intermediate container 04b015534b8b [2021-12-02T14:23:29.859Z] ---> 8aaa3d772613 [2021-12-02T14:23:29.859Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-02T14:23:29.859Z] ---> Running in 916fa0ac23a6 [2021-12-02T14:23:30.119Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-02T14:23:31.060Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-02T14:23:31.320Z] OK: 224 MiB in 56 packages [2021-12-02T14:23:31.320Z] Removing intermediate container 916fa0ac23a6 [2021-12-02T14:23:31.320Z] ---> 21f1b79310af [2021-12-02T14:23:31.320Z] Step 8/24 : WORKDIR /device-rest-go [2021-12-02T14:23:31.320Z] ---> Running in 13902254d8af [2021-12-02T14:23:31.581Z] Removing intermediate container 13902254d8af [2021-12-02T14:23:31.581Z] ---> 8982d471bae6 [2021-12-02T14:23:31.581Z] Step 9/24 : COPY . . [2021-12-02T14:23:31.842Z] ---> 9b8651889204 [2021-12-02T14:23:31.842Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-02T14:23:31.842Z] ---> Running in 7f4839f901b0 [2021-12-02T14:23:32.414Z] Removing intermediate container 7f4839f901b0 [2021-12-02T14:23:32.414Z] ---> 7990f0998fa8 [2021-12-02T14:23:32.414Z] Step 11/24 : RUN $MAKE [2021-12-02T14:23:32.414Z] ---> Running in c1d3dc49542c [2021-12-02T14:23:32.414Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.2" -o cmd/device-rest ./cmd [2021-12-02T14:23:44.738Z] Removing intermediate container c1d3dc49542c [2021-12-02T14:23:44.738Z] ---> 023c73befe4a [2021-12-02T14:23:44.738Z] Step 12/24 : FROM alpine:3.14 [2021-12-02T14:23:44.738Z] 3.14: Pulling from library/alpine [2021-12-02T14:23:44.998Z] 97518928ae5f: Pulling fs layer [2021-12-02T14:23:45.256Z] 97518928ae5f: Verifying Checksum [2021-12-02T14:23:45.256Z] 97518928ae5f: Download complete [2021-12-02T14:23:45.256Z] 97518928ae5f: Pull complete [2021-12-02T14:23:45.256Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-12-02T14:23:45.256Z] Status: Downloaded newer image for alpine:3.14 [2021-12-02T14:23:45.256Z] ---> 0a97eee8041e [2021-12-02T14:23:45.256Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-12-02T14:23:45.519Z] ---> Running in 6e7c36a9f0ae [2021-12-02T14:23:45.519Z] Removing intermediate container 6e7c36a9f0ae [2021-12-02T14:23:45.519Z] ---> a7bbb67a16b9 [2021-12-02T14:23:45.519Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-12-02T14:23:45.519Z] ---> Running in 231ed5127222 [2021-12-02T14:23:45.519Z] Removing intermediate container 231ed5127222 [2021-12-02T14:23:45.519Z] ---> 9e8169946439 [2021-12-02T14:23:45.519Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-12-02T14:23:45.519Z] ---> Running in 200e95040a52 [2021-12-02T14:23:45.779Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-02T14:23:46.040Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-02T14:23:46.040Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-12-02T14:23:46.040Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-12-02T14:23:46.040Z] (3/6) Installing libsodium (1.0.18-r0) [2021-12-02T14:23:46.040Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-12-02T14:23:46.040Z] (5/6) Installing libzmq (4.3.4-r0) [2021-12-02T14:23:46.040Z] (6/6) Installing zeromq (4.3.4-r0) [2021-12-02T14:23:46.040Z] Executing busybox-1.33.1-r6.trigger [2021-12-02T14:23:46.305Z] OK: 8 MiB in 20 packages [2021-12-02T14:23:46.564Z] Removing intermediate container 200e95040a52 [2021-12-02T14:23:46.564Z] ---> 4242ca1a91f5 [2021-12-02T14:23:46.564Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-12-02T14:23:46.832Z] ---> db7dfffb7126 [2021-12-02T14:23:46.832Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-12-02T14:23:46.832Z] ---> 9f23095185db [2021-12-02T14:23:46.833Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-12-02T14:23:47.094Z] ---> e22d4d25e7f8 [2021-12-02T14:23:47.094Z] Step 19/24 : EXPOSE 59986 [2021-12-02T14:23:47.094Z] ---> Running in addce0cb86bf [2021-12-02T14:23:47.094Z] Removing intermediate container addce0cb86bf [2021-12-02T14:23:47.094Z] ---> 9052507ac775 [2021-12-02T14:23:47.094Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2021-12-02T14:23:47.094Z] ---> Running in b5f63bf165ac [2021-12-02T14:23:47.359Z] Removing intermediate container b5f63bf165ac [2021-12-02T14:23:47.359Z] ---> decf69234a66 [2021-12-02T14:23:47.359Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-12-02T14:23:47.359Z] ---> Running in 75bed07227f4 [2021-12-02T14:23:47.359Z] Removing intermediate container 75bed07227f4 [2021-12-02T14:23:47.359Z] ---> 41b6c24e65ec [2021-12-02T14:23:47.359Z] Step 22/24 : LABEL arch=amd64 [2021-12-02T14:23:47.359Z] ---> Running in 230d73f59642 [2021-12-02T14:23:47.359Z] Removing intermediate container 230d73f59642 [2021-12-02T14:23:47.359Z] ---> 74da93e8e627 [2021-12-02T14:23:47.359Z] Step 23/24 : LABEL git_sha=5b17f991c425fdfdbf3defaffe349f04efb7e6d5 [2021-12-02T14:23:47.359Z] ---> Running in 1386f51df358 [2021-12-02T14:23:47.623Z] Removing intermediate container 1386f51df358 [2021-12-02T14:23:47.623Z] ---> c514a8f7a9d3 [2021-12-02T14:23:47.623Z] Step 24/24 : LABEL version=2.2.0-dev.2 [2021-12-02T14:23:47.623Z] ---> Running in 0ad7cd161c80 [2021-12-02T14:23:47.623Z] Removing intermediate container 0ad7cd161c80 [2021-12-02T14:23:47.623Z] ---> 9c3645d6041a [2021-12-02T14:23:47.623Z] [Warning] One or more build-args [ARCH] were not consumed [2021-12-02T14:23:47.623Z] Successfully built 9c3645d6041a [2021-12-02T14:23:47.623Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-02T14:23:47.827Z] provisioning config files... [2021-12-02T14:23:47.837Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/22@tmp/config3675368747456380133tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T14:23:48.156Z] ---> docker-login.sh [2021-12-02T14:23:48.156Z] nexus3.edgexfoundry.org:10001 [2021-12-02T14:23:48.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:23:48.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:23:48.156Z] Configure a credential helper to remove this warning. See [2021-12-02T14:23:48.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:23:48.156Z] [2021-12-02T14:23:48.156Z] Login Succeeded [2021-12-02T14:23:48.156Z] nexus3.edgexfoundry.org:10002 [2021-12-02T14:23:48.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:23:48.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:23:48.156Z] Configure a credential helper to remove this warning. See [2021-12-02T14:23:48.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:23:48.156Z] [2021-12-02T14:23:48.156Z] Login Succeeded [2021-12-02T14:23:48.156Z] nexus3.edgexfoundry.org:10003 [2021-12-02T14:23:48.416Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:23:48.416Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:23:48.416Z] Configure a credential helper to remove this warning. See [2021-12-02T14:23:48.416Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:23:48.416Z] [2021-12-02T14:23:48.416Z] Login Succeeded [2021-12-02T14:23:48.416Z] nexus3.edgexfoundry.org:10004 [2021-12-02T14:23:48.416Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:23:48.416Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:23:48.416Z] Configure a credential helper to remove this warning. See [2021-12-02T14:23:48.416Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:23:48.416Z] [2021-12-02T14:23:48.416Z] Login Succeeded [2021-12-02T14:23:48.416Z] docker.io [2021-12-02T14:23:48.416Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:23:48.988Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:23:48.988Z] Configure a credential helper to remove this warning. See [2021-12-02T14:23:48.988Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:23:48.988Z] [2021-12-02T14:23:48.988Z] Login Succeeded [2021-12-02T14:23:48.988Z] ---> docker-login.sh ends [Pipeline] } [2021-12-02T14:23:48.998Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-12-02T14:23:49.034Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-02T14:23:49.057Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2021-12-02T14:23:49.057Z] 5b17f991c425fdfdbf3defaffe349f04efb7e6d5 [2021-12-02T14:23:49.057Z] latest [2021-12-02T14:23:49.057Z] 2.2.0-dev.2 [2021-12-02T14:23:49.057Z] 5b17f991c425fdfdbf3defaffe349f04efb7e6d5-2.2.0-dev.2 [2021-12-02T14:23:49.057Z] main [2021-12-02T14:23:49.057Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:23:49.384Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:5b17f991c425fdfdbf3defaffe349f04efb7e6d5 [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:23:49.694Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:5b17f991c425fdfdbf3defaffe349f04efb7e6d5 [2021-12-02T14:23:49.694Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-12-02T14:23:49.694Z] 951c4fa61a66: Preparing [2021-12-02T14:23:49.694Z] 0d881dd46b0f: Preparing [2021-12-02T14:23:49.694Z] 94709a8afa9d: Preparing [2021-12-02T14:23:49.694Z] 54a93e229723: Preparing [2021-12-02T14:23:49.694Z] 1a058d5342cc: Preparing [2021-12-02T14:23:49.694Z] 1a058d5342cc: Layer already exists [2021-12-02T14:23:49.956Z] 0d881dd46b0f: Pushed [2021-12-02T14:23:49.956Z] 951c4fa61a66: Pushed [2021-12-02T14:23:49.956Z] 54a93e229723: Pushed [2021-12-02T14:23:50.899Z] 94709a8afa9d: Pushed [2021-12-02T14:23:50.899Z] 5b17f991c425fdfdbf3defaffe349f04efb7e6d5: digest: sha256:ff4173c49e1ffe60ffe72073d2056fffd3696506370a7e3d76deefc1b63234b1 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:23:51.198Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:23:51.494Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2021-12-02T14:23:51.494Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-12-02T14:23:51.494Z] 951c4fa61a66: Preparing [2021-12-02T14:23:51.494Z] 0d881dd46b0f: Preparing [2021-12-02T14:23:51.494Z] 94709a8afa9d: Preparing [2021-12-02T14:23:51.494Z] 54a93e229723: Preparing [2021-12-02T14:23:51.494Z] 1a058d5342cc: Preparing [2021-12-02T14:23:51.494Z] 951c4fa61a66: Layer already exists [2021-12-02T14:23:51.494Z] 1a058d5342cc: Layer already exists [2021-12-02T14:23:51.494Z] 94709a8afa9d: Layer already exists [2021-12-02T14:23:51.494Z] 0d881dd46b0f: Layer already exists [2021-12-02T14:23:51.494Z] 54a93e229723: Layer already exists [2021-12-02T14:23:51.494Z] latest: digest: sha256:ff4173c49e1ffe60ffe72073d2056fffd3696506370a7e3d76deefc1b63234b1 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:23:51.797Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.2 [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:23:52.086Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.2 [2021-12-02T14:23:52.086Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-12-02T14:23:52.086Z] 951c4fa61a66: Preparing [2021-12-02T14:23:52.086Z] 0d881dd46b0f: Preparing [2021-12-02T14:23:52.086Z] 94709a8afa9d: Preparing [2021-12-02T14:23:52.086Z] 54a93e229723: Preparing [2021-12-02T14:23:52.086Z] 1a058d5342cc: Preparing [2021-12-02T14:23:52.086Z] 1a058d5342cc: Layer already exists [2021-12-02T14:23:52.086Z] 94709a8afa9d: Layer already exists [2021-12-02T14:23:52.086Z] 951c4fa61a66: Layer already exists [2021-12-02T14:23:52.086Z] 0d881dd46b0f: Layer already exists [2021-12-02T14:23:52.086Z] 54a93e229723: Layer already exists [2021-12-02T14:23:52.086Z] 2.2.0-dev.2: digest: sha256:ff4173c49e1ffe60ffe72073d2056fffd3696506370a7e3d76deefc1b63234b1 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:23:52.383Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:5b17f991c425fdfdbf3defaffe349f04efb7e6d5-2.2.0-dev.2 [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:23:52.673Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:5b17f991c425fdfdbf3defaffe349f04efb7e6d5-2.2.0-dev.2 [2021-12-02T14:23:52.673Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-12-02T14:23:52.673Z] 951c4fa61a66: Preparing [2021-12-02T14:23:52.673Z] 0d881dd46b0f: Preparing [2021-12-02T14:23:52.673Z] 94709a8afa9d: Preparing [2021-12-02T14:23:52.673Z] 54a93e229723: Preparing [2021-12-02T14:23:52.673Z] 1a058d5342cc: Preparing [2021-12-02T14:23:52.673Z] 951c4fa61a66: Layer already exists [2021-12-02T14:23:52.673Z] 54a93e229723: Layer already exists [2021-12-02T14:23:52.673Z] 1a058d5342cc: Layer already exists [2021-12-02T14:23:52.673Z] 0d881dd46b0f: Layer already exists [2021-12-02T14:23:52.673Z] 94709a8afa9d: Layer already exists [2021-12-02T14:23:52.673Z] 5b17f991c425fdfdbf3defaffe349f04efb7e6d5-2.2.0-dev.2: digest: sha256:ff4173c49e1ffe60ffe72073d2056fffd3696506370a7e3d76deefc1b63234b1 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:23:52.973Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:23:53.262Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2021-12-02T14:23:53.262Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-12-02T14:23:53.262Z] 951c4fa61a66: Preparing [2021-12-02T14:23:53.262Z] 0d881dd46b0f: Preparing [2021-12-02T14:23:53.262Z] 94709a8afa9d: Preparing [2021-12-02T14:23:53.262Z] 54a93e229723: Preparing [2021-12-02T14:23:53.262Z] 1a058d5342cc: Preparing [2021-12-02T14:23:53.262Z] 54a93e229723: Layer already exists [2021-12-02T14:23:53.262Z] 0d881dd46b0f: Layer already exists [2021-12-02T14:23:53.262Z] 1a058d5342cc: Layer already exists [2021-12-02T14:23:53.262Z] 94709a8afa9d: Layer already exists [2021-12-02T14:23:53.262Z] 951c4fa61a66: Layer already exists [2021-12-02T14:23:53.262Z] main: digest: sha256:ff4173c49e1ffe60ffe72073d2056fffd3696506370a7e3d76deefc1b63234b1 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-12-02T14:23:53.298Z] ===================================================== [Pipeline] echo [2021-12-02T14:23:53.307Z] taggedImages: [2021-12-02T14:23:53.307Z] - nexus3.edgexfoundry.org:10004/device-rest:5b17f991c425fdfdbf3defaffe349f04efb7e6d5 [2021-12-02T14:23:53.307Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2021-12-02T14:23:53.307Z] - nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.2 [2021-12-02T14:23:53.307Z] - nexus3.edgexfoundry.org:10004/device-rest:5b17f991c425fdfdbf3defaffe349f04efb7e6d5-2.2.0-dev.2 [2021-12-02T14:23:53.307Z] - 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] sh [2021-12-02T14:23:53.778Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T14:23:53.779Z] [2021-12-02T14:23:53.779Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:23:54.082Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T14:23:54.082Z] latest: Pulling from edgex-lftools-log-publisher [2021-12-02T14:23:54.082Z] b4d181a07f80: Pulling fs layer [2021-12-02T14:23:54.082Z] a1111a8f2ec3: Pulling fs layer [2021-12-02T14:23:54.082Z] ed53099fbce6: Pulling fs layer [2021-12-02T14:23:54.082Z] dc539afda2c1: Pulling fs layer [2021-12-02T14:23:54.082Z] 77bc0d833cb6: Pulling fs layer [2021-12-02T14:23:54.082Z] 9065ff56babe: Pulling fs layer [2021-12-02T14:23:54.082Z] d287ab97295c: Pulling fs layer [2021-12-02T14:23:54.082Z] 77bc0d833cb6: Waiting [2021-12-02T14:23:54.082Z] 9065ff56babe: Waiting [2021-12-02T14:23:54.082Z] d287ab97295c: Waiting [2021-12-02T14:23:54.082Z] dc539afda2c1: Waiting [2021-12-02T14:23:54.082Z] a1111a8f2ec3: Verifying Checksum [2021-12-02T14:23:54.082Z] a1111a8f2ec3: Download complete [2021-12-02T14:23:54.082Z] dc539afda2c1: Verifying Checksum [2021-12-02T14:23:54.082Z] dc539afda2c1: Download complete [2021-12-02T14:23:54.082Z] ed53099fbce6: Verifying Checksum [2021-12-02T14:23:54.082Z] ed53099fbce6: Download complete [2021-12-02T14:23:54.082Z] 9065ff56babe: Verifying Checksum [2021-12-02T14:23:54.082Z] 9065ff56babe: Download complete [2021-12-02T14:23:54.346Z] 77bc0d833cb6: Verifying Checksum [2021-12-02T14:23:54.346Z] 77bc0d833cb6: Download complete [2021-12-02T14:23:54.346Z] b4d181a07f80: Verifying Checksum [2021-12-02T14:23:54.346Z] b4d181a07f80: Download complete [2021-12-02T14:23:54.951Z] d287ab97295c: Verifying Checksum [2021-12-02T14:23:54.951Z] d287ab97295c: Download complete [2021-12-02T14:23:55.903Z] b4d181a07f80: Pull complete [2021-12-02T14:23:55.903Z] a1111a8f2ec3: Pull complete [2021-12-02T14:23:56.481Z] ed53099fbce6: Pull complete [2021-12-02T14:23:56.481Z] dc539afda2c1: Pull complete [2021-12-02T14:23:56.743Z] 77bc0d833cb6: Pull complete [2021-12-02T14:23:56.743Z] 9065ff56babe: Pull complete [2021-12-02T14:24:02.070Z] d287ab97295c: Pull complete [2021-12-02T14:24:02.070Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-12-02T14:24:02.070Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T14:24:02.070Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-12-02T14:24:02.152Z] prd-centos7-docker-4c-2g-103 does not seem to be running inside a container [2021-12-02T14:24:02.195Z] $ 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/22 -v /w/workspace/device-rest-go/22:/w/workspace/device-rest-go/22:rw,z -v /w/workspace/device-rest-go/22@tmp:/w/workspace/device-rest-go/22@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 [2021-12-02T14:24:04.458Z] $ docker top 1d50c5300b40a02e15386960cf951f6d0a43901caf44ba228f1bd6b047c45514 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T14:24:04.850Z] ---> job-cost.sh [2021-12-02T14:24:04.850Z] lf-activate-venv: SKIPPING [2021-12-02T14:24:04.850Z] INFO: No Stack... [2021-12-02T14:24:05.111Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-12-02T14:24:05.681Z] INFO: Archiving Costs [Pipeline] sh [2021-12-02T14:24:05.975Z] + cat /w/workspace/device-rest-go/22/archives/cost.csv [2021-12-02T14:24:05.975Z] + cut -d, -f6 [Pipeline] lock [2021-12-02T14:24:06.004Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-22-stack-cost] [2021-12-02T14:24:06.010Z] Resource [jenkins-edgexfoundry-device-rest-go-main-22-stack-cost] did not exist. Created. [2021-12-02T14:24:06.010Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-22-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-12-02T14:24:06.309Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-12-02T14:24:06.348Z] Stashed 1 file(s) [Pipeline] } [2021-12-02T14:24:06.354Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-22-stack-cost] [Pipeline] // lock [Pipeline] } [2021-12-02T14:24:06.374Z] $ docker stop --time=1 1d50c5300b40a02e15386960cf951f6d0a43901caf44ba228f1bd6b047c45514 [2021-12-02T14:24:07.504Z] $ docker rm -f 1d50c5300b40a02e15386960cf951f6d0a43901caf44ba228f1bd6b047c45514 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-12-02T14:24:39.260Z] Removing intermediate container bdaf0a67cc55 [2021-12-02T14:24:39.260Z] ---> 63d18b2bd8a5 [2021-12-02T14:24:39.260Z] Step 11/11 : RUN $MAKE [2021-12-02T14:24:39.260Z] ---> Running in 5deaeb2555f7 [2021-12-02T14:24:39.260Z] noop [2021-12-02T14:24:39.260Z] Removing intermediate container 5deaeb2555f7 [2021-12-02T14:24:39.260Z] ---> 141d3c93527d [2021-12-02T14:24:39.260Z] Successfully built 141d3c93527d [2021-12-02T14:24:39.260Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:24:39.613Z] + docker inspect -f . ci-base-image-arm64 [2021-12-02T14:24:39.613Z] . [Pipeline] withDockerContainer [2021-12-02T14:24:39.873Z] prd-ubuntu18.04-docker-arm64-4c-16g-102 does not seem to be running inside a container [2021-12-02T14:24:39.979Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/22 -v /w/workspace/device-rest-go/22:/w/workspace/device-rest-go/22:rw,z -v /w/workspace/device-rest-go/22@tmp:/w/workspace/device-rest-go/22@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-12-02T14:24:41.465Z] $ docker top 8a0898fc5a2e0654fc19c4527fcb1314cdc135294c8e412b4dc0125dd68f4987 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-02T14:24:42.421Z] + go version [2021-12-02T14:24:42.421Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-12-02T14:24:42.445Z] $ docker stop --time=1 8a0898fc5a2e0654fc19c4527fcb1314cdc135294c8e412b4dc0125dd68f4987 [2021-12-02T14:24:44.146Z] $ docker rm -f 8a0898fc5a2e0654fc19c4527fcb1314cdc135294c8e412b4dc0125dd68f4987 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:24:44.893Z] + docker inspect -f . ci-base-image-arm64 [2021-12-02T14:24:44.893Z] . [Pipeline] withDockerContainer [2021-12-02T14:24:45.126Z] prd-ubuntu18.04-docker-arm64-4c-16g-102 does not seem to be running inside a container [2021-12-02T14:24:45.216Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/22 -v /w/workspace/device-rest-go/22:/w/workspace/device-rest-go/22:rw,z -v /w/workspace/device-rest-go/22@tmp:/w/workspace/device-rest-go/22@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-12-02T14:24:46.601Z] $ docker top b635a5aff7303284537df1be8568aaa1eaa20e9c152cb517b5fa76697fa002d2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-12-02T14:24:47.553Z] + make test [2021-12-02T14:24:47.553Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-12-02T14:24:48.995Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-12-02T14:25:45.598Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-12-02T14:25:45.598Z] ok github.com/edgexfoundry/device-rest-go/driver 0.055s coverage: 56.0% of statements [2021-12-02T14:25:45.872Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-12-02T14:26:18.370Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-12-02T14:26:18.370Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-12-02T14:26:18.370Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-12-02T14:26:18.673Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-12-02T14:26:18.687Z] $ docker stop --time=1 b635a5aff7303284537df1be8568aaa1eaa20e9c152cb517b5fa76697fa002d2 [2021-12-02T14:26:20.474Z] $ docker rm -f b635a5aff7303284537df1be8568aaa1eaa20e9c152cb517b5fa76697fa002d2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-02T14:26:21.352Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-12-02T14:26:21.374Z] Warning: overwriting stash ‘coverage-report’ [2021-12-02T14:26:21.871Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-02T14:26:22.329Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-12-02T14:26:22.664Z] + ls -al . [2021-12-02T14:26:22.664Z] total 176 [2021-12-02T14:26:22.664Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 2 14:26 . [2021-12-02T14:26:22.664Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 2 14:22 .. [2021-12-02T14:26:22.664Z] -rw-rw-r-- 1 jenkins jenkins 151 Dec 2 14:22 .dockerignore [2021-12-02T14:26:22.664Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 2 14:22 .git [2021-12-02T14:26:22.664Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 14:22 .github [2021-12-02T14:26:22.664Z] -rw-rw-r-- 1 jenkins jenkins 329 Dec 2 14:22 .gitignore [2021-12-02T14:26:22.664Z] -rw-rw-r-- 1 jenkins jenkins 7095 Dec 2 14:22 Attribution.txt [2021-12-02T14:26:22.664Z] -rw-rw-r-- 1 jenkins jenkins 7459 Dec 2 14:22 CHANGELOG.md [2021-12-02T14:26:22.664Z] -rw-rw-r-- 1 jenkins jenkins 1649 Dec 2 14:22 Dockerfile [2021-12-02T14:26:22.664Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 2 14:22 GOVERNANCE.md [2021-12-02T14:26:22.664Z] -rw-rw-r-- 1 jenkins jenkins 680 Dec 2 14:22 Jenkinsfile [2021-12-02T14:26:22.664Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 2 14:22 LICENSE [2021-12-02T14:26:22.664Z] -rw-rw-r-- 1 jenkins jenkins 1078 Dec 2 14:22 Makefile [2021-12-02T14:26:22.664Z] -rw-rw-r-- 1 jenkins jenkins 620 Dec 2 14:22 OWNERS.md [2021-12-02T14:26:22.664Z] -rw-rw-r-- 1 jenkins jenkins 8246 Dec 2 14:22 README.md [2021-12-02T14:26:22.664Z] -rw-rw-r-- 1 jenkins jenkins 11 Dec 2 14:19 VERSION [2021-12-02T14:26:22.664Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 14:22 bin [2021-12-02T14:26:22.664Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 2 14:22 cmd [2021-12-02T14:26:22.664Z] -rw-r--r-- 1 jenkins jenkins 9215 Dec 2 14:25 coverage.out [2021-12-02T14:26:22.664Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 14:22 driver [2021-12-02T14:26:22.664Z] -rw-rw-r-- 1 jenkins jenkins 277 Dec 2 14:22 go.mod [2021-12-02T14:26:22.664Z] -rw-rw-r-- 1 jenkins jenkins 49330 Dec 2 14:22 go.sum [2021-12-02T14:26:22.664Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 2 14:22 snap [2021-12-02T14:26:22.664Z] -rw-rw-r-- 1 jenkins jenkins 713 Dec 2 14:22 version.go [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:26:23.007Z] + 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=5b17f991c425fdfdbf3defaffe349f04efb7e6d5 --label arch=arm64 --label version=2.2.0-dev.2 . [2021-12-02T14:26:23.007Z] Sending build context to Docker daemon 131.6kB [2021-12-02T14:26:23.280Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-12-02T14:26:23.280Z] Step 2/24 : FROM ${BASE} AS builder [2021-12-02T14:26:23.280Z] ---> 141d3c93527d [2021-12-02T14:26:23.280Z] Step 3/24 : ARG MAKE='make build' [2021-12-02T14:26:23.551Z] ---> Running in 8a8aa83a3b86 [2021-12-02T14:26:23.824Z] Removing intermediate container 8a8aa83a3b86 [2021-12-02T14:26:23.824Z] ---> 605164749aa7 [2021-12-02T14:26:23.824Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-02T14:26:23.824Z] ---> Running in 65b3a36a19a6 [2021-12-02T14:26:24.096Z] Removing intermediate container 65b3a36a19a6 [2021-12-02T14:26:24.096Z] ---> 99438d08b22f [2021-12-02T14:26:24.096Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-12-02T14:26:24.372Z] ---> Running in 8e80561a37b6 [2021-12-02T14:26:24.646Z] Removing intermediate container 8e80561a37b6 [2021-12-02T14:26:24.646Z] ---> 861adcebe625 [2021-12-02T14:26:24.646Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-02T14:26:24.646Z] ---> Running in 174bc8f10f91 [2021-12-02T14:26:26.632Z] Removing intermediate container 174bc8f10f91 [2021-12-02T14:26:26.632Z] ---> 3a5aea40db27 [2021-12-02T14:26:26.632Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-02T14:26:26.632Z] ---> Running in 046f650c2666 [2021-12-02T14:26:27.608Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-02T14:26:28.588Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-02T14:26:29.193Z] OK: 223 MiB in 56 packages [2021-12-02T14:26:30.168Z] Removing intermediate container 046f650c2666 [2021-12-02T14:26:30.168Z] ---> 558438f6e283 [2021-12-02T14:26:30.168Z] Step 8/24 : WORKDIR /device-rest-go [2021-12-02T14:26:30.168Z] ---> Running in c317f88daa03 [2021-12-02T14:26:30.439Z] Removing intermediate container c317f88daa03 [2021-12-02T14:26:30.439Z] ---> 2ed769a4d1e1 [2021-12-02T14:26:30.439Z] Step 9/24 : COPY . . [2021-12-02T14:26:31.037Z] ---> 4b8be6e19e21 [2021-12-02T14:26:31.037Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-02T14:26:31.310Z] ---> Running in 2b29ba44b622 [2021-12-02T14:26:33.293Z] Removing intermediate container 2b29ba44b622 [2021-12-02T14:26:33.293Z] ---> f3a947b77c5f [2021-12-02T14:26:33.293Z] Step 11/24 : RUN $MAKE [2021-12-02T14:26:33.570Z] ---> Running in 57523b17c239 [2021-12-02T14:26:34.549Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.2" -o cmd/device-rest ./cmd [2021-12-02T14:27:13.568Z] Removing intermediate container 57523b17c239 [2021-12-02T14:27:13.568Z] ---> 436a48991724 [2021-12-02T14:27:13.568Z] Step 12/24 : FROM alpine:3.14 [2021-12-02T14:27:14.158Z] 3.14: Pulling from library/alpine [2021-12-02T14:27:14.158Z] be307f383ecc: Pulling fs layer [2021-12-02T14:27:15.587Z] be307f383ecc: Download complete [2021-12-02T14:27:16.183Z] be307f383ecc: Pull complete [2021-12-02T14:27:16.183Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-12-02T14:27:16.183Z] Status: Downloaded newer image for alpine:3.14 [2021-12-02T14:27:16.183Z] ---> 5b8b7b635229 [2021-12-02T14:27:16.183Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-12-02T14:27:16.183Z] ---> Running in 5b5504f0d1c8 [2021-12-02T14:27:16.777Z] Removing intermediate container 5b5504f0d1c8 [2021-12-02T14:27:16.777Z] ---> 33dd80e8fbb3 [2021-12-02T14:27:16.777Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-12-02T14:27:16.777Z] ---> Running in 8147b8285883 [2021-12-02T14:27:17.051Z] Removing intermediate container 8147b8285883 [2021-12-02T14:27:17.051Z] ---> fd7fb93d2556 [2021-12-02T14:27:17.051Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-12-02T14:27:17.051Z] ---> Running in 3f455f4005b7 [2021-12-02T14:27:18.482Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-02T14:27:18.482Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-02T14:27:19.075Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-12-02T14:27:19.075Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-12-02T14:27:19.075Z] (3/6) Installing libsodium (1.0.18-r0) [2021-12-02T14:27:19.075Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-12-02T14:27:19.075Z] (5/6) Installing libzmq (4.3.4-r0) [2021-12-02T14:27:19.075Z] (6/6) Installing zeromq (4.3.4-r0) [2021-12-02T14:27:19.075Z] Executing busybox-1.33.1-r6.trigger [2021-12-02T14:27:19.352Z] OK: 8 MiB in 20 packages [2021-12-02T14:27:19.944Z] Removing intermediate container 3f455f4005b7 [2021-12-02T14:27:19.944Z] ---> 5eb91e2c7bc9 [2021-12-02T14:27:19.944Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-12-02T14:27:20.914Z] ---> 70d85decb6e8 [2021-12-02T14:27:20.914Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-12-02T14:27:21.507Z] ---> 87f36eaeb709 [2021-12-02T14:27:21.507Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-12-02T14:27:22.100Z] ---> 749467e1dd44 [2021-12-02T14:27:22.100Z] Step 19/24 : EXPOSE 59986 [2021-12-02T14:27:22.377Z] ---> Running in 1691654e95d0 [2021-12-02T14:27:22.648Z] Removing intermediate container 1691654e95d0 [2021-12-02T14:27:22.648Z] ---> b4de58b92462 [2021-12-02T14:27:22.648Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2021-12-02T14:27:22.648Z] ---> Running in b5cd1fe45dda [2021-12-02T14:27:22.918Z] Removing intermediate container b5cd1fe45dda [2021-12-02T14:27:22.918Z] ---> ca4b2a923cb2 [2021-12-02T14:27:22.918Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-12-02T14:27:23.194Z] ---> Running in 53fc9dd8bab8 [2021-12-02T14:27:23.464Z] Removing intermediate container 53fc9dd8bab8 [2021-12-02T14:27:23.464Z] ---> e996f43812b2 [2021-12-02T14:27:23.464Z] Step 22/24 : LABEL arch=arm64 [2021-12-02T14:27:23.464Z] ---> Running in d8c022e44138 [2021-12-02T14:27:23.732Z] Removing intermediate container d8c022e44138 [2021-12-02T14:27:23.732Z] ---> ecdaf286d276 [2021-12-02T14:27:23.732Z] Step 23/24 : LABEL git_sha=5b17f991c425fdfdbf3defaffe349f04efb7e6d5 [2021-12-02T14:27:24.006Z] ---> Running in b93ac9a0f576 [2021-12-02T14:27:24.276Z] Removing intermediate container b93ac9a0f576 [2021-12-02T14:27:24.276Z] ---> 7f88c91cfb81 [2021-12-02T14:27:24.276Z] Step 24/24 : LABEL version=2.2.0-dev.2 [2021-12-02T14:27:24.276Z] ---> Running in adad001b7691 [2021-12-02T14:27:24.545Z] Removing intermediate container adad001b7691 [2021-12-02T14:27:24.545Z] ---> 5218c5eaf352 [2021-12-02T14:27:24.545Z] [Warning] One or more build-args [ARCH] were not consumed [2021-12-02T14:27:24.545Z] Successfully built 5218c5eaf352 [2021-12-02T14:27:24.545Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-02T14:27:24.734Z] provisioning config files... [2021-12-02T14:27:24.753Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/22@tmp/config8595508430906676884tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T14:27:25.096Z] ---> docker-login.sh [2021-12-02T14:27:25.096Z] nexus3.edgexfoundry.org:10001 [2021-12-02T14:27:25.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:27:25.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:27:25.367Z] Configure a credential helper to remove this warning. See [2021-12-02T14:27:25.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:27:25.367Z] [2021-12-02T14:27:25.367Z] Login Succeeded [2021-12-02T14:27:25.367Z] nexus3.edgexfoundry.org:10002 [2021-12-02T14:27:25.638Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:27:25.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:27:25.638Z] Configure a credential helper to remove this warning. See [2021-12-02T14:27:25.638Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:27:25.638Z] [2021-12-02T14:27:25.638Z] Login Succeeded [2021-12-02T14:27:25.638Z] nexus3.edgexfoundry.org:10003 [2021-12-02T14:27:25.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:27:26.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:27:26.177Z] Configure a credential helper to remove this warning. See [2021-12-02T14:27:26.177Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:27:26.177Z] [2021-12-02T14:27:26.177Z] Login Succeeded [2021-12-02T14:27:26.177Z] nexus3.edgexfoundry.org:10004 [2021-12-02T14:27:26.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:27:26.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:27:26.446Z] Configure a credential helper to remove this warning. See [2021-12-02T14:27:26.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:27:26.446Z] [2021-12-02T14:27:26.446Z] Login Succeeded [2021-12-02T14:27:26.446Z] docker.io [2021-12-02T14:27:26.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:27:27.681Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:27:27.681Z] Configure a credential helper to remove this warning. See [2021-12-02T14:27:27.681Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:27:27.681Z] [2021-12-02T14:27:27.681Z] Login Succeeded [2021-12-02T14:27:27.681Z] ---> docker-login.sh ends [Pipeline] } [2021-12-02T14:27:27.696Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-12-02T14:27:27.739Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-02T14:27:27.771Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2021-12-02T14:27:27.771Z] 5b17f991c425fdfdbf3defaffe349f04efb7e6d5 [2021-12-02T14:27:27.771Z] latest [2021-12-02T14:27:27.771Z] 2.2.0-dev.2 [2021-12-02T14:27:27.771Z] 5b17f991c425fdfdbf3defaffe349f04efb7e6d5-2.2.0-dev.2 [2021-12-02T14:27:27.771Z] main [2021-12-02T14:27:27.771Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:27:28.117Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:5b17f991c425fdfdbf3defaffe349f04efb7e6d5 [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:27:28.449Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:5b17f991c425fdfdbf3defaffe349f04efb7e6d5 [2021-12-02T14:27:28.449Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-12-02T14:27:28.449Z] 1ff770796423: Preparing [2021-12-02T14:27:28.449Z] a5f028acb775: Preparing [2021-12-02T14:27:28.449Z] 5e9d4962e5ea: Preparing [2021-12-02T14:27:28.449Z] 553949c2e21c: Preparing [2021-12-02T14:27:28.449Z] 62170e181a92: Preparing [2021-12-02T14:27:28.449Z] 62170e181a92: Layer already exists [2021-12-02T14:27:28.721Z] a5f028acb775: Pushed [2021-12-02T14:27:28.721Z] 1ff770796423: Pushed [2021-12-02T14:27:29.311Z] 553949c2e21c: Pushed [2021-12-02T14:27:31.266Z] 5e9d4962e5ea: Pushed [2021-12-02T14:27:31.535Z] 5b17f991c425fdfdbf3defaffe349f04efb7e6d5: digest: sha256:22315416cf7a26fa7c03ac02ec3f4c4046f786406ee94eea5bd03f7c7e1c0c0f size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:27:31.872Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:27:32.201Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2021-12-02T14:27:32.201Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-12-02T14:27:32.201Z] 1ff770796423: Preparing [2021-12-02T14:27:32.201Z] a5f028acb775: Preparing [2021-12-02T14:27:32.201Z] 5e9d4962e5ea: Preparing [2021-12-02T14:27:32.201Z] 553949c2e21c: Preparing [2021-12-02T14:27:32.201Z] 62170e181a92: Preparing [2021-12-02T14:27:32.201Z] 5e9d4962e5ea: Layer already exists [2021-12-02T14:27:32.201Z] a5f028acb775: Layer already exists [2021-12-02T14:27:32.201Z] 553949c2e21c: Layer already exists [2021-12-02T14:27:32.201Z] 1ff770796423: Layer already exists [2021-12-02T14:27:32.201Z] 62170e181a92: Layer already exists [2021-12-02T14:27:32.201Z] latest: digest: sha256:22315416cf7a26fa7c03ac02ec3f4c4046f786406ee94eea5bd03f7c7e1c0c0f size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:27:32.822Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.2 [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:27:33.188Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.2 [2021-12-02T14:27:33.188Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-12-02T14:27:33.188Z] 1ff770796423: Preparing [2021-12-02T14:27:33.188Z] a5f028acb775: Preparing [2021-12-02T14:27:33.188Z] 5e9d4962e5ea: Preparing [2021-12-02T14:27:33.188Z] 553949c2e21c: Preparing [2021-12-02T14:27:33.188Z] 62170e181a92: Preparing [2021-12-02T14:27:33.188Z] 1ff770796423: Layer already exists [2021-12-02T14:27:33.188Z] 553949c2e21c: Layer already exists [2021-12-02T14:27:33.188Z] 62170e181a92: Layer already exists [2021-12-02T14:27:33.188Z] a5f028acb775: Layer already exists [2021-12-02T14:27:33.188Z] 5e9d4962e5ea: Layer already exists [2021-12-02T14:27:33.461Z] 2.2.0-dev.2: digest: sha256:22315416cf7a26fa7c03ac02ec3f4c4046f786406ee94eea5bd03f7c7e1c0c0f size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:27:33.799Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:5b17f991c425fdfdbf3defaffe349f04efb7e6d5-2.2.0-dev.2 [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:27:34.133Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:5b17f991c425fdfdbf3defaffe349f04efb7e6d5-2.2.0-dev.2 [2021-12-02T14:27:34.133Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-12-02T14:27:34.133Z] 1ff770796423: Preparing [2021-12-02T14:27:34.133Z] a5f028acb775: Preparing [2021-12-02T14:27:34.133Z] 5e9d4962e5ea: Preparing [2021-12-02T14:27:34.133Z] 553949c2e21c: Preparing [2021-12-02T14:27:34.133Z] 62170e181a92: Preparing [2021-12-02T14:27:34.133Z] a5f028acb775: Layer already exists [2021-12-02T14:27:34.133Z] 553949c2e21c: Layer already exists [2021-12-02T14:27:34.133Z] 5e9d4962e5ea: Layer already exists [2021-12-02T14:27:34.133Z] 62170e181a92: Layer already exists [2021-12-02T14:27:34.133Z] 1ff770796423: Layer already exists [2021-12-02T14:27:34.133Z] 5b17f991c425fdfdbf3defaffe349f04efb7e6d5-2.2.0-dev.2: digest: sha256:22315416cf7a26fa7c03ac02ec3f4c4046f786406ee94eea5bd03f7c7e1c0c0f size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:27:34.739Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:27:35.069Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2021-12-02T14:27:35.069Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-12-02T14:27:35.069Z] 1ff770796423: Preparing [2021-12-02T14:27:35.069Z] a5f028acb775: Preparing [2021-12-02T14:27:35.069Z] 5e9d4962e5ea: Preparing [2021-12-02T14:27:35.069Z] 553949c2e21c: Preparing [2021-12-02T14:27:35.069Z] 62170e181a92: Preparing [2021-12-02T14:27:35.069Z] 62170e181a92: Layer already exists [2021-12-02T14:27:35.069Z] 1ff770796423: Layer already exists [2021-12-02T14:27:35.069Z] 5e9d4962e5ea: Layer already exists [2021-12-02T14:27:35.069Z] a5f028acb775: Layer already exists [2021-12-02T14:27:35.069Z] 553949c2e21c: Layer already exists [2021-12-02T14:27:35.069Z] main: digest: sha256:22315416cf7a26fa7c03ac02ec3f4c4046f786406ee94eea5bd03f7c7e1c0c0f size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-12-02T14:27:35.388Z] ===================================================== [Pipeline] echo [2021-12-02T14:27:35.396Z] taggedImages: [2021-12-02T14:27:35.396Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:5b17f991c425fdfdbf3defaffe349f04efb7e6d5 [2021-12-02T14:27:35.396Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2021-12-02T14:27:35.396Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.2 [2021-12-02T14:27:35.396Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:5b17f991c425fdfdbf3defaffe349f04efb7e6d5-2.2.0-dev.2 [2021-12-02T14:27:35.396Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:27:35.822Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-02T14:27:35.822Z] [2021-12-02T14:27:35.822Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:27:36.160Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-02T14:27:36.160Z] arm64: Pulling from edgex-lftools-log-publisher [2021-12-02T14:27:36.160Z] 448f6bf000e3: Pulling fs layer [2021-12-02T14:27:36.160Z] f757da607395: Pulling fs layer [2021-12-02T14:27:36.160Z] 05883995daec: Pulling fs layer [2021-12-02T14:27:36.160Z] 8603b9c90790: Pulling fs layer [2021-12-02T14:27:36.160Z] 1560dd03e051: Pulling fs layer [2021-12-02T14:27:36.160Z] 27f5ce0e4adf: Pulling fs layer [2021-12-02T14:27:36.160Z] c2d8d7efcc4b: Pulling fs layer [2021-12-02T14:27:36.160Z] 8603b9c90790: Waiting [2021-12-02T14:27:36.160Z] 1560dd03e051: Waiting [2021-12-02T14:27:36.160Z] 27f5ce0e4adf: Waiting [2021-12-02T14:27:36.160Z] c2d8d7efcc4b: Waiting [2021-12-02T14:27:36.431Z] f757da607395: Verifying Checksum [2021-12-02T14:27:36.431Z] f757da607395: Download complete [2021-12-02T14:27:36.431Z] 8603b9c90790: Verifying Checksum [2021-12-02T14:27:36.431Z] 8603b9c90790: Download complete [2021-12-02T14:27:36.431Z] 1560dd03e051: Verifying Checksum [2021-12-02T14:27:36.431Z] 1560dd03e051: Download complete [2021-12-02T14:27:36.431Z] 27f5ce0e4adf: Download complete [2021-12-02T14:27:36.703Z] 05883995daec: Verifying Checksum [2021-12-02T14:27:36.703Z] 05883995daec: Download complete [2021-12-02T14:27:36.975Z] 448f6bf000e3: Verifying Checksum [2021-12-02T14:27:36.975Z] 448f6bf000e3: Download complete [2021-12-02T14:27:39.582Z] c2d8d7efcc4b: Verifying Checksum [2021-12-02T14:27:39.582Z] c2d8d7efcc4b: Download complete [2021-12-02T14:27:40.561Z] 448f6bf000e3: Pull complete [2021-12-02T14:27:40.831Z] f757da607395: Pull complete [2021-12-02T14:27:42.264Z] 05883995daec: Pull complete [2021-12-02T14:27:42.537Z] 8603b9c90790: Pull complete [2021-12-02T14:27:43.513Z] 1560dd03e051: Pull complete [2021-12-02T14:27:43.786Z] 27f5ce0e4adf: Pull complete [2021-12-02T14:27:58.859Z] c2d8d7efcc4b: Pull complete [2021-12-02T14:27:58.859Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-12-02T14:27:58.859Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-02T14:27:58.859Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-12-02T14:27:59.080Z] prd-ubuntu18.04-docker-arm64-4c-16g-102 does not seem to be running inside a container [2021-12-02T14:27:59.153Z] $ 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/22 -v /w/workspace/device-rest-go/22:/w/workspace/device-rest-go/22:rw,z -v /w/workspace/device-rest-go/22@tmp:/w/workspace/device-rest-go/22@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-12-02T14:28:01.659Z] $ docker top 1b1fbd77a94e9f7fd3177404a8513f00bc824a986cb15b223bad2336ca58dcb4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T14:28:02.572Z] ---> job-cost.sh [2021-12-02T14:28:02.572Z] lf-activate-venv: SKIPPING [2021-12-02T14:28:02.572Z] INFO: No Stack... [2021-12-02T14:28:02.844Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-12-02T14:28:03.115Z] INFO: Archiving Costs [Pipeline] sh [2021-12-02T14:28:03.775Z] + cut -d, -f6 [2021-12-02T14:28:03.775Z] + cat /w/workspace/device-rest-go/22/archives/cost.csv [Pipeline] lock [2021-12-02T14:28:03.835Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-22-stack-cost] [2021-12-02T14:28:03.840Z] Resource [jenkins-edgexfoundry-device-rest-go-main-22-stack-cost] did not exist. Created. [2021-12-02T14:28:03.841Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-22-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-12-02T14:28:04.522Z] /w/workspace/device-rest-go/22@tmp/durable-e6ec7b94/script.sh: 1: /w/workspace/device-rest-go/22@tmp/durable-e6ec7b94/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-12-02T14:28:05.186Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-12-02T14:28:05.214Z] Warning: overwriting stash ‘stack-cost’ [2021-12-02T14:28:05.253Z] Stashed 1 file(s) [Pipeline] } [2021-12-02T14:28:05.270Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-22-stack-cost] [Pipeline] // lock [Pipeline] } [2021-12-02T14:28:05.287Z] $ docker stop --time=1 1b1fbd77a94e9f7fd3177404a8513f00bc824a986cb15b223bad2336ca58dcb4 [2021-12-02T14:28:06.777Z] $ docker rm -f 1b1fbd77a94e9f7fd3177404a8513f00bc824a986cb15b223bad2336ca58dcb4 [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 [2021-12-02T14:28:07.389Z] provisioning config files... [2021-12-02T14:28:07.399Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3323817966149707835tmp [Pipeline] { [Pipeline] sh [2021-12-02T14:28:07.702Z] + set +x [2021-12-02T14:28:07.702Z] + bash -s -- [2021-12-02T14:28:07.702Z] + curl -s https://codecov.io/bash [2021-12-02T14:28:07.702Z] [2021-12-02T14:28:07.702Z] _____ _ [2021-12-02T14:28:07.702Z] / ____| | | [2021-12-02T14:28:07.702Z] | | ___ __| | ___ ___ _____ __ [2021-12-02T14:28:07.702Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-12-02T14:28:07.702Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-12-02T14:28:07.702Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-12-02T14:28:07.702Z] Bash-1.0.6 [2021-12-02T14:28:07.702Z] [2021-12-02T14:28:07.702Z] [2021-12-02T14:28:07.702Z] ==> git version 2.24.4 found [2021-12-02T14:28:07.702Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-12-02T14:28:07.702Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-12-02T14:28:07.702Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-12-02T14:28:07.702Z] ==> Jenkins CI detected. [2021-12-02T14:28:07.702Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2021-12-02T14:28:07.702Z] project root: . [2021-12-02T14:28:07.702Z] --> token set from env [2021-12-02T14:28:07.702Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-12-02T14:28:07.702Z] ==> Running gcov in . (disable via -X gcov) [2021-12-02T14:28:07.702Z] ==> Python coveragepy not found [2021-12-02T14:28:07.702Z] ==> Searching for coverage reports in: [2021-12-02T14:28:07.702Z] + . [2021-12-02T14:28:07.702Z] -> Found 1 reports [2021-12-02T14:28:07.702Z] ==> Detecting git/mercurial file structure [2021-12-02T14:28:07.702Z] ==> Reading reports [2021-12-02T14:28:07.702Z] + ./coverage.out bytes=9215 [2021-12-02T14:28:07.702Z] ==> Appending adjustments [2021-12-02T14:28:07.702Z] https://docs.codecov.io/docs/fixing-reports [2021-12-02T14:28:07.966Z] + Found adjustments [2021-12-02T14:28:07.966Z] ==> Gzipping contents [2021-12-02T14:28:07.966Z] 4.0K /tmp/codecov.ud0gs5.gz [2021-12-02T14:28:07.966Z] ==> Uploading reports [2021-12-02T14:28:07.966Z] url: https://codecov.io [2021-12-02T14:28:07.966Z] query: branch=main&commit=5b17f991c425fdfdbf3defaffe349f04efb7e6d5&build=22&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F22%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-12-02T14:28:07.966Z] -> Pinging Codecov [2021-12-02T14:28:07.966Z] 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=5b17f991c425fdfdbf3defaffe349f04efb7e6d5&build=22&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F22%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-12-02T14:28:08.227Z] -> Uploading to [2021-12-02T14:28:08.227Z] https://storage.googleapis.com/codecov/v4/raw/2021-12-02/4E5D53B4F1F92C436F7061BF334D961C/5b17f991c425fdfdbf3defaffe349f04efb7e6d5/7517daeb-89d6-4757-9d77-74413297d68b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211202%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211202T142807Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d718727aeba481355f5d5a10e1beec201ae59f79c4fb54881eef65eb91a4dd53 [2021-12-02T14:28:08.227Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-12-02T14:28:08.227Z] Dload Upload Total Spent Left Speed [2021-12-02T14:28:08.490Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1814 0 0 100 1814 0 6028 --:--:-- --:--:-- --:--:-- 6046 [2021-12-02T14:28:08.490Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/5b17f991c425fdfdbf3defaffe349f04efb7e6d5 [Pipeline] } [2021-12-02T14:28:08.498Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-12-02T14:28:08.670Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-12-02T14:28:08.679Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:28:08.972Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-12-02T14:28:08.973Z] [2021-12-02T14:28:08.973Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:28:09.282Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-12-02T14:28:09.282Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-12-02T14:28:09.282Z] 188c0c94c7c5: Pulling fs layer [2021-12-02T14:28:09.282Z] 0ef7d3d256c8: Pulling fs layer [2021-12-02T14:28:09.282Z] de9db76c5a1d: Pulling fs layer [2021-12-02T14:28:09.282Z] 0eba1c9be4d2: Pulling fs layer [2021-12-02T14:28:09.282Z] 0d57e429df01: Pulling fs layer [2021-12-02T14:28:09.282Z] 4e4be7b47b0d: Pulling fs layer [2021-12-02T14:28:09.282Z] e1f770b5df2f: Pulling fs layer [2021-12-02T14:28:09.282Z] 85a0685a4137: Pulling fs layer [2021-12-02T14:28:09.282Z] 0d57e429df01: Waiting [2021-12-02T14:28:09.282Z] 4e4be7b47b0d: Waiting [2021-12-02T14:28:09.282Z] e1f770b5df2f: Waiting [2021-12-02T14:28:09.282Z] 85a0685a4137: Waiting [2021-12-02T14:28:09.282Z] 0eba1c9be4d2: Waiting [2021-12-02T14:28:09.282Z] de9db76c5a1d: Verifying Checksum [2021-12-02T14:28:09.282Z] de9db76c5a1d: Download complete [2021-12-02T14:28:09.282Z] 0ef7d3d256c8: Verifying Checksum [2021-12-02T14:28:09.282Z] 0ef7d3d256c8: Download complete [2021-12-02T14:28:09.282Z] 0d57e429df01: Verifying Checksum [2021-12-02T14:28:09.282Z] 0d57e429df01: Download complete [2021-12-02T14:28:09.282Z] 4e4be7b47b0d: Verifying Checksum [2021-12-02T14:28:09.282Z] 4e4be7b47b0d: Download complete [2021-12-02T14:28:09.282Z] 188c0c94c7c5: Verifying Checksum [2021-12-02T14:28:09.282Z] 188c0c94c7c5: Download complete [2021-12-02T14:28:09.558Z] e1f770b5df2f: Verifying Checksum [2021-12-02T14:28:09.558Z] e1f770b5df2f: Download complete [2021-12-02T14:28:09.820Z] 0eba1c9be4d2: Verifying Checksum [2021-12-02T14:28:09.820Z] 0eba1c9be4d2: Download complete [2021-12-02T14:28:10.088Z] 188c0c94c7c5: Pull complete [2021-12-02T14:28:10.088Z] 0ef7d3d256c8: Pull complete [2021-12-02T14:28:10.088Z] 85a0685a4137: Verifying Checksum [2021-12-02T14:28:10.088Z] 85a0685a4137: Download complete [2021-12-02T14:28:10.088Z] de9db76c5a1d: Pull complete [2021-12-02T14:28:14.333Z] 0eba1c9be4d2: Pull complete [2021-12-02T14:28:14.333Z] 0d57e429df01: Pull complete [2021-12-02T14:28:14.333Z] 4e4be7b47b0d: Pull complete [2021-12-02T14:28:14.333Z] e1f770b5df2f: Pull complete [2021-12-02T14:28:18.580Z] 85a0685a4137: Pull complete [2021-12-02T14:28:18.580Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-12-02T14:28:18.580Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-12-02T14:28:18.580Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-12-02T14:28:18.649Z] prd-centos7-docker-4c-2g-99 does not seem to be running inside a container [2021-12-02T14:28:18.685Z] $ 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 [2021-12-02T14:28:20.574Z] $ docker top 68e943edaa6aaba7f6910af1cacf31c3f6db015c5a364bda65b645ac0f6a2187 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-12-02T14:28:20.649Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-12-02T14:28:20.934Z] + set -o pipefail [2021-12-02T14:28:20.934Z] + snyk monitor '--org=edgex-jenkins' [2021-12-02T14:28:26.226Z] [2021-12-02T14:28:26.226Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2021-12-02T14:28:26.226Z] [2021-12-02T14:28:26.226Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/89bb0cc2-f847-4b53-ada7-7e61cc5d820a [2021-12-02T14:28:26.226Z] [2021-12-02T14:28:26.226Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-12-02T14:28:26.226Z] [2021-12-02T14:28:26.226Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-12-02T14:28:26.226Z] [2021-12-02T14:28:26.226Z] [Pipeline] } [2021-12-02T14:28:26.235Z] $ docker stop --time=1 68e943edaa6aaba7f6910af1cacf31c3f6db015c5a364bda65b645ac0f6a2187 [2021-12-02T14:28:28.077Z] $ docker rm -f 68e943edaa6aaba7f6910af1cacf31c3f6db015c5a364bda65b645ac0f6a2187 [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 [2021-12-02T14:28:28.944Z] + git log --format=format:%s -1 5b17f991c425fdfdbf3defaffe349f04efb7e6d5 [Pipeline] sh [2021-12-02T14:28:29.240Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-12-02T14:28:29.240Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:28:29.531Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-02T14:28:29.531Z] . [Pipeline] withDockerContainer [2021-12-02T14:28:29.595Z] prd-centos7-docker-4c-2g-99 does not seem to be running inside a container [2021-12-02T14:28:29.628Z] $ 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:10004/edgex-devops/git-semver:latest cat [2021-12-02T14:28:30.020Z] $ docker top b6a3d3a1344fbf550cb6c4748df464f14f8ecad8d93b2790bff588798aeec52d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-12-02T14:28:30.113Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-02T14:28:30.113Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-02T14:28:30.211Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-02T14:28:30.212Z] $ docker exec b6a3d3a1344fbf550cb6c4748df464f14f8ecad8d93b2790bff588798aeec52d ssh-agent [2021-12-02T14:28:30.304Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXiamiLi/agent.14 [2021-12-02T14:28:30.304Z] SSH_AGENT_PID=21 [2021-12-02T14:28:30.309Z] Running ssh-add (command line suppressed) [2021-12-02T14:28:30.420Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2966776856409096486.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2966776856409096486.key) [2021-12-02T14:28:30.433Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-02T14:28:30.730Z] + git semver tag [2021-12-02T14:28:30.730Z] # -> Open(): unable to determine branch for HEAD [2021-12-02T14:28:30.730Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-12-02T14:28:30.730Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-12-02T14:28:30.730Z] # $SEMVER_REMOTE_NAME = origin [2021-12-02T14:28:30.730Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-12-02T14:28:30.730Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-12-02T14:28:30.730Z] # $SEMVER_BRANCH = main [2021-12-02T14:28:30.730Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [2021-12-02T14:28:30.730Z] # 5b17f991c425fdfdbf3defaffe349f04efb7e6d5 HEAD [2021-12-02T14:28:30.730Z] # -> Force: false [2021-12-02T14:28:30.730Z] # 9c39a73b2376d1cb61b79fd926d622f62ed91d57 refs/tags/v2.2.0-dev.2 [Pipeline] } [2021-12-02T14:28:30.739Z] $ docker exec --env ******** --env ******** b6a3d3a1344fbf550cb6c4748df464f14f8ecad8d93b2790bff588798aeec52d ssh-agent -k [2021-12-02T14:28:30.852Z] unset SSH_AUTH_SOCK; [2021-12-02T14:28:30.854Z] unset SSH_AGENT_PID; [2021-12-02T14:28:30.854Z] echo Agent pid 21 killed; [2021-12-02T14:28:30.863Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-12-02T14:28:31.174Z] + git semver [Pipeline] } [2021-12-02T14:28:31.188Z] $ docker stop --time=1 b6a3d3a1344fbf550cb6c4748df464f14f8ecad8d93b2790bff588798aeec52d [2021-12-02T14:28:32.393Z] $ docker rm -f b6a3d3a1344fbf550cb6c4748df464f14f8ecad8d93b2790bff588798aeec52d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:28:32.786Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-12-02T14:28:32.786Z] [2021-12-02T14:28:32.786Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:28:33.098Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-12-02T14:28:33.098Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-12-02T14:28:33.098Z] ab5ef0e58194: Pulling fs layer [2021-12-02T14:28:33.098Z] 9712f1f96733: Pulling fs layer [2021-12-02T14:28:33.098Z] 63f879dbbcfc: Pulling fs layer [2021-12-02T14:28:33.098Z] 0d9ebad4ef96: Pulling fs layer [2021-12-02T14:28:33.098Z] e9a5061849ea: Pulling fs layer [2021-12-02T14:28:33.098Z] d747dcd14b5f: Pulling fs layer [2021-12-02T14:28:33.098Z] 2de7ff778b66: Pulling fs layer [2021-12-02T14:28:33.098Z] 0d9ebad4ef96: Waiting [2021-12-02T14:28:33.098Z] e9a5061849ea: Waiting [2021-12-02T14:28:33.098Z] d747dcd14b5f: Waiting [2021-12-02T14:28:33.098Z] 2de7ff778b66: Waiting [2021-12-02T14:28:33.098Z] 9712f1f96733: Verifying Checksum [2021-12-02T14:28:33.098Z] 9712f1f96733: Download complete [2021-12-02T14:28:33.364Z] 63f879dbbcfc: Verifying Checksum [2021-12-02T14:28:33.364Z] 63f879dbbcfc: Download complete [2021-12-02T14:28:33.629Z] 0d9ebad4ef96: Verifying Checksum [2021-12-02T14:28:33.629Z] 0d9ebad4ef96: Download complete [2021-12-02T14:28:33.629Z] d747dcd14b5f: Verifying Checksum [2021-12-02T14:28:33.629Z] d747dcd14b5f: Download complete [2021-12-02T14:28:33.629Z] e9a5061849ea: Verifying Checksum [2021-12-02T14:28:33.629Z] e9a5061849ea: Download complete [2021-12-02T14:28:33.629Z] ab5ef0e58194: Verifying Checksum [2021-12-02T14:28:33.629Z] ab5ef0e58194: Download complete [2021-12-02T14:28:33.892Z] 2de7ff778b66: Verifying Checksum [2021-12-02T14:28:33.892Z] 2de7ff778b66: Download complete [2021-12-02T14:28:36.457Z] ab5ef0e58194: Pull complete [2021-12-02T14:28:36.719Z] 9712f1f96733: Pull complete [2021-12-02T14:28:37.674Z] 63f879dbbcfc: Pull complete [2021-12-02T14:28:41.914Z] 0d9ebad4ef96: Pull complete [2021-12-02T14:28:41.914Z] e9a5061849ea: Pull complete [2021-12-02T14:28:42.174Z] d747dcd14b5f: Pull complete [2021-12-02T14:28:43.562Z] 2de7ff778b66: Pull complete [2021-12-02T14:28:43.562Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-12-02T14:28:43.562Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-12-02T14:28:43.562Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-12-02T14:28:43.634Z] prd-centos7-docker-4c-2g-99 does not seem to be running inside a container [2021-12-02T14:28:43.664Z] $ 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 [2021-12-02T14:28:46.661Z] $ docker top 5b43520a30994ff02afc4654a1c08fbf21fc303efe1f64b9ed6a1c2a51940042 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-12-02T14:28:46.752Z] provisioning config files... [2021-12-02T14:28:46.760Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3794244280763482500tmp [2021-12-02T14:28:46.774Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3193809147164324103tmp [2021-12-02T14:28:46.794Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5520595434963203695tmp [Pipeline] { [Pipeline] echo [2021-12-02T14:28:46.811Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T14:28:47.105Z] ---> sigul-configuration.sh [2021-12-02T14:28:47.105Z] gpg: directory `/root/.gnupg' created [2021-12-02T14:28:47.105Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-12-02T14:28:47.105Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-12-02T14:28:47.105Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-12-02T14:28:47.105Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-12-02T14:28:47.105Z] gpg: CAST5 encrypted data [2021-12-02T14:28:47.105Z] gpg: encrypted with 1 passphrase [2021-12-02T14:28:47.105Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-12-02T14:28:47.394Z] + mkdir /home/jenkins [2021-12-02T14:28:47.394Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-12-02T14:28:47.680Z] + 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 [2021-12-02T14:28:47.689Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T14:28:47.976Z] ---> sigul-install.sh [2021-12-02T14:28:47.976Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-12-02T14:28:48.268Z] + git tag --list [2021-12-02T14:28:48.269Z] v1.0.0 [2021-12-02T14:28:48.269Z] v1.1.0 [2021-12-02T14:28:48.269Z] v1.1.1 [2021-12-02T14:28:48.269Z] v1.1.2 [2021-12-02T14:28:48.269Z] v1.2.0 [2021-12-02T14:28:48.269Z] v1.2.1 [2021-12-02T14:28:48.269Z] v2.0.0 [2021-12-02T14:28:48.269Z] v2.0.1-dev.1 [2021-12-02T14:28:48.269Z] v2.0.1-dev.10 [2021-12-02T14:28:48.269Z] v2.0.1-dev.11 [2021-12-02T14:28:48.269Z] v2.0.1-dev.12 [2021-12-02T14:28:48.269Z] v2.0.1-dev.13 [2021-12-02T14:28:48.269Z] v2.0.1-dev.14 [2021-12-02T14:28:48.269Z] v2.0.1-dev.2 [2021-12-02T14:28:48.269Z] v2.0.1-dev.3 [2021-12-02T14:28:48.269Z] v2.0.1-dev.4 [2021-12-02T14:28:48.269Z] v2.0.1-dev.5 [2021-12-02T14:28:48.269Z] v2.0.1-dev.6 [2021-12-02T14:28:48.269Z] v2.0.1-dev.7 [2021-12-02T14:28:48.269Z] v2.0.1-dev.8 [2021-12-02T14:28:48.269Z] v2.0.1-dev.9 [2021-12-02T14:28:48.269Z] v2.1.0 [2021-12-02T14:28:48.269Z] v2.2.0-dev.1 [2021-12-02T14:28:48.269Z] v2.2.0-dev.2 [Pipeline] sh [2021-12-02T14:28:48.565Z] + lftools sign git-tag v2.2.0-dev.2 [2021-12-02T14:28:49.143Z] Signing Git tag with Sigul... [2021-12-02T14:28:49.143Z] Signing v2.2.0-dev.2 [Pipeline] echo [2021-12-02T14:28:50.093Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T14:28:50.381Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-12-02T14:28:50.389Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-12-02T14:28:50.408Z] $ docker stop --time=1 5b43520a30994ff02afc4654a1c08fbf21fc303efe1f64b9ed6a1c2a51940042 [2021-12-02T14:28:51.603Z] $ docker rm -f 5b43520a30994ff02afc4654a1c08fbf21fc303efe1f64b9ed6a1c2a51940042 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2021-12-02T14:28:52.260Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-12-02T14:28:52.260Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:28:52.556Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-02T14:28:52.556Z] . [Pipeline] withDockerContainer [2021-12-02T14:28:52.613Z] prd-centos7-docker-4c-2g-99 does not seem to be running inside a container [2021-12-02T14:28:52.640Z] $ 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:10004/edgex-devops/git-semver:latest cat [2021-12-02T14:28:52.996Z] $ docker top b7a66f34166df95532f4cb24a6614acb659afc5f97a1d9886cab904a54391407 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-12-02T14:28:53.095Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-02T14:28:53.095Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-02T14:28:53.183Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-02T14:28:53.184Z] $ docker exec b7a66f34166df95532f4cb24a6614acb659afc5f97a1d9886cab904a54391407 ssh-agent [2021-12-02T14:28:53.267Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGjBaFL/agent.14 [2021-12-02T14:28:53.267Z] SSH_AGENT_PID=21 [2021-12-02T14:28:53.272Z] Running ssh-add (command line suppressed) [2021-12-02T14:28:53.364Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7013476721771458626.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7013476721771458626.key) [2021-12-02T14:28:53.378Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-02T14:28:53.701Z] + git semver bump pre [2021-12-02T14:28:53.701Z] # -> Open(): unable to determine branch for HEAD [2021-12-02T14:28:53.701Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-12-02T14:28:53.701Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-12-02T14:28:53.701Z] # $SEMVER_REMOTE_NAME = origin [2021-12-02T14:28:53.701Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-12-02T14:28:53.701Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-12-02T14:28:53.701Z] # $SEMVER_BRANCH = main [2021-12-02T14:28:53.701Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [2021-12-02T14:28:53.701Z] 2.2.0-dev.3 [Pipeline] } [2021-12-02T14:28:53.711Z] $ docker exec --env ******** --env ******** b7a66f34166df95532f4cb24a6614acb659afc5f97a1d9886cab904a54391407 ssh-agent -k [2021-12-02T14:28:53.843Z] unset SSH_AUTH_SOCK; [2021-12-02T14:28:53.843Z] unset SSH_AGENT_PID; [2021-12-02T14:28:53.843Z] echo Agent pid 21 killed; [2021-12-02T14:28:53.851Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-12-02T14:28:54.161Z] + git semver [Pipeline] } [2021-12-02T14:28:54.171Z] $ docker stop --time=1 b7a66f34166df95532f4cb24a6614acb659afc5f97a1d9886cab904a54391407 [2021-12-02T14:28:55.363Z] $ docker rm -f b7a66f34166df95532f4cb24a6614acb659afc5f97a1d9886cab904a54391407 [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-02T14:28:55.719Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-12-02T14:28:55.719Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:28:56.018Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-02T14:28:56.018Z] . [Pipeline] withDockerContainer [2021-12-02T14:28:56.081Z] prd-centos7-docker-4c-2g-99 does not seem to be running inside a container [2021-12-02T14:28:56.113Z] $ 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:10004/edgex-devops/git-semver:latest cat [2021-12-02T14:28:56.442Z] $ docker top f796a32944bc6d58220b5ab3456f543da1905201798f8843903fd51bb52ffc1b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-12-02T14:28:56.538Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-02T14:28:56.538Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-02T14:28:56.639Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-02T14:28:56.640Z] $ docker exec f796a32944bc6d58220b5ab3456f543da1905201798f8843903fd51bb52ffc1b ssh-agent [2021-12-02T14:28:56.750Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXocLKCd/agent.14 [2021-12-02T14:28:56.750Z] SSH_AGENT_PID=20 [2021-12-02T14:28:56.756Z] Running ssh-add (command line suppressed) [2021-12-02T14:28:56.845Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8886575462524621438.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8886575462524621438.key) [2021-12-02T14:28:56.857Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-02T14:28:57.153Z] + git semver push [2021-12-02T14:28:57.153Z] # -> Open(): unable to determine branch for HEAD [2021-12-02T14:28:57.153Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-12-02T14:28:57.153Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-12-02T14:28:57.153Z] # $SEMVER_REMOTE_NAME = origin [2021-12-02T14:28:57.153Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-12-02T14:28:57.153Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-12-02T14:28:57.153Z] # $SEMVER_BRANCH = main [2021-12-02T14:28:57.153Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } [2021-12-02T14:28:58.547Z] $ docker exec --env ******** --env ******** f796a32944bc6d58220b5ab3456f543da1905201798f8843903fd51bb52ffc1b ssh-agent -k [2021-12-02T14:28:58.638Z] unset SSH_AUTH_SOCK; [2021-12-02T14:28:58.639Z] unset SSH_AGENT_PID; [2021-12-02T14:28:58.639Z] echo Agent pid 20 killed; [2021-12-02T14:28:58.651Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-12-02T14:28:58.967Z] + git semver [Pipeline] } [2021-12-02T14:28:58.979Z] $ docker stop --time=1 f796a32944bc6d58220b5ab3456f543da1905201798f8843903fd51bb52ffc1b [2021-12-02T14:29:00.158Z] $ docker rm -f f796a32944bc6d58220b5ab3456f543da1905201798f8843903fd51bb52ffc1b [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 [2021-12-02T14:29:01.304Z] + '[' -d /w/workspace/edgexfoundry_device-rest-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-12-02T14:29:01.603Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T14:29:02.156Z] ---> package-listing.sh [2021-12-02T14:29:02.156Z] ++ tr '[:upper:]' '[:lower:]' [2021-12-02T14:29:02.156Z] ++ facter osfamily [2021-12-02T14:29:02.437Z] + OS_FAMILY=redhat [2021-12-02T14:29:02.437Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2021-12-02T14:29:02.437Z] + START_PACKAGES=/tmp/packages_start.txt [2021-12-02T14:29:02.437Z] + END_PACKAGES=/tmp/packages_end.txt [2021-12-02T14:29:02.437Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-12-02T14:29:02.437Z] + PACKAGES=/tmp/packages_start.txt [2021-12-02T14:29:02.437Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2021-12-02T14:29:02.437Z] + PACKAGES=/tmp/packages_end.txt [2021-12-02T14:29:02.437Z] + case "${OS_FAMILY}" in [2021-12-02T14:29:02.437Z] + sort [2021-12-02T14:29:02.437Z] + rpm -qa [2021-12-02T14:29:03.013Z] + '[' -f /tmp/packages_start.txt ']' [2021-12-02T14:29:03.013Z] + '[' -f /tmp/packages_end.txt ']' [2021-12-02T14:29:03.013Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-12-02T14:29:03.013Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2021-12-02T14:29:03.013Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2021-12-02T14:29:03.013Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo [2021-12-02T14:29:03.025Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -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 [2021-12-02T14:29:03.305Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:29:03.869Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T14:29:03.869Z] [2021-12-02T14:29:03.869Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:29:04.173Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T14:29:04.173Z] latest: Pulling from edgex-lftools-log-publisher [2021-12-02T14:29:04.173Z] b4d181a07f80: Pulling fs layer [2021-12-02T14:29:04.173Z] a1111a8f2ec3: Pulling fs layer [2021-12-02T14:29:04.173Z] ed53099fbce6: Pulling fs layer [2021-12-02T14:29:04.173Z] dc539afda2c1: Pulling fs layer [2021-12-02T14:29:04.173Z] 77bc0d833cb6: Pulling fs layer [2021-12-02T14:29:04.173Z] 9065ff56babe: Pulling fs layer [2021-12-02T14:29:04.173Z] d287ab97295c: Pulling fs layer [2021-12-02T14:29:04.173Z] 77bc0d833cb6: Waiting [2021-12-02T14:29:04.173Z] 9065ff56babe: Waiting [2021-12-02T14:29:04.173Z] d287ab97295c: Waiting [2021-12-02T14:29:04.173Z] dc539afda2c1: Waiting [2021-12-02T14:29:04.173Z] a1111a8f2ec3: Verifying Checksum [2021-12-02T14:29:04.173Z] a1111a8f2ec3: Download complete [2021-12-02T14:29:04.173Z] dc539afda2c1: Verifying Checksum [2021-12-02T14:29:04.173Z] dc539afda2c1: Download complete [2021-12-02T14:29:04.436Z] ed53099fbce6: Verifying Checksum [2021-12-02T14:29:04.436Z] ed53099fbce6: Download complete [2021-12-02T14:29:04.436Z] 77bc0d833cb6: Verifying Checksum [2021-12-02T14:29:04.436Z] 77bc0d833cb6: Download complete [2021-12-02T14:29:04.436Z] 9065ff56babe: Verifying Checksum [2021-12-02T14:29:04.436Z] 9065ff56babe: Download complete [2021-12-02T14:29:04.436Z] b4d181a07f80: Verifying Checksum [2021-12-02T14:29:04.436Z] b4d181a07f80: Download complete [2021-12-02T14:29:05.017Z] d287ab97295c: Verifying Checksum [2021-12-02T14:29:05.017Z] d287ab97295c: Download complete [2021-12-02T14:29:05.964Z] b4d181a07f80: Pull complete [2021-12-02T14:29:06.223Z] a1111a8f2ec3: Pull complete [2021-12-02T14:29:06.806Z] ed53099fbce6: Pull complete [2021-12-02T14:29:06.806Z] dc539afda2c1: Pull complete [2021-12-02T14:29:07.077Z] 77bc0d833cb6: Pull complete [2021-12-02T14:29:07.077Z] 9065ff56babe: Pull complete [2021-12-02T14:29:12.386Z] d287ab97295c: Pull complete [2021-12-02T14:29:12.386Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-12-02T14:29:12.386Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T14:29:12.386Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-12-02T14:29:12.451Z] prd-centos7-docker-4c-2g-99 does not seem to be running inside a container [2021-12-02T14:29:12.486Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -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 [2021-12-02T14:29:14.435Z] $ docker top 58510eeaa3ac0a2be5d3d099d5c20f612fca68fd8edddf52d1f1a8874caf00ca -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-02T14:29:14.791Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-12-02T14:29:15.084Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-12-02T14:29:15.376Z] + ls /var/log/sa-host [2021-12-02T14:29:15.376Z] + sadf -c /var/log/sa-host/sa02 [2021-12-02T14:29:15.376Z] file_magic: OK [2021-12-02T14:29:15.376Z] HZ: Using current value: 100 [2021-12-02T14:29:15.376Z] file_header: OK [2021-12-02T14:29:15.376Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-12-02T14:29:15.376Z] Statistics: [2021-12-02T14:29:15.376Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-12-02T14:29:15.376Z] File successfully converted to sysstat format version 12.0.3 [2021-12-02T14:29:15.376Z] + sadf -c /var/log/sa-host/sa17 [2021-12-02T14:29:15.376Z] file_magic: OK [2021-12-02T14:29:15.376Z] HZ: Using current value: 100 [2021-12-02T14:29:15.376Z] file_header: OK [2021-12-02T14:29:15.376Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-12-02T14:29:15.376Z] Statistics: [2021-12-02T14:29:15.376Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-12-02T14:29:15.376Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-02T14:29:15.484Z] provisioning config files... [2021-12-02T14:29:15.496Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6513622501936899697tmp [Pipeline] { [Pipeline] echo [2021-12-02T14:29:15.514Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T14:29:15.802Z] ---> create-netrc.sh [Pipeline] } [2021-12-02T14:29:15.809Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-12-02T14:29:16.145Z] ---> python-tools-install.sh [Pipeline] echo [2021-12-02T14:29:16.154Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T14:29:16.450Z] ---> sudo-logs.sh [2021-12-02T14:29:16.450Z] Archiving 'sudo' log.. [2021-12-02T14:29:16.450Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-99.novalocal: Name or service not known [2021-12-02T14:29:16.450Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-99.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-12-02T14:29:16.477Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T14:29:16.763Z] ---> job-cost.sh [2021-12-02T14:29:16.763Z] lf-activate-venv: SKIPPING [2021-12-02T14:29:16.763Z] DEBUG: total: 0.10999999940395355 [2021-12-02T14:29:16.763Z] INFO: Retrieving Stack Cost... [2021-12-02T14:29:17.024Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-12-02T14:29:17.284Z] INFO: Archiving Costs [Pipeline] echo [2021-12-02T14:29:17.298Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T14:29:17.583Z] ---> logs-deploy.sh [2021-12-02T14:29:17.583Z] lf-activate-venv: SKIPPING [2021-12-02T14:29:17.583Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/22 [2021-12-02T14:29:17.583Z] INFO: archiving workspace using pattern(s): [2021-12-02T14:29:18.154Z] Archives upload complete. [2021-12-02T14:29:18.415Z] INFO: archiving logs to Nexus