Pull request #711 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from e0a6177d58150a0a7775e85fb50d3f85e4f67749+42e5a1ea61e0adb23423a933a3224d1395f33e87 (cb01b64783d041f1679b119bc07ab506af0264f6) 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-711/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-711/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 ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-17871 in /w/workspace/dgexfoundry_device-sdk-go_PR-711 [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-711 # 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 Merging remotes/origin/master commit 42e5a1ea61e0adb23423a933a3224d1395f33e87 into PR head commit e0a6177d58150a0a7775e85fb50d3f85e4f67749 Merge succeeded, producing e0a6177d58150a0a7775e85fb50d3f85e4f67749 Checking out Revision e0a6177d58150a0a7775e85fb50d3f85e4f67749 (PR-711) > 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/711/head:refs/remotes/origin/PR-711 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e0a6177d58150a0a7775e85fb50d3f85e4f67749 # 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 42e5a1ea61e0adb23423a933a3224d1395f33e87 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e0a6177d58150a0a7775e85fb50d3f85e4f67749 # 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-31T05:39:44.597Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-31T05:39:44.928Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-31T05:39:45.189Z] ========================================================= [2020-12-31T05:39:45.189Z] EdgeX Global Pipelines Version Info [2020-12-31T05:39:45.189Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-31T05:39:46.700Z] ------------------- [2020-12-31T05:39:46.700Z] stable info: [2020-12-31T05:39:46.700Z] ------------------- [2020-12-31T05:39:46.700Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-31T05:39:46.700Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-31T05:39:46.700Z] Message: update stable to v1.0.173 [2020-12-31T05:39:47.652Z] ------------------- [2020-12-31T05:39:47.652Z] experimental info: [2020-12-31T05:39:47.652Z] ------------------- [2020-12-31T05:39:47.652Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-31T05:39:47.652Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-31T05:39:47.652Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-31T05:39:48.070Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-12-31T05:39:48.219Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-12-31T05:39:48.367Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-31T05:39:48.488Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-31T05:39:48.616Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-31T05:39:48.730Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-31T05:39:48.842Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-31T05:39:48.958Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-31T05:39:49.074Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-12-31T05:39:49.203Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-31T05:39:49.321Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-31T05:39:49.436Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-12-31T05:39:49.559Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-31T05:39:49.680Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-31T05:39:49.827Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-31T05:39:49.950Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-31T05:39:50.146Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-31T05:39:50.311Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-31T05:39:50.434Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-31T05:39:50.571Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-31T05:39:50.689Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-12-31T05:39:50.874Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-12-31T05:39:51.048Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-31T05:39:51.209Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-31T05:39:51.334Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-31T05:39:51.458Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-31T05:39:51.577Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2020-12-31T05:39:51.698Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-711 [Pipeline] echo [2020-12-31T05:39:51.821Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-711 [Pipeline] echo [2020-12-31T05:39:51.982Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-711 [Pipeline] echo [2020-12-31T05:39:52.104Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e0a6177d58150a0a7775e85fb50d3f85e4f67749 [Pipeline] echo [2020-12-31T05:39:52.226Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e0a6177 [Pipeline] echo [2020-12-31T05:39:52.348Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-31T05:39:52.606Z] provisioning config files... [2020-12-31T05:39:52.634Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-711@tmp/config7473291900485246780tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-31T05:39:53.061Z] ---> docker-login.sh [2020-12-31T05:39:53.061Z] nexus3.edgexfoundry.org:10001 [2020-12-31T05:39:53.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T05:39:53.589Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T05:39:53.589Z] Configure a credential helper to remove this warning. See [2020-12-31T05:39:53.589Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T05:39:53.589Z] [2020-12-31T05:39:53.589Z] Login Succeeded [2020-12-31T05:39:53.589Z] nexus3.edgexfoundry.org:10002 [2020-12-31T05:39:53.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T05:39:53.589Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T05:39:53.589Z] Configure a credential helper to remove this warning. See [2020-12-31T05:39:53.589Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T05:39:53.589Z] [2020-12-31T05:39:53.589Z] Login Succeeded [2020-12-31T05:39:53.589Z] nexus3.edgexfoundry.org:10003 [2020-12-31T05:39:53.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T05:39:53.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T05:39:53.852Z] Configure a credential helper to remove this warning. See [2020-12-31T05:39:53.852Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T05:39:53.852Z] [2020-12-31T05:39:53.852Z] Login Succeeded [2020-12-31T05:39:53.852Z] nexus3.edgexfoundry.org:10004 [2020-12-31T05:39:53.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T05:39:54.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T05:39:54.160Z] Configure a credential helper to remove this warning. See [2020-12-31T05:39:54.160Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T05:39:54.160Z] [2020-12-31T05:39:54.160Z] Login Succeeded [2020-12-31T05:39:54.160Z] docker.io [2020-12-31T05:39:54.160Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T05:39:54.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T05:39:54.422Z] Configure a credential helper to remove this warning. See [2020-12-31T05:39:54.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T05:39:54.422Z] [2020-12-31T05:39:54.422Z] Login Succeeded [2020-12-31T05:39:54.422Z] ---> docker-login.sh ends [Pipeline] } [2020-12-31T05:39:54.443Z] 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-31T05:39:55.538Z] + git log --format=format:%s -1 e0a6177d58150a0a7775e85fb50d3f85e4f67749 [Pipeline] echo [2020-12-31T05:39:55.619Z] GIT_COMMIT: e0a6177d58150a0a7775e85fb50d3f85e4f67749, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap [Pipeline] echo [2020-12-31T05:39:55.686Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-31T05:39:56.317Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-31T05:39:56.318Z] [2020-12-31T05:39:56.318Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-31T05:39:56.704Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-31T05:39:56.704Z] latest: Pulling from edgex-devops/git-semver [2020-12-31T05:39:56.704Z] 31603596830f: Pulling fs layer [2020-12-31T05:39:56.704Z] 2a8b12db71e7: Pulling fs layer [2020-12-31T05:39:56.704Z] 6ca5941a6612: Pulling fs layer [2020-12-31T05:39:56.704Z] ecc8261a40a4: Pulling fs layer [2020-12-31T05:39:56.704Z] ecc8261a40a4: Waiting [2020-12-31T05:39:56.704Z] 2a8b12db71e7: Download complete [2020-12-31T05:39:56.966Z] 31603596830f: Verifying Checksum [2020-12-31T05:39:56.966Z] 31603596830f: Download complete [2020-12-31T05:39:56.966Z] ecc8261a40a4: Verifying Checksum [2020-12-31T05:39:56.966Z] ecc8261a40a4: Download complete [2020-12-31T05:39:56.966Z] 6ca5941a6612: Verifying Checksum [2020-12-31T05:39:56.966Z] 6ca5941a6612: Download complete [2020-12-31T05:39:57.235Z] 31603596830f: Pull complete [2020-12-31T05:39:57.496Z] 2a8b12db71e7: Pull complete [2020-12-31T05:39:58.449Z] 6ca5941a6612: Pull complete [2020-12-31T05:39:58.712Z] ecc8261a40a4: Pull complete [2020-12-31T05:39:58.712Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-31T05:39:58.712Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-31T05:39:58.712Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-31T05:39:58.841Z] prd-centos7-docker-4c-2g-17871 does not seem to be running inside a container [2020-12-31T05:39:58.889Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-711 -v /w/workspace/dgexfoundry_device-sdk-go_PR-711:/w/workspace/dgexfoundry_device-sdk-go_PR-711:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-711@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-711@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-31T05:40:01.518Z] $ docker top 5d60203f6a7711acd9af04039107f21c34b47a4e80576c9c978e981947045cea -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-31T05:40:02.075Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-31T05:40:02.075Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-31T05:40:02.307Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-31T05:40:02.312Z] $ docker exec 5d60203f6a7711acd9af04039107f21c34b47a4e80576c9c978e981947045cea ssh-agent [2020-12-31T05:40:02.496Z] SSH_AUTH_SOCK=/tmp/ssh-EGdYIFAPhwCX/agent.12 [2020-12-31T05:40:02.496Z] SSH_AGENT_PID=17 [2020-12-31T05:40:02.511Z] Running ssh-add (command line suppressed) [2020-12-31T05:40:02.634Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-711@tmp/private_key_248892085721607735.key (/w/workspace/dgexfoundry_device-sdk-go_PR-711@tmp/private_key_248892085721607735.key) [2020-12-31T05:40:02.686Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-31T05:40:03.071Z] + git tag --points-at HEAD [Pipeline] } [2020-12-31T05:40:03.101Z] $ docker exec --env ******** --env ******** 5d60203f6a7711acd9af04039107f21c34b47a4e80576c9c978e981947045cea ssh-agent -k [2020-12-31T05:40:03.230Z] unset SSH_AUTH_SOCK; [2020-12-31T05:40:03.230Z] unset SSH_AGENT_PID; [2020-12-31T05:40:03.231Z] echo Agent pid 17 killed; [2020-12-31T05:40:03.283Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-31T05:40:03.489Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-31T05:40:03.489Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-31T05:40:03.662Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-31T05:40:03.667Z] $ docker exec 5d60203f6a7711acd9af04039107f21c34b47a4e80576c9c978e981947045cea ssh-agent [2020-12-31T05:40:03.835Z] SSH_AUTH_SOCK=/tmp/ssh-YV6RQZYSj5zI/agent.48 [2020-12-31T05:40:03.835Z] SSH_AGENT_PID=54 [2020-12-31T05:40:03.843Z] Running ssh-add (command line suppressed) [2020-12-31T05:40:03.966Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-711@tmp/private_key_275886901489809013.key (/w/workspace/dgexfoundry_device-sdk-go_PR-711@tmp/private_key_275886901489809013.key) [2020-12-31T05:40:04.019Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-31T05:40:04.395Z] + git semver init [2020-12-31T05:40:04.395Z] # -> Open(): unable to determine branch for HEAD [2020-12-31T05:40:04.395Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-711/.git [2020-12-31T05:40:04.395Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-711 [2020-12-31T05:40:04.395Z] # $SEMVER_REMOTE_NAME = origin [2020-12-31T05:40:04.395Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-31T05:40:04.395Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-31T05:40:04.395Z] # $SEMVER_BRANCH = PR-711 [2020-12-31T05:40:04.395Z] # $SEMVER_TEMP = /tmp/semver-091490320 [2020-12-31T05:40:04.395Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-12-31T05:40:05.789Z] # '/tmp/semver-091490320' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-711/.semver' [2020-12-31T05:40:05.789Z] # -> Force: false [2020-12-31T05:40:05.789Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-711/.semver [Pipeline] } [2020-12-31T05:40:05.811Z] $ docker exec --env ******** --env ******** 5d60203f6a7711acd9af04039107f21c34b47a4e80576c9c978e981947045cea ssh-agent -k [2020-12-31T05:40:05.927Z] unset SSH_AUTH_SOCK; [2020-12-31T05:40:05.927Z] unset SSH_AGENT_PID; [2020-12-31T05:40:05.927Z] echo Agent pid 54 killed; [2020-12-31T05:40:05.975Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-31T05:40:06.552Z] + git semver [Pipeline] } [2020-12-31T05:40:06.584Z] $ docker stop --time=1 5d60203f6a7711acd9af04039107f21c34b47a4e80576c9c978e981947045cea [2020-12-31T05:40:08.080Z] $ docker rm -f 5d60203f6a7711acd9af04039107f21c34b47a4e80576c9c978e981947045cea [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-31T05:40:08.616Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-31T05:40:09.060Z] Stashed 1 file(s) [Pipeline] echo [2020-12-31T05:40:09.082Z] [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-31T05:40:25.021Z] Still waiting to schedule task [2020-12-31T05:40:25.021Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-12-31T05:40:25.048Z] Still waiting to schedule task [2020-12-31T05:40:25.048Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-12-31T05:41:38.172Z] Running on prd-centos7-docker-4c-2g-17875 in /w/workspace/dgexfoundry_device-sdk-go_PR-711 [Pipeline] { [Pipeline] ws [2020-12-31T05:41:38.267Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-12-31T05:41:40.902Z] using credential edgex-jenkins-ssh [2020-12-31T05:41:40.951Z] Cloning the remote Git repository [2020-12-31T05:41:40.978Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-31T05:41:41.044Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-12-31T05:41:41.106Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-31T05:41:41.107Z] > git --version # timeout=10 [2020-12-31T05:41:41.113Z] > git --version # 'git version 2.24.3' [2020-12-31T05:41:41.114Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-31T05:41:41.145Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-31T05:41:41.797Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-31T05:41:41.806Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-31T05:41:41.819Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-31T05:41:41.835Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-31T05:41:41.836Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-31T05:41:41.840Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/711/head:refs/remotes/origin/PR-711 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-31T05:41:42.240Z] Merging remotes/origin/master commit 42e5a1ea61e0adb23423a933a3224d1395f33e87 into PR head commit e0a6177d58150a0a7775e85fb50d3f85e4f67749 [2020-12-31T05:41:42.353Z] Merge succeeded, producing e0a6177d58150a0a7775e85fb50d3f85e4f67749 [2020-12-31T05:41:42.354Z] Checking out Revision e0a6177d58150a0a7775e85fb50d3f85e4f67749 (PR-711) [2020-12-31T05:41:42.249Z] > git config core.sparsecheckout # timeout=10 [2020-12-31T05:41:42.255Z] > git checkout -f e0a6177d58150a0a7775e85fb50d3f85e4f67749 # timeout=10 [2020-12-31T05:41:42.309Z] > git remote # timeout=10 [2020-12-31T05:41:42.315Z] > git config --get remote.origin.url # timeout=10 [2020-12-31T05:41:42.320Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-31T05:41:42.324Z] > git merge 42e5a1ea61e0adb23423a933a3224d1395f33e87 # timeout=10 [2020-12-31T05:41:42.346Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-31T05:41:42.357Z] > git config core.sparsecheckout # timeout=10 [2020-12-31T05:41:42.361Z] > git checkout -f e0a6177d58150a0a7775e85fb50d3f85e4f67749 # timeout=10 [2020-12-31T05:41:46.069Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" [2020-12-31T05:41:46.093Z] > git --version # timeout=10 [2020-12-31T05:41:46.097Z] > git --version # 'git version 2.24.3' [2020-12-31T05:41:46.103Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-31T05:41:47.492Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-31T05:41:47.841Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-31T05:41:48.155Z] + sudo service docker restart [2020-12-31T05:41:48.155Z] + true [2020-12-31T05:41:48.155Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-31T05:41:49.676Z] provisioning config files... [2020-12-31T05:41:49.700Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2212090392478865550tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-31T05:41:50.125Z] ---> docker-login.sh [2020-12-31T05:41:50.125Z] nexus3.edgexfoundry.org:10001 [2020-12-31T05:41:50.388Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T05:41:50.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T05:41:50.388Z] Configure a credential helper to remove this warning. See [2020-12-31T05:41:50.388Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T05:41:50.388Z] [2020-12-31T05:41:50.388Z] Login Succeeded [2020-12-31T05:41:50.388Z] nexus3.edgexfoundry.org:10002 [2020-12-31T05:41:50.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T05:41:50.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T05:41:50.650Z] Configure a credential helper to remove this warning. See [2020-12-31T05:41:50.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T05:41:50.650Z] [2020-12-31T05:41:50.650Z] Login Succeeded [2020-12-31T05:41:50.650Z] nexus3.edgexfoundry.org:10003 [2020-12-31T05:41:50.914Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T05:41:50.914Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T05:41:50.914Z] Configure a credential helper to remove this warning. See [2020-12-31T05:41:50.914Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T05:41:50.914Z] [2020-12-31T05:41:50.914Z] Login Succeeded [2020-12-31T05:41:50.914Z] nexus3.edgexfoundry.org:10004 [2020-12-31T05:41:50.914Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T05:41:51.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T05:41:51.182Z] Configure a credential helper to remove this warning. See [2020-12-31T05:41:51.182Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T05:41:51.182Z] [2020-12-31T05:41:51.182Z] Login Succeeded [2020-12-31T05:41:51.182Z] docker.io [2020-12-31T05:41:51.182Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T05:41:51.452Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T05:41:51.452Z] Configure a credential helper to remove this warning. See [2020-12-31T05:41:51.452Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T05:41:51.452Z] [2020-12-31T05:41:51.452Z] Login Succeeded [2020-12-31T05:41:51.452Z] ---> docker-login.sh ends [Pipeline] } [2020-12-31T05:41:51.482Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-31T05:41:51.997Z] ========================================================= [2020-12-31T05:41:51.997Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-31T05:41:51.997Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-31T05:41:53.693Z] + 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-31T05:41:53.955Z] Sending build context to Docker daemon 2.422MB [2020-12-31T05:41:53.955Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-31T05:41:53.955Z] Step 2/8 : FROM ${BASE} [2020-12-31T05:41:53.955Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-31T05:41:53.955Z] 188c0c94c7c5: Pulling fs layer [2020-12-31T05:41:53.955Z] 0ef7d3d256c8: Pulling fs layer [2020-12-31T05:41:53.955Z] de9db76c5a1d: Pulling fs layer [2020-12-31T05:41:53.955Z] bca2f99d35d6: Pulling fs layer [2020-12-31T05:41:53.955Z] 93359f2a8cfa: Pulling fs layer [2020-12-31T05:41:53.955Z] 7c6f9722023f: Pulling fs layer [2020-12-31T05:41:53.955Z] a35cf1a2eb13: Pulling fs layer [2020-12-31T05:41:53.955Z] 93359f2a8cfa: Waiting [2020-12-31T05:41:53.955Z] 7c6f9722023f: Waiting [2020-12-31T05:41:53.955Z] a35cf1a2eb13: Waiting [2020-12-31T05:41:53.955Z] bca2f99d35d6: Waiting [2020-12-31T05:41:53.955Z] de9db76c5a1d: Verifying Checksum [2020-12-31T05:41:53.955Z] de9db76c5a1d: Download complete [2020-12-31T05:41:53.955Z] 0ef7d3d256c8: Verifying Checksum [2020-12-31T05:41:53.955Z] 0ef7d3d256c8: Download complete [2020-12-31T05:41:53.955Z] 93359f2a8cfa: Download complete [2020-12-31T05:41:53.955Z] 7c6f9722023f: Verifying Checksum [2020-12-31T05:41:53.955Z] 188c0c94c7c5: Verifying Checksum [2020-12-31T05:41:53.955Z] 188c0c94c7c5: Download complete [2020-12-31T05:41:53.955Z] 7c6f9722023f: Download complete [2020-12-31T05:41:54.219Z] 188c0c94c7c5: Pull complete [2020-12-31T05:41:54.482Z] 0ef7d3d256c8: Pull complete [2020-12-31T05:41:54.482Z] de9db76c5a1d: Pull complete [2020-12-31T05:41:56.407Z] a35cf1a2eb13: Verifying Checksum [2020-12-31T05:41:56.407Z] a35cf1a2eb13: Download complete [2020-12-31T05:41:56.988Z] bca2f99d35d6: Download complete [2020-12-31T05:42:02.343Z] bca2f99d35d6: Pull complete [2020-12-31T05:42:02.343Z] 93359f2a8cfa: Pull complete [2020-12-31T05:42:02.343Z] 7c6f9722023f: Pull complete [2020-12-31T05:42:06.579Z] a35cf1a2eb13: Pull complete [2020-12-31T05:42:06.579Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-31T05:42:06.579Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-31T05:42:06.579Z] ---> a62c8e92a672 [2020-12-31T05:42:06.579Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-31T05:42:06.850Z] ---> Running in 367aad54f4ba [2020-12-31T05:42:07.116Z] Removing intermediate container 367aad54f4ba [2020-12-31T05:42:07.116Z] ---> 0d6796db3f05 [2020-12-31T05:42:07.116Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-31T05:42:07.116Z] ---> Running in 1f0c711e3564 [2020-12-31T05:42:08.065Z] Removing intermediate container 1f0c711e3564 [2020-12-31T05:42:08.065Z] ---> ca158c99eeeb [2020-12-31T05:42:08.065Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-31T05:42:08.065Z] ---> Running in ed6830a020b8 [2020-12-31T05:42:09.017Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-31T05:42:09.961Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-31T05:42:10.222Z] OK: 166 MiB in 39 packages [2020-12-31T05:42:10.487Z] Removing intermediate container ed6830a020b8 [2020-12-31T05:42:10.487Z] ---> 884a1c539993 [2020-12-31T05:42:10.487Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-31T05:42:10.754Z] ---> Running in 78b4759f3ce4 [2020-12-31T05:42:10.754Z] Removing intermediate container 78b4759f3ce4 [2020-12-31T05:42:10.754Z] ---> 2c4e1583023e [2020-12-31T05:42:10.754Z] Step 7/8 : COPY . . [2020-12-31T05:42:12.173Z] ---> d0443f884361 [2020-12-31T05:42:12.173Z] Step 8/8 : RUN go mod download [2020-12-31T05:42:12.173Z] ---> Running in 6a3af531fd3c [2020-12-31T05:42:30.355Z] Removing intermediate container 6a3af531fd3c [2020-12-31T05:42:30.355Z] ---> 6088f5d2246a [2020-12-31T05:42:30.355Z] Successfully built 6088f5d2246a [2020-12-31T05:42:30.355Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-31T05:42:30.710Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-31T05:42:30.710Z] . [Pipeline] withDockerContainer [2020-12-31T05:42:30.860Z] prd-centos7-docker-4c-2g-17875 does not seem to be running inside a container [2020-12-31T05:42:30.911Z] $ 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-31T05:42:32.402Z] $ docker top d37d8355d384e8ecd6dfdfae70ea4552375e15603ad1791bdb92c411a82d7140 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-31T05:42:32.966Z] + go version [2020-12-31T05:42:32.967Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-31T05:42:32.994Z] $ docker stop --time=1 d37d8355d384e8ecd6dfdfae70ea4552375e15603ad1791bdb92c411a82d7140 [2020-12-31T05:42:34.327Z] $ docker rm -f d37d8355d384e8ecd6dfdfae70ea4552375e15603ad1791bdb92c411a82d7140 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-31T05:42:35.368Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-31T05:42:35.368Z] . [Pipeline] withDockerContainer [2020-12-31T05:42:35.492Z] prd-centos7-docker-4c-2g-17875 does not seem to be running inside a container [2020-12-31T05:42:35.544Z] $ 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-31T05:42:36.098Z] $ docker top fe04770339bc97108bca0a17d28c4a624964058134e8a89a904ee22ed3217b5b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-31T05:42:36.615Z] + make test [2020-12-31T05:42:36.615Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-31T05:42:36.879Z] go: finding module for package github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/httpserver [2020-12-31T05:42:36.879Z] go: finding module for package github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/message [2020-12-31T05:42:38.287Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.65 [2020-12-31T05:42:38.552Z] pkg/service/main.go:19:2: module github.com/edgexfoundry/go-mod-bootstrap@latest found (v0.0.65), but does not contain package github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/httpserver [2020-12-31T05:42:38.552Z] pkg/service/main.go:20:2: module github.com/edgexfoundry/go-mod-bootstrap@latest found (v0.0.65), but does not contain package github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/message [2020-12-31T05:42:38.552Z] make: *** [Makefile:32: test] Error 1 [Pipeline] } [2020-12-31T05:42:38.596Z] $ docker stop --time=1 fe04770339bc97108bca0a17d28c4a624964058134e8a89a904ee22ed3217b5b [2020-12-31T05:42:39.997Z] $ docker rm -f fe04770339bc97108bca0a17d28c4a624964058134e8a89a904ee22ed3217b5b [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] } [2020-12-31T05:42:42.409Z] Failed in branch amd64 [2020-12-31T05:42:59.538Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-17877 in /w/workspace/dgexfoundry_device-sdk-go_PR-711 [Pipeline] { [Pipeline] ws [2020-12-31T05:42:59.647Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-12-31T05:43:04.831Z] using credential edgex-jenkins-ssh [2020-12-31T05:43:04.892Z] Cloning the remote Git repository [2020-12-31T05:43:04.950Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-31T05:43:05.060Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-12-31T05:43:05.149Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-31T05:43:05.149Z] > git --version # timeout=10 [2020-12-31T05:43:05.170Z] > git --version # 'git version 2.17.1' [2020-12-31T05:43:05.171Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-31T05:43:05.242Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-31T05:43:07.111Z] Merging remotes/origin/master commit 42e5a1ea61e0adb23423a933a3224d1395f33e87 into PR head commit e0a6177d58150a0a7775e85fb50d3f85e4f67749 [2020-12-31T05:43:06.487Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-31T05:43:06.507Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-31T05:43:06.546Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-31T05:43:06.587Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-31T05:43:06.588Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-31T05:43:06.604Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/711/head:refs/remotes/origin/PR-711 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-31T05:43:07.135Z] > git config core.sparsecheckout # timeout=10 [2020-12-31T05:43:07.161Z] > git checkout -f e0a6177d58150a0a7775e85fb50d3f85e4f67749 # timeout=10 [2020-12-31T05:43:07.280Z] > git remote # timeout=10 [2020-12-31T05:43:07.302Z] > git config --get remote.origin.url # timeout=10 [2020-12-31T05:43:07.459Z] Merge succeeded, producing e0a6177d58150a0a7775e85fb50d3f85e4f67749 [2020-12-31T05:43:07.459Z] Checking out Revision e0a6177d58150a0a7775e85fb50d3f85e4f67749 (PR-711) [2020-12-31T05:43:07.371Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-31T05:43:07.385Z] > git merge 42e5a1ea61e0adb23423a933a3224d1395f33e87 # timeout=10 [2020-12-31T05:43:07.426Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-31T05:43:07.469Z] > git config core.sparsecheckout # timeout=10 [2020-12-31T05:43:07.502Z] > git checkout -f e0a6177d58150a0a7775e85fb50d3f85e4f67749 # timeout=10 [2020-12-31T05:43:11.871Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" [2020-12-31T05:43:11.935Z] > git --version # timeout=10 [2020-12-31T05:43:11.946Z] > git --version # 'git version 2.17.1' [2020-12-31T05:43:11.961Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-31T05:43:13.717Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-31T05:43:14.199Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-31T05:43:14.554Z] + sudo service docker restart [2020-12-31T05:43:14.554Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-31T05:43:17.310Z] provisioning config files... [2020-12-31T05:43:17.350Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config393407698036773067tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-31T05:43:17.840Z] ---> docker-login.sh [2020-12-31T05:43:17.840Z] nexus3.edgexfoundry.org:10001 [2020-12-31T05:43:18.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T05:43:19.099Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T05:43:19.099Z] Configure a credential helper to remove this warning. See [2020-12-31T05:43:19.099Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T05:43:19.099Z] [2020-12-31T05:43:19.099Z] Login Succeeded [2020-12-31T05:43:19.099Z] nexus3.edgexfoundry.org:10002 [2020-12-31T05:43:19.374Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T05:43:19.649Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T05:43:19.649Z] Configure a credential helper to remove this warning. See [2020-12-31T05:43:19.649Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T05:43:19.649Z] [2020-12-31T05:43:19.649Z] Login Succeeded [2020-12-31T05:43:19.649Z] nexus3.edgexfoundry.org:10003 [2020-12-31T05:43:19.924Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T05:43:20.196Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T05:43:20.197Z] Configure a credential helper to remove this warning. See [2020-12-31T05:43:20.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T05:43:20.197Z] [2020-12-31T05:43:20.197Z] Login Succeeded [2020-12-31T05:43:20.197Z] nexus3.edgexfoundry.org:10004 [2020-12-31T05:43:20.469Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T05:43:20.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T05:43:20.754Z] Configure a credential helper to remove this warning. See [2020-12-31T05:43:20.754Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T05:43:20.754Z] [2020-12-31T05:43:20.754Z] Login Succeeded [2020-12-31T05:43:20.754Z] docker.io [2020-12-31T05:43:21.026Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T05:43:21.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T05:43:21.303Z] Configure a credential helper to remove this warning. See [2020-12-31T05:43:21.303Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T05:43:21.303Z] [2020-12-31T05:43:21.303Z] Login Succeeded [2020-12-31T05:43:21.303Z] ---> docker-login.sh ends [Pipeline] } [2020-12-31T05:43:21.369Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-31T05:43:21.942Z] ========================================================= [2020-12-31T05:43:21.942Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-31T05:43:21.942Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-31T05:43:22.358Z] + 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 . [2020-12-31T05:43:22.971Z] Sending build context to Docker daemon 2.423MB [2020-12-31T05:43:22.971Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-31T05:43:22.971Z] Step 2/8 : FROM ${BASE} [2020-12-31T05:43:22.971Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-31T05:43:22.971Z] 5f621e34cdf4: Pulling fs layer [2020-12-31T05:43:22.971Z] a4357932f1b6: Pulling fs layer [2020-12-31T05:43:22.971Z] 18c013af1878: Pulling fs layer [2020-12-31T05:43:22.971Z] 00ac8860ef70: Pulling fs layer [2020-12-31T05:43:22.971Z] 63d7cb157983: Pulling fs layer [2020-12-31T05:43:22.971Z] b116817d02f9: Pulling fs layer [2020-12-31T05:43:22.971Z] 745a02a5169b: Pulling fs layer [2020-12-31T05:43:22.971Z] 00ac8860ef70: Waiting [2020-12-31T05:43:22.971Z] 63d7cb157983: Waiting [2020-12-31T05:43:22.971Z] b116817d02f9: Waiting [2020-12-31T05:43:22.971Z] 745a02a5169b: Waiting [2020-12-31T05:43:22.971Z] 18c013af1878: Verifying Checksum [2020-12-31T05:43:22.971Z] 18c013af1878: Download complete [2020-12-31T05:43:22.971Z] a4357932f1b6: Verifying Checksum [2020-12-31T05:43:22.971Z] a4357932f1b6: Download complete [2020-12-31T05:43:22.971Z] 63d7cb157983: Verifying Checksum [2020-12-31T05:43:22.971Z] 63d7cb157983: Download complete [2020-12-31T05:43:23.957Z] b116817d02f9: Verifying Checksum [2020-12-31T05:43:23.957Z] b116817d02f9: Download complete [2020-12-31T05:43:23.957Z] 5f621e34cdf4: Verifying Checksum [2020-12-31T05:43:23.957Z] 5f621e34cdf4: Download complete [2020-12-31T05:43:24.571Z] 5f621e34cdf4: Pull complete [2020-12-31T05:43:25.173Z] a4357932f1b6: Pull complete [2020-12-31T05:43:25.448Z] 18c013af1878: Pull complete [2020-12-31T05:43:26.429Z] 745a02a5169b: Verifying Checksum [2020-12-31T05:43:26.429Z] 745a02a5169b: Download complete [2020-12-31T05:43:27.026Z] 00ac8860ef70: Download complete [2020-12-31T05:43:37.204Z] 00ac8860ef70: Pull complete [2020-12-31T05:43:37.204Z] 63d7cb157983: Pull complete [2020-12-31T05:43:37.480Z] b116817d02f9: Pull complete [2020-12-31T05:43:41.801Z] 745a02a5169b: Pull complete [2020-12-31T05:43:41.801Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-31T05:43:41.801Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-31T05:43:41.801Z] ---> b7e6874047d6 [2020-12-31T05:43:41.801Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-31T05:43:44.415Z] ---> Running in fb2085fc3f1c [2020-12-31T05:43:44.690Z] Removing intermediate container fb2085fc3f1c [2020-12-31T05:43:44.690Z] ---> e5813653c47e [2020-12-31T05:43:44.690Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-31T05:43:44.690Z] ---> Running in 6f76f805f53d [2020-12-31T05:43:47.321Z] Removing intermediate container 6f76f805f53d [2020-12-31T05:43:47.321Z] ---> 064eb19c0fd2 [2020-12-31T05:43:47.321Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-31T05:43:47.321Z] ---> Running in a4e51411f0e2 [2020-12-31T05:43:48.298Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-31T05:43:49.278Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-31T05:43:49.873Z] OK: 142 MiB in 39 packages [2020-12-31T05:43:50.851Z] Removing intermediate container a4e51411f0e2 [2020-12-31T05:43:50.851Z] ---> 52bc89d5e2fa [2020-12-31T05:43:50.851Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-31T05:43:51.123Z] ---> Running in 7d2d7bb43384 [2020-12-31T05:43:51.718Z] Removing intermediate container 7d2d7bb43384 [2020-12-31T05:43:51.718Z] ---> 4f67a2316a29 [2020-12-31T05:43:51.718Z] Step 7/8 : COPY . . [2020-12-31T05:43:52.697Z] ---> 6bde176d8aa6 [2020-12-31T05:43:52.697Z] Step 8/8 : RUN go mod download [2020-12-31T05:43:52.971Z] ---> Running in 56ebd38cd099 [2020-12-31T05:44:15.145Z] Removing intermediate container 56ebd38cd099 [2020-12-31T05:44:15.145Z] ---> 7eb40a01e5cb [2020-12-31T05:44:15.145Z] Successfully built 7eb40a01e5cb [2020-12-31T05:44:15.145Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-31T05:44:15.531Z] + docker inspect -f . ci-base-image-arm64 [2020-12-31T05:44:15.532Z] . [Pipeline] withDockerContainer [2020-12-31T05:44:15.779Z] prd-ubuntu18.04-docker-arm64-4c-16g-17877 does not seem to be running inside a container [2020-12-31T05:44:15.865Z] $ 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-arm64 cat [2020-12-31T05:44:17.330Z] $ docker top 3a88a9a4fadc314f87f400afc7031430ee07b0cab23f8bb817a11bad1b0b5baf -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-31T05:44:18.440Z] + go version [2020-12-31T05:44:18.441Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-31T05:44:18.483Z] $ docker stop --time=1 3a88a9a4fadc314f87f400afc7031430ee07b0cab23f8bb817a11bad1b0b5baf [2020-12-31T05:44:20.384Z] $ docker rm -f 3a88a9a4fadc314f87f400afc7031430ee07b0cab23f8bb817a11bad1b0b5baf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-31T05:44:21.759Z] + docker inspect -f . ci-base-image-arm64 [2020-12-31T05:44:21.759Z] . [Pipeline] withDockerContainer [2020-12-31T05:44:22.041Z] prd-ubuntu18.04-docker-arm64-4c-16g-17877 does not seem to be running inside a container [2020-12-31T05:44:22.130Z] $ 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-arm64 cat [2020-12-31T05:44:23.561Z] $ docker top 9bfe09c3dead54b405df472b2d2d5b2061d61a381926377fba14ea50bd0c97c3 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-31T05:44:24.631Z] + make test [2020-12-31T05:44:24.631Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-31T05:44:24.905Z] go: finding module for package github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/httpserver [2020-12-31T05:44:24.905Z] go: finding module for package github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/message [2020-12-31T05:44:25.179Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.65 [2020-12-31T05:44:25.776Z] pkg/service/main.go:19:2: module github.com/edgexfoundry/go-mod-bootstrap@latest found (v0.0.65), but does not contain package github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/httpserver [2020-12-31T05:44:25.776Z] pkg/service/main.go:20:2: module github.com/edgexfoundry/go-mod-bootstrap@latest found (v0.0.65), but does not contain package github.com/edgexfoundry/go-mod-bootstrap/bootstrap/handlers/message [2020-12-31T05:44:25.776Z] make: *** [Makefile:32: test] Error 1 [Pipeline] } [2020-12-31T05:44:25.828Z] $ docker stop --time=1 9bfe09c3dead54b405df472b2d2d5b2061d61a381926377fba14ea50bd0c97c3 [2020-12-31T05:44:27.760Z] $ docker rm -f 9bfe09c3dead54b405df472b2d2d5b2061d61a381926377fba14ea50bd0c97c3 [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-31T05:44:29.920Z] 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-31T05:44:34.633Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-31T05:44:35.249Z] ---> package-listing.sh [2020-12-31T05:44:35.249Z] ++ facter osfamily [2020-12-31T05:44:35.250Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-31T05:44:35.250Z] + OS_FAMILY=redhat [2020-12-31T05:44:35.250Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-711 [2020-12-31T05:44:35.250Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-31T05:44:35.250Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-31T05:44:35.250Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-31T05:44:35.250Z] + PACKAGES=/tmp/packages_start.txt [2020-12-31T05:44:35.250Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-711 ']' [2020-12-31T05:44:35.250Z] + PACKAGES=/tmp/packages_end.txt [2020-12-31T05:44:35.250Z] + case "${OS_FAMILY}" in [2020-12-31T05:44:35.250Z] + rpm -qa [2020-12-31T05:44:35.250Z] + sort [2020-12-31T05:44:40.564Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-31T05:44:40.564Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-31T05:44:40.564Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-31T05:44:40.564Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-711 ']' [2020-12-31T05:44:40.564Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-711/archives/ [2020-12-31T05:44:40.564Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-711/archives/ [Pipeline] echo [2020-12-31T05:44:40.595Z] 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-711/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-31T05:44:40.905Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-31T05:44:41.245Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-31T05:44:41.245Z] [2020-12-31T05:44:41.245Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-31T05:44:41.655Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-31T05:44:41.655Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-31T05:44:41.655Z] df20fa9351a1: Pulling fs layer [2020-12-31T05:44:41.655Z] 36b3adc4ff6f: Pulling fs layer [2020-12-31T05:44:41.655Z] 8ad3a11d3b57: Pulling fs layer [2020-12-31T05:44:41.655Z] 46f8f816bc3b: Pulling fs layer [2020-12-31T05:44:41.655Z] 93b61091891f: Pulling fs layer [2020-12-31T05:44:41.655Z] 93b9cdb0e59b: Pulling fs layer [2020-12-31T05:44:41.655Z] 5e14af77c1be: Pulling fs layer [2020-12-31T05:44:41.655Z] 01666e4c0597: Pulling fs layer [2020-12-31T05:44:41.655Z] aa168da1d23b: Pulling fs layer [2020-12-31T05:44:41.655Z] 46f8f816bc3b: Waiting [2020-12-31T05:44:41.655Z] 93b61091891f: Waiting [2020-12-31T05:44:41.655Z] 93b9cdb0e59b: Waiting [2020-12-31T05:44:41.655Z] 5e14af77c1be: Waiting [2020-12-31T05:44:41.655Z] 01666e4c0597: Waiting [2020-12-31T05:44:41.655Z] aa168da1d23b: Waiting [2020-12-31T05:44:41.655Z] 36b3adc4ff6f: Verifying Checksum [2020-12-31T05:44:41.655Z] 36b3adc4ff6f: Download complete [2020-12-31T05:44:41.655Z] 46f8f816bc3b: Verifying Checksum [2020-12-31T05:44:41.655Z] 46f8f816bc3b: Download complete [2020-12-31T05:44:41.918Z] df20fa9351a1: Verifying Checksum [2020-12-31T05:44:41.918Z] df20fa9351a1: Download complete [2020-12-31T05:44:41.918Z] 93b9cdb0e59b: Verifying Checksum [2020-12-31T05:44:41.918Z] 93b9cdb0e59b: Download complete [2020-12-31T05:44:41.918Z] 5e14af77c1be: Verifying Checksum [2020-12-31T05:44:41.918Z] 5e14af77c1be: Download complete [2020-12-31T05:44:41.918Z] 93b61091891f: Verifying Checksum [2020-12-31T05:44:41.918Z] 93b61091891f: Download complete [2020-12-31T05:44:41.918Z] 01666e4c0597: Verifying Checksum [2020-12-31T05:44:41.918Z] 01666e4c0597: Download complete [2020-12-31T05:44:42.188Z] df20fa9351a1: Pull complete [2020-12-31T05:44:42.450Z] 36b3adc4ff6f: Pull complete [2020-12-31T05:44:42.716Z] 8ad3a11d3b57: Verifying Checksum [2020-12-31T05:44:42.716Z] 8ad3a11d3b57: Download complete [2020-12-31T05:44:43.301Z] 8ad3a11d3b57: Pull complete [2020-12-31T05:44:43.564Z] 46f8f816bc3b: Pull complete [2020-12-31T05:44:44.145Z] 93b61091891f: Pull complete [2020-12-31T05:44:44.408Z] 93b9cdb0e59b: Pull complete [2020-12-31T05:44:44.673Z] 5e14af77c1be: Pull complete [2020-12-31T05:44:44.673Z] 01666e4c0597: Pull complete [2020-12-31T05:44:44.673Z] aa168da1d23b: Verifying Checksum [2020-12-31T05:44:44.673Z] aa168da1d23b: Download complete [2020-12-31T05:44:52.869Z] aa168da1d23b: Pull complete [2020-12-31T05:44:52.869Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-31T05:44:52.869Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-31T05:44:52.869Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-31T05:44:53.097Z] prd-centos7-docker-4c-2g-17871 does not seem to be running inside a container [2020-12-31T05:44:53.147Z] $ 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-711/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-711 -v /w/workspace/dgexfoundry_device-sdk-go_PR-711:/w/workspace/dgexfoundry_device-sdk-go_PR-711:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-711@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-711@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-31T05:44:56.570Z] $ docker top fb906f5065a6db3a71cb5046fa0266351396b809ab066af97cd121fa832fee7d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-31T05:44:57.111Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-31T05:44:57.431Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-31T05:44:57.776Z] + ls /var/log/sa-host [2020-12-31T05:44:57.776Z] + sadf -c /var/log/sa-host/sa23 [2020-12-31T05:44:57.776Z] file_magic: OK [2020-12-31T05:44:57.776Z] HZ: Using current value: 100 [2020-12-31T05:44:57.776Z] file_header: OK [2020-12-31T05:44:57.776Z] 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-31T05:44:57.776Z] Statistics: [2020-12-31T05:44:57.776Z] Hnuu...uuuununununu... [2020-12-31T05:44:57.776Z] File successfully converted to sysstat format version 12.2.1 [2020-12-31T05:44:57.776Z] + sadf -c /var/log/sa-host/sa31 [2020-12-31T05:44:57.776Z] file_magic: OK [2020-12-31T05:44:57.776Z] HZ: Using current value: 100 [2020-12-31T05:44:57.776Z] file_header: OK [2020-12-31T05:44:57.776Z] 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-31T05:44:57.776Z] Statistics: [2020-12-31T05:44:57.776Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-31T05:44:57.776Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-31T05:44:58.508Z] provisioning config files... [2020-12-31T05:44:58.523Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-711@tmp/config2903593993693324488tmp [Pipeline] { [Pipeline] echo [2020-12-31T05:44:58.651Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-31T05:44:58.987Z] ---> create-netrc.sh [Pipeline] } [2020-12-31T05:44:59.011Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-31T05:44:59.160Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-31T05:44:59.493Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-31T05:44:59.525Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-31T05:44:59.869Z] ---> sudo-logs.sh [2020-12-31T05:44:59.869Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-31T05:44:59.900Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-31T05:45:00.237Z] ---> job-cost.sh [2020-12-31T05:45:00.237Z] lf-activate-venv: SKIPPING [2020-12-31T05:45:00.237Z] INFO: No Stack... [2020-12-31T05:45:01.639Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-31T05:45:01.921Z] INFO: Archiving Costs [Pipeline] echo [2020-12-31T05:45:01.978Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-31T05:45:02.333Z] ---> logs-deploy.sh [2020-12-31T05:45:02.333Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-711/1 [2020-12-31T05:45:02.333Z] INFO: archiving workspace using pattern(s): [2020-12-31T05:45:04.285Z] Archives upload complete. [2020-12-31T05:45:04.285Z] INFO: archiving logs to Nexus