Pull request #768 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 7af912c45a376a8520a68a386b6086ff58bb65ae+3aea893206dfece0cb943228d650ae216607898f (6d66446853cd323e5191403ff1291280830ade9f) Running in Durability level: PERFORMANCE_OPTIMIZED 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 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 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 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 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-25561 in /w/workspace/dgexfoundry_device-sdk-go_PR-768 [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-768 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit 7af912c45a376a8520a68a386b6086ff58bb65ae Merge succeeded, producing 7af912c45a376a8520a68a386b6086ff58bb65ae Checking out Revision 7af912c45a376a8520a68a386b6086ff58bb65ae (PR-768) > 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/768/head:refs/remotes/origin/PR-768 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7af912c45a376a8520a68a386b6086ff58bb65ae # 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 7af912c45a376a8520a68a386b6086ff58bb65ae # timeout=10 Commit message: "fix: fix requested changes in PR" > git rev-list --no-walk 583d86123c274110cf062250fdbdaf3d8e054e54 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-08T11:05:10.569Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-08T11:05:10.855Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-08T11:05:10.965Z] ========================================================= [2021-02-08T11:05:10.965Z] EdgeX Global Pipelines Version Info [2021-02-08T11:05:10.966Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-08T11:05:12.428Z] ------------------- [2021-02-08T11:05:12.428Z] stable info: [2021-02-08T11:05:12.428Z] ------------------- [2021-02-08T11:05:12.428Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-08T11:05:12.428Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-08T11:05:12.428Z] Message: update stable to v1.0.179 [2021-02-08T11:05:13.377Z] ------------------- [2021-02-08T11:05:13.377Z] experimental info: [2021-02-08T11:05:13.377Z] ------------------- [2021-02-08T11:05:13.377Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-08T11:05:13.377Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-08T11:05:13.377Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-08T11:05:13.649Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-02-08T11:05:13.766Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-02-08T11:05:13.862Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-08T11:05:13.973Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-08T11:05:14.083Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-08T11:05:14.185Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-08T11:05:14.284Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-08T11:05:14.409Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-08T11:05:14.514Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-02-08T11:05:14.611Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-08T11:05:14.706Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-08T11:05:14.798Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-02-08T11:05:14.916Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-08T11:05:15.020Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-08T11:05:15.131Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-02-08T11:05:15.228Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-08T11:05:15.339Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-08T11:05:15.437Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-08T11:05:15.529Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-08T11:05:15.624Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-08T11:05:15.713Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-02-08T11:05:15.804Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-02-08T11:05:15.891Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-08T11:05:15.978Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-08T11:05:16.066Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-02-08T11:05:16.156Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-02-08T11:05:16.269Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-02-08T11:05:16.364Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-768 [Pipeline] echo [2021-02-08T11:05:16.458Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-768 [Pipeline] echo [2021-02-08T11:05:16.550Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-768 [Pipeline] echo [2021-02-08T11:05:16.734Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7af912c45a376a8520a68a386b6086ff58bb65ae [Pipeline] echo [2021-02-08T11:05:16.834Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7af912c [Pipeline] echo [2021-02-08T11:05:16.933Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-08T11:05:17.167Z] provisioning config files... [2021-02-08T11:05:17.197Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-768@tmp/config4097337309999728032tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-08T11:05:17.569Z] ---> docker-login.sh [2021-02-08T11:05:17.569Z] nexus3.edgexfoundry.org:10001 [2021-02-08T11:05:17.833Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-08T11:05:18.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-08T11:05:18.096Z] Configure a credential helper to remove this warning. See [2021-02-08T11:05:18.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-08T11:05:18.096Z] [2021-02-08T11:05:18.096Z] Login Succeeded [2021-02-08T11:05:18.096Z] nexus3.edgexfoundry.org:10002 [2021-02-08T11:05:18.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-08T11:05:18.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-08T11:05:18.096Z] Configure a credential helper to remove this warning. See [2021-02-08T11:05:18.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-08T11:05:18.096Z] [2021-02-08T11:05:18.096Z] Login Succeeded [2021-02-08T11:05:18.361Z] nexus3.edgexfoundry.org:10003 [2021-02-08T11:05:18.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-08T11:05:18.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-08T11:05:18.361Z] Configure a credential helper to remove this warning. See [2021-02-08T11:05:18.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-08T11:05:18.361Z] [2021-02-08T11:05:18.361Z] Login Succeeded [2021-02-08T11:05:18.361Z] nexus3.edgexfoundry.org:10004 [2021-02-08T11:05:18.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-08T11:05:18.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-08T11:05:18.624Z] Configure a credential helper to remove this warning. See [2021-02-08T11:05:18.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-08T11:05:18.624Z] [2021-02-08T11:05:18.624Z] Login Succeeded [2021-02-08T11:05:18.624Z] docker.io [2021-02-08T11:05:18.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-08T11:05:18.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-08T11:05:18.887Z] Configure a credential helper to remove this warning. See [2021-02-08T11:05:18.887Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-08T11:05:18.887Z] [2021-02-08T11:05:18.887Z] Login Succeeded [2021-02-08T11:05:18.887Z] ---> docker-login.sh ends [Pipeline] } [2021-02-08T11:05:18.900Z] 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-08T11:05:19.710Z] + git log --format=format:%s -1 7af912c45a376a8520a68a386b6086ff58bb65ae [Pipeline] echo [2021-02-08T11:05:19.818Z] GIT_COMMIT: 7af912c45a376a8520a68a386b6086ff58bb65ae, Commit Message: fix: fix requested changes in PR [Pipeline] echo [2021-02-08T11:05:19.862Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-08T11:05:20.457Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-08T11:05:20.457Z] [2021-02-08T11:05:20.457Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-08T11:05:20.811Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-08T11:05:20.811Z] latest: Pulling from edgex-devops/git-semver [2021-02-08T11:05:20.811Z] 31603596830f: Pulling fs layer [2021-02-08T11:05:20.811Z] 2a8b12db71e7: Pulling fs layer [2021-02-08T11:05:20.811Z] 6ca5941a6612: Pulling fs layer [2021-02-08T11:05:20.811Z] ecc8261a40a4: Pulling fs layer [2021-02-08T11:05:20.811Z] ecc8261a40a4: Waiting [2021-02-08T11:05:20.811Z] 2a8b12db71e7: Verifying Checksum [2021-02-08T11:05:20.811Z] 2a8b12db71e7: Download complete [2021-02-08T11:05:21.073Z] 31603596830f: Verifying Checksum [2021-02-08T11:05:21.073Z] 31603596830f: Download complete [2021-02-08T11:05:21.073Z] ecc8261a40a4: Verifying Checksum [2021-02-08T11:05:21.073Z] ecc8261a40a4: Download complete [2021-02-08T11:05:21.337Z] 6ca5941a6612: Verifying Checksum [2021-02-08T11:05:21.337Z] 6ca5941a6612: Download complete [2021-02-08T11:05:21.337Z] 31603596830f: Pull complete [2021-02-08T11:05:21.609Z] 2a8b12db71e7: Pull complete [2021-02-08T11:05:22.556Z] 6ca5941a6612: Pull complete [2021-02-08T11:05:22.556Z] ecc8261a40a4: Pull complete [2021-02-08T11:05:22.556Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-08T11:05:22.819Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-08T11:05:22.819Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-08T11:05:22.925Z] prd-centos7-docker-4c-2g-25561 does not seem to be running inside a container [2021-02-08T11:05:22.981Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-768 -v /w/workspace/dgexfoundry_device-sdk-go_PR-768:/w/workspace/dgexfoundry_device-sdk-go_PR-768:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-768@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-768@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-08T11:05:24.829Z] $ docker top 49b48b241ac282da7319e89227a7d5233de3b0587684eb818df30315aa414e9f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-08T11:05:25.114Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-08T11:05:25.114Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-08T11:05:25.347Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-08T11:05:25.350Z] $ docker exec 49b48b241ac282da7319e89227a7d5233de3b0587684eb818df30315aa414e9f ssh-agent [2021-02-08T11:05:25.517Z] SSH_AUTH_SOCK=/tmp/ssh-jWf60DvRRDrv/agent.11 [2021-02-08T11:05:25.517Z] SSH_AGENT_PID=17 [2021-02-08T11:05:25.527Z] Running ssh-add (command line suppressed) [2021-02-08T11:05:25.648Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-768@tmp/private_key_6379507025644763577.key (/w/workspace/dgexfoundry_device-sdk-go_PR-768@tmp/private_key_6379507025644763577.key) [2021-02-08T11:05:25.701Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-08T11:05:26.073Z] + git tag --points-at HEAD [Pipeline] } [2021-02-08T11:05:26.093Z] $ docker exec --env ******** --env ******** 49b48b241ac282da7319e89227a7d5233de3b0587684eb818df30315aa414e9f ssh-agent -k [2021-02-08T11:05:26.206Z] unset SSH_AUTH_SOCK; [2021-02-08T11:05:26.206Z] unset SSH_AGENT_PID; [2021-02-08T11:05:26.206Z] echo Agent pid 17 killed; [2021-02-08T11:05:26.254Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-08T11:05:26.398Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-08T11:05:26.398Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-08T11:05:26.562Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-08T11:05:26.566Z] $ docker exec 49b48b241ac282da7319e89227a7d5233de3b0587684eb818df30315aa414e9f ssh-agent [2021-02-08T11:05:26.721Z] SSH_AUTH_SOCK=/tmp/ssh-QuQ6znhtBNBQ/agent.47 [2021-02-08T11:05:26.721Z] SSH_AGENT_PID=53 [2021-02-08T11:05:26.727Z] Running ssh-add (command line suppressed) [2021-02-08T11:05:26.844Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-768@tmp/private_key_3134391926501785411.key (/w/workspace/dgexfoundry_device-sdk-go_PR-768@tmp/private_key_3134391926501785411.key) [2021-02-08T11:05:26.896Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-08T11:05:27.231Z] + git semver init [2021-02-08T11:05:27.231Z] # -> Open(): unable to determine branch for HEAD [2021-02-08T11:05:27.231Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-768/.git [2021-02-08T11:05:27.231Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-768 [2021-02-08T11:05:27.231Z] # $SEMVER_REMOTE_NAME = origin [2021-02-08T11:05:27.231Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-08T11:05:27.231Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-08T11:05:27.231Z] # $SEMVER_BRANCH = PR-768 [2021-02-08T11:05:27.231Z] # $SEMVER_TEMP = /tmp/semver-809744596 [2021-02-08T11:05:27.231Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-02-08T11:05:27.805Z] # '/tmp/semver-809744596' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-768/.semver' [2021-02-08T11:05:27.805Z] # -> Force: false [2021-02-08T11:05:27.805Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-768/.semver [Pipeline] } [2021-02-08T11:05:27.816Z] $ docker exec --env ******** --env ******** 49b48b241ac282da7319e89227a7d5233de3b0587684eb818df30315aa414e9f ssh-agent -k [2021-02-08T11:05:27.927Z] unset SSH_AUTH_SOCK; [2021-02-08T11:05:27.927Z] unset SSH_AGENT_PID; [2021-02-08T11:05:27.927Z] echo Agent pid 53 killed; [2021-02-08T11:05:27.976Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-08T11:05:28.454Z] + git semver [Pipeline] } [2021-02-08T11:05:28.471Z] $ docker stop --time=1 49b48b241ac282da7319e89227a7d5233de3b0587684eb818df30315aa414e9f [2021-02-08T11:05:29.869Z] $ docker rm -f 49b48b241ac282da7319e89227a7d5233de3b0587684eb818df30315aa414e9f [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-08T11:05:30.352Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-08T11:05:30.733Z] Stashed 1 file(s) [Pipeline] echo [2021-02-08T11:05:30.736Z] [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-08T11:05:46.246Z] Still waiting to schedule task [2021-02-08T11:05:46.246Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-25561’ [2021-02-08T11:05:46.248Z] Still waiting to schedule task [2021-02-08T11:05:46.248Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-02-08T11:07:37.083Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-25562 in /w/workspace/dgexfoundry_device-sdk-go_PR-768 [Pipeline] { [Pipeline] ws [2021-02-08T11:07:37.181Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-02-08T11:07:42.374Z] using credential edgex-jenkins-ssh [2021-02-08T11:07:42.435Z] Cloning the remote Git repository [2021-02-08T11:07:42.496Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-08T11:07:42.596Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-02-08T11:07:42.663Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-08T11:07:42.663Z] > git --version # timeout=10 [2021-02-08T11:07:42.677Z] > git --version # 'git version 2.17.1' [2021-02-08T11:07:42.678Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-08T11:07:42.761Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-08T11:07:44.734Z] Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit 7af912c45a376a8520a68a386b6086ff58bb65ae [2021-02-08T11:07:43.878Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-08T11:07:43.904Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-08T11:07:43.946Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-08T11:07:43.987Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-08T11:07:43.988Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-08T11:07:44.001Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/768/head:refs/remotes/origin/PR-768 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-08T11:07:44.755Z] > git config core.sparsecheckout # timeout=10 [2021-02-08T11:07:44.778Z] > git checkout -f 7af912c45a376a8520a68a386b6086ff58bb65ae # timeout=10 [2021-02-08T11:07:44.887Z] > git remote # timeout=10 [2021-02-08T11:07:44.916Z] > git config --get remote.origin.url # timeout=10 [2021-02-08T11:07:44.987Z] Merge succeeded, producing 7af912c45a376a8520a68a386b6086ff58bb65ae [2021-02-08T11:07:44.987Z] Checking out Revision 7af912c45a376a8520a68a386b6086ff58bb65ae (PR-768) [2021-02-08T11:07:44.938Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-08T11:07:44.950Z] > git merge 3aea893206dfece0cb943228d650ae216607898f # timeout=10 [2021-02-08T11:07:44.973Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-08T11:07:44.995Z] > git config core.sparsecheckout # timeout=10 [2021-02-08T11:07:45.008Z] > git checkout -f 7af912c45a376a8520a68a386b6086ff58bb65ae # timeout=10 [2021-02-08T11:07:49.596Z] Commit message: "fix: fix requested changes in PR" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-08T11:07:51.242Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-08T11:07:51.655Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-08T11:07:52.066Z] + sudo service docker restart [2021-02-08T11:07:52.066Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-08T11:07:54.774Z] provisioning config files... [2021-02-08T11:07:54.814Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config1743849448173627940tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-08T11:07:55.213Z] ---> docker-login.sh [2021-02-08T11:07:55.213Z] nexus3.edgexfoundry.org:10001 [2021-02-08T11:07:55.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-08T11:07:56.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-08T11:07:56.408Z] Configure a credential helper to remove this warning. See [2021-02-08T11:07:56.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-08T11:07:56.408Z] [2021-02-08T11:07:56.408Z] Login Succeeded [2021-02-08T11:07:56.408Z] nexus3.edgexfoundry.org:10002 [2021-02-08T11:07:56.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-08T11:07:56.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-08T11:07:56.958Z] Configure a credential helper to remove this warning. See [2021-02-08T11:07:56.958Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-08T11:07:56.958Z] [2021-02-08T11:07:56.958Z] Login Succeeded [2021-02-08T11:07:56.958Z] nexus3.edgexfoundry.org:10003 [2021-02-08T11:07:57.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-08T11:07:57.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-08T11:07:57.507Z] Configure a credential helper to remove this warning. See [2021-02-08T11:07:57.507Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-08T11:07:57.507Z] [2021-02-08T11:07:57.507Z] Login Succeeded [2021-02-08T11:07:57.507Z] nexus3.edgexfoundry.org:10004 [2021-02-08T11:07:57.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-08T11:07:58.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-08T11:07:58.058Z] Configure a credential helper to remove this warning. See [2021-02-08T11:07:58.058Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-08T11:07:58.058Z] [2021-02-08T11:07:58.058Z] Login Succeeded [2021-02-08T11:07:58.058Z] docker.io [2021-02-08T11:07:58.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-08T11:07:58.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-08T11:07:58.929Z] Configure a credential helper to remove this warning. See [2021-02-08T11:07:58.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-08T11:07:58.929Z] [2021-02-08T11:07:58.929Z] Login Succeeded [2021-02-08T11:07:58.929Z] ---> docker-login.sh ends [Pipeline] } [2021-02-08T11:07:58.945Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-08T11:07:59.373Z] ========================================================= [2021-02-08T11:07:59.373Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-08T11:07:59.373Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-08T11:07:59.748Z] + 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-08T11:08:00.025Z] Sending build context to Docker daemon 2.429MB [2021-02-08T11:08:00.025Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-08T11:08:00.025Z] Step 2/8 : FROM ${BASE} [2021-02-08T11:08:00.298Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-08T11:08:00.298Z] 5f621e34cdf4: Pulling fs layer [2021-02-08T11:08:00.298Z] a4357932f1b6: Pulling fs layer [2021-02-08T11:08:00.298Z] 18c013af1878: Pulling fs layer [2021-02-08T11:08:00.298Z] 00ac8860ef70: Pulling fs layer [2021-02-08T11:08:00.298Z] 63d7cb157983: Pulling fs layer [2021-02-08T11:08:00.298Z] b116817d02f9: Pulling fs layer [2021-02-08T11:08:00.298Z] 745a02a5169b: Pulling fs layer [2021-02-08T11:08:00.298Z] b116817d02f9: Waiting [2021-02-08T11:08:00.298Z] 00ac8860ef70: Waiting [2021-02-08T11:08:00.298Z] 745a02a5169b: Waiting [2021-02-08T11:08:00.298Z] 63d7cb157983: Waiting [2021-02-08T11:08:00.298Z] 18c013af1878: Verifying Checksum [2021-02-08T11:08:00.298Z] 18c013af1878: Download complete [2021-02-08T11:08:00.298Z] a4357932f1b6: Verifying Checksum [2021-02-08T11:08:00.298Z] a4357932f1b6: Download complete [2021-02-08T11:08:00.298Z] 63d7cb157983: Verifying Checksum [2021-02-08T11:08:00.298Z] 63d7cb157983: Download complete [2021-02-08T11:08:00.298Z] b116817d02f9: Verifying Checksum [2021-02-08T11:08:00.298Z] b116817d02f9: Download complete [2021-02-08T11:08:00.582Z] 5f621e34cdf4: Verifying Checksum [2021-02-08T11:08:00.582Z] 5f621e34cdf4: Download complete [2021-02-08T11:08:01.600Z] 5f621e34cdf4: Pull complete [2021-02-08T11:08:01.880Z] a4357932f1b6: Pull complete [2021-02-08T11:08:02.481Z] 18c013af1878: Pull complete [2021-02-08T11:08:03.464Z] 745a02a5169b: Download complete [2021-02-08T11:08:04.059Z] 00ac8860ef70: Verifying Checksum [2021-02-08T11:08:04.059Z] 00ac8860ef70: Download complete [2021-02-08T11:08:14.227Z] 00ac8860ef70: Pull complete [2021-02-08T11:08:14.500Z] 63d7cb157983: Pull complete [2021-02-08T11:08:14.776Z] b116817d02f9: Pull complete [2021-02-08T11:08:17.768Z] Running on prd-centos7-docker-4c-2g-25563 in /w/workspace/dgexfoundry_device-sdk-go_PR-768 [Pipeline] { [Pipeline] ws [2021-02-08T11:08:17.874Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-02-08T11:08:19.093Z] 745a02a5169b: Pull complete [2021-02-08T11:08:19.093Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-08T11:08:19.093Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-08T11:08:19.093Z] ---> b7e6874047d6 [2021-02-08T11:08:19.093Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-08T11:08:20.305Z] using credential edgex-jenkins-ssh [2021-02-08T11:08:20.359Z] Cloning the remote Git repository [2021-02-08T11:08:20.387Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-08T11:08:20.459Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-02-08T11:08:20.529Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-08T11:08:20.529Z] > git --version # timeout=10 [2021-02-08T11:08:20.539Z] > git --version # 'git version 2.24.3' [2021-02-08T11:08:20.539Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-08T11:08:20.573Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-08T11:08:21.206Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-08T11:08:21.214Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-08T11:08:21.234Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-08T11:08:21.255Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-08T11:08:21.255Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-08T11:08:21.260Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/768/head:refs/remotes/origin/PR-768 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-08T11:08:21.704Z] ---> Running in b3e1528157a1 [2021-02-08T11:08:21.704Z] Removing intermediate container b3e1528157a1 [2021-02-08T11:08:21.704Z] ---> 4d96d938e041 [2021-02-08T11:08:21.704Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-08T11:08:21.764Z] Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit 7af912c45a376a8520a68a386b6086ff58bb65ae [2021-02-08T11:08:21.882Z] Merge succeeded, producing 7af912c45a376a8520a68a386b6086ff58bb65ae [2021-02-08T11:08:21.882Z] Checking out Revision 7af912c45a376a8520a68a386b6086ff58bb65ae (PR-768) [2021-02-08T11:08:21.976Z] ---> Running in 8a4ec601743d [2021-02-08T11:08:21.771Z] > git config core.sparsecheckout # timeout=10 [2021-02-08T11:08:21.777Z] > git checkout -f 7af912c45a376a8520a68a386b6086ff58bb65ae # timeout=10 [2021-02-08T11:08:21.825Z] > git remote # timeout=10 [2021-02-08T11:08:21.831Z] > git config --get remote.origin.url # timeout=10 [2021-02-08T11:08:21.839Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-08T11:08:21.846Z] > git merge 3aea893206dfece0cb943228d650ae216607898f # timeout=10 [2021-02-08T11:08:21.860Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-08T11:08:21.884Z] > git config core.sparsecheckout # timeout=10 [2021-02-08T11:08:21.901Z] > git checkout -f 7af912c45a376a8520a68a386b6086ff58bb65ae # timeout=10 [2021-02-08T11:08:23.956Z] Removing intermediate container 8a4ec601743d [2021-02-08T11:08:23.956Z] ---> 6ffbf9ce9484 [2021-02-08T11:08:23.956Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-08T11:08:24.247Z] ---> Running in 616b4196950c [2021-02-08T11:08:25.229Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-08T11:08:25.563Z] Commit message: "fix: fix requested changes in PR" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-08T11:08:26.210Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-08T11:08:26.730Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-08T11:08:27.061Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-08T11:08:27.197Z] OK: 142 MiB in 39 packages [2021-02-08T11:08:27.361Z] + sudo service docker restart [2021-02-08T11:08:27.361Z] + true [2021-02-08T11:08:27.361Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-08T11:08:28.400Z] provisioning config files... [2021-02-08T11:08:28.425Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config3808524859792773740tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-08T11:08:28.625Z] Removing intermediate container 616b4196950c [2021-02-08T11:08:28.625Z] ---> e3bd9ebe6034 [2021-02-08T11:08:28.625Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-08T11:08:28.625Z] ---> Running in 95a6b0a7cd36 [2021-02-08T11:08:28.790Z] ---> docker-login.sh [2021-02-08T11:08:28.791Z] nexus3.edgexfoundry.org:10001 [2021-02-08T11:08:29.063Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-08T11:08:29.063Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-08T11:08:29.063Z] Configure a credential helper to remove this warning. See [2021-02-08T11:08:29.063Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-08T11:08:29.063Z] [2021-02-08T11:08:29.063Z] Login Succeeded [2021-02-08T11:08:29.063Z] nexus3.edgexfoundry.org:10002 [2021-02-08T11:08:29.219Z] Removing intermediate container 95a6b0a7cd36 [2021-02-08T11:08:29.219Z] ---> 35e07366269d [2021-02-08T11:08:29.219Z] Step 7/8 : COPY . . [2021-02-08T11:08:29.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-08T11:08:29.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-08T11:08:29.338Z] Configure a credential helper to remove this warning. See [2021-02-08T11:08:29.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-08T11:08:29.338Z] [2021-02-08T11:08:29.338Z] Login Succeeded [2021-02-08T11:08:29.338Z] nexus3.edgexfoundry.org:10003 [2021-02-08T11:08:29.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-08T11:08:29.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-08T11:08:29.603Z] Configure a credential helper to remove this warning. See [2021-02-08T11:08:29.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-08T11:08:29.603Z] [2021-02-08T11:08:29.603Z] Login Succeeded [2021-02-08T11:08:29.603Z] nexus3.edgexfoundry.org:10004 [2021-02-08T11:08:29.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-08T11:08:29.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-08T11:08:29.603Z] Configure a credential helper to remove this warning. See [2021-02-08T11:08:29.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-08T11:08:29.603Z] [2021-02-08T11:08:29.603Z] Login Succeeded [2021-02-08T11:08:29.603Z] docker.io [2021-02-08T11:08:29.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-08T11:08:30.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-08T11:08:30.129Z] Configure a credential helper to remove this warning. See [2021-02-08T11:08:30.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-08T11:08:30.129Z] [2021-02-08T11:08:30.129Z] Login Succeeded [2021-02-08T11:08:30.129Z] ---> docker-login.sh ends [Pipeline] } [2021-02-08T11:08:30.139Z] Deleting 1 temporary files [Pipeline] // wrap [2021-02-08T11:08:30.203Z] ---> 58aff7eec48a [2021-02-08T11:08:30.203Z] Step 8/8 : RUN go mod download [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-08T11:08:30.444Z] ========================================================= [2021-02-08T11:08:30.444Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-08T11:08:30.444Z] ========================================================= [2021-02-08T11:08:30.477Z] ---> Running in 9814327fca2b [Pipeline] isUnix [Pipeline] sh [2021-02-08T11:08:30.808Z] + 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-08T11:08:30.808Z] Sending build context to Docker daemon 2.43MB [2021-02-08T11:08:30.808Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-08T11:08:30.808Z] Step 2/8 : FROM ${BASE} [2021-02-08T11:08:31.070Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-08T11:08:31.070Z] 188c0c94c7c5: Pulling fs layer [2021-02-08T11:08:31.070Z] 0ef7d3d256c8: Pulling fs layer [2021-02-08T11:08:31.070Z] de9db76c5a1d: Pulling fs layer [2021-02-08T11:08:31.070Z] bca2f99d35d6: Pulling fs layer [2021-02-08T11:08:31.070Z] 93359f2a8cfa: Pulling fs layer [2021-02-08T11:08:31.070Z] 7c6f9722023f: Pulling fs layer [2021-02-08T11:08:31.070Z] a35cf1a2eb13: Pulling fs layer [2021-02-08T11:08:31.070Z] 93359f2a8cfa: Waiting [2021-02-08T11:08:31.070Z] 7c6f9722023f: Waiting [2021-02-08T11:08:31.070Z] a35cf1a2eb13: Waiting [2021-02-08T11:08:31.070Z] bca2f99d35d6: Waiting [2021-02-08T11:08:31.070Z] de9db76c5a1d: Verifying Checksum [2021-02-08T11:08:31.070Z] de9db76c5a1d: Download complete [2021-02-08T11:08:31.070Z] 0ef7d3d256c8: Verifying Checksum [2021-02-08T11:08:31.070Z] 0ef7d3d256c8: Download complete [2021-02-08T11:08:31.070Z] 93359f2a8cfa: Verifying Checksum [2021-02-08T11:08:31.070Z] 93359f2a8cfa: Download complete [2021-02-08T11:08:31.070Z] 188c0c94c7c5: Verifying Checksum [2021-02-08T11:08:31.070Z] 188c0c94c7c5: Download complete [2021-02-08T11:08:31.070Z] 7c6f9722023f: Verifying Checksum [2021-02-08T11:08:31.070Z] 7c6f9722023f: Download complete [2021-02-08T11:08:31.332Z] 188c0c94c7c5: Pull complete [2021-02-08T11:08:31.595Z] 0ef7d3d256c8: Pull complete [2021-02-08T11:08:31.595Z] de9db76c5a1d: Pull complete [2021-02-08T11:08:32.995Z] a35cf1a2eb13: Verifying Checksum [2021-02-08T11:08:32.995Z] a35cf1a2eb13: Download complete [2021-02-08T11:08:33.574Z] bca2f99d35d6: Verifying Checksum [2021-02-08T11:08:33.574Z] bca2f99d35d6: Download complete [2021-02-08T11:08:38.921Z] bca2f99d35d6: Pull complete [2021-02-08T11:08:39.195Z] 93359f2a8cfa: Pull complete [2021-02-08T11:08:39.195Z] 7c6f9722023f: Pull complete [2021-02-08T11:08:47.389Z] a35cf1a2eb13: Pull complete [2021-02-08T11:08:47.389Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-08T11:08:47.389Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-08T11:08:47.389Z] ---> a62c8e92a672 [2021-02-08T11:08:47.389Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-08T11:08:47.975Z] ---> Running in b6ec491a5283 [2021-02-08T11:08:47.975Z] Removing intermediate container b6ec491a5283 [2021-02-08T11:08:47.975Z] ---> ccd516f15a5c [2021-02-08T11:08:47.975Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-08T11:08:47.975Z] ---> Running in 61f199e2e3b0 [2021-02-08T11:08:49.389Z] Removing intermediate container 61f199e2e3b0 [2021-02-08T11:08:49.389Z] ---> 067e55bd6542 [2021-02-08T11:08:49.389Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-08T11:08:49.389Z] ---> Running in af29926d56c3 [2021-02-08T11:08:49.972Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-08T11:08:50.561Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-08T11:08:51.533Z] OK: 166 MiB in 39 packages [2021-02-08T11:08:51.812Z] Removing intermediate container af29926d56c3 [2021-02-08T11:08:51.812Z] ---> 7ae48160a4cc [2021-02-08T11:08:51.812Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-08T11:08:51.812Z] ---> Running in ad9331f446ad [2021-02-08T11:08:52.074Z] Removing intermediate container ad9331f446ad [2021-02-08T11:08:52.074Z] ---> dafd77a9b8be [2021-02-08T11:08:52.074Z] Step 7/8 : COPY . . [2021-02-08T11:08:53.469Z] ---> 6be9e4baef80 [2021-02-08T11:08:53.470Z] Step 8/8 : RUN go mod download [2021-02-08T11:08:53.470Z] ---> Running in 58bf51d05c9a [2021-02-08T11:08:57.263Z] Removing intermediate container 9814327fca2b [2021-02-08T11:08:57.263Z] ---> 0b7fc307087b [2021-02-08T11:08:57.263Z] Successfully built 0b7fc307087b [2021-02-08T11:08:57.263Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-08T11:08:57.604Z] + docker inspect -f . ci-base-image-arm64 [2021-02-08T11:08:57.604Z] . [Pipeline] withDockerContainer [2021-02-08T11:08:57.874Z] prd-ubuntu18.04-docker-arm64-4c-16g-25562 does not seem to be running inside a container [2021-02-08T11:08:57.959Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-08T11:08:59.460Z] $ docker top 3346d84a7c7dbf95509126ca927304c9ad49687e06fdaa2441164da9085e8237 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-08T11:09:00.518Z] + go version [2021-02-08T11:09:00.518Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-08T11:09:00.544Z] $ docker stop --time=1 3346d84a7c7dbf95509126ca927304c9ad49687e06fdaa2441164da9085e8237 [2021-02-08T11:09:02.511Z] $ docker rm -f 3346d84a7c7dbf95509126ca927304c9ad49687e06fdaa2441164da9085e8237 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-08T11:09:03.519Z] + docker inspect -f . ci-base-image-arm64 [2021-02-08T11:09:03.519Z] . [Pipeline] withDockerContainer [2021-02-08T11:09:03.777Z] prd-ubuntu18.04-docker-arm64-4c-16g-25562 does not seem to be running inside a container [2021-02-08T11:09:03.860Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-08T11:09:05.317Z] $ docker top 451a68fe804409b2ea7972c14d4ffdd000088a1b2435a4622fefbcdfc3a7c561 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-08T11:09:06.301Z] + make test [2021-02-08T11:09:06.301Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-08T11:09:15.617Z] Removing intermediate container 58bf51d05c9a [2021-02-08T11:09:15.617Z] ---> bdbd9929986b [2021-02-08T11:09:15.617Z] Successfully built bdbd9929986b [2021-02-08T11:09:15.617Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-08T11:09:15.933Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-08T11:09:15.933Z] . [Pipeline] withDockerContainer [2021-02-08T11:09:16.057Z] prd-centos7-docker-4c-2g-25563 does not seem to be running inside a container [2021-02-08T11:09:16.112Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-08T11:09:17.702Z] $ docker top 451794a2f2597eaafd34574d19cb8a4e56271c1fb2d9bffa497a99c32675ffaa -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-08T11:09:18.226Z] + go version [2021-02-08T11:09:18.226Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-08T11:09:18.241Z] $ docker stop --time=1 451794a2f2597eaafd34574d19cb8a4e56271c1fb2d9bffa497a99c32675ffaa [2021-02-08T11:09:19.577Z] $ docker rm -f 451794a2f2597eaafd34574d19cb8a4e56271c1fb2d9bffa497a99c32675ffaa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-08T11:09:20.374Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-08T11:09:20.374Z] . [Pipeline] withDockerContainer [2021-02-08T11:09:20.471Z] prd-centos7-docker-4c-2g-25563 does not seem to be running inside a container [2021-02-08T11:09:20.531Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-08T11:09:21.092Z] $ docker top fc69f9fe22cc9c41785d0c9f895d3daf8d45b2bcab86cafd516132e66d30fb6d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-08T11:09:21.600Z] + make test [2021-02-08T11:09:21.600Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-08T11:09:28.480Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-08T11:09:29.814Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-08T11:09:44.893Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-08T11:09:44.893Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-08T11:09:44.893Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-08T11:09:47.462Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.048s coverage: 25.5% of statements [2021-02-08T11:10:07.484Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-08T11:10:07.485Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-08T11:10:07.485Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-08T11:10:11.815Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.159s coverage: 25.5% of statements [2021-02-08T11:10:19.623Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.071s coverage: 10.1% of statements [2021-02-08T11:10:19.623Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.074s coverage: 12.5% of statements [2021-02-08T11:10:19.623Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-08T11:10:19.623Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.067s coverage: 84.8% of statements [2021-02-08T11:10:19.624Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-08T11:10:19.624Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-08T11:10:19.624Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-08T11:10:19.624Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-08T11:10:19.624Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.077s coverage: 49.2% of statements [2021-02-08T11:10:19.624Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-08T11:10:19.624Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-02-08T11:10:19.624Z] --- FAIL: TestSecretRequest (0.01s) [2021-02-08T11:10:19.624Z] --- FAIL: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash (0.00s) [2021-02-08T11:10:19.624Z] common_test.go:261: [2021-02-08T11:10:19.624Z] Error Trace: common_test.go:261 [2021-02-08T11:10:19.624Z] Error: Not equal: [2021-02-08T11:10:19.624Z] expected: 201 [2021-02-08T11:10:19.624Z] actual : 400 [2021-02-08T11:10:19.624Z] Test: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash [2021-02-08T11:10:19.624Z] Messages: HTTP status code not as expected [2021-02-08T11:10:19.624Z] common_test.go:263: [2021-02-08T11:10:19.624Z] Error Trace: common_test.go:263 [2021-02-08T11:10:19.624Z] Error: Not equal: [2021-02-08T11:10:19.624Z] expected: 201 [2021-02-08T11:10:19.624Z] actual : 400 [2021-02-08T11:10:19.624Z] Test: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash [2021-02-08T11:10:19.624Z] Messages: BaseResponse status code not as expected [2021-02-08T11:10:19.624Z] common_test.go:270: [2021-02-08T11:10:19.624Z] Error Trace: common_test.go:270 [2021-02-08T11:10:19.624Z] Error: Not equal: [2021-02-08T11:10:19.624Z] expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-02-08T11:10:19.624Z] actual : "" [2021-02-08T11:10:19.624Z] [2021-02-08T11:10:19.624Z] Diff: [2021-02-08T11:10:19.624Z] --- Expected [2021-02-08T11:10:19.624Z] +++ Actual [2021-02-08T11:10:19.624Z] @@ -1 +1 @@ [2021-02-08T11:10:19.624Z] -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-08T11:10:19.624Z] + [2021-02-08T11:10:19.624Z] Test: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash [2021-02-08T11:10:19.624Z] Messages: RequestID not as expected [2021-02-08T11:10:19.624Z] common_test.go:271: [2021-02-08T11:10:19.624Z] Error Trace: common_test.go:271 [2021-02-08T11:10:19.624Z] Error: Should be empty, but was JSON decode failed -> SecretRequest validation failed. -> SecretRequest.BaseRequest.Versionable.ApiVersion field is required [2021-02-08T11:10:19.624Z] Test: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash [2021-02-08T11:10:19.624Z] Messages: Message not empty, as expected [2021-02-08T11:10:19.624Z] --- FAIL: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash (0.00s) [2021-02-08T11:10:19.624Z] common_test.go:261: [2021-02-08T11:10:19.624Z] Error Trace: common_test.go:261 [2021-02-08T11:10:19.624Z] Error: Not equal: [2021-02-08T11:10:19.624Z] expected: 201 [2021-02-08T11:10:19.624Z] actual : 400 [2021-02-08T11:10:19.624Z] Test: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-08T11:10:19.624Z] Messages: HTTP status code not as expected [2021-02-08T11:10:19.624Z] common_test.go:263: [2021-02-08T11:10:19.624Z] Error Trace: common_test.go:263 [2021-02-08T11:10:19.624Z] Error: Not equal: [2021-02-08T11:10:19.624Z] expected: 201 [2021-02-08T11:10:19.624Z] actual : 400 [2021-02-08T11:10:19.624Z] Test: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-08T11:10:19.624Z] Messages: BaseResponse status code not as expected [2021-02-08T11:10:19.624Z] common_test.go:270: [2021-02-08T11:10:19.624Z] Error Trace: common_test.go:270 [2021-02-08T11:10:19.624Z] Error: Not equal: [2021-02-08T11:10:19.624Z] expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-02-08T11:10:19.624Z] actual : "" [2021-02-08T11:10:19.624Z] [2021-02-08T11:10:19.624Z] Diff: [2021-02-08T11:10:19.624Z] --- Expected [2021-02-08T11:10:19.624Z] +++ Actual [2021-02-08T11:10:19.624Z] @@ -1 +1 @@ [2021-02-08T11:10:19.624Z] -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-08T11:10:19.624Z] + [2021-02-08T11:10:19.624Z] Test: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-08T11:10:19.624Z] Messages: RequestID not as expected [2021-02-08T11:10:19.624Z] common_test.go:271: [2021-02-08T11:10:19.624Z] Error Trace: common_test.go:271 [2021-02-08T11:10:19.624Z] Error: Should be empty, but was JSON decode failed -> SecretRequest validation failed. -> SecretRequest.BaseRequest.Versionable.ApiVersion field is required [2021-02-08T11:10:19.624Z] Test: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-08T11:10:19.624Z] Messages: Message not empty, as expected [2021-02-08T11:10:19.624Z] --- FAIL: TestSecretRequest/Valid_-_both_trailing_slashes (0.00s) [2021-02-08T11:10:19.624Z] common_test.go:261: [2021-02-08T11:10:19.624Z] Error Trace: common_test.go:261 [2021-02-08T11:10:19.624Z] Error: Not equal: [2021-02-08T11:10:19.624Z] expected: 201 [2021-02-08T11:10:19.624Z] actual : 400 [2021-02-08T11:10:19.624Z] Test: TestSecretRequest/Valid_-_both_trailing_slashes [2021-02-08T11:10:19.624Z] Messages: HTTP status code not as expected [2021-02-08T11:10:19.624Z] common_test.go:263: [2021-02-08T11:10:19.624Z] Error Trace: common_test.go:263 [2021-02-08T11:10:19.624Z] Error: Not equal: [2021-02-08T11:10:19.624Z] expected: 201 [2021-02-08T11:10:19.624Z] actual : 400 [2021-02-08T11:10:19.624Z] Test: TestSecretRequest/Valid_-_both_trailing_slashes [2021-02-08T11:10:19.624Z] Messages: BaseResponse status code not as expected [2021-02-08T11:10:19.624Z] common_test.go:270: [2021-02-08T11:10:19.624Z] Error Trace: common_test.go:270 [2021-02-08T11:10:19.624Z] Error: Not equal: [2021-02-08T11:10:19.624Z] expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-02-08T11:10:19.624Z] actual : "" [2021-02-08T11:10:19.624Z] [2021-02-08T11:10:19.624Z] Diff: [2021-02-08T11:10:19.624Z] --- Expected [2021-02-08T11:10:19.624Z] +++ Actual [2021-02-08T11:10:19.624Z] @@ -1 +1 @@ [2021-02-08T11:10:19.624Z] -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-08T11:10:19.624Z] + [2021-02-08T11:10:19.624Z] Test: TestSecretRequest/Valid_-_both_trailing_slashes [2021-02-08T11:10:19.624Z] Messages: RequestID not as expected [2021-02-08T11:10:19.624Z] common_test.go:271: [2021-02-08T11:10:19.624Z] Error Trace: common_test.go:271 [2021-02-08T11:10:19.624Z] Error: Should be empty, but was JSON decode failed -> SecretRequest validation failed. -> SecretRequest.BaseRequest.Versionable.ApiVersion field is required [2021-02-08T11:10:19.624Z] Test: TestSecretRequest/Valid_-_both_trailing_slashes [2021-02-08T11:10:19.624Z] Messages: Message not empty, as expected [2021-02-08T11:10:19.624Z] --- FAIL: TestSecretRequest/Valid_-_no_requestId (0.00s) [2021-02-08T11:10:19.624Z] common_test.go:261: [2021-02-08T11:10:19.624Z] Error Trace: common_test.go:261 [2021-02-08T11:10:19.624Z] Error: Not equal: [2021-02-08T11:10:19.624Z] expected: 201 [2021-02-08T11:10:19.624Z] actual : 400 [2021-02-08T11:10:19.624Z] Test: TestSecretRequest/Valid_-_no_requestId [2021-02-08T11:10:19.624Z] Messages: HTTP status code not as expected [2021-02-08T11:10:19.624Z] common_test.go:263: [2021-02-08T11:10:19.624Z] Error Trace: common_test.go:263 [2021-02-08T11:10:19.624Z] Error: Not equal: [2021-02-08T11:10:19.624Z] expected: 201 [2021-02-08T11:10:19.624Z] actual : 400 [2021-02-08T11:10:19.624Z] Test: TestSecretRequest/Valid_-_no_requestId [2021-02-08T11:10:19.624Z] Messages: BaseResponse status code not as expected [2021-02-08T11:10:19.624Z] common_test.go:271: [2021-02-08T11:10:19.624Z] Error Trace: common_test.go:271 [2021-02-08T11:10:19.624Z] Error: Should be empty, but was JSON decode failed -> SecretRequest validation failed. -> SecretRequest.BaseRequest.Versionable.ApiVersion field is required [2021-02-08T11:10:19.624Z] Test: TestSecretRequest/Valid_-_no_requestId [2021-02-08T11:10:19.624Z] Messages: Message not empty, as expected [2021-02-08T11:10:19.624Z] --- FAIL: TestSecretRequest/Invalid_-_No_Secret_Store (0.00s) [2021-02-08T11:10:19.624Z] common_test.go:261: [2021-02-08T11:10:19.624Z] Error Trace: common_test.go:261 [2021-02-08T11:10:19.624Z] Error: Not equal: [2021-02-08T11:10:19.624Z] expected: 500 [2021-02-08T11:10:19.624Z] actual : 400 [2021-02-08T11:10:19.624Z] Test: TestSecretRequest/Invalid_-_No_Secret_Store [2021-02-08T11:10:19.624Z] Messages: HTTP status code not as expected [2021-02-08T11:10:19.624Z] common_test.go:263: [2021-02-08T11:10:19.624Z] Error Trace: common_test.go:263 [2021-02-08T11:10:19.624Z] Error: Not equal: [2021-02-08T11:10:19.624Z] expected: 500 [2021-02-08T11:10:19.624Z] actual : 400 [2021-02-08T11:10:19.624Z] Test: TestSecretRequest/Invalid_-_No_Secret_Store [2021-02-08T11:10:19.624Z] Messages: BaseResponse status code not as expected [2021-02-08T11:10:19.624Z] FAIL [2021-02-08T11:10:19.624Z] coverage: 17.0% of statements [2021-02-08T11:10:19.624Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.057s [2021-02-08T11:10:19.624Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.380s coverage: 83.5% of statements [2021-02-08T11:10:19.624Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.056s coverage: 5.3% of statements [2021-02-08T11:10:19.624Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-08T11:10:19.624Z] FAIL [2021-02-08T11:10:19.624Z] make: *** [Makefile:32: test] Error 1 [Pipeline] } [2021-02-08T11:10:19.650Z] $ docker stop --time=1 fc69f9fe22cc9c41785d0c9f895d3daf8d45b2bcab86cafd516132e66d30fb6d [2021-02-08T11:10:21.280Z] $ docker rm -f fc69f9fe22cc9c41785d0c9f895d3daf8d45b2bcab86cafd516132e66d30fb6d [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-08T11:10:22.957Z] Failed in branch amd64 [2021-02-08T11:10:44.162Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.115s coverage: 10.1% of statements [2021-02-08T11:10:44.162Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.169s coverage: 12.5% of statements [2021-02-08T11:10:44.162Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-08T11:10:44.162Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.173s coverage: 84.8% of statements [2021-02-08T11:10:44.162Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-08T11:10:44.162Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-08T11:10:44.162Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-08T11:10:44.162Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-08T11:10:44.162Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.183s coverage: 49.2% of statements [2021-02-08T11:10:44.162Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-08T11:10:44.162Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-02-08T11:10:44.162Z] --- FAIL: TestSecretRequest (0.04s) [2021-02-08T11:10:44.162Z] --- FAIL: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash (0.01s) [2021-02-08T11:10:44.162Z] common_test.go:261: [2021-02-08T11:10:44.162Z] Error Trace: common_test.go:261 [2021-02-08T11:10:44.162Z] Error: Not equal: [2021-02-08T11:10:44.162Z] expected: 201 [2021-02-08T11:10:44.162Z] actual : 400 [2021-02-08T11:10:44.162Z] Test: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash [2021-02-08T11:10:44.162Z] Messages: HTTP status code not as expected [2021-02-08T11:10:44.162Z] common_test.go:263: [2021-02-08T11:10:44.162Z] Error Trace: common_test.go:263 [2021-02-08T11:10:44.162Z] Error: Not equal: [2021-02-08T11:10:44.162Z] expected: 201 [2021-02-08T11:10:44.162Z] actual : 400 [2021-02-08T11:10:44.162Z] Test: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash [2021-02-08T11:10:44.162Z] Messages: BaseResponse status code not as expected [2021-02-08T11:10:44.162Z] common_test.go:270: [2021-02-08T11:10:44.162Z] Error Trace: common_test.go:270 [2021-02-08T11:10:44.162Z] Error: Not equal: [2021-02-08T11:10:44.162Z] expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-02-08T11:10:44.162Z] actual : "" [2021-02-08T11:10:44.162Z] [2021-02-08T11:10:44.162Z] Diff: [2021-02-08T11:10:44.162Z] --- Expected [2021-02-08T11:10:44.162Z] +++ Actual [2021-02-08T11:10:44.162Z] @@ -1 +1 @@ [2021-02-08T11:10:44.162Z] -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-08T11:10:44.162Z] + [2021-02-08T11:10:44.162Z] Test: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash [2021-02-08T11:10:44.162Z] Messages: RequestID not as expected [2021-02-08T11:10:44.162Z] common_test.go:271: [2021-02-08T11:10:44.162Z] Error Trace: common_test.go:271 [2021-02-08T11:10:44.162Z] Error: Should be empty, but was JSON decode failed -> SecretRequest validation failed. -> SecretRequest.BaseRequest.Versionable.ApiVersion field is required [2021-02-08T11:10:44.162Z] Test: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash [2021-02-08T11:10:44.162Z] Messages: Message not empty, as expected [2021-02-08T11:10:44.162Z] --- FAIL: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash (0.00s) [2021-02-08T11:10:44.162Z] common_test.go:261: [2021-02-08T11:10:44.162Z] Error Trace: common_test.go:261 [2021-02-08T11:10:44.162Z] Error: Not equal: [2021-02-08T11:10:44.162Z] expected: 201 [2021-02-08T11:10:44.162Z] actual : 400 [2021-02-08T11:10:44.162Z] Test: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-08T11:10:44.162Z] Messages: HTTP status code not as expected [2021-02-08T11:10:44.162Z] common_test.go:263: [2021-02-08T11:10:44.162Z] Error Trace: common_test.go:263 [2021-02-08T11:10:44.162Z] Error: Not equal: [2021-02-08T11:10:44.162Z] expected: 201 [2021-02-08T11:10:44.162Z] actual : 400 [2021-02-08T11:10:44.162Z] Test: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-08T11:10:44.162Z] Messages: BaseResponse status code not as expected [2021-02-08T11:10:44.162Z] common_test.go:270: [2021-02-08T11:10:44.162Z] Error Trace: common_test.go:270 [2021-02-08T11:10:44.162Z] Error: Not equal: [2021-02-08T11:10:44.162Z] expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-02-08T11:10:44.162Z] actual : "" [2021-02-08T11:10:44.162Z] [2021-02-08T11:10:44.162Z] Diff: [2021-02-08T11:10:44.162Z] --- Expected [2021-02-08T11:10:44.162Z] +++ Actual [2021-02-08T11:10:44.162Z] @@ -1 +1 @@ [2021-02-08T11:10:44.162Z] -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-08T11:10:44.162Z] + [2021-02-08T11:10:44.162Z] Test: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-08T11:10:44.162Z] Messages: RequestID not as expected [2021-02-08T11:10:44.162Z] common_test.go:271: [2021-02-08T11:10:44.163Z] Error Trace: common_test.go:271 [2021-02-08T11:10:44.163Z] Error: Should be empty, but was JSON decode failed -> SecretRequest validation failed. -> SecretRequest.BaseRequest.Versionable.ApiVersion field is required [2021-02-08T11:10:44.163Z] Test: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-08T11:10:44.163Z] Messages: Message not empty, as expected [2021-02-08T11:10:44.163Z] --- FAIL: TestSecretRequest/Valid_-_both_trailing_slashes (0.00s) [2021-02-08T11:10:44.163Z] common_test.go:261: [2021-02-08T11:10:44.163Z] Error Trace: common_test.go:261 [2021-02-08T11:10:44.163Z] Error: Not equal: [2021-02-08T11:10:44.163Z] expected: 201 [2021-02-08T11:10:44.163Z] actual : 400 [2021-02-08T11:10:44.163Z] Test: TestSecretRequest/Valid_-_both_trailing_slashes [2021-02-08T11:10:44.163Z] Messages: HTTP status code not as expected [2021-02-08T11:10:44.163Z] common_test.go:263: [2021-02-08T11:10:44.163Z] Error Trace: common_test.go:263 [2021-02-08T11:10:44.163Z] Error: Not equal: [2021-02-08T11:10:44.163Z] expected: 201 [2021-02-08T11:10:44.163Z] actual : 400 [2021-02-08T11:10:44.163Z] Test: TestSecretRequest/Valid_-_both_trailing_slashes [2021-02-08T11:10:44.163Z] Messages: BaseResponse status code not as expected [2021-02-08T11:10:44.163Z] common_test.go:270: [2021-02-08T11:10:44.163Z] Error Trace: common_test.go:270 [2021-02-08T11:10:44.163Z] Error: Not equal: [2021-02-08T11:10:44.163Z] expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-02-08T11:10:44.163Z] actual : "" [2021-02-08T11:10:44.163Z] [2021-02-08T11:10:44.163Z] Diff: [2021-02-08T11:10:44.163Z] --- Expected [2021-02-08T11:10:44.163Z] +++ Actual [2021-02-08T11:10:44.163Z] @@ -1 +1 @@ [2021-02-08T11:10:44.163Z] -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-08T11:10:44.163Z] + [2021-02-08T11:10:44.163Z] Test: TestSecretRequest/Valid_-_both_trailing_slashes [2021-02-08T11:10:44.163Z] Messages: RequestID not as expected [2021-02-08T11:10:44.163Z] common_test.go:271: [2021-02-08T11:10:44.163Z] Error Trace: common_test.go:271 [2021-02-08T11:10:44.163Z] Error: Should be empty, but was JSON decode failed -> SecretRequest validation failed. -> SecretRequest.BaseRequest.Versionable.ApiVersion field is required [2021-02-08T11:10:44.163Z] Test: TestSecretRequest/Valid_-_both_trailing_slashes [2021-02-08T11:10:44.163Z] Messages: Message not empty, as expected [2021-02-08T11:10:44.163Z] --- FAIL: TestSecretRequest/Valid_-_no_requestId (0.00s) [2021-02-08T11:10:44.163Z] common_test.go:261: [2021-02-08T11:10:44.163Z] Error Trace: common_test.go:261 [2021-02-08T11:10:44.163Z] Error: Not equal: [2021-02-08T11:10:44.163Z] expected: 201 [2021-02-08T11:10:44.163Z] actual : 400 [2021-02-08T11:10:44.163Z] Test: TestSecretRequest/Valid_-_no_requestId [2021-02-08T11:10:44.163Z] Messages: HTTP status code not as expected [2021-02-08T11:10:44.163Z] common_test.go:263: [2021-02-08T11:10:44.163Z] Error Trace: common_test.go:263 [2021-02-08T11:10:44.163Z] Error: Not equal: [2021-02-08T11:10:44.163Z] expected: 201 [2021-02-08T11:10:44.163Z] actual : 400 [2021-02-08T11:10:44.163Z] Test: TestSecretRequest/Valid_-_no_requestId [2021-02-08T11:10:44.163Z] Messages: BaseResponse status code not as expected [2021-02-08T11:10:44.163Z] common_test.go:271: [2021-02-08T11:10:44.163Z] Error Trace: common_test.go:271 [2021-02-08T11:10:44.163Z] Error: Should be empty, but was JSON decode failed -> SecretRequest validation failed. -> SecretRequest.BaseRequest.Versionable.ApiVersion field is required [2021-02-08T11:10:44.163Z] Test: TestSecretRequest/Valid_-_no_requestId [2021-02-08T11:10:44.163Z] Messages: Message not empty, as expected [2021-02-08T11:10:44.163Z] --- FAIL: TestSecretRequest/Invalid_-_No_Secret_Store (0.00s) [2021-02-08T11:10:44.163Z] common_test.go:261: [2021-02-08T11:10:44.163Z] Error Trace: common_test.go:261 [2021-02-08T11:10:44.163Z] Error: Not equal: [2021-02-08T11:10:44.163Z] expected: 500 [2021-02-08T11:10:44.163Z] actual : 400 [2021-02-08T11:10:44.163Z] Test: TestSecretRequest/Invalid_-_No_Secret_Store [2021-02-08T11:10:44.163Z] Messages: HTTP status code not as expected [2021-02-08T11:10:44.163Z] common_test.go:263: [2021-02-08T11:10:44.163Z] Error Trace: common_test.go:263 [2021-02-08T11:10:44.163Z] Error: Not equal: [2021-02-08T11:10:44.163Z] expected: 500 [2021-02-08T11:10:44.163Z] actual : 400 [2021-02-08T11:10:44.163Z] Test: TestSecretRequest/Invalid_-_No_Secret_Store [2021-02-08T11:10:44.163Z] Messages: BaseResponse status code not as expected [2021-02-08T11:10:44.163Z] FAIL [2021-02-08T11:10:44.163Z] coverage: 17.0% of statements [2021-02-08T11:10:44.163Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.172s [2021-02-08T11:10:44.163Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 6.082s coverage: 83.5% of statements [2021-02-08T11:10:44.163Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.150s coverage: 5.3% of statements [2021-02-08T11:10:44.163Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-08T11:10:44.163Z] FAIL [2021-02-08T11:10:44.163Z] make: *** [Makefile:32: test] Error 1 [Pipeline] } [2021-02-08T11:10:44.193Z] $ docker stop --time=1 451a68fe804409b2ea7972c14d4ffdd000088a1b2435a4622fefbcdfc3a7c561 [2021-02-08T11:10:46.286Z] $ docker rm -f 451a68fe804409b2ea7972c14d4ffdd000088a1b2435a4622fefbcdfc3a7c561 [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-08T11:10:48.073Z] 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-08T11:10:51.180Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-08T11:10:51.488Z] ---> package-listing.sh [2021-02-08T11:10:51.488Z] ++ facter osfamily [2021-02-08T11:10:51.488Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-08T11:10:51.488Z] + OS_FAMILY=redhat [2021-02-08T11:10:51.489Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-768 [2021-02-08T11:10:51.489Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-08T11:10:51.489Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-08T11:10:51.489Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-08T11:10:51.489Z] + PACKAGES=/tmp/packages_start.txt [2021-02-08T11:10:51.489Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-768 ']' [2021-02-08T11:10:51.489Z] + PACKAGES=/tmp/packages_end.txt [2021-02-08T11:10:51.489Z] + case "${OS_FAMILY}" in [2021-02-08T11:10:51.489Z] + rpm -qa [2021-02-08T11:10:51.489Z] + sort [2021-02-08T11:10:56.807Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-08T11:10:56.807Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-08T11:10:56.807Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-08T11:10:56.807Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-768 ']' [2021-02-08T11:10:56.807Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-768/archives/ [2021-02-08T11:10:56.807Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-768/archives/ [Pipeline] echo [2021-02-08T11:10:56.821Z] 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-768/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-02-08T11:10:57.116Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-08T11:10:57.423Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-08T11:10:57.423Z] [2021-02-08T11:10:57.423Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-08T11:10:57.768Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-08T11:10:57.768Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-08T11:10:57.768Z] df20fa9351a1: Pulling fs layer [2021-02-08T11:10:57.768Z] 36b3adc4ff6f: Pulling fs layer [2021-02-08T11:10:57.768Z] 8ad3a11d3b57: Pulling fs layer [2021-02-08T11:10:57.768Z] 46f8f816bc3b: Pulling fs layer [2021-02-08T11:10:57.768Z] 93b61091891f: Pulling fs layer [2021-02-08T11:10:57.768Z] 93b9cdb0e59b: Pulling fs layer [2021-02-08T11:10:57.768Z] 5e14af77c1be: Pulling fs layer [2021-02-08T11:10:57.768Z] 01666e4c0597: Pulling fs layer [2021-02-08T11:10:57.768Z] aa168da1d23b: Pulling fs layer [2021-02-08T11:10:57.768Z] 93b61091891f: Waiting [2021-02-08T11:10:57.768Z] 93b9cdb0e59b: Waiting [2021-02-08T11:10:57.768Z] 5e14af77c1be: Waiting [2021-02-08T11:10:57.768Z] 01666e4c0597: Waiting [2021-02-08T11:10:57.768Z] aa168da1d23b: Waiting [2021-02-08T11:10:57.768Z] 46f8f816bc3b: Waiting [2021-02-08T11:10:57.768Z] 36b3adc4ff6f: Download complete [2021-02-08T11:10:57.768Z] 46f8f816bc3b: Verifying Checksum [2021-02-08T11:10:57.768Z] 46f8f816bc3b: Download complete [2021-02-08T11:10:58.035Z] df20fa9351a1: Verifying Checksum [2021-02-08T11:10:58.035Z] df20fa9351a1: Download complete [2021-02-08T11:10:58.035Z] 93b9cdb0e59b: Verifying Checksum [2021-02-08T11:10:58.035Z] 93b9cdb0e59b: Download complete [2021-02-08T11:10:58.035Z] 5e14af77c1be: Verifying Checksum [2021-02-08T11:10:58.035Z] 5e14af77c1be: Download complete [2021-02-08T11:10:58.035Z] 93b61091891f: Verifying Checksum [2021-02-08T11:10:58.035Z] 93b61091891f: Download complete [2021-02-08T11:10:58.035Z] 01666e4c0597: Verifying Checksum [2021-02-08T11:10:58.035Z] 01666e4c0597: Download complete [2021-02-08T11:10:58.299Z] df20fa9351a1: Pull complete [2021-02-08T11:10:58.299Z] 8ad3a11d3b57: Download complete [2021-02-08T11:10:58.561Z] 36b3adc4ff6f: Pull complete [2021-02-08T11:10:59.141Z] 8ad3a11d3b57: Pull complete [2021-02-08T11:10:59.411Z] 46f8f816bc3b: Pull complete [2021-02-08T11:11:00.365Z] 93b61091891f: Pull complete [2021-02-08T11:11:00.365Z] aa168da1d23b: Verifying Checksum [2021-02-08T11:11:00.365Z] aa168da1d23b: Download complete [2021-02-08T11:11:00.365Z] 93b9cdb0e59b: Pull complete [2021-02-08T11:11:00.629Z] 5e14af77c1be: Pull complete [2021-02-08T11:11:00.629Z] 01666e4c0597: Pull complete [2021-02-08T11:11:07.292Z] aa168da1d23b: Pull complete [2021-02-08T11:11:07.292Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-08T11:11:07.292Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-08T11:11:07.292Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-08T11:11:07.436Z] prd-centos7-docker-4c-2g-25561 does not seem to be running inside a container [2021-02-08T11:11:07.482Z] $ 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-768/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-768 -v /w/workspace/dgexfoundry_device-sdk-go_PR-768:/w/workspace/dgexfoundry_device-sdk-go_PR-768:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-768@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-768@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-02-08T11:11:10.816Z] $ docker top e478856a505781dfaf65bcdfc6fcad0b4108d7debd712c65d02bdf3a83843e42 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-08T11:11:11.296Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-08T11:11:11.591Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-08T11:11:11.887Z] + ls /var/log/sa-host [2021-02-08T11:11:11.887Z] + sadf -c /var/log/sa-host/sa08 [2021-02-08T11:11:11.887Z] file_magic: OK [2021-02-08T11:11:11.887Z] HZ: Using current value: 100 [2021-02-08T11:11:11.887Z] file_header: OK [2021-02-08T11:11:11.887Z] 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-08T11:11:11.887Z] Statistics: [2021-02-08T11:11:11.887Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-08T11:11:11.887Z] File successfully converted to sysstat format version 12.2.1 [2021-02-08T11:11:11.887Z] + sadf -c /var/log/sa-host/sa23 [2021-02-08T11:11:11.887Z] file_magic: OK [2021-02-08T11:11:11.887Z] HZ: Using current value: 100 [2021-02-08T11:11:11.887Z] file_header: OK [2021-02-08T11:11:11.887Z] 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-08T11:11:11.887Z] Statistics: [2021-02-08T11:11:11.887Z] Hnuu...uuuununununu... [2021-02-08T11:11:11.887Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-08T11:11:12.170Z] provisioning config files... [2021-02-08T11:11:12.188Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-768@tmp/config5023883663140946937tmp [Pipeline] { [Pipeline] echo [2021-02-08T11:11:12.261Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-08T11:11:12.558Z] ---> create-netrc.sh [Pipeline] } [2021-02-08T11:11:12.568Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-08T11:11:12.666Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-08T11:11:12.963Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-08T11:11:12.974Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-08T11:11:13.276Z] ---> sudo-logs.sh [2021-02-08T11:11:13.276Z] Archiving 'sudo' log.. [Pipeline] echo [2021-02-08T11:11:13.287Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-08T11:11:13.588Z] ---> job-cost.sh [2021-02-08T11:11:13.589Z] lf-activate-venv: SKIPPING [2021-02-08T11:11:13.589Z] INFO: No Stack... [2021-02-08T11:11:14.163Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-08T11:11:14.739Z] INFO: Archiving Costs [Pipeline] echo [2021-02-08T11:11:14.753Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-08T11:11:15.050Z] ---> logs-deploy.sh [2021-02-08T11:11:15.050Z] lf-activate-venv: SKIPPING [2021-02-08T11:11:15.050Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-768/3 [2021-02-08T11:11:15.050Z] INFO: archiving workspace using pattern(s): [2021-02-08T11:11:16.973Z] Archives upload complete. [2021-02-08T11:11:16.973Z] INFO: archiving logs to Nexus