Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f3318b721e0f943881393329fd3e7443e525a415 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-ssh3241036754966989495.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh15972108113774110937.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 dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh18028738325458479610.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > 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-ssh9598542297363560451.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-ssh4166289221508924474.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.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2600 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-ssh8415714047768773252.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 f3318b721e0f943881393329fd3e7443e525a415 (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 f3318b721e0f943881393329fd3e7443e525a415 # timeout=10 Commit message: "Merge pull request #153 from ernestojeda/go-1_17-module-changes" > git rev-list --no-walk 7e17efc4e40053c7710c451774e80e9bfae25c24 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-20T18:19:51.100Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-20T18:19:51.145Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-20T18:19:51.170Z] ========================================================= [2022-01-20T18:19:51.170Z] EdgeX Global Pipelines Version Info [2022-01-20T18:19:51.170Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:19:52.321Z] ------------------- [2022-01-20T18:19:52.321Z] stable info: [2022-01-20T18:19:52.321Z] ------------------- [2022-01-20T18:19:52.321Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-20T18:19:52.321Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-20T18:19:52.321Z] Message: update stable to v1.0.219 [2022-01-20T18:19:52.900Z] ------------------- [2022-01-20T18:19:52.900Z] experimental info: [2022-01-20T18:19:52.900Z] ------------------- [2022-01-20T18:19:52.900Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-20T18:19:52.900Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-20T18:19:52.900Z] Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-20T18:19:53.047Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-01-20T18:19:53.062Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-01-20T18:19:53.078Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-20T18:19:53.089Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-20T18:19:53.101Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-20T18:19:53.113Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-01-20T18:19:53.127Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-20T18:19:53.139Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-01-20T18:19:53.150Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-20T18:19:53.162Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-20T18:19:53.177Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-20T18:19:53.192Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-01-20T18:19:53.203Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-20T18:19:53.217Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-20T18:19:53.232Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-20T18:19:53.242Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-01-20T18:19:53.257Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-20T18:19:53.268Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-20T18:19:53.283Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-20T18:19:53.299Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-01-20T18:19:53.315Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-01-20T18:19:53.327Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-01-20T18:19:53.342Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-20T18:19:53.353Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-20T18:19:53.368Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-20T18:19:53.387Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-20T18:19:53.399Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-01-20T18:19:53.410Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-01-20T18:19:53.423Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-01-20T18:19:53.437Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f3318b721e0f943881393329fd3e7443e525a415 [Pipeline] echo [2022-01-20T18:19:53.450Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f3318b7 [Pipeline] echo [2022-01-20T18:19:53.464Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-20T18:19:53.522Z] provisioning config files... [2022-01-20T18:19:53.535Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3734539530681037845tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:19:53.842Z] ---> docker-login.sh [2022-01-20T18:19:53.842Z] nexus3.edgexfoundry.org:10001 [2022-01-20T18:19:53.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:19:54.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:19:54.109Z] Configure a credential helper to remove this warning. See [2022-01-20T18:19:54.109Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:19:54.109Z] [2022-01-20T18:19:54.109Z] Login Succeeded [2022-01-20T18:19:54.109Z] nexus3.edgexfoundry.org:10002 [2022-01-20T18:19:54.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:19:54.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:19:54.109Z] Configure a credential helper to remove this warning. See [2022-01-20T18:19:54.109Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:19:54.109Z] [2022-01-20T18:19:54.109Z] Login Succeeded [2022-01-20T18:19:54.109Z] nexus3.edgexfoundry.org:10003 [2022-01-20T18:19:54.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:19:54.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:19:54.373Z] Configure a credential helper to remove this warning. See [2022-01-20T18:19:54.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:19:54.373Z] [2022-01-20T18:19:54.373Z] Login Succeeded [2022-01-20T18:19:54.373Z] nexus3.edgexfoundry.org:10004 [2022-01-20T18:19:54.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:19:54.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:19:54.373Z] Configure a credential helper to remove this warning. See [2022-01-20T18:19:54.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:19:54.373Z] [2022-01-20T18:19:54.373Z] Login Succeeded [2022-01-20T18:19:54.373Z] docker.io [2022-01-20T18:19:54.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:19:54.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:19:54.948Z] Configure a credential helper to remove this warning. See [2022-01-20T18:19:54.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:19:54.948Z] [2022-01-20T18:19:54.948Z] Login Succeeded [2022-01-20T18:19:54.948Z] ---> docker-login.sh ends [Pipeline] } [2022-01-20T18:19:54.957Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-20T18:19:55.341Z] + git rev-list -1 --merges f3318b721e0f943881393329fd3e7443e525a415~1..f3318b721e0f943881393329fd3e7443e525a415 [Pipeline] echo [2022-01-20T18:19:55.368Z] -----------> git rev-list -1 --merges f3318b721e0f943881393329fd3e7443e525a415~1..f3318b721e0f943881393329fd3e7443e525a415 f3318b721e0f943881393329fd3e7443e525a415 [2022-01-20T18:19:55.368Z] f3318b721e0f943881393329fd3e7443e525a415 [false] [Pipeline] sh [2022-01-20T18:19:55.658Z] + git log --format=format:%s -1 f3318b721e0f943881393329fd3e7443e525a415 [Pipeline] echo [2022-01-20T18:19:55.674Z] ========================================================= [2022-01-20T18:19:55.675Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-20T18:19:55.675Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-20T18:19:56.019Z] + git log --format=format:%s -1 f3318b721e0f943881393329fd3e7443e525a415 [Pipeline] echo [2022-01-20T18:19:56.032Z] [semverPrep] GIT_COMMIT: f3318b721e0f943881393329fd3e7443e525a415, Commit Message: Merge pull request #153 from ernestojeda/go-1_17-module-changes [Pipeline] echo [2022-01-20T18:19:56.053Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-20T18:19:56.442Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-20T18:19:56.442Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-20T18:19:56.442Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-20T18:19:56.442Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-20T18:19:56.442Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-20T18:19:56.442Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-20T18:19:56.442Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:19:56.808Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-20T18:19:56.808Z] [2022-01-20T18:19:56.808Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:19:57.126Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-20T18:19:57.126Z] latest: Pulling from edgex-devops/git-semver [2022-01-20T18:19:57.126Z] a0d0a0d46f8b: Pulling fs layer [2022-01-20T18:19:57.126Z] 3e5f54012d9b: Pulling fs layer [2022-01-20T18:19:57.126Z] 4c7163046ea9: Pulling fs layer [2022-01-20T18:19:57.126Z] 0c2d73faf560: Pulling fs layer [2022-01-20T18:19:57.126Z] 0c2d73faf560: Waiting [2022-01-20T18:19:57.126Z] 3e5f54012d9b: Verifying Checksum [2022-01-20T18:19:57.126Z] 3e5f54012d9b: Download complete [2022-01-20T18:19:57.126Z] a0d0a0d46f8b: Verifying Checksum [2022-01-20T18:19:57.126Z] a0d0a0d46f8b: Download complete [2022-01-20T18:19:57.126Z] 4c7163046ea9: Verifying Checksum [2022-01-20T18:19:57.126Z] 4c7163046ea9: Download complete [2022-01-20T18:19:57.126Z] 0c2d73faf560: Verifying Checksum [2022-01-20T18:19:57.126Z] 0c2d73faf560: Download complete [2022-01-20T18:19:57.398Z] a0d0a0d46f8b: Pull complete [2022-01-20T18:19:57.398Z] 3e5f54012d9b: Pull complete [2022-01-20T18:19:57.661Z] 4c7163046ea9: Pull complete [2022-01-20T18:19:57.923Z] 0c2d73faf560: Pull complete [2022-01-20T18:19:57.923Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-20T18:19:57.923Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-20T18:19:57.923Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-20T18:19:58.000Z] prd-centos7-docker-4c-2g-2600 does not seem to be running inside a container [2022-01-20T18:19:57.984Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-20T18:19:58.661Z] $ docker top 7f212901aa1073705dbbc3e927d3487ecd9432a1b8399c7d8223896d3df1158d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-20T18:19:58.767Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-20T18:19:58.767Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-20T18:19:58.868Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-20T18:19:58.870Z] $ docker exec 7f212901aa1073705dbbc3e927d3487ecd9432a1b8399c7d8223896d3df1158d ssh-agent [2022-01-20T18:19:58.962Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhcGJKP/agent.14 [2022-01-20T18:19:58.962Z] SSH_AGENT_PID=20 [2022-01-20T18:19:58.970Z] Running ssh-add (command line suppressed) [2022-01-20T18:19:59.052Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8751738178141516476.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8751738178141516476.key) [2022-01-20T18:19:59.066Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-20T18:19:59.361Z] + git tag --points-at HEAD [Pipeline] } [2022-01-20T18:19:59.381Z] $ docker exec --env ******** --env ******** 7f212901aa1073705dbbc3e927d3487ecd9432a1b8399c7d8223896d3df1158d ssh-agent -k [2022-01-20T18:19:59.488Z] unset SSH_AUTH_SOCK; [2022-01-20T18:19:59.489Z] unset SSH_AGENT_PID; [2022-01-20T18:19:59.489Z] echo Agent pid 20 killed; [2022-01-20T18:19:59.499Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-20T18:19:59.522Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-20T18:19:59.522Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-20T18:19:59.630Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-20T18:19:59.633Z] $ docker exec 7f212901aa1073705dbbc3e927d3487ecd9432a1b8399c7d8223896d3df1158d ssh-agent [2022-01-20T18:19:59.729Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXckJgKJ/agent.54 [2022-01-20T18:19:59.729Z] SSH_AGENT_PID=61 [2022-01-20T18:19:59.734Z] Running ssh-add (command line suppressed) [2022-01-20T18:19:59.824Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2004366594062096256.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2004366594062096256.key) [2022-01-20T18:19:59.836Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-20T18:20:00.130Z] + git semver init [2022-01-20T18:20:00.130Z] # -> Open(): unable to determine branch for HEAD [2022-01-20T18:20:00.130Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2022-01-20T18:20:00.130Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2022-01-20T18:20:00.130Z] # $SEMVER_REMOTE_NAME = origin [2022-01-20T18:20:00.130Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-20T18:20:00.130Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-20T18:20:00.130Z] # $SEMVER_BRANCH = main [2022-01-20T18:20:00.130Z] # $SEMVER_TEMP = /tmp/semver-343881781 [2022-01-20T18:20:00.130Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2022-01-20T18:20:01.514Z] # '/tmp/semver-343881781' -> '/w/workspace/edgexfoundry_device-rest-go_main/.semver' [2022-01-20T18:20:01.514Z] # -> Force: false [2022-01-20T18:20:01.514Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } [2022-01-20T18:20:01.529Z] $ docker exec --env ******** --env ******** 7f212901aa1073705dbbc3e927d3487ecd9432a1b8399c7d8223896d3df1158d ssh-agent -k [2022-01-20T18:20:01.628Z] unset SSH_AUTH_SOCK; [2022-01-20T18:20:01.628Z] unset SSH_AGENT_PID; [2022-01-20T18:20:01.628Z] echo Agent pid 61 killed; [2022-01-20T18:20:01.636Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-20T18:20:01.965Z] + git semver [Pipeline] } [2022-01-20T18:20:01.979Z] $ docker stop --time=1 7f212901aa1073705dbbc3e927d3487ecd9432a1b8399c7d8223896d3df1158d [2022-01-20T18:20:03.288Z] $ docker rm -f 7f212901aa1073705dbbc3e927d3487ecd9432a1b8399c7d8223896d3df1158d [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-20T18:20:03.654Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-20T18:20:03.917Z] Stashed 1 file(s) [Pipeline] echo [2022-01-20T18:20:03.922Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.5 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-20T18:20:04.110Z] provisioning config files... [2022-01-20T18:20:04.122Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5153214977371957563tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:20:04.454Z] ---> docker-login.sh [2022-01-20T18:20:04.454Z] nexus3.edgexfoundry.org:10001 [2022-01-20T18:20:04.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:20:04.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:20:04.454Z] Configure a credential helper to remove this warning. See [2022-01-20T18:20:04.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:20:04.454Z] [2022-01-20T18:20:04.454Z] Login Succeeded [2022-01-20T18:20:04.454Z] nexus3.edgexfoundry.org:10002 [2022-01-20T18:20:04.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:20:04.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:20:04.454Z] Configure a credential helper to remove this warning. See [2022-01-20T18:20:04.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:20:04.454Z] [2022-01-20T18:20:04.454Z] Login Succeeded [2022-01-20T18:20:04.454Z] nexus3.edgexfoundry.org:10003 [2022-01-20T18:20:04.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:20:04.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:20:04.718Z] Configure a credential helper to remove this warning. See [2022-01-20T18:20:04.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:20:04.718Z] [2022-01-20T18:20:04.718Z] Login Succeeded [2022-01-20T18:20:04.718Z] nexus3.edgexfoundry.org:10004 [2022-01-20T18:20:04.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:20:04.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:20:04.718Z] Configure a credential helper to remove this warning. See [2022-01-20T18:20:04.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:20:04.718Z] [2022-01-20T18:20:04.718Z] Login Succeeded [2022-01-20T18:20:04.718Z] docker.io [2022-01-20T18:20:04.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:20:05.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:20:05.296Z] Configure a credential helper to remove this warning. See [2022-01-20T18:20:05.296Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:20:05.296Z] [2022-01-20T18:20:05.296Z] Login Succeeded [2022-01-20T18:20:05.296Z] ---> docker-login.sh ends [Pipeline] } [2022-01-20T18:20:05.306Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-20T18:20:05.388Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-20T18:20:05.401Z] ========================================================= [2022-01-20T18:20:05.401Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-01-20T18:20:05.401Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:20:05.727Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg 'MAKE=echo noop' --target=builder . [2022-01-20T18:20:05.727Z] Sending build context to Docker daemon 10.53MB [2022-01-20T18:20:05.727Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-01-20T18:20:05.727Z] Step 2/12 : FROM ${BASE} AS builder [2022-01-20T18:20:05.727Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-20T18:20:05.727Z] 59bf1c3509f3: Pulling fs layer [2022-01-20T18:20:05.727Z] 666ba61612fd: Pulling fs layer [2022-01-20T18:20:05.727Z] 8ed8ca486205: Pulling fs layer [2022-01-20T18:20:05.727Z] 4fe6c5a15a65: Pulling fs layer [2022-01-20T18:20:05.727Z] 22a0e8bec74d: Pulling fs layer [2022-01-20T18:20:05.727Z] f965cba54748: Pulling fs layer [2022-01-20T18:20:05.727Z] 861ffc35075e: Pulling fs layer [2022-01-20T18:20:05.727Z] 4b385c91608e: Pulling fs layer [2022-01-20T18:20:05.727Z] 560528eb2ebb: Pulling fs layer [2022-01-20T18:20:05.727Z] 4fe6c5a15a65: Waiting [2022-01-20T18:20:05.727Z] 22a0e8bec74d: Waiting [2022-01-20T18:20:05.727Z] f965cba54748: Waiting [2022-01-20T18:20:05.727Z] 861ffc35075e: Waiting [2022-01-20T18:20:05.727Z] 4b385c91608e: Waiting [2022-01-20T18:20:05.727Z] 560528eb2ebb: Waiting [2022-01-20T18:20:05.994Z] 8ed8ca486205: Verifying Checksum [2022-01-20T18:20:05.994Z] 8ed8ca486205: Download complete [2022-01-20T18:20:05.994Z] 666ba61612fd: Verifying Checksum [2022-01-20T18:20:05.994Z] 666ba61612fd: Download complete [2022-01-20T18:20:05.994Z] 22a0e8bec74d: Verifying Checksum [2022-01-20T18:20:05.994Z] 22a0e8bec74d: Download complete [2022-01-20T18:20:05.994Z] f965cba54748: Verifying Checksum [2022-01-20T18:20:05.994Z] f965cba54748: Download complete [2022-01-20T18:20:05.994Z] 59bf1c3509f3: Verifying Checksum [2022-01-20T18:20:05.994Z] 59bf1c3509f3: Download complete [2022-01-20T18:20:05.994Z] 861ffc35075e: Verifying Checksum [2022-01-20T18:20:05.994Z] 861ffc35075e: Download complete [2022-01-20T18:20:05.994Z] 4b385c91608e: Verifying Checksum [2022-01-20T18:20:05.994Z] 4b385c91608e: Download complete [2022-01-20T18:20:06.260Z] 59bf1c3509f3: Pull complete [2022-01-20T18:20:06.524Z] 666ba61612fd: Pull complete [2022-01-20T18:20:06.794Z] 560528eb2ebb: Verifying Checksum [2022-01-20T18:20:06.794Z] 560528eb2ebb: Download complete [2022-01-20T18:20:06.794Z] 4fe6c5a15a65: Verifying Checksum [2022-01-20T18:20:06.794Z] 4fe6c5a15a65: Download complete [2022-01-20T18:20:06.794Z] 8ed8ca486205: Pull complete [2022-01-20T18:20:11.030Z] 4fe6c5a15a65: Pull complete [2022-01-20T18:20:11.030Z] 22a0e8bec74d: Pull complete [2022-01-20T18:20:11.030Z] f965cba54748: Pull complete [2022-01-20T18:20:11.030Z] 861ffc35075e: Pull complete [2022-01-20T18:20:11.030Z] 4b385c91608e: Pull complete [2022-01-20T18:20:13.619Z] 560528eb2ebb: Pull complete [2022-01-20T18:20:13.619Z] Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f [2022-01-20T18:20:13.619Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-01-20T18:20:13.619Z] ---> dd4a08f94e63 [2022-01-20T18:20:13.619Z] Step 3/12 : ARG MAKE='make build' [2022-01-20T18:20:15.008Z] ---> Running in a5884425bc87 [2022-01-20T18:20:15.008Z] Removing intermediate container a5884425bc87 [2022-01-20T18:20:15.008Z] ---> bbb66b80fed4 [2022-01-20T18:20:15.008Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-20T18:20:15.273Z] ---> Running in be41bc1225a6 [2022-01-20T18:20:15.273Z] Removing intermediate container be41bc1225a6 [2022-01-20T18:20:15.273Z] ---> 69257ce54c4c [2022-01-20T18:20:15.273Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-01-20T18:20:15.273Z] ---> Running in 3901401c4e9a [2022-01-20T18:20:15.273Z] Removing intermediate container 3901401c4e9a [2022-01-20T18:20:15.273Z] ---> 27d7aa6b7811 [2022-01-20T18:20:15.273Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-20T18:20:15.273Z] ---> Running in ad7b5f7b0666 [2022-01-20T18:20:15.845Z] Removing intermediate container ad7b5f7b0666 [2022-01-20T18:20:15.846Z] ---> b8d5d2127720 [2022-01-20T18:20:15.846Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-20T18:20:15.846Z] ---> Running in 693b087bf5ca [2022-01-20T18:20:16.112Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-20T18:20:17.059Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-20T18:20:17.322Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-01-20T18:20:17.585Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-01-20T18:20:17.585Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-01-20T18:20:17.585Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-01-20T18:20:17.846Z] Executing busybox-1.34.1-r3.trigger [2022-01-20T18:20:17.846Z] OK: 224 MiB in 56 packages [2022-01-20T18:20:18.110Z] Removing intermediate container 693b087bf5ca [2022-01-20T18:20:18.110Z] ---> bb21c2b3eafd [2022-01-20T18:20:18.110Z] Step 8/12 : WORKDIR /device-rest-go [2022-01-20T18:20:18.110Z] ---> Running in e28803159059 [2022-01-20T18:20:18.110Z] Removing intermediate container e28803159059 [2022-01-20T18:20:18.110Z] ---> 3bf1cf6e0c6d [2022-01-20T18:20:18.110Z] Step 9/12 : COPY go.mod vendor* ./ [2022-01-20T18:20:18.373Z] ---> 267eed7f590b [2022-01-20T18:20:18.373Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-20T18:20:18.373Z] ---> Running in f0aba87e0a90 [2022-01-20T18:20:19.047Z] Still waiting to schedule task [2022-01-20T18:20:19.048Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2022-01-20T18:20:50.573Z] Removing intermediate container f0aba87e0a90 [2022-01-20T18:20:50.573Z] ---> 5cfb9fbc504f [2022-01-20T18:20:50.573Z] Step 11/12 : COPY . . [2022-01-20T18:20:50.573Z] ---> 2dd8c184bcc3 [2022-01-20T18:20:50.573Z] Step 12/12 : RUN $MAKE [2022-01-20T18:20:50.573Z] ---> Running in 6f9137074f60 [2022-01-20T18:20:50.573Z] noop [2022-01-20T18:20:50.573Z] Removing intermediate container 6f9137074f60 [2022-01-20T18:20:50.573Z] ---> e7b06609c817 [2022-01-20T18:20:50.573Z] Successfully built e7b06609c817 [2022-01-20T18:20:50.573Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:20:50.894Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-20T18:20:50.894Z] . [Pipeline] withDockerContainer [2022-01-20T18:20:50.964Z] prd-centos7-docker-4c-2g-2600 does not seem to be running inside a container [2022-01-20T18:20:50.994Z] $ 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 ******** ci-base-image-x86_64 cat [2022-01-20T18:20:51.309Z] $ docker top 0b657659893390d17b2d9cbccb8e6c1cc6300c665bab487fbe95fea284472e3f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-20T18:20:51.675Z] + go version [2022-01-20T18:20:51.675Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-01-20T18:20:51.685Z] $ docker stop --time=1 0b657659893390d17b2d9cbccb8e6c1cc6300c665bab487fbe95fea284472e3f [2022-01-20T18:20:52.881Z] $ docker rm -f 0b657659893390d17b2d9cbccb8e6c1cc6300c665bab487fbe95fea284472e3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:20:53.305Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-20T18:20:53.305Z] . [Pipeline] withDockerContainer [2022-01-20T18:20:53.368Z] prd-centos7-docker-4c-2g-2600 does not seem to be running inside a container [2022-01-20T18:20:53.408Z] $ 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 ******** ci-base-image-x86_64 cat [2022-01-20T18:20:53.766Z] $ docker top ac0eec79d324d8bdeada126e9316e494c395c73970a19bbbedb180109d7844d3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-20T18:20:54.144Z] + make test [2022-01-20T18:20:54.144Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-01-20T18:20:54.410Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-01-20T18:21:12.613Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-01-20T18:21:12.613Z] ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 56.0% of statements [2022-01-20T18:21:12.613Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-01-20T18:21:15.198Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-20T18:21:15.198Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-20T18:21:15.198Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-20T18:21:15.212Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-20T18:21:15.219Z] $ docker stop --time=1 ac0eec79d324d8bdeada126e9316e494c395c73970a19bbbedb180109d7844d3 [2022-01-20T18:21:16.688Z] $ docker rm -f ac0eec79d324d8bdeada126e9316e494c395c73970a19bbbedb180109d7844d3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-20T18:21:17.125Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-20T18:21:17.157Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-01-20T18:21:17.809Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-20T18:21:18.102Z] + ls -al . [2022-01-20T18:21:18.102Z] total 148 [2022-01-20T18:21:18.102Z] drwxrwxr-x. 9 jenkins jenkins 4096 Jan 20 18:21 . [2022-01-20T18:21:18.102Z] drwxrwxr-x. 4 jenkins jenkins 112 Jan 20 18:19 .. [2022-01-20T18:21:18.102Z] -rw-rw-r--. 1 jenkins jenkins 7095 Jan 20 18:19 Attribution.txt [2022-01-20T18:21:18.102Z] drwxrwxr-x. 2 jenkins jenkins 37 Jan 20 18:19 bin [2022-01-20T18:21:18.102Z] -rw-rw-r--. 1 jenkins jenkins 7459 Jan 20 18:19 CHANGELOG.md [2022-01-20T18:21:18.102Z] drwxrwxr-x. 3 jenkins jenkins 32 Jan 20 18:19 cmd [2022-01-20T18:21:18.102Z] -rw-r--r--. 1 jenkins jenkins 9215 Jan 20 18:21 coverage.out [2022-01-20T18:21:18.102Z] -rw-rw-r--. 1 jenkins jenkins 1672 Jan 20 18:19 Dockerfile [2022-01-20T18:21:18.102Z] -rw-rw-r--. 1 jenkins jenkins 151 Jan 20 18:19 .dockerignore [2022-01-20T18:21:18.102Z] drwxrwxr-x. 2 jenkins jenkins 76 Jan 20 18:19 driver [2022-01-20T18:21:18.102Z] drwxrwxr-x. 8 jenkins jenkins 162 Jan 20 18:19 .git [2022-01-20T18:21:18.102Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 20 18:19 .github [2022-01-20T18:21:18.102Z] -rw-rw-r--. 1 jenkins jenkins 329 Jan 20 18:19 .gitignore [2022-01-20T18:21:18.102Z] -rw-rw-r--. 1 jenkins jenkins 2894 Jan 20 18:19 go.mod [2022-01-20T18:21:18.102Z] -rw-rw-r--. 1 jenkins jenkins 49330 Jan 20 18:19 go.sum [2022-01-20T18:21:18.102Z] -rw-rw-r--. 1 jenkins jenkins 677 Jan 20 18:19 GOVERNANCE.md [2022-01-20T18:21:18.102Z] -rw-rw-r--. 1 jenkins jenkins 680 Jan 20 18:19 Jenkinsfile [2022-01-20T18:21:18.102Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jan 20 18:19 LICENSE [2022-01-20T18:21:18.102Z] -rw-rw-r--. 1 jenkins jenkins 1078 Jan 20 18:19 Makefile [2022-01-20T18:21:18.102Z] -rw-rw-r--. 1 jenkins jenkins 620 Jan 20 18:19 OWNERS.md [2022-01-20T18:21:18.102Z] -rw-rw-r--. 1 jenkins jenkins 8246 Jan 20 18:19 README.md [2022-01-20T18:21:18.102Z] drwx------. 3 jenkins jenkins 45 Jan 20 18:20 .semver [2022-01-20T18:21:18.102Z] drwxrwxr-x. 3 jenkins jenkins 58 Jan 20 18:19 snap [2022-01-20T18:21:18.102Z] -rw-rw-r--. 1 jenkins jenkins 11 Jan 20 18:20 VERSION [2022-01-20T18:21:18.102Z] -rw-rw-r--. 1 jenkins jenkins 713 Jan 20 18:19 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:21:18.410Z] + 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=f3318b721e0f943881393329fd3e7443e525a415 --label arch=amd64 --label version=2.2.0-dev.5 . [2022-01-20T18:21:18.410Z] Sending build context to Docker daemon 10.54MB [2022-01-20T18:21:18.410Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-01-20T18:21:18.410Z] Step 2/25 : FROM ${BASE} AS builder [2022-01-20T18:21:18.410Z] ---> e7b06609c817 [2022-01-20T18:21:18.410Z] Step 3/25 : ARG MAKE='make build' [2022-01-20T18:21:18.410Z] ---> Running in 8c8c09c96fb3 [2022-01-20T18:21:18.673Z] Removing intermediate container 8c8c09c96fb3 [2022-01-20T18:21:18.673Z] ---> 1e4f7f136c11 [2022-01-20T18:21:18.673Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-20T18:21:18.673Z] ---> Running in f5f07c069c6e [2022-01-20T18:21:18.673Z] Removing intermediate container f5f07c069c6e [2022-01-20T18:21:18.673Z] ---> 15f1dcfb0193 [2022-01-20T18:21:18.673Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-01-20T18:21:18.673Z] ---> Running in 4e39384da0ef [2022-01-20T18:21:18.673Z] Removing intermediate container 4e39384da0ef [2022-01-20T18:21:18.673Z] ---> bb5ebb0a865d [2022-01-20T18:21:18.673Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-20T18:21:18.936Z] ---> Running in 08e2e1cd578f [2022-01-20T18:21:19.197Z] Removing intermediate container 08e2e1cd578f [2022-01-20T18:21:19.197Z] ---> 246d284f0f7a [2022-01-20T18:21:19.197Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-20T18:21:19.197Z] ---> Running in 10d8e4f2ffc3 [2022-01-20T18:21:19.457Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-20T18:21:20.400Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-20T18:21:20.660Z] OK: 224 MiB in 56 packages [2022-01-20T18:21:20.920Z] Removing intermediate container 10d8e4f2ffc3 [2022-01-20T18:21:20.920Z] ---> fc40afd1ca71 [2022-01-20T18:21:20.920Z] Step 8/25 : WORKDIR /device-rest-go [2022-01-20T18:21:20.920Z] ---> Running in 3a035c910263 [2022-01-20T18:21:21.187Z] Removing intermediate container 3a035c910263 [2022-01-20T18:21:21.187Z] ---> 38fda412da50 [2022-01-20T18:21:21.187Z] Step 9/25 : COPY go.mod vendor* ./ [2022-01-20T18:21:21.187Z] ---> f1e266e83bff [2022-01-20T18:21:21.187Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-20T18:21:21.187Z] ---> Running in b025bc7e4c9b [2022-01-20T18:21:21.764Z] Removing intermediate container b025bc7e4c9b [2022-01-20T18:21:21.765Z] ---> 36546d63f45b [2022-01-20T18:21:21.765Z] Step 11/25 : COPY . . [2022-01-20T18:21:22.030Z] ---> 8d6a3e5fc3ad [2022-01-20T18:21:22.030Z] Step 12/25 : RUN $MAKE [2022-01-20T18:21:22.030Z] ---> Running in 633d9485b737 [2022-01-20T18:21:22.296Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.5" -o cmd/device-rest ./cmd [2022-01-20T18:21:34.596Z] Removing intermediate container 633d9485b737 [2022-01-20T18:21:34.596Z] ---> f07d10ed39aa [2022-01-20T18:21:34.596Z] Step 13/25 : FROM alpine:3.14 [2022-01-20T18:21:34.857Z] 3.14: Pulling from library/alpine [2022-01-20T18:21:35.120Z] 97518928ae5f: Pulling fs layer [2022-01-20T18:21:35.120Z] 97518928ae5f: Verifying Checksum [2022-01-20T18:21:35.120Z] 97518928ae5f: Download complete [2022-01-20T18:21:35.385Z] 97518928ae5f: Pull complete [2022-01-20T18:21:35.385Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-20T18:21:35.385Z] Status: Downloaded newer image for alpine:3.14 [2022-01-20T18:21:35.385Z] ---> 0a97eee8041e [2022-01-20T18:21:35.385Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-01-20T18:21:35.385Z] ---> Running in f3001d818c5f [2022-01-20T18:21:35.385Z] Removing intermediate container f3001d818c5f [2022-01-20T18:21:35.385Z] ---> 77ab6685db30 [2022-01-20T18:21:35.385Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-01-20T18:21:35.647Z] ---> Running in ca99e370cf3a [2022-01-20T18:21:35.647Z] Removing intermediate container ca99e370cf3a [2022-01-20T18:21:35.647Z] ---> a9e5a1f06889 [2022-01-20T18:21:35.647Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-01-20T18:21:35.647Z] ---> Running in 40af09639b6d [2022-01-20T18:21:35.909Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-20T18:21:35.909Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-20T18:21:36.176Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-01-20T18:21:36.176Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-01-20T18:21:36.176Z] (3/6) Installing libsodium (1.0.18-r0) [2022-01-20T18:21:36.176Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-20T18:21:36.176Z] (5/6) Installing libzmq (4.3.4-r0) [2022-01-20T18:21:36.176Z] (6/6) Installing zeromq (4.3.4-r0) [2022-01-20T18:21:36.176Z] Executing busybox-1.33.1-r6.trigger [2022-01-20T18:21:36.176Z] OK: 8 MiB in 20 packages [2022-01-20T18:21:36.439Z] Removing intermediate container 40af09639b6d [2022-01-20T18:21:36.439Z] ---> d878b62c99de [2022-01-20T18:21:36.439Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-01-20T18:21:37.006Z] ---> 394f03cb72a6 [2022-01-20T18:21:37.006Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-01-20T18:21:37.006Z] ---> 95f95cf21278 [2022-01-20T18:21:37.006Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-01-20T18:21:37.272Z] ---> 0c1a7c00efda [2022-01-20T18:21:37.272Z] Step 20/25 : EXPOSE 59986 [2022-01-20T18:21:37.272Z] ---> Running in 0dd32322c79e [2022-01-20T18:21:37.272Z] Removing intermediate container 0dd32322c79e [2022-01-20T18:21:37.272Z] ---> 815f1d382a44 [2022-01-20T18:21:37.272Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-01-20T18:21:37.272Z] ---> Running in 088fe73d4907 [2022-01-20T18:21:37.272Z] Removing intermediate container 088fe73d4907 [2022-01-20T18:21:37.272Z] ---> aff0ccdbb17d [2022-01-20T18:21:37.272Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-01-20T18:21:37.272Z] ---> Running in a1808daab15e [2022-01-20T18:21:37.533Z] Removing intermediate container a1808daab15e [2022-01-20T18:21:37.533Z] ---> a77b4277e9ba [2022-01-20T18:21:37.533Z] Step 23/25 : LABEL arch=amd64 [2022-01-20T18:21:37.533Z] ---> Running in b5fb6de9856c [2022-01-20T18:21:37.533Z] Removing intermediate container b5fb6de9856c [2022-01-20T18:21:37.533Z] ---> 7d1734823205 [2022-01-20T18:21:37.533Z] Step 24/25 : LABEL git_sha=f3318b721e0f943881393329fd3e7443e525a415 [2022-01-20T18:21:37.533Z] ---> Running in fa2cd3d70139 [2022-01-20T18:21:37.792Z] Removing intermediate container fa2cd3d70139 [2022-01-20T18:21:37.792Z] ---> 1028571d0566 [2022-01-20T18:21:37.792Z] Step 25/25 : LABEL version=2.2.0-dev.5 [2022-01-20T18:21:37.792Z] ---> Running in ccec10739905 [2022-01-20T18:21:37.792Z] Removing intermediate container ccec10739905 [2022-01-20T18:21:37.792Z] ---> 9a79a5c18a83 [2022-01-20T18:21:37.792Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-20T18:21:37.792Z] Successfully built 9a79a5c18a83 [2022-01-20T18:21:37.792Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-20T18:21:37.885Z] provisioning config files... [2022-01-20T18:21:37.894Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3045663982459156006tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:21:38.201Z] ---> docker-login.sh [2022-01-20T18:21:38.201Z] nexus3.edgexfoundry.org:10001 [2022-01-20T18:21:38.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:21:38.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:21:38.201Z] Configure a credential helper to remove this warning. See [2022-01-20T18:21:38.201Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:21:38.201Z] [2022-01-20T18:21:38.201Z] Login Succeeded [2022-01-20T18:21:38.201Z] nexus3.edgexfoundry.org:10002 [2022-01-20T18:21:38.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:21:38.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:21:38.201Z] Configure a credential helper to remove this warning. See [2022-01-20T18:21:38.201Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:21:38.201Z] [2022-01-20T18:21:38.201Z] Login Succeeded [2022-01-20T18:21:38.201Z] nexus3.edgexfoundry.org:10003 [2022-01-20T18:21:38.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:21:38.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:21:38.464Z] Configure a credential helper to remove this warning. See [2022-01-20T18:21:38.464Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:21:38.464Z] [2022-01-20T18:21:38.464Z] Login Succeeded [2022-01-20T18:21:38.464Z] nexus3.edgexfoundry.org:10004 [2022-01-20T18:21:38.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:21:38.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:21:38.464Z] Configure a credential helper to remove this warning. See [2022-01-20T18:21:38.464Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:21:38.464Z] [2022-01-20T18:21:38.464Z] Login Succeeded [2022-01-20T18:21:38.464Z] docker.io [2022-01-20T18:21:38.723Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:21:38.985Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:21:38.985Z] Configure a credential helper to remove this warning. See [2022-01-20T18:21:38.985Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:21:38.985Z] [2022-01-20T18:21:38.985Z] Login Succeeded [2022-01-20T18:21:38.985Z] ---> docker-login.sh ends [Pipeline] } [2022-01-20T18:21:38.992Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-01-20T18:21:39.027Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-20T18:21:39.053Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2022-01-20T18:21:39.053Z] f3318b721e0f943881393329fd3e7443e525a415 [2022-01-20T18:21:39.053Z] latest [2022-01-20T18:21:39.053Z] 2.2.0-dev.5 [2022-01-20T18:21:39.053Z] f3318b721e0f943881393329fd3e7443e525a415-2.2.0-dev.5 [2022-01-20T18:21:39.053Z] main [2022-01-20T18:21:39.053Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:21:39.367Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:f3318b721e0f943881393329fd3e7443e525a415 [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:21:39.663Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:f3318b721e0f943881393329fd3e7443e525a415 [2022-01-20T18:21:39.663Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-01-20T18:21:39.663Z] 2d21a8c01078: Preparing [2022-01-20T18:21:39.663Z] 0042537aba78: Preparing [2022-01-20T18:21:39.663Z] 1695fffaa5f4: Preparing [2022-01-20T18:21:39.663Z] 3a15f8aea316: Preparing [2022-01-20T18:21:39.663Z] 1a058d5342cc: Preparing [2022-01-20T18:21:39.663Z] 1a058d5342cc: Layer already exists [2022-01-20T18:21:39.925Z] 0042537aba78: Pushed [2022-01-20T18:21:39.925Z] 2d21a8c01078: Pushed [2022-01-20T18:21:39.925Z] 3a15f8aea316: Pushed [2022-01-20T18:21:40.869Z] 1695fffaa5f4: Pushed [2022-01-20T18:21:40.869Z] f3318b721e0f943881393329fd3e7443e525a415: digest: sha256:bc6e1b04b7ee05c6c5854dc2c0fd5c3a41e2050ca05ed8dfd373c6e8ac7e6b50 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:21:41.167Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:21:41.469Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2022-01-20T18:21:41.469Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-01-20T18:21:41.469Z] 2d21a8c01078: Preparing [2022-01-20T18:21:41.469Z] 0042537aba78: Preparing [2022-01-20T18:21:41.469Z] 1695fffaa5f4: Preparing [2022-01-20T18:21:41.469Z] 3a15f8aea316: Preparing [2022-01-20T18:21:41.469Z] 1a058d5342cc: Preparing [2022-01-20T18:21:41.469Z] 1a058d5342cc: Layer already exists [2022-01-20T18:21:41.469Z] 3a15f8aea316: Layer already exists [2022-01-20T18:21:41.469Z] 2d21a8c01078: Layer already exists [2022-01-20T18:21:41.469Z] 1695fffaa5f4: Layer already exists [2022-01-20T18:21:41.469Z] 0042537aba78: Layer already exists [2022-01-20T18:21:41.469Z] latest: digest: sha256:bc6e1b04b7ee05c6c5854dc2c0fd5c3a41e2050ca05ed8dfd373c6e8ac7e6b50 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:21:41.774Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.5 [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:21:42.076Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.5 [2022-01-20T18:21:42.076Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-01-20T18:21:42.076Z] 2d21a8c01078: Preparing [2022-01-20T18:21:42.076Z] 0042537aba78: Preparing [2022-01-20T18:21:42.076Z] 1695fffaa5f4: Preparing [2022-01-20T18:21:42.076Z] 3a15f8aea316: Preparing [2022-01-20T18:21:42.076Z] 1a058d5342cc: Preparing [2022-01-20T18:21:42.076Z] 1a058d5342cc: Layer already exists [2022-01-20T18:21:42.076Z] 2d21a8c01078: Layer already exists [2022-01-20T18:21:42.076Z] 1695fffaa5f4: Layer already exists [2022-01-20T18:21:42.076Z] 0042537aba78: Layer already exists [2022-01-20T18:21:42.076Z] 3a15f8aea316: Layer already exists [2022-01-20T18:21:42.076Z] 2.2.0-dev.5: digest: sha256:bc6e1b04b7ee05c6c5854dc2c0fd5c3a41e2050ca05ed8dfd373c6e8ac7e6b50 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:21:42.378Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:f3318b721e0f943881393329fd3e7443e525a415-2.2.0-dev.5 [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:21:42.677Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:f3318b721e0f943881393329fd3e7443e525a415-2.2.0-dev.5 [2022-01-20T18:21:42.677Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-01-20T18:21:42.677Z] 2d21a8c01078: Preparing [2022-01-20T18:21:42.677Z] 0042537aba78: Preparing [2022-01-20T18:21:42.677Z] 1695fffaa5f4: Preparing [2022-01-20T18:21:42.677Z] 3a15f8aea316: Preparing [2022-01-20T18:21:42.677Z] 1a058d5342cc: Preparing [2022-01-20T18:21:42.677Z] 1a058d5342cc: Layer already exists [2022-01-20T18:21:42.677Z] 2d21a8c01078: Layer already exists [2022-01-20T18:21:42.677Z] 1695fffaa5f4: Layer already exists [2022-01-20T18:21:42.677Z] 3a15f8aea316: Layer already exists [2022-01-20T18:21:42.677Z] 0042537aba78: Layer already exists [2022-01-20T18:21:42.677Z] f3318b721e0f943881393329fd3e7443e525a415-2.2.0-dev.5: digest: sha256:bc6e1b04b7ee05c6c5854dc2c0fd5c3a41e2050ca05ed8dfd373c6e8ac7e6b50 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:21:42.976Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:21:43.262Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2022-01-20T18:21:43.262Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-01-20T18:21:43.262Z] 2d21a8c01078: Preparing [2022-01-20T18:21:43.262Z] 0042537aba78: Preparing [2022-01-20T18:21:43.262Z] 1695fffaa5f4: Preparing [2022-01-20T18:21:43.262Z] 3a15f8aea316: Preparing [2022-01-20T18:21:43.262Z] 1a058d5342cc: Preparing [2022-01-20T18:21:43.262Z] 1a058d5342cc: Layer already exists [2022-01-20T18:21:43.262Z] 2d21a8c01078: Layer already exists [2022-01-20T18:21:43.262Z] 1695fffaa5f4: Layer already exists [2022-01-20T18:21:43.262Z] 0042537aba78: Layer already exists [2022-01-20T18:21:43.262Z] 3a15f8aea316: Layer already exists [2022-01-20T18:21:43.262Z] main: digest: sha256:bc6e1b04b7ee05c6c5854dc2c0fd5c3a41e2050ca05ed8dfd373c6e8ac7e6b50 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-01-20T18:21:43.300Z] ===================================================== [Pipeline] echo [2022-01-20T18:21:43.311Z] taggedImages: [2022-01-20T18:21:43.311Z] - nexus3.edgexfoundry.org:10004/device-rest:f3318b721e0f943881393329fd3e7443e525a415 [2022-01-20T18:21:43.311Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2022-01-20T18:21:43.311Z] - nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.5 [2022-01-20T18:21:43.311Z] - nexus3.edgexfoundry.org:10004/device-rest:f3318b721e0f943881393329fd3e7443e525a415-2.2.0-dev.5 [2022-01-20T18:21:43.311Z] - 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 [2022-01-20T18:21:43.683Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-20T18:21:43.683Z] [2022-01-20T18:21:43.683Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:21:43.985Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-20T18:21:43.985Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-20T18:21:43.985Z] b4d181a07f80: Pulling fs layer [2022-01-20T18:21:43.985Z] a1111a8f2ec3: Pulling fs layer [2022-01-20T18:21:43.985Z] ed53099fbce6: Pulling fs layer [2022-01-20T18:21:43.985Z] dc539afda2c1: Pulling fs layer [2022-01-20T18:21:43.985Z] 77bc0d833cb6: Pulling fs layer [2022-01-20T18:21:43.985Z] 9065ff56babe: Pulling fs layer [2022-01-20T18:21:43.985Z] d287ab97295c: Pulling fs layer [2022-01-20T18:21:43.985Z] dc539afda2c1: Waiting [2022-01-20T18:21:43.985Z] 77bc0d833cb6: Waiting [2022-01-20T18:21:43.985Z] 9065ff56babe: Waiting [2022-01-20T18:21:43.985Z] d287ab97295c: Waiting [2022-01-20T18:21:43.985Z] a1111a8f2ec3: Verifying Checksum [2022-01-20T18:21:43.985Z] a1111a8f2ec3: Download complete [2022-01-20T18:21:43.985Z] dc539afda2c1: Verifying Checksum [2022-01-20T18:21:43.985Z] dc539afda2c1: Download complete [2022-01-20T18:21:44.245Z] ed53099fbce6: Verifying Checksum [2022-01-20T18:21:44.245Z] ed53099fbce6: Download complete [2022-01-20T18:21:44.245Z] 77bc0d833cb6: Verifying Checksum [2022-01-20T18:21:44.245Z] 77bc0d833cb6: Download complete [2022-01-20T18:21:44.245Z] 9065ff56babe: Verifying Checksum [2022-01-20T18:21:44.245Z] 9065ff56babe: Download complete [2022-01-20T18:21:44.245Z] b4d181a07f80: Verifying Checksum [2022-01-20T18:21:44.245Z] b4d181a07f80: Download complete [2022-01-20T18:21:44.832Z] d287ab97295c: Verifying Checksum [2022-01-20T18:21:44.832Z] d287ab97295c: Download complete [2022-01-20T18:21:45.788Z] b4d181a07f80: Pull complete [2022-01-20T18:21:45.788Z] a1111a8f2ec3: Pull complete [2022-01-20T18:21:46.363Z] ed53099fbce6: Pull complete [2022-01-20T18:21:46.625Z] dc539afda2c1: Pull complete [2022-01-20T18:21:46.888Z] 77bc0d833cb6: Pull complete [2022-01-20T18:21:46.888Z] 9065ff56babe: Pull complete [2022-01-20T18:21:52.208Z] d287ab97295c: Pull complete [2022-01-20T18:21:52.208Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-20T18:21:52.208Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-20T18:21:52.208Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-20T18:21:52.293Z] prd-centos7-docker-4c-2g-2600 does not seem to be running inside a container [2022-01-20T18:21:52.504Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-20T18:21:55.019Z] $ docker top f5c5c5a7653c9ef8248cb015d8954d03389f6120574707a7fd781c497259f8cd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:21:55.563Z] ---> job-cost.sh [2022-01-20T18:21:55.563Z] lf-activate-venv: SKIPPING [2022-01-20T18:21:55.563Z] INFO: No Stack... [2022-01-20T18:21:55.824Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-20T18:21:56.399Z] INFO: Archiving Costs [Pipeline] sh [2022-01-20T18:21:56.698Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2022-01-20T18:21:56.698Z] + cut -d, -f6 [Pipeline] lock [2022-01-20T18:21:56.715Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-25-stack-cost] [2022-01-20T18:21:56.726Z] Resource [jenkins-edgexfoundry-device-rest-go-main-25-stack-cost] did not exist. Created. [2022-01-20T18:21:56.726Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-25-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-20T18:21:57.041Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-20T18:21:57.077Z] Stashed 1 file(s) [Pipeline] } [2022-01-20T18:21:57.083Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-25-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-20T18:21:57.100Z] $ docker stop --time=1 f5c5c5a7653c9ef8248cb015d8954d03389f6120574707a7fd781c497259f8cd [2022-01-20T18:21:58.244Z] $ docker rm -f f5c5c5a7653c9ef8248cb015d8954d03389f6120574707a7fd781c497259f8cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-20T18:25:08.183Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2855 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2022-01-20T18:25:08.197Z] Running in /w/workspace/device-rest-go/25 [Pipeline] { [Pipeline] checkout [2022-01-20T18:25:08.436Z] The recommended git tool is: git [2022-01-20T18:25:14.036Z] using credential edgex-jenkins-ssh [2022-01-20T18:25:14.056Z] Cloning the remote Git repository [2022-01-20T18:25:14.116Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-01-20T18:25:14.255Z] > git init /w/workspace/device-rest-go/25 # timeout=10 [2022-01-20T18:25:14.365Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-01-20T18:25:14.378Z] > git --version # timeout=10 [2022-01-20T18:25:14.420Z] > git --version # 'git version 2.17.1' [2022-01-20T18:25:14.422Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-20T18:25:14.547Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-20T18:25:16.565Z] Avoid second fetch [2022-01-20T18:25:16.566Z] Checking out Revision f3318b721e0f943881393329fd3e7443e525a415 (main) [2022-01-20T18:25:16.522Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-01-20T18:25:16.545Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-20T18:25:16.592Z] > git config core.sparsecheckout # timeout=10 [2022-01-20T18:25:16.614Z] > git checkout -f f3318b721e0f943881393329fd3e7443e525a415 # timeout=10 [2022-01-20T18:25:20.972Z] Commit message: "Merge pull request #153 from ernestojeda/go-1_17-module-changes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-20T18:25:21.844Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-20T18:25:21.844Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-20T18:25:21.844Z] Dload Upload Total Spent Left Speed [2022-01-20T18:25:21.844Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 210k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh [2022-01-20T18:25:22.362Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-20T18:25:22.713Z] + sudo tee /etc/docker/daemon.new [2022-01-20T18:25:22.713Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-20T18:25:22.713Z] { [2022-01-20T18:25:22.713Z] "registry-mirrors": [ [2022-01-20T18:25:22.713Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-20T18:25:22.713Z] ], [2022-01-20T18:25:22.713Z] "bip": "10.250.0.254/24", [2022-01-20T18:25:22.713Z] "hosts": [ [2022-01-20T18:25:22.713Z] "tcp://0.0.0.0:5555", [2022-01-20T18:25:22.713Z] "unix:///var/run/docker.sock" [2022-01-20T18:25:22.713Z] ], [2022-01-20T18:25:22.713Z] "mtu": 1458, [2022-01-20T18:25:22.713Z] "selinux-enabled": true, [2022-01-20T18:25:22.713Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-20T18:25:22.713Z] } [Pipeline] sh [2022-01-20T18:25:23.077Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-20T18:25:23.414Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-20T18:25:41.812Z] provisioning config files... [2022-01-20T18:25:41.841Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/25@tmp/config999226602601410072tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:25:42.222Z] ---> docker-login.sh [2022-01-20T18:25:42.222Z] nexus3.edgexfoundry.org:10001 [2022-01-20T18:25:42.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:25:43.105Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:25:43.105Z] Configure a credential helper to remove this warning. See [2022-01-20T18:25:43.105Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:25:43.105Z] [2022-01-20T18:25:43.105Z] Login Succeeded [2022-01-20T18:25:43.105Z] nexus3.edgexfoundry.org:10002 [2022-01-20T18:25:43.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:25:43.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:25:43.379Z] Configure a credential helper to remove this warning. See [2022-01-20T18:25:43.379Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:25:43.379Z] [2022-01-20T18:25:43.379Z] Login Succeeded [2022-01-20T18:25:43.379Z] nexus3.edgexfoundry.org:10003 [2022-01-20T18:25:43.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:25:43.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:25:43.980Z] Configure a credential helper to remove this warning. See [2022-01-20T18:25:43.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:25:43.980Z] [2022-01-20T18:25:43.980Z] Login Succeeded [2022-01-20T18:25:43.980Z] nexus3.edgexfoundry.org:10004 [2022-01-20T18:25:44.255Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:25:44.255Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:25:44.255Z] Configure a credential helper to remove this warning. See [2022-01-20T18:25:44.255Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:25:44.255Z] [2022-01-20T18:25:44.255Z] Login Succeeded [2022-01-20T18:25:44.255Z] docker.io [2022-01-20T18:25:44.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:25:45.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:25:45.121Z] Configure a credential helper to remove this warning. See [2022-01-20T18:25:45.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:25:45.121Z] [2022-01-20T18:25:45.121Z] Login Succeeded [2022-01-20T18:25:45.121Z] ---> docker-login.sh ends [Pipeline] } [2022-01-20T18:25:45.137Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-20T18:25:45.572Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-20T18:25:45.586Z] ========================================================= [2022-01-20T18:25:45.586Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-01-20T18:25:45.586Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:25:45.992Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-01-20T18:25:45.992Z] Sending build context to Docker daemon 124.4kB [2022-01-20T18:25:46.264Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-01-20T18:25:46.265Z] Step 2/12 : FROM ${BASE} AS builder [2022-01-20T18:25:46.539Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-20T18:25:46.539Z] 9b3977197b4f: Pulling fs layer [2022-01-20T18:25:46.539Z] 1a89e8eeedd5: Pulling fs layer [2022-01-20T18:25:46.539Z] 94645a83ff95: Pulling fs layer [2022-01-20T18:25:46.539Z] 3f3a8bcf1eab: Pulling fs layer [2022-01-20T18:25:46.539Z] 0c92f367c5e7: Pulling fs layer [2022-01-20T18:25:46.539Z] 4b8299f9d1f4: Pulling fs layer [2022-01-20T18:25:46.539Z] 9a6b49a46696: Pulling fs layer [2022-01-20T18:25:46.539Z] cf05db05a679: Pulling fs layer [2022-01-20T18:25:46.539Z] 3f3a8bcf1eab: Waiting [2022-01-20T18:25:46.539Z] 0c92f367c5e7: Waiting [2022-01-20T18:25:46.539Z] 4b8299f9d1f4: Waiting [2022-01-20T18:25:46.539Z] 9a6b49a46696: Waiting [2022-01-20T18:25:46.539Z] cf05db05a679: Waiting [2022-01-20T18:25:46.539Z] 94645a83ff95: Verifying Checksum [2022-01-20T18:25:46.539Z] 94645a83ff95: Download complete [2022-01-20T18:25:46.539Z] 1a89e8eeedd5: Verifying Checksum [2022-01-20T18:25:46.539Z] 1a89e8eeedd5: Download complete [2022-01-20T18:25:46.539Z] 0c92f367c5e7: Verifying Checksum [2022-01-20T18:25:46.539Z] 0c92f367c5e7: Download complete [2022-01-20T18:25:46.539Z] 4b8299f9d1f4: Download complete [2022-01-20T18:25:46.539Z] 9b3977197b4f: Download complete [2022-01-20T18:25:46.539Z] 9a6b49a46696: Verifying Checksum [2022-01-20T18:25:46.539Z] 9a6b49a46696: Download complete [2022-01-20T18:25:47.135Z] 9b3977197b4f: Pull complete [2022-01-20T18:25:47.745Z] 1a89e8eeedd5: Pull complete [2022-01-20T18:25:48.351Z] 94645a83ff95: Pull complete [2022-01-20T18:25:48.655Z] cf05db05a679: Verifying Checksum [2022-01-20T18:25:48.655Z] cf05db05a679: Download complete [2022-01-20T18:25:49.250Z] 3f3a8bcf1eab: Verifying Checksum [2022-01-20T18:25:49.250Z] 3f3a8bcf1eab: Download complete [2022-01-20T18:26:01.647Z] 3f3a8bcf1eab: Pull complete [2022-01-20T18:26:01.647Z] 0c92f367c5e7: Pull complete [2022-01-20T18:26:01.647Z] 4b8299f9d1f4: Pull complete [2022-01-20T18:26:01.647Z] 9a6b49a46696: Pull complete [2022-01-20T18:26:05.949Z] cf05db05a679: Pull complete [2022-01-20T18:26:05.949Z] Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 [2022-01-20T18:26:05.949Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-01-20T18:26:05.949Z] ---> 0ccda1f7e2ee [2022-01-20T18:26:05.949Z] Step 3/12 : ARG MAKE='make build' [2022-01-20T18:26:08.578Z] ---> Running in 999a301ed4e0 [2022-01-20T18:26:08.861Z] Removing intermediate container 999a301ed4e0 [2022-01-20T18:26:08.861Z] ---> 264400f12ee7 [2022-01-20T18:26:08.861Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-20T18:26:09.134Z] ---> Running in 1f2825b4e240 [2022-01-20T18:26:09.409Z] Removing intermediate container 1f2825b4e240 [2022-01-20T18:26:09.409Z] ---> 25c27c61ca69 [2022-01-20T18:26:09.409Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-01-20T18:26:09.685Z] ---> Running in 7dce59ac294b [2022-01-20T18:26:09.961Z] Removing intermediate container 7dce59ac294b [2022-01-20T18:26:09.961Z] ---> e9cc9ae9d85d [2022-01-20T18:26:09.961Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-20T18:26:10.237Z] ---> Running in 69138d80674c [2022-01-20T18:26:12.238Z] Removing intermediate container 69138d80674c [2022-01-20T18:26:12.238Z] ---> ae24e3f6ec8b [2022-01-20T18:26:12.238Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-20T18:26:12.513Z] ---> Running in 04df2b2895f0 [2022-01-20T18:26:13.496Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-20T18:26:14.474Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-20T18:26:15.908Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-01-20T18:26:15.908Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-01-20T18:26:15.908Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-01-20T18:26:15.908Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-01-20T18:26:16.182Z] Executing busybox-1.34.1-r3.trigger [2022-01-20T18:26:16.182Z] OK: 224 MiB in 56 packages [2022-01-20T18:26:17.156Z] Removing intermediate container 04df2b2895f0 [2022-01-20T18:26:17.156Z] ---> 92a689353e74 [2022-01-20T18:26:17.156Z] Step 8/12 : WORKDIR /device-rest-go [2022-01-20T18:26:17.429Z] ---> Running in 8535f2092190 [2022-01-20T18:26:17.701Z] Removing intermediate container 8535f2092190 [2022-01-20T18:26:17.701Z] ---> 6ebd92342eec [2022-01-20T18:26:17.701Z] Step 9/12 : COPY go.mod vendor* ./ [2022-01-20T18:26:18.302Z] ---> 07eb44a2ec07 [2022-01-20T18:26:18.302Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-20T18:26:18.302Z] ---> Running in 5cb4cbb6f0aa [2022-01-20T18:27:40.140Z] Removing intermediate container 5cb4cbb6f0aa [2022-01-20T18:27:40.140Z] ---> f611241ab1f9 [2022-01-20T18:27:40.140Z] Step 11/12 : COPY . . [2022-01-20T18:27:40.140Z] ---> 37420f212081 [2022-01-20T18:27:40.140Z] Step 12/12 : RUN $MAKE [2022-01-20T18:27:40.140Z] ---> Running in ba72173b7930 [2022-01-20T18:27:40.140Z] noop [2022-01-20T18:27:40.140Z] Removing intermediate container ba72173b7930 [2022-01-20T18:27:40.140Z] ---> 8c9d2021cc14 [2022-01-20T18:27:40.140Z] Successfully built 8c9d2021cc14 [2022-01-20T18:27:40.140Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:27:40.493Z] + docker inspect -f . ci-base-image-arm64 [2022-01-20T18:27:40.494Z] . [Pipeline] withDockerContainer [2022-01-20T18:27:40.738Z] prd-ubuntu18.04-docker-arm64-4c-16g-2855 does not seem to be running inside a container [2022-01-20T18:27:40.841Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/25 -v /w/workspace/device-rest-go/25:/w/workspace/device-rest-go/25:rw,z -v /w/workspace/device-rest-go/25@tmp:/w/workspace/device-rest-go/25@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 [2022-01-20T18:27:42.193Z] $ docker top 0470252e89ff38d73ecbeabb890467c38b3be9e1e9fcf7a6d8e810f9c14db549 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-20T18:27:43.132Z] + go version [2022-01-20T18:27:43.132Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-01-20T18:27:43.163Z] $ docker stop --time=1 0470252e89ff38d73ecbeabb890467c38b3be9e1e9fcf7a6d8e810f9c14db549 [2022-01-20T18:27:44.827Z] $ docker rm -f 0470252e89ff38d73ecbeabb890467c38b3be9e1e9fcf7a6d8e810f9c14db549 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:27:45.443Z] + docker inspect -f . ci-base-image-arm64 [2022-01-20T18:27:45.443Z] . [Pipeline] withDockerContainer [2022-01-20T18:27:45.670Z] prd-ubuntu18.04-docker-arm64-4c-16g-2855 does not seem to be running inside a container [2022-01-20T18:27:45.767Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/25 -v /w/workspace/device-rest-go/25:/w/workspace/device-rest-go/25:rw,z -v /w/workspace/device-rest-go/25@tmp:/w/workspace/device-rest-go/25@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 [2022-01-20T18:27:47.154Z] $ docker top d08dfeda1cd12de7dcb2e0e3e46bdd6ed91cd6a4ed38469d41c767c0f22cecbb -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-20T18:27:48.086Z] + make test [2022-01-20T18:27:48.087Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-01-20T18:27:49.536Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-01-20T18:28:46.195Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-01-20T18:28:46.195Z] ok github.com/edgexfoundry/device-rest-go/driver 0.060s coverage: 56.0% of statements [2022-01-20T18:28:46.471Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-01-20T18:29:08.684Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-20T18:29:08.684Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-20T18:29:08.684Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-20T18:29:10.145Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-20T18:29:10.163Z] $ docker stop --time=1 d08dfeda1cd12de7dcb2e0e3e46bdd6ed91cd6a4ed38469d41c767c0f22cecbb [2022-01-20T18:29:11.975Z] $ docker rm -f d08dfeda1cd12de7dcb2e0e3e46bdd6ed91cd6a4ed38469d41c767c0f22cecbb [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-20T18:29:12.867Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-20T18:29:12.895Z] Warning: overwriting stash ‘coverage-report’ [2022-01-20T18:29:13.411Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-20T18:29:13.824Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-20T18:29:14.164Z] + ls -al . [2022-01-20T18:29:14.165Z] total 176 [2022-01-20T18:29:14.165Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 20 18:29 . [2022-01-20T18:29:14.165Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 18:25 .. [2022-01-20T18:29:14.165Z] -rw-rw-r-- 1 jenkins jenkins 151 Jan 20 18:25 .dockerignore [2022-01-20T18:29:14.165Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 20 18:25 .git [2022-01-20T18:29:14.165Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 18:25 .github [2022-01-20T18:29:14.165Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 20 18:25 .gitignore [2022-01-20T18:29:14.165Z] -rw-rw-r-- 1 jenkins jenkins 7095 Jan 20 18:25 Attribution.txt [2022-01-20T18:29:14.165Z] -rw-rw-r-- 1 jenkins jenkins 7459 Jan 20 18:25 CHANGELOG.md [2022-01-20T18:29:14.165Z] -rw-rw-r-- 1 jenkins jenkins 1672 Jan 20 18:25 Dockerfile [2022-01-20T18:29:14.165Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 20 18:25 GOVERNANCE.md [2022-01-20T18:29:14.165Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 20 18:25 Jenkinsfile [2022-01-20T18:29:14.165Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 20 18:25 LICENSE [2022-01-20T18:29:14.165Z] -rw-rw-r-- 1 jenkins jenkins 1078 Jan 20 18:25 Makefile [2022-01-20T18:29:14.165Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 20 18:25 OWNERS.md [2022-01-20T18:29:14.165Z] -rw-rw-r-- 1 jenkins jenkins 8246 Jan 20 18:25 README.md [2022-01-20T18:29:14.165Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 20 18:20 VERSION [2022-01-20T18:29:14.165Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 18:25 bin [2022-01-20T18:29:14.165Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 18:25 cmd [2022-01-20T18:29:14.165Z] -rw-r--r-- 1 jenkins jenkins 9215 Jan 20 18:28 coverage.out [2022-01-20T18:29:14.165Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 18:25 driver [2022-01-20T18:29:14.165Z] -rw-rw-r-- 1 jenkins jenkins 2894 Jan 20 18:25 go.mod [2022-01-20T18:29:14.165Z] -rw-rw-r-- 1 jenkins jenkins 49330 Jan 20 18:25 go.sum [2022-01-20T18:29:14.165Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 18:25 snap [2022-01-20T18:29:14.165Z] -rw-rw-r-- 1 jenkins jenkins 713 Jan 20 18:25 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:29:14.514Z] + 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=f3318b721e0f943881393329fd3e7443e525a415 --label arch=arm64 --label version=2.2.0-dev.5 . [2022-01-20T18:29:14.515Z] Sending build context to Docker daemon 134.1kB [2022-01-20T18:29:14.786Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-01-20T18:29:14.786Z] Step 2/25 : FROM ${BASE} AS builder [2022-01-20T18:29:14.786Z] ---> 8c9d2021cc14 [2022-01-20T18:29:14.786Z] Step 3/25 : ARG MAKE='make build' [2022-01-20T18:29:15.058Z] ---> Running in d364d9c3d782 [2022-01-20T18:29:15.330Z] Removing intermediate container d364d9c3d782 [2022-01-20T18:29:15.330Z] ---> 9e6d23bba188 [2022-01-20T18:29:15.331Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-20T18:29:15.331Z] ---> Running in e22fc31b22a5 [2022-01-20T18:29:15.925Z] Removing intermediate container e22fc31b22a5 [2022-01-20T18:29:15.925Z] ---> 8894a21e4c3a [2022-01-20T18:29:15.925Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-01-20T18:29:15.925Z] ---> Running in 31f72a3abdc9 [2022-01-20T18:29:16.223Z] Removing intermediate container 31f72a3abdc9 [2022-01-20T18:29:16.223Z] ---> 19e22a81f47f [2022-01-20T18:29:16.223Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-20T18:29:16.553Z] ---> Running in 4e3eb480dae2 [2022-01-20T18:29:18.580Z] Removing intermediate container 4e3eb480dae2 [2022-01-20T18:29:18.580Z] ---> cbe560ce12e3 [2022-01-20T18:29:18.580Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-20T18:29:18.580Z] ---> Running in b3b6ce0e1fa3 [2022-01-20T18:29:19.563Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-20T18:29:20.539Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-20T18:29:21.517Z] OK: 224 MiB in 56 packages [2022-01-20T18:29:22.113Z] Removing intermediate container b3b6ce0e1fa3 [2022-01-20T18:29:22.113Z] ---> d0b63fde4d9e [2022-01-20T18:29:22.113Z] Step 8/25 : WORKDIR /device-rest-go [2022-01-20T18:29:22.113Z] ---> Running in c07524e3da40 [2022-01-20T18:29:22.710Z] Removing intermediate container c07524e3da40 [2022-01-20T18:29:22.710Z] ---> de237d78b48f [2022-01-20T18:29:22.710Z] Step 9/25 : COPY go.mod vendor* ./ [2022-01-20T18:29:23.311Z] ---> 1cfed8685d15 [2022-01-20T18:29:23.311Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-20T18:29:23.311Z] ---> Running in 7d4668169b9f [2022-01-20T18:29:25.276Z] Removing intermediate container 7d4668169b9f [2022-01-20T18:29:25.276Z] ---> 9b3ed0caf406 [2022-01-20T18:29:25.276Z] Step 11/25 : COPY . . [2022-01-20T18:29:26.261Z] ---> c62a61e42740 [2022-01-20T18:29:26.261Z] Step 12/25 : RUN $MAKE [2022-01-20T18:29:26.261Z] ---> Running in 1214694f3bf1 [2022-01-20T18:29:27.236Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.5" -o cmd/device-rest ./cmd [2022-01-20T18:30:14.238Z] Removing intermediate container 1214694f3bf1 [2022-01-20T18:30:14.238Z] ---> 59f069b7f79a [2022-01-20T18:30:14.239Z] Step 13/25 : FROM alpine:3.14 [2022-01-20T18:30:14.239Z] 3.14: Pulling from library/alpine [2022-01-20T18:30:14.239Z] be307f383ecc: Pulling fs layer [2022-01-20T18:30:14.239Z] be307f383ecc: Verifying Checksum [2022-01-20T18:30:14.239Z] be307f383ecc: Download complete [2022-01-20T18:30:14.239Z] be307f383ecc: Pull complete [2022-01-20T18:30:14.239Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-20T18:30:14.239Z] Status: Downloaded newer image for alpine:3.14 [2022-01-20T18:30:14.239Z] ---> 5b8b7b635229 [2022-01-20T18:30:14.239Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-01-20T18:30:14.239Z] ---> Running in 0e1d0ea46c9d [2022-01-20T18:30:14.239Z] Removing intermediate container 0e1d0ea46c9d [2022-01-20T18:30:14.239Z] ---> f29bec19fe73 [2022-01-20T18:30:14.239Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-01-20T18:30:14.239Z] ---> Running in b4e46293ec43 [2022-01-20T18:30:14.239Z] Removing intermediate container b4e46293ec43 [2022-01-20T18:30:14.239Z] ---> a5a372d85ee5 [2022-01-20T18:30:14.239Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-01-20T18:30:14.239Z] ---> Running in 61c4970314c2 [2022-01-20T18:30:14.509Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-20T18:30:14.783Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-20T18:30:15.766Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-01-20T18:30:15.766Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-01-20T18:30:15.766Z] (3/6) Installing libsodium (1.0.18-r0) [2022-01-20T18:30:15.766Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-20T18:30:15.766Z] (5/6) Installing libzmq (4.3.4-r0) [2022-01-20T18:30:15.766Z] (6/6) Installing zeromq (4.3.4-r0) [2022-01-20T18:30:15.766Z] Executing busybox-1.33.1-r6.trigger [2022-01-20T18:30:15.766Z] OK: 8 MiB in 20 packages [2022-01-20T18:30:16.739Z] Removing intermediate container 61c4970314c2 [2022-01-20T18:30:16.739Z] ---> cbdcc572a829 [2022-01-20T18:30:16.739Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-01-20T18:30:17.717Z] ---> 0f698440d63d [2022-01-20T18:30:17.717Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-01-20T18:30:18.313Z] ---> b0cf3206784e [2022-01-20T18:30:18.313Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-01-20T18:30:19.293Z] ---> b10920ed8dbd [2022-01-20T18:30:19.293Z] Step 20/25 : EXPOSE 59986 [2022-01-20T18:30:19.293Z] ---> Running in 02db647a67e3 [2022-01-20T18:30:19.567Z] Removing intermediate container 02db647a67e3 [2022-01-20T18:30:19.567Z] ---> 4967c658739e [2022-01-20T18:30:19.567Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-01-20T18:30:19.567Z] ---> Running in 6810a56cf23e [2022-01-20T18:30:19.840Z] Removing intermediate container 6810a56cf23e [2022-01-20T18:30:19.840Z] ---> 83b49eafb7c9 [2022-01-20T18:30:19.840Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-01-20T18:30:20.112Z] ---> Running in fdb2c2396bc4 [2022-01-20T18:30:20.385Z] Removing intermediate container fdb2c2396bc4 [2022-01-20T18:30:20.385Z] ---> 678f92df2a09 [2022-01-20T18:30:20.385Z] Step 23/25 : LABEL arch=arm64 [2022-01-20T18:30:20.658Z] ---> Running in 2f801fb64ef5 [2022-01-20T18:30:20.933Z] Removing intermediate container 2f801fb64ef5 [2022-01-20T18:30:20.933Z] ---> d03bd7f21783 [2022-01-20T18:30:20.933Z] Step 24/25 : LABEL git_sha=f3318b721e0f943881393329fd3e7443e525a415 [2022-01-20T18:30:20.933Z] ---> Running in aa8c52026160 [2022-01-20T18:30:21.527Z] Removing intermediate container aa8c52026160 [2022-01-20T18:30:21.527Z] ---> b1828d2b1b8f [2022-01-20T18:30:21.527Z] Step 25/25 : LABEL version=2.2.0-dev.5 [2022-01-20T18:30:21.527Z] ---> Running in 3cf913a8404b [2022-01-20T18:30:21.801Z] Removing intermediate container 3cf913a8404b [2022-01-20T18:30:21.801Z] ---> da1164474305 [2022-01-20T18:30:21.801Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-20T18:30:21.801Z] Successfully built da1164474305 [2022-01-20T18:30:21.801Z] 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 [2022-01-20T18:30:21.924Z] provisioning config files... [2022-01-20T18:30:21.944Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/25@tmp/config7070955449969038984tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:30:22.305Z] ---> docker-login.sh [2022-01-20T18:30:22.305Z] nexus3.edgexfoundry.org:10001 [2022-01-20T18:30:22.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:30:22.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:30:22.577Z] Configure a credential helper to remove this warning. See [2022-01-20T18:30:22.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:30:22.577Z] [2022-01-20T18:30:22.577Z] Login Succeeded [2022-01-20T18:30:22.577Z] nexus3.edgexfoundry.org:10002 [2022-01-20T18:30:23.173Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:30:23.173Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:30:23.173Z] Configure a credential helper to remove this warning. See [2022-01-20T18:30:23.173Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:30:23.173Z] [2022-01-20T18:30:23.173Z] Login Succeeded [2022-01-20T18:30:23.173Z] nexus3.edgexfoundry.org:10003 [2022-01-20T18:30:23.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:30:23.725Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:30:23.725Z] Configure a credential helper to remove this warning. See [2022-01-20T18:30:23.725Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:30:23.725Z] [2022-01-20T18:30:23.725Z] Login Succeeded [2022-01-20T18:30:23.725Z] nexus3.edgexfoundry.org:10004 [2022-01-20T18:30:23.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:30:24.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:30:24.271Z] Configure a credential helper to remove this warning. See [2022-01-20T18:30:24.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:30:24.271Z] [2022-01-20T18:30:24.271Z] Login Succeeded [2022-01-20T18:30:24.271Z] docker.io [2022-01-20T18:30:24.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:30:25.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:30:25.139Z] Configure a credential helper to remove this warning. See [2022-01-20T18:30:25.139Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:30:25.139Z] [2022-01-20T18:30:25.139Z] Login Succeeded [2022-01-20T18:30:25.139Z] ---> docker-login.sh ends [Pipeline] } [2022-01-20T18:30:25.156Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-01-20T18:30:25.190Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-20T18:30:25.211Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2022-01-20T18:30:25.211Z] f3318b721e0f943881393329fd3e7443e525a415 [2022-01-20T18:30:25.211Z] latest [2022-01-20T18:30:25.211Z] 2.2.0-dev.5 [2022-01-20T18:30:25.211Z] f3318b721e0f943881393329fd3e7443e525a415-2.2.0-dev.5 [2022-01-20T18:30:25.211Z] main [2022-01-20T18:30:25.211Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:30:25.574Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:f3318b721e0f943881393329fd3e7443e525a415 [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:30:25.918Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:f3318b721e0f943881393329fd3e7443e525a415 [2022-01-20T18:30:25.918Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-01-20T18:30:25.918Z] 0a4b983ad251: Preparing [2022-01-20T18:30:25.918Z] 1348a7e7c5a6: Preparing [2022-01-20T18:30:25.918Z] b5823827f77f: Preparing [2022-01-20T18:30:25.918Z] 71e4da693d1a: Preparing [2022-01-20T18:30:25.918Z] 62170e181a92: Preparing [2022-01-20T18:30:26.192Z] 62170e181a92: Layer already exists [2022-01-20T18:30:26.192Z] 1348a7e7c5a6: Pushed [2022-01-20T18:30:26.192Z] 0a4b983ad251: Pushed [2022-01-20T18:30:26.787Z] 71e4da693d1a: Pushed [2022-01-20T18:30:29.398Z] b5823827f77f: Pushed [2022-01-20T18:30:29.398Z] f3318b721e0f943881393329fd3e7443e525a415: digest: sha256:fb7e8daae308cd9dd65241d084c9e984ceb6a1f0e50b98e7f444182a5fb63194 size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:30:29.744Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:30:30.085Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-01-20T18:30:30.085Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-01-20T18:30:30.085Z] 0a4b983ad251: Preparing [2022-01-20T18:30:30.085Z] 1348a7e7c5a6: Preparing [2022-01-20T18:30:30.085Z] b5823827f77f: Preparing [2022-01-20T18:30:30.085Z] 71e4da693d1a: Preparing [2022-01-20T18:30:30.085Z] 62170e181a92: Preparing [2022-01-20T18:30:30.085Z] b5823827f77f: Layer already exists [2022-01-20T18:30:30.085Z] 71e4da693d1a: Layer already exists [2022-01-20T18:30:30.365Z] 62170e181a92: Layer already exists [2022-01-20T18:30:30.365Z] 1348a7e7c5a6: Layer already exists [2022-01-20T18:30:30.365Z] 0a4b983ad251: Layer already exists [2022-01-20T18:30:30.365Z] latest: digest: sha256:fb7e8daae308cd9dd65241d084c9e984ceb6a1f0e50b98e7f444182a5fb63194 size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:30:30.720Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.5 [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:30:31.069Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.5 [2022-01-20T18:30:31.069Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-01-20T18:30:31.069Z] 0a4b983ad251: Preparing [2022-01-20T18:30:31.069Z] 1348a7e7c5a6: Preparing [2022-01-20T18:30:31.069Z] b5823827f77f: Preparing [2022-01-20T18:30:31.069Z] 71e4da693d1a: Preparing [2022-01-20T18:30:31.069Z] 62170e181a92: Preparing [2022-01-20T18:30:31.341Z] 0a4b983ad251: Layer already exists [2022-01-20T18:30:31.341Z] b5823827f77f: Layer already exists [2022-01-20T18:30:31.341Z] 1348a7e7c5a6: Layer already exists [2022-01-20T18:30:31.341Z] 62170e181a92: Layer already exists [2022-01-20T18:30:31.341Z] 71e4da693d1a: Layer already exists [2022-01-20T18:30:31.341Z] 2.2.0-dev.5: digest: sha256:fb7e8daae308cd9dd65241d084c9e984ceb6a1f0e50b98e7f444182a5fb63194 size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:30:31.687Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:f3318b721e0f943881393329fd3e7443e525a415-2.2.0-dev.5 [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:30:32.025Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:f3318b721e0f943881393329fd3e7443e525a415-2.2.0-dev.5 [2022-01-20T18:30:32.025Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-01-20T18:30:32.025Z] 0a4b983ad251: Preparing [2022-01-20T18:30:32.025Z] 1348a7e7c5a6: Preparing [2022-01-20T18:30:32.025Z] b5823827f77f: Preparing [2022-01-20T18:30:32.025Z] 71e4da693d1a: Preparing [2022-01-20T18:30:32.025Z] 62170e181a92: Preparing [2022-01-20T18:30:32.025Z] 71e4da693d1a: Layer already exists [2022-01-20T18:30:32.025Z] b5823827f77f: Layer already exists [2022-01-20T18:30:32.025Z] 0a4b983ad251: Layer already exists [2022-01-20T18:30:32.025Z] 1348a7e7c5a6: Layer already exists [2022-01-20T18:30:32.025Z] 62170e181a92: Layer already exists [2022-01-20T18:30:32.296Z] f3318b721e0f943881393329fd3e7443e525a415-2.2.0-dev.5: digest: sha256:fb7e8daae308cd9dd65241d084c9e984ceb6a1f0e50b98e7f444182a5fb63194 size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:30:32.644Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:30:32.984Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2022-01-20T18:30:32.985Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-01-20T18:30:32.985Z] 0a4b983ad251: Preparing [2022-01-20T18:30:32.985Z] 1348a7e7c5a6: Preparing [2022-01-20T18:30:32.985Z] b5823827f77f: Preparing [2022-01-20T18:30:32.985Z] 71e4da693d1a: Preparing [2022-01-20T18:30:32.985Z] 62170e181a92: Preparing [2022-01-20T18:30:32.985Z] 0a4b983ad251: Layer already exists [2022-01-20T18:30:32.985Z] 71e4da693d1a: Layer already exists [2022-01-20T18:30:32.985Z] 62170e181a92: Layer already exists [2022-01-20T18:30:32.985Z] 1348a7e7c5a6: Layer already exists [2022-01-20T18:30:32.985Z] b5823827f77f: Layer already exists [2022-01-20T18:30:33.255Z] main: digest: sha256:fb7e8daae308cd9dd65241d084c9e984ceb6a1f0e50b98e7f444182a5fb63194 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-01-20T18:30:33.303Z] ===================================================== [Pipeline] echo [2022-01-20T18:30:33.312Z] taggedImages: [2022-01-20T18:30:33.312Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:f3318b721e0f943881393329fd3e7443e525a415 [2022-01-20T18:30:33.312Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-01-20T18:30:33.312Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.5 [2022-01-20T18:30:33.312Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:f3318b721e0f943881393329fd3e7443e525a415-2.2.0-dev.5 [2022-01-20T18:30:33.312Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:30:33.686Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-20T18:30:33.686Z] [2022-01-20T18:30:33.686Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:30:34.037Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-20T18:30:34.309Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-20T18:30:34.309Z] 448f6bf000e3: Pulling fs layer [2022-01-20T18:30:34.309Z] f757da607395: Pulling fs layer [2022-01-20T18:30:34.309Z] 05883995daec: Pulling fs layer [2022-01-20T18:30:34.309Z] 8603b9c90790: Pulling fs layer [2022-01-20T18:30:34.309Z] 1560dd03e051: Pulling fs layer [2022-01-20T18:30:34.309Z] 27f5ce0e4adf: Pulling fs layer [2022-01-20T18:30:34.309Z] c2d8d7efcc4b: Pulling fs layer [2022-01-20T18:30:34.309Z] 1560dd03e051: Waiting [2022-01-20T18:30:34.309Z] 27f5ce0e4adf: Waiting [2022-01-20T18:30:34.309Z] c2d8d7efcc4b: Waiting [2022-01-20T18:30:34.309Z] 8603b9c90790: Waiting [2022-01-20T18:30:34.309Z] f757da607395: Verifying Checksum [2022-01-20T18:30:34.309Z] f757da607395: Download complete [2022-01-20T18:30:34.309Z] 8603b9c90790: Verifying Checksum [2022-01-20T18:30:34.309Z] 8603b9c90790: Download complete [2022-01-20T18:30:34.582Z] 1560dd03e051: Verifying Checksum [2022-01-20T18:30:34.582Z] 1560dd03e051: Download complete [2022-01-20T18:30:34.582Z] 05883995daec: Verifying Checksum [2022-01-20T18:30:34.582Z] 05883995daec: Download complete [2022-01-20T18:30:34.582Z] 27f5ce0e4adf: Verifying Checksum [2022-01-20T18:30:34.582Z] 27f5ce0e4adf: Download complete [2022-01-20T18:30:34.855Z] 448f6bf000e3: Download complete [2022-01-20T18:30:37.478Z] c2d8d7efcc4b: Verifying Checksum [2022-01-20T18:30:37.478Z] c2d8d7efcc4b: Download complete [2022-01-20T18:30:38.469Z] 448f6bf000e3: Pull complete [2022-01-20T18:30:39.065Z] f757da607395: Pull complete [2022-01-20T18:30:40.502Z] 05883995daec: Pull complete [2022-01-20T18:30:40.776Z] 8603b9c90790: Pull complete [2022-01-20T18:30:41.760Z] 1560dd03e051: Pull complete [2022-01-20T18:30:42.036Z] 27f5ce0e4adf: Pull complete [2022-01-20T18:31:00.469Z] c2d8d7efcc4b: Pull complete [2022-01-20T18:31:00.469Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-20T18:31:00.469Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-20T18:31:00.469Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-20T18:31:00.719Z] prd-ubuntu18.04-docker-arm64-4c-16g-2855 does not seem to be running inside a container [2022-01-20T18:31:00.809Z] $ 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/25 -v /w/workspace/device-rest-go/25:/w/workspace/device-rest-go/25:rw,z -v /w/workspace/device-rest-go/25@tmp:/w/workspace/device-rest-go/25@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 [2022-01-20T18:31:03.914Z] $ docker top ba796259b4ccde2a0c3e313322cd238d3c2afab2b214e61208aa689d31706ffd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:31:04.820Z] ---> job-cost.sh [2022-01-20T18:31:04.820Z] lf-activate-venv: SKIPPING [2022-01-20T18:31:04.820Z] INFO: No Stack... [2022-01-20T18:31:05.092Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-20T18:31:05.687Z] INFO: Archiving Costs [Pipeline] sh [2022-01-20T18:31:06.345Z] + cat /w/workspace/device-rest-go/25/archives/cost.csv [2022-01-20T18:31:06.345Z] + cut -d, -f6 [Pipeline] lock [2022-01-20T18:31:06.406Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-25-stack-cost] [2022-01-20T18:31:06.415Z] Resource [jenkins-edgexfoundry-device-rest-go-main-25-stack-cost] did not exist. Created. [2022-01-20T18:31:06.415Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-25-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-20T18:31:07.080Z] /w/workspace/device-rest-go/25@tmp/durable-f91548a8/script.sh: 1: /w/workspace/device-rest-go/25@tmp/durable-f91548a8/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-20T18:31:07.752Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-20T18:31:07.849Z] Warning: overwriting stash ‘stack-cost’ [2022-01-20T18:31:07.913Z] Stashed 1 file(s) [Pipeline] } [2022-01-20T18:31:07.921Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-25-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-20T18:31:07.946Z] $ docker stop --time=1 ba796259b4ccde2a0c3e313322cd238d3c2afab2b214e61208aa689d31706ffd [2022-01-20T18:31:09.467Z] $ docker rm -f ba796259b4ccde2a0c3e313322cd238d3c2afab2b214e61208aa689d31706ffd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-01-20T18:31:09.906Z] provisioning config files... [2022-01-20T18:31:09.916Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8632259957139740130tmp [Pipeline] { [Pipeline] sh [2022-01-20T18:31:10.225Z] + set +x [2022-01-20T18:31:10.225Z] + curl -s https://codecov.io/bash [2022-01-20T18:31:10.225Z] + bash -s -- [2022-01-20T18:31:10.225Z] [2022-01-20T18:31:10.225Z] _____ _ [2022-01-20T18:31:10.225Z] / ____| | | [2022-01-20T18:31:10.225Z] | | ___ __| | ___ ___ _____ __ [2022-01-20T18:31:10.225Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-01-20T18:31:10.225Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-01-20T18:31:10.225Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-01-20T18:31:10.225Z] Bash-1.0.6 [2022-01-20T18:31:10.225Z] [2022-01-20T18:31:10.225Z] [2022-01-20T18:31:10.225Z] ==> git version 2.24.4 found [2022-01-20T18:31:10.225Z] ==> 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 [2022-01-20T18:31:10.225Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2022-01-20T18:31:10.225Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2022-01-20T18:31:10.225Z] ==> Jenkins CI detected. [2022-01-20T18:31:10.225Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2022-01-20T18:31:10.225Z] project root: . [2022-01-20T18:31:10.225Z] --> token set from env [2022-01-20T18:31:10.225Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-01-20T18:31:10.488Z] ==> Running gcov in . (disable via -X gcov) [2022-01-20T18:31:10.488Z] ==> Python coveragepy not found [2022-01-20T18:31:10.488Z] ==> Searching for coverage reports in: [2022-01-20T18:31:10.488Z] + . [2022-01-20T18:31:10.488Z] -> Found 1 reports [2022-01-20T18:31:10.488Z] ==> Detecting git/mercurial file structure [2022-01-20T18:31:10.488Z] ==> Reading reports [2022-01-20T18:31:10.488Z] + ./coverage.out bytes=9215 [2022-01-20T18:31:10.488Z] ==> Appending adjustments [2022-01-20T18:31:10.488Z] https://docs.codecov.io/docs/fixing-reports [2022-01-20T18:31:10.488Z] + Found adjustments [2022-01-20T18:31:10.488Z] ==> Gzipping contents [2022-01-20T18:31:10.488Z] 4.0K /tmp/codecov.XEsade.gz [2022-01-20T18:31:10.488Z] ==> Uploading reports [2022-01-20T18:31:10.488Z] url: https://codecov.io [2022-01-20T18:31:10.488Z] query: branch=main&commit=f3318b721e0f943881393329fd3e7443e525a415&build=25&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F25%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-01-20T18:31:10.488Z] -> Pinging Codecov [2022-01-20T18:31:10.488Z] 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=f3318b721e0f943881393329fd3e7443e525a415&build=25&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F25%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-01-20T18:31:10.753Z] -> Uploading to [2022-01-20T18:31:10.753Z] https://storage.googleapis.com/codecov/v4/raw/2022-01-20/4E5D53B4F1F92C436F7061BF334D961C/f3318b721e0f943881393329fd3e7443e525a415/757468fb-115e-4da4-887b-1e57dbd14234.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220120%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220120T183110Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7cf780eea9b114d35d7205ec3c7f2f255ef2730f3e86a261235d041ccadb776a [2022-01-20T18:31:10.753Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-20T18:31:10.753Z] Dload Upload Total Spent Left Speed [2022-01-20T18:31:11.330Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1805 0 0 100 1805 0 5431 --:--:-- --:--:-- --:--:-- 5436 [2022-01-20T18:31:11.330Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/f3318b721e0f943881393329fd3e7443e525a415 [Pipeline] } [2022-01-20T18:31:11.338Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-01-20T18:31:11.491Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-01-20T18:31:11.503Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:31:11.796Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-20T18:31:11.796Z] [2022-01-20T18:31:11.796Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:31:12.112Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-20T18:31:12.112Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-01-20T18:31:12.112Z] 188c0c94c7c5: Pulling fs layer [2022-01-20T18:31:12.112Z] 0ef7d3d256c8: Pulling fs layer [2022-01-20T18:31:12.112Z] de9db76c5a1d: Pulling fs layer [2022-01-20T18:31:12.112Z] 0eba1c9be4d2: Pulling fs layer [2022-01-20T18:31:12.112Z] 0d57e429df01: Pulling fs layer [2022-01-20T18:31:12.112Z] 4e4be7b47b0d: Pulling fs layer [2022-01-20T18:31:12.112Z] e1f770b5df2f: Pulling fs layer [2022-01-20T18:31:12.112Z] 85a0685a4137: Pulling fs layer [2022-01-20T18:31:12.112Z] 0eba1c9be4d2: Waiting [2022-01-20T18:31:12.112Z] 0d57e429df01: Waiting [2022-01-20T18:31:12.112Z] 4e4be7b47b0d: Waiting [2022-01-20T18:31:12.112Z] e1f770b5df2f: Waiting [2022-01-20T18:31:12.112Z] 85a0685a4137: Waiting [2022-01-20T18:31:12.112Z] de9db76c5a1d: Verifying Checksum [2022-01-20T18:31:12.112Z] de9db76c5a1d: Download complete [2022-01-20T18:31:12.112Z] 0ef7d3d256c8: Verifying Checksum [2022-01-20T18:31:12.112Z] 0ef7d3d256c8: Download complete [2022-01-20T18:31:12.112Z] 0d57e429df01: Verifying Checksum [2022-01-20T18:31:12.112Z] 0d57e429df01: Download complete [2022-01-20T18:31:12.112Z] 4e4be7b47b0d: Verifying Checksum [2022-01-20T18:31:12.112Z] 4e4be7b47b0d: Download complete [2022-01-20T18:31:12.112Z] 188c0c94c7c5: Verifying Checksum [2022-01-20T18:31:12.112Z] 188c0c94c7c5: Download complete [2022-01-20T18:31:12.382Z] e1f770b5df2f: Verifying Checksum [2022-01-20T18:31:12.382Z] e1f770b5df2f: Download complete [2022-01-20T18:31:12.382Z] 188c0c94c7c5: Pull complete [2022-01-20T18:31:12.650Z] 0ef7d3d256c8: Pull complete [2022-01-20T18:31:12.650Z] de9db76c5a1d: Pull complete [2022-01-20T18:31:12.914Z] 0eba1c9be4d2: Verifying Checksum [2022-01-20T18:31:12.914Z] 0eba1c9be4d2: Download complete [2022-01-20T18:31:13.178Z] 85a0685a4137: Verifying Checksum [2022-01-20T18:31:13.178Z] 85a0685a4137: Download complete [2022-01-20T18:31:16.518Z] 0eba1c9be4d2: Pull complete [2022-01-20T18:31:16.786Z] 0d57e429df01: Pull complete [2022-01-20T18:31:16.786Z] 4e4be7b47b0d: Pull complete [2022-01-20T18:31:17.381Z] e1f770b5df2f: Pull complete [2022-01-20T18:31:21.632Z] 85a0685a4137: Pull complete [2022-01-20T18:31:21.632Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-01-20T18:31:21.632Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-20T18:31:21.632Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-01-20T18:31:21.691Z] prd-centos7-docker-4c-2g-2600 does not seem to be running inside a container [2022-01-20T18:31:21.732Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-01-20T18:31:23.307Z] $ docker top 96a77dfdf37599debbbe4e4f2c784ddd3d1b1be67e706db8c8ff96efe4f816c2 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-01-20T18:31:23.389Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-01-20T18:31:23.680Z] + set -o pipefail [2022-01-20T18:31:23.681Z] + snyk monitor '--org=edgex-jenkins' [2022-01-20T18:31:27.899Z] [2022-01-20T18:31:27.899Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2022-01-20T18:31:27.899Z] [2022-01-20T18:31:27.899Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/27254f0c-06ba-4245-a610-a68330433a53 [2022-01-20T18:31:27.899Z] [2022-01-20T18:31:27.899Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-01-20T18:31:27.899Z] [2022-01-20T18:31:27.899Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-01-20T18:31:27.899Z] [2022-01-20T18:31:28.163Z] [Pipeline] } [2022-01-20T18:31:28.174Z] $ docker stop --time=1 96a77dfdf37599debbbe4e4f2c784ddd3d1b1be67e706db8c8ff96efe4f816c2 [2022-01-20T18:31:30.072Z] $ docker rm -f 96a77dfdf37599debbbe4e4f2c784ddd3d1b1be67e706db8c8ff96efe4f816c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-20T18:31:30.791Z] + git log --format=format:%s -1 f3318b721e0f943881393329fd3e7443e525a415 [Pipeline] sh [2022-01-20T18:31:31.087Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-20T18:31:31.088Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:31:31.381Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-20T18:31:31.381Z] . [Pipeline] withDockerContainer [2022-01-20T18:31:31.449Z] prd-centos7-docker-4c-2g-2600 does not seem to be running inside a container [2022-01-20T18:31:31.480Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-20T18:31:31.805Z] $ docker top 3847a67eae9bb49250c06de63730d6cdc4c8b33939ef39f7c64c34530d2112df -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-20T18:31:31.900Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-20T18:31:31.900Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-20T18:31:32.007Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-20T18:31:32.007Z] $ docker exec 3847a67eae9bb49250c06de63730d6cdc4c8b33939ef39f7c64c34530d2112df ssh-agent [2022-01-20T18:31:32.103Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmpplAN/agent.15 [2022-01-20T18:31:32.103Z] SSH_AGENT_PID=22 [2022-01-20T18:31:32.108Z] Running ssh-add (command line suppressed) [2022-01-20T18:31:32.190Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6372904114058766142.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6372904114058766142.key) [2022-01-20T18:31:32.202Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-20T18:31:32.505Z] + git semver tag [2022-01-20T18:31:32.505Z] # -> Open(): unable to determine branch for HEAD [2022-01-20T18:31:32.505Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2022-01-20T18:31:32.505Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2022-01-20T18:31:32.505Z] # $SEMVER_REMOTE_NAME = origin [2022-01-20T18:31:32.505Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-20T18:31:32.505Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-20T18:31:32.505Z] # $SEMVER_BRANCH = main [2022-01-20T18:31:32.505Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-01-20T18:31:32.505Z] # f3318b721e0f943881393329fd3e7443e525a415 HEAD [2022-01-20T18:31:32.505Z] # -> Force: false [2022-01-20T18:31:32.505Z] # 41367b9688d711e504f88259517090950a54a792 refs/tags/v2.2.0-dev.5 [Pipeline] } [2022-01-20T18:31:32.513Z] $ docker exec --env ******** --env ******** 3847a67eae9bb49250c06de63730d6cdc4c8b33939ef39f7c64c34530d2112df ssh-agent -k [2022-01-20T18:31:32.622Z] unset SSH_AUTH_SOCK; [2022-01-20T18:31:32.622Z] unset SSH_AGENT_PID; [2022-01-20T18:31:32.622Z] echo Agent pid 22 killed; [2022-01-20T18:31:32.635Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-20T18:31:32.939Z] + git semver [Pipeline] } [2022-01-20T18:31:32.949Z] $ docker stop --time=1 3847a67eae9bb49250c06de63730d6cdc4c8b33939ef39f7c64c34530d2112df [2022-01-20T18:31:34.121Z] $ docker rm -f 3847a67eae9bb49250c06de63730d6cdc4c8b33939ef39f7c64c34530d2112df [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:31:34.505Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-20T18:31:34.505Z] [2022-01-20T18:31:34.505Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:31:34.808Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-20T18:31:34.808Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-01-20T18:31:34.808Z] ab5ef0e58194: Pulling fs layer [2022-01-20T18:31:34.808Z] 9712f1f96733: Pulling fs layer [2022-01-20T18:31:34.808Z] 63f879dbbcfc: Pulling fs layer [2022-01-20T18:31:34.808Z] 0d9ebad4ef96: Pulling fs layer [2022-01-20T18:31:34.808Z] e9a5061849ea: Pulling fs layer [2022-01-20T18:31:34.808Z] d747dcd14b5f: Pulling fs layer [2022-01-20T18:31:34.808Z] 2de7ff778b66: Pulling fs layer [2022-01-20T18:31:34.808Z] 0d9ebad4ef96: Waiting [2022-01-20T18:31:34.808Z] e9a5061849ea: Waiting [2022-01-20T18:31:34.808Z] d747dcd14b5f: Waiting [2022-01-20T18:31:34.808Z] 2de7ff778b66: Waiting [2022-01-20T18:31:34.808Z] 9712f1f96733: Verifying Checksum [2022-01-20T18:31:34.808Z] 9712f1f96733: Download complete [2022-01-20T18:31:35.069Z] 63f879dbbcfc: Verifying Checksum [2022-01-20T18:31:35.069Z] 63f879dbbcfc: Download complete [2022-01-20T18:31:35.328Z] ab5ef0e58194: Verifying Checksum [2022-01-20T18:31:35.329Z] ab5ef0e58194: Download complete [2022-01-20T18:31:35.329Z] d747dcd14b5f: Verifying Checksum [2022-01-20T18:31:35.329Z] d747dcd14b5f: Download complete [2022-01-20T18:31:35.329Z] e9a5061849ea: Verifying Checksum [2022-01-20T18:31:35.329Z] e9a5061849ea: Download complete [2022-01-20T18:31:35.329Z] 0d9ebad4ef96: Verifying Checksum [2022-01-20T18:31:35.329Z] 0d9ebad4ef96: Download complete [2022-01-20T18:31:35.592Z] 2de7ff778b66: Verifying Checksum [2022-01-20T18:31:35.592Z] 2de7ff778b66: Download complete [2022-01-20T18:31:38.194Z] ab5ef0e58194: Pull complete [2022-01-20T18:31:38.461Z] 9712f1f96733: Pull complete [2022-01-20T18:31:39.034Z] 63f879dbbcfc: Pull complete [2022-01-20T18:31:43.282Z] 0d9ebad4ef96: Pull complete [2022-01-20T18:31:43.282Z] e9a5061849ea: Pull complete [2022-01-20T18:31:43.282Z] d747dcd14b5f: Pull complete [2022-01-20T18:31:44.239Z] 2de7ff778b66: Pull complete [2022-01-20T18:31:44.239Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-01-20T18:31:44.239Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-20T18:31:44.239Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-01-20T18:31:44.303Z] prd-centos7-docker-4c-2g-2600 does not seem to be running inside a container [2022-01-20T18:31:44.344Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-01-20T18:31:47.580Z] $ docker top e929e58962f4ba0cc572c1e8e70470acc5e9973501019e521dbe6a6c8b94062d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-01-20T18:31:47.669Z] provisioning config files... [2022-01-20T18:31:47.680Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4196263945025106304tmp [2022-01-20T18:31:47.696Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3122052403072517191tmp [2022-01-20T18:31:47.708Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1337421193024069314tmp [Pipeline] { [Pipeline] echo [2022-01-20T18:31:47.729Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:31:48.032Z] ---> sigul-configuration.sh [2022-01-20T18:31:48.032Z] gpg: directory `/root/.gnupg' created [2022-01-20T18:31:48.032Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-01-20T18:31:48.032Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-01-20T18:31:48.032Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-01-20T18:31:48.032Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-01-20T18:31:48.032Z] gpg: CAST5 encrypted data [2022-01-20T18:31:48.032Z] gpg: encrypted with 1 passphrase [2022-01-20T18:31:48.032Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-01-20T18:31:48.335Z] + mkdir /home/jenkins [2022-01-20T18:31:48.335Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-01-20T18:31:48.631Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2022-01-20T18:31:48.642Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:31:48.935Z] ---> sigul-install.sh [2022-01-20T18:31:48.935Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-01-20T18:31:49.225Z] + git tag --list [2022-01-20T18:31:49.225Z] v1.0.0 [2022-01-20T18:31:49.225Z] v1.1.0 [2022-01-20T18:31:49.225Z] v1.1.1 [2022-01-20T18:31:49.225Z] v1.1.2 [2022-01-20T18:31:49.225Z] v1.2.0 [2022-01-20T18:31:49.225Z] v1.2.1 [2022-01-20T18:31:49.225Z] v2.0.0 [2022-01-20T18:31:49.225Z] v2.0.1-dev.1 [2022-01-20T18:31:49.225Z] v2.0.1-dev.10 [2022-01-20T18:31:49.225Z] v2.0.1-dev.11 [2022-01-20T18:31:49.225Z] v2.0.1-dev.12 [2022-01-20T18:31:49.225Z] v2.0.1-dev.13 [2022-01-20T18:31:49.225Z] v2.0.1-dev.14 [2022-01-20T18:31:49.225Z] v2.0.1-dev.2 [2022-01-20T18:31:49.225Z] v2.0.1-dev.3 [2022-01-20T18:31:49.225Z] v2.0.1-dev.4 [2022-01-20T18:31:49.225Z] v2.0.1-dev.5 [2022-01-20T18:31:49.225Z] v2.0.1-dev.6 [2022-01-20T18:31:49.225Z] v2.0.1-dev.7 [2022-01-20T18:31:49.225Z] v2.0.1-dev.8 [2022-01-20T18:31:49.225Z] v2.0.1-dev.9 [2022-01-20T18:31:49.225Z] v2.1.0 [2022-01-20T18:31:49.225Z] v2.2.0-dev.1 [2022-01-20T18:31:49.225Z] v2.2.0-dev.2 [2022-01-20T18:31:49.225Z] v2.2.0-dev.3 [2022-01-20T18:31:49.225Z] v2.2.0-dev.4 [2022-01-20T18:31:49.225Z] v2.2.0-dev.5 [Pipeline] sh [2022-01-20T18:31:49.512Z] + lftools sign git-tag v2.2.0-dev.5 [2022-01-20T18:31:50.083Z] Signing Git tag with Sigul... [2022-01-20T18:31:50.083Z] Signing v2.2.0-dev.5 [Pipeline] echo [2022-01-20T18:31:50.354Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:31:50.643Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-01-20T18:31:50.650Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-01-20T18:31:50.667Z] $ docker stop --time=1 e929e58962f4ba0cc572c1e8e70470acc5e9973501019e521dbe6a6c8b94062d [2022-01-20T18:31:51.855Z] $ docker rm -f e929e58962f4ba0cc572c1e8e70470acc5e9973501019e521dbe6a6c8b94062d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-01-20T18:31:52.302Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-20T18:31:52.302Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:31:52.594Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-20T18:31:52.594Z] . [Pipeline] withDockerContainer [2022-01-20T18:31:52.658Z] prd-centos7-docker-4c-2g-2600 does not seem to be running inside a container [2022-01-20T18:31:52.687Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-20T18:31:53.031Z] $ docker top d39a30e174874ab5b4727126693d6d8e59e5c70cb6a9885906773a94abcd848e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-20T18:31:53.122Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-20T18:31:53.122Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-20T18:31:53.233Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-20T18:31:53.234Z] $ docker exec d39a30e174874ab5b4727126693d6d8e59e5c70cb6a9885906773a94abcd848e ssh-agent [2022-01-20T18:31:53.341Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGnaENK/agent.15 [2022-01-20T18:31:53.341Z] SSH_AGENT_PID=22 [2022-01-20T18:31:53.347Z] Running ssh-add (command line suppressed) [2022-01-20T18:31:53.448Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_145976967598150600.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_145976967598150600.key) [2022-01-20T18:31:53.464Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-20T18:31:53.753Z] + git semver bump pre [2022-01-20T18:31:53.753Z] # -> Open(): unable to determine branch for HEAD [2022-01-20T18:31:53.753Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2022-01-20T18:31:53.753Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2022-01-20T18:31:53.753Z] # $SEMVER_REMOTE_NAME = origin [2022-01-20T18:31:53.753Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-20T18:31:53.753Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-20T18:31:53.753Z] # $SEMVER_BRANCH = main [2022-01-20T18:31:53.753Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-01-20T18:31:53.753Z] 2.2.0-dev.6 [Pipeline] } [2022-01-20T18:31:53.763Z] $ docker exec --env ******** --env ******** d39a30e174874ab5b4727126693d6d8e59e5c70cb6a9885906773a94abcd848e ssh-agent -k [2022-01-20T18:31:53.861Z] unset SSH_AUTH_SOCK; [2022-01-20T18:31:53.861Z] unset SSH_AGENT_PID; [2022-01-20T18:31:53.861Z] echo Agent pid 22 killed; [2022-01-20T18:31:53.875Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-20T18:31:54.194Z] + git semver [Pipeline] } [2022-01-20T18:31:54.207Z] $ docker stop --time=1 d39a30e174874ab5b4727126693d6d8e59e5c70cb6a9885906773a94abcd848e [2022-01-20T18:31:55.397Z] $ docker rm -f d39a30e174874ab5b4727126693d6d8e59e5c70cb6a9885906773a94abcd848e [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-20T18:31:55.751Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-20T18:31:55.751Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:31:56.053Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-20T18:31:56.053Z] . [Pipeline] withDockerContainer [2022-01-20T18:31:56.120Z] prd-centos7-docker-4c-2g-2600 does not seem to be running inside a container [2022-01-20T18:31:56.152Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-20T18:31:56.482Z] $ docker top b6a1e982b5d17807b958421c251a63046e447a375250e6738ade901ff0792561 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-20T18:31:56.587Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-20T18:31:56.587Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-20T18:31:56.691Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-20T18:31:56.692Z] $ docker exec b6a1e982b5d17807b958421c251a63046e447a375250e6738ade901ff0792561 ssh-agent [2022-01-20T18:31:56.795Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcHiaHO/agent.14 [2022-01-20T18:31:56.795Z] SSH_AGENT_PID=20 [2022-01-20T18:31:56.810Z] Running ssh-add (command line suppressed) [2022-01-20T18:31:56.914Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6218753940710121826.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6218753940710121826.key) [2022-01-20T18:31:56.929Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-20T18:31:57.226Z] + git semver push [2022-01-20T18:31:57.226Z] # -> Open(): unable to determine branch for HEAD [2022-01-20T18:31:57.226Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2022-01-20T18:31:57.226Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2022-01-20T18:31:57.226Z] # $SEMVER_REMOTE_NAME = origin [2022-01-20T18:31:57.226Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-20T18:31:57.226Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-20T18:31:57.226Z] # $SEMVER_BRANCH = main [2022-01-20T18:31:57.226Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } [2022-01-20T18:31:58.614Z] $ docker exec --env ******** --env ******** b6a1e982b5d17807b958421c251a63046e447a375250e6738ade901ff0792561 ssh-agent -k [2022-01-20T18:31:58.695Z] unset SSH_AUTH_SOCK; [2022-01-20T18:31:58.695Z] unset SSH_AGENT_PID; [2022-01-20T18:31:58.695Z] echo Agent pid 20 killed; [2022-01-20T18:31:58.706Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-20T18:31:59.024Z] + git semver [Pipeline] } [2022-01-20T18:31:59.037Z] $ docker stop --time=1 b6a1e982b5d17807b958421c251a63046e447a375250e6738ade901ff0792561 [2022-01-20T18:32:00.214Z] $ docker rm -f b6a1e982b5d17807b958421c251a63046e447a375250e6738ade901ff0792561 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-01-20T18:32:00.746Z] + '[' -d /w/workspace/edgexfoundry_device-rest-go_main/archives ']' [2022-01-20T18:32:00.746Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-01-20T18:32:00.746Z] total 8 [2022-01-20T18:32:00.746Z] drwxr-xr-x. 3 root root 34 Jan 20 18:21 . [2022-01-20T18:32:00.746Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 20 18:31 .. [2022-01-20T18:32:00.746Z] drwxr-xr-x. 2 root root 6 Jan 20 18:21 cost [2022-01-20T18:32:00.746Z] -rw-r--r--. 1 root root 84 Jan 20 18:21 cost.csv [2022-01-20T18:32:00.746Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-01-20T18:32:00.746Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-01-20T18:32:00.746Z] total 8 [2022-01-20T18:32:00.746Z] drwxr-xr-x. 3 jenkins jenkins 34 Jan 20 18:21 . [2022-01-20T18:32:00.746Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 20 18:31 .. [2022-01-20T18:32:00.746Z] drwxr-xr-x. 2 jenkins jenkins 6 Jan 20 18:21 cost [2022-01-20T18:32:00.746Z] -rw-r--r--. 1 jenkins jenkins 84 Jan 20 18:21 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:32:01.039Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:32:01.604Z] ---> package-listing.sh [2022-01-20T18:32:01.604Z] ++ facter osfamily [2022-01-20T18:32:01.604Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-20T18:32:01.866Z] + OS_FAMILY=redhat [2022-01-20T18:32:01.866Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2022-01-20T18:32:01.866Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-20T18:32:01.866Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-20T18:32:01.866Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-20T18:32:01.866Z] + PACKAGES=/tmp/packages_start.txt [2022-01-20T18:32:01.866Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-01-20T18:32:01.866Z] + PACKAGES=/tmp/packages_end.txt [2022-01-20T18:32:01.866Z] + case "${OS_FAMILY}" in [2022-01-20T18:32:01.866Z] + rpm -qa [2022-01-20T18:32:01.866Z] + sort [2022-01-20T18:32:02.436Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-20T18:32:02.436Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-20T18:32:02.436Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-20T18:32:02.436Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-01-20T18:32:02.436Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2022-01-20T18:32:02.436Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo [2022-01-20T18:32:02.474Z] 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 [2022-01-20T18:32:02.751Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:32:03.317Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-20T18:32:03.317Z] . [Pipeline] withDockerContainer [2022-01-20T18:32:03.378Z] prd-centos7-docker-4c-2g-2600 does not seem to be running inside a container [2022-01-20T18:32:03.411Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-20T18:32:03.630Z] $ docker top 230029924e4fa4bfaf0d16946c7095e371de22d39d577d378eba001bc4393842 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-20T18:32:04.005Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-20T18:32:04.297Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-20T18:32:04.583Z] + ls /var/log/sa-host [2022-01-20T18:32:04.583Z] + sadf -c /var/log/sa-host/sa17 [2022-01-20T18:32:04.583Z] file_magic: OK [2022-01-20T18:32:04.583Z] HZ: Using current value: 100 [2022-01-20T18:32:04.583Z] file_header: OK [2022-01-20T18:32:04.583Z] 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 [2022-01-20T18:32:04.583Z] Statistics: [2022-01-20T18:32:04.583Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-20T18:32:04.583Z] File successfully converted to sysstat format version 12.0.3 [2022-01-20T18:32:04.583Z] + sadf -c /var/log/sa-host/sa20 [2022-01-20T18:32:04.583Z] file_magic: OK [2022-01-20T18:32:04.583Z] HZ: Using current value: 100 [2022-01-20T18:32:04.583Z] file_header: OK [2022-01-20T18:32:04.583Z] 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 [2022-01-20T18:32:04.583Z] Statistics: [2022-01-20T18:32:04.583Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-20T18:32:04.583Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-20T18:32:04.667Z] provisioning config files... [2022-01-20T18:32:04.676Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5377220655790305967tmp [Pipeline] { [Pipeline] echo [2022-01-20T18:32:04.694Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:32:04.983Z] ---> create-netrc.sh [Pipeline] } [2022-01-20T18:32:04.990Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:32:05.328Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-20T18:32:05.336Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:32:05.618Z] ---> sudo-logs.sh [2022-01-20T18:32:05.619Z] Archiving 'sudo' log.. [2022-01-20T18:32:05.619Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2600.novalocal: Name or service not known [2022-01-20T18:32:05.619Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2600.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-20T18:32:05.643Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:32:05.935Z] ---> job-cost.sh [2022-01-20T18:32:05.936Z] lf-activate-venv: SKIPPING [2022-01-20T18:32:05.936Z] DEBUG: total: 0.05999999865889549 [2022-01-20T18:32:05.936Z] INFO: Retrieving Stack Cost... [2022-01-20T18:32:06.507Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-20T18:32:06.774Z] INFO: Archiving Costs [Pipeline] echo [2022-01-20T18:32:06.788Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:32:07.075Z] ---> logs-deploy.sh [2022-01-20T18:32:07.075Z] lf-activate-venv: SKIPPING [2022-01-20T18:32:07.075Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/25 [2022-01-20T18:32:07.075Z] INFO: archiving workspace using pattern(s): [2022-01-20T18:32:07.646Z] Archives upload complete. [2022-01-20T18:32:07.908Z] INFO: archiving logs to Nexus