cloudxxx8 commented: recheck 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 lenny-intel for edgexfoundry/device-rest-go Obtained Jenkinsfile from f936d1d1683ba476397a484ca69f178832238efe+394630684c4f2c5fa0b05acfafc8d275cc2ae64c (11e42930ae0f2b0233ed614c9fe2308686767f52) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4424822584400265363.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c141c1271097dc03ad291c2451e310eaf98cdd06 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-ssh2951745927386873640.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 c141c1271097dc03ad291c2451e310eaf98cdd06 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-135/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-135/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2945416680443623690.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c141c1271097dc03ad291c2451e310eaf98cdd06 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c141c1271097dc03ad291c2451e310eaf98cdd06 # timeout=10 Commit message: "Merge pull request #355 from ernestojeda/error-check-post-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh527731273604735303.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-135/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-135/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh38690823378217366.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1482 in /w/workspace/gexfoundry_device-rest-go_PR-135 [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-135 # 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-135@tmp/jenkins-gitclient-ssh429672185314230649.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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-135@tmp/jenkins-gitclient-ssh7238173251066172688.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/135/head:refs/remotes/origin/PR-135 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 394630684c4f2c5fa0b05acfafc8d275cc2ae64c into PR head commit f936d1d1683ba476397a484ca69f178832238efe Merge succeeded, producing f936d1d1683ba476397a484ca69f178832238efe Checking out Revision f936d1d1683ba476397a484ca69f178832238efe (PR-135) > git config core.sparsecheckout # timeout=10 > git checkout -f f936d1d1683ba476397a484ca69f178832238efe # 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-135@tmp/jenkins-gitclient-ssh7537852383081153576.key > git merge 394630684c4f2c5fa0b05acfafc8d275cc2ae64c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f936d1d1683ba476397a484ca69f178832238efe # timeout=10 Commit message: "ci: Update PR Template" > git rev-list --no-walk f936d1d1683ba476397a484ca69f178832238efe # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-05T04:16:07.425Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-05T04:16:07.507Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-05T04:16:07.534Z] ========================================================= [2021-10-05T04:16:07.535Z] EdgeX Global Pipelines Version Info [2021-10-05T04:16:07.535Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-05T04:16:08.779Z] ------------------- [2021-10-05T04:16:08.779Z] stable info: [2021-10-05T04:16:08.779Z] ------------------- [2021-10-05T04:16:08.779Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-05T04:16:08.779Z] Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 [2021-10-05T04:16:08.779Z] Message: update stable to v1.0.206 [2021-10-05T04:16:09.365Z] ------------------- [2021-10-05T04:16:09.366Z] experimental info: [2021-10-05T04:16:09.366Z] ------------------- [2021-10-05T04:16:09.366Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-05T04:16:09.366Z] Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 [2021-10-05T04:16:09.366Z] Message: update experimental to v1.0.206 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-05T04:16:09.509Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-10-05T04:16:09.533Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-10-05T04:16:09.557Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-05T04:16:09.580Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-05T04:16:09.604Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-05T04:16:09.627Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-05T04:16:09.651Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-10-05T04:16:09.674Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-05T04:16:09.698Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-10-05T04:16:09.721Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-05T04:16:09.745Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-05T04:16:09.771Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-05T04:16:09.796Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-10-05T04:16:09.822Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-05T04:16:09.847Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-05T04:16:09.872Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-05T04:16:09.897Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-10-05T04:16:09.922Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-05T04:16:09.947Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-05T04:16:09.972Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-05T04:16:09.997Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-05T04:16:10.022Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-10-05T04:16:10.049Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-10-05T04:16:10.073Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-05T04:16:10.100Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-05T04:16:10.126Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-05T04:16:10.152Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-05T04:16:10.178Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-135 [Pipeline] echo [2021-10-05T04:16:10.203Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-135 [Pipeline] echo [2021-10-05T04:16:10.230Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-135 [Pipeline] echo [2021-10-05T04:16:10.255Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f936d1d1683ba476397a484ca69f178832238efe [Pipeline] echo [2021-10-05T04:16:10.280Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f936d1d [Pipeline] echo [2021-10-05T04:16:10.305Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-05T04:16:10.399Z] provisioning config files... [2021-10-05T04:16:10.420Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-135@tmp/config1478843967716363682tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-05T04:16:10.769Z] ---> docker-login.sh [2021-10-05T04:16:10.769Z] nexus3.edgexfoundry.org:10001 [2021-10-05T04:16:10.769Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T04:16:11.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T04:16:11.036Z] Configure a credential helper to remove this warning. See [2021-10-05T04:16:11.036Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T04:16:11.036Z] [2021-10-05T04:16:11.036Z] Login Succeeded [2021-10-05T04:16:11.036Z] nexus3.edgexfoundry.org:10002 [2021-10-05T04:16:11.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T04:16:11.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T04:16:11.036Z] Configure a credential helper to remove this warning. See [2021-10-05T04:16:11.036Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T04:16:11.036Z] [2021-10-05T04:16:11.036Z] Login Succeeded [2021-10-05T04:16:11.036Z] nexus3.edgexfoundry.org:10003 [2021-10-05T04:16:11.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T04:16:11.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T04:16:11.301Z] Configure a credential helper to remove this warning. See [2021-10-05T04:16:11.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T04:16:11.301Z] [2021-10-05T04:16:11.301Z] Login Succeeded [2021-10-05T04:16:11.301Z] nexus3.edgexfoundry.org:10004 [2021-10-05T04:16:11.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T04:16:11.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T04:16:11.301Z] Configure a credential helper to remove this warning. See [2021-10-05T04:16:11.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T04:16:11.301Z] [2021-10-05T04:16:11.301Z] Login Succeeded [2021-10-05T04:16:11.301Z] docker.io [2021-10-05T04:16:11.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T04:16:11.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T04:16:11.889Z] Configure a credential helper to remove this warning. See [2021-10-05T04:16:11.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T04:16:11.889Z] [2021-10-05T04:16:11.889Z] Login Succeeded [2021-10-05T04:16:11.889Z] ---> docker-login.sh ends [Pipeline] } [2021-10-05T04:16:11.904Z] 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-10-05T04:16:12.656Z] + git log --format=format:%s -1 f936d1d1683ba476397a484ca69f178832238efe [Pipeline] echo [2021-10-05T04:16:12.707Z] GIT_COMMIT: f936d1d1683ba476397a484ca69f178832238efe, Commit Message: ci: Update PR Template [Pipeline] echo [2021-10-05T04:16:12.720Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-05T04:16:13.282Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-05T04:16:13.282Z] [2021-10-05T04:16:13.282Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-05T04:16:13.609Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-05T04:16:13.610Z] latest: Pulling from edgex-devops/git-semver [2021-10-05T04:16:13.610Z] 31603596830f: Pulling fs layer [2021-10-05T04:16:13.610Z] 04fac38145f0: Pulling fs layer [2021-10-05T04:16:13.610Z] 701f6daf10bf: Pulling fs layer [2021-10-05T04:16:13.610Z] 24f72da36158: Pulling fs layer [2021-10-05T04:16:13.610Z] 24f72da36158: Waiting [2021-10-05T04:16:13.610Z] 04fac38145f0: Verifying Checksum [2021-10-05T04:16:13.610Z] 04fac38145f0: Download complete [2021-10-05T04:16:13.876Z] 31603596830f: Verifying Checksum [2021-10-05T04:16:13.876Z] 31603596830f: Download complete [2021-10-05T04:16:13.876Z] 701f6daf10bf: Verifying Checksum [2021-10-05T04:16:13.876Z] 701f6daf10bf: Download complete [2021-10-05T04:16:13.876Z] 24f72da36158: Verifying Checksum [2021-10-05T04:16:13.876Z] 24f72da36158: Download complete [2021-10-05T04:16:13.876Z] 31603596830f: Pull complete [2021-10-05T04:16:13.876Z] 04fac38145f0: Pull complete [2021-10-05T04:16:14.480Z] 701f6daf10bf: Pull complete [2021-10-05T04:16:14.754Z] 24f72da36158: Pull complete [2021-10-05T04:16:14.754Z] Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 [2021-10-05T04:16:14.754Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-05T04:16:14.754Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-05T04:16:14.853Z] prd-centos7-docker-4c-2g-1482 does not seem to be running inside a container [2021-10-05T04:16:14.903Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-135 -v /w/workspace/gexfoundry_device-rest-go_PR-135:/w/workspace/gexfoundry_device-rest-go_PR-135:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-135@tmp:/w/workspace/gexfoundry_device-rest-go_PR-135@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:10004/edgex-devops/git-semver:latest cat [2021-10-05T04:16:15.813Z] $ docker top b6b61cf2e4d0f6068e644ee89c685f1cc1c1b109a3cebc4c61a9553a6b57d8c4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-05T04:16:15.943Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-05T04:16:15.943Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-05T04:16:16.044Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-05T04:16:16.042Z] $ docker exec b6b61cf2e4d0f6068e644ee89c685f1cc1c1b109a3cebc4c61a9553a6b57d8c4 ssh-agent [2021-10-05T04:16:16.153Z] SSH_AUTH_SOCK=/tmp/ssh-JNGPoXGqZdFM/agent.14 [2021-10-05T04:16:16.153Z] SSH_AGENT_PID=21 [2021-10-05T04:16:16.163Z] Running ssh-add (command line suppressed) [2021-10-05T04:16:16.247Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-135@tmp/private_key_587278253380984945.key (/w/workspace/gexfoundry_device-rest-go_PR-135@tmp/private_key_587278253380984945.key) [2021-10-05T04:16:16.268Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-05T04:16:16.584Z] + git tag --points-at HEAD [Pipeline] } [2021-10-05T04:16:16.599Z] $ docker exec --env ******** --env ******** b6b61cf2e4d0f6068e644ee89c685f1cc1c1b109a3cebc4c61a9553a6b57d8c4 ssh-agent -k [2021-10-05T04:16:16.689Z] unset SSH_AUTH_SOCK; [2021-10-05T04:16:16.690Z] unset SSH_AGENT_PID; [2021-10-05T04:16:16.690Z] echo Agent pid 21 killed; [2021-10-05T04:16:16.711Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-05T04:16:16.750Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-05T04:16:16.750Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-05T04:16:16.863Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-05T04:16:16.861Z] $ docker exec b6b61cf2e4d0f6068e644ee89c685f1cc1c1b109a3cebc4c61a9553a6b57d8c4 ssh-agent [2021-10-05T04:16:16.976Z] SSH_AUTH_SOCK=/tmp/ssh-3xX2WNXIpfWU/agent.56 [2021-10-05T04:16:16.976Z] SSH_AGENT_PID=62 [2021-10-05T04:16:16.985Z] Running ssh-add (command line suppressed) [2021-10-05T04:16:17.063Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-135@tmp/private_key_1844532756629355179.key (/w/workspace/gexfoundry_device-rest-go_PR-135@tmp/private_key_1844532756629355179.key) [2021-10-05T04:16:17.085Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-05T04:16:17.401Z] + git semver init [2021-10-05T04:16:17.401Z] # -> Open(): unable to determine branch for HEAD [2021-10-05T04:16:17.402Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-135/.git [2021-10-05T04:16:17.402Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-135 [2021-10-05T04:16:17.402Z] # $SEMVER_REMOTE_NAME = origin [2021-10-05T04:16:17.402Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-05T04:16:17.402Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-05T04:16:17.402Z] # $SEMVER_BRANCH = PR-135 [2021-10-05T04:16:17.402Z] # $SEMVER_TEMP = /tmp/semver-788156190 [2021-10-05T04:16:17.402Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-10-05T04:16:18.376Z] # '/tmp/semver-788156190' -> '/w/workspace/gexfoundry_device-rest-go_PR-135/.semver' [2021-10-05T04:16:18.376Z] # -> Force: false [2021-10-05T04:16:18.376Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-135/.semver [Pipeline] } [2021-10-05T04:16:18.386Z] $ docker exec --env ******** --env ******** b6b61cf2e4d0f6068e644ee89c685f1cc1c1b109a3cebc4c61a9553a6b57d8c4 ssh-agent -k [2021-10-05T04:16:18.474Z] unset SSH_AUTH_SOCK; [2021-10-05T04:16:18.474Z] unset SSH_AGENT_PID; [2021-10-05T04:16:18.474Z] echo Agent pid 62 killed; [2021-10-05T04:16:18.492Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-05T04:16:18.841Z] + git semver [Pipeline] } [2021-10-05T04:16:18.856Z] $ docker stop --time=1 b6b61cf2e4d0f6068e644ee89c685f1cc1c1b109a3cebc4c61a9553a6b57d8c4 [2021-10-05T04:16:20.118Z] $ docker rm -f b6b61cf2e4d0f6068e644ee89c685f1cc1c1b109a3cebc4c61a9553a6b57d8c4 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-05T04:16:20.505Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-05T04:16:20.843Z] Stashed 1 file(s) [Pipeline] echo [2021-10-05T04:16:20.846Z] [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-10-05T04:16:36.143Z] Still waiting to schedule task [2021-10-05T04:16:36.144Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-10-05T04:16:36.147Z] Still waiting to schedule task [2021-10-05T04:16:36.147Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-10-05T04:25:59.330Z] Running on prd-centos7-docker-4c-2g-1686 in /w/workspace/gexfoundry_device-rest-go_PR-135 [Pipeline] { [Pipeline] ws [2021-10-05T04:25:59.354Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2021-10-05T04:25:59.501Z] The recommended git tool is: git [2021-10-05T04:26:02.530Z] using credential edgex-jenkins-ssh [2021-10-05T04:26:02.544Z] Cloning the remote Git repository [2021-10-05T04:26:01.928Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-10-05T04:26:02.020Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2021-10-05T04:26:02.053Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-10-05T04:26:02.053Z] > git --version # timeout=10 [2021-10-05T04:26:02.063Z] > git --version # 'git version 2.24.4' [2021-10-05T04:26:02.063Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-05T04:26:02.092Z] [INFO] Currently running in a labeled security context [2021-10-05T04:26:02.092Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-05T04:26:02.092Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/2@tmp/jenkins-gitclient-ssh5129437409053738138.key [2021-10-05T04:26:02.107Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-05T04:26:03.218Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-10-05T04:26:03.230Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-05T04:26:03.244Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-10-05T04:26:03.265Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-10-05T04:26:03.265Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-05T04:26:03.266Z] [INFO] Currently running in a labeled security context [2021-10-05T04:26:03.266Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-05T04:26:03.266Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/2@tmp/jenkins-gitclient-ssh6240703336796488177.key [2021-10-05T04:26:03.272Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/135/head:refs/remotes/origin/PR-135 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-05T04:26:04.416Z] Merging remotes/origin/main commit 394630684c4f2c5fa0b05acfafc8d275cc2ae64c into PR head commit f936d1d1683ba476397a484ca69f178832238efe [2021-10-05T04:26:04.533Z] Merge succeeded, producing f936d1d1683ba476397a484ca69f178832238efe [2021-10-05T04:26:04.534Z] Checking out Revision f936d1d1683ba476397a484ca69f178832238efe (PR-135) [2021-10-05T04:26:03.821Z] > git config core.sparsecheckout # timeout=10 [2021-10-05T04:26:03.832Z] > git checkout -f f936d1d1683ba476397a484ca69f178832238efe # timeout=10 [2021-10-05T04:26:03.867Z] > git remote # timeout=10 [2021-10-05T04:26:03.878Z] > git config --get remote.origin.url # timeout=10 [2021-10-05T04:26:03.883Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-05T04:26:03.884Z] [INFO] Currently running in a labeled security context [2021-10-05T04:26:03.884Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-05T04:26:03.884Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/2@tmp/jenkins-gitclient-ssh206951993026254590.key [2021-10-05T04:26:03.893Z] > git merge 394630684c4f2c5fa0b05acfafc8d275cc2ae64c # timeout=10 [2021-10-05T04:26:03.908Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-05T04:26:03.942Z] > git config core.sparsecheckout # timeout=10 [2021-10-05T04:26:03.946Z] > git checkout -f f936d1d1683ba476397a484ca69f178832238efe # timeout=10 [2021-10-05T04:26:08.122Z] Commit message: "ci: Update PR Template" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-05T04:26:08.631Z] provisioning config files... [2021-10-05T04:26:08.654Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config6140519887433037612tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-05T04:26:09.105Z] ---> docker-login.sh [2021-10-05T04:26:09.105Z] nexus3.edgexfoundry.org:10001 [2021-10-05T04:26:09.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T04:26:09.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T04:26:09.381Z] Configure a credential helper to remove this warning. See [2021-10-05T04:26:09.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T04:26:09.381Z] [2021-10-05T04:26:09.381Z] Login Succeeded [2021-10-05T04:26:09.381Z] nexus3.edgexfoundry.org:10002 [2021-10-05T04:26:09.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T04:26:09.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T04:26:09.648Z] Configure a credential helper to remove this warning. See [2021-10-05T04:26:09.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T04:26:09.648Z] [2021-10-05T04:26:09.648Z] Login Succeeded [2021-10-05T04:26:09.648Z] nexus3.edgexfoundry.org:10003 [2021-10-05T04:26:09.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T04:26:09.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T04:26:09.648Z] Configure a credential helper to remove this warning. See [2021-10-05T04:26:09.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T04:26:09.648Z] [2021-10-05T04:26:09.648Z] Login Succeeded [2021-10-05T04:26:09.648Z] nexus3.edgexfoundry.org:10004 [2021-10-05T04:26:09.915Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T04:26:09.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T04:26:09.915Z] Configure a credential helper to remove this warning. See [2021-10-05T04:26:09.915Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T04:26:09.915Z] [2021-10-05T04:26:09.915Z] Login Succeeded [2021-10-05T04:26:09.915Z] docker.io [2021-10-05T04:26:09.915Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T04:26:10.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T04:26:10.498Z] Configure a credential helper to remove this warning. See [2021-10-05T04:26:10.498Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T04:26:10.498Z] [2021-10-05T04:26:10.498Z] Login Succeeded [2021-10-05T04:26:10.498Z] ---> docker-login.sh ends [Pipeline] } [2021-10-05T04:26:10.547Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-05T04:26:10.762Z] ========================================================= [2021-10-05T04:26:10.762Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-05T04:26:10.762Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-05T04:26:11.108Z] + 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-10-05T04:26:11.108Z] Sending build context to Docker daemon 119.8kB [2021-10-05T04:26:11.108Z] Step 1/12 : ARG BASE=golang:1.16-alpine3.14 [2021-10-05T04:26:11.108Z] Step 2/12 : FROM ${BASE} AS builder [2021-10-05T04:26:11.108Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-05T04:26:11.108Z] 540db60ca938: Pulling fs layer [2021-10-05T04:26:11.108Z] adcc1eea9eea: Pulling fs layer [2021-10-05T04:26:11.108Z] 4c4ab2625f07: Pulling fs layer [2021-10-05T04:26:11.108Z] db62176df00c: Pulling fs layer [2021-10-05T04:26:11.108Z] 3b30891b0d05: Pulling fs layer [2021-10-05T04:26:11.108Z] 06b49ca38bd5: Pulling fs layer [2021-10-05T04:26:11.108Z] c788192a36de: Pulling fs layer [2021-10-05T04:26:11.108Z] a77e37c0d609: Pulling fs layer [2021-10-05T04:26:11.108Z] c3185cebc471: Pulling fs layer [2021-10-05T04:26:11.108Z] 06b49ca38bd5: Waiting [2021-10-05T04:26:11.108Z] c788192a36de: Waiting [2021-10-05T04:26:11.108Z] db62176df00c: Waiting [2021-10-05T04:26:11.108Z] a77e37c0d609: Waiting [2021-10-05T04:26:11.108Z] c3185cebc471: Waiting [2021-10-05T04:26:11.108Z] 3b30891b0d05: Waiting [2021-10-05T04:26:11.108Z] 4c4ab2625f07: Verifying Checksum [2021-10-05T04:26:11.108Z] 4c4ab2625f07: Download complete [2021-10-05T04:26:11.381Z] adcc1eea9eea: Verifying Checksum [2021-10-05T04:26:11.381Z] adcc1eea9eea: Download complete [2021-10-05T04:26:11.381Z] 3b30891b0d05: Verifying Checksum [2021-10-05T04:26:11.381Z] 3b30891b0d05: Download complete [2021-10-05T04:26:11.381Z] 06b49ca38bd5: Verifying Checksum [2021-10-05T04:26:11.381Z] 06b49ca38bd5: Download complete [2021-10-05T04:26:11.381Z] 540db60ca938: Verifying Checksum [2021-10-05T04:26:11.381Z] 540db60ca938: Download complete [2021-10-05T04:26:11.381Z] c788192a36de: Verifying Checksum [2021-10-05T04:26:11.381Z] c788192a36de: Download complete [2021-10-05T04:26:11.651Z] 540db60ca938: Pull complete [2021-10-05T04:26:11.651Z] adcc1eea9eea: Pull complete [2021-10-05T04:26:11.651Z] 4c4ab2625f07: Pull complete [2021-10-05T04:26:12.624Z] a77e37c0d609: Verifying Checksum [2021-10-05T04:26:12.624Z] a77e37c0d609: Download complete [2021-10-05T04:26:12.624Z] db62176df00c: Download complete [2021-10-05T04:26:13.592Z] c3185cebc471: Verifying Checksum [2021-10-05T04:26:13.592Z] c3185cebc471: Download complete [2021-10-05T04:26:17.001Z] db62176df00c: Pull complete [2021-10-05T04:26:17.001Z] 3b30891b0d05: Pull complete [2021-10-05T04:26:17.001Z] 06b49ca38bd5: Pull complete [2021-10-05T04:26:17.001Z] c788192a36de: Pull complete [2021-10-05T04:26:17.001Z] a77e37c0d609: Pull complete [2021-10-05T04:26:19.595Z] c3185cebc471: Pull complete [2021-10-05T04:26:19.595Z] Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd [2021-10-05T04:26:19.595Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-05T04:26:19.595Z] ---> 031687cdd783 [2021-10-05T04:26:19.595Z] Step 3/12 : ARG MAKE='make build' [2021-10-05T04:26:22.192Z] ---> Running in add5bd2fef23 [2021-10-05T04:26:22.192Z] Removing intermediate container add5bd2fef23 [2021-10-05T04:26:22.192Z] ---> a07f1a38ae12 [2021-10-05T04:26:22.192Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-05T04:26:22.192Z] ---> Running in f33f1dfc53c6 [2021-10-05T04:26:22.192Z] Removing intermediate container f33f1dfc53c6 [2021-10-05T04:26:22.192Z] ---> 49d603946f4b [2021-10-05T04:26:22.192Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2021-10-05T04:26:22.192Z] ---> Running in 083e087ee85e [2021-10-05T04:26:22.192Z] Removing intermediate container 083e087ee85e [2021-10-05T04:26:22.192Z] ---> 7d59ee72d90c [2021-10-05T04:26:22.192Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-05T04:26:22.192Z] ---> Running in 8acea6481626 [2021-10-05T04:26:22.779Z] Removing intermediate container 8acea6481626 [2021-10-05T04:26:22.779Z] ---> 45238177657d [2021-10-05T04:26:22.779Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-05T04:26:22.779Z] ---> Running in 0f0688473b51 [2021-10-05T04:26:23.050Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-10-05T04:26:24.008Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-10-05T04:26:24.275Z] (1/3) Installing openssh-keygen (8.4_p1-r3) [2021-10-05T04:26:24.275Z] (2/3) Installing libedit (20191231.3.1-r1) [2021-10-05T04:26:24.275Z] (3/3) Installing openssh-client (8.4_p1-r3) [2021-10-05T04:26:24.539Z] Executing busybox-1.32.1-r6.trigger [2021-10-05T04:26:24.539Z] OK: 223 MiB in 55 packages [2021-10-05T04:26:25.126Z] Removing intermediate container 0f0688473b51 [2021-10-05T04:26:25.126Z] ---> a46c35ae35ad [2021-10-05T04:26:25.126Z] Step 8/12 : WORKDIR /device-rest-go [2021-10-05T04:26:25.126Z] ---> Running in 674f247c7fa6 [2021-10-05T04:26:25.126Z] Removing intermediate container 674f247c7fa6 [2021-10-05T04:26:25.126Z] ---> 6c26e5eba6d3 [2021-10-05T04:26:25.126Z] Step 9/12 : COPY . . [2021-10-05T04:26:25.392Z] ---> ef867f6712ac [2021-10-05T04:26:25.392Z] Step 10/12 : RUN go mod tidy [2021-10-05T04:26:25.660Z] ---> Running in e05f223321a4 [2021-10-05T04:26:27.076Z] go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.0.0 [2021-10-05T04:26:27.076Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 [2021-10-05T04:26:27.344Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-10-05T04:26:27.344Z] go: downloading github.com/spf13/cast v1.4.1 [2021-10-05T04:26:27.344Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-10-05T04:26:27.344Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 [2021-10-05T04:26:27.344Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 [2021-10-05T04:26:27.344Z] go: downloading github.com/google/uuid v1.2.0 [2021-10-05T04:26:27.344Z] go: downloading github.com/go-kit/kit v0.9.0 [2021-10-05T04:26:27.344Z] go: downloading github.com/go-playground/validator/v10 v10.6.1 [2021-10-05T04:26:27.609Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-10-05T04:26:27.609Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-10-05T04:26:27.609Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2021-10-05T04:26:27.609Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2021-10-05T04:26:27.609Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 [2021-10-05T04:26:27.609Z] go: downloading github.com/pelletier/go-toml v1.9.2 [2021-10-05T04:26:27.609Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2021-10-05T04:26:27.609Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 [2021-10-05T04:26:27.609Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 [2021-10-05T04:26:27.609Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2021-10-05T04:26:27.609Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2021-10-05T04:26:27.609Z] go: downloading github.com/leodido/go-urn v1.2.0 [2021-10-05T04:26:27.609Z] go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 [2021-10-05T04:26:27.879Z] go: downloading golang.org/x/text v0.3.2 [2021-10-05T04:26:27.879Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-10-05T04:26:27.879Z] go: downloading github.com/go-playground/locales v0.13.0 [2021-10-05T04:26:28.838Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2021-10-05T04:26:28.838Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-10-05T04:26:28.838Z] go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2021-10-05T04:26:28.838Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-10-05T04:26:28.838Z] go: downloading github.com/hashicorp/consul/api v1.8.1 [2021-10-05T04:26:28.838Z] go: downloading github.com/x448/float16 v0.8.4 [2021-10-05T04:26:28.838Z] go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd [2021-10-05T04:26:28.838Z] go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2021-10-05T04:26:28.838Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-10-05T04:26:28.838Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-10-05T04:26:29.108Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-10-05T04:26:29.108Z] go: downloading github.com/kr/pretty v0.2.0 [2021-10-05T04:26:29.108Z] go: downloading github.com/stretchr/objx v0.1.0 [2021-10-05T04:26:29.108Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-10-05T04:26:29.108Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-10-05T04:26:29.108Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-10-05T04:26:29.108Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-10-05T04:26:29.108Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-10-05T04:26:29.108Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-10-05T04:26:29.108Z] go: downloading github.com/hashicorp/consul/sdk v0.7.0 [2021-10-05T04:26:29.108Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-10-05T04:26:29.108Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-10-05T04:26:29.108Z] go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 [2021-10-05T04:26:29.108Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2021-10-05T04:26:29.375Z] go: downloading github.com/onsi/gomega v1.7.0 [2021-10-05T04:26:29.375Z] go: downloading github.com/kr/text v0.1.0 [2021-10-05T04:26:29.375Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-10-05T04:26:29.375Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-10-05T04:26:29.375Z] go: downloading github.com/fatih/color v1.9.0 [2021-10-05T04:26:29.375Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-10-05T04:26:29.375Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-10-05T04:26:29.375Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-10-05T04:26:29.375Z] go: downloading github.com/pkg/errors v0.8.1 [2021-10-05T04:26:29.375Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-10-05T04:26:29.375Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-10-05T04:26:29.375Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2021-10-05T04:26:29.647Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-10-05T04:26:29.647Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-10-05T04:26:29.647Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-10-05T04:26:29.647Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-10-05T04:26:29.647Z] go: downloading github.com/hpcloud/tail v1.0.0 [2021-10-05T04:26:29.647Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2021-10-05T04:26:29.647Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2021-10-05T04:26:29.647Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2021-10-05T04:26:29.647Z] go: downloading github.com/miekg/dns v1.1.26 [2021-10-05T04:26:29.647Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-10-05T04:26:29.647Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-10-05T04:26:29.647Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2021-10-05T04:26:29.647Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-10-05T04:26:29.647Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2021-10-05T04:26:36.318Z] Removing intermediate container e05f223321a4 [2021-10-05T04:26:36.318Z] ---> 098d2bcb63c5 [2021-10-05T04:26:36.318Z] Step 11/12 : RUN make update [2021-10-05T04:26:36.318Z] ---> Running in 7a3d09903a8a [2021-10-05T04:26:36.318Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-10-05T04:26:38.274Z] Removing intermediate container 7a3d09903a8a [2021-10-05T04:26:38.274Z] ---> 4164abb09294 [2021-10-05T04:26:38.274Z] Step 12/12 : RUN $MAKE [2021-10-05T04:26:38.274Z] ---> Running in 2010959c7352 [2021-10-05T04:26:38.274Z] noop [2021-10-05T04:26:38.541Z] Removing intermediate container 2010959c7352 [2021-10-05T04:26:38.541Z] ---> 727c6657b6f7 [2021-10-05T04:26:38.541Z] Successfully built 727c6657b6f7 [2021-10-05T04:26:38.541Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-05T04:26:38.860Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-05T04:26:38.860Z] . [Pipeline] withDockerContainer [2021-10-05T04:26:38.952Z] prd-centos7-docker-4c-2g-1686 does not seem to be running inside a container [2021-10-05T04:26:39.006Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-05T04:26:39.381Z] $ docker top 8d3ddc0b5ccf110d88c95cba0b91431cce28c70a8f4726501e9526221da937ae -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-05T04:26:39.791Z] + go version [2021-10-05T04:26:39.791Z] go version go1.16.6 linux/amd64 [Pipeline] } [2021-10-05T04:26:39.809Z] $ docker stop --time=1 8d3ddc0b5ccf110d88c95cba0b91431cce28c70a8f4726501e9526221da937ae [2021-10-05T04:26:41.035Z] $ docker rm -f 8d3ddc0b5ccf110d88c95cba0b91431cce28c70a8f4726501e9526221da937ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-05T04:26:41.584Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-05T04:26:41.584Z] . [Pipeline] withDockerContainer [2021-10-05T04:26:41.664Z] prd-centos7-docker-4c-2g-1686 does not seem to be running inside a container [2021-10-05T04:26:41.718Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-05T04:26:42.127Z] $ docker top 5da215f43242cf0f46e018499794a244f0df626cf5dd9573c21803529655849f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-05T04:26:42.548Z] + go mod tidy [Pipeline] sh [2021-10-05T04:26:43.149Z] + make test [2021-10-05T04:26:43.149Z] go mod tidy [2021-10-05T04:26:43.149Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-10-05T04:26:43.736Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-10-05T04:27:02.005Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-10-05T04:27:02.005Z] ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 53.8% of statements [2021-10-05T04:27:02.005Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-10-05T04:27:07.403Z] gofmt -l . [2021-10-05T04:27:07.403Z] [ "`gofmt -l .`" = "" ] [2021-10-05T04:27:07.403Z] ./bin/test-go-mod-tidy.sh [2021-10-05T04:27:07.670Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-05T04:27:08.271Z] $ docker stop --time=1 5da215f43242cf0f46e018499794a244f0df626cf5dd9573c21803529655849f [2021-10-05T04:27:09.684Z] $ docker rm -f 5da215f43242cf0f46e018499794a244f0df626cf5dd9573c21803529655849f [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-05T04:27:10.109Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-05T04:27:10.360Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-10-05T04:27:11.530Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-05T04:27:11.843Z] + ls -al . [2021-10-05T04:27:11.843Z] total 116 [2021-10-05T04:27:11.843Z] drwxrwxr-x. 8 jenkins jenkins 4096 Oct 5 04:27 . [2021-10-05T04:27:11.843Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 5 04:26 .. [2021-10-05T04:27:11.843Z] -rw-rw-r--. 1 jenkins jenkins 6792 Oct 5 04:26 Attribution.txt [2021-10-05T04:27:11.843Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 5 04:26 bin [2021-10-05T04:27:11.843Z] -rw-rw-r--. 1 jenkins jenkins 7459 Oct 5 04:26 CHANGELOG.md [2021-10-05T04:27:11.843Z] drwxrwxr-x. 3 jenkins jenkins 32 Oct 5 04:26 cmd [2021-10-05T04:27:11.843Z] -rw-r--r--. 1 jenkins jenkins 8435 Oct 5 04:27 coverage.out [2021-10-05T04:27:11.843Z] -rw-rw-r--. 1 jenkins jenkins 1615 Oct 5 04:26 Dockerfile [2021-10-05T04:27:11.843Z] -rw-rw-r--. 1 jenkins jenkins 151 Oct 5 04:26 .dockerignore [2021-10-05T04:27:11.843Z] drwxrwxr-x. 2 jenkins jenkins 76 Oct 5 04:26 driver [2021-10-05T04:27:11.843Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 5 04:26 .git [2021-10-05T04:27:11.843Z] drwxrwxr-x. 2 jenkins jenkins 103 Oct 5 04:26 .github [2021-10-05T04:27:11.843Z] -rw-rw-r--. 1 jenkins jenkins 336 Oct 5 04:26 .gitignore [2021-10-05T04:27:11.843Z] -rw-r--r--. 1 jenkins jenkins 271 Oct 5 04:27 go.mod [2021-10-05T04:27:11.843Z] -rw-r--r--. 1 jenkins jenkins 20570 Oct 5 04:26 go.sum [2021-10-05T04:27:11.843Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 5 04:26 GOVERNANCE.md [2021-10-05T04:27:11.843Z] -rw-rw-r--. 1 jenkins jenkins 680 Oct 5 04:26 Jenkinsfile [2021-10-05T04:27:11.843Z] -rw-rw-r--. 1 jenkins jenkins 11340 Oct 5 04:26 LICENSE [2021-10-05T04:27:11.843Z] -rw-rw-r--. 1 jenkins jenkins 996 Oct 5 04:26 Makefile [2021-10-05T04:27:11.843Z] -rw-rw-r--. 1 jenkins jenkins 620 Oct 5 04:26 OWNERS.md [2021-10-05T04:27:11.843Z] -rw-rw-r--. 1 jenkins jenkins 7661 Oct 5 04:26 README.md [2021-10-05T04:27:11.843Z] drwxrwxr-x. 4 jenkins jenkins 71 Oct 5 04:26 snap [2021-10-05T04:27:11.843Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 5 04:16 VERSION [2021-10-05T04:27:11.843Z] -rw-rw-r--. 1 jenkins jenkins 713 Oct 5 04:26 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-05T04:27:12.163Z] + 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=f936d1d1683ba476397a484ca69f178832238efe --label arch=amd64 --label version=0.0.0 . [2021-10-05T04:27:12.163Z] Sending build context to Docker daemon 129kB [2021-10-05T04:27:12.163Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.14 [2021-10-05T04:27:12.163Z] Step 2/25 : FROM ${BASE} AS builder [2021-10-05T04:27:12.163Z] ---> 727c6657b6f7 [2021-10-05T04:27:12.163Z] Step 3/25 : ARG MAKE='make build' [2021-10-05T04:27:12.163Z] ---> Running in 03b9333a8114 [2021-10-05T04:27:12.163Z] Removing intermediate container 03b9333a8114 [2021-10-05T04:27:12.163Z] ---> ed7608c497a9 [2021-10-05T04:27:12.163Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-05T04:27:12.163Z] ---> Running in 973259ecb1b4 [2021-10-05T04:27:12.435Z] Removing intermediate container 973259ecb1b4 [2021-10-05T04:27:12.435Z] ---> 095939190356 [2021-10-05T04:27:12.435Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-10-05T04:27:12.435Z] ---> Running in 10b8cd6d21ac [2021-10-05T04:27:12.435Z] Removing intermediate container 10b8cd6d21ac [2021-10-05T04:27:12.435Z] ---> 5de174fe0b7c [2021-10-05T04:27:12.435Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-05T04:27:12.435Z] ---> Running in f773269e554f [2021-10-05T04:27:13.024Z] Removing intermediate container f773269e554f [2021-10-05T04:27:13.024Z] ---> 9b9913f73fc3 [2021-10-05T04:27:13.024Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-05T04:27:13.024Z] ---> Running in 0532eef522b8 [2021-10-05T04:27:13.290Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-10-05T04:27:14.243Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-10-05T04:27:14.244Z] OK: 223 MiB in 55 packages [2021-10-05T04:27:14.509Z] Removing intermediate container 0532eef522b8 [2021-10-05T04:27:14.510Z] ---> 9468cb2b0bfa [2021-10-05T04:27:14.510Z] Step 8/25 : WORKDIR /device-rest-go [2021-10-05T04:27:14.510Z] ---> Running in 9498ccc49c0e [2021-10-05T04:27:14.775Z] Removing intermediate container 9498ccc49c0e [2021-10-05T04:27:14.775Z] ---> 8921de6690b9 [2021-10-05T04:27:14.775Z] Step 9/25 : COPY . . [2021-10-05T04:27:14.775Z] ---> 38534c237670 [2021-10-05T04:27:14.775Z] Step 10/25 : RUN go mod tidy [2021-10-05T04:27:15.051Z] ---> Running in c8a3084b551a [2021-10-05T04:27:15.678Z] Removing intermediate container c8a3084b551a [2021-10-05T04:27:15.678Z] ---> 16a94c26dbef [2021-10-05T04:27:15.678Z] Step 11/25 : RUN make update [2021-10-05T04:27:15.678Z] ---> Running in 366314873a39 [2021-10-05T04:27:15.944Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-10-05T04:27:16.213Z] Removing intermediate container 366314873a39 [2021-10-05T04:27:16.213Z] ---> 660529b2d2b0 [2021-10-05T04:27:16.213Z] Step 12/25 : RUN $MAKE [2021-10-05T04:27:16.213Z] ---> Running in 0c6f15d072e2 [2021-10-05T04:27:16.483Z] go mod tidy [2021-10-05T04:27:16.483Z] 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-10-05T04:27:28.880Z] Removing intermediate container 0c6f15d072e2 [2021-10-05T04:27:28.880Z] ---> 7e78e0d68329 [2021-10-05T04:27:28.880Z] Step 13/25 : FROM alpine:3.14 [2021-10-05T04:27:28.880Z] 3.14: Pulling from library/alpine [2021-10-05T04:27:28.880Z] a0d0a0d46f8b: Pulling fs layer [2021-10-05T04:27:28.880Z] a0d0a0d46f8b: Download complete [2021-10-05T04:27:28.880Z] a0d0a0d46f8b: Pull complete [2021-10-05T04:27:28.880Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-05T04:27:29.148Z] Status: Downloaded newer image for alpine:3.14 [2021-10-05T04:27:29.148Z] ---> 14119a10abf4 [2021-10-05T04:27:29.148Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-10-05T04:27:29.148Z] ---> Running in 3b3efd1fd90f [2021-10-05T04:27:29.148Z] Removing intermediate container 3b3efd1fd90f [2021-10-05T04:27:29.148Z] ---> e213a6965818 [2021-10-05T04:27:29.148Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-10-05T04:27:29.148Z] ---> Running in 76e1e027fef1 [2021-10-05T04:27:29.415Z] Removing intermediate container 76e1e027fef1 [2021-10-05T04:27:29.415Z] ---> c9fa6b629c21 [2021-10-05T04:27:29.415Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-10-05T04:27:29.415Z] ---> Running in 49ae6d27df52 [2021-10-05T04:27:29.680Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-05T04:27:29.680Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-05T04:27:29.916Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1689 in /w/workspace/gexfoundry_device-rest-go_PR-135 [Pipeline] { [Pipeline] ws [2021-10-05T04:27:29.935Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [2021-10-05T04:27:29.946Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-10-05T04:27:29.946Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-10-05T04:27:29.946Z] (3/6) Installing libsodium (1.0.18-r0) [2021-10-05T04:27:29.946Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-05T04:27:29.946Z] (5/6) Installing libzmq (4.3.4-r0) [2021-10-05T04:27:29.946Z] (6/6) Installing zeromq (4.3.4-r0) [2021-10-05T04:27:29.946Z] Executing busybox-1.33.1-r3.trigger [2021-10-05T04:27:29.946Z] OK: 8 MiB in 20 packages [Pipeline] checkout [2021-10-05T04:27:30.213Z] Removing intermediate container 49ae6d27df52 [2021-10-05T04:27:30.213Z] ---> b0b35c535b86 [2021-10-05T04:27:30.213Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-10-05T04:27:30.351Z] The recommended git tool is: git [2021-10-05T04:27:30.482Z] ---> 37a5a9f09e15 [2021-10-05T04:27:30.482Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-10-05T04:27:30.751Z] ---> 795c9d50b0bb [2021-10-05T04:27:30.751Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-10-05T04:27:30.751Z] ---> 2c9296ae5ade [2021-10-05T04:27:30.751Z] Step 20/25 : EXPOSE 59986 [2021-10-05T04:27:30.751Z] ---> Running in 00d1b9788b72 [2021-10-05T04:27:31.019Z] Removing intermediate container 00d1b9788b72 [2021-10-05T04:27:31.019Z] ---> 3f0a3e5cd7d9 [2021-10-05T04:27:31.019Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-10-05T04:27:31.019Z] ---> Running in 55bcfad6d96f [2021-10-05T04:27:31.019Z] Removing intermediate container 55bcfad6d96f [2021-10-05T04:27:31.019Z] ---> f256bea2e365 [2021-10-05T04:27:31.019Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-10-05T04:27:31.019Z] ---> Running in 3672edec0f39 [2021-10-05T04:27:31.019Z] Removing intermediate container 3672edec0f39 [2021-10-05T04:27:31.019Z] ---> 4b0a77e1955f [2021-10-05T04:27:31.019Z] Step 23/25 : LABEL arch=amd64 [2021-10-05T04:27:31.295Z] ---> Running in 80d0586c39ea [2021-10-05T04:27:31.295Z] Removing intermediate container 80d0586c39ea [2021-10-05T04:27:31.295Z] ---> 7f6ed72fcb9c [2021-10-05T04:27:31.295Z] Step 24/25 : LABEL git_sha=f936d1d1683ba476397a484ca69f178832238efe [2021-10-05T04:27:31.295Z] ---> Running in 559d9bc8b322 [2021-10-05T04:27:31.295Z] Removing intermediate container 559d9bc8b322 [2021-10-05T04:27:31.295Z] ---> 02c3f9814d3f [2021-10-05T04:27:31.295Z] Step 25/25 : LABEL version=0.0.0 [2021-10-05T04:27:31.295Z] ---> Running in e16ce49c2855 [2021-10-05T04:27:31.566Z] Removing intermediate container e16ce49c2855 [2021-10-05T04:27:31.566Z] ---> 1ec7b98c853f [2021-10-05T04:27:31.566Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-05T04:27:31.566Z] Successfully built 1ec7b98c853f [2021-10-05T04:27:31.566Z] 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-10-05T04:27:32.368Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-05T04:27:32.368Z] [2021-10-05T04:27:32.368Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-05T04:27:32.725Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-05T04:27:32.725Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-05T04:27:32.725Z] b4d181a07f80: Pulling fs layer [2021-10-05T04:27:32.725Z] a1111a8f2ec3: Pulling fs layer [2021-10-05T04:27:32.725Z] ed53099fbce6: Pulling fs layer [2021-10-05T04:27:32.725Z] dc539afda2c1: Pulling fs layer [2021-10-05T04:27:32.725Z] 77bc0d833cb6: Pulling fs layer [2021-10-05T04:27:32.725Z] 9065ff56babe: Pulling fs layer [2021-10-05T04:27:32.725Z] d287ab97295c: Pulling fs layer [2021-10-05T04:27:32.725Z] 77bc0d833cb6: Waiting [2021-10-05T04:27:32.725Z] 9065ff56babe: Waiting [2021-10-05T04:27:32.725Z] d287ab97295c: Waiting [2021-10-05T04:27:32.725Z] dc539afda2c1: Waiting [2021-10-05T04:27:32.725Z] a1111a8f2ec3: Verifying Checksum [2021-10-05T04:27:32.725Z] a1111a8f2ec3: Download complete [2021-10-05T04:27:33.004Z] dc539afda2c1: Verifying Checksum [2021-10-05T04:27:33.004Z] dc539afda2c1: Download complete [2021-10-05T04:27:33.004Z] ed53099fbce6: Verifying Checksum [2021-10-05T04:27:33.004Z] ed53099fbce6: Download complete [2021-10-05T04:27:33.004Z] 9065ff56babe: Verifying Checksum [2021-10-05T04:27:33.004Z] 9065ff56babe: Download complete [2021-10-05T04:27:33.004Z] 77bc0d833cb6: Verifying Checksum [2021-10-05T04:27:33.004Z] 77bc0d833cb6: Download complete [2021-10-05T04:27:33.004Z] b4d181a07f80: Verifying Checksum [2021-10-05T04:27:33.004Z] b4d181a07f80: Download complete [2021-10-05T04:27:33.981Z] d287ab97295c: Verifying Checksum [2021-10-05T04:27:33.981Z] d287ab97295c: Download complete [2021-10-05T04:27:34.580Z] b4d181a07f80: Pull complete [2021-10-05T04:27:34.863Z] a1111a8f2ec3: Pull complete [2021-10-05T04:27:35.461Z] ed53099fbce6: Pull complete [2021-10-05T04:27:35.461Z] dc539afda2c1: Pull complete [2021-10-05T04:27:35.735Z] 77bc0d833cb6: Pull complete [2021-10-05T04:27:35.735Z] 9065ff56babe: Pull complete [2021-10-05T04:27:36.876Z] using credential edgex-jenkins-ssh [2021-10-05T04:27:36.905Z] Cloning the remote Git repository [2021-10-05T04:27:36.989Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-10-05T04:27:37.122Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2021-10-05T04:27:37.218Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-10-05T04:27:37.219Z] > git --version # timeout=10 [2021-10-05T04:27:37.236Z] > git --version # 'git version 2.17.1' [2021-10-05T04:27:37.238Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-05T04:27:37.336Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-05T04:27:39.066Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-10-05T04:27:39.085Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-05T04:27:39.112Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-10-05T04:27:39.158Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-10-05T04:27:39.159Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-05T04:27:39.173Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/135/head:refs/remotes/origin/PR-135 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-05T04:27:39.814Z] Merging remotes/origin/main commit 394630684c4f2c5fa0b05acfafc8d275cc2ae64c into PR head commit f936d1d1683ba476397a484ca69f178832238efe [2021-10-05T04:27:40.032Z] Merge succeeded, producing f936d1d1683ba476397a484ca69f178832238efe [2021-10-05T04:27:40.033Z] Checking out Revision f936d1d1683ba476397a484ca69f178832238efe (PR-135) [2021-10-05T04:27:39.846Z] > git config core.sparsecheckout # timeout=10 [2021-10-05T04:27:39.857Z] > git checkout -f f936d1d1683ba476397a484ca69f178832238efe # timeout=10 [2021-10-05T04:27:39.954Z] > git remote # timeout=10 [2021-10-05T04:27:39.983Z] > git config --get remote.origin.url # timeout=10 [2021-10-05T04:27:39.996Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-05T04:27:40.006Z] > git merge 394630684c4f2c5fa0b05acfafc8d275cc2ae64c # timeout=10 [2021-10-05T04:27:40.028Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-05T04:27:40.052Z] > git config core.sparsecheckout # timeout=10 [2021-10-05T04:27:40.064Z] > git checkout -f f936d1d1683ba476397a484ca69f178832238efe # timeout=10 [2021-10-05T04:27:41.104Z] d287ab97295c: Pull complete [2021-10-05T04:27:41.104Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-05T04:27:41.104Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-05T04:27:41.104Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-05T04:27:41.192Z] prd-centos7-docker-4c-2g-1686 does not seem to be running inside a container [2021-10-05T04:27:41.255Z] $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-05T04:27:43.799Z] $ docker top 9c8de97d6d9790bfb0369aa76950ea0d91a0656e77542838ca07d1055e77d3b2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-05T04:27:44.256Z] ---> job-cost.sh [2021-10-05T04:27:44.256Z] lf-activate-venv: SKIPPING [2021-10-05T04:27:44.256Z] INFO: No Stack... [2021-10-05T04:27:44.597Z] Commit message: "ci: Update PR Template" [2021-10-05T04:27:44.830Z] [2021-10-05T04:27:44.830Z] GitHub has been notified of this commit’s build result [2021-10-05T04:27:44.830Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-05T04:27:44.952Z] provisioning config files... [2021-10-05T04:27:44.992Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config5522969307460817801tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-05T04:27:45.214Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-05T04:27:45.663Z] ---> docker-login.sh [2021-10-05T04:27:45.663Z] nexus3.edgexfoundry.org:10001 [2021-10-05T04:27:45.806Z] INFO: Archiving Costs [Pipeline] sh [2021-10-05T04:27:46.119Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [2021-10-05T04:27:46.119Z] + cut -d, -f6 [Pipeline] lock [2021-10-05T04:27:46.158Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-135-2-stack-cost] [2021-10-05T04:27:46.172Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-135-2-stack-cost] did not exist. Created. [2021-10-05T04:27:46.172Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-135-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-05T04:27:46.511Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-05T04:27:46.556Z] Stashed 1 file(s) [Pipeline] } [2021-10-05T04:27:46.569Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-135-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-05T04:27:46.598Z] $ docker stop --time=1 9c8de97d6d9790bfb0369aa76950ea0d91a0656e77542838ca07d1055e77d3b2 [2021-10-05T04:27:47.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T04:27:47.438Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T04:27:47.438Z] Configure a credential helper to remove this warning. See [2021-10-05T04:27:47.438Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T04:27:47.438Z] [2021-10-05T04:27:47.438Z] Login Succeeded [2021-10-05T04:27:47.438Z] nexus3.edgexfoundry.org:10002 [2021-10-05T04:27:47.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T04:27:47.746Z] $ docker rm -f 9c8de97d6d9790bfb0369aa76950ea0d91a0656e77542838ca07d1055e77d3b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [2021-10-05T04:27:48.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T04:27:48.012Z] Configure a credential helper to remove this warning. See [2021-10-05T04:27:48.012Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T04:27:48.012Z] [2021-10-05T04:27:48.012Z] Login Succeeded [2021-10-05T04:27:48.012Z] nexus3.edgexfoundry.org:10003 [Pipeline] // stage [Pipeline] } [2021-10-05T04:27:48.293Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T04:27:48.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T04:27:48.580Z] Configure a credential helper to remove this warning. See [2021-10-05T04:27:48.580Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T04:27:48.580Z] [2021-10-05T04:27:48.580Z] Login Succeeded [2021-10-05T04:27:48.580Z] nexus3.edgexfoundry.org:10004 [2021-10-05T04:27:48.936Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T04:27:49.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T04:27:49.240Z] Configure a credential helper to remove this warning. See [2021-10-05T04:27:49.240Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T04:27:49.240Z] [2021-10-05T04:27:49.240Z] Login Succeeded [2021-10-05T04:27:49.240Z] docker.io [2021-10-05T04:27:49.525Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-05T04:27:50.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-05T04:27:50.150Z] Configure a credential helper to remove this warning. See [2021-10-05T04:27:50.150Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-05T04:27:50.150Z] [2021-10-05T04:27:50.150Z] Login Succeeded [2021-10-05T04:27:50.150Z] ---> docker-login.sh ends [Pipeline] } [2021-10-05T04:27:50.264Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-05T04:27:50.799Z] ========================================================= [2021-10-05T04:27:50.799Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-05T04:27:50.799Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-05T04:27:51.202Z] + 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-10-05T04:27:51.202Z] Sending build context to Docker daemon 119.8kB [2021-10-05T04:27:51.486Z] Step 1/12 : ARG BASE=golang:1.16-alpine3.14 [2021-10-05T04:27:51.486Z] Step 2/12 : FROM ${BASE} AS builder [2021-10-05T04:27:51.768Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-05T04:27:51.768Z] 595b0fe564bb: Pulling fs layer [2021-10-05T04:27:51.768Z] 24495759ef45: Pulling fs layer [2021-10-05T04:27:51.768Z] d148012ef14d: Pulling fs layer [2021-10-05T04:27:51.768Z] e90a11edd702: Pulling fs layer [2021-10-05T04:27:51.768Z] d77568369979: Pulling fs layer [2021-10-05T04:27:51.768Z] fc1c9f9a7f3b: Pulling fs layer [2021-10-05T04:27:51.768Z] 170f2ba95c9a: Pulling fs layer [2021-10-05T04:27:51.768Z] 97ac5df62f85: Pulling fs layer [2021-10-05T04:27:51.768Z] e90a11edd702: Waiting [2021-10-05T04:27:51.768Z] d77568369979: Waiting [2021-10-05T04:27:51.768Z] fc1c9f9a7f3b: Waiting [2021-10-05T04:27:51.768Z] 97ac5df62f85: Waiting [2021-10-05T04:27:51.768Z] 170f2ba95c9a: Waiting [2021-10-05T04:27:51.768Z] d148012ef14d: Download complete [2021-10-05T04:27:52.055Z] 24495759ef45: Verifying Checksum [2021-10-05T04:27:52.055Z] 24495759ef45: Download complete [2021-10-05T04:27:52.055Z] d77568369979: Verifying Checksum [2021-10-05T04:27:52.055Z] d77568369979: Download complete [2021-10-05T04:27:52.055Z] fc1c9f9a7f3b: Verifying Checksum [2021-10-05T04:27:52.055Z] fc1c9f9a7f3b: Download complete [2021-10-05T04:27:52.055Z] 170f2ba95c9a: Verifying Checksum [2021-10-05T04:27:52.055Z] 170f2ba95c9a: Download complete [2021-10-05T04:27:52.055Z] 595b0fe564bb: Verifying Checksum [2021-10-05T04:27:52.055Z] 595b0fe564bb: Download complete [2021-10-05T04:27:53.082Z] 595b0fe564bb: Pull complete [2021-10-05T04:27:53.372Z] 24495759ef45: Pull complete [2021-10-05T04:27:54.004Z] d148012ef14d: Pull complete [2021-10-05T04:27:54.289Z] 97ac5df62f85: Verifying Checksum [2021-10-05T04:27:54.289Z] 97ac5df62f85: Download complete [2021-10-05T04:27:54.574Z] e90a11edd702: Verifying Checksum [2021-10-05T04:27:54.574Z] e90a11edd702: Download complete [2021-10-05T04:28:04.860Z] e90a11edd702: Pull complete [2021-10-05T04:28:04.860Z] d77568369979: Pull complete [2021-10-05T04:28:04.860Z] fc1c9f9a7f3b: Pull complete [2021-10-05T04:28:04.860Z] 170f2ba95c9a: Pull complete [2021-10-05T04:28:11.728Z] 97ac5df62f85: Pull complete [2021-10-05T04:28:11.728Z] Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 [2021-10-05T04:28:11.728Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-05T04:28:11.728Z] ---> 04bc70af865f [2021-10-05T04:28:11.728Z] Step 3/12 : ARG MAKE='make build' [2021-10-05T04:28:15.221Z] ---> Running in 72db7ee9454b [2021-10-05T04:28:15.849Z] Removing intermediate container 72db7ee9454b [2021-10-05T04:28:15.849Z] ---> f30be9728264 [2021-10-05T04:28:15.849Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-05T04:28:15.849Z] ---> Running in ee9e1647d72e [2021-10-05T04:28:16.470Z] Removing intermediate container ee9e1647d72e [2021-10-05T04:28:16.470Z] ---> 7a5269abc378 [2021-10-05T04:28:16.470Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2021-10-05T04:28:16.470Z] ---> Running in d3e0b67f7a6c [2021-10-05T04:28:17.097Z] Removing intermediate container d3e0b67f7a6c [2021-10-05T04:28:17.097Z] ---> ef590d1c3cc9 [2021-10-05T04:28:17.097Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-05T04:28:17.097Z] ---> Running in 8bd8be9e409b [2021-10-05T04:28:19.784Z] Removing intermediate container 8bd8be9e409b [2021-10-05T04:28:19.784Z] ---> f50971cf7238 [2021-10-05T04:28:19.784Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-05T04:28:19.784Z] ---> Running in 9954b92bb8e0 [2021-10-05T04:28:21.263Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-10-05T04:28:22.282Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-10-05T04:28:22.901Z] (1/3) Installing openssh-keygen (8.4_p1-r3) [2021-10-05T04:28:22.901Z] (2/3) Installing libedit (20191231.3.1-r1) [2021-10-05T04:28:22.901Z] (3/3) Installing openssh-client (8.4_p1-r3) [2021-10-05T04:28:23.190Z] Executing busybox-1.32.1-r6.trigger [2021-10-05T04:28:23.190Z] OK: 222 MiB in 55 packages [2021-10-05T04:28:24.677Z] Removing intermediate container 9954b92bb8e0 [2021-10-05T04:28:24.677Z] ---> e2f4ec594ad6 [2021-10-05T04:28:24.677Z] Step 8/12 : WORKDIR /device-rest-go [2021-10-05T04:28:24.968Z] ---> Running in 788b48778ab5 [2021-10-05T04:28:25.252Z] Removing intermediate container 788b48778ab5 [2021-10-05T04:28:25.252Z] ---> 2a204b3cad99 [2021-10-05T04:28:25.252Z] Step 9/12 : COPY . . [2021-10-05T04:28:26.260Z] ---> 4715858c67fd [2021-10-05T04:28:26.260Z] Step 10/12 : RUN go mod tidy [2021-10-05T04:28:26.260Z] ---> Running in 26ba5f24e7d6 [2021-10-05T04:28:28.944Z] go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.0.0 [2021-10-05T04:28:28.944Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 [2021-10-05T04:28:28.944Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-10-05T04:28:29.229Z] go: downloading github.com/spf13/cast v1.4.1 [2021-10-05T04:28:29.229Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-10-05T04:28:29.229Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 [2021-10-05T04:28:29.229Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 [2021-10-05T04:28:29.229Z] go: downloading github.com/google/uuid v1.2.0 [2021-10-05T04:28:29.229Z] go: downloading github.com/go-playground/validator/v10 v10.6.1 [2021-10-05T04:28:29.229Z] go: downloading github.com/go-kit/kit v0.9.0 [2021-10-05T04:28:29.514Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2021-10-05T04:28:29.514Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-10-05T04:28:29.514Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-10-05T04:28:29.514Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2021-10-05T04:28:29.514Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 [2021-10-05T04:28:29.799Z] go: downloading github.com/pelletier/go-toml v1.9.2 [2021-10-05T04:28:29.799Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2021-10-05T04:28:29.799Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 [2021-10-05T04:28:29.799Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 [2021-10-05T04:28:29.799Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2021-10-05T04:28:30.088Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2021-10-05T04:28:30.088Z] go: downloading github.com/leodido/go-urn v1.2.0 [2021-10-05T04:28:30.088Z] go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 [2021-10-05T04:28:30.088Z] go: downloading golang.org/x/text v0.3.2 [2021-10-05T04:28:30.088Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-10-05T04:28:30.088Z] go: downloading github.com/go-playground/locales v0.13.0 [2021-10-05T04:28:32.780Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2021-10-05T04:28:32.780Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-10-05T04:28:32.780Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-10-05T04:28:33.063Z] go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2021-10-05T04:28:33.063Z] go: downloading github.com/hashicorp/consul/api v1.8.1 [2021-10-05T04:28:33.063Z] go: downloading github.com/x448/float16 v0.8.4 [2021-10-05T04:28:33.063Z] go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd [2021-10-05T04:28:33.063Z] go: downloading github.com/stretchr/objx v0.1.0 [2021-10-05T04:28:33.063Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-10-05T04:28:33.348Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-10-05T04:28:33.349Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-10-05T04:28:33.349Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-10-05T04:28:33.349Z] go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2021-10-05T04:28:33.349Z] go: downloading github.com/kr/pretty v0.2.0 [2021-10-05T04:28:33.349Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-10-05T04:28:33.349Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-10-05T04:28:33.349Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-10-05T04:28:33.632Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-10-05T04:28:33.632Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-10-05T04:28:33.632Z] go: downloading github.com/hashicorp/consul/sdk v0.7.0 [2021-10-05T04:28:33.632Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-10-05T04:28:33.632Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-10-05T04:28:33.632Z] go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 [2021-10-05T04:28:33.916Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-10-05T04:28:33.916Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-10-05T04:28:33.916Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2021-10-05T04:28:33.916Z] go: downloading github.com/onsi/gomega v1.7.0 [2021-10-05T04:28:33.916Z] go: downloading github.com/kr/text v0.1.0 [2021-10-05T04:28:34.201Z] go: downloading github.com/fatih/color v1.9.0 [2021-10-05T04:28:34.201Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-10-05T04:28:34.201Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-10-05T04:28:34.201Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-10-05T04:28:34.201Z] go: downloading github.com/pkg/errors v0.8.1 [2021-10-05T04:28:34.201Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-10-05T04:28:34.201Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-10-05T04:28:34.201Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2021-10-05T04:28:34.201Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-10-05T04:28:34.486Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-10-05T04:28:34.486Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-10-05T04:28:34.486Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-10-05T04:28:34.486Z] go: downloading github.com/hpcloud/tail v1.0.0 [2021-10-05T04:28:34.486Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2021-10-05T04:28:34.486Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2021-10-05T04:28:34.486Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2021-10-05T04:28:34.486Z] go: downloading github.com/miekg/dns v1.1.26 [2021-10-05T04:28:34.770Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-10-05T04:28:34.770Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-10-05T04:28:34.770Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2021-10-05T04:28:34.770Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-10-05T04:28:34.770Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2021-10-05T04:28:50.024Z] Removing intermediate container 26ba5f24e7d6 [2021-10-05T04:28:50.024Z] ---> 0dae7837d363 [2021-10-05T04:28:50.024Z] Step 11/12 : RUN make update [2021-10-05T04:28:50.024Z] ---> Running in 67a1955f172f [2021-10-05T04:28:50.024Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-10-05T04:28:56.829Z] Removing intermediate container 67a1955f172f [2021-10-05T04:28:56.829Z] ---> d207f5f27be0 [2021-10-05T04:28:56.829Z] Step 12/12 : RUN $MAKE [2021-10-05T04:28:56.829Z] ---> Running in 150d5edba9a3 [2021-10-05T04:28:57.443Z] noop [2021-10-05T04:28:58.451Z] Removing intermediate container 150d5edba9a3 [2021-10-05T04:28:58.451Z] ---> 95cbb9b9d9db [2021-10-05T04:28:58.451Z] Successfully built 95cbb9b9d9db [2021-10-05T04:28:58.451Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-05T04:28:58.853Z] + docker inspect -f . ci-base-image-arm64 [2021-10-05T04:28:58.853Z] . [Pipeline] withDockerContainer [2021-10-05T04:28:59.114Z] prd-ubuntu18.04-docker-arm64-4c-16g-1689 does not seem to be running inside a container [2021-10-05T04:28:59.253Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-05T04:29:00.891Z] $ docker top fad856dca36efe5aac84dc6e685e9209bf67ab4ed157aeb74ae36be78afe392c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-05T04:29:01.929Z] + go version [2021-10-05T04:29:01.929Z] go version go1.16.6 linux/arm64 [Pipeline] } [2021-10-05T04:29:01.989Z] $ docker stop --time=1 fad856dca36efe5aac84dc6e685e9209bf67ab4ed157aeb74ae36be78afe392c [2021-10-05T04:29:03.909Z] $ docker rm -f fad856dca36efe5aac84dc6e685e9209bf67ab4ed157aeb74ae36be78afe392c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-05T04:29:04.828Z] + docker inspect -f . ci-base-image-arm64 [2021-10-05T04:29:04.828Z] . [Pipeline] withDockerContainer [2021-10-05T04:29:05.122Z] prd-ubuntu18.04-docker-arm64-4c-16g-1689 does not seem to be running inside a container [2021-10-05T04:29:05.264Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-05T04:29:06.948Z] $ docker top dfe7ba336b57c2f9f5125d4a54a21730529070ce2f1dd3fa6b5d4af432d755a8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-05T04:29:07.978Z] + go mod tidy [Pipeline] sh [2021-10-05T04:29:09.357Z] + make test [2021-10-05T04:29:09.357Z] go mod tidy [2021-10-05T04:29:09.980Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-10-05T04:29:11.004Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-10-05T04:30:07.856Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-10-05T04:30:07.856Z] ok github.com/edgexfoundry/device-rest-go/driver 0.053s coverage: 53.8% of statements [2021-10-05T04:30:07.856Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-10-05T04:30:30.285Z] gofmt -l . [2021-10-05T04:30:30.285Z] [ "`gofmt -l .`" = "" ] [2021-10-05T04:30:30.285Z] ./bin/test-go-mod-tidy.sh [2021-10-05T04:30:30.285Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-05T04:30:31.391Z] $ docker stop --time=1 dfe7ba336b57c2f9f5125d4a54a21730529070ce2f1dd3fa6b5d4af432d755a8 [2021-10-05T04:30:33.525Z] $ docker rm -f dfe7ba336b57c2f9f5125d4a54a21730529070ce2f1dd3fa6b5d4af432d755a8 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-05T04:30:34.462Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-05T04:30:34.504Z] Warning: overwriting stash ‘coverage-report’ [2021-10-05T04:30:35.182Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-05T04:30:35.865Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-05T04:30:36.240Z] + ls -al . [2021-10-05T04:30:36.240Z] total 144 [2021-10-05T04:30:36.240Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 5 04:30 . [2021-10-05T04:30:36.240Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 04:27 .. [2021-10-05T04:30:36.240Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 5 04:27 .dockerignore [2021-10-05T04:30:36.240Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 5 04:27 .git [2021-10-05T04:30:36.240Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 04:27 .github [2021-10-05T04:30:36.240Z] -rw-rw-r-- 1 jenkins jenkins 336 Oct 5 04:27 .gitignore [2021-10-05T04:30:36.240Z] -rw-rw-r-- 1 jenkins jenkins 6792 Oct 5 04:27 Attribution.txt [2021-10-05T04:30:36.240Z] -rw-rw-r-- 1 jenkins jenkins 7459 Oct 5 04:27 CHANGELOG.md [2021-10-05T04:30:36.240Z] -rw-rw-r-- 1 jenkins jenkins 1615 Oct 5 04:27 Dockerfile [2021-10-05T04:30:36.240Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 5 04:27 GOVERNANCE.md [2021-10-05T04:30:36.240Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 5 04:27 Jenkinsfile [2021-10-05T04:30:36.240Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 5 04:27 LICENSE [2021-10-05T04:30:36.240Z] -rw-rw-r-- 1 jenkins jenkins 996 Oct 5 04:27 Makefile [2021-10-05T04:30:36.240Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 5 04:27 OWNERS.md [2021-10-05T04:30:36.240Z] -rw-rw-r-- 1 jenkins jenkins 7661 Oct 5 04:27 README.md [2021-10-05T04:30:36.240Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 5 04:16 VERSION [2021-10-05T04:30:36.240Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 04:27 bin [2021-10-05T04:30:36.240Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 04:27 cmd [2021-10-05T04:30:36.240Z] -rw-r--r-- 1 jenkins jenkins 8435 Oct 5 04:30 coverage.out [2021-10-05T04:30:36.240Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 04:27 driver [2021-10-05T04:30:36.240Z] -rw-r--r-- 1 jenkins jenkins 271 Oct 5 04:30 go.mod [2021-10-05T04:30:36.240Z] -rw-r--r-- 1 jenkins jenkins 20570 Oct 5 04:29 go.sum [2021-10-05T04:30:36.240Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 04:27 snap [2021-10-05T04:30:36.240Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 5 04:27 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-05T04:30:36.621Z] + 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=f936d1d1683ba476397a484ca69f178832238efe --label arch=arm64 --label version=0.0.0 . [2021-10-05T04:30:36.621Z] Sending build context to Docker daemon 129kB [2021-10-05T04:30:37.239Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.14 [2021-10-05T04:30:37.239Z] Step 2/25 : FROM ${BASE} AS builder [2021-10-05T04:30:37.239Z] ---> 95cbb9b9d9db [2021-10-05T04:30:37.239Z] Step 3/25 : ARG MAKE='make build' [2021-10-05T04:30:37.239Z] ---> Running in cf3fbba35cd7 [2021-10-05T04:30:37.858Z] Removing intermediate container cf3fbba35cd7 [2021-10-05T04:30:37.858Z] ---> 95c52bf35b0c [2021-10-05T04:30:37.858Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-05T04:30:37.858Z] ---> Running in ea9f1ab6e92c [2021-10-05T04:30:38.474Z] Removing intermediate container ea9f1ab6e92c [2021-10-05T04:30:38.474Z] ---> dfe4bcf8e78e [2021-10-05T04:30:38.474Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-10-05T04:30:38.474Z] ---> Running in 426bcd00328c [2021-10-05T04:30:39.102Z] Removing intermediate container 426bcd00328c [2021-10-05T04:30:39.102Z] ---> 396bf9750058 [2021-10-05T04:30:39.102Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-05T04:30:39.394Z] ---> Running in ddd994720a69 [2021-10-05T04:30:42.084Z] Removing intermediate container ddd994720a69 [2021-10-05T04:30:42.084Z] ---> af2b02881d06 [2021-10-05T04:30:42.084Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-05T04:30:42.084Z] ---> Running in 30098b04ba7b [2021-10-05T04:30:43.096Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-10-05T04:30:44.568Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-10-05T04:30:45.190Z] OK: 222 MiB in 55 packages [2021-10-05T04:30:46.676Z] Removing intermediate container 30098b04ba7b [2021-10-05T04:30:46.676Z] ---> 81ef8c2264ae [2021-10-05T04:30:46.676Z] Step 8/25 : WORKDIR /device-rest-go [2021-10-05T04:30:46.676Z] ---> Running in db029d5250e9 [2021-10-05T04:30:46.960Z] Removing intermediate container db029d5250e9 [2021-10-05T04:30:46.960Z] ---> bd36831a3164 [2021-10-05T04:30:46.961Z] Step 9/25 : COPY . . [2021-10-05T04:30:47.975Z] ---> a83e02989fa1 [2021-10-05T04:30:47.975Z] Step 10/25 : RUN go mod tidy [2021-10-05T04:30:48.258Z] ---> Running in 535f563d9925 [2021-10-05T04:30:50.956Z] Removing intermediate container 535f563d9925 [2021-10-05T04:30:50.956Z] ---> 2a736b7e77b6 [2021-10-05T04:30:50.956Z] Step 11/25 : RUN make update [2021-10-05T04:30:50.956Z] ---> Running in a3ef529bf7c8 [2021-10-05T04:30:52.434Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-10-05T04:30:53.448Z] Removing intermediate container a3ef529bf7c8 [2021-10-05T04:30:53.448Z] ---> 70a727172ee0 [2021-10-05T04:30:53.448Z] Step 12/25 : RUN $MAKE [2021-10-05T04:30:53.448Z] ---> Running in 8198fcab30f0 [2021-10-05T04:30:54.926Z] go mod tidy [2021-10-05T04:30:55.211Z] 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-10-05T04:31:34.463Z] Removing intermediate container 8198fcab30f0 [2021-10-05T04:31:34.463Z] ---> aea40864b27c [2021-10-05T04:31:34.463Z] Step 13/25 : FROM alpine:3.14 [2021-10-05T04:31:34.463Z] 3.14: Pulling from library/alpine [2021-10-05T04:31:34.463Z] 552d1f2373af: Pulling fs layer [2021-10-05T04:31:34.463Z] 552d1f2373af: Verifying Checksum [2021-10-05T04:31:34.463Z] 552d1f2373af: Download complete [2021-10-05T04:31:34.463Z] 552d1f2373af: Pull complete [2021-10-05T04:31:34.463Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-05T04:31:34.463Z] Status: Downloaded newer image for alpine:3.14 [2021-10-05T04:31:34.463Z] ---> bb3de5531c18 [2021-10-05T04:31:34.463Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-10-05T04:31:34.463Z] ---> Running in eb1886410da5 [2021-10-05T04:31:35.081Z] Removing intermediate container eb1886410da5 [2021-10-05T04:31:35.081Z] ---> 40030725bf18 [2021-10-05T04:31:35.081Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-10-05T04:31:35.081Z] ---> Running in 719a498773cb [2021-10-05T04:31:35.698Z] Removing intermediate container 719a498773cb [2021-10-05T04:31:35.698Z] ---> 62f81cbabe33 [2021-10-05T04:31:35.698Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-10-05T04:31:35.698Z] ---> Running in b64a4a5b594a [2021-10-05T04:31:37.172Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-05T04:31:37.172Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-05T04:31:37.789Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-10-05T04:31:37.789Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-10-05T04:31:37.789Z] (3/6) Installing libsodium (1.0.18-r0) [2021-10-05T04:31:37.789Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-05T04:31:37.789Z] (5/6) Installing libzmq (4.3.4-r0) [2021-10-05T04:31:37.789Z] (6/6) Installing zeromq (4.3.4-r0) [2021-10-05T04:31:37.789Z] Executing busybox-1.33.1-r3.trigger [2021-10-05T04:31:37.789Z] OK: 8 MiB in 20 packages [2021-10-05T04:31:39.265Z] Removing intermediate container b64a4a5b594a [2021-10-05T04:31:39.265Z] ---> d268ffd331fe [2021-10-05T04:31:39.265Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-10-05T04:31:40.273Z] ---> 1f94baa8a87d [2021-10-05T04:31:40.273Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-10-05T04:31:40.895Z] ---> c1db84fe7a68 [2021-10-05T04:31:40.895Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-10-05T04:31:41.909Z] ---> 52ce7d57babd [2021-10-05T04:31:41.909Z] Step 20/25 : EXPOSE 59986 [2021-10-05T04:31:41.909Z] ---> Running in 20c6011a99f5 [2021-10-05T04:31:42.527Z] Removing intermediate container 20c6011a99f5 [2021-10-05T04:31:42.527Z] ---> 4593d34747e0 [2021-10-05T04:31:42.527Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-10-05T04:31:42.527Z] ---> Running in 158cb5a709bb [2021-10-05T04:31:43.148Z] Removing intermediate container 158cb5a709bb [2021-10-05T04:31:43.148Z] ---> 9903df6e6dbd [2021-10-05T04:31:43.148Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-10-05T04:31:43.148Z] ---> Running in 830f8ed3bd71 [2021-10-05T04:31:43.765Z] Removing intermediate container 830f8ed3bd71 [2021-10-05T04:31:43.765Z] ---> 730688bdc5e6 [2021-10-05T04:31:43.765Z] Step 23/25 : LABEL arch=arm64 [2021-10-05T04:31:43.765Z] ---> Running in 6db3c715d114 [2021-10-05T04:31:44.384Z] Removing intermediate container 6db3c715d114 [2021-10-05T04:31:44.384Z] ---> 6df6f11e453b [2021-10-05T04:31:44.384Z] Step 24/25 : LABEL git_sha=f936d1d1683ba476397a484ca69f178832238efe [2021-10-05T04:31:44.384Z] ---> Running in 172de176c15d [2021-10-05T04:31:44.668Z] Removing intermediate container 172de176c15d [2021-10-05T04:31:44.668Z] ---> 2312af820cc5 [2021-10-05T04:31:44.668Z] Step 25/25 : LABEL version=0.0.0 [2021-10-05T04:31:44.953Z] ---> Running in 223282d4e4fa [2021-10-05T04:31:45.570Z] Removing intermediate container 223282d4e4fa [2021-10-05T04:31:45.570Z] ---> febff19e1876 [2021-10-05T04:31:45.570Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-05T04:31:45.570Z] Successfully built febff19e1876 [2021-10-05T04:31:45.570Z] 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-10-05T04:31:46.280Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-05T04:31:46.280Z] [2021-10-05T04:31:46.280Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-05T04:31:46.668Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-05T04:31:46.952Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-05T04:31:46.952Z] 448f6bf000e3: Pulling fs layer [2021-10-05T04:31:46.952Z] f757da607395: Pulling fs layer [2021-10-05T04:31:46.952Z] 05883995daec: Pulling fs layer [2021-10-05T04:31:46.952Z] 8603b9c90790: Pulling fs layer [2021-10-05T04:31:46.952Z] 1560dd03e051: Pulling fs layer [2021-10-05T04:31:46.952Z] 27f5ce0e4adf: Pulling fs layer [2021-10-05T04:31:46.952Z] c2d8d7efcc4b: Pulling fs layer [2021-10-05T04:31:46.952Z] 1560dd03e051: Waiting [2021-10-05T04:31:46.952Z] c2d8d7efcc4b: Waiting [2021-10-05T04:31:46.952Z] 27f5ce0e4adf: Waiting [2021-10-05T04:31:46.952Z] 8603b9c90790: Waiting [2021-10-05T04:31:46.952Z] f757da607395: Verifying Checksum [2021-10-05T04:31:46.952Z] f757da607395: Download complete [2021-10-05T04:31:47.245Z] 8603b9c90790: Verifying Checksum [2021-10-05T04:31:47.245Z] 8603b9c90790: Download complete [2021-10-05T04:31:47.529Z] 1560dd03e051: Verifying Checksum [2021-10-05T04:31:47.529Z] 1560dd03e051: Download complete [2021-10-05T04:31:47.529Z] 05883995daec: Verifying Checksum [2021-10-05T04:31:47.529Z] 05883995daec: Download complete [2021-10-05T04:31:47.529Z] 27f5ce0e4adf: Verifying Checksum [2021-10-05T04:31:47.529Z] 27f5ce0e4adf: Download complete [2021-10-05T04:31:48.148Z] 448f6bf000e3: Verifying Checksum [2021-10-05T04:31:48.148Z] 448f6bf000e3: Download complete [2021-10-05T04:31:50.844Z] c2d8d7efcc4b: Verifying Checksum [2021-10-05T04:31:50.844Z] c2d8d7efcc4b: Download complete [2021-10-05T04:31:51.459Z] 448f6bf000e3: Pull complete [2021-10-05T04:31:52.472Z] f757da607395: Pull complete [2021-10-05T04:31:53.954Z] 05883995daec: Pull complete [2021-10-05T04:31:54.238Z] 8603b9c90790: Pull complete [2021-10-05T04:31:55.252Z] 1560dd03e051: Pull complete [2021-10-05T04:31:55.535Z] 27f5ce0e4adf: Pull complete [2021-10-05T04:32:10.782Z] c2d8d7efcc4b: Pull complete [2021-10-05T04:32:10.782Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-05T04:32:10.782Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-05T04:32:10.782Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-05T04:32:11.087Z] prd-ubuntu18.04-docker-arm64-4c-16g-1689 does not seem to be running inside a container [2021-10-05T04:32:11.277Z] $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-05T04:32:15.776Z] $ docker top a66378fa9b4d8a1dcd4aa234fa6dc0c83e46528126f9d3f8fcb75a841a366b52 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-05T04:32:16.695Z] ---> job-cost.sh [2021-10-05T04:32:16.695Z] lf-activate-venv: SKIPPING [2021-10-05T04:32:16.695Z] INFO: No Stack... [2021-10-05T04:32:16.975Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-05T04:32:17.589Z] INFO: Archiving Costs [Pipeline] sh [2021-10-05T04:32:18.307Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [2021-10-05T04:32:18.307Z] + cut -d, -f6 [Pipeline] lock [2021-10-05T04:32:18.396Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-135-2-stack-cost] [2021-10-05T04:32:18.403Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-135-2-stack-cost] did not exist. Created. [2021-10-05T04:32:18.404Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-135-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-05T04:32:19.141Z] /w/workspace/device-rest-go/2@tmp/durable-926ea2ae/script.sh: 1: /w/workspace/device-rest-go/2@tmp/durable-926ea2ae/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-05T04:32:19.855Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-05T04:32:19.895Z] Warning: overwriting stash ‘stack-cost’ [2021-10-05T04:32:19.945Z] Stashed 1 file(s) [Pipeline] } [2021-10-05T04:32:19.955Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-135-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-05T04:32:20.052Z] $ docker stop --time=1 a66378fa9b4d8a1dcd4aa234fa6dc0c83e46528126f9d3f8fcb75a841a366b52 [2021-10-05T04:32:21.630Z] $ docker rm -f a66378fa9b4d8a1dcd4aa234fa6dc0c83e46528126f9d3f8fcb75a841a366b52 [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-10-05T04:32:22.807Z] provisioning config files... [2021-10-05T04:32:22.823Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-135@tmp/config3496246505239489257tmp [Pipeline] { [Pipeline] sh [2021-10-05T04:32:23.161Z] + set +x [2021-10-05T04:32:23.161Z] + curl -s https://codecov.io/bash [2021-10-05T04:32:23.161Z] + bash -s -- [2021-10-05T04:32:23.161Z] [2021-10-05T04:32:23.161Z] _____ _ [2021-10-05T04:32:23.161Z] / ____| | | [2021-10-05T04:32:23.161Z] | | ___ __| | ___ ___ _____ __ [2021-10-05T04:32:23.161Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-10-05T04:32:23.161Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-10-05T04:32:23.161Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-10-05T04:32:23.161Z] Bash-1.0.6 [2021-10-05T04:32:23.161Z] [2021-10-05T04:32:23.161Z] [2021-10-05T04:32:23.161Z] ==> git version 2.24.4 found [2021-10-05T04:32:23.161Z] ==> 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-10-05T04:32:23.161Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-10-05T04:32:23.161Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-10-05T04:32:23.161Z] ==> Jenkins CI detected. [2021-10-05T04:32:23.161Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-135 [2021-10-05T04:32:23.161Z] project root: . [2021-10-05T04:32:23.161Z] --> token set from env [2021-10-05T04:32:23.161Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-10-05T04:32:23.161Z] ==> Running gcov in . (disable via -X gcov) [2021-10-05T04:32:23.161Z] ==> Python coveragepy not found [2021-10-05T04:32:23.161Z] ==> Searching for coverage reports in: [2021-10-05T04:32:23.161Z] + . [2021-10-05T04:32:23.428Z] -> Found 1 reports [2021-10-05T04:32:23.428Z] ==> Detecting git/mercurial file structure [2021-10-05T04:32:23.428Z] ==> Reading reports [2021-10-05T04:32:23.428Z] + ./coverage.out bytes=8435 [2021-10-05T04:32:23.428Z] ==> Appending adjustments [2021-10-05T04:32:23.428Z] https://docs.codecov.io/docs/fixing-reports [2021-10-05T04:32:23.428Z] + Found adjustments [2021-10-05T04:32:23.428Z] ==> Gzipping contents [2021-10-05T04:32:23.428Z] 4.0K /tmp/codecov.kUnmJi.gz [2021-10-05T04:32:23.428Z] ==> Uploading reports [2021-10-05T04:32:23.428Z] url: https://codecov.io [2021-10-05T04:32:23.428Z] query: branch=PR-135&commit=f936d1d1683ba476397a484ca69f178832238efe&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-135%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=135&job=&cmd_args= [2021-10-05T04:32:23.428Z] -> Pinging Codecov [2021-10-05T04:32:23.429Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-135&commit=f936d1d1683ba476397a484ca69f178832238efe&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-135%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=135&job=&cmd_args= [2021-10-05T04:32:23.700Z] -> Uploading to [2021-10-05T04:32:23.700Z] https://storage.googleapis.com/codecov/v4/raw/2021-10-05/4E5D53B4F1F92C436F7061BF334D961C/f936d1d1683ba476397a484ca69f178832238efe/c05a5cc3-3e82-4e60-82dd-faa614482a61.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211005%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211005T043223Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=92992412e7e6e7dca3f110cd1f4ce6779cc6ba672ce41d49374f76309eda46c0 [2021-10-05T04:32:23.700Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-05T04:32:23.700Z] Dload Upload Total Spent Left Speed [2021-10-05T04:32:23.968Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1746 0 0 100 1746 0 5866 --:--:-- --:--:-- --:--:-- 5878 [2021-10-05T04:32:23.968Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/f936d1d1683ba476397a484ca69f178832238efe [Pipeline] } [2021-10-05T04:32:23.981Z] 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-10-05T04:32:25.485Z] + '[' -d /w/workspace/gexfoundry_device-rest-go_PR-135/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-05T04:32:25.806Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-05T04:32:26.392Z] ---> package-listing.sh [2021-10-05T04:32:26.392Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-05T04:32:26.392Z] ++ facter osfamily [2021-10-05T04:32:26.657Z] + OS_FAMILY=redhat [2021-10-05T04:32:26.657Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-135 [2021-10-05T04:32:26.657Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-05T04:32:26.657Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-05T04:32:26.657Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-05T04:32:26.657Z] + PACKAGES=/tmp/packages_start.txt [2021-10-05T04:32:26.657Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-135 ']' [2021-10-05T04:32:26.657Z] + PACKAGES=/tmp/packages_end.txt [2021-10-05T04:32:26.657Z] + case "${OS_FAMILY}" in [2021-10-05T04:32:26.657Z] + sort [2021-10-05T04:32:26.657Z] + rpm -qa [2021-10-05T04:32:27.240Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-05T04:32:27.240Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-05T04:32:27.240Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-05T04:32:27.240Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-135 ']' [2021-10-05T04:32:27.240Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-135/archives/ [2021-10-05T04:32:27.240Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-135/archives/ [Pipeline] echo [2021-10-05T04:32:27.255Z] 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-135/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-10-05T04:32:27.559Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-05T04:32:28.148Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-05T04:32:28.148Z] [2021-10-05T04:32:28.148Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-05T04:32:28.479Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-05T04:32:28.479Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-05T04:32:28.479Z] b4d181a07f80: Pulling fs layer [2021-10-05T04:32:28.479Z] a1111a8f2ec3: Pulling fs layer [2021-10-05T04:32:28.479Z] ed53099fbce6: Pulling fs layer [2021-10-05T04:32:28.479Z] dc539afda2c1: Pulling fs layer [2021-10-05T04:32:28.479Z] 77bc0d833cb6: Pulling fs layer [2021-10-05T04:32:28.479Z] 9065ff56babe: Pulling fs layer [2021-10-05T04:32:28.479Z] d287ab97295c: Pulling fs layer [2021-10-05T04:32:28.479Z] dc539afda2c1: Waiting [2021-10-05T04:32:28.479Z] 77bc0d833cb6: Waiting [2021-10-05T04:32:28.479Z] 9065ff56babe: Waiting [2021-10-05T04:32:28.479Z] d287ab97295c: Waiting [2021-10-05T04:32:28.749Z] a1111a8f2ec3: Verifying Checksum [2021-10-05T04:32:28.749Z] a1111a8f2ec3: Download complete [2021-10-05T04:32:28.749Z] dc539afda2c1: Verifying Checksum [2021-10-05T04:32:28.749Z] dc539afda2c1: Download complete [2021-10-05T04:32:28.749Z] ed53099fbce6: Verifying Checksum [2021-10-05T04:32:28.749Z] ed53099fbce6: Download complete [2021-10-05T04:32:28.749Z] 9065ff56babe: Verifying Checksum [2021-10-05T04:32:28.749Z] 9065ff56babe: Download complete [2021-10-05T04:32:29.013Z] b4d181a07f80: Download complete [2021-10-05T04:32:29.013Z] 77bc0d833cb6: Verifying Checksum [2021-10-05T04:32:29.013Z] 77bc0d833cb6: Download complete [2021-10-05T04:32:30.454Z] d287ab97295c: Verifying Checksum [2021-10-05T04:32:30.454Z] d287ab97295c: Download complete [2021-10-05T04:32:30.454Z] b4d181a07f80: Pull complete [2021-10-05T04:32:30.718Z] a1111a8f2ec3: Pull complete [2021-10-05T04:32:31.300Z] ed53099fbce6: Pull complete [2021-10-05T04:32:31.300Z] dc539afda2c1: Pull complete [2021-10-05T04:32:31.573Z] 77bc0d833cb6: Pull complete [2021-10-05T04:32:31.573Z] 9065ff56babe: Pull complete [2021-10-05T04:32:36.935Z] d287ab97295c: Pull complete [2021-10-05T04:32:36.935Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-05T04:32:36.935Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-05T04:32:36.935Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-05T04:32:37.040Z] prd-centos7-docker-4c-2g-1482 does not seem to be running inside a container [2021-10-05T04:32:37.089Z] $ 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-135/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-135 -v /w/workspace/gexfoundry_device-rest-go_PR-135:/w/workspace/gexfoundry_device-rest-go_PR-135:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-135@tmp:/w/workspace/gexfoundry_device-rest-go_PR-135@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-05T04:32:39.178Z] $ docker top 2f05d5cbd839949bfa95f8722aee328882f3cc007445d9c38fdb21b67e6b3113 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-05T04:32:39.570Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-05T04:32:39.884Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-05T04:32:40.199Z] + ls /var/log/sa-host [2021-10-05T04:32:40.199Z] + sadf -c /var/log/sa-host/sa05 [2021-10-05T04:32:40.199Z] file_magic: OK [2021-10-05T04:32:40.199Z] HZ: Using current value: 100 [2021-10-05T04:32:40.199Z] file_header: OK [2021-10-05T04:32:40.199Z] 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-10-05T04:32:40.199Z] Statistics: [2021-10-05T04:32:40.199Z] 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... [2021-10-05T04:32:40.199Z] File successfully converted to sysstat format version 12.0.3 [2021-10-05T04:32:40.199Z] + sadf -c /var/log/sa-host/sa30 [2021-10-05T04:32:40.199Z] file_magic: OK [2021-10-05T04:32:40.199Z] HZ: Using current value: 100 [2021-10-05T04:32:40.199Z] file_header: OK [2021-10-05T04:32:40.199Z] 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-10-05T04:32:40.199Z] Statistics: [2021-10-05T04:32:40.199Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-05T04:32:40.199Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-05T04:32:40.375Z] provisioning config files... [2021-10-05T04:32:40.390Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-135@tmp/config7732485092253893177tmp [Pipeline] { [Pipeline] echo [2021-10-05T04:32:40.411Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-05T04:32:40.726Z] ---> create-netrc.sh [Pipeline] } [2021-10-05T04:32:40.738Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-05T04:32:41.108Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-05T04:32:41.121Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-05T04:32:41.430Z] ---> sudo-logs.sh [2021-10-05T04:32:41.430Z] Archiving 'sudo' log.. [2021-10-05T04:32:41.430Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1482.novalocal: Name or service not known [2021-10-05T04:32:41.430Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1482.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-05T04:32:41.466Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-05T04:32:41.770Z] ---> job-cost.sh [2021-10-05T04:32:41.770Z] lf-activate-venv: SKIPPING [2021-10-05T04:32:41.770Z] DEBUG: total: 0.10999999940395355 [2021-10-05T04:32:41.770Z] INFO: Retrieving Stack Cost... [2021-10-05T04:32:42.727Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-05T04:32:42.727Z] INFO: Archiving Costs [Pipeline] echo [2021-10-05T04:32:42.743Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-05T04:32:43.053Z] ---> logs-deploy.sh [2021-10-05T04:32:43.053Z] lf-activate-venv: SKIPPING [2021-10-05T04:32:43.053Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-135/2 [2021-10-05T04:32:43.053Z] INFO: archiving workspace using pattern(s): [2021-10-05T04:32:43.637Z] Archives upload complete. [2021-10-05T04:32:43.906Z] INFO: archiving logs to Nexus