Pull request #776 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from a56c153e329570afc9861a163afe30f4a2cd2c46+3aea893206dfece0cb943228d650ae216607898f (1638b2b98704c2879685c00e6c2790beeddc9db3) 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 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-776/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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 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-776/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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > 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 69a7e166112f335804d9fea76440e5140e47f034 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-25202 in /w/workspace/dgexfoundry_device-sdk-go_PR-776 [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-776 # 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 Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit a56c153e329570afc9861a163afe30f4a2cd2c46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/776/head:refs/remotes/origin/PR-776 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a56c153e329570afc9861a163afe30f4a2cd2c46 # timeout=10 Merge succeeded, producing a56c153e329570afc9861a163afe30f4a2cd2c46 Checking out Revision a56c153e329570afc9861a163afe30f4a2cd2c46 (PR-776) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 3aea893206dfece0cb943228d650ae216607898f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a56c153e329570afc9861a163afe30f4a2cd2c46 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-05T05:59:15.297Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-05T05:59:15.648Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-05T05:59:16.098Z] ========================================================= [2021-02-05T05:59:16.098Z] EdgeX Global Pipelines Version Info [2021-02-05T05:59:16.098Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-05T05:59:17.643Z] ------------------- [2021-02-05T05:59:17.643Z] stable info: [2021-02-05T05:59:17.643Z] ------------------- [2021-02-05T05:59:17.643Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-05T05:59:17.643Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-05T05:59:17.643Z] Message: update stable to v1.0.179 [2021-02-05T05:59:18.591Z] ------------------- [2021-02-05T05:59:18.591Z] experimental info: [2021-02-05T05:59:18.591Z] ------------------- [2021-02-05T05:59:18.591Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-05T05:59:18.591Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-05T05:59:18.591Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-05T05:59:18.990Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-02-05T05:59:19.116Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-02-05T05:59:19.236Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-05T05:59:19.369Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-05T05:59:19.493Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-05T05:59:19.616Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-05T05:59:19.733Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-05T05:59:19.853Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-05T05:59:20.072Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-02-05T05:59:20.233Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-05T05:59:20.371Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-05T05:59:20.499Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-02-05T05:59:20.626Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-05T05:59:20.813Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-05T05:59:20.983Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-02-05T05:59:21.121Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-05T05:59:21.275Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-05T05:59:21.407Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-05T05:59:21.540Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-05T05:59:21.677Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-05T05:59:21.806Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-02-05T05:59:21.942Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-02-05T05:59:22.089Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-05T05:59:22.213Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-05T05:59:22.335Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-02-05T05:59:22.453Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-02-05T05:59:22.573Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-02-05T05:59:22.733Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-776 [Pipeline] echo [2021-02-05T05:59:22.860Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-776 [Pipeline] echo [2021-02-05T05:59:22.981Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-776 [Pipeline] echo [2021-02-05T05:59:23.125Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a56c153e329570afc9861a163afe30f4a2cd2c46 [Pipeline] echo [2021-02-05T05:59:23.248Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a56c153 [Pipeline] echo [2021-02-05T05:59:23.387Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-05T05:59:23.744Z] provisioning config files... [2021-02-05T05:59:23.778Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-776@tmp/config4626199209486838138tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-05T05:59:24.200Z] ---> docker-login.sh [2021-02-05T05:59:24.200Z] nexus3.edgexfoundry.org:10001 [2021-02-05T05:59:24.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-05T05:59:24.466Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-05T05:59:24.466Z] Configure a credential helper to remove this warning. See [2021-02-05T05:59:24.466Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-05T05:59:24.466Z] [2021-02-05T05:59:24.466Z] Login Succeeded [2021-02-05T05:59:24.466Z] nexus3.edgexfoundry.org:10002 [2021-02-05T05:59:24.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-05T05:59:24.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-05T05:59:24.730Z] Configure a credential helper to remove this warning. See [2021-02-05T05:59:24.730Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-05T05:59:24.730Z] [2021-02-05T05:59:24.730Z] Login Succeeded [2021-02-05T05:59:24.730Z] nexus3.edgexfoundry.org:10003 [2021-02-05T05:59:24.730Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-05T05:59:24.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-05T05:59:24.730Z] Configure a credential helper to remove this warning. See [2021-02-05T05:59:24.730Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-05T05:59:24.730Z] [2021-02-05T05:59:24.730Z] Login Succeeded [2021-02-05T05:59:24.730Z] nexus3.edgexfoundry.org:10004 [2021-02-05T05:59:24.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-05T05:59:24.993Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-05T05:59:24.993Z] Configure a credential helper to remove this warning. See [2021-02-05T05:59:24.993Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-05T05:59:24.993Z] [2021-02-05T05:59:24.993Z] Login Succeeded [2021-02-05T05:59:24.993Z] docker.io [2021-02-05T05:59:24.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-05T05:59:25.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-05T05:59:25.257Z] Configure a credential helper to remove this warning. See [2021-02-05T05:59:25.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-05T05:59:25.257Z] [2021-02-05T05:59:25.257Z] Login Succeeded [2021-02-05T05:59:25.257Z] ---> docker-login.sh ends [Pipeline] } [2021-02-05T05:59:25.283Z] 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-02-05T05:59:26.333Z] + git log --format=format:%s -1 a56c153e329570afc9861a163afe30f4a2cd2c46 [Pipeline] echo [2021-02-05T05:59:26.428Z] GIT_COMMIT: a56c153e329570afc9861a163afe30f4a2cd2c46, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-02-05T05:59:26.503Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-05T05:59:27.189Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-05T05:59:27.189Z] [2021-02-05T05:59:27.189Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-05T05:59:27.585Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-05T05:59:27.585Z] latest: Pulling from edgex-devops/git-semver [2021-02-05T05:59:27.585Z] 31603596830f: Pulling fs layer [2021-02-05T05:59:27.585Z] 2a8b12db71e7: Pulling fs layer [2021-02-05T05:59:27.585Z] 6ca5941a6612: Pulling fs layer [2021-02-05T05:59:27.585Z] ecc8261a40a4: Pulling fs layer [2021-02-05T05:59:27.585Z] ecc8261a40a4: Waiting [2021-02-05T05:59:27.585Z] 2a8b12db71e7: Verifying Checksum [2021-02-05T05:59:27.585Z] 2a8b12db71e7: Download complete [2021-02-05T05:59:27.585Z] 31603596830f: Verifying Checksum [2021-02-05T05:59:27.585Z] 31603596830f: Download complete [2021-02-05T05:59:27.852Z] ecc8261a40a4: Verifying Checksum [2021-02-05T05:59:27.852Z] ecc8261a40a4: Download complete [2021-02-05T05:59:27.852Z] 6ca5941a6612: Verifying Checksum [2021-02-05T05:59:27.852Z] 6ca5941a6612: Download complete [2021-02-05T05:59:27.852Z] 31603596830f: Pull complete [2021-02-05T05:59:28.115Z] 2a8b12db71e7: Pull complete [2021-02-05T05:59:28.698Z] 6ca5941a6612: Pull complete [2021-02-05T05:59:28.960Z] ecc8261a40a4: Pull complete [2021-02-05T05:59:28.960Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-05T05:59:29.221Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-05T05:59:29.221Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-05T05:59:29.344Z] prd-centos7-docker-4c-2g-25202 does not seem to be running inside a container [2021-02-05T05:59:29.397Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-776 -v /w/workspace/dgexfoundry_device-sdk-go_PR-776:/w/workspace/dgexfoundry_device-sdk-go_PR-776:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-776@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-776@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 [2021-02-05T05:59:31.997Z] $ docker top da07a8c75a4fb0b2ae2f4b73bf24bf8e8c6ac2b26d4eeec0c4077cfb95dc3135 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-05T05:59:32.442Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-05T05:59:32.442Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-05T05:59:32.648Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-05T05:59:32.654Z] $ docker exec da07a8c75a4fb0b2ae2f4b73bf24bf8e8c6ac2b26d4eeec0c4077cfb95dc3135 ssh-agent [2021-02-05T05:59:32.818Z] SSH_AUTH_SOCK=/tmp/ssh-NKIeTKN3j7yS/agent.11 [2021-02-05T05:59:32.818Z] SSH_AGENT_PID=17 [2021-02-05T05:59:32.828Z] Running ssh-add (command line suppressed) [2021-02-05T05:59:32.943Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-776@tmp/private_key_2673165080981394874.key (/w/workspace/dgexfoundry_device-sdk-go_PR-776@tmp/private_key_2673165080981394874.key) [2021-02-05T05:59:32.992Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-05T05:59:33.378Z] + git tag --points-at HEAD [Pipeline] } [2021-02-05T05:59:33.412Z] $ docker exec --env ******** --env ******** da07a8c75a4fb0b2ae2f4b73bf24bf8e8c6ac2b26d4eeec0c4077cfb95dc3135 ssh-agent -k [2021-02-05T05:59:33.518Z] unset SSH_AUTH_SOCK; [2021-02-05T05:59:33.519Z] unset SSH_AGENT_PID; [2021-02-05T05:59:33.519Z] echo Agent pid 17 killed; [2021-02-05T05:59:33.561Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-05T05:59:33.752Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-05T05:59:33.752Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-05T05:59:33.914Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-05T05:59:33.921Z] $ docker exec da07a8c75a4fb0b2ae2f4b73bf24bf8e8c6ac2b26d4eeec0c4077cfb95dc3135 ssh-agent [2021-02-05T05:59:34.073Z] SSH_AUTH_SOCK=/tmp/ssh-8AIqzLAVzEhy/agent.47 [2021-02-05T05:59:34.073Z] SSH_AGENT_PID=52 [2021-02-05T05:59:34.080Z] Running ssh-add (command line suppressed) [2021-02-05T05:59:34.197Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-776@tmp/private_key_4591272907886211459.key (/w/workspace/dgexfoundry_device-sdk-go_PR-776@tmp/private_key_4591272907886211459.key) [2021-02-05T05:59:34.247Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-05T05:59:34.619Z] + git semver init [2021-02-05T05:59:34.619Z] # -> Open(): unable to determine branch for HEAD [2021-02-05T05:59:34.619Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-776/.git [2021-02-05T05:59:34.619Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-776 [2021-02-05T05:59:34.619Z] # $SEMVER_REMOTE_NAME = origin [2021-02-05T05:59:34.619Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-05T05:59:34.619Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-05T05:59:34.619Z] # $SEMVER_BRANCH = PR-776 [2021-02-05T05:59:34.619Z] # $SEMVER_TEMP = /tmp/semver-069338792 [2021-02-05T05:59:34.619Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-02-05T05:59:35.192Z] # '/tmp/semver-069338792' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-776/.semver' [2021-02-05T05:59:35.192Z] # -> Force: false [2021-02-05T05:59:35.192Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-776/.semver [Pipeline] } [2021-02-05T05:59:35.213Z] $ docker exec --env ******** --env ******** da07a8c75a4fb0b2ae2f4b73bf24bf8e8c6ac2b26d4eeec0c4077cfb95dc3135 ssh-agent -k [2021-02-05T05:59:35.320Z] unset SSH_AUTH_SOCK; [2021-02-05T05:59:35.321Z] unset SSH_AGENT_PID; [2021-02-05T05:59:35.322Z] echo Agent pid 52 killed; [2021-02-05T05:59:35.363Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-05T05:59:35.927Z] + git semver [Pipeline] } [2021-02-05T05:59:35.963Z] $ docker stop --time=1 da07a8c75a4fb0b2ae2f4b73bf24bf8e8c6ac2b26d4eeec0c4077cfb95dc3135 [2021-02-05T05:59:37.372Z] $ docker rm -f da07a8c75a4fb0b2ae2f4b73bf24bf8e8c6ac2b26d4eeec0c4077cfb95dc3135 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-05T05:59:37.901Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-05T05:59:38.312Z] Stashed 1 file(s) [Pipeline] echo [2021-02-05T05:59:38.336Z] [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-02-05T05:59:54.258Z] Still waiting to schedule task [2021-02-05T05:59:54.258Z] ‘prd-centos7-blackbox-4c-2g-24093’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-25203’ is offline; ‘prd-ubuntu18.04-docker-8c-8g-25199’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-02-05T05:59:54.286Z] Still waiting to schedule task [2021-02-05T05:59:54.286Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-02-05T06:01:54.050Z] Running on prd-centos7-docker-4c-2g-25204 in /w/workspace/dgexfoundry_device-sdk-go_PR-776 [Pipeline] { [Pipeline] ws [2021-02-05T06:01:54.179Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-02-05T06:02:06.385Z] using credential edgex-jenkins-ssh [2021-02-05T06:02:06.438Z] Cloning the remote Git repository [2021-02-05T06:02:06.625Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-05T06:02:06.920Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-02-05T06:02:07.203Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-05T06:02:07.204Z] > git --version # timeout=10 [2021-02-05T06:02:07.212Z] > git --version # 'git version 2.24.3' [2021-02-05T06:02:07.213Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-05T06:02:07.377Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-05T06:02:09.308Z] Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit a56c153e329570afc9861a163afe30f4a2cd2c46 [2021-02-05T06:02:08.586Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-05T06:02:08.622Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-05T06:02:08.671Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-05T06:02:08.800Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-05T06:02:08.800Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-05T06:02:08.806Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/776/head:refs/remotes/origin/PR-776 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-05T06:02:09.327Z] > git config core.sparsecheckout # timeout=10 [2021-02-05T06:02:09.753Z] Merge succeeded, producing a56c153e329570afc9861a163afe30f4a2cd2c46 [2021-02-05T06:02:09.753Z] Checking out Revision a56c153e329570afc9861a163afe30f4a2cd2c46 (PR-776) [2021-02-05T06:02:09.428Z] > git checkout -f a56c153e329570afc9861a163afe30f4a2cd2c46 # timeout=10 [2021-02-05T06:02:09.575Z] > git remote # timeout=10 [2021-02-05T06:02:09.651Z] > git config --get remote.origin.url # timeout=10 [2021-02-05T06:02:09.669Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-05T06:02:09.683Z] > git merge 3aea893206dfece0cb943228d650ae216607898f # timeout=10 [2021-02-05T06:02:09.732Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-05T06:02:09.762Z] > git config core.sparsecheckout # timeout=10 [2021-02-05T06:02:09.823Z] > git checkout -f a56c153e329570afc9861a163afe30f4a2cd2c46 # timeout=10 [2021-02-05T06:02:15.024Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-02-05T06:02:15.196Z] > git --version # timeout=10 [2021-02-05T06:02:15.288Z] > git --version # 'git version 2.24.3' [2021-02-05T06:02:15.367Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-05T06:02:17.793Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-05T06:02:18.292Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-05T06:02:18.742Z] + true [2021-02-05T06:02:18.742Z] + sudo service docker restart [2021-02-05T06:02:18.742Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-05T06:02:21.054Z] provisioning config files... [2021-02-05T06:02:21.123Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1052909815253339352tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-05T06:02:22.142Z] ---> docker-login.sh [2021-02-05T06:02:22.142Z] nexus3.edgexfoundry.org:10001 [2021-02-05T06:02:23.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-05T06:02:23.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-05T06:02:23.336Z] Configure a credential helper to remove this warning. See [2021-02-05T06:02:23.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-05T06:02:23.336Z] [2021-02-05T06:02:23.336Z] Login Succeeded [2021-02-05T06:02:23.336Z] nexus3.edgexfoundry.org:10002 [2021-02-05T06:02:24.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-05T06:02:24.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-05T06:02:24.590Z] Configure a credential helper to remove this warning. See [2021-02-05T06:02:24.590Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-05T06:02:24.590Z] [2021-02-05T06:02:24.590Z] Login Succeeded [2021-02-05T06:02:24.591Z] nexus3.edgexfoundry.org:10003 [2021-02-05T06:02:25.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-05T06:02:25.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-05T06:02:25.919Z] Configure a credential helper to remove this warning. See [2021-02-05T06:02:25.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-05T06:02:25.919Z] [2021-02-05T06:02:25.919Z] Login Succeeded [2021-02-05T06:02:25.919Z] nexus3.edgexfoundry.org:10004 [2021-02-05T06:02:27.048Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-05T06:02:27.048Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-05T06:02:27.048Z] Configure a credential helper to remove this warning. See [2021-02-05T06:02:27.048Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-05T06:02:27.048Z] [2021-02-05T06:02:27.048Z] Login Succeeded [2021-02-05T06:02:27.048Z] docker.io [2021-02-05T06:02:27.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-05T06:02:27.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-05T06:02:27.674Z] Configure a credential helper to remove this warning. See [2021-02-05T06:02:27.674Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-05T06:02:27.674Z] [2021-02-05T06:02:27.674Z] Login Succeeded [2021-02-05T06:02:27.674Z] ---> docker-login.sh ends [Pipeline] } [2021-02-05T06:02:27.728Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-05T06:02:28.731Z] ========================================================= [2021-02-05T06:02:28.731Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-05T06:02:28.731Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-05T06:02:29.225Z] + 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-02-05T06:02:29.578Z] Sending build context to Docker daemon 2.497MB [2021-02-05T06:02:29.578Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-05T06:02:29.578Z] Step 2/8 : FROM ${BASE} [2021-02-05T06:02:29.578Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-05T06:02:29.578Z] 188c0c94c7c5: Pulling fs layer [2021-02-05T06:02:29.578Z] 0ef7d3d256c8: Pulling fs layer [2021-02-05T06:02:29.578Z] de9db76c5a1d: Pulling fs layer [2021-02-05T06:02:29.578Z] bca2f99d35d6: Pulling fs layer [2021-02-05T06:02:29.578Z] 93359f2a8cfa: Pulling fs layer [2021-02-05T06:02:29.578Z] 7c6f9722023f: Pulling fs layer [2021-02-05T06:02:29.578Z] a35cf1a2eb13: Pulling fs layer [2021-02-05T06:02:29.578Z] 93359f2a8cfa: Waiting [2021-02-05T06:02:29.578Z] 7c6f9722023f: Waiting [2021-02-05T06:02:29.578Z] a35cf1a2eb13: Waiting [2021-02-05T06:02:29.987Z] de9db76c5a1d: Verifying Checksum [2021-02-05T06:02:29.987Z] de9db76c5a1d: Download complete [2021-02-05T06:02:29.987Z] 0ef7d3d256c8: Verifying Checksum [2021-02-05T06:02:29.987Z] 0ef7d3d256c8: Download complete [2021-02-05T06:02:30.306Z] 93359f2a8cfa: Download complete [2021-02-05T06:02:30.669Z] 7c6f9722023f: Verifying Checksum [2021-02-05T06:02:30.669Z] 7c6f9722023f: Download complete [2021-02-05T06:02:30.669Z] 188c0c94c7c5: Verifying Checksum [2021-02-05T06:02:30.669Z] 188c0c94c7c5: Download complete [2021-02-05T06:02:31.404Z] 188c0c94c7c5: Pull complete [2021-02-05T06:02:32.052Z] 0ef7d3d256c8: Pull complete [2021-02-05T06:02:32.362Z] de9db76c5a1d: Pull complete [2021-02-05T06:02:37.303Z] a35cf1a2eb13: Verifying Checksum [2021-02-05T06:02:37.303Z] a35cf1a2eb13: Download complete [2021-02-05T06:02:40.891Z] bca2f99d35d6: Verifying Checksum [2021-02-05T06:02:40.891Z] bca2f99d35d6: Download complete [2021-02-05T06:02:56.673Z] bca2f99d35d6: Pull complete [2021-02-05T06:02:56.673Z] 93359f2a8cfa: Pull complete [2021-02-05T06:02:57.688Z] 7c6f9722023f: Pull complete [2021-02-05T06:03:04.662Z] a35cf1a2eb13: Pull complete [2021-02-05T06:03:04.662Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-05T06:03:04.662Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-05T06:03:04.662Z] ---> a62c8e92a672 [2021-02-05T06:03:04.662Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-05T06:03:04.662Z] ---> Running in b15189bff3b6 [2021-02-05T06:03:05.285Z] Removing intermediate container b15189bff3b6 [2021-02-05T06:03:05.286Z] ---> f00fcca6c977 [2021-02-05T06:03:05.286Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-05T06:03:05.286Z] ---> Running in c4b63c949586 [2021-02-05T06:03:07.617Z] Removing intermediate container c4b63c949586 [2021-02-05T06:03:07.617Z] ---> b204955add3d [2021-02-05T06:03:07.617Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-05T06:03:07.617Z] ---> Running in bbaedcbe9575 [2021-02-05T06:03:09.254Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-05T06:03:09.937Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-05T06:03:10.763Z] OK: 166 MiB in 39 packages [2021-02-05T06:03:11.487Z] Removing intermediate container bbaedcbe9575 [2021-02-05T06:03:11.487Z] ---> cb5ae68c6186 [2021-02-05T06:03:11.487Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-05T06:03:11.835Z] ---> Running in aa0725313f59 [2021-02-05T06:03:12.211Z] Removing intermediate container aa0725313f59 [2021-02-05T06:03:12.211Z] ---> 4421c3f5ff6f [2021-02-05T06:03:12.211Z] Step 7/8 : COPY . . [2021-02-05T06:03:14.479Z] ---> 8c6e81f9aecb [2021-02-05T06:03:14.479Z] Step 8/8 : RUN go mod download [2021-02-05T06:03:14.479Z] ---> Running in da1decfb1db7 [2021-02-05T06:03:32.668Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-25208 in /w/workspace/dgexfoundry_device-sdk-go_PR-776 [Pipeline] { [Pipeline] ws [2021-02-05T06:03:32.772Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-02-05T06:03:38.838Z] using credential edgex-jenkins-ssh [2021-02-05T06:03:38.923Z] Cloning the remote Git repository [2021-02-05T06:03:38.989Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-05T06:03:39.113Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-02-05T06:03:39.199Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-05T06:03:39.202Z] > git --version # timeout=10 [2021-02-05T06:03:39.229Z] > git --version # 'git version 2.17.1' [2021-02-05T06:03:39.231Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-05T06:03:39.342Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-05T06:03:41.299Z] Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit a56c153e329570afc9861a163afe30f4a2cd2c46 [2021-02-05T06:03:41.703Z] Merge succeeded, producing a56c153e329570afc9861a163afe30f4a2cd2c46 [2021-02-05T06:03:41.704Z] Checking out Revision a56c153e329570afc9861a163afe30f4a2cd2c46 (PR-776) [2021-02-05T06:03:40.703Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-05T06:03:40.724Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-05T06:03:40.755Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-05T06:03:40.799Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-05T06:03:40.800Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-05T06:03:40.814Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/776/head:refs/remotes/origin/PR-776 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-05T06:03:41.325Z] > git config core.sparsecheckout # timeout=10 [2021-02-05T06:03:41.347Z] > git checkout -f a56c153e329570afc9861a163afe30f4a2cd2c46 # timeout=10 [2021-02-05T06:03:41.494Z] > git remote # timeout=10 [2021-02-05T06:03:41.519Z] > git config --get remote.origin.url # timeout=10 [2021-02-05T06:03:41.597Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-05T06:03:41.624Z] > git merge 3aea893206dfece0cb943228d650ae216607898f # timeout=10 [2021-02-05T06:03:41.676Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-05T06:03:41.713Z] > git config core.sparsecheckout # timeout=10 [2021-02-05T06:03:41.768Z] > git checkout -f a56c153e329570afc9861a163afe30f4a2cd2c46 # timeout=10 [2021-02-05T06:03:46.521Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-02-05T06:03:46.596Z] > git --version # timeout=10 [2021-02-05T06:03:46.615Z] > git --version # 'git version 2.17.1' [2021-02-05T06:03:46.637Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-05T06:03:48.573Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-05T06:03:49.034Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-05T06:03:49.420Z] + sudo service docker restart [2021-02-05T06:03:49.420Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-05T06:03:52.201Z] provisioning config files... [2021-02-05T06:03:52.245Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4867054382018896396tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-05T06:03:52.757Z] ---> docker-login.sh [2021-02-05T06:03:52.757Z] nexus3.edgexfoundry.org:10001 [2021-02-05T06:03:53.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-05T06:03:54.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-05T06:03:54.346Z] Configure a credential helper to remove this warning. See [2021-02-05T06:03:54.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-05T06:03:54.346Z] [2021-02-05T06:03:54.346Z] Login Succeeded [2021-02-05T06:03:54.346Z] nexus3.edgexfoundry.org:10002 [2021-02-05T06:03:54.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-05T06:03:54.896Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-05T06:03:54.896Z] Configure a credential helper to remove this warning. See [2021-02-05T06:03:54.896Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-05T06:03:54.896Z] [2021-02-05T06:03:54.896Z] Login Succeeded [2021-02-05T06:03:54.896Z] nexus3.edgexfoundry.org:10003 [2021-02-05T06:03:54.905Z] Removing intermediate container da1decfb1db7 [2021-02-05T06:03:54.905Z] ---> ebe4e34b95a6 [2021-02-05T06:03:54.905Z] Successfully built ebe4e34b95a6 [2021-02-05T06:03:54.905Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-05T06:03:55.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-05T06:03:55.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-05T06:03:55.500Z] Configure a credential helper to remove this warning. See [2021-02-05T06:03:55.501Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-05T06:03:55.501Z] [2021-02-05T06:03:55.501Z] Login Succeeded [2021-02-05T06:03:55.501Z] nexus3.edgexfoundry.org:10004 [2021-02-05T06:03:55.681Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-05T06:03:56.072Z] . [2021-02-05T06:03:56.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-05T06:03:56.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-05T06:03:56.106Z] Configure a credential helper to remove this warning. See [2021-02-05T06:03:56.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-05T06:03:56.106Z] [2021-02-05T06:03:56.106Z] Login Succeeded [2021-02-05T06:03:56.106Z] docker.io [Pipeline] withDockerContainer [2021-02-05T06:03:56.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-05T06:03:56.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-05T06:03:56.651Z] Configure a credential helper to remove this warning. See [2021-02-05T06:03:56.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-05T06:03:56.651Z] [2021-02-05T06:03:56.651Z] Login Succeeded [2021-02-05T06:03:56.651Z] ---> docker-login.sh ends [2021-02-05T06:03:56.724Z] prd-centos7-docker-4c-2g-25204 does not seem to be running inside a container [2021-02-05T06:03:56.983Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-05T06:03:58.599Z] $ docker top dee3b1ef709ef56f840f41b2b0859999c603a73b65bb227fbbe8fb990ed9c1bd -eo pid,comm [Pipeline] { [Pipeline] } [2021-02-05T06:03:59.027Z] Deleting 1 temporary files [Pipeline] sh [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-05T06:03:59.924Z] ========================================================= [2021-02-05T06:03:59.924Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-05T06:03:59.924Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-05T06:04:00.089Z] + go version [2021-02-05T06:04:00.089Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-05T06:04:00.209Z] $ docker stop --time=1 dee3b1ef709ef56f840f41b2b0859999c603a73b65bb227fbbe8fb990ed9c1bd [2021-02-05T06:04:00.347Z] + 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-02-05T06:04:00.621Z] Sending build context to Docker daemon 2.495MB [2021-02-05T06:04:00.923Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-05T06:04:00.923Z] Step 2/8 : FROM ${BASE} [2021-02-05T06:04:00.923Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-05T06:04:00.923Z] 5f621e34cdf4: Pulling fs layer [2021-02-05T06:04:00.923Z] a4357932f1b6: Pulling fs layer [2021-02-05T06:04:00.923Z] 18c013af1878: Pulling fs layer [2021-02-05T06:04:00.923Z] 00ac8860ef70: Pulling fs layer [2021-02-05T06:04:00.923Z] 63d7cb157983: Pulling fs layer [2021-02-05T06:04:00.923Z] b116817d02f9: Pulling fs layer [2021-02-05T06:04:00.923Z] 745a02a5169b: Pulling fs layer [2021-02-05T06:04:00.923Z] 00ac8860ef70: Waiting [2021-02-05T06:04:00.923Z] 63d7cb157983: Waiting [2021-02-05T06:04:00.923Z] b116817d02f9: Waiting [2021-02-05T06:04:00.923Z] 745a02a5169b: Waiting [2021-02-05T06:04:00.923Z] 18c013af1878: Verifying Checksum [2021-02-05T06:04:00.923Z] 18c013af1878: Download complete [2021-02-05T06:04:00.923Z] a4357932f1b6: Verifying Checksum [2021-02-05T06:04:00.923Z] a4357932f1b6: Download complete [2021-02-05T06:04:00.923Z] 63d7cb157983: Verifying Checksum [2021-02-05T06:04:00.923Z] 63d7cb157983: Download complete [2021-02-05T06:04:00.923Z] b116817d02f9: Verifying Checksum [2021-02-05T06:04:00.923Z] b116817d02f9: Download complete [2021-02-05T06:04:00.923Z] 5f621e34cdf4: Verifying Checksum [2021-02-05T06:04:00.923Z] 5f621e34cdf4: Download complete [2021-02-05T06:04:01.937Z] 5f621e34cdf4: Pull complete [2021-02-05T06:04:02.546Z] a4357932f1b6: Pull complete [2021-02-05T06:04:02.820Z] 18c013af1878: Pull complete [2021-02-05T06:04:03.043Z] $ docker rm -f dee3b1ef709ef56f840f41b2b0859999c603a73b65bb227fbbe8fb990ed9c1bd [2021-02-05T06:04:03.422Z] 745a02a5169b: Verifying Checksum [2021-02-05T06:04:03.422Z] 745a02a5169b: Download complete [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-05T06:04:04.878Z] 00ac8860ef70: Verifying Checksum [2021-02-05T06:04:04.878Z] 00ac8860ef70: Download complete [2021-02-05T06:04:05.167Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-05T06:04:05.822Z] . [Pipeline] withDockerContainer [2021-02-05T06:04:06.354Z] prd-centos7-docker-4c-2g-25204 does not seem to be running inside a container [2021-02-05T06:04:06.642Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-05T06:04:09.001Z] $ docker top fd77e918cff6892b65dd521a236157cc32d7f04b3c5f7833bce92a12830fd480 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-05T06:04:10.864Z] + make test [2021-02-05T06:04:10.864Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-05T06:04:17.326Z] 00ac8860ef70: Pull complete [2021-02-05T06:04:17.326Z] 63d7cb157983: Pull complete [2021-02-05T06:04:17.326Z] b116817d02f9: Pull complete [2021-02-05T06:04:19.980Z] 745a02a5169b: Pull complete [2021-02-05T06:04:19.980Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-05T06:04:19.980Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-05T06:04:19.980Z] ---> b7e6874047d6 [2021-02-05T06:04:19.980Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-05T06:04:23.614Z] ---> Running in c332ed16aba7 [2021-02-05T06:04:23.614Z] Removing intermediate container c332ed16aba7 [2021-02-05T06:04:23.614Z] ---> 6475038b304c [2021-02-05T06:04:23.614Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-05T06:04:23.895Z] ---> Running in 4fdcce248270 [2021-02-05T06:04:26.575Z] Removing intermediate container 4fdcce248270 [2021-02-05T06:04:26.575Z] ---> e0e65fdc4a84 [2021-02-05T06:04:26.575Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-05T06:04:26.575Z] ---> Running in e1d642a73165 [2021-02-05T06:04:26.857Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-05T06:04:27.566Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-05T06:04:29.001Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-05T06:04:30.977Z] OK: 142 MiB in 39 packages [2021-02-05T06:04:31.964Z] Removing intermediate container e1d642a73165 [2021-02-05T06:04:31.964Z] ---> f1fbe6d61214 [2021-02-05T06:04:31.964Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-05T06:04:32.242Z] ---> Running in 612cede9d023 [2021-02-05T06:04:32.842Z] Removing intermediate container 612cede9d023 [2021-02-05T06:04:32.842Z] ---> 2fa4264b9975 [2021-02-05T06:04:32.842Z] Step 7/8 : COPY . . [2021-02-05T06:04:34.280Z] ---> 5f8338b660a7 [2021-02-05T06:04:34.280Z] Step 8/8 : RUN go mod download [2021-02-05T06:04:34.280Z] ---> Running in 51e530e72833 [2021-02-05T06:04:46.087Z] # github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [2021-02-05T06:04:46.088Z] internal/v2/cache/profiles.go:141:52: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".ProfileResource [2021-02-05T06:04:56.309Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.133s coverage: 19.4% of statements [2021-02-05T06:05:01.108Z] Removing intermediate container 51e530e72833 [2021-02-05T06:05:01.108Z] ---> 2ed0aebbe3a7 [2021-02-05T06:05:01.108Z] Successfully built 2ed0aebbe3a7 [2021-02-05T06:05:01.108Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-05T06:05:01.490Z] + docker inspect -f . ci-base-image-arm64 [2021-02-05T06:05:01.490Z] . [Pipeline] withDockerContainer [2021-02-05T06:05:01.764Z] prd-ubuntu18.04-docker-arm64-4c-16g-25208 does not seem to be running inside a container [2021-02-05T06:05:01.860Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-05T06:05:03.316Z] $ docker top 1a8b42e7db717a8d41a6e3b53b607ee03f34dca24c22687405fcd12f58c230d2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-05T06:05:04.384Z] + go version [2021-02-05T06:05:04.384Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-05T06:05:04.422Z] $ docker stop --time=1 1a8b42e7db717a8d41a6e3b53b607ee03f34dca24c22687405fcd12f58c230d2 [2021-02-05T06:05:05.365Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.988s coverage: 97.1% of statements [2021-02-05T06:05:06.355Z] $ docker rm -f 1a8b42e7db717a8d41a6e3b53b607ee03f34dca24c22687405fcd12f58c230d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-05T06:05:07.592Z] + docker inspect -f . ci-base-image-arm64 [2021-02-05T06:05:07.592Z] . [Pipeline] withDockerContainer [2021-02-05T06:05:07.852Z] prd-ubuntu18.04-docker-arm64-4c-16g-25208 does not seem to be running inside a container [2021-02-05T06:05:07.946Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-05T06:05:09.370Z] $ docker top f03f81eeb3de15cbc22eb5b107b65b7dc708e19de326893bbec11af6b26d8b04 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-05T06:05:10.437Z] + make test [2021-02-05T06:05:10.437Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-05T06:05:32.629Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.069s coverage: 9.4% of statements [2021-02-05T06:05:32.629Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.146s coverage: 21.7% of statements [2021-02-05T06:05:32.629Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/controller [build failed] [2021-02-05T06:05:32.629Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.407s coverage: 68.9% of statements [2021-02-05T06:05:32.629Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.212s coverage: 53.8% of statements [2021-02-05T06:05:32.629Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http [build failed] [2021-02-05T06:05:32.629Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.481s coverage: 83.5% of statements [2021-02-05T06:05:32.629Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/pkg/service [build failed] [2021-02-05T06:05:32.629Z] make: *** [Makefile:32: test] Error 2 [Pipeline] } [2021-02-05T06:05:32.741Z] $ docker stop --time=1 fd77e918cff6892b65dd521a236157cc32d7f04b3c5f7833bce92a12830fd480 [2021-02-05T06:05:35.102Z] $ docker rm -f fd77e918cff6892b65dd521a236157cc32d7f04b3c5f7833bce92a12830fd480 [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 [2021-02-05T06:05:37.243Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-02-05T06:05:37.816Z] Failed in branch amd64 [2021-02-05T06:06:09.643Z] # github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [2021-02-05T06:06:09.643Z] internal/v2/cache/profiles.go:141:52: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".ProfileResource [2021-02-05T06:06:17.948Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.121s coverage: 19.4% of statements [2021-02-05T06:06:24.692Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.213s coverage: 97.1% of statements [2021-02-05T06:06:51.492Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.166s coverage: 9.4% of statements [2021-02-05T06:06:51.492Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.120s coverage: 21.7% of statements [2021-02-05T06:06:51.492Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/controller [build failed] [2021-02-05T06:06:51.492Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.700s coverage: 68.9% of statements [2021-02-05T06:06:51.492Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.206s coverage: 53.8% of statements [2021-02-05T06:06:51.492Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http [build failed] [2021-02-05T06:06:51.492Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.916s coverage: 83.5% of statements [2021-02-05T06:06:51.492Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/pkg/service [build failed] [2021-02-05T06:06:51.492Z] make: *** [Makefile:32: test] Error 2 [Pipeline] } [2021-02-05T06:06:51.546Z] $ docker stop --time=1 f03f81eeb3de15cbc22eb5b107b65b7dc708e19de326893bbec11af6b26d8b04 [2021-02-05T06:06:53.629Z] $ docker rm -f f03f81eeb3de15cbc22eb5b107b65b7dc708e19de326893bbec11af6b26d8b04 [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-02-05T06:06:56.106Z] 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-02-05T06:06:59.998Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-05T06:07:00.352Z] ---> package-listing.sh [2021-02-05T06:07:00.352Z] ++ facter osfamily [2021-02-05T06:07:00.352Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-05T06:07:00.352Z] + OS_FAMILY=redhat [2021-02-05T06:07:00.352Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-776 [2021-02-05T06:07:00.352Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-05T06:07:00.352Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-05T06:07:00.352Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-05T06:07:00.352Z] + PACKAGES=/tmp/packages_start.txt [2021-02-05T06:07:00.352Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-776 ']' [2021-02-05T06:07:00.352Z] + PACKAGES=/tmp/packages_end.txt [2021-02-05T06:07:00.352Z] + case "${OS_FAMILY}" in [2021-02-05T06:07:00.352Z] + rpm -qa [2021-02-05T06:07:00.352Z] + sort [2021-02-05T06:07:05.664Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-05T06:07:05.664Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-05T06:07:05.664Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-05T06:07:05.664Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-776 ']' [2021-02-05T06:07:05.664Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-776/archives/ [2021-02-05T06:07:05.664Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-776/archives/ [Pipeline] echo [2021-02-05T06:07:05.696Z] 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-776/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-02-05T06:07:06.007Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-05T06:07:06.353Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-05T06:07:06.353Z] [2021-02-05T06:07:06.353Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-05T06:07:06.745Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-05T06:07:06.745Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-05T06:07:06.745Z] df20fa9351a1: Pulling fs layer [2021-02-05T06:07:06.745Z] 36b3adc4ff6f: Pulling fs layer [2021-02-05T06:07:06.745Z] 8ad3a11d3b57: Pulling fs layer [2021-02-05T06:07:06.745Z] 46f8f816bc3b: Pulling fs layer [2021-02-05T06:07:06.745Z] 93b61091891f: Pulling fs layer [2021-02-05T06:07:06.745Z] 93b9cdb0e59b: Pulling fs layer [2021-02-05T06:07:06.745Z] 5e14af77c1be: Pulling fs layer [2021-02-05T06:07:06.745Z] 01666e4c0597: Pulling fs layer [2021-02-05T06:07:06.745Z] aa168da1d23b: Pulling fs layer [2021-02-05T06:07:06.745Z] 93b9cdb0e59b: Waiting [2021-02-05T06:07:06.745Z] 5e14af77c1be: Waiting [2021-02-05T06:07:06.745Z] 01666e4c0597: Waiting [2021-02-05T06:07:06.745Z] aa168da1d23b: Waiting [2021-02-05T06:07:06.745Z] 46f8f816bc3b: Waiting [2021-02-05T06:07:06.745Z] 93b61091891f: Waiting [2021-02-05T06:07:06.745Z] 36b3adc4ff6f: Verifying Checksum [2021-02-05T06:07:06.745Z] 36b3adc4ff6f: Download complete [2021-02-05T06:07:06.745Z] 46f8f816bc3b: Verifying Checksum [2021-02-05T06:07:06.745Z] 46f8f816bc3b: Download complete [2021-02-05T06:07:06.745Z] df20fa9351a1: Download complete [2021-02-05T06:07:06.745Z] 93b9cdb0e59b: Verifying Checksum [2021-02-05T06:07:06.745Z] 93b9cdb0e59b: Download complete [2021-02-05T06:07:07.013Z] 5e14af77c1be: Verifying Checksum [2021-02-05T06:07:07.013Z] 5e14af77c1be: Download complete [2021-02-05T06:07:07.013Z] 93b61091891f: Verifying Checksum [2021-02-05T06:07:07.013Z] 93b61091891f: Download complete [2021-02-05T06:07:07.013Z] 01666e4c0597: Verifying Checksum [2021-02-05T06:07:07.013Z] 01666e4c0597: Download complete [2021-02-05T06:07:07.013Z] df20fa9351a1: Pull complete [2021-02-05T06:07:07.013Z] 8ad3a11d3b57: Verifying Checksum [2021-02-05T06:07:07.013Z] 8ad3a11d3b57: Download complete [2021-02-05T06:07:07.277Z] 36b3adc4ff6f: Pull complete [2021-02-05T06:07:07.853Z] 8ad3a11d3b57: Pull complete [2021-02-05T06:07:08.119Z] 46f8f816bc3b: Pull complete [2021-02-05T06:07:08.700Z] 93b61091891f: Pull complete [2021-02-05T06:07:08.962Z] 93b9cdb0e59b: Pull complete [2021-02-05T06:07:08.962Z] aa168da1d23b: Verifying Checksum [2021-02-05T06:07:08.962Z] aa168da1d23b: Download complete [2021-02-05T06:07:08.962Z] 5e14af77c1be: Pull complete [2021-02-05T06:07:09.225Z] 01666e4c0597: Pull complete [2021-02-05T06:07:17.401Z] aa168da1d23b: Pull complete [2021-02-05T06:07:17.401Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-05T06:07:17.401Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-05T06:07:17.401Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-05T06:07:17.581Z] prd-centos7-docker-4c-2g-25202 does not seem to be running inside a container [2021-02-05T06:07:17.625Z] $ 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-776/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-776 -v /w/workspace/dgexfoundry_device-sdk-go_PR-776:/w/workspace/dgexfoundry_device-sdk-go_PR-776:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-776@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-776@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 [2021-02-05T06:07:20.727Z] $ docker top 9ee0b2393e383aa784d61339990b7440fe716451b79a1838989ce341d84b1da9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-05T06:07:21.265Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-05T06:07:21.586Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-05T06:07:21.910Z] + ls /var/log/sa-host [2021-02-05T06:07:21.910Z] + sadf -c /var/log/sa-host/sa05 [2021-02-05T06:07:21.910Z] file_magic: OK [2021-02-05T06:07:21.910Z] HZ: Using current value: 100 [2021-02-05T06:07:21.910Z] file_header: OK [2021-02-05T06:07:21.910Z] 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-02-05T06:07:21.910Z] Statistics: [2021-02-05T06:07:21.910Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-05T06:07:21.910Z] File successfully converted to sysstat format version 12.2.1 [2021-02-05T06:07:21.910Z] + sadf -c /var/log/sa-host/sa23 [2021-02-05T06:07:21.910Z] file_magic: OK [2021-02-05T06:07:21.910Z] HZ: Using current value: 100 [2021-02-05T06:07:21.910Z] file_header: OK [2021-02-05T06:07:21.910Z] 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-02-05T06:07:21.910Z] Statistics: [2021-02-05T06:07:21.910Z] Hnuu...uuuununununu... [2021-02-05T06:07:21.910Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-05T06:07:22.189Z] provisioning config files... [2021-02-05T06:07:22.206Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-776@tmp/config7894447517069976907tmp [Pipeline] { [Pipeline] echo [2021-02-05T06:07:22.326Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-05T06:07:22.665Z] ---> create-netrc.sh [Pipeline] } [2021-02-05T06:07:22.698Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-05T06:07:22.927Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-05T06:07:23.296Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-05T06:07:23.327Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-05T06:07:23.692Z] ---> sudo-logs.sh [2021-02-05T06:07:23.692Z] Archiving 'sudo' log.. [Pipeline] echo [2021-02-05T06:07:23.731Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-05T06:07:24.069Z] ---> job-cost.sh [2021-02-05T06:07:24.069Z] lf-activate-venv: SKIPPING [2021-02-05T06:07:24.069Z] INFO: No Stack... [2021-02-05T06:07:25.459Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-05T06:07:25.721Z] INFO: Archiving Costs [Pipeline] echo [2021-02-05T06:07:25.754Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-05T06:07:26.088Z] ---> logs-deploy.sh [2021-02-05T06:07:26.088Z] lf-activate-venv: SKIPPING [2021-02-05T06:07:26.088Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-776/1 [2021-02-05T06:07:26.088Z] INFO: archiving workspace using pattern(s): [2021-02-05T06:07:28.009Z] Archives upload complete. [2021-02-05T06:07:28.009Z] INFO: archiving logs to Nexus