Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 09739088bb3ccddf347dd8b212f45a4687ee065f Running in Durability level: PERFORMANCE_OPTIMIZED 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-ssh1210225919862640702.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a03e002eace0db65b27acd1444eb3c4392a49323 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-ssh7756118796617381432.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 a03e002eace0db65b27acd1444eb3c4392a49323 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-ssh8074661501762678830.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a03e002eace0db65b27acd1444eb3c4392a49323 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a03e002eace0db65b27acd1444eb3c4392a49323 # timeout=10 Commit message: "Merge pull request #364 from ernestojeda/fix-folder-name" > 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-ssh4806226892663472278.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-ssh9032015064455342393.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-222 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-ssh2994838139815415433.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 09739088bb3ccddf347dd8b212f45a4687ee065f (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 09739088bb3ccddf347dd8b212f45a4687ee065f # timeout=10 Commit message: "Merge pull request #143 from lenny-intel/latest-sdk" > git rev-list --no-walk 4ac6fc9b5edf904ed0b684cea51ffa3833345a1c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-11T20:41:33.004Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-11T20:41:33.286Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-11T20:41:33.387Z] ========================================================= [2021-11-11T20:41:33.387Z] EdgeX Global Pipelines Version Info [2021-11-11T20:41:33.387Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:41:34.556Z] ------------------- [2021-11-11T20:41:34.556Z] stable info: [2021-11-11T20:41:34.556Z] ------------------- [2021-11-11T20:41:34.556Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-11T20:41:34.556Z] Commit SHA: a03e002eace0db65b27acd1444eb3c4392a49323 [2021-11-11T20:41:34.556Z] Message: update stable to v1.0.213 [2021-11-11T20:41:35.129Z] ------------------- [2021-11-11T20:41:35.129Z] experimental info: [2021-11-11T20:41:35.129Z] ------------------- [2021-11-11T20:41:35.129Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-11T20:41:35.129Z] Commit SHA: a03e002eace0db65b27acd1444eb3c4392a49323 [2021-11-11T20:41:35.129Z] Message: update experimental to v1.0.213 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-11T20:41:35.210Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-11-11T20:41:35.219Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-11-11T20:41:35.227Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-11T20:41:35.242Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-11T20:41:35.252Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-11T20:41:35.262Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-11T20:41:35.272Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-11T20:41:35.285Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-11-11T20:41:35.300Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-11T20:41:35.310Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-11T20:41:35.322Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-11T20:41:35.333Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-11-11T20:41:35.343Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-11T20:41:35.353Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-11T20:41:35.363Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-11T20:41:35.372Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-11-11T20:41:35.383Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-11T20:41:35.393Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-11T20:41:35.402Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-11T20:41:35.409Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-11-11T20:41:35.417Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-11-11T20:41:35.431Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-11-11T20:41:35.441Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-11T20:41:35.451Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-11T20:41:35.460Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-11T20:41:35.471Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-11T20:41:35.482Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-11-11T20:41:35.492Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-11-11T20:41:35.506Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-11-11T20:41:35.519Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 09739088bb3ccddf347dd8b212f45a4687ee065f [Pipeline] echo [2021-11-11T20:41:35.529Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0973908 [Pipeline] echo [2021-11-11T20:41:35.539Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-11T20:41:35.574Z] provisioning config files... [2021-11-11T20:41:35.588Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2464337426599244256tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:41:35.895Z] ---> docker-login.sh [2021-11-11T20:41:35.895Z] nexus3.edgexfoundry.org:10001 [2021-11-11T20:41:35.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:41:36.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:41:36.155Z] Configure a credential helper to remove this warning. See [2021-11-11T20:41:36.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:41:36.155Z] [2021-11-11T20:41:36.155Z] Login Succeeded [2021-11-11T20:41:36.155Z] nexus3.edgexfoundry.org:10002 [2021-11-11T20:41:36.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:41:36.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:41:36.155Z] Configure a credential helper to remove this warning. See [2021-11-11T20:41:36.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:41:36.155Z] [2021-11-11T20:41:36.155Z] Login Succeeded [2021-11-11T20:41:36.155Z] nexus3.edgexfoundry.org:10003 [2021-11-11T20:41:36.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:41:36.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:41:36.155Z] Configure a credential helper to remove this warning. See [2021-11-11T20:41:36.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:41:36.155Z] [2021-11-11T20:41:36.155Z] Login Succeeded [2021-11-11T20:41:36.155Z] nexus3.edgexfoundry.org:10004 [2021-11-11T20:41:36.415Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:41:36.415Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:41:36.415Z] Configure a credential helper to remove this warning. See [2021-11-11T20:41:36.415Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:41:36.415Z] [2021-11-11T20:41:36.415Z] Login Succeeded [2021-11-11T20:41:36.415Z] docker.io [2021-11-11T20:41:36.415Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:41:36.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:41:36.675Z] Configure a credential helper to remove this warning. See [2021-11-11T20:41:36.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:41:36.675Z] [2021-11-11T20:41:36.675Z] Login Succeeded [2021-11-11T20:41:36.675Z] ---> docker-login.sh ends [Pipeline] } [2021-11-11T20:41:36.682Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-11T20:41:37.090Z] + git rev-list -1 --merges 09739088bb3ccddf347dd8b212f45a4687ee065f~1..09739088bb3ccddf347dd8b212f45a4687ee065f [Pipeline] echo [2021-11-11T20:41:37.123Z] -----------> git rev-list -1 --merges 09739088bb3ccddf347dd8b212f45a4687ee065f~1..09739088bb3ccddf347dd8b212f45a4687ee065f 09739088bb3ccddf347dd8b212f45a4687ee065f [2021-11-11T20:41:37.123Z] 09739088bb3ccddf347dd8b212f45a4687ee065f [false] [Pipeline] sh [2021-11-11T20:41:37.417Z] + git log --format=format:%s -1 09739088bb3ccddf347dd8b212f45a4687ee065f [Pipeline] echo [2021-11-11T20:41:37.429Z] ========================================================= [2021-11-11T20:41:37.429Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-11T20:41:37.429Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-11T20:41:37.759Z] + git log --format=format:%s -1 09739088bb3ccddf347dd8b212f45a4687ee065f [Pipeline] echo [2021-11-11T20:41:37.771Z] [semverPrep] GIT_COMMIT: 09739088bb3ccddf347dd8b212f45a4687ee065f, Commit Message: Merge pull request #143 from lenny-intel/latest-sdk [Pipeline] echo [2021-11-11T20:41:37.781Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:41:38.349Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-11T20:41:38.349Z] [2021-11-11T20:41:38.349Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:41:38.652Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-11T20:41:38.652Z] latest: Pulling from edgex-devops/git-semver [2021-11-11T20:41:38.652Z] a0d0a0d46f8b: Pulling fs layer [2021-11-11T20:41:38.652Z] 3e5f54012d9b: Pulling fs layer [2021-11-11T20:41:38.652Z] 4c7163046ea9: Pulling fs layer [2021-11-11T20:41:38.652Z] 0c2d73faf560: Pulling fs layer [2021-11-11T20:41:38.652Z] 0c2d73faf560: Waiting [2021-11-11T20:41:38.652Z] 3e5f54012d9b: Verifying Checksum [2021-11-11T20:41:38.652Z] 3e5f54012d9b: Download complete [2021-11-11T20:41:38.652Z] a0d0a0d46f8b: Verifying Checksum [2021-11-11T20:41:38.652Z] a0d0a0d46f8b: Download complete [2021-11-11T20:41:38.652Z] 4c7163046ea9: Verifying Checksum [2021-11-11T20:41:38.652Z] 4c7163046ea9: Download complete [2021-11-11T20:41:38.652Z] 0c2d73faf560: Verifying Checksum [2021-11-11T20:41:38.652Z] 0c2d73faf560: Download complete [2021-11-11T20:41:38.911Z] a0d0a0d46f8b: Pull complete [2021-11-11T20:41:38.911Z] 3e5f54012d9b: Pull complete [2021-11-11T20:41:39.174Z] 4c7163046ea9: Pull complete [2021-11-11T20:41:39.434Z] 0c2d73faf560: Pull complete [2021-11-11T20:41:39.434Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-11T20:41:39.434Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-11T20:41:39.434Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-11T20:41:39.500Z] prd-centos7-docker-4c-2g-222 does not seem to be running inside a container [2021-11-11T20:41:39.235Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-11T20:41:39.741Z] $ docker top c36934dd1b6ef1d7aa15f8ccedfb995717125cbf8df5cfb39107e81d45041b14 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-11T20:41:46.622Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-11T20:41:46.622Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-11T20:41:46.727Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-11T20:41:46.730Z] $ docker exec c36934dd1b6ef1d7aa15f8ccedfb995717125cbf8df5cfb39107e81d45041b14 ssh-agent [2021-11-11T20:41:46.831Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhlNkgc/agent.15 [2021-11-11T20:41:46.831Z] SSH_AGENT_PID=21 [2021-11-11T20:41:46.839Z] Running ssh-add (command line suppressed) [2021-11-11T20:41:46.931Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7130246678123222074.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7130246678123222074.key) [2021-11-11T20:41:46.943Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-11T20:41:47.243Z] + git tag --points-at HEAD [Pipeline] } [2021-11-11T20:41:47.256Z] $ docker exec --env ******** --env ******** c36934dd1b6ef1d7aa15f8ccedfb995717125cbf8df5cfb39107e81d45041b14 ssh-agent -k [2021-11-11T20:41:47.342Z] unset SSH_AUTH_SOCK; [2021-11-11T20:41:47.343Z] unset SSH_AGENT_PID; [2021-11-11T20:41:47.343Z] echo Agent pid 21 killed; [2021-11-11T20:41:47.352Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-11T20:41:47.558Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-11T20:41:47.558Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-11T20:41:47.668Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-11T20:41:47.670Z] $ docker exec c36934dd1b6ef1d7aa15f8ccedfb995717125cbf8df5cfb39107e81d45041b14 ssh-agent [2021-11-11T20:41:47.770Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXiCmgod/agent.55 [2021-11-11T20:41:47.770Z] SSH_AGENT_PID=62 [2021-11-11T20:41:47.776Z] Running ssh-add (command line suppressed) [2021-11-11T20:41:47.875Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9156230015243663194.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9156230015243663194.key) [2021-11-11T20:41:47.890Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-11T20:41:48.181Z] + git semver init [2021-11-11T20:41:48.181Z] # -> Open(): unable to determine branch for HEAD [2021-11-11T20:41:48.181Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-11-11T20:41:48.181Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-11-11T20:41:48.181Z] # $SEMVER_REMOTE_NAME = origin [2021-11-11T20:41:48.181Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-11T20:41:48.181Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-11T20:41:48.181Z] # $SEMVER_BRANCH = main [2021-11-11T20:41:48.181Z] # $SEMVER_TEMP = /tmp/semver-341224593 [2021-11-11T20:41:48.181Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-11-11T20:41:49.131Z] # '/tmp/semver-341224593' -> '/w/workspace/edgexfoundry_device-rest-go_main/.semver' [2021-11-11T20:41:49.131Z] # -> Force: false [2021-11-11T20:41:49.131Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } [2021-11-11T20:41:49.141Z] $ docker exec --env ******** --env ******** c36934dd1b6ef1d7aa15f8ccedfb995717125cbf8df5cfb39107e81d45041b14 ssh-agent -k [2021-11-11T20:41:49.238Z] unset SSH_AUTH_SOCK; [2021-11-11T20:41:49.239Z] unset SSH_AGENT_PID; [2021-11-11T20:41:49.239Z] echo Agent pid 62 killed; [2021-11-11T20:41:49.249Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-11T20:41:49.552Z] + git semver [Pipeline] } [2021-11-11T20:41:49.566Z] $ docker stop --time=1 c36934dd1b6ef1d7aa15f8ccedfb995717125cbf8df5cfb39107e81d45041b14 [2021-11-11T20:41:50.796Z] $ docker rm -f c36934dd1b6ef1d7aa15f8ccedfb995717125cbf8df5cfb39107e81d45041b14 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-11T20:41:51.133Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-11T20:41:51.357Z] Stashed 1 file(s) [Pipeline] echo [2021-11-11T20:41:51.360Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.13 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-11-11T20:42:06.560Z] Still waiting to schedule task [2021-11-11T20:42:06.560Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-11-11T20:42:06.562Z] Still waiting to schedule task [2021-11-11T20:42:06.563Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-11-11T20:43:33.162Z] Running on prd-centos7-docker-4c-2g-226 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2021-11-11T20:43:33.172Z] Running in /w/workspace/device-rest-go/18 [Pipeline] { [Pipeline] checkout [2021-11-11T20:43:33.293Z] The recommended git tool is: git [2021-11-11T20:43:35.377Z] using credential edgex-jenkins-ssh [2021-11-11T20:43:35.863Z] Cloning the remote Git repository [2021-11-11T20:43:35.614Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-11-11T20:43:35.683Z] > git init /w/workspace/device-rest-go/18 # timeout=10 [2021-11-11T20:43:35.731Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-11-11T20:43:35.731Z] > git --version # timeout=10 [2021-11-11T20:43:35.742Z] > git --version # 'git version 2.24.4' [2021-11-11T20:43:35.743Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-11T20:43:35.775Z] [INFO] Currently running in a labeled security context [2021-11-11T20:43:35.775Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-11T20:43:35.775Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/18@tmp/jenkins-gitclient-ssh6278572535725063691.key [2021-11-11T20:43:35.802Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-11T20:43:36.925Z] Avoid second fetch [2021-11-11T20:43:36.926Z] Checking out Revision 09739088bb3ccddf347dd8b212f45a4687ee065f (main) [2021-11-11T20:43:36.714Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-11-11T20:43:36.729Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-11T20:43:36.753Z] > git config core.sparsecheckout # timeout=10 [2021-11-11T20:43:36.763Z] > git checkout -f 09739088bb3ccddf347dd8b212f45a4687ee065f # timeout=10 [2021-11-11T20:43:40.394Z] Commit message: "Merge pull request #143 from lenny-intel/latest-sdk" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-11T20:43:40.680Z] provisioning config files... [2021-11-11T20:43:40.692Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/18@tmp/config6932129031547469534tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:43:41.070Z] ---> docker-login.sh [2021-11-11T20:43:41.070Z] nexus3.edgexfoundry.org:10001 [2021-11-11T20:43:41.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:43:41.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:43:41.070Z] Configure a credential helper to remove this warning. See [2021-11-11T20:43:41.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:43:41.070Z] [2021-11-11T20:43:41.070Z] Login Succeeded [2021-11-11T20:43:41.070Z] nexus3.edgexfoundry.org:10002 [2021-11-11T20:43:41.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:43:41.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:43:41.342Z] Configure a credential helper to remove this warning. See [2021-11-11T20:43:41.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:43:41.342Z] [2021-11-11T20:43:41.342Z] Login Succeeded [2021-11-11T20:43:41.342Z] nexus3.edgexfoundry.org:10003 [2021-11-11T20:43:41.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:43:41.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:43:41.342Z] Configure a credential helper to remove this warning. See [2021-11-11T20:43:41.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:43:41.342Z] [2021-11-11T20:43:41.342Z] Login Succeeded [2021-11-11T20:43:41.342Z] nexus3.edgexfoundry.org:10004 [2021-11-11T20:43:41.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:43:41.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:43:41.605Z] Configure a credential helper to remove this warning. See [2021-11-11T20:43:41.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:43:41.605Z] [2021-11-11T20:43:41.605Z] Login Succeeded [2021-11-11T20:43:41.605Z] docker.io [2021-11-11T20:43:41.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:43:41.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:43:41.868Z] Configure a credential helper to remove this warning. See [2021-11-11T20:43:41.868Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:43:41.868Z] [2021-11-11T20:43:41.868Z] Login Succeeded [2021-11-11T20:43:41.868Z] ---> docker-login.sh ends [Pipeline] } [2021-11-11T20:43:41.894Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-11T20:43:42.033Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-11T20:43:42.042Z] ========================================================= [2021-11-11T20:43:42.042Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-11T20:43:42.042Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:43:42.418Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-11-11T20:43:42.418Z] Sending build context to Docker daemon 119.3kB [2021-11-11T20:43:42.418Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-11-11T20:43:42.418Z] Step 2/11 : FROM ${BASE} AS builder [2021-11-11T20:43:42.418Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-11T20:43:42.418Z] a0d0a0d46f8b: Pulling fs layer [2021-11-11T20:43:42.418Z] 31adcdaf11c8: Pulling fs layer [2021-11-11T20:43:42.418Z] b8b176561691: Pulling fs layer [2021-11-11T20:43:42.418Z] 4527c011a84f: Pulling fs layer [2021-11-11T20:43:42.418Z] 5d74067f8e1e: Pulling fs layer [2021-11-11T20:43:42.418Z] e0aca202a116: Pulling fs layer [2021-11-11T20:43:42.418Z] 3a43be97a3b4: Pulling fs layer [2021-11-11T20:43:42.418Z] 34cad66bf833: Pulling fs layer [2021-11-11T20:43:42.418Z] b4e3c513aaa6: Pulling fs layer [2021-11-11T20:43:42.418Z] 4527c011a84f: Waiting [2021-11-11T20:43:42.418Z] 5d74067f8e1e: Waiting [2021-11-11T20:43:42.418Z] e0aca202a116: Waiting [2021-11-11T20:43:42.418Z] 3a43be97a3b4: Waiting [2021-11-11T20:43:42.418Z] 34cad66bf833: Waiting [2021-11-11T20:43:42.418Z] b4e3c513aaa6: Waiting [2021-11-11T20:43:42.418Z] b8b176561691: Verifying Checksum [2021-11-11T20:43:42.418Z] b8b176561691: Download complete [2021-11-11T20:43:42.418Z] 31adcdaf11c8: Verifying Checksum [2021-11-11T20:43:42.418Z] 31adcdaf11c8: Download complete [2021-11-11T20:43:42.418Z] 5d74067f8e1e: Verifying Checksum [2021-11-11T20:43:42.418Z] 5d74067f8e1e: Download complete [2021-11-11T20:43:42.688Z] e0aca202a116: Verifying Checksum [2021-11-11T20:43:42.688Z] e0aca202a116: Download complete [2021-11-11T20:43:42.688Z] a0d0a0d46f8b: Verifying Checksum [2021-11-11T20:43:42.688Z] a0d0a0d46f8b: Download complete [2021-11-11T20:43:42.688Z] 3a43be97a3b4: Verifying Checksum [2021-11-11T20:43:42.688Z] 3a43be97a3b4: Download complete [2021-11-11T20:43:42.688Z] 34cad66bf833: Verifying Checksum [2021-11-11T20:43:42.688Z] 34cad66bf833: Download complete [2021-11-11T20:43:42.952Z] a0d0a0d46f8b: Pull complete [2021-11-11T20:43:43.218Z] 4527c011a84f: Verifying Checksum [2021-11-11T20:43:43.218Z] 4527c011a84f: Download complete [2021-11-11T20:43:43.218Z] 31adcdaf11c8: Pull complete [2021-11-11T20:43:43.218Z] b4e3c513aaa6: Verifying Checksum [2021-11-11T20:43:43.218Z] b4e3c513aaa6: Download complete [2021-11-11T20:43:43.479Z] b8b176561691: Pull complete [2021-11-11T20:43:47.702Z] 4527c011a84f: Pull complete [2021-11-11T20:43:47.702Z] 5d74067f8e1e: Pull complete [2021-11-11T20:43:47.702Z] e0aca202a116: Pull complete [2021-11-11T20:43:47.702Z] 3a43be97a3b4: Pull complete [2021-11-11T20:43:47.702Z] 34cad66bf833: Pull complete [2021-11-11T20:43:50.277Z] b4e3c513aaa6: Pull complete [2021-11-11T20:43:50.277Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-11T20:43:50.277Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-11T20:43:50.277Z] ---> 9f6097aaca64 [2021-11-11T20:43:50.277Z] Step 3/11 : ARG MAKE='make build' [2021-11-11T20:43:51.249Z] ---> Running in cd60ea9fe45a [2021-11-11T20:43:51.512Z] Removing intermediate container cd60ea9fe45a [2021-11-11T20:43:51.512Z] ---> f2434be96342 [2021-11-11T20:43:51.512Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-11T20:43:51.512Z] ---> Running in 2a007b83dd27 [2021-11-11T20:43:51.512Z] Removing intermediate container 2a007b83dd27 [2021-11-11T20:43:51.512Z] ---> 6ad068bc4c2d [2021-11-11T20:43:51.512Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-11-11T20:43:51.512Z] ---> Running in 275dc730ad7b [2021-11-11T20:43:51.777Z] Removing intermediate container 275dc730ad7b [2021-11-11T20:43:51.777Z] ---> 634f82513fbb [2021-11-11T20:43:51.777Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-11T20:43:51.777Z] ---> Running in f461b92505b3 [2021-11-11T20:43:52.353Z] Removing intermediate container f461b92505b3 [2021-11-11T20:43:52.353Z] ---> 714db349e351 [2021-11-11T20:43:52.353Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-11T20:43:52.353Z] ---> Running in fcab09f85b6c [2021-11-11T20:43:52.353Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-11T20:43:53.299Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-11T20:43:53.559Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-11-11T20:43:53.819Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-11-11T20:43:53.819Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-11-11T20:43:53.819Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-11-11T20:43:54.094Z] Executing busybox-1.33.1-r3.trigger [2021-11-11T20:43:54.094Z] OK: 224 MiB in 56 packages [2021-11-11T20:43:54.366Z] Removing intermediate container fcab09f85b6c [2021-11-11T20:43:54.366Z] ---> 88448c38de30 [2021-11-11T20:43:54.366Z] Step 8/11 : WORKDIR /device-rest-go [2021-11-11T20:43:54.366Z] ---> Running in 27da8cb65cee [2021-11-11T20:43:54.366Z] Removing intermediate container 27da8cb65cee [2021-11-11T20:43:54.366Z] ---> 1c4577192525 [2021-11-11T20:43:54.366Z] Step 9/11 : COPY . . [2021-11-11T20:43:54.627Z] ---> fee2bfea2977 [2021-11-11T20:43:54.627Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-11T20:43:54.627Z] ---> Running in 316e52c83f16 [2021-11-11T20:44:26.793Z] Removing intermediate container 316e52c83f16 [2021-11-11T20:44:26.793Z] ---> 958c1aeaea72 [2021-11-11T20:44:26.793Z] Step 11/11 : RUN $MAKE [2021-11-11T20:44:26.793Z] ---> Running in 8b3c968379d5 [2021-11-11T20:44:26.793Z] noop [2021-11-11T20:44:26.793Z] Removing intermediate container 8b3c968379d5 [2021-11-11T20:44:26.793Z] ---> 8b0afe3792c8 [2021-11-11T20:44:26.793Z] Successfully built 8b0afe3792c8 [2021-11-11T20:44:26.793Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:44:27.094Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-11T20:44:27.095Z] . [Pipeline] withDockerContainer [2021-11-11T20:44:27.170Z] prd-centos7-docker-4c-2g-226 does not seem to be running inside a container [2021-11-11T20:44:27.206Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/18 -v /w/workspace/device-rest-go/18:/w/workspace/device-rest-go/18:rw,z -v /w/workspace/device-rest-go/18@tmp:/w/workspace/device-rest-go/18@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 [2021-11-11T20:44:27.523Z] $ docker top 7da2a0fcc76336d7ec70d0bae861a655bd87b7e5a50a66edbb3ab552dfea7462 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-11T20:44:27.885Z] + go version [2021-11-11T20:44:27.885Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-11T20:44:27.896Z] $ docker stop --time=1 7da2a0fcc76336d7ec70d0bae861a655bd87b7e5a50a66edbb3ab552dfea7462 [2021-11-11T20:44:29.082Z] $ docker rm -f 7da2a0fcc76336d7ec70d0bae861a655bd87b7e5a50a66edbb3ab552dfea7462 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:44:29.581Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-11T20:44:29.582Z] . [Pipeline] withDockerContainer [2021-11-11T20:44:29.648Z] prd-centos7-docker-4c-2g-226 does not seem to be running inside a container [2021-11-11T20:44:29.684Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/18 -v /w/workspace/device-rest-go/18:/w/workspace/device-rest-go/18:rw,z -v /w/workspace/device-rest-go/18@tmp:/w/workspace/device-rest-go/18@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 [2021-11-11T20:44:30.023Z] $ docker top 9eba9aeb5bdc2acfa07883967b452a6a766817ed09cc3891ceaf026c30a4d5aa -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-11T20:44:30.390Z] + make test [2021-11-11T20:44:30.390Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-11-11T20:44:30.656Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-11-11T20:44:48.929Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-11-11T20:44:48.929Z] ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 53.8% of statements [2021-11-11T20:44:48.929Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-11T20:44:57.173Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-11T20:44:57.173Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-11T20:44:57.173Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-11T20:44:57.185Z] $ docker stop --time=1 9eba9aeb5bdc2acfa07883967b452a6a766817ed09cc3891ceaf026c30a4d5aa [2021-11-11T20:44:58.587Z] $ docker rm -f 9eba9aeb5bdc2acfa07883967b452a6a766817ed09cc3891ceaf026c30a4d5aa [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-11T20:44:58.977Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-11T20:44:59.154Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-11-11T20:44:59.799Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-11T20:45:00.089Z] + ls -al . [2021-11-11T20:45:00.089Z] total 144 [2021-11-11T20:45:00.089Z] drwxrwxr-x. 8 jenkins jenkins 4096 Nov 11 20:44 . [2021-11-11T20:45:00.089Z] drwxrwxr-x. 4 jenkins jenkins 30 Nov 11 20:43 .. [2021-11-11T20:45:00.089Z] -rw-rw-r--. 1 jenkins jenkins 7095 Nov 11 20:43 Attribution.txt [2021-11-11T20:45:00.089Z] drwxrwxr-x. 2 jenkins jenkins 37 Nov 11 20:43 bin [2021-11-11T20:45:00.089Z] -rw-rw-r--. 1 jenkins jenkins 7459 Nov 11 20:43 CHANGELOG.md [2021-11-11T20:45:00.089Z] drwxrwxr-x. 3 jenkins jenkins 32 Nov 11 20:43 cmd [2021-11-11T20:45:00.089Z] -rw-r--r--. 1 jenkins jenkins 8435 Nov 11 20:44 coverage.out [2021-11-11T20:45:00.089Z] -rw-rw-r--. 1 jenkins jenkins 1649 Nov 11 20:43 Dockerfile [2021-11-11T20:45:00.089Z] -rw-rw-r--. 1 jenkins jenkins 151 Nov 11 20:43 .dockerignore [2021-11-11T20:45:00.089Z] drwxrwxr-x. 2 jenkins jenkins 76 Nov 11 20:43 driver [2021-11-11T20:45:00.089Z] drwxrwxr-x. 8 jenkins jenkins 162 Nov 11 20:43 .git [2021-11-11T20:45:00.089Z] drwxrwxr-x. 2 jenkins jenkins 103 Nov 11 20:43 .github [2021-11-11T20:45:00.089Z] -rw-rw-r--. 1 jenkins jenkins 329 Nov 11 20:43 .gitignore [2021-11-11T20:45:00.089Z] -rw-rw-r--. 1 jenkins jenkins 278 Nov 11 20:43 go.mod [2021-11-11T20:45:00.089Z] -rw-rw-r--. 1 jenkins jenkins 49500 Nov 11 20:43 go.sum [2021-11-11T20:45:00.089Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 11 20:43 GOVERNANCE.md [2021-11-11T20:45:00.089Z] -rw-rw-r--. 1 jenkins jenkins 680 Nov 11 20:43 Jenkinsfile [2021-11-11T20:45:00.089Z] -rw-rw-r--. 1 jenkins jenkins 11340 Nov 11 20:43 LICENSE [2021-11-11T20:45:00.089Z] -rw-rw-r--. 1 jenkins jenkins 1078 Nov 11 20:43 Makefile [2021-11-11T20:45:00.089Z] -rw-rw-r--. 1 jenkins jenkins 620 Nov 11 20:43 OWNERS.md [2021-11-11T20:45:00.089Z] -rw-rw-r--. 1 jenkins jenkins 7661 Nov 11 20:43 README.md [2021-11-11T20:45:00.089Z] drwxrwxr-x. 4 jenkins jenkins 71 Nov 11 20:43 snap [2021-11-11T20:45:00.089Z] -rw-rw-r--. 1 jenkins jenkins 12 Nov 11 20:41 VERSION [2021-11-11T20:45:00.089Z] -rw-rw-r--. 1 jenkins jenkins 713 Nov 11 20:43 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:45:00.388Z] + 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=09739088bb3ccddf347dd8b212f45a4687ee065f --label arch=amd64 --label version=2.0.1-dev.13 . [2021-11-11T20:45:00.388Z] Sending build context to Docker daemon 128.5kB [2021-11-11T20:45:00.388Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-11T20:45:00.388Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-11T20:45:00.388Z] ---> 8b0afe3792c8 [2021-11-11T20:45:00.388Z] Step 3/24 : ARG MAKE='make build' [2021-11-11T20:45:00.388Z] ---> Running in c58ddce0d66f [2021-11-11T20:45:00.388Z] Removing intermediate container c58ddce0d66f [2021-11-11T20:45:00.388Z] ---> a5886f630475 [2021-11-11T20:45:00.388Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-11T20:45:00.388Z] ---> Running in ecad49b26b46 [2021-11-11T20:45:00.648Z] Removing intermediate container ecad49b26b46 [2021-11-11T20:45:00.648Z] ---> ddacf8d6f5f5 [2021-11-11T20:45:00.648Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-11-11T20:45:00.648Z] ---> Running in ba576e1e61bb [2021-11-11T20:45:00.648Z] Removing intermediate container ba576e1e61bb [2021-11-11T20:45:00.648Z] ---> 47bb5e0f10bc [2021-11-11T20:45:00.648Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-11T20:45:00.648Z] ---> Running in ea303c61fe44 [2021-11-11T20:45:01.226Z] Removing intermediate container ea303c61fe44 [2021-11-11T20:45:01.226Z] ---> 4624066e97dc [2021-11-11T20:45:01.226Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-11T20:45:01.226Z] ---> Running in e8b5d3aa40b1 [2021-11-11T20:45:01.485Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-11T20:45:02.432Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-11T20:45:02.701Z] OK: 224 MiB in 56 packages [2021-11-11T20:45:02.963Z] Removing intermediate container e8b5d3aa40b1 [2021-11-11T20:45:02.963Z] ---> a3e77d22a5fe [2021-11-11T20:45:02.963Z] Step 8/24 : WORKDIR /device-rest-go [2021-11-11T20:45:02.963Z] ---> Running in f028d0370696 [2021-11-11T20:45:02.963Z] Removing intermediate container f028d0370696 [2021-11-11T20:45:02.963Z] ---> 6336e1b79238 [2021-11-11T20:45:02.963Z] Step 9/24 : COPY . . [2021-11-11T20:45:03.224Z] ---> 647b9ca87bfd [2021-11-11T20:45:03.224Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-11T20:45:03.224Z] ---> Running in e77022dc484a [2021-11-11T20:45:03.801Z] Removing intermediate container e77022dc484a [2021-11-11T20:45:03.801Z] ---> ab60cca78d8b [2021-11-11T20:45:03.801Z] Step 11/24 : RUN $MAKE [2021-11-11T20:45:03.801Z] ---> Running in bd77225095fa [2021-11-11T20:45:04.070Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.0.1-dev.13" -o cmd/device-rest ./cmd [2021-11-11T20:45:04.476Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-227 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2021-11-11T20:45:04.490Z] Running in /w/workspace/device-rest-go/18 [Pipeline] { [Pipeline] checkout [2021-11-11T20:45:04.703Z] The recommended git tool is: git [2021-11-11T20:45:10.399Z] using credential edgex-jenkins-ssh [2021-11-11T20:45:10.420Z] Cloning the remote Git repository [2021-11-11T20:45:10.476Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-11-11T20:45:10.694Z] > git init /w/workspace/device-rest-go/18 # timeout=10 [2021-11-11T20:45:10.888Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-11-11T20:45:10.889Z] > git --version # timeout=10 [2021-11-11T20:45:10.913Z] > git --version # 'git version 2.17.1' [2021-11-11T20:45:10.915Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-11T20:45:11.008Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-11T20:45:12.545Z] Avoid second fetch [2021-11-11T20:45:12.546Z] Checking out Revision 09739088bb3ccddf347dd8b212f45a4687ee065f (main) [2021-11-11T20:45:12.492Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-11-11T20:45:12.526Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-11T20:45:12.566Z] > git config core.sparsecheckout # timeout=10 [2021-11-11T20:45:12.577Z] > git checkout -f 09739088bb3ccddf347dd8b212f45a4687ee065f # timeout=10 [2021-11-11T20:45:16.387Z] Removing intermediate container bd77225095fa [2021-11-11T20:45:16.387Z] ---> 6cd33818e84d [2021-11-11T20:45:16.387Z] Step 12/24 : FROM alpine:3.14 [2021-11-11T20:45:16.809Z] Commit message: "Merge pull request #143 from lenny-intel/latest-sdk" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-11T20:45:17.628Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-11T20:45:17.628Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-11T20:45:17.628Z] Dload Upload Total Spent Left Speed [2021-11-11T20:45:17.628Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 195k 0 --:--:-- --:--:-- --:--:-- 195k [Pipeline] sh [2021-11-11T20:45:18.055Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-11T20:45:18.402Z] + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-11T20:45:18.402Z] sudo tee /etc/docker/daemon.new [2021-11-11T20:45:18.402Z] { [2021-11-11T20:45:18.402Z] "registry-mirrors": [ [2021-11-11T20:45:18.402Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-11T20:45:18.402Z] ], [2021-11-11T20:45:18.402Z] "bip": "10.250.0.254/24", [2021-11-11T20:45:18.402Z] "hosts": [ [2021-11-11T20:45:18.402Z] "tcp://0.0.0.0:5555", [2021-11-11T20:45:18.402Z] "unix:///var/run/docker.sock" [2021-11-11T20:45:18.402Z] ], [2021-11-11T20:45:18.402Z] "mtu": 1458, [2021-11-11T20:45:18.402Z] "selinux-enabled": true, [2021-11-11T20:45:18.402Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-11T20:45:18.402Z] } [Pipeline] sh [2021-11-11T20:45:18.753Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-11T20:45:18.925Z] 3.14: Pulling from library/alpine [2021-11-11T20:45:19.094Z] + sudo service docker restart [2021-11-11T20:45:19.185Z] a0d0a0d46f8b: Already exists [2021-11-11T20:45:19.447Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-11T20:45:19.447Z] Status: Downloaded newer image for alpine:3.14 [2021-11-11T20:45:19.447Z] ---> 14119a10abf4 [2021-11-11T20:45:19.447Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-11-11T20:45:19.447Z] ---> Running in 3abbc730be84 [2021-11-11T20:45:19.447Z] Removing intermediate container 3abbc730be84 [2021-11-11T20:45:19.447Z] ---> e6239aee16fe [2021-11-11T20:45:19.447Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-11-11T20:45:19.447Z] ---> Running in af6603128983 [2021-11-11T20:45:19.447Z] Removing intermediate container af6603128983 [2021-11-11T20:45:19.447Z] ---> 324c2742fb20 [2021-11-11T20:45:19.447Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-11-11T20:45:19.708Z] ---> Running in 8ab631a9382e [2021-11-11T20:45:19.968Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-11T20:45:19.968Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-11T20:45:19.968Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-11-11T20:45:19.968Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-11-11T20:45:19.968Z] (3/6) Installing libsodium (1.0.18-r0) [2021-11-11T20:45:19.968Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-11T20:45:20.227Z] (5/6) Installing libzmq (4.3.4-r0) [2021-11-11T20:45:20.227Z] (6/6) Installing zeromq (4.3.4-r0) [2021-11-11T20:45:20.227Z] Executing busybox-1.33.1-r3.trigger [2021-11-11T20:45:20.227Z] OK: 8 MiB in 20 packages [2021-11-11T20:45:20.487Z] Removing intermediate container 8ab631a9382e [2021-11-11T20:45:20.487Z] ---> 4cc7e363dab3 [2021-11-11T20:45:20.487Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-11-11T20:45:20.757Z] ---> 63798c300b5c [2021-11-11T20:45:20.757Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-11-11T20:45:20.757Z] ---> 4260484e116f [2021-11-11T20:45:20.757Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-11-11T20:45:21.018Z] ---> 1d41e0464455 [2021-11-11T20:45:21.018Z] Step 19/24 : EXPOSE 59986 [2021-11-11T20:45:21.018Z] ---> Running in 6663ffea374f [2021-11-11T20:45:21.018Z] Removing intermediate container 6663ffea374f [2021-11-11T20:45:21.018Z] ---> 8aaef9a4c997 [2021-11-11T20:45:21.018Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2021-11-11T20:45:21.018Z] ---> Running in 0d99ee155d02 [2021-11-11T20:45:21.277Z] Removing intermediate container 0d99ee155d02 [2021-11-11T20:45:21.277Z] ---> 0a769660a645 [2021-11-11T20:45:21.277Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-11-11T20:45:21.277Z] ---> Running in b3b85f46c944 [2021-11-11T20:45:21.277Z] Removing intermediate container b3b85f46c944 [2021-11-11T20:45:21.277Z] ---> e7f4827b12db [2021-11-11T20:45:21.277Z] Step 22/24 : LABEL arch=amd64 [2021-11-11T20:45:21.277Z] ---> Running in 6c0ab59e2947 [2021-11-11T20:45:21.277Z] Removing intermediate container 6c0ab59e2947 [2021-11-11T20:45:21.277Z] ---> 2a010d887df5 [2021-11-11T20:45:21.277Z] Step 23/24 : LABEL git_sha=09739088bb3ccddf347dd8b212f45a4687ee065f [2021-11-11T20:45:21.538Z] ---> Running in 4cd0613159e0 [2021-11-11T20:45:21.538Z] Removing intermediate container 4cd0613159e0 [2021-11-11T20:45:21.538Z] ---> 4ee60d9dad83 [2021-11-11T20:45:21.538Z] Step 24/24 : LABEL version=2.0.1-dev.13 [2021-11-11T20:45:21.538Z] ---> Running in f8f3e28d33b9 [2021-11-11T20:45:21.538Z] Removing intermediate container f8f3e28d33b9 [2021-11-11T20:45:21.538Z] ---> 6bba5475ae73 [2021-11-11T20:45:21.539Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-11T20:45:21.539Z] Successfully built 6bba5475ae73 [2021-11-11T20:45:21.539Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-11T20:45:21.712Z] provisioning config files... [2021-11-11T20:45:21.722Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/18@tmp/config4246920850945761374tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:45:22.028Z] ---> docker-login.sh [2021-11-11T20:45:22.028Z] nexus3.edgexfoundry.org:10001 [2021-11-11T20:45:22.028Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:45:22.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:45:22.028Z] Configure a credential helper to remove this warning. See [2021-11-11T20:45:22.028Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:45:22.028Z] [2021-11-11T20:45:22.028Z] Login Succeeded [2021-11-11T20:45:22.028Z] nexus3.edgexfoundry.org:10002 [2021-11-11T20:45:22.028Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:45:22.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:45:22.028Z] Configure a credential helper to remove this warning. See [2021-11-11T20:45:22.028Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:45:22.028Z] [2021-11-11T20:45:22.028Z] Login Succeeded [2021-11-11T20:45:22.028Z] nexus3.edgexfoundry.org:10003 [2021-11-11T20:45:22.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:45:22.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:45:22.296Z] Configure a credential helper to remove this warning. See [2021-11-11T20:45:22.296Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:45:22.296Z] [2021-11-11T20:45:22.296Z] Login Succeeded [2021-11-11T20:45:22.296Z] nexus3.edgexfoundry.org:10004 [2021-11-11T20:45:22.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:45:22.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:45:22.296Z] Configure a credential helper to remove this warning. See [2021-11-11T20:45:22.296Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:45:22.296Z] [2021-11-11T20:45:22.296Z] Login Succeeded [2021-11-11T20:45:22.296Z] docker.io [2021-11-11T20:45:22.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:45:22.819Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:45:22.819Z] Configure a credential helper to remove this warning. See [2021-11-11T20:45:22.819Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:45:22.819Z] [2021-11-11T20:45:22.819Z] Login Succeeded [2021-11-11T20:45:22.819Z] ---> docker-login.sh ends [Pipeline] } [2021-11-11T20:45:22.826Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-11T20:45:22.855Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-11T20:45:22.872Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2021-11-11T20:45:22.872Z] 09739088bb3ccddf347dd8b212f45a4687ee065f [2021-11-11T20:45:22.872Z] latest [2021-11-11T20:45:22.872Z] 2.0.1-dev.13 [2021-11-11T20:45:22.872Z] 09739088bb3ccddf347dd8b212f45a4687ee065f-2.0.1-dev.13 [2021-11-11T20:45:22.872Z] main [2021-11-11T20:45:22.872Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:45:23.190Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:09739088bb3ccddf347dd8b212f45a4687ee065f [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:45:23.487Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:09739088bb3ccddf347dd8b212f45a4687ee065f [2021-11-11T20:45:23.487Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-11-11T20:45:23.487Z] 9a6df76d8a11: Preparing [2021-11-11T20:45:23.487Z] e9f982d41add: Preparing [2021-11-11T20:45:23.487Z] 676c30b42690: Preparing [2021-11-11T20:45:23.487Z] 02c5f7044ec7: Preparing [2021-11-11T20:45:23.487Z] e2eb06d8af82: Preparing [2021-11-11T20:45:23.487Z] e2eb06d8af82: Layer already exists [2021-11-11T20:45:26.784Z] 02c5f7044ec7: Pushed [2021-11-11T20:45:28.699Z] 676c30b42690: Pushed [2021-11-11T20:45:28.959Z] e9f982d41add: Pushed [2021-11-11T20:45:29.530Z] 9a6df76d8a11: Pushed [2021-11-11T20:45:31.436Z] 09739088bb3ccddf347dd8b212f45a4687ee065f: digest: sha256:d34f0cbef1d965f3bf184eca34deef0fa5cb73a3d166cd330824979b7ab8696e size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:45:31.735Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:45:32.026Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2021-11-11T20:45:32.026Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-11-11T20:45:32.026Z] 9a6df76d8a11: Preparing [2021-11-11T20:45:32.026Z] e9f982d41add: Preparing [2021-11-11T20:45:32.026Z] 676c30b42690: Preparing [2021-11-11T20:45:32.026Z] 02c5f7044ec7: Preparing [2021-11-11T20:45:32.026Z] e2eb06d8af82: Preparing [2021-11-11T20:45:32.026Z] e2eb06d8af82: Layer already exists [2021-11-11T20:45:32.026Z] 9a6df76d8a11: Layer already exists [2021-11-11T20:45:32.026Z] 676c30b42690: Layer already exists [2021-11-11T20:45:32.026Z] 02c5f7044ec7: Layer already exists [2021-11-11T20:45:32.026Z] e9f982d41add: Layer already exists [2021-11-11T20:45:32.598Z] latest: digest: sha256:d34f0cbef1d965f3bf184eca34deef0fa5cb73a3d166cd330824979b7ab8696e size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:45:32.904Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.13 [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:45:33.204Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.13 [2021-11-11T20:45:33.204Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-11-11T20:45:33.204Z] 9a6df76d8a11: Preparing [2021-11-11T20:45:33.204Z] e9f982d41add: Preparing [2021-11-11T20:45:33.204Z] 676c30b42690: Preparing [2021-11-11T20:45:33.204Z] 02c5f7044ec7: Preparing [2021-11-11T20:45:33.204Z] e2eb06d8af82: Preparing [2021-11-11T20:45:33.204Z] e2eb06d8af82: Layer already exists [2021-11-11T20:45:33.204Z] 676c30b42690: Layer already exists [2021-11-11T20:45:33.204Z] 9a6df76d8a11: Layer already exists [2021-11-11T20:45:33.204Z] e9f982d41add: Layer already exists [2021-11-11T20:45:33.204Z] 02c5f7044ec7: Layer already exists [2021-11-11T20:45:33.204Z] 2.0.1-dev.13: digest: sha256:d34f0cbef1d965f3bf184eca34deef0fa5cb73a3d166cd330824979b7ab8696e size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:45:33.501Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:09739088bb3ccddf347dd8b212f45a4687ee065f-2.0.1-dev.13 [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:45:33.795Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:09739088bb3ccddf347dd8b212f45a4687ee065f-2.0.1-dev.13 [2021-11-11T20:45:33.795Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-11-11T20:45:33.795Z] 9a6df76d8a11: Preparing [2021-11-11T20:45:33.795Z] e9f982d41add: Preparing [2021-11-11T20:45:33.795Z] 676c30b42690: Preparing [2021-11-11T20:45:33.795Z] 02c5f7044ec7: Preparing [2021-11-11T20:45:33.795Z] e2eb06d8af82: Preparing [2021-11-11T20:45:33.795Z] 02c5f7044ec7: Layer already exists [2021-11-11T20:45:33.795Z] e9f982d41add: Layer already exists [2021-11-11T20:45:33.795Z] 9a6df76d8a11: Layer already exists [2021-11-11T20:45:33.795Z] 676c30b42690: Layer already exists [2021-11-11T20:45:33.795Z] e2eb06d8af82: Layer already exists [2021-11-11T20:45:33.795Z] 09739088bb3ccddf347dd8b212f45a4687ee065f-2.0.1-dev.13: digest: sha256:d34f0cbef1d965f3bf184eca34deef0fa5cb73a3d166cd330824979b7ab8696e size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:45:34.090Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:45:34.386Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2021-11-11T20:45:34.386Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-11-11T20:45:34.386Z] 9a6df76d8a11: Preparing [2021-11-11T20:45:34.386Z] e9f982d41add: Preparing [2021-11-11T20:45:34.386Z] 676c30b42690: Preparing [2021-11-11T20:45:34.386Z] 02c5f7044ec7: Preparing [2021-11-11T20:45:34.386Z] e2eb06d8af82: Preparing [2021-11-11T20:45:34.386Z] e2eb06d8af82: Layer already exists [2021-11-11T20:45:34.386Z] 9a6df76d8a11: Layer already exists [2021-11-11T20:45:34.386Z] 02c5f7044ec7: Layer already exists [2021-11-11T20:45:34.386Z] 676c30b42690: Layer already exists [2021-11-11T20:45:34.386Z] e9f982d41add: Layer already exists [2021-11-11T20:45:34.956Z] main: digest: sha256:d34f0cbef1d965f3bf184eca34deef0fa5cb73a3d166cd330824979b7ab8696e size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-11T20:45:34.994Z] ===================================================== [Pipeline] echo [2021-11-11T20:45:35.000Z] taggedImages: [2021-11-11T20:45:35.000Z] - nexus3.edgexfoundry.org:10004/device-rest:09739088bb3ccddf347dd8b212f45a4687ee065f [2021-11-11T20:45:35.000Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2021-11-11T20:45:35.000Z] - nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.13 [2021-11-11T20:45:35.000Z] - nexus3.edgexfoundry.org:10004/device-rest:09739088bb3ccddf347dd8b212f45a4687ee065f-2.0.1-dev.13 [2021-11-11T20:45:35.000Z] - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:45:35.510Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T20:45:35.510Z] [2021-11-11T20:45:35.510Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:45:35.812Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T20:45:35.812Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-11T20:45:35.812Z] b4d181a07f80: Pulling fs layer [2021-11-11T20:45:35.812Z] a1111a8f2ec3: Pulling fs layer [2021-11-11T20:45:35.812Z] ed53099fbce6: Pulling fs layer [2021-11-11T20:45:35.812Z] dc539afda2c1: Pulling fs layer [2021-11-11T20:45:35.812Z] 77bc0d833cb6: Pulling fs layer [2021-11-11T20:45:35.812Z] 9065ff56babe: Pulling fs layer [2021-11-11T20:45:35.812Z] d287ab97295c: Pulling fs layer [2021-11-11T20:45:35.812Z] dc539afda2c1: Waiting [2021-11-11T20:45:35.812Z] 77bc0d833cb6: Waiting [2021-11-11T20:45:35.812Z] 9065ff56babe: Waiting [2021-11-11T20:45:35.812Z] d287ab97295c: Waiting [2021-11-11T20:45:35.812Z] a1111a8f2ec3: Verifying Checksum [2021-11-11T20:45:35.812Z] a1111a8f2ec3: Download complete [2021-11-11T20:45:35.812Z] dc539afda2c1: Verifying Checksum [2021-11-11T20:45:35.812Z] dc539afda2c1: Download complete [2021-11-11T20:45:36.072Z] 77bc0d833cb6: Verifying Checksum [2021-11-11T20:45:36.072Z] 77bc0d833cb6: Download complete [2021-11-11T20:45:36.072Z] ed53099fbce6: Verifying Checksum [2021-11-11T20:45:36.072Z] ed53099fbce6: Download complete [2021-11-11T20:45:36.072Z] 9065ff56babe: Verifying Checksum [2021-11-11T20:45:36.072Z] 9065ff56babe: Download complete [2021-11-11T20:45:36.072Z] b4d181a07f80: Verifying Checksum [2021-11-11T20:45:36.072Z] b4d181a07f80: Download complete [2021-11-11T20:45:36.660Z] d287ab97295c: Verifying Checksum [2021-11-11T20:45:36.660Z] d287ab97295c: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-11T20:45:37.451Z] provisioning config files... [2021-11-11T20:45:37.478Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/18@tmp/config2279950341997146545tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:45:37.620Z] b4d181a07f80: Pull complete [2021-11-11T20:45:37.620Z] a1111a8f2ec3: Pull complete [2021-11-11T20:45:37.847Z] ---> docker-login.sh [2021-11-11T20:45:37.847Z] nexus3.edgexfoundry.org:10001 [2021-11-11T20:45:38.191Z] ed53099fbce6: Pull complete [2021-11-11T20:45:38.191Z] dc539afda2c1: Pull complete [2021-11-11T20:45:38.458Z] 77bc0d833cb6: Pull complete [2021-11-11T20:45:38.458Z] 9065ff56babe: Pull complete [2021-11-11T20:45:38.588Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:45:38.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:45:38.888Z] Configure a credential helper to remove this warning. See [2021-11-11T20:45:38.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:45:38.888Z] [2021-11-11T20:45:38.888Z] Login Succeeded [2021-11-11T20:45:38.888Z] nexus3.edgexfoundry.org:10002 [2021-11-11T20:45:39.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:45:39.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:45:39.787Z] Configure a credential helper to remove this warning. See [2021-11-11T20:45:39.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:45:39.787Z] [2021-11-11T20:45:39.787Z] Login Succeeded [2021-11-11T20:45:39.787Z] nexus3.edgexfoundry.org:10003 [2021-11-11T20:45:40.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:45:40.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:45:40.345Z] Configure a credential helper to remove this warning. See [2021-11-11T20:45:40.345Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:45:40.345Z] [2021-11-11T20:45:40.345Z] Login Succeeded [2021-11-11T20:45:40.345Z] nexus3.edgexfoundry.org:10004 [2021-11-11T20:45:40.623Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:45:40.900Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:45:40.900Z] Configure a credential helper to remove this warning. See [2021-11-11T20:45:40.900Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:45:40.900Z] [2021-11-11T20:45:40.900Z] Login Succeeded [2021-11-11T20:45:40.900Z] docker.io [2021-11-11T20:45:41.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:45:41.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:45:41.771Z] Configure a credential helper to remove this warning. See [2021-11-11T20:45:41.771Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:45:41.771Z] [2021-11-11T20:45:41.771Z] Login Succeeded [2021-11-11T20:45:41.771Z] ---> docker-login.sh ends [Pipeline] } [2021-11-11T20:45:41.790Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-11T20:45:42.102Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-11T20:45:42.113Z] ========================================================= [2021-11-11T20:45:42.113Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-11T20:45:42.113Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:45:42.470Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-11-11T20:45:42.470Z] Sending build context to Docker daemon 119.3kB [2021-11-11T20:45:42.746Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-11-11T20:45:42.746Z] Step 2/11 : FROM ${BASE} AS builder [2021-11-11T20:45:43.032Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-11T20:45:43.032Z] 552d1f2373af: Pulling fs layer [2021-11-11T20:45:43.032Z] ea3f2d53f512: Pulling fs layer [2021-11-11T20:45:43.032Z] 9e70ebbbe112: Pulling fs layer [2021-11-11T20:45:43.032Z] 7a9cfe048b4a: Pulling fs layer [2021-11-11T20:45:43.032Z] 72dc09318566: Pulling fs layer [2021-11-11T20:45:43.032Z] f4f7b4309257: Pulling fs layer [2021-11-11T20:45:43.032Z] 0ac9a79272e3: Pulling fs layer [2021-11-11T20:45:43.032Z] b78e95d17946: Pulling fs layer [2021-11-11T20:45:43.032Z] 7a9cfe048b4a: Waiting [2021-11-11T20:45:43.032Z] 72dc09318566: Waiting [2021-11-11T20:45:43.032Z] f4f7b4309257: Waiting [2021-11-11T20:45:43.032Z] 0ac9a79272e3: Waiting [2021-11-11T20:45:43.032Z] b78e95d17946: Waiting [2021-11-11T20:45:43.032Z] 9e70ebbbe112: Verifying Checksum [2021-11-11T20:45:43.032Z] 9e70ebbbe112: Download complete [2021-11-11T20:45:43.032Z] ea3f2d53f512: Verifying Checksum [2021-11-11T20:45:43.032Z] ea3f2d53f512: Download complete [2021-11-11T20:45:43.032Z] 72dc09318566: Verifying Checksum [2021-11-11T20:45:43.032Z] 72dc09318566: Download complete [2021-11-11T20:45:43.310Z] f4f7b4309257: Verifying Checksum [2021-11-11T20:45:43.311Z] 0ac9a79272e3: Download complete [2021-11-11T20:45:43.311Z] 552d1f2373af: Verifying Checksum [2021-11-11T20:45:43.311Z] 552d1f2373af: Download complete [2021-11-11T20:45:43.798Z] d287ab97295c: Pull complete [2021-11-11T20:45:43.798Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-11T20:45:43.798Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T20:45:43.798Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-11T20:45:43.863Z] prd-centos7-docker-4c-2g-226 does not seem to be running inside a container [2021-11-11T20:45:43.897Z] $ 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/18 -v /w/workspace/device-rest-go/18:/w/workspace/device-rest-go/18:rw,z -v /w/workspace/device-rest-go/18@tmp:/w/workspace/device-rest-go/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-11T20:45:44.228Z] 552d1f2373af: Pull complete [2021-11-11T20:45:44.906Z] ea3f2d53f512: Pull complete [2021-11-11T20:45:45.506Z] 9e70ebbbe112: Pull complete [2021-11-11T20:45:45.506Z] b78e95d17946: Verifying Checksum [2021-11-11T20:45:45.506Z] b78e95d17946: Download complete [2021-11-11T20:45:45.783Z] 7a9cfe048b4a: Verifying Checksum [2021-11-11T20:45:45.783Z] 7a9cfe048b4a: Download complete [2021-11-11T20:45:46.176Z] $ docker top ba3fe4637c87165c7fe3002fbb761dc3d904cfff82f4d2fb63cf95b502c3dea5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:45:46.562Z] ---> job-cost.sh [2021-11-11T20:45:46.562Z] lf-activate-venv: SKIPPING [2021-11-11T20:45:46.562Z] INFO: No Stack... [2021-11-11T20:45:46.822Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-11T20:45:47.082Z] INFO: Archiving Costs [Pipeline] sh [2021-11-11T20:45:47.379Z] + cat /w/workspace/device-rest-go/18/archives/cost.csv [2021-11-11T20:45:47.379Z] + cut -d, -f6 [Pipeline] lock [2021-11-11T20:45:47.404Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-18-stack-cost] [2021-11-11T20:45:47.591Z] Resource [jenkins-edgexfoundry-device-rest-go-main-18-stack-cost] did not exist. Created. [2021-11-11T20:45:47.591Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-11T20:45:48.205Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-11T20:45:48.241Z] Stashed 1 file(s) [Pipeline] } [2021-11-11T20:45:48.328Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-18-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-11T20:45:48.346Z] $ docker stop --time=1 ba3fe4637c87165c7fe3002fbb761dc3d904cfff82f4d2fb63cf95b502c3dea5 [2021-11-11T20:45:49.467Z] $ docker rm -f ba3fe4637c87165c7fe3002fbb761dc3d904cfff82f4d2fb63cf95b502c3dea5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-11T20:45:58.195Z] 7a9cfe048b4a: Pull complete [2021-11-11T20:45:58.195Z] 72dc09318566: Pull complete [2021-11-11T20:45:58.195Z] f4f7b4309257: Pull complete [2021-11-11T20:45:58.195Z] 0ac9a79272e3: Pull complete [2021-11-11T20:46:03.608Z] b78e95d17946: Pull complete [2021-11-11T20:46:03.608Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-11T20:46:03.608Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-11T20:46:03.608Z] ---> 8b459fc5aaf0 [2021-11-11T20:46:03.608Z] Step 3/11 : ARG MAKE='make build' [2021-11-11T20:46:05.051Z] ---> Running in f3a41256a89f [2021-11-11T20:46:05.649Z] Removing intermediate container f3a41256a89f [2021-11-11T20:46:05.649Z] ---> 8b8fd7951e5b [2021-11-11T20:46:05.649Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-11T20:46:05.649Z] ---> Running in 9b25fd9e9f12 [2021-11-11T20:46:05.928Z] Removing intermediate container 9b25fd9e9f12 [2021-11-11T20:46:05.928Z] ---> 8c9c97ae73a3 [2021-11-11T20:46:05.928Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-11-11T20:46:06.203Z] ---> Running in 01bbe6b90ed1 [2021-11-11T20:46:06.480Z] Removing intermediate container 01bbe6b90ed1 [2021-11-11T20:46:06.480Z] ---> f13153266286 [2021-11-11T20:46:06.480Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-11T20:46:06.753Z] ---> Running in 0445727ad9b4 [2021-11-11T20:46:08.737Z] Removing intermediate container 0445727ad9b4 [2021-11-11T20:46:08.737Z] ---> 301553515c0c [2021-11-11T20:46:08.737Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-11T20:46:09.013Z] ---> Running in 140e63166397 [2021-11-11T20:46:10.447Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-11T20:46:11.042Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-11T20:46:12.018Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-11-11T20:46:12.018Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-11-11T20:46:12.018Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-11-11T20:46:12.292Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-11-11T20:46:12.292Z] Executing busybox-1.33.1-r3.trigger [2021-11-11T20:46:12.566Z] OK: 223 MiB in 56 packages [2021-11-11T20:46:13.558Z] Removing intermediate container 140e63166397 [2021-11-11T20:46:13.558Z] ---> 5be0a23cf550 [2021-11-11T20:46:13.558Z] Step 8/11 : WORKDIR /device-rest-go [2021-11-11T20:46:13.558Z] ---> Running in ac78f490cf6e [2021-11-11T20:46:14.153Z] Removing intermediate container ac78f490cf6e [2021-11-11T20:46:14.153Z] ---> 85f11422dd59 [2021-11-11T20:46:14.153Z] Step 9/11 : COPY . . [2021-11-11T20:46:14.751Z] ---> 9f85c77fd89c [2021-11-11T20:46:14.751Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-11T20:46:14.751Z] ---> Running in 6389d225b242 [2021-11-11T20:47:36.579Z] Removing intermediate container 6389d225b242 [2021-11-11T20:47:36.579Z] ---> 01d4052a3644 [2021-11-11T20:47:36.579Z] Step 11/11 : RUN $MAKE [2021-11-11T20:47:36.579Z] ---> Running in 9eb387a2aa3b [2021-11-11T20:47:36.579Z] noop [2021-11-11T20:47:36.579Z] Removing intermediate container 9eb387a2aa3b [2021-11-11T20:47:36.579Z] ---> c7c194e89169 [2021-11-11T20:47:36.579Z] Successfully built c7c194e89169 [2021-11-11T20:47:36.579Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:47:36.935Z] + docker inspect -f . ci-base-image-arm64 [2021-11-11T20:47:36.936Z] . [Pipeline] withDockerContainer [2021-11-11T20:47:37.217Z] prd-ubuntu18.04-docker-arm64-4c-16g-227 does not seem to be running inside a container [2021-11-11T20:47:37.309Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/18 -v /w/workspace/device-rest-go/18:/w/workspace/device-rest-go/18:rw,z -v /w/workspace/device-rest-go/18@tmp:/w/workspace/device-rest-go/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-11T20:47:38.917Z] $ docker top b1bd20a4b6063418e79623dfe141fec9a8d74d910cb0b81395b5440fd728f808 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-11T20:47:39.897Z] + go version [2021-11-11T20:47:39.897Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-11T20:47:39.919Z] $ docker stop --time=1 b1bd20a4b6063418e79623dfe141fec9a8d74d910cb0b81395b5440fd728f808 [2021-11-11T20:47:41.634Z] $ docker rm -f b1bd20a4b6063418e79623dfe141fec9a8d74d910cb0b81395b5440fd728f808 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:47:42.316Z] + docker inspect -f . ci-base-image-arm64 [2021-11-11T20:47:42.316Z] . [Pipeline] withDockerContainer [2021-11-11T20:47:42.589Z] prd-ubuntu18.04-docker-arm64-4c-16g-227 does not seem to be running inside a container [2021-11-11T20:47:42.681Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/18 -v /w/workspace/device-rest-go/18:/w/workspace/device-rest-go/18:rw,z -v /w/workspace/device-rest-go/18@tmp:/w/workspace/device-rest-go/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-11T20:47:44.271Z] $ docker top 58c8bde837e8bf7e986ad6e2b5100cd9563eef9708e0b09045244f4cb831ea3c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-11T20:47:45.278Z] + make test [2021-11-11T20:47:45.278Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-11-11T20:47:46.720Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-11-11T20:48:54.804Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-11-11T20:48:54.804Z] ok github.com/edgexfoundry/device-rest-go/driver 0.058s coverage: 53.8% of statements [2021-11-11T20:48:54.804Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-11T20:49:17.002Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-11T20:49:17.002Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-11T20:49:17.002Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-11T20:49:19.009Z] $ docker stop --time=1 58c8bde837e8bf7e986ad6e2b5100cd9563eef9708e0b09045244f4cb831ea3c [2021-11-11T20:49:20.778Z] $ docker rm -f 58c8bde837e8bf7e986ad6e2b5100cd9563eef9708e0b09045244f4cb831ea3c [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-11T20:49:21.624Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-11T20:49:21.652Z] Warning: overwriting stash ‘coverage-report’ [2021-11-11T20:49:22.080Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-11T20:49:22.543Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-11T20:49:22.881Z] + ls -al . [2021-11-11T20:49:22.881Z] total 172 [2021-11-11T20:49:22.881Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 20:49 . [2021-11-11T20:49:22.881Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 20:45 .. [2021-11-11T20:49:22.881Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 11 20:45 .dockerignore [2021-11-11T20:49:22.881Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 20:45 .git [2021-11-11T20:49:22.881Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 20:45 .github [2021-11-11T20:49:22.881Z] -rw-rw-r-- 1 jenkins jenkins 329 Nov 11 20:45 .gitignore [2021-11-11T20:49:22.881Z] -rw-rw-r-- 1 jenkins jenkins 7095 Nov 11 20:45 Attribution.txt [2021-11-11T20:49:22.881Z] -rw-rw-r-- 1 jenkins jenkins 7459 Nov 11 20:45 CHANGELOG.md [2021-11-11T20:49:22.881Z] -rw-rw-r-- 1 jenkins jenkins 1649 Nov 11 20:45 Dockerfile [2021-11-11T20:49:22.881Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 11 20:45 GOVERNANCE.md [2021-11-11T20:49:22.881Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 11 20:45 Jenkinsfile [2021-11-11T20:49:22.881Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 11 20:45 LICENSE [2021-11-11T20:49:22.881Z] -rw-rw-r-- 1 jenkins jenkins 1078 Nov 11 20:45 Makefile [2021-11-11T20:49:22.881Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 11 20:45 OWNERS.md [2021-11-11T20:49:22.881Z] -rw-rw-r-- 1 jenkins jenkins 7661 Nov 11 20:45 README.md [2021-11-11T20:49:22.881Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 11 20:41 VERSION [2021-11-11T20:49:22.881Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 20:45 bin [2021-11-11T20:49:22.881Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 20:45 cmd [2021-11-11T20:49:22.881Z] -rw-r--r-- 1 jenkins jenkins 8435 Nov 11 20:48 coverage.out [2021-11-11T20:49:22.881Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 20:45 driver [2021-11-11T20:49:22.881Z] -rw-rw-r-- 1 jenkins jenkins 278 Nov 11 20:45 go.mod [2021-11-11T20:49:22.881Z] -rw-rw-r-- 1 jenkins jenkins 49500 Nov 11 20:45 go.sum [2021-11-11T20:49:22.881Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 20:45 snap [2021-11-11T20:49:22.881Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 11 20:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:49:23.217Z] + 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=09739088bb3ccddf347dd8b212f45a4687ee065f --label arch=arm64 --label version=2.0.1-dev.13 . [2021-11-11T20:49:23.217Z] Sending build context to Docker daemon 128.5kB [2021-11-11T20:49:23.491Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-11T20:49:23.491Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-11T20:49:23.491Z] ---> c7c194e89169 [2021-11-11T20:49:23.491Z] Step 3/24 : ARG MAKE='make build' [2021-11-11T20:49:23.763Z] ---> Running in e07920d2a707 [2021-11-11T20:49:24.042Z] Removing intermediate container e07920d2a707 [2021-11-11T20:49:24.042Z] ---> d690f47e0ab3 [2021-11-11T20:49:24.042Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-11T20:49:24.316Z] ---> Running in 65ee7df139cc [2021-11-11T20:49:24.594Z] Removing intermediate container 65ee7df139cc [2021-11-11T20:49:24.594Z] ---> 9a408770a63a [2021-11-11T20:49:24.594Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-11-11T20:49:24.866Z] ---> Running in 15b98dd0d3c3 [2021-11-11T20:49:25.141Z] Removing intermediate container 15b98dd0d3c3 [2021-11-11T20:49:25.141Z] ---> 11a2bb9177dd [2021-11-11T20:49:25.141Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-11T20:49:25.141Z] ---> Running in 2963eff626b9 [2021-11-11T20:49:27.854Z] Removing intermediate container 2963eff626b9 [2021-11-11T20:49:27.854Z] ---> 0dc83273ca88 [2021-11-11T20:49:27.854Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-11T20:49:27.854Z] ---> Running in a221aaa661fe [2021-11-11T20:49:28.890Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-11T20:49:29.873Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-11T20:49:30.469Z] OK: 223 MiB in 56 packages [2021-11-11T20:49:31.454Z] Removing intermediate container a221aaa661fe [2021-11-11T20:49:31.454Z] ---> 245198425c84 [2021-11-11T20:49:31.454Z] Step 8/24 : WORKDIR /device-rest-go [2021-11-11T20:49:31.454Z] ---> Running in fb89705a38e7 [2021-11-11T20:49:32.049Z] Removing intermediate container fb89705a38e7 [2021-11-11T20:49:32.049Z] ---> d56e50928c4d [2021-11-11T20:49:32.049Z] Step 9/24 : COPY . . [2021-11-11T20:49:33.030Z] ---> 26ba37f82eb1 [2021-11-11T20:49:33.030Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-11T20:49:33.030Z] ---> Running in a82490b8b720 [2021-11-11T20:49:35.693Z] Removing intermediate container a82490b8b720 [2021-11-11T20:49:35.693Z] ---> 98766be2dfb2 [2021-11-11T20:49:35.693Z] Step 11/24 : RUN $MAKE [2021-11-11T20:49:35.693Z] ---> Running in 9ae3eee5076e [2021-11-11T20:49:36.669Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.0.1-dev.13" -o cmd/device-rest ./cmd [2021-11-11T20:50:15.668Z] Removing intermediate container 9ae3eee5076e [2021-11-11T20:50:15.668Z] ---> e3bc95493034 [2021-11-11T20:50:15.668Z] Step 12/24 : FROM alpine:3.14 [2021-11-11T20:50:15.668Z] 3.14: Pulling from library/alpine [2021-11-11T20:50:15.668Z] 552d1f2373af: Already exists [2021-11-11T20:50:15.668Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-11T20:50:15.668Z] Status: Downloaded newer image for alpine:3.14 [2021-11-11T20:50:15.668Z] ---> bb3de5531c18 [2021-11-11T20:50:15.668Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-11-11T20:50:15.668Z] ---> Running in 7225bfee1201 [2021-11-11T20:50:15.940Z] Removing intermediate container 7225bfee1201 [2021-11-11T20:50:15.940Z] ---> 21a0ef349441 [2021-11-11T20:50:15.940Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-11-11T20:50:15.940Z] ---> Running in f07599647f1e [2021-11-11T20:50:16.535Z] Removing intermediate container f07599647f1e [2021-11-11T20:50:16.535Z] ---> 3f16138ca7b7 [2021-11-11T20:50:16.535Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-11-11T20:50:16.535Z] ---> Running in b008051419b9 [2021-11-11T20:50:17.965Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-11T20:50:17.965Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-11T20:50:18.562Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-11-11T20:50:18.562Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-11-11T20:50:18.562Z] (3/6) Installing libsodium (1.0.18-r0) [2021-11-11T20:50:18.562Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-11T20:50:18.837Z] (5/6) Installing libzmq (4.3.4-r0) [2021-11-11T20:50:18.837Z] (6/6) Installing zeromq (4.3.4-r0) [2021-11-11T20:50:18.837Z] Executing busybox-1.33.1-r3.trigger [2021-11-11T20:50:18.837Z] OK: 8 MiB in 20 packages [2021-11-11T20:50:19.814Z] Removing intermediate container b008051419b9 [2021-11-11T20:50:19.814Z] ---> aadee6f53c3b [2021-11-11T20:50:19.814Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-11-11T20:50:20.793Z] ---> 5764d1e91706 [2021-11-11T20:50:20.793Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-11-11T20:50:21.774Z] ---> 18e5b22686f9 [2021-11-11T20:50:21.774Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-11-11T20:50:22.370Z] ---> d8f1dd90f7b0 [2021-11-11T20:50:22.370Z] Step 19/24 : EXPOSE 59986 [2021-11-11T20:50:22.370Z] ---> Running in 5e784d787a7e [2021-11-11T20:50:22.966Z] Removing intermediate container 5e784d787a7e [2021-11-11T20:50:22.966Z] ---> 80fdeebf032f [2021-11-11T20:50:22.966Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2021-11-11T20:50:22.966Z] ---> Running in 0102522cbf66 [2021-11-11T20:50:23.562Z] Removing intermediate container 0102522cbf66 [2021-11-11T20:50:23.562Z] ---> 8edfee849dd0 [2021-11-11T20:50:23.562Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-11-11T20:50:23.562Z] ---> Running in 45ad990c028d [2021-11-11T20:50:23.835Z] Removing intermediate container 45ad990c028d [2021-11-11T20:50:23.835Z] ---> 0254befcbd71 [2021-11-11T20:50:23.835Z] Step 22/24 : LABEL arch=arm64 [2021-11-11T20:50:24.107Z] ---> Running in d8cc749588d4 [2021-11-11T20:50:24.380Z] Removing intermediate container d8cc749588d4 [2021-11-11T20:50:24.380Z] ---> c333bb8418c2 [2021-11-11T20:50:24.380Z] Step 23/24 : LABEL git_sha=09739088bb3ccddf347dd8b212f45a4687ee065f [2021-11-11T20:50:24.380Z] ---> Running in f330bc514a3d [2021-11-11T20:50:24.973Z] Removing intermediate container f330bc514a3d [2021-11-11T20:50:24.973Z] ---> 768cd39d4280 [2021-11-11T20:50:24.973Z] Step 24/24 : LABEL version=2.0.1-dev.13 [2021-11-11T20:50:24.973Z] ---> Running in 5a342ac290f3 [2021-11-11T20:50:25.246Z] Removing intermediate container 5a342ac290f3 [2021-11-11T20:50:25.246Z] ---> d051d0671bdc [2021-11-11T20:50:25.246Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-11T20:50:25.246Z] Successfully built d051d0671bdc [2021-11-11T20:50:25.246Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-11T20:50:25.465Z] provisioning config files... [2021-11-11T20:50:25.484Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/18@tmp/config2733384614358551042tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:50:25.835Z] ---> docker-login.sh [2021-11-11T20:50:25.835Z] nexus3.edgexfoundry.org:10001 [2021-11-11T20:50:26.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:50:26.380Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:50:26.380Z] Configure a credential helper to remove this warning. See [2021-11-11T20:50:26.380Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:50:26.380Z] [2021-11-11T20:50:26.380Z] Login Succeeded [2021-11-11T20:50:26.380Z] nexus3.edgexfoundry.org:10002 [2021-11-11T20:50:26.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:50:26.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:50:26.928Z] Configure a credential helper to remove this warning. See [2021-11-11T20:50:26.928Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:50:26.928Z] [2021-11-11T20:50:26.928Z] Login Succeeded [2021-11-11T20:50:26.928Z] nexus3.edgexfoundry.org:10003 [2021-11-11T20:50:27.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:50:27.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:50:27.475Z] Configure a credential helper to remove this warning. See [2021-11-11T20:50:27.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:50:27.475Z] [2021-11-11T20:50:27.475Z] Login Succeeded [2021-11-11T20:50:27.475Z] nexus3.edgexfoundry.org:10004 [2021-11-11T20:50:27.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:50:28.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:50:28.019Z] Configure a credential helper to remove this warning. See [2021-11-11T20:50:28.019Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:50:28.019Z] [2021-11-11T20:50:28.019Z] Login Succeeded [2021-11-11T20:50:28.019Z] docker.io [2021-11-11T20:50:28.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:50:28.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:50:28.883Z] Configure a credential helper to remove this warning. See [2021-11-11T20:50:28.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:50:28.883Z] [2021-11-11T20:50:28.883Z] Login Succeeded [2021-11-11T20:50:28.883Z] ---> docker-login.sh ends [Pipeline] } [2021-11-11T20:50:28.900Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-11T20:50:28.930Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-11T20:50:28.947Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2021-11-11T20:50:28.947Z] 09739088bb3ccddf347dd8b212f45a4687ee065f [2021-11-11T20:50:28.947Z] latest [2021-11-11T20:50:28.947Z] 2.0.1-dev.13 [2021-11-11T20:50:28.947Z] 09739088bb3ccddf347dd8b212f45a4687ee065f-2.0.1-dev.13 [2021-11-11T20:50:28.947Z] main [2021-11-11T20:50:28.947Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:50:29.334Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:09739088bb3ccddf347dd8b212f45a4687ee065f [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:50:29.673Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:09739088bb3ccddf347dd8b212f45a4687ee065f [2021-11-11T20:50:29.673Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-11-11T20:50:29.673Z] d8bfdd5e55cd: Preparing [2021-11-11T20:50:29.673Z] 8bfd270742c7: Preparing [2021-11-11T20:50:29.673Z] a8c217b81930: Preparing [2021-11-11T20:50:29.673Z] 11db618a0bb2: Preparing [2021-11-11T20:50:29.673Z] ee420dfed78a: Preparing [2021-11-11T20:50:29.945Z] ee420dfed78a: Layer already exists [2021-11-11T20:50:34.236Z] 11db618a0bb2: Pushed [2021-11-11T20:50:34.505Z] 8bfd270742c7: Pushed [2021-11-11T20:50:35.476Z] d8bfdd5e55cd: Pushed [2021-11-11T20:50:36.065Z] a8c217b81930: Pushed [2021-11-11T20:50:37.487Z] 09739088bb3ccddf347dd8b212f45a4687ee065f: digest: sha256:62fb119b1ff97ca67944717817d0903408f028e6632e9c69b9d87e3d2615e5bb size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:50:37.827Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:50:38.161Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2021-11-11T20:50:38.161Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-11-11T20:50:38.161Z] d8bfdd5e55cd: Preparing [2021-11-11T20:50:38.161Z] 8bfd270742c7: Preparing [2021-11-11T20:50:38.161Z] a8c217b81930: Preparing [2021-11-11T20:50:38.161Z] 11db618a0bb2: Preparing [2021-11-11T20:50:38.161Z] ee420dfed78a: Preparing [2021-11-11T20:50:38.161Z] 8bfd270742c7: Layer already exists [2021-11-11T20:50:38.161Z] ee420dfed78a: Layer already exists [2021-11-11T20:50:38.161Z] d8bfdd5e55cd: Layer already exists [2021-11-11T20:50:38.161Z] a8c217b81930: Layer already exists [2021-11-11T20:50:38.161Z] 11db618a0bb2: Layer already exists [2021-11-11T20:50:38.756Z] latest: digest: sha256:62fb119b1ff97ca67944717817d0903408f028e6632e9c69b9d87e3d2615e5bb size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:50:39.096Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.13 [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:50:39.429Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.13 [2021-11-11T20:50:39.429Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-11-11T20:50:39.429Z] d8bfdd5e55cd: Preparing [2021-11-11T20:50:39.429Z] 8bfd270742c7: Preparing [2021-11-11T20:50:39.429Z] a8c217b81930: Preparing [2021-11-11T20:50:39.429Z] 11db618a0bb2: Preparing [2021-11-11T20:50:39.429Z] ee420dfed78a: Preparing [2021-11-11T20:50:39.429Z] a8c217b81930: Layer already exists [2021-11-11T20:50:39.429Z] ee420dfed78a: Layer already exists [2021-11-11T20:50:39.429Z] 11db618a0bb2: Layer already exists [2021-11-11T20:50:39.429Z] 8bfd270742c7: Layer already exists [2021-11-11T20:50:39.429Z] d8bfdd5e55cd: Layer already exists [2021-11-11T20:50:39.701Z] 2.0.1-dev.13: digest: sha256:62fb119b1ff97ca67944717817d0903408f028e6632e9c69b9d87e3d2615e5bb size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:50:40.039Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:09739088bb3ccddf347dd8b212f45a4687ee065f-2.0.1-dev.13 [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:50:40.373Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:09739088bb3ccddf347dd8b212f45a4687ee065f-2.0.1-dev.13 [2021-11-11T20:50:40.373Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-11-11T20:50:40.373Z] d8bfdd5e55cd: Preparing [2021-11-11T20:50:40.373Z] 8bfd270742c7: Preparing [2021-11-11T20:50:40.373Z] a8c217b81930: Preparing [2021-11-11T20:50:40.373Z] 11db618a0bb2: Preparing [2021-11-11T20:50:40.373Z] ee420dfed78a: Preparing [2021-11-11T20:50:40.373Z] a8c217b81930: Layer already exists [2021-11-11T20:50:40.373Z] d8bfdd5e55cd: Layer already exists [2021-11-11T20:50:40.373Z] ee420dfed78a: Layer already exists [2021-11-11T20:50:40.373Z] 8bfd270742c7: Layer already exists [2021-11-11T20:50:40.373Z] 11db618a0bb2: Layer already exists [2021-11-11T20:50:40.642Z] 09739088bb3ccddf347dd8b212f45a4687ee065f-2.0.1-dev.13: digest: sha256:62fb119b1ff97ca67944717817d0903408f028e6632e9c69b9d87e3d2615e5bb size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:50:40.980Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:50:41.313Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2021-11-11T20:50:41.313Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-11-11T20:50:41.313Z] d8bfdd5e55cd: Preparing [2021-11-11T20:50:41.313Z] 8bfd270742c7: Preparing [2021-11-11T20:50:41.313Z] a8c217b81930: Preparing [2021-11-11T20:50:41.313Z] 11db618a0bb2: Preparing [2021-11-11T20:50:41.313Z] ee420dfed78a: Preparing [2021-11-11T20:50:41.313Z] d8bfdd5e55cd: Layer already exists [2021-11-11T20:50:41.313Z] a8c217b81930: Layer already exists [2021-11-11T20:50:41.313Z] 11db618a0bb2: Layer already exists [2021-11-11T20:50:41.313Z] ee420dfed78a: Layer already exists [2021-11-11T20:50:41.313Z] 8bfd270742c7: Layer already exists [2021-11-11T20:50:42.285Z] main: digest: sha256:62fb119b1ff97ca67944717817d0903408f028e6632e9c69b9d87e3d2615e5bb size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-11T20:50:42.329Z] ===================================================== [Pipeline] echo [2021-11-11T20:50:42.337Z] taggedImages: [2021-11-11T20:50:42.337Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:09739088bb3ccddf347dd8b212f45a4687ee065f [2021-11-11T20:50:42.337Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2021-11-11T20:50:42.337Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.13 [2021-11-11T20:50:42.337Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:09739088bb3ccddf347dd8b212f45a4687ee065f-2.0.1-dev.13 [2021-11-11T20:50:42.337Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:50:42.784Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-11T20:50:42.784Z] [2021-11-11T20:50:42.784Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:50:43.393Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-11T20:50:43.668Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-11T20:50:43.668Z] 448f6bf000e3: Pulling fs layer [2021-11-11T20:50:43.668Z] f757da607395: Pulling fs layer [2021-11-11T20:50:43.668Z] 05883995daec: Pulling fs layer [2021-11-11T20:50:43.669Z] 8603b9c90790: Pulling fs layer [2021-11-11T20:50:43.669Z] 1560dd03e051: Pulling fs layer [2021-11-11T20:50:43.669Z] 27f5ce0e4adf: Pulling fs layer [2021-11-11T20:50:43.669Z] c2d8d7efcc4b: Pulling fs layer [2021-11-11T20:50:43.669Z] 8603b9c90790: Waiting [2021-11-11T20:50:43.669Z] 1560dd03e051: Waiting [2021-11-11T20:50:43.669Z] c2d8d7efcc4b: Waiting [2021-11-11T20:50:43.669Z] 27f5ce0e4adf: Waiting [2021-11-11T20:50:43.669Z] f757da607395: Download complete [2021-11-11T20:50:43.669Z] 8603b9c90790: Verifying Checksum [2021-11-11T20:50:43.669Z] 8603b9c90790: Download complete [2021-11-11T20:50:43.669Z] 1560dd03e051: Verifying Checksum [2021-11-11T20:50:43.669Z] 1560dd03e051: Download complete [2021-11-11T20:50:43.944Z] 27f5ce0e4adf: Verifying Checksum [2021-11-11T20:50:43.944Z] 27f5ce0e4adf: Download complete [2021-11-11T20:50:43.944Z] 05883995daec: Verifying Checksum [2021-11-11T20:50:43.944Z] 05883995daec: Download complete [2021-11-11T20:50:44.216Z] 448f6bf000e3: Verifying Checksum [2021-11-11T20:50:44.216Z] 448f6bf000e3: Download complete [2021-11-11T20:50:46.948Z] c2d8d7efcc4b: Verifying Checksum [2021-11-11T20:50:46.948Z] c2d8d7efcc4b: Download complete [2021-11-11T20:50:48.403Z] 448f6bf000e3: Pull complete [2021-11-11T20:50:48.998Z] f757da607395: Pull complete [2021-11-11T20:50:50.427Z] 05883995daec: Pull complete [2021-11-11T20:50:50.699Z] 8603b9c90790: Pull complete [2021-11-11T20:50:51.679Z] 1560dd03e051: Pull complete [2021-11-11T20:50:51.955Z] 27f5ce0e4adf: Pull complete [2021-11-11T20:51:07.038Z] c2d8d7efcc4b: Pull complete [2021-11-11T20:51:07.038Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-11T20:51:07.038Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-11T20:51:07.038Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-11T20:51:07.323Z] prd-ubuntu18.04-docker-arm64-4c-16g-227 does not seem to be running inside a container [2021-11-11T20:51:07.397Z] $ 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/18 -v /w/workspace/device-rest-go/18:/w/workspace/device-rest-go/18:rw,z -v /w/workspace/device-rest-go/18@tmp:/w/workspace/device-rest-go/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-11-11T20:51:08.818Z] $ docker top 6dd9061636b95357c5697b542618b9f5252d84aeb9c8f972d579b67795cde0d3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:51:09.784Z] ---> job-cost.sh [2021-11-11T20:51:09.785Z] lf-activate-venv: SKIPPING [2021-11-11T20:51:09.785Z] INFO: No Stack... [2021-11-11T20:51:10.055Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-11T20:51:10.324Z] INFO: Archiving Costs [Pipeline] sh [2021-11-11T20:51:10.982Z] + cat /w/workspace/device-rest-go/18/archives/cost.csv [2021-11-11T20:51:10.982Z] + cut -d, -f6 [Pipeline] lock [2021-11-11T20:51:11.041Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-18-stack-cost] [2021-11-11T20:51:11.053Z] Resource [jenkins-edgexfoundry-device-rest-go-main-18-stack-cost] did not exist. Created. [2021-11-11T20:51:11.053Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-11T20:51:11.881Z] /w/workspace/device-rest-go/18@tmp/durable-a9e4be19/script.sh: 1: /w/workspace/device-rest-go/18@tmp/durable-a9e4be19/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-11T20:51:12.546Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-11T20:51:12.573Z] Warning: overwriting stash ‘stack-cost’ [2021-11-11T20:51:12.615Z] Stashed 1 file(s) [Pipeline] } [2021-11-11T20:51:12.627Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-18-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-11T20:51:12.638Z] $ docker stop --time=1 6dd9061636b95357c5697b542618b9f5252d84aeb9c8f972d579b67795cde0d3 [2021-11-11T20:51:14.181Z] $ docker rm -f 6dd9061636b95357c5697b542618b9f5252d84aeb9c8f972d579b67795cde0d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-11-11T20:51:14.766Z] provisioning config files... [2021-11-11T20:51:14.775Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6215288522279560087tmp [Pipeline] { [Pipeline] sh [2021-11-11T20:51:15.081Z] + set +x [2021-11-11T20:51:15.081Z] + curl -s https://codecov.io/bash [2021-11-11T20:51:15.081Z] + bash -s -- [2021-11-11T20:51:15.081Z] [2021-11-11T20:51:15.081Z] _____ _ [2021-11-11T20:51:15.081Z] / ____| | | [2021-11-11T20:51:15.081Z] | | ___ __| | ___ ___ _____ __ [2021-11-11T20:51:15.081Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-11T20:51:15.081Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-11T20:51:15.081Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-11T20:51:15.081Z] Bash-1.0.6 [2021-11-11T20:51:15.081Z] [2021-11-11T20:51:15.081Z] [2021-11-11T20:51:15.081Z] ==> git version 2.24.4 found [2021-11-11T20:51:15.081Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-11-11T20:51:15.081Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-11T20:51:15.081Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-11T20:51:15.081Z] ==> Jenkins CI detected. [2021-11-11T20:51:15.081Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2021-11-11T20:51:15.081Z] project root: . [2021-11-11T20:51:15.081Z] --> token set from env [2021-11-11T20:51:15.081Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-11T20:51:15.081Z] ==> Running gcov in . (disable via -X gcov) [2021-11-11T20:51:15.081Z] ==> Python coveragepy not found [2021-11-11T20:51:15.081Z] ==> Searching for coverage reports in: [2021-11-11T20:51:15.081Z] + . [2021-11-11T20:51:15.081Z] -> Found 1 reports [2021-11-11T20:51:15.081Z] ==> Detecting git/mercurial file structure [2021-11-11T20:51:15.081Z] ==> Reading reports [2021-11-11T20:51:15.351Z] + ./coverage.out bytes=8435 [2021-11-11T20:51:15.351Z] ==> Appending adjustments [2021-11-11T20:51:15.351Z] https://docs.codecov.io/docs/fixing-reports [2021-11-11T20:51:15.351Z] + Found adjustments [2021-11-11T20:51:15.352Z] ==> Gzipping contents [2021-11-11T20:51:15.352Z] 4.0K /tmp/codecov.pQxz82.gz [2021-11-11T20:51:15.352Z] ==> Uploading reports [2021-11-11T20:51:15.352Z] url: https://codecov.io [2021-11-11T20:51:15.352Z] query: branch=main&commit=09739088bb3ccddf347dd8b212f45a4687ee065f&build=18&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F18%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-11T20:51:15.352Z] -> Pinging Codecov [2021-11-11T20:51:15.352Z] 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=09739088bb3ccddf347dd8b212f45a4687ee065f&build=18&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F18%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-11T20:51:15.933Z] -> Uploading to [2021-11-11T20:51:15.933Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-11/4E5D53B4F1F92C436F7061BF334D961C/09739088bb3ccddf347dd8b212f45a4687ee065f/bfc60f63-07a4-452c-85ec-89619cd0145d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211111T205115Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=07c7d1eda220809252cc97c01a2179402b229e9c011d0586396be1ff652145ac [2021-11-11T20:51:15.933Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-11T20:51:15.933Z] Dload Upload Total Spent Left Speed [2021-11-11T20:51:16.194Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1741 0 0 100 1741 0 4817 --:--:-- --:--:-- --:--:-- 4822 [2021-11-11T20:51:16.194Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/09739088bb3ccddf347dd8b212f45a4687ee065f [Pipeline] } [2021-11-11T20:51:16.201Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-11-11T20:51:16.546Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-11-11T20:51:16.561Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:51:16.869Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-11T20:51:16.869Z] [2021-11-11T20:51:16.869Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:51:17.176Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-11T20:51:17.176Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-11-11T20:51:17.176Z] 188c0c94c7c5: Pulling fs layer [2021-11-11T20:51:17.176Z] 0ef7d3d256c8: Pulling fs layer [2021-11-11T20:51:17.176Z] de9db76c5a1d: Pulling fs layer [2021-11-11T20:51:17.176Z] 0eba1c9be4d2: Pulling fs layer [2021-11-11T20:51:17.176Z] 0d57e429df01: Pulling fs layer [2021-11-11T20:51:17.176Z] 4e4be7b47b0d: Pulling fs layer [2021-11-11T20:51:17.176Z] e1f770b5df2f: Pulling fs layer [2021-11-11T20:51:17.176Z] 85a0685a4137: Pulling fs layer [2021-11-11T20:51:17.176Z] 0eba1c9be4d2: Waiting [2021-11-11T20:51:17.176Z] 85a0685a4137: Waiting [2021-11-11T20:51:17.176Z] e1f770b5df2f: Waiting [2021-11-11T20:51:17.176Z] 0d57e429df01: Waiting [2021-11-11T20:51:17.176Z] 4e4be7b47b0d: Waiting [2021-11-11T20:51:17.176Z] de9db76c5a1d: Verifying Checksum [2021-11-11T20:51:17.176Z] de9db76c5a1d: Download complete [2021-11-11T20:51:17.176Z] 0ef7d3d256c8: Download complete [2021-11-11T20:51:17.176Z] 0d57e429df01: Verifying Checksum [2021-11-11T20:51:17.176Z] 0d57e429df01: Download complete [2021-11-11T20:51:17.176Z] 4e4be7b47b0d: Verifying Checksum [2021-11-11T20:51:17.176Z] 4e4be7b47b0d: Download complete [2021-11-11T20:51:17.176Z] 188c0c94c7c5: Verifying Checksum [2021-11-11T20:51:17.176Z] 188c0c94c7c5: Download complete [2021-11-11T20:51:17.448Z] e1f770b5df2f: Verifying Checksum [2021-11-11T20:51:17.448Z] e1f770b5df2f: Download complete [2021-11-11T20:51:18.057Z] 0eba1c9be4d2: Verifying Checksum [2021-11-11T20:51:18.057Z] 0eba1c9be4d2: Download complete [2021-11-11T20:51:18.057Z] 188c0c94c7c5: Pull complete [2021-11-11T20:51:18.057Z] 85a0685a4137: Verifying Checksum [2021-11-11T20:51:18.057Z] 85a0685a4137: Download complete [2021-11-11T20:51:18.057Z] 0ef7d3d256c8: Pull complete [2021-11-11T20:51:18.316Z] de9db76c5a1d: Pull complete [2021-11-11T20:51:22.516Z] 0eba1c9be4d2: Pull complete [2021-11-11T20:51:22.516Z] 0d57e429df01: Pull complete [2021-11-11T20:51:22.516Z] 4e4be7b47b0d: Pull complete [2021-11-11T20:51:22.516Z] e1f770b5df2f: Pull complete [2021-11-11T20:51:26.729Z] 85a0685a4137: Pull complete [2021-11-11T20:51:26.729Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-11-11T20:51:26.729Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-11T20:51:26.729Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-11-11T20:51:26.797Z] prd-centos7-docker-4c-2g-222 does not seem to be running inside a container [2021-11-11T20:51:26.836Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-11-11T20:51:28.887Z] $ docker top 189e4325d06409cce332a324578f86b145f4aac7c66e3ab45caf40390cce248c -eo pid,comm [Pipeline] { [Pipeline] echo [2021-11-11T20:51:28.963Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-11-11T20:51:29.256Z] + set -o pipefail [2021-11-11T20:51:29.256Z] + snyk monitor '--org=edgex-jenkins' [2021-11-11T20:51:34.562Z] [2021-11-11T20:51:34.562Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2021-11-11T20:51:34.562Z] [2021-11-11T20:51:34.562Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/a3f4756e-663c-4c01-9b3c-493e7a6b8a4d [2021-11-11T20:51:34.562Z] [2021-11-11T20:51:34.562Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-11-11T20:51:34.562Z] [2021-11-11T20:51:34.562Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-11-11T20:51:34.562Z] [2021-11-11T20:51:34.562Z] [2021-11-11T20:51:34.562Z] You have reached your monthly limit of 200 private tests for your edgex-jenkins org. [2021-11-11T20:51:34.562Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2021-11-11T20:51:34.574Z] $ docker stop --time=1 189e4325d06409cce332a324578f86b145f4aac7c66e3ab45caf40390cce248c [2021-11-11T20:51:36.607Z] $ docker rm -f 189e4325d06409cce332a324578f86b145f4aac7c66e3ab45caf40390cce248c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-11T20:51:37.509Z] + git log --format=format:%s -1 09739088bb3ccddf347dd8b212f45a4687ee065f [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:51:37.805Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-11T20:51:37.805Z] . [Pipeline] withDockerContainer [2021-11-11T20:51:37.868Z] prd-centos7-docker-4c-2g-222 does not seem to be running inside a container [2021-11-11T20:51:37.920Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-11T20:51:38.231Z] $ docker top 9aa96f173bc9052c39bba39528812abbb243c053efce737d4dd9b7f0b0e42d1a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-11T20:51:38.362Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-11T20:51:38.362Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-11T20:51:38.462Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-11T20:51:38.465Z] $ docker exec 9aa96f173bc9052c39bba39528812abbb243c053efce737d4dd9b7f0b0e42d1a ssh-agent [2021-11-11T20:51:38.559Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbGcPKO/agent.13 [2021-11-11T20:51:38.559Z] SSH_AGENT_PID=19 [2021-11-11T20:51:38.570Z] Running ssh-add (command line suppressed) [2021-11-11T20:51:38.660Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_534555471646916828.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_534555471646916828.key) [2021-11-11T20:51:38.669Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-11T20:51:38.961Z] + git semver tag [2021-11-11T20:51:38.961Z] # -> Open(): unable to determine branch for HEAD [2021-11-11T20:51:38.961Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-11-11T20:51:38.961Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-11-11T20:51:38.961Z] # $SEMVER_REMOTE_NAME = origin [2021-11-11T20:51:38.961Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-11T20:51:38.961Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-11T20:51:38.961Z] # $SEMVER_BRANCH = main [2021-11-11T20:51:38.961Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [2021-11-11T20:51:38.961Z] # 09739088bb3ccddf347dd8b212f45a4687ee065f HEAD [2021-11-11T20:51:38.961Z] # -> Force: false [2021-11-11T20:51:38.961Z] # 8a8bf8188b68f0a36ddb90780ad06cef680df34b refs/tags/v2.0.1-dev.13 [Pipeline] } [2021-11-11T20:51:38.971Z] $ docker exec --env ******** --env ******** 9aa96f173bc9052c39bba39528812abbb243c053efce737d4dd9b7f0b0e42d1a ssh-agent -k [2021-11-11T20:51:39.055Z] unset SSH_AUTH_SOCK; [2021-11-11T20:51:39.055Z] unset SSH_AGENT_PID; [2021-11-11T20:51:39.055Z] echo Agent pid 19 killed; [2021-11-11T20:51:39.062Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-11T20:51:39.372Z] + git semver [Pipeline] } [2021-11-11T20:51:39.387Z] $ docker stop --time=1 9aa96f173bc9052c39bba39528812abbb243c053efce737d4dd9b7f0b0e42d1a [2021-11-11T20:51:40.563Z] $ docker rm -f 9aa96f173bc9052c39bba39528812abbb243c053efce737d4dd9b7f0b0e42d1a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:51:40.962Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-11T20:51:40.963Z] [2021-11-11T20:51:40.963Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:51:41.268Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-11T20:51:41.268Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-11-11T20:51:41.268Z] ab5ef0e58194: Pulling fs layer [2021-11-11T20:51:41.268Z] 9712f1f96733: Pulling fs layer [2021-11-11T20:51:41.268Z] 63f879dbbcfc: Pulling fs layer [2021-11-11T20:51:41.268Z] 0d9ebad4ef96: Pulling fs layer [2021-11-11T20:51:41.268Z] e9a5061849ea: Pulling fs layer [2021-11-11T20:51:41.268Z] d747dcd14b5f: Pulling fs layer [2021-11-11T20:51:41.268Z] 2de7ff778b66: Pulling fs layer [2021-11-11T20:51:41.268Z] e9a5061849ea: Waiting [2021-11-11T20:51:41.268Z] d747dcd14b5f: Waiting [2021-11-11T20:51:41.268Z] 2de7ff778b66: Waiting [2021-11-11T20:51:41.268Z] 0d9ebad4ef96: Waiting [2021-11-11T20:51:41.268Z] 9712f1f96733: Verifying Checksum [2021-11-11T20:51:41.268Z] 9712f1f96733: Download complete [2021-11-11T20:51:41.526Z] 63f879dbbcfc: Verifying Checksum [2021-11-11T20:51:41.526Z] 63f879dbbcfc: Download complete [2021-11-11T20:51:41.790Z] 0d9ebad4ef96: Verifying Checksum [2021-11-11T20:51:41.790Z] 0d9ebad4ef96: Download complete [2021-11-11T20:51:41.790Z] d747dcd14b5f: Verifying Checksum [2021-11-11T20:51:41.790Z] d747dcd14b5f: Download complete [2021-11-11T20:51:41.790Z] e9a5061849ea: Verifying Checksum [2021-11-11T20:51:41.790Z] e9a5061849ea: Download complete [2021-11-11T20:51:41.790Z] ab5ef0e58194: Verifying Checksum [2021-11-11T20:51:41.790Z] ab5ef0e58194: Download complete [2021-11-11T20:51:41.790Z] 2de7ff778b66: Verifying Checksum [2021-11-11T20:51:41.790Z] 2de7ff778b66: Download complete [2021-11-11T20:51:45.119Z] ab5ef0e58194: Pull complete [2021-11-11T20:51:45.119Z] 9712f1f96733: Pull complete [2021-11-11T20:51:45.381Z] 63f879dbbcfc: Pull complete [2021-11-11T20:51:49.613Z] 0d9ebad4ef96: Pull complete [2021-11-11T20:51:49.613Z] e9a5061849ea: Pull complete [2021-11-11T20:51:49.883Z] d747dcd14b5f: Pull complete [2021-11-11T20:51:50.837Z] 2de7ff778b66: Pull complete [2021-11-11T20:51:50.837Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-11-11T20:51:50.837Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-11T20:51:50.837Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-11-11T20:51:50.902Z] prd-centos7-docker-4c-2g-222 does not seem to be running inside a container [2021-11-11T20:51:50.950Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-11-11T20:51:54.088Z] $ docker top b0cb8bd5ee97b921432be0b666e3224d090550cf4d6b9ebb49d0d4cdacaedb1f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-11-11T20:51:54.166Z] provisioning config files... [2021-11-11T20:51:54.176Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1717893081332172166tmp [2021-11-11T20:51:54.195Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1736688108456376216tmp [2021-11-11T20:51:54.213Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config377806860584600356tmp [Pipeline] { [Pipeline] echo [2021-11-11T20:51:54.227Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:51:54.519Z] ---> sigul-configuration.sh [2021-11-11T20:51:54.519Z] gpg: directory `/root/.gnupg' created [2021-11-11T20:51:54.519Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-11-11T20:51:54.519Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-11-11T20:51:54.519Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-11-11T20:51:54.519Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-11-11T20:51:54.519Z] gpg: CAST5 encrypted data [2021-11-11T20:51:54.519Z] gpg: encrypted with 1 passphrase [2021-11-11T20:51:54.519Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-11-11T20:51:54.816Z] + mkdir /home/jenkins [2021-11-11T20:51:54.816Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-11-11T20:51:55.111Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-11-11T20:51:55.122Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:51:55.410Z] ---> sigul-install.sh [2021-11-11T20:51:55.410Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-11-11T20:51:55.700Z] + git tag --list [2021-11-11T20:51:55.700Z] v1.0.0 [2021-11-11T20:51:55.700Z] v1.1.0 [2021-11-11T20:51:55.700Z] v1.1.1 [2021-11-11T20:51:55.700Z] v1.1.2 [2021-11-11T20:51:55.700Z] v1.2.0 [2021-11-11T20:51:55.700Z] v1.2.1 [2021-11-11T20:51:55.700Z] v2.0.0 [2021-11-11T20:51:55.700Z] v2.0.1-dev.1 [2021-11-11T20:51:55.700Z] v2.0.1-dev.10 [2021-11-11T20:51:55.700Z] v2.0.1-dev.11 [2021-11-11T20:51:55.700Z] v2.0.1-dev.12 [2021-11-11T20:51:55.700Z] v2.0.1-dev.13 [2021-11-11T20:51:55.700Z] v2.0.1-dev.2 [2021-11-11T20:51:55.700Z] v2.0.1-dev.3 [2021-11-11T20:51:55.700Z] v2.0.1-dev.4 [2021-11-11T20:51:55.700Z] v2.0.1-dev.5 [2021-11-11T20:51:55.700Z] v2.0.1-dev.6 [2021-11-11T20:51:55.700Z] v2.0.1-dev.7 [2021-11-11T20:51:55.700Z] v2.0.1-dev.8 [2021-11-11T20:51:55.700Z] v2.0.1-dev.9 [Pipeline] sh [2021-11-11T20:51:55.992Z] + lftools sign git-tag v2.0.1-dev.13 [2021-11-11T20:51:56.561Z] Signing Git tag with Sigul... [2021-11-11T20:51:56.561Z] Signing v2.0.1-dev.13 [Pipeline] echo [2021-11-11T20:51:57.510Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:51:57.811Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-11-11T20:51:57.819Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-11-11T20:51:57.837Z] $ docker stop --time=1 b0cb8bd5ee97b921432be0b666e3224d090550cf4d6b9ebb49d0d4cdacaedb1f [2021-11-11T20:51:59.032Z] $ docker rm -f b0cb8bd5ee97b921432be0b666e3224d090550cf4d6b9ebb49d0d4cdacaedb1f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:51:59.618Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-11T20:51:59.618Z] . [Pipeline] withDockerContainer [2021-11-11T20:51:59.684Z] prd-centos7-docker-4c-2g-222 does not seem to be running inside a container [2021-11-11T20:51:59.721Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-11T20:52:00.050Z] $ docker top f296213d5c68636fae4b549e14311e924d7ab068f5d5fb1876c18c407b98b477 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-11T20:52:00.169Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-11T20:52:00.169Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-11T20:52:00.278Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-11T20:52:00.282Z] $ docker exec f296213d5c68636fae4b549e14311e924d7ab068f5d5fb1876c18c407b98b477 ssh-agent [2021-11-11T20:52:00.401Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMNnCak/agent.14 [2021-11-11T20:52:00.401Z] SSH_AGENT_PID=20 [2021-11-11T20:52:00.408Z] Running ssh-add (command line suppressed) [2021-11-11T20:52:00.518Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2639722240884817099.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2639722240884817099.key) [2021-11-11T20:52:00.536Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-11T20:52:00.829Z] + git semver bump pre [2021-11-11T20:52:00.829Z] # -> Open(): unable to determine branch for HEAD [2021-11-11T20:52:00.829Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-11-11T20:52:00.829Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-11-11T20:52:00.829Z] # $SEMVER_REMOTE_NAME = origin [2021-11-11T20:52:00.829Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-11T20:52:00.829Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-11T20:52:00.829Z] # $SEMVER_BRANCH = main [2021-11-11T20:52:00.829Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [2021-11-11T20:52:00.829Z] 2.0.1-dev.14 [Pipeline] } [2021-11-11T20:52:00.839Z] $ docker exec --env ******** --env ******** f296213d5c68636fae4b549e14311e924d7ab068f5d5fb1876c18c407b98b477 ssh-agent -k [2021-11-11T20:52:00.931Z] unset SSH_AUTH_SOCK; [2021-11-11T20:52:00.931Z] unset SSH_AGENT_PID; [2021-11-11T20:52:00.931Z] echo Agent pid 20 killed; [2021-11-11T20:52:00.936Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-11T20:52:01.243Z] + git semver [Pipeline] } [2021-11-11T20:52:01.264Z] $ docker stop --time=1 f296213d5c68636fae4b549e14311e924d7ab068f5d5fb1876c18c407b98b477 [2021-11-11T20:52:02.438Z] $ docker rm -f f296213d5c68636fae4b549e14311e924d7ab068f5d5fb1876c18c407b98b477 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:52:02.792Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-11T20:52:02.792Z] . [Pipeline] withDockerContainer [2021-11-11T20:52:02.855Z] prd-centos7-docker-4c-2g-222 does not seem to be running inside a container [2021-11-11T20:52:02.888Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-11T20:52:03.231Z] $ docker top 30a5c0403d6e068fe71547e0c733337963bad2cdb734047360f013abc175e5c9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-11T20:52:03.316Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-11T20:52:03.316Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-11T20:52:03.495Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-11T20:52:03.500Z] $ docker exec 30a5c0403d6e068fe71547e0c733337963bad2cdb734047360f013abc175e5c9 ssh-agent [2021-11-11T20:52:03.660Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLffKFN/agent.13 [2021-11-11T20:52:03.660Z] SSH_AGENT_PID=20 [2021-11-11T20:52:03.696Z] Running ssh-add (command line suppressed) [2021-11-11T20:52:03.816Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4987491413433080196.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4987491413433080196.key) [2021-11-11T20:52:03.851Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-11T20:52:04.164Z] + git semver push [2021-11-11T20:52:04.164Z] # -> Open(): unable to determine branch for HEAD [2021-11-11T20:52:04.164Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-11-11T20:52:04.164Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-11-11T20:52:04.164Z] # $SEMVER_REMOTE_NAME = origin [2021-11-11T20:52:04.164Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-11T20:52:04.164Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-11T20:52:04.164Z] # $SEMVER_BRANCH = main [2021-11-11T20:52:04.164Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } [2021-11-11T20:52:06.083Z] $ docker exec --env ******** --env ******** 30a5c0403d6e068fe71547e0c733337963bad2cdb734047360f013abc175e5c9 ssh-agent -k [2021-11-11T20:52:06.182Z] unset SSH_AUTH_SOCK; [2021-11-11T20:52:06.182Z] unset SSH_AGENT_PID; [2021-11-11T20:52:06.182Z] echo Agent pid 20 killed; [2021-11-11T20:52:06.189Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-11T20:52:06.499Z] + git semver [Pipeline] } [2021-11-11T20:52:06.513Z] $ docker stop --time=1 30a5c0403d6e068fe71547e0c733337963bad2cdb734047360f013abc175e5c9 [2021-11-11T20:52:07.695Z] $ docker rm -f 30a5c0403d6e068fe71547e0c733337963bad2cdb734047360f013abc175e5c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-11-11T20:52:08.554Z] + '[' -d /w/workspace/edgexfoundry_device-rest-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:52:08.849Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:52:09.405Z] ---> package-listing.sh [2021-11-11T20:52:09.405Z] ++ facter osfamily [2021-11-11T20:52:09.405Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-11T20:52:09.667Z] + OS_FAMILY=redhat [2021-11-11T20:52:09.667Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2021-11-11T20:52:09.667Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-11T20:52:09.667Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-11T20:52:09.667Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-11T20:52:09.667Z] + PACKAGES=/tmp/packages_start.txt [2021-11-11T20:52:09.667Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2021-11-11T20:52:09.667Z] + PACKAGES=/tmp/packages_end.txt [2021-11-11T20:52:09.667Z] + case "${OS_FAMILY}" in [2021-11-11T20:52:09.667Z] + rpm -qa [2021-11-11T20:52:09.667Z] + sort [2021-11-11T20:52:10.238Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-11T20:52:10.238Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-11T20:52:10.238Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-11T20:52:10.238Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2021-11-11T20:52:10.238Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2021-11-11T20:52:10.238Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo [2021-11-11T20:52:10.250Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-11-11T20:52:10.531Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:52:11.088Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T20:52:11.089Z] [2021-11-11T20:52:11.089Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:52:11.394Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T20:52:11.394Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-11T20:52:11.394Z] b4d181a07f80: Pulling fs layer [2021-11-11T20:52:11.394Z] a1111a8f2ec3: Pulling fs layer [2021-11-11T20:52:11.394Z] ed53099fbce6: Pulling fs layer [2021-11-11T20:52:11.394Z] dc539afda2c1: Pulling fs layer [2021-11-11T20:52:11.394Z] 77bc0d833cb6: Pulling fs layer [2021-11-11T20:52:11.394Z] 9065ff56babe: Pulling fs layer [2021-11-11T20:52:11.394Z] d287ab97295c: Pulling fs layer [2021-11-11T20:52:11.394Z] 77bc0d833cb6: Waiting [2021-11-11T20:52:11.394Z] 9065ff56babe: Waiting [2021-11-11T20:52:11.394Z] d287ab97295c: Waiting [2021-11-11T20:52:11.394Z] dc539afda2c1: Waiting [2021-11-11T20:52:11.394Z] a1111a8f2ec3: Verifying Checksum [2021-11-11T20:52:11.394Z] a1111a8f2ec3: Download complete [2021-11-11T20:52:11.394Z] dc539afda2c1: Verifying Checksum [2021-11-11T20:52:11.395Z] dc539afda2c1: Download complete [2021-11-11T20:52:11.395Z] ed53099fbce6: Verifying Checksum [2021-11-11T20:52:11.395Z] ed53099fbce6: Download complete [2021-11-11T20:52:11.395Z] 9065ff56babe: Verifying Checksum [2021-11-11T20:52:11.395Z] 9065ff56babe: Download complete [2021-11-11T20:52:11.672Z] 77bc0d833cb6: Verifying Checksum [2021-11-11T20:52:11.672Z] 77bc0d833cb6: Download complete [2021-11-11T20:52:11.672Z] b4d181a07f80: Verifying Checksum [2021-11-11T20:52:11.672Z] b4d181a07f80: Download complete [2021-11-11T20:52:12.255Z] d287ab97295c: Verifying Checksum [2021-11-11T20:52:12.255Z] d287ab97295c: Download complete [2021-11-11T20:52:13.205Z] b4d181a07f80: Pull complete [2021-11-11T20:52:13.205Z] a1111a8f2ec3: Pull complete [2021-11-11T20:52:13.782Z] ed53099fbce6: Pull complete [2021-11-11T20:52:13.782Z] dc539afda2c1: Pull complete [2021-11-11T20:52:14.042Z] 77bc0d833cb6: Pull complete [2021-11-11T20:52:14.042Z] 9065ff56babe: Pull complete [2021-11-11T20:52:19.354Z] d287ab97295c: Pull complete [2021-11-11T20:52:19.354Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-11T20:52:19.354Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T20:52:19.354Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-11T20:52:19.427Z] prd-centos7-docker-4c-2g-222 does not seem to be running inside a container [2021-11-11T20:52:19.480Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-11T20:52:21.734Z] $ docker top 2945d7551f06cf7cb0a4931389ace0a088bd0e48d34c02dd557cc325ebfd3c9f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-11T20:52:22.092Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-11T20:52:22.385Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-11T20:52:22.678Z] + ls /var/log/sa-host [2021-11-11T20:52:22.678Z] + sadf -c /var/log/sa-host/sa11 [2021-11-11T20:52:22.678Z] file_magic: OK [2021-11-11T20:52:22.678Z] HZ: Using current value: 100 [2021-11-11T20:52:22.678Z] file_header: OK [2021-11-11T20:52:22.678Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-11-11T20:52:22.678Z] Statistics: [2021-11-11T20:52:22.678Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-11T20:52:22.678Z] File successfully converted to sysstat format version 12.0.3 [2021-11-11T20:52:22.678Z] + sadf -c /var/log/sa-host/sa30 [2021-11-11T20:52:22.678Z] file_magic: OK [2021-11-11T20:52:22.678Z] HZ: Using current value: 100 [2021-11-11T20:52:22.678Z] file_header: OK [2021-11-11T20:52:22.679Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-11-11T20:52:22.679Z] Statistics: [2021-11-11T20:52:22.679Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-11T20:52:22.679Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-11T20:52:22.757Z] provisioning config files... [2021-11-11T20:52:22.766Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3940805353792194246tmp [Pipeline] { [Pipeline] echo [2021-11-11T20:52:22.777Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:52:23.069Z] ---> create-netrc.sh [Pipeline] } [2021-11-11T20:52:23.076Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:52:23.395Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-11T20:52:23.404Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:52:23.698Z] ---> sudo-logs.sh [2021-11-11T20:52:23.698Z] Archiving 'sudo' log.. [2021-11-11T20:52:23.698Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-222.novalocal: Name or service not known [2021-11-11T20:52:23.698Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-222.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-11T20:52:23.719Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:52:24.005Z] ---> job-cost.sh [2021-11-11T20:52:24.005Z] lf-activate-venv: SKIPPING [2021-11-11T20:52:24.005Z] DEBUG: total: 0.10999999940395355 [2021-11-11T20:52:24.005Z] INFO: Retrieving Stack Cost... [2021-11-11T20:52:24.265Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-11T20:52:24.834Z] INFO: Archiving Costs [Pipeline] echo [2021-11-11T20:52:24.846Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:52:25.146Z] ---> logs-deploy.sh [2021-11-11T20:52:25.146Z] lf-activate-venv: SKIPPING [2021-11-11T20:52:25.146Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/18 [2021-11-11T20:52:25.146Z] INFO: archiving workspace using pattern(s): [2021-11-11T20:52:25.715Z] Archives upload complete. [2021-11-11T20:52:25.981Z] INFO: archiving logs to Nexus