Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 736f30166781926f3db44e01dabdb26e1e8c7632 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-ssh7949035865779285431.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-ssh12529387546201443329.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-ssh13794264738962613494.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-ssh3184943629012426251.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-ssh15454471734770386218.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 ‘prd-centos7-docker-4c-2g-1701’ Running on prd-centos7-docker-4c-2g-1707 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-ssh2501919672676141648.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 736f30166781926f3db44e01dabdb26e1e8c7632 (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 736f30166781926f3db44e01dabdb26e1e8c7632 # timeout=10 Commit message: "Merge pull request #151 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.8" > git rev-list --no-walk 5b17f991c425fdfdbf3defaffe349f04efb7e6d5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-18T01:10:24.006Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-18T01:10:24.072Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-18T01:10:24.096Z] ========================================================= [2022-01-18T01:10:24.096Z] EdgeX Global Pipelines Version Info [2022-01-18T01:10:24.096Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-18T01:10:25.250Z] ------------------- [2022-01-18T01:10:25.250Z] stable info: [2022-01-18T01:10:25.250Z] ------------------- [2022-01-18T01:10:25.250Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-18T01:10:25.250Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-18T01:10:25.250Z] Message: update stable to v1.0.219 [2022-01-18T01:10:25.822Z] ------------------- [2022-01-18T01:10:25.822Z] experimental info: [2022-01-18T01:10:25.822Z] ------------------- [2022-01-18T01:10:25.822Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-18T01:10:25.822Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-18T01:10:25.822Z] Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-18T01:10:25.945Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-01-18T01:10:25.955Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-01-18T01:10:25.965Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-18T01:10:25.975Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-18T01:10:25.992Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-18T01:10:26.009Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-01-18T01:10:26.025Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-18T01:10:26.046Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-01-18T01:10:26.063Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-18T01:10:26.082Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-18T01:10:26.101Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-18T01:10:26.116Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-01-18T01:10:26.131Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-18T01:10:26.144Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-18T01:10:26.163Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-18T01:10:26.181Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-01-18T01:10:26.198Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-18T01:10:26.211Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-18T01:10:26.222Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-18T01:10:26.238Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-01-18T01:10:26.260Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-01-18T01:10:26.277Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-01-18T01:10:26.297Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-18T01:10:26.319Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-18T01:10:26.336Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-18T01:10:26.352Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-18T01:10:26.366Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-01-18T01:10:26.384Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-01-18T01:10:26.399Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-01-18T01:10:26.416Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 736f30166781926f3db44e01dabdb26e1e8c7632 [Pipeline] echo [2022-01-18T01:10:26.436Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 736f301 [Pipeline] echo [2022-01-18T01:10:26.450Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-18T01:10:26.503Z] provisioning config files... [2022-01-18T01:10:26.517Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6746629795083601362tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-18T01:10:26.821Z] ---> docker-login.sh [2022-01-18T01:10:26.821Z] nexus3.edgexfoundry.org:10001 [2022-01-18T01:10:26.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-18T01:10:27.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-18T01:10:27.082Z] Configure a credential helper to remove this warning. See [2022-01-18T01:10:27.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-18T01:10:27.082Z] [2022-01-18T01:10:27.082Z] Login Succeeded [2022-01-18T01:10:27.082Z] nexus3.edgexfoundry.org:10002 [2022-01-18T01:10:27.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-18T01:10:27.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-18T01:10:27.082Z] Configure a credential helper to remove this warning. See [2022-01-18T01:10:27.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-18T01:10:27.082Z] [2022-01-18T01:10:27.082Z] Login Succeeded [2022-01-18T01:10:27.082Z] nexus3.edgexfoundry.org:10003 [2022-01-18T01:10:27.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-18T01:10:27.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-18T01:10:27.342Z] Configure a credential helper to remove this warning. See [2022-01-18T01:10:27.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-18T01:10:27.342Z] [2022-01-18T01:10:27.342Z] Login Succeeded [2022-01-18T01:10:27.342Z] nexus3.edgexfoundry.org:10004 [2022-01-18T01:10:27.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-18T01:10:27.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-18T01:10:27.342Z] Configure a credential helper to remove this warning. See [2022-01-18T01:10:27.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-18T01:10:27.342Z] [2022-01-18T01:10:27.342Z] Login Succeeded [2022-01-18T01:10:27.342Z] docker.io [2022-01-18T01:10:27.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-18T01:10:27.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-18T01:10:27.916Z] Configure a credential helper to remove this warning. See [2022-01-18T01:10:27.916Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-18T01:10:27.916Z] [2022-01-18T01:10:27.916Z] Login Succeeded [2022-01-18T01:10:27.916Z] ---> docker-login.sh ends [Pipeline] } [2022-01-18T01:10:27.925Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-18T01:10:28.297Z] + git rev-list -1 --merges 736f30166781926f3db44e01dabdb26e1e8c7632~1..736f30166781926f3db44e01dabdb26e1e8c7632 [Pipeline] echo [2022-01-18T01:10:28.320Z] -----------> git rev-list -1 --merges 736f30166781926f3db44e01dabdb26e1e8c7632~1..736f30166781926f3db44e01dabdb26e1e8c7632 736f30166781926f3db44e01dabdb26e1e8c7632 [2022-01-18T01:10:28.320Z] 736f30166781926f3db44e01dabdb26e1e8c7632 [false] [Pipeline] sh [2022-01-18T01:10:28.625Z] + git log --format=format:%s -1 736f30166781926f3db44e01dabdb26e1e8c7632 [Pipeline] echo [2022-01-18T01:10:28.644Z] ========================================================= [2022-01-18T01:10:28.644Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-18T01:10:28.644Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-18T01:10:28.993Z] + git log --format=format:%s -1 736f30166781926f3db44e01dabdb26e1e8c7632 [Pipeline] echo [2022-01-18T01:10:29.008Z] [semverPrep] GIT_COMMIT: 736f30166781926f3db44e01dabdb26e1e8c7632, Commit Message: Merge pull request #151 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.8 [Pipeline] echo [2022-01-18T01:10:29.018Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-18T01:10:29.444Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-18T01:10:29.444Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-18T01:10:29.444Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-18T01:10:29.444Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-18T01:10:29.444Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-18T01:10:29.444Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-18T01:10:29.444Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-18T01:10:29.870Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-18T01:10:29.870Z] [2022-01-18T01:10:29.870Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-18T01:10:30.182Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-18T01:10:30.182Z] latest: Pulling from edgex-devops/git-semver [2022-01-18T01:10:30.182Z] a0d0a0d46f8b: Pulling fs layer [2022-01-18T01:10:30.182Z] 3e5f54012d9b: Pulling fs layer [2022-01-18T01:10:30.182Z] 4c7163046ea9: Pulling fs layer [2022-01-18T01:10:30.182Z] 0c2d73faf560: Pulling fs layer [2022-01-18T01:10:30.182Z] 0c2d73faf560: Waiting [2022-01-18T01:10:30.182Z] 3e5f54012d9b: Verifying Checksum [2022-01-18T01:10:30.182Z] 3e5f54012d9b: Download complete [2022-01-18T01:10:30.182Z] a0d0a0d46f8b: Verifying Checksum [2022-01-18T01:10:30.182Z] a0d0a0d46f8b: Download complete [2022-01-18T01:10:30.182Z] 0c2d73faf560: Verifying Checksum [2022-01-18T01:10:30.182Z] 0c2d73faf560: Download complete [2022-01-18T01:10:30.446Z] 4c7163046ea9: Verifying Checksum [2022-01-18T01:10:30.446Z] 4c7163046ea9: Download complete [2022-01-18T01:10:30.446Z] a0d0a0d46f8b: Pull complete [2022-01-18T01:10:30.446Z] 3e5f54012d9b: Pull complete [2022-01-18T01:10:30.713Z] 4c7163046ea9: Pull complete [2022-01-18T01:10:30.974Z] 0c2d73faf560: Pull complete [2022-01-18T01:10:30.974Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-18T01:10:30.974Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-18T01:10:30.974Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-18T01:10:31.040Z] prd-centos7-docker-4c-2g-1707 does not seem to be running inside a container [2022-01-18T01:10:31.078Z] $ 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-18T01:10:31.731Z] $ docker top 396f7152269214f80299a7e9c044a0b82c8edbd1e4648475911f862dc3aaaf8b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-18T01:10:31.819Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-18T01:10:31.819Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-18T01:10:31.916Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-18T01:10:31.919Z] $ docker exec 396f7152269214f80299a7e9c044a0b82c8edbd1e4648475911f862dc3aaaf8b ssh-agent [2022-01-18T01:10:32.023Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnefdCc/agent.13 [2022-01-18T01:10:32.023Z] SSH_AGENT_PID=20 [2022-01-18T01:10:32.032Z] Running ssh-add (command line suppressed) [2022-01-18T01:10:32.124Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_825103194110110455.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_825103194110110455.key) [2022-01-18T01:10:32.139Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-18T01:10:32.435Z] + git tag --points-at HEAD [Pipeline] } [2022-01-18T01:10:32.460Z] $ docker exec --env ******** --env ******** 396f7152269214f80299a7e9c044a0b82c8edbd1e4648475911f862dc3aaaf8b ssh-agent -k [2022-01-18T01:10:32.538Z] unset SSH_AUTH_SOCK; [2022-01-18T01:10:32.540Z] unset SSH_AGENT_PID; [2022-01-18T01:10:32.540Z] echo Agent pid 20 killed; [2022-01-18T01:10:32.550Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-18T01:10:32.584Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-18T01:10:32.584Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-18T01:10:32.683Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-18T01:10:32.685Z] $ docker exec 396f7152269214f80299a7e9c044a0b82c8edbd1e4648475911f862dc3aaaf8b ssh-agent [2022-01-18T01:10:32.792Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHbHfpJ/agent.54 [2022-01-18T01:10:32.792Z] SSH_AGENT_PID=60 [2022-01-18T01:10:32.797Z] Running ssh-add (command line suppressed) [2022-01-18T01:10:32.880Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7507364589607559558.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7507364589607559558.key) [2022-01-18T01:10:32.896Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-18T01:10:33.190Z] + git semver init [2022-01-18T01:10:33.190Z] # -> Open(): unable to determine branch for HEAD [2022-01-18T01:10:33.190Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2022-01-18T01:10:33.190Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2022-01-18T01:10:33.190Z] # $SEMVER_REMOTE_NAME = origin [2022-01-18T01:10:33.190Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-18T01:10:33.190Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-18T01:10:33.190Z] # $SEMVER_BRANCH = main [2022-01-18T01:10:33.190Z] # $SEMVER_TEMP = /tmp/semver-254486131 [2022-01-18T01:10:33.190Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2022-01-18T01:10:34.578Z] # '/tmp/semver-254486131' -> '/w/workspace/edgexfoundry_device-rest-go_main/.semver' [2022-01-18T01:10:34.578Z] # -> Force: false [2022-01-18T01:10:34.578Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } [2022-01-18T01:10:34.588Z] $ docker exec --env ******** --env ******** 396f7152269214f80299a7e9c044a0b82c8edbd1e4648475911f862dc3aaaf8b ssh-agent -k [2022-01-18T01:10:34.679Z] unset SSH_AUTH_SOCK; [2022-01-18T01:10:34.679Z] unset SSH_AGENT_PID; [2022-01-18T01:10:34.679Z] echo Agent pid 60 killed; [2022-01-18T01:10:34.691Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-18T01:10:35.019Z] + git semver [Pipeline] } [2022-01-18T01:10:35.031Z] $ docker stop --time=1 396f7152269214f80299a7e9c044a0b82c8edbd1e4648475911f862dc3aaaf8b [2022-01-18T01:10:36.313Z] $ docker rm -f 396f7152269214f80299a7e9c044a0b82c8edbd1e4648475911f862dc3aaaf8b [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-18T01:10:36.655Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-18T01:10:36.912Z] Stashed 1 file(s) [Pipeline] echo [2022-01-18T01:10:36.915Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.3 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-18T01:10:37.061Z] provisioning config files... [2022-01-18T01:10:37.069Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config370406688043787381tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-18T01:10:37.382Z] ---> docker-login.sh [2022-01-18T01:10:37.382Z] nexus3.edgexfoundry.org:10001 [2022-01-18T01:10:37.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-18T01:10:37.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-18T01:10:37.382Z] Configure a credential helper to remove this warning. See [2022-01-18T01:10:37.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-18T01:10:37.382Z] [2022-01-18T01:10:37.382Z] Login Succeeded [2022-01-18T01:10:37.382Z] nexus3.edgexfoundry.org:10002 [2022-01-18T01:10:37.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-18T01:10:37.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-18T01:10:37.382Z] Configure a credential helper to remove this warning. See [2022-01-18T01:10:37.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-18T01:10:37.382Z] [2022-01-18T01:10:37.382Z] Login Succeeded [2022-01-18T01:10:37.382Z] nexus3.edgexfoundry.org:10003 [2022-01-18T01:10:37.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-18T01:10:37.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-18T01:10:37.641Z] Configure a credential helper to remove this warning. See [2022-01-18T01:10:37.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-18T01:10:37.641Z] [2022-01-18T01:10:37.641Z] Login Succeeded [2022-01-18T01:10:37.641Z] nexus3.edgexfoundry.org:10004 [2022-01-18T01:10:37.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-18T01:10:37.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-18T01:10:37.641Z] Configure a credential helper to remove this warning. See [2022-01-18T01:10:37.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-18T01:10:37.641Z] [2022-01-18T01:10:37.641Z] Login Succeeded [2022-01-18T01:10:37.641Z] docker.io [2022-01-18T01:10:37.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-18T01:10:38.210Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-18T01:10:38.210Z] Configure a credential helper to remove this warning. See [2022-01-18T01:10:38.210Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-18T01:10:38.210Z] [2022-01-18T01:10:38.210Z] Login Succeeded [2022-01-18T01:10:38.210Z] ---> docker-login.sh ends [Pipeline] } [2022-01-18T01:10:38.217Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-18T01:10:38.282Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-18T01:10:38.291Z] ========================================================= [2022-01-18T01:10:38.291Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-01-18T01:10:38.291Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-18T01:10:38.604Z] + 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-18T01:10:38.604Z] Sending build context to Docker daemon 10.52MB [2022-01-18T01:10:38.604Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2022-01-18T01:10:38.604Z] Step 2/11 : FROM ${BASE} AS builder [2022-01-18T01:10:38.604Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-18T01:10:38.604Z] 59bf1c3509f3: Pulling fs layer [2022-01-18T01:10:38.604Z] 666ba61612fd: Pulling fs layer [2022-01-18T01:10:38.604Z] 8ed8ca486205: Pulling fs layer [2022-01-18T01:10:38.604Z] 4fe6c5a15a65: Pulling fs layer [2022-01-18T01:10:38.604Z] 22a0e8bec74d: Pulling fs layer [2022-01-18T01:10:38.604Z] f965cba54748: Pulling fs layer [2022-01-18T01:10:38.604Z] 861ffc35075e: Pulling fs layer [2022-01-18T01:10:38.604Z] 4b385c91608e: Pulling fs layer [2022-01-18T01:10:38.604Z] 560528eb2ebb: Pulling fs layer [2022-01-18T01:10:38.604Z] 4fe6c5a15a65: Waiting [2022-01-18T01:10:38.604Z] 22a0e8bec74d: Waiting [2022-01-18T01:10:38.604Z] f965cba54748: Waiting [2022-01-18T01:10:38.604Z] 861ffc35075e: Waiting [2022-01-18T01:10:38.604Z] 4b385c91608e: Waiting [2022-01-18T01:10:38.604Z] 560528eb2ebb: Waiting [2022-01-18T01:10:38.604Z] 8ed8ca486205: Verifying Checksum [2022-01-18T01:10:38.604Z] 8ed8ca486205: Download complete [2022-01-18T01:10:38.604Z] 666ba61612fd: Verifying Checksum [2022-01-18T01:10:38.604Z] 666ba61612fd: Download complete [2022-01-18T01:10:38.866Z] 22a0e8bec74d: Verifying Checksum [2022-01-18T01:10:38.866Z] 22a0e8bec74d: Download complete [2022-01-18T01:10:38.866Z] f965cba54748: Verifying Checksum [2022-01-18T01:10:38.866Z] f965cba54748: Download complete [2022-01-18T01:10:38.866Z] 861ffc35075e: Verifying Checksum [2022-01-18T01:10:38.866Z] 861ffc35075e: Download complete [2022-01-18T01:10:38.866Z] 59bf1c3509f3: Verifying Checksum [2022-01-18T01:10:38.866Z] 59bf1c3509f3: Download complete [2022-01-18T01:10:38.866Z] 4b385c91608e: Verifying Checksum [2022-01-18T01:10:38.866Z] 4b385c91608e: Download complete [2022-01-18T01:10:39.443Z] 59bf1c3509f3: Pull complete [2022-01-18T01:10:39.443Z] 4fe6c5a15a65: Verifying Checksum [2022-01-18T01:10:39.443Z] 4fe6c5a15a65: Download complete [2022-01-18T01:10:39.443Z] 560528eb2ebb: Verifying Checksum [2022-01-18T01:10:39.443Z] 560528eb2ebb: Download complete [2022-01-18T01:10:39.443Z] 666ba61612fd: Pull complete [2022-01-18T01:10:39.443Z] 8ed8ca486205: Pull complete [2022-01-18T01:10:43.677Z] 4fe6c5a15a65: Pull complete [2022-01-18T01:10:43.677Z] 22a0e8bec74d: Pull complete [2022-01-18T01:10:43.677Z] f965cba54748: Pull complete [2022-01-18T01:10:43.677Z] 861ffc35075e: Pull complete [2022-01-18T01:10:43.677Z] 4b385c91608e: Pull complete [2022-01-18T01:10:46.251Z] 560528eb2ebb: Pull complete [2022-01-18T01:10:46.251Z] Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f [2022-01-18T01:10:46.251Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-01-18T01:10:46.251Z] ---> dd4a08f94e63 [2022-01-18T01:10:46.251Z] Step 3/11 : ARG MAKE='make build' [2022-01-18T01:10:48.173Z] ---> Running in 813d1af1c53e [2022-01-18T01:10:48.173Z] Removing intermediate container 813d1af1c53e [2022-01-18T01:10:48.173Z] ---> dd47735eab06 [2022-01-18T01:10:48.173Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-18T01:10:48.173Z] ---> Running in e1cc1a373b48 [2022-01-18T01:10:48.173Z] Removing intermediate container e1cc1a373b48 [2022-01-18T01:10:48.173Z] ---> 7a25ea86ec6d [2022-01-18T01:10:48.173Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2022-01-18T01:10:48.173Z] ---> Running in 1eb48a09e106 [2022-01-18T01:10:48.173Z] Removing intermediate container 1eb48a09e106 [2022-01-18T01:10:48.173Z] ---> 0f38c1064885 [2022-01-18T01:10:48.173Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-18T01:10:48.173Z] ---> Running in 70c59b41c10c [2022-01-18T01:10:48.750Z] Removing intermediate container 70c59b41c10c [2022-01-18T01:10:48.750Z] ---> 4548604cbcbd [2022-01-18T01:10:48.750Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-18T01:10:48.750Z] ---> Running in 27f87b2ad655 [2022-01-18T01:10:49.010Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-18T01:10:49.949Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-18T01:10:50.208Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-01-18T01:10:50.208Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-01-18T01:10:50.468Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-01-18T01:10:50.468Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-01-18T01:10:50.468Z] Executing busybox-1.34.1-r3.trigger [2022-01-18T01:10:50.468Z] OK: 224 MiB in 56 packages [2022-01-18T01:10:51.043Z] Removing intermediate container 27f87b2ad655 [2022-01-18T01:10:51.043Z] ---> cf252afad707 [2022-01-18T01:10:51.043Z] Step 8/11 : WORKDIR /device-rest-go [2022-01-18T01:10:51.043Z] ---> Running in b7532476ae7e [2022-01-18T01:10:51.043Z] Removing intermediate container b7532476ae7e [2022-01-18T01:10:51.043Z] ---> 900efdb20e5c [2022-01-18T01:10:51.043Z] Step 9/11 : COPY . . [2022-01-18T01:10:51.303Z] ---> f8f1cccd1551 [2022-01-18T01:10:51.303Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-18T01:10:51.303Z] ---> Running in a40eb6847135 [2022-01-18T01:10:52.020Z] Still waiting to schedule task [2022-01-18T01:10:52.020Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1705’ [2022-01-18T01:11:38.044Z] Removing intermediate container a40eb6847135 [2022-01-18T01:11:38.044Z] ---> d88a155729ef [2022-01-18T01:11:38.044Z] Step 11/11 : RUN $MAKE [2022-01-18T01:11:38.044Z] ---> Running in 666c85d284ad [2022-01-18T01:11:38.044Z] noop [2022-01-18T01:11:38.044Z] Removing intermediate container 666c85d284ad [2022-01-18T01:11:38.044Z] ---> a3bfbe59b61b [2022-01-18T01:11:38.044Z] Successfully built a3bfbe59b61b [2022-01-18T01:11:38.044Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-18T01:11:38.354Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-18T01:11:38.354Z] . [Pipeline] withDockerContainer [2022-01-18T01:11:38.415Z] prd-centos7-docker-4c-2g-1707 does not seem to be running inside a container [2022-01-18T01:11:38.457Z] $ 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-18T01:11:38.783Z] $ docker top fcc234a4765184a1ec608789d91993532ea2f749de15d8cd267cddec2e3024ff -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-18T01:11:39.142Z] + go version [2022-01-18T01:11:39.142Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-01-18T01:11:39.152Z] $ docker stop --time=1 fcc234a4765184a1ec608789d91993532ea2f749de15d8cd267cddec2e3024ff [2022-01-18T01:11:40.330Z] $ docker rm -f fcc234a4765184a1ec608789d91993532ea2f749de15d8cd267cddec2e3024ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-18T01:11:40.759Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-18T01:11:40.759Z] . [Pipeline] withDockerContainer [2022-01-18T01:11:40.817Z] prd-centos7-docker-4c-2g-1707 does not seem to be running inside a container [2022-01-18T01:11:40.853Z] $ 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-18T01:11:41.183Z] $ docker top 5c95b25761269637793692036356bb3dfff9ce2b76b748da46a6ccaf1f20ec51 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-18T01:11:41.558Z] + make test [2022-01-18T01:11:41.558Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-01-18T01:11:41.823Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-01-18T01:11:56.824Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-01-18T01:11:56.824Z] ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 56.0% of statements [2022-01-18T01:11:56.824Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-01-18T01:12:02.167Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-18T01:12:02.167Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-18T01:12:02.167Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-18T01:12:02.180Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-18T01:12:02.192Z] $ docker stop --time=1 5c95b25761269637793692036356bb3dfff9ce2b76b748da46a6ccaf1f20ec51 [2022-01-18T01:12:03.756Z] $ docker rm -f 5c95b25761269637793692036356bb3dfff9ce2b76b748da46a6ccaf1f20ec51 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-18T01:12:04.166Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-18T01:12:04.201Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-01-18T01:12:05.229Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-18T01:12:05.519Z] + ls -al . [2022-01-18T01:12:05.519Z] total 148 [2022-01-18T01:12:05.519Z] drwxrwxr-x. 9 jenkins jenkins 4096 Jan 18 01:12 . [2022-01-18T01:12:05.519Z] drwxrwxr-x. 4 jenkins jenkins 112 Jan 18 01:10 .. [2022-01-18T01:12:05.519Z] -rw-rw-r--. 1 jenkins jenkins 7095 Jan 18 01:10 Attribution.txt [2022-01-18T01:12:05.519Z] drwxrwxr-x. 2 jenkins jenkins 37 Jan 18 01:10 bin [2022-01-18T01:12:05.519Z] -rw-rw-r--. 1 jenkins jenkins 7459 Jan 18 01:10 CHANGELOG.md [2022-01-18T01:12:05.519Z] drwxrwxr-x. 3 jenkins jenkins 32 Jan 18 01:10 cmd [2022-01-18T01:12:05.519Z] -rw-r--r--. 1 jenkins jenkins 9215 Jan 18 01:11 coverage.out [2022-01-18T01:12:05.519Z] -rw-rw-r--. 1 jenkins jenkins 1649 Jan 18 01:10 Dockerfile [2022-01-18T01:12:05.519Z] -rw-rw-r--. 1 jenkins jenkins 151 Jan 18 01:10 .dockerignore [2022-01-18T01:12:05.519Z] drwxrwxr-x. 2 jenkins jenkins 76 Jan 18 01:10 driver [2022-01-18T01:12:05.519Z] drwxrwxr-x. 8 jenkins jenkins 162 Jan 18 01:10 .git [2022-01-18T01:12:05.519Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 18 01:10 .github [2022-01-18T01:12:05.519Z] -rw-rw-r--. 1 jenkins jenkins 329 Jan 18 01:10 .gitignore [2022-01-18T01:12:05.519Z] -rw-rw-r--. 1 jenkins jenkins 277 Jan 18 01:10 go.mod [2022-01-18T01:12:05.519Z] -rw-rw-r--. 1 jenkins jenkins 49330 Jan 18 01:10 go.sum [2022-01-18T01:12:05.519Z] -rw-rw-r--. 1 jenkins jenkins 677 Jan 18 01:10 GOVERNANCE.md [2022-01-18T01:12:05.519Z] -rw-rw-r--. 1 jenkins jenkins 680 Jan 18 01:10 Jenkinsfile [2022-01-18T01:12:05.519Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jan 18 01:10 LICENSE [2022-01-18T01:12:05.519Z] -rw-rw-r--. 1 jenkins jenkins 1078 Jan 18 01:10 Makefile [2022-01-18T01:12:05.519Z] -rw-rw-r--. 1 jenkins jenkins 620 Jan 18 01:10 OWNERS.md [2022-01-18T01:12:05.519Z] -rw-rw-r--. 1 jenkins jenkins 8246 Jan 18 01:10 README.md [2022-01-18T01:12:05.519Z] drwx------. 3 jenkins jenkins 45 Jan 18 01:10 .semver [2022-01-18T01:12:05.519Z] drwxrwxr-x. 3 jenkins jenkins 58 Jan 18 01:10 snap [2022-01-18T01:12:05.519Z] -rw-rw-r--. 1 jenkins jenkins 11 Jan 18 01:10 VERSION [2022-01-18T01:12:05.519Z] -rw-rw-r--. 1 jenkins jenkins 713 Jan 18 01:10 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-18T01:12:05.826Z] + 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=736f30166781926f3db44e01dabdb26e1e8c7632 --label arch=amd64 --label version=2.2.0-dev.3 . [2022-01-18T01:12:05.826Z] Sending build context to Docker daemon 10.53MB [2022-01-18T01:12:05.826Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2022-01-18T01:12:05.826Z] Step 2/24 : FROM ${BASE} AS builder [2022-01-18T01:12:05.826Z] ---> a3bfbe59b61b [2022-01-18T01:12:05.826Z] Step 3/24 : ARG MAKE='make build' [2022-01-18T01:12:06.088Z] ---> Running in 3f2cb16cb9c3 [2022-01-18T01:12:06.088Z] Removing intermediate container 3f2cb16cb9c3 [2022-01-18T01:12:06.088Z] ---> 6b70f901978d [2022-01-18T01:12:06.088Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-18T01:12:06.351Z] ---> Running in dd9f1f4d64ac [2022-01-18T01:12:06.351Z] Removing intermediate container dd9f1f4d64ac [2022-01-18T01:12:06.351Z] ---> 4ee8c62d178c [2022-01-18T01:12:06.351Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-01-18T01:12:06.351Z] ---> Running in 379a30199458 [2022-01-18T01:12:06.611Z] Removing intermediate container 379a30199458 [2022-01-18T01:12:06.611Z] ---> 59be7cd13216 [2022-01-18T01:12:06.611Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-18T01:12:06.611Z] ---> Running in 9cbc3e674fcf [2022-01-18T01:12:07.552Z] Removing intermediate container 9cbc3e674fcf [2022-01-18T01:12:07.552Z] ---> c07ddab70948 [2022-01-18T01:12:07.552Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-18T01:12:07.552Z] ---> Running in 924a887a7126 [2022-01-18T01:12:07.814Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-18T01:12:08.760Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-18T01:12:09.029Z] OK: 224 MiB in 56 packages [2022-01-18T01:12:09.294Z] Removing intermediate container 924a887a7126 [2022-01-18T01:12:09.294Z] ---> 9de642c6a71a [2022-01-18T01:12:09.295Z] Step 8/24 : WORKDIR /device-rest-go [2022-01-18T01:12:09.295Z] ---> Running in 971c65d09338 [2022-01-18T01:12:09.559Z] Removing intermediate container 971c65d09338 [2022-01-18T01:12:09.559Z] ---> 90f5c63a1e99 [2022-01-18T01:12:09.559Z] Step 9/24 : COPY . . [2022-01-18T01:12:09.821Z] ---> fe82ae644707 [2022-01-18T01:12:09.821Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-18T01:12:09.821Z] ---> Running in 1bdce71275b0 [2022-01-18T01:12:10.763Z] Removing intermediate container 1bdce71275b0 [2022-01-18T01:12:10.763Z] ---> 80519cc8b97a [2022-01-18T01:12:10.763Z] Step 11/24 : RUN $MAKE [2022-01-18T01:12:10.763Z] ---> Running in 38cd9bbc6cd2 [2022-01-18T01:12:11.025Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.3" -o cmd/device-rest ./cmd [2022-01-18T01:12:23.342Z] Removing intermediate container 38cd9bbc6cd2 [2022-01-18T01:12:23.342Z] ---> 3fefc67a7d75 [2022-01-18T01:12:23.342Z] Step 12/24 : FROM alpine:3.14 [2022-01-18T01:12:23.602Z] 3.14: Pulling from library/alpine [2022-01-18T01:12:23.863Z] 97518928ae5f: Pulling fs layer [2022-01-18T01:12:24.128Z] 97518928ae5f: Verifying Checksum [2022-01-18T01:12:24.128Z] 97518928ae5f: Download complete [2022-01-18T01:12:24.128Z] 97518928ae5f: Pull complete [2022-01-18T01:12:24.128Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-18T01:12:24.128Z] Status: Downloaded newer image for alpine:3.14 [2022-01-18T01:12:24.128Z] ---> 0a97eee8041e [2022-01-18T01:12:24.128Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-01-18T01:12:24.128Z] ---> Running in 1e59e96d1c3e [2022-01-18T01:12:24.387Z] Removing intermediate container 1e59e96d1c3e [2022-01-18T01:12:24.387Z] ---> 8a9133185e8a [2022-01-18T01:12:24.387Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2022-01-18T01:12:24.387Z] ---> Running in 5a954df3e7fb [2022-01-18T01:12:24.387Z] Removing intermediate container 5a954df3e7fb [2022-01-18T01:12:24.387Z] ---> 659969639314 [2022-01-18T01:12:24.387Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-01-18T01:12:24.387Z] ---> Running in 0702cc1e0224 [2022-01-18T01:12:24.654Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-18T01:12:24.913Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-18T01:12:24.913Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-01-18T01:12:24.913Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-01-18T01:12:25.172Z] (3/6) Installing libsodium (1.0.18-r0) [2022-01-18T01:12:25.172Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-18T01:12:25.172Z] (5/6) Installing libzmq (4.3.4-r0) [2022-01-18T01:12:25.172Z] (6/6) Installing zeromq (4.3.4-r0) [2022-01-18T01:12:25.172Z] Executing busybox-1.33.1-r6.trigger [2022-01-18T01:12:25.172Z] OK: 8 MiB in 20 packages [2022-01-18T01:12:25.431Z] Removing intermediate container 0702cc1e0224 [2022-01-18T01:12:25.431Z] ---> ce5c1c9af587 [2022-01-18T01:12:25.431Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2022-01-18T01:12:25.999Z] ---> 1453f861d6d9 [2022-01-18T01:12:25.999Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2022-01-18T01:12:25.999Z] ---> d0904e345e03 [2022-01-18T01:12:25.999Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-01-18T01:12:25.999Z] ---> ea9c77a16c6b [2022-01-18T01:12:25.999Z] Step 19/24 : EXPOSE 59986 [2022-01-18T01:12:25.999Z] ---> Running in 8c7ee404502f [2022-01-18T01:12:26.260Z] Removing intermediate container 8c7ee404502f [2022-01-18T01:12:26.260Z] ---> 7f48f9b0243f [2022-01-18T01:12:26.260Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2022-01-18T01:12:26.260Z] ---> Running in 31717bf1f241 [2022-01-18T01:12:26.260Z] Removing intermediate container 31717bf1f241 [2022-01-18T01:12:26.260Z] ---> 8bdf97fe03cf [2022-01-18T01:12:26.260Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-01-18T01:12:26.260Z] ---> Running in 7b05d48c4911 [2022-01-18T01:12:26.521Z] Removing intermediate container 7b05d48c4911 [2022-01-18T01:12:26.521Z] ---> ad561ec28e3f [2022-01-18T01:12:26.521Z] Step 22/24 : LABEL arch=amd64 [2022-01-18T01:12:26.521Z] ---> Running in 5fa7022e844e [2022-01-18T01:12:26.521Z] Removing intermediate container 5fa7022e844e [2022-01-18T01:12:26.521Z] ---> e12b252abfbf [2022-01-18T01:12:26.521Z] Step 23/24 : LABEL git_sha=736f30166781926f3db44e01dabdb26e1e8c7632 [2022-01-18T01:12:26.521Z] ---> Running in 4890c94dea1f [2022-01-18T01:12:26.521Z] Removing intermediate container 4890c94dea1f [2022-01-18T01:12:26.521Z] ---> acfb80c7d1d3 [2022-01-18T01:12:26.521Z] Step 24/24 : LABEL version=2.2.0-dev.3 [2022-01-18T01:12:26.521Z] ---> Running in bf8c3c1402fc [2022-01-18T01:12:26.781Z] Removing intermediate container bf8c3c1402fc [2022-01-18T01:12:26.781Z] ---> c5afd28d328b [2022-01-18T01:12:26.781Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-18T01:12:26.781Z] Successfully built c5afd28d328b [2022-01-18T01:12:26.781Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-18T01:12:26.875Z] provisioning config files... [2022-01-18T01:12:26.884Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config503545142173584985tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-18T01:12:27.184Z] ---> docker-login.sh [2022-01-18T01:12:27.184Z] nexus3.edgexfoundry.org:10001 [2022-01-18T01:12:27.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-18T01:12:27.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-18T01:12:27.184Z] Configure a credential helper to remove this warning. See [2022-01-18T01:12:27.184Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-18T01:12:27.184Z] [2022-01-18T01:12:27.184Z] Login Succeeded [2022-01-18T01:12:27.184Z] nexus3.edgexfoundry.org:10002 [2022-01-18T01:12:27.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-18T01:12:27.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-18T01:12:27.184Z] Configure a credential helper to remove this warning. See [2022-01-18T01:12:27.184Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-18T01:12:27.184Z] [2022-01-18T01:12:27.184Z] Login Succeeded [2022-01-18T01:12:27.184Z] nexus3.edgexfoundry.org:10003 [2022-01-18T01:12:27.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-18T01:12:27.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-18T01:12:27.449Z] Configure a credential helper to remove this warning. See [2022-01-18T01:12:27.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-18T01:12:27.449Z] [2022-01-18T01:12:27.449Z] Login Succeeded [2022-01-18T01:12:27.449Z] nexus3.edgexfoundry.org:10004 [2022-01-18T01:12:27.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-18T01:12:27.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-18T01:12:27.449Z] Configure a credential helper to remove this warning. See [2022-01-18T01:12:27.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-18T01:12:27.449Z] [2022-01-18T01:12:27.449Z] Login Succeeded [2022-01-18T01:12:27.449Z] docker.io [2022-01-18T01:12:27.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-18T01:12:27.969Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-18T01:12:27.969Z] Configure a credential helper to remove this warning. See [2022-01-18T01:12:27.969Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-18T01:12:27.969Z] [2022-01-18T01:12:27.969Z] Login Succeeded [2022-01-18T01:12:27.969Z] ---> docker-login.sh ends [Pipeline] } [2022-01-18T01:12:27.977Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-01-18T01:12:28.013Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-18T01:12:28.038Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2022-01-18T01:12:28.038Z] 736f30166781926f3db44e01dabdb26e1e8c7632 [2022-01-18T01:12:28.038Z] latest [2022-01-18T01:12:28.038Z] 2.2.0-dev.3 [2022-01-18T01:12:28.038Z] 736f30166781926f3db44e01dabdb26e1e8c7632-2.2.0-dev.3 [2022-01-18T01:12:28.038Z] main [2022-01-18T01:12:28.038Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-18T01:12:28.364Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:736f30166781926f3db44e01dabdb26e1e8c7632 [Pipeline] isUnix [Pipeline] sh [2022-01-18T01:12:28.662Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:736f30166781926f3db44e01dabdb26e1e8c7632 [2022-01-18T01:12:28.662Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-01-18T01:12:28.662Z] 0b5640986abe: Preparing [2022-01-18T01:12:28.662Z] 840964331ed9: Preparing [2022-01-18T01:12:28.662Z] a1a16b158a96: Preparing [2022-01-18T01:12:28.662Z] 8835814ad9ef: Preparing [2022-01-18T01:12:28.662Z] 1a058d5342cc: Preparing [2022-01-18T01:12:28.662Z] 1a058d5342cc: Layer already exists [2022-01-18T01:12:28.921Z] 840964331ed9: Pushed [2022-01-18T01:12:28.921Z] 0b5640986abe: Pushed [2022-01-18T01:12:28.921Z] 8835814ad9ef: Pushed [2022-01-18T01:12:29.862Z] a1a16b158a96: Pushed [2022-01-18T01:12:29.862Z] 736f30166781926f3db44e01dabdb26e1e8c7632: digest: sha256:706d8f0da6a3c2971db555c4354d341027bf2957f3deecc5e1fed3c8c7398c88 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-01-18T01:12:30.159Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh [2022-01-18T01:12:30.457Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2022-01-18T01:12:30.458Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-01-18T01:12:30.458Z] 0b5640986abe: Preparing [2022-01-18T01:12:30.458Z] 840964331ed9: Preparing [2022-01-18T01:12:30.458Z] a1a16b158a96: Preparing [2022-01-18T01:12:30.458Z] 8835814ad9ef: Preparing [2022-01-18T01:12:30.458Z] 1a058d5342cc: Preparing [2022-01-18T01:12:30.458Z] 840964331ed9: Layer already exists [2022-01-18T01:12:30.458Z] 8835814ad9ef: Layer already exists [2022-01-18T01:12:30.458Z] 1a058d5342cc: Layer already exists [2022-01-18T01:12:30.458Z] 0b5640986abe: Layer already exists [2022-01-18T01:12:30.458Z] a1a16b158a96: Layer already exists [2022-01-18T01:12:30.458Z] latest: digest: sha256:706d8f0da6a3c2971db555c4354d341027bf2957f3deecc5e1fed3c8c7398c88 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-01-18T01:12:30.751Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.3 [Pipeline] isUnix [Pipeline] sh [2022-01-18T01:12:31.043Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.3 [2022-01-18T01:12:31.043Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-01-18T01:12:31.043Z] 0b5640986abe: Preparing [2022-01-18T01:12:31.043Z] 840964331ed9: Preparing [2022-01-18T01:12:31.043Z] a1a16b158a96: Preparing [2022-01-18T01:12:31.043Z] 8835814ad9ef: Preparing [2022-01-18T01:12:31.043Z] 1a058d5342cc: Preparing [2022-01-18T01:12:31.043Z] 1a058d5342cc: Layer already exists [2022-01-18T01:12:31.043Z] 0b5640986abe: Layer already exists [2022-01-18T01:12:31.043Z] 8835814ad9ef: Layer already exists [2022-01-18T01:12:31.043Z] 840964331ed9: Layer already exists [2022-01-18T01:12:31.043Z] a1a16b158a96: Layer already exists [2022-01-18T01:12:31.043Z] 2.2.0-dev.3: digest: sha256:706d8f0da6a3c2971db555c4354d341027bf2957f3deecc5e1fed3c8c7398c88 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-01-18T01:12:31.345Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:736f30166781926f3db44e01dabdb26e1e8c7632-2.2.0-dev.3 [Pipeline] isUnix [Pipeline] sh [2022-01-18T01:12:31.635Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:736f30166781926f3db44e01dabdb26e1e8c7632-2.2.0-dev.3 [2022-01-18T01:12:31.635Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-01-18T01:12:31.635Z] 0b5640986abe: Preparing [2022-01-18T01:12:31.635Z] 840964331ed9: Preparing [2022-01-18T01:12:31.635Z] a1a16b158a96: Preparing [2022-01-18T01:12:31.635Z] 8835814ad9ef: Preparing [2022-01-18T01:12:31.635Z] 1a058d5342cc: Preparing [2022-01-18T01:12:31.635Z] 1a058d5342cc: Layer already exists [2022-01-18T01:12:31.635Z] 0b5640986abe: Layer already exists [2022-01-18T01:12:31.635Z] a1a16b158a96: Layer already exists [2022-01-18T01:12:31.635Z] 840964331ed9: Layer already exists [2022-01-18T01:12:31.635Z] 8835814ad9ef: Layer already exists [2022-01-18T01:12:31.635Z] 736f30166781926f3db44e01dabdb26e1e8c7632-2.2.0-dev.3: digest: sha256:706d8f0da6a3c2971db555c4354d341027bf2957f3deecc5e1fed3c8c7398c88 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-01-18T01:12:31.936Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh [2022-01-18T01:12:32.226Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2022-01-18T01:12:32.227Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-01-18T01:12:32.227Z] 0b5640986abe: Preparing [2022-01-18T01:12:32.227Z] 840964331ed9: Preparing [2022-01-18T01:12:32.227Z] a1a16b158a96: Preparing [2022-01-18T01:12:32.227Z] 8835814ad9ef: Preparing [2022-01-18T01:12:32.227Z] 1a058d5342cc: Preparing [2022-01-18T01:12:32.227Z] a1a16b158a96: Layer already exists [2022-01-18T01:12:32.227Z] 840964331ed9: Layer already exists [2022-01-18T01:12:32.227Z] 8835814ad9ef: Layer already exists [2022-01-18T01:12:32.227Z] 1a058d5342cc: Layer already exists [2022-01-18T01:12:32.227Z] 0b5640986abe: Layer already exists [2022-01-18T01:12:32.227Z] main: digest: sha256:706d8f0da6a3c2971db555c4354d341027bf2957f3deecc5e1fed3c8c7398c88 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-01-18T01:12:32.260Z] ===================================================== [Pipeline] echo [2022-01-18T01:12:32.268Z] taggedImages: [2022-01-18T01:12:32.268Z] - nexus3.edgexfoundry.org:10004/device-rest:736f30166781926f3db44e01dabdb26e1e8c7632 [2022-01-18T01:12:32.268Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2022-01-18T01:12:32.268Z] - nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.3 [2022-01-18T01:12:32.268Z] - nexus3.edgexfoundry.org:10004/device-rest:736f30166781926f3db44e01dabdb26e1e8c7632-2.2.0-dev.3 [2022-01-18T01:12:32.268Z] - 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-18T01:12:32.625Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-18T01:12:32.625Z] [2022-01-18T01:12:32.625Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-18T01:12:32.928Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-18T01:12:32.928Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-18T01:12:32.928Z] b4d181a07f80: Pulling fs layer [2022-01-18T01:12:32.928Z] a1111a8f2ec3: Pulling fs layer [2022-01-18T01:12:32.928Z] ed53099fbce6: Pulling fs layer [2022-01-18T01:12:32.928Z] dc539afda2c1: Pulling fs layer [2022-01-18T01:12:32.928Z] 77bc0d833cb6: Pulling fs layer [2022-01-18T01:12:32.928Z] 9065ff56babe: Pulling fs layer [2022-01-18T01:12:32.928Z] d287ab97295c: Pulling fs layer [2022-01-18T01:12:32.928Z] dc539afda2c1: Waiting [2022-01-18T01:12:32.928Z] 77bc0d833cb6: Waiting [2022-01-18T01:12:32.928Z] 9065ff56babe: Waiting [2022-01-18T01:12:32.928Z] d287ab97295c: Waiting [2022-01-18T01:12:32.928Z] a1111a8f2ec3: Verifying Checksum [2022-01-18T01:12:32.928Z] a1111a8f2ec3: Download complete [2022-01-18T01:12:32.928Z] dc539afda2c1: Verifying Checksum [2022-01-18T01:12:32.928Z] dc539afda2c1: Download complete [2022-01-18T01:12:32.928Z] ed53099fbce6: Verifying Checksum [2022-01-18T01:12:32.928Z] ed53099fbce6: Download complete [2022-01-18T01:12:33.189Z] 9065ff56babe: Verifying Checksum [2022-01-18T01:12:33.189Z] 9065ff56babe: Download complete [2022-01-18T01:12:33.189Z] 77bc0d833cb6: Verifying Checksum [2022-01-18T01:12:33.190Z] 77bc0d833cb6: Download complete [2022-01-18T01:12:33.190Z] b4d181a07f80: Verifying Checksum [2022-01-18T01:12:33.190Z] b4d181a07f80: Download complete [2022-01-18T01:12:33.767Z] d287ab97295c: Verifying Checksum [2022-01-18T01:12:33.767Z] d287ab97295c: Download complete [2022-01-18T01:12:34.715Z] b4d181a07f80: Pull complete [2022-01-18T01:12:34.715Z] a1111a8f2ec3: Pull complete [2022-01-18T01:12:35.291Z] ed53099fbce6: Pull complete [2022-01-18T01:12:35.291Z] dc539afda2c1: Pull complete [2022-01-18T01:12:35.551Z] 77bc0d833cb6: Pull complete [2022-01-18T01:12:35.821Z] 9065ff56babe: Pull complete [2022-01-18T01:12:41.150Z] d287ab97295c: Pull complete [2022-01-18T01:12:41.150Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-18T01:12:41.150Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-18T01:12:41.150Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-18T01:12:41.209Z] prd-centos7-docker-4c-2g-1707 does not seem to be running inside a container [2022-01-18T01:12:41.245Z] $ 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-18T01:12:43.609Z] $ docker top 8e789729a1a6bf3e1334f97ec1adff22ce5d4a9cdd961a17ffe359a668343729 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-18T01:12:44.075Z] ---> job-cost.sh [2022-01-18T01:12:44.075Z] lf-activate-venv: SKIPPING [2022-01-18T01:12:44.075Z] INFO: No Stack... [2022-01-18T01:12:44.336Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-18T01:12:44.598Z] INFO: Archiving Costs [Pipeline] sh [2022-01-18T01:12:44.900Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2022-01-18T01:12:44.900Z] + cut -d, -f6 [Pipeline] lock [2022-01-18T01:12:44.917Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-23-stack-cost] [2022-01-18T01:12:44.922Z] Resource [jenkins-edgexfoundry-device-rest-go-main-23-stack-cost] did not exist. Created. [2022-01-18T01:12:44.922Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-23-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-18T01:12:45.236Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-18T01:12:45.266Z] Stashed 1 file(s) [Pipeline] } [2022-01-18T01:12:45.272Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-23-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-18T01:12:45.289Z] $ docker stop --time=1 8e789729a1a6bf3e1334f97ec1adff22ce5d4a9cdd961a17ffe359a668343729 [2022-01-18T01:12:46.446Z] $ docker rm -f 8e789729a1a6bf3e1334f97ec1adff22ce5d4a9cdd961a17ffe359a668343729 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-18T01:14:27.313Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1708 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2022-01-18T01:14:27.326Z] Running in /w/workspace/device-rest-go/23 [Pipeline] { [Pipeline] checkout [2022-01-18T01:14:27.516Z] The recommended git tool is: git [2022-01-18T01:14:32.365Z] using credential edgex-jenkins-ssh [2022-01-18T01:14:32.384Z] Cloning the remote Git repository [2022-01-18T01:14:32.434Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-01-18T01:14:32.517Z] > git init /w/workspace/device-rest-go/23 # timeout=10 [2022-01-18T01:14:32.602Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-01-18T01:14:32.603Z] > git --version # timeout=10 [2022-01-18T01:14:32.625Z] > git --version # 'git version 2.17.1' [2022-01-18T01:14:32.628Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-18T01:14:32.764Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-18T01:14:34.822Z] Avoid second fetch [2022-01-18T01:14:34.823Z] Checking out Revision 736f30166781926f3db44e01dabdb26e1e8c7632 (main) [2022-01-18T01:14:34.765Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-01-18T01:14:34.788Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-18T01:14:34.846Z] > git config core.sparsecheckout # timeout=10 [2022-01-18T01:14:34.874Z] > git checkout -f 736f30166781926f3db44e01dabdb26e1e8c7632 # timeout=10 [2022-01-18T01:14:39.338Z] Commit message: "Merge pull request #151 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.8" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-18T01:14:40.326Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-18T01:14:40.326Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-18T01:14:40.326Z] Dload Upload Total Spent Left Speed [2022-01-18T01:14:40.326Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 75433 0 --:--:-- --:--:-- --:--:-- 75433 [Pipeline] sh [2022-01-18T01:14:40.844Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-18T01:14:41.189Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json [2022-01-18T01:14:41.189Z] sudo tee /etc/docker/daemon.new [2022-01-18T01:14:41.189Z] { [2022-01-18T01:14:41.189Z] "registry-mirrors": [ [2022-01-18T01:14:41.189Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-18T01:14:41.189Z] ], [2022-01-18T01:14:41.189Z] "bip": "10.250.0.254/24", [2022-01-18T01:14:41.189Z] "hosts": [ [2022-01-18T01:14:41.189Z] "tcp://0.0.0.0:5555", [2022-01-18T01:14:41.189Z] "unix:///var/run/docker.sock" [2022-01-18T01:14:41.189Z] ], [2022-01-18T01:14:41.189Z] "mtu": 1458, [2022-01-18T01:14:41.189Z] "selinux-enabled": true, [2022-01-18T01:14:41.189Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-18T01:14:41.189Z] } [Pipeline] sh [2022-01-18T01:14:41.542Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-18T01:14:41.894Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-18T01:15:00.223Z] provisioning config files... [2022-01-18T01:15:00.249Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/23@tmp/config2154230312181116633tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-18T01:15:00.615Z] ---> docker-login.sh [2022-01-18T01:15:00.615Z] nexus3.edgexfoundry.org:10001 [2022-01-18T01:15:01.217Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-18T01:15:01.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-18T01:15:01.490Z] Configure a credential helper to remove this warning. See [2022-01-18T01:15:01.490Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-18T01:15:01.490Z] [2022-01-18T01:15:01.490Z] Login Succeeded [2022-01-18T01:15:01.490Z] nexus3.edgexfoundry.org:10002 [2022-01-18T01:15:01.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-18T01:15:01.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-18T01:15:01.762Z] Configure a credential helper to remove this warning. See [2022-01-18T01:15:01.762Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-18T01:15:01.762Z] [2022-01-18T01:15:01.762Z] Login Succeeded [2022-01-18T01:15:01.762Z] nexus3.edgexfoundry.org:10003 [2022-01-18T01:15:02.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-18T01:15:02.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-18T01:15:02.310Z] Configure a credential helper to remove this warning. See [2022-01-18T01:15:02.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-18T01:15:02.310Z] [2022-01-18T01:15:02.310Z] Login Succeeded [2022-01-18T01:15:02.310Z] nexus3.edgexfoundry.org:10004 [2022-01-18T01:15:02.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-18T01:15:02.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-18T01:15:02.583Z] Configure a credential helper to remove this warning. See [2022-01-18T01:15:02.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-18T01:15:02.583Z] [2022-01-18T01:15:02.583Z] Login Succeeded [2022-01-18T01:15:02.583Z] docker.io [2022-01-18T01:15:02.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-18T01:15:03.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-18T01:15:03.495Z] Configure a credential helper to remove this warning. See [2022-01-18T01:15:03.495Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-18T01:15:03.495Z] [2022-01-18T01:15:03.495Z] Login Succeeded [2022-01-18T01:15:03.495Z] ---> docker-login.sh ends [Pipeline] } [2022-01-18T01:15:03.512Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-18T01:15:03.946Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-18T01:15:03.961Z] ========================================================= [2022-01-18T01:15:03.961Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-01-18T01:15:03.961Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-18T01:15:04.302Z] + 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-18T01:15:04.302Z] Sending build context to Docker daemon 121.9kB [2022-01-18T01:15:04.574Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2022-01-18T01:15:04.574Z] Step 2/11 : FROM ${BASE} AS builder [2022-01-18T01:15:04.574Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-18T01:15:04.574Z] 9b3977197b4f: Pulling fs layer [2022-01-18T01:15:04.574Z] 1a89e8eeedd5: Pulling fs layer [2022-01-18T01:15:04.574Z] 94645a83ff95: Pulling fs layer [2022-01-18T01:15:04.574Z] 3f3a8bcf1eab: Pulling fs layer [2022-01-18T01:15:04.574Z] 0c92f367c5e7: Pulling fs layer [2022-01-18T01:15:04.574Z] 4b8299f9d1f4: Pulling fs layer [2022-01-18T01:15:04.574Z] 9a6b49a46696: Pulling fs layer [2022-01-18T01:15:04.574Z] cf05db05a679: Pulling fs layer [2022-01-18T01:15:04.574Z] 0c92f367c5e7: Waiting [2022-01-18T01:15:04.574Z] 9a6b49a46696: Waiting [2022-01-18T01:15:04.574Z] cf05db05a679: Waiting [2022-01-18T01:15:04.574Z] 4b8299f9d1f4: Waiting [2022-01-18T01:15:04.574Z] 3f3a8bcf1eab: Waiting [2022-01-18T01:15:04.847Z] 94645a83ff95: Verifying Checksum [2022-01-18T01:15:04.847Z] 94645a83ff95: Download complete [2022-01-18T01:15:04.847Z] 1a89e8eeedd5: Verifying Checksum [2022-01-18T01:15:04.847Z] 1a89e8eeedd5: Download complete [2022-01-18T01:15:04.847Z] 0c92f367c5e7: Verifying Checksum [2022-01-18T01:15:04.847Z] 0c92f367c5e7: Download complete [2022-01-18T01:15:04.847Z] 4b8299f9d1f4: Verifying Checksum [2022-01-18T01:15:04.847Z] 4b8299f9d1f4: Download complete [2022-01-18T01:15:04.847Z] 9b3977197b4f: Download complete [2022-01-18T01:15:04.847Z] 9a6b49a46696: Verifying Checksum [2022-01-18T01:15:04.847Z] 9a6b49a46696: Download complete [2022-01-18T01:15:05.447Z] 9b3977197b4f: Pull complete [2022-01-18T01:15:06.046Z] 1a89e8eeedd5: Pull complete [2022-01-18T01:15:06.322Z] 94645a83ff95: Pull complete [2022-01-18T01:15:06.593Z] cf05db05a679: Verifying Checksum [2022-01-18T01:15:06.593Z] cf05db05a679: Download complete [2022-01-18T01:15:07.186Z] 3f3a8bcf1eab: Verifying Checksum [2022-01-18T01:15:07.186Z] 3f3a8bcf1eab: Download complete [2022-01-18T01:15:17.315Z] 3f3a8bcf1eab: Pull complete [2022-01-18T01:15:17.315Z] 0c92f367c5e7: Pull complete [2022-01-18T01:15:17.586Z] 4b8299f9d1f4: Pull complete [2022-01-18T01:15:17.857Z] 9a6b49a46696: Pull complete [2022-01-18T01:15:23.250Z] cf05db05a679: Pull complete [2022-01-18T01:15:23.250Z] Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 [2022-01-18T01:15:23.250Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-01-18T01:15:23.250Z] ---> 0ccda1f7e2ee [2022-01-18T01:15:23.250Z] Step 3/11 : ARG MAKE='make build' [2022-01-18T01:15:25.237Z] ---> Running in bd968da09cb3 [2022-01-18T01:15:25.237Z] Removing intermediate container bd968da09cb3 [2022-01-18T01:15:25.237Z] ---> 53266946988b [2022-01-18T01:15:25.237Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-18T01:15:25.513Z] ---> Running in f4c35acc7756 [2022-01-18T01:15:25.787Z] Removing intermediate container f4c35acc7756 [2022-01-18T01:15:25.787Z] ---> 13f673e944b4 [2022-01-18T01:15:25.787Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2022-01-18T01:15:26.062Z] ---> Running in 014b8f2eea09 [2022-01-18T01:15:26.336Z] Removing intermediate container 014b8f2eea09 [2022-01-18T01:15:26.336Z] ---> 42d31beedee4 [2022-01-18T01:15:26.336Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-18T01:15:26.336Z] ---> Running in 884a12e1358e [2022-01-18T01:15:28.329Z] Removing intermediate container 884a12e1358e [2022-01-18T01:15:28.329Z] ---> 3a9ff438fbaa [2022-01-18T01:15:28.329Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-18T01:15:28.329Z] ---> Running in ac5061507a5a [2022-01-18T01:15:29.764Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-18T01:15:30.360Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-18T01:15:31.339Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-01-18T01:15:31.339Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-01-18T01:15:31.611Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-01-18T01:15:31.611Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-01-18T01:15:31.885Z] Executing busybox-1.34.1-r3.trigger [2022-01-18T01:15:31.885Z] OK: 224 MiB in 56 packages [2022-01-18T01:15:32.863Z] Removing intermediate container ac5061507a5a [2022-01-18T01:15:32.863Z] ---> bfa7500bc5ca [2022-01-18T01:15:32.863Z] Step 8/11 : WORKDIR /device-rest-go [2022-01-18T01:15:32.863Z] ---> Running in b8b788252216 [2022-01-18T01:15:33.463Z] Removing intermediate container b8b788252216 [2022-01-18T01:15:33.463Z] ---> 16f0adc5f96d [2022-01-18T01:15:33.463Z] Step 9/11 : COPY . . [2022-01-18T01:15:34.063Z] ---> 56a0e3881caa [2022-01-18T01:15:34.063Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-18T01:15:34.337Z] ---> Running in bc0b88f0d4fd [2022-01-18T01:16:56.166Z] Removing intermediate container bc0b88f0d4fd [2022-01-18T01:16:56.166Z] ---> 0f00f71452d8 [2022-01-18T01:16:56.166Z] Step 11/11 : RUN $MAKE [2022-01-18T01:16:56.166Z] ---> Running in 6279b40a84a6 [2022-01-18T01:16:56.166Z] noop [2022-01-18T01:16:56.166Z] Removing intermediate container 6279b40a84a6 [2022-01-18T01:16:56.166Z] ---> 69efa714761d [2022-01-18T01:16:56.166Z] Successfully built 69efa714761d [2022-01-18T01:16:56.166Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-18T01:16:56.519Z] + docker inspect -f . ci-base-image-arm64 [2022-01-18T01:16:56.520Z] . [Pipeline] withDockerContainer [2022-01-18T01:16:56.721Z] prd-ubuntu18.04-docker-arm64-4c-16g-1708 does not seem to be running inside a container [2022-01-18T01:16:56.805Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/23 -v /w/workspace/device-rest-go/23:/w/workspace/device-rest-go/23:rw,z -v /w/workspace/device-rest-go/23@tmp:/w/workspace/device-rest-go/23@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-arm64 cat [2022-01-18T01:16:58.182Z] $ docker top 1a98f090ea8b6a5857c178e90227fbb1b4d6837b643fe60d6256aebbf3d0a9c8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-18T01:16:59.127Z] + go version [2022-01-18T01:16:59.127Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-01-18T01:16:59.163Z] $ docker stop --time=1 1a98f090ea8b6a5857c178e90227fbb1b4d6837b643fe60d6256aebbf3d0a9c8 [2022-01-18T01:17:00.803Z] $ docker rm -f 1a98f090ea8b6a5857c178e90227fbb1b4d6837b643fe60d6256aebbf3d0a9c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-18T01:17:01.400Z] + docker inspect -f . ci-base-image-arm64 [2022-01-18T01:17:01.400Z] . [Pipeline] withDockerContainer [2022-01-18T01:17:01.658Z] prd-ubuntu18.04-docker-arm64-4c-16g-1708 does not seem to be running inside a container [2022-01-18T01:17:01.763Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/23 -v /w/workspace/device-rest-go/23:/w/workspace/device-rest-go/23:rw,z -v /w/workspace/device-rest-go/23@tmp:/w/workspace/device-rest-go/23@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-arm64 cat [2022-01-18T01:17:03.148Z] $ docker top c891f82ba2c0873429d3efbdb31954eb262e3843afb78505247ce6c7530ef7a0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-18T01:17:04.020Z] + make test [2022-01-18T01:17:04.020Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-01-18T01:17:05.463Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-01-18T01:17:52.455Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-01-18T01:17:55.070Z] ok github.com/edgexfoundry/device-rest-go/driver 0.053s coverage: 56.0% of statements [2022-01-18T01:17:55.070Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-01-18T01:18:17.267Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-18T01:18:17.267Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-18T01:18:17.267Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-18T01:18:17.292Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-18T01:18:17.316Z] $ docker stop --time=1 c891f82ba2c0873429d3efbdb31954eb262e3843afb78505247ce6c7530ef7a0 [2022-01-18T01:18:19.097Z] $ docker rm -f c891f82ba2c0873429d3efbdb31954eb262e3843afb78505247ce6c7530ef7a0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-18T01:18:19.952Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-18T01:18:19.985Z] Warning: overwriting stash ‘coverage-report’ [2022-01-18T01:18:20.483Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-18T01:18:20.887Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-18T01:18:21.226Z] + ls -al . [2022-01-18T01:18:21.226Z] total 176 [2022-01-18T01:18:21.226Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 18 01:18 . [2022-01-18T01:18:21.226Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 01:14 .. [2022-01-18T01:18:21.226Z] -rw-rw-r-- 1 jenkins jenkins 151 Jan 18 01:14 .dockerignore [2022-01-18T01:18:21.226Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 18 01:14 .git [2022-01-18T01:18:21.226Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 18 01:14 .github [2022-01-18T01:18:21.226Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 18 01:14 .gitignore [2022-01-18T01:18:21.226Z] -rw-rw-r-- 1 jenkins jenkins 7095 Jan 18 01:14 Attribution.txt [2022-01-18T01:18:21.226Z] -rw-rw-r-- 1 jenkins jenkins 7459 Jan 18 01:14 CHANGELOG.md [2022-01-18T01:18:21.226Z] -rw-rw-r-- 1 jenkins jenkins 1649 Jan 18 01:14 Dockerfile [2022-01-18T01:18:21.226Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 18 01:14 GOVERNANCE.md [2022-01-18T01:18:21.226Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 18 01:14 Jenkinsfile [2022-01-18T01:18:21.226Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 18 01:14 LICENSE [2022-01-18T01:18:21.226Z] -rw-rw-r-- 1 jenkins jenkins 1078 Jan 18 01:14 Makefile [2022-01-18T01:18:21.226Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 18 01:14 OWNERS.md [2022-01-18T01:18:21.226Z] -rw-rw-r-- 1 jenkins jenkins 8246 Jan 18 01:14 README.md [2022-01-18T01:18:21.226Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 18 01:10 VERSION [2022-01-18T01:18:21.226Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 18 01:14 bin [2022-01-18T01:18:21.226Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 18 01:14 cmd [2022-01-18T01:18:21.226Z] -rw-r--r-- 1 jenkins jenkins 9215 Jan 18 01:17 coverage.out [2022-01-18T01:18:21.226Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 18 01:14 driver [2022-01-18T01:18:21.226Z] -rw-rw-r-- 1 jenkins jenkins 277 Jan 18 01:14 go.mod [2022-01-18T01:18:21.226Z] -rw-rw-r-- 1 jenkins jenkins 49330 Jan 18 01:14 go.sum [2022-01-18T01:18:21.226Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 18 01:14 snap [2022-01-18T01:18:21.226Z] -rw-rw-r-- 1 jenkins jenkins 713 Jan 18 01:14 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-18T01:18:21.571Z] + 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=736f30166781926f3db44e01dabdb26e1e8c7632 --label arch=arm64 --label version=2.2.0-dev.3 . [2022-01-18T01:18:21.571Z] Sending build context to Docker daemon 131.6kB [2022-01-18T01:18:21.848Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2022-01-18T01:18:21.848Z] Step 2/24 : FROM ${BASE} AS builder [2022-01-18T01:18:21.848Z] ---> 69efa714761d [2022-01-18T01:18:21.848Z] Step 3/24 : ARG MAKE='make build' [2022-01-18T01:18:22.126Z] ---> Running in 1544d5c9c07e [2022-01-18T01:18:22.402Z] Removing intermediate container 1544d5c9c07e [2022-01-18T01:18:22.402Z] ---> 73a7ccad5c89 [2022-01-18T01:18:22.402Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-18T01:18:22.402Z] ---> Running in a2273478293c [2022-01-18T01:18:22.677Z] Removing intermediate container a2273478293c [2022-01-18T01:18:22.677Z] ---> d4be674602d9 [2022-01-18T01:18:22.677Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-01-18T01:18:22.956Z] ---> Running in 110995c014a3 [2022-01-18T01:18:23.227Z] Removing intermediate container 110995c014a3 [2022-01-18T01:18:23.227Z] ---> fd2ddf1e8a22 [2022-01-18T01:18:23.227Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-18T01:18:23.227Z] ---> Running in 78b018394c19 [2022-01-18T01:18:25.222Z] Removing intermediate container 78b018394c19 [2022-01-18T01:18:25.222Z] ---> 013b63adb023 [2022-01-18T01:18:25.222Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-18T01:18:25.222Z] ---> Running in a26288d71277 [2022-01-18T01:18:26.206Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-18T01:18:27.183Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-18T01:18:28.165Z] OK: 224 MiB in 56 packages [2022-01-18T01:18:29.151Z] Removing intermediate container a26288d71277 [2022-01-18T01:18:29.151Z] ---> 233ee060ab3d [2022-01-18T01:18:29.151Z] Step 8/24 : WORKDIR /device-rest-go [2022-01-18T01:18:29.151Z] ---> Running in 49aba6dc8bb9 [2022-01-18T01:18:29.426Z] Removing intermediate container 49aba6dc8bb9 [2022-01-18T01:18:29.426Z] ---> 0229af50c0f0 [2022-01-18T01:18:29.426Z] Step 9/24 : COPY . . [2022-01-18T01:18:30.026Z] ---> 5fe253d8453a [2022-01-18T01:18:30.026Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-18T01:18:30.302Z] ---> Running in 6ba6eeaef25f [2022-01-18T01:18:32.287Z] Removing intermediate container 6ba6eeaef25f [2022-01-18T01:18:32.287Z] ---> ce3a289164d9 [2022-01-18T01:18:32.287Z] Step 11/24 : RUN $MAKE [2022-01-18T01:18:32.564Z] ---> Running in 9ed00f095195 [2022-01-18T01:18:33.557Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.3" -o cmd/device-rest ./cmd [2022-01-18T01:19:20.549Z] Removing intermediate container 9ed00f095195 [2022-01-18T01:19:20.549Z] ---> 662b0e6ad8b2 [2022-01-18T01:19:20.549Z] Step 12/24 : FROM alpine:3.14 [2022-01-18T01:19:20.549Z] 3.14: Pulling from library/alpine [2022-01-18T01:19:20.549Z] be307f383ecc: Pulling fs layer [2022-01-18T01:19:20.549Z] be307f383ecc: Verifying Checksum [2022-01-18T01:19:20.549Z] be307f383ecc: Download complete [2022-01-18T01:19:20.549Z] be307f383ecc: Pull complete [2022-01-18T01:19:20.549Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-18T01:19:20.549Z] Status: Downloaded newer image for alpine:3.14 [2022-01-18T01:19:20.549Z] ---> 5b8b7b635229 [2022-01-18T01:19:20.549Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-01-18T01:19:20.549Z] ---> Running in 75767b7985dd [2022-01-18T01:19:20.549Z] Removing intermediate container 75767b7985dd [2022-01-18T01:19:20.549Z] ---> 86ae46edcd7a [2022-01-18T01:19:20.549Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2022-01-18T01:19:20.549Z] ---> Running in 1157fd3559dc [2022-01-18T01:19:20.549Z] Removing intermediate container 1157fd3559dc [2022-01-18T01:19:20.549Z] ---> e43314bb61b6 [2022-01-18T01:19:20.549Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-01-18T01:19:20.549Z] ---> Running in 4cb249b59edf [2022-01-18T01:19:20.549Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-18T01:19:20.549Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-18T01:19:20.826Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-01-18T01:19:20.826Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-01-18T01:19:20.826Z] (3/6) Installing libsodium (1.0.18-r0) [2022-01-18T01:19:20.826Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-18T01:19:20.826Z] (5/6) Installing libzmq (4.3.4-r0) [2022-01-18T01:19:20.826Z] (6/6) Installing zeromq (4.3.4-r0) [2022-01-18T01:19:20.826Z] Executing busybox-1.33.1-r6.trigger [2022-01-18T01:19:20.826Z] OK: 8 MiB in 20 packages [2022-01-18T01:19:21.806Z] Removing intermediate container 4cb249b59edf [2022-01-18T01:19:21.806Z] ---> b9f827492b76 [2022-01-18T01:19:21.806Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2022-01-18T01:19:22.785Z] ---> e7b56b5d9e84 [2022-01-18T01:19:22.785Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2022-01-18T01:19:23.388Z] ---> 9697ef037725 [2022-01-18T01:19:23.388Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-01-18T01:19:24.366Z] ---> 5e9e39083cf3 [2022-01-18T01:19:24.366Z] Step 19/24 : EXPOSE 59986 [2022-01-18T01:19:24.366Z] ---> Running in 93ccf46b4ecf [2022-01-18T01:19:24.638Z] Removing intermediate container 93ccf46b4ecf [2022-01-18T01:19:24.638Z] ---> 200edd18f1d2 [2022-01-18T01:19:24.638Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2022-01-18T01:19:24.638Z] ---> Running in daf93f1841f6 [2022-01-18T01:19:24.911Z] Removing intermediate container daf93f1841f6 [2022-01-18T01:19:24.911Z] ---> a9914a08e8ca [2022-01-18T01:19:24.911Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-01-18T01:19:25.184Z] ---> Running in 926eebb81fe8 [2022-01-18T01:19:25.457Z] Removing intermediate container 926eebb81fe8 [2022-01-18T01:19:25.457Z] ---> fd315a937b86 [2022-01-18T01:19:25.457Z] Step 22/24 : LABEL arch=arm64 [2022-01-18T01:19:25.457Z] ---> Running in a3e990833d14 [2022-01-18T01:19:26.052Z] Removing intermediate container a3e990833d14 [2022-01-18T01:19:26.052Z] ---> cf5b83aacab3 [2022-01-18T01:19:26.052Z] Step 23/24 : LABEL git_sha=736f30166781926f3db44e01dabdb26e1e8c7632 [2022-01-18T01:19:26.052Z] ---> Running in 56d9f5365d38 [2022-01-18T01:19:26.328Z] Removing intermediate container 56d9f5365d38 [2022-01-18T01:19:26.328Z] ---> e39402e9483f [2022-01-18T01:19:26.328Z] Step 24/24 : LABEL version=2.2.0-dev.3 [2022-01-18T01:19:26.600Z] ---> Running in 17eb2525feba [2022-01-18T01:19:26.873Z] Removing intermediate container 17eb2525feba [2022-01-18T01:19:26.873Z] ---> e7cd43e8c381 [2022-01-18T01:19:26.873Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-18T01:19:26.873Z] Successfully built e7cd43e8c381 [2022-01-18T01:19:26.873Z] 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-18T01:19:26.971Z] provisioning config files... [2022-01-18T01:19:26.992Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/23@tmp/config1102408975981554280tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-18T01:19:27.354Z] ---> docker-login.sh [2022-01-18T01:19:27.354Z] nexus3.edgexfoundry.org:10001 [2022-01-18T01:19:27.628Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-18T01:19:27.628Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-18T01:19:27.628Z] Configure a credential helper to remove this warning. See [2022-01-18T01:19:27.628Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-18T01:19:27.628Z] [2022-01-18T01:19:27.628Z] Login Succeeded [2022-01-18T01:19:27.628Z] nexus3.edgexfoundry.org:10002 [2022-01-18T01:19:28.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-18T01:19:28.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-18T01:19:28.225Z] Configure a credential helper to remove this warning. See [2022-01-18T01:19:28.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-18T01:19:28.225Z] [2022-01-18T01:19:28.225Z] Login Succeeded [2022-01-18T01:19:28.225Z] nexus3.edgexfoundry.org:10003 [2022-01-18T01:19:28.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-18T01:19:28.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-18T01:19:28.775Z] Configure a credential helper to remove this warning. See [2022-01-18T01:19:28.776Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-18T01:19:28.776Z] [2022-01-18T01:19:28.776Z] Login Succeeded [2022-01-18T01:19:28.776Z] nexus3.edgexfoundry.org:10004 [2022-01-18T01:19:29.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-18T01:19:29.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-18T01:19:29.049Z] Configure a credential helper to remove this warning. See [2022-01-18T01:19:29.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-18T01:19:29.049Z] [2022-01-18T01:19:29.049Z] Login Succeeded [2022-01-18T01:19:29.049Z] docker.io [2022-01-18T01:19:29.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-18T01:19:29.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-18T01:19:29.920Z] Configure a credential helper to remove this warning. See [2022-01-18T01:19:29.920Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-18T01:19:29.920Z] [2022-01-18T01:19:29.920Z] Login Succeeded [2022-01-18T01:19:29.920Z] ---> docker-login.sh ends [Pipeline] } [2022-01-18T01:19:29.940Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-01-18T01:19:29.970Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-18T01:19:29.992Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2022-01-18T01:19:29.992Z] 736f30166781926f3db44e01dabdb26e1e8c7632 [2022-01-18T01:19:29.992Z] latest [2022-01-18T01:19:29.992Z] 2.2.0-dev.3 [2022-01-18T01:19:29.992Z] 736f30166781926f3db44e01dabdb26e1e8c7632-2.2.0-dev.3 [2022-01-18T01:19:29.992Z] main [2022-01-18T01:19:29.992Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-18T01:19:30.344Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:736f30166781926f3db44e01dabdb26e1e8c7632 [Pipeline] isUnix [Pipeline] sh [2022-01-18T01:19:30.692Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:736f30166781926f3db44e01dabdb26e1e8c7632 [2022-01-18T01:19:30.692Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-01-18T01:19:30.692Z] fced6c12243f: Preparing [2022-01-18T01:19:30.692Z] 11c6e355286c: Preparing [2022-01-18T01:19:30.692Z] bbc339c40f0c: Preparing [2022-01-18T01:19:30.692Z] 2fd22c9af447: Preparing [2022-01-18T01:19:30.692Z] 62170e181a92: Preparing [2022-01-18T01:19:30.692Z] 62170e181a92: Layer already exists [2022-01-18T01:19:30.967Z] fced6c12243f: Pushed [2022-01-18T01:19:30.967Z] 11c6e355286c: Pushed [2022-01-18T01:19:31.562Z] 2fd22c9af447: Pushed [2022-01-18T01:19:33.536Z] bbc339c40f0c: Pushed [2022-01-18T01:19:33.809Z] 736f30166781926f3db44e01dabdb26e1e8c7632: digest: sha256:95361cc7410a4c647cd08c9681765bde00e7287bffeaf6ff61ea23a55528fccf size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-01-18T01:19:34.157Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-18T01:19:34.502Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-01-18T01:19:34.502Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-01-18T01:19:34.502Z] fced6c12243f: Preparing [2022-01-18T01:19:34.502Z] 11c6e355286c: Preparing [2022-01-18T01:19:34.502Z] bbc339c40f0c: Preparing [2022-01-18T01:19:34.502Z] 2fd22c9af447: Preparing [2022-01-18T01:19:34.502Z] 62170e181a92: Preparing [2022-01-18T01:19:34.502Z] 2fd22c9af447: Layer already exists [2022-01-18T01:19:34.502Z] fced6c12243f: Layer already exists [2022-01-18T01:19:34.502Z] 62170e181a92: Layer already exists [2022-01-18T01:19:34.502Z] 11c6e355286c: Layer already exists [2022-01-18T01:19:34.502Z] bbc339c40f0c: Layer already exists [2022-01-18T01:19:34.776Z] latest: digest: sha256:95361cc7410a4c647cd08c9681765bde00e7287bffeaf6ff61ea23a55528fccf size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-01-18T01:19:35.121Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.3 [Pipeline] isUnix [Pipeline] sh [2022-01-18T01:19:35.469Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.3 [2022-01-18T01:19:35.469Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-01-18T01:19:35.469Z] fced6c12243f: Preparing [2022-01-18T01:19:35.469Z] 11c6e355286c: Preparing [2022-01-18T01:19:35.469Z] bbc339c40f0c: Preparing [2022-01-18T01:19:35.469Z] 2fd22c9af447: Preparing [2022-01-18T01:19:35.469Z] 62170e181a92: Preparing [2022-01-18T01:19:35.469Z] 11c6e355286c: Layer already exists [2022-01-18T01:19:35.469Z] 62170e181a92: Layer already exists [2022-01-18T01:19:35.469Z] bbc339c40f0c: Layer already exists [2022-01-18T01:19:35.469Z] 2fd22c9af447: Layer already exists [2022-01-18T01:19:35.469Z] fced6c12243f: Layer already exists [2022-01-18T01:19:35.742Z] 2.2.0-dev.3: digest: sha256:95361cc7410a4c647cd08c9681765bde00e7287bffeaf6ff61ea23a55528fccf size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-01-18T01:19:36.094Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:736f30166781926f3db44e01dabdb26e1e8c7632-2.2.0-dev.3 [Pipeline] isUnix [Pipeline] sh [2022-01-18T01:19:36.436Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:736f30166781926f3db44e01dabdb26e1e8c7632-2.2.0-dev.3 [2022-01-18T01:19:36.436Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-01-18T01:19:36.436Z] fced6c12243f: Preparing [2022-01-18T01:19:36.436Z] 11c6e355286c: Preparing [2022-01-18T01:19:36.436Z] bbc339c40f0c: Preparing [2022-01-18T01:19:36.436Z] 2fd22c9af447: Preparing [2022-01-18T01:19:36.436Z] 62170e181a92: Preparing [2022-01-18T01:19:36.436Z] 11c6e355286c: Layer already exists [2022-01-18T01:19:36.436Z] 62170e181a92: Layer already exists [2022-01-18T01:19:36.436Z] bbc339c40f0c: Layer already exists [2022-01-18T01:19:36.436Z] 2fd22c9af447: Layer already exists [2022-01-18T01:19:36.436Z] fced6c12243f: Layer already exists [2022-01-18T01:19:36.710Z] 736f30166781926f3db44e01dabdb26e1e8c7632-2.2.0-dev.3: digest: sha256:95361cc7410a4c647cd08c9681765bde00e7287bffeaf6ff61ea23a55528fccf size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-01-18T01:19:37.059Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-01-18T01:19:37.401Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2022-01-18T01:19:37.401Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-01-18T01:19:37.401Z] fced6c12243f: Preparing [2022-01-18T01:19:37.401Z] 11c6e355286c: Preparing [2022-01-18T01:19:37.401Z] bbc339c40f0c: Preparing [2022-01-18T01:19:37.401Z] 2fd22c9af447: Preparing [2022-01-18T01:19:37.401Z] 62170e181a92: Preparing [2022-01-18T01:19:37.401Z] 11c6e355286c: Layer already exists [2022-01-18T01:19:37.401Z] fced6c12243f: Layer already exists [2022-01-18T01:19:37.401Z] 62170e181a92: Layer already exists [2022-01-18T01:19:37.401Z] bbc339c40f0c: Layer already exists [2022-01-18T01:19:37.401Z] 2fd22c9af447: Layer already exists [2022-01-18T01:19:37.676Z] main: digest: sha256:95361cc7410a4c647cd08c9681765bde00e7287bffeaf6ff61ea23a55528fccf size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-01-18T01:19:37.726Z] ===================================================== [Pipeline] echo [2022-01-18T01:19:37.741Z] taggedImages: [2022-01-18T01:19:37.741Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:736f30166781926f3db44e01dabdb26e1e8c7632 [2022-01-18T01:19:37.741Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-01-18T01:19:37.741Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.3 [2022-01-18T01:19:37.741Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:736f30166781926f3db44e01dabdb26e1e8c7632-2.2.0-dev.3 [2022-01-18T01:19:37.741Z] - 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-18T01:19:38.120Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-18T01:19:38.120Z] [2022-01-18T01:19:38.120Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-18T01:19:38.476Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-18T01:19:38.755Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-18T01:19:38.755Z] 448f6bf000e3: Pulling fs layer [2022-01-18T01:19:38.755Z] f757da607395: Pulling fs layer [2022-01-18T01:19:38.755Z] 05883995daec: Pulling fs layer [2022-01-18T01:19:38.755Z] 8603b9c90790: Pulling fs layer [2022-01-18T01:19:38.755Z] 1560dd03e051: Pulling fs layer [2022-01-18T01:19:38.755Z] 27f5ce0e4adf: Pulling fs layer [2022-01-18T01:19:38.755Z] c2d8d7efcc4b: Pulling fs layer [2022-01-18T01:19:38.755Z] 8603b9c90790: Waiting [2022-01-18T01:19:38.755Z] 1560dd03e051: Waiting [2022-01-18T01:19:38.755Z] 27f5ce0e4adf: Waiting [2022-01-18T01:19:38.755Z] c2d8d7efcc4b: Waiting [2022-01-18T01:19:38.755Z] f757da607395: Verifying Checksum [2022-01-18T01:19:38.755Z] f757da607395: Download complete [2022-01-18T01:19:38.755Z] 8603b9c90790: Verifying Checksum [2022-01-18T01:19:38.755Z] 8603b9c90790: Download complete [2022-01-18T01:19:38.755Z] 1560dd03e051: Verifying Checksum [2022-01-18T01:19:38.755Z] 1560dd03e051: Download complete [2022-01-18T01:19:38.755Z] 27f5ce0e4adf: Verifying Checksum [2022-01-18T01:19:38.755Z] 27f5ce0e4adf: Download complete [2022-01-18T01:19:39.032Z] 05883995daec: Verifying Checksum [2022-01-18T01:19:39.032Z] 05883995daec: Download complete [2022-01-18T01:19:39.306Z] 448f6bf000e3: Verifying Checksum [2022-01-18T01:19:39.306Z] 448f6bf000e3: Download complete [2022-01-18T01:19:41.932Z] c2d8d7efcc4b: Verifying Checksum [2022-01-18T01:19:41.932Z] c2d8d7efcc4b: Download complete [2022-01-18T01:19:42.913Z] 448f6bf000e3: Pull complete [2022-01-18T01:19:43.511Z] f757da607395: Pull complete [2022-01-18T01:19:44.948Z] 05883995daec: Pull complete [2022-01-18T01:19:45.221Z] 8603b9c90790: Pull complete [2022-01-18T01:19:46.201Z] 1560dd03e051: Pull complete [2022-01-18T01:19:46.474Z] 27f5ce0e4adf: Pull complete [2022-01-18T01:20:01.562Z] c2d8d7efcc4b: Pull complete [2022-01-18T01:20:01.562Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-18T01:20:01.562Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-18T01:20:01.562Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-18T01:20:01.782Z] prd-ubuntu18.04-docker-arm64-4c-16g-1708 does not seem to be running inside a container [2022-01-18T01:20:01.888Z] $ 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/23 -v /w/workspace/device-rest-go/23:/w/workspace/device-rest-go/23:rw,z -v /w/workspace/device-rest-go/23@tmp:/w/workspace/device-rest-go/23@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:arm64 cat [2022-01-18T01:20:04.574Z] $ docker top 8a284c22937041fac562291cf052589b963618e058f4632840bb7f5059e6ff26 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-18T01:20:05.487Z] ---> job-cost.sh [2022-01-18T01:20:05.487Z] lf-activate-venv: SKIPPING [2022-01-18T01:20:05.487Z] INFO: No Stack... [2022-01-18T01:20:05.759Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-18T01:20:06.031Z] INFO: Archiving Costs [Pipeline] sh [2022-01-18T01:20:06.695Z] + cut -d, -f6 [2022-01-18T01:20:06.695Z] + cat /w/workspace/device-rest-go/23/archives/cost.csv [Pipeline] lock [2022-01-18T01:20:06.759Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-23-stack-cost] [2022-01-18T01:20:06.768Z] Resource [jenkins-edgexfoundry-device-rest-go-main-23-stack-cost] did not exist. Created. [2022-01-18T01:20:06.768Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-23-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-18T01:20:07.460Z] /w/workspace/device-rest-go/23@tmp/durable-508ea388/script.sh: 1: /w/workspace/device-rest-go/23@tmp/durable-508ea388/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-18T01:20:08.138Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-18T01:20:08.158Z] Warning: overwriting stash ‘stack-cost’ [2022-01-18T01:20:08.199Z] Stashed 1 file(s) [Pipeline] } [2022-01-18T01:20:08.207Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-23-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-18T01:20:08.244Z] $ docker stop --time=1 8a284c22937041fac562291cf052589b963618e058f4632840bb7f5059e6ff26 [2022-01-18T01:20:09.755Z] $ docker rm -f 8a284c22937041fac562291cf052589b963618e058f4632840bb7f5059e6ff26 [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-18T01:20:10.244Z] provisioning config files... [2022-01-18T01:20:10.255Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3159770655759895031tmp [Pipeline] { [Pipeline] sh [2022-01-18T01:20:10.565Z] + set +x [2022-01-18T01:20:10.565Z] + curl -s https://codecov.io/bash [2022-01-18T01:20:10.565Z] + bash -s -- [2022-01-18T01:20:10.565Z] [2022-01-18T01:20:10.565Z] _____ _ [2022-01-18T01:20:10.565Z] / ____| | | [2022-01-18T01:20:10.565Z] | | ___ __| | ___ ___ _____ __ [2022-01-18T01:20:10.565Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-01-18T01:20:10.565Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-01-18T01:20:10.565Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-01-18T01:20:10.565Z] Bash-1.0.6 [2022-01-18T01:20:10.565Z] [2022-01-18T01:20:10.565Z] [2022-01-18T01:20:10.565Z] ==> git version 2.24.4 found [2022-01-18T01:20:10.565Z] ==> 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-18T01:20:10.565Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2022-01-18T01:20:10.565Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2022-01-18T01:20:10.565Z] ==> Jenkins CI detected. [2022-01-18T01:20:10.565Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2022-01-18T01:20:10.565Z] project root: . [2022-01-18T01:20:10.565Z] --> token set from env [2022-01-18T01:20:10.565Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-01-18T01:20:10.565Z] ==> Running gcov in . (disable via -X gcov) [2022-01-18T01:20:10.829Z] ==> Python coveragepy not found [2022-01-18T01:20:10.829Z] ==> Searching for coverage reports in: [2022-01-18T01:20:10.829Z] + . [2022-01-18T01:20:10.829Z] -> Found 1 reports [2022-01-18T01:20:10.829Z] ==> Detecting git/mercurial file structure [2022-01-18T01:20:10.829Z] ==> Reading reports [2022-01-18T01:20:10.829Z] + ./coverage.out bytes=9215 [2022-01-18T01:20:10.829Z] ==> Appending adjustments [2022-01-18T01:20:10.829Z] https://docs.codecov.io/docs/fixing-reports [2022-01-18T01:20:10.829Z] + Found adjustments [2022-01-18T01:20:10.829Z] ==> Gzipping contents [2022-01-18T01:20:10.829Z] 4.0K /tmp/codecov.5vPOGT.gz [2022-01-18T01:20:10.829Z] ==> Uploading reports [2022-01-18T01:20:10.829Z] url: https://codecov.io [2022-01-18T01:20:10.829Z] query: branch=main&commit=736f30166781926f3db44e01dabdb26e1e8c7632&build=23&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F23%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-01-18T01:20:10.829Z] -> Pinging Codecov [2022-01-18T01:20:10.829Z] 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=736f30166781926f3db44e01dabdb26e1e8c7632&build=23&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F23%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-01-18T01:20:11.404Z] -> Uploading to [2022-01-18T01:20:11.404Z] https://storage.googleapis.com/codecov/v4/raw/2022-01-18/4E5D53B4F1F92C436F7061BF334D961C/736f30166781926f3db44e01dabdb26e1e8c7632/432d624e-96b9-4a84-8bbc-39639e9f0c89.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220118%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220118T012011Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4cbfe5d89ffaaaca6982ef205422a12f425b55614f1c904d98b7c0f234abf4e3 [2022-01-18T01:20:11.404Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-18T01:20:11.404Z] Dload Upload Total Spent Left Speed [2022-01-18T01:20:11.926Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1805 0 0 100 1805 0 5459 --:--:-- --:--:-- --:--:-- 5453 [2022-01-18T01:20:11.926Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/736f30166781926f3db44e01dabdb26e1e8c7632 [Pipeline] } [2022-01-18T01:20:11.934Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-01-18T01:20:12.233Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-01-18T01:20:12.247Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-18T01:20:12.559Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-18T01:20:12.560Z] [2022-01-18T01:20:12.560Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-01-18T01:20:12.868Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-18T01:20:12.868Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-01-18T01:20:12.868Z] 188c0c94c7c5: Pulling fs layer [2022-01-18T01:20:12.868Z] 0ef7d3d256c8: Pulling fs layer [2022-01-18T01:20:12.868Z] de9db76c5a1d: Pulling fs layer [2022-01-18T01:20:12.868Z] 0eba1c9be4d2: Pulling fs layer [2022-01-18T01:20:12.868Z] 0d57e429df01: Pulling fs layer [2022-01-18T01:20:12.868Z] 4e4be7b47b0d: Pulling fs layer [2022-01-18T01:20:12.868Z] e1f770b5df2f: Pulling fs layer [2022-01-18T01:20:12.868Z] 85a0685a4137: Pulling fs layer [2022-01-18T01:20:12.868Z] 0d57e429df01: Waiting [2022-01-18T01:20:12.868Z] 4e4be7b47b0d: Waiting [2022-01-18T01:20:12.868Z] e1f770b5df2f: Waiting [2022-01-18T01:20:12.868Z] 85a0685a4137: Waiting [2022-01-18T01:20:12.868Z] 0eba1c9be4d2: Waiting [2022-01-18T01:20:12.868Z] de9db76c5a1d: Verifying Checksum [2022-01-18T01:20:12.868Z] de9db76c5a1d: Download complete [2022-01-18T01:20:12.868Z] 0ef7d3d256c8: Verifying Checksum [2022-01-18T01:20:12.868Z] 0ef7d3d256c8: Download complete [2022-01-18T01:20:12.868Z] 0d57e429df01: Verifying Checksum [2022-01-18T01:20:12.868Z] 0d57e429df01: Download complete [2022-01-18T01:20:12.868Z] 4e4be7b47b0d: Verifying Checksum [2022-01-18T01:20:12.868Z] 4e4be7b47b0d: Download complete [2022-01-18T01:20:12.868Z] 188c0c94c7c5: Verifying Checksum [2022-01-18T01:20:12.868Z] 188c0c94c7c5: Download complete [2022-01-18T01:20:13.150Z] 188c0c94c7c5: Pull complete [2022-01-18T01:20:13.434Z] 0ef7d3d256c8: Pull complete [2022-01-18T01:20:13.434Z] e1f770b5df2f: Verifying Checksum [2022-01-18T01:20:13.434Z] e1f770b5df2f: Download complete [2022-01-18T01:20:13.434Z] de9db76c5a1d: Pull complete [2022-01-18T01:20:13.703Z] 0eba1c9be4d2: Verifying Checksum [2022-01-18T01:20:13.703Z] 0eba1c9be4d2: Download complete [2022-01-18T01:20:13.969Z] 85a0685a4137: Verifying Checksum [2022-01-18T01:20:13.970Z] 85a0685a4137: Download complete [2022-01-18T01:20:17.294Z] 0eba1c9be4d2: Pull complete [2022-01-18T01:20:17.294Z] 0d57e429df01: Pull complete [2022-01-18T01:20:17.560Z] 4e4be7b47b0d: Pull complete [2022-01-18T01:20:18.143Z] e1f770b5df2f: Pull complete [2022-01-18T01:20:21.503Z] 85a0685a4137: Pull complete [2022-01-18T01:20:21.503Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-01-18T01:20:21.503Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-18T01:20:21.503Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-01-18T01:20:21.591Z] prd-centos7-docker-4c-2g-1707 does not seem to be running inside a container [2022-01-18T01:20:21.644Z] $ 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-18T01:20:23.423Z] $ docker top 69e7ad9d51c2f59c184f729d9838dc4592bc32b785bde4f25ad5edef8d479fd9 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-01-18T01:20:23.496Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-01-18T01:20:23.788Z] + set -o pipefail [2022-01-18T01:20:23.788Z] + snyk monitor '--org=edgex-jenkins' [2022-01-18T01:20:30.389Z] [2022-01-18T01:20:30.389Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2022-01-18T01:20:30.389Z] [2022-01-18T01:20:30.389Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/1e12bfb7-ce0d-4b21-aa53-c313fd52b7a4 [2022-01-18T01:20:30.389Z] [2022-01-18T01:20:30.389Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-01-18T01:20:30.389Z] [2022-01-18T01:20:30.389Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-01-18T01:20:30.389Z] [2022-01-18T01:20:30.389Z] [Pipeline] } [2022-01-18T01:20:30.399Z] $ docker stop --time=1 69e7ad9d51c2f59c184f729d9838dc4592bc32b785bde4f25ad5edef8d479fd9 [2022-01-18T01:20:32.265Z] $ docker rm -f 69e7ad9d51c2f59c184f729d9838dc4592bc32b785bde4f25ad5edef8d479fd9 [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-18T01:20:33.001Z] + git log --format=format:%s -1 736f30166781926f3db44e01dabdb26e1e8c7632 [Pipeline] sh [2022-01-18T01:20:33.304Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-18T01:20:33.304Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-18T01:20:33.610Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-18T01:20:33.610Z] . [Pipeline] withDockerContainer [2022-01-18T01:20:33.680Z] prd-centos7-docker-4c-2g-1707 does not seem to be running inside a container [2022-01-18T01:20:33.739Z] $ 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-18T01:20:34.080Z] $ docker top 6ca8661b4a138c10c796f0136922c7db70f3469dc5291c8c6cdac09b2ce50538 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-18T01:20:34.172Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-18T01:20:34.172Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-18T01:20:34.275Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-18T01:20:34.277Z] $ docker exec 6ca8661b4a138c10c796f0136922c7db70f3469dc5291c8c6cdac09b2ce50538 ssh-agent [2022-01-18T01:20:34.376Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlPcIMb/agent.13 [2022-01-18T01:20:34.376Z] SSH_AGENT_PID=19 [2022-01-18T01:20:34.381Z] Running ssh-add (command line suppressed) [2022-01-18T01:20:34.465Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8246148448560071252.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8246148448560071252.key) [2022-01-18T01:20:34.480Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-18T01:20:34.786Z] + git semver tag [2022-01-18T01:20:34.786Z] # -> Open(): unable to determine branch for HEAD [2022-01-18T01:20:34.786Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2022-01-18T01:20:34.786Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2022-01-18T01:20:34.786Z] # $SEMVER_REMOTE_NAME = origin [2022-01-18T01:20:34.786Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-18T01:20:34.786Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-18T01:20:34.786Z] # $SEMVER_BRANCH = main [2022-01-18T01:20:34.786Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-01-18T01:20:34.786Z] # 736f30166781926f3db44e01dabdb26e1e8c7632 HEAD [2022-01-18T01:20:34.786Z] # -> Force: false [2022-01-18T01:20:34.786Z] # 4dfa80e5e809710870c70a7b86ceac759921f46b refs/tags/v2.2.0-dev.3 [Pipeline] } [2022-01-18T01:20:34.800Z] $ docker exec --env ******** --env ******** 6ca8661b4a138c10c796f0136922c7db70f3469dc5291c8c6cdac09b2ce50538 ssh-agent -k [2022-01-18T01:20:34.883Z] unset SSH_AUTH_SOCK; [2022-01-18T01:20:34.883Z] unset SSH_AGENT_PID; [2022-01-18T01:20:34.883Z] echo Agent pid 19 killed; [2022-01-18T01:20:34.898Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-18T01:20:35.216Z] + git semver [Pipeline] } [2022-01-18T01:20:35.230Z] $ docker stop --time=1 6ca8661b4a138c10c796f0136922c7db70f3469dc5291c8c6cdac09b2ce50538 [2022-01-18T01:20:36.390Z] $ docker rm -f 6ca8661b4a138c10c796f0136922c7db70f3469dc5291c8c6cdac09b2ce50538 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-01-18T01:20:36.793Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-18T01:20:36.793Z] [2022-01-18T01:20:36.793Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-01-18T01:20:37.097Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-18T01:20:37.097Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-01-18T01:20:37.097Z] ab5ef0e58194: Pulling fs layer [2022-01-18T01:20:37.097Z] 9712f1f96733: Pulling fs layer [2022-01-18T01:20:37.097Z] 63f879dbbcfc: Pulling fs layer [2022-01-18T01:20:37.097Z] 0d9ebad4ef96: Pulling fs layer [2022-01-18T01:20:37.097Z] e9a5061849ea: Pulling fs layer [2022-01-18T01:20:37.097Z] d747dcd14b5f: Pulling fs layer [2022-01-18T01:20:37.097Z] 2de7ff778b66: Pulling fs layer [2022-01-18T01:20:37.097Z] e9a5061849ea: Waiting [2022-01-18T01:20:37.097Z] d747dcd14b5f: Waiting [2022-01-18T01:20:37.097Z] 2de7ff778b66: Waiting [2022-01-18T01:20:37.097Z] 0d9ebad4ef96: Waiting [2022-01-18T01:20:37.097Z] 9712f1f96733: Verifying Checksum [2022-01-18T01:20:37.097Z] 9712f1f96733: Download complete [2022-01-18T01:20:37.694Z] 63f879dbbcfc: Verifying Checksum [2022-01-18T01:20:37.694Z] 63f879dbbcfc: Download complete [2022-01-18T01:20:37.694Z] ab5ef0e58194: Verifying Checksum [2022-01-18T01:20:37.694Z] ab5ef0e58194: Download complete [2022-01-18T01:20:37.694Z] 0d9ebad4ef96: Verifying Checksum [2022-01-18T01:20:37.694Z] 0d9ebad4ef96: Download complete [2022-01-18T01:20:37.694Z] d747dcd14b5f: Verifying Checksum [2022-01-18T01:20:37.694Z] d747dcd14b5f: Download complete [2022-01-18T01:20:37.958Z] e9a5061849ea: Verifying Checksum [2022-01-18T01:20:37.958Z] e9a5061849ea: Download complete [2022-01-18T01:20:37.958Z] 2de7ff778b66: Verifying Checksum [2022-01-18T01:20:37.958Z] 2de7ff778b66: Download complete [2022-01-18T01:20:40.568Z] ab5ef0e58194: Pull complete [2022-01-18T01:20:40.838Z] 9712f1f96733: Pull complete [2022-01-18T01:20:41.436Z] 63f879dbbcfc: Pull complete [2022-01-18T01:20:45.714Z] 0d9ebad4ef96: Pull complete [2022-01-18T01:20:45.714Z] e9a5061849ea: Pull complete [2022-01-18T01:20:45.714Z] d747dcd14b5f: Pull complete [2022-01-18T01:20:47.118Z] 2de7ff778b66: Pull complete [2022-01-18T01:20:47.118Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-01-18T01:20:47.118Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-18T01:20:47.118Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-01-18T01:20:47.186Z] prd-centos7-docker-4c-2g-1707 does not seem to be running inside a container [2022-01-18T01:20:47.226Z] $ 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-18T01:20:50.373Z] $ docker top 7ade021038a8121c2181afd2c0af2d1826511ea22214a3b3227804701823fdb1 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-01-18T01:20:50.457Z] provisioning config files... [2022-01-18T01:20:50.466Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1457597738374271506tmp [2022-01-18T01:20:50.487Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3549537378044409471tmp [2022-01-18T01:20:50.498Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1723139012248966157tmp [Pipeline] { [Pipeline] echo [2022-01-18T01:20:50.517Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-18T01:20:50.815Z] ---> sigul-configuration.sh [2022-01-18T01:20:50.816Z] gpg: directory `/root/.gnupg' created [2022-01-18T01:20:50.816Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-01-18T01:20:50.816Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-01-18T01:20:50.816Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-01-18T01:20:50.816Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-01-18T01:20:50.816Z] gpg: CAST5 encrypted data [2022-01-18T01:20:50.816Z] gpg: encrypted with 1 passphrase [2022-01-18T01:20:50.816Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-01-18T01:20:51.113Z] + mkdir /home/jenkins [2022-01-18T01:20:51.113Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-01-18T01:20:51.412Z] + 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-18T01:20:51.423Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-18T01:20:51.711Z] ---> sigul-install.sh [2022-01-18T01:20:51.711Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-01-18T01:20:52.024Z] + git tag --list [2022-01-18T01:20:52.025Z] v1.0.0 [2022-01-18T01:20:52.025Z] v1.1.0 [2022-01-18T01:20:52.025Z] v1.1.1 [2022-01-18T01:20:52.025Z] v1.1.2 [2022-01-18T01:20:52.025Z] v1.2.0 [2022-01-18T01:20:52.025Z] v1.2.1 [2022-01-18T01:20:52.025Z] v2.0.0 [2022-01-18T01:20:52.025Z] v2.0.1-dev.1 [2022-01-18T01:20:52.025Z] v2.0.1-dev.10 [2022-01-18T01:20:52.025Z] v2.0.1-dev.11 [2022-01-18T01:20:52.025Z] v2.0.1-dev.12 [2022-01-18T01:20:52.025Z] v2.0.1-dev.13 [2022-01-18T01:20:52.025Z] v2.0.1-dev.14 [2022-01-18T01:20:52.025Z] v2.0.1-dev.2 [2022-01-18T01:20:52.025Z] v2.0.1-dev.3 [2022-01-18T01:20:52.025Z] v2.0.1-dev.4 [2022-01-18T01:20:52.025Z] v2.0.1-dev.5 [2022-01-18T01:20:52.025Z] v2.0.1-dev.6 [2022-01-18T01:20:52.025Z] v2.0.1-dev.7 [2022-01-18T01:20:52.025Z] v2.0.1-dev.8 [2022-01-18T01:20:52.025Z] v2.0.1-dev.9 [2022-01-18T01:20:52.025Z] v2.1.0 [2022-01-18T01:20:52.025Z] v2.2.0-dev.1 [2022-01-18T01:20:52.025Z] v2.2.0-dev.2 [2022-01-18T01:20:52.025Z] v2.2.0-dev.3 [Pipeline] sh [2022-01-18T01:20:52.314Z] + lftools sign git-tag v2.2.0-dev.3 [2022-01-18T01:20:52.900Z] Signing Git tag with Sigul... [2022-01-18T01:20:52.900Z] Signing v2.2.0-dev.3 [Pipeline] echo [2022-01-18T01:20:53.176Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-18T01:20:53.471Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-01-18T01:20:53.483Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-01-18T01:20:53.501Z] $ docker stop --time=1 7ade021038a8121c2181afd2c0af2d1826511ea22214a3b3227804701823fdb1 [2022-01-18T01:20:54.701Z] $ docker rm -f 7ade021038a8121c2181afd2c0af2d1826511ea22214a3b3227804701823fdb1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-01-18T01:20:55.097Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-18T01:20:55.097Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-18T01:20:55.415Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-18T01:20:55.415Z] . [Pipeline] withDockerContainer [2022-01-18T01:20:55.494Z] prd-centos7-docker-4c-2g-1707 does not seem to be running inside a container [2022-01-18T01:20:55.537Z] $ 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-18T01:20:55.855Z] $ docker top 1c45e08bbf5bbcc7254d9bd124c48ed3d324e8fc33deb838e10e6c7145f2d4d1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-18T01:20:55.964Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-18T01:20:55.964Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-18T01:20:56.068Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-18T01:20:56.070Z] $ docker exec 1c45e08bbf5bbcc7254d9bd124c48ed3d324e8fc33deb838e10e6c7145f2d4d1 ssh-agent [2022-01-18T01:20:56.168Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfNlCHD/agent.13 [2022-01-18T01:20:56.168Z] SSH_AGENT_PID=19 [2022-01-18T01:20:56.174Z] Running ssh-add (command line suppressed) [2022-01-18T01:20:56.258Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1792364527119156974.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1792364527119156974.key) [2022-01-18T01:20:56.276Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-18T01:20:56.577Z] + git semver bump pre [2022-01-18T01:20:56.577Z] # -> Open(): unable to determine branch for HEAD [2022-01-18T01:20:56.577Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2022-01-18T01:20:56.577Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2022-01-18T01:20:56.577Z] # $SEMVER_REMOTE_NAME = origin [2022-01-18T01:20:56.577Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-18T01:20:56.577Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-18T01:20:56.577Z] # $SEMVER_BRANCH = main [2022-01-18T01:20:56.577Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-01-18T01:20:56.577Z] 2.2.0-dev.4 [Pipeline] } [2022-01-18T01:20:56.590Z] $ docker exec --env ******** --env ******** 1c45e08bbf5bbcc7254d9bd124c48ed3d324e8fc33deb838e10e6c7145f2d4d1 ssh-agent -k [2022-01-18T01:20:56.664Z] unset SSH_AUTH_SOCK; [2022-01-18T01:20:56.665Z] unset SSH_AGENT_PID; [2022-01-18T01:20:56.665Z] echo Agent pid 19 killed; [2022-01-18T01:20:56.676Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-18T01:20:56.991Z] + git semver [Pipeline] } [2022-01-18T01:20:57.008Z] $ docker stop --time=1 1c45e08bbf5bbcc7254d9bd124c48ed3d324e8fc33deb838e10e6c7145f2d4d1 [2022-01-18T01:20:58.185Z] $ docker rm -f 1c45e08bbf5bbcc7254d9bd124c48ed3d324e8fc33deb838e10e6c7145f2d4d1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-18T01:20:58.550Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-18T01:20:58.551Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-18T01:20:58.852Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-18T01:20:58.852Z] . [Pipeline] withDockerContainer [2022-01-18T01:20:58.913Z] prd-centos7-docker-4c-2g-1707 does not seem to be running inside a container [2022-01-18T01:20:58.946Z] $ 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-18T01:20:59.309Z] $ docker top 675c71d0ff129e854c8af639a2c7acaa281a0abae7173081c06731c3a0da6a26 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-18T01:20:59.401Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-18T01:20:59.401Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-18T01:20:59.508Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-18T01:20:59.509Z] $ docker exec 675c71d0ff129e854c8af639a2c7acaa281a0abae7173081c06731c3a0da6a26 ssh-agent [2022-01-18T01:20:59.605Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhIGEDE/agent.13 [2022-01-18T01:20:59.605Z] SSH_AGENT_PID=19 [2022-01-18T01:20:59.610Z] Running ssh-add (command line suppressed) [2022-01-18T01:20:59.697Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5422384958001927836.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5422384958001927836.key) [2022-01-18T01:20:59.711Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-18T01:21:00.014Z] + git semver push [2022-01-18T01:21:00.014Z] # -> Open(): unable to determine branch for HEAD [2022-01-18T01:21:00.014Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2022-01-18T01:21:00.014Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2022-01-18T01:21:00.014Z] # $SEMVER_REMOTE_NAME = origin [2022-01-18T01:21:00.014Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-18T01:21:00.014Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-18T01:21:00.014Z] # $SEMVER_BRANCH = main [2022-01-18T01:21:00.014Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } [2022-01-18T01:21:03.330Z] $ docker exec --env ******** --env ******** 675c71d0ff129e854c8af639a2c7acaa281a0abae7173081c06731c3a0da6a26 ssh-agent -k [2022-01-18T01:21:03.424Z] unset SSH_AUTH_SOCK; [2022-01-18T01:21:03.424Z] unset SSH_AGENT_PID; [2022-01-18T01:21:03.424Z] echo Agent pid 19 killed; [2022-01-18T01:21:03.439Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-18T01:21:03.763Z] + git semver [Pipeline] } [2022-01-18T01:21:03.785Z] $ docker stop --time=1 675c71d0ff129e854c8af639a2c7acaa281a0abae7173081c06731c3a0da6a26 [2022-01-18T01:21:04.971Z] $ docker rm -f 675c71d0ff129e854c8af639a2c7acaa281a0abae7173081c06731c3a0da6a26 [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-18T01:21:05.614Z] + '[' -d /w/workspace/edgexfoundry_device-rest-go_main/archives ']' [2022-01-18T01:21:05.614Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-01-18T01:21:05.614Z] total 8 [2022-01-18T01:21:05.614Z] drwxr-xr-x. 3 root root 34 Jan 18 01:12 . [2022-01-18T01:21:05.614Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 18 01:20 .. [2022-01-18T01:21:05.614Z] drwxr-xr-x. 2 root root 6 Jan 18 01:12 cost [2022-01-18T01:21:05.614Z] -rw-r--r--. 1 root root 84 Jan 18 01:12 cost.csv [2022-01-18T01:21:05.614Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-01-18T01:21:05.614Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-01-18T01:21:05.614Z] total 8 [2022-01-18T01:21:05.614Z] drwxr-xr-x. 3 jenkins jenkins 34 Jan 18 01:12 . [2022-01-18T01:21:05.614Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 18 01:20 .. [2022-01-18T01:21:05.614Z] drwxr-xr-x. 2 jenkins jenkins 6 Jan 18 01:12 cost [2022-01-18T01:21:05.614Z] -rw-r--r--. 1 jenkins jenkins 84 Jan 18 01:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-01-18T01:21:05.914Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-18T01:21:06.479Z] ---> package-listing.sh [2022-01-18T01:21:06.479Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-18T01:21:06.479Z] ++ facter osfamily [2022-01-18T01:21:06.741Z] + OS_FAMILY=redhat [2022-01-18T01:21:06.741Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2022-01-18T01:21:06.741Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-18T01:21:06.741Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-18T01:21:06.741Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-18T01:21:06.741Z] + PACKAGES=/tmp/packages_start.txt [2022-01-18T01:21:06.741Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-01-18T01:21:06.741Z] + PACKAGES=/tmp/packages_end.txt [2022-01-18T01:21:06.741Z] + case "${OS_FAMILY}" in [2022-01-18T01:21:06.741Z] + rpm -qa [2022-01-18T01:21:06.741Z] + sort [2022-01-18T01:21:07.316Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-18T01:21:07.316Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-18T01:21:07.316Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-18T01:21:07.316Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-01-18T01:21:07.316Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2022-01-18T01:21:07.316Z] + 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-18T01:21:07.327Z] 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-18T01:21:07.611Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-18T01:21:08.191Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-18T01:21:08.191Z] . [Pipeline] withDockerContainer [2022-01-18T01:21:08.264Z] prd-centos7-docker-4c-2g-1707 does not seem to be running inside a container [2022-01-18T01:21:08.303Z] $ 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-18T01:21:08.491Z] $ docker top f757980e79368a7c5928fd7fb01c374871adba6732b65bcb8870e9175a51da61 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-18T01:21:08.847Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-18T01:21:09.161Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-18T01:21:09.452Z] + ls /var/log/sa-host [2022-01-18T01:21:09.453Z] + sadf -c /var/log/sa-host/sa17 [2022-01-18T01:21:09.453Z] file_magic: OK [2022-01-18T01:21:09.453Z] HZ: Using current value: 100 [2022-01-18T01:21:09.453Z] file_header: OK [2022-01-18T01:21:09.453Z] 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-18T01:21:09.453Z] Statistics: [2022-01-18T01:21:09.453Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-18T01:21:09.453Z] File successfully converted to sysstat format version 12.0.3 [2022-01-18T01:21:09.453Z] + sadf -c /var/log/sa-host/sa18 [2022-01-18T01:21:09.453Z] file_magic: OK [2022-01-18T01:21:09.453Z] HZ: Using current value: 100 [2022-01-18T01:21:09.453Z] file_header: OK [2022-01-18T01:21:09.453Z] 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-18T01:21:09.453Z] Statistics: [2022-01-18T01:21:09.453Z] HRHnuu...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-18T01:21:09.453Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-18T01:21:09.673Z] provisioning config files... [2022-01-18T01:21:09.681Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7719406153036896162tmp [Pipeline] { [Pipeline] echo [2022-01-18T01:21:09.693Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-18T01:21:09.981Z] ---> create-netrc.sh [Pipeline] } [2022-01-18T01:21:09.993Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-18T01:21:10.343Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-18T01:21:10.353Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-18T01:21:10.648Z] ---> sudo-logs.sh [2022-01-18T01:21:10.648Z] Archiving 'sudo' log.. [2022-01-18T01:21:10.648Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1707.novalocal: Name or service not known [2022-01-18T01:21:10.648Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1707.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-18T01:21:10.673Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-18T01:21:10.974Z] ---> job-cost.sh [2022-01-18T01:21:10.974Z] lf-activate-venv: SKIPPING [2022-01-18T01:21:10.974Z] DEBUG: total: 0.05999999865889549 [2022-01-18T01:21:10.974Z] INFO: Retrieving Stack Cost... [2022-01-18T01:21:11.233Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-18T01:21:11.496Z] INFO: Archiving Costs [Pipeline] echo [2022-01-18T01:21:11.513Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-18T01:21:11.802Z] ---> logs-deploy.sh [2022-01-18T01:21:11.802Z] lf-activate-venv: SKIPPING [2022-01-18T01:21:11.802Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/23 [2022-01-18T01:21:11.802Z] INFO: archiving workspace using pattern(s): [2022-01-18T01:21:12.380Z] Archives upload complete. [2022-01-18T01:21:12.642Z] INFO: archiving logs to Nexus