Pull request #72 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 67438110184b91a93dfd12a0c18991f45ddc4a9d+abd24f16bfefa7889687f83d2fc8de1c385cee13 (cf4b437a7394a89ddde983fd1734c2869f6be2a6) 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-72/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-72/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-19506 in /w/workspace/dgexfoundry_device-rest-go_PR-72 [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-72 # 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/72/head:refs/remotes/origin/PR-72 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit abd24f16bfefa7889687f83d2fc8de1c385cee13 into PR head commit 67438110184b91a93dfd12a0c18991f45ddc4a9d Merge succeeded, producing 67438110184b91a93dfd12a0c18991f45ddc4a9d Checking out Revision 67438110184b91a93dfd12a0c18991f45ddc4a9d (PR-72) > git config core.sparsecheckout # timeout=10 > git checkout -f 67438110184b91a93dfd12a0c18991f45ddc4a9d # 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 abd24f16bfefa7889687f83d2fc8de1c385cee13 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 67438110184b91a93dfd12a0c18991f45ddc4a9d # 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-11T14:34:21.032Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-11T14:34:21.452Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-11T14:34:21.666Z] ========================================================= [2021-01-11T14:34:21.666Z] EdgeX Global Pipelines Version Info [2021-01-11T14:34:21.666Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-11T14:34:23.595Z] ------------------- [2021-01-11T14:34:23.595Z] stable info: [2021-01-11T14:34:23.595Z] ------------------- [2021-01-11T14:34:23.595Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-11T14:34:23.595Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-11T14:34:23.595Z] Message: update stable to v1.0.173 [2021-01-11T14:34:24.604Z] ------------------- [2021-01-11T14:34:24.604Z] experimental info: [2021-01-11T14:34:24.604Z] ------------------- [2021-01-11T14:34:24.605Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-11T14:34:24.605Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-11T14:34:24.605Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-11T14:34:25.038Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-01-11T14:34:25.162Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-01-11T14:34:25.296Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-11T14:34:25.440Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-11T14:34:25.570Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-11T14:34:25.716Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-11T14:34:25.849Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-11T14:34:26.037Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-11T14:34:26.206Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-11T14:34:26.372Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-11T14:34:26.510Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-11T14:34:26.633Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo [2021-01-11T14:34:26.770Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-11T14:34:26.912Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-11T14:34:27.069Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-11T14:34:27.483Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-01-11T14:34:27.599Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-11T14:34:27.748Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-11T14:34:27.878Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-11T14:34:28.010Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-11T14:34:28.142Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-11T14:34:28.272Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-11T14:34:28.390Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-11T14:34:28.544Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-11T14:34:28.700Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-11T14:34:28.827Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-11T14:34:28.951Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-11T14:34:29.072Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-72 [Pipeline] echo [2021-01-11T14:34:29.444Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-72 [Pipeline] echo [2021-01-11T14:34:29.561Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-72 [Pipeline] echo [2021-01-11T14:34:29.681Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 67438110184b91a93dfd12a0c18991f45ddc4a9d [Pipeline] echo [2021-01-11T14:34:29.812Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6743811 [Pipeline] echo [2021-01-11T14:34:29.946Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-11T14:34:30.434Z] provisioning config files... [2021-01-11T14:34:30.464Z] copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-72@tmp/config113682393191474706tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-11T14:34:30.928Z] ---> docker-login.sh [2021-01-11T14:34:30.928Z] nexus3.edgexfoundry.org:10001 [2021-01-11T14:34:31.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T14:34:31.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T14:34:31.464Z] Configure a credential helper to remove this warning. See [2021-01-11T14:34:31.464Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T14:34:31.464Z] [2021-01-11T14:34:31.464Z] Login Succeeded [2021-01-11T14:34:31.464Z] nexus3.edgexfoundry.org:10002 [2021-01-11T14:34:31.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T14:34:31.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T14:34:31.727Z] Configure a credential helper to remove this warning. See [2021-01-11T14:34:31.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T14:34:31.727Z] [2021-01-11T14:34:31.727Z] Login Succeeded [2021-01-11T14:34:31.727Z] nexus3.edgexfoundry.org:10003 [2021-01-11T14:34:31.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T14:34:31.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T14:34:31.727Z] Configure a credential helper to remove this warning. See [2021-01-11T14:34:31.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T14:34:31.727Z] [2021-01-11T14:34:31.727Z] Login Succeeded [2021-01-11T14:34:31.727Z] nexus3.edgexfoundry.org:10004 [2021-01-11T14:34:31.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T14:34:31.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T14:34:31.992Z] Configure a credential helper to remove this warning. See [2021-01-11T14:34:31.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T14:34:31.992Z] [2021-01-11T14:34:31.992Z] Login Succeeded [2021-01-11T14:34:31.992Z] docker.io [2021-01-11T14:34:32.256Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T14:34:32.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T14:34:32.519Z] Configure a credential helper to remove this warning. See [2021-01-11T14:34:32.519Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T14:34:32.519Z] [2021-01-11T14:34:32.519Z] Login Succeeded [2021-01-11T14:34:32.519Z] ---> docker-login.sh ends [Pipeline] } [2021-01-11T14:34:32.544Z] 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-11T14:34:33.629Z] + git log --format=format:%s -1 67438110184b91a93dfd12a0c18991f45ddc4a9d [Pipeline] echo [2021-01-11T14:34:33.726Z] GIT_COMMIT: 67438110184b91a93dfd12a0c18991f45ddc4a9d, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo [2021-01-11T14:34:33.832Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-11T14:34:34.525Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-11T14:34:34.525Z] [2021-01-11T14:34:34.525Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-11T14:34:34.931Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-11T14:34:34.931Z] latest: Pulling from edgex-devops/git-semver [2021-01-11T14:34:34.931Z] 31603596830f: Pulling fs layer [2021-01-11T14:34:34.931Z] 2a8b12db71e7: Pulling fs layer [2021-01-11T14:34:34.931Z] 6ca5941a6612: Pulling fs layer [2021-01-11T14:34:34.931Z] ecc8261a40a4: Pulling fs layer [2021-01-11T14:34:34.931Z] ecc8261a40a4: Waiting [2021-01-11T14:34:34.931Z] 2a8b12db71e7: Verifying Checksum [2021-01-11T14:34:34.931Z] 2a8b12db71e7: Download complete [2021-01-11T14:34:35.517Z] ecc8261a40a4: Verifying Checksum [2021-01-11T14:34:35.517Z] ecc8261a40a4: Download complete [2021-01-11T14:34:35.517Z] 31603596830f: Verifying Checksum [2021-01-11T14:34:35.517Z] 31603596830f: Download complete [2021-01-11T14:34:35.517Z] 6ca5941a6612: Verifying Checksum [2021-01-11T14:34:35.517Z] 6ca5941a6612: Download complete [2021-01-11T14:34:35.783Z] 31603596830f: Pull complete [2021-01-11T14:34:36.048Z] 2a8b12db71e7: Pull complete [2021-01-11T14:34:37.002Z] 6ca5941a6612: Pull complete [2021-01-11T14:34:37.265Z] ecc8261a40a4: Pull complete [2021-01-11T14:34:37.265Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-11T14:34:37.265Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-11T14:34:37.265Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-11T14:34:37.426Z] prd-centos7-docker-4c-2g-19506 does not seem to be running inside a container [2021-01-11T14:34:37.480Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-72 -v /w/workspace/dgexfoundry_device-rest-go_PR-72:/w/workspace/dgexfoundry_device-rest-go_PR-72:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-72@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-72@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-11T14:34:39.410Z] $ docker top ec8aad6ffa40288e2cf578143453035c19a86bd56455f2cdbf3c41f69c77ec96 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-11T14:34:39.820Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-11T14:34:39.820Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-11T14:34:40.073Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-11T14:34:40.077Z] $ docker exec ec8aad6ffa40288e2cf578143453035c19a86bd56455f2cdbf3c41f69c77ec96 ssh-agent [2021-01-11T14:34:40.263Z] SSH_AUTH_SOCK=/tmp/ssh-xoT663p3xnji/agent.11 [2021-01-11T14:34:40.263Z] SSH_AGENT_PID=17 [2021-01-11T14:34:40.275Z] Running ssh-add (command line suppressed) [2021-01-11T14:34:40.419Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-72@tmp/private_key_6319464059347224228.key (/w/workspace/dgexfoundry_device-rest-go_PR-72@tmp/private_key_6319464059347224228.key) [2021-01-11T14:34:40.479Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-11T14:34:40.912Z] + git tag --points-at HEAD [Pipeline] } [2021-01-11T14:34:40.946Z] $ docker exec --env ******** --env ******** ec8aad6ffa40288e2cf578143453035c19a86bd56455f2cdbf3c41f69c77ec96 ssh-agent -k [2021-01-11T14:34:41.076Z] unset SSH_AUTH_SOCK; [2021-01-11T14:34:41.077Z] unset SSH_AGENT_PID; [2021-01-11T14:34:41.077Z] echo Agent pid 17 killed; [2021-01-11T14:34:41.132Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-11T14:34:41.327Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-11T14:34:41.327Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-11T14:34:41.523Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-11T14:34:41.527Z] $ docker exec ec8aad6ffa40288e2cf578143453035c19a86bd56455f2cdbf3c41f69c77ec96 ssh-agent [2021-01-11T14:34:41.717Z] SSH_AUTH_SOCK=/tmp/ssh-IlY5U3YjwTjC/agent.45 [2021-01-11T14:34:41.717Z] SSH_AGENT_PID=51 [2021-01-11T14:34:41.724Z] Running ssh-add (command line suppressed) [2021-01-11T14:34:41.859Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-72@tmp/private_key_741799939675419126.key (/w/workspace/dgexfoundry_device-rest-go_PR-72@tmp/private_key_741799939675419126.key) [2021-01-11T14:34:41.922Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-11T14:34:42.307Z] + git semver init [2021-01-11T14:34:42.307Z] # -> Open(): unable to determine branch for HEAD [2021-01-11T14:34:42.307Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-72/.git [2021-01-11T14:34:42.307Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-72 [2021-01-11T14:34:42.307Z] # $SEMVER_REMOTE_NAME = origin [2021-01-11T14:34:42.307Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-11T14:34:42.307Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-11T14:34:42.308Z] # $SEMVER_BRANCH = PR-72 [2021-01-11T14:34:42.308Z] # $SEMVER_TEMP = /tmp/semver-658978833 [2021-01-11T14:34:42.308Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-01-11T14:34:46.569Z] # '/tmp/semver-658978833' -> '/w/workspace/dgexfoundry_device-rest-go_PR-72/.semver' [2021-01-11T14:34:46.569Z] # -> Force: false [2021-01-11T14:34:46.569Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-72/.semver [Pipeline] } [2021-01-11T14:34:46.592Z] $ docker exec --env ******** --env ******** ec8aad6ffa40288e2cf578143453035c19a86bd56455f2cdbf3c41f69c77ec96 ssh-agent -k [2021-01-11T14:34:46.734Z] unset SSH_AUTH_SOCK; [2021-01-11T14:34:46.735Z] unset SSH_AGENT_PID; [2021-01-11T14:34:46.735Z] echo Agent pid 51 killed; [2021-01-11T14:34:46.789Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-11T14:34:47.389Z] + git semver [Pipeline] } [2021-01-11T14:34:47.426Z] $ docker stop --time=1 ec8aad6ffa40288e2cf578143453035c19a86bd56455f2cdbf3c41f69c77ec96 [2021-01-11T14:34:48.871Z] $ docker rm -f ec8aad6ffa40288e2cf578143453035c19a86bd56455f2cdbf3c41f69c77ec96 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-11T14:34:49.474Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-11T14:34:49.913Z] Stashed 1 file(s) [Pipeline] echo [2021-01-11T14:34:49.936Z] [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-11T14:35:06.028Z] Still waiting to schedule task [2021-01-11T14:35:06.028Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-11T14:35:06.054Z] Still waiting to schedule task [2021-01-11T14:35:06.054Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-01-11T14:38:33.111Z] Running on prd-centos7-docker-4c-2g-19510 in /w/workspace/dgexfoundry_device-rest-go_PR-72 [Pipeline] { [Pipeline] ws [2021-01-11T14:38:33.201Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-01-11T14:38:35.553Z] using credential edgex-jenkins-ssh [2021-01-11T14:38:35.603Z] Cloning the remote Git repository [2021-01-11T14:38:35.627Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-01-11T14:38:35.713Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-01-11T14:38:35.803Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-01-11T14:38:35.804Z] > git --version # timeout=10 [2021-01-11T14:38:35.809Z] > git --version # 'git version 2.24.3' [2021-01-11T14:38:35.810Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T14:38:35.838Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-11T14:38:36.794Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-01-11T14:38:36.801Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-11T14:38:36.813Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-01-11T14:38:36.830Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-01-11T14:38:36.830Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T14:38:36.834Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/72/head:refs/remotes/origin/PR-72 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-11T14:38:37.228Z] Merging remotes/origin/master commit abd24f16bfefa7889687f83d2fc8de1c385cee13 into PR head commit 67438110184b91a93dfd12a0c18991f45ddc4a9d [2021-01-11T14:38:37.317Z] Merge succeeded, producing 67438110184b91a93dfd12a0c18991f45ddc4a9d [2021-01-11T14:38:37.317Z] Checking out Revision 67438110184b91a93dfd12a0c18991f45ddc4a9d (PR-72) [2021-01-11T14:38:37.239Z] > git config core.sparsecheckout # timeout=10 [2021-01-11T14:38:37.250Z] > git checkout -f 67438110184b91a93dfd12a0c18991f45ddc4a9d # timeout=10 [2021-01-11T14:38:37.287Z] > git remote # timeout=10 [2021-01-11T14:38:37.294Z] > git config --get remote.origin.url # timeout=10 [2021-01-11T14:38:37.298Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T14:38:37.302Z] > git merge abd24f16bfefa7889687f83d2fc8de1c385cee13 # timeout=10 [2021-01-11T14:38:37.311Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-11T14:38:37.320Z] > git config core.sparsecheckout # timeout=10 [2021-01-11T14:38:37.324Z] > git checkout -f 67438110184b91a93dfd12a0c18991f45ddc4a9d # timeout=10 [2021-01-11T14:38:40.959Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts" [2021-01-11T14:38:40.992Z] > git --version # timeout=10 [2021-01-11T14:38:40.997Z] > git --version # 'git version 2.24.3' [2021-01-11T14:38:41.003Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-11T14:38:41.832Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-19509 in /w/workspace/dgexfoundry_device-rest-go_PR-72 [Pipeline] { [Pipeline] ws [2021-01-11T14:38:41.930Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-11T14:38:43.224Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-11T14:38:43.589Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-11T14:38:43.927Z] + true [2021-01-11T14:38:43.927Z] + sudo service docker restart [2021-01-11T14:38:43.927Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-11T14:38:45.036Z] provisioning config files... [2021-01-11T14:38:45.063Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config4701474096466133962tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-11T14:38:45.507Z] ---> docker-login.sh [2021-01-11T14:38:45.507Z] nexus3.edgexfoundry.org:10001 [2021-01-11T14:38:45.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T14:38:45.772Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T14:38:45.772Z] Configure a credential helper to remove this warning. See [2021-01-11T14:38:45.772Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T14:38:45.772Z] [2021-01-11T14:38:45.772Z] Login Succeeded [2021-01-11T14:38:45.772Z] nexus3.edgexfoundry.org:10002 [2021-01-11T14:38:46.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T14:38:46.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T14:38:46.036Z] Configure a credential helper to remove this warning. See [2021-01-11T14:38:46.036Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T14:38:46.036Z] [2021-01-11T14:38:46.036Z] Login Succeeded [2021-01-11T14:38:46.036Z] nexus3.edgexfoundry.org:10003 [2021-01-11T14:38:46.299Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T14:38:46.299Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T14:38:46.299Z] Configure a credential helper to remove this warning. See [2021-01-11T14:38:46.299Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T14:38:46.299Z] [2021-01-11T14:38:46.299Z] Login Succeeded [2021-01-11T14:38:46.299Z] nexus3.edgexfoundry.org:10004 [2021-01-11T14:38:46.299Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T14:38:46.562Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T14:38:46.562Z] Configure a credential helper to remove this warning. See [2021-01-11T14:38:46.562Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T14:38:46.562Z] [2021-01-11T14:38:46.562Z] Login Succeeded [2021-01-11T14:38:46.562Z] docker.io [2021-01-11T14:38:46.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T14:38:46.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T14:38:46.824Z] Configure a credential helper to remove this warning. See [2021-01-11T14:38:46.824Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T14:38:46.824Z] [2021-01-11T14:38:46.824Z] Login Succeeded [2021-01-11T14:38:46.824Z] ---> docker-login.sh ends [Pipeline] } [2021-01-11T14:38:46.850Z] Deleting 1 temporary files [Pipeline] // wrap [2021-01-11T14:38:46.940Z] using credential edgex-jenkins-ssh [Pipeline] } [2021-01-11T14:38:46.999Z] Cloning the remote Git repository [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-11T14:38:47.397Z] ========================================================= [2021-01-11T14:38:47.397Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-11T14:38:47.397Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-11T14:38:47.780Z] + 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-11T14:38:47.780Z] Sending build context to Docker daemon 84.48kB [2021-01-11T14:38:47.780Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-01-11T14:38:47.780Z] Step 2/10 : FROM ${BASE} [2021-01-11T14:38:47.780Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-11T14:38:47.780Z] 188c0c94c7c5: Pulling fs layer [2021-01-11T14:38:47.780Z] 0ef7d3d256c8: Pulling fs layer [2021-01-11T14:38:47.780Z] de9db76c5a1d: Pulling fs layer [2021-01-11T14:38:47.780Z] bca2f99d35d6: Pulling fs layer [2021-01-11T14:38:47.780Z] 93359f2a8cfa: Pulling fs layer [2021-01-11T14:38:47.780Z] 7c6f9722023f: Pulling fs layer [2021-01-11T14:38:47.780Z] a35cf1a2eb13: Pulling fs layer [2021-01-11T14:38:47.780Z] 93359f2a8cfa: Waiting [2021-01-11T14:38:47.780Z] 7c6f9722023f: Waiting [2021-01-11T14:38:47.780Z] a35cf1a2eb13: Waiting [2021-01-11T14:38:47.780Z] bca2f99d35d6: Waiting [2021-01-11T14:38:48.050Z] de9db76c5a1d: Verifying Checksum [2021-01-11T14:38:48.050Z] de9db76c5a1d: Download complete [2021-01-11T14:38:48.050Z] 0ef7d3d256c8: Download complete [2021-01-11T14:38:48.050Z] 93359f2a8cfa: Verifying Checksum [2021-01-11T14:38:48.050Z] 93359f2a8cfa: Download complete [2021-01-11T14:38:48.050Z] 188c0c94c7c5: Download complete [2021-01-11T14:38:47.050Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-01-11T14:38:47.161Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-01-11T14:38:47.251Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-01-11T14:38:47.252Z] > git --version # timeout=10 [2021-01-11T14:38:47.273Z] > git --version # 'git version 2.17.1' [2021-01-11T14:38:47.275Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T14:38:47.342Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-11T14:38:48.312Z] 188c0c94c7c5: Pull complete [2021-01-11T14:38:48.577Z] 0ef7d3d256c8: Pull complete [2021-01-11T14:38:48.577Z] de9db76c5a1d: Pull complete [2021-01-11T14:38:49.976Z] a35cf1a2eb13: Verifying Checksum [2021-01-11T14:38:49.976Z] a35cf1a2eb13: Download complete [2021-01-11T14:38:50.560Z] bca2f99d35d6: Verifying Checksum [2021-01-11T14:38:50.560Z] bca2f99d35d6: Download complete [2021-01-11T14:38:50.705Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-01-11T14:38:50.723Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-11T14:38:50.749Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-01-11T14:38:50.785Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-01-11T14:38:50.786Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T14:38:50.799Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/72/head:refs/remotes/origin/PR-72 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-11T14:38:51.284Z] Merging remotes/origin/master commit abd24f16bfefa7889687f83d2fc8de1c385cee13 into PR head commit 67438110184b91a93dfd12a0c18991f45ddc4a9d [2021-01-11T14:38:51.578Z] Merge succeeded, producing 67438110184b91a93dfd12a0c18991f45ddc4a9d [2021-01-11T14:38:51.579Z] Checking out Revision 67438110184b91a93dfd12a0c18991f45ddc4a9d (PR-72) [2021-01-11T14:38:51.301Z] > git config core.sparsecheckout # timeout=10 [2021-01-11T14:38:51.313Z] > git checkout -f 67438110184b91a93dfd12a0c18991f45ddc4a9d # timeout=10 [2021-01-11T14:38:51.390Z] > git remote # timeout=10 [2021-01-11T14:38:51.410Z] > git config --get remote.origin.url # timeout=10 [2021-01-11T14:38:51.427Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T14:38:51.438Z] > git merge abd24f16bfefa7889687f83d2fc8de1c385cee13 # timeout=10 [2021-01-11T14:38:51.507Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-11T14:38:51.582Z] > git config core.sparsecheckout # timeout=10 [2021-01-11T14:38:51.629Z] > git checkout -f 67438110184b91a93dfd12a0c18991f45ddc4a9d # timeout=10 [2021-01-11T14:38:56.004Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts" [2021-01-11T14:38:56.051Z] > git --version # timeout=10 [2021-01-11T14:38:56.059Z] > git --version # 'git version 2.17.1' [2021-01-11T14:38:56.071Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-11T14:38:56.113Z] bca2f99d35d6: Pull complete [2021-01-11T14:38:56.113Z] 93359f2a8cfa: Pull complete [2021-01-11T14:38:56.113Z] 7c6f9722023f: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-11T14:38:57.703Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-11T14:38:58.120Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-11T14:38:58.487Z] + sudo service docker restart [2021-01-11T14:38:58.487Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-11T14:39:01.257Z] provisioning config files... [2021-01-11T14:39:01.295Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config1198273185707994790tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-11T14:39:01.455Z] a35cf1a2eb13: Pull complete [2021-01-11T14:39:01.455Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-11T14:39:01.455Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-11T14:39:01.455Z] ---> a62c8e92a672 [2021-01-11T14:39:01.455Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2021-01-11T14:39:01.455Z] ---> Running in 0d40073c87c8 [2021-01-11T14:39:01.455Z] Removing intermediate container 0d40073c87c8 [2021-01-11T14:39:01.455Z] ---> 819c70e7523c [2021-01-11T14:39:01.455Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-01-11T14:39:01.455Z] ---> Running in c14e2b8eb78b [2021-01-11T14:39:01.722Z] Removing intermediate container c14e2b8eb78b [2021-01-11T14:39:01.722Z] ---> 125ae1dd6629 [2021-01-11T14:39:01.722Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-11T14:39:01.722Z] ---> Running in dfe5310964a4 [2021-01-11T14:39:01.774Z] ---> docker-login.sh [2021-01-11T14:39:01.774Z] nexus3.edgexfoundry.org:10001 [2021-01-11T14:39:01.987Z] Removing intermediate container dfe5310964a4 [2021-01-11T14:39:01.987Z] ---> b1de90c14d35 [2021-01-11T14:39:01.987Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-11T14:39:01.987Z] ---> Running in a026d4c2500a [2021-01-11T14:39:02.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T14:39:02.985Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T14:39:02.985Z] Configure a credential helper to remove this warning. See [2021-01-11T14:39:02.985Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T14:39:02.985Z] [2021-01-11T14:39:02.985Z] Login Succeeded [2021-01-11T14:39:02.986Z] nexus3.edgexfoundry.org:10002 [2021-01-11T14:39:03.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T14:39:03.399Z] Removing intermediate container a026d4c2500a [2021-01-11T14:39:03.399Z] ---> 67724db21fee [2021-01-11T14:39:03.399Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-11T14:39:03.399Z] ---> Running in aacdcd7bd505 [2021-01-11T14:39:03.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T14:39:03.553Z] Configure a credential helper to remove this warning. See [2021-01-11T14:39:03.553Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T14:39:03.553Z] [2021-01-11T14:39:03.553Z] Login Succeeded [2021-01-11T14:39:03.553Z] nexus3.edgexfoundry.org:10003 [2021-01-11T14:39:03.828Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T14:39:04.103Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T14:39:04.103Z] Configure a credential helper to remove this warning. See [2021-01-11T14:39:04.103Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T14:39:04.103Z] [2021-01-11T14:39:04.103Z] Login Succeeded [2021-01-11T14:39:04.103Z] nexus3.edgexfoundry.org:10004 [2021-01-11T14:39:04.355Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-11T14:39:04.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T14:39:04.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T14:39:04.656Z] Configure a credential helper to remove this warning. See [2021-01-11T14:39:04.656Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T14:39:04.656Z] [2021-01-11T14:39:04.656Z] Login Succeeded [2021-01-11T14:39:04.657Z] docker.io [2021-01-11T14:39:04.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T14:39:05.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T14:39:05.211Z] Configure a credential helper to remove this warning. See [2021-01-11T14:39:05.211Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T14:39:05.211Z] [2021-01-11T14:39:05.211Z] Login Succeeded [2021-01-11T14:39:05.309Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-11T14:39:05.483Z] ---> docker-login.sh ends [Pipeline] } [2021-01-11T14:39:05.522Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-11T14:39:06.115Z] ========================================================= [2021-01-11T14:39:06.115Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-11T14:39:06.115Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-11T14:39:06.263Z] OK: 166 MiB in 39 packages [2021-01-11T14:39:06.533Z] Removing intermediate container aacdcd7bd505 [2021-01-11T14:39:06.533Z] ---> 878a81dede5a [2021-01-11T14:39:06.533Z] Step 8/10 : WORKDIR /device-rest-go [2021-01-11T14:39:06.533Z] ---> Running in 5a08b37f7958 [2021-01-11T14:39:06.537Z] + 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-11T14:39:06.537Z] Sending build context to Docker daemon 84.48kB [2021-01-11T14:39:06.796Z] Removing intermediate container 5a08b37f7958 [2021-01-11T14:39:06.796Z] ---> c2e11351f462 [2021-01-11T14:39:06.796Z] Step 9/10 : COPY . . [2021-01-11T14:39:06.817Z] Step 1/10 : ARG BASE=golang:1.15-alpine3.12 [2021-01-11T14:39:06.817Z] Step 2/10 : FROM ${BASE} [2021-01-11T14:39:07.059Z] ---> de5000539223 [2021-01-11T14:39:07.059Z] Step 10/10 : RUN go mod download [2021-01-11T14:39:07.103Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-11T14:39:07.103Z] 5f621e34cdf4: Pulling fs layer [2021-01-11T14:39:07.103Z] a4357932f1b6: Pulling fs layer [2021-01-11T14:39:07.103Z] 18c013af1878: Pulling fs layer [2021-01-11T14:39:07.103Z] 00ac8860ef70: Pulling fs layer [2021-01-11T14:39:07.103Z] 63d7cb157983: Pulling fs layer [2021-01-11T14:39:07.103Z] b116817d02f9: Pulling fs layer [2021-01-11T14:39:07.103Z] 745a02a5169b: Pulling fs layer [2021-01-11T14:39:07.103Z] 00ac8860ef70: Waiting [2021-01-11T14:39:07.103Z] 63d7cb157983: Waiting [2021-01-11T14:39:07.103Z] b116817d02f9: Waiting [2021-01-11T14:39:07.103Z] 745a02a5169b: Waiting [2021-01-11T14:39:07.103Z] 18c013af1878: Verifying Checksum [2021-01-11T14:39:07.103Z] 18c013af1878: Download complete [2021-01-11T14:39:07.103Z] a4357932f1b6: Verifying Checksum [2021-01-11T14:39:07.103Z] a4357932f1b6: Download complete [2021-01-11T14:39:07.103Z] 63d7cb157983: Verifying Checksum [2021-01-11T14:39:07.103Z] 63d7cb157983: Download complete [2021-01-11T14:39:07.103Z] b116817d02f9: Verifying Checksum [2021-01-11T14:39:07.103Z] b116817d02f9: Download complete [2021-01-11T14:39:07.103Z] 5f621e34cdf4: Verifying Checksum [2021-01-11T14:39:07.103Z] 5f621e34cdf4: Download complete [2021-01-11T14:39:07.322Z] ---> Running in 60be2fccb8a2 [2021-01-11T14:39:08.102Z] 5f621e34cdf4: Pull complete [2021-01-11T14:39:08.377Z] a4357932f1b6: Pull complete [2021-01-11T14:39:08.975Z] 18c013af1878: Pull complete [2021-01-11T14:39:08.975Z] 745a02a5169b: Verifying Checksum [2021-01-11T14:39:08.975Z] 745a02a5169b: Download complete [2021-01-11T14:39:10.408Z] 00ac8860ef70: Verifying Checksum [2021-01-11T14:39:10.408Z] 00ac8860ef70: Download complete [2021-01-11T14:39:20.571Z] 00ac8860ef70: Pull complete [2021-01-11T14:39:21.170Z] 63d7cb157983: Pull complete [2021-01-11T14:39:21.445Z] b116817d02f9: Pull complete [2021-01-11T14:39:25.521Z] Removing intermediate container 60be2fccb8a2 [2021-01-11T14:39:25.521Z] ---> e529ddfb68aa [2021-01-11T14:39:25.521Z] Successfully built e529ddfb68aa [2021-01-11T14:39:25.521Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-11T14:39:25.787Z] 745a02a5169b: Pull complete [2021-01-11T14:39:25.787Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-11T14:39:25.787Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-11T14:39:25.787Z] ---> b7e6874047d6 [2021-01-11T14:39:25.787Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git" [2021-01-11T14:39:25.924Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-11T14:39:25.924Z] . [Pipeline] withDockerContainer [2021-01-11T14:39:26.063Z] prd-centos7-docker-4c-2g-19510 does not seem to be running inside a container [2021-01-11T14:39:26.119Z] $ 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-11T14:39:26.902Z] $ docker top 6f86d446eead550ef4ab6fdaa40c1793b49bae61e3d8487fcb83e1023c830374 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-11T14:39:27.525Z] + go version [2021-01-11T14:39:27.525Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-11T14:39:27.556Z] $ docker stop --time=1 6f86d446eead550ef4ab6fdaa40c1793b49bae61e3d8487fcb83e1023c830374 [2021-01-11T14:39:28.406Z] ---> Running in bdc826f678d8 [2021-01-11T14:39:28.406Z] Removing intermediate container bdc826f678d8 [2021-01-11T14:39:28.406Z] ---> 05924c664df1 [2021-01-11T14:39:28.406Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-01-11T14:39:28.678Z] ---> Running in b451d87bf983 [2021-01-11T14:39:28.938Z] $ docker rm -f 6f86d446eead550ef4ab6fdaa40c1793b49bae61e3d8487fcb83e1023c830374 [2021-01-11T14:39:28.948Z] Removing intermediate container b451d87bf983 [2021-01-11T14:39:28.948Z] ---> b0052a347d2d [2021-01-11T14:39:28.948Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [Pipeline] // withDockerContainer [Pipeline] } [2021-01-11T14:39:29.227Z] ---> Running in 8f1707db75d4 [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-11T14:39:29.823Z] Removing intermediate container 8f1707db75d4 [2021-01-11T14:39:29.823Z] ---> 44250c06fba1 [2021-01-11T14:39:29.823Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-11T14:39:29.823Z] ---> Running in 1f12b061bef3 [2021-01-11T14:39:30.021Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-11T14:39:30.021Z] . [Pipeline] withDockerContainer [2021-01-11T14:39:30.139Z] prd-centos7-docker-4c-2g-19510 does not seem to be running inside a container [2021-01-11T14:39:30.193Z] $ 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-11T14:39:31.220Z] $ docker top de7f8c14e3c427abf59da9c5b6d0ffe21cd1ee71ccc2a900f1a6e0005a9cf5a8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-11T14:39:31.774Z] + make test [2021-01-11T14:39:31.774Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-01-11T14:39:32.357Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-01-11T14:39:32.445Z] Removing intermediate container 1f12b061bef3 [2021-01-11T14:39:32.445Z] ---> 5b5251121752 [2021-01-11T14:39:32.445Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-01-11T14:39:32.445Z] ---> Running in 924da15eb7e6 [2021-01-11T14:39:33.420Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-11T14:39:34.012Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-11T14:39:34.983Z] OK: 142 MiB in 39 packages [2021-01-11T14:39:36.413Z] Removing intermediate container 924da15eb7e6 [2021-01-11T14:39:36.413Z] ---> 264faf797d13 [2021-01-11T14:39:36.413Z] Step 8/10 : WORKDIR /device-rest-go [2021-01-11T14:39:36.413Z] ---> Running in 22f1a42f16b0 [2021-01-11T14:39:36.686Z] Removing intermediate container 22f1a42f16b0 [2021-01-11T14:39:36.686Z] ---> 0609a7a0feef [2021-01-11T14:39:36.686Z] Step 9/10 : COPY . . [2021-01-11T14:39:37.283Z] ---> de41e98115b9 [2021-01-11T14:39:37.283Z] Step 10/10 : RUN go mod download [2021-01-11T14:39:37.560Z] ---> Running in 6946a01a669e [2021-01-11T14:39:39.040Z] # github.com/edgexfoundry/go-mod-bootstrap/bootstrap/logging [2021-01-11T14:39:39.040Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/bootstrap/logging/factory.go:29:9: undefined: logger.NewClientStdOut [2021-01-11T14:39:39.040Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/bootstrap/logging/factory.go:42:25: too many arguments in call to logger.NewClient [2021-01-11T14:39:39.040Z] have (string, bool, string, string) [2021-01-11T14:39:39.040Z] want (string, string) [2021-01-11T14:39:42.401Z] FAIL github.com/edgexfoundry/device-rest-go/driver [build failed] [2021-01-11T14:39:42.401Z] make: *** [Makefile:23: test] Error 2 [Pipeline] } [2021-01-11T14:39:42.449Z] $ docker stop --time=1 de7f8c14e3c427abf59da9c5b6d0ffe21cd1ee71ccc2a900f1a6e0005a9cf5a8 [2021-01-11T14:39:44.534Z] $ docker rm -f de7f8c14e3c427abf59da9c5b6d0ffe21cd1ee71ccc2a900f1a6e0005a9cf5a8 [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] 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 [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-11T14:39:46.924Z] Failed in branch amd64 [2021-01-11T14:39:59.747Z] Removing intermediate container 6946a01a669e [2021-01-11T14:39:59.748Z] ---> 1acc249b2bc2 [2021-01-11T14:39:59.748Z] Successfully built 1acc249b2bc2 [2021-01-11T14:39:59.748Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-11T14:40:00.141Z] + docker inspect -f . ci-base-image-arm64 [2021-01-11T14:40:00.141Z] . [Pipeline] withDockerContainer [2021-01-11T14:40:00.438Z] prd-ubuntu18.04-docker-arm64-4c-16g-19509 does not seem to be running inside a container [2021-01-11T14:40:00.520Z] $ 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-arm64 cat [2021-01-11T14:40:02.050Z] $ docker top 9f9bb71753207d8e124876ce008b993d28dc2b1f920f7418c8c6676b7a9b2472 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-11T14:40:03.123Z] + go version [2021-01-11T14:40:03.123Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-11T14:40:03.155Z] $ docker stop --time=1 9f9bb71753207d8e124876ce008b993d28dc2b1f920f7418c8c6676b7a9b2472 [2021-01-11T14:40:05.316Z] $ docker rm -f 9f9bb71753207d8e124876ce008b993d28dc2b1f920f7418c8c6676b7a9b2472 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-11T14:40:06.557Z] + docker inspect -f . ci-base-image-arm64 [2021-01-11T14:40:06.557Z] . [Pipeline] withDockerContainer [2021-01-11T14:40:06.834Z] prd-ubuntu18.04-docker-arm64-4c-16g-19509 does not seem to be running inside a container [2021-01-11T14:40:06.910Z] $ 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-arm64 cat [2021-01-11T14:40:08.385Z] $ docker top e9d8dc29ac9c90c74d9b3ef628b972021941435c1791d8d04dde17a91d70d289 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-11T14:40:09.456Z] + make test [2021-01-11T14:40:09.456Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-01-11T14:40:10.439Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-01-11T14:40:32.668Z] # github.com/edgexfoundry/go-mod-bootstrap/bootstrap/logging [2021-01-11T14:40:32.668Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/bootstrap/logging/factory.go:29:9: undefined: logger.NewClientStdOut [2021-01-11T14:40:32.668Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/bootstrap/logging/factory.go:42:25: too many arguments in call to logger.NewClient [2021-01-11T14:40:32.668Z] have (string, bool, string, string) [2021-01-11T14:40:32.668Z] want (string, string) [2021-01-11T14:40:39.399Z] FAIL github.com/edgexfoundry/device-rest-go/driver [build failed] [2021-01-11T14:40:39.399Z] make: *** [Makefile:23: test] Error 2 [Pipeline] } [2021-01-11T14:40:39.445Z] $ docker stop --time=1 e9d8dc29ac9c90c74d9b3ef628b972021941435c1791d8d04dde17a91d70d289 [2021-01-11T14:40:41.505Z] $ docker rm -f e9d8dc29ac9c90c74d9b3ef628b972021941435c1791d8d04dde17a91d70d289 [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-11T14:40:43.868Z] 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-11T14:40:47.978Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T14:40:48.327Z] ---> package-listing.sh [2021-01-11T14:40:48.327Z] ++ facter osfamily [2021-01-11T14:40:48.327Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-11T14:40:48.327Z] + OS_FAMILY=redhat [2021-01-11T14:40:48.327Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-72 [2021-01-11T14:40:48.327Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-11T14:40:48.327Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-11T14:40:48.327Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-11T14:40:48.327Z] + PACKAGES=/tmp/packages_start.txt [2021-01-11T14:40:48.327Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-72 ']' [2021-01-11T14:40:48.327Z] + PACKAGES=/tmp/packages_end.txt [2021-01-11T14:40:48.327Z] + case "${OS_FAMILY}" in [2021-01-11T14:40:48.327Z] + rpm -qa [2021-01-11T14:40:48.327Z] + sort [2021-01-11T14:40:53.654Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-11T14:40:53.654Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-11T14:40:53.654Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-11T14:40:53.654Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-72 ']' [2021-01-11T14:40:53.654Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-72/archives/ [2021-01-11T14:40:53.654Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-72/archives/ [Pipeline] echo [2021-01-11T14:40:53.686Z] 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-72/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-11T14:40:54.010Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-11T14:40:54.349Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-11T14:40:54.349Z] [2021-01-11T14:40:54.349Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-11T14:40:54.751Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-11T14:40:54.751Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-11T14:40:54.751Z] df20fa9351a1: Pulling fs layer [2021-01-11T14:40:54.751Z] 36b3adc4ff6f: Pulling fs layer [2021-01-11T14:40:54.751Z] 8ad3a11d3b57: Pulling fs layer [2021-01-11T14:40:54.751Z] 46f8f816bc3b: Pulling fs layer [2021-01-11T14:40:54.751Z] 93b61091891f: Pulling fs layer [2021-01-11T14:40:54.751Z] 93b9cdb0e59b: Pulling fs layer [2021-01-11T14:40:54.751Z] 5e14af77c1be: Pulling fs layer [2021-01-11T14:40:54.751Z] 01666e4c0597: Pulling fs layer [2021-01-11T14:40:54.751Z] aa168da1d23b: Pulling fs layer [2021-01-11T14:40:54.751Z] 93b9cdb0e59b: Waiting [2021-01-11T14:40:54.751Z] 5e14af77c1be: Waiting [2021-01-11T14:40:54.751Z] 01666e4c0597: Waiting [2021-01-11T14:40:54.751Z] aa168da1d23b: Waiting [2021-01-11T14:40:54.751Z] 46f8f816bc3b: Waiting [2021-01-11T14:40:54.751Z] 93b61091891f: Waiting [2021-01-11T14:40:54.751Z] 36b3adc4ff6f: Verifying Checksum [2021-01-11T14:40:54.751Z] 36b3adc4ff6f: Download complete [2021-01-11T14:40:54.751Z] 46f8f816bc3b: Verifying Checksum [2021-01-11T14:40:54.751Z] 46f8f816bc3b: Download complete [2021-01-11T14:40:54.751Z] df20fa9351a1: Download complete [2021-01-11T14:40:54.751Z] 93b9cdb0e59b: Verifying Checksum [2021-01-11T14:40:54.751Z] 93b9cdb0e59b: Download complete [2021-01-11T14:40:55.020Z] 5e14af77c1be: Verifying Checksum [2021-01-11T14:40:55.020Z] 5e14af77c1be: Download complete [2021-01-11T14:40:55.020Z] 93b61091891f: Verifying Checksum [2021-01-11T14:40:55.020Z] 93b61091891f: Download complete [2021-01-11T14:40:55.020Z] 01666e4c0597: Verifying Checksum [2021-01-11T14:40:55.020Z] 01666e4c0597: Download complete [2021-01-11T14:40:55.283Z] df20fa9351a1: Pull complete [2021-01-11T14:40:55.547Z] 36b3adc4ff6f: Pull complete [2021-01-11T14:40:55.547Z] 8ad3a11d3b57: Download complete [2021-01-11T14:40:56.554Z] 8ad3a11d3b57: Pull complete [2021-01-11T14:40:56.554Z] 46f8f816bc3b: Pull complete [2021-01-11T14:40:57.559Z] aa168da1d23b: Verifying Checksum [2021-01-11T14:40:57.559Z] aa168da1d23b: Download complete [2021-01-11T14:40:57.559Z] 93b61091891f: Pull complete [2021-01-11T14:40:57.559Z] 93b9cdb0e59b: Pull complete [2021-01-11T14:40:57.822Z] 5e14af77c1be: Pull complete [2021-01-11T14:40:57.822Z] 01666e4c0597: Pull complete [2021-01-11T14:41:06.035Z] aa168da1d23b: Pull complete [2021-01-11T14:41:06.035Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-11T14:41:06.035Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-11T14:41:06.035Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-11T14:41:06.297Z] prd-centos7-docker-4c-2g-19506 does not seem to be running inside a container [2021-01-11T14:41:06.349Z] $ 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-72/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-72 -v /w/workspace/dgexfoundry_device-rest-go_PR-72:/w/workspace/dgexfoundry_device-rest-go_PR-72:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-72@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-72@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-11T14:41:09.747Z] $ docker top a400636b18cbb7f63b4337256824537c484ad3a0e6f271a72e5ad6816ba9ce70 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-11T14:41:10.312Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-11T14:41:10.630Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-11T14:41:10.960Z] + ls /var/log/sa-host [2021-01-11T14:41:10.960Z] + sadf -c /var/log/sa-host/sa11 [2021-01-11T14:41:10.960Z] file_magic: OK [2021-01-11T14:41:10.960Z] HZ: Using current value: 100 [2021-01-11T14:41:10.960Z] file_header: OK [2021-01-11T14:41:10.960Z] 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-11T14:41:10.960Z] Statistics: [2021-01-11T14:41:10.960Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-11T14:41:10.960Z] File successfully converted to sysstat format version 12.2.1 [2021-01-11T14:41:10.960Z] + sadf -c /var/log/sa-host/sa23 [2021-01-11T14:41:10.960Z] file_magic: OK [2021-01-11T14:41:10.960Z] HZ: Using current value: 100 [2021-01-11T14:41:10.960Z] file_header: OK [2021-01-11T14:41:10.960Z] 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-11T14:41:10.960Z] Statistics: [2021-01-11T14:41:10.960Z] Hnuu...uuuununununu... [2021-01-11T14:41:10.960Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-11T14:41:11.269Z] provisioning config files... [2021-01-11T14:41:11.285Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-72@tmp/config1089109684431662824tmp [Pipeline] { [Pipeline] echo [2021-01-11T14:41:11.402Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T14:41:11.739Z] ---> create-netrc.sh [Pipeline] } [2021-01-11T14:41:11.762Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-11T14:41:11.923Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T14:41:12.265Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-11T14:41:12.294Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T14:41:12.627Z] ---> sudo-logs.sh [2021-01-11T14:41:12.627Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-11T14:41:12.658Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T14:41:12.998Z] ---> job-cost.sh [2021-01-11T14:41:12.999Z] lf-activate-venv: SKIPPING [2021-01-11T14:41:12.999Z] INFO: No Stack... [2021-01-11T14:41:13.950Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-11T14:41:14.529Z] INFO: Archiving Costs [Pipeline] echo [2021-01-11T14:41:14.639Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T14:41:14.976Z] ---> logs-deploy.sh [2021-01-11T14:41:14.976Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-72/1 [2021-01-11T14:41:14.976Z] INFO: archiving workspace using pattern(s): [2021-01-11T14:41:16.902Z] Archives upload complete. [2021-01-11T14:41:16.902Z] INFO: archiving logs to Nexus