Pull request #773 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from bd024f16c1fd6404689049f6039988c772bffdcf+3aea893206dfece0cb943228d650ae216607898f (f30b6abb0f93e89c4f16b3bea139c9347655ca5b) 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-773/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-773/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-24920 in /w/workspace/dgexfoundry_device-sdk-go_PR-773 [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-773 # 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/773/head:refs/remotes/origin/PR-773 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit bd024f16c1fd6404689049f6039988c772bffdcf Merge succeeded, producing bd024f16c1fd6404689049f6039988c772bffdcf Checking out Revision bd024f16c1fd6404689049f6039988c772bffdcf (PR-773) > git config core.sparsecheckout # timeout=10 > git checkout -f bd024f16c1fd6404689049f6039988c772bffdcf # 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 bd024f16c1fd6404689049f6039988c772bffdcf # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/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-04T05:56:52.955Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-04T05:56:53.352Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-04T05:56:53.569Z] ========================================================= [2021-02-04T05:56:53.569Z] EdgeX Global Pipelines Version Info [2021-02-04T05:56:53.569Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-04T05:56:56.869Z] ------------------- [2021-02-04T05:56:56.869Z] stable info: [2021-02-04T05:56:56.869Z] ------------------- [2021-02-04T05:56:56.869Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-04T05:56:56.869Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-04T05:56:56.869Z] Message: update stable to v1.0.179 [2021-02-04T05:56:57.910Z] ------------------- [2021-02-04T05:56:57.910Z] experimental info: [2021-02-04T05:56:57.910Z] ------------------- [2021-02-04T05:56:57.910Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-04T05:56:57.910Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-04T05:56:57.910Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-04T05:56:58.300Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-02-04T05:56:58.430Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-02-04T05:56:58.563Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-04T05:56:58.688Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-04T05:56:58.833Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-04T05:56:58.960Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-04T05:56:59.096Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-04T05:56:59.221Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-04T05:56:59.354Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-02-04T05:56:59.476Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-04T05:56:59.628Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-04T05:56:59.774Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-02-04T05:56:59.892Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-04T05:57:00.017Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-04T05:57:00.236Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-02-04T05:57:00.409Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-04T05:57:00.537Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-04T05:57:00.660Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-04T05:57:00.790Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-04T05:57:00.914Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-04T05:57:01.037Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-02-04T05:57:01.201Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-02-04T05:57:01.329Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-04T05:57:01.489Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-04T05:57:01.627Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-02-04T05:57:01.751Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-02-04T05:57:01.878Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-02-04T05:57:01.997Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-773 [Pipeline] echo [2021-02-04T05:57:02.205Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-773 [Pipeline] echo [2021-02-04T05:57:02.348Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-773 [Pipeline] echo [2021-02-04T05:57:02.466Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bd024f16c1fd6404689049f6039988c772bffdcf [Pipeline] echo [2021-02-04T05:57:02.614Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bd024f1 [Pipeline] echo [2021-02-04T05:57:02.738Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-04T05:57:03.015Z] provisioning config files... [2021-02-04T05:57:03.070Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-773@tmp/config7915621510398286971tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-04T05:57:03.701Z] ---> docker-login.sh [2021-02-04T05:57:03.701Z] nexus3.edgexfoundry.org:10001 [2021-02-04T05:57:04.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T05:57:04.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T05:57:04.942Z] Configure a credential helper to remove this warning. See [2021-02-04T05:57:04.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T05:57:04.942Z] [2021-02-04T05:57:04.942Z] Login Succeeded [2021-02-04T05:57:04.942Z] nexus3.edgexfoundry.org:10002 [2021-02-04T05:57:05.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T05:57:05.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T05:57:05.211Z] Configure a credential helper to remove this warning. See [2021-02-04T05:57:05.211Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T05:57:05.211Z] [2021-02-04T05:57:05.211Z] Login Succeeded [2021-02-04T05:57:05.500Z] nexus3.edgexfoundry.org:10003 [2021-02-04T05:57:05.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T05:57:05.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T05:57:05.807Z] Configure a credential helper to remove this warning. See [2021-02-04T05:57:05.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T05:57:05.807Z] [2021-02-04T05:57:05.807Z] Login Succeeded [2021-02-04T05:57:05.807Z] nexus3.edgexfoundry.org:10004 [2021-02-04T05:57:06.083Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T05:57:06.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T05:57:06.352Z] Configure a credential helper to remove this warning. See [2021-02-04T05:57:06.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T05:57:06.352Z] [2021-02-04T05:57:06.352Z] Login Succeeded [2021-02-04T05:57:06.352Z] docker.io [2021-02-04T05:57:06.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T05:57:06.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T05:57:06.627Z] Configure a credential helper to remove this warning. See [2021-02-04T05:57:06.627Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T05:57:06.627Z] [2021-02-04T05:57:06.627Z] Login Succeeded [2021-02-04T05:57:06.627Z] ---> docker-login.sh ends [Pipeline] } [2021-02-04T05:57:06.659Z] 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-04T05:57:07.824Z] + git log --format=format:%s -1 bd024f16c1fd6404689049f6039988c772bffdcf [Pipeline] echo [2021-02-04T05:57:08.048Z] GIT_COMMIT: bd024f16c1fd6404689049f6039988c772bffdcf, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2021-02-04T05:57:08.125Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-04T05:57:08.866Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-04T05:57:08.866Z] [2021-02-04T05:57:08.866Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-04T05:57:09.447Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-04T05:57:09.759Z] latest: Pulling from edgex-devops/git-semver [2021-02-04T05:57:09.759Z] 31603596830f: Pulling fs layer [2021-02-04T05:57:09.759Z] 2a8b12db71e7: Pulling fs layer [2021-02-04T05:57:09.759Z] 6ca5941a6612: Pulling fs layer [2021-02-04T05:57:09.759Z] ecc8261a40a4: Pulling fs layer [2021-02-04T05:57:09.759Z] ecc8261a40a4: Waiting [2021-02-04T05:57:09.759Z] 2a8b12db71e7: Verifying Checksum [2021-02-04T05:57:09.759Z] 2a8b12db71e7: Download complete [2021-02-04T05:57:10.065Z] 31603596830f: Download complete [2021-02-04T05:57:10.341Z] 6ca5941a6612: Verifying Checksum [2021-02-04T05:57:10.341Z] 6ca5941a6612: Download complete [2021-02-04T05:57:10.341Z] ecc8261a40a4: Verifying Checksum [2021-02-04T05:57:10.341Z] ecc8261a40a4: Download complete [2021-02-04T05:57:10.620Z] 31603596830f: Pull complete [2021-02-04T05:57:10.620Z] 2a8b12db71e7: Pull complete [2021-02-04T05:57:12.611Z] 6ca5941a6612: Pull complete [2021-02-04T05:57:12.941Z] ecc8261a40a4: Pull complete [2021-02-04T05:57:12.941Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-04T05:57:13.216Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-04T05:57:13.216Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-04T05:57:13.502Z] prd-centos7-docker-4c-2g-24920 does not seem to be running inside a container [2021-02-04T05:57:13.587Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-773 -v /w/workspace/dgexfoundry_device-sdk-go_PR-773:/w/workspace/dgexfoundry_device-sdk-go_PR-773:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-773@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-773@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-04T05:57:16.227Z] $ docker top 235249b0b5fed32e0db15abf6f73c00d75ee85815c37a76a052977811c992c55 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-04T05:57:16.655Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-04T05:57:16.655Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-04T05:57:17.036Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-04T05:57:17.047Z] $ docker exec 235249b0b5fed32e0db15abf6f73c00d75ee85815c37a76a052977811c992c55 ssh-agent [2021-02-04T05:57:17.390Z] SSH_AUTH_SOCK=/tmp/ssh-ssL7DwWy9Cyc/agent.12 [2021-02-04T05:57:17.390Z] SSH_AGENT_PID=17 [2021-02-04T05:57:17.419Z] Running ssh-add (command line suppressed) [2021-02-04T05:57:17.704Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-773@tmp/private_key_8107548736719360022.key (/w/workspace/dgexfoundry_device-sdk-go_PR-773@tmp/private_key_8107548736719360022.key) [2021-02-04T05:57:17.798Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-04T05:57:18.188Z] + git tag --points-at HEAD [Pipeline] } [2021-02-04T05:57:18.234Z] $ docker exec --env ******** --env ******** 235249b0b5fed32e0db15abf6f73c00d75ee85815c37a76a052977811c992c55 ssh-agent -k [2021-02-04T05:57:18.499Z] unset SSH_AUTH_SOCK; [2021-02-04T05:57:18.500Z] unset SSH_AGENT_PID; [2021-02-04T05:57:18.500Z] echo Agent pid 17 killed; [2021-02-04T05:57:18.587Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-04T05:57:18.771Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-04T05:57:18.771Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-04T05:57:19.165Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-04T05:57:19.172Z] $ docker exec 235249b0b5fed32e0db15abf6f73c00d75ee85815c37a76a052977811c992c55 ssh-agent [2021-02-04T05:57:19.430Z] SSH_AUTH_SOCK=/tmp/ssh-fef6JtcUrvlI/agent.47 [2021-02-04T05:57:19.430Z] SSH_AGENT_PID=53 [2021-02-04T05:57:19.475Z] Running ssh-add (command line suppressed) [2021-02-04T05:57:19.660Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-773@tmp/private_key_3722318389091973427.key (/w/workspace/dgexfoundry_device-sdk-go_PR-773@tmp/private_key_3722318389091973427.key) [2021-02-04T05:57:19.760Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-04T05:57:20.165Z] + git semver init [2021-02-04T05:57:20.432Z] # -> Open(): unable to determine branch for HEAD [2021-02-04T05:57:20.432Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-773/.git [2021-02-04T05:57:20.432Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-773 [2021-02-04T05:57:20.432Z] # $SEMVER_REMOTE_NAME = origin [2021-02-04T05:57:20.432Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-04T05:57:20.432Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-04T05:57:20.432Z] # $SEMVER_BRANCH = PR-773 [2021-02-04T05:57:20.432Z] # $SEMVER_TEMP = /tmp/semver-813452701 [2021-02-04T05:57:20.432Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-02-04T05:57:21.424Z] # '/tmp/semver-813452701' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-773/.semver' [2021-02-04T05:57:21.424Z] # -> Force: false [2021-02-04T05:57:21.424Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-773/.semver [Pipeline] } [2021-02-04T05:57:21.448Z] $ docker exec --env ******** --env ******** 235249b0b5fed32e0db15abf6f73c00d75ee85815c37a76a052977811c992c55 ssh-agent -k [2021-02-04T05:57:21.753Z] unset SSH_AUTH_SOCK; [2021-02-04T05:57:21.773Z] unset SSH_AGENT_PID; [2021-02-04T05:57:21.773Z] echo Agent pid 53 killed; [2021-02-04T05:57:21.826Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-04T05:57:22.483Z] + git semver [Pipeline] } [2021-02-04T05:57:22.518Z] $ docker stop --time=1 235249b0b5fed32e0db15abf6f73c00d75ee85815c37a76a052977811c992c55 [2021-02-04T05:57:24.129Z] $ docker rm -f 235249b0b5fed32e0db15abf6f73c00d75ee85815c37a76a052977811c992c55 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-04T05:57:24.757Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-04T05:57:25.350Z] Stashed 1 file(s) [Pipeline] echo [2021-02-04T05:57:25.385Z] [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-04T05:57:41.383Z] Still waiting to schedule task [2021-02-04T05:57:41.383Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-02-04T05:57:41.404Z] Still waiting to schedule task [2021-02-04T05:57:41.404Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-02-04T05:59:15.361Z] Running on prd-centos7-docker-4c-2g-24923 in /w/workspace/dgexfoundry_device-sdk-go_PR-773 [Pipeline] { [Pipeline] ws [2021-02-04T05:59:15.454Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-02-04T05:59:17.636Z] using credential edgex-jenkins-ssh [2021-02-04T05:59:17.690Z] Cloning the remote Git repository [2021-02-04T05:59:17.526Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-04T05:59:17.600Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-02-04T05:59:17.667Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-04T05:59:17.668Z] > git --version # timeout=10 [2021-02-04T05:59:17.675Z] > git --version # 'git version 2.24.3' [2021-02-04T05:59:17.675Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-04T05:59:17.700Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-04T05:59:18.354Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-04T05:59:18.363Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-04T05:59:18.373Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-04T05:59:18.387Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-04T05:59:18.387Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-04T05:59:18.392Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/773/head:refs/remotes/origin/PR-773 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-04T05:59:18.906Z] Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit bd024f16c1fd6404689049f6039988c772bffdcf [2021-02-04T05:59:19.004Z] Merge succeeded, producing bd024f16c1fd6404689049f6039988c772bffdcf [2021-02-04T05:59:19.004Z] Checking out Revision bd024f16c1fd6404689049f6039988c772bffdcf (PR-773) [2021-02-04T05:59:18.828Z] > git config core.sparsecheckout # timeout=10 [2021-02-04T05:59:18.834Z] > git checkout -f bd024f16c1fd6404689049f6039988c772bffdcf # timeout=10 [2021-02-04T05:59:18.890Z] > git remote # timeout=10 [2021-02-04T05:59:18.895Z] > git config --get remote.origin.url # timeout=10 [2021-02-04T05:59:18.901Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-04T05:59:18.905Z] > git merge 3aea893206dfece0cb943228d650ae216607898f # timeout=10 [2021-02-04T05:59:18.919Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-04T05:59:18.929Z] > git config core.sparsecheckout # timeout=10 [2021-02-04T05:59:18.933Z] > git checkout -f bd024f16c1fd6404689049f6039988c772bffdcf # timeout=10 [2021-02-04T05:59:22.560Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2021-02-04T05:59:22.587Z] > git --version # timeout=10 [2021-02-04T05:59:22.592Z] > git --version # 'git version 2.24.3' [2021-02-04T05:59:22.598Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-04T05:59:24.029Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-04T05:59:24.382Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-04T05:59:24.571Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-24922 in /w/workspace/dgexfoundry_device-sdk-go_PR-773 [Pipeline] { [Pipeline] ws [2021-02-04T05:59:24.676Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [2021-02-04T05:59:24.707Z] + true [2021-02-04T05:59:24.707Z] + sudo service docker restart [2021-02-04T05:59:24.707Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] checkout [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-04T05:59:25.795Z] provisioning config files... [2021-02-04T05:59:25.823Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6172692418391260379tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-04T05:59:26.248Z] ---> docker-login.sh [2021-02-04T05:59:26.248Z] nexus3.edgexfoundry.org:10001 [2021-02-04T05:59:26.511Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T05:59:26.511Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T05:59:26.511Z] Configure a credential helper to remove this warning. See [2021-02-04T05:59:26.511Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T05:59:26.511Z] [2021-02-04T05:59:26.511Z] Login Succeeded [2021-02-04T05:59:26.511Z] nexus3.edgexfoundry.org:10002 [2021-02-04T05:59:26.774Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T05:59:26.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T05:59:26.774Z] Configure a credential helper to remove this warning. See [2021-02-04T05:59:26.774Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T05:59:26.774Z] [2021-02-04T05:59:26.774Z] Login Succeeded [2021-02-04T05:59:26.774Z] nexus3.edgexfoundry.org:10003 [2021-02-04T05:59:27.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T05:59:27.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T05:59:27.036Z] Configure a credential helper to remove this warning. See [2021-02-04T05:59:27.036Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T05:59:27.036Z] [2021-02-04T05:59:27.036Z] Login Succeeded [2021-02-04T05:59:27.036Z] nexus3.edgexfoundry.org:10004 [2021-02-04T05:59:27.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T05:59:27.298Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T05:59:27.298Z] Configure a credential helper to remove this warning. See [2021-02-04T05:59:27.298Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T05:59:27.298Z] [2021-02-04T05:59:27.298Z] Login Succeeded [2021-02-04T05:59:27.298Z] docker.io [2021-02-04T05:59:27.298Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T05:59:27.560Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T05:59:27.560Z] Configure a credential helper to remove this warning. See [2021-02-04T05:59:27.560Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T05:59:27.560Z] [2021-02-04T05:59:27.560Z] Login Succeeded [2021-02-04T05:59:27.560Z] ---> docker-login.sh ends [Pipeline] } [2021-02-04T05:59:27.593Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-04T05:59:28.170Z] ========================================================= [2021-02-04T05:59:28.171Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-04T05:59:28.171Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-04T05:59:28.557Z] + 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-04T05:59:28.557Z] Sending build context to Docker daemon 2.499MB [2021-02-04T05:59:28.557Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-04T05:59:28.557Z] Step 2/8 : FROM ${BASE} [2021-02-04T05:59:28.836Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-04T05:59:28.836Z] 188c0c94c7c5: Pulling fs layer [2021-02-04T05:59:28.836Z] 0ef7d3d256c8: Pulling fs layer [2021-02-04T05:59:28.836Z] de9db76c5a1d: Pulling fs layer [2021-02-04T05:59:28.836Z] bca2f99d35d6: Pulling fs layer [2021-02-04T05:59:28.836Z] 93359f2a8cfa: Pulling fs layer [2021-02-04T05:59:28.836Z] 7c6f9722023f: Pulling fs layer [2021-02-04T05:59:28.836Z] a35cf1a2eb13: Pulling fs layer [2021-02-04T05:59:28.836Z] 93359f2a8cfa: Waiting [2021-02-04T05:59:28.836Z] a35cf1a2eb13: Waiting [2021-02-04T05:59:28.836Z] 7c6f9722023f: Waiting [2021-02-04T05:59:28.836Z] bca2f99d35d6: Waiting [2021-02-04T05:59:28.836Z] de9db76c5a1d: Download complete [2021-02-04T05:59:28.836Z] 0ef7d3d256c8: Download complete [2021-02-04T05:59:28.836Z] 93359f2a8cfa: Verifying Checksum [2021-02-04T05:59:28.836Z] 93359f2a8cfa: Download complete [2021-02-04T05:59:28.836Z] 7c6f9722023f: Verifying Checksum [2021-02-04T05:59:28.836Z] 7c6f9722023f: Download complete [2021-02-04T05:59:28.836Z] 188c0c94c7c5: Verifying Checksum [2021-02-04T05:59:28.836Z] 188c0c94c7c5: Download complete [2021-02-04T05:59:29.106Z] 188c0c94c7c5: Pull complete [2021-02-04T05:59:29.367Z] 0ef7d3d256c8: Pull complete [2021-02-04T05:59:29.368Z] de9db76c5a1d: Pull complete [2021-02-04T05:59:29.693Z] using credential edgex-jenkins-ssh [2021-02-04T05:59:29.758Z] Cloning the remote Git repository [2021-02-04T05:59:29.815Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-04T05:59:29.929Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-02-04T05:59:30.014Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-04T05:59:30.016Z] > git --version # timeout=10 [2021-02-04T05:59:30.045Z] > git --version # 'git version 2.17.1' [2021-02-04T05:59:30.047Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-04T05:59:30.129Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-04T05:59:31.324Z] a35cf1a2eb13: Verifying Checksum [2021-02-04T05:59:31.324Z] a35cf1a2eb13: Download complete [2021-02-04T05:59:31.833Z] Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit bd024f16c1fd6404689049f6039988c772bffdcf [2021-02-04T05:59:31.907Z] bca2f99d35d6: Verifying Checksum [2021-02-04T05:59:31.907Z] bca2f99d35d6: Download complete [2021-02-04T05:59:32.090Z] Merge succeeded, producing bd024f16c1fd6404689049f6039988c772bffdcf [2021-02-04T05:59:32.091Z] Checking out Revision bd024f16c1fd6404689049f6039988c772bffdcf (PR-773) [2021-02-04T05:59:31.188Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-04T05:59:31.219Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-04T05:59:31.248Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-04T05:59:31.291Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-04T05:59:31.291Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-04T05:59:31.304Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/773/head:refs/remotes/origin/PR-773 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-04T05:59:31.847Z] > git config core.sparsecheckout # timeout=10 [2021-02-04T05:59:31.866Z] > git checkout -f bd024f16c1fd6404689049f6039988c772bffdcf # timeout=10 [2021-02-04T05:59:31.986Z] > git remote # timeout=10 [2021-02-04T05:59:32.014Z] > git config --get remote.origin.url # timeout=10 [2021-02-04T05:59:32.034Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-04T05:59:32.045Z] > git merge 3aea893206dfece0cb943228d650ae216607898f # timeout=10 [2021-02-04T05:59:32.067Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-04T05:59:32.095Z] > git config core.sparsecheckout # timeout=10 [2021-02-04T05:59:32.106Z] > git checkout -f bd024f16c1fd6404689049f6039988c772bffdcf # timeout=10 [2021-02-04T05:59:36.479Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2021-02-04T05:59:36.533Z] > git --version # timeout=10 [2021-02-04T05:59:36.544Z] > git --version # 'git version 2.17.1' [2021-02-04T05:59:36.554Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-04T05:59:38.257Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-04T05:59:38.594Z] bca2f99d35d6: Pull complete [2021-02-04T05:59:38.594Z] 93359f2a8cfa: Pull complete [2021-02-04T05:59:38.594Z] 7c6f9722023f: Pull complete [2021-02-04T05:59:38.711Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-04T05:59:39.077Z] + sudo service docker restart [2021-02-04T05:59:39.077Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-04T05:59:41.852Z] provisioning config files... [2021-02-04T05:59:41.888Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config484248472006734183tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-04T05:59:42.374Z] ---> docker-login.sh [2021-02-04T05:59:42.374Z] nexus3.edgexfoundry.org:10001 [2021-02-04T05:59:43.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T05:59:43.629Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T05:59:43.629Z] Configure a credential helper to remove this warning. See [2021-02-04T05:59:43.629Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T05:59:43.629Z] [2021-02-04T05:59:43.629Z] Login Succeeded [2021-02-04T05:59:43.629Z] nexus3.edgexfoundry.org:10002 [2021-02-04T05:59:43.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T05:59:44.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T05:59:44.184Z] Configure a credential helper to remove this warning. See [2021-02-04T05:59:44.184Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T05:59:44.184Z] [2021-02-04T05:59:44.184Z] Login Succeeded [2021-02-04T05:59:44.184Z] nexus3.edgexfoundry.org:10003 [2021-02-04T05:59:44.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T05:59:44.733Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T05:59:44.733Z] Configure a credential helper to remove this warning. See [2021-02-04T05:59:44.733Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T05:59:44.733Z] [2021-02-04T05:59:44.733Z] Login Succeeded [2021-02-04T05:59:44.733Z] nexus3.edgexfoundry.org:10004 [2021-02-04T05:59:45.008Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T05:59:45.206Z] a35cf1a2eb13: Pull complete [2021-02-04T05:59:45.206Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-04T05:59:45.206Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-04T05:59:45.206Z] ---> a62c8e92a672 [2021-02-04T05:59:45.206Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-04T05:59:45.206Z] ---> Running in 1748dce19e6d [2021-02-04T05:59:45.206Z] Removing intermediate container 1748dce19e6d [2021-02-04T05:59:45.206Z] ---> a4cf73b30144 [2021-02-04T05:59:45.206Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-04T05:59:45.206Z] ---> Running in 517fa2aeacea [2021-02-04T05:59:45.289Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T05:59:45.290Z] Configure a credential helper to remove this warning. See [2021-02-04T05:59:45.290Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T05:59:45.290Z] [2021-02-04T05:59:45.290Z] Login Succeeded [2021-02-04T05:59:45.290Z] docker.io [2021-02-04T05:59:45.470Z] Removing intermediate container 517fa2aeacea [2021-02-04T05:59:45.470Z] ---> f7f9048ff352 [2021-02-04T05:59:45.470Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-04T05:59:45.563Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T05:59:45.734Z] ---> Running in 5ca093b6a7e5 [2021-02-04T05:59:46.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T05:59:46.165Z] Configure a credential helper to remove this warning. See [2021-02-04T05:59:46.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T05:59:46.165Z] [2021-02-04T05:59:46.165Z] Login Succeeded [2021-02-04T05:59:46.165Z] ---> docker-login.sh ends [Pipeline] } [2021-02-04T05:59:46.198Z] Deleting 1 temporary files [Pipeline] // wrap [2021-02-04T05:59:46.315Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-04T05:59:46.810Z] ========================================================= [2021-02-04T05:59:46.810Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-04T05:59:46.810Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-04T05:59:47.261Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-04T05:59:47.262Z] + 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-04T05:59:47.523Z] OK: 166 MiB in 39 packages [2021-02-04T05:59:47.881Z] Sending build context to Docker daemon 2.498MB [2021-02-04T05:59:47.881Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-04T05:59:47.881Z] Step 2/8 : FROM ${BASE} [2021-02-04T05:59:47.881Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-04T05:59:47.881Z] 5f621e34cdf4: Pulling fs layer [2021-02-04T05:59:47.881Z] a4357932f1b6: Pulling fs layer [2021-02-04T05:59:47.881Z] 18c013af1878: Pulling fs layer [2021-02-04T05:59:47.881Z] 00ac8860ef70: Pulling fs layer [2021-02-04T05:59:47.881Z] 63d7cb157983: Pulling fs layer [2021-02-04T05:59:47.881Z] b116817d02f9: Pulling fs layer [2021-02-04T05:59:47.881Z] 745a02a5169b: Pulling fs layer [2021-02-04T05:59:47.881Z] 00ac8860ef70: Waiting [2021-02-04T05:59:47.881Z] 63d7cb157983: Waiting [2021-02-04T05:59:47.882Z] b116817d02f9: Waiting [2021-02-04T05:59:47.882Z] 745a02a5169b: Waiting [2021-02-04T05:59:47.882Z] 18c013af1878: Verifying Checksum [2021-02-04T05:59:47.882Z] 18c013af1878: Download complete [2021-02-04T05:59:47.882Z] a4357932f1b6: Download complete [2021-02-04T05:59:47.882Z] 63d7cb157983: Verifying Checksum [2021-02-04T05:59:47.882Z] 63d7cb157983: Download complete [2021-02-04T05:59:47.882Z] b116817d02f9: Verifying Checksum [2021-02-04T05:59:47.882Z] b116817d02f9: Download complete [2021-02-04T05:59:47.882Z] 5f621e34cdf4: Verifying Checksum [2021-02-04T05:59:47.882Z] 5f621e34cdf4: Download complete [2021-02-04T05:59:48.101Z] Removing intermediate container 5ca093b6a7e5 [2021-02-04T05:59:48.101Z] ---> aef4425977c7 [2021-02-04T05:59:48.101Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-04T05:59:48.101Z] ---> Running in e0e93db76cfd [2021-02-04T05:59:48.364Z] Removing intermediate container e0e93db76cfd [2021-02-04T05:59:48.364Z] ---> 5893bacab9c1 [2021-02-04T05:59:48.364Z] Step 7/8 : COPY . . [2021-02-04T05:59:48.873Z] 5f621e34cdf4: Pull complete [2021-02-04T05:59:49.150Z] a4357932f1b6: Pull complete [2021-02-04T05:59:49.748Z] 18c013af1878: Pull complete [2021-02-04T05:59:49.776Z] ---> 0c9bd46c0cc2 [2021-02-04T05:59:49.776Z] Step 8/8 : RUN go mod download [2021-02-04T05:59:49.776Z] ---> Running in 66e3b8fe4757 [2021-02-04T05:59:50.341Z] 745a02a5169b: Verifying Checksum [2021-02-04T05:59:50.341Z] 745a02a5169b: Download complete [2021-02-04T05:59:51.327Z] 00ac8860ef70: Verifying Checksum [2021-02-04T05:59:51.327Z] 00ac8860ef70: Download complete [2021-02-04T06:00:01.494Z] 00ac8860ef70: Pull complete [2021-02-04T06:00:01.775Z] 63d7cb157983: Pull complete [2021-02-04T06:00:02.063Z] b116817d02f9: Pull complete [2021-02-04T06:00:05.543Z] 745a02a5169b: Pull complete [2021-02-04T06:00:05.543Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-04T06:00:05.543Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-04T06:00:05.543Z] ---> b7e6874047d6 [2021-02-04T06:00:05.543Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-04T06:00:07.992Z] Removing intermediate container 66e3b8fe4757 [2021-02-04T06:00:07.992Z] ---> a0551dd12178 [2021-02-04T06:00:07.992Z] Successfully built a0551dd12178 [2021-02-04T06:00:07.992Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-04T06:00:08.187Z] ---> Running in 0a7502bf02a5 [2021-02-04T06:00:08.345Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-04T06:00:08.345Z] . [Pipeline] withDockerContainer [2021-02-04T06:00:08.506Z] prd-centos7-docker-4c-2g-24923 does not seem to be running inside a container [2021-02-04T06:00:08.560Z] $ 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-04T06:00:08.789Z] Removing intermediate container 0a7502bf02a5 [2021-02-04T06:00:08.790Z] ---> 53f359898bb6 [2021-02-04T06:00:08.790Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-04T06:00:08.790Z] ---> Running in 6d9f11217351 [2021-02-04T06:00:09.382Z] $ docker top 7667ed4f7f0de76aa0276946d9760449870a0555ea340041ee1d27f3b252ad0f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-04T06:00:09.988Z] + go version [2021-02-04T06:00:09.988Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-04T06:00:10.020Z] $ docker stop --time=1 7667ed4f7f0de76aa0276946d9760449870a0555ea340041ee1d27f3b252ad0f [2021-02-04T06:00:11.351Z] $ docker rm -f 7667ed4f7f0de76aa0276946d9760449870a0555ea340041ee1d27f3b252ad0f [2021-02-04T06:00:11.453Z] Removing intermediate container 6d9f11217351 [2021-02-04T06:00:11.453Z] ---> 5cdc93443046 [2021-02-04T06:00:11.453Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-04T06:00:11.453Z] ---> Running in 2c01c0b1d117 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-04T06:00:12.450Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-04T06:00:12.464Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-04T06:00:12.464Z] . [Pipeline] withDockerContainer [2021-02-04T06:00:12.588Z] prd-centos7-docker-4c-2g-24923 does not seem to be running inside a container [2021-02-04T06:00:12.637Z] $ 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-04T06:00:13.053Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-04T06:00:13.182Z] $ docker top 4dc37a124f8768460ce3dc3bd4cc8786958b91a13c19ed6cf42b5ed91e3bc6ab -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-04T06:00:13.711Z] + make test [2021-02-04T06:00:13.712Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-04T06:00:14.033Z] OK: 142 MiB in 39 packages [2021-02-04T06:00:15.030Z] Removing intermediate container 2c01c0b1d117 [2021-02-04T06:00:15.030Z] ---> 5b2275732d99 [2021-02-04T06:00:15.030Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-04T06:00:15.305Z] ---> Running in a55bf9406e22 [2021-02-04T06:00:15.899Z] Removing intermediate container a55bf9406e22 [2021-02-04T06:00:15.899Z] ---> 63b69447c658 [2021-02-04T06:00:15.899Z] Step 7/8 : COPY . . [2021-02-04T06:00:16.879Z] ---> 35570dd10c6e [2021-02-04T06:00:16.879Z] Step 8/8 : RUN go mod download [2021-02-04T06:00:17.151Z] ---> Running in 5bb8b0d75573 [2021-02-04T06:00:21.913Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-04T06:00:36.984Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-04T06:00:36.984Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-04T06:00:36.984Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-04T06:00:36.984Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.060s coverage: 19.4% of statements [2021-02-04T06:00:37.575Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.451s coverage: 97.1% of statements [2021-02-04T06:00:39.360Z] Removing intermediate container 5bb8b0d75573 [2021-02-04T06:00:39.360Z] ---> 04c3d66b084c [2021-02-04T06:00:39.360Z] Successfully built 04c3d66b084c [2021-02-04T06:00:39.360Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-04T06:00:39.764Z] + docker inspect -f . ci-base-image-arm64 [2021-02-04T06:00:39.764Z] . [Pipeline] withDockerContainer [2021-02-04T06:00:40.068Z] prd-ubuntu18.04-docker-arm64-4c-16g-24922 does not seem to be running inside a container [2021-02-04T06:00:40.175Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-04T06:00:41.679Z] $ docker top 8650c48666524abb0c0d12609ff26c88646dbff868885146993415dd931dd7e8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-04T06:00:42.811Z] + go version [2021-02-04T06:00:42.811Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-04T06:00:42.879Z] $ docker stop --time=1 8650c48666524abb0c0d12609ff26c88646dbff868885146993415dd931dd7e8 [2021-02-04T06:00:44.838Z] $ docker rm -f 8650c48666524abb0c0d12609ff26c88646dbff868885146993415dd931dd7e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-04T06:00:46.130Z] + docker inspect -f . ci-base-image-arm64 [2021-02-04T06:00:46.130Z] . [Pipeline] withDockerContainer [2021-02-04T06:00:46.410Z] prd-ubuntu18.04-docker-arm64-4c-16g-24922 does not seem to be running inside a container [2021-02-04T06:00:46.515Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-04T06:00:48.038Z] $ docker top 719495b68b386632b61c2bce7901fedca585eda16c70fef2860c6c877bd6068c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-04T06:00:49.137Z] + make test [2021-02-04T06:00:49.137Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-04T06:01:09.778Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.061s coverage: 9.4% of statements [2021-02-04T06:01:09.778Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.052s coverage: 21.7% of statements [2021-02-04T06:01:09.778Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-04T06:01:09.778Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.232s coverage: 43.6% of statements [2021-02-04T06:01:09.778Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-04T06:01:09.778Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.273s coverage: 68.9% of statements [2021-02-04T06:01:09.778Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-02-04T06:01:09.778Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-04T06:01:09.778Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-04T06:01:09.778Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-04T06:01:09.778Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.066s coverage: 53.8% of statements [2021-02-04T06:01:09.778Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-04T06:01:09.778Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-02-04T06:01:09.778Z] --- FAIL: TestSecretRequest (0.01s) [2021-02-04T06:01:09.778Z] --- FAIL: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash (0.00s) [2021-02-04T06:01:09.778Z] common_test.go:261: [2021-02-04T06:01:09.778Z] Error Trace: common_test.go:261 [2021-02-04T06:01:09.778Z] Error: Not equal: [2021-02-04T06:01:09.778Z] expected: 201 [2021-02-04T06:01:09.778Z] actual : 400 [2021-02-04T06:01:09.778Z] Test: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash [2021-02-04T06:01:09.778Z] Messages: HTTP status code not as expected [2021-02-04T06:01:09.778Z] common_test.go:263: [2021-02-04T06:01:09.778Z] Error Trace: common_test.go:263 [2021-02-04T06:01:09.778Z] Error: Not equal: [2021-02-04T06:01:09.778Z] expected: 201 [2021-02-04T06:01:09.778Z] actual : 400 [2021-02-04T06:01:09.778Z] Test: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash [2021-02-04T06:01:09.778Z] Messages: BaseResponse status code not as expected [2021-02-04T06:01:09.778Z] common_test.go:270: [2021-02-04T06:01:09.778Z] Error Trace: common_test.go:270 [2021-02-04T06:01:09.778Z] Error: Not equal: [2021-02-04T06:01:09.778Z] expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-02-04T06:01:09.778Z] actual : "" [2021-02-04T06:01:09.778Z] [2021-02-04T06:01:09.778Z] Diff: [2021-02-04T06:01:09.778Z] --- Expected [2021-02-04T06:01:09.778Z] +++ Actual [2021-02-04T06:01:09.778Z] @@ -1 +1 @@ [2021-02-04T06:01:09.778Z] -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-04T06:01:09.778Z] + [2021-02-04T06:01:09.778Z] Test: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash [2021-02-04T06:01:09.778Z] Messages: RequestID not as expected [2021-02-04T06:01:09.778Z] common_test.go:271: [2021-02-04T06:01:09.778Z] Error Trace: common_test.go:271 [2021-02-04T06:01:09.778Z] Error: Should be empty, but was JSON decode failed -> SecretRequest validation failed. -> SecretRequest.BaseRequest.Versionable.ApiVersion field is required [2021-02-04T06:01:09.778Z] Test: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash [2021-02-04T06:01:09.778Z] Messages: Message not empty, as expected [2021-02-04T06:01:09.778Z] --- FAIL: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash (0.00s) [2021-02-04T06:01:09.778Z] common_test.go:261: [2021-02-04T06:01:09.778Z] Error Trace: common_test.go:261 [2021-02-04T06:01:09.778Z] Error: Not equal: [2021-02-04T06:01:09.778Z] expected: 201 [2021-02-04T06:01:09.778Z] actual : 400 [2021-02-04T06:01:09.778Z] Test: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-04T06:01:09.778Z] Messages: HTTP status code not as expected [2021-02-04T06:01:09.778Z] common_test.go:263: [2021-02-04T06:01:09.778Z] Error Trace: common_test.go:263 [2021-02-04T06:01:09.778Z] Error: Not equal: [2021-02-04T06:01:09.778Z] expected: 201 [2021-02-04T06:01:09.778Z] actual : 400 [2021-02-04T06:01:09.778Z] Test: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-04T06:01:09.778Z] Messages: BaseResponse status code not as expected [2021-02-04T06:01:09.778Z] common_test.go:270: [2021-02-04T06:01:09.778Z] Error Trace: common_test.go:270 [2021-02-04T06:01:09.778Z] Error: Not equal: [2021-02-04T06:01:09.778Z] expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-02-04T06:01:09.778Z] actual : "" [2021-02-04T06:01:09.778Z] [2021-02-04T06:01:09.778Z] Diff: [2021-02-04T06:01:09.778Z] --- Expected [2021-02-04T06:01:09.778Z] +++ Actual [2021-02-04T06:01:09.778Z] @@ -1 +1 @@ [2021-02-04T06:01:09.778Z] -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-04T06:01:09.778Z] + [2021-02-04T06:01:09.778Z] Test: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-04T06:01:09.778Z] Messages: RequestID not as expected [2021-02-04T06:01:09.778Z] common_test.go:271: [2021-02-04T06:01:09.778Z] Error Trace: common_test.go:271 [2021-02-04T06:01:09.778Z] Error: Should be empty, but was JSON decode failed -> SecretRequest validation failed. -> SecretRequest.BaseRequest.Versionable.ApiVersion field is required [2021-02-04T06:01:09.778Z] Test: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-04T06:01:09.778Z] Messages: Message not empty, as expected [2021-02-04T06:01:09.778Z] --- FAIL: TestSecretRequest/Valid_-_both_trailing_slashes (0.00s) [2021-02-04T06:01:09.778Z] common_test.go:261: [2021-02-04T06:01:09.778Z] Error Trace: common_test.go:261 [2021-02-04T06:01:09.778Z] Error: Not equal: [2021-02-04T06:01:09.778Z] expected: 201 [2021-02-04T06:01:09.778Z] actual : 400 [2021-02-04T06:01:09.778Z] Test: TestSecretRequest/Valid_-_both_trailing_slashes [2021-02-04T06:01:09.778Z] Messages: HTTP status code not as expected [2021-02-04T06:01:09.778Z] common_test.go:263: [2021-02-04T06:01:09.778Z] Error Trace: common_test.go:263 [2021-02-04T06:01:09.778Z] Error: Not equal: [2021-02-04T06:01:09.778Z] expected: 201 [2021-02-04T06:01:09.778Z] actual : 400 [2021-02-04T06:01:09.778Z] Test: TestSecretRequest/Valid_-_both_trailing_slashes [2021-02-04T06:01:09.778Z] Messages: BaseResponse status code not as expected [2021-02-04T06:01:09.778Z] common_test.go:270: [2021-02-04T06:01:09.778Z] Error Trace: common_test.go:270 [2021-02-04T06:01:09.778Z] Error: Not equal: [2021-02-04T06:01:09.778Z] expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-02-04T06:01:09.778Z] actual : "" [2021-02-04T06:01:09.778Z] [2021-02-04T06:01:09.778Z] Diff: [2021-02-04T06:01:09.778Z] --- Expected [2021-02-04T06:01:09.778Z] +++ Actual [2021-02-04T06:01:09.778Z] @@ -1 +1 @@ [2021-02-04T06:01:09.778Z] -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-04T06:01:09.778Z] + [2021-02-04T06:01:09.778Z] Test: TestSecretRequest/Valid_-_both_trailing_slashes [2021-02-04T06:01:09.778Z] Messages: RequestID not as expected [2021-02-04T06:01:09.778Z] common_test.go:271: [2021-02-04T06:01:09.778Z] Error Trace: common_test.go:271 [2021-02-04T06:01:09.778Z] Error: Should be empty, but was JSON decode failed -> SecretRequest validation failed. -> SecretRequest.BaseRequest.Versionable.ApiVersion field is required [2021-02-04T06:01:09.778Z] Test: TestSecretRequest/Valid_-_both_trailing_slashes [2021-02-04T06:01:09.778Z] Messages: Message not empty, as expected [2021-02-04T06:01:09.778Z] --- FAIL: TestSecretRequest/Valid_-_no_requestId (0.00s) [2021-02-04T06:01:09.778Z] common_test.go:261: [2021-02-04T06:01:09.778Z] Error Trace: common_test.go:261 [2021-02-04T06:01:09.778Z] Error: Not equal: [2021-02-04T06:01:09.778Z] expected: 201 [2021-02-04T06:01:09.778Z] actual : 400 [2021-02-04T06:01:09.778Z] Test: TestSecretRequest/Valid_-_no_requestId [2021-02-04T06:01:09.778Z] Messages: HTTP status code not as expected [2021-02-04T06:01:09.778Z] common_test.go:263: [2021-02-04T06:01:09.778Z] Error Trace: common_test.go:263 [2021-02-04T06:01:09.778Z] Error: Not equal: [2021-02-04T06:01:09.778Z] expected: 201 [2021-02-04T06:01:09.778Z] actual : 400 [2021-02-04T06:01:09.778Z] Test: TestSecretRequest/Valid_-_no_requestId [2021-02-04T06:01:09.778Z] Messages: BaseResponse status code not as expected [2021-02-04T06:01:09.778Z] common_test.go:271: [2021-02-04T06:01:09.778Z] Error Trace: common_test.go:271 [2021-02-04T06:01:09.778Z] Error: Should be empty, but was JSON decode failed -> SecretRequest validation failed. -> SecretRequest.BaseRequest.Versionable.ApiVersion field is required [2021-02-04T06:01:09.778Z] Test: TestSecretRequest/Valid_-_no_requestId [2021-02-04T06:01:09.778Z] Messages: Message not empty, as expected [2021-02-04T06:01:09.778Z] --- FAIL: TestSecretRequest/Invalid_-_No_Secret_Store (0.00s) [2021-02-04T06:01:09.778Z] common_test.go:261: [2021-02-04T06:01:09.778Z] Error Trace: common_test.go:261 [2021-02-04T06:01:09.778Z] Error: Not equal: [2021-02-04T06:01:09.778Z] expected: 500 [2021-02-04T06:01:09.778Z] actual : 400 [2021-02-04T06:01:09.778Z] Test: TestSecretRequest/Invalid_-_No_Secret_Store [2021-02-04T06:01:09.778Z] Messages: HTTP status code not as expected [2021-02-04T06:01:09.778Z] common_test.go:263: [2021-02-04T06:01:09.778Z] Error Trace: common_test.go:263 [2021-02-04T06:01:09.778Z] Error: Not equal: [2021-02-04T06:01:09.778Z] expected: 500 [2021-02-04T06:01:09.778Z] actual : 400 [2021-02-04T06:01:09.778Z] Test: TestSecretRequest/Invalid_-_No_Secret_Store [2021-02-04T06:01:09.778Z] Messages: BaseResponse status code not as expected [2021-02-04T06:01:09.778Z] FAIL [2021-02-04T06:01:09.778Z] coverage: 17.3% of statements [2021-02-04T06:01:09.778Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.059s [2021-02-04T06:01:09.778Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.741s coverage: 83.5% of statements [2021-02-04T06:01:09.778Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 4.2% of statements [2021-02-04T06:01:09.778Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-04T06:01:09.778Z] FAIL [2021-02-04T06:01:09.778Z] make: *** [Makefile:32: test] Error 1 [Pipeline] } [2021-02-04T06:01:09.831Z] $ docker stop --time=1 4dc37a124f8768460ce3dc3bd4cc8786958b91a13c19ed6cf42b5ed91e3bc6ab [2021-02-04T06:01:11.344Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-04T06:01:11.465Z] $ docker rm -f 4dc37a124f8768460ce3dc3bd4cc8786958b91a13c19ed6cf42b5ed91e3bc6ab [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-04T06:01:14.341Z] Failed in branch amd64 [2021-02-04T06:01:50.522Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-04T06:01:50.523Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-04T06:01:50.523Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-04T06:01:51.132Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.164s coverage: 19.4% of statements [2021-02-04T06:01:56.564Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.174s coverage: 97.1% of statements [2021-02-04T06:02:23.411Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.142s coverage: 9.4% of statements [2021-02-04T06:02:23.411Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.127s coverage: 21.7% of statements [2021-02-04T06:02:23.411Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-04T06:02:23.411Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.576s coverage: 43.6% of statements [2021-02-04T06:02:23.411Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-04T06:02:23.411Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.702s coverage: 68.9% of statements [2021-02-04T06:02:23.411Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-02-04T06:02:23.411Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-04T06:02:23.411Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-04T06:02:23.411Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-04T06:02:23.411Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.184s coverage: 53.8% of statements [2021-02-04T06:02:23.411Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-04T06:02:23.411Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-02-04T06:02:23.411Z] --- FAIL: TestSecretRequest (0.05s) [2021-02-04T06:02:23.411Z] --- FAIL: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash (0.01s) [2021-02-04T06:02:23.411Z] common_test.go:261: [2021-02-04T06:02:23.411Z] Error Trace: common_test.go:261 [2021-02-04T06:02:23.411Z] Error: Not equal: [2021-02-04T06:02:23.411Z] expected: 201 [2021-02-04T06:02:23.411Z] actual : 400 [2021-02-04T06:02:23.411Z] Test: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash [2021-02-04T06:02:23.411Z] Messages: HTTP status code not as expected [2021-02-04T06:02:23.411Z] common_test.go:263: [2021-02-04T06:02:23.411Z] Error Trace: common_test.go:263 [2021-02-04T06:02:23.411Z] Error: Not equal: [2021-02-04T06:02:23.411Z] expected: 201 [2021-02-04T06:02:23.411Z] actual : 400 [2021-02-04T06:02:23.411Z] Test: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash [2021-02-04T06:02:23.411Z] Messages: BaseResponse status code not as expected [2021-02-04T06:02:23.411Z] common_test.go:270: [2021-02-04T06:02:23.411Z] Error Trace: common_test.go:270 [2021-02-04T06:02:23.411Z] Error: Not equal: [2021-02-04T06:02:23.411Z] expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-02-04T06:02:23.411Z] actual : "" [2021-02-04T06:02:23.411Z] [2021-02-04T06:02:23.411Z] Diff: [2021-02-04T06:02:23.411Z] --- Expected [2021-02-04T06:02:23.411Z] +++ Actual [2021-02-04T06:02:23.411Z] @@ -1 +1 @@ [2021-02-04T06:02:23.411Z] -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-04T06:02:23.411Z] + [2021-02-04T06:02:23.411Z] Test: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash [2021-02-04T06:02:23.411Z] Messages: RequestID not as expected [2021-02-04T06:02:23.411Z] common_test.go:271: [2021-02-04T06:02:23.411Z] Error Trace: common_test.go:271 [2021-02-04T06:02:23.411Z] Error: Should be empty, but was JSON decode failed -> SecretRequest validation failed. -> SecretRequest.BaseRequest.Versionable.ApiVersion field is required [2021-02-04T06:02:23.411Z] Test: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash [2021-02-04T06:02:23.411Z] Messages: Message not empty, as expected [2021-02-04T06:02:23.411Z] --- FAIL: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash (0.01s) [2021-02-04T06:02:23.411Z] common_test.go:261: [2021-02-04T06:02:23.411Z] Error Trace: common_test.go:261 [2021-02-04T06:02:23.411Z] Error: Not equal: [2021-02-04T06:02:23.411Z] expected: 201 [2021-02-04T06:02:23.411Z] actual : 400 [2021-02-04T06:02:23.411Z] Test: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-04T06:02:23.411Z] Messages: HTTP status code not as expected [2021-02-04T06:02:23.411Z] common_test.go:263: [2021-02-04T06:02:23.411Z] Error Trace: common_test.go:263 [2021-02-04T06:02:23.411Z] Error: Not equal: [2021-02-04T06:02:23.411Z] expected: 201 [2021-02-04T06:02:23.411Z] actual : 400 [2021-02-04T06:02:23.411Z] Test: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-04T06:02:23.411Z] Messages: BaseResponse status code not as expected [2021-02-04T06:02:23.411Z] common_test.go:270: [2021-02-04T06:02:23.411Z] Error Trace: common_test.go:270 [2021-02-04T06:02:23.411Z] Error: Not equal: [2021-02-04T06:02:23.411Z] expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-02-04T06:02:23.411Z] actual : "" [2021-02-04T06:02:23.411Z] [2021-02-04T06:02:23.411Z] Diff: [2021-02-04T06:02:23.411Z] --- Expected [2021-02-04T06:02:23.411Z] +++ Actual [2021-02-04T06:02:23.411Z] @@ -1 +1 @@ [2021-02-04T06:02:23.411Z] -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-04T06:02:23.411Z] + [2021-02-04T06:02:23.411Z] Test: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-04T06:02:23.411Z] Messages: RequestID not as expected [2021-02-04T06:02:23.411Z] common_test.go:271: [2021-02-04T06:02:23.411Z] Error Trace: common_test.go:271 [2021-02-04T06:02:23.411Z] Error: Should be empty, but was JSON decode failed -> SecretRequest validation failed. -> SecretRequest.BaseRequest.Versionable.ApiVersion field is required [2021-02-04T06:02:23.411Z] Test: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-04T06:02:23.411Z] Messages: Message not empty, as expected [2021-02-04T06:02:23.411Z] --- FAIL: TestSecretRequest/Valid_-_both_trailing_slashes (0.01s) [2021-02-04T06:02:23.411Z] common_test.go:261: [2021-02-04T06:02:23.411Z] Error Trace: common_test.go:261 [2021-02-04T06:02:23.411Z] Error: Not equal: [2021-02-04T06:02:23.411Z] expected: 201 [2021-02-04T06:02:23.411Z] actual : 400 [2021-02-04T06:02:23.411Z] Test: TestSecretRequest/Valid_-_both_trailing_slashes [2021-02-04T06:02:23.411Z] Messages: HTTP status code not as expected [2021-02-04T06:02:23.411Z] common_test.go:263: [2021-02-04T06:02:23.411Z] Error Trace: common_test.go:263 [2021-02-04T06:02:23.411Z] Error: Not equal: [2021-02-04T06:02:23.411Z] expected: 201 [2021-02-04T06:02:23.411Z] actual : 400 [2021-02-04T06:02:23.411Z] Test: TestSecretRequest/Valid_-_both_trailing_slashes [2021-02-04T06:02:23.411Z] Messages: BaseResponse status code not as expected [2021-02-04T06:02:23.411Z] common_test.go:270: [2021-02-04T06:02:23.411Z] Error Trace: common_test.go:270 [2021-02-04T06:02:23.411Z] Error: Not equal: [2021-02-04T06:02:23.411Z] expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-02-04T06:02:23.411Z] actual : "" [2021-02-04T06:02:23.411Z] [2021-02-04T06:02:23.411Z] Diff: [2021-02-04T06:02:23.411Z] --- Expected [2021-02-04T06:02:23.411Z] +++ Actual [2021-02-04T06:02:23.411Z] @@ -1 +1 @@ [2021-02-04T06:02:23.411Z] -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-04T06:02:23.411Z] + [2021-02-04T06:02:23.411Z] Test: TestSecretRequest/Valid_-_both_trailing_slashes [2021-02-04T06:02:23.411Z] Messages: RequestID not as expected [2021-02-04T06:02:23.411Z] common_test.go:271: [2021-02-04T06:02:23.411Z] Error Trace: common_test.go:271 [2021-02-04T06:02:23.411Z] Error: Should be empty, but was JSON decode failed -> SecretRequest validation failed. -> SecretRequest.BaseRequest.Versionable.ApiVersion field is required [2021-02-04T06:02:23.411Z] Test: TestSecretRequest/Valid_-_both_trailing_slashes [2021-02-04T06:02:23.411Z] Messages: Message not empty, as expected [2021-02-04T06:02:23.411Z] --- FAIL: TestSecretRequest/Valid_-_no_requestId (0.00s) [2021-02-04T06:02:23.411Z] common_test.go:261: [2021-02-04T06:02:23.411Z] Error Trace: common_test.go:261 [2021-02-04T06:02:23.411Z] Error: Not equal: [2021-02-04T06:02:23.411Z] expected: 201 [2021-02-04T06:02:23.411Z] actual : 400 [2021-02-04T06:02:23.411Z] Test: TestSecretRequest/Valid_-_no_requestId [2021-02-04T06:02:23.411Z] Messages: HTTP status code not as expected [2021-02-04T06:02:23.411Z] common_test.go:263: [2021-02-04T06:02:23.411Z] Error Trace: common_test.go:263 [2021-02-04T06:02:23.411Z] Error: Not equal: [2021-02-04T06:02:23.411Z] expected: 201 [2021-02-04T06:02:23.411Z] actual : 400 [2021-02-04T06:02:23.411Z] Test: TestSecretRequest/Valid_-_no_requestId [2021-02-04T06:02:23.411Z] Messages: BaseResponse status code not as expected [2021-02-04T06:02:23.411Z] common_test.go:271: [2021-02-04T06:02:23.411Z] Error Trace: common_test.go:271 [2021-02-04T06:02:23.411Z] Error: Should be empty, but was JSON decode failed -> SecretRequest validation failed. -> SecretRequest.BaseRequest.Versionable.ApiVersion field is required [2021-02-04T06:02:23.411Z] Test: TestSecretRequest/Valid_-_no_requestId [2021-02-04T06:02:23.411Z] Messages: Message not empty, as expected [2021-02-04T06:02:23.411Z] --- FAIL: TestSecretRequest/Invalid_-_No_Secret_Store (0.00s) [2021-02-04T06:02:23.411Z] common_test.go:261: [2021-02-04T06:02:23.411Z] Error Trace: common_test.go:261 [2021-02-04T06:02:23.411Z] Error: Not equal: [2021-02-04T06:02:23.411Z] expected: 500 [2021-02-04T06:02:23.411Z] actual : 400 [2021-02-04T06:02:23.411Z] Test: TestSecretRequest/Invalid_-_No_Secret_Store [2021-02-04T06:02:23.411Z] Messages: HTTP status code not as expected [2021-02-04T06:02:23.411Z] common_test.go:263: [2021-02-04T06:02:23.411Z] Error Trace: common_test.go:263 [2021-02-04T06:02:23.411Z] Error: Not equal: [2021-02-04T06:02:23.411Z] expected: 500 [2021-02-04T06:02:23.411Z] actual : 400 [2021-02-04T06:02:23.411Z] Test: TestSecretRequest/Invalid_-_No_Secret_Store [2021-02-04T06:02:23.411Z] Messages: BaseResponse status code not as expected [2021-02-04T06:02:23.411Z] FAIL [2021-02-04T06:02:23.412Z] coverage: 17.3% of statements [2021-02-04T06:02:23.412Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.199s [2021-02-04T06:02:23.412Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.963s coverage: 83.5% of statements [2021-02-04T06:02:23.412Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.141s coverage: 4.2% of statements [2021-02-04T06:02:23.412Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-04T06:02:23.412Z] FAIL [2021-02-04T06:02:23.685Z] make: *** [Makefile:32: test] Error 1 [Pipeline] } [2021-02-04T06:02:23.794Z] $ docker stop --time=1 719495b68b386632b61c2bce7901fedca585eda16c70fef2860c6c877bd6068c [2021-02-04T06:02:25.967Z] $ docker rm -f 719495b68b386632b61c2bce7901fedca585eda16c70fef2860c6c877bd6068c [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-04T06:02:28.357Z] 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-04T06:02:33.033Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T06:02:33.711Z] ---> package-listing.sh [2021-02-04T06:02:33.711Z] ++ facter osfamily [2021-02-04T06:02:33.711Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-04T06:02:33.982Z] + OS_FAMILY=redhat [2021-02-04T06:02:33.982Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-773 [2021-02-04T06:02:33.982Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-04T06:02:33.982Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-04T06:02:33.982Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-04T06:02:33.982Z] + PACKAGES=/tmp/packages_start.txt [2021-02-04T06:02:33.982Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-773 ']' [2021-02-04T06:02:33.982Z] + PACKAGES=/tmp/packages_end.txt [2021-02-04T06:02:33.982Z] + case "${OS_FAMILY}" in [2021-02-04T06:02:33.982Z] + rpm -qa [2021-02-04T06:02:33.982Z] + sort [2021-02-04T06:02:39.388Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-04T06:02:39.388Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-04T06:02:39.388Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-04T06:02:39.388Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-773 ']' [2021-02-04T06:02:39.388Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-773/archives/ [2021-02-04T06:02:39.388Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-773/archives/ [Pipeline] echo [2021-02-04T06:02:39.440Z] 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-773/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-02-04T06:02:39.853Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-04T06:02:40.487Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-04T06:02:40.487Z] [2021-02-04T06:02:40.487Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-04T06:02:40.957Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-04T06:02:40.957Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-04T06:02:40.957Z] df20fa9351a1: Pulling fs layer [2021-02-04T06:02:40.957Z] 36b3adc4ff6f: Pulling fs layer [2021-02-04T06:02:40.957Z] 8ad3a11d3b57: Pulling fs layer [2021-02-04T06:02:40.957Z] 46f8f816bc3b: Pulling fs layer [2021-02-04T06:02:40.957Z] 93b61091891f: Pulling fs layer [2021-02-04T06:02:40.957Z] 93b9cdb0e59b: Pulling fs layer [2021-02-04T06:02:40.957Z] 5e14af77c1be: Pulling fs layer [2021-02-04T06:02:40.957Z] 01666e4c0597: Pulling fs layer [2021-02-04T06:02:40.957Z] aa168da1d23b: Pulling fs layer [2021-02-04T06:02:40.957Z] 93b9cdb0e59b: Waiting [2021-02-04T06:02:40.957Z] 5e14af77c1be: Waiting [2021-02-04T06:02:40.957Z] 01666e4c0597: Waiting [2021-02-04T06:02:40.957Z] aa168da1d23b: Waiting [2021-02-04T06:02:40.957Z] 46f8f816bc3b: Waiting [2021-02-04T06:02:40.957Z] 93b61091891f: Waiting [2021-02-04T06:02:41.246Z] 36b3adc4ff6f: Verifying Checksum [2021-02-04T06:02:41.246Z] 36b3adc4ff6f: Download complete [2021-02-04T06:02:41.246Z] 46f8f816bc3b: Download complete [2021-02-04T06:02:41.246Z] df20fa9351a1: Verifying Checksum [2021-02-04T06:02:41.246Z] df20fa9351a1: Download complete [2021-02-04T06:02:41.246Z] 93b61091891f: Download complete [2021-02-04T06:02:41.246Z] 93b9cdb0e59b: Verifying Checksum [2021-02-04T06:02:41.246Z] 93b9cdb0e59b: Download complete [2021-02-04T06:02:41.246Z] 5e14af77c1be: Verifying Checksum [2021-02-04T06:02:41.246Z] 5e14af77c1be: Download complete [2021-02-04T06:02:41.246Z] 01666e4c0597: Verifying Checksum [2021-02-04T06:02:41.246Z] 01666e4c0597: Download complete [2021-02-04T06:02:41.880Z] 8ad3a11d3b57: Verifying Checksum [2021-02-04T06:02:41.880Z] 8ad3a11d3b57: Download complete [2021-02-04T06:02:41.880Z] df20fa9351a1: Pull complete [2021-02-04T06:02:42.151Z] 36b3adc4ff6f: Pull complete [2021-02-04T06:02:43.659Z] 8ad3a11d3b57: Pull complete [2021-02-04T06:02:43.659Z] 46f8f816bc3b: Pull complete [2021-02-04T06:02:44.846Z] 93b61091891f: Pull complete [2021-02-04T06:02:44.846Z] 93b9cdb0e59b: Pull complete [2021-02-04T06:02:44.846Z] 5e14af77c1be: Pull complete [2021-02-04T06:02:45.116Z] 01666e4c0597: Pull complete [2021-02-04T06:02:46.118Z] aa168da1d23b: Verifying Checksum [2021-02-04T06:02:46.118Z] aa168da1d23b: Download complete [2021-02-04T06:03:02.060Z] aa168da1d23b: Pull complete [2021-02-04T06:03:02.060Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-04T06:03:02.060Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-04T06:03:02.060Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-04T06:03:02.398Z] prd-centos7-docker-4c-2g-24920 does not seem to be running inside a container [2021-02-04T06:03:02.508Z] $ 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-773/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-773 -v /w/workspace/dgexfoundry_device-sdk-go_PR-773:/w/workspace/dgexfoundry_device-sdk-go_PR-773:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-773@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-773@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-02-04T06:03:06.052Z] $ docker top 76771ea0ee078f24581d436806b491a81d866e6e42b894ffffc9c12c71b6576e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-04T06:03:06.756Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-04T06:03:07.115Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-04T06:03:07.453Z] + ls /var/log/sa-host [2021-02-04T06:03:07.454Z] + sadf -c /var/log/sa-host/sa04 [2021-02-04T06:03:07.454Z] file_magic: OK [2021-02-04T06:03:07.454Z] HZ: Using current value: 100 [2021-02-04T06:03:07.454Z] file_header: OK [2021-02-04T06:03:07.454Z] 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-04T06:03:07.454Z] Statistics: [2021-02-04T06:03:07.454Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-04T06:03:07.454Z] File successfully converted to sysstat format version 12.2.1 [2021-02-04T06:03:07.454Z] + sadf -c /var/log/sa-host/sa23 [2021-02-04T06:03:07.454Z] file_magic: OK [2021-02-04T06:03:07.454Z] HZ: Using current value: 100 [2021-02-04T06:03:07.454Z] file_header: OK [2021-02-04T06:03:07.454Z] 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-04T06:03:07.454Z] Statistics: [2021-02-04T06:03:07.454Z] Hnuu...uuuununununu... [2021-02-04T06:03:07.454Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-04T06:03:07.740Z] provisioning config files... [2021-02-04T06:03:07.760Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-773@tmp/config5341687878317303180tmp [Pipeline] { [Pipeline] echo [2021-02-04T06:03:07.902Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T06:03:08.723Z] ---> create-netrc.sh [Pipeline] } [2021-02-04T06:03:08.773Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-04T06:03:08.945Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T06:03:09.334Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-04T06:03:09.397Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T06:03:10.151Z] ---> sudo-logs.sh [2021-02-04T06:03:10.151Z] Archiving 'sudo' log.. [Pipeline] echo [2021-02-04T06:03:10.202Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T06:03:10.929Z] ---> job-cost.sh [2021-02-04T06:03:10.929Z] lf-activate-venv: SKIPPING [2021-02-04T06:03:10.929Z] INFO: No Stack... [2021-02-04T06:03:11.898Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-04T06:03:12.488Z] INFO: Archiving Costs [Pipeline] echo [2021-02-04T06:03:12.527Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T06:03:12.886Z] ---> logs-deploy.sh [2021-02-04T06:03:12.886Z] lf-activate-venv: SKIPPING [2021-02-04T06:03:12.886Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-773/1 [2021-02-04T06:03:12.886Z] INFO: archiving workspace using pattern(s): [2021-02-04T06:03:15.519Z] Archives upload complete. [2021-02-04T06:03:15.786Z] INFO: archiving logs to Nexus