Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7759c41568adf15208c0dd5cadcdb8f87895acd8 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-ssh4024746336082754142.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 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-ssh3159339841322689236.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 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 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-ssh6631762193277949556.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 # timeout=10 Commit message: "Merge pull request #366 from ernestojeda/fix-builder-images-sdk-c" > 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-ssh1228423870852149588.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-ssh4709863495974454279.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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-785 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-ssh3678221506715612711.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 7759c41568adf15208c0dd5cadcdb8f87895acd8 (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 7759c41568adf15208c0dd5cadcdb8f87895acd8 # timeout=10 Commit message: "Merge pull request #145 from lenny-intel/object-value-type" > git rev-list --no-walk 09739088bb3ccddf347dd8b212f45a4687ee065f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-16T06:20:26.942Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-16T06:20:26.989Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-16T06:20:26.998Z] ========================================================= [2021-11-16T06:20:26.998Z] EdgeX Global Pipelines Version Info [2021-11-16T06:20:26.998Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-16T06:20:28.153Z] ------------------- [2021-11-16T06:20:28.153Z] stable info: [2021-11-16T06:20:28.153Z] ------------------- [2021-11-16T06:20:28.153Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-16T06:20:28.153Z] Commit SHA: 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 [2021-11-16T06:20:28.153Z] Message: update stable to v1.0.215 [2021-11-16T06:20:29.096Z] ------------------- [2021-11-16T06:20:29.097Z] experimental info: [2021-11-16T06:20:29.097Z] ------------------- [2021-11-16T06:20:29.097Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-16T06:20:29.097Z] Commit SHA: 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 [2021-11-16T06:20:29.097Z] Message: update experimental to v1.0.215 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-16T06:20:29.213Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-11-16T06:20:29.224Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-11-16T06:20:29.238Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-16T06:20:29.248Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-16T06:20:29.260Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-16T06:20:29.272Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-16T06:20:29.284Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-16T06:20:29.296Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-11-16T06:20:29.306Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-16T06:20:29.316Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-16T06:20:29.326Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-16T06:20:29.337Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-11-16T06:20:29.351Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-16T06:20:29.391Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-16T06:20:29.401Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-16T06:20:29.410Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-11-16T06:20:29.420Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-16T06:20:29.430Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-16T06:20:29.440Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-16T06:20:29.450Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-11-16T06:20:29.460Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-11-16T06:20:29.470Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-11-16T06:20:29.481Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-16T06:20:29.491Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-16T06:20:29.500Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-16T06:20:29.510Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-16T06:20:29.523Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-11-16T06:20:29.533Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-11-16T06:20:29.543Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-11-16T06:20:29.553Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7759c41568adf15208c0dd5cadcdb8f87895acd8 [Pipeline] echo [2021-11-16T06:20:29.564Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7759c41 [Pipeline] echo [2021-11-16T06:20:29.574Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-16T06:20:29.609Z] provisioning config files... [2021-11-16T06:20:29.622Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5218839635908777068tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-16T06:20:29.938Z] ---> docker-login.sh [2021-11-16T06:20:29.938Z] nexus3.edgexfoundry.org:10001 [2021-11-16T06:20:29.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T06:20:30.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T06:20:30.201Z] Configure a credential helper to remove this warning. See [2021-11-16T06:20:30.201Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T06:20:30.201Z] [2021-11-16T06:20:30.201Z] Login Succeeded [2021-11-16T06:20:30.201Z] nexus3.edgexfoundry.org:10002 [2021-11-16T06:20:30.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T06:20:30.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T06:20:30.201Z] Configure a credential helper to remove this warning. See [2021-11-16T06:20:30.201Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T06:20:30.201Z] [2021-11-16T06:20:30.201Z] Login Succeeded [2021-11-16T06:20:30.201Z] nexus3.edgexfoundry.org:10003 [2021-11-16T06:20:30.462Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T06:20:30.462Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T06:20:30.462Z] Configure a credential helper to remove this warning. See [2021-11-16T06:20:30.462Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T06:20:30.462Z] [2021-11-16T06:20:30.462Z] Login Succeeded [2021-11-16T06:20:30.462Z] nexus3.edgexfoundry.org:10004 [2021-11-16T06:20:30.462Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T06:20:30.462Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T06:20:30.462Z] Configure a credential helper to remove this warning. See [2021-11-16T06:20:30.462Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T06:20:30.462Z] [2021-11-16T06:20:30.462Z] Login Succeeded [2021-11-16T06:20:30.462Z] docker.io [2021-11-16T06:20:30.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T06:20:30.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T06:20:30.986Z] Configure a credential helper to remove this warning. See [2021-11-16T06:20:30.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T06:20:30.986Z] [2021-11-16T06:20:30.986Z] Login Succeeded [2021-11-16T06:20:30.986Z] ---> docker-login.sh ends [Pipeline] } [2021-11-16T06:20:30.995Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-16T06:20:31.574Z] + git rev-list -1 --merges 7759c41568adf15208c0dd5cadcdb8f87895acd8~1..7759c41568adf15208c0dd5cadcdb8f87895acd8 [Pipeline] echo [2021-11-16T06:20:31.616Z] -----------> git rev-list -1 --merges 7759c41568adf15208c0dd5cadcdb8f87895acd8~1..7759c41568adf15208c0dd5cadcdb8f87895acd8 7759c41568adf15208c0dd5cadcdb8f87895acd8 [2021-11-16T06:20:31.616Z] 7759c41568adf15208c0dd5cadcdb8f87895acd8 [false] [Pipeline] sh [2021-11-16T06:20:31.925Z] + git log --format=format:%s -1 7759c41568adf15208c0dd5cadcdb8f87895acd8 [Pipeline] echo [2021-11-16T06:20:31.944Z] ========================================================= [2021-11-16T06:20:31.944Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-16T06:20:31.944Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-16T06:20:32.287Z] + git log --format=format:%s -1 7759c41568adf15208c0dd5cadcdb8f87895acd8 [Pipeline] echo [2021-11-16T06:20:32.299Z] [semverPrep] GIT_COMMIT: 7759c41568adf15208c0dd5cadcdb8f87895acd8, Commit Message: Merge pull request #145 from lenny-intel/object-value-type [Pipeline] echo [2021-11-16T06:20:32.307Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-16T06:20:33.019Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-16T06:20:33.020Z] [2021-11-16T06:20:33.020Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-16T06:20:33.334Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-16T06:20:33.334Z] latest: Pulling from edgex-devops/git-semver [2021-11-16T06:20:33.334Z] a0d0a0d46f8b: Pulling fs layer [2021-11-16T06:20:33.334Z] 3e5f54012d9b: Pulling fs layer [2021-11-16T06:20:33.334Z] 4c7163046ea9: Pulling fs layer [2021-11-16T06:20:33.334Z] 0c2d73faf560: Pulling fs layer [2021-11-16T06:20:33.334Z] 0c2d73faf560: Waiting [2021-11-16T06:20:33.334Z] 3e5f54012d9b: Verifying Checksum [2021-11-16T06:20:33.334Z] 3e5f54012d9b: Download complete [2021-11-16T06:20:33.334Z] a0d0a0d46f8b: Verifying Checksum [2021-11-16T06:20:33.334Z] a0d0a0d46f8b: Download complete [2021-11-16T06:20:33.334Z] 4c7163046ea9: Verifying Checksum [2021-11-16T06:20:33.334Z] 4c7163046ea9: Download complete [2021-11-16T06:20:33.334Z] 0c2d73faf560: Verifying Checksum [2021-11-16T06:20:33.334Z] 0c2d73faf560: Download complete [2021-11-16T06:20:33.604Z] a0d0a0d46f8b: Pull complete [2021-11-16T06:20:33.604Z] 3e5f54012d9b: Pull complete [2021-11-16T06:20:33.873Z] 4c7163046ea9: Pull complete [2021-11-16T06:20:34.138Z] 0c2d73faf560: Pull complete [2021-11-16T06:20:34.138Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-16T06:20:34.138Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-16T06:20:34.138Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-16T06:20:34.215Z] prd-centos7-docker-4c-2g-785 does not seem to be running inside a container [2021-11-16T06:20:34.181Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-16T06:20:34.875Z] $ docker top 76f1f6149a9d27a4297133bfacc1d95f2cb5910f6f069e97b2e1189595a64b2a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-16T06:20:34.984Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-16T06:20:34.984Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-16T06:20:35.094Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-16T06:20:35.090Z] $ docker exec 76f1f6149a9d27a4297133bfacc1d95f2cb5910f6f069e97b2e1189595a64b2a ssh-agent [2021-11-16T06:20:35.217Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPBOFCL/agent.13 [2021-11-16T06:20:35.217Z] SSH_AGENT_PID=19 [2021-11-16T06:20:35.228Z] Running ssh-add (command line suppressed) [2021-11-16T06:20:35.359Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3950614011224954032.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3950614011224954032.key) [2021-11-16T06:20:35.372Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-16T06:20:35.679Z] + git tag --points-at HEAD [Pipeline] } [2021-11-16T06:20:35.694Z] $ docker exec --env ******** --env ******** 76f1f6149a9d27a4297133bfacc1d95f2cb5910f6f069e97b2e1189595a64b2a ssh-agent -k [2021-11-16T06:20:35.805Z] unset SSH_AUTH_SOCK; [2021-11-16T06:20:35.805Z] unset SSH_AGENT_PID; [2021-11-16T06:20:35.805Z] echo Agent pid 19 killed; [2021-11-16T06:20:35.813Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-16T06:20:35.835Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-16T06:20:35.835Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-16T06:20:35.961Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-16T06:20:35.963Z] $ docker exec 76f1f6149a9d27a4297133bfacc1d95f2cb5910f6f069e97b2e1189595a64b2a ssh-agent [2021-11-16T06:20:36.091Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAcIFge/agent.53 [2021-11-16T06:20:36.091Z] SSH_AGENT_PID=59 [2021-11-16T06:20:36.097Z] Running ssh-add (command line suppressed) [2021-11-16T06:20:36.218Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_99427763401164703.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_99427763401164703.key) [2021-11-16T06:20:36.231Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-16T06:20:36.526Z] + git semver init [2021-11-16T06:20:36.526Z] # -> Open(): unable to determine branch for HEAD [2021-11-16T06:20:36.526Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-11-16T06:20:36.526Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-11-16T06:20:36.526Z] # $SEMVER_REMOTE_NAME = origin [2021-11-16T06:20:36.526Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-16T06:20:36.526Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-16T06:20:36.526Z] # $SEMVER_BRANCH = main [2021-11-16T06:20:36.526Z] # $SEMVER_TEMP = /tmp/semver-505807690 [2021-11-16T06:20:36.526Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-11-16T06:20:37.476Z] # '/tmp/semver-505807690' -> '/w/workspace/edgexfoundry_device-rest-go_main/.semver' [2021-11-16T06:20:37.476Z] # -> Force: false [2021-11-16T06:20:37.476Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } [2021-11-16T06:20:37.486Z] $ docker exec --env ******** --env ******** 76f1f6149a9d27a4297133bfacc1d95f2cb5910f6f069e97b2e1189595a64b2a ssh-agent -k [2021-11-16T06:20:37.589Z] unset SSH_AUTH_SOCK; [2021-11-16T06:20:37.589Z] unset SSH_AGENT_PID; [2021-11-16T06:20:37.590Z] echo Agent pid 59 killed; [2021-11-16T06:20:37.599Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-16T06:20:37.905Z] + git semver [Pipeline] } [2021-11-16T06:20:37.920Z] $ docker stop --time=1 76f1f6149a9d27a4297133bfacc1d95f2cb5910f6f069e97b2e1189595a64b2a [2021-11-16T06:20:39.235Z] $ docker rm -f 76f1f6149a9d27a4297133bfacc1d95f2cb5910f6f069e97b2e1189595a64b2a [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-16T06:20:39.601Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-16T06:20:39.843Z] Stashed 1 file(s) [Pipeline] echo [2021-11-16T06:20:39.846Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.14 [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-16T06:20:55.054Z] Still waiting to schedule task [2021-11-16T06:20:55.054Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-785’ [2021-11-16T06:20:55.056Z] Still waiting to schedule task [2021-11-16T06:20:55.056Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-11-16T06:22:20.859Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-786 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2021-11-16T06:22:20.872Z] Running in /w/workspace/device-rest-go/19 [Pipeline] { [Pipeline] checkout [2021-11-16T06:22:21.034Z] The recommended git tool is: git [2021-11-16T06:22:26.259Z] using credential edgex-jenkins-ssh [2021-11-16T06:22:26.276Z] Cloning the remote Git repository [2021-11-16T06:22:26.321Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-11-16T06:22:26.428Z] > git init /w/workspace/device-rest-go/19 # timeout=10 [2021-11-16T06:22:26.577Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-11-16T06:22:26.580Z] > git --version # timeout=10 [2021-11-16T06:22:26.607Z] > git --version # 'git version 2.17.1' [2021-11-16T06:22:26.609Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-16T06:22:26.804Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-16T06:22:28.335Z] Avoid second fetch [2021-11-16T06:22:28.336Z] Checking out Revision 7759c41568adf15208c0dd5cadcdb8f87895acd8 (main) [2021-11-16T06:22:28.293Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-11-16T06:22:28.311Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-16T06:22:28.348Z] > git config core.sparsecheckout # timeout=10 [2021-11-16T06:22:28.363Z] > git checkout -f 7759c41568adf15208c0dd5cadcdb8f87895acd8 # timeout=10 [2021-11-16T06:22:32.527Z] Commit message: "Merge pull request #145 from lenny-intel/object-value-type" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-16T06:22:33.506Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-16T06:22:33.507Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-16T06:22:33.507Z] Dload Upload Total Spent Left Speed [2021-11-16T06:22:33.507Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 65 11824 65 7745 0 0 62459 0 --:--:-- --:--:-- --:--:-- 61960 100 11824 100 11824 0 0 93841 0 --:--:-- --:--:-- --:--:-- 93841 [Pipeline] sh [2021-11-16T06:22:34.141Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-16T06:22:34.497Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-16T06:22:34.497Z] + sudo tee /etc/docker/daemon.new [2021-11-16T06:22:34.497Z] { [2021-11-16T06:22:34.497Z] "registry-mirrors": [ [2021-11-16T06:22:34.497Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-16T06:22:34.497Z] ], [2021-11-16T06:22:34.497Z] "bip": "10.250.0.254/24", [2021-11-16T06:22:34.497Z] "hosts": [ [2021-11-16T06:22:34.497Z] "tcp://0.0.0.0:5555", [2021-11-16T06:22:34.497Z] "unix:///var/run/docker.sock" [2021-11-16T06:22:34.497Z] ], [2021-11-16T06:22:34.497Z] "mtu": 1458, [2021-11-16T06:22:34.497Z] "selinux-enabled": true, [2021-11-16T06:22:34.497Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-16T06:22:34.497Z] } [Pipeline] sh [2021-11-16T06:22:34.861Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-16T06:22:35.205Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-16T06:22:53.613Z] provisioning config files... [2021-11-16T06:22:53.637Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/19@tmp/config3280103090022096201tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-16T06:22:53.999Z] ---> docker-login.sh [2021-11-16T06:22:53.999Z] nexus3.edgexfoundry.org:10001 [2021-11-16T06:22:54.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T06:22:54.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T06:22:54.873Z] Configure a credential helper to remove this warning. See [2021-11-16T06:22:54.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T06:22:54.873Z] [2021-11-16T06:22:54.873Z] Login Succeeded [2021-11-16T06:22:54.873Z] nexus3.edgexfoundry.org:10002 [2021-11-16T06:22:55.148Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T06:22:55.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T06:22:55.424Z] Configure a credential helper to remove this warning. See [2021-11-16T06:22:55.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T06:22:55.424Z] [2021-11-16T06:22:55.424Z] Login Succeeded [2021-11-16T06:22:55.424Z] nexus3.edgexfoundry.org:10003 [2021-11-16T06:22:55.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T06:22:55.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T06:22:55.978Z] Configure a credential helper to remove this warning. See [2021-11-16T06:22:55.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T06:22:55.978Z] [2021-11-16T06:22:55.978Z] Login Succeeded [2021-11-16T06:22:55.978Z] nexus3.edgexfoundry.org:10004 [2021-11-16T06:22:56.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T06:22:56.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T06:22:56.536Z] Configure a credential helper to remove this warning. See [2021-11-16T06:22:56.536Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T06:22:56.536Z] [2021-11-16T06:22:56.536Z] Login Succeeded [2021-11-16T06:22:56.536Z] docker.io [2021-11-16T06:22:56.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T06:22:57.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T06:22:57.405Z] Configure a credential helper to remove this warning. See [2021-11-16T06:22:57.405Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T06:22:57.405Z] [2021-11-16T06:22:57.405Z] Login Succeeded [2021-11-16T06:22:57.405Z] ---> docker-login.sh ends [Pipeline] } [2021-11-16T06:22:57.422Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-16T06:22:57.697Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-16T06:22:57.707Z] ========================================================= [2021-11-16T06:22:57.707Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-16T06:22:57.707Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-16T06:22:58.051Z] + 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-16T06:22:58.051Z] Sending build context to Docker daemon 121.3kB [2021-11-16T06:22:58.347Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-11-16T06:22:58.347Z] Step 2/11 : FROM ${BASE} AS builder [2021-11-16T06:22:58.621Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-16T06:22:58.621Z] 552d1f2373af: Pulling fs layer [2021-11-16T06:22:58.621Z] ea3f2d53f512: Pulling fs layer [2021-11-16T06:22:58.621Z] 9e70ebbbe112: Pulling fs layer [2021-11-16T06:22:58.621Z] 7a9cfe048b4a: Pulling fs layer [2021-11-16T06:22:58.621Z] 72dc09318566: Pulling fs layer [2021-11-16T06:22:58.621Z] f4f7b4309257: Pulling fs layer [2021-11-16T06:22:58.621Z] 0ac9a79272e3: Pulling fs layer [2021-11-16T06:22:58.621Z] b78e95d17946: Pulling fs layer [2021-11-16T06:22:58.621Z] 7a9cfe048b4a: Waiting [2021-11-16T06:22:58.621Z] 72dc09318566: Waiting [2021-11-16T06:22:58.621Z] f4f7b4309257: Waiting [2021-11-16T06:22:58.621Z] 0ac9a79272e3: Waiting [2021-11-16T06:22:58.621Z] b78e95d17946: Waiting [2021-11-16T06:22:58.621Z] 9e70ebbbe112: Verifying Checksum [2021-11-16T06:22:58.621Z] 9e70ebbbe112: Download complete [2021-11-16T06:22:58.621Z] ea3f2d53f512: Verifying Checksum [2021-11-16T06:22:58.621Z] ea3f2d53f512: Download complete [2021-11-16T06:22:58.621Z] 72dc09318566: Verifying Checksum [2021-11-16T06:22:58.621Z] 72dc09318566: Download complete [2021-11-16T06:22:58.621Z] f4f7b4309257: Verifying Checksum [2021-11-16T06:22:58.621Z] f4f7b4309257: Download complete [2021-11-16T06:22:58.621Z] 552d1f2373af: Verifying Checksum [2021-11-16T06:22:58.621Z] 552d1f2373af: Download complete [2021-11-16T06:22:58.621Z] 0ac9a79272e3: Verifying Checksum [2021-11-16T06:22:58.621Z] 0ac9a79272e3: Download complete [2021-11-16T06:22:59.622Z] 552d1f2373af: Pull complete [2021-11-16T06:23:00.229Z] ea3f2d53f512: Pull complete [2021-11-16T06:23:00.503Z] 9e70ebbbe112: Pull complete [2021-11-16T06:23:00.503Z] b78e95d17946: Verifying Checksum [2021-11-16T06:23:00.503Z] b78e95d17946: Download complete [2021-11-16T06:23:01.106Z] 7a9cfe048b4a: Verifying Checksum [2021-11-16T06:23:01.106Z] 7a9cfe048b4a: Download complete [2021-11-16T06:23:09.604Z] Running on prd-centos7-docker-4c-2g-787 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2021-11-16T06:23:09.617Z] Running in /w/workspace/device-rest-go/19 [Pipeline] { [Pipeline] checkout [2021-11-16T06:23:09.710Z] The recommended git tool is: git [2021-11-16T06:23:11.260Z] 7a9cfe048b4a: Pull complete [2021-11-16T06:23:11.260Z] 72dc09318566: Pull complete [2021-11-16T06:23:11.534Z] f4f7b4309257: Pull complete [2021-11-16T06:23:11.884Z] using credential edgex-jenkins-ssh [2021-11-16T06:23:11.896Z] Cloning the remote Git repository [2021-11-16T06:23:11.878Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-11-16T06:23:11.933Z] > git init /w/workspace/device-rest-go/19 # timeout=10 [2021-11-16T06:23:12.127Z] 0ac9a79272e3: Pull complete [2021-11-16T06:23:12.915Z] Avoid second fetch [2021-11-16T06:23:12.915Z] Checking out Revision 7759c41568adf15208c0dd5cadcdb8f87895acd8 (main) [2021-11-16T06:23:11.958Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-11-16T06:23:11.959Z] > git --version # timeout=10 [2021-11-16T06:23:11.983Z] > git --version # 'git version 2.24.4' [2021-11-16T06:23:11.983Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-16T06:23:12.006Z] [INFO] Currently running in a labeled security context [2021-11-16T06:23:12.007Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-16T06:23:12.007Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/19@tmp/jenkins-gitclient-ssh5420913990802892725.key [2021-11-16T06:23:12.031Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-16T06:23:12.848Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-11-16T06:23:12.858Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-16T06:23:12.880Z] > git config core.sparsecheckout # timeout=10 [2021-11-16T06:23:12.886Z] > git checkout -f 7759c41568adf15208c0dd5cadcdb8f87895acd8 # timeout=10 [2021-11-16T06:23:16.560Z] Commit message: "Merge pull request #145 from lenny-intel/object-value-type" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-16T06:23:16.876Z] provisioning config files... [2021-11-16T06:23:16.892Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/19@tmp/config8007658517292055969tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-16T06:23:17.272Z] ---> docker-login.sh [2021-11-16T06:23:17.272Z] nexus3.edgexfoundry.org:10001 [2021-11-16T06:23:17.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T06:23:17.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T06:23:17.536Z] Configure a credential helper to remove this warning. See [2021-11-16T06:23:17.536Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T06:23:17.536Z] [2021-11-16T06:23:17.536Z] Login Succeeded [2021-11-16T06:23:17.536Z] nexus3.edgexfoundry.org:10002 [2021-11-16T06:23:17.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T06:23:17.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T06:23:17.536Z] Configure a credential helper to remove this warning. See [2021-11-16T06:23:17.536Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T06:23:17.536Z] [2021-11-16T06:23:17.536Z] Login Succeeded [2021-11-16T06:23:17.536Z] nexus3.edgexfoundry.org:10003 [2021-11-16T06:23:17.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T06:23:17.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T06:23:17.798Z] Configure a credential helper to remove this warning. See [2021-11-16T06:23:17.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T06:23:17.798Z] [2021-11-16T06:23:17.798Z] Login Succeeded [2021-11-16T06:23:17.798Z] nexus3.edgexfoundry.org:10004 [2021-11-16T06:23:17.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T06:23:17.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T06:23:17.798Z] Configure a credential helper to remove this warning. See [2021-11-16T06:23:17.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T06:23:17.798Z] [2021-11-16T06:23:17.798Z] Login Succeeded [2021-11-16T06:23:17.798Z] docker.io [2021-11-16T06:23:17.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T06:23:18.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T06:23:18.061Z] Configure a credential helper to remove this warning. See [2021-11-16T06:23:18.061Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T06:23:18.061Z] [2021-11-16T06:23:18.061Z] Login Succeeded [2021-11-16T06:23:18.061Z] ---> docker-login.sh ends [Pipeline] } [2021-11-16T06:23:18.089Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-16T06:23:18.217Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-16T06:23:18.225Z] ========================================================= [2021-11-16T06:23:18.225Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-16T06:23:18.225Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-16T06:23:18.549Z] + 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-16T06:23:18.550Z] Sending build context to Docker daemon 121.3kB [2021-11-16T06:23:18.550Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-11-16T06:23:18.550Z] Step 2/11 : FROM ${BASE} AS builder [2021-11-16T06:23:18.550Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-16T06:23:18.550Z] a0d0a0d46f8b: Pulling fs layer [2021-11-16T06:23:18.550Z] 31adcdaf11c8: Pulling fs layer [2021-11-16T06:23:18.550Z] b8b176561691: Pulling fs layer [2021-11-16T06:23:18.550Z] 4527c011a84f: Pulling fs layer [2021-11-16T06:23:18.550Z] 5d74067f8e1e: Pulling fs layer [2021-11-16T06:23:18.550Z] e0aca202a116: Pulling fs layer [2021-11-16T06:23:18.550Z] 3a43be97a3b4: Pulling fs layer [2021-11-16T06:23:18.550Z] 34cad66bf833: Pulling fs layer [2021-11-16T06:23:18.550Z] b4e3c513aaa6: Pulling fs layer [2021-11-16T06:23:18.550Z] e0aca202a116: Waiting [2021-11-16T06:23:18.550Z] 3a43be97a3b4: Waiting [2021-11-16T06:23:18.550Z] 34cad66bf833: Waiting [2021-11-16T06:23:18.550Z] b4e3c513aaa6: Waiting [2021-11-16T06:23:18.550Z] 4527c011a84f: Waiting [2021-11-16T06:23:18.550Z] 5d74067f8e1e: Waiting [2021-11-16T06:23:18.550Z] b8b176561691: Verifying Checksum [2021-11-16T06:23:18.550Z] b8b176561691: Download complete [2021-11-16T06:23:18.550Z] 31adcdaf11c8: Verifying Checksum [2021-11-16T06:23:18.550Z] 31adcdaf11c8: Download complete [2021-11-16T06:23:18.550Z] 5d74067f8e1e: Verifying Checksum [2021-11-16T06:23:18.550Z] 5d74067f8e1e: Download complete [2021-11-16T06:23:18.550Z] e0aca202a116: Verifying Checksum [2021-11-16T06:23:18.550Z] e0aca202a116: Download complete [2021-11-16T06:23:18.550Z] a0d0a0d46f8b: Verifying Checksum [2021-11-16T06:23:18.550Z] a0d0a0d46f8b: Download complete [2021-11-16T06:23:18.814Z] 3a43be97a3b4: Verifying Checksum [2021-11-16T06:23:18.814Z] 3a43be97a3b4: Download complete [2021-11-16T06:23:18.814Z] 34cad66bf833: Verifying Checksum [2021-11-16T06:23:18.814Z] 34cad66bf833: Download complete [2021-11-16T06:23:18.861Z] b78e95d17946: Pull complete [2021-11-16T06:23:18.861Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-16T06:23:18.861Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-16T06:23:18.861Z] ---> 8b459fc5aaf0 [2021-11-16T06:23:18.861Z] Step 3/11 : ARG MAKE='make build' [2021-11-16T06:23:19.074Z] 4527c011a84f: Verifying Checksum [2021-11-16T06:23:19.074Z] 4527c011a84f: Download complete [2021-11-16T06:23:19.341Z] a0d0a0d46f8b: Pull complete [2021-11-16T06:23:19.341Z] b4e3c513aaa6: Verifying Checksum [2021-11-16T06:23:19.341Z] b4e3c513aaa6: Download complete [2021-11-16T06:23:19.341Z] 31adcdaf11c8: Pull complete [2021-11-16T06:23:19.341Z] b8b176561691: Pull complete [2021-11-16T06:23:19.465Z] ---> Running in fb1eaff2debb [2021-11-16T06:23:19.739Z] Removing intermediate container fb1eaff2debb [2021-11-16T06:23:19.739Z] ---> 51509c98c953 [2021-11-16T06:23:19.739Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-16T06:23:19.739Z] ---> Running in e8c15bf64589 [2021-11-16T06:23:20.333Z] Removing intermediate container e8c15bf64589 [2021-11-16T06:23:20.333Z] ---> d6139be64386 [2021-11-16T06:23:20.333Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-11-16T06:23:20.333Z] ---> Running in dd255e8679cd [2021-11-16T06:23:20.930Z] Removing intermediate container dd255e8679cd [2021-11-16T06:23:20.930Z] ---> cf62f8545237 [2021-11-16T06:23:20.930Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-16T06:23:20.930Z] ---> Running in 9ca7e1a04333 [2021-11-16T06:23:22.915Z] Removing intermediate container 9ca7e1a04333 [2021-11-16T06:23:22.915Z] ---> 901b704a9a60 [2021-11-16T06:23:22.915Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-16T06:23:23.194Z] ---> Running in 3f93616d4f78 [2021-11-16T06:23:23.571Z] 4527c011a84f: Pull complete [2021-11-16T06:23:23.571Z] 5d74067f8e1e: Pull complete [2021-11-16T06:23:23.571Z] e0aca202a116: Pull complete [2021-11-16T06:23:23.571Z] 3a43be97a3b4: Pull complete [2021-11-16T06:23:23.571Z] 34cad66bf833: Pull complete [2021-11-16T06:23:24.177Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-16T06:23:25.152Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-16T06:23:25.525Z] b4e3c513aaa6: Pull complete [2021-11-16T06:23:25.525Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-16T06:23:25.525Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-16T06:23:25.525Z] ---> 9f6097aaca64 [2021-11-16T06:23:25.525Z] Step 3/11 : ARG MAKE='make build' [2021-11-16T06:23:25.748Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-11-16T06:23:26.023Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-11-16T06:23:26.023Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-11-16T06:23:26.297Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-11-16T06:23:26.297Z] Executing busybox-1.33.1-r3.trigger [2021-11-16T06:23:26.297Z] OK: 223 MiB in 56 packages [2021-11-16T06:23:27.281Z] Removing intermediate container 3f93616d4f78 [2021-11-16T06:23:27.281Z] ---> eb1c17f79482 [2021-11-16T06:23:27.281Z] Step 8/11 : WORKDIR /device-rest-go [2021-11-16T06:23:27.556Z] ---> Running in 6230d23ea349 [2021-11-16T06:23:27.830Z] Removing intermediate container 6230d23ea349 [2021-11-16T06:23:27.830Z] ---> a4e960f3371b [2021-11-16T06:23:27.830Z] Step 9/11 : COPY . . [2021-11-16T06:23:28.817Z] ---> 9a705f705af5 [2021-11-16T06:23:28.817Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-16T06:23:28.817Z] ---> Running in 0afbd3a5eb1e [2021-11-16T06:23:29.750Z] ---> Running in ce79d57a1870 [2021-11-16T06:23:29.750Z] Removing intermediate container ce79d57a1870 [2021-11-16T06:23:29.750Z] ---> 9db0dd5ae14b [2021-11-16T06:23:29.750Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-16T06:23:29.750Z] ---> Running in a0daa35bf9e1 [2021-11-16T06:23:29.750Z] Removing intermediate container a0daa35bf9e1 [2021-11-16T06:23:29.750Z] ---> abb2f86d6b85 [2021-11-16T06:23:29.750Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-11-16T06:23:29.750Z] ---> Running in 8857e4e39ed2 [2021-11-16T06:23:29.750Z] Removing intermediate container 8857e4e39ed2 [2021-11-16T06:23:29.750Z] ---> 23c990b1701d [2021-11-16T06:23:29.750Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-16T06:23:29.750Z] ---> Running in 402eb2a8412d [2021-11-16T06:23:30.327Z] Removing intermediate container 402eb2a8412d [2021-11-16T06:23:30.327Z] ---> 46e7b1e64903 [2021-11-16T06:23:30.327Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-16T06:23:30.327Z] ---> Running in cc35698ab7e7 [2021-11-16T06:23:30.590Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-16T06:23:31.159Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-16T06:23:31.733Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-11-16T06:23:31.733Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-11-16T06:23:31.733Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-11-16T06:23:31.993Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-11-16T06:23:31.993Z] Executing busybox-1.33.1-r3.trigger [2021-11-16T06:23:31.993Z] OK: 224 MiB in 56 packages [2021-11-16T06:23:32.253Z] Removing intermediate container cc35698ab7e7 [2021-11-16T06:23:32.253Z] ---> 995534f04f46 [2021-11-16T06:23:32.253Z] Step 8/11 : WORKDIR /device-rest-go [2021-11-16T06:23:32.253Z] ---> Running in ece1d37ec106 [2021-11-16T06:23:32.515Z] Removing intermediate container ece1d37ec106 [2021-11-16T06:23:32.515Z] ---> e2bd1803b91d [2021-11-16T06:23:32.515Z] Step 9/11 : COPY . . [2021-11-16T06:23:32.515Z] ---> 48bca51ceb36 [2021-11-16T06:23:32.515Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-16T06:23:32.515Z] ---> Running in 5d19c066af92 [2021-11-16T06:24:11.311Z] Removing intermediate container 5d19c066af92 [2021-11-16T06:24:11.311Z] ---> fb00a7c0ca2c [2021-11-16T06:24:11.311Z] Step 11/11 : RUN $MAKE [2021-11-16T06:24:11.311Z] ---> Running in 546b59919346 [2021-11-16T06:24:11.311Z] noop [2021-11-16T06:24:11.311Z] Removing intermediate container 546b59919346 [2021-11-16T06:24:11.311Z] ---> 8f90e7a98dd7 [2021-11-16T06:24:11.311Z] Successfully built 8f90e7a98dd7 [2021-11-16T06:24:11.311Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-16T06:24:11.620Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-16T06:24:11.620Z] . [Pipeline] withDockerContainer [2021-11-16T06:24:11.689Z] prd-centos7-docker-4c-2g-787 does not seem to be running inside a container [2021-11-16T06:24:11.731Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/19 -v /w/workspace/device-rest-go/19:/w/workspace/device-rest-go/19:rw,z -v /w/workspace/device-rest-go/19@tmp:/w/workspace/device-rest-go/19@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-16T06:24:12.066Z] $ docker top 3f07d6d511660aec7f8f0ec14c195e5e05ae1bca6c369949f3d3efa0fb550482 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-16T06:24:12.459Z] + go version [2021-11-16T06:24:12.460Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-16T06:24:12.469Z] $ docker stop --time=1 3f07d6d511660aec7f8f0ec14c195e5e05ae1bca6c369949f3d3efa0fb550482 [2021-11-16T06:24:13.627Z] $ docker rm -f 3f07d6d511660aec7f8f0ec14c195e5e05ae1bca6c369949f3d3efa0fb550482 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-16T06:24:14.134Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-16T06:24:14.135Z] . [Pipeline] withDockerContainer [2021-11-16T06:24:14.194Z] prd-centos7-docker-4c-2g-787 does not seem to be running inside a container [2021-11-16T06:24:14.234Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/19 -v /w/workspace/device-rest-go/19:/w/workspace/device-rest-go/19:rw,z -v /w/workspace/device-rest-go/19@tmp:/w/workspace/device-rest-go/19@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-16T06:24:14.566Z] $ docker top ade244903825c08b4a16e3a87f3d905cad3dae6b0d0d92c7f20726683c1e42bc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-16T06:24:14.931Z] + make test [2021-11-16T06:24:14.931Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-11-16T06:24:15.503Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-11-16T06:24:30.483Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-11-16T06:24:30.745Z] ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 56.0% of statements [2021-11-16T06:24:31.014Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-16T06:24:37.630Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-16T06:24:37.630Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-16T06:24:37.630Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-11-16T06:24:37.908Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-11-16T06:24:37.921Z] $ docker stop --time=1 ade244903825c08b4a16e3a87f3d905cad3dae6b0d0d92c7f20726683c1e42bc [2021-11-16T06:24:39.370Z] $ docker rm -f ade244903825c08b4a16e3a87f3d905cad3dae6b0d0d92c7f20726683c1e42bc [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-16T06:24:39.765Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-16T06:24:39.946Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-11-16T06:24:41.068Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-16T06:24:41.361Z] + ls -al . [2021-11-16T06:24:41.361Z] total 144 [2021-11-16T06:24:41.361Z] drwxrwxr-x. 8 jenkins jenkins 4096 Nov 16 06:24 . [2021-11-16T06:24:41.361Z] drwxrwxr-x. 4 jenkins jenkins 30 Nov 16 06:23 .. [2021-11-16T06:24:41.361Z] -rw-rw-r--. 1 jenkins jenkins 7095 Nov 16 06:23 Attribution.txt [2021-11-16T06:24:41.361Z] drwxrwxr-x. 2 jenkins jenkins 37 Nov 16 06:23 bin [2021-11-16T06:24:41.361Z] -rw-rw-r--. 1 jenkins jenkins 7459 Nov 16 06:23 CHANGELOG.md [2021-11-16T06:24:41.361Z] drwxrwxr-x. 3 jenkins jenkins 32 Nov 16 06:23 cmd [2021-11-16T06:24:41.361Z] -rw-r--r--. 1 jenkins jenkins 9215 Nov 16 06:24 coverage.out [2021-11-16T06:24:41.361Z] -rw-rw-r--. 1 jenkins jenkins 1649 Nov 16 06:23 Dockerfile [2021-11-16T06:24:41.361Z] -rw-rw-r--. 1 jenkins jenkins 151 Nov 16 06:23 .dockerignore [2021-11-16T06:24:41.361Z] drwxrwxr-x. 2 jenkins jenkins 76 Nov 16 06:23 driver [2021-11-16T06:24:41.361Z] drwxrwxr-x. 8 jenkins jenkins 162 Nov 16 06:23 .git [2021-11-16T06:24:41.361Z] drwxrwxr-x. 2 jenkins jenkins 103 Nov 16 06:23 .github [2021-11-16T06:24:41.361Z] -rw-rw-r--. 1 jenkins jenkins 329 Nov 16 06:23 .gitignore [2021-11-16T06:24:41.361Z] -rw-rw-r--. 1 jenkins jenkins 271 Nov 16 06:23 go.mod [2021-11-16T06:24:41.361Z] -rw-rw-r--. 1 jenkins jenkins 49306 Nov 16 06:23 go.sum [2021-11-16T06:24:41.361Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 16 06:23 GOVERNANCE.md [2021-11-16T06:24:41.361Z] -rw-rw-r--. 1 jenkins jenkins 680 Nov 16 06:23 Jenkinsfile [2021-11-16T06:24:41.361Z] -rw-rw-r--. 1 jenkins jenkins 11340 Nov 16 06:23 LICENSE [2021-11-16T06:24:41.361Z] -rw-rw-r--. 1 jenkins jenkins 1078 Nov 16 06:23 Makefile [2021-11-16T06:24:41.361Z] -rw-rw-r--. 1 jenkins jenkins 620 Nov 16 06:23 OWNERS.md [2021-11-16T06:24:41.361Z] -rw-rw-r--. 1 jenkins jenkins 7661 Nov 16 06:23 README.md [2021-11-16T06:24:41.361Z] drwxrwxr-x. 4 jenkins jenkins 71 Nov 16 06:23 snap [2021-11-16T06:24:41.361Z] -rw-rw-r--. 1 jenkins jenkins 12 Nov 16 06:20 VERSION [2021-11-16T06:24:41.361Z] -rw-rw-r--. 1 jenkins jenkins 713 Nov 16 06:23 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-16T06:24:41.666Z] + 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=7759c41568adf15208c0dd5cadcdb8f87895acd8 --label arch=amd64 --label version=2.0.1-dev.14 . [2021-11-16T06:24:41.666Z] Sending build context to Docker daemon 131.1kB [2021-11-16T06:24:41.666Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-16T06:24:41.666Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-16T06:24:41.666Z] ---> 8f90e7a98dd7 [2021-11-16T06:24:41.666Z] Step 3/24 : ARG MAKE='make build' [2021-11-16T06:24:41.666Z] ---> Running in 6670c551ec2f [2021-11-16T06:24:41.666Z] Removing intermediate container 6670c551ec2f [2021-11-16T06:24:41.666Z] ---> 47aa4bdd74dc [2021-11-16T06:24:41.666Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-16T06:24:41.666Z] ---> Running in c58a08538fa8 [2021-11-16T06:24:41.928Z] Removing intermediate container c58a08538fa8 [2021-11-16T06:24:41.928Z] ---> d41c3882d93c [2021-11-16T06:24:41.928Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-11-16T06:24:41.928Z] ---> Running in a66dee100346 [2021-11-16T06:24:41.928Z] Removing intermediate container a66dee100346 [2021-11-16T06:24:41.928Z] ---> 989991cf882b [2021-11-16T06:24:41.928Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-16T06:24:41.928Z] ---> Running in 6f4ee9f7797f [2021-11-16T06:24:42.499Z] Removing intermediate container 6f4ee9f7797f [2021-11-16T06:24:42.499Z] ---> 0aa0e0d58d68 [2021-11-16T06:24:42.499Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-16T06:24:42.499Z] ---> Running in 8dfab48b3ab6 [2021-11-16T06:24:42.759Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-16T06:24:43.706Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-16T06:24:43.706Z] OK: 224 MiB in 56 packages [2021-11-16T06:24:43.969Z] Removing intermediate container 8dfab48b3ab6 [2021-11-16T06:24:43.969Z] ---> a1bb53c8d5c3 [2021-11-16T06:24:43.969Z] Step 8/24 : WORKDIR /device-rest-go [2021-11-16T06:24:43.969Z] ---> Running in 446429349a49 [2021-11-16T06:24:44.232Z] Removing intermediate container 446429349a49 [2021-11-16T06:24:44.232Z] ---> e34f9e56c194 [2021-11-16T06:24:44.232Z] Step 9/24 : COPY . . [2021-11-16T06:24:44.232Z] ---> c5513853f56f [2021-11-16T06:24:44.232Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-16T06:24:44.495Z] ---> Running in d9565a797d3f [2021-11-16T06:24:45.066Z] Removing intermediate container d9565a797d3f [2021-11-16T06:24:45.066Z] ---> b723a7f9ee39 [2021-11-16T06:24:45.066Z] Step 11/24 : RUN $MAKE [2021-11-16T06:24:45.066Z] ---> Running in eb778443bbb5 [2021-11-16T06:24:45.329Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.0.1-dev.14" -o cmd/device-rest ./cmd [2021-11-16T06:24:50.604Z] Removing intermediate container 0afbd3a5eb1e [2021-11-16T06:24:50.604Z] ---> 21341f653c3b [2021-11-16T06:24:50.604Z] Step 11/11 : RUN $MAKE [2021-11-16T06:24:50.604Z] ---> Running in 59bf8219d21d [2021-11-16T06:24:50.604Z] noop [2021-11-16T06:24:50.604Z] Removing intermediate container 59bf8219d21d [2021-11-16T06:24:50.604Z] ---> 7a1669b4f0af [2021-11-16T06:24:50.604Z] Successfully built 7a1669b4f0af [2021-11-16T06:24:50.604Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-16T06:24:50.949Z] + docker inspect -f . ci-base-image-arm64 [2021-11-16T06:24:50.949Z] . [Pipeline] withDockerContainer [2021-11-16T06:24:51.201Z] prd-ubuntu18.04-docker-arm64-4c-16g-786 does not seem to be running inside a container [2021-11-16T06:24:51.285Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/19 -v /w/workspace/device-rest-go/19:/w/workspace/device-rest-go/19:rw,z -v /w/workspace/device-rest-go/19@tmp:/w/workspace/device-rest-go/19@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-16T06:24:52.714Z] $ docker top 9ae7f09cbc0082eddec9a2cbf0abc2d820d66ce7d6a80c6ceea1ae20370e997e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-16T06:24:53.648Z] + go version [2021-11-16T06:24:53.648Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-16T06:24:53.669Z] $ docker stop --time=1 9ae7f09cbc0082eddec9a2cbf0abc2d820d66ce7d6a80c6ceea1ae20370e997e [2021-11-16T06:24:55.325Z] $ docker rm -f 9ae7f09cbc0082eddec9a2cbf0abc2d820d66ce7d6a80c6ceea1ae20370e997e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-16T06:24:56.030Z] + docker inspect -f . ci-base-image-arm64 [2021-11-16T06:24:56.030Z] . [Pipeline] withDockerContainer [2021-11-16T06:24:56.272Z] prd-ubuntu18.04-docker-arm64-4c-16g-786 does not seem to be running inside a container [2021-11-16T06:24:56.345Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/19 -v /w/workspace/device-rest-go/19:/w/workspace/device-rest-go/19:rw,z -v /w/workspace/device-rest-go/19@tmp:/w/workspace/device-rest-go/19@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-16T06:24:57.641Z] Removing intermediate container eb778443bbb5 [2021-11-16T06:24:57.641Z] ---> 7603c6c35e07 [2021-11-16T06:24:57.641Z] Step 12/24 : FROM alpine:3.14 [2021-11-16T06:24:57.756Z] $ docker top da28d7374d04e49ec6694682de30464a80236e130b6c1a0b25cd686cfdade77d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-16T06:24:58.697Z] + make test [2021-11-16T06:24:58.697Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-11-16T06:25:00.143Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-11-16T06:25:00.950Z] 3.14: Pulling from library/alpine [2021-11-16T06:25:00.950Z] 97518928ae5f: Pulling fs layer [2021-11-16T06:25:01.212Z] 97518928ae5f: Verifying Checksum [2021-11-16T06:25:01.212Z] 97518928ae5f: Download complete [2021-11-16T06:25:01.212Z] 97518928ae5f: Pull complete [2021-11-16T06:25:01.212Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-11-16T06:25:01.212Z] Status: Downloaded newer image for alpine:3.14 [2021-11-16T06:25:01.212Z] ---> 0a97eee8041e [2021-11-16T06:25:01.212Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-11-16T06:25:01.485Z] ---> Running in 695bc17d41f9 [2021-11-16T06:25:01.485Z] Removing intermediate container 695bc17d41f9 [2021-11-16T06:25:01.485Z] ---> 2a737e6927ff [2021-11-16T06:25:01.485Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-11-16T06:25:01.485Z] ---> Running in 2adca844bc39 [2021-11-16T06:25:01.485Z] Removing intermediate container 2adca844bc39 [2021-11-16T06:25:01.485Z] ---> 0f09aa827e71 [2021-11-16T06:25:01.485Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-11-16T06:25:01.485Z] ---> Running in e9c809d6ec23 [2021-11-16T06:25:01.750Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-16T06:25:02.016Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-16T06:25:02.279Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-11-16T06:25:02.279Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-11-16T06:25:02.279Z] (3/6) Installing libsodium (1.0.18-r0) [2021-11-16T06:25:02.279Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-16T06:25:02.279Z] (5/6) Installing libzmq (4.3.4-r0) [2021-11-16T06:25:02.279Z] (6/6) Installing zeromq (4.3.4-r0) [2021-11-16T06:25:02.279Z] Executing busybox-1.33.1-r6.trigger [2021-11-16T06:25:02.279Z] OK: 8 MiB in 20 packages [2021-11-16T06:25:02.542Z] Removing intermediate container e9c809d6ec23 [2021-11-16T06:25:02.542Z] ---> 829dcc611e58 [2021-11-16T06:25:02.542Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-11-16T06:25:03.115Z] ---> d9cc7a3a7536 [2021-11-16T06:25:03.115Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-11-16T06:25:03.115Z] ---> 65679cb7a27c [2021-11-16T06:25:03.115Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-11-16T06:25:03.376Z] ---> 99d0e0fe40d2 [2021-11-16T06:25:03.376Z] Step 19/24 : EXPOSE 59986 [2021-11-16T06:25:03.376Z] ---> Running in f222b0a08b4a [2021-11-16T06:25:03.376Z] Removing intermediate container f222b0a08b4a [2021-11-16T06:25:03.376Z] ---> d7c9f05893bd [2021-11-16T06:25:03.376Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2021-11-16T06:25:03.376Z] ---> Running in b028b3d190d9 [2021-11-16T06:25:03.639Z] Removing intermediate container b028b3d190d9 [2021-11-16T06:25:03.639Z] ---> a65da624cecc [2021-11-16T06:25:03.639Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-11-16T06:25:03.639Z] ---> Running in 9c3e3defd677 [2021-11-16T06:25:03.639Z] Removing intermediate container 9c3e3defd677 [2021-11-16T06:25:03.639Z] ---> 26b75efbf6cd [2021-11-16T06:25:03.639Z] Step 22/24 : LABEL arch=amd64 [2021-11-16T06:25:03.639Z] ---> Running in 522d8d5223d6 [2021-11-16T06:25:03.639Z] Removing intermediate container 522d8d5223d6 [2021-11-16T06:25:03.639Z] ---> d8590c14e625 [2021-11-16T06:25:03.639Z] Step 23/24 : LABEL git_sha=7759c41568adf15208c0dd5cadcdb8f87895acd8 [2021-11-16T06:25:03.900Z] ---> Running in b692f09bbbbf [2021-11-16T06:25:03.900Z] Removing intermediate container b692f09bbbbf [2021-11-16T06:25:03.900Z] ---> 11164ded1b8d [2021-11-16T06:25:03.900Z] Step 24/24 : LABEL version=2.0.1-dev.14 [2021-11-16T06:25:03.900Z] ---> Running in b27368c859ca [2021-11-16T06:25:03.900Z] Removing intermediate container b27368c859ca [2021-11-16T06:25:03.900Z] ---> 69416067f11a [2021-11-16T06:25:03.900Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-16T06:25:03.900Z] Successfully built 69416067f11a [2021-11-16T06:25:03.900Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-16T06:25:04.028Z] provisioning config files... [2021-11-16T06:25:04.038Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/19@tmp/config6948799842088678339tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-16T06:25:04.354Z] ---> docker-login.sh [2021-11-16T06:25:04.354Z] nexus3.edgexfoundry.org:10001 [2021-11-16T06:25:04.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T06:25:04.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T06:25:04.354Z] Configure a credential helper to remove this warning. See [2021-11-16T06:25:04.354Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T06:25:04.354Z] [2021-11-16T06:25:04.354Z] Login Succeeded [2021-11-16T06:25:04.354Z] nexus3.edgexfoundry.org:10002 [2021-11-16T06:25:04.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T06:25:04.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T06:25:04.614Z] Configure a credential helper to remove this warning. See [2021-11-16T06:25:04.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T06:25:04.614Z] [2021-11-16T06:25:04.614Z] Login Succeeded [2021-11-16T06:25:04.614Z] nexus3.edgexfoundry.org:10003 [2021-11-16T06:25:04.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T06:25:04.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T06:25:04.614Z] Configure a credential helper to remove this warning. See [2021-11-16T06:25:04.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T06:25:04.614Z] [2021-11-16T06:25:04.614Z] Login Succeeded [2021-11-16T06:25:04.614Z] nexus3.edgexfoundry.org:10004 [2021-11-16T06:25:04.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T06:25:04.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T06:25:04.874Z] Configure a credential helper to remove this warning. See [2021-11-16T06:25:04.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T06:25:04.874Z] [2021-11-16T06:25:04.874Z] Login Succeeded [2021-11-16T06:25:04.874Z] docker.io [2021-11-16T06:25:04.874Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T06:25:05.135Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T06:25:05.135Z] Configure a credential helper to remove this warning. See [2021-11-16T06:25:05.135Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T06:25:05.135Z] [2021-11-16T06:25:05.135Z] Login Succeeded [2021-11-16T06:25:05.135Z] ---> docker-login.sh ends [Pipeline] } [2021-11-16T06:25:05.145Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-16T06:25:05.175Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-16T06:25:05.193Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2021-11-16T06:25:05.193Z] 7759c41568adf15208c0dd5cadcdb8f87895acd8 [2021-11-16T06:25:05.193Z] latest [2021-11-16T06:25:05.193Z] 2.0.1-dev.14 [2021-11-16T06:25:05.193Z] 7759c41568adf15208c0dd5cadcdb8f87895acd8-2.0.1-dev.14 [2021-11-16T06:25:05.193Z] main [2021-11-16T06:25:05.193Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-16T06:25:05.515Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:7759c41568adf15208c0dd5cadcdb8f87895acd8 [Pipeline] isUnix [Pipeline] sh [2021-11-16T06:25:05.814Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:7759c41568adf15208c0dd5cadcdb8f87895acd8 [2021-11-16T06:25:05.814Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-11-16T06:25:05.814Z] dd941e8e6a0f: Preparing [2021-11-16T06:25:05.814Z] fdc875706516: Preparing [2021-11-16T06:25:05.814Z] 0dd7bc6e577d: Preparing [2021-11-16T06:25:05.814Z] 7c29514087fd: Preparing [2021-11-16T06:25:05.814Z] 1a058d5342cc: Preparing [2021-11-16T06:25:05.814Z] 1a058d5342cc: Layer already exists [2021-11-16T06:25:06.076Z] dd941e8e6a0f: Pushed [2021-11-16T06:25:06.076Z] fdc875706516: Pushed [2021-11-16T06:25:06.076Z] 7c29514087fd: Pushed [2021-11-16T06:25:07.462Z] 0dd7bc6e577d: Pushed [2021-11-16T06:25:07.462Z] 7759c41568adf15208c0dd5cadcdb8f87895acd8: digest: sha256:7de457585ee17b63610528f343d436b45db1608ed545e1fa24262a407a224506 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-11-16T06:25:07.764Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh [2021-11-16T06:25:08.060Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2021-11-16T06:25:08.060Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-11-16T06:25:08.060Z] dd941e8e6a0f: Preparing [2021-11-16T06:25:08.060Z] fdc875706516: Preparing [2021-11-16T06:25:08.060Z] 0dd7bc6e577d: Preparing [2021-11-16T06:25:08.060Z] 7c29514087fd: Preparing [2021-11-16T06:25:08.060Z] 1a058d5342cc: Preparing [2021-11-16T06:25:08.060Z] fdc875706516: Layer already exists [2021-11-16T06:25:08.060Z] 7c29514087fd: Layer already exists [2021-11-16T06:25:08.060Z] 1a058d5342cc: Layer already exists [2021-11-16T06:25:08.060Z] 0dd7bc6e577d: Layer already exists [2021-11-16T06:25:08.060Z] dd941e8e6a0f: Layer already exists [2021-11-16T06:25:08.060Z] latest: digest: sha256:7de457585ee17b63610528f343d436b45db1608ed545e1fa24262a407a224506 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-11-16T06:25:08.380Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.14 [Pipeline] isUnix [Pipeline] sh [2021-11-16T06:25:08.673Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.14 [2021-11-16T06:25:08.673Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-11-16T06:25:08.673Z] dd941e8e6a0f: Preparing [2021-11-16T06:25:08.673Z] fdc875706516: Preparing [2021-11-16T06:25:08.673Z] 0dd7bc6e577d: Preparing [2021-11-16T06:25:08.673Z] 7c29514087fd: Preparing [2021-11-16T06:25:08.673Z] 1a058d5342cc: Preparing [2021-11-16T06:25:08.673Z] 1a058d5342cc: Layer already exists [2021-11-16T06:25:08.673Z] 7c29514087fd: Layer already exists [2021-11-16T06:25:08.673Z] 0dd7bc6e577d: Layer already exists [2021-11-16T06:25:08.673Z] dd941e8e6a0f: Layer already exists [2021-11-16T06:25:08.673Z] fdc875706516: Layer already exists [2021-11-16T06:25:08.673Z] 2.0.1-dev.14: digest: sha256:7de457585ee17b63610528f343d436b45db1608ed545e1fa24262a407a224506 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-11-16T06:25:08.973Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:7759c41568adf15208c0dd5cadcdb8f87895acd8-2.0.1-dev.14 [Pipeline] isUnix [Pipeline] sh [2021-11-16T06:25:09.267Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:7759c41568adf15208c0dd5cadcdb8f87895acd8-2.0.1-dev.14 [2021-11-16T06:25:09.267Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-11-16T06:25:09.267Z] dd941e8e6a0f: Preparing [2021-11-16T06:25:09.267Z] fdc875706516: Preparing [2021-11-16T06:25:09.267Z] 0dd7bc6e577d: Preparing [2021-11-16T06:25:09.267Z] 7c29514087fd: Preparing [2021-11-16T06:25:09.267Z] 1a058d5342cc: Preparing [2021-11-16T06:25:09.267Z] fdc875706516: Layer already exists [2021-11-16T06:25:09.267Z] 7c29514087fd: Layer already exists [2021-11-16T06:25:09.267Z] 0dd7bc6e577d: Layer already exists [2021-11-16T06:25:09.267Z] 1a058d5342cc: Layer already exists [2021-11-16T06:25:09.267Z] dd941e8e6a0f: Layer already exists [2021-11-16T06:25:09.267Z] 7759c41568adf15208c0dd5cadcdb8f87895acd8-2.0.1-dev.14: digest: sha256:7de457585ee17b63610528f343d436b45db1608ed545e1fa24262a407a224506 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-11-16T06:25:09.562Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh [2021-11-16T06:25:09.857Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2021-11-16T06:25:09.857Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-11-16T06:25:09.857Z] dd941e8e6a0f: Preparing [2021-11-16T06:25:09.857Z] fdc875706516: Preparing [2021-11-16T06:25:09.857Z] 0dd7bc6e577d: Preparing [2021-11-16T06:25:09.857Z] 7c29514087fd: Preparing [2021-11-16T06:25:09.857Z] 1a058d5342cc: Preparing [2021-11-16T06:25:09.857Z] fdc875706516: Layer already exists [2021-11-16T06:25:09.857Z] 1a058d5342cc: Layer already exists [2021-11-16T06:25:09.857Z] 7c29514087fd: Layer already exists [2021-11-16T06:25:09.857Z] 0dd7bc6e577d: Layer already exists [2021-11-16T06:25:09.857Z] dd941e8e6a0f: Layer already exists [2021-11-16T06:25:09.857Z] main: digest: sha256:7de457585ee17b63610528f343d436b45db1608ed545e1fa24262a407a224506 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-16T06:25:09.891Z] ===================================================== [Pipeline] echo [2021-11-16T06:25:09.899Z] taggedImages: [2021-11-16T06:25:09.899Z] - nexus3.edgexfoundry.org:10004/device-rest:7759c41568adf15208c0dd5cadcdb8f87895acd8 [2021-11-16T06:25:09.899Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2021-11-16T06:25:09.899Z] - nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.14 [2021-11-16T06:25:09.899Z] - nexus3.edgexfoundry.org:10004/device-rest:7759c41568adf15208c0dd5cadcdb8f87895acd8-2.0.1-dev.14 [2021-11-16T06:25:09.899Z] - 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-16T06:25:10.348Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-16T06:25:10.348Z] [2021-11-16T06:25:10.348Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-16T06:25:10.647Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-16T06:25:10.647Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-16T06:25:10.647Z] b4d181a07f80: Pulling fs layer [2021-11-16T06:25:10.647Z] a1111a8f2ec3: Pulling fs layer [2021-11-16T06:25:10.647Z] ed53099fbce6: Pulling fs layer [2021-11-16T06:25:10.647Z] dc539afda2c1: Pulling fs layer [2021-11-16T06:25:10.647Z] 77bc0d833cb6: Pulling fs layer [2021-11-16T06:25:10.647Z] 9065ff56babe: Pulling fs layer [2021-11-16T06:25:10.647Z] d287ab97295c: Pulling fs layer [2021-11-16T06:25:10.647Z] 77bc0d833cb6: Waiting [2021-11-16T06:25:10.647Z] 9065ff56babe: Waiting [2021-11-16T06:25:10.647Z] d287ab97295c: Waiting [2021-11-16T06:25:10.647Z] dc539afda2c1: Waiting [2021-11-16T06:25:10.647Z] a1111a8f2ec3: Verifying Checksum [2021-11-16T06:25:10.647Z] a1111a8f2ec3: Download complete [2021-11-16T06:25:10.647Z] dc539afda2c1: Verifying Checksum [2021-11-16T06:25:10.647Z] dc539afda2c1: Download complete [2021-11-16T06:25:10.647Z] ed53099fbce6: Verifying Checksum [2021-11-16T06:25:10.647Z] ed53099fbce6: Download complete [2021-11-16T06:25:10.647Z] 9065ff56babe: Verifying Checksum [2021-11-16T06:25:10.647Z] 9065ff56babe: Download complete [2021-11-16T06:25:10.647Z] 77bc0d833cb6: Verifying Checksum [2021-11-16T06:25:10.647Z] 77bc0d833cb6: Download complete [2021-11-16T06:25:10.908Z] b4d181a07f80: Verifying Checksum [2021-11-16T06:25:10.908Z] b4d181a07f80: Download complete [2021-11-16T06:25:11.490Z] d287ab97295c: Verifying Checksum [2021-11-16T06:25:11.490Z] d287ab97295c: Download complete [2021-11-16T06:25:12.439Z] b4d181a07f80: Pull complete [2021-11-16T06:25:12.439Z] a1111a8f2ec3: Pull complete [2021-11-16T06:25:13.018Z] ed53099fbce6: Pull complete [2021-11-16T06:25:13.018Z] dc539afda2c1: Pull complete [2021-11-16T06:25:13.286Z] 77bc0d833cb6: Pull complete [2021-11-16T06:25:13.286Z] 9065ff56babe: Pull complete [2021-11-16T06:25:18.637Z] d287ab97295c: Pull complete [2021-11-16T06:25:18.637Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-16T06:25:18.637Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-16T06:25:18.637Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-16T06:25:18.698Z] prd-centos7-docker-4c-2g-787 does not seem to be running inside a container [2021-11-16T06:25:18.748Z] $ 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/19 -v /w/workspace/device-rest-go/19:/w/workspace/device-rest-go/19:rw,z -v /w/workspace/device-rest-go/19@tmp:/w/workspace/device-rest-go/19@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-16T06:25:21.540Z] $ docker top 5c4263d95e39b1fcb24183f4c9dda193182d404b3cb52319899c9117aa276793 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-16T06:25:21.939Z] ---> job-cost.sh [2021-11-16T06:25:21.939Z] lf-activate-venv: SKIPPING [2021-11-16T06:25:21.939Z] INFO: No Stack... [2021-11-16T06:25:22.198Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-16T06:25:22.458Z] INFO: Archiving Costs [Pipeline] sh [2021-11-16T06:25:22.758Z] + cat /w/workspace/device-rest-go/19/archives/cost.csv [2021-11-16T06:25:22.758Z] + cut -d, -f6 [Pipeline] lock [2021-11-16T06:25:22.784Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-19-stack-cost] [2021-11-16T06:25:22.791Z] Resource [jenkins-edgexfoundry-device-rest-go-main-19-stack-cost] did not exist. Created. [2021-11-16T06:25:22.791Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-19-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-16T06:25:23.112Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-16T06:25:23.140Z] Stashed 1 file(s) [Pipeline] } [2021-11-16T06:25:23.146Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-19-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-16T06:25:23.163Z] $ docker stop --time=1 5c4263d95e39b1fcb24183f4c9dda193182d404b3cb52319899c9117aa276793 [2021-11-16T06:25:24.363Z] $ docker rm -f 5c4263d95e39b1fcb24183f4c9dda193182d404b3cb52319899c9117aa276793 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-16T06:25:56.742Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-11-16T06:25:56.742Z] ok github.com/edgexfoundry/device-rest-go/driver 0.052s coverage: 56.0% of statements [2021-11-16T06:25:56.742Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-16T06:26:23.559Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-16T06:26:23.559Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-16T06:26:23.559Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-11-16T06:26:24.173Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-11-16T06:26:24.184Z] $ docker stop --time=1 da28d7374d04e49ec6694682de30464a80236e130b6c1a0b25cd686cfdade77d [2021-11-16T06:26:25.979Z] $ docker rm -f da28d7374d04e49ec6694682de30464a80236e130b6c1a0b25cd686cfdade77d [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-16T06:26:26.820Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-16T06:26:26.840Z] Warning: overwriting stash ‘coverage-report’ [2021-11-16T06:26:27.284Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-16T06:26:27.719Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-16T06:26:28.052Z] + ls -al . [2021-11-16T06:26:28.052Z] total 172 [2021-11-16T06:26:28.052Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 16 06:26 . [2021-11-16T06:26:28.052Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 16 06:22 .. [2021-11-16T06:26:28.052Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 16 06:22 .dockerignore [2021-11-16T06:26:28.052Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 16 06:22 .git [2021-11-16T06:26:28.052Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 16 06:22 .github [2021-11-16T06:26:28.052Z] -rw-rw-r-- 1 jenkins jenkins 329 Nov 16 06:22 .gitignore [2021-11-16T06:26:28.052Z] -rw-rw-r-- 1 jenkins jenkins 7095 Nov 16 06:22 Attribution.txt [2021-11-16T06:26:28.052Z] -rw-rw-r-- 1 jenkins jenkins 7459 Nov 16 06:22 CHANGELOG.md [2021-11-16T06:26:28.052Z] -rw-rw-r-- 1 jenkins jenkins 1649 Nov 16 06:22 Dockerfile [2021-11-16T06:26:28.052Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 16 06:22 GOVERNANCE.md [2021-11-16T06:26:28.052Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 16 06:22 Jenkinsfile [2021-11-16T06:26:28.052Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 16 06:22 LICENSE [2021-11-16T06:26:28.052Z] -rw-rw-r-- 1 jenkins jenkins 1078 Nov 16 06:22 Makefile [2021-11-16T06:26:28.052Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 16 06:22 OWNERS.md [2021-11-16T06:26:28.052Z] -rw-rw-r-- 1 jenkins jenkins 7661 Nov 16 06:22 README.md [2021-11-16T06:26:28.052Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 16 06:20 VERSION [2021-11-16T06:26:28.052Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 16 06:22 bin [2021-11-16T06:26:28.052Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 16 06:22 cmd [2021-11-16T06:26:28.052Z] -rw-r--r-- 1 jenkins jenkins 9215 Nov 16 06:25 coverage.out [2021-11-16T06:26:28.052Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 16 06:22 driver [2021-11-16T06:26:28.052Z] -rw-rw-r-- 1 jenkins jenkins 271 Nov 16 06:22 go.mod [2021-11-16T06:26:28.052Z] -rw-rw-r-- 1 jenkins jenkins 49306 Nov 16 06:22 go.sum [2021-11-16T06:26:28.052Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 16 06:22 snap [2021-11-16T06:26:28.052Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 16 06:22 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-16T06:26:28.390Z] + 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=7759c41568adf15208c0dd5cadcdb8f87895acd8 --label arch=arm64 --label version=2.0.1-dev.14 . [2021-11-16T06:26:28.390Z] Sending build context to Docker daemon 131.1kB [2021-11-16T06:26:28.662Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-16T06:26:28.662Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-16T06:26:28.662Z] ---> 7a1669b4f0af [2021-11-16T06:26:28.662Z] Step 3/24 : ARG MAKE='make build' [2021-11-16T06:26:28.936Z] ---> Running in fc7a93acd108 [2021-11-16T06:26:29.209Z] Removing intermediate container fc7a93acd108 [2021-11-16T06:26:29.209Z] ---> 09ff84ff797d [2021-11-16T06:26:29.209Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-16T06:26:29.484Z] ---> Running in 6071b874d026 [2021-11-16T06:26:29.756Z] Removing intermediate container 6071b874d026 [2021-11-16T06:26:29.756Z] ---> 9920fdb2dd40 [2021-11-16T06:26:29.756Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-11-16T06:26:29.756Z] ---> Running in 48d1000578e3 [2021-11-16T06:26:30.349Z] Removing intermediate container 48d1000578e3 [2021-11-16T06:26:30.349Z] ---> d05695fb27d9 [2021-11-16T06:26:30.349Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-16T06:26:30.349Z] ---> Running in b4ac953d811a [2021-11-16T06:26:32.324Z] Removing intermediate container b4ac953d811a [2021-11-16T06:26:32.324Z] ---> e453fc2c6713 [2021-11-16T06:26:32.324Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-16T06:26:32.324Z] ---> Running in ad7b8e99e9f5 [2021-11-16T06:26:33.754Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-16T06:26:34.348Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-16T06:26:35.326Z] OK: 223 MiB in 56 packages [2021-11-16T06:26:35.923Z] Removing intermediate container ad7b8e99e9f5 [2021-11-16T06:26:35.923Z] ---> f142afc27f0b [2021-11-16T06:26:35.923Z] Step 8/24 : WORKDIR /device-rest-go [2021-11-16T06:26:36.199Z] ---> Running in 35f82d7fe219 [2021-11-16T06:26:36.471Z] Removing intermediate container 35f82d7fe219 [2021-11-16T06:26:36.471Z] ---> 049d5c60c217 [2021-11-16T06:26:36.471Z] Step 9/24 : COPY . . [2021-11-16T06:26:37.449Z] ---> 4ee97fd593c2 [2021-11-16T06:26:37.449Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-16T06:26:37.449Z] ---> Running in 11a96a2275c4 [2021-11-16T06:26:39.420Z] Removing intermediate container 11a96a2275c4 [2021-11-16T06:26:39.420Z] ---> 75ff2f07d802 [2021-11-16T06:26:39.420Z] Step 11/24 : RUN $MAKE [2021-11-16T06:26:39.694Z] ---> Running in 72ffeaa74ca4 [2021-11-16T06:26:40.673Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.0.1-dev.14" -o cmd/device-rest ./cmd [2021-11-16T06:27:19.679Z] Removing intermediate container 72ffeaa74ca4 [2021-11-16T06:27:19.679Z] ---> 60d802197ffd [2021-11-16T06:27:19.679Z] Step 12/24 : FROM alpine:3.14 [2021-11-16T06:27:19.679Z] 3.14: Pulling from library/alpine [2021-11-16T06:27:19.679Z] be307f383ecc: Pulling fs layer [2021-11-16T06:27:19.679Z] be307f383ecc: Verifying Checksum [2021-11-16T06:27:19.679Z] be307f383ecc: Download complete [2021-11-16T06:27:20.276Z] be307f383ecc: Pull complete [2021-11-16T06:27:20.276Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-11-16T06:27:20.276Z] Status: Downloaded newer image for alpine:3.14 [2021-11-16T06:27:20.276Z] ---> 5b8b7b635229 [2021-11-16T06:27:20.276Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-11-16T06:27:20.550Z] ---> Running in dda01df45b6b [2021-11-16T06:27:20.823Z] Removing intermediate container dda01df45b6b [2021-11-16T06:27:20.823Z] ---> 73cdb936b83e [2021-11-16T06:27:20.823Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-11-16T06:27:21.097Z] ---> Running in 50ae9952ae66 [2021-11-16T06:27:21.371Z] Removing intermediate container 50ae9952ae66 [2021-11-16T06:27:21.372Z] ---> 12b8fd25719c [2021-11-16T06:27:21.372Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-11-16T06:27:21.372Z] ---> Running in 3e4b54d37ec9 [2021-11-16T06:27:22.812Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-16T06:27:22.812Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-16T06:27:23.786Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-11-16T06:27:23.786Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-11-16T06:27:23.786Z] (3/6) Installing libsodium (1.0.18-r0) [2021-11-16T06:27:23.786Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-16T06:27:23.786Z] (5/6) Installing libzmq (4.3.4-r0) [2021-11-16T06:27:23.786Z] (6/6) Installing zeromq (4.3.4-r0) [2021-11-16T06:27:23.786Z] Executing busybox-1.33.1-r6.trigger [2021-11-16T06:27:23.786Z] OK: 8 MiB in 20 packages [2021-11-16T06:27:24.764Z] Removing intermediate container 3e4b54d37ec9 [2021-11-16T06:27:24.764Z] ---> 3cfde34c0018 [2021-11-16T06:27:24.764Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-11-16T06:27:25.739Z] ---> 9559a8dcc4c0 [2021-11-16T06:27:25.739Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-11-16T06:27:26.712Z] ---> b9ff4e99354d [2021-11-16T06:27:26.713Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-11-16T06:27:27.305Z] ---> 9e967c7d86c4 [2021-11-16T06:27:27.305Z] Step 19/24 : EXPOSE 59986 [2021-11-16T06:27:27.305Z] ---> Running in 1ac009e0c986 [2021-11-16T06:27:27.897Z] Removing intermediate container 1ac009e0c986 [2021-11-16T06:27:27.897Z] ---> 1142f1c27e1e [2021-11-16T06:27:27.897Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2021-11-16T06:27:27.897Z] ---> Running in d2b061e9ebd8 [2021-11-16T06:27:28.168Z] Removing intermediate container d2b061e9ebd8 [2021-11-16T06:27:28.168Z] ---> 953c63b9eabb [2021-11-16T06:27:28.168Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-11-16T06:27:28.168Z] ---> Running in d1d57f55abf4 [2021-11-16T06:27:28.762Z] Removing intermediate container d1d57f55abf4 [2021-11-16T06:27:28.762Z] ---> 0733c3c9515b [2021-11-16T06:27:28.762Z] Step 22/24 : LABEL arch=arm64 [2021-11-16T06:27:28.762Z] ---> Running in 3843849fa7fc [2021-11-16T06:27:29.355Z] Removing intermediate container 3843849fa7fc [2021-11-16T06:27:29.355Z] ---> 4108c302b3e5 [2021-11-16T06:27:29.355Z] Step 23/24 : LABEL git_sha=7759c41568adf15208c0dd5cadcdb8f87895acd8 [2021-11-16T06:27:29.355Z] ---> Running in 4079ff6c83f7 [2021-11-16T06:27:29.629Z] Removing intermediate container 4079ff6c83f7 [2021-11-16T06:27:29.629Z] ---> e89696d92bb7 [2021-11-16T06:27:29.629Z] Step 24/24 : LABEL version=2.0.1-dev.14 [2021-11-16T06:27:29.629Z] ---> Running in 1aa0866a2d01 [2021-11-16T06:27:30.223Z] Removing intermediate container 1aa0866a2d01 [2021-11-16T06:27:30.223Z] ---> ee5421befd85 [2021-11-16T06:27:30.223Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-16T06:27:30.223Z] Successfully built ee5421befd85 [2021-11-16T06:27:30.223Z] 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-16T06:27:30.502Z] provisioning config files... [2021-11-16T06:27:30.523Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/19@tmp/config1220283526351002325tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-16T06:27:30.873Z] ---> docker-login.sh [2021-11-16T06:27:30.873Z] nexus3.edgexfoundry.org:10001 [2021-11-16T06:27:31.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T06:27:31.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T06:27:31.418Z] Configure a credential helper to remove this warning. See [2021-11-16T06:27:31.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T06:27:31.418Z] [2021-11-16T06:27:31.418Z] Login Succeeded [2021-11-16T06:27:31.418Z] nexus3.edgexfoundry.org:10002 [2021-11-16T06:27:31.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T06:27:31.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T06:27:31.961Z] Configure a credential helper to remove this warning. See [2021-11-16T06:27:31.961Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T06:27:31.961Z] [2021-11-16T06:27:31.961Z] Login Succeeded [2021-11-16T06:27:31.961Z] nexus3.edgexfoundry.org:10003 [2021-11-16T06:27:32.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T06:27:32.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T06:27:32.503Z] Configure a credential helper to remove this warning. See [2021-11-16T06:27:32.503Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T06:27:32.503Z] [2021-11-16T06:27:32.503Z] Login Succeeded [2021-11-16T06:27:32.503Z] nexus3.edgexfoundry.org:10004 [2021-11-16T06:27:32.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T06:27:33.045Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T06:27:33.046Z] Configure a credential helper to remove this warning. See [2021-11-16T06:27:33.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T06:27:33.046Z] [2021-11-16T06:27:33.046Z] Login Succeeded [2021-11-16T06:27:33.046Z] docker.io [2021-11-16T06:27:33.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T06:27:33.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T06:27:33.907Z] Configure a credential helper to remove this warning. See [2021-11-16T06:27:33.907Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T06:27:33.907Z] [2021-11-16T06:27:33.907Z] Login Succeeded [2021-11-16T06:27:33.907Z] ---> docker-login.sh ends [Pipeline] } [2021-11-16T06:27:33.923Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-16T06:27:33.960Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-16T06:27:33.974Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2021-11-16T06:27:33.974Z] 7759c41568adf15208c0dd5cadcdb8f87895acd8 [2021-11-16T06:27:33.974Z] latest [2021-11-16T06:27:33.974Z] 2.0.1-dev.14 [2021-11-16T06:27:33.974Z] 7759c41568adf15208c0dd5cadcdb8f87895acd8-2.0.1-dev.14 [2021-11-16T06:27:33.974Z] main [2021-11-16T06:27:33.974Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-16T06:27:34.309Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:7759c41568adf15208c0dd5cadcdb8f87895acd8 [Pipeline] isUnix [Pipeline] sh [2021-11-16T06:27:34.681Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:7759c41568adf15208c0dd5cadcdb8f87895acd8 [2021-11-16T06:27:34.681Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-11-16T06:27:34.681Z] 9bfb94a15db2: Preparing [2021-11-16T06:27:34.681Z] db44604b5955: Preparing [2021-11-16T06:27:34.681Z] d4134784257a: Preparing [2021-11-16T06:27:34.681Z] 2cd8463f7037: Preparing [2021-11-16T06:27:34.681Z] 62170e181a92: Preparing [2021-11-16T06:27:34.681Z] 62170e181a92: Layer already exists [2021-11-16T06:27:34.953Z] db44604b5955: Pushed [2021-11-16T06:27:34.953Z] 9bfb94a15db2: Pushed [2021-11-16T06:27:35.547Z] 2cd8463f7037: Pushed [2021-11-16T06:27:37.519Z] d4134784257a: Pushed [2021-11-16T06:27:37.790Z] 7759c41568adf15208c0dd5cadcdb8f87895acd8: digest: sha256:419a21dc42577e32ac69240dcaf825cddc7bf5ae184c6f8ed98fe9c964a502a9 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-11-16T06:27:38.132Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-16T06:27:38.471Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2021-11-16T06:27:38.471Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-11-16T06:27:38.471Z] 9bfb94a15db2: Preparing [2021-11-16T06:27:38.471Z] db44604b5955: Preparing [2021-11-16T06:27:38.471Z] d4134784257a: Preparing [2021-11-16T06:27:38.471Z] 2cd8463f7037: Preparing [2021-11-16T06:27:38.471Z] 62170e181a92: Preparing [2021-11-16T06:27:38.471Z] db44604b5955: Layer already exists [2021-11-16T06:27:38.471Z] 62170e181a92: Layer already exists [2021-11-16T06:27:38.471Z] 2cd8463f7037: Layer already exists [2021-11-16T06:27:38.471Z] 9bfb94a15db2: Layer already exists [2021-11-16T06:27:38.471Z] d4134784257a: Layer already exists [2021-11-16T06:27:38.743Z] latest: digest: sha256:419a21dc42577e32ac69240dcaf825cddc7bf5ae184c6f8ed98fe9c964a502a9 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-11-16T06:27:39.084Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.14 [Pipeline] isUnix [Pipeline] sh [2021-11-16T06:27:39.424Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.14 [2021-11-16T06:27:39.424Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-11-16T06:27:39.424Z] 9bfb94a15db2: Preparing [2021-11-16T06:27:39.424Z] db44604b5955: Preparing [2021-11-16T06:27:39.424Z] d4134784257a: Preparing [2021-11-16T06:27:39.424Z] 2cd8463f7037: Preparing [2021-11-16T06:27:39.424Z] 62170e181a92: Preparing [2021-11-16T06:27:39.424Z] 62170e181a92: Layer already exists [2021-11-16T06:27:39.424Z] db44604b5955: Layer already exists [2021-11-16T06:27:39.424Z] 2cd8463f7037: Layer already exists [2021-11-16T06:27:39.424Z] 9bfb94a15db2: Layer already exists [2021-11-16T06:27:39.424Z] d4134784257a: Layer already exists [2021-11-16T06:27:39.695Z] 2.0.1-dev.14: digest: sha256:419a21dc42577e32ac69240dcaf825cddc7bf5ae184c6f8ed98fe9c964a502a9 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-11-16T06:27:40.038Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:7759c41568adf15208c0dd5cadcdb8f87895acd8-2.0.1-dev.14 [Pipeline] isUnix [Pipeline] sh [2021-11-16T06:27:40.377Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:7759c41568adf15208c0dd5cadcdb8f87895acd8-2.0.1-dev.14 [2021-11-16T06:27:40.377Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-11-16T06:27:40.377Z] 9bfb94a15db2: Preparing [2021-11-16T06:27:40.377Z] db44604b5955: Preparing [2021-11-16T06:27:40.377Z] d4134784257a: Preparing [2021-11-16T06:27:40.377Z] 2cd8463f7037: Preparing [2021-11-16T06:27:40.377Z] 62170e181a92: Preparing [2021-11-16T06:27:40.377Z] d4134784257a: Layer already exists [2021-11-16T06:27:40.377Z] db44604b5955: Layer already exists [2021-11-16T06:27:40.377Z] 2cd8463f7037: Layer already exists [2021-11-16T06:27:40.377Z] 62170e181a92: Layer already exists [2021-11-16T06:27:40.377Z] 9bfb94a15db2: Layer already exists [2021-11-16T06:27:40.650Z] 7759c41568adf15208c0dd5cadcdb8f87895acd8-2.0.1-dev.14: digest: sha256:419a21dc42577e32ac69240dcaf825cddc7bf5ae184c6f8ed98fe9c964a502a9 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-11-16T06:27:40.994Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] isUnix [Pipeline] sh [2021-11-16T06:27:41.328Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2021-11-16T06:27:41.328Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-11-16T06:27:41.328Z] 9bfb94a15db2: Preparing [2021-11-16T06:27:41.328Z] db44604b5955: Preparing [2021-11-16T06:27:41.328Z] d4134784257a: Preparing [2021-11-16T06:27:41.328Z] 2cd8463f7037: Preparing [2021-11-16T06:27:41.328Z] 62170e181a92: Preparing [2021-11-16T06:27:41.328Z] 9bfb94a15db2: Layer already exists [2021-11-16T06:27:41.328Z] 2cd8463f7037: Layer already exists [2021-11-16T06:27:41.328Z] db44604b5955: Layer already exists [2021-11-16T06:27:41.328Z] d4134784257a: Layer already exists [2021-11-16T06:27:41.328Z] 62170e181a92: Layer already exists [2021-11-16T06:27:41.598Z] main: digest: sha256:419a21dc42577e32ac69240dcaf825cddc7bf5ae184c6f8ed98fe9c964a502a9 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-16T06:27:41.638Z] ===================================================== [Pipeline] echo [2021-11-16T06:27:41.646Z] taggedImages: [2021-11-16T06:27:41.646Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:7759c41568adf15208c0dd5cadcdb8f87895acd8 [2021-11-16T06:27:41.646Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2021-11-16T06:27:41.646Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.14 [2021-11-16T06:27:41.646Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:7759c41568adf15208c0dd5cadcdb8f87895acd8-2.0.1-dev.14 [2021-11-16T06:27:41.646Z] - 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-16T06:27:42.150Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-16T06:27:42.150Z] [2021-11-16T06:27:42.150Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-16T06:27:42.770Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-16T06:27:43.044Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-16T06:27:43.044Z] 448f6bf000e3: Pulling fs layer [2021-11-16T06:27:43.044Z] f757da607395: Pulling fs layer [2021-11-16T06:27:43.044Z] 05883995daec: Pulling fs layer [2021-11-16T06:27:43.044Z] 8603b9c90790: Pulling fs layer [2021-11-16T06:27:43.044Z] 1560dd03e051: Pulling fs layer [2021-11-16T06:27:43.044Z] 27f5ce0e4adf: Pulling fs layer [2021-11-16T06:27:43.044Z] c2d8d7efcc4b: Pulling fs layer [2021-11-16T06:27:43.044Z] 8603b9c90790: Waiting [2021-11-16T06:27:43.044Z] 1560dd03e051: Waiting [2021-11-16T06:27:43.044Z] 27f5ce0e4adf: Waiting [2021-11-16T06:27:43.044Z] c2d8d7efcc4b: Waiting [2021-11-16T06:27:43.044Z] f757da607395: Verifying Checksum [2021-11-16T06:27:43.044Z] f757da607395: Download complete [2021-11-16T06:27:43.044Z] 8603b9c90790: Verifying Checksum [2021-11-16T06:27:43.044Z] 8603b9c90790: Download complete [2021-11-16T06:27:43.318Z] 1560dd03e051: Verifying Checksum [2021-11-16T06:27:43.318Z] 1560dd03e051: Download complete [2021-11-16T06:27:43.318Z] 05883995daec: Verifying Checksum [2021-11-16T06:27:43.318Z] 05883995daec: Download complete [2021-11-16T06:27:43.318Z] 27f5ce0e4adf: Verifying Checksum [2021-11-16T06:27:43.318Z] 27f5ce0e4adf: Download complete [2021-11-16T06:27:43.593Z] 448f6bf000e3: Verifying Checksum [2021-11-16T06:27:43.593Z] 448f6bf000e3: Download complete [2021-11-16T06:27:46.221Z] c2d8d7efcc4b: Verifying Checksum [2021-11-16T06:27:46.221Z] c2d8d7efcc4b: Download complete [2021-11-16T06:27:47.203Z] 448f6bf000e3: Pull complete [2021-11-16T06:27:47.801Z] f757da607395: Pull complete [2021-11-16T06:27:49.239Z] 05883995daec: Pull complete [2021-11-16T06:27:49.512Z] 8603b9c90790: Pull complete [2021-11-16T06:27:50.490Z] 1560dd03e051: Pull complete [2021-11-16T06:27:50.771Z] 27f5ce0e4adf: Pull complete [2021-11-16T06:28:05.863Z] c2d8d7efcc4b: Pull complete [2021-11-16T06:28:05.863Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-16T06:28:05.863Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-16T06:28:05.863Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-16T06:28:06.122Z] prd-ubuntu18.04-docker-arm64-4c-16g-786 does not seem to be running inside a container [2021-11-16T06:28:06.200Z] $ 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/19 -v /w/workspace/device-rest-go/19:/w/workspace/device-rest-go/19:rw,z -v /w/workspace/device-rest-go/19@tmp:/w/workspace/device-rest-go/19@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-16T06:28:08.922Z] $ docker top 681a3e4de3442107e0fc8f8f3322963e98033da992b3ee2338f5dfe691854da2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-16T06:28:09.894Z] ---> job-cost.sh [2021-11-16T06:28:09.894Z] lf-activate-venv: SKIPPING [2021-11-16T06:28:09.894Z] INFO: No Stack... [2021-11-16T06:28:10.166Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-16T06:28:10.761Z] INFO: Archiving Costs [Pipeline] sh [2021-11-16T06:28:11.423Z] + cat /w/workspace/device-rest-go/19/archives/cost.csv [2021-11-16T06:28:11.423Z] + cut -d, -f6 [Pipeline] lock [2021-11-16T06:28:11.486Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-19-stack-cost] [2021-11-16T06:28:11.492Z] Resource [jenkins-edgexfoundry-device-rest-go-main-19-stack-cost] did not exist. Created. [2021-11-16T06:28:11.492Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-19-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-16T06:28:12.161Z] /w/workspace/device-rest-go/19@tmp/durable-39c6b8d1/script.sh: 1: /w/workspace/device-rest-go/19@tmp/durable-39c6b8d1/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-16T06:28:12.826Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-16T06:28:12.851Z] Warning: overwriting stash ‘stack-cost’ [2021-11-16T06:28:12.892Z] Stashed 1 file(s) [Pipeline] } [2021-11-16T06:28:12.899Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-19-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-16T06:28:12.913Z] $ docker stop --time=1 681a3e4de3442107e0fc8f8f3322963e98033da992b3ee2338f5dfe691854da2 [2021-11-16T06:28:14.453Z] $ docker rm -f 681a3e4de3442107e0fc8f8f3322963e98033da992b3ee2338f5dfe691854da2 [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-16T06:28:15.145Z] provisioning config files... [2021-11-16T06:28:15.154Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6958982861660985579tmp [Pipeline] { [Pipeline] sh [2021-11-16T06:28:15.483Z] + set +x [2021-11-16T06:28:15.483Z] + curl -s https://codecov.io/bash [2021-11-16T06:28:15.483Z] + bash -s -- [2021-11-16T06:28:15.483Z] [2021-11-16T06:28:15.483Z] _____ _ [2021-11-16T06:28:15.483Z] / ____| | | [2021-11-16T06:28:15.483Z] | | ___ __| | ___ ___ _____ __ [2021-11-16T06:28:15.483Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-16T06:28:15.483Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-16T06:28:15.483Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-16T06:28:15.483Z] Bash-1.0.6 [2021-11-16T06:28:15.483Z] [2021-11-16T06:28:15.483Z] [2021-11-16T06:28:15.483Z] ==> git version 2.24.4 found [2021-11-16T06:28:15.483Z] ==> 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-16T06:28:15.483Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-16T06:28:15.483Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-16T06:28:15.483Z] ==> Jenkins CI detected. [2021-11-16T06:28:15.483Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2021-11-16T06:28:15.483Z] project root: . [2021-11-16T06:28:15.483Z] --> token set from env [2021-11-16T06:28:15.483Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-16T06:28:15.746Z] ==> Running gcov in . (disable via -X gcov) [2021-11-16T06:28:15.746Z] ==> Python coveragepy not found [2021-11-16T06:28:15.746Z] ==> Searching for coverage reports in: [2021-11-16T06:28:15.746Z] + . [2021-11-16T06:28:15.746Z] -> Found 1 reports [2021-11-16T06:28:15.746Z] ==> Detecting git/mercurial file structure [2021-11-16T06:28:15.746Z] ==> Reading reports [2021-11-16T06:28:15.746Z] + ./coverage.out bytes=9215 [2021-11-16T06:28:15.746Z] ==> Appending adjustments [2021-11-16T06:28:15.746Z] https://docs.codecov.io/docs/fixing-reports [2021-11-16T06:28:15.746Z] + Found adjustments [2021-11-16T06:28:15.746Z] ==> Gzipping contents [2021-11-16T06:28:15.746Z] 4.0K /tmp/codecov.cVR7Ay.gz [2021-11-16T06:28:15.746Z] ==> Uploading reports [2021-11-16T06:28:15.746Z] url: https://codecov.io [2021-11-16T06:28:15.746Z] query: branch=main&commit=7759c41568adf15208c0dd5cadcdb8f87895acd8&build=19&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F19%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-16T06:28:15.746Z] -> Pinging Codecov [2021-11-16T06:28:15.746Z] 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=7759c41568adf15208c0dd5cadcdb8f87895acd8&build=19&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F19%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-16T06:28:16.318Z] -> Uploading to [2021-11-16T06:28:16.318Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-16/4E5D53B4F1F92C436F7061BF334D961C/7759c41568adf15208c0dd5cadcdb8f87895acd8/c98e654b-2aeb-46c3-82e5-7f192b511474.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211116%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211116T062816Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b65c884e2f1908969305199e2add5fd3b8597298e0be89686d9eb51d048f5709 [2021-11-16T06:28:16.318Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-16T06:28:16.318Z] Dload Upload Total Spent Left Speed [2021-11-16T06:28:16.579Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1828 0 0 100 1828 0 5627 --:--:-- --:--:-- --:--:-- 5641 [2021-11-16T06:28:16.580Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/7759c41568adf15208c0dd5cadcdb8f87895acd8 [Pipeline] } [2021-11-16T06:28:16.588Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-11-16T06:28:16.915Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-11-16T06:28:16.925Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-16T06:28:17.226Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-16T06:28:17.226Z] [2021-11-16T06:28:17.226Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-11-16T06:28:17.559Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-16T06:28:17.559Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-11-16T06:28:17.559Z] 188c0c94c7c5: Pulling fs layer [2021-11-16T06:28:17.559Z] 0ef7d3d256c8: Pulling fs layer [2021-11-16T06:28:17.559Z] de9db76c5a1d: Pulling fs layer [2021-11-16T06:28:17.559Z] 0eba1c9be4d2: Pulling fs layer [2021-11-16T06:28:17.559Z] 0d57e429df01: Pulling fs layer [2021-11-16T06:28:17.559Z] 4e4be7b47b0d: Pulling fs layer [2021-11-16T06:28:17.559Z] e1f770b5df2f: Pulling fs layer [2021-11-16T06:28:17.559Z] 85a0685a4137: Pulling fs layer [2021-11-16T06:28:17.559Z] 0eba1c9be4d2: Waiting [2021-11-16T06:28:17.559Z] 0d57e429df01: Waiting [2021-11-16T06:28:17.559Z] 4e4be7b47b0d: Waiting [2021-11-16T06:28:17.559Z] e1f770b5df2f: Waiting [2021-11-16T06:28:17.559Z] 85a0685a4137: Waiting [2021-11-16T06:28:17.559Z] de9db76c5a1d: Verifying Checksum [2021-11-16T06:28:17.559Z] de9db76c5a1d: Download complete [2021-11-16T06:28:17.559Z] 0ef7d3d256c8: Verifying Checksum [2021-11-16T06:28:17.559Z] 0ef7d3d256c8: Download complete [2021-11-16T06:28:17.559Z] 0d57e429df01: Verifying Checksum [2021-11-16T06:28:17.559Z] 0d57e429df01: Download complete [2021-11-16T06:28:17.559Z] 4e4be7b47b0d: Verifying Checksum [2021-11-16T06:28:17.559Z] 4e4be7b47b0d: Download complete [2021-11-16T06:28:17.559Z] 188c0c94c7c5: Verifying Checksum [2021-11-16T06:28:17.559Z] 188c0c94c7c5: Download complete [2021-11-16T06:28:17.844Z] e1f770b5df2f: Verifying Checksum [2021-11-16T06:28:17.844Z] e1f770b5df2f: Download complete [2021-11-16T06:28:17.844Z] 188c0c94c7c5: Pull complete [2021-11-16T06:28:18.126Z] 0ef7d3d256c8: Pull complete [2021-11-16T06:28:18.401Z] 0eba1c9be4d2: Verifying Checksum [2021-11-16T06:28:18.401Z] 0eba1c9be4d2: Download complete [2021-11-16T06:28:18.401Z] de9db76c5a1d: Pull complete [2021-11-16T06:28:18.401Z] 85a0685a4137: Verifying Checksum [2021-11-16T06:28:18.401Z] 85a0685a4137: Download complete [2021-11-16T06:28:22.646Z] 0eba1c9be4d2: Pull complete [2021-11-16T06:28:22.646Z] 0d57e429df01: Pull complete [2021-11-16T06:28:22.646Z] 4e4be7b47b0d: Pull complete [2021-11-16T06:28:23.238Z] e1f770b5df2f: Pull complete [2021-11-16T06:28:27.527Z] 85a0685a4137: Pull complete [2021-11-16T06:28:27.527Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-11-16T06:28:27.527Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-16T06:28:27.527Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-11-16T06:28:27.612Z] prd-centos7-docker-4c-2g-785 does not seem to be running inside a container [2021-11-16T06:28:27.652Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-11-16T06:28:30.015Z] $ docker top b0ea50a13fca613dc82b349bacf2267da8ad1195ec7f63212723466485cb7b86 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-11-16T06:28:30.116Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-11-16T06:28:30.413Z] + set -o pipefail [2021-11-16T06:28:30.413Z] + snyk monitor '--org=edgex-jenkins' [2021-11-16T06:28:35.737Z] [2021-11-16T06:28:35.738Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2021-11-16T06:28:35.738Z] [2021-11-16T06:28:35.738Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/51c81a7b-fccf-426d-93d3-47a27a92d8e1 [2021-11-16T06:28:35.738Z] [2021-11-16T06:28:35.738Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-11-16T06:28:35.738Z] [2021-11-16T06:28:35.738Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-11-16T06:28:35.738Z] [2021-11-16T06:28:35.738Z] [Pipeline] } [2021-11-16T06:28:35.750Z] $ docker stop --time=1 b0ea50a13fca613dc82b349bacf2267da8ad1195ec7f63212723466485cb7b86 [2021-11-16T06:28:37.719Z] $ docker rm -f b0ea50a13fca613dc82b349bacf2267da8ad1195ec7f63212723466485cb7b86 [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-16T06:28:38.660Z] + git log --format=format:%s -1 7759c41568adf15208c0dd5cadcdb8f87895acd8 [Pipeline] isUnix [Pipeline] sh [2021-11-16T06:28:38.966Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-16T06:28:38.966Z] . [Pipeline] withDockerContainer [2021-11-16T06:28:39.033Z] prd-centos7-docker-4c-2g-785 does not seem to be running inside a container [2021-11-16T06:28:39.066Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-16T06:28:39.442Z] $ docker top 29d8780fa96da27c8fbdda2d20a66a6094c15c951c10139cb0e6871b8aa5bb47 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-16T06:28:39.537Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-16T06:28:39.537Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-16T06:28:39.660Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-16T06:28:39.663Z] $ docker exec 29d8780fa96da27c8fbdda2d20a66a6094c15c951c10139cb0e6871b8aa5bb47 ssh-agent [2021-11-16T06:28:39.768Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKFCJbP/agent.14 [2021-11-16T06:28:39.768Z] SSH_AGENT_PID=21 [2021-11-16T06:28:39.773Z] Running ssh-add (command line suppressed) [2021-11-16T06:28:39.872Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8194935039537904147.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8194935039537904147.key) [2021-11-16T06:28:39.886Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-16T06:28:40.183Z] + git semver tag [2021-11-16T06:28:40.183Z] # -> Open(): unable to determine branch for HEAD [2021-11-16T06:28:40.184Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-11-16T06:28:40.184Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-11-16T06:28:40.184Z] # $SEMVER_REMOTE_NAME = origin [2021-11-16T06:28:40.184Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-16T06:28:40.184Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-16T06:28:40.184Z] # $SEMVER_BRANCH = main [2021-11-16T06:28:40.184Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [2021-11-16T06:28:40.184Z] # 7759c41568adf15208c0dd5cadcdb8f87895acd8 HEAD [2021-11-16T06:28:40.184Z] # -> Force: false [2021-11-16T06:28:40.184Z] # ca8dc01cf88f1dbdb7ee32d104c820a967cec8a8 refs/tags/v2.0.1-dev.14 [Pipeline] } [2021-11-16T06:28:40.193Z] $ docker exec --env ******** --env ******** 29d8780fa96da27c8fbdda2d20a66a6094c15c951c10139cb0e6871b8aa5bb47 ssh-agent -k [2021-11-16T06:28:40.301Z] unset SSH_AUTH_SOCK; [2021-11-16T06:28:40.301Z] unset SSH_AGENT_PID; [2021-11-16T06:28:40.301Z] echo Agent pid 21 killed; [2021-11-16T06:28:40.317Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-16T06:28:40.630Z] + git semver [Pipeline] } [2021-11-16T06:28:40.646Z] $ docker stop --time=1 29d8780fa96da27c8fbdda2d20a66a6094c15c951c10139cb0e6871b8aa5bb47 [2021-11-16T06:28:41.852Z] $ docker rm -f 29d8780fa96da27c8fbdda2d20a66a6094c15c951c10139cb0e6871b8aa5bb47 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-11-16T06:28:42.270Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-16T06:28:42.270Z] [2021-11-16T06:28:42.270Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-11-16T06:28:42.602Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-16T06:28:42.602Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-11-16T06:28:42.602Z] ab5ef0e58194: Pulling fs layer [2021-11-16T06:28:42.602Z] 9712f1f96733: Pulling fs layer [2021-11-16T06:28:42.602Z] 63f879dbbcfc: Pulling fs layer [2021-11-16T06:28:42.602Z] 0d9ebad4ef96: Pulling fs layer [2021-11-16T06:28:42.602Z] e9a5061849ea: Pulling fs layer [2021-11-16T06:28:42.602Z] d747dcd14b5f: Pulling fs layer [2021-11-16T06:28:42.602Z] 2de7ff778b66: Pulling fs layer [2021-11-16T06:28:42.602Z] 0d9ebad4ef96: Waiting [2021-11-16T06:28:42.602Z] e9a5061849ea: Waiting [2021-11-16T06:28:42.602Z] d747dcd14b5f: Waiting [2021-11-16T06:28:42.602Z] 2de7ff778b66: Waiting [2021-11-16T06:28:42.602Z] 9712f1f96733: Verifying Checksum [2021-11-16T06:28:42.602Z] 9712f1f96733: Download complete [2021-11-16T06:28:42.872Z] 63f879dbbcfc: Verifying Checksum [2021-11-16T06:28:42.872Z] 63f879dbbcfc: Download complete [2021-11-16T06:28:43.142Z] 0d9ebad4ef96: Verifying Checksum [2021-11-16T06:28:43.142Z] 0d9ebad4ef96: Download complete [2021-11-16T06:28:43.142Z] d747dcd14b5f: Verifying Checksum [2021-11-16T06:28:43.142Z] d747dcd14b5f: Download complete [2021-11-16T06:28:43.142Z] e9a5061849ea: Verifying Checksum [2021-11-16T06:28:43.142Z] e9a5061849ea: Download complete [2021-11-16T06:28:43.142Z] ab5ef0e58194: Verifying Checksum [2021-11-16T06:28:43.142Z] ab5ef0e58194: Download complete [2021-11-16T06:28:43.142Z] 2de7ff778b66: Verifying Checksum [2021-11-16T06:28:43.142Z] 2de7ff778b66: Download complete [2021-11-16T06:28:46.497Z] ab5ef0e58194: Pull complete [2021-11-16T06:28:46.497Z] 9712f1f96733: Pull complete [2021-11-16T06:28:47.459Z] 63f879dbbcfc: Pull complete [2021-11-16T06:28:51.698Z] 0d9ebad4ef96: Pull complete [2021-11-16T06:28:51.698Z] e9a5061849ea: Pull complete [2021-11-16T06:28:51.960Z] d747dcd14b5f: Pull complete [2021-11-16T06:28:53.349Z] 2de7ff778b66: Pull complete [2021-11-16T06:28:53.349Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-11-16T06:28:53.349Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-16T06:28:53.349Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-11-16T06:28:53.415Z] prd-centos7-docker-4c-2g-785 does not seem to be running inside a container [2021-11-16T06:28:53.453Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-11-16T06:28:56.688Z] $ docker top 0d648b28d74271b6edb63538157d9c65c1869056c892b162c5d559cc6e440672 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-11-16T06:28:56.785Z] provisioning config files... [2021-11-16T06:28:56.793Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3461029859892355140tmp [2021-11-16T06:28:56.805Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1554303517036991629tmp [2021-11-16T06:28:56.816Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2528404185568270398tmp [Pipeline] { [Pipeline] echo [2021-11-16T06:28:56.831Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-16T06:28:57.121Z] ---> sigul-configuration.sh [2021-11-16T06:28:57.121Z] gpg: directory `/root/.gnupg' created [2021-11-16T06:28:57.121Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-11-16T06:28:57.121Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-11-16T06:28:57.121Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-11-16T06:28:57.121Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-11-16T06:28:57.121Z] gpg: CAST5 encrypted data [2021-11-16T06:28:57.121Z] gpg: encrypted with 1 passphrase [2021-11-16T06:28:57.121Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-11-16T06:28:57.413Z] + mkdir /home/jenkins [2021-11-16T06:28:57.413Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-11-16T06:28:57.712Z] + 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-16T06:28:57.723Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-16T06:28:58.012Z] ---> sigul-install.sh [2021-11-16T06:28:58.012Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-11-16T06:28:58.301Z] + git tag --list [2021-11-16T06:28:58.301Z] v1.0.0 [2021-11-16T06:28:58.301Z] v1.1.0 [2021-11-16T06:28:58.301Z] v1.1.1 [2021-11-16T06:28:58.301Z] v1.1.2 [2021-11-16T06:28:58.301Z] v1.2.0 [2021-11-16T06:28:58.301Z] v1.2.1 [2021-11-16T06:28:58.301Z] v2.0.0 [2021-11-16T06:28:58.301Z] v2.0.1-dev.1 [2021-11-16T06:28:58.301Z] v2.0.1-dev.10 [2021-11-16T06:28:58.301Z] v2.0.1-dev.11 [2021-11-16T06:28:58.301Z] v2.0.1-dev.12 [2021-11-16T06:28:58.301Z] v2.0.1-dev.13 [2021-11-16T06:28:58.301Z] v2.0.1-dev.14 [2021-11-16T06:28:58.301Z] v2.0.1-dev.2 [2021-11-16T06:28:58.301Z] v2.0.1-dev.3 [2021-11-16T06:28:58.301Z] v2.0.1-dev.4 [2021-11-16T06:28:58.301Z] v2.0.1-dev.5 [2021-11-16T06:28:58.301Z] v2.0.1-dev.6 [2021-11-16T06:28:58.301Z] v2.0.1-dev.7 [2021-11-16T06:28:58.301Z] v2.0.1-dev.8 [2021-11-16T06:28:58.301Z] v2.0.1-dev.9 [Pipeline] sh [2021-11-16T06:28:58.594Z] + lftools sign git-tag v2.0.1-dev.14 [2021-11-16T06:28:59.165Z] Signing Git tag with Sigul... [2021-11-16T06:28:59.165Z] Signing v2.0.1-dev.14 [Pipeline] echo [2021-11-16T06:29:00.110Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-16T06:29:00.399Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-11-16T06:29:00.407Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-11-16T06:29:00.423Z] $ docker stop --time=1 0d648b28d74271b6edb63538157d9c65c1869056c892b162c5d559cc6e440672 [2021-11-16T06:29:01.619Z] $ docker rm -f 0d648b28d74271b6edb63538157d9c65c1869056c892b162c5d559cc6e440672 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-11-16T06:29:02.201Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-16T06:29:02.201Z] . [Pipeline] withDockerContainer [2021-11-16T06:29:02.266Z] prd-centos7-docker-4c-2g-785 does not seem to be running inside a container [2021-11-16T06:29:02.299Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-16T06:29:02.637Z] $ docker top 9d90a4b8c374c7d5cd6f1df71daf580e194911b192a9cd301e209315a59c5f8c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-16T06:29:02.739Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-16T06:29:02.739Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-16T06:29:02.874Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-16T06:29:02.876Z] $ docker exec 9d90a4b8c374c7d5cd6f1df71daf580e194911b192a9cd301e209315a59c5f8c ssh-agent [2021-11-16T06:29:02.998Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXojONmk/agent.15 [2021-11-16T06:29:02.998Z] SSH_AGENT_PID=22 [2021-11-16T06:29:03.002Z] Running ssh-add (command line suppressed) [2021-11-16T06:29:03.125Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_299095565476508042.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_299095565476508042.key) [2021-11-16T06:29:03.137Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-16T06:29:03.422Z] + git semver bump pre [2021-11-16T06:29:03.422Z] # -> Open(): unable to determine branch for HEAD [2021-11-16T06:29:03.422Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-11-16T06:29:03.422Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-11-16T06:29:03.422Z] # $SEMVER_REMOTE_NAME = origin [2021-11-16T06:29:03.422Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-16T06:29:03.422Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-16T06:29:03.422Z] # $SEMVER_BRANCH = main [2021-11-16T06:29:03.422Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [2021-11-16T06:29:03.422Z] 2.0.1-dev.15 [Pipeline] } [2021-11-16T06:29:03.430Z] $ docker exec --env ******** --env ******** 9d90a4b8c374c7d5cd6f1df71daf580e194911b192a9cd301e209315a59c5f8c ssh-agent -k [2021-11-16T06:29:03.520Z] unset SSH_AUTH_SOCK; [2021-11-16T06:29:03.521Z] unset SSH_AGENT_PID; [2021-11-16T06:29:03.521Z] echo Agent pid 22 killed; [2021-11-16T06:29:03.532Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-16T06:29:03.846Z] + git semver [Pipeline] } [2021-11-16T06:29:03.858Z] $ docker stop --time=1 9d90a4b8c374c7d5cd6f1df71daf580e194911b192a9cd301e209315a59c5f8c [2021-11-16T06:29:05.059Z] $ docker rm -f 9d90a4b8c374c7d5cd6f1df71daf580e194911b192a9cd301e209315a59c5f8c [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-11-16T06:29:05.405Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-16T06:29:05.405Z] . [Pipeline] withDockerContainer [2021-11-16T06:29:05.473Z] prd-centos7-docker-4c-2g-785 does not seem to be running inside a container [2021-11-16T06:29:05.517Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-16T06:29:05.908Z] $ docker top 3629f2cc276b60e6ea367f7d0d7aa910827c7c920a8cb335836bd9de8d1f7dfd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-16T06:29:06.012Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-16T06:29:06.012Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-16T06:29:06.129Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-16T06:29:06.131Z] $ docker exec 3629f2cc276b60e6ea367f7d0d7aa910827c7c920a8cb335836bd9de8d1f7dfd ssh-agent [2021-11-16T06:29:06.248Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpMDLda/agent.13 [2021-11-16T06:29:06.248Z] SSH_AGENT_PID=20 [2021-11-16T06:29:06.253Z] Running ssh-add (command line suppressed) [2021-11-16T06:29:06.354Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5460913959108101996.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5460913959108101996.key) [2021-11-16T06:29:06.365Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-16T06:29:06.659Z] + git semver push [2021-11-16T06:29:06.659Z] # -> Open(): unable to determine branch for HEAD [2021-11-16T06:29:06.659Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-11-16T06:29:06.659Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-11-16T06:29:06.659Z] # $SEMVER_REMOTE_NAME = origin [2021-11-16T06:29:06.659Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-16T06:29:06.659Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-16T06:29:06.659Z] # $SEMVER_BRANCH = main [2021-11-16T06:29:06.659Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } [2021-11-16T06:29:08.059Z] $ docker exec --env ******** --env ******** 3629f2cc276b60e6ea367f7d0d7aa910827c7c920a8cb335836bd9de8d1f7dfd ssh-agent -k [2021-11-16T06:29:08.155Z] unset SSH_AUTH_SOCK; [2021-11-16T06:29:08.156Z] unset SSH_AGENT_PID; [2021-11-16T06:29:08.156Z] echo Agent pid 20 killed; [2021-11-16T06:29:08.168Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-16T06:29:08.481Z] + git semver [Pipeline] } [2021-11-16T06:29:08.493Z] $ docker stop --time=1 3629f2cc276b60e6ea367f7d0d7aa910827c7c920a8cb335836bd9de8d1f7dfd [2021-11-16T06:29:09.689Z] $ docker rm -f 3629f2cc276b60e6ea367f7d0d7aa910827c7c920a8cb335836bd9de8d1f7dfd [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-16T06:29:10.689Z] + '[' -d /w/workspace/edgexfoundry_device-rest-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-16T06:29:10.981Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-16T06:29:11.536Z] ---> package-listing.sh [2021-11-16T06:29:11.536Z] ++ facter osfamily [2021-11-16T06:29:11.536Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-16T06:29:11.796Z] + OS_FAMILY=redhat [2021-11-16T06:29:11.796Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2021-11-16T06:29:11.796Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-16T06:29:11.796Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-16T06:29:11.797Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-16T06:29:11.797Z] + PACKAGES=/tmp/packages_start.txt [2021-11-16T06:29:11.797Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2021-11-16T06:29:11.797Z] + PACKAGES=/tmp/packages_end.txt [2021-11-16T06:29:11.797Z] + case "${OS_FAMILY}" in [2021-11-16T06:29:11.797Z] + rpm -qa [2021-11-16T06:29:11.797Z] + sort [2021-11-16T06:29:12.365Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-16T06:29:12.365Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-16T06:29:12.365Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-16T06:29:12.365Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2021-11-16T06:29:12.365Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2021-11-16T06:29:12.365Z] + 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-16T06:29:12.377Z] 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-16T06:29:12.659Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-16T06:29:13.218Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-16T06:29:13.218Z] [2021-11-16T06:29:13.218Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-16T06:29:13.518Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-16T06:29:13.518Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-16T06:29:13.518Z] b4d181a07f80: Pulling fs layer [2021-11-16T06:29:13.518Z] a1111a8f2ec3: Pulling fs layer [2021-11-16T06:29:13.518Z] ed53099fbce6: Pulling fs layer [2021-11-16T06:29:13.518Z] dc539afda2c1: Pulling fs layer [2021-11-16T06:29:13.518Z] 77bc0d833cb6: Pulling fs layer [2021-11-16T06:29:13.518Z] 9065ff56babe: Pulling fs layer [2021-11-16T06:29:13.518Z] d287ab97295c: Pulling fs layer [2021-11-16T06:29:13.518Z] dc539afda2c1: Waiting [2021-11-16T06:29:13.518Z] 77bc0d833cb6: Waiting [2021-11-16T06:29:13.518Z] 9065ff56babe: Waiting [2021-11-16T06:29:13.518Z] d287ab97295c: Waiting [2021-11-16T06:29:13.518Z] a1111a8f2ec3: Verifying Checksum [2021-11-16T06:29:13.518Z] a1111a8f2ec3: Download complete [2021-11-16T06:29:13.518Z] dc539afda2c1: Verifying Checksum [2021-11-16T06:29:13.518Z] dc539afda2c1: Download complete [2021-11-16T06:29:13.518Z] ed53099fbce6: Verifying Checksum [2021-11-16T06:29:13.518Z] ed53099fbce6: Download complete [2021-11-16T06:29:13.518Z] 9065ff56babe: Verifying Checksum [2021-11-16T06:29:13.518Z] 9065ff56babe: Download complete [2021-11-16T06:29:13.779Z] 77bc0d833cb6: Verifying Checksum [2021-11-16T06:29:13.779Z] 77bc0d833cb6: Download complete [2021-11-16T06:29:13.779Z] b4d181a07f80: Download complete [2021-11-16T06:29:14.361Z] d287ab97295c: Verifying Checksum [2021-11-16T06:29:14.361Z] d287ab97295c: Download complete [2021-11-16T06:29:15.326Z] b4d181a07f80: Pull complete [2021-11-16T06:29:15.326Z] a1111a8f2ec3: Pull complete [2021-11-16T06:29:15.895Z] ed53099fbce6: Pull complete [2021-11-16T06:29:16.158Z] dc539afda2c1: Pull complete [2021-11-16T06:29:16.417Z] 77bc0d833cb6: Pull complete [2021-11-16T06:29:16.417Z] 9065ff56babe: Pull complete [2021-11-16T06:29:21.754Z] d287ab97295c: Pull complete [2021-11-16T06:29:21.754Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-16T06:29:21.754Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-16T06:29:21.754Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-16T06:29:21.820Z] prd-centos7-docker-4c-2g-785 does not seem to be running inside a container [2021-11-16T06:29:21.856Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-16T06:29:24.192Z] $ docker top d3e51f3cc44a4c3dc7784cedf28f03f9701d2ac815fbff95bcf84c586a9219f9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-16T06:29:24.553Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-16T06:29:24.846Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-16T06:29:25.134Z] + ls /var/log/sa-host [2021-11-16T06:29:25.134Z] + sadf -c /var/log/sa-host/sa16 [2021-11-16T06:29:25.134Z] file_magic: OK [2021-11-16T06:29:25.134Z] HZ: Using current value: 100 [2021-11-16T06:29:25.134Z] file_header: OK [2021-11-16T06:29:25.134Z] 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-16T06:29:25.134Z] Statistics: [2021-11-16T06:29:25.134Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-16T06:29:25.134Z] File successfully converted to sysstat format version 12.0.3 [2021-11-16T06:29:25.134Z] + sadf -c /var/log/sa-host/sa30 [2021-11-16T06:29:25.134Z] file_magic: OK [2021-11-16T06:29:25.134Z] HZ: Using current value: 100 [2021-11-16T06:29:25.134Z] file_header: OK [2021-11-16T06:29:25.134Z] 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-16T06:29:25.134Z] Statistics: [2021-11-16T06:29:25.134Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-16T06:29:25.134Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-16T06:29:25.370Z] provisioning config files... [2021-11-16T06:29:25.380Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8496660881788457521tmp [Pipeline] { [Pipeline] echo [2021-11-16T06:29:25.392Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-16T06:29:25.684Z] ---> create-netrc.sh [Pipeline] } [2021-11-16T06:29:25.692Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-16T06:29:26.047Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-16T06:29:26.057Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-16T06:29:26.344Z] ---> sudo-logs.sh [2021-11-16T06:29:26.345Z] Archiving 'sudo' log.. [2021-11-16T06:29:26.345Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-785.novalocal: Name or service not known [2021-11-16T06:29:26.345Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-785.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-16T06:29:26.364Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-16T06:29:26.653Z] ---> job-cost.sh [2021-11-16T06:29:26.653Z] lf-activate-venv: SKIPPING [2021-11-16T06:29:26.653Z] DEBUG: total: 0.10999999940395355 [2021-11-16T06:29:26.653Z] INFO: Retrieving Stack Cost... [2021-11-16T06:29:26.914Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-16T06:29:27.175Z] INFO: Archiving Costs [Pipeline] echo [2021-11-16T06:29:27.187Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-16T06:29:27.474Z] ---> logs-deploy.sh [2021-11-16T06:29:27.474Z] lf-activate-venv: SKIPPING [2021-11-16T06:29:27.474Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/19 [2021-11-16T06:29:27.474Z] INFO: archiving workspace using pattern(s): [2021-11-16T06:29:28.047Z] Archives upload complete. [2021-11-16T06:29:28.312Z] INFO: archiving logs to Nexus