Pull request #718 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from fa004407b627d26755ddbd5358ca2bc3bd724c12+372098887a6a7d5d9395bdaf9d03a023308f69fd (2a2a5c83f4f49e384e4ae1ea9bab23256af81739) 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-718/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-718/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-19047 in /w/workspace/dgexfoundry_device-sdk-go_PR-718 [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-718 # 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 372098887a6a7d5d9395bdaf9d03a023308f69fd into PR head commit fa004407b627d26755ddbd5358ca2bc3bd724c12 Merge succeeded, producing fa004407b627d26755ddbd5358ca2bc3bd724c12 Checking out Revision fa004407b627d26755ddbd5358ca2bc3bd724c12 (PR-718) > 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/718/head:refs/remotes/origin/PR-718 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fa004407b627d26755ddbd5358ca2bc3bd724c12 # 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 372098887a6a7d5d9395bdaf9d03a023308f69fd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fa004407b627d26755ddbd5358ca2bc3bd724c12 # timeout=10 Commit message: "docs(v2): update schema to be consistent with edgex-go" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-08T03:33:58.678Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-08T03:33:59.036Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-08T03:33:59.264Z] ========================================================= [2021-01-08T03:33:59.264Z] EdgeX Global Pipelines Version Info [2021-01-08T03:33:59.264Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-08T03:34:00.768Z] ------------------- [2021-01-08T03:34:00.768Z] stable info: [2021-01-08T03:34:00.768Z] ------------------- [2021-01-08T03:34:00.768Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-08T03:34:00.768Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-08T03:34:00.768Z] Message: update stable to v1.0.173 [2021-01-08T03:34:01.727Z] ------------------- [2021-01-08T03:34:01.727Z] experimental info: [2021-01-08T03:34:01.727Z] ------------------- [2021-01-08T03:34:01.727Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-08T03:34:01.727Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-08T03:34:01.727Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-08T03:34:02.145Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-08T03:34:02.279Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-08T03:34:02.416Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-08T03:34:02.593Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-08T03:34:02.727Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-08T03:34:02.870Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-08T03:34:03.002Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-08T03:34:03.138Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-08T03:34:03.298Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-08T03:34:03.424Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-08T03:34:03.553Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-08T03:34:03.682Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-08T03:34:03.823Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-08T03:34:03.954Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-08T03:34:04.081Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-08T03:34:04.222Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-08T03:34:04.352Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-08T03:34:04.487Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-08T03:34:04.626Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-08T03:34:04.779Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-08T03:34:04.920Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-08T03:34:05.053Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-08T03:34:05.180Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-08T03:34:05.306Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-08T03:34:05.440Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-08T03:34:05.569Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-08T03:34:05.700Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-08T03:34:05.829Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-718 [Pipeline] echo [2021-01-08T03:34:05.960Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-718 [Pipeline] echo [2021-01-08T03:34:06.087Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-718 [Pipeline] echo [2021-01-08T03:34:06.217Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fa004407b627d26755ddbd5358ca2bc3bd724c12 [Pipeline] echo [2021-01-08T03:34:06.357Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fa00440 [Pipeline] echo [2021-01-08T03:34:06.491Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-08T03:34:06.984Z] provisioning config files... [2021-01-08T03:34:07.016Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-718@tmp/config247490969352026983tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-08T03:34:07.458Z] ---> docker-login.sh [2021-01-08T03:34:07.458Z] nexus3.edgexfoundry.org:10001 [2021-01-08T03:34:07.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-08T03:34:07.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-08T03:34:07.990Z] Configure a credential helper to remove this warning. See [2021-01-08T03:34:07.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-08T03:34:07.990Z] [2021-01-08T03:34:07.990Z] Login Succeeded [2021-01-08T03:34:07.990Z] nexus3.edgexfoundry.org:10002 [2021-01-08T03:34:07.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-08T03:34:08.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-08T03:34:08.256Z] Configure a credential helper to remove this warning. See [2021-01-08T03:34:08.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-08T03:34:08.256Z] [2021-01-08T03:34:08.256Z] Login Succeeded [2021-01-08T03:34:08.257Z] nexus3.edgexfoundry.org:10003 [2021-01-08T03:34:08.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-08T03:34:08.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-08T03:34:08.257Z] Configure a credential helper to remove this warning. See [2021-01-08T03:34:08.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-08T03:34:08.257Z] [2021-01-08T03:34:08.257Z] Login Succeeded [2021-01-08T03:34:08.257Z] nexus3.edgexfoundry.org:10004 [2021-01-08T03:34:08.522Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-08T03:34:08.522Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-08T03:34:08.522Z] Configure a credential helper to remove this warning. See [2021-01-08T03:34:08.522Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-08T03:34:08.522Z] [2021-01-08T03:34:08.522Z] Login Succeeded [2021-01-08T03:34:08.522Z] docker.io [2021-01-08T03:34:08.522Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-08T03:34:08.786Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-08T03:34:08.786Z] Configure a credential helper to remove this warning. See [2021-01-08T03:34:08.786Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-08T03:34:08.786Z] [2021-01-08T03:34:08.786Z] Login Succeeded [2021-01-08T03:34:08.786Z] ---> docker-login.sh ends [Pipeline] } [2021-01-08T03:34:08.812Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-08T03:34:10.025Z] + git log --format=format:%s -1 fa004407b627d26755ddbd5358ca2bc3bd724c12 [Pipeline] echo [2021-01-08T03:34:10.130Z] GIT_COMMIT: fa004407b627d26755ddbd5358ca2bc3bd724c12, Commit Message: docs(v2): update schema to be consistent with edgex-go [Pipeline] echo [2021-01-08T03:34:10.202Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-08T03:34:11.417Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-08T03:34:11.418Z] [2021-01-08T03:34:11.418Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-08T03:34:11.839Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-08T03:34:11.839Z] latest: Pulling from edgex-devops/git-semver [2021-01-08T03:34:11.839Z] 31603596830f: Pulling fs layer [2021-01-08T03:34:11.839Z] 2a8b12db71e7: Pulling fs layer [2021-01-08T03:34:11.839Z] 6ca5941a6612: Pulling fs layer [2021-01-08T03:34:11.839Z] ecc8261a40a4: Pulling fs layer [2021-01-08T03:34:11.839Z] ecc8261a40a4: Waiting [2021-01-08T03:34:11.839Z] 2a8b12db71e7: Verifying Checksum [2021-01-08T03:34:11.839Z] 2a8b12db71e7: Download complete [2021-01-08T03:34:12.103Z] 31603596830f: Verifying Checksum [2021-01-08T03:34:12.103Z] 31603596830f: Download complete [2021-01-08T03:34:12.103Z] ecc8261a40a4: Verifying Checksum [2021-01-08T03:34:12.103Z] ecc8261a40a4: Download complete [2021-01-08T03:34:12.103Z] 6ca5941a6612: Verifying Checksum [2021-01-08T03:34:12.103Z] 6ca5941a6612: Download complete [2021-01-08T03:34:12.372Z] 31603596830f: Pull complete [2021-01-08T03:34:12.372Z] 2a8b12db71e7: Pull complete [2021-01-08T03:34:13.334Z] 6ca5941a6612: Pull complete [2021-01-08T03:34:13.596Z] ecc8261a40a4: Pull complete [2021-01-08T03:34:13.596Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-08T03:34:13.596Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-08T03:34:13.596Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-08T03:34:13.724Z] prd-centos7-docker-4c-2g-19047 does not seem to be running inside a container [2021-01-08T03:34:13.780Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-718 -v /w/workspace/dgexfoundry_device-sdk-go_PR-718:/w/workspace/dgexfoundry_device-sdk-go_PR-718:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-718@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-718@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:10004/edgex-devops/git-semver:latest cat [2021-01-08T03:34:15.907Z] $ docker top 411e06f229e12e9e2036d2492c9cd62f253ee53e867940ffe1f0e300a3dbd6b1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-08T03:34:16.320Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-08T03:34:16.320Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-08T03:34:16.542Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-08T03:34:16.546Z] $ docker exec 411e06f229e12e9e2036d2492c9cd62f253ee53e867940ffe1f0e300a3dbd6b1 ssh-agent [2021-01-08T03:34:16.714Z] SSH_AUTH_SOCK=/tmp/ssh-2EgKOO6pJuSL/agent.11 [2021-01-08T03:34:16.714Z] SSH_AGENT_PID=16 [2021-01-08T03:34:16.724Z] Running ssh-add (command line suppressed) [2021-01-08T03:34:16.843Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-718@tmp/private_key_1627230196352658686.key (/w/workspace/dgexfoundry_device-sdk-go_PR-718@tmp/private_key_1627230196352658686.key) [2021-01-08T03:34:16.908Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-08T03:34:17.295Z] + git tag --points-at HEAD [Pipeline] } [2021-01-08T03:34:17.329Z] $ docker exec --env ******** --env ******** 411e06f229e12e9e2036d2492c9cd62f253ee53e867940ffe1f0e300a3dbd6b1 ssh-agent -k [2021-01-08T03:34:17.444Z] unset SSH_AUTH_SOCK; [2021-01-08T03:34:17.444Z] unset SSH_AGENT_PID; [2021-01-08T03:34:17.444Z] echo Agent pid 16 killed; [2021-01-08T03:34:17.486Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-08T03:34:17.692Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-08T03:34:17.692Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-08T03:34:17.857Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-08T03:34:17.862Z] $ docker exec 411e06f229e12e9e2036d2492c9cd62f253ee53e867940ffe1f0e300a3dbd6b1 ssh-agent [2021-01-08T03:34:18.022Z] SSH_AUTH_SOCK=/tmp/ssh-rWREntWLclct/agent.44 [2021-01-08T03:34:18.022Z] SSH_AGENT_PID=49 [2021-01-08T03:34:18.029Z] Running ssh-add (command line suppressed) [2021-01-08T03:34:18.149Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-718@tmp/private_key_6842100222981605401.key (/w/workspace/dgexfoundry_device-sdk-go_PR-718@tmp/private_key_6842100222981605401.key) [2021-01-08T03:34:18.211Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-08T03:34:18.647Z] + git semver init [2021-01-08T03:34:18.647Z] # -> Open(): unable to determine branch for HEAD [2021-01-08T03:34:18.647Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-718/.git [2021-01-08T03:34:18.647Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-718 [2021-01-08T03:34:18.647Z] # $SEMVER_REMOTE_NAME = origin [2021-01-08T03:34:18.647Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-08T03:34:18.647Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-08T03:34:18.647Z] # $SEMVER_BRANCH = PR-718 [2021-01-08T03:34:18.647Z] # $SEMVER_TEMP = /tmp/semver-643159229 [2021-01-08T03:34:18.647Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-08T03:34:19.223Z] # '/tmp/semver-643159229' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-718/.semver' [2021-01-08T03:34:19.486Z] # -> Force: false [2021-01-08T03:34:19.486Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-718/.semver [Pipeline] } [2021-01-08T03:34:19.512Z] $ docker exec --env ******** --env ******** 411e06f229e12e9e2036d2492c9cd62f253ee53e867940ffe1f0e300a3dbd6b1 ssh-agent -k [2021-01-08T03:34:19.629Z] unset SSH_AUTH_SOCK; [2021-01-08T03:34:19.630Z] unset SSH_AGENT_PID; [2021-01-08T03:34:19.630Z] echo Agent pid 49 killed; [2021-01-08T03:34:19.680Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-08T03:34:20.266Z] + git semver [Pipeline] } [2021-01-08T03:34:20.301Z] $ docker stop --time=1 411e06f229e12e9e2036d2492c9cd62f253ee53e867940ffe1f0e300a3dbd6b1 [2021-01-08T03:34:22.021Z] $ docker rm -f 411e06f229e12e9e2036d2492c9cd62f253ee53e867940ffe1f0e300a3dbd6b1 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-08T03:34:22.609Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-08T03:34:23.082Z] Stashed 1 file(s) [Pipeline] echo [2021-01-08T03:34:23.109Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-01-08T03:34:39.090Z] Still waiting to schedule task [2021-01-08T03:34:39.090Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-08T03:34:39.116Z] Still waiting to schedule task [2021-01-08T03:34:39.116Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline [2021-01-08T03:36:19.906Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-19048 in /w/workspace/dgexfoundry_device-sdk-go_PR-718 [Pipeline] { [Pipeline] ws [2021-01-08T03:36:20.015Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-01-08T03:36:25.090Z] using credential edgex-jenkins-ssh [2021-01-08T03:36:25.157Z] Cloning the remote Git repository [2021-01-08T03:36:25.221Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-08T03:36:25.335Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-01-08T03:36:25.417Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-08T03:36:25.418Z] > git --version # timeout=10 [2021-01-08T03:36:25.438Z] > git --version # 'git version 2.17.1' [2021-01-08T03:36:25.440Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-08T03:36:25.499Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-08T03:36:27.446Z] Merging remotes/origin/master commit 372098887a6a7d5d9395bdaf9d03a023308f69fd into PR head commit fa004407b627d26755ddbd5358ca2bc3bd724c12 [2021-01-08T03:36:27.715Z] Merge succeeded, producing fa004407b627d26755ddbd5358ca2bc3bd724c12 [2021-01-08T03:36:27.716Z] Checking out Revision fa004407b627d26755ddbd5358ca2bc3bd724c12 (PR-718) [2021-01-08T03:36:26.645Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-08T03:36:26.668Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-08T03:36:26.696Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-08T03:36:26.727Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-08T03:36:26.728Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-08T03:36:26.744Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/718/head:refs/remotes/origin/PR-718 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-08T03:36:27.458Z] > git config core.sparsecheckout # timeout=10 [2021-01-08T03:36:27.473Z] > git checkout -f fa004407b627d26755ddbd5358ca2bc3bd724c12 # timeout=10 [2021-01-08T03:36:27.600Z] > git remote # timeout=10 [2021-01-08T03:36:27.635Z] > git config --get remote.origin.url # timeout=10 [2021-01-08T03:36:27.648Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-08T03:36:27.658Z] > git merge 372098887a6a7d5d9395bdaf9d03a023308f69fd # timeout=10 [2021-01-08T03:36:27.684Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-08T03:36:27.715Z] > git config core.sparsecheckout # timeout=10 [2021-01-08T03:36:27.730Z] > git checkout -f fa004407b627d26755ddbd5358ca2bc3bd724c12 # timeout=10 [2021-01-08T03:36:32.480Z] Commit message: "docs(v2): update schema to be consistent with edgex-go" [2021-01-08T03:36:32.527Z] > git --version # timeout=10 [2021-01-08T03:36:32.545Z] > git --version # 'git version 2.17.1' [2021-01-08T03:36:32.566Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-08T03:36:34.587Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-08T03:36:35.030Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-08T03:36:35.393Z] + true [2021-01-08T03:36:35.393Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-08T03:36:38.176Z] provisioning config files... [2021-01-08T03:36:38.227Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config9184936232793259685tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-08T03:36:38.709Z] ---> docker-login.sh [2021-01-08T03:36:38.709Z] nexus3.edgexfoundry.org:10001 [2021-01-08T03:36:39.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-08T03:36:39.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-08T03:36:39.978Z] Configure a credential helper to remove this warning. See [2021-01-08T03:36:39.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-08T03:36:39.978Z] [2021-01-08T03:36:39.978Z] Login Succeeded [2021-01-08T03:36:39.978Z] nexus3.edgexfoundry.org:10002 [2021-01-08T03:36:40.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-08T03:36:40.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-08T03:36:40.526Z] Configure a credential helper to remove this warning. See [2021-01-08T03:36:40.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-08T03:36:40.526Z] [2021-01-08T03:36:40.526Z] Login Succeeded [2021-01-08T03:36:40.526Z] nexus3.edgexfoundry.org:10003 [2021-01-08T03:36:40.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-08T03:36:40.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-08T03:36:40.798Z] Configure a credential helper to remove this warning. See [2021-01-08T03:36:40.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-08T03:36:40.798Z] [2021-01-08T03:36:40.798Z] Login Succeeded [2021-01-08T03:36:40.798Z] nexus3.edgexfoundry.org:10004 [2021-01-08T03:36:41.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-08T03:36:41.392Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-08T03:36:41.392Z] Configure a credential helper to remove this warning. See [2021-01-08T03:36:41.392Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-08T03:36:41.392Z] [2021-01-08T03:36:41.392Z] Login Succeeded [2021-01-08T03:36:41.392Z] docker.io [2021-01-08T03:36:41.667Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-08T03:36:42.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-08T03:36:42.262Z] Configure a credential helper to remove this warning. See [2021-01-08T03:36:42.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-08T03:36:42.262Z] [2021-01-08T03:36:42.262Z] Login Succeeded [2021-01-08T03:36:42.262Z] ---> docker-login.sh ends [Pipeline] } [2021-01-08T03:36:42.303Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-08T03:36:42.892Z] ========================================================= [2021-01-08T03:36:42.892Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-08T03:36:42.892Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-08T03:36:43.325Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-01-08T03:36:43.599Z] Sending build context to Docker daemon 2.498MB [2021-01-08T03:36:43.876Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-08T03:36:43.876Z] Step 2/8 : FROM ${BASE} [2021-01-08T03:36:43.876Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-08T03:36:43.876Z] 5f621e34cdf4: Pulling fs layer [2021-01-08T03:36:43.876Z] a4357932f1b6: Pulling fs layer [2021-01-08T03:36:43.876Z] 18c013af1878: Pulling fs layer [2021-01-08T03:36:43.876Z] 00ac8860ef70: Pulling fs layer [2021-01-08T03:36:43.876Z] 63d7cb157983: Pulling fs layer [2021-01-08T03:36:43.876Z] b116817d02f9: Pulling fs layer [2021-01-08T03:36:43.876Z] 745a02a5169b: Pulling fs layer [2021-01-08T03:36:43.876Z] 00ac8860ef70: Waiting [2021-01-08T03:36:43.876Z] 63d7cb157983: Waiting [2021-01-08T03:36:43.876Z] b116817d02f9: Waiting [2021-01-08T03:36:43.876Z] 745a02a5169b: Waiting [2021-01-08T03:36:43.876Z] 18c013af1878: Verifying Checksum [2021-01-08T03:36:43.876Z] 18c013af1878: Download complete [2021-01-08T03:36:43.876Z] a4357932f1b6: Verifying Checksum [2021-01-08T03:36:43.876Z] a4357932f1b6: Download complete [2021-01-08T03:36:43.876Z] 63d7cb157983: Verifying Checksum [2021-01-08T03:36:43.876Z] 63d7cb157983: Download complete [2021-01-08T03:36:43.876Z] b116817d02f9: Verifying Checksum [2021-01-08T03:36:43.876Z] b116817d02f9: Download complete [2021-01-08T03:36:43.876Z] 5f621e34cdf4: Verifying Checksum [2021-01-08T03:36:43.876Z] 5f621e34cdf4: Download complete [2021-01-08T03:36:44.863Z] 5f621e34cdf4: Pull complete [2021-01-08T03:36:45.146Z] a4357932f1b6: Pull complete [2021-01-08T03:36:45.751Z] 18c013af1878: Pull complete [2021-01-08T03:36:46.354Z] 745a02a5169b: Download complete [2021-01-08T03:36:47.790Z] 00ac8860ef70: Verifying Checksum [2021-01-08T03:36:47.790Z] 00ac8860ef70: Download complete [2021-01-08T03:36:51.566Z] Running on prd-centos7-docker-4c-2g-19049 in /w/workspace/dgexfoundry_device-sdk-go_PR-718 [Pipeline] { [Pipeline] ws [2021-01-08T03:36:51.664Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-01-08T03:36:54.065Z] using credential edgex-jenkins-ssh [2021-01-08T03:36:54.120Z] Cloning the remote Git repository [2021-01-08T03:36:54.144Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-08T03:36:54.209Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-01-08T03:36:54.267Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-08T03:36:54.267Z] > git --version # timeout=10 [2021-01-08T03:36:54.275Z] > git --version # 'git version 2.24.3' [2021-01-08T03:36:54.276Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-08T03:36:54.303Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-08T03:36:54.967Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-08T03:36:54.973Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-08T03:36:54.986Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-08T03:36:54.998Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-08T03:36:54.999Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-08T03:36:55.004Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/718/head:refs/remotes/origin/PR-718 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-08T03:36:55.476Z] Merging remotes/origin/master commit 372098887a6a7d5d9395bdaf9d03a023308f69fd into PR head commit fa004407b627d26755ddbd5358ca2bc3bd724c12 [2021-01-08T03:36:55.585Z] Merge succeeded, producing fa004407b627d26755ddbd5358ca2bc3bd724c12 [2021-01-08T03:36:55.586Z] Checking out Revision fa004407b627d26755ddbd5358ca2bc3bd724c12 (PR-718) [2021-01-08T03:36:55.486Z] > git config core.sparsecheckout # timeout=10 [2021-01-08T03:36:55.492Z] > git checkout -f fa004407b627d26755ddbd5358ca2bc3bd724c12 # timeout=10 [2021-01-08T03:36:55.550Z] > git remote # timeout=10 [2021-01-08T03:36:55.560Z] > git config --get remote.origin.url # timeout=10 [2021-01-08T03:36:55.565Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-08T03:36:55.569Z] > git merge 372098887a6a7d5d9395bdaf9d03a023308f69fd # timeout=10 [2021-01-08T03:36:55.579Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-08T03:36:55.589Z] > git config core.sparsecheckout # timeout=10 [2021-01-08T03:36:55.595Z] > git checkout -f fa004407b627d26755ddbd5358ca2bc3bd724c12 # timeout=10 [2021-01-08T03:36:57.971Z] 00ac8860ef70: Pull complete [2021-01-08T03:36:58.244Z] 63d7cb157983: Pull complete [2021-01-08T03:36:58.517Z] b116817d02f9: Pull complete [2021-01-08T03:36:59.259Z] Commit message: "docs(v2): update schema to be consistent with edgex-go" [2021-01-08T03:36:59.297Z] > git --version # timeout=10 [2021-01-08T03:36:59.303Z] > git --version # 'git version 2.24.3' [2021-01-08T03:36:59.307Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-08T03:37:00.587Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-08T03:37:00.947Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-08T03:37:01.272Z] + sudo service docker restart [2021-01-08T03:37:01.272Z] + true [2021-01-08T03:37:01.272Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-08T03:37:02.362Z] provisioning config files... [2021-01-08T03:37:02.395Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4211266217058236311tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-08T03:37:02.824Z] 745a02a5169b: Pull complete [2021-01-08T03:37:02.824Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-08T03:37:02.824Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-08T03:37:02.824Z] ---> b7e6874047d6 [2021-01-08T03:37:02.824Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-08T03:37:02.836Z] ---> docker-login.sh [2021-01-08T03:37:02.836Z] nexus3.edgexfoundry.org:10001 [2021-01-08T03:37:03.099Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-08T03:37:03.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-08T03:37:03.367Z] Configure a credential helper to remove this warning. See [2021-01-08T03:37:03.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-08T03:37:03.367Z] [2021-01-08T03:37:03.367Z] Login Succeeded [2021-01-08T03:37:03.367Z] nexus3.edgexfoundry.org:10002 [2021-01-08T03:37:03.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-08T03:37:03.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-08T03:37:03.367Z] Configure a credential helper to remove this warning. See [2021-01-08T03:37:03.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-08T03:37:03.367Z] [2021-01-08T03:37:03.367Z] Login Succeeded [2021-01-08T03:37:03.367Z] nexus3.edgexfoundry.org:10003 [2021-01-08T03:37:03.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-08T03:37:03.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-08T03:37:03.631Z] Configure a credential helper to remove this warning. See [2021-01-08T03:37:03.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-08T03:37:03.631Z] [2021-01-08T03:37:03.631Z] Login Succeeded [2021-01-08T03:37:03.631Z] nexus3.edgexfoundry.org:10004 [2021-01-08T03:37:03.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-08T03:37:03.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-08T03:37:03.897Z] Configure a credential helper to remove this warning. See [2021-01-08T03:37:03.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-08T03:37:03.897Z] [2021-01-08T03:37:03.897Z] Login Succeeded [2021-01-08T03:37:03.897Z] docker.io [2021-01-08T03:37:03.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-08T03:37:04.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-08T03:37:04.165Z] Configure a credential helper to remove this warning. See [2021-01-08T03:37:04.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-08T03:37:04.165Z] [2021-01-08T03:37:04.165Z] Login Succeeded [2021-01-08T03:37:04.165Z] ---> docker-login.sh ends [Pipeline] } [2021-01-08T03:37:04.191Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-08T03:37:04.778Z] ========================================================= [2021-01-08T03:37:04.778Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-08T03:37:04.778Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-08T03:37:05.183Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-01-08T03:37:05.455Z] Sending build context to Docker daemon 2.502MB [2021-01-08T03:37:05.455Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-08T03:37:05.455Z] Step 2/8 : FROM ${BASE} [2021-01-08T03:37:05.455Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-08T03:37:05.455Z] 188c0c94c7c5: Pulling fs layer [2021-01-08T03:37:05.455Z] 0ef7d3d256c8: Pulling fs layer [2021-01-08T03:37:05.455Z] de9db76c5a1d: Pulling fs layer [2021-01-08T03:37:05.455Z] bca2f99d35d6: Pulling fs layer [2021-01-08T03:37:05.455Z] 93359f2a8cfa: Pulling fs layer [2021-01-08T03:37:05.455Z] 7c6f9722023f: Pulling fs layer [2021-01-08T03:37:05.455Z] a35cf1a2eb13: Pulling fs layer [2021-01-08T03:37:05.455Z] bca2f99d35d6: Waiting [2021-01-08T03:37:05.455Z] 93359f2a8cfa: Waiting [2021-01-08T03:37:05.455Z] a35cf1a2eb13: Waiting [2021-01-08T03:37:05.455Z] 7c6f9722023f: Waiting [2021-01-08T03:37:05.455Z] de9db76c5a1d: Verifying Checksum [2021-01-08T03:37:05.455Z] de9db76c5a1d: Download complete [2021-01-08T03:37:05.455Z] 0ef7d3d256c8: Verifying Checksum [2021-01-08T03:37:05.455Z] 0ef7d3d256c8: Download complete [2021-01-08T03:37:05.455Z] 93359f2a8cfa: Verifying Checksum [2021-01-08T03:37:05.455Z] 93359f2a8cfa: Download complete [2021-01-08T03:37:05.455Z] 188c0c94c7c5: Verifying Checksum [2021-01-08T03:37:05.455Z] 188c0c94c7c5: Download complete [2021-01-08T03:37:05.455Z] 7c6f9722023f: Verifying Checksum [2021-01-08T03:37:05.455Z] 7c6f9722023f: Download complete [2021-01-08T03:37:05.469Z] ---> Running in 8f085977fce3 [2021-01-08T03:37:05.469Z] Removing intermediate container 8f085977fce3 [2021-01-08T03:37:05.469Z] ---> c83a5203a38c [2021-01-08T03:37:05.469Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-08T03:37:05.469Z] ---> Running in 073891f39ef1 [2021-01-08T03:37:05.720Z] 188c0c94c7c5: Pull complete [2021-01-08T03:37:05.997Z] 0ef7d3d256c8: Pull complete [2021-01-08T03:37:06.266Z] de9db76c5a1d: Pull complete [2021-01-08T03:37:07.225Z] a35cf1a2eb13: Download complete [2021-01-08T03:37:07.807Z] bca2f99d35d6: Verifying Checksum [2021-01-08T03:37:07.807Z] bca2f99d35d6: Download complete [2021-01-08T03:37:08.095Z] Removing intermediate container 073891f39ef1 [2021-01-08T03:37:08.095Z] ---> d3bafc7a074d [2021-01-08T03:37:08.095Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-08T03:37:08.095Z] ---> Running in 1b8a503e88ec [2021-01-08T03:37:09.084Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-08T03:37:09.679Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-08T03:37:10.277Z] OK: 142 MiB in 39 packages [2021-01-08T03:37:11.299Z] Removing intermediate container 1b8a503e88ec [2021-01-08T03:37:11.299Z] ---> 119fd522db91 [2021-01-08T03:37:11.299Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-08T03:37:11.575Z] ---> Running in 92f83d49132e [2021-01-08T03:37:12.172Z] Removing intermediate container 92f83d49132e [2021-01-08T03:37:12.172Z] ---> 5d7b3460ec80 [2021-01-08T03:37:12.172Z] Step 7/8 : COPY . . [2021-01-08T03:37:13.636Z] ---> 4635b377f47d [2021-01-08T03:37:13.636Z] Step 8/8 : RUN go mod download [2021-01-08T03:37:13.636Z] ---> Running in 127bb8920522 [2021-01-08T03:37:14.455Z] bca2f99d35d6: Pull complete [2021-01-08T03:37:14.456Z] 93359f2a8cfa: Pull complete [2021-01-08T03:37:14.456Z] 7c6f9722023f: Pull complete [2021-01-08T03:37:19.782Z] a35cf1a2eb13: Pull complete [2021-01-08T03:37:19.782Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-08T03:37:19.782Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-08T03:37:19.782Z] ---> a62c8e92a672 [2021-01-08T03:37:19.782Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-08T03:37:19.782Z] ---> Running in 2a7185a40187 [2021-01-08T03:37:19.782Z] Removing intermediate container 2a7185a40187 [2021-01-08T03:37:19.782Z] ---> 0a26146b1812 [2021-01-08T03:37:19.782Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-08T03:37:19.782Z] ---> Running in 0183069e612e [2021-01-08T03:37:20.737Z] Removing intermediate container 0183069e612e [2021-01-08T03:37:20.737Z] ---> 46f61a75eb54 [2021-01-08T03:37:20.737Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-08T03:37:21.003Z] ---> Running in c4c803a33c99 [2021-01-08T03:37:21.583Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-08T03:37:22.159Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-08T03:37:22.734Z] OK: 166 MiB in 39 packages [2021-01-08T03:37:22.996Z] Removing intermediate container c4c803a33c99 [2021-01-08T03:37:22.996Z] ---> 00157265fe7d [2021-01-08T03:37:22.996Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-08T03:37:23.259Z] ---> Running in 4b995e02892d [2021-01-08T03:37:23.259Z] Removing intermediate container 4b995e02892d [2021-01-08T03:37:23.259Z] ---> e98fa7cebb73 [2021-01-08T03:37:23.259Z] Step 7/8 : COPY . . [2021-01-08T03:37:24.653Z] ---> c14ee3c67463 [2021-01-08T03:37:24.653Z] Step 8/8 : RUN go mod download [2021-01-08T03:37:24.653Z] ---> Running in 8154b8ad9998 [2021-01-08T03:37:35.808Z] Removing intermediate container 127bb8920522 [2021-01-08T03:37:35.808Z] ---> d69c98a92342 [2021-01-08T03:37:35.808Z] Successfully built d69c98a92342 [2021-01-08T03:37:35.808Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-08T03:37:36.182Z] + docker inspect -f . ci-base-image-arm64 [2021-01-08T03:37:36.182Z] . [Pipeline] withDockerContainer [2021-01-08T03:37:36.491Z] prd-ubuntu18.04-docker-arm64-4c-16g-19048 does not seem to be running inside a container [2021-01-08T03:37:36.571Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-08T03:37:38.103Z] $ docker top b6e96820d4ae5daeed93e1c1792b09797f740e46689297534266ab403202b133 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-08T03:37:39.178Z] + go version [2021-01-08T03:37:39.178Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-08T03:37:39.211Z] $ docker stop --time=1 b6e96820d4ae5daeed93e1c1792b09797f740e46689297534266ab403202b133 [2021-01-08T03:37:41.264Z] $ docker rm -f b6e96820d4ae5daeed93e1c1792b09797f740e46689297534266ab403202b133 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-08T03:37:42.687Z] + docker inspect -f . ci-base-image-arm64 [2021-01-08T03:37:42.687Z] . [Pipeline] withDockerContainer [2021-01-08T03:37:42.829Z] Removing intermediate container 8154b8ad9998 [2021-01-08T03:37:42.829Z] ---> 4ba73a984b19 [2021-01-08T03:37:42.829Z] Successfully built 4ba73a984b19 [2021-01-08T03:37:42.829Z] Successfully tagged ci-base-image-x86_64:latest [2021-01-08T03:37:42.980Z] prd-ubuntu18.04-docker-arm64-4c-16g-19048 does not seem to be running inside a container [2021-01-08T03:37:43.059Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-08T03:37:44.586Z] $ docker top b0cd32defb3bcf5d1bcd80c78baac5f9fd777b33ed8cb507383a33c9c0c8bc63 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-01-08T03:37:45.453Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-08T03:37:45.453Z] . [Pipeline] withDockerContainer [2021-01-08T03:37:45.592Z] prd-centos7-docker-4c-2g-19049 does not seem to be running inside a container [2021-01-08T03:37:45.646Z] $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-08T03:37:45.650Z] + make test [2021-01-08T03:37:45.650Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-08T03:37:46.417Z] $ docker top b9ea0a196f92165332afb071cfc8e4b18e1c7a44f297f420814a0b4613a5040d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-08T03:37:47.028Z] + go version [2021-01-08T03:37:47.029Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-08T03:37:47.062Z] $ docker stop --time=1 b9ea0a196f92165332afb071cfc8e4b18e1c7a44f297f420814a0b4613a5040d [2021-01-08T03:37:48.453Z] $ docker rm -f b9ea0a196f92165332afb071cfc8e4b18e1c7a44f297f420814a0b4613a5040d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-08T03:37:49.553Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-08T03:37:49.553Z] . [Pipeline] withDockerContainer [2021-01-08T03:37:49.674Z] prd-centos7-docker-4c-2g-19049 does not seem to be running inside a container [2021-01-08T03:37:49.728Z] $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-08T03:37:50.481Z] $ docker top 2bedb951578edd4eefb8ef03cf7b64492adf969db069ae6f3887284eb5e130ee -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-08T03:37:51.032Z] + make test [2021-01-08T03:37:51.032Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-08T03:37:57.683Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2021-01-08T03:38:07.815Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2021-01-08T03:38:10.041Z] # github.com/edgexfoundry/go-mod-bootstrap/bootstrap/logging [2021-01-08T03:38:10.041Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/bootstrap/logging/factory.go:29:9: undefined: logger.NewClientStdOut [2021-01-08T03:38:10.041Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/bootstrap/logging/factory.go:42:25: too many arguments in call to logger.NewClient [2021-01-08T03:38:10.041Z] have (string, bool, string, string) [2021-01-08T03:38:10.041Z] want (string, string) [2021-01-08T03:38:11.457Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/autoevent [build failed] [2021-01-08T03:38:11.457Z] # github.com/edgexfoundry/device-sdk-go/internal/common [github.com/edgexfoundry/device-sdk-go/internal/common.test] [2021-01-08T03:38:11.457Z] internal/common/utils_test.go:110:8: undefined: logger.NewClientStdOut [2021-01-08T03:38:12.058Z] # github.com/edgexfoundry/device-sdk-go/internal/transformer [github.com/edgexfoundry/device-sdk-go/internal/transformer.test] [2021-01-08T03:38:12.058Z] internal/transformer/transformresult_test.go:23:7: undefined: logger.NewClientStdOut [2021-01-08T03:38:13.457Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.437s coverage: 97.1% of statements [2021-01-08T03:38:13.457Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/clients [build failed] [2021-01-08T03:38:13.457Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/common [build failed] [2021-01-08T03:38:13.457Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] [2021-01-08T03:38:13.457Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/handler [build failed] [2021-01-08T03:38:13.457Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/transformer [build failed] [2021-01-08T03:38:15.383Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.392s coverage: 68.9% of statements [2021-01-08T03:38:15.383Z] FAIL github.com/edgexfoundry/device-sdk-go/pkg/service [build failed] [2021-01-08T03:38:15.383Z] make: *** [Makefile:32: test] Error 2 [Pipeline] } [2021-01-08T03:38:15.438Z] $ docker stop --time=1 2bedb951578edd4eefb8ef03cf7b64492adf969db069ae6f3887284eb5e130ee [2021-01-08T03:38:17.450Z] $ docker rm -f 2bedb951578edd4eefb8ef03cf7b64492adf969db069ae6f3887284eb5e130ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-08T03:38:19.924Z] Failed in branch amd64 [2021-01-08T03:38:34.645Z] # github.com/edgexfoundry/go-mod-bootstrap/bootstrap/logging [2021-01-08T03:38:34.645Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/bootstrap/logging/factory.go:29:9: undefined: logger.NewClientStdOut [2021-01-08T03:38:34.646Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap@v0.0.60/bootstrap/logging/factory.go:42:25: too many arguments in call to logger.NewClient [2021-01-08T03:38:34.646Z] have (string, bool, string, string) [2021-01-08T03:38:34.646Z] want (string, string) [2021-01-08T03:38:42.945Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/autoevent [build failed] [2021-01-08T03:38:42.945Z] # github.com/edgexfoundry/device-sdk-go/internal/common [github.com/edgexfoundry/device-sdk-go/internal/common.test] [2021-01-08T03:38:42.945Z] internal/common/utils_test.go:110:8: undefined: logger.NewClientStdOut [2021-01-08T03:38:44.387Z] # github.com/edgexfoundry/device-sdk-go/internal/transformer [github.com/edgexfoundry/device-sdk-go/internal/transformer.test] [2021-01-08T03:38:44.387Z] internal/transformer/transformresult_test.go:23:7: undefined: logger.NewClientStdOut [2021-01-08T03:38:48.032Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.130s coverage: 97.1% of statements [2021-01-08T03:38:48.032Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/clients [build failed] [2021-01-08T03:38:48.032Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/common [build failed] [2021-01-08T03:38:48.032Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] [2021-01-08T03:38:48.032Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/handler [build failed] [2021-01-08T03:38:48.032Z] FAIL github.com/edgexfoundry/device-sdk-go/internal/transformer [build failed] [2021-01-08T03:38:52.336Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.735s coverage: 68.9% of statements [2021-01-08T03:38:52.337Z] FAIL github.com/edgexfoundry/device-sdk-go/pkg/service [build failed] [2021-01-08T03:38:52.608Z] make: *** [Makefile:32: test] Error 2 [Pipeline] } [2021-01-08T03:38:52.658Z] $ docker stop --time=1 b0cd32defb3bcf5d1bcd80c78baac5f9fd777b33ed8cb507383a33c9c0c8bc63 [2021-01-08T03:38:54.962Z] $ docker rm -f b0cd32defb3bcf5d1bcd80c78baac5f9fd777b33ed8cb507383a33c9c0c8bc63 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-08T03:38:57.590Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-01-08T03:39:02.639Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-08T03:39:03.283Z] ---> package-listing.sh [2021-01-08T03:39:03.283Z] ++ facter osfamily [2021-01-08T03:39:03.283Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-08T03:39:03.283Z] + OS_FAMILY=redhat [2021-01-08T03:39:03.283Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-718 [2021-01-08T03:39:03.283Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-08T03:39:03.283Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-08T03:39:03.283Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-08T03:39:03.283Z] + PACKAGES=/tmp/packages_start.txt [2021-01-08T03:39:03.283Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-718 ']' [2021-01-08T03:39:03.283Z] + PACKAGES=/tmp/packages_end.txt [2021-01-08T03:39:03.283Z] + case "${OS_FAMILY}" in [2021-01-08T03:39:03.283Z] + rpm -qa [2021-01-08T03:39:03.283Z] + sort [2021-01-08T03:39:08.622Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-08T03:39:08.622Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-08T03:39:08.622Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-08T03:39:08.622Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-718 ']' [2021-01-08T03:39:08.622Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-718/archives/ [2021-01-08T03:39:08.623Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-718/archives/ [Pipeline] echo [2021-01-08T03:39:08.657Z] 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-718/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-08T03:39:08.968Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-08T03:39:09.320Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-08T03:39:09.320Z] [2021-01-08T03:39:09.320Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-08T03:39:09.719Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-08T03:39:09.719Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-08T03:39:09.719Z] df20fa9351a1: Pulling fs layer [2021-01-08T03:39:09.719Z] 36b3adc4ff6f: Pulling fs layer [2021-01-08T03:39:09.719Z] 8ad3a11d3b57: Pulling fs layer [2021-01-08T03:39:09.719Z] 46f8f816bc3b: Pulling fs layer [2021-01-08T03:39:09.719Z] 93b61091891f: Pulling fs layer [2021-01-08T03:39:09.719Z] 93b9cdb0e59b: Pulling fs layer [2021-01-08T03:39:09.719Z] 5e14af77c1be: Pulling fs layer [2021-01-08T03:39:09.719Z] 01666e4c0597: Pulling fs layer [2021-01-08T03:39:09.719Z] aa168da1d23b: Pulling fs layer [2021-01-08T03:39:09.719Z] 93b9cdb0e59b: Waiting [2021-01-08T03:39:09.719Z] 5e14af77c1be: Waiting [2021-01-08T03:39:09.719Z] 01666e4c0597: Waiting [2021-01-08T03:39:09.719Z] aa168da1d23b: Waiting [2021-01-08T03:39:09.719Z] 46f8f816bc3b: Waiting [2021-01-08T03:39:09.719Z] 36b3adc4ff6f: Verifying Checksum [2021-01-08T03:39:09.719Z] 36b3adc4ff6f: Download complete [2021-01-08T03:39:09.986Z] 46f8f816bc3b: Verifying Checksum [2021-01-08T03:39:09.986Z] 46f8f816bc3b: Download complete [2021-01-08T03:39:09.986Z] df20fa9351a1: Download complete [2021-01-08T03:39:09.986Z] 93b9cdb0e59b: Verifying Checksum [2021-01-08T03:39:09.986Z] 93b9cdb0e59b: Download complete [2021-01-08T03:39:09.986Z] 5e14af77c1be: Verifying Checksum [2021-01-08T03:39:09.986Z] 5e14af77c1be: Download complete [2021-01-08T03:39:09.986Z] 93b61091891f: Download complete [2021-01-08T03:39:09.986Z] 01666e4c0597: Verifying Checksum [2021-01-08T03:39:09.986Z] 01666e4c0597: Download complete [2021-01-08T03:39:09.986Z] 8ad3a11d3b57: Verifying Checksum [2021-01-08T03:39:09.986Z] 8ad3a11d3b57: Download complete [2021-01-08T03:39:10.248Z] df20fa9351a1: Pull complete [2021-01-08T03:39:10.514Z] 36b3adc4ff6f: Pull complete [2021-01-08T03:39:11.464Z] 8ad3a11d3b57: Pull complete [2021-01-08T03:39:11.464Z] 46f8f816bc3b: Pull complete [2021-01-08T03:39:12.046Z] aa168da1d23b: Verifying Checksum [2021-01-08T03:39:12.047Z] aa168da1d23b: Download complete [2021-01-08T03:39:12.047Z] 93b61091891f: Pull complete [2021-01-08T03:39:12.316Z] 93b9cdb0e59b: Pull complete [2021-01-08T03:39:12.579Z] 5e14af77c1be: Pull complete [2021-01-08T03:39:12.579Z] 01666e4c0597: Pull complete [2021-01-08T03:39:20.777Z] aa168da1d23b: Pull complete [2021-01-08T03:39:20.777Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-08T03:39:20.777Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-08T03:39:20.777Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-08T03:39:21.006Z] prd-centos7-docker-4c-2g-19047 does not seem to be running inside a container [2021-01-08T03:39:21.054Z] $ 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-718/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-718 -v /w/workspace/dgexfoundry_device-sdk-go_PR-718:/w/workspace/dgexfoundry_device-sdk-go_PR-718:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-718@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-718@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-08T03:39:24.450Z] $ docker top 67cae72ec561d1be15b1a44d4d662748425848e4d8ae01a75e3e4b74efb3974a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-08T03:39:25.076Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-08T03:39:25.400Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-08T03:39:25.722Z] + ls /var/log/sa-host [2021-01-08T03:39:25.722Z] + sadf -c /var/log/sa-host/sa08 [2021-01-08T03:39:25.722Z] file_magic: OK [2021-01-08T03:39:25.722Z] HZ: Using current value: 100 [2021-01-08T03:39:25.722Z] file_header: OK [2021-01-08T03:39:25.722Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-08T03:39:25.722Z] Statistics: [2021-01-08T03:39:25.722Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-08T03:39:25.722Z] File successfully converted to sysstat format version 12.2.1 [2021-01-08T03:39:25.722Z] + sadf -c /var/log/sa-host/sa23 [2021-01-08T03:39:25.722Z] file_magic: OK [2021-01-08T03:39:25.722Z] HZ: Using current value: 100 [2021-01-08T03:39:25.722Z] file_header: OK [2021-01-08T03:39:25.722Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-08T03:39:25.722Z] Statistics: [2021-01-08T03:39:25.722Z] Hnuu...uuuununununu... [2021-01-08T03:39:25.722Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-08T03:39:26.464Z] provisioning config files... [2021-01-08T03:39:26.481Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-718@tmp/config8023535715728394035tmp [Pipeline] { [Pipeline] echo [2021-01-08T03:39:26.613Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-08T03:39:26.948Z] ---> create-netrc.sh [Pipeline] } [2021-01-08T03:39:26.981Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-08T03:39:27.140Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-08T03:39:27.510Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-08T03:39:27.563Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-08T03:39:27.901Z] ---> sudo-logs.sh [2021-01-08T03:39:27.901Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-08T03:39:27.929Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-08T03:39:28.262Z] ---> job-cost.sh [2021-01-08T03:39:28.262Z] lf-activate-venv: SKIPPING [2021-01-08T03:39:28.262Z] INFO: No Stack... [2021-01-08T03:39:29.213Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-08T03:39:29.788Z] INFO: Archiving Costs [Pipeline] echo [2021-01-08T03:39:29.826Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-08T03:39:30.164Z] ---> logs-deploy.sh [2021-01-08T03:39:30.164Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-718/1 [2021-01-08T03:39:30.164Z] INFO: archiving workspace using pattern(s): [2021-01-08T03:39:32.081Z] Archives upload complete. [2021-01-08T03:39:32.081Z] INFO: archiving logs to Nexus