Pull request #704 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 8b91b72697140cd4e74a24f10fb7960df898822e+93569aefbcf2dcd4d18a31fcf2c190494ae30d88 (9e645e3f7a153cb2d86d5beabdae14657885656d) 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-sdk-go/branches/PR-704/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-sdk-go/branches/PR-704/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-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [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-sdk-go-settings PROJECT: device-sdk-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: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 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-17043 in /w/workspace/dgexfoundry_device-sdk-go_PR-704 [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-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-704 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-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-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-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-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/704/head:refs/remotes/origin/PR-704 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 93569aefbcf2dcd4d18a31fcf2c190494ae30d88 into PR head commit 8b91b72697140cd4e74a24f10fb7960df898822e Merge succeeded, producing 8b91b72697140cd4e74a24f10fb7960df898822e Checking out Revision 8b91b72697140cd4e74a24f10fb7960df898822e (PR-704) > git config core.sparsecheckout # timeout=10 > git checkout -f 8b91b72697140cd4e74a24f10fb7960df898822e # 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 93569aefbcf2dcd4d18a31fcf2c190494ae30d88 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8b91b72697140cd4e74a24f10fb7960df898822e # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" 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 [2020-12-21T07:19:02.248Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-21T07:19:02.618Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-21T07:19:02.869Z] ========================================================= [2020-12-21T07:19:02.870Z] EdgeX Global Pipelines Version Info [2020-12-21T07:19:02.870Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-21T07:19:04.578Z] ------------------- [2020-12-21T07:19:04.578Z] stable info: [2020-12-21T07:19:04.578Z] ------------------- [2020-12-21T07:19:04.578Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-21T07:19:04.578Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-21T07:19:04.578Z] Message: update stable to v1.0.173 [2020-12-21T07:19:05.524Z] ------------------- [2020-12-21T07:19:05.524Z] experimental info: [2020-12-21T07:19:05.524Z] ------------------- [2020-12-21T07:19:05.524Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-21T07:19:05.524Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-21T07:19:05.524Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-21T07:19:05.872Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-12-21T07:19:05.988Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-12-21T07:19:06.112Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-21T07:19:06.264Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-21T07:19:06.383Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-21T07:19:06.500Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-21T07:19:06.612Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-21T07:19:06.731Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-21T07:19:06.853Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-12-21T07:19:06.969Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-21T07:19:07.083Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-21T07:19:07.196Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-12-21T07:19:07.314Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-21T07:19:07.428Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-21T07:19:07.547Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-21T07:19:07.664Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-21T07:19:07.780Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-21T07:19:07.897Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-21T07:19:08.012Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-21T07:19:08.134Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-21T07:19:08.256Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-12-21T07:19:08.379Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-12-21T07:19:08.576Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-21T07:19:08.708Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-21T07:19:08.835Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-21T07:19:08.959Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-21T07:19:09.077Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2020-12-21T07:19:09.191Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-704 [Pipeline] echo [2020-12-21T07:19:09.319Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-704 [Pipeline] echo [2020-12-21T07:19:09.442Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-704 [Pipeline] echo [2020-12-21T07:19:09.571Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8b91b72697140cd4e74a24f10fb7960df898822e [Pipeline] echo [2020-12-21T07:19:09.685Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8b91b72 [Pipeline] echo [2020-12-21T07:19:09.801Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-21T07:19:10.119Z] provisioning config files... [2020-12-21T07:19:10.149Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-704@tmp/config4285420917346510044tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-21T07:19:10.719Z] ---> docker-login.sh [2020-12-21T07:19:10.719Z] nexus3.edgexfoundry.org:10001 [2020-12-21T07:19:10.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T07:19:10.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T07:19:10.986Z] Configure a credential helper to remove this warning. See [2020-12-21T07:19:10.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T07:19:10.986Z] [2020-12-21T07:19:10.986Z] Login Succeeded [2020-12-21T07:19:10.986Z] nexus3.edgexfoundry.org:10002 [2020-12-21T07:19:11.254Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T07:19:11.254Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T07:19:11.254Z] Configure a credential helper to remove this warning. See [2020-12-21T07:19:11.254Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T07:19:11.254Z] [2020-12-21T07:19:11.254Z] Login Succeeded [2020-12-21T07:19:11.254Z] nexus3.edgexfoundry.org:10003 [2020-12-21T07:19:11.254Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T07:19:11.516Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T07:19:11.516Z] Configure a credential helper to remove this warning. See [2020-12-21T07:19:11.516Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T07:19:11.516Z] [2020-12-21T07:19:11.516Z] Login Succeeded [2020-12-21T07:19:11.516Z] nexus3.edgexfoundry.org:10004 [2020-12-21T07:19:11.516Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T07:19:12.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T07:19:12.464Z] Configure a credential helper to remove this warning. See [2020-12-21T07:19:12.464Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T07:19:12.464Z] [2020-12-21T07:19:12.464Z] Login Succeeded [2020-12-21T07:19:12.464Z] docker.io [2020-12-21T07:19:12.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T07:19:12.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T07:19:12.726Z] Configure a credential helper to remove this warning. See [2020-12-21T07:19:12.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T07:19:12.726Z] [2020-12-21T07:19:12.726Z] Login Succeeded [2020-12-21T07:19:12.726Z] ---> docker-login.sh ends [Pipeline] } [2020-12-21T07:19:12.749Z] 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 [2020-12-21T07:19:13.840Z] + git log --format=format:%s -1 8b91b72697140cd4e74a24f10fb7960df898822e [Pipeline] echo [2020-12-21T07:19:13.928Z] GIT_COMMIT: 8b91b72697140cd4e74a24f10fb7960df898822e, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap [Pipeline] echo [2020-12-21T07:19:13.999Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-21T07:19:15.280Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-21T07:19:15.280Z] [2020-12-21T07:19:15.280Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-21T07:19:15.661Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-21T07:19:15.661Z] latest: Pulling from edgex-devops/git-semver [2020-12-21T07:19:15.661Z] 31603596830f: Pulling fs layer [2020-12-21T07:19:15.661Z] 2a8b12db71e7: Pulling fs layer [2020-12-21T07:19:15.661Z] 6ca5941a6612: Pulling fs layer [2020-12-21T07:19:15.661Z] ecc8261a40a4: Pulling fs layer [2020-12-21T07:19:15.661Z] ecc8261a40a4: Waiting [2020-12-21T07:19:15.661Z] 2a8b12db71e7: Verifying Checksum [2020-12-21T07:19:15.661Z] 2a8b12db71e7: Download complete [2020-12-21T07:19:15.661Z] 31603596830f: Verifying Checksum [2020-12-21T07:19:15.661Z] 31603596830f: Download complete [2020-12-21T07:19:15.927Z] ecc8261a40a4: Verifying Checksum [2020-12-21T07:19:15.927Z] ecc8261a40a4: Download complete [2020-12-21T07:19:15.927Z] 6ca5941a6612: Verifying Checksum [2020-12-21T07:19:15.927Z] 6ca5941a6612: Download complete [2020-12-21T07:19:16.190Z] 31603596830f: Pull complete [2020-12-21T07:19:16.190Z] 2a8b12db71e7: Pull complete [2020-12-21T07:19:17.141Z] 6ca5941a6612: Pull complete [2020-12-21T07:19:17.141Z] ecc8261a40a4: Pull complete [2020-12-21T07:19:17.141Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-21T07:19:17.141Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-21T07:19:17.141Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-21T07:19:17.269Z] prd-centos7-docker-4c-2g-17043 does not seem to be running inside a container [2020-12-21T07:19:17.322Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-704 -v /w/workspace/dgexfoundry_device-sdk-go_PR-704:/w/workspace/dgexfoundry_device-sdk-go_PR-704:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-704@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-704@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 [2020-12-21T07:19:19.427Z] $ docker top 889b910b1e8249717bf1402e53d6be017c6204739c0bd2d6e8ae22ddb6b2af63 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-21T07:19:19.781Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-21T07:19:19.781Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-21T07:19:19.990Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-21T07:19:19.996Z] $ docker exec 889b910b1e8249717bf1402e53d6be017c6204739c0bd2d6e8ae22ddb6b2af63 ssh-agent [2020-12-21T07:19:20.147Z] SSH_AUTH_SOCK=/tmp/ssh-DVM82sqMbkHL/agent.13 [2020-12-21T07:19:20.147Z] SSH_AGENT_PID=18 [2020-12-21T07:19:20.157Z] Running ssh-add (command line suppressed) [2020-12-21T07:19:20.274Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-704@tmp/private_key_8510021934789486180.key (/w/workspace/dgexfoundry_device-sdk-go_PR-704@tmp/private_key_8510021934789486180.key) [2020-12-21T07:19:20.326Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-21T07:19:20.753Z] + git tag --points-at HEAD [Pipeline] } [2020-12-21T07:19:20.781Z] $ docker exec --env ******** --env ******** 889b910b1e8249717bf1402e53d6be017c6204739c0bd2d6e8ae22ddb6b2af63 ssh-agent -k [2020-12-21T07:19:20.890Z] unset SSH_AUTH_SOCK; [2020-12-21T07:19:20.890Z] unset SSH_AGENT_PID; [2020-12-21T07:19:20.890Z] echo Agent pid 18 killed; [2020-12-21T07:19:20.931Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-21T07:19:21.122Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-21T07:19:21.122Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-21T07:19:21.285Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-21T07:19:21.290Z] $ docker exec 889b910b1e8249717bf1402e53d6be017c6204739c0bd2d6e8ae22ddb6b2af63 ssh-agent [2020-12-21T07:19:21.438Z] SSH_AUTH_SOCK=/tmp/ssh-NGBvnInMZTT0/agent.48 [2020-12-21T07:19:21.438Z] SSH_AGENT_PID=53 [2020-12-21T07:19:21.446Z] Running ssh-add (command line suppressed) [2020-12-21T07:19:21.558Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-704@tmp/private_key_8128546762649534697.key (/w/workspace/dgexfoundry_device-sdk-go_PR-704@tmp/private_key_8128546762649534697.key) [2020-12-21T07:19:21.607Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-21T07:19:21.976Z] + git semver init [2020-12-21T07:19:21.977Z] # -> Open(): unable to determine branch for HEAD [2020-12-21T07:19:21.977Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-704/.git [2020-12-21T07:19:21.977Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-704 [2020-12-21T07:19:21.977Z] # $SEMVER_REMOTE_NAME = origin [2020-12-21T07:19:21.977Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-21T07:19:21.977Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-21T07:19:21.977Z] # $SEMVER_BRANCH = PR-704 [2020-12-21T07:19:21.977Z] # $SEMVER_TEMP = /tmp/semver-220795974 [2020-12-21T07:19:21.977Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-12-21T07:19:22.549Z] # '/tmp/semver-220795974' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-704/.semver' [2020-12-21T07:19:22.549Z] # -> Force: false [2020-12-21T07:19:22.549Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-704/.semver [Pipeline] } [2020-12-21T07:19:22.572Z] $ docker exec --env ******** --env ******** 889b910b1e8249717bf1402e53d6be017c6204739c0bd2d6e8ae22ddb6b2af63 ssh-agent -k [2020-12-21T07:19:22.676Z] unset SSH_AUTH_SOCK; [2020-12-21T07:19:22.677Z] unset SSH_AGENT_PID; [2020-12-21T07:19:22.677Z] echo Agent pid 53 killed; [2020-12-21T07:19:22.719Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-21T07:19:23.284Z] + git semver [Pipeline] } [2020-12-21T07:19:23.328Z] $ docker stop --time=1 889b910b1e8249717bf1402e53d6be017c6204739c0bd2d6e8ae22ddb6b2af63 [2020-12-21T07:19:24.699Z] $ docker rm -f 889b910b1e8249717bf1402e53d6be017c6204739c0bd2d6e8ae22ddb6b2af63 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-21T07:19:25.211Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-21T07:19:25.671Z] Stashed 1 file(s) [Pipeline] echo [2020-12-21T07:19:25.692Z] [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 [2020-12-21T07:19:41.511Z] Still waiting to schedule task [2020-12-21T07:19:41.511Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-12-21T07:19:41.541Z] Still waiting to schedule task [2020-12-21T07:19:41.541Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-17040’ is offline [2020-12-21T07:21:32.497Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-17044 in /w/workspace/dgexfoundry_device-sdk-go_PR-704 [Pipeline] { [Pipeline] ws [2020-12-21T07:21:32.594Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-12-21T07:21:37.640Z] using credential edgex-jenkins-ssh [2020-12-21T07:21:37.706Z] Cloning the remote Git repository [2020-12-21T07:21:37.766Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-21T07:21:37.870Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-12-21T07:21:37.959Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-21T07:21:37.960Z] > git --version # timeout=10 [2020-12-21T07:21:37.980Z] > git --version # 'git version 2.17.1' [2020-12-21T07:21:37.982Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T07:21:38.054Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-21T07:21:40.126Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-21T07:21:40.144Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-21T07:21:40.174Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-21T07:21:40.749Z] Merging remotes/origin/master commit 93569aefbcf2dcd4d18a31fcf2c190494ae30d88 into PR head commit 8b91b72697140cd4e74a24f10fb7960df898822e [2020-12-21T07:21:41.045Z] Merge succeeded, producing 8b91b72697140cd4e74a24f10fb7960df898822e [2020-12-21T07:21:41.046Z] Checking out Revision 8b91b72697140cd4e74a24f10fb7960df898822e (PR-704) [2020-12-21T07:21:40.211Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-21T07:21:40.212Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T07:21:40.225Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/704/head:refs/remotes/origin/PR-704 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-21T07:21:40.777Z] > git config core.sparsecheckout # timeout=10 [2020-12-21T07:21:40.800Z] > git checkout -f 8b91b72697140cd4e74a24f10fb7960df898822e # timeout=10 [2020-12-21T07:21:40.918Z] > git remote # timeout=10 [2020-12-21T07:21:40.939Z] > git config --get remote.origin.url # timeout=10 [2020-12-21T07:21:40.959Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T07:21:40.970Z] > git merge 93569aefbcf2dcd4d18a31fcf2c190494ae30d88 # timeout=10 [2020-12-21T07:21:41.032Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-21T07:21:41.057Z] > git config core.sparsecheckout # timeout=10 [2020-12-21T07:21:41.067Z] > git checkout -f 8b91b72697140cd4e74a24f10fb7960df898822e # timeout=10 [2020-12-21T07:21:45.487Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" [2020-12-21T07:21:45.577Z] > git --version # timeout=10 [2020-12-21T07:21:45.586Z] > git --version # 'git version 2.17.1' [2020-12-21T07:21:45.597Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-21T07:21:47.434Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-21T07:21:47.854Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-21T07:21:48.194Z] Running on prd-centos7-docker-4c-2g-17045 in /w/workspace/dgexfoundry_device-sdk-go_PR-704 [Pipeline] { [2020-12-21T07:21:48.211Z] + sudo service docker restart [2020-12-21T07:21:48.211Z] + true [Pipeline] ws [2020-12-21T07:21:48.334Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-12-21T07:21:50.835Z] using credential edgex-jenkins-ssh [2020-12-21T07:21:50.890Z] Cloning the remote Git repository [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-21T07:21:51.025Z] provisioning config files... [2020-12-21T07:21:51.082Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5874897995965408543tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-21T07:21:51.550Z] ---> docker-login.sh [2020-12-21T07:21:51.550Z] nexus3.edgexfoundry.org:10001 [2020-12-21T07:21:50.918Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-21T07:21:50.989Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-12-21T07:21:51.048Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-21T07:21:51.048Z] > git --version # timeout=10 [2020-12-21T07:21:51.059Z] > git --version # 'git version 2.24.3' [2020-12-21T07:21:51.061Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T07:21:51.095Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-21T07:21:51.792Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-21T07:21:51.800Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-21T07:21:51.813Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-21T07:21:51.826Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-21T07:21:51.826Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T07:21:51.831Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/704/head:refs/remotes/origin/PR-704 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-21T07:21:52.161Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T07:21:52.289Z] Merging remotes/origin/master commit 93569aefbcf2dcd4d18a31fcf2c190494ae30d88 into PR head commit 8b91b72697140cd4e74a24f10fb7960df898822e [2020-12-21T07:21:52.396Z] Merge succeeded, producing 8b91b72697140cd4e74a24f10fb7960df898822e [2020-12-21T07:21:52.396Z] Checking out Revision 8b91b72697140cd4e74a24f10fb7960df898822e (PR-704) [2020-12-21T07:21:52.759Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T07:21:52.759Z] Configure a credential helper to remove this warning. See [2020-12-21T07:21:52.759Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T07:21:52.759Z] [2020-12-21T07:21:52.759Z] Login Succeeded [2020-12-21T07:21:52.759Z] nexus3.edgexfoundry.org:10002 [2020-12-21T07:21:53.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T07:21:52.300Z] > git config core.sparsecheckout # timeout=10 [2020-12-21T07:21:52.306Z] > git checkout -f 8b91b72697140cd4e74a24f10fb7960df898822e # timeout=10 [2020-12-21T07:21:52.358Z] > git remote # timeout=10 [2020-12-21T07:21:52.366Z] > git config --get remote.origin.url # timeout=10 [2020-12-21T07:21:52.372Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-21T07:21:52.376Z] > git merge 93569aefbcf2dcd4d18a31fcf2c190494ae30d88 # timeout=10 [2020-12-21T07:21:52.392Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-21T07:21:52.402Z] > git config core.sparsecheckout # timeout=10 [2020-12-21T07:21:52.406Z] > git checkout -f 8b91b72697140cd4e74a24f10fb7960df898822e # timeout=10 [2020-12-21T07:21:53.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T07:21:53.313Z] Configure a credential helper to remove this warning. See [2020-12-21T07:21:53.313Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T07:21:53.313Z] [2020-12-21T07:21:53.313Z] Login Succeeded [2020-12-21T07:21:53.313Z] nexus3.edgexfoundry.org:10003 [2020-12-21T07:21:53.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T07:21:53.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T07:21:53.878Z] Configure a credential helper to remove this warning. See [2020-12-21T07:21:53.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T07:21:53.878Z] [2020-12-21T07:21:53.878Z] Login Succeeded [2020-12-21T07:21:53.878Z] nexus3.edgexfoundry.org:10004 [2020-12-21T07:21:54.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T07:21:54.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T07:21:54.429Z] Configure a credential helper to remove this warning. See [2020-12-21T07:21:54.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T07:21:54.429Z] [2020-12-21T07:21:54.429Z] Login Succeeded [2020-12-21T07:21:54.429Z] docker.io [2020-12-21T07:21:54.704Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T07:21:55.299Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T07:21:55.299Z] Configure a credential helper to remove this warning. See [2020-12-21T07:21:55.299Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T07:21:55.299Z] [2020-12-21T07:21:55.299Z] Login Succeeded [2020-12-21T07:21:55.299Z] ---> docker-login.sh ends [Pipeline] } [2020-12-21T07:21:55.327Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-21T07:21:55.863Z] ========================================================= [2020-12-21T07:21:55.863Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-21T07:21:55.863Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-21T07:21:55.983Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" [2020-12-21T07:21:56.013Z] > git --version # timeout=10 [2020-12-21T07:21:56.018Z] > git --version # 'git version 2.24.3' [2020-12-21T07:21:56.024Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-21T07:21:56.305Z] + 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 . [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2020-12-21T07:21:56.592Z] Sending build context to Docker daemon 2.419MB [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-21T07:21:56.872Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-21T07:21:56.872Z] Step 2/8 : FROM ${BASE} [2020-12-21T07:21:56.872Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-21T07:21:56.872Z] 5f621e34cdf4: Pulling fs layer [2020-12-21T07:21:56.872Z] a4357932f1b6: Pulling fs layer [2020-12-21T07:21:56.872Z] 18c013af1878: Pulling fs layer [2020-12-21T07:21:56.872Z] 00ac8860ef70: Pulling fs layer [2020-12-21T07:21:56.872Z] 63d7cb157983: Pulling fs layer [2020-12-21T07:21:56.872Z] b116817d02f9: Pulling fs layer [2020-12-21T07:21:56.872Z] 745a02a5169b: Pulling fs layer [2020-12-21T07:21:56.872Z] 00ac8860ef70: Waiting [2020-12-21T07:21:56.872Z] 63d7cb157983: Waiting [2020-12-21T07:21:56.872Z] b116817d02f9: Waiting [2020-12-21T07:21:56.872Z] 745a02a5169b: Waiting [2020-12-21T07:21:56.872Z] 18c013af1878: Verifying Checksum [2020-12-21T07:21:56.872Z] 18c013af1878: Download complete [2020-12-21T07:21:56.872Z] a4357932f1b6: Download complete [2020-12-21T07:21:56.872Z] 63d7cb157983: Verifying Checksum [2020-12-21T07:21:56.872Z] 63d7cb157983: Download complete [2020-12-21T07:21:56.872Z] b116817d02f9: Verifying Checksum [2020-12-21T07:21:56.872Z] b116817d02f9: Download complete [2020-12-21T07:21:57.147Z] 5f621e34cdf4: Verifying Checksum [2020-12-21T07:21:57.147Z] 5f621e34cdf4: Download complete [2020-12-21T07:21:57.313Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-21T07:21:57.658Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-21T07:21:57.780Z] 5f621e34cdf4: Pull complete [2020-12-21T07:21:57.985Z] + true [2020-12-21T07:21:57.985Z] + sudo service docker restart [2020-12-21T07:21:57.985Z] Redirecting to /bin/systemctl restart docker.service [2020-12-21T07:21:58.383Z] a4357932f1b6: Pull complete [2020-12-21T07:21:58.658Z] 18c013af1878: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-21T07:21:59.514Z] provisioning config files... [2020-12-21T07:21:59.543Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1858303875412730711tmp [Pipeline] { [2020-12-21T07:21:59.640Z] 745a02a5169b: Verifying Checksum [2020-12-21T07:21:59.640Z] 745a02a5169b: Download complete [Pipeline] libraryResource [Pipeline] sh [2020-12-21T07:21:59.986Z] ---> docker-login.sh [2020-12-21T07:21:59.986Z] nexus3.edgexfoundry.org:10001 [2020-12-21T07:22:00.249Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T07:22:00.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T07:22:00.249Z] Configure a credential helper to remove this warning. See [2020-12-21T07:22:00.249Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T07:22:00.249Z] [2020-12-21T07:22:00.249Z] Login Succeeded [2020-12-21T07:22:00.249Z] nexus3.edgexfoundry.org:10002 [2020-12-21T07:22:00.511Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T07:22:00.623Z] 00ac8860ef70: Verifying Checksum [2020-12-21T07:22:00.623Z] 00ac8860ef70: Download complete [2020-12-21T07:22:00.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T07:22:00.776Z] Configure a credential helper to remove this warning. See [2020-12-21T07:22:00.776Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T07:22:00.776Z] [2020-12-21T07:22:00.776Z] Login Succeeded [2020-12-21T07:22:00.776Z] nexus3.edgexfoundry.org:10003 [2020-12-21T07:22:00.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T07:22:01.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T07:22:01.038Z] Configure a credential helper to remove this warning. See [2020-12-21T07:22:01.038Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T07:22:01.038Z] [2020-12-21T07:22:01.038Z] Login Succeeded [2020-12-21T07:22:01.038Z] nexus3.edgexfoundry.org:10004 [2020-12-21T07:22:01.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T07:22:01.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T07:22:01.038Z] Configure a credential helper to remove this warning. See [2020-12-21T07:22:01.038Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T07:22:01.038Z] [2020-12-21T07:22:01.038Z] Login Succeeded [2020-12-21T07:22:01.038Z] docker.io [2020-12-21T07:22:01.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-21T07:22:01.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-21T07:22:01.576Z] Configure a credential helper to remove this warning. See [2020-12-21T07:22:01.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-21T07:22:01.576Z] [2020-12-21T07:22:01.576Z] Login Succeeded [2020-12-21T07:22:01.576Z] ---> docker-login.sh ends [Pipeline] } [2020-12-21T07:22:01.602Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-21T07:22:02.121Z] ========================================================= [2020-12-21T07:22:02.121Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-21T07:22:02.121Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-21T07:22:02.527Z] + 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 . [2020-12-21T07:22:02.797Z] Sending build context to Docker daemon 2.422MB [2020-12-21T07:22:02.797Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-21T07:22:02.797Z] Step 2/8 : FROM ${BASE} [2020-12-21T07:22:02.797Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-21T07:22:02.797Z] 188c0c94c7c5: Pulling fs layer [2020-12-21T07:22:02.797Z] 0ef7d3d256c8: Pulling fs layer [2020-12-21T07:22:02.797Z] de9db76c5a1d: Pulling fs layer [2020-12-21T07:22:02.797Z] bca2f99d35d6: Pulling fs layer [2020-12-21T07:22:02.797Z] 93359f2a8cfa: Pulling fs layer [2020-12-21T07:22:02.797Z] 7c6f9722023f: Pulling fs layer [2020-12-21T07:22:02.797Z] a35cf1a2eb13: Pulling fs layer [2020-12-21T07:22:02.797Z] 93359f2a8cfa: Waiting [2020-12-21T07:22:02.797Z] 7c6f9722023f: Waiting [2020-12-21T07:22:02.797Z] a35cf1a2eb13: Waiting [2020-12-21T07:22:02.797Z] bca2f99d35d6: Waiting [2020-12-21T07:22:02.797Z] de9db76c5a1d: Verifying Checksum [2020-12-21T07:22:02.797Z] de9db76c5a1d: Download complete [2020-12-21T07:22:02.797Z] 0ef7d3d256c8: Verifying Checksum [2020-12-21T07:22:02.798Z] 0ef7d3d256c8: Download complete [2020-12-21T07:22:02.798Z] 93359f2a8cfa: Verifying Checksum [2020-12-21T07:22:02.798Z] 93359f2a8cfa: Download complete [2020-12-21T07:22:02.798Z] 188c0c94c7c5: Download complete [2020-12-21T07:22:02.798Z] 7c6f9722023f: Verifying Checksum [2020-12-21T07:22:02.798Z] 7c6f9722023f: Download complete [2020-12-21T07:22:03.061Z] 188c0c94c7c5: Pull complete [2020-12-21T07:22:03.322Z] 0ef7d3d256c8: Pull complete [2020-12-21T07:22:03.584Z] de9db76c5a1d: Pull complete [2020-12-21T07:22:04.533Z] a35cf1a2eb13: Verifying Checksum [2020-12-21T07:22:04.533Z] a35cf1a2eb13: Download complete [2020-12-21T07:22:05.488Z] bca2f99d35d6: Verifying Checksum [2020-12-21T07:22:05.488Z] bca2f99d35d6: Download complete [2020-12-21T07:22:10.784Z] 00ac8860ef70: Pull complete [2020-12-21T07:22:10.784Z] 63d7cb157983: Pull complete [2020-12-21T07:22:10.831Z] bca2f99d35d6: Pull complete [2020-12-21T07:22:10.831Z] 93359f2a8cfa: Pull complete [2020-12-21T07:22:10.831Z] 7c6f9722023f: Pull complete [2020-12-21T07:22:11.055Z] b116817d02f9: Pull complete [2020-12-21T07:22:15.393Z] 745a02a5169b: Pull complete [2020-12-21T07:22:15.393Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-21T07:22:15.393Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-21T07:22:15.393Z] ---> b7e6874047d6 [2020-12-21T07:22:15.393Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-21T07:22:18.022Z] ---> Running in 82b00f7ee5b3 [2020-12-21T07:22:18.022Z] Removing intermediate container 82b00f7ee5b3 [2020-12-21T07:22:18.022Z] ---> fd241b45c5e4 [2020-12-21T07:22:18.022Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-21T07:22:18.022Z] ---> Running in 80dfd6321f36 [2020-12-21T07:22:19.002Z] a35cf1a2eb13: Pull complete [2020-12-21T07:22:19.268Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-21T07:22:19.268Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-21T07:22:19.268Z] ---> a62c8e92a672 [2020-12-21T07:22:19.268Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-21T07:22:19.268Z] ---> Running in 5e781a6552bd [2020-12-21T07:22:19.531Z] Removing intermediate container 5e781a6552bd [2020-12-21T07:22:19.532Z] ---> 59878f3b786f [2020-12-21T07:22:19.532Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-21T07:22:19.793Z] ---> Running in b52f92798155 [2020-12-21T07:22:20.656Z] Removing intermediate container 80dfd6321f36 [2020-12-21T07:22:20.656Z] ---> a244b384a557 [2020-12-21T07:22:20.656Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-21T07:22:20.656Z] ---> Running in 5853871151bc [2020-12-21T07:22:20.740Z] Removing intermediate container b52f92798155 [2020-12-21T07:22:20.740Z] ---> 993567f34520 [2020-12-21T07:22:20.740Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-21T07:22:20.740Z] ---> Running in be49a6aa0b2b [2020-12-21T07:22:21.319Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-21T07:22:21.641Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-21T07:22:21.895Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-21T07:22:22.242Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-21T07:22:22.470Z] OK: 166 MiB in 39 packages [2020-12-21T07:22:23.048Z] Removing intermediate container be49a6aa0b2b [2020-12-21T07:22:23.048Z] ---> 518f02748be1 [2020-12-21T07:22:23.048Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-21T07:22:23.048Z] ---> Running in f978ba2ffa45 [2020-12-21T07:22:23.224Z] OK: 142 MiB in 39 packages [2020-12-21T07:22:23.311Z] Removing intermediate container f978ba2ffa45 [2020-12-21T07:22:23.311Z] ---> a228ee01ab47 [2020-12-21T07:22:23.311Z] Step 7/8 : COPY . . [2020-12-21T07:22:24.217Z] Removing intermediate container 5853871151bc [2020-12-21T07:22:24.217Z] ---> 8a6510dc13e4 [2020-12-21T07:22:24.217Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-21T07:22:24.217Z] ---> Running in 19227647f485 [2020-12-21T07:22:24.716Z] ---> 06d4fbfdff48 [2020-12-21T07:22:24.716Z] Step 8/8 : RUN go mod download [2020-12-21T07:22:24.716Z] ---> Running in cccfcde0daec [2020-12-21T07:22:24.824Z] Removing intermediate container 19227647f485 [2020-12-21T07:22:24.824Z] ---> 3f513d6720a9 [2020-12-21T07:22:24.824Z] Step 7/8 : COPY . . [2020-12-21T07:22:26.286Z] ---> 8b931f5fd28f [2020-12-21T07:22:26.286Z] Step 8/8 : RUN go mod download [2020-12-21T07:22:26.286Z] ---> Running in 73e6e6b1c5fb [2020-12-21T07:22:42.888Z] Removing intermediate container cccfcde0daec [2020-12-21T07:22:42.888Z] ---> f6fdfe8421cf [2020-12-21T07:22:42.888Z] Successfully built f6fdfe8421cf [2020-12-21T07:22:42.888Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-21T07:22:43.246Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-21T07:22:43.246Z] . [Pipeline] withDockerContainer [2020-12-21T07:22:43.384Z] prd-centos7-docker-4c-2g-17045 does not seem to be running inside a container [2020-12-21T07:22:43.436Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-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-x86_64 cat [2020-12-21T07:22:44.152Z] $ docker top 1c4e85d984502fcb80b0a5d4ea2118eac688229d9b75c40b3520f68a5a455674 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-21T07:22:44.689Z] + go version [2020-12-21T07:22:44.689Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-21T07:22:44.723Z] $ docker stop --time=1 1c4e85d984502fcb80b0a5d4ea2118eac688229d9b75c40b3520f68a5a455674 [2020-12-21T07:22:46.050Z] $ docker rm -f 1c4e85d984502fcb80b0a5d4ea2118eac688229d9b75c40b3520f68a5a455674 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-21T07:22:47.271Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-21T07:22:47.271Z] . [Pipeline] withDockerContainer [2020-12-21T07:22:47.386Z] prd-centos7-docker-4c-2g-17045 does not seem to be running inside a container [2020-12-21T07:22:47.436Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-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-x86_64 cat [2020-12-21T07:22:48.274Z] $ docker top dfc210f3e67aed71bbd06a690985d2965ff3fc602931f495b0c44a4497f91d44 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-21T07:22:48.615Z] Removing intermediate container 73e6e6b1c5fb [2020-12-21T07:22:48.615Z] ---> dff083397a64 [2020-12-21T07:22:48.615Z] Successfully built dff083397a64 [2020-12-21T07:22:48.615Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-21T07:22:48.830Z] + make test [2020-12-21T07:22:48.830Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-21T07:22:48.830Z] go: finding module for package github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/message [2020-12-21T07:22:49.007Z] + docker inspect -f . ci-base-image-arm64 [2020-12-21T07:22:49.007Z] . [Pipeline] withDockerContainer [2020-12-21T07:22:49.091Z] go: finding module for package github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/httpserver [2020-12-21T07:22:49.304Z] prd-ubuntu18.04-docker-arm64-4c-16g-17044 does not seem to be running inside a container [2020-12-21T07:22:49.394Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-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 [2020-12-21T07:22:50.828Z] $ docker top be1cc88e79f0951da85ae327f065b9465c0aa54a0224fe4692f8e0be10838aa5 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-21T07:22:51.883Z] + go version [2020-12-21T07:22:51.883Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-21T07:22:51.923Z] $ docker stop --time=1 be1cc88e79f0951da85ae327f065b9465c0aa54a0224fe4692f8e0be10838aa5 [2020-12-21T07:22:52.408Z] pkg/service/main.go:19:2: module github.com/edgexfoundry/go-mod-bootstrap@latest found (v0.0.64), but does not contain package github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/httpserver [2020-12-21T07:22:52.408Z] pkg/service/main.go:20:2: module github.com/edgexfoundry/go-mod-bootstrap@latest found (v0.0.64), but does not contain package github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/message [2020-12-21T07:22:52.408Z] make: *** [Makefile:32: test] Error 1 [2020-12-21T07:22:53.832Z] $ docker rm -f be1cc88e79f0951da85ae327f065b9465c0aa54a0224fe4692f8e0be10838aa5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2020-12-21T07:22:54.189Z] $ docker stop --time=1 dfc210f3e67aed71bbd06a690985d2965ff3fc602931f495b0c44a4497f91d44 [2020-12-21T07:22:55.539Z] $ docker rm -f dfc210f3e67aed71bbd06a690985d2965ff3fc602931f495b0c44a4497f91d44 [Pipeline] // script [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [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] script [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] isUnix [Pipeline] sh [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [2020-12-21T07:22:57.622Z] + docker inspect -f . ci-base-image-arm64 [2020-12-21T07:22:57.622Z] . [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] withDockerContainer [2020-12-21T07:22:58.227Z] prd-ubuntu18.04-docker-arm64-4c-16g-17044 does not seem to be running inside a container [2020-12-21T07:22:58.311Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-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 [2020-12-21T07:22:59.849Z] $ docker top 4746cf31ad88f35ed9fde5ccf418be00905cbdf2b7b94bc3860947a57198aaff -eo pid,comm [Pipeline] { [Pipeline] // stage [Pipeline] } [2020-12-21T07:23:00.380Z] Failed in branch amd64 [Pipeline] sh [2020-12-21T07:23:01.053Z] + make test [2020-12-21T07:23:01.053Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-21T07:23:01.327Z] go: finding module for package github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/message [2020-12-21T07:23:01.327Z] go: finding module for package github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/httpserver [2020-12-21T07:23:01.928Z] pkg/service/main.go:19:2: module github.com/edgexfoundry/go-mod-bootstrap@latest found (v0.0.64), but does not contain package github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/httpserver [2020-12-21T07:23:01.928Z] pkg/service/main.go:20:2: module github.com/edgexfoundry/go-mod-bootstrap@latest found (v0.0.64), but does not contain package github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/message [2020-12-21T07:23:01.928Z] make: *** [Makefile:32: test] Error 1 [Pipeline] } [2020-12-21T07:23:01.981Z] $ docker stop --time=1 4746cf31ad88f35ed9fde5ccf418be00905cbdf2b7b94bc3860947a57198aaff [2020-12-21T07:23:03.984Z] $ docker rm -f 4746cf31ad88f35ed9fde5ccf418be00905cbdf2b7b94bc3860947a57198aaff [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] } [2020-12-21T07:23:06.250Z] 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 [2020-12-21T07:23:10.126Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T07:23:10.473Z] ---> package-listing.sh [2020-12-21T07:23:10.474Z] ++ facter osfamily [2020-12-21T07:23:10.474Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-21T07:23:10.474Z] + OS_FAMILY=redhat [2020-12-21T07:23:10.474Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-704 [2020-12-21T07:23:10.474Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-21T07:23:10.474Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-21T07:23:10.474Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-21T07:23:10.474Z] + PACKAGES=/tmp/packages_start.txt [2020-12-21T07:23:10.474Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-704 ']' [2020-12-21T07:23:10.474Z] + PACKAGES=/tmp/packages_end.txt [2020-12-21T07:23:10.474Z] + case "${OS_FAMILY}" in [2020-12-21T07:23:10.474Z] + rpm -qa [2020-12-21T07:23:10.474Z] + sort [2020-12-21T07:23:15.785Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-21T07:23:15.785Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-21T07:23:15.785Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-21T07:23:15.785Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-704 ']' [2020-12-21T07:23:15.785Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-704/archives/ [2020-12-21T07:23:15.785Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-704/archives/ [Pipeline] echo [2020-12-21T07:23:15.818Z] 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-sdk-go_PR-704/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-21T07:23:16.139Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-21T07:23:16.478Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-21T07:23:16.478Z] [2020-12-21T07:23:16.478Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-21T07:23:16.877Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-21T07:23:16.877Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-21T07:23:16.877Z] df20fa9351a1: Pulling fs layer [2020-12-21T07:23:16.877Z] 36b3adc4ff6f: Pulling fs layer [2020-12-21T07:23:16.877Z] 8ad3a11d3b57: Pulling fs layer [2020-12-21T07:23:16.877Z] 46f8f816bc3b: Pulling fs layer [2020-12-21T07:23:16.877Z] 93b61091891f: Pulling fs layer [2020-12-21T07:23:16.877Z] 93b9cdb0e59b: Pulling fs layer [2020-12-21T07:23:16.877Z] 5e14af77c1be: Pulling fs layer [2020-12-21T07:23:16.877Z] 01666e4c0597: Pulling fs layer [2020-12-21T07:23:16.877Z] aa168da1d23b: Pulling fs layer [2020-12-21T07:23:16.877Z] 46f8f816bc3b: Waiting [2020-12-21T07:23:16.877Z] 93b61091891f: Waiting [2020-12-21T07:23:16.877Z] 93b9cdb0e59b: Waiting [2020-12-21T07:23:16.877Z] 5e14af77c1be: Waiting [2020-12-21T07:23:16.877Z] 01666e4c0597: Waiting [2020-12-21T07:23:16.877Z] aa168da1d23b: Waiting [2020-12-21T07:23:16.877Z] 36b3adc4ff6f: Download complete [2020-12-21T07:23:16.877Z] 46f8f816bc3b: Verifying Checksum [2020-12-21T07:23:16.877Z] 46f8f816bc3b: Download complete [2020-12-21T07:23:16.877Z] df20fa9351a1: Verifying Checksum [2020-12-21T07:23:16.877Z] df20fa9351a1: Download complete [2020-12-21T07:23:16.877Z] 93b9cdb0e59b: Download complete [2020-12-21T07:23:17.139Z] 93b61091891f: Download complete [2020-12-21T07:23:17.139Z] 5e14af77c1be: Verifying Checksum [2020-12-21T07:23:17.139Z] 5e14af77c1be: Download complete [2020-12-21T07:23:17.139Z] 01666e4c0597: Download complete [2020-12-21T07:23:17.410Z] df20fa9351a1: Pull complete [2020-12-21T07:23:17.410Z] 36b3adc4ff6f: Pull complete [2020-12-21T07:23:17.691Z] 8ad3a11d3b57: Verifying Checksum [2020-12-21T07:23:17.691Z] 8ad3a11d3b57: Download complete [2020-12-21T07:23:18.277Z] 8ad3a11d3b57: Pull complete [2020-12-21T07:23:18.277Z] 46f8f816bc3b: Pull complete [2020-12-21T07:23:19.251Z] 93b61091891f: Pull complete [2020-12-21T07:23:19.514Z] 93b9cdb0e59b: Pull complete [2020-12-21T07:23:19.514Z] 5e14af77c1be: Pull complete [2020-12-21T07:23:19.514Z] aa168da1d23b: Verifying Checksum [2020-12-21T07:23:19.514Z] aa168da1d23b: Download complete [2020-12-21T07:23:19.514Z] 01666e4c0597: Pull complete [2020-12-21T07:23:26.146Z] aa168da1d23b: Pull complete [2020-12-21T07:23:26.146Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-21T07:23:26.146Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-21T07:23:26.146Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-21T07:23:26.315Z] prd-centos7-docker-4c-2g-17043 does not seem to be running inside a container [2020-12-21T07:23:26.362Z] $ 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-sdk-go_PR-704/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-sdk-go_PR-704 -v /w/workspace/dgexfoundry_device-sdk-go_PR-704:/w/workspace/dgexfoundry_device-sdk-go_PR-704:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-704@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-704@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 [2020-12-21T07:23:29.546Z] $ docker top 64419735140ac936425a2748f1a8f1235cd39ecfa14f4becf56ebe060b0e946f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-21T07:23:30.086Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-21T07:23:30.409Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-21T07:23:30.726Z] + ls /var/log/sa-host [2020-12-21T07:23:30.726Z] + sadf -c /var/log/sa-host/sa21 [2020-12-21T07:23:30.726Z] file_magic: OK [2020-12-21T07:23:30.726Z] HZ: Using current value: 100 [2020-12-21T07:23:30.726Z] file_header: OK [2020-12-21T07:23:30.726Z] 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 [2020-12-21T07:23:30.726Z] Statistics: [2020-12-21T07:23:30.726Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-21T07:23:30.726Z] File successfully converted to sysstat format version 12.2.1 [2020-12-21T07:23:30.726Z] + sadf -c /var/log/sa-host/sa23 [2020-12-21T07:23:30.726Z] file_magic: OK [2020-12-21T07:23:30.726Z] HZ: Using current value: 100 [2020-12-21T07:23:30.726Z] file_header: OK [2020-12-21T07:23:30.726Z] 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 [2020-12-21T07:23:30.726Z] Statistics: [2020-12-21T07:23:30.726Z] Hnuu...uuuununununu... [2020-12-21T07:23:30.726Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-21T07:23:30.993Z] provisioning config files... [2020-12-21T07:23:31.007Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-704@tmp/config8491647734372977880tmp [Pipeline] { [Pipeline] echo [2020-12-21T07:23:31.167Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T07:23:31.488Z] ---> create-netrc.sh [Pipeline] } [2020-12-21T07:23:31.514Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-21T07:23:31.659Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T07:23:31.983Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-21T07:23:32.008Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T07:23:32.345Z] ---> sudo-logs.sh [2020-12-21T07:23:32.345Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-21T07:23:32.376Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T07:23:32.703Z] ---> job-cost.sh [2020-12-21T07:23:32.703Z] lf-activate-venv: SKIPPING [2020-12-21T07:23:32.703Z] INFO: No Stack... [2020-12-21T07:23:33.650Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-21T07:23:33.910Z] INFO: Archiving Costs [Pipeline] echo [2020-12-21T07:23:33.939Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-21T07:23:34.261Z] ---> logs-deploy.sh [2020-12-21T07:23:34.261Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-704/1 [2020-12-21T07:23:34.261Z] INFO: archiving workspace using pattern(s): [2020-12-21T07:23:35.648Z] Archives upload complete. [2020-12-21T07:23:35.909Z] INFO: archiving logs to Nexus