Pull request #125 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 46bb1f008b4bbebb6c33bfc1f413a29f7fbcd537+acb551efcb6a1b4088edd326f55b17ef654f475f (96ef87358e268a4e6373f931475aa6f89ce0ed84) 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-ssh3414551228623617837.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-ssh2601662687066069990.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-125/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-125/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4766990007295466741.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-125/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9097832509577700770.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-ssh8140106038508791799.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-125/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-125/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1006672948928512410.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 ‘prd-centos7-docker-4c-2g-915’ is offline Running on prd-centos7-docker-4c-2g-567 in /w/workspace/gexfoundry_device-rest-go_PR-125 [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-125 # 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-125@tmp/jenkins-gitclient-ssh2025355899875223535.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-125@tmp/jenkins-gitclient-ssh524280770134551841.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/125/head:refs/remotes/origin/PR-125 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit acb551efcb6a1b4088edd326f55b17ef654f475f into PR head commit 46bb1f008b4bbebb6c33bfc1f413a29f7fbcd537 Merge succeeded, producing 46bb1f008b4bbebb6c33bfc1f413a29f7fbcd537 Checking out Revision 46bb1f008b4bbebb6c33bfc1f413a29f7fbcd537 (PR-125) > git config core.sparsecheckout # timeout=10 > git checkout -f 46bb1f008b4bbebb6c33bfc1f413a29f7fbcd537 # 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-125@tmp/jenkins-gitclient-ssh1764616822589833901.key > git merge acb551efcb6a1b4088edd326f55b17ef654f475f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 46bb1f008b4bbebb6c33bfc1f413a29f7fbcd537 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 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-28T20:07:21.348Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-28T20:07:21.538Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-28T20:07:21.686Z] ========================================================= [2021-06-28T20:07:21.686Z] EdgeX Global Pipelines Version Info [2021-06-28T20:07:21.686Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-28T20:07:23.309Z] ------------------- [2021-06-28T20:07:23.309Z] stable info: [2021-06-28T20:07:23.309Z] ------------------- [2021-06-28T20:07:23.309Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-28T20:07:23.309Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-28T20:07:23.309Z] Message: update stable to v1.0.195 [2021-06-28T20:07:23.883Z] ------------------- [2021-06-28T20:07:23.884Z] experimental info: [2021-06-28T20:07:23.884Z] ------------------- [2021-06-28T20:07:23.884Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-28T20:07:23.884Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-28T20:07:23.884Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-28T20:07:24.114Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-06-28T20:07:24.179Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-06-28T20:07:24.233Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-28T20:07:24.296Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-28T20:07:24.350Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-28T20:07:24.404Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-28T20:07:24.457Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-28T20:07:24.523Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-28T20:07:24.584Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-28T20:07:24.641Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-28T20:07:24.692Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-28T20:07:24.760Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-06-28T20:07:24.825Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-28T20:07:24.883Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-28T20:07:24.940Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-28T20:07:24.998Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-28T20:07:25.051Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-28T20:07:25.106Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-28T20:07:25.162Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-28T20:07:25.232Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-28T20:07:25.290Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-28T20:07:25.352Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-28T20:07:25.408Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-28T20:07:25.471Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-28T20:07:25.531Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-28T20:07:25.604Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-28T20:07:25.673Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-125 [Pipeline] echo [2021-06-28T20:07:25.734Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-125 [Pipeline] echo [2021-06-28T20:07:25.792Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-125 [Pipeline] echo [2021-06-28T20:07:25.868Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 46bb1f008b4bbebb6c33bfc1f413a29f7fbcd537 [Pipeline] echo [2021-06-28T20:07:25.936Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 46bb1f0 [Pipeline] echo [2021-06-28T20:07:26.001Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-28T20:07:26.164Z] provisioning config files... [2021-06-28T20:07:26.180Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-125@tmp/config8587283105005267207tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-28T20:07:26.566Z] ---> docker-login.sh [2021-06-28T20:07:26.566Z] nexus3.edgexfoundry.org:10001 [2021-06-28T20:07:26.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T20:07:26.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T20:07:26.839Z] Configure a credential helper to remove this warning. See [2021-06-28T20:07:26.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T20:07:26.839Z] [2021-06-28T20:07:26.839Z] Login Succeeded [2021-06-28T20:07:26.839Z] nexus3.edgexfoundry.org:10002 [2021-06-28T20:07:26.839Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T20:07:26.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T20:07:26.839Z] Configure a credential helper to remove this warning. See [2021-06-28T20:07:26.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T20:07:26.839Z] [2021-06-28T20:07:26.839Z] Login Succeeded [2021-06-28T20:07:26.839Z] nexus3.edgexfoundry.org:10003 [2021-06-28T20:07:26.839Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T20:07:27.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T20:07:27.107Z] Configure a credential helper to remove this warning. See [2021-06-28T20:07:27.107Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T20:07:27.107Z] [2021-06-28T20:07:27.107Z] Login Succeeded [2021-06-28T20:07:27.107Z] nexus3.edgexfoundry.org:10004 [2021-06-28T20:07:27.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T20:07:27.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T20:07:27.107Z] Configure a credential helper to remove this warning. See [2021-06-28T20:07:27.107Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T20:07:27.107Z] [2021-06-28T20:07:27.107Z] Login Succeeded [2021-06-28T20:07:27.107Z] docker.io [2021-06-28T20:07:27.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T20:07:27.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T20:07:27.631Z] Configure a credential helper to remove this warning. See [2021-06-28T20:07:27.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T20:07:27.631Z] [2021-06-28T20:07:27.631Z] Login Succeeded [2021-06-28T20:07:27.631Z] ---> docker-login.sh ends [Pipeline] } [2021-06-28T20:07:27.656Z] 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-28T20:07:28.515Z] + git log --format=format:%s -1 46bb1f008b4bbebb6c33bfc1f413a29f7fbcd537 [Pipeline] echo [2021-06-28T20:07:28.597Z] GIT_COMMIT: 46bb1f008b4bbebb6c33bfc1f413a29f7fbcd537, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2021-06-28T20:07:28.650Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-28T20:07:29.330Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-28T20:07:29.330Z] [2021-06-28T20:07:29.330Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-28T20:07:29.704Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-28T20:07:29.704Z] latest: Pulling from edgex-devops/git-semver [2021-06-28T20:07:29.704Z] 31603596830f: Pulling fs layer [2021-06-28T20:07:29.704Z] 54011a49482f: Pulling fs layer [2021-06-28T20:07:29.704Z] a6820b24f6d8: Pulling fs layer [2021-06-28T20:07:29.704Z] f581987b2513: Pulling fs layer [2021-06-28T20:07:29.704Z] f581987b2513: Waiting [2021-06-28T20:07:29.704Z] 54011a49482f: Verifying Checksum [2021-06-28T20:07:29.704Z] 54011a49482f: Download complete [2021-06-28T20:07:29.966Z] 31603596830f: Verifying Checksum [2021-06-28T20:07:29.966Z] 31603596830f: Download complete [2021-06-28T20:07:29.966Z] f581987b2513: Verifying Checksum [2021-06-28T20:07:29.966Z] f581987b2513: Download complete [2021-06-28T20:07:29.966Z] a6820b24f6d8: Verifying Checksum [2021-06-28T20:07:29.966Z] a6820b24f6d8: Download complete [2021-06-28T20:07:29.966Z] 31603596830f: Pull complete [2021-06-28T20:07:30.238Z] 54011a49482f: Pull complete [2021-06-28T20:07:30.823Z] a6820b24f6d8: Pull complete [2021-06-28T20:07:30.823Z] f581987b2513: Pull complete [2021-06-28T20:07:30.823Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-28T20:07:30.823Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-28T20:07:30.823Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-28T20:07:30.924Z] prd-centos7-docker-4c-2g-567 does not seem to be running inside a container [2021-06-28T20:07:30.966Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-125 -v /w/workspace/gexfoundry_device-rest-go_PR-125:/w/workspace/gexfoundry_device-rest-go_PR-125:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-125@tmp:/w/workspace/gexfoundry_device-rest-go_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-28T20:07:31.976Z] $ docker top febe1fa01fbaf0922945f12c53713790bf35f4976af8a0a75d7470cd686edd0c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-28T20:07:32.195Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-28T20:07:32.195Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-28T20:07:32.311Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-28T20:07:32.314Z] $ docker exec febe1fa01fbaf0922945f12c53713790bf35f4976af8a0a75d7470cd686edd0c ssh-agent [2021-06-28T20:07:32.425Z] SSH_AUTH_SOCK=/tmp/ssh-kQHjTD1S6ZOb/agent.14 [2021-06-28T20:07:32.425Z] SSH_AGENT_PID=20 [2021-06-28T20:07:32.435Z] Running ssh-add (command line suppressed) [2021-06-28T20:07:32.533Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-125@tmp/private_key_7183274823057302444.key (/w/workspace/gexfoundry_device-rest-go_PR-125@tmp/private_key_7183274823057302444.key) [2021-06-28T20:07:32.547Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-28T20:07:32.912Z] + git tag --points-at HEAD [Pipeline] } [2021-06-28T20:07:32.936Z] $ docker exec --env ******** --env ******** febe1fa01fbaf0922945f12c53713790bf35f4976af8a0a75d7470cd686edd0c ssh-agent -k [2021-06-28T20:07:33.043Z] unset SSH_AUTH_SOCK; [2021-06-28T20:07:33.043Z] unset SSH_AGENT_PID; [2021-06-28T20:07:33.043Z] echo Agent pid 20 killed; [2021-06-28T20:07:33.054Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-28T20:07:33.170Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-28T20:07:33.170Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-28T20:07:33.285Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-28T20:07:33.288Z] $ docker exec febe1fa01fbaf0922945f12c53713790bf35f4976af8a0a75d7470cd686edd0c ssh-agent [2021-06-28T20:07:33.409Z] SSH_AUTH_SOCK=/tmp/ssh-0RBIJxgLH72M/agent.55 [2021-06-28T20:07:33.409Z] SSH_AGENT_PID=62 [2021-06-28T20:07:33.415Z] Running ssh-add (command line suppressed) [2021-06-28T20:07:33.511Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-125@tmp/private_key_7124138196008358160.key (/w/workspace/gexfoundry_device-rest-go_PR-125@tmp/private_key_7124138196008358160.key) [2021-06-28T20:07:33.525Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-28T20:07:33.907Z] + git semver init [2021-06-28T20:07:33.907Z] # -> Open(): unable to determine branch for HEAD [2021-06-28T20:07:33.907Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-125/.git [2021-06-28T20:07:33.907Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-125 [2021-06-28T20:07:33.907Z] # $SEMVER_REMOTE_NAME = origin [2021-06-28T20:07:33.907Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-28T20:07:33.907Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-28T20:07:33.907Z] # $SEMVER_BRANCH = PR-125 [2021-06-28T20:07:33.907Z] # $SEMVER_TEMP = /tmp/semver-208067413 [2021-06-28T20:07:33.907Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-06-28T20:07:34.867Z] # '/tmp/semver-208067413' -> '/w/workspace/gexfoundry_device-rest-go_PR-125/.semver' [2021-06-28T20:07:34.868Z] # -> Force: false [2021-06-28T20:07:34.868Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-125/.semver [Pipeline] } [2021-06-28T20:07:34.889Z] $ docker exec --env ******** --env ******** febe1fa01fbaf0922945f12c53713790bf35f4976af8a0a75d7470cd686edd0c ssh-agent -k [2021-06-28T20:07:34.994Z] unset SSH_AUTH_SOCK; [2021-06-28T20:07:34.994Z] unset SSH_AGENT_PID; [2021-06-28T20:07:34.994Z] echo Agent pid 62 killed; [2021-06-28T20:07:35.007Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-28T20:07:35.470Z] + git semver [Pipeline] } [2021-06-28T20:07:35.500Z] $ docker stop --time=1 febe1fa01fbaf0922945f12c53713790bf35f4976af8a0a75d7470cd686edd0c [2021-06-28T20:07:36.799Z] $ docker rm -f febe1fa01fbaf0922945f12c53713790bf35f4976af8a0a75d7470cd686edd0c [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-28T20:07:37.236Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-28T20:07:37.584Z] Stashed 1 file(s) [Pipeline] echo [2021-06-28T20:07:37.607Z] [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-28T20:07:53.168Z] Still waiting to schedule task [2021-06-28T20:07:53.169Z] ‘prd-centos7-blackbox-4c-2g-214’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-28T20:07:53.169Z] ‘prd-centos7-docker-4c-2g-568’ is offline [2021-06-28T20:07:53.169Z] ‘prd-centos7-docker-4c-2g-915’ is offline [2021-06-28T20:07:53.169Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1218’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-28T20:07:53.169Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-566’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-28T20:07:53.197Z] Still waiting to schedule task [2021-06-28T20:07:53.198Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-06-28T20:10:28.866Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-569 in /w/workspace/gexfoundry_device-rest-go_PR-125 [Pipeline] { [Pipeline] ws [2021-06-28T20:10:28.928Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-06-28T20:10:29.247Z] The recommended git tool is: git [2021-06-28T20:10:35.733Z] using credential edgex-jenkins-ssh [2021-06-28T20:10:35.758Z] Cloning the remote Git repository [2021-06-28T20:10:35.815Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-06-28T20:10:35.944Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-06-28T20:10:36.081Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-28T20:10:36.082Z] > git --version # timeout=10 [2021-06-28T20:10:36.128Z] > git --version # 'git version 2.17.1' [2021-06-28T20:10:36.130Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-28T20:10:36.255Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-28T20:10:37.858Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-28T20:10:37.882Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-28T20:10:37.915Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-28T20:10:37.958Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-28T20:10:37.959Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-28T20:10:37.971Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/125/head:refs/remotes/origin/PR-125 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-28T20:10:38.453Z] Merging remotes/origin/master commit acb551efcb6a1b4088edd326f55b17ef654f475f into PR head commit 46bb1f008b4bbebb6c33bfc1f413a29f7fbcd537 [2021-06-28T20:10:38.676Z] Merge succeeded, producing 46bb1f008b4bbebb6c33bfc1f413a29f7fbcd537 [2021-06-28T20:10:38.676Z] Checking out Revision 46bb1f008b4bbebb6c33bfc1f413a29f7fbcd537 (PR-125) [2021-06-28T20:10:38.474Z] > git config core.sparsecheckout # timeout=10 [2021-06-28T20:10:38.490Z] > git checkout -f 46bb1f008b4bbebb6c33bfc1f413a29f7fbcd537 # timeout=10 [2021-06-28T20:10:38.578Z] > git remote # timeout=10 [2021-06-28T20:10:38.597Z] > git config --get remote.origin.url # timeout=10 [2021-06-28T20:10:38.615Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-28T20:10:38.627Z] > git merge acb551efcb6a1b4088edd326f55b17ef654f475f # timeout=10 [2021-06-28T20:10:38.652Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-28T20:10:38.683Z] > git config core.sparsecheckout # timeout=10 [2021-06-28T20:10:38.707Z] > git checkout -f 46bb1f008b4bbebb6c33bfc1f413a29f7fbcd537 # timeout=10 [2021-06-28T20:10:43.098Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2021-06-28T20:10:43.164Z] > git --version # timeout=10 [2021-06-28T20:10:43.180Z] > git --version # 'git version 2.17.1' [2021-06-28T20:10:43.198Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-28T20:10:44.718Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-28T20:10:45.142Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-28T20:10:45.511Z] + true [2021-06-28T20:10:45.511Z] + sudo service docker restart [2021-06-28T20:10:49.649Z] Running on prd-centos7-docker-4c-2g-570 in /w/workspace/gexfoundry_device-rest-go_PR-125 [Pipeline] { [Pipeline] ws [2021-06-28T20:10:49.712Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-06-28T20:10:49.883Z] The recommended git tool is: git [2021-06-28T20:10:52.235Z] using credential edgex-jenkins-ssh [2021-06-28T20:10:52.253Z] Cloning the remote Git repository [2021-06-28T20:10:51.733Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-06-28T20:10:51.818Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-06-28T20:10:51.859Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-28T20:10:51.859Z] > git --version # timeout=10 [2021-06-28T20:10:51.870Z] > git --version # 'git version 2.24.4' [2021-06-28T20:10:51.871Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-28T20:10:51.893Z] [INFO] Currently running in a labeled security context [2021-06-28T20:10:51.894Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-28T20:10:51.894Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh7024456088532403792.key [2021-06-28T20:10:51.909Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-28T20:10:53.854Z] Merging remotes/origin/master commit acb551efcb6a1b4088edd326f55b17ef654f475f into PR head commit 46bb1f008b4bbebb6c33bfc1f413a29f7fbcd537 [2021-06-28T20:10:53.947Z] Merge succeeded, producing 46bb1f008b4bbebb6c33bfc1f413a29f7fbcd537 [2021-06-28T20:10:53.948Z] Checking out Revision 46bb1f008b4bbebb6c33bfc1f413a29f7fbcd537 (PR-125) [2021-06-28T20:10:52.958Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-28T20:10:52.972Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-28T20:10:52.986Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-28T20:10:53.004Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-28T20:10:53.004Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-28T20:10:53.005Z] [INFO] Currently running in a labeled security context [2021-06-28T20:10:53.005Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-28T20:10:53.005Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh3627351510636240407.key [2021-06-28T20:10:53.013Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/125/head:refs/remotes/origin/PR-125 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-28T20:10:53.454Z] > git config core.sparsecheckout # timeout=10 [2021-06-28T20:10:53.462Z] > git checkout -f 46bb1f008b4bbebb6c33bfc1f413a29f7fbcd537 # timeout=10 [2021-06-28T20:10:53.494Z] > git remote # timeout=10 [2021-06-28T20:10:53.502Z] > git config --get remote.origin.url # timeout=10 [2021-06-28T20:10:53.509Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-28T20:10:53.510Z] [INFO] Currently running in a labeled security context [2021-06-28T20:10:53.510Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-28T20:10:53.511Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh8184972039336241661.key [2021-06-28T20:10:53.518Z] > git merge acb551efcb6a1b4088edd326f55b17ef654f475f # timeout=10 [2021-06-28T20:10:53.533Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-28T20:10:53.549Z] > git config core.sparsecheckout # timeout=10 [2021-06-28T20:10:53.561Z] > git checkout -f 46bb1f008b4bbebb6c33bfc1f413a29f7fbcd537 # timeout=10 [2021-06-28T20:10:57.356Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2021-06-28T20:10:57.268Z] > git --version # timeout=10 [2021-06-28T20:10:57.278Z] > git --version # 'git version 2.24.4' [2021-06-28T20:10:57.301Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-28T20:10:58.678Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-28T20:10:59.033Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-28T20:10:59.371Z] + sudo service docker restart [2021-06-28T20:10:59.372Z] + true [2021-06-28T20:10:59.372Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-28T20:11:04.009Z] provisioning config files... [2021-06-28T20:11:04.045Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config5200666189734268842tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-28T20:11:04.513Z] ---> docker-login.sh [2021-06-28T20:11:04.513Z] nexus3.edgexfoundry.org:10001 [2021-06-28T20:11:05.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T20:11:05.790Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T20:11:05.790Z] Configure a credential helper to remove this warning. See [2021-06-28T20:11:05.790Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T20:11:05.790Z] [2021-06-28T20:11:05.790Z] Login Succeeded [2021-06-28T20:11:05.790Z] nexus3.edgexfoundry.org:10002 [2021-06-28T20:11:06.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T20:11:06.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T20:11:06.737Z] Configure a credential helper to remove this warning. See [2021-06-28T20:11:06.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T20:11:06.737Z] [2021-06-28T20:11:06.737Z] Login Succeeded [2021-06-28T20:11:06.737Z] nexus3.edgexfoundry.org:10003 [2021-06-28T20:11:07.012Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T20:11:07.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T20:11:07.287Z] Configure a credential helper to remove this warning. See [2021-06-28T20:11:07.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T20:11:07.287Z] [2021-06-28T20:11:07.287Z] Login Succeeded [2021-06-28T20:11:07.287Z] nexus3.edgexfoundry.org:10004 [2021-06-28T20:11:07.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T20:11:07.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T20:11:07.837Z] Configure a credential helper to remove this warning. See [2021-06-28T20:11:07.837Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T20:11:07.837Z] [2021-06-28T20:11:07.837Z] Login Succeeded [2021-06-28T20:11:07.837Z] docker.io [2021-06-28T20:11:08.120Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T20:11:08.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T20:11:08.719Z] Configure a credential helper to remove this warning. See [2021-06-28T20:11:08.719Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T20:11:08.719Z] [2021-06-28T20:11:08.719Z] Login Succeeded [2021-06-28T20:11:08.719Z] ---> docker-login.sh ends [Pipeline] } [2021-06-28T20:11:08.752Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-28T20:11:09.452Z] ========================================================= [2021-06-28T20:11:09.452Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-28T20:11:09.452Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-28T20:11:09.875Z] + 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-28T20:11:09.876Z] Sending build context to Docker daemon 92.16kB [2021-06-28T20:11:10.156Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-28T20:11:10.156Z] Step 2/10 : FROM ${BASE} [2021-06-28T20:11:10.442Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-28T20:11:10.442Z] 595b0fe564bb: Pulling fs layer [2021-06-28T20:11:10.442Z] 3088b5b3c5c0: Pulling fs layer [2021-06-28T20:11:10.442Z] 5b7225fbf94c: Pulling fs layer [2021-06-28T20:11:10.442Z] ba82ee9f976e: Pulling fs layer [2021-06-28T20:11:10.442Z] 506bd15cee9f: Pulling fs layer [2021-06-28T20:11:10.442Z] 75a0a4a0db45: Pulling fs layer [2021-06-28T20:11:10.442Z] 618dc40b7e24: Pulling fs layer [2021-06-28T20:11:10.442Z] 506bd15cee9f: Waiting [2021-06-28T20:11:10.442Z] ba82ee9f976e: Waiting [2021-06-28T20:11:10.442Z] 75a0a4a0db45: Waiting [2021-06-28T20:11:10.442Z] 618dc40b7e24: Waiting [2021-06-28T20:11:10.442Z] 5b7225fbf94c: Verifying Checksum [2021-06-28T20:11:10.442Z] 5b7225fbf94c: Download complete [2021-06-28T20:11:10.442Z] 3088b5b3c5c0: Verifying Checksum [2021-06-28T20:11:10.442Z] 3088b5b3c5c0: Download complete [2021-06-28T20:11:10.442Z] 506bd15cee9f: Verifying Checksum [2021-06-28T20:11:10.442Z] 506bd15cee9f: Download complete [2021-06-28T20:11:10.738Z] 75a0a4a0db45: Verifying Checksum [2021-06-28T20:11:10.738Z] 75a0a4a0db45: Download complete [2021-06-28T20:11:10.738Z] 595b0fe564bb: Verifying Checksum [2021-06-28T20:11:10.738Z] 595b0fe564bb: Download complete [2021-06-28T20:11:11.347Z] 595b0fe564bb: Pull complete [2021-06-28T20:11:11.953Z] 3088b5b3c5c0: Pull complete [2021-06-28T20:11:12.556Z] 5b7225fbf94c: Pull complete [2021-06-28T20:11:13.153Z] 618dc40b7e24: Verifying Checksum [2021-06-28T20:11:13.153Z] 618dc40b7e24: Download complete [2021-06-28T20:11:14.591Z] ba82ee9f976e: Verifying Checksum [2021-06-28T20:11:14.591Z] ba82ee9f976e: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-28T20:11:17.651Z] provisioning config files... [2021-06-28T20:11:17.666Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config5918884381251655817tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-28T20:11:18.064Z] ---> docker-login.sh [2021-06-28T20:11:18.064Z] nexus3.edgexfoundry.org:10001 [2021-06-28T20:11:18.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T20:11:18.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T20:11:18.328Z] Configure a credential helper to remove this warning. See [2021-06-28T20:11:18.328Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T20:11:18.328Z] [2021-06-28T20:11:18.328Z] Login Succeeded [2021-06-28T20:11:18.328Z] nexus3.edgexfoundry.org:10002 [2021-06-28T20:11:18.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T20:11:18.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T20:11:18.328Z] Configure a credential helper to remove this warning. See [2021-06-28T20:11:18.328Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T20:11:18.328Z] [2021-06-28T20:11:18.328Z] Login Succeeded [2021-06-28T20:11:18.328Z] nexus3.edgexfoundry.org:10003 [2021-06-28T20:11:18.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T20:11:18.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T20:11:18.597Z] Configure a credential helper to remove this warning. See [2021-06-28T20:11:18.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T20:11:18.597Z] [2021-06-28T20:11:18.597Z] Login Succeeded [2021-06-28T20:11:18.597Z] nexus3.edgexfoundry.org:10004 [2021-06-28T20:11:18.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T20:11:18.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T20:11:18.597Z] Configure a credential helper to remove this warning. See [2021-06-28T20:11:18.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T20:11:18.597Z] [2021-06-28T20:11:18.597Z] Login Succeeded [2021-06-28T20:11:18.597Z] docker.io [2021-06-28T20:11:18.860Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T20:11:19.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T20:11:19.122Z] Configure a credential helper to remove this warning. See [2021-06-28T20:11:19.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T20:11:19.122Z] [2021-06-28T20:11:19.122Z] Login Succeeded [2021-06-28T20:11:19.122Z] ---> docker-login.sh ends [Pipeline] } [2021-06-28T20:11:19.150Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-28T20:11:19.467Z] ========================================================= [2021-06-28T20:11:19.467Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-28T20:11:19.467Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-28T20:11:19.862Z] + 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-28T20:11:19.862Z] Sending build context to Docker daemon 92.16kB [2021-06-28T20:11:19.862Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-28T20:11:19.862Z] Step 2/10 : FROM ${BASE} [2021-06-28T20:11:19.862Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-28T20:11:19.862Z] 540db60ca938: Pulling fs layer [2021-06-28T20:11:19.862Z] adcc1eea9eea: Pulling fs layer [2021-06-28T20:11:19.862Z] 4c4ab2625f07: Pulling fs layer [2021-06-28T20:11:19.862Z] 0510c868ecb4: Pulling fs layer [2021-06-28T20:11:19.862Z] afea3b2eda06: Pulling fs layer [2021-06-28T20:11:19.862Z] 7809a108b3ef: Pulling fs layer [2021-06-28T20:11:19.862Z] f706445af74f: Pulling fs layer [2021-06-28T20:11:19.862Z] 0510c868ecb4: Waiting [2021-06-28T20:11:19.862Z] afea3b2eda06: Waiting [2021-06-28T20:11:19.862Z] 7809a108b3ef: Waiting [2021-06-28T20:11:19.862Z] f706445af74f: Waiting [2021-06-28T20:11:19.862Z] 4c4ab2625f07: Verifying Checksum [2021-06-28T20:11:19.862Z] 4c4ab2625f07: Download complete [2021-06-28T20:11:20.137Z] adcc1eea9eea: Verifying Checksum [2021-06-28T20:11:20.137Z] adcc1eea9eea: Download complete [2021-06-28T20:11:20.137Z] afea3b2eda06: Verifying Checksum [2021-06-28T20:11:20.137Z] afea3b2eda06: Download complete [2021-06-28T20:11:20.137Z] 7809a108b3ef: Verifying Checksum [2021-06-28T20:11:20.137Z] 7809a108b3ef: Download complete [2021-06-28T20:11:20.137Z] 540db60ca938: Verifying Checksum [2021-06-28T20:11:20.137Z] 540db60ca938: Download complete [2021-06-28T20:11:20.408Z] 540db60ca938: Pull complete [2021-06-28T20:11:20.408Z] adcc1eea9eea: Pull complete [2021-06-28T20:11:20.674Z] 4c4ab2625f07: Pull complete [2021-06-28T20:11:21.253Z] f706445af74f: Verifying Checksum [2021-06-28T20:11:21.253Z] f706445af74f: Download complete [2021-06-28T20:11:22.209Z] 0510c868ecb4: Verifying Checksum [2021-06-28T20:11:22.209Z] 0510c868ecb4: Download complete [2021-06-28T20:11:24.744Z] ba82ee9f976e: Pull complete [2021-06-28T20:11:24.745Z] 506bd15cee9f: Pull complete [2021-06-28T20:11:24.745Z] 75a0a4a0db45: Pull complete [2021-06-28T20:11:25.903Z] 0510c868ecb4: Pull complete [2021-06-28T20:11:25.903Z] afea3b2eda06: Pull complete [2021-06-28T20:11:25.903Z] 7809a108b3ef: Pull complete [2021-06-28T20:11:27.297Z] f706445af74f: Pull complete [2021-06-28T20:11:27.297Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-28T20:11:27.297Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-28T20:11:27.297Z] ---> b068be0155e3 [2021-06-28T20:11:27.297Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-28T20:11:27.363Z] 618dc40b7e24: Pull complete [2021-06-28T20:11:27.363Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-28T20:11:27.650Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-28T20:11:27.650Z] ---> a36622ca3599 [2021-06-28T20:11:27.650Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-28T20:11:29.641Z] ---> Running in 9f568da25b25 [2021-06-28T20:11:30.239Z] Removing intermediate container 9f568da25b25 [2021-06-28T20:11:30.239Z] ---> 82e1f7fd0f17 [2021-06-28T20:11:30.239Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-28T20:11:30.239Z] ---> Running in 26de059b0439 [2021-06-28T20:11:30.621Z] ---> Running in 79fd5ba23e36 [2021-06-28T20:11:30.838Z] Removing intermediate container 26de059b0439 [2021-06-28T20:11:30.838Z] ---> 044de813f9a1 [2021-06-28T20:11:30.838Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-28T20:11:30.838Z] ---> Running in 86f5c41ee5a3 [2021-06-28T20:11:30.884Z] Removing intermediate container 79fd5ba23e36 [2021-06-28T20:11:30.884Z] ---> 3c60dde9d33a [2021-06-28T20:11:30.884Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-28T20:11:30.884Z] ---> Running in 501233a9ab46 [2021-06-28T20:11:30.884Z] Removing intermediate container 501233a9ab46 [2021-06-28T20:11:30.884Z] ---> 28a9cbad5d0d [2021-06-28T20:11:30.884Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-28T20:11:30.884Z] ---> Running in 563d9aeb5b51 [2021-06-28T20:11:31.148Z] Removing intermediate container 563d9aeb5b51 [2021-06-28T20:11:31.148Z] ---> fd8a2c29222e [2021-06-28T20:11:31.148Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-28T20:11:31.148Z] ---> Running in d42ceb344ab9 [2021-06-28T20:11:31.437Z] Removing intermediate container 86f5c41ee5a3 [2021-06-28T20:11:31.437Z] ---> efcc824a1d1d [2021-06-28T20:11:31.437Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-28T20:11:31.437Z] ---> Running in cc3232eb03bc [2021-06-28T20:11:31.729Z] Removing intermediate container d42ceb344ab9 [2021-06-28T20:11:31.729Z] ---> e22056720f04 [2021-06-28T20:11:31.729Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-28T20:11:31.729Z] ---> Running in 28ca6294fb00 [2021-06-28T20:11:31.991Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-28T20:11:32.949Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-28T20:11:33.524Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-06-28T20:11:33.524Z] (2/9) Installing libsodium (1.0.18-r0) [2021-06-28T20:11:33.524Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-06-28T20:11:33.524Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-06-28T20:11:33.787Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-06-28T20:11:33.787Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-06-28T20:11:33.787Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-06-28T20:11:34.054Z] (8/9) Installing libzmq (4.3.3-r1) [2021-06-28T20:11:34.056Z] Removing intermediate container cc3232eb03bc [2021-06-28T20:11:34.056Z] ---> 75ab3dca992a [2021-06-28T20:11:34.056Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-28T20:11:34.056Z] ---> Running in faa62758c8e0 [2021-06-28T20:11:34.317Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-06-28T20:11:34.318Z] Executing busybox-1.32.1-r6.trigger [2021-06-28T20:11:34.318Z] OK: 154 MiB in 49 packages [2021-06-28T20:11:34.896Z] Removing intermediate container 28ca6294fb00 [2021-06-28T20:11:34.896Z] ---> fd2a232f7e76 [2021-06-28T20:11:34.896Z] Step 8/10 : WORKDIR /device-rest-go [2021-06-28T20:11:34.896Z] ---> Running in 51001c8b212e [2021-06-28T20:11:34.896Z] Removing intermediate container 51001c8b212e [2021-06-28T20:11:34.896Z] ---> e8d6bef4d126 [2021-06-28T20:11:34.896Z] Step 9/10 : COPY . . [2021-06-28T20:11:35.038Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-28T20:11:35.157Z] ---> 8cc01ef4a617 [2021-06-28T20:11:35.157Z] Step 10/10 : RUN go mod download [2021-06-28T20:11:35.157Z] ---> Running in a9ebe7b78a8b [2021-06-28T20:11:36.019Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-28T20:11:36.999Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-06-28T20:11:36.999Z] (2/9) Installing libsodium (1.0.18-r0) [2021-06-28T20:11:37.273Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-06-28T20:11:37.273Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-06-28T20:11:37.546Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-06-28T20:11:37.546Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-06-28T20:11:37.546Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-06-28T20:11:37.819Z] (8/9) Installing libzmq (4.3.3-r1) [2021-06-28T20:11:38.092Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-06-28T20:11:38.092Z] Executing busybox-1.32.1-r6.trigger [2021-06-28T20:11:38.366Z] OK: 144 MiB in 49 packages [2021-06-28T20:11:39.807Z] Removing intermediate container faa62758c8e0 [2021-06-28T20:11:39.807Z] ---> 06682978ce9f [2021-06-28T20:11:39.807Z] Step 8/10 : WORKDIR /device-rest-go [2021-06-28T20:11:39.807Z] ---> Running in 9aad71329306 [2021-06-28T20:11:40.411Z] Removing intermediate container 9aad71329306 [2021-06-28T20:11:40.411Z] ---> 35e8eb20d54f [2021-06-28T20:11:40.412Z] Step 9/10 : COPY . . [2021-06-28T20:11:41.396Z] ---> fc76c104d142 [2021-06-28T20:11:41.396Z] Step 10/10 : RUN go mod download [2021-06-28T20:11:41.396Z] ---> Running in 000d99a259dd [2021-06-28T20:12:01.799Z] Removing intermediate container a9ebe7b78a8b [2021-06-28T20:12:01.799Z] ---> 71e38716fa76 [2021-06-28T20:12:01.799Z] Successfully built 71e38716fa76 [2021-06-28T20:12:01.799Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-28T20:12:02.223Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-28T20:12:02.223Z] . [Pipeline] withDockerContainer [2021-06-28T20:12:02.361Z] prd-centos7-docker-4c-2g-570 does not seem to be running inside a container [2021-06-28T20:12:02.404Z] $ 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 ******** ci-base-image-x86_64 cat [2021-06-28T20:12:02.793Z] $ docker top 54ac3c905eede45c118f0a56f52b5ce0408f52e42c6083c52adcf7f19a82f2eb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-28T20:12:03.305Z] + go version [2021-06-28T20:12:03.305Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-28T20:12:03.337Z] $ docker stop --time=1 54ac3c905eede45c118f0a56f52b5ce0408f52e42c6083c52adcf7f19a82f2eb [2021-06-28T20:12:04.540Z] $ docker rm -f 54ac3c905eede45c118f0a56f52b5ce0408f52e42c6083c52adcf7f19a82f2eb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-28T20:12:05.571Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-28T20:12:05.571Z] . [Pipeline] withDockerContainer [2021-06-28T20:12:05.712Z] prd-centos7-docker-4c-2g-570 does not seem to be running inside a container [2021-06-28T20:12:05.759Z] $ 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 ******** ci-base-image-x86_64 cat [2021-06-28T20:12:06.165Z] $ docker top 164c0378acf2379e39b667affaf2f8f8f4f1fbdf2d3390deeba9edbcdbf0c292 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-28T20:12:06.704Z] + go mod tidy [Pipeline] sh [2021-06-28T20:12:07.330Z] + make test [2021-06-28T20:12:07.330Z] go mod tidy [2021-06-28T20:12:07.607Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-06-28T20:12:07.879Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-06-28T20:12:13.742Z] Removing intermediate container 000d99a259dd [2021-06-28T20:12:13.742Z] ---> dcdd8e274134 [2021-06-28T20:12:13.742Z] Successfully built dcdd8e274134 [2021-06-28T20:12:13.742Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-28T20:12:14.140Z] + docker inspect -f . ci-base-image-arm64 [2021-06-28T20:12:14.140Z] . [Pipeline] withDockerContainer [2021-06-28T20:12:14.434Z] prd-ubuntu18.04-docker-arm64-4c-16g-569 does not seem to be running inside a container [2021-06-28T20:12:14.521Z] $ 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 ******** ci-base-image-arm64 cat [2021-06-28T20:12:16.172Z] $ docker top 5698fd275adf2250b9beb81e775438c55f6c90a62766abc6b781d272ce3fb908 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-28T20:12:17.184Z] + go version [2021-06-28T20:12:17.184Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-28T20:12:17.223Z] $ docker stop --time=1 5698fd275adf2250b9beb81e775438c55f6c90a62766abc6b781d272ce3fb908 [2021-06-28T20:12:19.097Z] $ docker rm -f 5698fd275adf2250b9beb81e775438c55f6c90a62766abc6b781d272ce3fb908 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-28T20:12:20.243Z] + docker inspect -f . ci-base-image-arm64 [2021-06-28T20:12:20.243Z] . [Pipeline] withDockerContainer [2021-06-28T20:12:20.502Z] prd-ubuntu18.04-docker-arm64-4c-16g-569 does not seem to be running inside a container [2021-06-28T20:12:20.599Z] $ 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 ******** ci-base-image-arm64 cat [2021-06-28T20:12:22.210Z] $ docker top 777f43a07a6e52f4c0b7abfcae69847bf971993b0a0089675c1b09e9be260224 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-28T20:12:23.204Z] + go mod tidy [Pipeline] sh [2021-06-28T20:12:24.494Z] + make test [2021-06-28T20:12:24.494Z] go mod tidy [2021-06-28T20:12:25.088Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-06-28T20:12:26.173Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-06-28T20:12:26.173Z] ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 54.0% of statements [2021-06-28T20:12:26.173Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-28T20:12:26.535Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-06-28T20:12:34.362Z] gofmt -l . [2021-06-28T20:12:34.362Z] [ "`gofmt -l .`" = "" ] [2021-06-28T20:12:34.362Z] ./bin/test-go-mod-tidy.sh [2021-06-28T20:12:34.362Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-28T20:12:34.458Z] $ docker stop --time=1 164c0378acf2379e39b667affaf2f8f8f4f1fbdf2d3390deeba9edbcdbf0c292 [2021-06-28T20:12:35.900Z] $ docker rm -f 164c0378acf2379e39b667affaf2f8f8f4f1fbdf2d3390deeba9edbcdbf0c292 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-28T20:12:36.459Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-28T20:12:36.691Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-28T20:12:38.007Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-28T20:12:38.349Z] + ls -al . [2021-06-28T20:12:38.349Z] total 104 [2021-06-28T20:12:38.349Z] drwxrwxr-x. 8 jenkins jenkins 4096 Jun 28 20:12 . [2021-06-28T20:12:38.349Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 28 20:10 .. [2021-06-28T20:12:38.349Z] -rw-rw-r--. 1 jenkins jenkins 6792 Jun 28 20:10 Attribution.txt [2021-06-28T20:12:38.349Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 28 20:10 bin [2021-06-28T20:12:38.349Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 28 20:10 cmd [2021-06-28T20:12:38.349Z] -rw-r--r--. 1 jenkins jenkins 8513 Jun 28 20:12 coverage.out [2021-06-28T20:12:38.349Z] -rw-rw-r--. 1 jenkins jenkins 1615 Jun 28 20:10 Dockerfile [2021-06-28T20:12:38.349Z] -rw-rw-r--. 1 jenkins jenkins 1087 Jun 28 20:10 Dockerfile.build [2021-06-28T20:12:38.349Z] -rw-rw-r--. 1 jenkins jenkins 151 Jun 28 20:10 .dockerignore [2021-06-28T20:12:38.349Z] drwxrwxr-x. 2 jenkins jenkins 76 Jun 28 20:10 driver [2021-06-28T20:12:38.349Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 28 20:10 .git [2021-06-28T20:12:38.349Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 28 20:10 .github [2021-06-28T20:12:38.349Z] -rw-rw-r--. 1 jenkins jenkins 336 Jun 28 20:10 .gitignore [2021-06-28T20:12:38.349Z] -rw-r--r--. 1 jenkins jenkins 277 Jun 28 20:12 go.mod [2021-06-28T20:12:38.349Z] -rw-r--r--. 1 jenkins jenkins 20582 Jun 28 20:12 go.sum [2021-06-28T20:12:38.349Z] -rw-rw-r--. 1 jenkins jenkins 680 Jun 28 20:10 Jenkinsfile [2021-06-28T20:12:38.349Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 28 20:10 LICENSE [2021-06-28T20:12:38.349Z] -rw-rw-r--. 1 jenkins jenkins 996 Jun 28 20:10 Makefile [2021-06-28T20:12:38.349Z] -rw-rw-r--. 1 jenkins jenkins 7667 Jun 28 20:10 README.md [2021-06-28T20:12:38.349Z] drwxrwxr-x. 4 jenkins jenkins 71 Jun 28 20:10 snap [2021-06-28T20:12:38.349Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 28 20:07 VERSION [2021-06-28T20:12:38.349Z] -rw-rw-r--. 1 jenkins jenkins 713 Jun 28 20:10 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-28T20:12:38.698Z] + 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=46bb1f008b4bbebb6c33bfc1f413a29f7fbcd537 --label arch=amd64 --label version=0.0.0 . [2021-06-28T20:12:38.698Z] Sending build context to Docker daemon 101.9kB [2021-06-28T20:12:38.698Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-06-28T20:12:38.698Z] Step 2/25 : FROM ${BASE} AS builder [2021-06-28T20:12:38.698Z] ---> 71e38716fa76 [2021-06-28T20:12:38.698Z] Step 3/25 : ARG MAKE='make build' [2021-06-28T20:12:38.698Z] ---> Running in 0d00a73a46e9 [2021-06-28T20:12:38.972Z] Removing intermediate container 0d00a73a46e9 [2021-06-28T20:12:38.972Z] ---> ecdbff8bb5cb [2021-06-28T20:12:38.972Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-28T20:12:38.972Z] ---> Running in 43b69730d4d9 [2021-06-28T20:12:38.972Z] Removing intermediate container 43b69730d4d9 [2021-06-28T20:12:38.972Z] ---> 290177e410fe [2021-06-28T20:12:38.972Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-06-28T20:12:38.972Z] ---> Running in 00a8724f6f6d [2021-06-28T20:12:38.972Z] Removing intermediate container 00a8724f6f6d [2021-06-28T20:12:38.972Z] ---> d6f45fc313ca [2021-06-28T20:12:38.972Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-28T20:12:38.972Z] ---> Running in d1732acf7a68 [2021-06-28T20:12:39.556Z] Removing intermediate container d1732acf7a68 [2021-06-28T20:12:39.557Z] ---> 0345f9aeea56 [2021-06-28T20:12:39.557Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-28T20:12:39.557Z] ---> Running in b163d4fc620b [2021-06-28T20:12:40.137Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-28T20:12:40.713Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-28T20:12:41.286Z] OK: 154 MiB in 49 packages [2021-06-28T20:12:41.545Z] Removing intermediate container b163d4fc620b [2021-06-28T20:12:41.545Z] ---> f61045b19871 [2021-06-28T20:12:41.545Z] Step 8/25 : WORKDIR /device-rest-go [2021-06-28T20:12:41.545Z] ---> Running in 535657baf70e [2021-06-28T20:12:41.545Z] Removing intermediate container 535657baf70e [2021-06-28T20:12:41.545Z] ---> a281e6d98127 [2021-06-28T20:12:41.545Z] Step 9/25 : COPY . . [2021-06-28T20:12:41.807Z] ---> 18927918ed55 [2021-06-28T20:12:41.807Z] Step 10/25 : RUN go mod tidy [2021-06-28T20:12:41.807Z] ---> Running in caddec759a42 [2021-06-28T20:12:42.769Z] Removing intermediate container caddec759a42 [2021-06-28T20:12:42.769Z] ---> 646df04a0b94 [2021-06-28T20:12:42.769Z] Step 11/25 : RUN make update [2021-06-28T20:12:42.769Z] ---> Running in b200e602179a [2021-06-28T20:12:42.769Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-28T20:12:43.034Z] Removing intermediate container b200e602179a [2021-06-28T20:12:43.034Z] ---> ec68287b1780 [2021-06-28T20:12:43.034Z] Step 12/25 : RUN $MAKE [2021-06-28T20:12:43.034Z] ---> Running in d0358685a0c8 [2021-06-28T20:12:43.625Z] go mod tidy [2021-06-28T20:12:43.625Z] 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-28T20:12:55.940Z] Removing intermediate container d0358685a0c8 [2021-06-28T20:12:55.940Z] ---> 4e61c29339b6 [2021-06-28T20:12:55.940Z] Step 13/25 : FROM alpine:3.12 [2021-06-28T20:12:56.203Z] 3.12: Pulling from library/alpine [2021-06-28T20:12:56.204Z] 339de151aab4: Pulling fs layer [2021-06-28T20:12:56.468Z] 339de151aab4: Download complete [2021-06-28T20:12:56.468Z] 339de151aab4: Pull complete [2021-06-28T20:12:56.468Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-28T20:12:56.468Z] Status: Downloaded newer image for alpine:3.12 [2021-06-28T20:12:56.468Z] ---> 13621d1b12d4 [2021-06-28T20:12:56.468Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-28T20:12:56.736Z] ---> Running in c998de80dcf3 [2021-06-28T20:12:56.736Z] Removing intermediate container c998de80dcf3 [2021-06-28T20:12:56.736Z] ---> 65a222584fb7 [2021-06-28T20:12:56.736Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-06-28T20:12:56.736Z] ---> Running in 7083877b1753 [2021-06-28T20:12:57.020Z] Removing intermediate container 7083877b1753 [2021-06-28T20:12:57.020Z] ---> bebbe978beb3 [2021-06-28T20:12:57.020Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-28T20:12:57.020Z] ---> Running in cb74d3faf1da [2021-06-28T20:12:57.285Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-28T20:12:57.285Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-28T20:12:57.285Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-28T20:12:57.285Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-28T20:12:57.285Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-28T20:12:57.285Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-28T20:12:57.285Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-28T20:12:57.285Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-28T20:12:57.285Z] Executing busybox-1.31.1-r20.trigger [2021-06-28T20:12:57.285Z] OK: 8 MiB in 20 packages [2021-06-28T20:12:57.862Z] Removing intermediate container cb74d3faf1da [2021-06-28T20:12:57.862Z] ---> fba452ac0116 [2021-06-28T20:12:57.862Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-06-28T20:12:58.124Z] ---> ec778f19b011 [2021-06-28T20:12:58.124Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-06-28T20:12:58.124Z] ---> 4a0b974e92ba [2021-06-28T20:12:58.124Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-06-28T20:12:58.391Z] ---> 729c8749b67d [2021-06-28T20:12:58.391Z] Step 20/25 : EXPOSE 59986 [2021-06-28T20:12:58.391Z] ---> Running in c0223df195c1 [2021-06-28T20:12:58.391Z] Removing intermediate container c0223df195c1 [2021-06-28T20:12:58.391Z] ---> 61ec17820ddd [2021-06-28T20:12:58.391Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-06-28T20:12:58.658Z] ---> Running in 07c23b00408f [2021-06-28T20:12:58.658Z] Removing intermediate container 07c23b00408f [2021-06-28T20:12:58.658Z] ---> 9df06c39cc62 [2021-06-28T20:12:58.658Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-28T20:12:58.658Z] ---> Running in 291158d0d065 [2021-06-28T20:12:58.658Z] Removing intermediate container 291158d0d065 [2021-06-28T20:12:58.658Z] ---> 873279f3420b [2021-06-28T20:12:58.658Z] Step 23/25 : LABEL arch=amd64 [2021-06-28T20:12:58.658Z] ---> Running in dccd94ee792c [2021-06-28T20:12:58.923Z] Removing intermediate container dccd94ee792c [2021-06-28T20:12:58.923Z] ---> 7b3d53abc836 [2021-06-28T20:12:58.923Z] Step 24/25 : LABEL git_sha=46bb1f008b4bbebb6c33bfc1f413a29f7fbcd537 [2021-06-28T20:12:58.923Z] ---> Running in e9bf3cd75146 [2021-06-28T20:12:58.923Z] Removing intermediate container e9bf3cd75146 [2021-06-28T20:12:58.923Z] ---> 86f23586f828 [2021-06-28T20:12:58.923Z] Step 25/25 : LABEL version=0.0.0 [2021-06-28T20:12:58.923Z] ---> Running in 1d8d0299a1ad [2021-06-28T20:12:59.186Z] Removing intermediate container 1d8d0299a1ad [2021-06-28T20:12:59.186Z] ---> 14af9660dae8 [2021-06-28T20:12:59.186Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-28T20:12:59.186Z] Successfully built 14af9660dae8 [2021-06-28T20:12:59.186Z] 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-28T20:13:00.350Z] ---> job-cost.sh [2021-06-28T20:13:00.350Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-eeBJ [2021-06-28T20:13:10.416Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-28T20:13:22.726Z] lf-activate-venv(): INFO: Adding /tmp/venv-eeBJ/bin to PATH [2021-06-28T20:13:22.726Z] INFO: No Stack... [2021-06-28T20:13:23.149Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-06-28T20:13:23.149Z] ok github.com/edgexfoundry/device-rest-go/driver 0.045s coverage: 54.0% of statements [2021-06-28T20:13:23.149Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-28T20:13:23.706Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-28T20:13:24.285Z] INFO: Archiving Costs [Pipeline] sh [2021-06-28T20:13:24.618Z] + cut -d, -f6 [2021-06-28T20:13:24.618Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2021-06-28T20:13:24.683Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-125-1-stack-cost] [2021-06-28T20:13:24.691Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-125-1-stack-cost] did not exist. Created. [2021-06-28T20:13:24.691Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-125-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-28T20:13:25.116Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-28T20:13:25.200Z] Stashed 1 file(s) [Pipeline] } [2021-06-28T20:13:25.224Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-125-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-28T20:13:45.381Z] gofmt -l . [2021-06-28T20:13:45.381Z] [ "`gofmt -l .`" = "" ] [2021-06-28T20:13:45.381Z] ./bin/test-go-mod-tidy.sh [2021-06-28T20:13:45.381Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-28T20:13:47.399Z] $ docker stop --time=1 777f43a07a6e52f4c0b7abfcae69847bf971993b0a0089675c1b09e9be260224 [2021-06-28T20:13:49.296Z] $ docker rm -f 777f43a07a6e52f4c0b7abfcae69847bf971993b0a0089675c1b09e9be260224 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-28T20:13:50.188Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-28T20:13:50.233Z] Warning: overwriting stash ‘coverage-report’ [2021-06-28T20:13:50.702Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-28T20:13:51.478Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-28T20:13:51.838Z] + ls -al . [2021-06-28T20:13:51.838Z] total 132 [2021-06-28T20:13:51.838Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 20:13 . [2021-06-28T20:13:51.838Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 20:10 .. [2021-06-28T20:13:51.838Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 28 20:10 .dockerignore [2021-06-28T20:13:51.838Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 20:10 .git [2021-06-28T20:13:51.838Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 20:10 .github [2021-06-28T20:13:51.838Z] -rw-rw-r-- 1 jenkins jenkins 336 Jun 28 20:10 .gitignore [2021-06-28T20:13:51.838Z] -rw-rw-r-- 1 jenkins jenkins 6792 Jun 28 20:10 Attribution.txt [2021-06-28T20:13:51.838Z] -rw-rw-r-- 1 jenkins jenkins 1615 Jun 28 20:10 Dockerfile [2021-06-28T20:13:51.838Z] -rw-rw-r-- 1 jenkins jenkins 1087 Jun 28 20:10 Dockerfile.build [2021-06-28T20:13:51.838Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 28 20:10 Jenkinsfile [2021-06-28T20:13:51.838Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 28 20:10 LICENSE [2021-06-28T20:13:51.838Z] -rw-rw-r-- 1 jenkins jenkins 996 Jun 28 20:10 Makefile [2021-06-28T20:13:51.838Z] -rw-rw-r-- 1 jenkins jenkins 7667 Jun 28 20:10 README.md [2021-06-28T20:13:51.838Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 28 20:07 VERSION [2021-06-28T20:13:51.838Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 20:10 bin [2021-06-28T20:13:51.838Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 20:10 cmd [2021-06-28T20:13:51.838Z] -rw-r--r-- 1 jenkins jenkins 8513 Jun 28 20:13 coverage.out [2021-06-28T20:13:51.838Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 20:10 driver [2021-06-28T20:13:51.838Z] -rw-r--r-- 1 jenkins jenkins 277 Jun 28 20:13 go.mod [2021-06-28T20:13:51.838Z] -rw-r--r-- 1 jenkins jenkins 20582 Jun 28 20:12 go.sum [2021-06-28T20:13:51.838Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 20:10 snap [2021-06-28T20:13:51.838Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 28 20:10 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-28T20:13:52.214Z] + 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=46bb1f008b4bbebb6c33bfc1f413a29f7fbcd537 --label arch=arm64 --label version=0.0.0 . [2021-06-28T20:13:52.214Z] Sending build context to Docker daemon 101.9kB [2021-06-28T20:13:52.485Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-06-28T20:13:52.485Z] Step 2/25 : FROM ${BASE} AS builder [2021-06-28T20:13:52.485Z] ---> dcdd8e274134 [2021-06-28T20:13:52.485Z] Step 3/25 : ARG MAKE='make build' [2021-06-28T20:13:52.757Z] ---> Running in 1961a26e63f1 [2021-06-28T20:13:53.352Z] Removing intermediate container 1961a26e63f1 [2021-06-28T20:13:53.352Z] ---> 2eb777200dd3 [2021-06-28T20:13:53.352Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-28T20:13:53.352Z] ---> Running in 733d7cab2d86 [2021-06-28T20:13:53.948Z] Removing intermediate container 733d7cab2d86 [2021-06-28T20:13:53.948Z] ---> b1ee7f69de93 [2021-06-28T20:13:53.948Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-06-28T20:13:53.948Z] ---> Running in 4753e7604385 [2021-06-28T20:13:54.544Z] Removing intermediate container 4753e7604385 [2021-06-28T20:13:54.544Z] ---> 13283fcdce47 [2021-06-28T20:13:54.544Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-28T20:13:54.544Z] ---> Running in 3f174d095f41 [2021-06-28T20:13:57.182Z] Removing intermediate container 3f174d095f41 [2021-06-28T20:13:57.182Z] ---> 5732819e0d47 [2021-06-28T20:13:57.182Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-28T20:13:57.182Z] ---> Running in 8af31dcd3ac4 [2021-06-28T20:13:58.173Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-28T20:13:59.154Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-28T20:13:59.755Z] OK: 144 MiB in 49 packages [2021-06-28T20:14:00.735Z] Removing intermediate container 8af31dcd3ac4 [2021-06-28T20:14:00.735Z] ---> 27b09a1a257b [2021-06-28T20:14:00.735Z] Step 8/25 : WORKDIR /device-rest-go [2021-06-28T20:14:00.735Z] ---> Running in 69065e4903cd [2021-06-28T20:14:01.335Z] Removing intermediate container 69065e4903cd [2021-06-28T20:14:01.335Z] ---> 3548cfb8bf9b [2021-06-28T20:14:01.335Z] Step 9/25 : COPY . . [2021-06-28T20:14:02.319Z] ---> 67a206620b8c [2021-06-28T20:14:02.319Z] Step 10/25 : RUN go mod tidy [2021-06-28T20:14:02.319Z] ---> Running in 5a914a301f85 [2021-06-28T20:14:04.955Z] Removing intermediate container 5a914a301f85 [2021-06-28T20:14:04.955Z] ---> c6f56cb62b85 [2021-06-28T20:14:04.955Z] Step 11/25 : RUN make update [2021-06-28T20:14:04.955Z] ---> Running in 9040254496da [2021-06-28T20:14:06.405Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-28T20:14:07.389Z] Removing intermediate container 9040254496da [2021-06-28T20:14:07.389Z] ---> 5548036370af [2021-06-28T20:14:07.389Z] Step 12/25 : RUN $MAKE [2021-06-28T20:14:07.677Z] ---> Running in a012ad6aef64 [2021-06-28T20:14:08.661Z] go mod tidy [2021-06-28T20:14:09.264Z] 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-28T20:14:48.334Z] Removing intermediate container a012ad6aef64 [2021-06-28T20:14:48.334Z] ---> 8f1af39df7e5 [2021-06-28T20:14:48.334Z] Step 13/25 : FROM alpine:3.12 [2021-06-28T20:14:48.334Z] 3.12: Pulling from library/alpine [2021-06-28T20:14:48.334Z] d2f70382dc9a: Pulling fs layer [2021-06-28T20:14:48.334Z] d2f70382dc9a: Verifying Checksum [2021-06-28T20:14:48.334Z] d2f70382dc9a: Download complete [2021-06-28T20:14:48.334Z] d2f70382dc9a: Pull complete [2021-06-28T20:14:48.334Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-28T20:14:48.334Z] Status: Downloaded newer image for alpine:3.12 [2021-06-28T20:14:48.334Z] ---> c4fd0aeabfcf [2021-06-28T20:14:48.334Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-28T20:14:48.334Z] ---> Running in d9c8e38614fc [2021-06-28T20:14:48.334Z] Removing intermediate container d9c8e38614fc [2021-06-28T20:14:48.334Z] ---> 2ab65b4fbeea [2021-06-28T20:14:48.334Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-06-28T20:14:48.334Z] ---> Running in 56341054d37b [2021-06-28T20:14:48.334Z] Removing intermediate container 56341054d37b [2021-06-28T20:14:48.334Z] ---> f007f7de17ef [2021-06-28T20:14:48.334Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-28T20:14:48.334Z] ---> Running in 81c88185e172 [2021-06-28T20:14:48.334Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-28T20:14:48.334Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-28T20:14:48.334Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-28T20:14:48.334Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-28T20:14:48.334Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-28T20:14:48.334Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-28T20:14:48.606Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-28T20:14:48.606Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-28T20:14:48.606Z] Executing busybox-1.31.1-r20.trigger [2021-06-28T20:14:48.606Z] OK: 8 MiB in 20 packages [2021-06-28T20:14:49.585Z] Removing intermediate container 81c88185e172 [2021-06-28T20:14:49.585Z] ---> fcfb765ac677 [2021-06-28T20:14:49.585Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-06-28T20:14:51.020Z] ---> db47cc42784d [2021-06-28T20:14:51.020Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-06-28T20:14:51.617Z] ---> 48b233d3012a [2021-06-28T20:14:51.617Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-06-28T20:14:52.216Z] ---> 765a5fd7b665 [2021-06-28T20:14:52.216Z] Step 20/25 : EXPOSE 59986 [2021-06-28T20:14:52.488Z] ---> Running in d68f09d0135b [2021-06-28T20:14:52.761Z] Removing intermediate container d68f09d0135b [2021-06-28T20:14:52.761Z] ---> 17d4928010d1 [2021-06-28T20:14:52.761Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-06-28T20:14:53.035Z] ---> Running in 408217f2e5c2 [2021-06-28T20:14:53.310Z] Removing intermediate container 408217f2e5c2 [2021-06-28T20:14:53.310Z] ---> efe609e2db08 [2021-06-28T20:14:53.310Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-28T20:14:53.591Z] ---> Running in 5597bce064e8 [2021-06-28T20:14:54.199Z] Removing intermediate container 5597bce064e8 [2021-06-28T20:14:54.199Z] ---> 06d707696054 [2021-06-28T20:14:54.199Z] Step 23/25 : LABEL arch=arm64 [2021-06-28T20:14:54.199Z] ---> Running in b30ab759f1cd [2021-06-28T20:14:54.477Z] Removing intermediate container b30ab759f1cd [2021-06-28T20:14:54.477Z] ---> 67f8c08ff18d [2021-06-28T20:14:54.477Z] Step 24/25 : LABEL git_sha=46bb1f008b4bbebb6c33bfc1f413a29f7fbcd537 [2021-06-28T20:14:54.758Z] ---> Running in db634c552c21 [2021-06-28T20:14:55.386Z] Removing intermediate container db634c552c21 [2021-06-28T20:14:55.386Z] ---> 36dc8a9e4a02 [2021-06-28T20:14:55.386Z] Step 25/25 : LABEL version=0.0.0 [2021-06-28T20:14:55.386Z] ---> Running in 0f680d8d62e8 [2021-06-28T20:14:55.659Z] Removing intermediate container 0f680d8d62e8 [2021-06-28T20:14:55.659Z] ---> a8b7b6aa3371 [2021-06-28T20:14:55.660Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-28T20:14:55.660Z] Successfully built a8b7b6aa3371 [2021-06-28T20:14:55.660Z] 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-28T20:14:56.578Z] ---> job-cost.sh [2021-06-28T20:14:56.579Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-FQiN [2021-06-28T20:15:35.559Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-28T20:16:57.327Z] lf-activate-venv(): INFO: Adding /tmp/venv-FQiN/bin to PATH [2021-06-28T20:16:57.327Z] INFO: No Stack... [2021-06-28T20:16:57.327Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-28T20:16:57.605Z] INFO: Archiving Costs [Pipeline] sh [2021-06-28T20:16:57.987Z] + + cut -d, -f6 [2021-06-28T20:16:57.987Z] cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2021-06-28T20:16:58.073Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-125-1-stack-cost] [2021-06-28T20:16:58.079Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-125-1-stack-cost] did not exist. Created. [2021-06-28T20:16:58.079Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-125-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-28T20:16:58.568Z] /w/workspace/device-rest-go/1@tmp/durable-1a575543/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-1a575543/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-28T20:16:58.953Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-28T20:16:58.998Z] Warning: overwriting stash ‘stack-cost’ [2021-06-28T20:16:59.150Z] Stashed 1 file(s) [Pipeline] } [2021-06-28T20:16:59.173Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-125-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-28T20:17:00.234Z] provisioning config files... [2021-06-28T20:17:00.250Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-125@tmp/config7107833680230456546tmp [Pipeline] { [Pipeline] sh [2021-06-28T20:17:00.652Z] + set +x [2021-06-28T20:17:00.652Z] + curl -s https://codecov.io/bash [2021-06-28T20:17:00.652Z] + bash -s -- [2021-06-28T20:17:00.652Z] [2021-06-28T20:17:00.652Z] _____ _ [2021-06-28T20:17:00.652Z] / ____| | | [2021-06-28T20:17:00.652Z] | | ___ __| | ___ ___ _____ __ [2021-06-28T20:17:00.652Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-28T20:17:00.652Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-28T20:17:00.652Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-28T20:17:00.652Z] Bash-1.0.3 [2021-06-28T20:17:00.652Z] [2021-06-28T20:17:00.652Z] [2021-06-28T20:17:00.652Z] ==> git version 2.24.4 found [2021-06-28T20:17:00.652Z] ==> 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-28T20:17:00.652Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-28T20:17:00.652Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-28T20:17:00.652Z] ==> Jenkins CI detected. [2021-06-28T20:17:00.652Z] project root: . [2021-06-28T20:17:00.652Z] --> token set from env [2021-06-28T20:17:00.652Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-28T20:17:00.652Z] ==> Running gcov in . (disable via -X gcov) [2021-06-28T20:17:00.915Z] ==> Python coveragepy not found [2021-06-28T20:17:00.915Z] ==> Searching for coverage reports in: [2021-06-28T20:17:00.915Z] + . [2021-06-28T20:17:00.915Z] -> Found 1 reports [2021-06-28T20:17:00.915Z] ==> Detecting git/mercurial file structure [2021-06-28T20:17:00.915Z] ==> Reading reports [2021-06-28T20:17:00.915Z] + ./coverage.out bytes=8513 [2021-06-28T20:17:00.915Z] ==> Appending adjustments [2021-06-28T20:17:00.915Z] https://docs.codecov.io/docs/fixing-reports [2021-06-28T20:17:00.915Z] + Found adjustments [2021-06-28T20:17:00.915Z] ==> Gzipping contents [2021-06-28T20:17:00.915Z] 4.0K /tmp/codecov.KxLnPD.gz [2021-06-28T20:17:00.915Z] ==> Uploading reports [2021-06-28T20:17:00.915Z] url: https://codecov.io [2021-06-28T20:17:00.915Z] query: branch=PR-125&commit=46bb1f008b4bbebb6c33bfc1f413a29f7fbcd537&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-125%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=125&job=&cmd_args= [2021-06-28T20:17:00.915Z] -> Pinging Codecov [2021-06-28T20:17:00.915Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-125&commit=46bb1f008b4bbebb6c33bfc1f413a29f7fbcd537&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-125%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=125&job=&cmd_args= [2021-06-28T20:17:01.486Z] -> Uploading to [2021-06-28T20:17:01.486Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-28/4E5D53B4F1F92C436F7061BF334D961C/46bb1f008b4bbebb6c33bfc1f413a29f7fbcd537/a3a1d1a1-80e3-4dbf-9c02-b5e0d14cfd0e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210628%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210628T201701Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0790251c638cebc41e8f6b9a4e351d431e7cad36bda2a4dd90bdd1ad267e3caa [2021-06-28T20:17:01.486Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-28T20:17:01.486Z] Dload Upload Total Spent Left Speed [2021-06-28T20:17:01.748Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1608 0 0 100 1608 0 5095 --:--:-- --:--:-- --:--:-- 5088 100 1608 0 0 100 1608 0 5093 --:--:-- --:--:-- --:--:-- 5088 [2021-06-28T20:17:01.748Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/46bb1f008b4bbebb6c33bfc1f413a29f7fbcd537 [Pipeline] } [2021-06-28T20:17:01.777Z] 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-28T20:17:04.363Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-28T20:17:05.007Z] ---> package-listing.sh [2021-06-28T20:17:05.007Z] ++ facter osfamily [2021-06-28T20:17:05.007Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-28T20:17:05.273Z] + OS_FAMILY=redhat [2021-06-28T20:17:05.273Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-125 [2021-06-28T20:17:05.273Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-28T20:17:05.273Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-28T20:17:05.273Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-28T20:17:05.273Z] + PACKAGES=/tmp/packages_start.txt [2021-06-28T20:17:05.273Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-125 ']' [2021-06-28T20:17:05.273Z] + PACKAGES=/tmp/packages_end.txt [2021-06-28T20:17:05.273Z] + case "${OS_FAMILY}" in [2021-06-28T20:17:05.273Z] + rpm -qa [2021-06-28T20:17:05.273Z] + sort [2021-06-28T20:17:05.845Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-28T20:17:05.845Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-28T20:17:05.845Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-28T20:17:05.845Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-125 ']' [2021-06-28T20:17:05.845Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-125/archives/ [2021-06-28T20:17:05.845Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-125/archives/ [Pipeline] echo [2021-06-28T20:17:05.880Z] 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-125/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-28T20:17:06.191Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-28T20:17:06.787Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-28T20:17:06.787Z] [2021-06-28T20:17:06.787Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-28T20:17:07.150Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-28T20:17:07.150Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-28T20:17:07.150Z] df20fa9351a1: Pulling fs layer [2021-06-28T20:17:07.150Z] 36b3adc4ff6f: Pulling fs layer [2021-06-28T20:17:07.150Z] 8ad3a11d3b57: Pulling fs layer [2021-06-28T20:17:07.150Z] 46f8f816bc3b: Pulling fs layer [2021-06-28T20:17:07.150Z] 93b61091891f: Pulling fs layer [2021-06-28T20:17:07.150Z] 93b9cdb0e59b: Pulling fs layer [2021-06-28T20:17:07.150Z] 5e14af77c1be: Pulling fs layer [2021-06-28T20:17:07.150Z] 01666e4c0597: Pulling fs layer [2021-06-28T20:17:07.150Z] aa168da1d23b: Pulling fs layer [2021-06-28T20:17:07.150Z] 46f8f816bc3b: Waiting [2021-06-28T20:17:07.150Z] 93b61091891f: Waiting [2021-06-28T20:17:07.150Z] 93b9cdb0e59b: Waiting [2021-06-28T20:17:07.150Z] 5e14af77c1be: Waiting [2021-06-28T20:17:07.150Z] 01666e4c0597: Waiting [2021-06-28T20:17:07.150Z] aa168da1d23b: Waiting [2021-06-28T20:17:07.150Z] 36b3adc4ff6f: Download complete [2021-06-28T20:17:07.150Z] 46f8f816bc3b: Verifying Checksum [2021-06-28T20:17:07.150Z] 46f8f816bc3b: Download complete [2021-06-28T20:17:07.150Z] df20fa9351a1: Verifying Checksum [2021-06-28T20:17:07.150Z] df20fa9351a1: Download complete [2021-06-28T20:17:07.150Z] 93b9cdb0e59b: Verifying Checksum [2021-06-28T20:17:07.150Z] 93b9cdb0e59b: Download complete [2021-06-28T20:17:07.414Z] 93b61091891f: Download complete [2021-06-28T20:17:07.414Z] 5e14af77c1be: Verifying Checksum [2021-06-28T20:17:07.414Z] 5e14af77c1be: Download complete [2021-06-28T20:17:07.414Z] 01666e4c0597: Verifying Checksum [2021-06-28T20:17:07.414Z] 01666e4c0597: Download complete [2021-06-28T20:17:07.414Z] 8ad3a11d3b57: Verifying Checksum [2021-06-28T20:17:07.414Z] 8ad3a11d3b57: Download complete [2021-06-28T20:17:07.414Z] df20fa9351a1: Pull complete [2021-06-28T20:17:07.682Z] 36b3adc4ff6f: Pull complete [2021-06-28T20:17:08.269Z] 8ad3a11d3b57: Pull complete [2021-06-28T20:17:08.270Z] 46f8f816bc3b: Pull complete [2021-06-28T20:17:08.541Z] 93b61091891f: Pull complete [2021-06-28T20:17:08.801Z] 93b9cdb0e59b: Pull complete [2021-06-28T20:17:08.801Z] 5e14af77c1be: Pull complete [2021-06-28T20:17:09.063Z] aa168da1d23b: Verifying Checksum [2021-06-28T20:17:09.063Z] aa168da1d23b: Download complete [2021-06-28T20:17:09.063Z] 01666e4c0597: Pull complete [2021-06-28T20:17:13.321Z] aa168da1d23b: Pull complete [2021-06-28T20:17:13.321Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-28T20:17:13.321Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-28T20:17:13.321Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-28T20:17:13.437Z] prd-centos7-docker-4c-2g-567 does not seem to be running inside a container [2021-06-28T20:17:13.493Z] $ 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-125/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-125 -v /w/workspace/gexfoundry_device-rest-go_PR-125:/w/workspace/gexfoundry_device-rest-go_PR-125:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-125@tmp:/w/workspace/gexfoundry_device-rest-go_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-28T20:17:17.187Z] $ docker top 36e9c1a6621f2796d86e1169ab67c0a7c6933ca0c91e7741eaa98b0860c47fb6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-28T20:17:17.671Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-28T20:17:17.985Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-28T20:17:18.307Z] + ls /var/log/sa-host [2021-06-28T20:17:18.307Z] + sadf -c /var/log/sa-host/sa05 [2021-06-28T20:17:18.307Z] file_magic: OK [2021-06-28T20:17:18.307Z] HZ: Using current value: 100 [2021-06-28T20:17:18.307Z] file_header: OK [2021-06-28T20:17:18.307Z] 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-28T20:17:18.307Z] Statistics: [2021-06-28T20:17:18.307Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-28T20:17:18.307Z] File successfully converted to sysstat format version 12.2.1 [2021-06-28T20:17:18.307Z] + sadf -c /var/log/sa-host/sa28 [2021-06-28T20:17:18.307Z] file_magic: OK [2021-06-28T20:17:18.307Z] HZ: Using current value: 100 [2021-06-28T20:17:18.307Z] file_header: OK [2021-06-28T20:17:18.307Z] 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-28T20:17:18.307Z] Statistics: [2021-06-28T20:17:18.307Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-28T20:17:18.307Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-28T20:17:18.552Z] provisioning config files... [2021-06-28T20:17:18.571Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-125@tmp/config7269283001206918850tmp [Pipeline] { [Pipeline] echo [2021-06-28T20:17:18.628Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-28T20:17:18.960Z] ---> create-netrc.sh [Pipeline] } [2021-06-28T20:17:18.983Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-28T20:17:19.415Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-28T20:17:19.447Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-28T20:17:19.795Z] ---> sudo-logs.sh [2021-06-28T20:17:19.795Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-28T20:17:19.909Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-28T20:17:20.247Z] ---> job-cost.sh [2021-06-28T20:17:20.247Z] lf-activate-venv: SKIPPING [2021-06-28T20:17:20.247Z] DEBUG: total: 0.18000000715255737 [2021-06-28T20:17:20.247Z] INFO: Retrieving Stack Cost... [2021-06-28T20:17:21.194Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-28T20:17:21.457Z] INFO: Archiving Costs [Pipeline] echo [2021-06-28T20:17:21.505Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-28T20:17:21.850Z] ---> logs-deploy.sh [2021-06-28T20:17:21.850Z] lf-activate-venv: SKIPPING [2021-06-28T20:17:21.850Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-125/1 [2021-06-28T20:17:21.850Z] INFO: archiving workspace using pattern(s): [2021-06-28T20:17:22.800Z] Archives upload complete. [2021-06-28T20:17:22.800Z] INFO: archiving logs to Nexus