Pull request #689 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from 3eacc37e0cec51a62fb3fdbc37705ee0ca5d6202+b47a0ce386124b7b74fceae84a41ab212cf3cd4d (3bf0bc8995f4c889c423b26eed4feb2a4c1656bb) 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/app-functions-sdk-go/branches/PR-689/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/app-functions-sdk-go/branches/PR-689/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:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[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: app-functions-sdk-go-settings PROJECT: app-functions-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: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-functions-sdk-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false 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/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false 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-26115 in /w/workspace/ndry_app-functions-sdk-go_PR-689 [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/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_PR-689 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-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/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-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/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/689/head:refs/remotes/origin/PR-689 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit b47a0ce386124b7b74fceae84a41ab212cf3cd4d into PR head commit 3eacc37e0cec51a62fb3fdbc37705ee0ca5d6202 Merge succeeded, producing 3eacc37e0cec51a62fb3fdbc37705ee0ca5d6202 Checking out Revision 3eacc37e0cec51a62fb3fdbc37705ee0ca5d6202 (PR-689) > git config core.sparsecheckout # timeout=10 > git checkout -f 3eacc37e0cec51a62fb3fdbc37705ee0ca5d6202 # 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 b47a0ce386124b7b74fceae84a41ab212cf3cd4d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3eacc37e0cec51a62fb3fdbc37705ee0ca5d6202 # timeout=10 Commit message: "fix: Change default TargetType to be AddEventRequest" 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-11T20:25:49.998Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-11T20:25:50.382Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-11T20:25:50.635Z] ========================================================= [2021-02-11T20:25:50.635Z] EdgeX Global Pipelines Version Info [2021-02-11T20:25:50.635Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-11T20:25:52.161Z] ------------------- [2021-02-11T20:25:52.161Z] stable info: [2021-02-11T20:25:52.161Z] ------------------- [2021-02-11T20:25:52.161Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-11T20:25:52.161Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-11T20:25:52.161Z] Message: update stable to v1.0.179 [2021-02-11T20:25:53.110Z] ------------------- [2021-02-11T20:25:53.110Z] experimental info: [2021-02-11T20:25:53.110Z] ------------------- [2021-02-11T20:25:53.110Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-11T20:25:53.110Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-11T20:25:53.110Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-11T20:25:53.486Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-02-11T20:25:53.609Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-02-11T20:25:53.758Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-11T20:25:53.905Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-11T20:25:54.027Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-11T20:25:54.202Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-11T20:25:54.323Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-11T20:25:54.447Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-11T20:25:54.574Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-02-11T20:25:54.703Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-11T20:25:54.834Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-11T20:25:54.960Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2021-02-11T20:25:55.100Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-11T20:25:55.219Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-11T20:25:55.343Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-02-11T20:25:55.469Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-11T20:25:55.588Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-11T20:25:55.715Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-11T20:25:55.835Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-11T20:25:55.964Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-11T20:25:56.086Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-02-11T20:25:56.202Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-02-11T20:25:56.320Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-11T20:25:56.440Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-11T20:25:56.556Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-02-11T20:25:56.672Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-02-11T20:25:56.789Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-02-11T20:25:56.920Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-689 [Pipeline] echo [2021-02-11T20:25:57.047Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-689 [Pipeline] echo [2021-02-11T20:25:57.178Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-689 [Pipeline] echo [2021-02-11T20:25:57.307Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3eacc37e0cec51a62fb3fdbc37705ee0ca5d6202 [Pipeline] echo [2021-02-11T20:25:57.428Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3eacc37 [Pipeline] echo [2021-02-11T20:25:57.545Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-11T20:25:58.390Z] + git log --format=format:%s -1 3eacc37e0cec51a62fb3fdbc37705ee0ca5d6202 [Pipeline] echo [2021-02-11T20:25:58.469Z] GIT_COMMIT: 3eacc37e0cec51a62fb3fdbc37705ee0ca5d6202, Commit Message: fix: Change default TargetType to be AddEventRequest [Pipeline] echo [2021-02-11T20:25:58.539Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-11T20:25:59.532Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-11T20:25:59.796Z] [2021-02-11T20:25:59.796Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-11T20:26:00.195Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-11T20:26:00.195Z] latest: Pulling from edgex-devops/git-semver [2021-02-11T20:26:00.195Z] 31603596830f: Pulling fs layer [2021-02-11T20:26:00.195Z] 2a8b12db71e7: Pulling fs layer [2021-02-11T20:26:00.195Z] 6ca5941a6612: Pulling fs layer [2021-02-11T20:26:00.195Z] ecc8261a40a4: Pulling fs layer [2021-02-11T20:26:00.195Z] ecc8261a40a4: Waiting [2021-02-11T20:26:00.195Z] 2a8b12db71e7: Verifying Checksum [2021-02-11T20:26:00.195Z] 2a8b12db71e7: Download complete [2021-02-11T20:26:00.464Z] 31603596830f: Verifying Checksum [2021-02-11T20:26:00.464Z] 31603596830f: Download complete [2021-02-11T20:26:00.464Z] ecc8261a40a4: Verifying Checksum [2021-02-11T20:26:00.464Z] ecc8261a40a4: Download complete [2021-02-11T20:26:00.464Z] 6ca5941a6612: Verifying Checksum [2021-02-11T20:26:00.464Z] 6ca5941a6612: Download complete [2021-02-11T20:26:00.728Z] 31603596830f: Pull complete [2021-02-11T20:26:00.990Z] 2a8b12db71e7: Pull complete [2021-02-11T20:26:01.968Z] 6ca5941a6612: Pull complete [2021-02-11T20:26:02.234Z] ecc8261a40a4: Pull complete [2021-02-11T20:26:02.234Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-11T20:26:02.234Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-11T20:26:02.234Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-11T20:26:02.399Z] prd-centos7-docker-4c-2g-26115 does not seem to be running inside a container [2021-02-11T20:26:02.461Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-689 -v /w/workspace/ndry_app-functions-sdk-go_PR-689:/w/workspace/ndry_app-functions-sdk-go_PR-689:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-689@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-689@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:10004/edgex-devops/git-semver:latest cat [2021-02-11T20:26:04.510Z] $ docker top bc5017e7e147daa11fcf9fd6d2b1db67acb00d635c7ba2b792491fd00c568290 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-11T20:26:04.896Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-11T20:26:04.896Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-11T20:26:05.148Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-11T20:26:05.157Z] $ docker exec bc5017e7e147daa11fcf9fd6d2b1db67acb00d635c7ba2b792491fd00c568290 ssh-agent [2021-02-11T20:26:05.327Z] SSH_AUTH_SOCK=/tmp/ssh-3tdC0kq4KnXM/agent.11 [2021-02-11T20:26:05.327Z] SSH_AGENT_PID=16 [2021-02-11T20:26:05.339Z] Running ssh-add (command line suppressed) [2021-02-11T20:26:05.477Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-689@tmp/private_key_226786290041135659.key (/w/workspace/ndry_app-functions-sdk-go_PR-689@tmp/private_key_226786290041135659.key) [2021-02-11T20:26:05.532Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-11T20:26:05.909Z] + git tag --points-at HEAD [Pipeline] } [2021-02-11T20:26:06.045Z] $ docker exec --env ******** --env ******** bc5017e7e147daa11fcf9fd6d2b1db67acb00d635c7ba2b792491fd00c568290 ssh-agent -k [2021-02-11T20:26:06.183Z] unset SSH_AUTH_SOCK; [2021-02-11T20:26:06.183Z] unset SSH_AGENT_PID; [2021-02-11T20:26:06.183Z] echo Agent pid 16 killed; [2021-02-11T20:26:06.227Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-11T20:26:06.417Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-11T20:26:06.417Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-11T20:26:06.586Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-11T20:26:06.596Z] $ docker exec bc5017e7e147daa11fcf9fd6d2b1db67acb00d635c7ba2b792491fd00c568290 ssh-agent [2021-02-11T20:26:06.779Z] SSH_AUTH_SOCK=/tmp/ssh-KfJlANAo7MgJ/agent.45 [2021-02-11T20:26:06.779Z] SSH_AGENT_PID=50 [2021-02-11T20:26:06.786Z] Running ssh-add (command line suppressed) [2021-02-11T20:26:06.932Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-689@tmp/private_key_3358317626754825973.key (/w/workspace/ndry_app-functions-sdk-go_PR-689@tmp/private_key_3358317626754825973.key) [2021-02-11T20:26:06.984Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-11T20:26:07.365Z] + git semver init [2021-02-11T20:26:07.365Z] # -> Open(): unable to determine branch for HEAD [2021-02-11T20:26:07.365Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-689/.git [2021-02-11T20:26:07.365Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-689 [2021-02-11T20:26:07.365Z] # $SEMVER_REMOTE_NAME = origin [2021-02-11T20:26:07.365Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-11T20:26:07.365Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-11T20:26:07.365Z] # $SEMVER_BRANCH = PR-689 [2021-02-11T20:26:07.365Z] # $SEMVER_TEMP = /tmp/semver-022952156 [2021-02-11T20:26:07.365Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-02-11T20:26:09.924Z] # '/tmp/semver-022952156' -> '/w/workspace/ndry_app-functions-sdk-go_PR-689/.semver' [2021-02-11T20:26:09.924Z] # -> Force: false [2021-02-11T20:26:09.924Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-689/.semver [Pipeline] } [2021-02-11T20:26:09.950Z] $ docker exec --env ******** --env ******** bc5017e7e147daa11fcf9fd6d2b1db67acb00d635c7ba2b792491fd00c568290 ssh-agent -k [2021-02-11T20:26:10.075Z] unset SSH_AUTH_SOCK; [2021-02-11T20:26:10.075Z] unset SSH_AGENT_PID; [2021-02-11T20:26:10.076Z] echo Agent pid 50 killed; [2021-02-11T20:26:10.123Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-11T20:26:10.723Z] + git semver [Pipeline] } [2021-02-11T20:26:10.761Z] $ docker stop --time=1 bc5017e7e147daa11fcf9fd6d2b1db67acb00d635c7ba2b792491fd00c568290 [2021-02-11T20:26:12.409Z] $ docker rm -f bc5017e7e147daa11fcf9fd6d2b1db67acb00d635c7ba2b792491fd00c568290 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-11T20:26:12.953Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-11T20:26:13.442Z] Stashed 1 file(s) [Pipeline] echo [2021-02-11T20:26:13.463Z] [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-11T20:26:29.325Z] Still waiting to schedule task [2021-02-11T20:26:29.326Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-26115’ [2021-02-11T20:26:29.354Z] Still waiting to schedule task [2021-02-11T20:26:29.354Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-02-11T20:28:20.934Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-26116 in /w/workspace/ndry_app-functions-sdk-go_PR-689 [Pipeline] { [Pipeline] ws [2021-02-11T20:28:21.119Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-02-11T20:28:26.368Z] using credential edgex-jenkins-ssh [2021-02-11T20:28:26.429Z] Cloning the remote Git repository [2021-02-11T20:28:26.486Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-11T20:28:26.598Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2021-02-11T20:28:26.694Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-11T20:28:26.695Z] > git --version # timeout=10 [2021-02-11T20:28:26.723Z] > git --version # 'git version 2.17.1' [2021-02-11T20:28:26.724Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-11T20:28:26.783Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-11T20:28:29.758Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-02-11T20:28:29.781Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-11T20:28:29.808Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-02-11T20:28:29.845Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-11T20:28:29.846Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-11T20:28:29.860Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/689/head:refs/remotes/origin/PR-689 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-11T20:28:30.491Z] Merging remotes/origin/master commit b47a0ce386124b7b74fceae84a41ab212cf3cd4d into PR head commit 3eacc37e0cec51a62fb3fdbc37705ee0ca5d6202 [2021-02-11T20:28:30.750Z] Merge succeeded, producing 3eacc37e0cec51a62fb3fdbc37705ee0ca5d6202 [2021-02-11T20:28:30.751Z] Checking out Revision 3eacc37e0cec51a62fb3fdbc37705ee0ca5d6202 (PR-689) [2021-02-11T20:28:30.516Z] > git config core.sparsecheckout # timeout=10 [2021-02-11T20:28:30.537Z] > git checkout -f 3eacc37e0cec51a62fb3fdbc37705ee0ca5d6202 # timeout=10 [2021-02-11T20:28:30.654Z] > git remote # timeout=10 [2021-02-11T20:28:30.679Z] > git config --get remote.origin.url # timeout=10 [2021-02-11T20:28:30.700Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-11T20:28:30.711Z] > git merge b47a0ce386124b7b74fceae84a41ab212cf3cd4d # timeout=10 [2021-02-11T20:28:30.733Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-11T20:28:30.756Z] > git config core.sparsecheckout # timeout=10 [2021-02-11T20:28:30.767Z] > git checkout -f 3eacc37e0cec51a62fb3fdbc37705ee0ca5d6202 # timeout=10 [2021-02-11T20:28:35.321Z] Commit message: "fix: Change default TargetType to be AddEventRequest" [2021-02-11T20:28:35.379Z] > git --version # timeout=10 [2021-02-11T20:28:35.388Z] > git --version # 'git version 2.17.1' [2021-02-11T20:28:35.399Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-11T20:28:37.441Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-11T20:28:37.862Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-11T20:28:38.309Z] + sudo service docker restart [2021-02-11T20:28:38.309Z] + true [Pipeline] unstash [Pipeline] echo [2021-02-11T20:28:41.270Z] ========================================================= [2021-02-11T20:28:41.271Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-11T20:28:41.271Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-11T20:28:41.732Z] + 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-11T20:28:42.732Z] Sending build context to Docker daemon 19.15MB [2021-02-11T20:28:42.732Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-11T20:28:42.732Z] Step 2/8 : FROM ${BASE} [2021-02-11T20:28:43.017Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-11T20:28:43.017Z] 5f621e34cdf4: Pulling fs layer [2021-02-11T20:28:43.017Z] a4357932f1b6: Pulling fs layer [2021-02-11T20:28:43.017Z] 18c013af1878: Pulling fs layer [2021-02-11T20:28:43.017Z] 00ac8860ef70: Pulling fs layer [2021-02-11T20:28:43.017Z] 63d7cb157983: Pulling fs layer [2021-02-11T20:28:43.017Z] b116817d02f9: Pulling fs layer [2021-02-11T20:28:43.017Z] 745a02a5169b: Pulling fs layer [2021-02-11T20:28:43.017Z] 63d7cb157983: Waiting [2021-02-11T20:28:43.017Z] b116817d02f9: Waiting [2021-02-11T20:28:43.017Z] 745a02a5169b: Waiting [2021-02-11T20:28:43.017Z] 00ac8860ef70: Waiting [2021-02-11T20:28:43.292Z] 18c013af1878: Verifying Checksum [2021-02-11T20:28:43.292Z] 18c013af1878: Download complete [2021-02-11T20:28:43.292Z] a4357932f1b6: Verifying Checksum [2021-02-11T20:28:43.292Z] a4357932f1b6: Download complete [2021-02-11T20:28:43.292Z] 63d7cb157983: Verifying Checksum [2021-02-11T20:28:43.292Z] b116817d02f9: Verifying Checksum [2021-02-11T20:28:43.292Z] b116817d02f9: Download complete [2021-02-11T20:28:43.292Z] 5f621e34cdf4: Verifying Checksum [2021-02-11T20:28:43.292Z] 5f621e34cdf4: Download complete [2021-02-11T20:28:43.899Z] 5f621e34cdf4: Pull complete [2021-02-11T20:28:44.534Z] a4357932f1b6: Pull complete [2021-02-11T20:28:45.136Z] 18c013af1878: Pull complete [2021-02-11T20:28:45.738Z] 745a02a5169b: Verifying Checksum [2021-02-11T20:28:45.738Z] 745a02a5169b: Download complete [2021-02-11T20:28:45.751Z] Running on prd-centos7-docker-4c-2g-26117 in /w/workspace/ndry_app-functions-sdk-go_PR-689 [Pipeline] { [Pipeline] ws [2021-02-11T20:28:45.862Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-02-11T20:28:46.745Z] 00ac8860ef70: Verifying Checksum [2021-02-11T20:28:46.745Z] 00ac8860ef70: Download complete [2021-02-11T20:28:48.454Z] using credential edgex-jenkins-ssh [2021-02-11T20:28:48.600Z] Cloning the remote Git repository [2021-02-11T20:28:48.096Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-11T20:28:48.170Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2021-02-11T20:28:48.239Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-11T20:28:48.239Z] > git --version # timeout=10 [2021-02-11T20:28:48.246Z] > git --version # 'git version 2.24.3' [2021-02-11T20:28:48.247Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-11T20:28:48.275Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-11T20:28:49.860Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-02-11T20:28:49.875Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-11T20:28:49.890Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-02-11T20:28:49.903Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-11T20:28:49.903Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-11T20:28:49.908Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/689/head:refs/remotes/origin/PR-689 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-11T20:28:50.763Z] Merging remotes/origin/master commit b47a0ce386124b7b74fceae84a41ab212cf3cd4d into PR head commit 3eacc37e0cec51a62fb3fdbc37705ee0ca5d6202 [2021-02-11T20:28:50.862Z] Merge succeeded, producing 3eacc37e0cec51a62fb3fdbc37705ee0ca5d6202 [2021-02-11T20:28:50.863Z] Checking out Revision 3eacc37e0cec51a62fb3fdbc37705ee0ca5d6202 (PR-689) [2021-02-11T20:28:50.421Z] > git config core.sparsecheckout # timeout=10 [2021-02-11T20:28:50.427Z] > git checkout -f 3eacc37e0cec51a62fb3fdbc37705ee0ca5d6202 # timeout=10 [2021-02-11T20:28:50.479Z] > git remote # timeout=10 [2021-02-11T20:28:50.486Z] > git config --get remote.origin.url # timeout=10 [2021-02-11T20:28:50.494Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-11T20:28:50.498Z] > git merge b47a0ce386124b7b74fceae84a41ab212cf3cd4d # timeout=10 [2021-02-11T20:28:50.508Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-11T20:28:50.521Z] > git config core.sparsecheckout # timeout=10 [2021-02-11T20:28:50.526Z] > git checkout -f 3eacc37e0cec51a62fb3fdbc37705ee0ca5d6202 # timeout=10 [2021-02-11T20:28:54.287Z] Commit message: "fix: Change default TargetType to be AddEventRequest" [2021-02-11T20:28:54.258Z] > git --version # timeout=10 [2021-02-11T20:28:54.263Z] > git --version # 'git version 2.24.3' [2021-02-11T20:28:54.268Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-11T20:28:55.924Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-11T20:28:56.278Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-11T20:28:56.595Z] + true [2021-02-11T20:28:56.595Z] + sudo service docker restart [2021-02-11T20:28:56.595Z] Redirecting to /bin/systemctl restart docker.service [2021-02-11T20:28:56.960Z] 00ac8860ef70: Pull complete [2021-02-11T20:28:56.960Z] 63d7cb157983: Pull complete [2021-02-11T20:28:57.235Z] b116817d02f9: Pull complete [Pipeline] unstash [Pipeline] echo [2021-02-11T20:28:58.228Z] ========================================================= [2021-02-11T20:28:58.228Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-11T20:28:58.228Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-11T20:28:58.631Z] + 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-11T20:28:59.213Z] Sending build context to Docker daemon 19.15MB [2021-02-11T20:28:59.213Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-11T20:28:59.213Z] Step 2/8 : FROM ${BASE} [2021-02-11T20:28:59.213Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-11T20:28:59.213Z] 188c0c94c7c5: Pulling fs layer [2021-02-11T20:28:59.213Z] 0ef7d3d256c8: Pulling fs layer [2021-02-11T20:28:59.213Z] de9db76c5a1d: Pulling fs layer [2021-02-11T20:28:59.213Z] bca2f99d35d6: Pulling fs layer [2021-02-11T20:28:59.213Z] 93359f2a8cfa: Pulling fs layer [2021-02-11T20:28:59.213Z] 7c6f9722023f: Pulling fs layer [2021-02-11T20:28:59.213Z] a35cf1a2eb13: Pulling fs layer [2021-02-11T20:28:59.213Z] bca2f99d35d6: Waiting [2021-02-11T20:28:59.213Z] 93359f2a8cfa: Waiting [2021-02-11T20:28:59.213Z] 7c6f9722023f: Waiting [2021-02-11T20:28:59.213Z] a35cf1a2eb13: Waiting [2021-02-11T20:28:59.213Z] de9db76c5a1d: Verifying Checksum [2021-02-11T20:28:59.213Z] de9db76c5a1d: Download complete [2021-02-11T20:28:59.213Z] 0ef7d3d256c8: Verifying Checksum [2021-02-11T20:28:59.213Z] 0ef7d3d256c8: Download complete [2021-02-11T20:28:59.213Z] 93359f2a8cfa: Download complete [2021-02-11T20:28:59.213Z] 188c0c94c7c5: Verifying Checksum [2021-02-11T20:28:59.213Z] 188c0c94c7c5: Download complete [2021-02-11T20:28:59.213Z] 7c6f9722023f: Verifying Checksum [2021-02-11T20:28:59.213Z] 7c6f9722023f: Download complete [2021-02-11T20:28:59.478Z] 188c0c94c7c5: Pull complete [2021-02-11T20:28:59.745Z] 0ef7d3d256c8: Pull complete [2021-02-11T20:28:59.745Z] de9db76c5a1d: Pull complete [2021-02-11T20:29:01.556Z] 745a02a5169b: Pull complete [2021-02-11T20:29:01.556Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-11T20:29:01.556Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-11T20:29:01.556Z] ---> b7e6874047d6 [2021-02-11T20:29:01.556Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-02-11T20:29:01.556Z] 20.10.0: Pulling from library/docker [2021-02-11T20:29:01.556Z] a3cc7d3b244e: Pulling fs layer [2021-02-11T20:29:01.556Z] 02a3295e0d61: Pulling fs layer [2021-02-11T20:29:01.556Z] 0f4f2e6d8100: Pulling fs layer [2021-02-11T20:29:01.556Z] 330b718f631f: Pulling fs layer [2021-02-11T20:29:01.556Z] a93816041522: Pulling fs layer [2021-02-11T20:29:01.556Z] bdb6da89ff94: Pulling fs layer [2021-02-11T20:29:01.556Z] 2a70c0c122f4: Pulling fs layer [2021-02-11T20:29:01.556Z] a93816041522: Waiting [2021-02-11T20:29:01.556Z] bdb6da89ff94: Waiting [2021-02-11T20:29:01.556Z] 330b718f631f: Waiting [2021-02-11T20:29:01.556Z] 2a70c0c122f4: Waiting [2021-02-11T20:29:01.556Z] 0f4f2e6d8100: Verifying Checksum [2021-02-11T20:29:01.556Z] 0f4f2e6d8100: Download complete [2021-02-11T20:29:01.556Z] 02a3295e0d61: Verifying Checksum [2021-02-11T20:29:01.556Z] 02a3295e0d61: Download complete [2021-02-11T20:29:01.556Z] a93816041522: Download complete [2021-02-11T20:29:01.556Z] a3cc7d3b244e: Verifying Checksum [2021-02-11T20:29:01.556Z] a3cc7d3b244e: Download complete [2021-02-11T20:29:01.556Z] bdb6da89ff94: Verifying Checksum [2021-02-11T20:29:01.556Z] bdb6da89ff94: Download complete [2021-02-11T20:29:01.556Z] 2a70c0c122f4: Verifying Checksum [2021-02-11T20:29:01.556Z] 2a70c0c122f4: Download complete [2021-02-11T20:29:01.673Z] a35cf1a2eb13: Verifying Checksum [2021-02-11T20:29:01.674Z] a35cf1a2eb13: Download complete [2021-02-11T20:29:02.162Z] a3cc7d3b244e: Pull complete [2021-02-11T20:29:02.257Z] bca2f99d35d6: Verifying Checksum [2021-02-11T20:29:02.257Z] bca2f99d35d6: Download complete [2021-02-11T20:29:02.765Z] 02a3295e0d61: Pull complete [2021-02-11T20:29:03.364Z] 330b718f631f: Verifying Checksum [2021-02-11T20:29:03.364Z] 330b718f631f: Download complete [2021-02-11T20:29:03.364Z] 0f4f2e6d8100: Pull complete [2021-02-11T20:29:07.588Z] bca2f99d35d6: Pull complete [2021-02-11T20:29:07.588Z] 93359f2a8cfa: Pull complete [2021-02-11T20:29:07.588Z] 7c6f9722023f: Pull complete [2021-02-11T20:29:07.689Z] 330b718f631f: Pull complete [2021-02-11T20:29:07.689Z] a93816041522: Pull complete [2021-02-11T20:29:07.689Z] bdb6da89ff94: Pull complete [2021-02-11T20:29:08.287Z] 2a70c0c122f4: Pull complete [2021-02-11T20:29:08.287Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-02-11T20:29:08.287Z] Status: Downloaded newer image for docker:20.10.0 [2021-02-11T20:29:15.040Z] ---> 6c7a89d63e4e [2021-02-11T20:29:15.040Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-02-11T20:29:15.040Z] ---> Running in 48a07381ed05 [2021-02-11T20:29:15.040Z] Removing intermediate container 48a07381ed05 [2021-02-11T20:29:15.040Z] ---> 57cd7ff179b5 [2021-02-11T20:29:15.040Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-02-11T20:29:15.040Z] ---> Running in d7fb72ec5e6d [2021-02-11T20:29:15.783Z] a35cf1a2eb13: Pull complete [2021-02-11T20:29:15.783Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-11T20:29:15.783Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-11T20:29:15.783Z] ---> a62c8e92a672 [2021-02-11T20:29:15.783Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-02-11T20:29:15.783Z] 20.10.0: Pulling from library/docker [2021-02-11T20:29:15.783Z] 05e7bc50f07f: Pulling fs layer [2021-02-11T20:29:15.783Z] 6db28d0fdbf6: Pulling fs layer [2021-02-11T20:29:15.783Z] 292df0bc6bf3: Pulling fs layer [2021-02-11T20:29:15.783Z] 2e060f4bd70b: Pulling fs layer [2021-02-11T20:29:15.783Z] 80e8d568a223: Pulling fs layer [2021-02-11T20:29:15.783Z] 8dc6ef1a942a: Pulling fs layer [2021-02-11T20:29:15.783Z] 2312dd95470a: Pulling fs layer [2021-02-11T20:29:15.783Z] 80e8d568a223: Waiting [2021-02-11T20:29:15.783Z] 8dc6ef1a942a: Waiting [2021-02-11T20:29:15.783Z] 2312dd95470a: Waiting [2021-02-11T20:29:15.783Z] 2e060f4bd70b: Waiting [2021-02-11T20:29:15.783Z] 292df0bc6bf3: Verifying Checksum [2021-02-11T20:29:15.783Z] 292df0bc6bf3: Download complete [2021-02-11T20:29:15.783Z] 6db28d0fdbf6: Verifying Checksum [2021-02-11T20:29:15.783Z] 6db28d0fdbf6: Download complete [2021-02-11T20:29:15.783Z] 80e8d568a223: Verifying Checksum [2021-02-11T20:29:15.783Z] 80e8d568a223: Download complete [2021-02-11T20:29:15.784Z] 05e7bc50f07f: Verifying Checksum [2021-02-11T20:29:15.784Z] 05e7bc50f07f: Download complete [2021-02-11T20:29:15.784Z] 8dc6ef1a942a: Verifying Checksum [2021-02-11T20:29:15.784Z] 8dc6ef1a942a: Download complete [2021-02-11T20:29:15.784Z] 2312dd95470a: Verifying Checksum [2021-02-11T20:29:15.784Z] 2312dd95470a: Download complete [2021-02-11T20:29:16.366Z] 05e7bc50f07f: Pull complete [2021-02-11T20:29:16.483Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-11T20:29:16.628Z] 6db28d0fdbf6: Pull complete [2021-02-11T20:29:16.628Z] 292df0bc6bf3: Pull complete [2021-02-11T20:29:16.892Z] 2e060f4bd70b: Verifying Checksum [2021-02-11T20:29:16.892Z] 2e060f4bd70b: Download complete [2021-02-11T20:29:17.464Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-11T20:29:18.898Z] (1/5) Installing libsodium (1.0.18-r0) [2021-02-11T20:29:18.898Z] (2/5) Installing libzmq (4.3.3-r0) [2021-02-11T20:29:19.168Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-02-11T20:29:19.168Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-02-11T20:29:19.441Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-02-11T20:29:19.441Z] Executing busybox-1.31.1-r19.trigger [2021-02-11T20:29:19.441Z] OK: 144 MiB in 44 packages [2021-02-11T20:29:19.457Z] 2e060f4bd70b: Pull complete [2021-02-11T20:29:19.457Z] 80e8d568a223: Pull complete [2021-02-11T20:29:19.718Z] 8dc6ef1a942a: Pull complete [2021-02-11T20:29:19.718Z] 2312dd95470a: Pull complete [2021-02-11T20:29:19.718Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-02-11T20:29:19.718Z] Status: Downloaded newer image for docker:20.10.0 [2021-02-11T20:29:20.877Z] Removing intermediate container d7fb72ec5e6d [2021-02-11T20:29:20.877Z] ---> 6fe63c875cc0 [2021-02-11T20:29:20.877Z] Step 6/8 : WORKDIR /build [2021-02-11T20:29:20.877Z] ---> Running in 4bb0e7663281 [2021-02-11T20:29:21.476Z] Removing intermediate container 4bb0e7663281 [2021-02-11T20:29:21.476Z] ---> e986b39fe86a [2021-02-11T20:29:21.476Z] Step 7/8 : COPY go.mod . [2021-02-11T20:29:21.649Z] ---> 7f3132991bb9 [2021-02-11T20:29:21.649Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-02-11T20:29:21.649Z] ---> Running in 01c7128ceb06 [2021-02-11T20:29:21.649Z] Removing intermediate container 01c7128ceb06 [2021-02-11T20:29:21.649Z] ---> 7e97180b32df [2021-02-11T20:29:21.649Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-02-11T20:29:21.649Z] ---> Running in bb7ff90d4146 [2021-02-11T20:29:22.075Z] ---> e5ce8ec7a1f2 [2021-02-11T20:29:22.075Z] Step 8/8 : RUN go mod download [2021-02-11T20:29:22.225Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-11T20:29:22.357Z] ---> Running in 52c4b3b282f2 [2021-02-11T20:29:23.171Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-11T20:29:24.143Z] (1/5) Installing libsodium (1.0.18-r0) [2021-02-11T20:29:24.143Z] (2/5) Installing libzmq (4.3.3-r0) [2021-02-11T20:29:24.408Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-02-11T20:29:24.408Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-02-11T20:29:24.408Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-02-11T20:29:24.671Z] Executing busybox-1.31.1-r19.trigger [2021-02-11T20:29:24.672Z] OK: 167 MiB in 44 packages [2021-02-11T20:29:25.246Z] Removing intermediate container bb7ff90d4146 [2021-02-11T20:29:25.246Z] ---> bc295d93d1e2 [2021-02-11T20:29:25.246Z] Step 6/8 : WORKDIR /build [2021-02-11T20:29:25.246Z] ---> Running in 1ad5168d4bd8 [2021-02-11T20:29:25.508Z] Removing intermediate container 1ad5168d4bd8 [2021-02-11T20:29:25.508Z] ---> 8ea453b43387 [2021-02-11T20:29:25.508Z] Step 7/8 : COPY go.mod . [2021-02-11T20:29:25.777Z] ---> 5b593475cdaf [2021-02-11T20:29:25.777Z] Step 8/8 : RUN go mod download [2021-02-11T20:29:25.777Z] ---> Running in 047b50f8e588 [2021-02-11T20:29:47.812Z] Removing intermediate container 047b50f8e588 [2021-02-11T20:29:47.812Z] ---> cff417ef249a [2021-02-11T20:29:47.812Z] Successfully built cff417ef249a [2021-02-11T20:29:47.812Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-11T20:29:48.334Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-11T20:29:48.334Z] . [Pipeline] withDockerContainer [2021-02-11T20:29:48.573Z] prd-centos7-docker-4c-2g-26117 does not seem to be running inside a container [2021-02-11T20:29:48.620Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-11T20:29:49.167Z] Removing intermediate container 52c4b3b282f2 [2021-02-11T20:29:49.167Z] ---> 57db300a18fb [2021-02-11T20:29:49.167Z] Successfully built 57db300a18fb [2021-02-11T20:29:49.167Z] Successfully tagged ci-base-image-arm64:latest [2021-02-11T20:29:49.426Z] $ docker top abbaf2152dd52778177d9d97250a9046eb92689de4d5f9bea6c02295db8f137d -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-02-11T20:29:50.135Z] + go version [2021-02-11T20:29:50.135Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-11T20:29:50.379Z] $ docker stop --time=1 abbaf2152dd52778177d9d97250a9046eb92689de4d5f9bea6c02295db8f137d [2021-02-11T20:29:50.475Z] + docker inspect -f . ci-base-image-arm64 [2021-02-11T20:29:50.475Z] . [2021-02-11T20:29:51.745Z] $ docker rm -f abbaf2152dd52778177d9d97250a9046eb92689de4d5f9bea6c02295db8f137d [Pipeline] // withDockerContainer [Pipeline] withDockerContainer [2021-02-11T20:29:52.309Z] prd-ubuntu18.04-docker-arm64-4c-16g-26116 does not seem to be running inside a container [2021-02-11T20:29:52.410Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-11T20:29:54.059Z] $ docker top a5cb0da68d8120545054e5cbfc614e3de1e4d19308404356f18657d5ff660b77 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [2021-02-11T20:29:55.442Z] + go version [2021-02-11T20:29:55.443Z] go version go1.15.5 linux/arm64 [Pipeline] { [Pipeline] } [2021-02-11T20:29:55.642Z] $ docker stop --time=1 a5cb0da68d8120545054e5cbfc614e3de1e4d19308404356f18657d5ff660b77 [2021-02-11T20:29:57.566Z] $ docker rm -f a5cb0da68d8120545054e5cbfc614e3de1e4d19308404356f18657d5ff660b77 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] isUnix [Pipeline] sh [Pipeline] stage [Pipeline] { (Test) [2021-02-11T20:29:58.640Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-11T20:29:58.640Z] . [Pipeline] script [Pipeline] { [Pipeline] withDockerContainer [2021-02-11T20:29:59.085Z] prd-centos7-docker-4c-2g-26117 does not seem to be running inside a container [2021-02-11T20:29:59.130Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-11T20:29:59.850Z] $ docker top cc840e8916784169852a8275ee24e3e8f9b70e306d8d3df4464fe77a56c6c1f0 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-02-11T20:30:00.429Z] + make test [2021-02-11T20:30:00.429Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-02-11T20:30:00.757Z] + docker inspect -f . ci-base-image-arm64 [2021-02-11T20:30:00.758Z] . [Pipeline] withDockerContainer [2021-02-11T20:30:01.126Z] prd-ubuntu18.04-docker-arm64-4c-16g-26116 does not seem to be running inside a container [2021-02-11T20:30:01.217Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-11T20:30:01.860Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] [2021-02-11T20:30:02.738Z] $ docker top 9d62c1c7a0165ebb8a9976727f2d3a04cd6c486ebd6320c6ecd773d8db97c735 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-11T20:30:04.023Z] + make test [2021-02-11T20:30:04.023Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-02-11T20:30:05.466Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] [2021-02-11T20:30:10.163Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.032s coverage: 82.6% of statements [2021-02-11T20:30:18.412Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.019s coverage: 50.1% of statements [2021-02-11T20:30:18.412Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-02-11T20:30:18.412Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-02-11T20:30:18.412Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.061s coverage: 61.5% of statements [2021-02-11T20:30:18.412Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-02-11T20:30:18.412Z] --- FAIL: TestProcessMessageCBOR (0.00s) [2021-02-11T20:30:18.412Z] runtime_test.go:330: [2021-02-11T20:30:18.412Z] Error Trace: runtime_test.go:330 [2021-02-11T20:30:18.412Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc000292980), ErrorCode:400} [2021-02-11T20:30:18.412Z] Test: TestProcessMessageCBOR [2021-02-11T20:30:18.412Z] Messages: result should be null [2021-02-11T20:30:18.412Z] runtime_test.go:331: [2021-02-11T20:30:18.412Z] Error Trace: runtime_test.go:331 [2021-02-11T20:30:18.412Z] Error: Should be true [2021-02-11T20:30:18.412Z] Test: TestProcessMessageCBOR [2021-02-11T20:30:18.412Z] Messages: transform1 should have been called [2021-02-11T20:30:18.412Z] --- FAIL: TestProcessMessageTargetType (0.00s) [2021-02-11T20:30:18.412Z] runtime_test.go:402: [2021-02-11T20:30:18.412Z] Error Trace: runtime_test.go:402 [2021-02-11T20:30:18.412Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc000292f70), ErrorCode:400} [2021-02-11T20:30:18.412Z] Test: TestProcessMessageTargetType [2021-02-11T20:30:18.412Z] Messages: unexpected error for test 'Event as Json' [2021-02-11T20:30:18.412Z] runtime_test.go:406: [2021-02-11T20:30:18.412Z] Error Trace: runtime_test.go:406 [2021-02-11T20:30:18.412Z] Error: Not equal: [2021-02-11T20:30:18.412Z] expected: []byte{0x7b, 0x22, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x76, 0x32, 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x63, 0x66, 0x64, 0x39, 0x39, 0x34, 0x38, 0x39, 0x2d, 0x62, 0x61, 0x64, 0x36, 0x2d, 0x34, 0x38, 0x30, 0x33, 0x2d, 0x61, 0x32, 0x63, 0x34, 0x2d, 0x35, 0x33, 0x31, 0x31, 0x36, 0x39, 0x38, 0x33, 0x30, 0x64, 0x61, 0x65, 0x22, 0x2c, 0x22, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0x3a, 0x30, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x33, 0x30, 0x37, 0x35, 0x34, 0x31, 0x38, 0x30, 0x31, 0x34, 0x31, 0x30, 0x35, 0x37, 0x38, 0x30, 0x2c, 0x22, 0x72, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x3a, 0x5b, 0x7b, 0x22, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x76, 0x32, 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x35, 0x34, 0x63, 0x38, 0x30, 0x30, 0x37, 0x39, 0x2d, 0x31, 0x34, 0x37, 0x64, 0x2d, 0x34, 0x36, 0x33, 0x66, 0x2d, 0x38, 0x63, 0x34, 0x32, 0x2d, 0x62, 0x35, 0x62, 0x37, 0x39, 0x39, 0x62, 0x35, 0x64, 0x38, 0x39, 0x66, 0x22, 0x2c, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0x3a, 0x30, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x33, 0x30, 0x37, 0x35, 0x34, 0x31, 0x38, 0x30, 0x31, 0x34, 0x31, 0x37, 0x35, 0x34, 0x36, 0x34, 0x2c, 0x22, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x65, 0x6d, 0x70, 0x65, 0x72, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0x2c, 0x22, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x22, 0x2c, 0x22, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x6e, 0x75, 0x6c, 0x6c, 0x2c, 0x22, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x22, 0x37, 0x32, 0x22, 0x7d, 0x5d, 0x7d} [2021-02-11T20:30:18.412Z] actual : []byte(nil) [2021-02-11T20:30:18.412Z] [2021-02-11T20:30:18.412Z] Diff: [2021-02-11T20:30:18.412Z] --- Expected [2021-02-11T20:30:18.412Z] +++ Actual [2021-02-11T20:30:18.412Z] @@ -1,31 +1,2 @@ [2021-02-11T20:30:18.412Z] -([]uint8) (len=444) { [2021-02-11T20:30:18.412Z] - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| [2021-02-11T20:30:18.412Z] - 00000010 32 22 2c 22 69 64 22 3a 22 63 66 64 39 39 34 38 |2","id":"cfd9948| [2021-02-11T20:30:18.412Z] - 00000020 39 2d 62 61 64 36 2d 34 38 30 33 2d 61 32 63 34 |9-bad6-4803-a2c4| [2021-02-11T20:30:18.412Z] - 00000030 2d 35 33 31 31 36 39 38 33 30 64 61 65 22 2c 22 |-531169830dae","| [2021-02-11T20:30:18.412Z] - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| [2021-02-11T20:30:18.412Z] - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| [2021-02-11T20:30:18.412Z] - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| [2021-02-11T20:30:18.412Z] - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| [2021-02-11T20:30:18.412Z] - 00000080 72 65 61 74 65 64 22 3a 30 2c 22 6f 72 69 67 69 |reated":0,"origi| [2021-02-11T20:30:18.412Z] - 00000090 6e 22 3a 31 36 31 33 30 37 35 34 31 38 30 31 34 |n":1613075418014| [2021-02-11T20:30:18.412Z] - 000000a0 31 30 35 37 38 30 2c 22 72 65 61 64 69 6e 67 73 |105780,"readings| [2021-02-11T20:30:18.412Z] - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| [2021-02-11T20:30:18.412Z] - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 35 34 63 38 |:"v2","id":"54c8| [2021-02-11T20:30:18.412Z] - 000000d0 30 30 37 39 2d 31 34 37 64 2d 34 36 33 66 2d 38 |0079-147d-463f-8| [2021-02-11T20:30:18.412Z] - 000000e0 63 34 32 2d 62 35 62 37 39 39 62 35 64 38 39 66 |c42-b5b799b5d89f| [2021-02-11T20:30:18.412Z] - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 30 2c 22 6f |","created":0,"o| [2021-02-11T20:30:18.412Z] - 00000100 72 69 67 69 6e 22 3a 31 36 31 33 30 37 35 34 31 |rigin":161307541| [2021-02-11T20:30:18.412Z] - 00000110 38 30 31 34 31 37 35 34 36 34 2c 22 64 65 76 69 |8014175464,"devi| [2021-02-11T20:30:18.412Z] - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| [2021-02-11T20:30:18.412Z] - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| [2021-02-11T20:30:18.412Z] - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| [2021-02-11T20:30:18.412Z] - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| [2021-02-11T20:30:18.412Z] - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| [2021-02-11T20:30:18.412Z] - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| [2021-02-11T20:30:18.412Z] - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| [2021-02-11T20:30:18.412Z] - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| [2021-02-11T20:30:18.412Z] - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| [2021-02-11T20:30:18.412Z] - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| [2021-02-11T20:30:18.412Z] -} [2021-02-11T20:30:18.412Z] +([]uint8) [2021-02-11T20:30:18.412Z] [2021-02-11T20:30:18.412Z] Test: TestProcessMessageTargetType [2021-02-11T20:30:18.412Z] Messages: 'Event as Json' test failed [2021-02-11T20:30:18.412Z] runtime_test.go:402: [2021-02-11T20:30:18.412Z] Error Trace: runtime_test.go:402 [2021-02-11T20:30:18.412Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc000293350), ErrorCode:400} [2021-02-11T20:30:18.412Z] Test: TestProcessMessageTargetType [2021-02-11T20:30:18.412Z] Messages: unexpected error for test 'Event as Cbor' [2021-02-11T20:30:18.412Z] runtime_test.go:406: [2021-02-11T20:30:18.412Z] Error Trace: runtime_test.go:406 [2021-02-11T20:30:18.412Z] Error: Not equal: [2021-02-11T20:30:18.412Z] expected: []byte{0x7b, 0x22, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x76, 0x32, 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x63, 0x66, 0x64, 0x39, 0x39, 0x34, 0x38, 0x39, 0x2d, 0x62, 0x61, 0x64, 0x36, 0x2d, 0x34, 0x38, 0x30, 0x33, 0x2d, 0x61, 0x32, 0x63, 0x34, 0x2d, 0x35, 0x33, 0x31, 0x31, 0x36, 0x39, 0x38, 0x33, 0x30, 0x64, 0x61, 0x65, 0x22, 0x2c, 0x22, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0x3a, 0x30, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x33, 0x30, 0x37, 0x35, 0x34, 0x31, 0x38, 0x30, 0x31, 0x34, 0x31, 0x30, 0x35, 0x37, 0x38, 0x30, 0x2c, 0x22, 0x72, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x3a, 0x5b, 0x7b, 0x22, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x76, 0x32, 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x35, 0x34, 0x63, 0x38, 0x30, 0x30, 0x37, 0x39, 0x2d, 0x31, 0x34, 0x37, 0x64, 0x2d, 0x34, 0x36, 0x33, 0x66, 0x2d, 0x38, 0x63, 0x34, 0x32, 0x2d, 0x62, 0x35, 0x62, 0x37, 0x39, 0x39, 0x62, 0x35, 0x64, 0x38, 0x39, 0x66, 0x22, 0x2c, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0x3a, 0x30, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x33, 0x30, 0x37, 0x35, 0x34, 0x31, 0x38, 0x30, 0x31, 0x34, 0x31, 0x37, 0x35, 0x34, 0x36, 0x34, 0x2c, 0x22, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x65, 0x6d, 0x70, 0x65, 0x72, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0x2c, 0x22, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x22, 0x2c, 0x22, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x6e, 0x75, 0x6c, 0x6c, 0x2c, 0x22, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x22, 0x37, 0x32, 0x22, 0x7d, 0x5d, 0x7d} [2021-02-11T20:30:18.412Z] actual : []byte(nil) [2021-02-11T20:30:18.412Z] [2021-02-11T20:30:18.412Z] Diff: [2021-02-11T20:30:18.412Z] --- Expected [2021-02-11T20:30:18.412Z] +++ Actual [2021-02-11T20:30:18.412Z] @@ -1,31 +1,2 @@ [2021-02-11T20:30:18.412Z] -([]uint8) (len=444) { [2021-02-11T20:30:18.412Z] - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| [2021-02-11T20:30:18.412Z] - 00000010 32 22 2c 22 69 64 22 3a 22 63 66 64 39 39 34 38 |2","id":"cfd9948| [2021-02-11T20:30:18.412Z] - 00000020 39 2d 62 61 64 36 2d 34 38 30 33 2d 61 32 63 34 |9-bad6-4803-a2c4| [2021-02-11T20:30:18.412Z] - 00000030 2d 35 33 31 31 36 39 38 33 30 64 61 65 22 2c 22 |-531169830dae","| [2021-02-11T20:30:18.412Z] - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| [2021-02-11T20:30:18.412Z] - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| [2021-02-11T20:30:18.412Z] - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| [2021-02-11T20:30:18.412Z] - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| [2021-02-11T20:30:18.412Z] - 00000080 72 65 61 74 65 64 22 3a 30 2c 22 6f 72 69 67 69 |reated":0,"origi| [2021-02-11T20:30:18.412Z] - 00000090 6e 22 3a 31 36 31 33 30 37 35 34 31 38 30 31 34 |n":1613075418014| [2021-02-11T20:30:18.412Z] - 000000a0 31 30 35 37 38 30 2c 22 72 65 61 64 69 6e 67 73 |105780,"readings| [2021-02-11T20:30:18.412Z] - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| [2021-02-11T20:30:18.412Z] - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 35 34 63 38 |:"v2","id":"54c8| [2021-02-11T20:30:18.412Z] - 000000d0 30 30 37 39 2d 31 34 37 64 2d 34 36 33 66 2d 38 |0079-147d-463f-8| [2021-02-11T20:30:18.412Z] - 000000e0 63 34 32 2d 62 35 62 37 39 39 62 35 64 38 39 66 |c42-b5b799b5d89f| [2021-02-11T20:30:18.412Z] - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 30 2c 22 6f |","created":0,"o| [2021-02-11T20:30:18.412Z] - 00000100 72 69 67 69 6e 22 3a 31 36 31 33 30 37 35 34 31 |rigin":161307541| [2021-02-11T20:30:18.412Z] - 00000110 38 30 31 34 31 37 35 34 36 34 2c 22 64 65 76 69 |8014175464,"devi| [2021-02-11T20:30:18.412Z] - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| [2021-02-11T20:30:18.412Z] - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| [2021-02-11T20:30:18.412Z] - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| [2021-02-11T20:30:18.412Z] - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| [2021-02-11T20:30:18.412Z] - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| [2021-02-11T20:30:18.412Z] - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| [2021-02-11T20:30:18.412Z] - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| [2021-02-11T20:30:18.412Z] - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| [2021-02-11T20:30:18.412Z] - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| [2021-02-11T20:30:18.412Z] - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| [2021-02-11T20:30:18.412Z] -} [2021-02-11T20:30:18.412Z] +([]uint8) [2021-02-11T20:30:18.412Z] [2021-02-11T20:30:18.412Z] Test: TestProcessMessageTargetType [2021-02-11T20:30:18.412Z] Messages: 'Event as Cbor' test failed [2021-02-11T20:30:18.412Z] FAIL [2021-02-11T20:30:18.412Z] coverage: 72.1% of statements [2021-02-11T20:30:18.412Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.090s [2021-02-11T20:30:18.412Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-02-11T20:30:18.412Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-02-11T20:30:18.412Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-02-11T20:30:18.412Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-02-11T20:30:18.412Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-02-11T20:30:18.413Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-02-11T20:30:18.413Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.015s coverage: 97.0% of statements [2021-02-11T20:30:18.413Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-02-11T20:30:18.413Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.032s coverage: 8.8% of statements [2021-02-11T20:30:32.321Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.116s coverage: 82.6% of statements [2021-02-11T20:30:33.391Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 13.843s coverage: 77.5% of statements [2021-02-11T20:30:33.392Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-02-11T20:30:33.392Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.022s coverage: 87.9% of statements [2021-02-11T20:30:33.392Z] --- FAIL: TestConfigureAndConfigRoute (0.00s) [2021-02-11T20:30:33.392Z] server_test.go:116: [2021-02-11T20:30:33.392Z] Error Trace: server_test.go:116 [2021-02-11T20:30:33.392Z] Error: Not equal: [2021-02-11T20:30:33.392Z] expected: "{\"Writable\":{\"LogLevel\":\"\",\"Pipeline\":{\"ExecutionOrder\":\"\",\"UseTargetTypeOfByteArray\":false,\"Functions\":null},\"StoreAndForward\":{\"Enabled\":false,\"RetryInterval\":\"\",\"MaxRetryCount\":0},\"InsecureSecrets\":null},\"Registry\":{\"Host\":\"\",\"Port\":0,\"Type\":\"\"},\"Service\":{\"BootTimeout\":\"\",\"CheckInterval\":\"\",\"Host\":\"\",\"HTTPSCert\":\"\",\"HTTPSKey\":\"\",\"ServerBindAddr\":\"\",\"Port\":0,\"Protocol\":\"\",\"StartupMsg\":\"\",\"ReadMaxLimit\":0,\"Timeout\":\"\"},\"MessageBus\":{\"PublishHost\":{\"Host\":\"\",\"Port\":0,\"Protocol\":\"\"},\"SubscribeHost\":{\"Host\":\"\",\"Port\":0,\"Protocol\":\"\"},\"Type\":\"\",\"Optional\":null},\"MqttBroker\":{\"Url\":\"\",\"ClientId\":\"\",\"ConnectTimeout\":\"\",\"AutoReconnect\":false,\"KeepAlive\":0,\"QoS\":0,\"Retain\":false,\"SkipCertVerify\":false,\"SecretPath\":\"\",\"AuthMode\":\"\"},\"Binding\":{\"Type\":\"\",\"SubscribeTopics\":\"\",\"PublishTopic\":\"\"},\"ApplicationSettings\":null,\"Clients\":null,\"Database\":{\"Type\":\"\",\"Host\":\"\",\"Port\":0,\"Timeout\":\"\",\"MaxIdle\":0,\"BatchSize\":0},\"SecretStore\":{\"Host\":\"\",\"Port\":0,\"Path\":\"\",\"Protocol\":\"\",\"Namespace\":\"\",\"RootCaCertPath\":\"\",\"ServerName\":\"\",\"Authentication\":{\"AuthType\":\"\",\"AuthToken\":\"\"},\"AdditionalRetryAttempts\":0,\"RetryWaitPeriod\":\"\",\"TokenFile\":\"\"}}\n" [2021-02-11T20:30:33.392Z] actual : "{\"Writable\":{\"LogLevel\":\"\",\"Pipeline\":{\"ExecutionOrder\":\"\",\"UseTargetTypeOfByteArray\":false,\"UseTargetTypeOfEventDto\":false,\"Functions\":null},\"StoreAndForward\":{\"Enabled\":false,\"RetryInterval\":\"\",\"MaxRetryCount\":0},\"InsecureSecrets\":null},\"Registry\":{\"Host\":\"\",\"Port\":0,\"Type\":\"\"},\"Service\":{\"BootTimeout\":\"\",\"CheckInterval\":\"\",\"Host\":\"\",\"HTTPSCert\":\"\",\"HTTPSKey\":\"\",\"ServerBindAddr\":\"\",\"Port\":0,\"Protocol\":\"\",\"StartupMsg\":\"\",\"ReadMaxLimit\":0,\"Timeout\":\"\"},\"MessageBus\":{\"PublishHost\":{\"Host\":\"\",\"Port\":0,\"Protocol\":\"\"},\"SubscribeHost\":{\"Host\":\"\",\"Port\":0,\"Protocol\":\"\"},\"Type\":\"\",\"Optional\":null},\"MqttBroker\":{\"Url\":\"\",\"ClientId\":\"\",\"ConnectTimeout\":\"\",\"AutoReconnect\":false,\"KeepAlive\":0,\"QoS\":0,\"Retain\":false,\"SkipCertVerify\":false,\"SecretPath\":\"\",\"AuthMode\":\"\"},\"Binding\":{\"Type\":\"\",\"SubscribeTopics\":\"\",\"PublishTopic\":\"\"},\"ApplicationSettings\":null,\"Clients\":null,\"Database\":{\"Type\":\"\",\"Host\":\"\",\"Port\":0,\"Timeout\":\"\",\"MaxIdle\":0,\"BatchSize\":0},\"SecretStore\":{\"Host\":\"\",\"Port\":0,\"Path\":\"\",\"Protocol\":\"\",\"Namespace\":\"\",\"RootCaCertPath\":\"\",\"ServerName\":\"\",\"Authentication\":{\"AuthType\":\"\",\"AuthToken\":\"\"},\"AdditionalRetryAttempts\":0,\"RetryWaitPeriod\":\"\",\"TokenFile\":\"\"}}\n" [2021-02-11T20:30:33.392Z] [2021-02-11T20:30:33.392Z] Diff: [2021-02-11T20:30:33.392Z] --- Expected [2021-02-11T20:30:33.392Z] +++ Actual [2021-02-11T20:30:33.392Z] @@ -1,2 +1,2 @@ [2021-02-11T20:30:33.392Z] -{"Writable":{"LogLevel":"","Pipeline":{"ExecutionOrder":"","UseTargetTypeOfByteArray":false,"Functions":null},"StoreAndForward":{"Enabled":false,"RetryInterval":"","MaxRetryCount":0},"InsecureSecrets":null},"Registry":{"Host":"","Port":0,"Type":""},"Service":{"BootTimeout":"","CheckInterval":"","Host":"","HTTPSCert":"","HTTPSKey":"","ServerBindAddr":"","Port":0,"Protocol":"","StartupMsg":"","ReadMaxLimit":0,"Timeout":""},"MessageBus":{"PublishHost":{"Host":"","Port":0,"Protocol":""},"SubscribeHost":{"Host":"","Port":0,"Protocol":""},"Type":"","Optional":null},"MqttBroker":{"Url":"","ClientId":"","ConnectTimeout":"","AutoReconnect":false,"KeepAlive":0,"QoS":0,"Retain":false,"SkipCertVerify":false,"SecretPath":"","AuthMode":""},"Binding":{"Type":"","SubscribeTopics":"","PublishTopic":""},"ApplicationSettings":null,"Clients":null,"Database":{"Type":"","Host":"","Port":0,"Timeout":"","MaxIdle":0,"BatchSize":0},"SecretStore":{"Host":"","Port":0,"Path":"","Protocol":"","Namespace":"","RootCaCertPath":"","ServerName":"","Authentication":{"AuthType":"","AuthToken":""},"AdditionalRetryAttempts":0,"RetryWaitPeriod":"","TokenFile":""}} [2021-02-11T20:30:33.392Z] +{"Writable":{"LogLevel":"","Pipeline":{"ExecutionOrder":"","UseTargetTypeOfByteArray":false,"UseTargetTypeOfEventDto":false,"Functions":null},"StoreAndForward":{"Enabled":false,"RetryInterval":"","MaxRetryCount":0},"InsecureSecrets":null},"Registry":{"Host":"","Port":0,"Type":""},"Service":{"BootTimeout":"","CheckInterval":"","Host":"","HTTPSCert":"","HTTPSKey":"","ServerBindAddr":"","Port":0,"Protocol":"","StartupMsg":"","ReadMaxLimit":0,"Timeout":""},"MessageBus":{"PublishHost":{"Host":"","Port":0,"Protocol":""},"SubscribeHost":{"Host":"","Port":0,"Protocol":""},"Type":"","Optional":null},"MqttBroker":{"Url":"","ClientId":"","ConnectTimeout":"","AutoReconnect":false,"KeepAlive":0,"QoS":0,"Retain":false,"SkipCertVerify":false,"SecretPath":"","AuthMode":""},"Binding":{"Type":"","SubscribeTopics":"","PublishTopic":""},"ApplicationSettings":null,"Clients":null,"Database":{"Type":"","Host":"","Port":0,"Timeout":"","MaxIdle":0,"BatchSize":0},"SecretStore":{"Host":"","Port":0,"Path":"","Protocol":"","Namespace":"","RootCaCertPath":"","ServerName":"","Authentication":{"AuthType":"","AuthToken":""},"AdditionalRetryAttempts":0,"RetryWaitPeriod":"","TokenFile":""}} [2021-02-11T20:30:33.392Z] [2021-02-11T20:30:33.392Z] Test: TestConfigureAndConfigRoute [2021-02-11T20:30:33.392Z] FAIL [2021-02-11T20:30:33.392Z] coverage: 80.5% of statements [2021-02-11T20:30:33.392Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.017s [2021-02-11T20:30:33.392Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.007s coverage: 71.7% of statements [2021-02-11T20:30:45.674Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.047s coverage: 82.9% of statements [2021-02-11T20:30:45.674Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.009s coverage: 94.4% of statements [2021-02-11T20:30:45.674Z] FAIL [2021-02-11T20:30:45.674Z] make: *** [Makefile:6: test] Error 1 [Pipeline] } [2021-02-11T20:30:45.849Z] $ docker stop --time=1 cc840e8916784169852a8275ee24e3e8f9b70e306d8d3df4464fe77a56c6c1f0 [2021-02-11T20:30:48.324Z] $ docker rm -f cc840e8916784169852a8275ee24e3e8f9b70e306d8d3df4464fe77a56c6c1f0 [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-11T20:30:52.069Z] Failed in branch amd64 [2021-02-11T20:30:54.537Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.057s coverage: 50.1% of statements [2021-02-11T20:30:54.537Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-02-11T20:30:54.537Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-02-11T20:30:54.537Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.081s coverage: 61.5% of statements [2021-02-11T20:30:54.537Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-02-11T20:30:54.537Z] --- FAIL: TestProcessMessageCBOR (0.00s) [2021-02-11T20:30:54.537Z] runtime_test.go:330: [2021-02-11T20:30:54.537Z] Error Trace: runtime_test.go:330 [2021-02-11T20:30:54.537Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x4000290980), ErrorCode:400} [2021-02-11T20:30:54.537Z] Test: TestProcessMessageCBOR [2021-02-11T20:30:54.537Z] Messages: result should be null [2021-02-11T20:30:54.537Z] runtime_test.go:331: [2021-02-11T20:30:54.537Z] Error Trace: runtime_test.go:331 [2021-02-11T20:30:54.537Z] Error: Should be true [2021-02-11T20:30:54.537Z] Test: TestProcessMessageCBOR [2021-02-11T20:30:54.537Z] Messages: transform1 should have been called [2021-02-11T20:30:54.537Z] --- FAIL: TestProcessMessageTargetType (0.00s) [2021-02-11T20:30:54.537Z] runtime_test.go:402: [2021-02-11T20:30:54.537Z] Error Trace: runtime_test.go:402 [2021-02-11T20:30:54.537Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x4000290f70), ErrorCode:400} [2021-02-11T20:30:54.537Z] Test: TestProcessMessageTargetType [2021-02-11T20:30:54.537Z] Messages: unexpected error for test 'Event as Json' [2021-02-11T20:30:54.537Z] runtime_test.go:406: [2021-02-11T20:30:54.537Z] Error Trace: runtime_test.go:406 [2021-02-11T20:30:54.537Z] Error: Not equal: [2021-02-11T20:30:54.537Z] expected: []byte{0x7b, 0x22, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x76, 0x32, 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x30, 0x33, 0x34, 0x61, 0x36, 0x38, 0x39, 0x36, 0x2d, 0x38, 0x32, 0x63, 0x36, 0x2d, 0x34, 0x61, 0x35, 0x33, 0x2d, 0x62, 0x30, 0x32, 0x65, 0x2d, 0x39, 0x38, 0x32, 0x65, 0x38, 0x65, 0x61, 0x37, 0x31, 0x65, 0x32, 0x34, 0x22, 0x2c, 0x22, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0x3a, 0x30, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x33, 0x30, 0x37, 0x35, 0x34, 0x34, 0x36, 0x35, 0x31, 0x39, 0x31, 0x30, 0x39, 0x31, 0x31, 0x32, 0x2c, 0x22, 0x72, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x3a, 0x5b, 0x7b, 0x22, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x76, 0x32, 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x32, 0x30, 0x36, 0x37, 0x65, 0x61, 0x34, 0x32, 0x2d, 0x32, 0x64, 0x61, 0x35, 0x2d, 0x34, 0x62, 0x34, 0x39, 0x2d, 0x62, 0x65, 0x30, 0x36, 0x2d, 0x33, 0x62, 0x30, 0x65, 0x65, 0x36, 0x66, 0x64, 0x35, 0x30, 0x39, 0x65, 0x22, 0x2c, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0x3a, 0x30, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x33, 0x30, 0x37, 0x35, 0x34, 0x34, 0x36, 0x35, 0x31, 0x39, 0x31, 0x35, 0x33, 0x36, 0x33, 0x34, 0x2c, 0x22, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x65, 0x6d, 0x70, 0x65, 0x72, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0x2c, 0x22, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x22, 0x2c, 0x22, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x6e, 0x75, 0x6c, 0x6c, 0x2c, 0x22, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x22, 0x37, 0x32, 0x22, 0x7d, 0x5d, 0x7d} [2021-02-11T20:30:54.537Z] actual : []byte(nil) [2021-02-11T20:30:54.537Z] [2021-02-11T20:30:54.537Z] Diff: [2021-02-11T20:30:54.537Z] --- Expected [2021-02-11T20:30:54.537Z] +++ Actual [2021-02-11T20:30:54.537Z] @@ -1,31 +1,2 @@ [2021-02-11T20:30:54.537Z] -([]uint8) (len=444) { [2021-02-11T20:30:54.537Z] - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| [2021-02-11T20:30:54.537Z] - 00000010 32 22 2c 22 69 64 22 3a 22 30 33 34 61 36 38 39 |2","id":"034a689| [2021-02-11T20:30:54.537Z] - 00000020 36 2d 38 32 63 36 2d 34 61 35 33 2d 62 30 32 65 |6-82c6-4a53-b02e| [2021-02-11T20:30:54.537Z] - 00000030 2d 39 38 32 65 38 65 61 37 31 65 32 34 22 2c 22 |-982e8ea71e24","| [2021-02-11T20:30:54.537Z] - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| [2021-02-11T20:30:54.537Z] - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| [2021-02-11T20:30:54.537Z] - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| [2021-02-11T20:30:54.537Z] - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| [2021-02-11T20:30:54.537Z] - 00000080 72 65 61 74 65 64 22 3a 30 2c 22 6f 72 69 67 69 |reated":0,"origi| [2021-02-11T20:30:54.537Z] - 00000090 6e 22 3a 31 36 31 33 30 37 35 34 34 36 35 31 39 |n":1613075446519| [2021-02-11T20:30:54.537Z] - 000000a0 31 30 39 31 31 32 2c 22 72 65 61 64 69 6e 67 73 |109112,"readings| [2021-02-11T20:30:54.537Z] - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| [2021-02-11T20:30:54.537Z] - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 32 30 36 37 |:"v2","id":"2067| [2021-02-11T20:30:54.537Z] - 000000d0 65 61 34 32 2d 32 64 61 35 2d 34 62 34 39 2d 62 |ea42-2da5-4b49-b| [2021-02-11T20:30:54.537Z] - 000000e0 65 30 36 2d 33 62 30 65 65 36 66 64 35 30 39 65 |e06-3b0ee6fd509e| [2021-02-11T20:30:54.537Z] - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 30 2c 22 6f |","created":0,"o| [2021-02-11T20:30:54.537Z] - 00000100 72 69 67 69 6e 22 3a 31 36 31 33 30 37 35 34 34 |rigin":161307544| [2021-02-11T20:30:54.537Z] - 00000110 36 35 31 39 31 35 33 36 33 34 2c 22 64 65 76 69 |6519153634,"devi| [2021-02-11T20:30:54.537Z] - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| [2021-02-11T20:30:54.537Z] - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| [2021-02-11T20:30:54.537Z] - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| [2021-02-11T20:30:54.537Z] - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| [2021-02-11T20:30:54.537Z] - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| [2021-02-11T20:30:54.537Z] - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| [2021-02-11T20:30:54.537Z] - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| [2021-02-11T20:30:54.537Z] - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| [2021-02-11T20:30:54.537Z] - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| [2021-02-11T20:30:54.537Z] - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| [2021-02-11T20:30:54.537Z] -} [2021-02-11T20:30:54.537Z] +([]uint8) [2021-02-11T20:30:54.537Z] [2021-02-11T20:30:54.537Z] Test: TestProcessMessageTargetType [2021-02-11T20:30:54.537Z] Messages: 'Event as Json' test failed [2021-02-11T20:30:54.537Z] runtime_test.go:402: [2021-02-11T20:30:54.537Z] Error Trace: runtime_test.go:402 [2021-02-11T20:30:54.537Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x4000291350), ErrorCode:400} [2021-02-11T20:30:54.537Z] Test: TestProcessMessageTargetType [2021-02-11T20:30:54.537Z] Messages: unexpected error for test 'Event as Cbor' [2021-02-11T20:30:54.537Z] runtime_test.go:406: [2021-02-11T20:30:54.537Z] Error Trace: runtime_test.go:406 [2021-02-11T20:30:54.537Z] Error: Not equal: [2021-02-11T20:30:54.538Z] expected: []byte{0x7b, 0x22, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x76, 0x32, 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x30, 0x33, 0x34, 0x61, 0x36, 0x38, 0x39, 0x36, 0x2d, 0x38, 0x32, 0x63, 0x36, 0x2d, 0x34, 0x61, 0x35, 0x33, 0x2d, 0x62, 0x30, 0x32, 0x65, 0x2d, 0x39, 0x38, 0x32, 0x65, 0x38, 0x65, 0x61, 0x37, 0x31, 0x65, 0x32, 0x34, 0x22, 0x2c, 0x22, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0x3a, 0x30, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x33, 0x30, 0x37, 0x35, 0x34, 0x34, 0x36, 0x35, 0x31, 0x39, 0x31, 0x30, 0x39, 0x31, 0x31, 0x32, 0x2c, 0x22, 0x72, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x3a, 0x5b, 0x7b, 0x22, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x76, 0x32, 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x32, 0x30, 0x36, 0x37, 0x65, 0x61, 0x34, 0x32, 0x2d, 0x32, 0x64, 0x61, 0x35, 0x2d, 0x34, 0x62, 0x34, 0x39, 0x2d, 0x62, 0x65, 0x30, 0x36, 0x2d, 0x33, 0x62, 0x30, 0x65, 0x65, 0x36, 0x66, 0x64, 0x35, 0x30, 0x39, 0x65, 0x22, 0x2c, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0x3a, 0x30, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x33, 0x30, 0x37, 0x35, 0x34, 0x34, 0x36, 0x35, 0x31, 0x39, 0x31, 0x35, 0x33, 0x36, 0x33, 0x34, 0x2c, 0x22, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x65, 0x6d, 0x70, 0x65, 0x72, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0x2c, 0x22, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x22, 0x2c, 0x22, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x6e, 0x75, 0x6c, 0x6c, 0x2c, 0x22, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x22, 0x37, 0x32, 0x22, 0x7d, 0x5d, 0x7d} [2021-02-11T20:30:54.538Z] actual : []byte(nil) [2021-02-11T20:30:54.538Z] [2021-02-11T20:30:54.538Z] Diff: [2021-02-11T20:30:54.538Z] --- Expected [2021-02-11T20:30:54.538Z] +++ Actual [2021-02-11T20:30:54.538Z] @@ -1,31 +1,2 @@ [2021-02-11T20:30:54.538Z] -([]uint8) (len=444) { [2021-02-11T20:30:54.538Z] - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| [2021-02-11T20:30:54.538Z] - 00000010 32 22 2c 22 69 64 22 3a 22 30 33 34 61 36 38 39 |2","id":"034a689| [2021-02-11T20:30:54.538Z] - 00000020 36 2d 38 32 63 36 2d 34 61 35 33 2d 62 30 32 65 |6-82c6-4a53-b02e| [2021-02-11T20:30:54.538Z] - 00000030 2d 39 38 32 65 38 65 61 37 31 65 32 34 22 2c 22 |-982e8ea71e24","| [2021-02-11T20:30:54.538Z] - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| [2021-02-11T20:30:54.538Z] - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| [2021-02-11T20:30:54.538Z] - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| [2021-02-11T20:30:54.538Z] - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| [2021-02-11T20:30:54.538Z] - 00000080 72 65 61 74 65 64 22 3a 30 2c 22 6f 72 69 67 69 |reated":0,"origi| [2021-02-11T20:30:54.538Z] - 00000090 6e 22 3a 31 36 31 33 30 37 35 34 34 36 35 31 39 |n":1613075446519| [2021-02-11T20:30:54.538Z] - 000000a0 31 30 39 31 31 32 2c 22 72 65 61 64 69 6e 67 73 |109112,"readings| [2021-02-11T20:30:54.538Z] - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| [2021-02-11T20:30:54.538Z] - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 32 30 36 37 |:"v2","id":"2067| [2021-02-11T20:30:54.538Z] - 000000d0 65 61 34 32 2d 32 64 61 35 2d 34 62 34 39 2d 62 |ea42-2da5-4b49-b| [2021-02-11T20:30:54.538Z] - 000000e0 65 30 36 2d 33 62 30 65 65 36 66 64 35 30 39 65 |e06-3b0ee6fd509e| [2021-02-11T20:30:54.538Z] - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 30 2c 22 6f |","created":0,"o| [2021-02-11T20:30:54.538Z] - 00000100 72 69 67 69 6e 22 3a 31 36 31 33 30 37 35 34 34 |rigin":161307544| [2021-02-11T20:30:54.538Z] - 00000110 36 35 31 39 31 35 33 36 33 34 2c 22 64 65 76 69 |6519153634,"devi| [2021-02-11T20:30:54.538Z] - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| [2021-02-11T20:30:54.538Z] - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| [2021-02-11T20:30:54.538Z] - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| [2021-02-11T20:30:54.538Z] - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| [2021-02-11T20:30:54.538Z] - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| [2021-02-11T20:30:54.538Z] - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| [2021-02-11T20:30:54.538Z] - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| [2021-02-11T20:30:54.538Z] - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| [2021-02-11T20:30:54.538Z] - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| [2021-02-11T20:30:54.538Z] - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| [2021-02-11T20:30:54.538Z] -} [2021-02-11T20:30:54.538Z] +([]uint8) [2021-02-11T20:30:54.538Z] [2021-02-11T20:30:54.538Z] Test: TestProcessMessageTargetType [2021-02-11T20:30:54.538Z] Messages: 'Event as Cbor' test failed [2021-02-11T20:30:54.538Z] FAIL [2021-02-11T20:30:54.538Z] coverage: 72.1% of statements [2021-02-11T20:30:54.538Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.088s [2021-02-11T20:30:54.538Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-02-11T20:30:54.538Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-02-11T20:30:54.538Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-02-11T20:30:54.538Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-02-11T20:30:54.538Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-02-11T20:30:54.538Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-02-11T20:30:54.538Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.027s coverage: 97.0% of statements [2021-02-11T20:30:54.538Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-02-11T20:30:54.538Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.025s coverage: 8.8% of statements [2021-02-11T20:31:06.942Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 13.876s coverage: 77.5% of statements [2021-02-11T20:31:06.942Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-02-11T20:31:06.942Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.037s coverage: 87.9% of statements [2021-02-11T20:31:06.942Z] --- FAIL: TestConfigureAndConfigRoute (0.00s) [2021-02-11T20:31:06.942Z] server_test.go:116: [2021-02-11T20:31:06.942Z] Error Trace: server_test.go:116 [2021-02-11T20:31:06.942Z] Error: Not equal: [2021-02-11T20:31:06.943Z] expected: "{\"Writable\":{\"LogLevel\":\"\",\"Pipeline\":{\"ExecutionOrder\":\"\",\"UseTargetTypeOfByteArray\":false,\"Functions\":null},\"StoreAndForward\":{\"Enabled\":false,\"RetryInterval\":\"\",\"MaxRetryCount\":0},\"InsecureSecrets\":null},\"Registry\":{\"Host\":\"\",\"Port\":0,\"Type\":\"\"},\"Service\":{\"BootTimeout\":\"\",\"CheckInterval\":\"\",\"Host\":\"\",\"HTTPSCert\":\"\",\"HTTPSKey\":\"\",\"ServerBindAddr\":\"\",\"Port\":0,\"Protocol\":\"\",\"StartupMsg\":\"\",\"ReadMaxLimit\":0,\"Timeout\":\"\"},\"MessageBus\":{\"PublishHost\":{\"Host\":\"\",\"Port\":0,\"Protocol\":\"\"},\"SubscribeHost\":{\"Host\":\"\",\"Port\":0,\"Protocol\":\"\"},\"Type\":\"\",\"Optional\":null},\"MqttBroker\":{\"Url\":\"\",\"ClientId\":\"\",\"ConnectTimeout\":\"\",\"AutoReconnect\":false,\"KeepAlive\":0,\"QoS\":0,\"Retain\":false,\"SkipCertVerify\":false,\"SecretPath\":\"\",\"AuthMode\":\"\"},\"Binding\":{\"Type\":\"\",\"SubscribeTopics\":\"\",\"PublishTopic\":\"\"},\"ApplicationSettings\":null,\"Clients\":null,\"Database\":{\"Type\":\"\",\"Host\":\"\",\"Port\":0,\"Timeout\":\"\",\"MaxIdle\":0,\"BatchSize\":0},\"SecretStore\":{\"Host\":\"\",\"Port\":0,\"Path\":\"\",\"Protocol\":\"\",\"Namespace\":\"\",\"RootCaCertPath\":\"\",\"ServerName\":\"\",\"Authentication\":{\"AuthType\":\"\",\"AuthToken\":\"\"},\"AdditionalRetryAttempts\":0,\"RetryWaitPeriod\":\"\",\"TokenFile\":\"\"}}\n" [2021-02-11T20:31:06.943Z] actual : "{\"Writable\":{\"LogLevel\":\"\",\"Pipeline\":{\"ExecutionOrder\":\"\",\"UseTargetTypeOfByteArray\":false,\"UseTargetTypeOfEventDto\":false,\"Functions\":null},\"StoreAndForward\":{\"Enabled\":false,\"RetryInterval\":\"\",\"MaxRetryCount\":0},\"InsecureSecrets\":null},\"Registry\":{\"Host\":\"\",\"Port\":0,\"Type\":\"\"},\"Service\":{\"BootTimeout\":\"\",\"CheckInterval\":\"\",\"Host\":\"\",\"HTTPSCert\":\"\",\"HTTPSKey\":\"\",\"ServerBindAddr\":\"\",\"Port\":0,\"Protocol\":\"\",\"StartupMsg\":\"\",\"ReadMaxLimit\":0,\"Timeout\":\"\"},\"MessageBus\":{\"PublishHost\":{\"Host\":\"\",\"Port\":0,\"Protocol\":\"\"},\"SubscribeHost\":{\"Host\":\"\",\"Port\":0,\"Protocol\":\"\"},\"Type\":\"\",\"Optional\":null},\"MqttBroker\":{\"Url\":\"\",\"ClientId\":\"\",\"ConnectTimeout\":\"\",\"AutoReconnect\":false,\"KeepAlive\":0,\"QoS\":0,\"Retain\":false,\"SkipCertVerify\":false,\"SecretPath\":\"\",\"AuthMode\":\"\"},\"Binding\":{\"Type\":\"\",\"SubscribeTopics\":\"\",\"PublishTopic\":\"\"},\"ApplicationSettings\":null,\"Clients\":null,\"Database\":{\"Type\":\"\",\"Host\":\"\",\"Port\":0,\"Timeout\":\"\",\"MaxIdle\":0,\"BatchSize\":0},\"SecretStore\":{\"Host\":\"\",\"Port\":0,\"Path\":\"\",\"Protocol\":\"\",\"Namespace\":\"\",\"RootCaCertPath\":\"\",\"ServerName\":\"\",\"Authentication\":{\"AuthType\":\"\",\"AuthToken\":\"\"},\"AdditionalRetryAttempts\":0,\"RetryWaitPeriod\":\"\",\"TokenFile\":\"\"}}\n" [2021-02-11T20:31:06.943Z] [2021-02-11T20:31:06.943Z] Diff: [2021-02-11T20:31:06.943Z] --- Expected [2021-02-11T20:31:06.943Z] +++ Actual [2021-02-11T20:31:06.943Z] @@ -1,2 +1,2 @@ [2021-02-11T20:31:06.943Z] -{"Writable":{"LogLevel":"","Pipeline":{"ExecutionOrder":"","UseTargetTypeOfByteArray":false,"Functions":null},"StoreAndForward":{"Enabled":false,"RetryInterval":"","MaxRetryCount":0},"InsecureSecrets":null},"Registry":{"Host":"","Port":0,"Type":""},"Service":{"BootTimeout":"","CheckInterval":"","Host":"","HTTPSCert":"","HTTPSKey":"","ServerBindAddr":"","Port":0,"Protocol":"","StartupMsg":"","ReadMaxLimit":0,"Timeout":""},"MessageBus":{"PublishHost":{"Host":"","Port":0,"Protocol":""},"SubscribeHost":{"Host":"","Port":0,"Protocol":""},"Type":"","Optional":null},"MqttBroker":{"Url":"","ClientId":"","ConnectTimeout":"","AutoReconnect":false,"KeepAlive":0,"QoS":0,"Retain":false,"SkipCertVerify":false,"SecretPath":"","AuthMode":""},"Binding":{"Type":"","SubscribeTopics":"","PublishTopic":""},"ApplicationSettings":null,"Clients":null,"Database":{"Type":"","Host":"","Port":0,"Timeout":"","MaxIdle":0,"BatchSize":0},"SecretStore":{"Host":"","Port":0,"Path":"","Protocol":"","Namespace":"","RootCaCertPath":"","ServerName":"","Authentication":{"AuthType":"","AuthToken":""},"AdditionalRetryAttempts":0,"RetryWaitPeriod":"","TokenFile":""}} [2021-02-11T20:31:06.943Z] +{"Writable":{"LogLevel":"","Pipeline":{"ExecutionOrder":"","UseTargetTypeOfByteArray":false,"UseTargetTypeOfEventDto":false,"Functions":null},"StoreAndForward":{"Enabled":false,"RetryInterval":"","MaxRetryCount":0},"InsecureSecrets":null},"Registry":{"Host":"","Port":0,"Type":""},"Service":{"BootTimeout":"","CheckInterval":"","Host":"","HTTPSCert":"","HTTPSKey":"","ServerBindAddr":"","Port":0,"Protocol":"","StartupMsg":"","ReadMaxLimit":0,"Timeout":""},"MessageBus":{"PublishHost":{"Host":"","Port":0,"Protocol":""},"SubscribeHost":{"Host":"","Port":0,"Protocol":""},"Type":"","Optional":null},"MqttBroker":{"Url":"","ClientId":"","ConnectTimeout":"","AutoReconnect":false,"KeepAlive":0,"QoS":0,"Retain":false,"SkipCertVerify":false,"SecretPath":"","AuthMode":""},"Binding":{"Type":"","SubscribeTopics":"","PublishTopic":""},"ApplicationSettings":null,"Clients":null,"Database":{"Type":"","Host":"","Port":0,"Timeout":"","MaxIdle":0,"BatchSize":0},"SecretStore":{"Host":"","Port":0,"Path":"","Protocol":"","Namespace":"","RootCaCertPath":"","ServerName":"","Authentication":{"AuthType":"","AuthToken":""},"AdditionalRetryAttempts":0,"RetryWaitPeriod":"","TokenFile":""}} [2021-02-11T20:31:06.943Z] [2021-02-11T20:31:06.943Z] Test: TestConfigureAndConfigRoute [2021-02-11T20:31:06.943Z] FAIL [2021-02-11T20:31:06.943Z] coverage: 80.5% of statements [2021-02-11T20:31:06.943Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.044s [2021-02-11T20:31:06.943Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.041s coverage: 71.7% of statements [2021-02-11T20:31:22.065Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.078s coverage: 82.9% of statements [2021-02-11T20:31:22.065Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.024s coverage: 94.4% of statements [2021-02-11T20:31:22.065Z] FAIL [2021-02-11T20:31:22.065Z] make: *** [Makefile:6: test] Error 1 [Pipeline] } [2021-02-11T20:31:22.330Z] $ docker stop --time=1 9d62c1c7a0165ebb8a9976727f2d3a04cd6c486ebd6320c6ecd773d8db97c735 [2021-02-11T20:31:24.417Z] $ docker rm -f 9d62c1c7a0165ebb8a9976727f2d3a04cd6c486ebd6320c6ecd773d8db97c735 [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-11T20:31:27.180Z] 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-11T20:31:32.164Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-11T20:31:32.782Z] ---> package-listing.sh [2021-02-11T20:31:32.782Z] ++ facter osfamily [2021-02-11T20:31:32.782Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-11T20:31:32.782Z] + OS_FAMILY=redhat [2021-02-11T20:31:32.782Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-689 [2021-02-11T20:31:32.782Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-11T20:31:32.782Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-11T20:31:32.782Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-11T20:31:32.782Z] + PACKAGES=/tmp/packages_start.txt [2021-02-11T20:31:32.782Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-689 ']' [2021-02-11T20:31:32.782Z] + PACKAGES=/tmp/packages_end.txt [2021-02-11T20:31:32.782Z] + case "${OS_FAMILY}" in [2021-02-11T20:31:32.782Z] + rpm -qa [2021-02-11T20:31:32.782Z] + sort [2021-02-11T20:31:39.447Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-11T20:31:39.447Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-11T20:31:39.447Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-11T20:31:39.447Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-689 ']' [2021-02-11T20:31:39.447Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-689/archives/ [2021-02-11T20:31:39.447Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-689/archives/ [Pipeline] echo [2021-02-11T20:31:39.485Z] 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/ndry_app-functions-sdk-go_PR-689/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-02-11T20:31:39.801Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-11T20:31:40.150Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-11T20:31:40.150Z] [2021-02-11T20:31:40.150Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-11T20:31:40.590Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-11T20:31:40.590Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-11T20:31:40.590Z] df20fa9351a1: Pulling fs layer [2021-02-11T20:31:40.590Z] 36b3adc4ff6f: Pulling fs layer [2021-02-11T20:31:40.590Z] 8ad3a11d3b57: Pulling fs layer [2021-02-11T20:31:40.590Z] 46f8f816bc3b: Pulling fs layer [2021-02-11T20:31:40.590Z] 93b61091891f: Pulling fs layer [2021-02-11T20:31:40.590Z] 93b9cdb0e59b: Pulling fs layer [2021-02-11T20:31:40.590Z] 5e14af77c1be: Pulling fs layer [2021-02-11T20:31:40.590Z] 01666e4c0597: Pulling fs layer [2021-02-11T20:31:40.590Z] aa168da1d23b: Pulling fs layer [2021-02-11T20:31:40.590Z] 46f8f816bc3b: Waiting [2021-02-11T20:31:40.590Z] 93b61091891f: Waiting [2021-02-11T20:31:40.590Z] 93b9cdb0e59b: Waiting [2021-02-11T20:31:40.590Z] 5e14af77c1be: Waiting [2021-02-11T20:31:40.590Z] 01666e4c0597: Waiting [2021-02-11T20:31:40.590Z] aa168da1d23b: Waiting [2021-02-11T20:31:40.590Z] 36b3adc4ff6f: Verifying Checksum [2021-02-11T20:31:40.590Z] 36b3adc4ff6f: Download complete [2021-02-11T20:31:40.590Z] 46f8f816bc3b: Verifying Checksum [2021-02-11T20:31:40.590Z] 46f8f816bc3b: Download complete [2021-02-11T20:31:40.859Z] df20fa9351a1: Verifying Checksum [2021-02-11T20:31:40.859Z] df20fa9351a1: Download complete [2021-02-11T20:31:40.859Z] 93b9cdb0e59b: Verifying Checksum [2021-02-11T20:31:40.859Z] 93b9cdb0e59b: Download complete [2021-02-11T20:31:40.859Z] 5e14af77c1be: Verifying Checksum [2021-02-11T20:31:40.859Z] 5e14af77c1be: Download complete [2021-02-11T20:31:40.859Z] 01666e4c0597: Verifying Checksum [2021-02-11T20:31:40.859Z] 01666e4c0597: Download complete [2021-02-11T20:31:40.859Z] 93b61091891f: Verifying Checksum [2021-02-11T20:31:40.859Z] 93b61091891f: Download complete [2021-02-11T20:31:40.859Z] 8ad3a11d3b57: Verifying Checksum [2021-02-11T20:31:40.859Z] 8ad3a11d3b57: Download complete [2021-02-11T20:31:41.121Z] df20fa9351a1: Pull complete [2021-02-11T20:31:41.386Z] 36b3adc4ff6f: Pull complete [2021-02-11T20:31:42.360Z] 8ad3a11d3b57: Pull complete [2021-02-11T20:31:42.360Z] 46f8f816bc3b: Pull complete [2021-02-11T20:31:42.952Z] aa168da1d23b: Verifying Checksum [2021-02-11T20:31:42.952Z] aa168da1d23b: Download complete [2021-02-11T20:31:43.535Z] 93b61091891f: Pull complete [2021-02-11T20:31:43.806Z] 93b9cdb0e59b: Pull complete [2021-02-11T20:31:44.074Z] 5e14af77c1be: Pull complete [2021-02-11T20:31:44.074Z] 01666e4c0597: Pull complete [2021-02-11T20:31:52.309Z] aa168da1d23b: Pull complete [2021-02-11T20:31:52.309Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-11T20:31:52.309Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-11T20:31:52.309Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-11T20:31:52.564Z] prd-centos7-docker-4c-2g-26115 does not seem to be running inside a container [2021-02-11T20:31:52.626Z] $ 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/ndry_app-functions-sdk-go_PR-689/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ndry_app-functions-sdk-go_PR-689 -v /w/workspace/ndry_app-functions-sdk-go_PR-689:/w/workspace/ndry_app-functions-sdk-go_PR-689:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-689@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-689@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-02-11T20:31:55.764Z] $ docker top 2d84d6fd8604d44045afc5b795d23b0657cf8c279b080e2daff11bad23d3961f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-11T20:31:56.335Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-11T20:31:56.663Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-11T20:31:56.981Z] + ls /var/log/sa-host [2021-02-11T20:31:56.981Z] + sadf -c /var/log/sa-host/sa11 [2021-02-11T20:31:56.981Z] file_magic: OK [2021-02-11T20:31:56.981Z] HZ: Using current value: 100 [2021-02-11T20:31:56.981Z] file_header: OK [2021-02-11T20:31:56.981Z] 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-11T20:31:56.981Z] Statistics: [2021-02-11T20:31:56.981Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-11T20:31:56.981Z] File successfully converted to sysstat format version 12.2.1 [2021-02-11T20:31:56.981Z] + sadf -c /var/log/sa-host/sa23 [2021-02-11T20:31:56.981Z] file_magic: OK [2021-02-11T20:31:56.981Z] HZ: Using current value: 100 [2021-02-11T20:31:56.981Z] file_header: OK [2021-02-11T20:31:56.981Z] 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-11T20:31:56.981Z] Statistics: [2021-02-11T20:31:56.981Z] Hnuu...uuuununununu... [2021-02-11T20:31:56.981Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-11T20:31:57.800Z] provisioning config files... [2021-02-11T20:31:57.830Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-689@tmp/config4670810881340131234tmp [Pipeline] { [Pipeline] echo [2021-02-11T20:31:57.962Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-11T20:31:58.314Z] ---> create-netrc.sh [Pipeline] } [2021-02-11T20:31:58.353Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-11T20:31:58.507Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-11T20:31:58.840Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-11T20:31:58.871Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-11T20:31:59.209Z] ---> sudo-logs.sh [2021-02-11T20:31:59.209Z] Archiving 'sudo' log.. [Pipeline] echo [2021-02-11T20:31:59.241Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-11T20:31:59.584Z] ---> job-cost.sh [2021-02-11T20:31:59.584Z] lf-activate-venv: SKIPPING [2021-02-11T20:31:59.584Z] INFO: No Stack... [2021-02-11T20:32:00.529Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-11T20:32:01.102Z] INFO: Archiving Costs [Pipeline] echo [2021-02-11T20:32:01.137Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-11T20:32:01.472Z] ---> logs-deploy.sh [2021-02-11T20:32:01.472Z] lf-activate-venv: SKIPPING [2021-02-11T20:32:01.472Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-689/1 [2021-02-11T20:32:01.472Z] INFO: archiving workspace using pattern(s): [2021-02-11T20:32:03.397Z] Archives upload complete. [2021-02-11T20:32:03.397Z] INFO: archiving logs to Nexus