Pull request #126 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-rest-go Loading trusted files from base branch master at a5b1cbb034473201950a75ebfecc42600a46d68c rather than eda518e7a1b50e80d820649674e31759b477b718 Obtained Jenkinsfile from a5b1cbb034473201950a75ebfecc42600a46d68c Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5681799653526209708.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6215254463913117186.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 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-126/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-126/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3188093967590234124.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-126/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8359737263054013231.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8912346751854949791.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-126/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-126/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7234979165685635217.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 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_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-629 in /w/workspace/gexfoundry_device-rest-go_PR-126 [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-126 # 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-126@tmp/jenkins-gitclient-ssh3856339511921931621.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit a5b1cbb034473201950a75ebfecc42600a46d68c into PR head commit eda518e7a1b50e80d820649674e31759b477b718 Merge succeeded, producing eda518e7a1b50e80d820649674e31759b477b718 Checking out Revision eda518e7a1b50e80d820649674e31759b477b718 (PR-126) > 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-126@tmp/jenkins-gitclient-ssh4309384223190063234.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/126/head:refs/remotes/origin/PR-126 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eda518e7a1b50e80d820649674e31759b477b718 # 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-126@tmp/jenkins-gitclient-ssh2041869189336899616.key > git merge a5b1cbb034473201950a75ebfecc42600a46d68c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eda518e7a1b50e80d820649674e31759b477b718 # timeout=10 Commit message: "build: Update SDK and core-contracts lib" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-29T02:04:58.732Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-29T02:04:58.958Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-29T02:04:59.106Z] ========================================================= [2021-06-29T02:04:59.106Z] EdgeX Global Pipelines Version Info [2021-06-29T02:04:59.106Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-29T02:05:00.607Z] ------------------- [2021-06-29T02:05:00.607Z] stable info: [2021-06-29T02:05:00.607Z] ------------------- [2021-06-29T02:05:00.607Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-29T02:05:00.607Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-29T02:05:00.607Z] Message: update stable to v1.0.195 [2021-06-29T02:05:01.184Z] ------------------- [2021-06-29T02:05:01.184Z] experimental info: [2021-06-29T02:05:01.184Z] ------------------- [2021-06-29T02:05:01.184Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-29T02:05:01.184Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-29T02:05:01.184Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-29T02:05:01.520Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-06-29T02:05:01.581Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-06-29T02:05:01.640Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-29T02:05:01.699Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-29T02:05:01.757Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-29T02:05:01.814Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-29T02:05:01.870Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-29T02:05:01.927Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-29T02:05:01.994Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-29T02:05:02.055Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-29T02:05:02.113Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-29T02:05:02.169Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-06-29T02:05:02.224Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-29T02:05:02.288Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-29T02:05:02.350Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-29T02:05:02.404Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-29T02:05:02.463Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-29T02:05:02.523Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-29T02:05:02.581Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-29T02:05:02.641Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-29T02:05:02.699Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-29T02:05:02.763Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-29T02:05:02.823Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-29T02:05:02.891Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-29T02:05:02.947Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-29T02:05:03.015Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-29T02:05:03.079Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-126 [Pipeline] echo [2021-06-29T02:05:03.140Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-126 [Pipeline] echo [2021-06-29T02:05:03.201Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-126 [Pipeline] echo [2021-06-29T02:05:03.265Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eda518e7a1b50e80d820649674e31759b477b718 [Pipeline] echo [2021-06-29T02:05:03.340Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eda518e [Pipeline] echo [2021-06-29T02:05:03.404Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-29T02:05:03.590Z] provisioning config files... [2021-06-29T02:05:03.606Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-126@tmp/config3553400445657109320tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-29T02:05:03.991Z] ---> docker-login.sh [2021-06-29T02:05:03.991Z] nexus3.edgexfoundry.org:10001 [2021-06-29T02:05:03.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T02:05:04.254Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T02:05:04.254Z] Configure a credential helper to remove this warning. See [2021-06-29T02:05:04.254Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T02:05:04.254Z] [2021-06-29T02:05:04.254Z] Login Succeeded [2021-06-29T02:05:04.254Z] nexus3.edgexfoundry.org:10002 [2021-06-29T02:05:04.254Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T02:05:04.515Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T02:05:04.515Z] Configure a credential helper to remove this warning. See [2021-06-29T02:05:04.515Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T02:05:04.515Z] [2021-06-29T02:05:04.515Z] Login Succeeded [2021-06-29T02:05:04.515Z] nexus3.edgexfoundry.org:10003 [2021-06-29T02:05:04.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T02:05:04.515Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T02:05:04.515Z] Configure a credential helper to remove this warning. See [2021-06-29T02:05:04.515Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T02:05:04.515Z] [2021-06-29T02:05:04.515Z] Login Succeeded [2021-06-29T02:05:04.515Z] nexus3.edgexfoundry.org:10004 [2021-06-29T02:05:04.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T02:05:04.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T02:05:04.775Z] Configure a credential helper to remove this warning. See [2021-06-29T02:05:04.775Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T02:05:04.775Z] [2021-06-29T02:05:04.775Z] Login Succeeded [2021-06-29T02:05:04.775Z] docker.io [2021-06-29T02:05:04.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T02:05:05.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T02:05:05.037Z] Configure a credential helper to remove this warning. See [2021-06-29T02:05:05.037Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T02:05:05.037Z] [2021-06-29T02:05:05.037Z] Login Succeeded [2021-06-29T02:05:05.037Z] ---> docker-login.sh ends [Pipeline] } [2021-06-29T02:05:05.069Z] 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-06-29T02:05:05.919Z] + git log --format=format:%s -1 eda518e7a1b50e80d820649674e31759b477b718 [Pipeline] echo [2021-06-29T02:05:05.977Z] GIT_COMMIT: eda518e7a1b50e80d820649674e31759b477b718, Commit Message: build: Update SDK and core-contracts lib [Pipeline] echo [2021-06-29T02:05:06.022Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-29T02:05:07.683Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-29T02:05:07.684Z] [2021-06-29T02:05:07.684Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-29T02:05:08.058Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-29T02:05:08.058Z] latest: Pulling from edgex-devops/git-semver [2021-06-29T02:05:08.058Z] 31603596830f: Pulling fs layer [2021-06-29T02:05:08.058Z] 54011a49482f: Pulling fs layer [2021-06-29T02:05:08.058Z] a6820b24f6d8: Pulling fs layer [2021-06-29T02:05:08.058Z] f581987b2513: Pulling fs layer [2021-06-29T02:05:08.058Z] f581987b2513: Waiting [2021-06-29T02:05:08.058Z] 54011a49482f: Verifying Checksum [2021-06-29T02:05:08.058Z] 54011a49482f: Download complete [2021-06-29T02:05:08.058Z] 31603596830f: Verifying Checksum [2021-06-29T02:05:08.058Z] 31603596830f: Download complete [2021-06-29T02:05:08.325Z] a6820b24f6d8: Verifying Checksum [2021-06-29T02:05:08.325Z] a6820b24f6d8: Download complete [2021-06-29T02:05:08.325Z] f581987b2513: Verifying Checksum [2021-06-29T02:05:08.325Z] f581987b2513: Download complete [2021-06-29T02:05:08.325Z] 31603596830f: Pull complete [2021-06-29T02:05:08.587Z] 54011a49482f: Pull complete [2021-06-29T02:05:09.158Z] a6820b24f6d8: Pull complete [2021-06-29T02:05:09.158Z] f581987b2513: Pull complete [2021-06-29T02:05:09.158Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-29T02:05:09.158Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-29T02:05:09.158Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-29T02:05:09.266Z] prd-centos7-docker-4c-2g-629 does not seem to be running inside a container [2021-06-29T02:05:09.313Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-126 -v /w/workspace/gexfoundry_device-rest-go_PR-126:/w/workspace/gexfoundry_device-rest-go_PR-126:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-126@tmp:/w/workspace/gexfoundry_device-rest-go_PR-126@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-29T02:05:10.299Z] $ docker top a45bc9ca4c77524efdb4ef6bdef9d2d107ed88f718bb39460d47adab52d9f104 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-29T02:05:10.541Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-29T02:05:10.541Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-29T02:05:10.651Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-29T02:05:10.653Z] $ docker exec a45bc9ca4c77524efdb4ef6bdef9d2d107ed88f718bb39460d47adab52d9f104 ssh-agent [2021-06-29T02:05:10.768Z] SSH_AUTH_SOCK=/tmp/ssh-rul6ghPCYm8e/agent.15 [2021-06-29T02:05:10.768Z] SSH_AGENT_PID=22 [2021-06-29T02:05:10.781Z] Running ssh-add (command line suppressed) [2021-06-29T02:05:10.897Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-126@tmp/private_key_2829870744102196123.key (/w/workspace/gexfoundry_device-rest-go_PR-126@tmp/private_key_2829870744102196123.key) [2021-06-29T02:05:10.912Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-29T02:05:11.266Z] + git tag --points-at HEAD [Pipeline] } [2021-06-29T02:05:11.287Z] $ docker exec --env ******** --env ******** a45bc9ca4c77524efdb4ef6bdef9d2d107ed88f718bb39460d47adab52d9f104 ssh-agent -k [2021-06-29T02:05:11.383Z] unset SSH_AUTH_SOCK; [2021-06-29T02:05:11.383Z] unset SSH_AGENT_PID; [2021-06-29T02:05:11.383Z] echo Agent pid 22 killed; [2021-06-29T02:05:11.399Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-29T02:05:11.497Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-29T02:05:11.497Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-29T02:05:11.618Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-29T02:05:11.620Z] $ docker exec a45bc9ca4c77524efdb4ef6bdef9d2d107ed88f718bb39460d47adab52d9f104 ssh-agent [2021-06-29T02:05:11.724Z] SSH_AUTH_SOCK=/tmp/ssh-FlQFUgeIPsH3/agent.56 [2021-06-29T02:05:11.724Z] SSH_AGENT_PID=62 [2021-06-29T02:05:11.729Z] Running ssh-add (command line suppressed) [2021-06-29T02:05:11.820Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-126@tmp/private_key_8694427805035977834.key (/w/workspace/gexfoundry_device-rest-go_PR-126@tmp/private_key_8694427805035977834.key) [2021-06-29T02:05:11.837Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-29T02:05:12.195Z] + git semver init [2021-06-29T02:05:12.195Z] # -> Open(): unable to determine branch for HEAD [2021-06-29T02:05:12.195Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-126/.git [2021-06-29T02:05:12.195Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-126 [2021-06-29T02:05:12.195Z] # $SEMVER_REMOTE_NAME = origin [2021-06-29T02:05:12.195Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-29T02:05:12.195Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-29T02:05:12.195Z] # $SEMVER_BRANCH = PR-126 [2021-06-29T02:05:12.195Z] # $SEMVER_TEMP = /tmp/semver-748632774 [2021-06-29T02:05:12.195Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-06-29T02:05:13.143Z] # '/tmp/semver-748632774' -> '/w/workspace/gexfoundry_device-rest-go_PR-126/.semver' [2021-06-29T02:05:13.143Z] # -> Force: false [2021-06-29T02:05:13.143Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-126/.semver [Pipeline] } [2021-06-29T02:05:13.165Z] $ docker exec --env ******** --env ******** a45bc9ca4c77524efdb4ef6bdef9d2d107ed88f718bb39460d47adab52d9f104 ssh-agent -k [2021-06-29T02:05:13.256Z] unset SSH_AUTH_SOCK; [2021-06-29T02:05:13.256Z] unset SSH_AGENT_PID; [2021-06-29T02:05:13.256Z] echo Agent pid 62 killed; [2021-06-29T02:05:13.269Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-29T02:05:13.742Z] + git semver [Pipeline] } [2021-06-29T02:05:13.774Z] $ docker stop --time=1 a45bc9ca4c77524efdb4ef6bdef9d2d107ed88f718bb39460d47adab52d9f104 [2021-06-29T02:05:15.084Z] $ docker rm -f a45bc9ca4c77524efdb4ef6bdef9d2d107ed88f718bb39460d47adab52d9f104 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-29T02:05:15.511Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-29T02:05:15.918Z] Stashed 1 file(s) [Pipeline] echo [2021-06-29T02:05:15.944Z] [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-06-29T02:05:31.568Z] Still waiting to schedule task [2021-06-29T02:05:31.569Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-29T02:05:31.598Z] Still waiting to schedule task [2021-06-29T02:05:31.599Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-06-29T02:08:13.959Z] Running on prd-centos7-docker-4c-2g-630 in /w/workspace/gexfoundry_device-rest-go_PR-126 [Pipeline] { [Pipeline] ws [2021-06-29T02:08:14.026Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-06-29T02:08:14.201Z] The recommended git tool is: git [2021-06-29T02:08:16.689Z] using credential edgex-jenkins-ssh [2021-06-29T02:08:16.704Z] Cloning the remote Git repository [2021-06-29T02:08:16.694Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-06-29T02:08:16.762Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-06-29T02:08:16.791Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-29T02:08:16.791Z] > git --version # timeout=10 [2021-06-29T02:08:16.798Z] > git --version # 'git version 2.24.4' [2021-06-29T02:08:16.798Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-29T02:08:16.823Z] [INFO] Currently running in a labeled security context [2021-06-29T02:08:16.823Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-29T02:08:16.823Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh7175843808151875873.key [2021-06-29T02:08:16.848Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-29T02:08:17.639Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-29T02:08:17.651Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-29T02:08:17.664Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-29T02:08:18.074Z] Merging remotes/origin/master commit a5b1cbb034473201950a75ebfecc42600a46d68c into PR head commit eda518e7a1b50e80d820649674e31759b477b718 [2021-06-29T02:08:18.162Z] Merge succeeded, producing eda518e7a1b50e80d820649674e31759b477b718 [2021-06-29T02:08:18.163Z] Checking out Revision eda518e7a1b50e80d820649674e31759b477b718 (PR-126) [2021-06-29T02:08:17.675Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-29T02:08:17.675Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-29T02:08:17.676Z] [INFO] Currently running in a labeled security context [2021-06-29T02:08:17.676Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-29T02:08:17.676Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh7220873924088236362.key [2021-06-29T02:08:17.681Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/126/head:refs/remotes/origin/PR-126 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-29T02:08:18.068Z] > git config core.sparsecheckout # timeout=10 [2021-06-29T02:08:18.077Z] > git checkout -f eda518e7a1b50e80d820649674e31759b477b718 # timeout=10 [2021-06-29T02:08:18.103Z] > git remote # timeout=10 [2021-06-29T02:08:18.111Z] > git config --get remote.origin.url # timeout=10 [2021-06-29T02:08:18.122Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-29T02:08:18.123Z] [INFO] Currently running in a labeled security context [2021-06-29T02:08:18.123Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-29T02:08:18.123Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh3922213561418165047.key [2021-06-29T02:08:18.132Z] > git merge a5b1cbb034473201950a75ebfecc42600a46d68c # timeout=10 [2021-06-29T02:08:18.142Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-29T02:08:18.154Z] > git config core.sparsecheckout # timeout=10 [2021-06-29T02:08:18.164Z] > git checkout -f eda518e7a1b50e80d820649674e31759b477b718 # timeout=10 [2021-06-29T02:08:21.768Z] Commit message: "build: Update SDK and core-contracts lib" [2021-06-29T02:08:21.791Z] > git --version # timeout=10 [2021-06-29T02:08:21.804Z] > git --version # 'git version 2.24.4' [2021-06-29T02:08:21.812Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-29T02:08:23.223Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-29T02:08:23.572Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-29T02:08:23.911Z] + sudo service docker restart [2021-06-29T02:08:23.912Z] + true [2021-06-29T02:08:23.912Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-29T02:08:42.307Z] provisioning config files... [2021-06-29T02:08:42.326Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config1582684591653073799tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-29T02:08:42.735Z] ---> docker-login.sh [2021-06-29T02:08:42.735Z] nexus3.edgexfoundry.org:10001 [2021-06-29T02:08:42.735Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T02:08:42.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T02:08:42.996Z] Configure a credential helper to remove this warning. See [2021-06-29T02:08:42.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T02:08:42.996Z] [2021-06-29T02:08:42.996Z] Login Succeeded [2021-06-29T02:08:42.996Z] nexus3.edgexfoundry.org:10002 [2021-06-29T02:08:42.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T02:08:42.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T02:08:42.996Z] Configure a credential helper to remove this warning. See [2021-06-29T02:08:42.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T02:08:42.997Z] [2021-06-29T02:08:42.997Z] Login Succeeded [2021-06-29T02:08:42.997Z] nexus3.edgexfoundry.org:10003 [2021-06-29T02:08:43.261Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T02:08:43.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T02:08:43.261Z] Configure a credential helper to remove this warning. See [2021-06-29T02:08:43.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T02:08:43.261Z] [2021-06-29T02:08:43.261Z] Login Succeeded [2021-06-29T02:08:43.261Z] nexus3.edgexfoundry.org:10004 [2021-06-29T02:08:43.261Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T02:08:43.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T02:08:43.261Z] Configure a credential helper to remove this warning. See [2021-06-29T02:08:43.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T02:08:43.261Z] [2021-06-29T02:08:43.261Z] Login Succeeded [2021-06-29T02:08:43.261Z] docker.io [2021-06-29T02:08:43.530Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T02:08:43.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T02:08:43.792Z] Configure a credential helper to remove this warning. See [2021-06-29T02:08:43.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T02:08:43.792Z] [2021-06-29T02:08:43.792Z] Login Succeeded [2021-06-29T02:08:43.792Z] ---> docker-login.sh ends [Pipeline] } [2021-06-29T02:08:43.826Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-29T02:08:44.129Z] ========================================================= [2021-06-29T02:08:44.129Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-29T02:08:44.129Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-29T02:08:44.493Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-06-29T02:08:44.493Z] Sending build context to Docker daemon 100.4kB [2021-06-29T02:08:44.493Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-29T02:08:44.493Z] Step 2/10 : FROM ${BASE} [2021-06-29T02:08:44.493Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-29T02:08:44.493Z] 540db60ca938: Pulling fs layer [2021-06-29T02:08:44.493Z] adcc1eea9eea: Pulling fs layer [2021-06-29T02:08:44.493Z] 4c4ab2625f07: Pulling fs layer [2021-06-29T02:08:44.493Z] 0510c868ecb4: Pulling fs layer [2021-06-29T02:08:44.493Z] afea3b2eda06: Pulling fs layer [2021-06-29T02:08:44.493Z] 7809a108b3ef: Pulling fs layer [2021-06-29T02:08:44.493Z] f706445af74f: Pulling fs layer [2021-06-29T02:08:44.493Z] afea3b2eda06: Waiting [2021-06-29T02:08:44.493Z] 7809a108b3ef: Waiting [2021-06-29T02:08:44.493Z] f706445af74f: Waiting [2021-06-29T02:08:44.493Z] 0510c868ecb4: Waiting [2021-06-29T02:08:44.493Z] 4c4ab2625f07: Verifying Checksum [2021-06-29T02:08:44.493Z] 4c4ab2625f07: Download complete [2021-06-29T02:08:44.754Z] adcc1eea9eea: Verifying Checksum [2021-06-29T02:08:44.754Z] adcc1eea9eea: Download complete [2021-06-29T02:08:44.754Z] afea3b2eda06: Verifying Checksum [2021-06-29T02:08:44.754Z] afea3b2eda06: Download complete [2021-06-29T02:08:44.754Z] 7809a108b3ef: Verifying Checksum [2021-06-29T02:08:44.754Z] 7809a108b3ef: Download complete [2021-06-29T02:08:44.754Z] 540db60ca938: Verifying Checksum [2021-06-29T02:08:44.754Z] 540db60ca938: Download complete [2021-06-29T02:08:45.017Z] 540db60ca938: Pull complete [2021-06-29T02:08:45.017Z] adcc1eea9eea: Pull complete [2021-06-29T02:08:45.279Z] 4c4ab2625f07: Pull complete [2021-06-29T02:08:46.230Z] f706445af74f: Verifying Checksum [2021-06-29T02:08:46.230Z] f706445af74f: Download complete [2021-06-29T02:08:46.801Z] 0510c868ecb4: Verifying Checksum [2021-06-29T02:08:46.801Z] 0510c868ecb4: Download complete [2021-06-29T02:08:50.148Z] 0510c868ecb4: Pull complete [2021-06-29T02:08:50.148Z] afea3b2eda06: Pull complete [2021-06-29T02:08:50.148Z] 7809a108b3ef: Pull complete [2021-06-29T02:08:51.548Z] f706445af74f: Pull complete [2021-06-29T02:08:51.548Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-29T02:08:51.548Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-29T02:08:51.548Z] ---> b068be0155e3 [2021-06-29T02:08:51.548Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-29T02:08:55.769Z] ---> Running in 8391177bb842 [2021-06-29T02:08:55.769Z] Removing intermediate container 8391177bb842 [2021-06-29T02:08:55.769Z] ---> 02f404b93160 [2021-06-29T02:08:55.769Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-29T02:08:55.769Z] ---> Running in 8434a2bb76a2 [2021-06-29T02:08:55.769Z] Removing intermediate container 8434a2bb76a2 [2021-06-29T02:08:55.769Z] ---> 999832f26ac8 [2021-06-29T02:08:55.769Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-29T02:08:56.043Z] ---> Running in 9ad91fe1e66b [2021-06-29T02:08:56.043Z] Removing intermediate container 9ad91fe1e66b [2021-06-29T02:08:56.043Z] ---> 0c6ba9fad52e [2021-06-29T02:08:56.043Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-29T02:08:56.043Z] ---> Running in 92907917fe62 [2021-06-29T02:08:56.624Z] Removing intermediate container 92907917fe62 [2021-06-29T02:08:56.624Z] ---> 285159c376ff [2021-06-29T02:08:56.624Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-29T02:08:56.624Z] ---> Running in 2368328e3eb9 [2021-06-29T02:08:56.887Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-29T02:08:57.830Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-29T02:08:58.783Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-06-29T02:08:58.783Z] (2/9) Installing libsodium (1.0.18-r0) [2021-06-29T02:08:59.048Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-06-29T02:08:59.048Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-06-29T02:08:59.048Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-06-29T02:08:59.331Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-06-29T02:08:59.331Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-06-29T02:09:00.276Z] (8/9) Installing libzmq (4.3.3-r1) [2021-06-29T02:09:00.276Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-06-29T02:09:00.276Z] Executing busybox-1.32.1-r6.trigger [2021-06-29T02:09:00.276Z] OK: 154 MiB in 49 packages [2021-06-29T02:09:00.853Z] Removing intermediate container 2368328e3eb9 [2021-06-29T02:09:00.853Z] ---> 2ff5942f62be [2021-06-29T02:09:00.853Z] Step 8/10 : WORKDIR /device-rest-go [2021-06-29T02:09:00.853Z] ---> Running in 97bbbf880346 [2021-06-29T02:09:00.853Z] Removing intermediate container 97bbbf880346 [2021-06-29T02:09:00.853Z] ---> e8e814dcd972 [2021-06-29T02:09:00.853Z] Step 9/10 : COPY . . [2021-06-29T02:09:01.118Z] ---> 6c39b259ea1e [2021-06-29T02:09:01.118Z] Step 10/10 : RUN go mod download [2021-06-29T02:09:01.118Z] ---> Running in 697a04ce112c [2021-06-29T02:09:13.389Z] Removing intermediate container 697a04ce112c [2021-06-29T02:09:13.389Z] ---> a2c87980fdc3 [2021-06-29T02:09:13.389Z] Successfully built a2c87980fdc3 [2021-06-29T02:09:13.389Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-29T02:09:13.751Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-29T02:09:13.751Z] . [Pipeline] withDockerContainer [2021-06-29T02:09:13.851Z] prd-centos7-docker-4c-2g-630 does not seem to be running inside a container [2021-06-29T02:09:13.901Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-29T02:09:14.244Z] $ docker top 241809d38704f85e8533dd8c1c70c0fb0643e79f074a3faabc1e42296f88badc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-29T02:09:14.702Z] + go version [2021-06-29T02:09:14.702Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-29T02:09:14.734Z] $ docker stop --time=1 241809d38704f85e8533dd8c1c70c0fb0643e79f074a3faabc1e42296f88badc [2021-06-29T02:09:15.942Z] $ docker rm -f 241809d38704f85e8533dd8c1c70c0fb0643e79f074a3faabc1e42296f88badc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-29T02:09:16.785Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-29T02:09:16.785Z] . [Pipeline] withDockerContainer [2021-06-29T02:09:16.896Z] prd-centos7-docker-4c-2g-630 does not seem to be running inside a container [2021-06-29T02:09:17.063Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-29T02:09:17.502Z] $ docker top bb4e6d9f499cfcfe2a55e77e4fbeee7da28fc1e5f9e371a8cb69a64491e43d5f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-29T02:09:17.953Z] + go mod tidy [Pipeline] sh [2021-06-29T02:09:18.543Z] + make test [2021-06-29T02:09:18.543Z] go mod tidy [2021-06-29T02:09:18.543Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-06-29T02:09:19.131Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-06-29T02:09:35.571Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-631 in /w/workspace/gexfoundry_device-rest-go_PR-126 [Pipeline] { [Pipeline] ws [2021-06-29T02:09:35.635Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-06-29T02:09:35.912Z] The recommended git tool is: git [2021-06-29T02:09:37.363Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-06-29T02:09:37.363Z] ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 54.0% of statements [2021-06-29T02:09:37.363Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-29T02:09:41.210Z] using credential edgex-jenkins-ssh [2021-06-29T02:09:41.231Z] Cloning the remote Git repository [2021-06-29T02:09:41.603Z] gofmt -l . [2021-06-29T02:09:41.603Z] [ "`gofmt -l .`" = "" ] [2021-06-29T02:09:41.603Z] ./bin/test-go-mod-tidy.sh [2021-06-29T02:09:41.603Z] ./bin/test-attribution-txt.sh [2021-06-29T02:09:41.265Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-06-29T02:09:41.376Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-06-29T02:09:41.546Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-29T02:09:41.549Z] > git --version # timeout=10 [2021-06-29T02:09:41.580Z] > git --version # 'git version 2.17.1' [2021-06-29T02:09:41.582Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-29T02:09:41.699Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] } [2021-06-29T02:09:42.205Z] $ docker stop --time=1 bb4e6d9f499cfcfe2a55e77e4fbeee7da28fc1e5f9e371a8cb69a64491e43d5f [2021-06-29T02:09:43.843Z] $ docker rm -f bb4e6d9f499cfcfe2a55e77e4fbeee7da28fc1e5f9e371a8cb69a64491e43d5f [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-29T02:09:44.319Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-29T02:09:44.536Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-06-29T02:09:45.740Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-29T02:09:45.766Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-29T02:09:45.793Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-29T02:09:45.834Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-29T02:09:45.835Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-29T02:09:45.851Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/126/head:refs/remotes/origin/PR-126 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-29T02:09:46.454Z] Merging remotes/origin/master commit a5b1cbb034473201950a75ebfecc42600a46d68c into PR head commit eda518e7a1b50e80d820649674e31759b477b718 [2021-06-29T02:09:46.654Z] Merge succeeded, producing eda518e7a1b50e80d820649674e31759b477b718 [2021-06-29T02:09:46.654Z] Checking out Revision eda518e7a1b50e80d820649674e31759b477b718 (PR-126) [2021-06-29T02:09:46.460Z] > git config core.sparsecheckout # timeout=10 [2021-06-29T02:09:46.485Z] > git checkout -f eda518e7a1b50e80d820649674e31759b477b718 # timeout=10 [2021-06-29T02:09:46.558Z] > git remote # timeout=10 [2021-06-29T02:09:46.575Z] > git config --get remote.origin.url # timeout=10 [2021-06-29T02:09:46.592Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-29T02:09:46.603Z] > git merge a5b1cbb034473201950a75ebfecc42600a46d68c # timeout=10 [2021-06-29T02:09:46.624Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-29T02:09:46.648Z] > git config core.sparsecheckout # timeout=10 [2021-06-29T02:09:46.657Z] > git checkout -f eda518e7a1b50e80d820649674e31759b477b718 # timeout=10 [Pipeline] sh [2021-06-29T02:09:48.255Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-29T02:09:48.576Z] + ls -al . [2021-06-29T02:09:48.576Z] total 112 [2021-06-29T02:09:48.576Z] drwxrwxr-x. 8 jenkins jenkins 4096 Jun 29 02:09 . [2021-06-29T02:09:48.576Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 29 02:08 .. [2021-06-29T02:09:48.576Z] -rw-rw-r--. 1 jenkins jenkins 6792 Jun 29 02:08 Attribution.txt [2021-06-29T02:09:48.576Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 29 02:08 bin [2021-06-29T02:09:48.576Z] -rw-rw-r--. 1 jenkins jenkins 7459 Jun 29 02:08 CHANGELOG.md [2021-06-29T02:09:48.576Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 29 02:08 cmd [2021-06-29T02:09:48.576Z] -rw-r--r--. 1 jenkins jenkins 8513 Jun 29 02:09 coverage.out [2021-06-29T02:09:48.576Z] -rw-rw-r--. 1 jenkins jenkins 1615 Jun 29 02:08 Dockerfile [2021-06-29T02:09:48.576Z] -rw-rw-r--. 1 jenkins jenkins 1087 Jun 29 02:08 Dockerfile.build [2021-06-29T02:09:48.576Z] -rw-rw-r--. 1 jenkins jenkins 151 Jun 29 02:08 .dockerignore [2021-06-29T02:09:48.576Z] drwxrwxr-x. 2 jenkins jenkins 76 Jun 29 02:08 driver [2021-06-29T02:09:48.576Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 29 02:08 .git [2021-06-29T02:09:48.576Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 29 02:08 .github [2021-06-29T02:09:48.576Z] -rw-rw-r--. 1 jenkins jenkins 336 Jun 29 02:08 .gitignore [2021-06-29T02:09:48.576Z] -rw-r--r--. 1 jenkins jenkins 286 Jun 29 02:09 go.mod [2021-06-29T02:09:48.576Z] -rw-r--r--. 1 jenkins jenkins 20872 Jun 29 02:09 go.sum [2021-06-29T02:09:48.576Z] -rw-rw-r--. 1 jenkins jenkins 680 Jun 29 02:08 Jenkinsfile [2021-06-29T02:09:48.576Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 29 02:08 LICENSE [2021-06-29T02:09:48.576Z] -rw-rw-r--. 1 jenkins jenkins 996 Jun 29 02:08 Makefile [2021-06-29T02:09:48.576Z] -rw-rw-r--. 1 jenkins jenkins 7667 Jun 29 02:08 README.md [2021-06-29T02:09:48.576Z] drwxrwxr-x. 4 jenkins jenkins 71 Jun 29 02:08 snap [2021-06-29T02:09:48.576Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 29 02:05 VERSION [2021-06-29T02:09:48.576Z] -rw-rw-r--. 1 jenkins jenkins 713 Jun 29 02:08 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-29T02:09:48.923Z] + 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=eda518e7a1b50e80d820649674e31759b477b718 --label arch=amd64 --label version=0.0.0 . [2021-06-29T02:09:48.923Z] Sending build context to Docker daemon 110.1kB [2021-06-29T02:09:48.923Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-06-29T02:09:48.923Z] Step 2/25 : FROM ${BASE} AS builder [2021-06-29T02:09:48.923Z] ---> a2c87980fdc3 [2021-06-29T02:09:48.923Z] Step 3/25 : ARG MAKE='make build' [2021-06-29T02:09:48.923Z] ---> Running in c1e34feb338b [2021-06-29T02:09:48.923Z] Removing intermediate container c1e34feb338b [2021-06-29T02:09:48.923Z] ---> 8f34a12b3fb2 [2021-06-29T02:09:48.923Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-29T02:09:48.923Z] ---> Running in f544689122c3 [2021-06-29T02:09:49.187Z] Removing intermediate container f544689122c3 [2021-06-29T02:09:49.187Z] ---> 197313977c09 [2021-06-29T02:09:49.187Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-06-29T02:09:49.187Z] ---> Running in 6845d753b180 [2021-06-29T02:09:49.187Z] Removing intermediate container 6845d753b180 [2021-06-29T02:09:49.187Z] ---> 25938378a29c [2021-06-29T02:09:49.187Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-29T02:09:49.187Z] ---> Running in 17dabe07dc9c [2021-06-29T02:09:49.763Z] Removing intermediate container 17dabe07dc9c [2021-06-29T02:09:49.763Z] ---> d748e3a7aeef [2021-06-29T02:09:49.763Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-29T02:09:49.763Z] ---> Running in 3cafb3d89eab [2021-06-29T02:09:50.025Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-29T02:09:50.885Z] Commit message: "build: Update SDK and core-contracts lib" [2021-06-29T02:09:50.970Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-29T02:09:50.928Z] > git --version # timeout=10 [2021-06-29T02:09:50.939Z] > git --version # 'git version 2.17.1' [2021-06-29T02:09:50.955Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-29T02:09:52.361Z] OK: 154 MiB in 49 packages [2021-06-29T02:09:52.361Z] Removing intermediate container 3cafb3d89eab [2021-06-29T02:09:52.361Z] ---> ce0ae5fe34b6 [2021-06-29T02:09:52.361Z] Step 8/25 : WORKDIR /device-rest-go [2021-06-29T02:09:52.361Z] ---> Running in 149c5ac87c6e [2021-06-29T02:09:52.581Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [2021-06-29T02:09:52.626Z] Removing intermediate container 149c5ac87c6e [2021-06-29T02:09:52.626Z] ---> c0cafa234529 [2021-06-29T02:09:52.626Z] Step 9/25 : COPY . . [2021-06-29T02:09:52.626Z] ---> d123373b9dcc [2021-06-29T02:09:52.626Z] Step 10/25 : RUN go mod tidy [2021-06-29T02:09:52.626Z] ---> Running in e983fe8f62bd [Pipeline] sh [2021-06-29T02:09:53.003Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-29T02:09:53.213Z] Removing intermediate container e983fe8f62bd [2021-06-29T02:09:53.213Z] ---> 2f2425326bf7 [2021-06-29T02:09:53.213Z] Step 11/25 : RUN make update [2021-06-29T02:09:53.213Z] ---> Running in 26425d22c898 [2021-06-29T02:09:53.388Z] + sudo service docker restart [2021-06-29T02:09:53.389Z] + true [2021-06-29T02:09:53.477Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-29T02:09:53.750Z] Removing intermediate container 26425d22c898 [2021-06-29T02:09:53.750Z] ---> bb2dfa92c12b [2021-06-29T02:09:53.750Z] Step 12/25 : RUN $MAKE [2021-06-29T02:09:54.012Z] ---> Running in 1d430063c052 [2021-06-29T02:09:54.274Z] go mod tidy [2021-06-29T02:09:54.274Z] 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-06-29T02:10:06.598Z] Removing intermediate container 1d430063c052 [2021-06-29T02:10:06.598Z] ---> c4819c3a58f5 [2021-06-29T02:10:06.598Z] Step 13/25 : FROM alpine:3.12 [2021-06-29T02:10:06.598Z] 3.12: Pulling from library/alpine [2021-06-29T02:10:06.598Z] 339de151aab4: Pulling fs layer [2021-06-29T02:10:06.598Z] 339de151aab4: Verifying Checksum [2021-06-29T02:10:06.598Z] 339de151aab4: Download complete [2021-06-29T02:10:06.598Z] 339de151aab4: Pull complete [2021-06-29T02:10:06.598Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-29T02:10:06.598Z] Status: Downloaded newer image for alpine:3.12 [2021-06-29T02:10:06.598Z] ---> 13621d1b12d4 [2021-06-29T02:10:06.598Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-29T02:10:06.598Z] ---> Running in 55d062749977 [2021-06-29T02:10:06.598Z] Removing intermediate container 55d062749977 [2021-06-29T02:10:06.599Z] ---> fc2cec293f49 [2021-06-29T02:10:06.599Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-06-29T02:10:06.599Z] ---> Running in ddebb5b5cf92 [2021-06-29T02:10:06.599Z] Removing intermediate container ddebb5b5cf92 [2021-06-29T02:10:06.599Z] ---> d064969c11b9 [2021-06-29T02:10:06.599Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-29T02:10:06.599Z] ---> Running in 1cf24aa160f9 [2021-06-29T02:10:06.599Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-29T02:10:06.599Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-29T02:10:06.860Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-29T02:10:06.860Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-29T02:10:06.860Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-29T02:10:06.860Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-29T02:10:06.860Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-29T02:10:06.860Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-29T02:10:06.860Z] Executing busybox-1.31.1-r20.trigger [2021-06-29T02:10:06.860Z] OK: 8 MiB in 20 packages [2021-06-29T02:10:07.124Z] Removing intermediate container 1cf24aa160f9 [2021-06-29T02:10:07.124Z] ---> b581f0e5f34e [2021-06-29T02:10:07.124Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-06-29T02:10:07.391Z] ---> 22b321079042 [2021-06-29T02:10:07.391Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-06-29T02:10:07.653Z] ---> ac6d94c25371 [2021-06-29T02:10:07.653Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-06-29T02:10:07.653Z] ---> b507c8d2231e [2021-06-29T02:10:07.653Z] Step 20/25 : EXPOSE 59986 [2021-06-29T02:10:07.653Z] ---> Running in c238060cdb35 [2021-06-29T02:10:07.653Z] Removing intermediate container c238060cdb35 [2021-06-29T02:10:07.653Z] ---> fcd8a50cf72f [2021-06-29T02:10:07.653Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-06-29T02:10:07.915Z] ---> Running in 2ae754bd9949 [2021-06-29T02:10:07.915Z] Removing intermediate container 2ae754bd9949 [2021-06-29T02:10:07.915Z] ---> 059a69aca558 [2021-06-29T02:10:07.915Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-29T02:10:07.915Z] ---> Running in 630ce6acd395 [2021-06-29T02:10:07.915Z] Removing intermediate container 630ce6acd395 [2021-06-29T02:10:07.915Z] ---> b3db9fba87f0 [2021-06-29T02:10:07.915Z] Step 23/25 : LABEL arch=amd64 [2021-06-29T02:10:07.915Z] ---> Running in 9aa7a0af2373 [2021-06-29T02:10:08.177Z] Removing intermediate container 9aa7a0af2373 [2021-06-29T02:10:08.177Z] ---> 96ad8d59c6b3 [2021-06-29T02:10:08.177Z] Step 24/25 : LABEL git_sha=eda518e7a1b50e80d820649674e31759b477b718 [2021-06-29T02:10:08.177Z] ---> Running in dc883809f037 [2021-06-29T02:10:08.177Z] Removing intermediate container dc883809f037 [2021-06-29T02:10:08.177Z] ---> e1b580f5abbf [2021-06-29T02:10:08.177Z] Step 25/25 : LABEL version=0.0.0 [2021-06-29T02:10:08.177Z] ---> Running in 8a1e31316475 [2021-06-29T02:10:08.177Z] Removing intermediate container 8a1e31316475 [2021-06-29T02:10:08.177Z] ---> 21fcc6761076 [2021-06-29T02:10:08.177Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-29T02:10:08.177Z] Successfully built 21fcc6761076 [2021-06-29T02:10:08.177Z] 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] libraryResource [Pipeline] sh [2021-06-29T02:10:09.404Z] ---> job-cost.sh [2021-06-29T02:10:09.404Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-BcX0 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-29T02:10:11.979Z] provisioning config files... [2021-06-29T02:10:12.011Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config915025464366679166tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-29T02:10:12.498Z] ---> docker-login.sh [2021-06-29T02:10:12.498Z] nexus3.edgexfoundry.org:10001 [2021-06-29T02:10:13.489Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T02:10:13.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T02:10:13.763Z] Configure a credential helper to remove this warning. See [2021-06-29T02:10:13.763Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T02:10:13.763Z] [2021-06-29T02:10:13.763Z] Login Succeeded [2021-06-29T02:10:13.763Z] nexus3.edgexfoundry.org:10002 [2021-06-29T02:10:14.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T02:10:14.315Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T02:10:14.315Z] Configure a credential helper to remove this warning. See [2021-06-29T02:10:14.315Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T02:10:14.315Z] [2021-06-29T02:10:14.315Z] Login Succeeded [2021-06-29T02:10:14.315Z] nexus3.edgexfoundry.org:10003 [2021-06-29T02:10:14.591Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T02:10:14.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T02:10:14.865Z] Configure a credential helper to remove this warning. See [2021-06-29T02:10:14.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T02:10:14.865Z] [2021-06-29T02:10:14.865Z] Login Succeeded [2021-06-29T02:10:14.865Z] nexus3.edgexfoundry.org:10004 [2021-06-29T02:10:15.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T02:10:15.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T02:10:15.464Z] Configure a credential helper to remove this warning. See [2021-06-29T02:10:15.464Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T02:10:15.464Z] [2021-06-29T02:10:15.464Z] Login Succeeded [2021-06-29T02:10:15.464Z] docker.io [2021-06-29T02:10:15.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-29T02:10:16.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-29T02:10:16.337Z] Configure a credential helper to remove this warning. See [2021-06-29T02:10:16.337Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-29T02:10:16.337Z] [2021-06-29T02:10:16.337Z] Login Succeeded [2021-06-29T02:10:16.337Z] ---> docker-login.sh ends [Pipeline] } [2021-06-29T02:10:16.380Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-29T02:10:17.003Z] ========================================================= [2021-06-29T02:10:17.003Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-29T02:10:17.003Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-29T02:10:17.433Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-06-29T02:10:17.433Z] Sending build context to Docker daemon 100.4kB [2021-06-29T02:10:17.724Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-29T02:10:17.724Z] Step 2/10 : FROM ${BASE} [2021-06-29T02:10:18.008Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-29T02:10:18.008Z] 595b0fe564bb: Pulling fs layer [2021-06-29T02:10:18.008Z] 3088b5b3c5c0: Pulling fs layer [2021-06-29T02:10:18.008Z] 5b7225fbf94c: Pulling fs layer [2021-06-29T02:10:18.008Z] ba82ee9f976e: Pulling fs layer [2021-06-29T02:10:18.008Z] 506bd15cee9f: Pulling fs layer [2021-06-29T02:10:18.008Z] 75a0a4a0db45: Pulling fs layer [2021-06-29T02:10:18.008Z] 618dc40b7e24: Pulling fs layer [2021-06-29T02:10:18.008Z] 506bd15cee9f: Waiting [2021-06-29T02:10:18.008Z] 75a0a4a0db45: Waiting [2021-06-29T02:10:18.008Z] 618dc40b7e24: Waiting [2021-06-29T02:10:18.008Z] ba82ee9f976e: Waiting [2021-06-29T02:10:18.008Z] 5b7225fbf94c: Verifying Checksum [2021-06-29T02:10:18.008Z] 5b7225fbf94c: Download complete [2021-06-29T02:10:18.008Z] 3088b5b3c5c0: Verifying Checksum [2021-06-29T02:10:18.008Z] 3088b5b3c5c0: Download complete [2021-06-29T02:10:18.008Z] 506bd15cee9f: Verifying Checksum [2021-06-29T02:10:18.008Z] 506bd15cee9f: Download complete [2021-06-29T02:10:18.285Z] 75a0a4a0db45: Verifying Checksum [2021-06-29T02:10:18.285Z] 75a0a4a0db45: Download complete [2021-06-29T02:10:18.285Z] 595b0fe564bb: Verifying Checksum [2021-06-29T02:10:18.285Z] 595b0fe564bb: Download complete [2021-06-29T02:10:18.886Z] 595b0fe564bb: Pull complete [2021-06-29T02:10:19.439Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-29T02:10:19.496Z] 3088b5b3c5c0: Pull complete [2021-06-29T02:10:20.100Z] 5b7225fbf94c: Pull complete [2021-06-29T02:10:20.707Z] 618dc40b7e24: Verifying Checksum [2021-06-29T02:10:20.707Z] 618dc40b7e24: Download complete [2021-06-29T02:10:21.312Z] ba82ee9f976e: Verifying Checksum [2021-06-29T02:10:21.312Z] ba82ee9f976e: Download complete [2021-06-29T02:10:31.485Z] ba82ee9f976e: Pull complete [2021-06-29T02:10:31.685Z] lf-activate-venv(): INFO: Adding /tmp/venv-BcX0/bin to PATH [2021-06-29T02:10:31.685Z] INFO: No Stack... [2021-06-29T02:10:31.762Z] 506bd15cee9f: Pull complete [2021-06-29T02:10:32.358Z] 75a0a4a0db45: Pull complete [2021-06-29T02:10:32.642Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-29T02:10:33.215Z] INFO: Archiving Costs [Pipeline] sh [2021-06-29T02:10:33.538Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-06-29T02:10:33.538Z] + cut -d, -f6 [Pipeline] lock [2021-06-29T02:10:33.602Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-126-1-stack-cost] [2021-06-29T02:10:33.609Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-126-1-stack-cost] did not exist. Created. [2021-06-29T02:10:33.609Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-126-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-29T02:10:34.056Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-29T02:10:34.160Z] Stashed 1 file(s) [Pipeline] } [2021-06-29T02:10:34.191Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-126-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-29T02:10:35.778Z] 618dc40b7e24: Pull complete [2021-06-29T02:10:35.778Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-29T02:10:35.778Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-29T02:10:36.056Z] ---> a36622ca3599 [2021-06-29T02:10:36.056Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-29T02:10:38.061Z] ---> Running in e70808416f0c [2021-06-29T02:10:38.335Z] Removing intermediate container e70808416f0c [2021-06-29T02:10:38.335Z] ---> 6396698f4376 [2021-06-29T02:10:38.335Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-29T02:10:38.610Z] ---> Running in 626b400b4f19 [2021-06-29T02:10:39.209Z] Removing intermediate container 626b400b4f19 [2021-06-29T02:10:39.209Z] ---> 911b06e02b06 [2021-06-29T02:10:39.209Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-29T02:10:39.209Z] ---> Running in c8be7b6b1092 [2021-06-29T02:10:39.809Z] Removing intermediate container c8be7b6b1092 [2021-06-29T02:10:39.809Z] ---> e84aa5690985 [2021-06-29T02:10:39.809Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-29T02:10:39.809Z] ---> Running in e86b1cdc3794 [2021-06-29T02:10:42.434Z] Removing intermediate container e86b1cdc3794 [2021-06-29T02:10:42.435Z] ---> 34ce419197f6 [2021-06-29T02:10:42.435Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-29T02:10:42.435Z] ---> Running in e2a6feb5dd10 [2021-06-29T02:10:43.873Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-29T02:10:44.484Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-29T02:10:45.466Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-06-29T02:10:45.466Z] (2/9) Installing libsodium (1.0.18-r0) [2021-06-29T02:10:45.466Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-06-29T02:10:45.739Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-06-29T02:10:45.739Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-06-29T02:10:45.739Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-06-29T02:10:46.024Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-06-29T02:10:46.997Z] (8/9) Installing libzmq (4.3.3-r1) [2021-06-29T02:10:46.997Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-06-29T02:10:46.997Z] Executing busybox-1.32.1-r6.trigger [2021-06-29T02:10:47.270Z] OK: 144 MiB in 49 packages [2021-06-29T02:10:48.704Z] Removing intermediate container e2a6feb5dd10 [2021-06-29T02:10:48.704Z] ---> 8e0ad159e461 [2021-06-29T02:10:48.704Z] Step 8/10 : WORKDIR /device-rest-go [2021-06-29T02:10:48.704Z] ---> Running in 1d5afa905147 [2021-06-29T02:10:49.303Z] Removing intermediate container 1d5afa905147 [2021-06-29T02:10:49.303Z] ---> de17ab7fda86 [2021-06-29T02:10:49.303Z] Step 9/10 : COPY . . [2021-06-29T02:10:49.905Z] ---> 6e15a8756ba8 [2021-06-29T02:10:49.905Z] Step 10/10 : RUN go mod download [2021-06-29T02:10:50.178Z] ---> Running in cac071bf226e [2021-06-29T02:11:16.983Z] Removing intermediate container cac071bf226e [2021-06-29T02:11:16.983Z] ---> d92707afae17 [2021-06-29T02:11:16.983Z] Successfully built d92707afae17 [2021-06-29T02:11:16.983Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-29T02:11:17.382Z] + docker inspect -f . ci-base-image-arm64 [2021-06-29T02:11:17.383Z] . [Pipeline] withDockerContainer [2021-06-29T02:11:17.683Z] prd-ubuntu18.04-docker-arm64-4c-16g-631 does not seem to be running inside a container [2021-06-29T02:11:17.774Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-29T02:11:19.443Z] $ docker top f4f227d0fae09105928c1f1386d6590be38ad31fa7be7f4fdecc75974f1711d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-29T02:11:20.423Z] + go version [2021-06-29T02:11:20.423Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-29T02:11:20.508Z] $ docker stop --time=1 f4f227d0fae09105928c1f1386d6590be38ad31fa7be7f4fdecc75974f1711d7 [2021-06-29T02:11:22.286Z] $ docker rm -f f4f227d0fae09105928c1f1386d6590be38ad31fa7be7f4fdecc75974f1711d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-29T02:11:23.348Z] + docker inspect -f . ci-base-image-arm64 [2021-06-29T02:11:23.348Z] . [Pipeline] withDockerContainer [2021-06-29T02:11:23.596Z] prd-ubuntu18.04-docker-arm64-4c-16g-631 does not seem to be running inside a container [2021-06-29T02:11:23.694Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-29T02:11:25.251Z] $ docker top 14b5055affa86db7c3f3750d148d089af5a550be5269ee772ce863e1764b9bef -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-29T02:11:26.265Z] + go mod tidy [Pipeline] sh [2021-06-29T02:11:27.581Z] + make test [2021-06-29T02:11:27.581Z] go mod tidy [2021-06-29T02:11:27.859Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-06-29T02:11:28.840Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-06-29T02:12:25.480Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-06-29T02:12:25.480Z] ok github.com/edgexfoundry/device-rest-go/driver 0.049s coverage: 54.0% of statements [2021-06-29T02:12:25.480Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-29T02:12:47.716Z] gofmt -l . [2021-06-29T02:12:47.716Z] [ "`gofmt -l .`" = "" ] [2021-06-29T02:12:47.716Z] ./bin/test-go-mod-tidy.sh [2021-06-29T02:12:47.716Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-29T02:12:48.365Z] $ docker stop --time=1 14b5055affa86db7c3f3750d148d089af5a550be5269ee772ce863e1764b9bef [2021-06-29T02:12:50.264Z] $ docker rm -f 14b5055affa86db7c3f3750d148d089af5a550be5269ee772ce863e1764b9bef [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-29T02:12:51.184Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-29T02:12:51.236Z] Warning: overwriting stash ‘coverage-report’ [2021-06-29T02:12:51.739Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-29T02:12:52.521Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-29T02:12:52.882Z] + ls -al . [2021-06-29T02:12:52.882Z] total 140 [2021-06-29T02:12:52.882Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 02:12 . [2021-06-29T02:12:52.882Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 02:09 .. [2021-06-29T02:12:52.882Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 29 02:09 .dockerignore [2021-06-29T02:12:52.882Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 02:09 .git [2021-06-29T02:12:52.882Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 02:09 .github [2021-06-29T02:12:52.882Z] -rw-rw-r-- 1 jenkins jenkins 336 Jun 29 02:09 .gitignore [2021-06-29T02:12:52.882Z] -rw-rw-r-- 1 jenkins jenkins 6792 Jun 29 02:09 Attribution.txt [2021-06-29T02:12:52.882Z] -rw-rw-r-- 1 jenkins jenkins 7459 Jun 29 02:09 CHANGELOG.md [2021-06-29T02:12:52.882Z] -rw-rw-r-- 1 jenkins jenkins 1615 Jun 29 02:09 Dockerfile [2021-06-29T02:12:52.882Z] -rw-rw-r-- 1 jenkins jenkins 1087 Jun 29 02:09 Dockerfile.build [2021-06-29T02:12:52.882Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 29 02:09 Jenkinsfile [2021-06-29T02:12:52.882Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 29 02:09 LICENSE [2021-06-29T02:12:52.882Z] -rw-rw-r-- 1 jenkins jenkins 996 Jun 29 02:09 Makefile [2021-06-29T02:12:52.882Z] -rw-rw-r-- 1 jenkins jenkins 7667 Jun 29 02:09 README.md [2021-06-29T02:12:52.882Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 29 02:05 VERSION [2021-06-29T02:12:52.882Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 02:09 bin [2021-06-29T02:12:52.882Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 02:09 cmd [2021-06-29T02:12:52.882Z] -rw-r--r-- 1 jenkins jenkins 8513 Jun 29 02:12 coverage.out [2021-06-29T02:12:52.882Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 02:09 driver [2021-06-29T02:12:52.882Z] -rw-r--r-- 1 jenkins jenkins 286 Jun 29 02:12 go.mod [2021-06-29T02:12:52.882Z] -rw-r--r-- 1 jenkins jenkins 20872 Jun 29 02:11 go.sum [2021-06-29T02:12:52.882Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 02:09 snap [2021-06-29T02:12:52.882Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 29 02:09 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-29T02:12:53.285Z] + 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=eda518e7a1b50e80d820649674e31759b477b718 --label arch=arm64 --label version=0.0.0 . [2021-06-29T02:12:53.285Z] Sending build context to Docker daemon 110.1kB [2021-06-29T02:12:53.564Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-06-29T02:12:53.564Z] Step 2/25 : FROM ${BASE} AS builder [2021-06-29T02:12:53.564Z] ---> d92707afae17 [2021-06-29T02:12:53.564Z] Step 3/25 : ARG MAKE='make build' [2021-06-29T02:12:53.841Z] ---> Running in 8e6509c6b82a [2021-06-29T02:12:54.437Z] Removing intermediate container 8e6509c6b82a [2021-06-29T02:12:54.437Z] ---> 0c087a63f2b0 [2021-06-29T02:12:54.437Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-29T02:12:54.437Z] ---> Running in 636135f26d14 [2021-06-29T02:12:55.039Z] Removing intermediate container 636135f26d14 [2021-06-29T02:12:55.039Z] ---> d97239a4adcc [2021-06-29T02:12:55.039Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-06-29T02:12:55.039Z] ---> Running in 3338e6a47cc2 [2021-06-29T02:12:55.641Z] Removing intermediate container 3338e6a47cc2 [2021-06-29T02:12:55.641Z] ---> 1824ddda9222 [2021-06-29T02:12:55.641Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-29T02:12:55.641Z] ---> Running in 5d0b10c7be51 [2021-06-29T02:12:58.264Z] Removing intermediate container 5d0b10c7be51 [2021-06-29T02:12:58.264Z] ---> a7470dc3ae3b [2021-06-29T02:12:58.264Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-29T02:12:58.264Z] ---> Running in f3ac5f23075b [2021-06-29T02:12:59.242Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-29T02:13:00.221Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-29T02:13:01.198Z] OK: 144 MiB in 49 packages [2021-06-29T02:13:02.202Z] Removing intermediate container f3ac5f23075b [2021-06-29T02:13:02.202Z] ---> 673962de9597 [2021-06-29T02:13:02.202Z] Step 8/25 : WORKDIR /device-rest-go [2021-06-29T02:13:02.202Z] ---> Running in 049878a7ca8b [2021-06-29T02:13:02.806Z] Removing intermediate container 049878a7ca8b [2021-06-29T02:13:02.806Z] ---> 525f6cddb823 [2021-06-29T02:13:02.806Z] Step 9/25 : COPY . . [2021-06-29T02:13:03.788Z] ---> 3639e898b212 [2021-06-29T02:13:03.788Z] Step 10/25 : RUN go mod tidy [2021-06-29T02:13:03.788Z] ---> Running in fbc95821026d [2021-06-29T02:13:06.441Z] Removing intermediate container fbc95821026d [2021-06-29T02:13:06.441Z] ---> 7be1f1a88794 [2021-06-29T02:13:06.441Z] Step 11/25 : RUN make update [2021-06-29T02:13:06.725Z] ---> Running in a51703549f50 [2021-06-29T02:13:07.715Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-29T02:13:08.721Z] Removing intermediate container a51703549f50 [2021-06-29T02:13:08.721Z] ---> 582202da96ea [2021-06-29T02:13:08.721Z] Step 12/25 : RUN $MAKE [2021-06-29T02:13:09.000Z] ---> Running in b2226878fb3a [2021-06-29T02:13:10.440Z] go mod tidy [2021-06-29T02:13:10.718Z] 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-06-29T02:13:49.799Z] Removing intermediate container b2226878fb3a [2021-06-29T02:13:49.799Z] ---> eae4ad4d9326 [2021-06-29T02:13:49.799Z] Step 13/25 : FROM alpine:3.12 [2021-06-29T02:13:49.799Z] 3.12: Pulling from library/alpine [2021-06-29T02:13:49.799Z] d2f70382dc9a: Pulling fs layer [2021-06-29T02:13:49.799Z] d2f70382dc9a: Verifying Checksum [2021-06-29T02:13:49.799Z] d2f70382dc9a: Download complete [2021-06-29T02:13:49.799Z] d2f70382dc9a: Pull complete [2021-06-29T02:13:49.799Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-29T02:13:49.799Z] Status: Downloaded newer image for alpine:3.12 [2021-06-29T02:13:49.799Z] ---> c4fd0aeabfcf [2021-06-29T02:13:49.799Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-29T02:13:49.799Z] ---> Running in c7e8f04fe071 [2021-06-29T02:13:49.799Z] Removing intermediate container c7e8f04fe071 [2021-06-29T02:13:49.799Z] ---> a15c65fe7f9b [2021-06-29T02:13:49.799Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-06-29T02:13:49.799Z] ---> Running in 87074966743e [2021-06-29T02:13:49.799Z] Removing intermediate container 87074966743e [2021-06-29T02:13:49.799Z] ---> 453a4321e522 [2021-06-29T02:13:49.799Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-29T02:13:49.799Z] ---> Running in 7285e0d09cd6 [2021-06-29T02:13:49.799Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-29T02:13:49.799Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-29T02:13:49.799Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-29T02:13:49.799Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-29T02:13:49.799Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-29T02:13:49.799Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-29T02:13:49.799Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-29T02:13:49.799Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-29T02:13:49.799Z] Executing busybox-1.31.1-r20.trigger [2021-06-29T02:13:49.799Z] OK: 8 MiB in 20 packages [2021-06-29T02:13:51.240Z] Removing intermediate container 7285e0d09cd6 [2021-06-29T02:13:51.240Z] ---> 319e41670851 [2021-06-29T02:13:51.240Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-06-29T02:13:52.222Z] ---> 960b725b78f7 [2021-06-29T02:13:52.222Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-06-29T02:13:53.206Z] ---> 93deb2ce7a1e [2021-06-29T02:13:53.206Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-06-29T02:13:53.806Z] ---> 341be32a6c80 [2021-06-29T02:13:53.806Z] Step 20/25 : EXPOSE 59986 [2021-06-29T02:13:53.806Z] ---> Running in b4a4647b67d1 [2021-06-29T02:13:54.404Z] Removing intermediate container b4a4647b67d1 [2021-06-29T02:13:54.404Z] ---> 4ffc57e5f9d1 [2021-06-29T02:13:54.404Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-06-29T02:13:54.404Z] ---> Running in 11bcf02dcd72 [2021-06-29T02:13:55.004Z] Removing intermediate container 11bcf02dcd72 [2021-06-29T02:13:55.004Z] ---> debd415c8d41 [2021-06-29T02:13:55.004Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-29T02:13:55.004Z] ---> Running in 5eb9e163d755 [2021-06-29T02:13:55.604Z] Removing intermediate container 5eb9e163d755 [2021-06-29T02:13:55.604Z] ---> 74b9dc829d7a [2021-06-29T02:13:55.604Z] Step 23/25 : LABEL arch=arm64 [2021-06-29T02:13:55.604Z] ---> Running in 71ec4beefe38 [2021-06-29T02:13:56.202Z] Removing intermediate container 71ec4beefe38 [2021-06-29T02:13:56.202Z] ---> f1af89226ab9 [2021-06-29T02:13:56.202Z] Step 24/25 : LABEL git_sha=eda518e7a1b50e80d820649674e31759b477b718 [2021-06-29T02:13:56.202Z] ---> Running in 770cce6c9c7d [2021-06-29T02:13:56.802Z] Removing intermediate container 770cce6c9c7d [2021-06-29T02:13:56.802Z] ---> 51ee236e7c32 [2021-06-29T02:13:56.802Z] Step 25/25 : LABEL version=0.0.0 [2021-06-29T02:13:56.802Z] ---> Running in 5a27c6efa889 [2021-06-29T02:13:57.400Z] Removing intermediate container 5a27c6efa889 [2021-06-29T02:13:57.400Z] ---> ac6705f8a463 [2021-06-29T02:13:57.400Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-29T02:13:57.400Z] Successfully built ac6705f8a463 [2021-06-29T02:13:57.400Z] 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] libraryResource [Pipeline] sh [2021-06-29T02:13:58.301Z] ---> job-cost.sh [2021-06-29T02:13:58.301Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-rZ1K [2021-06-29T02:14:37.328Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-29T02:16:14.154Z] lf-activate-venv(): INFO: Adding /tmp/venv-rZ1K/bin to PATH [2021-06-29T02:16:14.154Z] INFO: No Stack... [2021-06-29T02:16:14.154Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-29T02:16:14.154Z] INFO: Archiving Costs [Pipeline] sh [2021-06-29T02:16:14.530Z] + + cut -d, -f6 [2021-06-29T02:16:14.530Z] cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2021-06-29T02:16:14.626Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-126-1-stack-cost] [2021-06-29T02:16:14.632Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-126-1-stack-cost] did not exist. Created. [2021-06-29T02:16:14.633Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-126-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-29T02:16:15.105Z] /w/workspace/device-rest-go/1@tmp/durable-358da3d7/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-358da3d7/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-29T02:16:15.490Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-29T02:16:15.533Z] Warning: overwriting stash ‘stack-cost’ [2021-06-29T02:16:15.686Z] Stashed 1 file(s) [Pipeline] } [2021-06-29T02:16:15.706Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-126-1-stack-cost] [Pipeline] // lock [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-06-29T02:16:16.945Z] provisioning config files... [2021-06-29T02:16:16.958Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-126@tmp/config6368702814430783333tmp [Pipeline] { [Pipeline] sh [2021-06-29T02:16:17.337Z] + set +x [2021-06-29T02:16:17.337Z] + curl -s https://codecov.io/bash [2021-06-29T02:16:17.337Z] + bash -s -- [2021-06-29T02:16:17.337Z] [2021-06-29T02:16:17.337Z] _____ _ [2021-06-29T02:16:17.337Z] / ____| | | [2021-06-29T02:16:17.337Z] | | ___ __| | ___ ___ _____ __ [2021-06-29T02:16:17.337Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-29T02:16:17.337Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-29T02:16:17.337Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-29T02:16:17.337Z] Bash-1.0.3 [2021-06-29T02:16:17.337Z] [2021-06-29T02:16:17.337Z] [2021-06-29T02:16:17.337Z] ==> git version 2.24.4 found [2021-06-29T02:16:17.337Z] ==> 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-06-29T02:16:17.337Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-29T02:16:17.337Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-29T02:16:17.337Z] ==> Jenkins CI detected. [2021-06-29T02:16:17.337Z] project root: . [2021-06-29T02:16:17.337Z] --> token set from env [2021-06-29T02:16:17.337Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-29T02:16:17.337Z] ==> Running gcov in . (disable via -X gcov) [2021-06-29T02:16:17.600Z] ==> Python coveragepy not found [2021-06-29T02:16:17.600Z] ==> Searching for coverage reports in: [2021-06-29T02:16:17.600Z] + . [2021-06-29T02:16:17.600Z] -> Found 1 reports [2021-06-29T02:16:17.600Z] ==> Detecting git/mercurial file structure [2021-06-29T02:16:17.600Z] ==> Reading reports [2021-06-29T02:16:17.600Z] + ./coverage.out bytes=8513 [2021-06-29T02:16:17.600Z] ==> Appending adjustments [2021-06-29T02:16:17.600Z] https://docs.codecov.io/docs/fixing-reports [2021-06-29T02:16:17.600Z] + Found adjustments [2021-06-29T02:16:17.600Z] ==> Gzipping contents [2021-06-29T02:16:17.600Z] 4.0K /tmp/codecov.Jb6qNj.gz [2021-06-29T02:16:17.600Z] ==> Uploading reports [2021-06-29T02:16:17.600Z] url: https://codecov.io [2021-06-29T02:16:17.600Z] query: branch=PR-126&commit=eda518e7a1b50e80d820649674e31759b477b718&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-126%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=126&job=&cmd_args= [2021-06-29T02:16:17.600Z] -> Pinging Codecov [2021-06-29T02:16:17.600Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-126&commit=eda518e7a1b50e80d820649674e31759b477b718&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-126%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=126&job=&cmd_args= [2021-06-29T02:16:18.174Z] -> Uploading to [2021-06-29T02:16:18.174Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-29/4E5D53B4F1F92C436F7061BF334D961C/eda518e7a1b50e80d820649674e31759b477b718/2a2a6b70-fdf3-4da9-84b7-bd2dae26a2ee.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210629%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210629T021617Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7de1db4c02e9cdb2f963d0f1f899dc073f7cceafa97164ce3490106b4f05ff41 [2021-06-29T02:16:18.174Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-29T02:16:18.174Z] Dload Upload Total Spent Left Speed [2021-06-29T02:16:18.442Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1608 0 0 100 1608 0 4757 --:--:-- --:--:-- --:--:-- 4771 [2021-06-29T02:16:18.442Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/eda518e7a1b50e80d820649674e31759b477b718 [Pipeline] } [2021-06-29T02:16:18.468Z] 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] libraryResource [Pipeline] sh [2021-06-29T02:16:21.271Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-29T02:16:21.879Z] ---> package-listing.sh [2021-06-29T02:16:21.879Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-29T02:16:21.879Z] ++ facter osfamily [2021-06-29T02:16:22.140Z] + OS_FAMILY=redhat [2021-06-29T02:16:22.140Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-126 [2021-06-29T02:16:22.140Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-29T02:16:22.140Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-29T02:16:22.140Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-29T02:16:22.140Z] + PACKAGES=/tmp/packages_start.txt [2021-06-29T02:16:22.140Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-126 ']' [2021-06-29T02:16:22.140Z] + PACKAGES=/tmp/packages_end.txt [2021-06-29T02:16:22.140Z] + case "${OS_FAMILY}" in [2021-06-29T02:16:22.140Z] + rpm -qa [2021-06-29T02:16:22.140Z] + sort [2021-06-29T02:16:22.714Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-29T02:16:22.714Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-29T02:16:22.714Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-29T02:16:22.714Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-126 ']' [2021-06-29T02:16:22.714Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-126/archives/ [2021-06-29T02:16:22.714Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-126/archives/ [Pipeline] echo [2021-06-29T02:16:22.749Z] 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-126/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-29T02:16:23.057Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-29T02:16:23.678Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-29T02:16:23.679Z] [2021-06-29T02:16:23.679Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-29T02:16:24.040Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-29T02:16:24.040Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-29T02:16:24.040Z] df20fa9351a1: Pulling fs layer [2021-06-29T02:16:24.040Z] 36b3adc4ff6f: Pulling fs layer [2021-06-29T02:16:24.040Z] 8ad3a11d3b57: Pulling fs layer [2021-06-29T02:16:24.040Z] 46f8f816bc3b: Pulling fs layer [2021-06-29T02:16:24.040Z] 93b61091891f: Pulling fs layer [2021-06-29T02:16:24.040Z] 93b9cdb0e59b: Pulling fs layer [2021-06-29T02:16:24.040Z] 5e14af77c1be: Pulling fs layer [2021-06-29T02:16:24.040Z] 01666e4c0597: Pulling fs layer [2021-06-29T02:16:24.040Z] aa168da1d23b: Pulling fs layer [2021-06-29T02:16:24.040Z] 93b9cdb0e59b: Waiting [2021-06-29T02:16:24.040Z] 5e14af77c1be: Waiting [2021-06-29T02:16:24.040Z] 01666e4c0597: Waiting [2021-06-29T02:16:24.040Z] aa168da1d23b: Waiting [2021-06-29T02:16:24.040Z] 46f8f816bc3b: Waiting [2021-06-29T02:16:24.040Z] 93b61091891f: Waiting [2021-06-29T02:16:24.040Z] 36b3adc4ff6f: Verifying Checksum [2021-06-29T02:16:24.040Z] 36b3adc4ff6f: Download complete [2021-06-29T02:16:24.040Z] 46f8f816bc3b: Verifying Checksum [2021-06-29T02:16:24.040Z] 46f8f816bc3b: Download complete [2021-06-29T02:16:24.040Z] df20fa9351a1: Verifying Checksum [2021-06-29T02:16:24.040Z] df20fa9351a1: Download complete [2021-06-29T02:16:24.310Z] 93b61091891f: Verifying Checksum [2021-06-29T02:16:24.311Z] 93b61091891f: Download complete [2021-06-29T02:16:24.311Z] 93b9cdb0e59b: Verifying Checksum [2021-06-29T02:16:24.311Z] 93b9cdb0e59b: Download complete [2021-06-29T02:16:24.311Z] 5e14af77c1be: Verifying Checksum [2021-06-29T02:16:24.311Z] 5e14af77c1be: Download complete [2021-06-29T02:16:24.311Z] 01666e4c0597: Verifying Checksum [2021-06-29T02:16:24.311Z] 01666e4c0597: Download complete [2021-06-29T02:16:24.311Z] 8ad3a11d3b57: Verifying Checksum [2021-06-29T02:16:24.311Z] 8ad3a11d3b57: Download complete [2021-06-29T02:16:24.311Z] df20fa9351a1: Pull complete [2021-06-29T02:16:24.573Z] 36b3adc4ff6f: Pull complete [2021-06-29T02:16:25.147Z] 8ad3a11d3b57: Pull complete [2021-06-29T02:16:25.147Z] 46f8f816bc3b: Pull complete [2021-06-29T02:16:25.406Z] 93b61091891f: Pull complete [2021-06-29T02:16:25.406Z] 93b9cdb0e59b: Pull complete [2021-06-29T02:16:25.673Z] 5e14af77c1be: Pull complete [2021-06-29T02:16:25.673Z] 01666e4c0597: Pull complete [2021-06-29T02:16:25.938Z] aa168da1d23b: Verifying Checksum [2021-06-29T02:16:25.939Z] aa168da1d23b: Download complete [2021-06-29T02:16:30.194Z] aa168da1d23b: Pull complete [2021-06-29T02:16:30.194Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-29T02:16:30.194Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-29T02:16:30.194Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-29T02:16:30.294Z] prd-centos7-docker-4c-2g-629 does not seem to be running inside a container [2021-06-29T02:16:30.437Z] $ 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-126/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-126 -v /w/workspace/gexfoundry_device-rest-go_PR-126:/w/workspace/gexfoundry_device-rest-go_PR-126:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-126@tmp:/w/workspace/gexfoundry_device-rest-go_PR-126@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-29T02:16:32.920Z] $ docker top 31c29101b2b6f1df746da36484e880ff474eb2ee6edd755313363004f90a9df4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-29T02:16:33.369Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-29T02:16:33.703Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-29T02:16:34.042Z] + ls /var/log/sa-host [2021-06-29T02:16:34.042Z] + sadf -c /var/log/sa-host/sa05 [2021-06-29T02:16:34.042Z] file_magic: OK [2021-06-29T02:16:34.042Z] HZ: Using current value: 100 [2021-06-29T02:16:34.042Z] file_header: OK [2021-06-29T02:16:34.042Z] 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-06-29T02:16:34.042Z] Statistics: [2021-06-29T02:16:34.042Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-29T02:16:34.042Z] File successfully converted to sysstat format version 12.2.1 [2021-06-29T02:16:34.042Z] + sadf -c /var/log/sa-host/sa29 [2021-06-29T02:16:34.042Z] file_magic: OK [2021-06-29T02:16:34.042Z] HZ: Using current value: 100 [2021-06-29T02:16:34.042Z] file_header: OK [2021-06-29T02:16:34.042Z] 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-06-29T02:16:34.042Z] Statistics: [2021-06-29T02:16:34.042Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-29T02:16:34.042Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-29T02:16:34.764Z] provisioning config files... [2021-06-29T02:16:34.776Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-126@tmp/config6834842281583723555tmp [Pipeline] { [Pipeline] echo [2021-06-29T02:16:34.840Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-29T02:16:35.179Z] ---> create-netrc.sh [Pipeline] } [2021-06-29T02:16:35.206Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-29T02:16:35.686Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-29T02:16:35.719Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-29T02:16:36.065Z] ---> sudo-logs.sh [2021-06-29T02:16:36.065Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-29T02:16:36.165Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-29T02:16:36.523Z] ---> job-cost.sh [2021-06-29T02:16:36.523Z] lf-activate-venv: SKIPPING [2021-06-29T02:16:36.523Z] DEBUG: total: 0.18000000715255737 [2021-06-29T02:16:36.523Z] INFO: Retrieving Stack Cost... [2021-06-29T02:16:37.469Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-29T02:16:37.734Z] INFO: Archiving Costs [Pipeline] echo [2021-06-29T02:16:37.785Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-29T02:16:38.134Z] ---> logs-deploy.sh [2021-06-29T02:16:38.134Z] lf-activate-venv: SKIPPING [2021-06-29T02:16:38.134Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-126/1 [2021-06-29T02:16:38.134Z] INFO: archiving workspace using pattern(s): [2021-06-29T02:16:40.052Z] Archives upload complete. [2021-06-29T02:16:40.052Z] INFO: archiving logs to Nexus