Pull request #71 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from d7387bdfe32bda107ef97e44da0138ad607784f9+793fa606b8324739f564128f9001c967c619a4b2 (5e955ce810df3a8b2ea24c63b2702ecb262e5313) 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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-71/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 > 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 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-71/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 > 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go 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 SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-19385 in /w/workspace/dgexfoundry_device-rest-go_PR-71 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/dgexfoundry_device-rest-go_PR-71 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/71/head:refs/remotes/origin/PR-71 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 793fa606b8324739f564128f9001c967c619a4b2 into PR head commit d7387bdfe32bda107ef97e44da0138ad607784f9 Merge succeeded, producing d7387bdfe32bda107ef97e44da0138ad607784f9 Checking out Revision d7387bdfe32bda107ef97e44da0138ad607784f9 (PR-71) > git config core.sparsecheckout # timeout=10 > git checkout -f d7387bdfe32bda107ef97e44da0138ad607784f9 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 793fa606b8324739f564128f9001c967c619a4b2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d7387bdfe32bda107ef97e44da0138ad607784f9 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-11T06:10:29.891Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-11T06:10:30.409Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-11T06:10:30.886Z] ========================================================= [2021-01-11T06:10:30.886Z] EdgeX Global Pipelines Version Info [2021-01-11T06:10:30.886Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-11T06:10:32.575Z] ------------------- [2021-01-11T06:10:32.576Z] stable info: [2021-01-11T06:10:32.576Z] ------------------- [2021-01-11T06:10:32.576Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-11T06:10:32.576Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-11T06:10:32.576Z] Message: update stable to v1.0.173 [2021-01-11T06:10:33.534Z] ------------------- [2021-01-11T06:10:33.534Z] experimental info: [2021-01-11T06:10:33.534Z] ------------------- [2021-01-11T06:10:33.534Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-11T06:10:33.534Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-11T06:10:33.534Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-11T06:10:33.968Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-01-11T06:10:34.127Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-01-11T06:10:34.282Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-11T06:10:34.442Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-11T06:10:34.628Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-11T06:10:34.810Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-11T06:10:34.992Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-11T06:10:35.193Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-11T06:10:35.368Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-11T06:10:35.635Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-11T06:10:35.885Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-11T06:10:36.101Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2021-01-11T06:10:36.258Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-11T06:10:36.383Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-11T06:10:36.514Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-11T06:10:36.649Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-01-11T06:10:36.808Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-11T06:10:36.945Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-11T06:10:37.098Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-11T06:10:37.227Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-11T06:10:37.350Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-11T06:10:37.481Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-11T06:10:37.656Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-11T06:10:37.801Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-11T06:10:37.943Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-11T06:10:38.075Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-11T06:10:38.219Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-11T06:10:38.363Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-71 [Pipeline] echo [2021-01-11T06:10:38.541Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-71 [Pipeline] echo [2021-01-11T06:10:38.741Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-71 [Pipeline] echo [2021-01-11T06:10:38.890Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d7387bdfe32bda107ef97e44da0138ad607784f9 [Pipeline] echo [2021-01-11T06:10:39.119Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d7387bd [Pipeline] echo [2021-01-11T06:10:39.296Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-11T06:10:39.653Z] provisioning config files... [2021-01-11T06:10:39.682Z] copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-71@tmp/config7689449336537320816tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-11T06:10:40.228Z] ---> docker-login.sh [2021-01-11T06:10:40.228Z] nexus3.edgexfoundry.org:10001 [2021-01-11T06:10:40.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:10:40.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:10:40.775Z] Configure a credential helper to remove this warning. See [2021-01-11T06:10:40.775Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:10:40.775Z] [2021-01-11T06:10:40.775Z] Login Succeeded [2021-01-11T06:10:40.775Z] nexus3.edgexfoundry.org:10002 [2021-01-11T06:10:40.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:10:40.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:10:40.775Z] Configure a credential helper to remove this warning. See [2021-01-11T06:10:40.775Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:10:40.775Z] [2021-01-11T06:10:40.775Z] Login Succeeded [2021-01-11T06:10:40.775Z] nexus3.edgexfoundry.org:10003 [2021-01-11T06:10:41.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:10:41.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:10:41.060Z] Configure a credential helper to remove this warning. See [2021-01-11T06:10:41.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:10:41.060Z] [2021-01-11T06:10:41.060Z] Login Succeeded [2021-01-11T06:10:41.061Z] nexus3.edgexfoundry.org:10004 [2021-01-11T06:10:41.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:10:41.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:10:41.345Z] Configure a credential helper to remove this warning. See [2021-01-11T06:10:41.345Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:10:41.345Z] [2021-01-11T06:10:41.345Z] Login Succeeded [2021-01-11T06:10:41.345Z] docker.io [2021-01-11T06:10:41.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:10:41.611Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:10:41.611Z] Configure a credential helper to remove this warning. See [2021-01-11T06:10:41.611Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:10:41.611Z] [2021-01-11T06:10:41.611Z] Login Succeeded [2021-01-11T06:10:41.611Z] ---> docker-login.sh ends [Pipeline] } [2021-01-11T06:10:41.637Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-11T06:10:42.848Z] + git log --format=format:%s -1 d7387bdfe32bda107ef97e44da0138ad607784f9 [Pipeline] echo [2021-01-11T06:10:42.966Z] GIT_COMMIT: d7387bdfe32bda107ef97e44da0138ad607784f9, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo [2021-01-11T06:10:43.070Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:10:43.726Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-11T06:10:43.726Z] [2021-01-11T06:10:43.726Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:10:44.175Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-11T06:10:44.175Z] latest: Pulling from edgex-devops/git-semver [2021-01-11T06:10:44.175Z] 31603596830f: Pulling fs layer [2021-01-11T06:10:44.175Z] 2a8b12db71e7: Pulling fs layer [2021-01-11T06:10:44.175Z] 6ca5941a6612: Pulling fs layer [2021-01-11T06:10:44.175Z] ecc8261a40a4: Pulling fs layer [2021-01-11T06:10:44.175Z] ecc8261a40a4: Waiting [2021-01-11T06:10:44.175Z] 2a8b12db71e7: Verifying Checksum [2021-01-11T06:10:44.175Z] 2a8b12db71e7: Download complete [2021-01-11T06:10:44.469Z] 31603596830f: Verifying Checksum [2021-01-11T06:10:44.469Z] 31603596830f: Download complete [2021-01-11T06:10:44.469Z] ecc8261a40a4: Verifying Checksum [2021-01-11T06:10:44.469Z] ecc8261a40a4: Download complete [2021-01-11T06:10:44.734Z] 6ca5941a6612: Verifying Checksum [2021-01-11T06:10:44.734Z] 6ca5941a6612: Download complete [2021-01-11T06:10:44.734Z] 31603596830f: Pull complete [2021-01-11T06:10:45.000Z] 2a8b12db71e7: Pull complete [2021-01-11T06:10:45.582Z] 6ca5941a6612: Pull complete [2021-01-11T06:10:45.846Z] ecc8261a40a4: Pull complete [2021-01-11T06:10:46.111Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-11T06:10:46.112Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-11T06:10:46.112Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-11T06:10:46.250Z] prd-centos7-docker-4c-2g-19385 does not seem to be running inside a container [2021-01-11T06:10:46.309Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-71 -v /w/workspace/dgexfoundry_device-rest-go_PR-71:/w/workspace/dgexfoundry_device-rest-go_PR-71:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-71@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-71@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-01-11T06:10:48.695Z] $ docker top 3b2307e11ea0ff0174dc5df75181f9a018c37dc87fb469f631fcdad731ad81e7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-11T06:10:49.127Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-11T06:10:49.127Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-11T06:10:49.369Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-11T06:10:49.373Z] $ docker exec 3b2307e11ea0ff0174dc5df75181f9a018c37dc87fb469f631fcdad731ad81e7 ssh-agent [2021-01-11T06:10:49.565Z] SSH_AUTH_SOCK=/tmp/ssh-RiNHSunqG4PD/agent.12 [2021-01-11T06:10:49.565Z] SSH_AGENT_PID=17 [2021-01-11T06:10:49.581Z] Running ssh-add (command line suppressed) [2021-01-11T06:10:49.713Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-71@tmp/private_key_3896775242239906779.key (/w/workspace/dgexfoundry_device-rest-go_PR-71@tmp/private_key_3896775242239906779.key) [2021-01-11T06:10:49.772Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-11T06:10:50.163Z] + git tag --points-at HEAD [Pipeline] } [2021-01-11T06:10:50.201Z] $ docker exec --env ******** --env ******** 3b2307e11ea0ff0174dc5df75181f9a018c37dc87fb469f631fcdad731ad81e7 ssh-agent -k [2021-01-11T06:10:50.336Z] unset SSH_AUTH_SOCK; [2021-01-11T06:10:50.337Z] unset SSH_AGENT_PID; [2021-01-11T06:10:50.337Z] echo Agent pid 17 killed; [2021-01-11T06:10:50.386Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-11T06:10:50.660Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-11T06:10:50.660Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-11T06:10:50.843Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-11T06:10:50.848Z] $ docker exec 3b2307e11ea0ff0174dc5df75181f9a018c37dc87fb469f631fcdad731ad81e7 ssh-agent [2021-01-11T06:10:51.022Z] SSH_AUTH_SOCK=/tmp/ssh-PCfkqozkc7K1/agent.45 [2021-01-11T06:10:51.022Z] SSH_AGENT_PID=50 [2021-01-11T06:10:51.031Z] Running ssh-add (command line suppressed) [2021-01-11T06:10:51.154Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-71@tmp/private_key_6411051187218199792.key (/w/workspace/dgexfoundry_device-rest-go_PR-71@tmp/private_key_6411051187218199792.key) [2021-01-11T06:10:51.204Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-11T06:10:51.611Z] + git semver init [2021-01-11T06:10:51.612Z] # -> Open(): unable to determine branch for HEAD [2021-01-11T06:10:51.612Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-71/.git [2021-01-11T06:10:51.612Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-71 [2021-01-11T06:10:51.612Z] # $SEMVER_REMOTE_NAME = origin [2021-01-11T06:10:51.612Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-11T06:10:51.612Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-11T06:10:51.612Z] # $SEMVER_BRANCH = PR-71 [2021-01-11T06:10:51.612Z] # $SEMVER_TEMP = /tmp/semver-475989447 [2021-01-11T06:10:51.612Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-01-11T06:10:53.008Z] # '/tmp/semver-475989447' -> '/w/workspace/dgexfoundry_device-rest-go_PR-71/.semver' [2021-01-11T06:10:53.008Z] # -> Force: false [2021-01-11T06:10:53.008Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-71/.semver [Pipeline] } [2021-01-11T06:10:53.038Z] $ docker exec --env ******** --env ******** 3b2307e11ea0ff0174dc5df75181f9a018c37dc87fb469f631fcdad731ad81e7 ssh-agent -k [2021-01-11T06:10:53.168Z] unset SSH_AUTH_SOCK; [2021-01-11T06:10:53.168Z] unset SSH_AGENT_PID; [2021-01-11T06:10:53.168Z] echo Agent pid 50 killed; [2021-01-11T06:10:53.219Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-11T06:10:53.794Z] + git semver [Pipeline] } [2021-01-11T06:10:53.837Z] $ docker stop --time=1 3b2307e11ea0ff0174dc5df75181f9a018c37dc87fb469f631fcdad731ad81e7 [2021-01-11T06:10:55.237Z] $ docker rm -f 3b2307e11ea0ff0174dc5df75181f9a018c37dc87fb469f631fcdad731ad81e7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-11T06:10:55.784Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-11T06:10:56.273Z] Stashed 1 file(s) [Pipeline] echo [2021-01-11T06:10:56.304Z] [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-01-11T06:11:12.128Z] Still waiting to schedule task [2021-01-11T06:11:12.128Z] ‘prd-centos7-blackbox-4c-2g-19234’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-builder-2c-1g-19366’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-19361’ is offline; ‘prd-centos7-docker-4c-2g-19362’ is offline; ‘prd-centos7-docker-4c-2g-19363’ is offline; ‘prd-centos7-docker-4c-2g-19364’ is offline; ‘prd-centos7-docker-4c-2g-19368’ is offline; ‘prd-centos7-docker-4c-2g-19369’ is offline; ‘prd-centos7-docker-4c-2g-19379’ is offline; ‘prd-centos7-docker-4c-2g-19392’ is offline; ‘prd-centos7-docker-4c-2g-19394’ is offline; ‘prd-centos7-docker-4c-2g-19395’ is offline; ‘prd-centos7-docker-4c-2g-19396’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-19367’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-19372’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-01-11T06:11:12.155Z] Still waiting to schedule task [2021-01-11T06:11:12.155Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-01-11T06:14:52.460Z] Running on prd-centos7-docker-4c-2g-19412 in /w/workspace/dgexfoundry_device-rest-go_PR-71 [Pipeline] { [Pipeline] ws [2021-01-11T06:14:52.564Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-01-11T06:14:55.138Z] using credential edgex-jenkins-ssh [2021-01-11T06:14:55.183Z] Cloning the remote Git repository [2021-01-11T06:14:55.210Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-01-11T06:14:55.282Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-01-11T06:14:55.344Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-01-11T06:14:55.344Z] > git --version # timeout=10 [2021-01-11T06:14:55.350Z] > git --version # 'git version 2.24.3' [2021-01-11T06:14:55.351Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T06:14:55.378Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-11T06:15:01.266Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-01-11T06:15:02.026Z] Merging remotes/origin/master commit 793fa606b8324739f564128f9001c967c619a4b2 into PR head commit d7387bdfe32bda107ef97e44da0138ad607784f9 [2021-01-11T06:15:02.125Z] Merge succeeded, producing d7387bdfe32bda107ef97e44da0138ad607784f9 [2021-01-11T06:15:02.126Z] Checking out Revision d7387bdfe32bda107ef97e44da0138ad607784f9 (PR-71) [2021-01-11T06:15:01.276Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-11T06:15:01.290Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-01-11T06:15:01.307Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-01-11T06:15:01.307Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T06:15:01.313Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/71/head:refs/remotes/origin/PR-71 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-11T06:15:02.041Z] > git config core.sparsecheckout # timeout=10 [2021-01-11T06:15:02.048Z] > git checkout -f d7387bdfe32bda107ef97e44da0138ad607784f9 # timeout=10 [2021-01-11T06:15:02.087Z] > git remote # timeout=10 [2021-01-11T06:15:02.093Z] > git config --get remote.origin.url # timeout=10 [2021-01-11T06:15:02.099Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T06:15:02.104Z] > git merge 793fa606b8324739f564128f9001c967c619a4b2 # timeout=10 [2021-01-11T06:15:02.115Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-11T06:15:02.132Z] > git config core.sparsecheckout # timeout=10 [2021-01-11T06:15:02.136Z] > git checkout -f d7387bdfe32bda107ef97e44da0138ad607784f9 # timeout=10 [2021-01-11T06:15:05.870Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts" [2021-01-11T06:15:05.894Z] > git --version # timeout=10 [2021-01-11T06:15:05.901Z] > git --version # 'git version 2.24.3' [2021-01-11T06:15:05.905Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-11T06:15:07.337Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-11T06:15:07.748Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-11T06:15:08.077Z] + sudo service docker restart [2021-01-11T06:15:08.077Z] + true [2021-01-11T06:15:08.077Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-11T06:15:09.165Z] provisioning config files... [2021-01-11T06:15:09.194Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config5886479232093234703tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-11T06:15:09.626Z] ---> docker-login.sh [2021-01-11T06:15:09.626Z] nexus3.edgexfoundry.org:10001 [2021-01-11T06:15:09.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:15:09.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:15:09.888Z] Configure a credential helper to remove this warning. See [2021-01-11T06:15:09.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:15:09.888Z] [2021-01-11T06:15:09.888Z] Login Succeeded [2021-01-11T06:15:09.888Z] nexus3.edgexfoundry.org:10002 [2021-01-11T06:15:10.161Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:15:10.161Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:15:10.161Z] Configure a credential helper to remove this warning. See [2021-01-11T06:15:10.161Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:15:10.161Z] [2021-01-11T06:15:10.161Z] Login Succeeded [2021-01-11T06:15:10.161Z] nexus3.edgexfoundry.org:10003 [2021-01-11T06:15:10.161Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:15:10.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:15:10.425Z] Configure a credential helper to remove this warning. See [2021-01-11T06:15:10.425Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:15:10.425Z] [2021-01-11T06:15:10.425Z] Login Succeeded [2021-01-11T06:15:10.425Z] nexus3.edgexfoundry.org:10004 [2021-01-11T06:15:10.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:15:10.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:15:10.425Z] Configure a credential helper to remove this warning. See [2021-01-11T06:15:10.425Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:15:10.425Z] [2021-01-11T06:15:10.425Z] Login Succeeded [2021-01-11T06:15:10.425Z] docker.io [2021-01-11T06:15:10.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:15:10.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:15:10.949Z] Configure a credential helper to remove this warning. See [2021-01-11T06:15:10.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:15:10.949Z] [2021-01-11T06:15:10.949Z] Login Succeeded [2021-01-11T06:15:10.949Z] ---> docker-login.sh ends [Pipeline] } [2021-01-11T06:15:10.974Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-11T06:15:11.544Z] ========================================================= [2021-01-11T06:15:11.544Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-11T06:15:11.544Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:15:11.917Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-01-11T06:15:11.917Z] Sending build context to Docker daemon 84.48kB [2021-01-11T06:15:11.917Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-01-11T06:15:11.917Z] Step 2/10 : FROM ${BASE} [2021-01-11T06:15:11.917Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-11T06:15:11.917Z] 188c0c94c7c5: Pulling fs layer [2021-01-11T06:15:11.917Z] 0ef7d3d256c8: Pulling fs layer [2021-01-11T06:15:11.917Z] de9db76c5a1d: Pulling fs layer [2021-01-11T06:15:11.917Z] bca2f99d35d6: Pulling fs layer [2021-01-11T06:15:11.917Z] 93359f2a8cfa: Pulling fs layer [2021-01-11T06:15:11.917Z] 7c6f9722023f: Pulling fs layer [2021-01-11T06:15:11.917Z] a35cf1a2eb13: Pulling fs layer [2021-01-11T06:15:11.917Z] 93359f2a8cfa: Waiting [2021-01-11T06:15:11.917Z] 7c6f9722023f: Waiting [2021-01-11T06:15:11.917Z] a35cf1a2eb13: Waiting [2021-01-11T06:15:11.917Z] bca2f99d35d6: Waiting [2021-01-11T06:15:12.183Z] de9db76c5a1d: Download complete [2021-01-11T06:15:12.183Z] 0ef7d3d256c8: Verifying Checksum [2021-01-11T06:15:12.183Z] 0ef7d3d256c8: Download complete [2021-01-11T06:15:12.183Z] 93359f2a8cfa: Verifying Checksum [2021-01-11T06:15:12.183Z] 93359f2a8cfa: Download complete [2021-01-11T06:15:12.464Z] 7c6f9722023f: Verifying Checksum [2021-01-11T06:15:12.464Z] 7c6f9722023f: Download complete [2021-01-11T06:15:12.464Z] 188c0c94c7c5: Verifying Checksum [2021-01-11T06:15:12.464Z] 188c0c94c7c5: Download complete [2021-01-11T06:15:12.737Z] 188c0c94c7c5: Pull complete [2021-01-11T06:15:13.005Z] 0ef7d3d256c8: Pull complete [2021-01-11T06:15:13.005Z] de9db76c5a1d: Pull complete [2021-01-11T06:15:14.433Z] a35cf1a2eb13: Verifying Checksum [2021-01-11T06:15:14.433Z] a35cf1a2eb13: Download complete [2021-01-11T06:15:14.433Z] bca2f99d35d6: Verifying Checksum [2021-01-11T06:15:14.433Z] bca2f99d35d6: Download complete [2021-01-11T06:15:19.765Z] bca2f99d35d6: Pull complete [2021-01-11T06:15:19.765Z] 93359f2a8cfa: Pull complete [2021-01-11T06:15:19.765Z] 7c6f9722023f: Pull complete [2021-01-11T06:15:26.398Z] a35cf1a2eb13: Pull complete [2021-01-11T06:15:26.398Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-11T06:15:26.399Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-11T06:15:26.399Z] ---> a62c8e92a672 [2021-01-11T06:15:26.399Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2021-01-11T06:15:26.399Z] ---> Running in 6c62f7241a2f [2021-01-11T06:15:26.675Z] Removing intermediate container 6c62f7241a2f [2021-01-11T06:15:26.675Z] ---> 2bf7064111b9 [2021-01-11T06:15:26.675Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-01-11T06:15:26.675Z] ---> Running in b021a89b26c4 [2021-01-11T06:15:26.939Z] Removing intermediate container b021a89b26c4 [2021-01-11T06:15:26.939Z] ---> bf79c2dbf32b [2021-01-11T06:15:26.939Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-11T06:15:26.939Z] ---> Running in a893b4531166 [2021-01-11T06:15:27.206Z] Removing intermediate container a893b4531166 [2021-01-11T06:15:27.206Z] ---> 5312448f5bdd [2021-01-11T06:15:27.206Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-11T06:15:27.206Z] ---> Running in 6b38f6c33a0e [2021-01-11T06:15:28.169Z] Removing intermediate container 6b38f6c33a0e [2021-01-11T06:15:28.169Z] ---> 024b454173f5 [2021-01-11T06:15:28.169Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-11T06:15:28.440Z] ---> Running in 28899b8f8579 [2021-01-11T06:15:29.387Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-11T06:15:30.352Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-11T06:15:30.931Z] OK: 166 MiB in 39 packages [2021-01-11T06:15:31.196Z] Removing intermediate container 28899b8f8579 [2021-01-11T06:15:31.196Z] ---> d73992e53ac8 [2021-01-11T06:15:31.196Z] Step 8/10 : WORKDIR /device-rest-go [2021-01-11T06:15:31.196Z] ---> Running in ccd949d184e2 [2021-01-11T06:15:31.466Z] Removing intermediate container ccd949d184e2 [2021-01-11T06:15:31.466Z] ---> 38edfbca6f9b [2021-01-11T06:15:31.466Z] Step 9/10 : COPY . . [2021-01-11T06:15:31.734Z] ---> 2bd5a75c1661 [2021-01-11T06:15:31.735Z] Step 10/10 : RUN go mod download [2021-01-11T06:15:31.735Z] ---> Running in 41e12d6f311f [2021-01-11T06:15:50.036Z] Removing intermediate container 41e12d6f311f [2021-01-11T06:15:50.036Z] ---> f1e880dd4dc1 [2021-01-11T06:15:50.036Z] Successfully built f1e880dd4dc1 [2021-01-11T06:15:50.036Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:15:50.445Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-11T06:15:50.445Z] . [Pipeline] withDockerContainer [2021-01-11T06:15:50.617Z] prd-centos7-docker-4c-2g-19412 does not seem to be running inside a container [2021-01-11T06:15:50.688Z] $ 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-01-11T06:15:51.558Z] $ docker top d578e03e5fba9d438139475c5919d7eeec3e4d4f4b0ba930be09d2d57431075a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-11T06:15:52.160Z] + go version [2021-01-11T06:15:52.160Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-11T06:15:52.218Z] $ docker stop --time=1 d578e03e5fba9d438139475c5919d7eeec3e4d4f4b0ba930be09d2d57431075a [2021-01-11T06:15:53.564Z] $ docker rm -f d578e03e5fba9d438139475c5919d7eeec3e4d4f4b0ba930be09d2d57431075a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:15:55.074Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-11T06:15:55.074Z] . [Pipeline] withDockerContainer [2021-01-11T06:15:55.255Z] prd-centos7-docker-4c-2g-19412 does not seem to be running inside a container [2021-01-11T06:15:55.375Z] $ 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-01-11T06:15:55.938Z] $ docker top ccaceea43b1752effd9de2c4e131022e2e891945c535eb0af37f966c4f538ce4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-11T06:15:56.525Z] + make test [2021-01-11T06:15:56.525Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-01-11T06:15:57.117Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-01-11T06:15:58.953Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-19410 in /w/workspace/dgexfoundry_device-rest-go_PR-71 [Pipeline] { [Pipeline] ws [2021-01-11T06:15:59.348Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-01-11T06:16:03.986Z] # github.com/edgexfoundry/go-mod-bootstrap/bootstrap/logging [2021-01-11T06:16:03.986Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.57/bootstrap/logging/factory.go:29:9: undefined: logger.NewClientStdOut [2021-01-11T06:16:03.986Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.57/bootstrap/logging/factory.go:42:25: too many arguments in call to logger.NewClient [2021-01-11T06:16:03.986Z] have (string, bool, string, string) [2021-01-11T06:16:03.986Z] want (string, string) [2021-01-11T06:16:06.595Z] FAIL github.com/edgexfoundry/device-rest-go/driver [build failed] [2021-01-11T06:16:06.595Z] make: *** [Makefile:23: test] Error 2 [Pipeline] } [2021-01-11T06:16:06.655Z] $ docker stop --time=1 ccaceea43b1752effd9de2c4e131022e2e891945c535eb0af37f966c4f538ce4 [2021-01-11T06:16:07.475Z] using credential edgex-jenkins-ssh [2021-01-11T06:16:07.536Z] Cloning the remote Git repository [2021-01-11T06:16:07.590Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-01-11T06:16:07.718Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-01-11T06:16:07.812Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-01-11T06:16:07.812Z] > git --version # timeout=10 [2021-01-11T06:16:07.841Z] > git --version # 'git version 2.17.1' [2021-01-11T06:16:07.843Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T06:16:07.894Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-11T06:16:09.028Z] $ docker rm -f ccaceea43b1752effd9de2c4e131022e2e891945c535eb0af37f966c4f538ce4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [2021-01-11T06:16:10.153Z] Merging remotes/origin/master commit 793fa606b8324739f564128f9001c967c619a4b2 into PR head commit d7387bdfe32bda107ef97e44da0138ad607784f9 [2021-01-11T06:16:09.590Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-01-11T06:16:09.606Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-11T06:16:09.638Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-01-11T06:16:09.681Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-01-11T06:16:09.682Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T06:16:09.700Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/71/head:refs/remotes/origin/PR-71 +refs/heads/master:refs/remotes/origin/master # timeout=10 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [2021-01-11T06:16:10.362Z] Merge succeeded, producing d7387bdfe32bda107ef97e44da0138ad607784f9 [2021-01-11T06:16:10.363Z] Checking out Revision d7387bdfe32bda107ef97e44da0138ad607784f9 (PR-71) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [2021-01-11T06:16:10.172Z] > git config core.sparsecheckout # timeout=10 [2021-01-11T06:16:10.185Z] > git checkout -f d7387bdfe32bda107ef97e44da0138ad607784f9 # timeout=10 [2021-01-11T06:16:10.275Z] > git remote # timeout=10 [2021-01-11T06:16:10.291Z] > git config --get remote.origin.url # timeout=10 [2021-01-11T06:16:10.310Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T06:16:10.321Z] > git merge 793fa606b8324739f564128f9001c967c619a4b2 # timeout=10 [2021-01-11T06:16:10.346Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-11T06:16:10.370Z] > git config core.sparsecheckout # timeout=10 [2021-01-11T06:16:10.391Z] > git checkout -f d7387bdfe32bda107ef97e44da0138ad607784f9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-11T06:16:12.079Z] Failed in branch amd64 [2021-01-11T06:16:15.319Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts" [2021-01-11T06:16:15.394Z] > git --version # timeout=10 [2021-01-11T06:16:15.404Z] > git --version # 'git version 2.17.1' [2021-01-11T06:16:15.421Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-11T06:16:17.372Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-11T06:16:17.860Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-11T06:16:18.248Z] + sudo service docker restart [2021-01-11T06:16:18.248Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-11T06:16:20.433Z] provisioning config files... [2021-01-11T06:16:20.478Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config1533557423177697576tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-11T06:16:20.997Z] ---> docker-login.sh [2021-01-11T06:16:20.997Z] nexus3.edgexfoundry.org:10001 [2021-01-11T06:16:21.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:16:22.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:16:22.594Z] Configure a credential helper to remove this warning. See [2021-01-11T06:16:22.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:16:22.594Z] [2021-01-11T06:16:22.594Z] Login Succeeded [2021-01-11T06:16:22.594Z] nexus3.edgexfoundry.org:10002 [2021-01-11T06:16:22.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:16:23.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:16:23.154Z] Configure a credential helper to remove this warning. See [2021-01-11T06:16:23.154Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:16:23.154Z] [2021-01-11T06:16:23.154Z] Login Succeeded [2021-01-11T06:16:23.154Z] nexus3.edgexfoundry.org:10003 [2021-01-11T06:16:23.769Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:16:23.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:16:23.769Z] Configure a credential helper to remove this warning. See [2021-01-11T06:16:23.769Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:16:23.769Z] [2021-01-11T06:16:23.769Z] Login Succeeded [2021-01-11T06:16:23.769Z] nexus3.edgexfoundry.org:10004 [2021-01-11T06:16:24.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:16:24.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:16:24.378Z] Configure a credential helper to remove this warning. See [2021-01-11T06:16:24.378Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:16:24.378Z] [2021-01-11T06:16:24.378Z] Login Succeeded [2021-01-11T06:16:24.378Z] docker.io [2021-01-11T06:16:24.981Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T06:16:25.265Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T06:16:25.265Z] Configure a credential helper to remove this warning. See [2021-01-11T06:16:25.265Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T06:16:25.265Z] [2021-01-11T06:16:25.265Z] Login Succeeded [2021-01-11T06:16:25.265Z] ---> docker-login.sh ends [Pipeline] } [2021-01-11T06:16:25.305Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-11T06:16:26.030Z] ========================================================= [2021-01-11T06:16:26.030Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-11T06:16:26.030Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:16:26.458Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-01-11T06:16:26.458Z] Sending build context to Docker daemon 84.48kB [2021-01-11T06:16:26.736Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-01-11T06:16:26.736Z] Step 2/10 : FROM ${BASE} [2021-01-11T06:16:27.017Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-11T06:16:27.017Z] 5f621e34cdf4: Pulling fs layer [2021-01-11T06:16:27.017Z] a4357932f1b6: Pulling fs layer [2021-01-11T06:16:27.017Z] 18c013af1878: Pulling fs layer [2021-01-11T06:16:27.017Z] 00ac8860ef70: Pulling fs layer [2021-01-11T06:16:27.017Z] 63d7cb157983: Pulling fs layer [2021-01-11T06:16:27.017Z] b116817d02f9: Pulling fs layer [2021-01-11T06:16:27.017Z] 745a02a5169b: Pulling fs layer [2021-01-11T06:16:27.017Z] 00ac8860ef70: Waiting [2021-01-11T06:16:27.017Z] b116817d02f9: Waiting [2021-01-11T06:16:27.017Z] 745a02a5169b: Waiting [2021-01-11T06:16:27.017Z] 63d7cb157983: Waiting [2021-01-11T06:16:27.017Z] 18c013af1878: Verifying Checksum [2021-01-11T06:16:27.017Z] 18c013af1878: Download complete [2021-01-11T06:16:27.017Z] a4357932f1b6: Download complete [2021-01-11T06:16:27.017Z] 63d7cb157983: Verifying Checksum [2021-01-11T06:16:27.017Z] 63d7cb157983: Download complete [2021-01-11T06:16:27.300Z] b116817d02f9: Verifying Checksum [2021-01-11T06:16:27.300Z] b116817d02f9: Download complete [2021-01-11T06:16:27.300Z] 5f621e34cdf4: Download complete [2021-01-11T06:16:27.932Z] 5f621e34cdf4: Pull complete [2021-01-11T06:16:28.543Z] a4357932f1b6: Pull complete [2021-01-11T06:16:28.835Z] 18c013af1878: Pull complete [2021-01-11T06:16:30.298Z] 745a02a5169b: Verifying Checksum [2021-01-11T06:16:30.298Z] 745a02a5169b: Download complete [2021-01-11T06:16:32.954Z] 00ac8860ef70: Verifying Checksum [2021-01-11T06:16:32.954Z] 00ac8860ef70: Download complete [2021-01-11T06:16:43.170Z] 00ac8860ef70: Pull complete [2021-01-11T06:16:43.170Z] 63d7cb157983: Pull complete [2021-01-11T06:16:43.450Z] b116817d02f9: Pull complete [2021-01-11T06:16:46.884Z] 745a02a5169b: Pull complete [2021-01-11T06:16:46.885Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-11T06:16:47.174Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-11T06:16:47.174Z] ---> b7e6874047d6 [2021-01-11T06:16:47.174Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2021-01-11T06:16:50.610Z] ---> Running in 3fe89b59af27 [2021-01-11T06:16:50.610Z] Removing intermediate container 3fe89b59af27 [2021-01-11T06:16:50.610Z] ---> d62499a518ae [2021-01-11T06:16:50.610Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-01-11T06:16:50.610Z] ---> Running in 061e1f6f0860 [2021-01-11T06:16:51.219Z] Removing intermediate container 061e1f6f0860 [2021-01-11T06:16:51.219Z] ---> 6cd11eaaf2e2 [2021-01-11T06:16:51.219Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-11T06:16:51.219Z] ---> Running in 370e9a2fbedf [2021-01-11T06:16:51.829Z] Removing intermediate container 370e9a2fbedf [2021-01-11T06:16:51.829Z] ---> 7bdb2be59a29 [2021-01-11T06:16:51.829Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-11T06:16:52.109Z] ---> Running in 06495ccd961b [2021-01-11T06:16:54.781Z] Removing intermediate container 06495ccd961b [2021-01-11T06:16:54.781Z] ---> 00f205ccc29c [2021-01-11T06:16:54.781Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-11T06:16:54.781Z] ---> Running in 2bce396e457d [2021-01-11T06:16:56.227Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-11T06:16:56.833Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-11T06:16:58.273Z] OK: 142 MiB in 39 packages [2021-01-11T06:16:59.722Z] Removing intermediate container 2bce396e457d [2021-01-11T06:16:59.722Z] ---> 08e1779379e4 [2021-01-11T06:16:59.722Z] Step 8/10 : WORKDIR /device-rest-go [2021-01-11T06:16:59.722Z] ---> Running in 5ef37deb4a69 [2021-01-11T06:17:00.002Z] Removing intermediate container 5ef37deb4a69 [2021-01-11T06:17:00.002Z] ---> a9088c2ed3fc [2021-01-11T06:17:00.002Z] Step 9/10 : COPY . . [2021-01-11T06:17:00.999Z] ---> f03f55291be3 [2021-01-11T06:17:00.999Z] Step 10/10 : RUN go mod download [2021-01-11T06:17:00.999Z] ---> Running in 40eeb6b0f66d [2021-01-11T06:17:27.905Z] Removing intermediate container 40eeb6b0f66d [2021-01-11T06:17:27.905Z] ---> 890642d71f4e [2021-01-11T06:17:27.905Z] Successfully built 890642d71f4e [2021-01-11T06:17:27.905Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:17:28.307Z] + docker inspect -f . ci-base-image-arm64 [2021-01-11T06:17:28.308Z] . [Pipeline] withDockerContainer [2021-01-11T06:17:28.652Z] prd-ubuntu18.04-docker-arm64-4c-16g-19410 does not seem to be running inside a container [2021-01-11T06:17:28.756Z] $ 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-01-11T06:17:30.434Z] $ docker top 05e557b8021cc95a2e3ead04188ae96f9a00e82f1adfbd466d55e9fb212c98d1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-11T06:17:31.657Z] + go version [2021-01-11T06:17:31.657Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-11T06:17:31.702Z] $ docker stop --time=1 05e557b8021cc95a2e3ead04188ae96f9a00e82f1adfbd466d55e9fb212c98d1 [2021-01-11T06:17:33.742Z] $ docker rm -f 05e557b8021cc95a2e3ead04188ae96f9a00e82f1adfbd466d55e9fb212c98d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:17:35.033Z] + docker inspect -f . ci-base-image-arm64 [2021-01-11T06:17:35.033Z] . [Pipeline] withDockerContainer [2021-01-11T06:17:35.352Z] prd-ubuntu18.04-docker-arm64-4c-16g-19410 does not seem to be running inside a container [2021-01-11T06:17:35.450Z] $ 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-01-11T06:17:37.124Z] $ docker top f1e74f683a8c978dbeb9ac5fee4a8205fc0eca72997c296ad116a8732104c03a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-11T06:17:38.240Z] + make test [2021-01-11T06:17:38.240Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-01-11T06:17:39.226Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-01-11T06:18:06.108Z] # github.com/edgexfoundry/go-mod-bootstrap/bootstrap/logging [2021-01-11T06:18:06.108Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.57/bootstrap/logging/factory.go:29:9: undefined: logger.NewClientStdOut [2021-01-11T06:18:06.108Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.57/bootstrap/logging/factory.go:42:25: too many arguments in call to logger.NewClient [2021-01-11T06:18:06.108Z] have (string, bool, string, string) [2021-01-11T06:18:06.108Z] want (string, string) [2021-01-11T06:18:11.546Z] FAIL github.com/edgexfoundry/device-rest-go/driver [build failed] [2021-01-11T06:18:11.826Z] make: *** [Makefile:23: test] Error 2 [Pipeline] } [2021-01-11T06:18:11.890Z] $ docker stop --time=1 f1e74f683a8c978dbeb9ac5fee4a8205fc0eca72997c296ad116a8732104c03a [2021-01-11T06:18:14.013Z] $ docker rm -f f1e74f683a8c978dbeb9ac5fee4a8205fc0eca72997c296ad116a8732104c03a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-11T06:18:16.393Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-01-11T06:18:20.510Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T06:18:21.127Z] ---> package-listing.sh [2021-01-11T06:18:21.127Z] ++ facter osfamily [2021-01-11T06:18:21.127Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-11T06:18:21.127Z] + OS_FAMILY=redhat [2021-01-11T06:18:21.127Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-71 [2021-01-11T06:18:21.127Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-11T06:18:21.127Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-11T06:18:21.127Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-11T06:18:21.127Z] + PACKAGES=/tmp/packages_start.txt [2021-01-11T06:18:21.127Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-71 ']' [2021-01-11T06:18:21.127Z] + PACKAGES=/tmp/packages_end.txt [2021-01-11T06:18:21.127Z] + case "${OS_FAMILY}" in [2021-01-11T06:18:21.127Z] + rpm -qa [2021-01-11T06:18:21.127Z] + sort [2021-01-11T06:18:26.425Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-11T06:18:26.425Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-11T06:18:26.425Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-11T06:18:26.425Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-71 ']' [2021-01-11T06:18:26.425Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-71/archives/ [2021-01-11T06:18:26.425Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-71/archives/ [Pipeline] echo [2021-01-11T06:18:26.459Z] 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/dgexfoundry_device-rest-go_PR-71/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-11T06:18:26.772Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:18:27.124Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-11T06:18:27.124Z] [2021-01-11T06:18:27.124Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-11T06:18:27.526Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-11T06:18:27.526Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-11T06:18:27.526Z] df20fa9351a1: Pulling fs layer [2021-01-11T06:18:27.526Z] 36b3adc4ff6f: Pulling fs layer [2021-01-11T06:18:27.526Z] 8ad3a11d3b57: Pulling fs layer [2021-01-11T06:18:27.526Z] 46f8f816bc3b: Pulling fs layer [2021-01-11T06:18:27.526Z] 93b61091891f: Pulling fs layer [2021-01-11T06:18:27.526Z] 93b9cdb0e59b: Pulling fs layer [2021-01-11T06:18:27.526Z] 5e14af77c1be: Pulling fs layer [2021-01-11T06:18:27.526Z] 01666e4c0597: Pulling fs layer [2021-01-11T06:18:27.526Z] aa168da1d23b: Pulling fs layer [2021-01-11T06:18:27.526Z] 93b61091891f: Waiting [2021-01-11T06:18:27.526Z] 46f8f816bc3b: Waiting [2021-01-11T06:18:27.526Z] 93b9cdb0e59b: Waiting [2021-01-11T06:18:27.526Z] 5e14af77c1be: Waiting [2021-01-11T06:18:27.526Z] 01666e4c0597: Waiting [2021-01-11T06:18:27.526Z] aa168da1d23b: Waiting [2021-01-11T06:18:27.526Z] 36b3adc4ff6f: Verifying Checksum [2021-01-11T06:18:27.526Z] 36b3adc4ff6f: Download complete [2021-01-11T06:18:27.526Z] 46f8f816bc3b: Verifying Checksum [2021-01-11T06:18:27.526Z] 46f8f816bc3b: Download complete [2021-01-11T06:18:27.526Z] df20fa9351a1: Verifying Checksum [2021-01-11T06:18:27.526Z] df20fa9351a1: Download complete [2021-01-11T06:18:27.789Z] 93b9cdb0e59b: Download complete [2021-01-11T06:18:27.789Z] 93b61091891f: Download complete [2021-01-11T06:18:27.789Z] 5e14af77c1be: Verifying Checksum [2021-01-11T06:18:27.789Z] 5e14af77c1be: Download complete [2021-01-11T06:18:27.789Z] 01666e4c0597: Verifying Checksum [2021-01-11T06:18:27.789Z] 01666e4c0597: Download complete [2021-01-11T06:18:27.789Z] 8ad3a11d3b57: Verifying Checksum [2021-01-11T06:18:27.789Z] 8ad3a11d3b57: Download complete [2021-01-11T06:18:28.061Z] df20fa9351a1: Pull complete [2021-01-11T06:18:28.061Z] 36b3adc4ff6f: Pull complete [2021-01-11T06:18:29.027Z] 8ad3a11d3b57: Pull complete [2021-01-11T06:18:29.606Z] aa168da1d23b: Verifying Checksum [2021-01-11T06:18:29.606Z] aa168da1d23b: Download complete [2021-01-11T06:18:29.870Z] 46f8f816bc3b: Pull complete [2021-01-11T06:18:30.133Z] 93b61091891f: Pull complete [2021-01-11T06:18:30.395Z] 93b9cdb0e59b: Pull complete [2021-01-11T06:18:30.395Z] 5e14af77c1be: Pull complete [2021-01-11T06:18:30.662Z] 01666e4c0597: Pull complete [2021-01-11T06:18:37.279Z] aa168da1d23b: Pull complete [2021-01-11T06:18:37.279Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-11T06:18:37.279Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-11T06:18:37.279Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-11T06:18:37.514Z] prd-centos7-docker-4c-2g-19385 does not seem to be running inside a container [2021-01-11T06:18:37.561Z] $ 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/dgexfoundry_device-rest-go_PR-71/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-rest-go_PR-71 -v /w/workspace/dgexfoundry_device-rest-go_PR-71:/w/workspace/dgexfoundry_device-rest-go_PR-71:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-71@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-71@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-01-11T06:18:40.104Z] $ docker top e0ce100efd8a74043f27cd2ec7d76f616ce876544f234d0453b0251f2ba09a79 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-11T06:18:42.291Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-11T06:18:42.659Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-11T06:18:42.994Z] + ls /var/log/sa-host [2021-01-11T06:18:42.994Z] + sadf -c /var/log/sa-host/sa11 [2021-01-11T06:18:42.994Z] file_magic: OK [2021-01-11T06:18:42.994Z] HZ: Using current value: 100 [2021-01-11T06:18:42.994Z] file_header: OK [2021-01-11T06:18:42.994Z] 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-01-11T06:18:42.994Z] Statistics: [2021-01-11T06:18:42.994Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-11T06:18:42.994Z] File successfully converted to sysstat format version 12.2.1 [2021-01-11T06:18:42.994Z] + sadf -c /var/log/sa-host/sa23 [2021-01-11T06:18:42.994Z] file_magic: OK [2021-01-11T06:18:42.994Z] HZ: Using current value: 100 [2021-01-11T06:18:42.994Z] file_header: OK [2021-01-11T06:18:42.994Z] 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-01-11T06:18:42.994Z] Statistics: [2021-01-11T06:18:42.994Z] Hnuu...uuuununununu... [2021-01-11T06:18:42.994Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-11T06:18:43.308Z] provisioning config files... [2021-01-11T06:18:43.322Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-71@tmp/config5817996529779772038tmp [Pipeline] { [Pipeline] echo [2021-01-11T06:18:43.485Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T06:18:43.846Z] ---> create-netrc.sh [Pipeline] } [2021-01-11T06:18:43.909Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-11T06:18:44.121Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T06:18:44.497Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-11T06:18:44.535Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T06:18:44.903Z] ---> sudo-logs.sh [2021-01-11T06:18:44.903Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-11T06:18:44.944Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T06:18:45.316Z] ---> job-cost.sh [2021-01-11T06:18:45.316Z] lf-activate-venv: SKIPPING [2021-01-11T06:18:45.316Z] INFO: No Stack... [2021-01-11T06:18:46.263Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-11T06:18:46.835Z] INFO: Archiving Costs [Pipeline] echo [2021-01-11T06:18:46.868Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T06:18:47.228Z] ---> logs-deploy.sh [2021-01-11T06:18:47.228Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-71/1 [2021-01-11T06:18:47.228Z] INFO: archiving workspace using pattern(s): [2021-01-11T06:18:49.165Z] Archives upload complete. [2021-01-11T06:18:49.165Z] INFO: archiving logs to Nexus