Pull request #769 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 822078e034e3268083be22138807069be56bc82f+3aea893206dfece0cb943228d650ae216607898f (f5b560d701981f244d61415707a91c845c47aa1d) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-769/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-769/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-24514 in /w/workspace/dgexfoundry_device-sdk-go_PR-769 [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-769 # 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 822078e034e3268083be22138807069be56bc82f Merge succeeded, producing 822078e034e3268083be22138807069be56bc82f Checking out Revision 822078e034e3268083be22138807069be56bc82f (PR-769) > 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/769/head:refs/remotes/origin/PR-769 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 822078e034e3268083be22138807069be56bc82f # 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 822078e034e3268083be22138807069be56bc82f # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-02T06:00:18.506Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-02T06:00:18.862Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-02T06:00:19.045Z] ========================================================= [2021-02-02T06:00:19.045Z] EdgeX Global Pipelines Version Info [2021-02-02T06:00:19.045Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-02T06:00:20.581Z] ------------------- [2021-02-02T06:00:20.581Z] stable info: [2021-02-02T06:00:20.581Z] ------------------- [2021-02-02T06:00:20.581Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-02T06:00:20.581Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-02T06:00:20.581Z] Message: update stable to v1.0.179 [2021-02-02T06:00:21.536Z] ------------------- [2021-02-02T06:00:21.536Z] experimental info: [2021-02-02T06:00:21.536Z] ------------------- [2021-02-02T06:00:21.536Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-02T06:00:21.536Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-02T06:00:21.536Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-02T06:00:22.056Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-02-02T06:00:22.189Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-02-02T06:00:22.333Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-02T06:00:22.480Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-02T06:00:22.683Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-02T06:00:22.850Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-02T06:00:22.987Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-02T06:00:23.113Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-02T06:00:23.237Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-02-02T06:00:23.377Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-02T06:00:23.493Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-02T06:00:23.611Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-02-02T06:00:23.744Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-02T06:00:23.876Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-02T06:00:24.004Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-02-02T06:00:24.179Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-02T06:00:24.320Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-02T06:00:24.572Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-02T06:00:24.712Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-02T06:00:24.845Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-02T06:00:24.976Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-02-02T06:00:25.106Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-02-02T06:00:25.247Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-02T06:00:25.407Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-02T06:00:25.559Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-02-02T06:00:25.694Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-02-02T06:00:25.822Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-02-02T06:00:25.951Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-769 [Pipeline] echo [2021-02-02T06:00:26.110Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-769 [Pipeline] echo [2021-02-02T06:00:26.251Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-769 [Pipeline] echo [2021-02-02T06:00:26.392Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 822078e034e3268083be22138807069be56bc82f [Pipeline] echo [2021-02-02T06:00:26.531Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 822078e [Pipeline] echo [2021-02-02T06:00:26.672Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-02T06:00:26.985Z] provisioning config files... [2021-02-02T06:00:27.023Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-769@tmp/config3040950176216992797tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-02T06:00:27.516Z] ---> docker-login.sh [2021-02-02T06:00:27.516Z] nexus3.edgexfoundry.org:10001 [2021-02-02T06:00:27.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T06:00:27.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T06:00:27.783Z] Configure a credential helper to remove this warning. See [2021-02-02T06:00:27.783Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T06:00:27.783Z] [2021-02-02T06:00:27.783Z] Login Succeeded [2021-02-02T06:00:27.783Z] nexus3.edgexfoundry.org:10002 [2021-02-02T06:00:28.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T06:00:28.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T06:00:28.057Z] Configure a credential helper to remove this warning. See [2021-02-02T06:00:28.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T06:00:28.057Z] [2021-02-02T06:00:28.057Z] Login Succeeded [2021-02-02T06:00:28.057Z] nexus3.edgexfoundry.org:10003 [2021-02-02T06:00:28.324Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T06:00:28.324Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T06:00:28.324Z] Configure a credential helper to remove this warning. See [2021-02-02T06:00:28.324Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T06:00:28.324Z] [2021-02-02T06:00:28.324Z] Login Succeeded [2021-02-02T06:00:28.324Z] nexus3.edgexfoundry.org:10004 [2021-02-02T06:00:28.324Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T06:00:28.589Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T06:00:28.589Z] Configure a credential helper to remove this warning. See [2021-02-02T06:00:28.589Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T06:00:28.589Z] [2021-02-02T06:00:28.589Z] Login Succeeded [2021-02-02T06:00:28.589Z] docker.io [2021-02-02T06:00:28.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T06:00:28.855Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T06:00:28.855Z] Configure a credential helper to remove this warning. See [2021-02-02T06:00:28.855Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T06:00:28.855Z] [2021-02-02T06:00:28.855Z] Login Succeeded [2021-02-02T06:00:28.855Z] ---> docker-login.sh ends [Pipeline] } [2021-02-02T06:00:28.896Z] 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-02T06:00:30.132Z] + git log --format=format:%s -1 822078e034e3268083be22138807069be56bc82f [Pipeline] echo [2021-02-02T06:00:30.222Z] GIT_COMMIT: 822078e034e3268083be22138807069be56bc82f, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-02-02T06:00:30.292Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-02T06:00:30.949Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-02T06:00:30.949Z] [2021-02-02T06:00:30.949Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-02T06:00:31.369Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-02T06:00:31.369Z] latest: Pulling from edgex-devops/git-semver [2021-02-02T06:00:31.369Z] 31603596830f: Pulling fs layer [2021-02-02T06:00:31.369Z] 2a8b12db71e7: Pulling fs layer [2021-02-02T06:00:31.369Z] 6ca5941a6612: Pulling fs layer [2021-02-02T06:00:31.369Z] ecc8261a40a4: Pulling fs layer [2021-02-02T06:00:31.369Z] ecc8261a40a4: Waiting [2021-02-02T06:00:31.369Z] 2a8b12db71e7: Verifying Checksum [2021-02-02T06:00:31.369Z] 2a8b12db71e7: Download complete [2021-02-02T06:00:31.369Z] 31603596830f: Download complete [2021-02-02T06:00:31.636Z] ecc8261a40a4: Verifying Checksum [2021-02-02T06:00:31.636Z] ecc8261a40a4: Download complete [2021-02-02T06:00:31.636Z] 6ca5941a6612: Verifying Checksum [2021-02-02T06:00:31.904Z] 31603596830f: Pull complete [2021-02-02T06:00:31.904Z] 2a8b12db71e7: Pull complete [2021-02-02T06:00:32.863Z] 6ca5941a6612: Pull complete [2021-02-02T06:00:32.863Z] ecc8261a40a4: Pull complete [2021-02-02T06:00:32.863Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-02T06:00:32.863Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-02T06:00:32.863Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-02T06:00:33.008Z] prd-centos7-docker-4c-2g-24514 does not seem to be running inside a container [2021-02-02T06:00:33.066Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-769 -v /w/workspace/dgexfoundry_device-sdk-go_PR-769:/w/workspace/dgexfoundry_device-sdk-go_PR-769:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-769@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-769@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-02T06:00:35.454Z] $ docker top 20e874e28490aa8b67019c307a8db6e596f4571dbfccb25363a2ab2fde9644d2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-02T06:00:35.887Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-02T06:00:35.887Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-02T06:00:36.109Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-02T06:00:36.110Z] $ docker exec 20e874e28490aa8b67019c307a8db6e596f4571dbfccb25363a2ab2fde9644d2 ssh-agent [2021-02-02T06:00:36.281Z] SSH_AUTH_SOCK=/tmp/ssh-X60k5CsOrQST/agent.11 [2021-02-02T06:00:36.281Z] SSH_AGENT_PID=16 [2021-02-02T06:00:36.293Z] Running ssh-add (command line suppressed) [2021-02-02T06:00:36.406Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-769@tmp/private_key_1565682165118236267.key (/w/workspace/dgexfoundry_device-sdk-go_PR-769@tmp/private_key_1565682165118236267.key) [2021-02-02T06:00:36.463Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-02T06:00:36.894Z] + git tag --points-at HEAD [Pipeline] } [2021-02-02T06:00:36.922Z] $ docker exec --env ******** --env ******** 20e874e28490aa8b67019c307a8db6e596f4571dbfccb25363a2ab2fde9644d2 ssh-agent -k [2021-02-02T06:00:37.051Z] unset SSH_AUTH_SOCK; [2021-02-02T06:00:37.051Z] unset SSH_AGENT_PID; [2021-02-02T06:00:37.051Z] echo Agent pid 16 killed; [2021-02-02T06:00:37.105Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-02T06:00:37.297Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-02T06:00:37.297Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-02T06:00:37.460Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-02T06:00:37.461Z] $ docker exec 20e874e28490aa8b67019c307a8db6e596f4571dbfccb25363a2ab2fde9644d2 ssh-agent [2021-02-02T06:00:37.628Z] SSH_AUTH_SOCK=/tmp/ssh-uWgHsJcQILwW/agent.44 [2021-02-02T06:00:37.628Z] SSH_AGENT_PID=49 [2021-02-02T06:00:37.635Z] Running ssh-add (command line suppressed) [2021-02-02T06:00:37.751Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-769@tmp/private_key_2549994796071085.key (/w/workspace/dgexfoundry_device-sdk-go_PR-769@tmp/private_key_2549994796071085.key) [2021-02-02T06:00:37.807Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-02T06:00:38.187Z] + git semver init [2021-02-02T06:00:38.187Z] # -> Open(): unable to determine branch for HEAD [2021-02-02T06:00:38.187Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-769/.git [2021-02-02T06:00:38.187Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-769 [2021-02-02T06:00:38.187Z] # $SEMVER_REMOTE_NAME = origin [2021-02-02T06:00:38.187Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-02T06:00:38.187Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-02T06:00:38.187Z] # $SEMVER_BRANCH = PR-769 [2021-02-02T06:00:38.187Z] # $SEMVER_TEMP = /tmp/semver-669226535 [2021-02-02T06:00:38.187Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-02-02T06:00:38.763Z] # '/tmp/semver-669226535' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-769/.semver' [2021-02-02T06:00:38.763Z] # -> Force: false [2021-02-02T06:00:38.763Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-769/.semver [Pipeline] } [2021-02-02T06:00:38.791Z] $ docker exec --env ******** --env ******** 20e874e28490aa8b67019c307a8db6e596f4571dbfccb25363a2ab2fde9644d2 ssh-agent -k [2021-02-02T06:00:38.913Z] unset SSH_AUTH_SOCK; [2021-02-02T06:00:38.913Z] unset SSH_AGENT_PID; [2021-02-02T06:00:38.913Z] echo Agent pid 49 killed; [2021-02-02T06:00:38.968Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-02T06:00:39.650Z] + git semver [Pipeline] } [2021-02-02T06:00:39.689Z] $ docker stop --time=1 20e874e28490aa8b67019c307a8db6e596f4571dbfccb25363a2ab2fde9644d2 [2021-02-02T06:00:41.068Z] $ docker rm -f 20e874e28490aa8b67019c307a8db6e596f4571dbfccb25363a2ab2fde9644d2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-02T06:00:41.611Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-02T06:00:42.094Z] Stashed 1 file(s) [Pipeline] echo [2021-02-02T06:00:42.114Z] [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-02T06:00:58.108Z] Still waiting to schedule task [2021-02-02T06:00:58.108Z] ‘prd-centos7-blackbox-4c-2g-24093’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-24516’ is offline [2021-02-02T06:00:58.134Z] Still waiting to schedule task [2021-02-02T06:00:58.134Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-02-02T06:01:52.536Z] Running on prd-centos7-docker-4c-2g-24517 in /w/workspace/dgexfoundry_device-sdk-go_PR-769 [Pipeline] { [Pipeline] ws [2021-02-02T06:01:52.649Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-02-02T06:02:00.205Z] using credential edgex-jenkins-ssh [2021-02-02T06:02:00.258Z] Cloning the remote Git repository [2021-02-02T06:02:00.321Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-02T06:02:00.403Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-02-02T06:02:00.503Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-02T06:02:00.504Z] > git --version # timeout=10 [2021-02-02T06:02:00.515Z] > git --version # 'git version 2.24.3' [2021-02-02T06:02:00.516Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-02T06:02:00.567Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-02T06:02:01.473Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-02T06:02:01.495Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-02T06:02:01.519Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-02T06:02:01.539Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-02T06:02:01.540Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-02T06:02:01.549Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/769/head:refs/remotes/origin/PR-769 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-02T06:02:03.285Z] Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit 822078e034e3268083be22138807069be56bc82f [2021-02-02T06:02:03.608Z] Merge succeeded, producing 822078e034e3268083be22138807069be56bc82f [2021-02-02T06:02:03.608Z] Checking out Revision 822078e034e3268083be22138807069be56bc82f (PR-769) [2021-02-02T06:02:03.308Z] > git config core.sparsecheckout # timeout=10 [2021-02-02T06:02:03.325Z] > git checkout -f 822078e034e3268083be22138807069be56bc82f # timeout=10 [2021-02-02T06:02:03.486Z] > git remote # timeout=10 [2021-02-02T06:02:03.508Z] > git config --get remote.origin.url # timeout=10 [2021-02-02T06:02:03.525Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-02T06:02:03.546Z] > git merge 3aea893206dfece0cb943228d650ae216607898f # timeout=10 [2021-02-02T06:02:03.574Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-02T06:02:03.618Z] > git config core.sparsecheckout # timeout=10 [2021-02-02T06:02:03.656Z] > git checkout -f 822078e034e3268083be22138807069be56bc82f # timeout=10 [2021-02-02T06:02:08.003Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-02-02T06:02:08.049Z] > git --version # timeout=10 [2021-02-02T06:02:08.119Z] > git --version # 'git version 2.24.3' [2021-02-02T06:02:08.152Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-02T06:02:10.107Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-02T06:02:10.513Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-02T06:02:10.878Z] + sudo service docker restart [2021-02-02T06:02:10.878Z] + true [2021-02-02T06:02:10.878Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-02T06:02:13.086Z] provisioning config files... [2021-02-02T06:02:13.125Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5772309913056942548tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-02T06:02:13.594Z] ---> docker-login.sh [2021-02-02T06:02:13.594Z] nexus3.edgexfoundry.org:10001 [2021-02-02T06:02:14.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T06:02:14.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T06:02:14.192Z] Configure a credential helper to remove this warning. See [2021-02-02T06:02:14.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T06:02:14.192Z] [2021-02-02T06:02:14.192Z] Login Succeeded [2021-02-02T06:02:14.192Z] nexus3.edgexfoundry.org:10002 [2021-02-02T06:02:14.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T06:02:14.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T06:02:14.467Z] Configure a credential helper to remove this warning. See [2021-02-02T06:02:14.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T06:02:14.467Z] [2021-02-02T06:02:14.467Z] Login Succeeded [2021-02-02T06:02:14.467Z] nexus3.edgexfoundry.org:10003 [2021-02-02T06:02:14.733Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T06:02:14.734Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T06:02:14.734Z] Configure a credential helper to remove this warning. See [2021-02-02T06:02:14.734Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T06:02:14.734Z] [2021-02-02T06:02:14.734Z] Login Succeeded [2021-02-02T06:02:14.734Z] nexus3.edgexfoundry.org:10004 [2021-02-02T06:02:15.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T06:02:15.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T06:02:15.345Z] Configure a credential helper to remove this warning. See [2021-02-02T06:02:15.345Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T06:02:15.345Z] [2021-02-02T06:02:15.345Z] Login Succeeded [2021-02-02T06:02:15.345Z] docker.io [2021-02-02T06:02:15.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T06:02:15.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T06:02:15.621Z] Configure a credential helper to remove this warning. See [2021-02-02T06:02:15.621Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T06:02:15.621Z] [2021-02-02T06:02:15.621Z] Login Succeeded [2021-02-02T06:02:15.638Z] ---> docker-login.sh ends [Pipeline] } [2021-02-02T06:02:15.654Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-02T06:02:16.330Z] ========================================================= [2021-02-02T06:02:16.330Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-02T06:02:16.330Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-02T06:02:16.776Z] + 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-02T06:02:17.121Z] Sending build context to Docker daemon 2.506MB [2021-02-02T06:02:17.121Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-02T06:02:17.122Z] Step 2/8 : FROM ${BASE} [2021-02-02T06:02:17.122Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-02T06:02:17.122Z] 188c0c94c7c5: Pulling fs layer [2021-02-02T06:02:17.122Z] 0ef7d3d256c8: Pulling fs layer [2021-02-02T06:02:17.122Z] de9db76c5a1d: Pulling fs layer [2021-02-02T06:02:17.122Z] bca2f99d35d6: Pulling fs layer [2021-02-02T06:02:17.122Z] 93359f2a8cfa: Pulling fs layer [2021-02-02T06:02:17.122Z] 7c6f9722023f: Pulling fs layer [2021-02-02T06:02:17.122Z] a35cf1a2eb13: Pulling fs layer [2021-02-02T06:02:17.122Z] bca2f99d35d6: Waiting [2021-02-02T06:02:17.122Z] 7c6f9722023f: Waiting [2021-02-02T06:02:17.122Z] a35cf1a2eb13: Waiting [2021-02-02T06:02:17.122Z] 93359f2a8cfa: Waiting [2021-02-02T06:02:17.122Z] de9db76c5a1d: Verifying Checksum [2021-02-02T06:02:17.122Z] de9db76c5a1d: Download complete [2021-02-02T06:02:17.122Z] 0ef7d3d256c8: Verifying Checksum [2021-02-02T06:02:17.122Z] 0ef7d3d256c8: Download complete [2021-02-02T06:02:17.401Z] 93359f2a8cfa: Verifying Checksum [2021-02-02T06:02:17.401Z] 93359f2a8cfa: Download complete [2021-02-02T06:02:17.672Z] 7c6f9722023f: Verifying Checksum [2021-02-02T06:02:17.672Z] 7c6f9722023f: Download complete [2021-02-02T06:02:17.672Z] 188c0c94c7c5: Verifying Checksum [2021-02-02T06:02:17.672Z] 188c0c94c7c5: Download complete [2021-02-02T06:02:17.942Z] 188c0c94c7c5: Pull complete [2021-02-02T06:02:18.221Z] 0ef7d3d256c8: Pull complete [2021-02-02T06:02:18.506Z] de9db76c5a1d: Pull complete [2021-02-02T06:02:21.186Z] a35cf1a2eb13: Verifying Checksum [2021-02-02T06:02:21.460Z] bca2f99d35d6: Verifying Checksum [2021-02-02T06:02:21.460Z] bca2f99d35d6: Download complete [2021-02-02T06:02:31.679Z] bca2f99d35d6: Pull complete [2021-02-02T06:02:31.679Z] 93359f2a8cfa: Pull complete [2021-02-02T06:02:31.951Z] 7c6f9722023f: Pull complete [2021-02-02T06:02:37.454Z] a35cf1a2eb13: Pull complete [2021-02-02T06:02:37.454Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-02T06:02:37.454Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-02T06:02:37.454Z] ---> a62c8e92a672 [2021-02-02T06:02:37.454Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-02T06:02:37.733Z] ---> Running in 9764f9c9e98f [2021-02-02T06:02:38.336Z] Removing intermediate container 9764f9c9e98f [2021-02-02T06:02:38.336Z] ---> 47e10c4098dc [2021-02-02T06:02:38.336Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-02T06:02:38.336Z] ---> Running in 715f634e1108 [2021-02-02T06:02:40.321Z] Removing intermediate container 715f634e1108 [2021-02-02T06:02:40.321Z] ---> 88374cfcc0eb [2021-02-02T06:02:40.321Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-02T06:02:40.602Z] ---> Running in 532ee4415f9f [2021-02-02T06:02:41.585Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-02T06:02:42.577Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-02T06:02:43.194Z] OK: 166 MiB in 39 packages [2021-02-02T06:02:43.801Z] Removing intermediate container 532ee4415f9f [2021-02-02T06:02:43.801Z] ---> 00ebd245c26b [2021-02-02T06:02:43.801Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-02T06:02:44.084Z] ---> Running in 748a6b042ff3 [2021-02-02T06:02:44.365Z] Removing intermediate container 748a6b042ff3 [2021-02-02T06:02:44.365Z] ---> b1b2195f98e4 [2021-02-02T06:02:44.365Z] Step 7/8 : COPY . . [2021-02-02T06:02:46.431Z] ---> 3c1202967621 [2021-02-02T06:02:46.431Z] Step 8/8 : RUN go mod download [2021-02-02T06:02:46.431Z] ---> Running in ebc3647834f3 [2021-02-02T06:03:13.409Z] Removing intermediate container ebc3647834f3 [2021-02-02T06:03:13.409Z] ---> c989e19d2bf7 [2021-02-02T06:03:13.409Z] Successfully built c989e19d2bf7 [2021-02-02T06:03:13.409Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-02T06:03:13.827Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-02T06:03:14.105Z] . [Pipeline] withDockerContainer [2021-02-02T06:03:14.438Z] prd-centos7-docker-4c-2g-24517 does not seem to be running inside a container [2021-02-02T06:03:14.594Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-02T06:03:16.367Z] $ docker top ca19d6a5b06197a32d7c6c054c7945190192c1b3b494bcec684769b6f8fba786 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-02T06:03:17.034Z] + go version [2021-02-02T06:03:17.034Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-02T06:03:17.090Z] $ docker stop --time=1 ca19d6a5b06197a32d7c6c054c7945190192c1b3b494bcec684769b6f8fba786 [2021-02-02T06:03:18.683Z] $ docker rm -f ca19d6a5b06197a32d7c6c054c7945190192c1b3b494bcec684769b6f8fba786 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-02T06:03:19.824Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-02T06:03:19.825Z] . [Pipeline] withDockerContainer [2021-02-02T06:03:20.110Z] prd-centos7-docker-4c-2g-24517 does not seem to be running inside a container [2021-02-02T06:03:20.276Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-02T06:03:21.252Z] $ docker top 9e8da9401eac95556058cffdbd36d9048680447574b540a08e0dae23a31355ce -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-02T06:03:22.247Z] + make test [2021-02-02T06:03:22.247Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-02T06:03:35.005Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-02T06:03:39.308Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-24519 in /w/workspace/dgexfoundry_device-sdk-go_PR-769 [Pipeline] { [Pipeline] ws [2021-02-02T06:03:39.567Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-02-02T06:03:44.809Z] using credential edgex-jenkins-ssh [2021-02-02T06:03:44.923Z] Cloning the remote Git repository [2021-02-02T06:03:44.981Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-02T06:03:45.081Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-02-02T06:03:45.168Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-02T06:03:45.169Z] > git --version # timeout=10 [2021-02-02T06:03:45.186Z] > git --version # 'git version 2.17.1' [2021-02-02T06:03:45.187Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-02T06:03:45.252Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-02T06:03:46.938Z] Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit 822078e034e3268083be22138807069be56bc82f [2021-02-02T06:03:47.213Z] Merge succeeded, producing 822078e034e3268083be22138807069be56bc82f [2021-02-02T06:03:47.213Z] Checking out Revision 822078e034e3268083be22138807069be56bc82f (PR-769) [2021-02-02T06:03:46.381Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-02T06:03:46.398Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-02T06:03:46.428Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-02T06:03:46.468Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-02T06:03:46.468Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-02T06:03:46.481Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/769/head:refs/remotes/origin/PR-769 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-02T06:03:46.959Z] > git config core.sparsecheckout # timeout=10 [2021-02-02T06:03:46.974Z] > git checkout -f 822078e034e3268083be22138807069be56bc82f # timeout=10 [2021-02-02T06:03:47.106Z] > git remote # timeout=10 [2021-02-02T06:03:47.129Z] > git config --get remote.origin.url # timeout=10 [2021-02-02T06:03:47.154Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-02T06:03:47.165Z] > git merge 3aea893206dfece0cb943228d650ae216607898f # timeout=10 [2021-02-02T06:03:47.192Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-02T06:03:47.222Z] > git config core.sparsecheckout # timeout=10 [2021-02-02T06:03:47.243Z] > git checkout -f 822078e034e3268083be22138807069be56bc82f # timeout=10 [2021-02-02T06:03:51.879Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-02-02T06:03:51.934Z] > git --version # timeout=10 [2021-02-02T06:03:51.944Z] > git --version # 'git version 2.17.1' [2021-02-02T06:03:51.954Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-02T06:03:53.597Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-02T06:03:54.015Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-02T06:03:54.378Z] + sudo service docker restart [2021-02-02T06:03:54.378Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-02T06:03:56.496Z] provisioning config files... [2021-02-02T06:03:56.534Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5022088897927255116tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-02T06:03:56.983Z] ---> docker-login.sh [2021-02-02T06:03:56.983Z] nexus3.edgexfoundry.org:10001 [2021-02-02T06:03:57.611Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T06:03:58.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T06:03:58.211Z] Configure a credential helper to remove this warning. See [2021-02-02T06:03:58.211Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T06:03:58.211Z] [2021-02-02T06:03:58.211Z] Login Succeeded [2021-02-02T06:03:58.211Z] nexus3.edgexfoundry.org:10002 [2021-02-02T06:03:58.485Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T06:03:58.766Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T06:03:58.766Z] Configure a credential helper to remove this warning. See [2021-02-02T06:03:58.766Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T06:03:58.766Z] [2021-02-02T06:03:58.766Z] Login Succeeded [2021-02-02T06:03:58.766Z] nexus3.edgexfoundry.org:10003 [2021-02-02T06:03:59.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T06:03:59.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T06:03:59.317Z] Configure a credential helper to remove this warning. See [2021-02-02T06:03:59.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T06:03:59.317Z] [2021-02-02T06:03:59.317Z] Login Succeeded [2021-02-02T06:03:59.317Z] nexus3.edgexfoundry.org:10004 [2021-02-02T06:03:59.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T06:03:59.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T06:03:59.870Z] Configure a credential helper to remove this warning. See [2021-02-02T06:03:59.870Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T06:03:59.870Z] [2021-02-02T06:03:59.870Z] Login Succeeded [2021-02-02T06:03:59.870Z] docker.io [2021-02-02T06:04:00.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T06:04:00.421Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T06:04:00.421Z] Configure a credential helper to remove this warning. See [2021-02-02T06:04:00.421Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T06:04:00.421Z] [2021-02-02T06:04:00.421Z] Login Succeeded [2021-02-02T06:04:00.692Z] ---> docker-login.sh ends [Pipeline] } [2021-02-02T06:04:00.735Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-02T06:04:01.386Z] ========================================================= [2021-02-02T06:04:01.386Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-02T06:04:01.386Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-02T06:04:01.829Z] + 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-02T06:04:02.444Z] Sending build context to Docker daemon 2.505MB [2021-02-02T06:04:02.444Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-02T06:04:02.444Z] Step 2/8 : FROM ${BASE} [2021-02-02T06:04:02.444Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-02T06:04:02.444Z] 5f621e34cdf4: Pulling fs layer [2021-02-02T06:04:02.444Z] a4357932f1b6: Pulling fs layer [2021-02-02T06:04:02.444Z] 18c013af1878: Pulling fs layer [2021-02-02T06:04:02.444Z] 00ac8860ef70: Pulling fs layer [2021-02-02T06:04:02.444Z] 63d7cb157983: Pulling fs layer [2021-02-02T06:04:02.444Z] b116817d02f9: Pulling fs layer [2021-02-02T06:04:02.444Z] 745a02a5169b: Pulling fs layer [2021-02-02T06:04:02.444Z] 00ac8860ef70: Waiting [2021-02-02T06:04:02.444Z] 63d7cb157983: Waiting [2021-02-02T06:04:02.444Z] b116817d02f9: Waiting [2021-02-02T06:04:02.444Z] 745a02a5169b: Waiting [2021-02-02T06:04:02.444Z] 18c013af1878: Verifying Checksum [2021-02-02T06:04:02.444Z] 18c013af1878: Download complete [2021-02-02T06:04:02.444Z] a4357932f1b6: Verifying Checksum [2021-02-02T06:04:02.444Z] a4357932f1b6: Download complete [2021-02-02T06:04:02.444Z] 63d7cb157983: Verifying Checksum [2021-02-02T06:04:02.444Z] 63d7cb157983: Download complete [2021-02-02T06:04:03.047Z] b116817d02f9: Verifying Checksum [2021-02-02T06:04:03.047Z] b116817d02f9: Download complete [2021-02-02T06:04:03.047Z] 5f621e34cdf4: Verifying Checksum [2021-02-02T06:04:03.047Z] 5f621e34cdf4: Download complete [2021-02-02T06:04:03.658Z] 5f621e34cdf4: Pull complete [2021-02-02T06:04:04.263Z] a4357932f1b6: Pull complete [2021-02-02T06:04:04.879Z] 18c013af1878: Pull complete [2021-02-02T06:04:05.159Z] 745a02a5169b: Verifying Checksum [2021-02-02T06:04:05.159Z] 745a02a5169b: Download complete [2021-02-02T06:04:06.162Z] 00ac8860ef70: Verifying Checksum [2021-02-02T06:04:06.162Z] 00ac8860ef70: Download complete [2021-02-02T06:04:08.126Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-02T06:04:08.126Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-02T06:04:08.126Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-02T06:04:08.126Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.150s coverage: 19.4% of statements [2021-02-02T06:04:11.743Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.743s coverage: 97.1% of statements [2021-02-02T06:04:18.585Z] 00ac8860ef70: Pull complete [2021-02-02T06:04:18.585Z] 63d7cb157983: Pull complete [2021-02-02T06:04:18.585Z] b116817d02f9: Pull complete [2021-02-02T06:04:21.211Z] 745a02a5169b: Pull complete [2021-02-02T06:04:21.211Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-02T06:04:21.211Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-02T06:04:21.211Z] ---> b7e6874047d6 [2021-02-02T06:04:21.211Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-02T06:04:23.833Z] ---> Running in d982b557ab2a [2021-02-02T06:04:23.833Z] Removing intermediate container d982b557ab2a [2021-02-02T06:04:23.833Z] ---> a10c5fb47dc0 [2021-02-02T06:04:23.833Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-02T06:04:24.105Z] ---> Running in ef7ae71ac397 [2021-02-02T06:04:26.753Z] Removing intermediate container ef7ae71ac397 [2021-02-02T06:04:26.753Z] ---> 59ae8971d187 [2021-02-02T06:04:26.753Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-02T06:04:26.753Z] ---> Running in 7f55ddb36bd5 [2021-02-02T06:04:27.736Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-02T06:04:28.328Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-02T06:04:29.305Z] OK: 142 MiB in 39 packages [2021-02-02T06:04:30.291Z] Removing intermediate container 7f55ddb36bd5 [2021-02-02T06:04:30.291Z] ---> cced7c44d1eb [2021-02-02T06:04:30.291Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-02T06:04:30.567Z] ---> Running in 35ee1f086f22 [2021-02-02T06:04:31.162Z] Removing intermediate container 35ee1f086f22 [2021-02-02T06:04:31.162Z] ---> 2157f1dbb525 [2021-02-02T06:04:31.162Z] Step 7/8 : COPY . . [2021-02-02T06:04:32.140Z] ---> 647ddc880282 [2021-02-02T06:04:32.140Z] Step 8/8 : RUN go mod download [2021-02-02T06:04:32.140Z] ---> Running in d41758d229f5 [2021-02-02T06:04:38.690Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.099s coverage: 9.4% of statements [2021-02-02T06:04:38.690Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.068s coverage: 21.7% of statements [2021-02-02T06:04:38.690Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-02T06:04:38.690Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.443s coverage: 43.6% of statements [2021-02-02T06:04:38.690Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-02T06:04:38.690Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.439s coverage: 68.9% of statements [2021-02-02T06:04:38.690Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-02-02T06:04:38.690Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-02T06:04:38.690Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-02T06:04:38.690Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-02T06:04:38.691Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.102s coverage: 53.8% of statements [2021-02-02T06:04:38.691Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-02T06:04:38.691Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-02-02T06:04:38.691Z] --- FAIL: TestSecretRequest (0.04s) [2021-02-02T06:04:38.691Z] --- FAIL: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash (0.00s) [2021-02-02T06:04:38.691Z] common_test.go:261: [2021-02-02T06:04:38.691Z] Error Trace: common_test.go:261 [2021-02-02T06:04:38.691Z] Error: Not equal: [2021-02-02T06:04:38.691Z] expected: 201 [2021-02-02T06:04:38.691Z] actual : 400 [2021-02-02T06:04:38.691Z] Test: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash [2021-02-02T06:04:38.691Z] Messages: HTTP status code not as expected [2021-02-02T06:04:38.691Z] common_test.go:263: [2021-02-02T06:04:38.691Z] Error Trace: common_test.go:263 [2021-02-02T06:04:38.691Z] Error: Not equal: [2021-02-02T06:04:38.691Z] expected: 201 [2021-02-02T06:04:38.691Z] actual : 400 [2021-02-02T06:04:38.691Z] Test: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash [2021-02-02T06:04:38.691Z] Messages: BaseResponse status code not as expected [2021-02-02T06:04:38.691Z] common_test.go:270: [2021-02-02T06:04:38.691Z] Error Trace: common_test.go:270 [2021-02-02T06:04:38.691Z] Error: Not equal: [2021-02-02T06:04:38.691Z] expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-02-02T06:04:38.691Z] actual : "" [2021-02-02T06:04:38.691Z] [2021-02-02T06:04:38.691Z] Diff: [2021-02-02T06:04:38.691Z] --- Expected [2021-02-02T06:04:38.691Z] +++ Actual [2021-02-02T06:04:38.691Z] @@ -1 +1 @@ [2021-02-02T06:04:38.691Z] -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-02T06:04:38.691Z] + [2021-02-02T06:04:38.691Z] Test: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash [2021-02-02T06:04:38.691Z] Messages: RequestID not as expected [2021-02-02T06:04:38.691Z] common_test.go:271: [2021-02-02T06:04:38.691Z] Error Trace: common_test.go:271 [2021-02-02T06:04:38.691Z] Error: Should be empty, but was JSON decode failed -> SecretRequest validation failed. -> SecretRequest.BaseRequest.Versionable.ApiVersion field is required [2021-02-02T06:04:38.691Z] Test: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash [2021-02-02T06:04:38.691Z] Messages: Message not empty, as expected [2021-02-02T06:04:38.691Z] --- FAIL: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash (0.00s) [2021-02-02T06:04:38.691Z] common_test.go:261: [2021-02-02T06:04:38.691Z] Error Trace: common_test.go:261 [2021-02-02T06:04:38.691Z] Error: Not equal: [2021-02-02T06:04:38.691Z] expected: 201 [2021-02-02T06:04:38.691Z] actual : 400 [2021-02-02T06:04:38.691Z] Test: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-02T06:04:38.691Z] Messages: HTTP status code not as expected [2021-02-02T06:04:38.691Z] common_test.go:263: [2021-02-02T06:04:38.691Z] Error Trace: common_test.go:263 [2021-02-02T06:04:38.691Z] Error: Not equal: [2021-02-02T06:04:38.691Z] expected: 201 [2021-02-02T06:04:38.691Z] actual : 400 [2021-02-02T06:04:38.691Z] Test: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-02T06:04:38.691Z] Messages: BaseResponse status code not as expected [2021-02-02T06:04:38.691Z] common_test.go:270: [2021-02-02T06:04:38.691Z] Error Trace: common_test.go:270 [2021-02-02T06:04:38.691Z] Error: Not equal: [2021-02-02T06:04:38.691Z] expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-02-02T06:04:38.691Z] actual : "" [2021-02-02T06:04:38.691Z] [2021-02-02T06:04:38.691Z] Diff: [2021-02-02T06:04:38.691Z] --- Expected [2021-02-02T06:04:38.691Z] +++ Actual [2021-02-02T06:04:38.691Z] @@ -1 +1 @@ [2021-02-02T06:04:38.691Z] -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-02T06:04:38.691Z] + [2021-02-02T06:04:38.691Z] Test: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-02T06:04:38.691Z] Messages: RequestID not as expected [2021-02-02T06:04:38.691Z] common_test.go:271: [2021-02-02T06:04:38.691Z] Error Trace: common_test.go:271 [2021-02-02T06:04:38.691Z] Error: Should be empty, but was JSON decode failed -> SecretRequest validation failed. -> SecretRequest.BaseRequest.Versionable.ApiVersion field is required [2021-02-02T06:04:38.691Z] Test: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-02T06:04:38.691Z] Messages: Message not empty, as expected [2021-02-02T06:04:38.691Z] --- FAIL: TestSecretRequest/Valid_-_both_trailing_slashes (0.00s) [2021-02-02T06:04:38.691Z] common_test.go:261: [2021-02-02T06:04:38.691Z] Error Trace: common_test.go:261 [2021-02-02T06:04:38.691Z] Error: Not equal: [2021-02-02T06:04:38.691Z] expected: 201 [2021-02-02T06:04:38.691Z] actual : 400 [2021-02-02T06:04:38.691Z] Test: TestSecretRequest/Valid_-_both_trailing_slashes [2021-02-02T06:04:38.691Z] Messages: HTTP status code not as expected [2021-02-02T06:04:38.691Z] common_test.go:263: [2021-02-02T06:04:38.691Z] Error Trace: common_test.go:263 [2021-02-02T06:04:38.691Z] Error: Not equal: [2021-02-02T06:04:38.691Z] expected: 201 [2021-02-02T06:04:38.691Z] actual : 400 [2021-02-02T06:04:38.691Z] Test: TestSecretRequest/Valid_-_both_trailing_slashes [2021-02-02T06:04:38.691Z] Messages: BaseResponse status code not as expected [2021-02-02T06:04:38.691Z] common_test.go:270: [2021-02-02T06:04:38.691Z] Error Trace: common_test.go:270 [2021-02-02T06:04:38.691Z] Error: Not equal: [2021-02-02T06:04:38.691Z] expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-02-02T06:04:38.691Z] actual : "" [2021-02-02T06:04:38.691Z] [2021-02-02T06:04:38.691Z] Diff: [2021-02-02T06:04:38.691Z] --- Expected [2021-02-02T06:04:38.691Z] +++ Actual [2021-02-02T06:04:38.691Z] @@ -1 +1 @@ [2021-02-02T06:04:38.691Z] -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-02T06:04:38.691Z] + [2021-02-02T06:04:38.691Z] Test: TestSecretRequest/Valid_-_both_trailing_slashes [2021-02-02T06:04:38.691Z] Messages: RequestID not as expected [2021-02-02T06:04:38.691Z] common_test.go:271: [2021-02-02T06:04:38.691Z] Error Trace: common_test.go:271 [2021-02-02T06:04:38.691Z] Error: Should be empty, but was JSON decode failed -> SecretRequest validation failed. -> SecretRequest.BaseRequest.Versionable.ApiVersion field is required [2021-02-02T06:04:38.691Z] Test: TestSecretRequest/Valid_-_both_trailing_slashes [2021-02-02T06:04:38.691Z] Messages: Message not empty, as expected [2021-02-02T06:04:38.691Z] --- FAIL: TestSecretRequest/Valid_-_no_requestId (0.00s) [2021-02-02T06:04:38.691Z] common_test.go:261: [2021-02-02T06:04:38.691Z] Error Trace: common_test.go:261 [2021-02-02T06:04:38.691Z] Error: Not equal: [2021-02-02T06:04:38.691Z] expected: 201 [2021-02-02T06:04:38.691Z] actual : 400 [2021-02-02T06:04:38.691Z] Test: TestSecretRequest/Valid_-_no_requestId [2021-02-02T06:04:38.691Z] Messages: HTTP status code not as expected [2021-02-02T06:04:38.691Z] common_test.go:263: [2021-02-02T06:04:38.691Z] Error Trace: common_test.go:263 [2021-02-02T06:04:38.691Z] Error: Not equal: [2021-02-02T06:04:38.691Z] expected: 201 [2021-02-02T06:04:38.691Z] actual : 400 [2021-02-02T06:04:38.691Z] Test: TestSecretRequest/Valid_-_no_requestId [2021-02-02T06:04:38.691Z] Messages: BaseResponse status code not as expected [2021-02-02T06:04:38.691Z] common_test.go:271: [2021-02-02T06:04:38.691Z] Error Trace: common_test.go:271 [2021-02-02T06:04:38.691Z] Error: Should be empty, but was JSON decode failed -> SecretRequest validation failed. -> SecretRequest.BaseRequest.Versionable.ApiVersion field is required [2021-02-02T06:04:38.691Z] Test: TestSecretRequest/Valid_-_no_requestId [2021-02-02T06:04:38.691Z] Messages: Message not empty, as expected [2021-02-02T06:04:38.691Z] --- FAIL: TestSecretRequest/Invalid_-_No_Secret_Store (0.00s) [2021-02-02T06:04:38.691Z] common_test.go:261: [2021-02-02T06:04:38.691Z] Error Trace: common_test.go:261 [2021-02-02T06:04:38.691Z] Error: Not equal: [2021-02-02T06:04:38.691Z] expected: 500 [2021-02-02T06:04:38.691Z] actual : 400 [2021-02-02T06:04:38.691Z] Test: TestSecretRequest/Invalid_-_No_Secret_Store [2021-02-02T06:04:38.691Z] Messages: HTTP status code not as expected [2021-02-02T06:04:38.691Z] common_test.go:263: [2021-02-02T06:04:38.691Z] Error Trace: common_test.go:263 [2021-02-02T06:04:38.691Z] Error: Not equal: [2021-02-02T06:04:38.691Z] expected: 500 [2021-02-02T06:04:38.691Z] actual : 400 [2021-02-02T06:04:38.691Z] Test: TestSecretRequest/Invalid_-_No_Secret_Store [2021-02-02T06:04:38.691Z] Messages: BaseResponse status code not as expected [2021-02-02T06:04:38.691Z] FAIL [2021-02-02T06:04:38.691Z] coverage: 17.3% of statements [2021-02-02T06:04:38.691Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.232s [2021-02-02T06:04:38.691Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.552s coverage: 83.5% of statements [2021-02-02T06:04:38.691Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.102s coverage: 4.2% of statements [2021-02-02T06:04:38.691Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-02T06:04:38.691Z] FAIL [2021-02-02T06:04:38.691Z] make: *** [Makefile:32: test] Error 1 [Pipeline] } [2021-02-02T06:04:38.756Z] $ docker stop --time=1 9e8da9401eac95556058cffdbd36d9048680447574b540a08e0dae23a31355ce [2021-02-02T06:04:40.666Z] $ docker rm -f 9e8da9401eac95556058cffdbd36d9048680447574b540a08e0dae23a31355ce [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-02T06:04:43.265Z] Failed in branch amd64 [2021-02-02T06:04:54.317Z] Removing intermediate container d41758d229f5 [2021-02-02T06:04:54.317Z] ---> ff5631626b21 [2021-02-02T06:04:54.317Z] Successfully built ff5631626b21 [2021-02-02T06:04:54.317Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-02T06:04:54.706Z] + docker inspect -f . ci-base-image-arm64 [2021-02-02T06:04:54.707Z] . [Pipeline] withDockerContainer [2021-02-02T06:04:54.965Z] prd-ubuntu18.04-docker-arm64-4c-16g-24519 does not seem to be running inside a container [2021-02-02T06:04:55.048Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-02T06:04:56.618Z] $ docker top 816c491334e07e5b927c1155babc2782c47b83e46970c7c371beb1064b0fcb00 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-02T06:04:57.706Z] + go version [2021-02-02T06:04:57.706Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-02T06:04:57.737Z] $ docker stop --time=1 816c491334e07e5b927c1155babc2782c47b83e46970c7c371beb1064b0fcb00 [2021-02-02T06:04:59.650Z] $ docker rm -f 816c491334e07e5b927c1155babc2782c47b83e46970c7c371beb1064b0fcb00 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-02T06:05:00.870Z] + docker inspect -f . ci-base-image-arm64 [2021-02-02T06:05:00.870Z] . [Pipeline] withDockerContainer [2021-02-02T06:05:01.116Z] prd-ubuntu18.04-docker-arm64-4c-16g-24519 does not seem to be running inside a container [2021-02-02T06:05:01.196Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-02T06:05:02.685Z] $ docker top b481db910d0f185a8845e4592871903f1b21ccd3c48b8336a1283d1fe443ab5b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-02T06:05:03.731Z] + make test [2021-02-02T06:05:03.731Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-02T06:05:25.932Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-02T06:06:05.753Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-02T06:06:05.754Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-02T06:06:05.754Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-02T06:06:05.754Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.139s coverage: 19.4% of statements [2021-02-02T06:06:14.145Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.200s coverage: 97.1% of statements [2021-02-02T06:06:36.453Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.144s coverage: 9.4% of statements [2021-02-02T06:06:36.453Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.160s coverage: 21.7% of statements [2021-02-02T06:06:36.453Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-02T06:06:36.453Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.566s coverage: 43.6% of statements [2021-02-02T06:06:36.453Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-02T06:06:36.453Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.840s coverage: 68.9% of statements [2021-02-02T06:06:36.453Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-02-02T06:06:36.453Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-02T06:06:36.453Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-02T06:06:36.453Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-02T06:06:36.453Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.213s coverage: 53.8% of statements [2021-02-02T06:06:36.453Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-02T06:06:36.453Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-02-02T06:06:36.453Z] --- FAIL: TestSecretRequest (0.04s) [2021-02-02T06:06:36.453Z] --- FAIL: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash (0.01s) [2021-02-02T06:06:36.453Z] common_test.go:261: [2021-02-02T06:06:36.453Z] Error Trace: common_test.go:261 [2021-02-02T06:06:36.453Z] Error: Not equal: [2021-02-02T06:06:36.453Z] expected: 201 [2021-02-02T06:06:36.453Z] actual : 400 [2021-02-02T06:06:36.453Z] Test: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash [2021-02-02T06:06:36.453Z] Messages: HTTP status code not as expected [2021-02-02T06:06:36.453Z] common_test.go:263: [2021-02-02T06:06:36.453Z] Error Trace: common_test.go:263 [2021-02-02T06:06:36.453Z] Error: Not equal: [2021-02-02T06:06:36.453Z] expected: 201 [2021-02-02T06:06:36.453Z] actual : 400 [2021-02-02T06:06:36.453Z] Test: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash [2021-02-02T06:06:36.453Z] Messages: BaseResponse status code not as expected [2021-02-02T06:06:36.453Z] common_test.go:270: [2021-02-02T06:06:36.453Z] Error Trace: common_test.go:270 [2021-02-02T06:06:36.453Z] Error: Not equal: [2021-02-02T06:06:36.453Z] expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-02-02T06:06:36.453Z] actual : "" [2021-02-02T06:06:36.453Z] [2021-02-02T06:06:36.453Z] Diff: [2021-02-02T06:06:36.453Z] --- Expected [2021-02-02T06:06:36.453Z] +++ Actual [2021-02-02T06:06:36.453Z] @@ -1 +1 @@ [2021-02-02T06:06:36.454Z] -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-02T06:06:36.454Z] + [2021-02-02T06:06:36.454Z] Test: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash [2021-02-02T06:06:36.454Z] Messages: RequestID not as expected [2021-02-02T06:06:36.454Z] common_test.go:271: [2021-02-02T06:06:36.454Z] Error Trace: common_test.go:271 [2021-02-02T06:06:36.454Z] Error: Should be empty, but was JSON decode failed -> SecretRequest validation failed. -> SecretRequest.BaseRequest.Versionable.ApiVersion field is required [2021-02-02T06:06:36.454Z] Test: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash [2021-02-02T06:06:36.454Z] Messages: Message not empty, as expected [2021-02-02T06:06:36.454Z] --- FAIL: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash (0.01s) [2021-02-02T06:06:36.454Z] common_test.go:261: [2021-02-02T06:06:36.454Z] Error Trace: common_test.go:261 [2021-02-02T06:06:36.454Z] Error: Not equal: [2021-02-02T06:06:36.454Z] expected: 201 [2021-02-02T06:06:36.454Z] actual : 400 [2021-02-02T06:06:36.454Z] Test: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-02T06:06:36.454Z] Messages: HTTP status code not as expected [2021-02-02T06:06:36.454Z] common_test.go:263: [2021-02-02T06:06:36.454Z] Error Trace: common_test.go:263 [2021-02-02T06:06:36.454Z] Error: Not equal: [2021-02-02T06:06:36.454Z] expected: 201 [2021-02-02T06:06:36.454Z] actual : 400 [2021-02-02T06:06:36.454Z] Test: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-02T06:06:36.454Z] Messages: BaseResponse status code not as expected [2021-02-02T06:06:36.454Z] common_test.go:270: [2021-02-02T06:06:36.454Z] Error Trace: common_test.go:270 [2021-02-02T06:06:36.454Z] Error: Not equal: [2021-02-02T06:06:36.454Z] expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-02-02T06:06:36.454Z] actual : "" [2021-02-02T06:06:36.454Z] [2021-02-02T06:06:36.454Z] Diff: [2021-02-02T06:06:36.454Z] --- Expected [2021-02-02T06:06:36.454Z] +++ Actual [2021-02-02T06:06:36.454Z] @@ -1 +1 @@ [2021-02-02T06:06:36.454Z] -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-02T06:06:36.454Z] + [2021-02-02T06:06:36.454Z] Test: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-02T06:06:36.454Z] Messages: RequestID not as expected [2021-02-02T06:06:36.454Z] common_test.go:271: [2021-02-02T06:06:36.454Z] Error Trace: common_test.go:271 [2021-02-02T06:06:36.454Z] Error: Should be empty, but was JSON decode failed -> SecretRequest validation failed. -> SecretRequest.BaseRequest.Versionable.ApiVersion field is required [2021-02-02T06:06:36.454Z] Test: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-02T06:06:36.454Z] Messages: Message not empty, as expected [2021-02-02T06:06:36.454Z] --- FAIL: TestSecretRequest/Valid_-_both_trailing_slashes (0.01s) [2021-02-02T06:06:36.454Z] common_test.go:261: [2021-02-02T06:06:36.454Z] Error Trace: common_test.go:261 [2021-02-02T06:06:36.454Z] Error: Not equal: [2021-02-02T06:06:36.454Z] expected: 201 [2021-02-02T06:06:36.454Z] actual : 400 [2021-02-02T06:06:36.454Z] Test: TestSecretRequest/Valid_-_both_trailing_slashes [2021-02-02T06:06:36.454Z] Messages: HTTP status code not as expected [2021-02-02T06:06:36.454Z] common_test.go:263: [2021-02-02T06:06:36.454Z] Error Trace: common_test.go:263 [2021-02-02T06:06:36.454Z] Error: Not equal: [2021-02-02T06:06:36.454Z] expected: 201 [2021-02-02T06:06:36.454Z] actual : 400 [2021-02-02T06:06:36.454Z] Test: TestSecretRequest/Valid_-_both_trailing_slashes [2021-02-02T06:06:36.454Z] Messages: BaseResponse status code not as expected [2021-02-02T06:06:36.454Z] common_test.go:270: [2021-02-02T06:06:36.454Z] Error Trace: common_test.go:270 [2021-02-02T06:06:36.454Z] Error: Not equal: [2021-02-02T06:06:36.454Z] expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-02-02T06:06:36.454Z] actual : "" [2021-02-02T06:06:36.454Z] [2021-02-02T06:06:36.454Z] Diff: [2021-02-02T06:06:36.454Z] --- Expected [2021-02-02T06:06:36.454Z] +++ Actual [2021-02-02T06:06:36.454Z] @@ -1 +1 @@ [2021-02-02T06:06:36.454Z] -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-02T06:06:36.454Z] + [2021-02-02T06:06:36.454Z] Test: TestSecretRequest/Valid_-_both_trailing_slashes [2021-02-02T06:06:36.454Z] Messages: RequestID not as expected [2021-02-02T06:06:36.454Z] common_test.go:271: [2021-02-02T06:06:36.454Z] Error Trace: common_test.go:271 [2021-02-02T06:06:36.454Z] Error: Should be empty, but was JSON decode failed -> SecretRequest validation failed. -> SecretRequest.BaseRequest.Versionable.ApiVersion field is required [2021-02-02T06:06:36.454Z] Test: TestSecretRequest/Valid_-_both_trailing_slashes [2021-02-02T06:06:36.454Z] Messages: Message not empty, as expected [2021-02-02T06:06:36.454Z] --- FAIL: TestSecretRequest/Valid_-_no_requestId (0.00s) [2021-02-02T06:06:36.454Z] common_test.go:261: [2021-02-02T06:06:36.454Z] Error Trace: common_test.go:261 [2021-02-02T06:06:36.454Z] Error: Not equal: [2021-02-02T06:06:36.454Z] expected: 201 [2021-02-02T06:06:36.454Z] actual : 400 [2021-02-02T06:06:36.454Z] Test: TestSecretRequest/Valid_-_no_requestId [2021-02-02T06:06:36.454Z] Messages: HTTP status code not as expected [2021-02-02T06:06:36.454Z] common_test.go:263: [2021-02-02T06:06:36.454Z] Error Trace: common_test.go:263 [2021-02-02T06:06:36.454Z] Error: Not equal: [2021-02-02T06:06:36.454Z] expected: 201 [2021-02-02T06:06:36.454Z] actual : 400 [2021-02-02T06:06:36.454Z] Test: TestSecretRequest/Valid_-_no_requestId [2021-02-02T06:06:36.454Z] Messages: BaseResponse status code not as expected [2021-02-02T06:06:36.454Z] common_test.go:271: [2021-02-02T06:06:36.454Z] Error Trace: common_test.go:271 [2021-02-02T06:06:36.454Z] Error: Should be empty, but was JSON decode failed -> SecretRequest validation failed. -> SecretRequest.BaseRequest.Versionable.ApiVersion field is required [2021-02-02T06:06:36.454Z] Test: TestSecretRequest/Valid_-_no_requestId [2021-02-02T06:06:36.454Z] Messages: Message not empty, as expected [2021-02-02T06:06:36.454Z] --- FAIL: TestSecretRequest/Invalid_-_No_Secret_Store (0.00s) [2021-02-02T06:06:36.454Z] common_test.go:261: [2021-02-02T06:06:36.454Z] Error Trace: common_test.go:261 [2021-02-02T06:06:36.454Z] Error: Not equal: [2021-02-02T06:06:36.454Z] expected: 500 [2021-02-02T06:06:36.454Z] actual : 400 [2021-02-02T06:06:36.454Z] Test: TestSecretRequest/Invalid_-_No_Secret_Store [2021-02-02T06:06:36.454Z] Messages: HTTP status code not as expected [2021-02-02T06:06:36.454Z] common_test.go:263: [2021-02-02T06:06:36.454Z] Error Trace: common_test.go:263 [2021-02-02T06:06:36.454Z] Error: Not equal: [2021-02-02T06:06:36.454Z] expected: 500 [2021-02-02T06:06:36.454Z] actual : 400 [2021-02-02T06:06:36.454Z] Test: TestSecretRequest/Invalid_-_No_Secret_Store [2021-02-02T06:06:36.454Z] Messages: BaseResponse status code not as expected [2021-02-02T06:06:36.454Z] FAIL [2021-02-02T06:06:36.454Z] coverage: 17.3% of statements [2021-02-02T06:06:36.454Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.183s [2021-02-02T06:06:36.454Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 6.037s coverage: 83.5% of statements [2021-02-02T06:06:36.454Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.131s coverage: 4.2% of statements [2021-02-02T06:06:36.454Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-02T06:06:36.454Z] FAIL [2021-02-02T06:06:36.454Z] make: *** [Makefile:32: test] Error 1 [Pipeline] } [2021-02-02T06:06:36.496Z] $ docker stop --time=1 b481db910d0f185a8845e4592871903f1b21ccd3c48b8336a1283d1fe443ab5b [2021-02-02T06:06:38.642Z] $ docker rm -f b481db910d0f185a8845e4592871903f1b21ccd3c48b8336a1283d1fe443ab5b [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-02T06:06:41.602Z] 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-02T06:06:45.794Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-02T06:06:46.409Z] ---> package-listing.sh [2021-02-02T06:06:46.409Z] ++ facter osfamily [2021-02-02T06:06:46.409Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-02T06:06:46.409Z] + OS_FAMILY=redhat [2021-02-02T06:06:46.409Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-769 [2021-02-02T06:06:46.409Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-02T06:06:46.409Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-02T06:06:46.409Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-02T06:06:46.409Z] + PACKAGES=/tmp/packages_start.txt [2021-02-02T06:06:46.409Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-769 ']' [2021-02-02T06:06:46.409Z] + PACKAGES=/tmp/packages_end.txt [2021-02-02T06:06:46.409Z] + case "${OS_FAMILY}" in [2021-02-02T06:06:46.409Z] + rpm -qa [2021-02-02T06:06:46.409Z] + sort [2021-02-02T06:06:50.631Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-02T06:06:50.631Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-02T06:06:50.631Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-02T06:06:50.631Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-769 ']' [2021-02-02T06:06:50.631Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-769/archives/ [2021-02-02T06:06:50.631Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-769/archives/ [Pipeline] echo [2021-02-02T06:06:50.681Z] 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-769/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-02-02T06:06:50.993Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-02T06:06:51.334Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-02T06:06:51.334Z] [2021-02-02T06:06:51.334Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-02T06:06:51.725Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-02T06:06:51.725Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-02T06:06:51.725Z] df20fa9351a1: Pulling fs layer [2021-02-02T06:06:51.725Z] 36b3adc4ff6f: Pulling fs layer [2021-02-02T06:06:51.725Z] 8ad3a11d3b57: Pulling fs layer [2021-02-02T06:06:51.725Z] 46f8f816bc3b: Pulling fs layer [2021-02-02T06:06:51.725Z] 93b61091891f: Pulling fs layer [2021-02-02T06:06:51.725Z] 93b9cdb0e59b: Pulling fs layer [2021-02-02T06:06:51.725Z] 5e14af77c1be: Pulling fs layer [2021-02-02T06:06:51.725Z] 01666e4c0597: Pulling fs layer [2021-02-02T06:06:51.725Z] aa168da1d23b: Pulling fs layer [2021-02-02T06:06:51.725Z] 93b9cdb0e59b: Waiting [2021-02-02T06:06:51.725Z] 5e14af77c1be: Waiting [2021-02-02T06:06:51.725Z] 01666e4c0597: Waiting [2021-02-02T06:06:51.725Z] aa168da1d23b: Waiting [2021-02-02T06:06:51.725Z] 93b61091891f: Waiting [2021-02-02T06:06:51.725Z] 36b3adc4ff6f: Download complete [2021-02-02T06:06:51.725Z] 46f8f816bc3b: Verifying Checksum [2021-02-02T06:06:51.725Z] 46f8f816bc3b: Download complete [2021-02-02T06:06:51.992Z] df20fa9351a1: Verifying Checksum [2021-02-02T06:06:51.992Z] 93b61091891f: Verifying Checksum [2021-02-02T06:06:51.992Z] 93b61091891f: Download complete [2021-02-02T06:06:51.992Z] 93b9cdb0e59b: Verifying Checksum [2021-02-02T06:06:51.992Z] 93b9cdb0e59b: Download complete [2021-02-02T06:06:51.992Z] 5e14af77c1be: Download complete [2021-02-02T06:06:51.992Z] 01666e4c0597: Verifying Checksum [2021-02-02T06:06:51.992Z] 01666e4c0597: Download complete [2021-02-02T06:06:52.259Z] 8ad3a11d3b57: Verifying Checksum [2021-02-02T06:06:52.259Z] 8ad3a11d3b57: Download complete [2021-02-02T06:06:52.259Z] df20fa9351a1: Pull complete [2021-02-02T06:06:52.532Z] 36b3adc4ff6f: Pull complete [2021-02-02T06:06:53.490Z] 8ad3a11d3b57: Pull complete [2021-02-02T06:06:53.490Z] 46f8f816bc3b: Pull complete [2021-02-02T06:06:54.081Z] aa168da1d23b: Verifying Checksum [2021-02-02T06:06:54.081Z] aa168da1d23b: Download complete [2021-02-02T06:06:54.081Z] 93b61091891f: Pull complete [2021-02-02T06:06:54.347Z] 93b9cdb0e59b: Pull complete [2021-02-02T06:06:54.347Z] 5e14af77c1be: Pull complete [2021-02-02T06:06:54.617Z] 01666e4c0597: Pull complete [2021-02-02T06:07:02.831Z] aa168da1d23b: Pull complete [2021-02-02T06:07:02.831Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-02T06:07:02.831Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-02T06:07:02.831Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-02T06:07:03.080Z] prd-centos7-docker-4c-2g-24514 does not seem to be running inside a container [2021-02-02T06:07:03.172Z] $ 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-769/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-769 -v /w/workspace/dgexfoundry_device-sdk-go_PR-769:/w/workspace/dgexfoundry_device-sdk-go_PR-769:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-769@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-769@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-02-02T06:07:05.776Z] $ docker top afdc04b460b13ce04660b825d54ee1abc90eb80ea972721da9f0b010cde036c7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-02T06:07:06.309Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-02T06:07:06.629Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-02T06:07:06.955Z] + ls /var/log/sa-host [2021-02-02T06:07:06.955Z] + sadf -c /var/log/sa-host/sa02 [2021-02-02T06:07:06.955Z] file_magic: OK [2021-02-02T06:07:06.955Z] HZ: Using current value: 100 [2021-02-02T06:07:06.955Z] file_header: OK [2021-02-02T06:07:06.955Z] 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-02T06:07:06.955Z] Statistics: [2021-02-02T06:07:06.955Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-02T06:07:06.955Z] File successfully converted to sysstat format version 12.2.1 [2021-02-02T06:07:06.955Z] + sadf -c /var/log/sa-host/sa23 [2021-02-02T06:07:06.955Z] file_magic: OK [2021-02-02T06:07:06.955Z] HZ: Using current value: 100 [2021-02-02T06:07:06.955Z] file_header: OK [2021-02-02T06:07:06.955Z] 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-02T06:07:06.955Z] Statistics: [2021-02-02T06:07:06.955Z] Hnuu...uuuununununu... [2021-02-02T06:07:06.955Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-02T06:07:07.658Z] provisioning config files... [2021-02-02T06:07:07.686Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-769@tmp/config7915034662735013321tmp [Pipeline] { [Pipeline] echo [2021-02-02T06:07:07.816Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-02T06:07:08.180Z] ---> create-netrc.sh [Pipeline] } [2021-02-02T06:07:08.229Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-02T06:07:08.366Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-02T06:07:08.712Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-02T06:07:08.739Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-02T06:07:09.074Z] ---> sudo-logs.sh [2021-02-02T06:07:09.074Z] Archiving 'sudo' log.. [Pipeline] echo [2021-02-02T06:07:09.106Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-02T06:07:09.440Z] ---> job-cost.sh [2021-02-02T06:07:09.440Z] lf-activate-venv: SKIPPING [2021-02-02T06:07:09.440Z] INFO: No Stack... [2021-02-02T06:07:10.390Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-02T06:07:10.654Z] INFO: Archiving Costs [Pipeline] echo [2021-02-02T06:07:10.693Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-02T06:07:11.028Z] ---> logs-deploy.sh [2021-02-02T06:07:11.028Z] lf-activate-venv: SKIPPING [2021-02-02T06:07:11.028Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-769/1 [2021-02-02T06:07:11.028Z] INFO: archiving workspace using pattern(s): [2021-02-02T06:07:12.950Z] Archives upload complete. [2021-02-02T06:07:12.950Z] INFO: archiving logs to Nexus