Pull request #772 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from dddac6645bfb0161c6a33a25f2af1ca8b0c57bd6+3aea893206dfece0cb943228d650ae216607898f (9ff7b265e45089ff6a2af5e0f1190b5ca3188fb8) 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-772/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-772/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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-24672 in /w/workspace/dgexfoundry_device-sdk-go_PR-772 [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-772 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/772/head:refs/remotes/origin/PR-772 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit dddac6645bfb0161c6a33a25f2af1ca8b0c57bd6 Merge succeeded, producing dddac6645bfb0161c6a33a25f2af1ca8b0c57bd6 Checking out Revision dddac6645bfb0161c6a33a25f2af1ca8b0c57bd6 (PR-772) > git config core.sparsecheckout # timeout=10 > git checkout -f dddac6645bfb0161c6a33a25f2af1ca8b0c57bd6 # 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 3aea893206dfece0cb943228d650ae216607898f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dddac6645bfb0161c6a33a25f2af1ca8b0c57bd6 # 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-03T05:53:05.219Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-03T05:53:05.584Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-03T05:53:05.820Z] ========================================================= [2021-02-03T05:53:05.820Z] EdgeX Global Pipelines Version Info [2021-02-03T05:53:05.820Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-03T05:53:07.305Z] ------------------- [2021-02-03T05:53:07.305Z] stable info: [2021-02-03T05:53:07.305Z] ------------------- [2021-02-03T05:53:07.305Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-03T05:53:07.305Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-03T05:53:07.305Z] Message: update stable to v1.0.179 [2021-02-03T05:53:08.256Z] ------------------- [2021-02-03T05:53:08.256Z] experimental info: [2021-02-03T05:53:08.256Z] ------------------- [2021-02-03T05:53:08.256Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-03T05:53:08.256Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-03T05:53:08.256Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-03T05:53:08.631Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-02-03T05:53:08.797Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-02-03T05:53:08.923Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-03T05:53:09.047Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-03T05:53:09.254Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-03T05:53:09.379Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-03T05:53:09.509Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-03T05:53:09.640Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-03T05:53:09.770Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-02-03T05:53:09.905Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-03T05:53:10.030Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-03T05:53:10.187Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-02-03T05:53:10.350Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-03T05:53:10.476Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-03T05:53:10.621Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-02-03T05:53:10.766Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-03T05:53:10.894Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-03T05:53:11.035Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-03T05:53:11.198Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-03T05:53:11.351Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-03T05:53:11.509Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-02-03T05:53:11.630Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-02-03T05:53:11.752Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-03T05:53:11.876Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-03T05:53:12.006Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-02-03T05:53:12.170Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-02-03T05:53:12.290Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-02-03T05:53:12.418Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-772 [Pipeline] echo [2021-02-03T05:53:12.539Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-772 [Pipeline] echo [2021-02-03T05:53:12.697Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-772 [Pipeline] echo [2021-02-03T05:53:12.822Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dddac6645bfb0161c6a33a25f2af1ca8b0c57bd6 [Pipeline] echo [2021-02-03T05:53:12.964Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dddac66 [Pipeline] echo [2021-02-03T05:53:13.084Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-03T05:53:13.333Z] provisioning config files... [2021-02-03T05:53:13.389Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-772@tmp/config194464046953773221tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-03T05:53:13.811Z] ---> docker-login.sh [2021-02-03T05:53:13.811Z] nexus3.edgexfoundry.org:10001 [2021-02-03T05:53:14.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-03T05:53:14.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-03T05:53:14.343Z] Configure a credential helper to remove this warning. See [2021-02-03T05:53:14.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-03T05:53:14.343Z] [2021-02-03T05:53:14.343Z] Login Succeeded [2021-02-03T05:53:14.343Z] nexus3.edgexfoundry.org:10002 [2021-02-03T05:53:14.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-03T05:53:14.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-03T05:53:14.343Z] Configure a credential helper to remove this warning. See [2021-02-03T05:53:14.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-03T05:53:14.343Z] [2021-02-03T05:53:14.343Z] Login Succeeded [2021-02-03T05:53:14.343Z] nexus3.edgexfoundry.org:10003 [2021-02-03T05:53:14.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-03T05:53:14.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-03T05:53:14.606Z] Configure a credential helper to remove this warning. See [2021-02-03T05:53:14.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-03T05:53:14.606Z] [2021-02-03T05:53:14.606Z] Login Succeeded [2021-02-03T05:53:14.606Z] nexus3.edgexfoundry.org:10004 [2021-02-03T05:53:14.870Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-03T05:53:14.871Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-03T05:53:14.871Z] Configure a credential helper to remove this warning. See [2021-02-03T05:53:14.871Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-03T05:53:14.871Z] [2021-02-03T05:53:14.871Z] Login Succeeded [2021-02-03T05:53:14.871Z] docker.io [2021-02-03T05:53:14.871Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-03T05:53:15.134Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-03T05:53:15.134Z] Configure a credential helper to remove this warning. See [2021-02-03T05:53:15.134Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-03T05:53:15.134Z] [2021-02-03T05:53:15.134Z] Login Succeeded [2021-02-03T05:53:15.134Z] ---> docker-login.sh ends [Pipeline] } [2021-02-03T05:53:15.167Z] 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-03T05:53:16.420Z] + git log --format=format:%s -1 dddac6645bfb0161c6a33a25f2af1ca8b0c57bd6 [Pipeline] echo [2021-02-03T05:53:16.512Z] GIT_COMMIT: dddac6645bfb0161c6a33a25f2af1ca8b0c57bd6, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-02-03T05:53:16.603Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-03T05:53:17.615Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-03T05:53:17.615Z] [2021-02-03T05:53:17.615Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-03T05:53:18.006Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-03T05:53:18.006Z] latest: Pulling from edgex-devops/git-semver [2021-02-03T05:53:18.006Z] 31603596830f: Pulling fs layer [2021-02-03T05:53:18.006Z] 2a8b12db71e7: Pulling fs layer [2021-02-03T05:53:18.006Z] 6ca5941a6612: Pulling fs layer [2021-02-03T05:53:18.006Z] ecc8261a40a4: Pulling fs layer [2021-02-03T05:53:18.006Z] ecc8261a40a4: Waiting [2021-02-03T05:53:18.006Z] 2a8b12db71e7: Verifying Checksum [2021-02-03T05:53:18.006Z] 2a8b12db71e7: Download complete [2021-02-03T05:53:18.271Z] 31603596830f: Verifying Checksum [2021-02-03T05:53:18.271Z] 31603596830f: Download complete [2021-02-03T05:53:18.271Z] ecc8261a40a4: Verifying Checksum [2021-02-03T05:53:18.271Z] ecc8261a40a4: Download complete [2021-02-03T05:53:18.271Z] 6ca5941a6612: Verifying Checksum [2021-02-03T05:53:18.271Z] 6ca5941a6612: Download complete [2021-02-03T05:53:18.534Z] 31603596830f: Pull complete [2021-02-03T05:53:18.534Z] 2a8b12db71e7: Pull complete [2021-02-03T05:53:19.484Z] 6ca5941a6612: Pull complete [2021-02-03T05:53:19.751Z] ecc8261a40a4: Pull complete [2021-02-03T05:53:19.751Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-03T05:53:19.751Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-03T05:53:19.751Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-03T05:53:19.876Z] prd-centos7-docker-4c-2g-24672 does not seem to be running inside a container [2021-02-03T05:53:19.932Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-772 -v /w/workspace/dgexfoundry_device-sdk-go_PR-772:/w/workspace/dgexfoundry_device-sdk-go_PR-772:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-772@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-772@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-03T05:53:22.408Z] $ docker top e279a0eb3d5eba5a5c90f1d8c5a2daf78962b2d1773d125bb7778b16a916a4d8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-03T05:53:22.866Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-03T05:53:22.866Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-03T05:53:23.112Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-03T05:53:23.120Z] $ docker exec e279a0eb3d5eba5a5c90f1d8c5a2daf78962b2d1773d125bb7778b16a916a4d8 ssh-agent [2021-02-03T05:53:23.282Z] SSH_AUTH_SOCK=/tmp/ssh-K2i5FyajIPJM/agent.12 [2021-02-03T05:53:23.282Z] SSH_AGENT_PID=17 [2021-02-03T05:53:23.294Z] Running ssh-add (command line suppressed) [2021-02-03T05:53:23.413Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-772@tmp/private_key_3602079047495144655.key (/w/workspace/dgexfoundry_device-sdk-go_PR-772@tmp/private_key_3602079047495144655.key) [2021-02-03T05:53:23.459Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-03T05:53:23.832Z] + git tag --points-at HEAD [Pipeline] } [2021-02-03T05:53:23.865Z] $ docker exec --env ******** --env ******** e279a0eb3d5eba5a5c90f1d8c5a2daf78962b2d1773d125bb7778b16a916a4d8 ssh-agent -k [2021-02-03T05:53:23.981Z] unset SSH_AUTH_SOCK; [2021-02-03T05:53:23.982Z] unset SSH_AGENT_PID; [2021-02-03T05:53:23.982Z] echo Agent pid 17 killed; [2021-02-03T05:53:24.023Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-03T05:53:24.272Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-03T05:53:24.272Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-03T05:53:24.439Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-03T05:53:24.447Z] $ docker exec e279a0eb3d5eba5a5c90f1d8c5a2daf78962b2d1773d125bb7778b16a916a4d8 ssh-agent [2021-02-03T05:53:24.595Z] SSH_AUTH_SOCK=/tmp/ssh-meUQcVI2llDe/agent.47 [2021-02-03T05:53:24.595Z] SSH_AGENT_PID=52 [2021-02-03T05:53:24.602Z] Running ssh-add (command line suppressed) [2021-02-03T05:53:24.726Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-772@tmp/private_key_7077158615755097584.key (/w/workspace/dgexfoundry_device-sdk-go_PR-772@tmp/private_key_7077158615755097584.key) [2021-02-03T05:53:24.770Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-03T05:53:25.138Z] + git semver init [2021-02-03T05:53:25.138Z] # -> Open(): unable to determine branch for HEAD [2021-02-03T05:53:25.138Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-772/.git [2021-02-03T05:53:25.138Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-772 [2021-02-03T05:53:25.138Z] # $SEMVER_REMOTE_NAME = origin [2021-02-03T05:53:25.138Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-03T05:53:25.138Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-03T05:53:25.138Z] # $SEMVER_BRANCH = PR-772 [2021-02-03T05:53:25.138Z] # $SEMVER_TEMP = /tmp/semver-308088996 [2021-02-03T05:53:25.138Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-02-03T05:53:25.716Z] # '/tmp/semver-308088996' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-772/.semver' [2021-02-03T05:53:25.716Z] # -> Force: false [2021-02-03T05:53:25.716Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-772/.semver [Pipeline] } [2021-02-03T05:53:25.743Z] $ docker exec --env ******** --env ******** e279a0eb3d5eba5a5c90f1d8c5a2daf78962b2d1773d125bb7778b16a916a4d8 ssh-agent -k [2021-02-03T05:53:25.854Z] unset SSH_AUTH_SOCK; [2021-02-03T05:53:25.854Z] unset SSH_AGENT_PID; [2021-02-03T05:53:25.854Z] echo Agent pid 52 killed; [2021-02-03T05:53:25.899Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-03T05:53:26.455Z] + git semver [Pipeline] } [2021-02-03T05:53:26.500Z] $ docker stop --time=1 e279a0eb3d5eba5a5c90f1d8c5a2daf78962b2d1773d125bb7778b16a916a4d8 [2021-02-03T05:53:27.888Z] $ docker rm -f e279a0eb3d5eba5a5c90f1d8c5a2daf78962b2d1773d125bb7778b16a916a4d8 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-03T05:53:28.431Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-03T05:53:28.882Z] Stashed 1 file(s) [Pipeline] echo [2021-02-03T05:53:28.910Z] [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-03T05:53:44.788Z] Still waiting to schedule task [2021-02-03T05:53:44.788Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-24672’ [2021-02-03T05:53:44.818Z] Still waiting to schedule task [2021-02-03T05:53:44.818Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-02-03T05:55:36.678Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-24673 in /w/workspace/dgexfoundry_device-sdk-go_PR-772 [Pipeline] { [Pipeline] ws [2021-02-03T05:55:36.776Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-02-03T05:55:41.700Z] using credential edgex-jenkins-ssh [2021-02-03T05:55:41.759Z] Cloning the remote Git repository [2021-02-03T05:55:41.815Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-03T05:55:41.938Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-02-03T05:55:42.043Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-03T05:55:42.044Z] > git --version # timeout=10 [2021-02-03T05:55:42.067Z] > git --version # 'git version 2.17.1' [2021-02-03T05:55:42.068Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-03T05:55:42.122Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-03T05:55:43.790Z] Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit dddac6645bfb0161c6a33a25f2af1ca8b0c57bd6 [2021-02-03T05:55:44.019Z] Merge succeeded, producing dddac6645bfb0161c6a33a25f2af1ca8b0c57bd6 [2021-02-03T05:55:44.020Z] Checking out Revision dddac6645bfb0161c6a33a25f2af1ca8b0c57bd6 (PR-772) [2021-02-03T05:55:43.193Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-03T05:55:43.211Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-03T05:55:43.245Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-03T05:55:43.281Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-03T05:55:43.281Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-03T05:55:43.292Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/772/head:refs/remotes/origin/PR-772 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-03T05:55:43.807Z] > git config core.sparsecheckout # timeout=10 [2021-02-03T05:55:43.821Z] > git checkout -f dddac6645bfb0161c6a33a25f2af1ca8b0c57bd6 # timeout=10 [2021-02-03T05:55:43.940Z] > git remote # timeout=10 [2021-02-03T05:55:43.955Z] > git config --get remote.origin.url # timeout=10 [2021-02-03T05:55:43.972Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-03T05:55:43.983Z] > git merge 3aea893206dfece0cb943228d650ae216607898f # timeout=10 [2021-02-03T05:55:44.004Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-03T05:55:44.026Z] > git config core.sparsecheckout # timeout=10 [2021-02-03T05:55:44.039Z] > git checkout -f dddac6645bfb0161c6a33a25f2af1ca8b0c57bd6 # timeout=10 [2021-02-03T05:55:48.522Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-02-03T05:55:48.574Z] > git --version # timeout=10 [2021-02-03T05:55:48.584Z] > git --version # 'git version 2.17.1' [2021-02-03T05:55:48.604Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-03T05:55:50.249Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-03T05:55:50.732Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-03T05:55:51.096Z] + + sudo service docker restart [2021-02-03T05:55:51.096Z] true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-03T05:55:53.882Z] provisioning config files... [2021-02-03T05:55:53.924Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4450981660346410938tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-03T05:55:54.387Z] ---> docker-login.sh [2021-02-03T05:55:54.387Z] nexus3.edgexfoundry.org:10001 [2021-02-03T05:55:55.370Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-03T05:55:55.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-03T05:55:55.645Z] Configure a credential helper to remove this warning. See [2021-02-03T05:55:55.645Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-03T05:55:55.645Z] [2021-02-03T05:55:55.645Z] Login Succeeded [2021-02-03T05:55:55.645Z] nexus3.edgexfoundry.org:10002 [2021-02-03T05:55:55.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-03T05:55:56.207Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-03T05:55:56.207Z] Configure a credential helper to remove this warning. See [2021-02-03T05:55:56.207Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-03T05:55:56.207Z] [2021-02-03T05:55:56.207Z] Login Succeeded [2021-02-03T05:55:56.207Z] nexus3.edgexfoundry.org:10003 [2021-02-03T05:55:56.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-03T05:55:56.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-03T05:55:56.808Z] Configure a credential helper to remove this warning. See [2021-02-03T05:55:56.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-03T05:55:56.808Z] [2021-02-03T05:55:56.808Z] Login Succeeded [2021-02-03T05:55:56.808Z] nexus3.edgexfoundry.org:10004 [2021-02-03T05:55:57.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-03T05:55:57.357Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-03T05:55:57.357Z] Configure a credential helper to remove this warning. See [2021-02-03T05:55:57.357Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-03T05:55:57.357Z] [2021-02-03T05:55:57.357Z] Login Succeeded [2021-02-03T05:55:57.357Z] docker.io [2021-02-03T05:55:57.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-03T05:55:58.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-03T05:55:58.236Z] Configure a credential helper to remove this warning. See [2021-02-03T05:55:58.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-03T05:55:58.236Z] [2021-02-03T05:55:58.236Z] Login Succeeded [2021-02-03T05:55:58.236Z] ---> docker-login.sh ends [Pipeline] } [2021-02-03T05:55:58.277Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-03T05:55:58.830Z] ========================================================= [2021-02-03T05:55:58.830Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-03T05:55:58.830Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-03T05:55:59.248Z] + 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-03T05:55:59.850Z] Sending build context to Docker daemon 2.498MB [2021-02-03T05:55:59.850Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-03T05:55:59.850Z] Step 2/8 : FROM ${BASE} [2021-02-03T05:55:59.850Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-03T05:55:59.850Z] 5f621e34cdf4: Pulling fs layer [2021-02-03T05:55:59.850Z] a4357932f1b6: Pulling fs layer [2021-02-03T05:55:59.850Z] 18c013af1878: Pulling fs layer [2021-02-03T05:55:59.850Z] 00ac8860ef70: Pulling fs layer [2021-02-03T05:55:59.850Z] 63d7cb157983: Pulling fs layer [2021-02-03T05:55:59.850Z] b116817d02f9: Pulling fs layer [2021-02-03T05:55:59.850Z] 745a02a5169b: Pulling fs layer [2021-02-03T05:55:59.850Z] 63d7cb157983: Waiting [2021-02-03T05:55:59.850Z] 00ac8860ef70: Waiting [2021-02-03T05:55:59.850Z] b116817d02f9: Waiting [2021-02-03T05:55:59.850Z] 745a02a5169b: Waiting [2021-02-03T05:55:59.850Z] 18c013af1878: Download complete [2021-02-03T05:55:59.850Z] a4357932f1b6: Verifying Checksum [2021-02-03T05:55:59.850Z] a4357932f1b6: Download complete [2021-02-03T05:55:59.850Z] 63d7cb157983: Verifying Checksum [2021-02-03T05:55:59.851Z] 63d7cb157983: Download complete [2021-02-03T05:55:59.851Z] 5f621e34cdf4: Download complete [2021-02-03T05:55:59.851Z] b116817d02f9: Download complete [2021-02-03T05:56:00.834Z] 5f621e34cdf4: Pull complete [2021-02-03T05:56:01.109Z] a4357932f1b6: Pull complete [2021-02-03T05:56:01.712Z] 18c013af1878: Pull complete [2021-02-03T05:56:02.711Z] 745a02a5169b: Verifying Checksum [2021-02-03T05:56:02.711Z] 745a02a5169b: Download complete [2021-02-03T05:56:03.689Z] 00ac8860ef70: Verifying Checksum [2021-02-03T05:56:03.689Z] 00ac8860ef70: Download complete [2021-02-03T05:56:03.850Z] Running on prd-centos7-docker-4c-2g-24674 in /w/workspace/dgexfoundry_device-sdk-go_PR-772 [Pipeline] { [Pipeline] ws [2021-02-03T05:56:03.974Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-02-03T05:56:06.648Z] using credential edgex-jenkins-ssh [2021-02-03T05:56:06.698Z] Cloning the remote Git repository [2021-02-03T05:56:06.730Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-03T05:56:06.799Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-02-03T05:56:06.864Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-03T05:56:06.864Z] > git --version # timeout=10 [2021-02-03T05:56:06.871Z] > git --version # 'git version 2.24.3' [2021-02-03T05:56:06.871Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-03T05:56:06.902Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-03T05:56:07.633Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-03T05:56:07.640Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-03T05:56:08.113Z] Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit dddac6645bfb0161c6a33a25f2af1ca8b0c57bd6 [2021-02-03T05:56:08.214Z] Merge succeeded, producing dddac6645bfb0161c6a33a25f2af1ca8b0c57bd6 [2021-02-03T05:56:08.214Z] Checking out Revision dddac6645bfb0161c6a33a25f2af1ca8b0c57bd6 (PR-772) [2021-02-03T05:56:07.651Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-03T05:56:07.668Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-03T05:56:07.668Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-03T05:56:07.673Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/772/head:refs/remotes/origin/PR-772 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-03T05:56:08.122Z] > git config core.sparsecheckout # timeout=10 [2021-02-03T05:56:08.128Z] > git checkout -f dddac6645bfb0161c6a33a25f2af1ca8b0c57bd6 # timeout=10 [2021-02-03T05:56:08.184Z] > git remote # timeout=10 [2021-02-03T05:56:08.190Z] > git config --get remote.origin.url # timeout=10 [2021-02-03T05:56:08.195Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-03T05:56:08.198Z] > git merge 3aea893206dfece0cb943228d650ae216607898f # timeout=10 [2021-02-03T05:56:08.208Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-03T05:56:08.218Z] > git config core.sparsecheckout # timeout=10 [2021-02-03T05:56:08.222Z] > git checkout -f dddac6645bfb0161c6a33a25f2af1ca8b0c57bd6 # timeout=10 [2021-02-03T05:56:11.806Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-02-03T05:56:11.835Z] > git --version # timeout=10 [2021-02-03T05:56:11.839Z] > git --version # 'git version 2.24.3' [2021-02-03T05:56:11.846Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-03T05:56:13.319Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-03T05:56:13.675Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-03T05:56:13.878Z] 00ac8860ef70: Pull complete [2021-02-03T05:56:13.878Z] 63d7cb157983: Pull complete [2021-02-03T05:56:13.999Z] + sudo service docker restart [2021-02-03T05:56:13.999Z] + true [2021-02-03T05:56:14.000Z] Redirecting to /bin/systemctl restart docker.service [2021-02-03T05:56:14.152Z] b116817d02f9: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-03T05:56:16.071Z] provisioning config files... [2021-02-03T05:56:16.102Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1131724772303456917tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-03T05:56:16.560Z] ---> docker-login.sh [2021-02-03T05:56:16.560Z] nexus3.edgexfoundry.org:10001 [2021-02-03T05:56:16.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-03T05:56:16.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-03T05:56:16.825Z] Configure a credential helper to remove this warning. See [2021-02-03T05:56:16.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-03T05:56:16.825Z] [2021-02-03T05:56:16.825Z] Login Succeeded [2021-02-03T05:56:16.825Z] nexus3.edgexfoundry.org:10002 [2021-02-03T05:56:17.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-03T05:56:17.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-03T05:56:17.090Z] Configure a credential helper to remove this warning. See [2021-02-03T05:56:17.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-03T05:56:17.090Z] [2021-02-03T05:56:17.090Z] Login Succeeded [2021-02-03T05:56:17.090Z] nexus3.edgexfoundry.org:10003 [2021-02-03T05:56:17.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-03T05:56:17.357Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-03T05:56:17.357Z] Configure a credential helper to remove this warning. See [2021-02-03T05:56:17.357Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-03T05:56:17.357Z] [2021-02-03T05:56:17.357Z] Login Succeeded [2021-02-03T05:56:17.357Z] nexus3.edgexfoundry.org:10004 [2021-02-03T05:56:17.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-03T05:56:17.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-03T05:56:17.621Z] Configure a credential helper to remove this warning. See [2021-02-03T05:56:17.621Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-03T05:56:17.621Z] [2021-02-03T05:56:17.621Z] Login Succeeded [2021-02-03T05:56:17.621Z] docker.io [2021-02-03T05:56:17.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-03T05:56:17.885Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-03T05:56:17.885Z] Configure a credential helper to remove this warning. See [2021-02-03T05:56:17.885Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-03T05:56:17.885Z] [2021-02-03T05:56:17.885Z] Login Succeeded [2021-02-03T05:56:17.885Z] ---> docker-login.sh ends [Pipeline] } [2021-02-03T05:56:17.973Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-02-03T05:56:18.470Z] 745a02a5169b: Pull complete [2021-02-03T05:56:18.471Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-03T05:56:18.471Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-03T05:56:18.471Z] ---> b7e6874047d6 [2021-02-03T05:56:18.471Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [Pipeline] echo [2021-02-03T05:56:18.615Z] ========================================================= [2021-02-03T05:56:18.616Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-03T05:56:18.616Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-03T05:56:19.022Z] + 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-03T05:56:19.293Z] Sending build context to Docker daemon 2.499MB [2021-02-03T05:56:19.293Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-03T05:56:19.293Z] Step 2/8 : FROM ${BASE} [2021-02-03T05:56:19.293Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-03T05:56:19.293Z] 188c0c94c7c5: Pulling fs layer [2021-02-03T05:56:19.293Z] 0ef7d3d256c8: Pulling fs layer [2021-02-03T05:56:19.293Z] de9db76c5a1d: Pulling fs layer [2021-02-03T05:56:19.293Z] bca2f99d35d6: Pulling fs layer [2021-02-03T05:56:19.293Z] 93359f2a8cfa: Pulling fs layer [2021-02-03T05:56:19.293Z] 7c6f9722023f: Pulling fs layer [2021-02-03T05:56:19.293Z] a35cf1a2eb13: Pulling fs layer [2021-02-03T05:56:19.293Z] bca2f99d35d6: Waiting [2021-02-03T05:56:19.293Z] 93359f2a8cfa: Waiting [2021-02-03T05:56:19.293Z] 7c6f9722023f: Waiting [2021-02-03T05:56:19.293Z] a35cf1a2eb13: Waiting [2021-02-03T05:56:19.293Z] de9db76c5a1d: Verifying Checksum [2021-02-03T05:56:19.293Z] de9db76c5a1d: Download complete [2021-02-03T05:56:19.293Z] 0ef7d3d256c8: Download complete [2021-02-03T05:56:19.293Z] 93359f2a8cfa: Verifying Checksum [2021-02-03T05:56:19.293Z] 93359f2a8cfa: Download complete [2021-02-03T05:56:19.293Z] 188c0c94c7c5: Verifying Checksum [2021-02-03T05:56:19.293Z] 7c6f9722023f: Verifying Checksum [2021-02-03T05:56:19.293Z] 7c6f9722023f: Download complete [2021-02-03T05:56:19.557Z] 188c0c94c7c5: Pull complete [2021-02-03T05:56:19.821Z] 0ef7d3d256c8: Pull complete [2021-02-03T05:56:20.089Z] de9db76c5a1d: Pull complete [2021-02-03T05:56:21.074Z] ---> Running in b241c163bf1f [2021-02-03T05:56:21.074Z] Removing intermediate container b241c163bf1f [2021-02-03T05:56:21.074Z] ---> a165a8b7611f [2021-02-03T05:56:21.074Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-03T05:56:21.074Z] ---> Running in 1411abb52664 [2021-02-03T05:56:21.509Z] a35cf1a2eb13: Verifying Checksum [2021-02-03T05:56:21.509Z] a35cf1a2eb13: Download complete [2021-02-03T05:56:21.775Z] bca2f99d35d6: Verifying Checksum [2021-02-03T05:56:21.775Z] bca2f99d35d6: Download complete [2021-02-03T05:56:23.714Z] Removing intermediate container 1411abb52664 [2021-02-03T05:56:23.714Z] ---> 1292ed0b7b6b [2021-02-03T05:56:23.714Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-03T05:56:23.714Z] ---> Running in e5e2d2583615 [2021-02-03T05:56:24.695Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-03T05:56:25.298Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-03T05:56:25.890Z] OK: 142 MiB in 39 packages [2021-02-03T05:56:27.129Z] bca2f99d35d6: Pull complete [2021-02-03T05:56:27.325Z] Removing intermediate container e5e2d2583615 [2021-02-03T05:56:27.325Z] ---> 2e3ad46cdba9 [2021-02-03T05:56:27.325Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-03T05:56:27.325Z] ---> Running in d572bc748ea8 [2021-02-03T05:56:27.392Z] 93359f2a8cfa: Pull complete [2021-02-03T05:56:27.393Z] 7c6f9722023f: Pull complete [2021-02-03T05:56:27.921Z] Removing intermediate container d572bc748ea8 [2021-02-03T05:56:27.921Z] ---> 7fd9a30c16df [2021-02-03T05:56:27.921Z] Step 7/8 : COPY . . [2021-02-03T05:56:29.365Z] ---> 0517c77e40af [2021-02-03T05:56:29.365Z] Step 8/8 : RUN go mod download [2021-02-03T05:56:29.365Z] ---> Running in 119026c223b8 [2021-02-03T05:56:32.719Z] a35cf1a2eb13: Pull complete [2021-02-03T05:56:32.719Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-03T05:56:32.719Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-03T05:56:32.719Z] ---> a62c8e92a672 [2021-02-03T05:56:32.719Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-03T05:56:32.719Z] ---> Running in 99593f04ed5e [2021-02-03T05:56:32.984Z] Removing intermediate container 99593f04ed5e [2021-02-03T05:56:32.984Z] ---> c7723c9050b1 [2021-02-03T05:56:32.984Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-03T05:56:33.259Z] ---> Running in 4e5678053df7 [2021-02-03T05:56:34.213Z] Removing intermediate container 4e5678053df7 [2021-02-03T05:56:34.213Z] ---> aa71e6457150 [2021-02-03T05:56:34.213Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-03T05:56:34.481Z] ---> Running in 2a3977398013 [2021-02-03T05:56:35.434Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-03T05:56:36.011Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-03T05:56:36.275Z] OK: 166 MiB in 39 packages [2021-02-03T05:56:36.856Z] Removing intermediate container 2a3977398013 [2021-02-03T05:56:36.856Z] ---> d6a0425a4c4c [2021-02-03T05:56:36.856Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-03T05:56:36.856Z] ---> Running in 8191df7f7760 [2021-02-03T05:56:37.120Z] Removing intermediate container 8191df7f7760 [2021-02-03T05:56:37.120Z] ---> eb25a341f74f [2021-02-03T05:56:37.120Z] Step 7/8 : COPY . . [2021-02-03T05:56:38.515Z] ---> f89d37160e73 [2021-02-03T05:56:38.515Z] Step 8/8 : RUN go mod download [2021-02-03T05:56:38.515Z] ---> Running in 69042852d761 [2021-02-03T05:56:51.526Z] Removing intermediate container 119026c223b8 [2021-02-03T05:56:51.526Z] ---> 6284a2f6fe77 [2021-02-03T05:56:51.526Z] Successfully built 6284a2f6fe77 [2021-02-03T05:56:51.526Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-03T05:56:51.917Z] + docker inspect -f . ci-base-image-arm64 [2021-02-03T05:56:51.917Z] . [Pipeline] withDockerContainer [2021-02-03T05:56:52.213Z] prd-ubuntu18.04-docker-arm64-4c-16g-24673 does not seem to be running inside a container [2021-02-03T05:56:52.300Z] $ 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-03T05:56:53.887Z] $ docker top bcbda679c8772f2e9d757ef912f699fa17489e65817ee59e3db0f88a9293323f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-03T05:56:54.996Z] + go version [2021-02-03T05:56:54.996Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-03T05:56:55.038Z] $ docker stop --time=1 bcbda679c8772f2e9d757ef912f699fa17489e65817ee59e3db0f88a9293323f [2021-02-03T05:56:56.707Z] Removing intermediate container 69042852d761 [2021-02-03T05:56:56.707Z] ---> 47c43ab2c703 [2021-02-03T05:56:56.707Z] Successfully built 47c43ab2c703 [2021-02-03T05:56:56.707Z] Successfully tagged ci-base-image-x86_64:latest [2021-02-03T05:56:57.054Z] $ docker rm -f bcbda679c8772f2e9d757ef912f699fa17489e65817ee59e3db0f88a9293323f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-03T05:56:58.019Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-03T05:56:58.019Z] . [Pipeline] withDockerContainer [2021-02-03T05:56:58.222Z] prd-centos7-docker-4c-2g-24674 does not seem to be running inside a container [2021-02-03T05:56:58.269Z] + docker inspect -f . ci-base-image-arm64 [2021-02-03T05:56:58.270Z] . [2021-02-03T05:56:58.279Z] $ 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-03T05:56:59.149Z] $ docker top 1e05e8fd84e120ebbcc9026dc040d3f8e4279b1b57494b9c695b4f43dab338ac -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer [2021-02-03T05:56:59.676Z] prd-ubuntu18.04-docker-arm64-4c-16g-24673 does not seem to be running inside a container [2021-02-03T05:56:59.757Z] $ 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-03T05:57:01.370Z] $ docker top f4b15714b49a1a9fc7d0f694a7624fd748a76cd8fee50f21595041a692645afb -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-02-03T05:57:02.099Z] + go version [2021-02-03T05:57:02.099Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-03T05:57:02.132Z] $ docker stop --time=1 1e05e8fd84e120ebbcc9026dc040d3f8e4279b1b57494b9c695b4f43dab338ac [2021-02-03T05:57:02.507Z] + make test [2021-02-03T05:57:02.507Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-03T05:57:04.053Z] $ docker rm -f 1e05e8fd84e120ebbcc9026dc040d3f8e4279b1b57494b9c695b4f43dab338ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-03T05:57:05.189Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-03T05:57:05.189Z] . [Pipeline] withDockerContainer [2021-02-03T05:57:05.323Z] prd-centos7-docker-4c-2g-24674 does not seem to be running inside a container [2021-02-03T05:57:05.381Z] $ 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-03T05:57:05.974Z] $ docker top 53e97d79a5e203e10a98a3f61b0bf72583f06e1c8efe1618405300adf57994fa -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-03T05:57:06.580Z] + make test [2021-02-03T05:57:06.580Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-03T05:57:14.792Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-03T05:57:24.687Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-03T05:57:29.854Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-03T05:57:29.854Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-03T05:57:29.854Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-03T05:57:29.854Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.077s coverage: 19.4% of statements [2021-02-03T05:57:32.473Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.446s coverage: 97.1% of statements [2021-02-03T05:58:03.731Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-03T05:58:03.732Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-03T05:58:03.732Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-03T05:58:04.335Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.172s coverage: 19.4% of statements [2021-02-03T05:58:04.685Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.069s coverage: 9.4% of statements [2021-02-03T05:58:04.685Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.054s coverage: 21.7% of statements [2021-02-03T05:58:04.685Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-03T05:58:04.685Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.251s coverage: 43.6% of statements [2021-02-03T05:58:04.685Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-03T05:58:04.685Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.300s coverage: 68.9% of statements [2021-02-03T05:58:04.685Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-02-03T05:58:04.685Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-03T05:58:04.685Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-03T05:58:04.685Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-03T05:58:04.685Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.081s coverage: 53.8% of statements [2021-02-03T05:58:04.685Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-03T05:58:04.685Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-02-03T05:58:04.685Z] --- FAIL: TestSecretRequest (0.02s) [2021-02-03T05:58:04.685Z] --- FAIL: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash (0.00s) [2021-02-03T05:58:04.685Z] common_test.go:261: [2021-02-03T05:58:04.685Z] Error Trace: common_test.go:261 [2021-02-03T05:58:04.685Z] Error: Not equal: [2021-02-03T05:58:04.685Z] expected: 201 [2021-02-03T05:58:04.685Z] actual : 400 [2021-02-03T05:58:04.685Z] Test: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash [2021-02-03T05:58:04.685Z] Messages: HTTP status code not as expected [2021-02-03T05:58:04.685Z] common_test.go:263: [2021-02-03T05:58:04.685Z] Error Trace: common_test.go:263 [2021-02-03T05:58:04.685Z] Error: Not equal: [2021-02-03T05:58:04.685Z] expected: 201 [2021-02-03T05:58:04.685Z] actual : 400 [2021-02-03T05:58:04.685Z] Test: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash [2021-02-03T05:58:04.685Z] Messages: BaseResponse status code not as expected [2021-02-03T05:58:04.685Z] common_test.go:270: [2021-02-03T05:58:04.686Z] Error Trace: common_test.go:270 [2021-02-03T05:58:04.686Z] Error: Not equal: [2021-02-03T05:58:04.686Z] expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-02-03T05:58:04.686Z] actual : "" [2021-02-03T05:58:04.686Z] [2021-02-03T05:58:04.686Z] Diff: [2021-02-03T05:58:04.686Z] --- Expected [2021-02-03T05:58:04.686Z] +++ Actual [2021-02-03T05:58:04.686Z] @@ -1 +1 @@ [2021-02-03T05:58:04.686Z] -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-03T05:58:04.686Z] + [2021-02-03T05:58:04.686Z] Test: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash [2021-02-03T05:58:04.686Z] Messages: RequestID not as expected [2021-02-03T05:58:04.686Z] common_test.go:271: [2021-02-03T05:58:04.686Z] Error Trace: common_test.go:271 [2021-02-03T05:58:04.686Z] Error: Should be empty, but was JSON decode failed -> SecretRequest validation failed. -> SecretRequest.BaseRequest.Versionable.ApiVersion field is required [2021-02-03T05:58:04.686Z] Test: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash [2021-02-03T05:58:04.686Z] Messages: Message not empty, as expected [2021-02-03T05:58:04.686Z] --- FAIL: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash (0.00s) [2021-02-03T05:58:04.686Z] common_test.go:261: [2021-02-03T05:58:04.686Z] Error Trace: common_test.go:261 [2021-02-03T05:58:04.686Z] Error: Not equal: [2021-02-03T05:58:04.686Z] expected: 201 [2021-02-03T05:58:04.686Z] actual : 400 [2021-02-03T05:58:04.686Z] Test: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-03T05:58:04.686Z] Messages: HTTP status code not as expected [2021-02-03T05:58:04.686Z] common_test.go:263: [2021-02-03T05:58:04.686Z] Error Trace: common_test.go:263 [2021-02-03T05:58:04.686Z] Error: Not equal: [2021-02-03T05:58:04.686Z] expected: 201 [2021-02-03T05:58:04.686Z] actual : 400 [2021-02-03T05:58:04.686Z] Test: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-03T05:58:04.686Z] Messages: BaseResponse status code not as expected [2021-02-03T05:58:04.686Z] common_test.go:270: [2021-02-03T05:58:04.686Z] Error Trace: common_test.go:270 [2021-02-03T05:58:04.686Z] Error: Not equal: [2021-02-03T05:58:04.686Z] expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-02-03T05:58:04.686Z] actual : "" [2021-02-03T05:58:04.686Z] [2021-02-03T05:58:04.686Z] Diff: [2021-02-03T05:58:04.686Z] --- Expected [2021-02-03T05:58:04.686Z] +++ Actual [2021-02-03T05:58:04.686Z] @@ -1 +1 @@ [2021-02-03T05:58:04.686Z] -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-03T05:58:04.686Z] + [2021-02-03T05:58:04.686Z] Test: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-03T05:58:04.686Z] Messages: RequestID not as expected [2021-02-03T05:58:04.686Z] common_test.go:271: [2021-02-03T05:58:04.686Z] Error Trace: common_test.go:271 [2021-02-03T05:58:04.686Z] Error: Should be empty, but was JSON decode failed -> SecretRequest validation failed. -> SecretRequest.BaseRequest.Versionable.ApiVersion field is required [2021-02-03T05:58:04.686Z] Test: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-03T05:58:04.686Z] Messages: Message not empty, as expected [2021-02-03T05:58:04.686Z] --- FAIL: TestSecretRequest/Valid_-_both_trailing_slashes (0.00s) [2021-02-03T05:58:04.686Z] common_test.go:261: [2021-02-03T05:58:04.686Z] Error Trace: common_test.go:261 [2021-02-03T05:58:04.686Z] Error: Not equal: [2021-02-03T05:58:04.686Z] expected: 201 [2021-02-03T05:58:04.686Z] actual : 400 [2021-02-03T05:58:04.686Z] Test: TestSecretRequest/Valid_-_both_trailing_slashes [2021-02-03T05:58:04.686Z] Messages: HTTP status code not as expected [2021-02-03T05:58:04.686Z] common_test.go:263: [2021-02-03T05:58:04.686Z] Error Trace: common_test.go:263 [2021-02-03T05:58:04.686Z] Error: Not equal: [2021-02-03T05:58:04.686Z] expected: 201 [2021-02-03T05:58:04.686Z] actual : 400 [2021-02-03T05:58:04.686Z] Test: TestSecretRequest/Valid_-_both_trailing_slashes [2021-02-03T05:58:04.686Z] Messages: BaseResponse status code not as expected [2021-02-03T05:58:04.686Z] common_test.go:270: [2021-02-03T05:58:04.686Z] Error Trace: common_test.go:270 [2021-02-03T05:58:04.686Z] Error: Not equal: [2021-02-03T05:58:04.686Z] expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-02-03T05:58:04.686Z] actual : "" [2021-02-03T05:58:04.686Z] [2021-02-03T05:58:04.686Z] Diff: [2021-02-03T05:58:04.686Z] --- Expected [2021-02-03T05:58:04.686Z] +++ Actual [2021-02-03T05:58:04.686Z] @@ -1 +1 @@ [2021-02-03T05:58:04.686Z] -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-03T05:58:04.686Z] + [2021-02-03T05:58:04.686Z] Test: TestSecretRequest/Valid_-_both_trailing_slashes [2021-02-03T05:58:04.686Z] Messages: RequestID not as expected [2021-02-03T05:58:04.686Z] common_test.go:271: [2021-02-03T05:58:04.686Z] Error Trace: common_test.go:271 [2021-02-03T05:58:04.686Z] Error: Should be empty, but was JSON decode failed -> SecretRequest validation failed. -> SecretRequest.BaseRequest.Versionable.ApiVersion field is required [2021-02-03T05:58:04.686Z] Test: TestSecretRequest/Valid_-_both_trailing_slashes [2021-02-03T05:58:04.686Z] Messages: Message not empty, as expected [2021-02-03T05:58:04.686Z] --- FAIL: TestSecretRequest/Valid_-_no_requestId (0.00s) [2021-02-03T05:58:04.686Z] common_test.go:261: [2021-02-03T05:58:04.686Z] Error Trace: common_test.go:261 [2021-02-03T05:58:04.686Z] Error: Not equal: [2021-02-03T05:58:04.686Z] expected: 201 [2021-02-03T05:58:04.686Z] actual : 400 [2021-02-03T05:58:04.686Z] Test: TestSecretRequest/Valid_-_no_requestId [2021-02-03T05:58:04.686Z] Messages: HTTP status code not as expected [2021-02-03T05:58:04.686Z] common_test.go:263: [2021-02-03T05:58:04.686Z] Error Trace: common_test.go:263 [2021-02-03T05:58:04.686Z] Error: Not equal: [2021-02-03T05:58:04.686Z] expected: 201 [2021-02-03T05:58:04.686Z] actual : 400 [2021-02-03T05:58:04.686Z] Test: TestSecretRequest/Valid_-_no_requestId [2021-02-03T05:58:04.686Z] Messages: BaseResponse status code not as expected [2021-02-03T05:58:04.686Z] common_test.go:271: [2021-02-03T05:58:04.686Z] Error Trace: common_test.go:271 [2021-02-03T05:58:04.686Z] Error: Should be empty, but was JSON decode failed -> SecretRequest validation failed. -> SecretRequest.BaseRequest.Versionable.ApiVersion field is required [2021-02-03T05:58:04.686Z] Test: TestSecretRequest/Valid_-_no_requestId [2021-02-03T05:58:04.686Z] Messages: Message not empty, as expected [2021-02-03T05:58:04.686Z] --- FAIL: TestSecretRequest/Invalid_-_No_Secret_Store (0.00s) [2021-02-03T05:58:04.686Z] common_test.go:261: [2021-02-03T05:58:04.686Z] Error Trace: common_test.go:261 [2021-02-03T05:58:04.686Z] Error: Not equal: [2021-02-03T05:58:04.686Z] expected: 500 [2021-02-03T05:58:04.686Z] actual : 400 [2021-02-03T05:58:04.686Z] Test: TestSecretRequest/Invalid_-_No_Secret_Store [2021-02-03T05:58:04.686Z] Messages: HTTP status code not as expected [2021-02-03T05:58:04.686Z] common_test.go:263: [2021-02-03T05:58:04.686Z] Error Trace: common_test.go:263 [2021-02-03T05:58:04.686Z] Error: Not equal: [2021-02-03T05:58:04.686Z] expected: 500 [2021-02-03T05:58:04.686Z] actual : 400 [2021-02-03T05:58:04.686Z] Test: TestSecretRequest/Invalid_-_No_Secret_Store [2021-02-03T05:58:04.686Z] Messages: BaseResponse status code not as expected [2021-02-03T05:58:04.686Z] FAIL [2021-02-03T05:58:04.686Z] coverage: 17.3% of statements [2021-02-03T05:58:04.686Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.065s [2021-02-03T05:58:04.686Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.538s coverage: 83.5% of statements [2021-02-03T05:58:04.686Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.077s coverage: 4.2% of statements [2021-02-03T05:58:04.686Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-03T05:58:04.686Z] FAIL [2021-02-03T05:58:04.686Z] make: *** [Makefile:32: test] Error 1 [Pipeline] } [2021-02-03T05:58:04.740Z] $ docker stop --time=1 53e97d79a5e203e10a98a3f61b0bf72583f06e1c8efe1618405300adf57994fa [2021-02-03T05:58:06.422Z] $ docker rm -f 53e97d79a5e203e10a98a3f61b0bf72583f06e1c8efe1618405300adf57994fa [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-02-03T05:58:08.899Z] Failed in branch amd64 [2021-02-03T05:58:09.783Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.211s coverage: 97.1% of statements [2021-02-03T05:58:36.597Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.128s coverage: 9.4% of statements [2021-02-03T05:58:36.597Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.113s coverage: 21.7% of statements [2021-02-03T05:58:36.597Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-03T05:58:36.597Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.592s coverage: 43.6% of statements [2021-02-03T05:58:36.597Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-03T05:58:36.597Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.787s coverage: 68.9% of statements [2021-02-03T05:58:36.597Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-02-03T05:58:36.597Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-03T05:58:36.597Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-03T05:58:36.597Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-03T05:58:36.597Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.169s coverage: 53.8% of statements [2021-02-03T05:58:36.597Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-03T05:58:36.597Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-02-03T05:58:36.597Z] --- FAIL: TestSecretRequest (0.04s) [2021-02-03T05:58:36.597Z] --- FAIL: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash (0.01s) [2021-02-03T05:58:36.597Z] common_test.go:261: [2021-02-03T05:58:36.597Z] Error Trace: common_test.go:261 [2021-02-03T05:58:36.597Z] Error: Not equal: [2021-02-03T05:58:36.597Z] expected: 201 [2021-02-03T05:58:36.597Z] actual : 400 [2021-02-03T05:58:36.597Z] Test: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash [2021-02-03T05:58:36.597Z] Messages: HTTP status code not as expected [2021-02-03T05:58:36.597Z] common_test.go:263: [2021-02-03T05:58:36.597Z] Error Trace: common_test.go:263 [2021-02-03T05:58:36.597Z] Error: Not equal: [2021-02-03T05:58:36.597Z] expected: 201 [2021-02-03T05:58:36.597Z] actual : 400 [2021-02-03T05:58:36.597Z] Test: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash [2021-02-03T05:58:36.597Z] Messages: BaseResponse status code not as expected [2021-02-03T05:58:36.597Z] common_test.go:270: [2021-02-03T05:58:36.597Z] Error Trace: common_test.go:270 [2021-02-03T05:58:36.597Z] Error: Not equal: [2021-02-03T05:58:36.597Z] expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-02-03T05:58:36.597Z] actual : "" [2021-02-03T05:58:36.597Z] [2021-02-03T05:58:36.597Z] Diff: [2021-02-03T05:58:36.597Z] --- Expected [2021-02-03T05:58:36.597Z] +++ Actual [2021-02-03T05:58:36.597Z] @@ -1 +1 @@ [2021-02-03T05:58:36.597Z] -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-03T05:58:36.597Z] + [2021-02-03T05:58:36.597Z] Test: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash [2021-02-03T05:58:36.597Z] Messages: RequestID not as expected [2021-02-03T05:58:36.597Z] common_test.go:271: [2021-02-03T05:58:36.597Z] Error Trace: common_test.go:271 [2021-02-03T05:58:36.597Z] Error: Should be empty, but was JSON decode failed -> SecretRequest validation failed. -> SecretRequest.BaseRequest.Versionable.ApiVersion field is required [2021-02-03T05:58:36.597Z] Test: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash [2021-02-03T05:58:36.597Z] Messages: Message not empty, as expected [2021-02-03T05:58:36.597Z] --- FAIL: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash (0.01s) [2021-02-03T05:58:36.597Z] common_test.go:261: [2021-02-03T05:58:36.597Z] Error Trace: common_test.go:261 [2021-02-03T05:58:36.597Z] Error: Not equal: [2021-02-03T05:58:36.597Z] expected: 201 [2021-02-03T05:58:36.597Z] actual : 400 [2021-02-03T05:58:36.597Z] Test: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-03T05:58:36.597Z] Messages: HTTP status code not as expected [2021-02-03T05:58:36.597Z] common_test.go:263: [2021-02-03T05:58:36.597Z] Error Trace: common_test.go:263 [2021-02-03T05:58:36.597Z] Error: Not equal: [2021-02-03T05:58:36.597Z] expected: 201 [2021-02-03T05:58:36.597Z] actual : 400 [2021-02-03T05:58:36.597Z] Test: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-03T05:58:36.597Z] Messages: BaseResponse status code not as expected [2021-02-03T05:58:36.597Z] common_test.go:270: [2021-02-03T05:58:36.597Z] Error Trace: common_test.go:270 [2021-02-03T05:58:36.597Z] Error: Not equal: [2021-02-03T05:58:36.597Z] expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-02-03T05:58:36.597Z] actual : "" [2021-02-03T05:58:36.597Z] [2021-02-03T05:58:36.597Z] Diff: [2021-02-03T05:58:36.597Z] --- Expected [2021-02-03T05:58:36.597Z] +++ Actual [2021-02-03T05:58:36.597Z] @@ -1 +1 @@ [2021-02-03T05:58:36.597Z] -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-03T05:58:36.597Z] + [2021-02-03T05:58:36.597Z] Test: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-03T05:58:36.597Z] Messages: RequestID not as expected [2021-02-03T05:58:36.597Z] common_test.go:271: [2021-02-03T05:58:36.597Z] Error Trace: common_test.go:271 [2021-02-03T05:58:36.597Z] Error: Should be empty, but was JSON decode failed -> SecretRequest validation failed. -> SecretRequest.BaseRequest.Versionable.ApiVersion field is required [2021-02-03T05:58:36.597Z] Test: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-03T05:58:36.597Z] Messages: Message not empty, as expected [2021-02-03T05:58:36.597Z] --- FAIL: TestSecretRequest/Valid_-_both_trailing_slashes (0.01s) [2021-02-03T05:58:36.597Z] common_test.go:261: [2021-02-03T05:58:36.597Z] Error Trace: common_test.go:261 [2021-02-03T05:58:36.597Z] Error: Not equal: [2021-02-03T05:58:36.597Z] expected: 201 [2021-02-03T05:58:36.597Z] actual : 400 [2021-02-03T05:58:36.597Z] Test: TestSecretRequest/Valid_-_both_trailing_slashes [2021-02-03T05:58:36.597Z] Messages: HTTP status code not as expected [2021-02-03T05:58:36.597Z] common_test.go:263: [2021-02-03T05:58:36.597Z] Error Trace: common_test.go:263 [2021-02-03T05:58:36.597Z] Error: Not equal: [2021-02-03T05:58:36.597Z] expected: 201 [2021-02-03T05:58:36.597Z] actual : 400 [2021-02-03T05:58:36.597Z] Test: TestSecretRequest/Valid_-_both_trailing_slashes [2021-02-03T05:58:36.597Z] Messages: BaseResponse status code not as expected [2021-02-03T05:58:36.597Z] common_test.go:270: [2021-02-03T05:58:36.597Z] Error Trace: common_test.go:270 [2021-02-03T05:58:36.597Z] Error: Not equal: [2021-02-03T05:58:36.597Z] expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-02-03T05:58:36.597Z] actual : "" [2021-02-03T05:58:36.597Z] [2021-02-03T05:58:36.597Z] Diff: [2021-02-03T05:58:36.597Z] --- Expected [2021-02-03T05:58:36.597Z] +++ Actual [2021-02-03T05:58:36.597Z] @@ -1 +1 @@ [2021-02-03T05:58:36.597Z] -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-03T05:58:36.597Z] + [2021-02-03T05:58:36.597Z] Test: TestSecretRequest/Valid_-_both_trailing_slashes [2021-02-03T05:58:36.597Z] Messages: RequestID not as expected [2021-02-03T05:58:36.597Z] common_test.go:271: [2021-02-03T05:58:36.597Z] Error Trace: common_test.go:271 [2021-02-03T05:58:36.597Z] Error: Should be empty, but was JSON decode failed -> SecretRequest validation failed. -> SecretRequest.BaseRequest.Versionable.ApiVersion field is required [2021-02-03T05:58:36.597Z] Test: TestSecretRequest/Valid_-_both_trailing_slashes [2021-02-03T05:58:36.597Z] Messages: Message not empty, as expected [2021-02-03T05:58:36.597Z] --- FAIL: TestSecretRequest/Valid_-_no_requestId (0.00s) [2021-02-03T05:58:36.597Z] common_test.go:261: [2021-02-03T05:58:36.597Z] Error Trace: common_test.go:261 [2021-02-03T05:58:36.597Z] Error: Not equal: [2021-02-03T05:58:36.597Z] expected: 201 [2021-02-03T05:58:36.597Z] actual : 400 [2021-02-03T05:58:36.597Z] Test: TestSecretRequest/Valid_-_no_requestId [2021-02-03T05:58:36.597Z] Messages: HTTP status code not as expected [2021-02-03T05:58:36.597Z] common_test.go:263: [2021-02-03T05:58:36.597Z] Error Trace: common_test.go:263 [2021-02-03T05:58:36.597Z] Error: Not equal: [2021-02-03T05:58:36.597Z] expected: 201 [2021-02-03T05:58:36.597Z] actual : 400 [2021-02-03T05:58:36.597Z] Test: TestSecretRequest/Valid_-_no_requestId [2021-02-03T05:58:36.597Z] Messages: BaseResponse status code not as expected [2021-02-03T05:58:36.597Z] common_test.go:271: [2021-02-03T05:58:36.597Z] Error Trace: common_test.go:271 [2021-02-03T05:58:36.597Z] Error: Should be empty, but was JSON decode failed -> SecretRequest validation failed. -> SecretRequest.BaseRequest.Versionable.ApiVersion field is required [2021-02-03T05:58:36.597Z] Test: TestSecretRequest/Valid_-_no_requestId [2021-02-03T05:58:36.597Z] Messages: Message not empty, as expected [2021-02-03T05:58:36.597Z] --- FAIL: TestSecretRequest/Invalid_-_No_Secret_Store (0.00s) [2021-02-03T05:58:36.597Z] common_test.go:261: [2021-02-03T05:58:36.597Z] Error Trace: common_test.go:261 [2021-02-03T05:58:36.597Z] Error: Not equal: [2021-02-03T05:58:36.597Z] expected: 500 [2021-02-03T05:58:36.597Z] actual : 400 [2021-02-03T05:58:36.597Z] Test: TestSecretRequest/Invalid_-_No_Secret_Store [2021-02-03T05:58:36.597Z] Messages: HTTP status code not as expected [2021-02-03T05:58:36.597Z] common_test.go:263: [2021-02-03T05:58:36.597Z] Error Trace: common_test.go:263 [2021-02-03T05:58:36.597Z] Error: Not equal: [2021-02-03T05:58:36.597Z] expected: 500 [2021-02-03T05:58:36.597Z] actual : 400 [2021-02-03T05:58:36.597Z] Test: TestSecretRequest/Invalid_-_No_Secret_Store [2021-02-03T05:58:36.597Z] Messages: BaseResponse status code not as expected [2021-02-03T05:58:36.597Z] FAIL [2021-02-03T05:58:36.597Z] coverage: 17.3% of statements [2021-02-03T05:58:36.597Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.163s [2021-02-03T05:58:36.597Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.703s coverage: 83.5% of statements [2021-02-03T05:58:36.597Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.130s coverage: 4.2% of statements [2021-02-03T05:58:36.597Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-03T05:58:36.597Z] FAIL [2021-02-03T05:58:36.597Z] make: *** [Makefile:32: test] Error 1 [Pipeline] } [2021-02-03T05:58:36.666Z] $ docker stop --time=1 f4b15714b49a1a9fc7d0f694a7624fd748a76cd8fee50f21595041a692645afb [2021-02-03T05:58:38.852Z] $ docker rm -f f4b15714b49a1a9fc7d0f694a7624fd748a76cd8fee50f21595041a692645afb [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-03T05:58:41.925Z] 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-03T05:58:46.535Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-03T05:58:46.880Z] ---> package-listing.sh [2021-02-03T05:58:46.881Z] ++ facter osfamily [2021-02-03T05:58:46.881Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-03T05:58:46.881Z] + OS_FAMILY=redhat [2021-02-03T05:58:46.881Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-772 [2021-02-03T05:58:46.881Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-03T05:58:46.881Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-03T05:58:46.881Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-03T05:58:46.881Z] + PACKAGES=/tmp/packages_start.txt [2021-02-03T05:58:46.881Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-772 ']' [2021-02-03T05:58:46.881Z] + PACKAGES=/tmp/packages_end.txt [2021-02-03T05:58:46.881Z] + case "${OS_FAMILY}" in [2021-02-03T05:58:46.881Z] + rpm -qa [2021-02-03T05:58:46.881Z] + sort [2021-02-03T05:58:52.214Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-03T05:58:52.214Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-03T05:58:52.214Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-03T05:58:52.214Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-772 ']' [2021-02-03T05:58:52.214Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-772/archives/ [2021-02-03T05:58:52.214Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-772/archives/ [Pipeline] echo [2021-02-03T05:58:52.263Z] 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-772/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-02-03T05:58:52.584Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-03T05:58:52.930Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-03T05:58:52.930Z] [2021-02-03T05:58:52.930Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-03T05:58:53.328Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-03T05:58:53.328Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-03T05:58:53.328Z] df20fa9351a1: Pulling fs layer [2021-02-03T05:58:53.328Z] 36b3adc4ff6f: Pulling fs layer [2021-02-03T05:58:53.328Z] 8ad3a11d3b57: Pulling fs layer [2021-02-03T05:58:53.328Z] 46f8f816bc3b: Pulling fs layer [2021-02-03T05:58:53.328Z] 93b61091891f: Pulling fs layer [2021-02-03T05:58:53.328Z] 93b9cdb0e59b: Pulling fs layer [2021-02-03T05:58:53.328Z] 5e14af77c1be: Pulling fs layer [2021-02-03T05:58:53.328Z] 01666e4c0597: Pulling fs layer [2021-02-03T05:58:53.328Z] aa168da1d23b: Pulling fs layer [2021-02-03T05:58:53.328Z] 93b9cdb0e59b: Waiting [2021-02-03T05:58:53.328Z] 5e14af77c1be: Waiting [2021-02-03T05:58:53.328Z] 01666e4c0597: Waiting [2021-02-03T05:58:53.328Z] aa168da1d23b: Waiting [2021-02-03T05:58:53.328Z] 46f8f816bc3b: Waiting [2021-02-03T05:58:53.328Z] 93b61091891f: Waiting [2021-02-03T05:58:53.328Z] 36b3adc4ff6f: Verifying Checksum [2021-02-03T05:58:53.328Z] 36b3adc4ff6f: Download complete [2021-02-03T05:58:53.328Z] 46f8f816bc3b: Verifying Checksum [2021-02-03T05:58:53.328Z] 46f8f816bc3b: Download complete [2021-02-03T05:58:53.593Z] df20fa9351a1: Verifying Checksum [2021-02-03T05:58:53.593Z] 93b9cdb0e59b: Verifying Checksum [2021-02-03T05:58:53.593Z] 93b9cdb0e59b: Download complete [2021-02-03T05:58:53.593Z] 5e14af77c1be: Verifying Checksum [2021-02-03T05:58:53.593Z] 5e14af77c1be: Download complete [2021-02-03T05:58:53.593Z] 01666e4c0597: Verifying Checksum [2021-02-03T05:58:53.593Z] 01666e4c0597: Download complete [2021-02-03T05:58:53.593Z] 93b61091891f: Verifying Checksum [2021-02-03T05:58:53.593Z] 93b61091891f: Download complete [2021-02-03T05:58:53.593Z] 8ad3a11d3b57: Verifying Checksum [2021-02-03T05:58:53.593Z] 8ad3a11d3b57: Download complete [2021-02-03T05:58:53.858Z] df20fa9351a1: Pull complete [2021-02-03T05:58:54.126Z] 36b3adc4ff6f: Pull complete [2021-02-03T05:58:55.089Z] 8ad3a11d3b57: Pull complete [2021-02-03T05:58:55.353Z] 46f8f816bc3b: Pull complete [2021-02-03T05:58:55.617Z] aa168da1d23b: Verifying Checksum [2021-02-03T05:58:55.617Z] aa168da1d23b: Download complete [2021-02-03T05:58:55.883Z] 93b61091891f: Pull complete [2021-02-03T05:58:56.148Z] 93b9cdb0e59b: Pull complete [2021-02-03T05:58:56.148Z] 5e14af77c1be: Pull complete [2021-02-03T05:58:56.410Z] 01666e4c0597: Pull complete [2021-02-03T05:59:03.048Z] aa168da1d23b: Pull complete [2021-02-03T05:59:03.048Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-03T05:59:03.048Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-03T05:59:03.048Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-03T05:59:03.292Z] prd-centos7-docker-4c-2g-24672 does not seem to be running inside a container [2021-02-03T05:59:03.349Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-772/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-772 -v /w/workspace/dgexfoundry_device-sdk-go_PR-772:/w/workspace/dgexfoundry_device-sdk-go_PR-772:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-772@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-772@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-03T05:59:07.117Z] $ docker top 6ca4e4bfb6fe5c0b6c2d6b9eed78758ac7057445d6709d9f1ee37be2cf12e095 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-03T05:59:07.720Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-03T05:59:08.045Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-03T05:59:08.374Z] + ls /var/log/sa-host [2021-02-03T05:59:08.374Z] + sadf -c /var/log/sa-host/sa03 [2021-02-03T05:59:08.374Z] file_magic: OK [2021-02-03T05:59:08.374Z] HZ: Using current value: 100 [2021-02-03T05:59:08.374Z] file_header: OK [2021-02-03T05:59:08.374Z] 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-03T05:59:08.375Z] Statistics: [2021-02-03T05:59:08.375Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-03T05:59:08.375Z] File successfully converted to sysstat format version 12.2.1 [2021-02-03T05:59:08.375Z] + sadf -c /var/log/sa-host/sa23 [2021-02-03T05:59:08.375Z] file_magic: OK [2021-02-03T05:59:08.375Z] HZ: Using current value: 100 [2021-02-03T05:59:08.375Z] file_header: OK [2021-02-03T05:59:08.375Z] 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-03T05:59:08.375Z] Statistics: [2021-02-03T05:59:08.375Z] Hnuu...uuuununununu... [2021-02-03T05:59:08.375Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-03T05:59:09.106Z] provisioning config files... [2021-02-03T05:59:09.122Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-772@tmp/config7988947974478378055tmp [Pipeline] { [Pipeline] echo [2021-02-03T05:59:09.336Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-03T05:59:09.672Z] ---> create-netrc.sh [Pipeline] } [2021-02-03T05:59:09.700Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-03T05:59:09.851Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-03T05:59:10.193Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-03T05:59:10.227Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-03T05:59:10.575Z] ---> sudo-logs.sh [2021-02-03T05:59:10.575Z] Archiving 'sudo' log.. [Pipeline] echo [2021-02-03T05:59:10.612Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-03T05:59:10.952Z] ---> job-cost.sh [2021-02-03T05:59:10.952Z] lf-activate-venv: SKIPPING [2021-02-03T05:59:10.952Z] INFO: No Stack... [2021-02-03T05:59:11.901Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-03T05:59:12.165Z] INFO: Archiving Costs [Pipeline] echo [2021-02-03T05:59:12.207Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-03T05:59:12.559Z] ---> logs-deploy.sh [2021-02-03T05:59:12.559Z] lf-activate-venv: SKIPPING [2021-02-03T05:59:12.559Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-772/1 [2021-02-03T05:59:12.559Z] INFO: archiving workspace using pattern(s): [2021-02-03T05:59:14.498Z] Archives upload complete. [2021-02-03T05:59:14.498Z] INFO: archiving logs to Nexus