Pull request #132 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/device-rest-go Obtained Jenkinsfile from b871a073327894f6b511ab05ae532201e3ea7afe+595e424eeac7315f293af2ed61abe406cb611b5e (d4c01ced59db38a9a269fcbd94f0f06423ba98d6) Running in Durability level: MAX_SURVIVABILITY 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-ssh3729469449873325737.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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-ssh2667711853428810451.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 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-132/workspace@libs/edgex-global-pipelines # timeout=10 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/PR-132/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6180122448665474932.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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/PR-132/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8513506785391604055.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 # timeout=10 Commit message: "Merge pull request #353 from ernestojeda/go-mod-tidy-change" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh3298174980929376494.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-132/workspace@libs/lf-pipelines # timeout=10 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/PR-132/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2582565650943782023.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1065 in /w/workspace/gexfoundry_device-rest-go_PR-132 [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/gexfoundry_device-rest-go_PR-132 # 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/gexfoundry_device-rest-go_PR-132@tmp/jenkins-gitclient-ssh5489674932799742446.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 595e424eeac7315f293af2ed61abe406cb611b5e into PR head commit b871a073327894f6b511ab05ae532201e3ea7afe Merge succeeded, producing b871a073327894f6b511ab05ae532201e3ea7afe Checking out Revision b871a073327894f6b511ab05ae532201e3ea7afe (PR-132) > 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 remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 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/gexfoundry_device-rest-go_PR-132@tmp/jenkins-gitclient-ssh2990205735912264550.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/132/head:refs/remotes/origin/PR-132 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b871a073327894f6b511ab05ae532201e3ea7afe # timeout=10 > git remote # timeout=10 > 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 /w/workspace/gexfoundry_device-rest-go_PR-132@tmp/jenkins-gitclient-ssh5534654784831256355.key > git merge 595e424eeac7315f293af2ed61abe406cb611b5e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b871a073327894f6b511ab05ae532201e3ea7afe # timeout=10 Commit message: "ci: remove need for CI specific Dockerfile" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-08-17T18:42:58.086Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-08-17T18:42:58.295Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-08-17T18:42:58.436Z] ========================================================= [2021-08-17T18:42:58.436Z] EdgeX Global Pipelines Version Info [2021-08-17T18:42:58.436Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-08-17T18:42:59.716Z] ------------------- [2021-08-17T18:42:59.717Z] stable info: [2021-08-17T18:42:59.717Z] ------------------- [2021-08-17T18:42:59.717Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-08-17T18:42:59.717Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-17T18:42:59.717Z] Message: update stable to v1.0.205 [2021-08-17T18:43:00.303Z] ------------------- [2021-08-17T18:43:00.303Z] experimental info: [2021-08-17T18:43:00.303Z] ------------------- [2021-08-17T18:43:00.303Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-08-17T18:43:00.303Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-17T18:43:00.303Z] Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-08-17T18:43:00.580Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-08-17T18:43:00.652Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-08-17T18:43:00.716Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-08-17T18:43:00.778Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-08-17T18:43:00.874Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-08-17T18:43:00.934Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-08-17T18:43:00.995Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-08-17T18:43:01.063Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-08-17T18:43:01.129Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-08-17T18:43:01.192Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-08-17T18:43:01.252Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-08-17T18:43:01.312Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-08-17T18:43:01.382Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-08-17T18:43:01.457Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-08-17T18:43:01.515Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-08-17T18:43:01.576Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-08-17T18:43:01.632Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-08-17T18:43:01.688Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-08-17T18:43:01.744Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-08-17T18:43:01.809Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-08-17T18:43:01.868Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-08-17T18:43:02.131Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-08-17T18:43:02.206Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-08-17T18:43:02.262Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-08-17T18:43:02.318Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-08-17T18:43:02.388Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-08-17T18:43:02.447Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-08-17T18:43:02.504Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-132 [Pipeline] echo [2021-08-17T18:43:02.572Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-132 [Pipeline] echo [2021-08-17T18:43:02.629Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-132 [Pipeline] echo [2021-08-17T18:43:02.687Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b871a073327894f6b511ab05ae532201e3ea7afe [Pipeline] echo [2021-08-17T18:43:02.748Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b871a07 [Pipeline] echo [2021-08-17T18:43:02.808Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-17T18:43:02.965Z] provisioning config files... [2021-08-17T18:43:02.985Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-132@tmp/config3754030067540074499tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-17T18:43:03.376Z] ---> docker-login.sh [2021-08-17T18:43:03.376Z] nexus3.edgexfoundry.org:10001 [2021-08-17T18:43:03.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T18:43:03.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T18:43:03.645Z] Configure a credential helper to remove this warning. See [2021-08-17T18:43:03.645Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T18:43:03.645Z] [2021-08-17T18:43:03.645Z] Login Succeeded [2021-08-17T18:43:03.645Z] nexus3.edgexfoundry.org:10002 [2021-08-17T18:43:03.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T18:43:03.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T18:43:03.645Z] Configure a credential helper to remove this warning. See [2021-08-17T18:43:03.645Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T18:43:03.645Z] [2021-08-17T18:43:03.645Z] Login Succeeded [2021-08-17T18:43:03.645Z] nexus3.edgexfoundry.org:10003 [2021-08-17T18:43:03.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T18:43:03.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T18:43:03.912Z] Configure a credential helper to remove this warning. See [2021-08-17T18:43:03.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T18:43:03.912Z] [2021-08-17T18:43:03.912Z] Login Succeeded [2021-08-17T18:43:03.912Z] nexus3.edgexfoundry.org:10004 [2021-08-17T18:43:03.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T18:43:04.180Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T18:43:04.180Z] Configure a credential helper to remove this warning. See [2021-08-17T18:43:04.180Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T18:43:04.180Z] [2021-08-17T18:43:04.180Z] Login Succeeded [2021-08-17T18:43:04.180Z] docker.io [2021-08-17T18:43:04.180Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T18:43:04.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T18:43:04.449Z] Configure a credential helper to remove this warning. See [2021-08-17T18:43:04.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T18:43:04.449Z] [2021-08-17T18:43:04.449Z] Login Succeeded [2021-08-17T18:43:04.449Z] ---> docker-login.sh ends [Pipeline] } [2021-08-17T18:43:04.481Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-08-17T18:43:05.329Z] + git log --format=format:%s -1 b871a073327894f6b511ab05ae532201e3ea7afe [Pipeline] echo [2021-08-17T18:43:05.403Z] GIT_COMMIT: b871a073327894f6b511ab05ae532201e3ea7afe, Commit Message: ci: remove need for CI specific Dockerfile [Pipeline] echo [2021-08-17T18:43:05.440Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-08-17T18:43:06.036Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-17T18:43:06.036Z] [2021-08-17T18:43:06.036Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-08-17T18:43:06.411Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-17T18:43:06.411Z] latest: Pulling from edgex-devops/git-semver [2021-08-17T18:43:06.411Z] 31603596830f: Pulling fs layer [2021-08-17T18:43:06.411Z] d4622e32a9a9: Pulling fs layer [2021-08-17T18:43:06.411Z] 1030fce36090: Pulling fs layer [2021-08-17T18:43:06.411Z] 6c6cb7e1b49b: Pulling fs layer [2021-08-17T18:43:06.411Z] 6c6cb7e1b49b: Waiting [2021-08-17T18:43:06.411Z] d4622e32a9a9: Verifying Checksum [2021-08-17T18:43:06.411Z] d4622e32a9a9: Download complete [2021-08-17T18:43:06.678Z] 31603596830f: Verifying Checksum [2021-08-17T18:43:06.678Z] 31603596830f: Download complete [2021-08-17T18:43:06.678Z] 31603596830f: Pull complete [2021-08-17T18:43:06.678Z] 6c6cb7e1b49b: Verifying Checksum [2021-08-17T18:43:06.678Z] 6c6cb7e1b49b: Download complete [2021-08-17T18:43:06.944Z] d4622e32a9a9: Pull complete [2021-08-17T18:43:06.944Z] 1030fce36090: Download complete [2021-08-17T18:43:07.530Z] 1030fce36090: Pull complete [2021-08-17T18:43:07.530Z] 6c6cb7e1b49b: Pull complete [2021-08-17T18:43:07.530Z] Digest: sha256:98b6084a185347f7b64647794a0a4774a411b925a780a33b3032b91fe10e00ab [2021-08-17T18:43:07.530Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-17T18:43:07.530Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-08-17T18:43:07.646Z] prd-centos7-docker-4c-2g-1065 does not seem to be running inside a container [2021-08-17T18:43:07.706Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-132 -v /w/workspace/gexfoundry_device-rest-go_PR-132:/w/workspace/gexfoundry_device-rest-go_PR-132:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-132@tmp:/w/workspace/gexfoundry_device-rest-go_PR-132@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-08-17T18:43:08.537Z] $ docker top e590116b4bef4fb3d3933f1814714cea4be7a224d9fdc0497379b8e0a9dbf25f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-17T18:43:08.742Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-17T18:43:08.742Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-17T18:43:08.857Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-17T18:43:08.857Z] $ docker exec e590116b4bef4fb3d3933f1814714cea4be7a224d9fdc0497379b8e0a9dbf25f ssh-agent [2021-08-17T18:43:08.967Z] SSH_AUTH_SOCK=/tmp/ssh-FLTJaGUSs1FU/agent.13 [2021-08-17T18:43:08.967Z] SSH_AGENT_PID=20 [2021-08-17T18:43:08.980Z] Running ssh-add (command line suppressed) [2021-08-17T18:43:09.075Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-132@tmp/private_key_3812076204931920920.key (/w/workspace/gexfoundry_device-rest-go_PR-132@tmp/private_key_3812076204931920920.key) [2021-08-17T18:43:09.095Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-17T18:43:09.468Z] + git tag --points-at HEAD [Pipeline] } [2021-08-17T18:43:09.501Z] $ docker exec --env ******** --env ******** e590116b4bef4fb3d3933f1814714cea4be7a224d9fdc0497379b8e0a9dbf25f ssh-agent -k [2021-08-17T18:43:09.593Z] unset SSH_AUTH_SOCK; [2021-08-17T18:43:09.593Z] unset SSH_AGENT_PID; [2021-08-17T18:43:09.593Z] echo Agent pid 20 killed; [2021-08-17T18:43:09.609Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-08-17T18:43:09.704Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-17T18:43:09.704Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-17T18:43:09.814Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-17T18:43:09.815Z] $ docker exec e590116b4bef4fb3d3933f1814714cea4be7a224d9fdc0497379b8e0a9dbf25f ssh-agent [2021-08-17T18:43:09.917Z] SSH_AUTH_SOCK=/tmp/ssh-gNF53BZErF4S/agent.53 [2021-08-17T18:43:09.917Z] SSH_AGENT_PID=59 [2021-08-17T18:43:09.925Z] Running ssh-add (command line suppressed) [2021-08-17T18:43:10.023Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-132@tmp/private_key_213796181184532686.key (/w/workspace/gexfoundry_device-rest-go_PR-132@tmp/private_key_213796181184532686.key) [2021-08-17T18:43:10.045Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-17T18:43:10.401Z] + git semver init [2021-08-17T18:43:10.401Z] # -> Open(): unable to determine branch for HEAD [2021-08-17T18:43:10.401Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-132/.git [2021-08-17T18:43:10.401Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-132 [2021-08-17T18:43:10.401Z] # $SEMVER_REMOTE_NAME = origin [2021-08-17T18:43:10.401Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-17T18:43:10.401Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-17T18:43:10.401Z] # $SEMVER_BRANCH = PR-132 [2021-08-17T18:43:10.401Z] # $SEMVER_TEMP = /tmp/semver-817572539 [2021-08-17T18:43:10.401Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-08-17T18:43:12.987Z] # '/tmp/semver-817572539' -> '/w/workspace/gexfoundry_device-rest-go_PR-132/.semver' [2021-08-17T18:43:12.987Z] # -> Force: false [2021-08-17T18:43:12.987Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-132/.semver [Pipeline] } [2021-08-17T18:43:13.009Z] $ docker exec --env ******** --env ******** e590116b4bef4fb3d3933f1814714cea4be7a224d9fdc0497379b8e0a9dbf25f ssh-agent -k [2021-08-17T18:43:13.124Z] unset SSH_AUTH_SOCK; [2021-08-17T18:43:13.124Z] unset SSH_AGENT_PID; [2021-08-17T18:43:13.124Z] echo Agent pid 59 killed; [2021-08-17T18:43:13.142Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-17T18:43:13.593Z] + git semver [Pipeline] } [2021-08-17T18:43:13.625Z] $ docker stop --time=1 e590116b4bef4fb3d3933f1814714cea4be7a224d9fdc0497379b8e0a9dbf25f [2021-08-17T18:43:14.917Z] $ docker rm -f e590116b4bef4fb3d3933f1814714cea4be7a224d9fdc0497379b8e0a9dbf25f [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-17T18:43:15.356Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-08-17T18:43:15.781Z] Stashed 1 file(s) [Pipeline] echo [2021-08-17T18:43:15.803Z] [edgeXSemver]: initialized semver on version 0.0.0 [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-08-17T18:43:31.295Z] Still waiting to schedule task [2021-08-17T18:43:31.296Z] ‘prd-centos7-docker-4c-2g-1069’ is offline [2021-08-17T18:43:31.296Z] ‘prd-centos7-docker-4c-2g-1070’ is offline [2021-08-17T18:43:31.296Z] ‘prd-centos7-docker-4c-2g-1073’ is offline [2021-08-17T18:43:31.296Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-105’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-08-17T18:43:31.332Z] Still waiting to schedule task [2021-08-17T18:43:31.332Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-08-17T18:44:51.940Z] Running on prd-centos7-docker-4c-2g-1082 in /w/workspace/gexfoundry_device-rest-go_PR-132 [Pipeline] { [Pipeline] ws [2021-08-17T18:44:52.018Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-08-17T18:44:52.261Z] The recommended git tool is: git [2021-08-17T18:44:55.256Z] using credential edgex-jenkins-ssh [2021-08-17T18:44:55.271Z] Cloning the remote Git repository [2021-08-17T18:44:55.295Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-08-17T18:44:55.364Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-08-17T18:44:55.393Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-08-17T18:44:55.393Z] > git --version # timeout=10 [2021-08-17T18:44:55.397Z] > git --version # 'git version 2.24.4' [2021-08-17T18:44:55.397Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-17T18:44:55.421Z] [INFO] Currently running in a labeled security context [2021-08-17T18:44:55.422Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-17T18:44:55.422Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh8759328989312575459.key [2021-08-17T18:44:55.431Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-17T18:44:59.891Z] Merging remotes/origin/main commit 595e424eeac7315f293af2ed61abe406cb611b5e into PR head commit b871a073327894f6b511ab05ae532201e3ea7afe [2021-08-17T18:45:00.002Z] Merge succeeded, producing b871a073327894f6b511ab05ae532201e3ea7afe [2021-08-17T18:45:00.003Z] Checking out Revision b871a073327894f6b511ab05ae532201e3ea7afe (PR-132) [2021-08-17T18:44:59.448Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-08-17T18:44:59.458Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-17T18:44:59.470Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-08-17T18:44:59.482Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-08-17T18:44:59.482Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-17T18:44:59.485Z] [INFO] Currently running in a labeled security context [2021-08-17T18:44:59.485Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-17T18:44:59.485Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh89735517847867170.key [2021-08-17T18:44:59.495Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/132/head:refs/remotes/origin/PR-132 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-08-17T18:44:59.899Z] > git config core.sparsecheckout # timeout=10 [2021-08-17T18:44:59.909Z] > git checkout -f b871a073327894f6b511ab05ae532201e3ea7afe # timeout=10 [2021-08-17T18:44:59.956Z] > git remote # timeout=10 [2021-08-17T18:44:59.963Z] > git config --get remote.origin.url # timeout=10 [2021-08-17T18:44:59.970Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-17T18:44:59.971Z] [INFO] Currently running in a labeled security context [2021-08-17T18:44:59.971Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-17T18:44:59.971Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh2578824062894759514.key [2021-08-17T18:44:59.976Z] > git merge 595e424eeac7315f293af2ed61abe406cb611b5e # timeout=10 [2021-08-17T18:44:59.985Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-08-17T18:45:00.004Z] > git config core.sparsecheckout # timeout=10 [2021-08-17T18:45:00.012Z] > git checkout -f b871a073327894f6b511ab05ae532201e3ea7afe # timeout=10 [2021-08-17T18:45:04.041Z] Commit message: "ci: remove need for CI specific Dockerfile" [2021-08-17T18:45:04.148Z] > git --version # timeout=10 [2021-08-17T18:45:04.161Z] > git --version # 'git version 2.24.4' [2021-08-17T18:45:04.170Z] fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-17T18:45:04.894Z] provisioning config files... [2021-08-17T18:45:04.914Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config2496828089708425914tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-17T18:45:05.476Z] ---> docker-login.sh [2021-08-17T18:45:05.477Z] nexus3.edgexfoundry.org:10001 [2021-08-17T18:45:05.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T18:45:05.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T18:45:05.746Z] Configure a credential helper to remove this warning. See [2021-08-17T18:45:05.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T18:45:05.746Z] [2021-08-17T18:45:05.746Z] Login Succeeded [2021-08-17T18:45:05.746Z] nexus3.edgexfoundry.org:10002 [2021-08-17T18:45:05.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T18:45:06.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T18:45:06.016Z] Configure a credential helper to remove this warning. See [2021-08-17T18:45:06.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T18:45:06.016Z] [2021-08-17T18:45:06.016Z] Login Succeeded [2021-08-17T18:45:06.016Z] nexus3.edgexfoundry.org:10003 [2021-08-17T18:45:06.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T18:45:06.017Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T18:45:06.017Z] Configure a credential helper to remove this warning. See [2021-08-17T18:45:06.017Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T18:45:06.017Z] [2021-08-17T18:45:06.017Z] Login Succeeded [2021-08-17T18:45:06.017Z] nexus3.edgexfoundry.org:10004 [2021-08-17T18:45:06.293Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T18:45:06.562Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T18:45:06.562Z] Configure a credential helper to remove this warning. See [2021-08-17T18:45:06.562Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T18:45:06.562Z] [2021-08-17T18:45:06.562Z] Login Succeeded [2021-08-17T18:45:06.562Z] docker.io [2021-08-17T18:45:06.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T18:45:06.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T18:45:06.835Z] Configure a credential helper to remove this warning. See [2021-08-17T18:45:06.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T18:45:06.835Z] [2021-08-17T18:45:06.835Z] Login Succeeded [2021-08-17T18:45:06.835Z] ---> docker-login.sh ends [Pipeline] } [2021-08-17T18:45:06.913Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-08-17T18:45:07.278Z] ========================================================= [2021-08-17T18:45:07.278Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-08-17T18:45:07.278Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-08-17T18:45:07.747Z] + 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-08-17T18:45:07.747Z] Sending build context to Docker daemon 119.8kB [2021-08-17T18:45:07.747Z] Step 1/12 : ARG BASE=golang:1.16-alpine3.12 [2021-08-17T18:45:07.747Z] Step 2/12 : FROM ${BASE} AS builder [2021-08-17T18:45:08.015Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-08-17T18:45:08.015Z] 540db60ca938: Pulling fs layer [2021-08-17T18:45:08.015Z] adcc1eea9eea: Pulling fs layer [2021-08-17T18:45:08.015Z] 4c4ab2625f07: Pulling fs layer [2021-08-17T18:45:08.015Z] db62176df00c: Pulling fs layer [2021-08-17T18:45:08.015Z] 3b30891b0d05: Pulling fs layer [2021-08-17T18:45:08.015Z] 06b49ca38bd5: Pulling fs layer [2021-08-17T18:45:08.015Z] c788192a36de: Pulling fs layer [2021-08-17T18:45:08.015Z] a77e37c0d609: Pulling fs layer [2021-08-17T18:45:08.015Z] c3185cebc471: Pulling fs layer [2021-08-17T18:45:08.015Z] 06b49ca38bd5: Waiting [2021-08-17T18:45:08.015Z] c788192a36de: Waiting [2021-08-17T18:45:08.015Z] a77e37c0d609: Waiting [2021-08-17T18:45:08.015Z] c3185cebc471: Waiting [2021-08-17T18:45:08.015Z] db62176df00c: Waiting [2021-08-17T18:45:08.015Z] 3b30891b0d05: Waiting [2021-08-17T18:45:08.015Z] 4c4ab2625f07: Verifying Checksum [2021-08-17T18:45:08.015Z] 4c4ab2625f07: Download complete [2021-08-17T18:45:08.015Z] adcc1eea9eea: Verifying Checksum [2021-08-17T18:45:08.015Z] adcc1eea9eea: Download complete [2021-08-17T18:45:08.015Z] 3b30891b0d05: Verifying Checksum [2021-08-17T18:45:08.015Z] 3b30891b0d05: Download complete [2021-08-17T18:45:08.294Z] 540db60ca938: Verifying Checksum [2021-08-17T18:45:08.294Z] 540db60ca938: Download complete [2021-08-17T18:45:08.294Z] 06b49ca38bd5: Verifying Checksum [2021-08-17T18:45:08.294Z] 06b49ca38bd5: Download complete [2021-08-17T18:45:08.294Z] c788192a36de: Verifying Checksum [2021-08-17T18:45:08.294Z] c788192a36de: Download complete [2021-08-17T18:45:08.563Z] 540db60ca938: Pull complete [2021-08-17T18:45:08.563Z] adcc1eea9eea: Pull complete [2021-08-17T18:45:08.830Z] 4c4ab2625f07: Pull complete [2021-08-17T18:45:09.097Z] a77e37c0d609: Verifying Checksum [2021-08-17T18:45:09.097Z] a77e37c0d609: Download complete [2021-08-17T18:45:12.815Z] c3185cebc471: Verifying Checksum [2021-08-17T18:45:12.815Z] c3185cebc471: Download complete [2021-08-17T18:45:13.087Z] db62176df00c: Verifying Checksum [2021-08-17T18:45:13.087Z] db62176df00c: Download complete [2021-08-17T18:45:17.382Z] db62176df00c: Pull complete [2021-08-17T18:45:17.382Z] 3b30891b0d05: Pull complete [2021-08-17T18:45:17.382Z] 06b49ca38bd5: Pull complete [2021-08-17T18:45:17.382Z] c788192a36de: Pull complete [2021-08-17T18:45:17.382Z] a77e37c0d609: Pull complete [2021-08-17T18:45:19.358Z] c3185cebc471: Pull complete [2021-08-17T18:45:19.358Z] Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd [2021-08-17T18:45:19.358Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-08-17T18:45:19.358Z] ---> 031687cdd783 [2021-08-17T18:45:19.358Z] Step 3/12 : ARG MAKE='make build' [2021-08-17T18:45:21.948Z] ---> Running in 333496911f5c [2021-08-17T18:45:21.948Z] Removing intermediate container 333496911f5c [2021-08-17T18:45:21.948Z] ---> bfed41f5ab81 [2021-08-17T18:45:21.948Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-08-17T18:45:21.948Z] ---> Running in 390ae44bd927 [2021-08-17T18:45:21.948Z] Removing intermediate container 390ae44bd927 [2021-08-17T18:45:21.948Z] ---> f235613f845a [2021-08-17T18:45:21.948Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2021-08-17T18:45:22.218Z] ---> Running in d2b7cc3f1c8f [2021-08-17T18:45:22.218Z] Removing intermediate container d2b7cc3f1c8f [2021-08-17T18:45:22.218Z] ---> 64be0961633a [2021-08-17T18:45:22.218Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-17T18:45:22.218Z] ---> Running in 91fb7506ef56 [2021-08-17T18:45:22.809Z] Removing intermediate container 91fb7506ef56 [2021-08-17T18:45:22.809Z] ---> 47d193f1d8c8 [2021-08-17T18:45:22.809Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-08-17T18:45:22.809Z] ---> Running in 6cb3e3bcfb72 [2021-08-17T18:45:23.081Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-08-17T18:45:24.047Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-08-17T18:45:26.005Z] (1/3) Installing openssh-keygen (8.4_p1-r3) [2021-08-17T18:45:26.005Z] (2/3) Installing libedit (20191231.3.1-r1) [2021-08-17T18:45:26.270Z] (3/3) Installing openssh-client (8.4_p1-r3) [2021-08-17T18:45:29.639Z] Executing busybox-1.32.1-r6.trigger [2021-08-17T18:45:29.639Z] OK: 223 MiB in 55 packages [2021-08-17T18:45:30.233Z] Removing intermediate container 6cb3e3bcfb72 [2021-08-17T18:45:30.233Z] ---> 3cc33c4cdd51 [2021-08-17T18:45:30.233Z] Step 8/12 : WORKDIR /device-rest-go [2021-08-17T18:45:30.233Z] ---> Running in 2f5f6d8685b9 [2021-08-17T18:45:30.233Z] Removing intermediate container 2f5f6d8685b9 [2021-08-17T18:45:30.233Z] ---> d25409ff0dd3 [2021-08-17T18:45:30.233Z] Step 9/12 : COPY . . [2021-08-17T18:45:30.504Z] ---> 5e23d31824b4 [2021-08-17T18:45:30.504Z] Step 10/12 : RUN go mod tidy [2021-08-17T18:45:30.504Z] ---> Running in 991117da5421 [2021-08-17T18:45:31.931Z] go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.0.0 [2021-08-17T18:45:31.931Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 [2021-08-17T18:45:32.210Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-08-17T18:45:32.210Z] go: downloading github.com/spf13/cast v1.4.1 [2021-08-17T18:45:32.210Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-08-17T18:45:32.210Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 [2021-08-17T18:45:32.210Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 [2021-08-17T18:45:32.210Z] go: downloading github.com/google/uuid v1.2.0 [2021-08-17T18:45:32.210Z] go: downloading github.com/go-kit/kit v0.9.0 [2021-08-17T18:45:32.210Z] go: downloading github.com/go-playground/validator/v10 v10.6.1 [2021-08-17T18:45:32.477Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-08-17T18:45:32.477Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-08-17T18:45:32.477Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2021-08-17T18:45:32.477Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2021-08-17T18:45:32.477Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 [2021-08-17T18:45:32.477Z] go: downloading github.com/pelletier/go-toml v1.9.2 [2021-08-17T18:45:32.477Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2021-08-17T18:45:32.477Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 [2021-08-17T18:45:32.478Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 [2021-08-17T18:45:32.746Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2021-08-17T18:45:32.746Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2021-08-17T18:45:32.746Z] go: downloading github.com/leodido/go-urn v1.2.0 [2021-08-17T18:45:32.746Z] go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 [2021-08-17T18:45:32.746Z] go: downloading golang.org/x/text v0.3.2 [2021-08-17T18:45:33.015Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-08-17T18:45:33.015Z] go: downloading github.com/go-playground/locales v0.13.0 [2021-08-17T18:45:33.996Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2021-08-17T18:45:33.996Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-08-17T18:45:33.996Z] go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2021-08-17T18:45:33.996Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-08-17T18:45:33.996Z] go: downloading github.com/hashicorp/consul/api v1.8.1 [2021-08-17T18:45:33.996Z] go: downloading github.com/x448/float16 v0.8.4 [2021-08-17T18:45:33.996Z] go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd [2021-08-17T18:45:33.996Z] go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2021-08-17T18:45:33.996Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-08-17T18:45:33.996Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-08-17T18:45:33.996Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-08-17T18:45:33.996Z] go: downloading github.com/kr/pretty v0.2.0 [2021-08-17T18:45:33.996Z] go: downloading github.com/stretchr/objx v0.1.0 [2021-08-17T18:45:33.996Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-08-17T18:45:34.262Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-08-17T18:45:34.262Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-08-17T18:45:34.262Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-08-17T18:45:34.262Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-08-17T18:45:34.262Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-08-17T18:45:34.262Z] go: downloading github.com/hashicorp/consul/sdk v0.7.0 [2021-08-17T18:45:34.262Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-08-17T18:45:34.262Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-08-17T18:45:34.262Z] go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 [2021-08-17T18:45:34.262Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2021-08-17T18:45:34.533Z] go: downloading github.com/onsi/gomega v1.7.0 [2021-08-17T18:45:34.533Z] go: downloading github.com/kr/text v0.1.0 [2021-08-17T18:45:34.533Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-08-17T18:45:34.533Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-08-17T18:45:34.533Z] go: downloading github.com/fatih/color v1.9.0 [2021-08-17T18:45:34.533Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-08-17T18:45:34.533Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-08-17T18:45:34.533Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-08-17T18:45:34.533Z] go: downloading github.com/pkg/errors v0.8.1 [2021-08-17T18:45:34.533Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-08-17T18:45:34.801Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-08-17T18:45:34.801Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2021-08-17T18:45:34.801Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-08-17T18:45:34.801Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-08-17T18:45:34.801Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-08-17T18:45:34.801Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-08-17T18:45:34.801Z] go: downloading github.com/hpcloud/tail v1.0.0 [2021-08-17T18:45:34.801Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2021-08-17T18:45:34.801Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2021-08-17T18:45:34.801Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2021-08-17T18:45:34.801Z] go: downloading github.com/miekg/dns v1.1.26 [2021-08-17T18:45:34.801Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-08-17T18:45:34.801Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-08-17T18:45:34.801Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2021-08-17T18:45:35.069Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-08-17T18:45:35.069Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2021-08-17T18:45:40.427Z] Removing intermediate container 991117da5421 [2021-08-17T18:45:40.427Z] ---> 2619f8fee21d [2021-08-17T18:45:40.427Z] Step 11/12 : RUN make update [2021-08-17T18:45:40.427Z] ---> Running in be1dbf186c2e [2021-08-17T18:45:40.427Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-08-17T18:45:43.774Z] Removing intermediate container be1dbf186c2e [2021-08-17T18:45:43.774Z] ---> 6a4bd094daf1 [2021-08-17T18:45:43.774Z] Step 12/12 : RUN $MAKE [2021-08-17T18:45:43.774Z] ---> Running in 35d67ec26a89 [2021-08-17T18:45:43.774Z] noop [2021-08-17T18:45:44.039Z] Removing intermediate container 35d67ec26a89 [2021-08-17T18:45:44.039Z] ---> 862ef3d6a98e [2021-08-17T18:45:44.039Z] Successfully built 862ef3d6a98e [2021-08-17T18:45:44.039Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-08-17T18:45:44.393Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-17T18:45:44.393Z] . [Pipeline] withDockerContainer [2021-08-17T18:45:44.538Z] prd-centos7-docker-4c-2g-1082 does not seem to be running inside a container [2021-08-17T18:45:44.594Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-08-17T18:45:44.948Z] $ docker top 57f994820db55ba035aaba494451655d3ef078adffa60d9a352453ce6f4ee77d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-17T18:45:45.414Z] + go version [2021-08-17T18:45:45.414Z] go version go1.16.6 linux/amd64 [Pipeline] } [2021-08-17T18:45:45.448Z] $ docker stop --time=1 57f994820db55ba035aaba494451655d3ef078adffa60d9a352453ce6f4ee77d [2021-08-17T18:45:46.661Z] $ docker rm -f 57f994820db55ba035aaba494451655d3ef078adffa60d9a352453ce6f4ee77d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-17T18:45:47.392Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-17T18:45:47.392Z] . [Pipeline] withDockerContainer [2021-08-17T18:45:47.511Z] prd-centos7-docker-4c-2g-1082 does not seem to be running inside a container [2021-08-17T18:45:47.568Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-08-17T18:45:47.958Z] $ docker top 8d1c702d04e07bc14a27fe2b45046fa8cb0261ae4ecd58db6cfbfa7a887db0a6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-08-17T18:45:48.464Z] + go mod tidy [Pipeline] sh [2021-08-17T18:45:49.089Z] + make test [2021-08-17T18:45:49.089Z] go mod tidy [2021-08-17T18:45:49.089Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-08-17T18:45:49.683Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-08-17T18:46:04.787Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-08-17T18:46:05.383Z] ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 54.0% of statements [2021-08-17T18:46:05.666Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-08-17T18:46:12.334Z] gofmt -l . [2021-08-17T18:46:12.334Z] [ "`gofmt -l .`" = "" ] [2021-08-17T18:46:12.334Z] ./bin/test-go-mod-tidy.sh [2021-08-17T18:46:12.334Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-08-17T18:46:12.967Z] $ docker stop --time=1 8d1c702d04e07bc14a27fe2b45046fa8cb0261ae4ecd58db6cfbfa7a887db0a6 [2021-08-17T18:46:14.488Z] $ docker rm -f 8d1c702d04e07bc14a27fe2b45046fa8cb0261ae4ecd58db6cfbfa7a887db0a6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-17T18:46:15.016Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-08-17T18:46:15.256Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-08-17T18:46:16.370Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-08-17T18:46:16.709Z] + ls -al . [2021-08-17T18:46:16.709Z] total 116 [2021-08-17T18:46:16.709Z] drwxrwxr-x. 8 jenkins jenkins 4096 Aug 17 18:46 . [2021-08-17T18:46:16.709Z] drwxrwxr-x. 4 jenkins jenkins 28 Aug 17 18:44 .. [2021-08-17T18:46:16.709Z] -rw-rw-r--. 1 jenkins jenkins 6792 Aug 17 18:44 Attribution.txt [2021-08-17T18:46:16.709Z] drwxrwxr-x. 2 jenkins jenkins 64 Aug 17 18:44 bin [2021-08-17T18:46:16.709Z] -rw-rw-r--. 1 jenkins jenkins 7459 Aug 17 18:44 CHANGELOG.md [2021-08-17T18:46:16.709Z] drwxrwxr-x. 3 jenkins jenkins 32 Aug 17 18:44 cmd [2021-08-17T18:46:16.709Z] -rw-r--r--. 1 jenkins jenkins 8513 Aug 17 18:46 coverage.out [2021-08-17T18:46:16.709Z] -rw-rw-r--. 1 jenkins jenkins 1615 Aug 17 18:44 Dockerfile [2021-08-17T18:46:16.709Z] -rw-rw-r--. 1 jenkins jenkins 151 Aug 17 18:44 .dockerignore [2021-08-17T18:46:16.709Z] drwxrwxr-x. 2 jenkins jenkins 76 Aug 17 18:44 driver [2021-08-17T18:46:16.709Z] drwxrwxr-x. 8 jenkins jenkins 179 Aug 17 18:45 .git [2021-08-17T18:46:16.709Z] drwxrwxr-x. 2 jenkins jenkins 103 Aug 17 18:44 .github [2021-08-17T18:46:16.709Z] -rw-rw-r--. 1 jenkins jenkins 336 Aug 17 18:44 .gitignore [2021-08-17T18:46:16.709Z] -rw-r--r--. 1 jenkins jenkins 271 Aug 17 18:46 go.mod [2021-08-17T18:46:16.709Z] -rw-r--r--. 1 jenkins jenkins 20570 Aug 17 18:45 go.sum [2021-08-17T18:46:16.709Z] -rw-rw-r--. 1 jenkins jenkins 677 Aug 17 18:44 GOVERNANCE.md [2021-08-17T18:46:16.709Z] -rw-rw-r--. 1 jenkins jenkins 680 Aug 17 18:44 Jenkinsfile [2021-08-17T18:46:16.709Z] -rw-rw-r--. 1 jenkins jenkins 11340 Aug 17 18:44 LICENSE [2021-08-17T18:46:16.709Z] -rw-rw-r--. 1 jenkins jenkins 996 Aug 17 18:44 Makefile [2021-08-17T18:46:16.709Z] -rw-rw-r--. 1 jenkins jenkins 620 Aug 17 18:44 OWNERS.md [2021-08-17T18:46:16.709Z] -rw-rw-r--. 1 jenkins jenkins 7661 Aug 17 18:44 README.md [2021-08-17T18:46:16.709Z] drwxrwxr-x. 4 jenkins jenkins 71 Aug 17 18:44 snap [2021-08-17T18:46:16.709Z] -rw-rw-r--. 1 jenkins jenkins 5 Aug 17 18:43 VERSION [2021-08-17T18:46:16.709Z] -rw-rw-r--. 1 jenkins jenkins 713 Aug 17 18:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-08-17T18:46:17.056Z] + 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=b871a073327894f6b511ab05ae532201e3ea7afe --label arch=amd64 --label version=0.0.0 . [2021-08-17T18:46:17.056Z] Sending build context to Docker daemon 129kB [2021-08-17T18:46:17.056Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-08-17T18:46:17.056Z] Step 2/25 : FROM ${BASE} AS builder [2021-08-17T18:46:17.056Z] ---> 862ef3d6a98e [2021-08-17T18:46:17.056Z] Step 3/25 : ARG MAKE='make build' [2021-08-17T18:46:17.056Z] ---> Running in f27f75906532 [2021-08-17T18:46:17.056Z] Removing intermediate container f27f75906532 [2021-08-17T18:46:17.056Z] ---> 215b1115b342 [2021-08-17T18:46:17.056Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-08-17T18:46:17.334Z] ---> Running in 04163a6b5b62 [2021-08-17T18:46:17.334Z] Removing intermediate container 04163a6b5b62 [2021-08-17T18:46:17.334Z] ---> 7c6ec46ea068 [2021-08-17T18:46:17.334Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-08-17T18:46:17.334Z] ---> Running in e611762b1e25 [2021-08-17T18:46:17.334Z] Removing intermediate container e611762b1e25 [2021-08-17T18:46:17.334Z] ---> 12df51dc623d [2021-08-17T18:46:17.334Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-17T18:46:17.334Z] ---> Running in 482271021e4e [2021-08-17T18:46:17.916Z] Removing intermediate container 482271021e4e [2021-08-17T18:46:17.916Z] ---> d34bf5a0d498 [2021-08-17T18:46:17.916Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-08-17T18:46:17.916Z] ---> Running in ef13d967a551 [2021-08-17T18:46:18.186Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-08-17T18:46:19.152Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-08-17T18:46:19.419Z] OK: 223 MiB in 55 packages [2021-08-17T18:46:19.689Z] Removing intermediate container ef13d967a551 [2021-08-17T18:46:19.689Z] ---> f8ca536df602 [2021-08-17T18:46:19.689Z] Step 8/25 : WORKDIR /device-rest-go [2021-08-17T18:46:19.689Z] ---> Running in 950476d5e5d0 [2021-08-17T18:46:19.956Z] Removing intermediate container 950476d5e5d0 [2021-08-17T18:46:19.956Z] ---> 875e4796769e [2021-08-17T18:46:19.956Z] Step 9/25 : COPY . . [2021-08-17T18:46:19.956Z] ---> 2c2bdc12deda [2021-08-17T18:46:19.956Z] Step 10/25 : RUN go mod tidy [2021-08-17T18:46:20.231Z] ---> Running in f31d1a2cf01b [2021-08-17T18:46:20.819Z] Removing intermediate container f31d1a2cf01b [2021-08-17T18:46:20.819Z] ---> 79a676840a64 [2021-08-17T18:46:20.819Z] Step 11/25 : RUN make update [2021-08-17T18:46:20.819Z] ---> Running in da90a68ce606 [2021-08-17T18:46:21.087Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-08-17T18:46:21.701Z] Removing intermediate container da90a68ce606 [2021-08-17T18:46:21.701Z] ---> 2207170ccde2 [2021-08-17T18:46:21.701Z] Step 12/25 : RUN $MAKE [2021-08-17T18:46:21.701Z] ---> Running in c2e4017c98b1 [2021-08-17T18:46:21.978Z] go mod tidy [2021-08-17T18:46:21.978Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2021-08-17T18:46:34.367Z] Removing intermediate container c2e4017c98b1 [2021-08-17T18:46:34.367Z] ---> 7d474d9bbcff [2021-08-17T18:46:34.367Z] Step 13/25 : FROM alpine:3.12 [2021-08-17T18:46:34.367Z] 3.12: Pulling from library/alpine [2021-08-17T18:46:34.367Z] 339de151aab4: Pulling fs layer [2021-08-17T18:46:34.367Z] 339de151aab4: Verifying Checksum [2021-08-17T18:46:34.367Z] 339de151aab4: Download complete [2021-08-17T18:46:34.367Z] 339de151aab4: Pull complete [2021-08-17T18:46:34.367Z] Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb [2021-08-17T18:46:34.367Z] Status: Downloaded newer image for alpine:3.12 [2021-08-17T18:46:34.367Z] ---> 13621d1b12d4 [2021-08-17T18:46:34.367Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-08-17T18:46:34.367Z] ---> Running in 949fd5f8468c [2021-08-17T18:46:34.367Z] Removing intermediate container 949fd5f8468c [2021-08-17T18:46:34.367Z] ---> 80ee80cd2b6d [2021-08-17T18:46:34.367Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-08-17T18:46:34.367Z] ---> Running in 803e07bbb7fd [2021-08-17T18:46:34.367Z] Removing intermediate container 803e07bbb7fd [2021-08-17T18:46:34.367Z] ---> 1c8f72cb7e5a [2021-08-17T18:46:34.367Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-08-17T18:46:34.367Z] ---> Running in b2c6f6db93be [2021-08-17T18:46:34.632Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-08-17T18:46:34.904Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-08-17T18:46:34.904Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-08-17T18:46:34.904Z] (2/6) Installing libgcc (9.3.0-r2) [2021-08-17T18:46:34.904Z] (3/6) Installing libsodium (1.0.18-r0) [2021-08-17T18:46:34.904Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-08-17T18:46:34.904Z] (5/6) Installing libzmq (4.3.3-r0) [2021-08-17T18:46:34.904Z] (6/6) Installing zeromq (4.3.3-r0) [2021-08-17T18:46:34.904Z] Executing busybox-1.31.1-r20.trigger [2021-08-17T18:46:34.904Z] OK: 8 MiB in 20 packages [2021-08-17T18:46:35.172Z] Removing intermediate container b2c6f6db93be [2021-08-17T18:46:35.172Z] ---> 6c30a8b2353a [2021-08-17T18:46:35.172Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-08-17T18:46:35.759Z] ---> 88b6c7c30968 [2021-08-17T18:46:35.759Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-08-17T18:46:35.759Z] ---> 198d205f74f3 [2021-08-17T18:46:35.759Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-08-17T18:46:35.759Z] ---> 265dff78f324 [2021-08-17T18:46:35.759Z] Step 20/25 : EXPOSE 59986 [2021-08-17T18:46:36.027Z] ---> Running in 07f2bafe784b [2021-08-17T18:46:36.027Z] Removing intermediate container 07f2bafe784b [2021-08-17T18:46:36.027Z] ---> 9f5718cde4d4 [2021-08-17T18:46:36.027Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-08-17T18:46:36.027Z] ---> Running in b8333b2c5d2c [2021-08-17T18:46:36.027Z] Removing intermediate container b8333b2c5d2c [2021-08-17T18:46:36.027Z] ---> e5f841e11eff [2021-08-17T18:46:36.027Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-08-17T18:46:36.027Z] ---> Running in 26277d281e2b [2021-08-17T18:46:36.295Z] Removing intermediate container 26277d281e2b [2021-08-17T18:46:36.295Z] ---> 7ccc6bcc46e9 [2021-08-17T18:46:36.295Z] Step 23/25 : LABEL arch=amd64 [2021-08-17T18:46:36.295Z] ---> Running in ff4d3b6e7e3f [2021-08-17T18:46:36.295Z] Removing intermediate container ff4d3b6e7e3f [2021-08-17T18:46:36.295Z] ---> 7ea34628604f [2021-08-17T18:46:36.295Z] Step 24/25 : LABEL git_sha=b871a073327894f6b511ab05ae532201e3ea7afe [2021-08-17T18:46:36.295Z] ---> Running in a9a6f49f23fc [2021-08-17T18:46:36.562Z] Removing intermediate container a9a6f49f23fc [2021-08-17T18:46:36.562Z] ---> 2f32ead8bdfd [2021-08-17T18:46:36.562Z] Step 25/25 : LABEL version=0.0.0 [2021-08-17T18:46:36.562Z] ---> Running in 2865bb61bde4 [2021-08-17T18:46:36.562Z] Removing intermediate container 2865bb61bde4 [2021-08-17T18:46:36.562Z] ---> a3a2048dbb33 [2021-08-17T18:46:36.562Z] [Warning] One or more build-args [ARCH] were not consumed [2021-08-17T18:46:36.562Z] Successfully built a3a2048dbb33 [2021-08-17T18:46:36.562Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [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-08-17T18:46:37.354Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-17T18:46:37.354Z] [2021-08-17T18:46:37.354Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-17T18:46:37.728Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-17T18:46:37.728Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-17T18:46:37.728Z] b4d181a07f80: Pulling fs layer [2021-08-17T18:46:37.728Z] a1111a8f2ec3: Pulling fs layer [2021-08-17T18:46:37.728Z] ed53099fbce6: Pulling fs layer [2021-08-17T18:46:37.728Z] dc539afda2c1: Pulling fs layer [2021-08-17T18:46:37.728Z] 77bc0d833cb6: Pulling fs layer [2021-08-17T18:46:37.728Z] 9065ff56babe: Pulling fs layer [2021-08-17T18:46:37.728Z] d287ab97295c: Pulling fs layer [2021-08-17T18:46:37.728Z] 77bc0d833cb6: Waiting [2021-08-17T18:46:37.728Z] 9065ff56babe: Waiting [2021-08-17T18:46:37.728Z] d287ab97295c: Waiting [2021-08-17T18:46:37.728Z] dc539afda2c1: Waiting [2021-08-17T18:46:37.994Z] a1111a8f2ec3: Verifying Checksum [2021-08-17T18:46:37.994Z] a1111a8f2ec3: Download complete [2021-08-17T18:46:37.994Z] dc539afda2c1: Verifying Checksum [2021-08-17T18:46:37.994Z] dc539afda2c1: Download complete [2021-08-17T18:46:37.994Z] 77bc0d833cb6: Download complete [2021-08-17T18:46:38.261Z] 9065ff56babe: Verifying Checksum [2021-08-17T18:46:38.261Z] 9065ff56babe: Download complete [2021-08-17T18:46:38.261Z] ed53099fbce6: Verifying Checksum [2021-08-17T18:46:38.261Z] ed53099fbce6: Download complete [2021-08-17T18:46:39.218Z] b4d181a07f80: Download complete [2021-08-17T18:46:40.186Z] b4d181a07f80: Pull complete [2021-08-17T18:46:40.459Z] a1111a8f2ec3: Pull complete [2021-08-17T18:46:40.724Z] ed53099fbce6: Pull complete [2021-08-17T18:46:41.000Z] dc539afda2c1: Pull complete [2021-08-17T18:46:41.000Z] 77bc0d833cb6: Pull complete [2021-08-17T18:46:41.266Z] 9065ff56babe: Pull complete [2021-08-17T18:46:42.230Z] d287ab97295c: Verifying Checksum [2021-08-17T18:46:42.230Z] d287ab97295c: Download complete [2021-08-17T18:46:46.509Z] d287ab97295c: Pull complete [2021-08-17T18:46:46.509Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-17T18:46:46.509Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-17T18:46:46.509Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-17T18:46:46.625Z] prd-centos7-docker-4c-2g-1082 does not seem to be running inside a container [2021-08-17T18:46:46.689Z] $ 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/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-08-17T18:46:49.493Z] $ docker top 8ea50baa59067c8597115a3ad0dbc9869fb5e70b92cc1f61a32be490261aac67 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-17T18:46:50.033Z] ---> job-cost.sh [2021-08-17T18:46:50.033Z] lf-activate-venv: SKIPPING [2021-08-17T18:46:50.033Z] INFO: No Stack... [2021-08-17T18:46:50.996Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-17T18:46:52.402Z] INFO: Archiving Costs [Pipeline] sh [2021-08-17T18:46:52.741Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-08-17T18:46:52.741Z] + cut -d, -f6 [Pipeline] lock [2021-08-17T18:46:52.817Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-132-1-stack-cost] [2021-08-17T18:46:52.824Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-132-1-stack-cost] did not exist. Created. [2021-08-17T18:46:52.825Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-132-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-17T18:46:53.252Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-08-17T18:46:53.306Z] Stashed 1 file(s) [Pipeline] } [2021-08-17T18:46:53.342Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-132-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-17T18:46:53.422Z] $ docker stop --time=1 8ea50baa59067c8597115a3ad0dbc9869fb5e70b92cc1f61a32be490261aac67 [2021-08-17T18:46:54.576Z] $ docker rm -f 8ea50baa59067c8597115a3ad0dbc9869fb5e70b92cc1f61a32be490261aac67 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-08-17T19:02:10.818Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2441 in /w/workspace/gexfoundry_device-rest-go_PR-132 [Pipeline] { [Pipeline] ws [2021-08-17T19:02:10.884Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-08-17T19:02:11.174Z] The recommended git tool is: git [2021-08-17T19:02:18.756Z] using credential edgex-jenkins-ssh [2021-08-17T19:02:18.775Z] Cloning the remote Git repository [2021-08-17T19:02:18.858Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-08-17T19:02:18.989Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-08-17T19:02:19.102Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-08-17T19:02:19.103Z] > git --version # timeout=10 [2021-08-17T19:02:19.126Z] > git --version # 'git version 2.17.1' [2021-08-17T19:02:19.129Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-17T19:02:19.206Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-17T19:02:22.868Z] Merging remotes/origin/main commit 595e424eeac7315f293af2ed61abe406cb611b5e into PR head commit b871a073327894f6b511ab05ae532201e3ea7afe [2021-08-17T19:02:21.986Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-08-17T19:02:22.008Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-17T19:02:22.041Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-08-17T19:02:22.075Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-08-17T19:02:22.076Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-17T19:02:22.091Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/132/head:refs/remotes/origin/PR-132 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-08-17T19:02:22.889Z] > git config core.sparsecheckout # timeout=10 [2021-08-17T19:02:23.103Z] Merge succeeded, producing b871a073327894f6b511ab05ae532201e3ea7afe [2021-08-17T19:02:23.103Z] Checking out Revision b871a073327894f6b511ab05ae532201e3ea7afe (PR-132) [2021-08-17T19:02:22.917Z] > git checkout -f b871a073327894f6b511ab05ae532201e3ea7afe # timeout=10 [2021-08-17T19:02:23.011Z] > git remote # timeout=10 [2021-08-17T19:02:23.031Z] > git config --get remote.origin.url # timeout=10 [2021-08-17T19:02:23.048Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-17T19:02:23.060Z] > git merge 595e424eeac7315f293af2ed61abe406cb611b5e # timeout=10 [2021-08-17T19:02:23.086Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-08-17T19:02:23.111Z] > git config core.sparsecheckout # timeout=10 [2021-08-17T19:02:23.125Z] > git checkout -f b871a073327894f6b511ab05ae532201e3ea7afe # timeout=10 [2021-08-17T19:02:27.907Z] Commit message: "ci: remove need for CI specific Dockerfile" [2021-08-17T19:02:27.987Z] > git --version # timeout=10 [2021-08-17T19:02:28.009Z] > git --version # 'git version 2.17.1' [2021-08-17T19:02:28.027Z] fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-17T19:02:28.709Z] provisioning config files... [2021-08-17T19:02:28.745Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config4126898401788874104tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-17T19:02:29.479Z] ---> docker-login.sh [2021-08-17T19:02:29.480Z] nexus3.edgexfoundry.org:10001 [2021-08-17T19:02:30.100Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T19:02:30.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T19:02:30.710Z] Configure a credential helper to remove this warning. See [2021-08-17T19:02:30.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T19:02:30.710Z] [2021-08-17T19:02:30.710Z] Login Succeeded [2021-08-17T19:02:30.710Z] nexus3.edgexfoundry.org:10002 [2021-08-17T19:02:31.324Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T19:02:31.324Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T19:02:31.324Z] Configure a credential helper to remove this warning. See [2021-08-17T19:02:31.324Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T19:02:31.324Z] [2021-08-17T19:02:31.324Z] Login Succeeded [2021-08-17T19:02:31.324Z] nexus3.edgexfoundry.org:10003 [2021-08-17T19:02:31.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T19:02:32.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T19:02:32.221Z] Configure a credential helper to remove this warning. See [2021-08-17T19:02:32.221Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T19:02:32.221Z] [2021-08-17T19:02:32.221Z] Login Succeeded [2021-08-17T19:02:32.221Z] nexus3.edgexfoundry.org:10004 [2021-08-17T19:02:32.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T19:02:32.788Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T19:02:32.788Z] Configure a credential helper to remove this warning. See [2021-08-17T19:02:32.788Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T19:02:32.788Z] [2021-08-17T19:02:32.788Z] Login Succeeded [2021-08-17T19:02:32.788Z] docker.io [2021-08-17T19:02:33.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T19:02:33.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T19:02:33.675Z] Configure a credential helper to remove this warning. See [2021-08-17T19:02:33.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T19:02:33.675Z] [2021-08-17T19:02:33.675Z] Login Succeeded [2021-08-17T19:02:33.675Z] ---> docker-login.sh ends [Pipeline] } [2021-08-17T19:02:33.812Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-08-17T19:02:34.706Z] ========================================================= [2021-08-17T19:02:34.706Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-08-17T19:02:34.706Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-08-17T19:02:35.224Z] + 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-08-17T19:02:35.224Z] Sending build context to Docker daemon 119.8kB [2021-08-17T19:02:35.869Z] Step 1/12 : ARG BASE=golang:1.16-alpine3.12 [2021-08-17T19:02:35.869Z] Step 2/12 : FROM ${BASE} AS builder [2021-08-17T19:02:36.151Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-08-17T19:02:36.151Z] 595b0fe564bb: Pulling fs layer [2021-08-17T19:02:36.151Z] 24495759ef45: Pulling fs layer [2021-08-17T19:02:36.151Z] d148012ef14d: Pulling fs layer [2021-08-17T19:02:36.151Z] e90a11edd702: Pulling fs layer [2021-08-17T19:02:36.151Z] d77568369979: Pulling fs layer [2021-08-17T19:02:36.151Z] fc1c9f9a7f3b: Pulling fs layer [2021-08-17T19:02:36.151Z] 170f2ba95c9a: Pulling fs layer [2021-08-17T19:02:36.151Z] 97ac5df62f85: Pulling fs layer [2021-08-17T19:02:36.151Z] d77568369979: Waiting [2021-08-17T19:02:36.151Z] fc1c9f9a7f3b: Waiting [2021-08-17T19:02:36.151Z] 170f2ba95c9a: Waiting [2021-08-17T19:02:36.151Z] 97ac5df62f85: Waiting [2021-08-17T19:02:36.151Z] e90a11edd702: Waiting [2021-08-17T19:02:36.151Z] d148012ef14d: Download complete [2021-08-17T19:02:36.431Z] 24495759ef45: Download complete [2021-08-17T19:02:36.431Z] d77568369979: Verifying Checksum [2021-08-17T19:02:36.431Z] d77568369979: Download complete [2021-08-17T19:02:36.431Z] fc1c9f9a7f3b: Verifying Checksum [2021-08-17T19:02:36.431Z] fc1c9f9a7f3b: Download complete [2021-08-17T19:02:36.431Z] 170f2ba95c9a: Verifying Checksum [2021-08-17T19:02:36.431Z] 170f2ba95c9a: Download complete [2021-08-17T19:02:36.431Z] 595b0fe564bb: Verifying Checksum [2021-08-17T19:02:36.431Z] 595b0fe564bb: Download complete [2021-08-17T19:02:37.044Z] 595b0fe564bb: Pull complete [2021-08-17T19:02:38.040Z] 24495759ef45: Pull complete [2021-08-17T19:02:38.642Z] d148012ef14d: Pull complete [2021-08-17T19:02:40.093Z] 97ac5df62f85: Verifying Checksum [2021-08-17T19:02:40.093Z] 97ac5df62f85: Download complete [2021-08-17T19:02:40.708Z] e90a11edd702: Verifying Checksum [2021-08-17T19:02:40.708Z] e90a11edd702: Download complete [2021-08-17T19:02:53.191Z] e90a11edd702: Pull complete [2021-08-17T19:02:53.191Z] d77568369979: Pull complete [2021-08-17T19:02:53.191Z] fc1c9f9a7f3b: Pull complete [2021-08-17T19:02:53.191Z] 170f2ba95c9a: Pull complete [2021-08-17T19:02:58.607Z] 97ac5df62f85: Pull complete [2021-08-17T19:02:58.886Z] Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 [2021-08-17T19:02:59.160Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-08-17T19:02:59.160Z] ---> 04bc70af865f [2021-08-17T19:02:59.160Z] Step 3/12 : ARG MAKE='make build' [2021-08-17T19:03:04.620Z] ---> Running in b32d4de6ac85 [2021-08-17T19:03:05.228Z] Removing intermediate container b32d4de6ac85 [2021-08-17T19:03:05.228Z] ---> f8194de989f0 [2021-08-17T19:03:05.228Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-08-17T19:03:05.228Z] ---> Running in 0afa6ff752e5 [2021-08-17T19:03:06.225Z] Removing intermediate container 0afa6ff752e5 [2021-08-17T19:03:06.225Z] ---> 846bc6b30d5d [2021-08-17T19:03:06.225Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2021-08-17T19:03:06.225Z] ---> Running in 51d6f1c50005 [2021-08-17T19:03:07.217Z] Removing intermediate container 51d6f1c50005 [2021-08-17T19:03:07.217Z] ---> da2c5fda9bb2 [2021-08-17T19:03:07.217Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-17T19:03:07.499Z] ---> Running in 75f390e9206f [2021-08-17T19:03:10.929Z] Removing intermediate container 75f390e9206f [2021-08-17T19:03:10.929Z] ---> af727171e7fd [2021-08-17T19:03:10.929Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-08-17T19:03:10.929Z] ---> Running in 1245e8ba708d [2021-08-17T19:03:12.372Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-08-17T19:03:13.364Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-08-17T19:03:14.355Z] (1/3) Installing openssh-keygen (8.4_p1-r3) [2021-08-17T19:03:14.355Z] (2/3) Installing libedit (20191231.3.1-r1) [2021-08-17T19:03:14.355Z] (3/3) Installing openssh-client (8.4_p1-r3) [2021-08-17T19:03:14.952Z] Executing busybox-1.32.1-r6.trigger [2021-08-17T19:03:14.952Z] OK: 222 MiB in 55 packages [2021-08-17T19:03:16.401Z] Removing intermediate container 1245e8ba708d [2021-08-17T19:03:16.401Z] ---> f1c700895696 [2021-08-17T19:03:16.401Z] Step 8/12 : WORKDIR /device-rest-go [2021-08-17T19:03:16.676Z] ---> Running in 6d9d3466b97c [2021-08-17T19:03:17.281Z] Removing intermediate container 6d9d3466b97c [2021-08-17T19:03:17.281Z] ---> ad7102bd1cc7 [2021-08-17T19:03:17.281Z] Step 9/12 : COPY . . [2021-08-17T19:03:18.271Z] ---> 60f0bc518015 [2021-08-17T19:03:18.271Z] Step 10/12 : RUN go mod tidy [2021-08-17T19:03:18.271Z] ---> Running in 56aae62115f0 [2021-08-17T19:03:22.599Z] go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.0.0 [2021-08-17T19:03:22.599Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 [2021-08-17T19:03:22.599Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-08-17T19:03:22.599Z] go: downloading github.com/spf13/cast v1.4.1 [2021-08-17T19:03:22.599Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-08-17T19:03:22.599Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 [2021-08-17T19:03:22.599Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 [2021-08-17T19:03:22.599Z] go: downloading github.com/google/uuid v1.2.0 [2021-08-17T19:03:22.599Z] go: downloading github.com/go-kit/kit v0.9.0 [2021-08-17T19:03:22.599Z] go: downloading github.com/go-playground/validator/v10 v10.6.1 [2021-08-17T19:03:22.599Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2021-08-17T19:03:22.878Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 [2021-08-17T19:03:22.878Z] go: downloading github.com/pelletier/go-toml v1.9.2 [2021-08-17T19:03:22.878Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2021-08-17T19:03:22.878Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-08-17T19:03:22.878Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-08-17T19:03:23.162Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2021-08-17T19:03:23.162Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 [2021-08-17T19:03:23.162Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 [2021-08-17T19:03:23.162Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2021-08-17T19:03:23.162Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2021-08-17T19:03:23.162Z] go: downloading github.com/leodido/go-urn v1.2.0 [2021-08-17T19:03:23.162Z] go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 [2021-08-17T19:03:23.453Z] go: downloading golang.org/x/text v0.3.2 [2021-08-17T19:03:23.453Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-08-17T19:03:23.453Z] go: downloading github.com/go-playground/locales v0.13.0 [2021-08-17T19:03:26.844Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-08-17T19:03:26.844Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2021-08-17T19:03:26.844Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-08-17T19:03:26.844Z] go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2021-08-17T19:03:26.844Z] go: downloading github.com/hashicorp/consul/api v1.8.1 [2021-08-17T19:03:26.844Z] go: downloading github.com/x448/float16 v0.8.4 [2021-08-17T19:03:26.844Z] go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd [2021-08-17T19:03:26.844Z] go: downloading github.com/stretchr/objx v0.1.0 [2021-08-17T19:03:26.844Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-08-17T19:03:27.117Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-08-17T19:03:27.117Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-08-17T19:03:27.117Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-08-17T19:03:27.117Z] go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2021-08-17T19:03:27.117Z] go: downloading github.com/kr/pretty v0.2.0 [2021-08-17T19:03:27.117Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-08-17T19:03:27.117Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-08-17T19:03:27.393Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-08-17T19:03:27.393Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-08-17T19:03:27.393Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-08-17T19:03:27.393Z] go: downloading github.com/hashicorp/consul/sdk v0.7.0 [2021-08-17T19:03:27.393Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-08-17T19:03:27.393Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2021-08-17T19:03:27.672Z] go: downloading github.com/onsi/gomega v1.7.0 [2021-08-17T19:03:27.672Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-08-17T19:03:27.672Z] go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 [2021-08-17T19:03:27.947Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-08-17T19:03:27.947Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-08-17T19:03:27.947Z] go: downloading github.com/kr/text v0.1.0 [2021-08-17T19:03:27.947Z] go: downloading github.com/fatih/color v1.9.0 [2021-08-17T19:03:27.947Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-08-17T19:03:27.947Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-08-17T19:03:28.235Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-08-17T19:03:28.512Z] go: downloading github.com/pkg/errors v0.8.1 [2021-08-17T19:03:28.512Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-08-17T19:03:28.512Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-08-17T19:03:28.512Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2021-08-17T19:03:28.512Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-08-17T19:03:28.512Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-08-17T19:03:28.512Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-08-17T19:03:28.512Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-08-17T19:03:28.512Z] go: downloading github.com/hpcloud/tail v1.0.0 [2021-08-17T19:03:28.787Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2021-08-17T19:03:28.787Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2021-08-17T19:03:28.787Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2021-08-17T19:03:28.787Z] go: downloading github.com/miekg/dns v1.1.26 [2021-08-17T19:03:28.787Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-08-17T19:03:28.787Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-08-17T19:03:28.787Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2021-08-17T19:03:28.787Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-08-17T19:03:28.787Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2021-08-17T19:03:47.164Z] Removing intermediate container 56aae62115f0 [2021-08-17T19:03:47.164Z] ---> 3eeee4fa917b [2021-08-17T19:03:47.164Z] Step 11/12 : RUN make update [2021-08-17T19:03:47.164Z] ---> Running in eaa214165c8a [2021-08-17T19:03:47.164Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-08-17T19:03:57.347Z] Removing intermediate container eaa214165c8a [2021-08-17T19:03:57.347Z] ---> 581c0a8c6d18 [2021-08-17T19:03:57.347Z] Step 12/12 : RUN $MAKE [2021-08-17T19:03:57.347Z] ---> Running in 0b704075db0b [2021-08-17T19:03:57.954Z] noop [2021-08-17T19:03:58.947Z] Removing intermediate container 0b704075db0b [2021-08-17T19:03:58.947Z] ---> 6f76f512ae0d [2021-08-17T19:03:58.947Z] Successfully built 6f76f512ae0d [2021-08-17T19:03:58.947Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-08-17T19:03:59.358Z] + docker inspect -f . ci-base-image-arm64 [2021-08-17T19:03:59.358Z] . [Pipeline] withDockerContainer [2021-08-17T19:03:59.712Z] prd-ubuntu18.04-docker-arm64-4c-16g-2441 does not seem to be running inside a container [2021-08-17T19:03:59.822Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-08-17T19:04:01.789Z] $ docker top 9146c61bd7dd1be44e97484cf66db9f7ec86b93643e9ee11c3517515780ccd2a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-17T19:04:02.935Z] + go version [2021-08-17T19:04:02.935Z] go version go1.16.6 linux/arm64 [Pipeline] } [2021-08-17T19:04:02.981Z] $ docker stop --time=1 9146c61bd7dd1be44e97484cf66db9f7ec86b93643e9ee11c3517515780ccd2a [2021-08-17T19:04:04.973Z] $ docker rm -f 9146c61bd7dd1be44e97484cf66db9f7ec86b93643e9ee11c3517515780ccd2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-17T19:04:05.947Z] + docker inspect -f . ci-base-image-arm64 [2021-08-17T19:04:05.947Z] . [Pipeline] withDockerContainer [2021-08-17T19:04:06.220Z] prd-ubuntu18.04-docker-arm64-4c-16g-2441 does not seem to be running inside a container [2021-08-17T19:04:06.309Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-08-17T19:04:08.121Z] $ docker top bae4141dce0cdba06a753593ae99bf0483e99b3eff87ef05566ac41e776dbc49 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-08-17T19:04:09.231Z] + go mod tidy [Pipeline] sh [2021-08-17T19:04:10.525Z] + make test [2021-08-17T19:04:10.525Z] go mod tidy [2021-08-17T19:04:11.125Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-08-17T19:04:12.112Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-08-17T19:05:20.228Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-08-17T19:05:20.228Z] ok github.com/edgexfoundry/device-rest-go/driver 0.057s coverage: 54.0% of statements [2021-08-17T19:05:20.228Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-08-17T19:05:47.124Z] gofmt -l . [2021-08-17T19:05:47.124Z] [ "`gofmt -l .`" = "" ] [2021-08-17T19:05:47.124Z] ./bin/test-go-mod-tidy.sh [2021-08-17T19:05:47.407Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-08-17T19:05:50.252Z] $ docker stop --time=1 bae4141dce0cdba06a753593ae99bf0483e99b3eff87ef05566ac41e776dbc49 [2021-08-17T19:05:52.556Z] $ docker rm -f bae4141dce0cdba06a753593ae99bf0483e99b3eff87ef05566ac41e776dbc49 [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-17T19:05:53.695Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-08-17T19:05:53.740Z] Warning: overwriting stash ‘coverage-report’ [2021-08-17T19:05:54.542Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-08-17T19:05:55.184Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-08-17T19:05:55.559Z] + ls -al . [2021-08-17T19:05:55.559Z] total 144 [2021-08-17T19:05:55.559Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 17 19:05 . [2021-08-17T19:05:55.559Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 17 19:02 .. [2021-08-17T19:05:55.559Z] -rw-rw-r-- 1 jenkins jenkins 151 Aug 17 19:02 .dockerignore [2021-08-17T19:05:55.559Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 17 19:02 .git [2021-08-17T19:05:55.559Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 17 19:02 .github [2021-08-17T19:05:55.559Z] -rw-rw-r-- 1 jenkins jenkins 336 Aug 17 19:02 .gitignore [2021-08-17T19:05:55.559Z] -rw-rw-r-- 1 jenkins jenkins 6792 Aug 17 19:02 Attribution.txt [2021-08-17T19:05:55.559Z] -rw-rw-r-- 1 jenkins jenkins 7459 Aug 17 19:02 CHANGELOG.md [2021-08-17T19:05:55.559Z] -rw-rw-r-- 1 jenkins jenkins 1615 Aug 17 19:02 Dockerfile [2021-08-17T19:05:55.559Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 17 19:02 GOVERNANCE.md [2021-08-17T19:05:55.559Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 17 19:02 Jenkinsfile [2021-08-17T19:05:55.559Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 17 19:02 LICENSE [2021-08-17T19:05:55.559Z] -rw-rw-r-- 1 jenkins jenkins 996 Aug 17 19:02 Makefile [2021-08-17T19:05:55.559Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 17 19:02 OWNERS.md [2021-08-17T19:05:55.559Z] -rw-rw-r-- 1 jenkins jenkins 7661 Aug 17 19:02 README.md [2021-08-17T19:05:55.559Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 17 18:43 VERSION [2021-08-17T19:05:55.559Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 17 19:02 bin [2021-08-17T19:05:55.559Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 17 19:02 cmd [2021-08-17T19:05:55.559Z] -rw-r--r-- 1 jenkins jenkins 8513 Aug 17 19:05 coverage.out [2021-08-17T19:05:55.559Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 17 19:02 driver [2021-08-17T19:05:55.559Z] -rw-r--r-- 1 jenkins jenkins 271 Aug 17 19:05 go.mod [2021-08-17T19:05:55.559Z] -rw-r--r-- 1 jenkins jenkins 20570 Aug 17 19:04 go.sum [2021-08-17T19:05:55.559Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 17 19:02 snap [2021-08-17T19:05:55.559Z] -rw-rw-r-- 1 jenkins jenkins 713 Aug 17 19:02 version.go [Pipeline] isUnix [Pipeline] sh [2021-08-17T19:05:55.957Z] + 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=b871a073327894f6b511ab05ae532201e3ea7afe --label arch=arm64 --label version=0.0.0 . [2021-08-17T19:05:56.245Z] Sending build context to Docker daemon 129kB [2021-08-17T19:05:56.525Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-08-17T19:05:56.525Z] Step 2/25 : FROM ${BASE} AS builder [2021-08-17T19:05:56.525Z] ---> 6f76f512ae0d [2021-08-17T19:05:56.525Z] Step 3/25 : ARG MAKE='make build' [2021-08-17T19:05:57.132Z] ---> Running in 2178f2fcfcdd [2021-08-17T19:05:57.733Z] Removing intermediate container 2178f2fcfcdd [2021-08-17T19:05:57.733Z] ---> 90bd5cb608d2 [2021-08-17T19:05:57.733Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-08-17T19:05:57.733Z] ---> Running in 6aaa51cdfa13 [2021-08-17T19:05:58.335Z] Removing intermediate container 6aaa51cdfa13 [2021-08-17T19:05:58.336Z] ---> 6cefd1335a14 [2021-08-17T19:05:58.336Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-08-17T19:05:58.612Z] ---> Running in 0512ae491628 [2021-08-17T19:05:59.210Z] Removing intermediate container 0512ae491628 [2021-08-17T19:05:59.210Z] ---> 1847c40bb9b7 [2021-08-17T19:05:59.210Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-17T19:05:59.483Z] ---> Running in fba6fa2b003a [2021-08-17T19:06:02.118Z] Removing intermediate container fba6fa2b003a [2021-08-17T19:06:02.118Z] ---> 890c6b36ed6d [2021-08-17T19:06:02.118Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-08-17T19:06:02.118Z] ---> Running in f807f43a5510 [2021-08-17T19:06:03.573Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-08-17T19:06:04.569Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-08-17T19:06:05.556Z] OK: 222 MiB in 55 packages [2021-08-17T19:06:07.004Z] Removing intermediate container f807f43a5510 [2021-08-17T19:06:07.004Z] ---> d64ccb999058 [2021-08-17T19:06:07.004Z] Step 8/25 : WORKDIR /device-rest-go [2021-08-17T19:06:07.280Z] ---> Running in b7e95e9c69ba [2021-08-17T19:06:07.880Z] Removing intermediate container b7e95e9c69ba [2021-08-17T19:06:07.880Z] ---> 592275c39f52 [2021-08-17T19:06:07.880Z] Step 9/25 : COPY . . [2021-08-17T19:06:08.880Z] ---> 3d738620e5d7 [2021-08-17T19:06:08.880Z] Step 10/25 : RUN go mod tidy [2021-08-17T19:06:08.880Z] ---> Running in d2527145605d [2021-08-17T19:06:12.295Z] Removing intermediate container d2527145605d [2021-08-17T19:06:12.295Z] ---> 5db0678e7cdd [2021-08-17T19:06:12.295Z] Step 11/25 : RUN make update [2021-08-17T19:06:12.295Z] ---> Running in e775a509471d [2021-08-17T19:06:13.740Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-08-17T19:06:15.183Z] Removing intermediate container e775a509471d [2021-08-17T19:06:15.183Z] ---> 875a4186a898 [2021-08-17T19:06:15.183Z] Step 12/25 : RUN $MAKE [2021-08-17T19:06:15.183Z] ---> Running in a61270f62683 [2021-08-17T19:06:16.639Z] go mod tidy [2021-08-17T19:06:17.249Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2021-08-17T19:07:04.332Z] Removing intermediate container a61270f62683 [2021-08-17T19:07:04.332Z] ---> 5c05e51997b5 [2021-08-17T19:07:04.332Z] Step 13/25 : FROM alpine:3.12 [2021-08-17T19:07:04.332Z] 3.12: Pulling from library/alpine [2021-08-17T19:07:04.332Z] d2f70382dc9a: Pulling fs layer [2021-08-17T19:07:04.332Z] d2f70382dc9a: Verifying Checksum [2021-08-17T19:07:04.332Z] d2f70382dc9a: Download complete [2021-08-17T19:07:04.332Z] d2f70382dc9a: Pull complete [2021-08-17T19:07:04.332Z] Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb [2021-08-17T19:07:04.332Z] Status: Downloaded newer image for alpine:3.12 [2021-08-17T19:07:04.332Z] ---> c4fd0aeabfcf [2021-08-17T19:07:04.332Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-08-17T19:07:04.332Z] ---> Running in a8951cda03ee [2021-08-17T19:07:04.932Z] Removing intermediate container a8951cda03ee [2021-08-17T19:07:04.932Z] ---> 0af9899e8308 [2021-08-17T19:07:04.932Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-08-17T19:07:04.932Z] ---> Running in 58db88d0ffb6 [2021-08-17T19:07:05.530Z] Removing intermediate container 58db88d0ffb6 [2021-08-17T19:07:05.530Z] ---> e8647b94c30d [2021-08-17T19:07:05.530Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-08-17T19:07:05.825Z] ---> Running in 4ffb1b043a2f [2021-08-17T19:07:07.272Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-08-17T19:07:07.272Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-08-17T19:07:07.870Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-08-17T19:07:07.870Z] (2/6) Installing libgcc (9.3.0-r2) [2021-08-17T19:07:07.870Z] (3/6) Installing libsodium (1.0.18-r0) [2021-08-17T19:07:07.870Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-08-17T19:07:07.870Z] (5/6) Installing libzmq (4.3.3-r0) [2021-08-17T19:07:07.870Z] (6/6) Installing zeromq (4.3.3-r0) [2021-08-17T19:07:07.870Z] Executing busybox-1.31.1-r20.trigger [2021-08-17T19:07:07.870Z] OK: 8 MiB in 20 packages [2021-08-17T19:07:09.307Z] Removing intermediate container 4ffb1b043a2f [2021-08-17T19:07:09.307Z] ---> ea5be9fdd658 [2021-08-17T19:07:09.307Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-08-17T19:07:10.736Z] ---> 74515c81ac85 [2021-08-17T19:07:10.736Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-08-17T19:07:11.725Z] ---> e6a5afbfceb9 [2021-08-17T19:07:11.725Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-08-17T19:07:12.319Z] ---> 921889b07aab [2021-08-17T19:07:12.319Z] Step 20/25 : EXPOSE 59986 [2021-08-17T19:07:12.595Z] ---> Running in 25f28c2936ab [2021-08-17T19:07:13.192Z] Removing intermediate container 25f28c2936ab [2021-08-17T19:07:13.192Z] ---> c99932c0d0c1 [2021-08-17T19:07:13.192Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-08-17T19:07:13.464Z] ---> Running in d26baacd490d [2021-08-17T19:07:14.061Z] Removing intermediate container d26baacd490d [2021-08-17T19:07:14.061Z] ---> 12b479ea6038 [2021-08-17T19:07:14.061Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-08-17T19:07:14.061Z] ---> Running in b79a1cb7d4d1 [2021-08-17T19:07:14.658Z] Removing intermediate container b79a1cb7d4d1 [2021-08-17T19:07:14.658Z] ---> b79a9e21a329 [2021-08-17T19:07:14.658Z] Step 23/25 : LABEL arch=arm64 [2021-08-17T19:07:14.930Z] ---> Running in 93be2db2ca6d [2021-08-17T19:07:15.526Z] Removing intermediate container 93be2db2ca6d [2021-08-17T19:07:15.526Z] ---> 6ad67519a235 [2021-08-17T19:07:15.526Z] Step 24/25 : LABEL git_sha=b871a073327894f6b511ab05ae532201e3ea7afe [2021-08-17T19:07:15.526Z] ---> Running in dc159544fe97 [2021-08-17T19:07:16.128Z] Removing intermediate container dc159544fe97 [2021-08-17T19:07:16.128Z] ---> 5fd02cdc921e [2021-08-17T19:07:16.128Z] Step 25/25 : LABEL version=0.0.0 [2021-08-17T19:07:16.405Z] ---> Running in fdba35d6fb92 [2021-08-17T19:07:17.005Z] Removing intermediate container fdba35d6fb92 [2021-08-17T19:07:17.005Z] ---> 03a8cc0a33d9 [2021-08-17T19:07:17.005Z] [Warning] One or more build-args [ARCH] were not consumed [2021-08-17T19:07:17.005Z] Successfully built 03a8cc0a33d9 [2021-08-17T19:07:17.005Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-17T19:07:17.822Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-17T19:07:18.099Z] [2021-08-17T19:07:18.099Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-08-17T19:07:18.516Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-17T19:07:18.795Z] arm64: Pulling from edgex-lftools-log-publisher [2021-08-17T19:07:18.795Z] 448f6bf000e3: Pulling fs layer [2021-08-17T19:07:18.795Z] f757da607395: Pulling fs layer [2021-08-17T19:07:18.795Z] 05883995daec: Pulling fs layer [2021-08-17T19:07:18.795Z] 8603b9c90790: Pulling fs layer [2021-08-17T19:07:18.795Z] 1560dd03e051: Pulling fs layer [2021-08-17T19:07:18.795Z] 27f5ce0e4adf: Pulling fs layer [2021-08-17T19:07:18.795Z] c2d8d7efcc4b: Pulling fs layer [2021-08-17T19:07:18.795Z] 8603b9c90790: Waiting [2021-08-17T19:07:18.795Z] 27f5ce0e4adf: Waiting [2021-08-17T19:07:18.795Z] 1560dd03e051: Waiting [2021-08-17T19:07:18.795Z] c2d8d7efcc4b: Waiting [2021-08-17T19:07:19.077Z] f757da607395: Download complete [2021-08-17T19:07:19.077Z] 8603b9c90790: Download complete [2021-08-17T19:07:19.360Z] 1560dd03e051: Verifying Checksum [2021-08-17T19:07:19.360Z] 1560dd03e051: Download complete [2021-08-17T19:07:19.360Z] 27f5ce0e4adf: Verifying Checksum [2021-08-17T19:07:19.360Z] 27f5ce0e4adf: Download complete [2021-08-17T19:07:19.961Z] 05883995daec: Verifying Checksum [2021-08-17T19:07:19.961Z] 05883995daec: Download complete [2021-08-17T19:07:20.569Z] 448f6bf000e3: Verifying Checksum [2021-08-17T19:07:20.569Z] 448f6bf000e3: Download complete [2021-08-17T19:07:24.984Z] c2d8d7efcc4b: Verifying Checksum [2021-08-17T19:07:24.984Z] c2d8d7efcc4b: Download complete [2021-08-17T19:07:24.984Z] 448f6bf000e3: Pull complete [2021-08-17T19:07:25.258Z] f757da607395: Pull complete [2021-08-17T19:07:27.237Z] 05883995daec: Pull complete [2021-08-17T19:07:27.511Z] 8603b9c90790: Pull complete [2021-08-17T19:07:28.509Z] 1560dd03e051: Pull complete [2021-08-17T19:07:29.122Z] 27f5ce0e4adf: Pull complete [2021-08-17T19:07:44.256Z] c2d8d7efcc4b: Pull complete [2021-08-17T19:07:44.256Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-08-17T19:07:44.256Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-17T19:07:44.256Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-08-17T19:07:44.529Z] prd-ubuntu18.04-docker-arm64-4c-16g-2441 does not seem to be running inside a container [2021-08-17T19:07:44.613Z] $ 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/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-08-17T19:07:49.758Z] $ docker top f927f1a76d394e06408a0b7f8c603559c53ce906be8b95c3b5b2809954604ad2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-17T19:07:50.808Z] ---> job-cost.sh [2021-08-17T19:07:50.808Z] lf-activate-venv: SKIPPING [2021-08-17T19:07:50.808Z] INFO: No Stack... [2021-08-17T19:07:51.781Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-08-17T19:07:52.053Z] INFO: Archiving Costs [Pipeline] sh [2021-08-17T19:07:52.758Z] + cut -d, -f6 [2021-08-17T19:07:52.758Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2021-08-17T19:07:52.919Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-132-1-stack-cost] [2021-08-17T19:07:52.929Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-132-1-stack-cost] did not exist. Created. [2021-08-17T19:07:52.929Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-132-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-17T19:07:53.709Z] /w/workspace/device-rest-go/1@tmp/durable-18a16e79/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-18a16e79/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-08-17T19:07:54.412Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-08-17T19:07:54.459Z] Warning: overwriting stash ‘stack-cost’ [2021-08-17T19:07:54.513Z] Stashed 1 file(s) [Pipeline] } [2021-08-17T19:07:54.538Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-132-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-17T19:07:54.636Z] $ docker stop --time=1 f927f1a76d394e06408a0b7f8c603559c53ce906be8b95c3b5b2809954604ad2 [2021-08-17T19:07:56.284Z] $ docker rm -f f927f1a76d394e06408a0b7f8c603559c53ce906be8b95c3b5b2809954604ad2 [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-08-17T19:07:57.517Z] provisioning config files... [2021-08-17T19:07:57.536Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-132@tmp/config896101981582052945tmp [Pipeline] { [Pipeline] sh [2021-08-17T19:07:57.911Z] + set +x [2021-08-17T19:07:57.911Z] + bash -s -- [2021-08-17T19:07:57.911Z] + curl -s https://codecov.io/bash [2021-08-17T19:07:57.911Z] [2021-08-17T19:07:57.911Z] _____ _ [2021-08-17T19:07:57.911Z] / ____| | | [2021-08-17T19:07:57.911Z] | | ___ __| | ___ ___ _____ __ [2021-08-17T19:07:57.911Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-08-17T19:07:57.911Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-08-17T19:07:57.911Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-08-17T19:07:57.911Z] Bash-1.0.6 [2021-08-17T19:07:57.911Z] [2021-08-17T19:07:57.911Z] [2021-08-17T19:07:57.911Z] ==> git version 2.24.4 found [2021-08-17T19:07:57.911Z] ==> 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-08-17T19:07:57.911Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-08-17T19:07:57.911Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-08-17T19:07:57.911Z] ==> Jenkins CI detected. [2021-08-17T19:07:57.911Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-132 [2021-08-17T19:07:57.911Z] project root: . [2021-08-17T19:07:57.911Z] --> token set from env [2021-08-17T19:07:57.911Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-08-17T19:07:57.911Z] ==> Running gcov in . (disable via -X gcov) [2021-08-17T19:07:57.911Z] ==> Python coveragepy not found [2021-08-17T19:07:57.911Z] ==> Searching for coverage reports in: [2021-08-17T19:07:57.911Z] + . [2021-08-17T19:07:57.911Z] -> Found 1 reports [2021-08-17T19:07:57.911Z] ==> Detecting git/mercurial file structure [2021-08-17T19:07:57.911Z] ==> Reading reports [2021-08-17T19:07:58.178Z] + ./coverage.out bytes=8513 [2021-08-17T19:07:58.178Z] ==> Appending adjustments [2021-08-17T19:07:58.178Z] https://docs.codecov.io/docs/fixing-reports [2021-08-17T19:07:58.178Z] + Found adjustments [2021-08-17T19:07:58.178Z] ==> Gzipping contents [2021-08-17T19:07:58.178Z] 4.0K /tmp/codecov.Q0ujCl.gz [2021-08-17T19:07:58.178Z] ==> Uploading reports [2021-08-17T19:07:58.178Z] url: https://codecov.io [2021-08-17T19:07:58.178Z] query: branch=PR-132&commit=b871a073327894f6b511ab05ae532201e3ea7afe&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-132%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=132&job=&cmd_args= [2021-08-17T19:07:58.178Z] -> Pinging Codecov [2021-08-17T19:07:58.178Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-132&commit=b871a073327894f6b511ab05ae532201e3ea7afe&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-132%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=132&job=&cmd_args= [2021-08-17T19:07:58.447Z] -> Uploading to [2021-08-17T19:07:58.447Z] https://storage.googleapis.com/codecov/v4/raw/2021-08-17/4E5D53B4F1F92C436F7061BF334D961C/b871a073327894f6b511ab05ae532201e3ea7afe/66140380-0bc4-418d-bc5e-a47ab88b40e0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210817%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210817T190758Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9fb76b7e9f7bf2674431a3d6a72753dba4aea003608c6d2b96110e1501bc81c0 [2021-08-17T19:07:58.447Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-08-17T19:07:58.447Z] Dload Upload Total Spent Left Speed [2021-08-17T19:07:59.034Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1752 0 0 100 1752 0 5306 --:--:-- --:--:-- --:--:-- 5309 [2021-08-17T19:07:59.034Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/b871a073327894f6b511ab05ae532201e3ea7afe [Pipeline] } [2021-08-17T19:07:59.067Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-08-17T19:08:01.109Z] + '[' -d /w/workspace/gexfoundry_device-rest-go_PR-132/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-08-17T19:08:01.476Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-17T19:08:02.124Z] ---> package-listing.sh [2021-08-17T19:08:02.124Z] ++ facter osfamily [2021-08-17T19:08:02.124Z] ++ tr '[:upper:]' '[:lower:]' [2021-08-17T19:08:02.395Z] + OS_FAMILY=redhat [2021-08-17T19:08:02.395Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-132 [2021-08-17T19:08:02.395Z] + START_PACKAGES=/tmp/packages_start.txt [2021-08-17T19:08:02.395Z] + END_PACKAGES=/tmp/packages_end.txt [2021-08-17T19:08:02.395Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-08-17T19:08:02.395Z] + PACKAGES=/tmp/packages_start.txt [2021-08-17T19:08:02.395Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-132 ']' [2021-08-17T19:08:02.395Z] + PACKAGES=/tmp/packages_end.txt [2021-08-17T19:08:02.395Z] + case "${OS_FAMILY}" in [2021-08-17T19:08:02.395Z] + rpm -qa [2021-08-17T19:08:02.395Z] + sort [2021-08-17T19:08:02.977Z] + '[' -f /tmp/packages_start.txt ']' [2021-08-17T19:08:02.977Z] + '[' -f /tmp/packages_end.txt ']' [2021-08-17T19:08:02.977Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-08-17T19:08:02.977Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-132 ']' [2021-08-17T19:08:02.977Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-132/archives/ [2021-08-17T19:08:02.977Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-132/archives/ [Pipeline] echo [2021-08-17T19:08:03.015Z] 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/gexfoundry_device-rest-go_PR-132/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-08-17T19:08:03.334Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-08-17T19:08:03.961Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-17T19:08:03.961Z] [2021-08-17T19:08:03.961Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-17T19:08:04.333Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-17T19:08:04.333Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-17T19:08:04.333Z] b4d181a07f80: Pulling fs layer [2021-08-17T19:08:04.333Z] a1111a8f2ec3: Pulling fs layer [2021-08-17T19:08:04.333Z] ed53099fbce6: Pulling fs layer [2021-08-17T19:08:04.333Z] dc539afda2c1: Pulling fs layer [2021-08-17T19:08:04.333Z] 77bc0d833cb6: Pulling fs layer [2021-08-17T19:08:04.333Z] 9065ff56babe: Pulling fs layer [2021-08-17T19:08:04.333Z] d287ab97295c: Pulling fs layer [2021-08-17T19:08:04.333Z] 77bc0d833cb6: Waiting [2021-08-17T19:08:04.333Z] 9065ff56babe: Waiting [2021-08-17T19:08:04.333Z] d287ab97295c: Waiting [2021-08-17T19:08:04.333Z] dc539afda2c1: Waiting [2021-08-17T19:08:04.601Z] a1111a8f2ec3: Verifying Checksum [2021-08-17T19:08:04.601Z] a1111a8f2ec3: Download complete [2021-08-17T19:08:04.601Z] dc539afda2c1: Verifying Checksum [2021-08-17T19:08:04.601Z] dc539afda2c1: Download complete [2021-08-17T19:08:04.867Z] 77bc0d833cb6: Verifying Checksum [2021-08-17T19:08:04.867Z] 77bc0d833cb6: Download complete [2021-08-17T19:08:04.867Z] 9065ff56babe: Verifying Checksum [2021-08-17T19:08:04.867Z] 9065ff56babe: Download complete [2021-08-17T19:08:04.867Z] ed53099fbce6: Verifying Checksum [2021-08-17T19:08:04.867Z] ed53099fbce6: Download complete [2021-08-17T19:08:05.826Z] b4d181a07f80: Verifying Checksum [2021-08-17T19:08:05.826Z] b4d181a07f80: Download complete [2021-08-17T19:08:07.254Z] b4d181a07f80: Pull complete [2021-08-17T19:08:07.254Z] a1111a8f2ec3: Pull complete [2021-08-17T19:08:07.524Z] ed53099fbce6: Pull complete [2021-08-17T19:08:07.793Z] dc539afda2c1: Pull complete [2021-08-17T19:08:08.063Z] 77bc0d833cb6: Pull complete [2021-08-17T19:08:08.063Z] 9065ff56babe: Pull complete [2021-08-17T19:08:09.037Z] d287ab97295c: Verifying Checksum [2021-08-17T19:08:09.037Z] d287ab97295c: Download complete [2021-08-17T19:08:13.345Z] d287ab97295c: Pull complete [2021-08-17T19:08:13.345Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-17T19:08:13.345Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-17T19:08:13.345Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-17T19:08:13.469Z] prd-centos7-docker-4c-2g-1065 does not seem to be running inside a container [2021-08-17T19:08:13.532Z] $ 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/gexfoundry_device-rest-go_PR-132/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-132 -v /w/workspace/gexfoundry_device-rest-go_PR-132:/w/workspace/gexfoundry_device-rest-go_PR-132:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-132@tmp:/w/workspace/gexfoundry_device-rest-go_PR-132@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-08-17T19:08:15.746Z] $ docker top f18e2d78db23ac8460433fa1087bf8af5be2563f4cf94ae827057aef5acf1854 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-17T19:08:16.215Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-08-17T19:08:16.561Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-08-17T19:08:16.901Z] + ls /var/log/sa-host [2021-08-17T19:08:16.901Z] + sadf -c /var/log/sa-host/sa05 [2021-08-17T19:08:16.901Z] file_magic: OK [2021-08-17T19:08:16.901Z] HZ: Using current value: 100 [2021-08-17T19:08:16.901Z] file_header: OK [2021-08-17T19:08:16.901Z] 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-08-17T19:08:16.901Z] Statistics: [2021-08-17T19:08:16.901Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-17T19:08:16.901Z] File successfully converted to sysstat format version 12.0.3 [2021-08-17T19:08:16.901Z] + sadf -c /var/log/sa-host/sa17 [2021-08-17T19:08:16.901Z] file_magic: OK [2021-08-17T19:08:16.901Z] HZ: Using current value: 100 [2021-08-17T19:08:16.901Z] file_header: OK [2021-08-17T19:08:16.901Z] 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-08-17T19:08:16.901Z] Statistics: [2021-08-17T19:08:16.901Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-17T19:08:16.901Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-17T19:08:17.167Z] provisioning config files... [2021-08-17T19:08:17.184Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-132@tmp/config5112059697166790374tmp [Pipeline] { [Pipeline] echo [2021-08-17T19:08:17.264Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-17T19:08:17.638Z] ---> create-netrc.sh [Pipeline] } [2021-08-17T19:08:17.668Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-08-17T19:08:18.161Z] ---> python-tools-install.sh [Pipeline] echo [2021-08-17T19:08:18.198Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-17T19:08:18.550Z] ---> sudo-logs.sh [2021-08-17T19:08:18.550Z] Archiving 'sudo' log.. [2021-08-17T19:08:18.550Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1065.vexxhost.local: Name or service not known [2021-08-17T19:08:18.550Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1065.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-08-17T19:08:18.638Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-17T19:08:18.999Z] ---> job-cost.sh [2021-08-17T19:08:18.999Z] lf-activate-venv: SKIPPING [2021-08-17T19:08:18.999Z] DEBUG: total: 0.18000000715255737 [2021-08-17T19:08:18.999Z] INFO: Retrieving Stack Cost... [2021-08-17T19:08:19.959Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-17T19:08:20.226Z] INFO: Archiving Costs [Pipeline] echo [2021-08-17T19:08:20.273Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-17T19:08:20.643Z] ---> logs-deploy.sh [2021-08-17T19:08:20.643Z] lf-activate-venv: SKIPPING [2021-08-17T19:08:20.643Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-132/1 [2021-08-17T19:08:20.643Z] INFO: archiving workspace using pattern(s): [2021-08-17T19:08:21.225Z] Archives upload complete. [2021-08-17T19:08:21.492Z] INFO: archiving logs to Nexus