Pull request #672 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 4e4c204dbceea863fdaa482840bc9e3763931eb2+fc40647c9a5a0500e2956cf52a4e5c076e69792e (7b151b5ebe8b9f88a5a43eff57946e351a45b6d7) 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-672/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-672/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 ‘prd-centos7-blackbox-4c-2g-24093’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-24674’ is offline Running on prd-centos7-docker-4c-2g-24675 in /w/workspace/ndry_app-functions-sdk-go_PR-672 [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-672 # 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/672/head:refs/remotes/origin/PR-672 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit fc40647c9a5a0500e2956cf52a4e5c076e69792e into PR head commit 4e4c204dbceea863fdaa482840bc9e3763931eb2 Merge succeeded, producing 4e4c204dbceea863fdaa482840bc9e3763931eb2 Checking out Revision 4e4c204dbceea863fdaa482840bc9e3763931eb2 (PR-672) > git config core.sparsecheckout # timeout=10 > git checkout -f 4e4c204dbceea863fdaa482840bc9e3763931eb2 # 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 fc40647c9a5a0500e2956cf52a4e5c076e69792e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4e4c204dbceea863fdaa482840bc9e3763931eb2 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-03T05:58:09.826Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-03T05:58:10.161Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-03T05:58:10.421Z] ========================================================= [2021-02-03T05:58:10.421Z] EdgeX Global Pipelines Version Info [2021-02-03T05:58:10.421Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-03T05:58:11.965Z] ------------------- [2021-02-03T05:58:11.966Z] stable info: [2021-02-03T05:58:11.966Z] ------------------- [2021-02-03T05:58:11.966Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-03T05:58:11.966Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-03T05:58:11.966Z] Message: update stable to v1.0.179 [2021-02-03T05:58:12.914Z] ------------------- [2021-02-03T05:58:12.915Z] experimental info: [2021-02-03T05:58:12.915Z] ------------------- [2021-02-03T05:58:12.915Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-03T05:58:12.915Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-03T05:58:12.915Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-03T05:58:13.302Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-02-03T05:58:13.433Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-02-03T05:58:13.555Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-03T05:58:13.677Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-03T05:58:13.825Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-03T05:58:13.948Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-03T05:58:14.068Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-03T05:58:14.200Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-03T05:58:14.319Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-02-03T05:58:14.476Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-03T05:58:14.602Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-03T05:58:14.726Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2021-02-03T05:58:14.839Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-03T05:58:15.006Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-03T05:58:15.125Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-02-03T05:58:15.280Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-03T05:58:15.397Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-03T05:58:15.520Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-03T05:58:15.642Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-03T05:58:15.787Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-03T05:58:15.901Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-02-03T05:58:16.019Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-02-03T05:58:16.135Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-03T05:58:16.255Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-03T05:58:16.385Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-02-03T05:58:16.506Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-02-03T05:58:16.634Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-02-03T05:58:16.762Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-672 [Pipeline] echo [2021-02-03T05:58:16.883Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-672 [Pipeline] echo [2021-02-03T05:58:17.014Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-672 [Pipeline] echo [2021-02-03T05:58:17.176Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4e4c204dbceea863fdaa482840bc9e3763931eb2 [Pipeline] echo [2021-02-03T05:58:17.302Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4e4c204 [Pipeline] echo [2021-02-03T05:58:17.415Z] [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-03T05:58:18.289Z] + git log --format=format:%s -1 4e4c204dbceea863fdaa482840bc9e3763931eb2 [Pipeline] echo [2021-02-03T05:58:18.376Z] GIT_COMMIT: 4e4c204dbceea863fdaa482840bc9e3763931eb2, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-02-03T05:58:18.451Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-03T05:58:19.095Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-03T05:58:19.359Z] [2021-02-03T05:58:19.359Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-03T05:58:19.762Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-03T05:58:19.762Z] latest: Pulling from edgex-devops/git-semver [2021-02-03T05:58:19.762Z] 31603596830f: Pulling fs layer [2021-02-03T05:58:19.762Z] 2a8b12db71e7: Pulling fs layer [2021-02-03T05:58:19.762Z] 6ca5941a6612: Pulling fs layer [2021-02-03T05:58:19.762Z] ecc8261a40a4: Pulling fs layer [2021-02-03T05:58:19.762Z] ecc8261a40a4: Waiting [2021-02-03T05:58:19.762Z] 2a8b12db71e7: Verifying Checksum [2021-02-03T05:58:19.762Z] 2a8b12db71e7: Download complete [2021-02-03T05:58:20.029Z] ecc8261a40a4: Verifying Checksum [2021-02-03T05:58:20.029Z] ecc8261a40a4: Download complete [2021-02-03T05:58:20.029Z] 6ca5941a6612: Verifying Checksum [2021-02-03T05:58:20.029Z] 6ca5941a6612: Download complete [2021-02-03T05:58:20.301Z] 31603596830f: Verifying Checksum [2021-02-03T05:58:20.301Z] 31603596830f: Download complete [2021-02-03T05:58:20.568Z] 31603596830f: Pull complete [2021-02-03T05:58:20.841Z] 2a8b12db71e7: Pull complete [2021-02-03T05:58:21.799Z] 6ca5941a6612: Pull complete [2021-02-03T05:58:22.064Z] ecc8261a40a4: Pull complete [2021-02-03T05:58:22.064Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-03T05:58:22.064Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-03T05:58:22.064Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-03T05:58:22.262Z] prd-centos7-docker-4c-2g-24675 does not seem to be running inside a container [2021-02-03T05:58:22.313Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-672 -v /w/workspace/ndry_app-functions-sdk-go_PR-672:/w/workspace/ndry_app-functions-sdk-go_PR-672:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-672@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-672@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-03T05:58:24.526Z] $ docker top a3f2420adaf6cbf99716dd47e8469d8b314ad27a727db7b7276ece33e4d0ccf5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-03T05:58:24.999Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-03T05:58:24.999Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-03T05:58:25.265Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-03T05:58:25.268Z] $ docker exec a3f2420adaf6cbf99716dd47e8469d8b314ad27a727db7b7276ece33e4d0ccf5 ssh-agent [2021-02-03T05:58:25.436Z] SSH_AUTH_SOCK=/tmp/ssh-HIJ7VtpWByfY/agent.12 [2021-02-03T05:58:25.436Z] SSH_AGENT_PID=17 [2021-02-03T05:58:25.447Z] Running ssh-add (command line suppressed) [2021-02-03T05:58:25.580Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-672@tmp/private_key_2453193086529027641.key (/w/workspace/ndry_app-functions-sdk-go_PR-672@tmp/private_key_2453193086529027641.key) [2021-02-03T05:58:25.637Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-03T05:58:26.060Z] + git tag --points-at HEAD [Pipeline] } [2021-02-03T05:58:26.094Z] $ docker exec --env ******** --env ******** a3f2420adaf6cbf99716dd47e8469d8b314ad27a727db7b7276ece33e4d0ccf5 ssh-agent -k [2021-02-03T05:58:26.217Z] unset SSH_AUTH_SOCK; [2021-02-03T05:58:26.217Z] unset SSH_AGENT_PID; [2021-02-03T05:58:26.218Z] echo Agent pid 17 killed; [2021-02-03T05:58:26.268Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-03T05:58:26.476Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-03T05:58:26.476Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-03T05:58:26.652Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-03T05:58:26.655Z] $ docker exec a3f2420adaf6cbf99716dd47e8469d8b314ad27a727db7b7276ece33e4d0ccf5 ssh-agent [2021-02-03T05:58:26.825Z] SSH_AUTH_SOCK=/tmp/ssh-m8BaZqW7JBro/agent.47 [2021-02-03T05:58:26.825Z] SSH_AGENT_PID=52 [2021-02-03T05:58:26.833Z] Running ssh-add (command line suppressed) [2021-02-03T05:58:26.957Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-672@tmp/private_key_8483888875910709078.key (/w/workspace/ndry_app-functions-sdk-go_PR-672@tmp/private_key_8483888875910709078.key) [2021-02-03T05:58:27.014Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-03T05:58:27.396Z] + git semver init [2021-02-03T05:58:27.396Z] # -> Open(): unable to determine branch for HEAD [2021-02-03T05:58:27.396Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-672/.git [2021-02-03T05:58:27.396Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-672 [2021-02-03T05:58:27.396Z] # $SEMVER_REMOTE_NAME = origin [2021-02-03T05:58:27.396Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-03T05:58:27.396Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-03T05:58:27.396Z] # $SEMVER_BRANCH = PR-672 [2021-02-03T05:58:27.396Z] # $SEMVER_TEMP = /tmp/semver-886299655 [2021-02-03T05:58:27.396Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-02-03T05:58:29.975Z] # '/tmp/semver-886299655' -> '/w/workspace/ndry_app-functions-sdk-go_PR-672/.semver' [2021-02-03T05:58:29.975Z] # -> Force: false [2021-02-03T05:58:29.975Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-672/.semver [Pipeline] } [2021-02-03T05:58:29.999Z] $ docker exec --env ******** --env ******** a3f2420adaf6cbf99716dd47e8469d8b314ad27a727db7b7276ece33e4d0ccf5 ssh-agent -k [2021-02-03T05:58:30.121Z] unset SSH_AUTH_SOCK; [2021-02-03T05:58:30.121Z] unset SSH_AGENT_PID; [2021-02-03T05:58:30.121Z] echo Agent pid 52 killed; [2021-02-03T05:58:30.176Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-03T05:58:30.847Z] + git semver [Pipeline] } [2021-02-03T05:58:30.882Z] $ docker stop --time=1 a3f2420adaf6cbf99716dd47e8469d8b314ad27a727db7b7276ece33e4d0ccf5 [2021-02-03T05:58:32.387Z] $ docker rm -f a3f2420adaf6cbf99716dd47e8469d8b314ad27a727db7b7276ece33e4d0ccf5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-03T05:58:32.948Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-03T05:58:33.463Z] Stashed 1 file(s) [Pipeline] echo [2021-02-03T05:58:33.489Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-02-03T05:58:49.411Z] Still waiting to schedule task [2021-02-03T05:58:49.412Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-02-03T05:58:49.445Z] Still waiting to schedule task [2021-02-03T05:58:49.445Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-24673’ is offline [2021-02-03T06:00:37.344Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-24676 in /w/workspace/ndry_app-functions-sdk-go_PR-672 [Pipeline] { [Pipeline] ws [2021-02-03T06:00:37.494Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-02-03T06:00:40.109Z] Running on prd-centos7-docker-4c-2g-24677 in /w/workspace/ndry_app-functions-sdk-go_PR-672 [Pipeline] { [Pipeline] ws [2021-02-03T06:00:40.230Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-02-03T06:00:43.070Z] using credential edgex-jenkins-ssh [2021-02-03T06:00:43.135Z] Cloning the remote Git repository [2021-02-03T06:00:43.216Z] using credential edgex-jenkins-ssh [2021-02-03T06:00:43.296Z] Cloning the remote Git repository [2021-02-03T06:00:43.179Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-03T06:00:43.287Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2021-02-03T06:00:43.350Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-03T06:00:43.351Z] > git --version # timeout=10 [2021-02-03T06:00:43.363Z] > git --version # 'git version 2.17.1' [2021-02-03T06:00:43.364Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-03T06:00:43.449Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-03T06:00:43.328Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-03T06:00:43.412Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2021-02-03T06:00:43.473Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-03T06:00:43.473Z] > git --version # timeout=10 [2021-02-03T06:00:43.479Z] > git --version # 'git version 2.24.3' [2021-02-03T06:00:43.479Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-03T06:00:43.503Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-03T06:00:45.777Z] Merging remotes/origin/master commit fc40647c9a5a0500e2956cf52a4e5c076e69792e into PR head commit 4e4c204dbceea863fdaa482840bc9e3763931eb2 [2021-02-03T06:00:45.873Z] Merge succeeded, producing 4e4c204dbceea863fdaa482840bc9e3763931eb2 [2021-02-03T06:00:45.874Z] Checking out Revision 4e4c204dbceea863fdaa482840bc9e3763931eb2 (PR-672) [2021-02-03T06:00:45.337Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-02-03T06:00:45.343Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-03T06:00:45.355Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-02-03T06:00:45.371Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-03T06:00:45.371Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-03T06:00:45.376Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/672/head:refs/remotes/origin/PR-672 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-03T06:00:45.789Z] > git config core.sparsecheckout # timeout=10 [2021-02-03T06:00:45.796Z] > git checkout -f 4e4c204dbceea863fdaa482840bc9e3763931eb2 # timeout=10 [2021-02-03T06:00:45.845Z] > git remote # timeout=10 [2021-02-03T06:00:45.851Z] > git config --get remote.origin.url # timeout=10 [2021-02-03T06:00:45.856Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-03T06:00:45.860Z] > git merge fc40647c9a5a0500e2956cf52a4e5c076e69792e # timeout=10 [2021-02-03T06:00:45.871Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-03T06:00:45.881Z] > git config core.sparsecheckout # timeout=10 [2021-02-03T06:00:45.885Z] > git checkout -f 4e4c204dbceea863fdaa482840bc9e3763931eb2 # timeout=10 [2021-02-03T06:00:47.358Z] Merging remotes/origin/master commit fc40647c9a5a0500e2956cf52a4e5c076e69792e into PR head commit 4e4c204dbceea863fdaa482840bc9e3763931eb2 [2021-02-03T06:00:47.592Z] Merge succeeded, producing 4e4c204dbceea863fdaa482840bc9e3763931eb2 [2021-02-03T06:00:47.593Z] Checking out Revision 4e4c204dbceea863fdaa482840bc9e3763931eb2 (PR-672) [2021-02-03T06:00:46.797Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-02-03T06:00:46.818Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-03T06:00:46.842Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-02-03T06:00:46.869Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-03T06:00:46.869Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-03T06:00:46.880Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/672/head:refs/remotes/origin/PR-672 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-03T06:00:47.373Z] > git config core.sparsecheckout # timeout=10 [2021-02-03T06:00:47.385Z] > git checkout -f 4e4c204dbceea863fdaa482840bc9e3763931eb2 # timeout=10 [2021-02-03T06:00:47.488Z] > git remote # timeout=10 [2021-02-03T06:00:47.502Z] > git config --get remote.origin.url # timeout=10 [2021-02-03T06:00:47.515Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-03T06:00:47.524Z] > git merge fc40647c9a5a0500e2956cf52a4e5c076e69792e # timeout=10 [2021-02-03T06:00:47.547Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-03T06:00:47.599Z] > git config core.sparsecheckout # timeout=10 [2021-02-03T06:00:47.613Z] > git checkout -f 4e4c204dbceea863fdaa482840bc9e3763931eb2 # timeout=10 [2021-02-03T06:00:49.572Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-02-03T06:00:49.608Z] > git --version # timeout=10 [2021-02-03T06:00:49.615Z] > git --version # 'git version 2.24.3' [2021-02-03T06:00:49.621Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-03T06:00:51.446Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-03T06:00:51.821Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-03T06:00:51.937Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-02-03T06:00:52.015Z] > git --version # timeout=10 [2021-02-03T06:00:52.026Z] > git --version # 'git version 2.17.1' [2021-02-03T06:00:52.037Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-03T06:00:52.146Z] + sudo service docker restart [2021-02-03T06:00:52.147Z] + true [2021-02-03T06:00:52.147Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] unstash [2021-02-03T06:00:53.846Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] echo [2021-02-03T06:00:53.883Z] ========================================================= [2021-02-03T06:00:53.883Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-03T06:00:53.883Z] ========================================================= [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-02-03T06:00:54.358Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-03T06:00:54.560Z] + 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-03T06:00:54.743Z] + sudo service docker restart [2021-02-03T06:00:54.743Z] + true [2021-02-03T06:00:55.150Z] Sending build context to Docker daemon 19.09MB [2021-02-03T06:00:55.150Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-03T06:00:55.150Z] Step 2/8 : FROM ${BASE} [2021-02-03T06:00:55.150Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-03T06:00:55.150Z] 188c0c94c7c5: Pulling fs layer [2021-02-03T06:00:55.150Z] 0ef7d3d256c8: Pulling fs layer [2021-02-03T06:00:55.150Z] de9db76c5a1d: Pulling fs layer [2021-02-03T06:00:55.150Z] bca2f99d35d6: Pulling fs layer [2021-02-03T06:00:55.150Z] 93359f2a8cfa: Pulling fs layer [2021-02-03T06:00:55.150Z] 7c6f9722023f: Pulling fs layer [2021-02-03T06:00:55.150Z] a35cf1a2eb13: Pulling fs layer [2021-02-03T06:00:55.150Z] 93359f2a8cfa: Waiting [2021-02-03T06:00:55.150Z] 7c6f9722023f: Waiting [2021-02-03T06:00:55.150Z] a35cf1a2eb13: Waiting [2021-02-03T06:00:55.150Z] bca2f99d35d6: Waiting [2021-02-03T06:00:55.150Z] de9db76c5a1d: Verifying Checksum [2021-02-03T06:00:55.150Z] de9db76c5a1d: Download complete [2021-02-03T06:00:55.150Z] 0ef7d3d256c8: Download complete [2021-02-03T06:00:55.419Z] 93359f2a8cfa: Verifying Checksum [2021-02-03T06:00:55.419Z] 93359f2a8cfa: Download complete [2021-02-03T06:00:55.419Z] 7c6f9722023f: Verifying Checksum [2021-02-03T06:00:55.419Z] 7c6f9722023f: Download complete [2021-02-03T06:00:55.419Z] 188c0c94c7c5: Verifying Checksum [2021-02-03T06:00:55.419Z] 188c0c94c7c5: Download complete [2021-02-03T06:00:55.693Z] 188c0c94c7c5: Pull complete [2021-02-03T06:00:55.958Z] 0ef7d3d256c8: Pull complete [2021-02-03T06:00:55.958Z] de9db76c5a1d: Pull complete [Pipeline] unstash [Pipeline] echo [2021-02-03T06:00:57.684Z] ========================================================= [2021-02-03T06:00:57.684Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-03T06:00:57.684Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-03T06:00:57.894Z] a35cf1a2eb13: Verifying Checksum [2021-02-03T06:00:57.894Z] a35cf1a2eb13: Download complete [2021-02-03T06:00:58.115Z] + 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-03T06:00:58.158Z] bca2f99d35d6: Verifying Checksum [2021-02-03T06:00:58.158Z] bca2f99d35d6: Download complete [2021-02-03T06:00:59.101Z] Sending build context to Docker daemon 19.08MB [2021-02-03T06:00:59.101Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-03T06:00:59.101Z] Step 2/8 : FROM ${BASE} [2021-02-03T06:00:59.394Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-03T06:00:59.394Z] 5f621e34cdf4: Pulling fs layer [2021-02-03T06:00:59.394Z] a4357932f1b6: Pulling fs layer [2021-02-03T06:00:59.394Z] 18c013af1878: Pulling fs layer [2021-02-03T06:00:59.394Z] 00ac8860ef70: Pulling fs layer [2021-02-03T06:00:59.394Z] 63d7cb157983: Pulling fs layer [2021-02-03T06:00:59.394Z] b116817d02f9: Pulling fs layer [2021-02-03T06:00:59.394Z] 745a02a5169b: Pulling fs layer [2021-02-03T06:00:59.394Z] 63d7cb157983: Waiting [2021-02-03T06:00:59.394Z] b116817d02f9: Waiting [2021-02-03T06:00:59.394Z] 745a02a5169b: Waiting [2021-02-03T06:00:59.394Z] 00ac8860ef70: Waiting [2021-02-03T06:00:59.394Z] 18c013af1878: Download complete [2021-02-03T06:00:59.394Z] a4357932f1b6: Verifying Checksum [2021-02-03T06:00:59.394Z] a4357932f1b6: Download complete [2021-02-03T06:00:59.394Z] 63d7cb157983: Download complete [2021-02-03T06:00:59.668Z] b116817d02f9: Verifying Checksum [2021-02-03T06:00:59.668Z] b116817d02f9: Download complete [2021-02-03T06:00:59.668Z] 5f621e34cdf4: Download complete [2021-02-03T06:01:00.289Z] 5f621e34cdf4: Pull complete [2021-02-03T06:01:00.572Z] a4357932f1b6: Pull complete [2021-02-03T06:01:01.187Z] 18c013af1878: Pull complete [2021-02-03T06:01:01.471Z] 745a02a5169b: Verifying Checksum [2021-02-03T06:01:01.472Z] 745a02a5169b: Download complete [2021-02-03T06:01:03.464Z] 00ac8860ef70: Verifying Checksum [2021-02-03T06:01:03.464Z] 00ac8860ef70: Download complete [2021-02-03T06:01:03.525Z] bca2f99d35d6: Pull complete [2021-02-03T06:01:03.526Z] 93359f2a8cfa: Pull complete [2021-02-03T06:01:03.526Z] 7c6f9722023f: Pull complete [2021-02-03T06:01:10.198Z] a35cf1a2eb13: Pull complete [2021-02-03T06:01:10.198Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-03T06:01:10.198Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-03T06:01:10.198Z] ---> a62c8e92a672 [2021-02-03T06:01:10.198Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-02-03T06:01:10.198Z] 20.10.0: Pulling from library/docker [2021-02-03T06:01:10.471Z] 05e7bc50f07f: Pulling fs layer [2021-02-03T06:01:10.471Z] 6db28d0fdbf6: Pulling fs layer [2021-02-03T06:01:10.471Z] 292df0bc6bf3: Pulling fs layer [2021-02-03T06:01:10.471Z] 2e060f4bd70b: Pulling fs layer [2021-02-03T06:01:10.471Z] 80e8d568a223: Pulling fs layer [2021-02-03T06:01:10.471Z] 8dc6ef1a942a: Pulling fs layer [2021-02-03T06:01:10.471Z] 2312dd95470a: Pulling fs layer [2021-02-03T06:01:10.471Z] 2e060f4bd70b: Waiting [2021-02-03T06:01:10.471Z] 8dc6ef1a942a: Waiting [2021-02-03T06:01:10.471Z] 2312dd95470a: Waiting [2021-02-03T06:01:10.471Z] 80e8d568a223: Waiting [2021-02-03T06:01:10.471Z] 292df0bc6bf3: Verifying Checksum [2021-02-03T06:01:10.471Z] 292df0bc6bf3: Download complete [2021-02-03T06:01:10.740Z] 05e7bc50f07f: Verifying Checksum [2021-02-03T06:01:10.740Z] 05e7bc50f07f: Download complete [2021-02-03T06:01:11.018Z] 6db28d0fdbf6: Verifying Checksum [2021-02-03T06:01:11.018Z] 6db28d0fdbf6: Download complete [2021-02-03T06:01:11.018Z] 80e8d568a223: Verifying Checksum [2021-02-03T06:01:11.018Z] 80e8d568a223: Download complete [2021-02-03T06:01:11.294Z] 8dc6ef1a942a: Verifying Checksum [2021-02-03T06:01:11.294Z] 8dc6ef1a942a: Download complete [2021-02-03T06:01:11.294Z] 2312dd95470a: Verifying Checksum [2021-02-03T06:01:11.294Z] 2312dd95470a: Download complete [2021-02-03T06:01:11.294Z] 05e7bc50f07f: Pull complete [2021-02-03T06:01:11.564Z] 6db28d0fdbf6: Pull complete [2021-02-03T06:01:11.835Z] 292df0bc6bf3: Pull complete [2021-02-03T06:01:13.677Z] 00ac8860ef70: Pull complete [2021-02-03T06:01:13.677Z] 63d7cb157983: Pull complete [2021-02-03T06:01:13.954Z] b116817d02f9: Pull complete [2021-02-03T06:01:16.074Z] 2e060f4bd70b: Verifying Checksum [2021-02-03T06:01:16.075Z] 2e060f4bd70b: Download complete [2021-02-03T06:01:17.409Z] 745a02a5169b: Pull complete [2021-02-03T06:01:17.410Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-03T06:01:17.410Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-03T06:01:17.682Z] ---> b7e6874047d6 [2021-02-03T06:01:17.682Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-02-03T06:01:17.682Z] 20.10.0: Pulling from library/docker [2021-02-03T06:01:17.956Z] a3cc7d3b244e: Pulling fs layer [2021-02-03T06:01:17.956Z] 02a3295e0d61: Pulling fs layer [2021-02-03T06:01:17.956Z] 0f4f2e6d8100: Pulling fs layer [2021-02-03T06:01:17.956Z] 330b718f631f: Pulling fs layer [2021-02-03T06:01:17.956Z] a93816041522: Pulling fs layer [2021-02-03T06:01:17.956Z] bdb6da89ff94: Pulling fs layer [2021-02-03T06:01:17.956Z] 2a70c0c122f4: Pulling fs layer [2021-02-03T06:01:17.956Z] 330b718f631f: Waiting [2021-02-03T06:01:17.956Z] 2a70c0c122f4: Waiting [2021-02-03T06:01:18.237Z] 0f4f2e6d8100: Verifying Checksum [2021-02-03T06:01:18.237Z] 0f4f2e6d8100: Download complete [2021-02-03T06:01:18.237Z] a3cc7d3b244e: Verifying Checksum [2021-02-03T06:01:18.237Z] a3cc7d3b244e: Download complete [2021-02-03T06:01:18.237Z] 02a3295e0d61: Verifying Checksum [2021-02-03T06:01:18.237Z] 02a3295e0d61: Download complete [2021-02-03T06:01:18.237Z] a93816041522: Verifying Checksum [2021-02-03T06:01:18.237Z] a93816041522: Download complete [2021-02-03T06:01:18.518Z] bdb6da89ff94: Verifying Checksum [2021-02-03T06:01:18.518Z] bdb6da89ff94: Download complete [2021-02-03T06:01:18.518Z] 2a70c0c122f4: Download complete [2021-02-03T06:01:18.650Z] 2e060f4bd70b: Pull complete [2021-02-03T06:01:18.650Z] 80e8d568a223: Pull complete [2021-02-03T06:01:18.650Z] 8dc6ef1a942a: Pull complete [2021-02-03T06:01:18.650Z] 2312dd95470a: Pull complete [2021-02-03T06:01:18.650Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-02-03T06:01:18.650Z] Status: Downloaded newer image for docker:20.10.0 [2021-02-03T06:01:18.801Z] a3cc7d3b244e: Pull complete [2021-02-03T06:01:19.409Z] 02a3295e0d61: Pull complete [2021-02-03T06:01:20.006Z] 0f4f2e6d8100: Pull complete [2021-02-03T06:01:20.059Z] ---> bfa7532c8732 [2021-02-03T06:01:20.059Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-02-03T06:01:20.325Z] ---> Running in 10651013996b [2021-02-03T06:01:20.325Z] Removing intermediate container 10651013996b [2021-02-03T06:01:20.325Z] ---> de4d08d5c212 [2021-02-03T06:01:20.325Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-02-03T06:01:20.325Z] ---> Running in cd9cb77e9148 [2021-02-03T06:01:20.914Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-03T06:01:21.873Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-03T06:01:23.471Z] (1/5) Installing libsodium (1.0.18-r0) [2021-02-03T06:01:23.471Z] (2/5) Installing libzmq (4.3.3-r0) [2021-02-03T06:01:23.471Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-02-03T06:01:23.471Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-02-03T06:01:23.471Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-02-03T06:01:23.471Z] Executing busybox-1.31.1-r19.trigger [2021-02-03T06:01:23.471Z] OK: 167 MiB in 44 packages [2021-02-03T06:01:23.494Z] 330b718f631f: Verifying Checksum [2021-02-03T06:01:23.494Z] 330b718f631f: Download complete [2021-02-03T06:01:23.742Z] Removing intermediate container cd9cb77e9148 [2021-02-03T06:01:23.742Z] ---> e613cd8e0314 [2021-02-03T06:01:23.742Z] Step 6/8 : WORKDIR /build [2021-02-03T06:01:23.742Z] ---> Running in ce00a5b71b79 [2021-02-03T06:01:24.006Z] Removing intermediate container ce00a5b71b79 [2021-02-03T06:01:24.006Z] ---> ab207044207c [2021-02-03T06:01:24.006Z] Step 7/8 : COPY go.mod . [2021-02-03T06:01:24.272Z] ---> f2f2ee68e207 [2021-02-03T06:01:24.272Z] Step 8/8 : RUN go mod download [2021-02-03T06:01:24.272Z] ---> Running in aef45eda9cca [2021-02-03T06:01:26.127Z] 330b718f631f: Pull complete [2021-02-03T06:01:26.728Z] a93816041522: Pull complete [2021-02-03T06:01:27.002Z] bdb6da89ff94: Pull complete [2021-02-03T06:01:27.276Z] 2a70c0c122f4: Pull complete [2021-02-03T06:01:27.276Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-02-03T06:01:27.276Z] Status: Downloaded newer image for docker:20.10.0 [2021-02-03T06:01:32.700Z] ---> 64a50e1db7ce [2021-02-03T06:01:32.700Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-02-03T06:01:32.973Z] ---> Running in b74444f6e520 [2021-02-03T06:01:33.600Z] Removing intermediate container b74444f6e520 [2021-02-03T06:01:33.600Z] ---> 1b08905bbf43 [2021-02-03T06:01:33.600Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-02-03T06:01:33.600Z] ---> Running in 6e7b4ef84a55 [2021-02-03T06:01:35.061Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-03T06:01:35.662Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-03T06:01:36.286Z] (1/5) Installing libsodium (1.0.18-r0) [2021-02-03T06:01:36.557Z] (2/5) Installing libzmq (4.3.3-r0) [2021-02-03T06:01:36.834Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-02-03T06:01:36.834Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-02-03T06:01:36.834Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-02-03T06:01:37.106Z] Executing busybox-1.31.1-r19.trigger [2021-02-03T06:01:37.106Z] OK: 144 MiB in 44 packages [2021-02-03T06:01:38.542Z] Removing intermediate container 6e7b4ef84a55 [2021-02-03T06:01:38.542Z] ---> 30ec9ebf0a5a [2021-02-03T06:01:38.542Z] Step 6/8 : WORKDIR /build [2021-02-03T06:01:38.542Z] ---> Running in 8ce8dc8c5e92 [2021-02-03T06:01:38.819Z] Removing intermediate container 8ce8dc8c5e92 [2021-02-03T06:01:38.819Z] ---> d978343819ba [2021-02-03T06:01:38.819Z] Step 7/8 : COPY go.mod . [2021-02-03T06:01:39.414Z] ---> 077f0504bd73 [2021-02-03T06:01:39.414Z] Step 8/8 : RUN go mod download [2021-02-03T06:01:39.691Z] ---> Running in 9da912946c40 [2021-02-03T06:01:50.963Z] Removing intermediate container aef45eda9cca [2021-02-03T06:01:50.963Z] ---> 3c87f1698041 [2021-02-03T06:01:50.963Z] Successfully built 3c87f1698041 [2021-02-03T06:01:50.963Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-03T06:01:51.315Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-03T06:01:51.315Z] . [Pipeline] withDockerContainer [2021-02-03T06:01:51.479Z] prd-centos7-docker-4c-2g-24677 does not seem to be running inside a container [2021-02-03T06:01:51.539Z] $ 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 ******** ci-base-image-x86_64 cat [2021-02-03T06:01:52.340Z] $ docker top beadc58e9d199836e66ec0703159e721f0f6cc192bfb17958f228c23c40f1e41 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-03T06:01:52.914Z] + go version [2021-02-03T06:01:52.914Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-03T06:01:52.948Z] $ docker stop --time=1 beadc58e9d199836e66ec0703159e721f0f6cc192bfb17958f228c23c40f1e41 [2021-02-03T06:01:54.300Z] $ docker rm -f beadc58e9d199836e66ec0703159e721f0f6cc192bfb17958f228c23c40f1e41 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-03T06:01:55.454Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-03T06:01:55.454Z] . [Pipeline] withDockerContainer [2021-02-03T06:01:55.573Z] prd-centos7-docker-4c-2g-24677 does not seem to be running inside a container [2021-02-03T06:01:55.627Z] $ 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 ******** ci-base-image-x86_64 cat [2021-02-03T06:01:56.209Z] $ docker top 2f66489c4fc8996c282c6b4a81c498ba5985b999cee50a14bd05dd28840b93fc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-03T06:01:56.769Z] + make test [2021-02-03T06:01:56.769Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-02-03T06:01:58.706Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] [2021-02-03T06:02:06.650Z] Removing intermediate container 9da912946c40 [2021-02-03T06:02:06.650Z] ---> a6d597cb74e4 [2021-02-03T06:02:06.650Z] Successfully built a6d597cb74e4 [2021-02-03T06:02:06.650Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-03T06:02:06.999Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.040s coverage: 82.6% of statements [2021-02-03T06:02:07.075Z] + docker inspect -f . ci-base-image-arm64 [2021-02-03T06:02:07.075Z] . [Pipeline] withDockerContainer [2021-02-03T06:02:07.373Z] prd-ubuntu18.04-docker-arm64-4c-16g-24676 does not seem to be running inside a container [2021-02-03T06:02:07.476Z] $ 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 ******** ci-base-image-arm64 cat [2021-02-03T06:02:09.196Z] $ docker top be4e102760d47ed6b4571be547faa471f1e0dde062ac97f1322877c250cd1067 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-03T06:02:10.251Z] + go version [2021-02-03T06:02:10.251Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-03T06:02:10.311Z] $ docker stop --time=1 be4e102760d47ed6b4571be547faa471f1e0dde062ac97f1322877c250cd1067 [2021-02-03T06:02:12.228Z] $ docker rm -f be4e102760d47ed6b4571be547faa471f1e0dde062ac97f1322877c250cd1067 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-03T06:02:13.443Z] + docker inspect -f . ci-base-image-arm64 [2021-02-03T06:02:13.444Z] . [Pipeline] withDockerContainer [2021-02-03T06:02:13.728Z] prd-ubuntu18.04-docker-arm64-4c-16g-24676 does not seem to be running inside a container [2021-02-03T06:02:13.839Z] $ 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 ******** ci-base-image-arm64 cat [2021-02-03T06:02:15.213Z] $ docker top c2937f9ac7e01146444684c9e443ef359ba6434a911e98f7a64e67b55a85b089 -eo pid,comm [2021-02-03T06:02:15.262Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.041s coverage: 48.6% of statements [2021-02-03T06:02:15.262Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-02-03T06:02:15.262Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-02-03T06:02:15.262Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.039s coverage: 61.5% of statements [2021-02-03T06:02:15.262Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [Pipeline] { [2021-02-03T06:02:15.537Z] --- FAIL: TestProcessMessageNoTransforms (0.00s) [2021-02-03T06:02:15.537Z] runtime_test.go:116: [2021-02-03T06:02:15.537Z] Error Trace: runtime_test.go:116 [2021-02-03T06:02:15.537Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc0002c9950), ErrorCode:400} [2021-02-03T06:02:15.537Z] Test: TestProcessMessageNoTransforms [2021-02-03T06:02:15.537Z] Messages: result should be nil since no transforms have been passed [2021-02-03T06:02:15.537Z] --- FAIL: TestProcessMessageOneCustomTransform (0.00s) [2021-02-03T06:02:15.537Z] runtime_test.go:145: [2021-02-03T06:02:15.537Z] Error Trace: runtime_test.go:145 [2021-02-03T06:02:15.537Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc0002c9bd0), ErrorCode:400} [2021-02-03T06:02:15.537Z] Test: TestProcessMessageOneCustomTransform [2021-02-03T06:02:15.537Z] --- FAIL: TestProcessMessageTwoCustomTransforms (0.00s) [2021-02-03T06:02:15.537Z] runtime_test.go:186: [2021-02-03T06:02:15.537Z] Error Trace: runtime_test.go:186 [2021-02-03T06:02:15.537Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc0002c9e60), ErrorCode:400} [2021-02-03T06:02:15.537Z] Test: TestProcessMessageTwoCustomTransforms [2021-02-03T06:02:15.537Z] --- FAIL: TestProcessMessageThreeCustomTransformsOneFail (0.00s) [2021-02-03T06:02:15.537Z] runtime_test.go:233: [2021-02-03T06:02:15.537Z] Error Trace: runtime_test.go:233 [2021-02-03T06:02:15.537Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc0003240e0), ErrorCode:400} [2021-02-03T06:02:15.537Z] Test: TestProcessMessageThreeCustomTransformsOneFail [2021-02-03T06:02:15.537Z] --- FAIL: TestProcessMessageJSON (0.00s) [2021-02-03T06:02:15.537Z] runtime_test.go:308: [2021-02-03T06:02:15.537Z] Error Trace: runtime_test.go:308 [2021-02-03T06:02:15.537Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc000324470), ErrorCode:400} [2021-02-03T06:02:15.537Z] Test: TestProcessMessageJSON [2021-02-03T06:02:15.537Z] Messages: result should be null. Got &{unable to process Event object received: failed to unmarshal AddEventRequest from content type 'application/json': AddEventRequest.BaseRequest.Versionable.ApiVersion field is required 400} [2021-02-03T06:02:15.537Z] runtime_test.go:309: [2021-02-03T06:02:15.537Z] Error Trace: runtime_test.go:309 [2021-02-03T06:02:15.537Z] Error: Should be true [2021-02-03T06:02:15.537Z] Test: TestProcessMessageJSON [2021-02-03T06:02:15.537Z] Messages: transform1 should have been called [2021-02-03T06:02:15.537Z] --- FAIL: TestProcessMessageTargetType (0.00s) [2021-02-03T06:02:15.537Z] runtime_test.go:423: [2021-02-03T06:02:15.537Z] Error Trace: runtime_test.go:423 [2021-02-03T06:02:15.537Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc000324cd0), ErrorCode:400} [2021-02-03T06:02:15.537Z] Test: TestProcessMessageTargetType [2021-02-03T06:02:15.537Z] Messages: unexpected error for test 'Default Nil Target Type' [2021-02-03T06:02:15.537Z] runtime_test.go:427: [2021-02-03T06:02:15.537Z] Error Trace: runtime_test.go:427 [2021-02-03T06:02:15.537Z] Error: Not equal: [2021-02-03T06:02:15.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, 0x38, 0x32, 0x65, 0x62, 0x32, 0x65, 0x32, 0x36, 0x2d, 0x30, 0x66, 0x32, 0x34, 0x2d, 0x34, 0x38, 0x61, 0x61, 0x2d, 0x61, 0x65, 0x34, 0x63, 0x2d, 0x64, 0x65, 0x39, 0x64, 0x61, 0x63, 0x33, 0x66, 0x62, 0x39, 0x62, 0x63, 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, 0x31, 0x36, 0x31, 0x32, 0x33, 0x33, 0x32, 0x31, 0x33, 0x35, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x33, 0x33, 0x32, 0x31, 0x33, 0x35, 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, 0x38, 0x32, 0x65, 0x62, 0x32, 0x65, 0x32, 0x36, 0x2d, 0x30, 0x66, 0x32, 0x34, 0x2d, 0x34, 0x38, 0x61, 0x61, 0x2d, 0x61, 0x65, 0x34, 0x63, 0x2d, 0x64, 0x65, 0x39, 0x64, 0x61, 0x63, 0x33, 0x66, 0x31, 0x32, 0x33, 0x34, 0x22, 0x2c, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x33, 0x33, 0x32, 0x31, 0x33, 0x35, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x33, 0x33, 0x32, 0x31, 0x33, 0x35, 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-03T06:02:15.537Z] actual : []byte(nil) [2021-02-03T06:02:15.537Z] [2021-02-03T06:02:15.537Z] Diff: [2021-02-03T06:02:15.537Z] --- Expected [2021-02-03T06:02:15.537Z] +++ Actual [2021-02-03T06:02:15.537Z] @@ -1,31 +1,2 @@ [2021-02-03T06:02:15.537Z] -([]uint8) (len=444) { [2021-02-03T06:02:15.537Z] - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| [2021-02-03T06:02:15.537Z] - 00000010 32 22 2c 22 69 64 22 3a 22 38 32 65 62 32 65 32 |2","id":"82eb2e2| [2021-02-03T06:02:15.537Z] - 00000020 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 65 34 63 |6-0f24-48aa-ae4c| [2021-02-03T06:02:15.537Z] - 00000030 2d 64 65 39 64 61 63 33 66 62 39 62 63 22 2c 22 |-de9dac3fb9bc","| [2021-02-03T06:02:15.537Z] - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| [2021-02-03T06:02:15.537Z] - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| [2021-02-03T06:02:15.537Z] - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| [2021-02-03T06:02:15.537Z] - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| [2021-02-03T06:02:15.537Z] - 00000080 72 65 61 74 65 64 22 3a 31 36 31 32 33 33 32 31 |reated":16123321| [2021-02-03T06:02:15.537Z] - 00000090 33 35 2c 22 6f 72 69 67 69 6e 22 3a 31 36 31 32 |35,"origin":1612| [2021-02-03T06:02:15.537Z] - 000000a0 33 33 32 31 33 35 2c 22 72 65 61 64 69 6e 67 73 |332135,"readings| [2021-02-03T06:02:15.537Z] - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| [2021-02-03T06:02:15.537Z] - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 38 32 65 62 |:"v2","id":"82eb| [2021-02-03T06:02:15.537Z] - 000000d0 32 65 32 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 |2e26-0f24-48aa-a| [2021-02-03T06:02:15.537Z] - 000000e0 65 34 63 2d 64 65 39 64 61 63 33 66 31 32 33 34 |e4c-de9dac3f1234| [2021-02-03T06:02:15.537Z] - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 31 36 31 32 |","created":1612| [2021-02-03T06:02:15.537Z] - 00000100 33 33 32 31 33 35 2c 22 6f 72 69 67 69 6e 22 3a |332135,"origin":| [2021-02-03T06:02:15.537Z] - 00000110 31 36 31 32 33 33 32 31 33 35 2c 22 64 65 76 69 |1612332135,"devi| [2021-02-03T06:02:15.537Z] - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| [2021-02-03T06:02:15.537Z] - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| [2021-02-03T06:02:15.537Z] - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| [2021-02-03T06:02:15.537Z] - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| [2021-02-03T06:02:15.537Z] - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| [2021-02-03T06:02:15.537Z] - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| [2021-02-03T06:02:15.537Z] - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| [2021-02-03T06:02:15.537Z] - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| [2021-02-03T06:02:15.537Z] - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| [2021-02-03T06:02:15.537Z] - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| [2021-02-03T06:02:15.537Z] -} [2021-02-03T06:02:15.537Z] +([]uint8) [2021-02-03T06:02:15.537Z] [2021-02-03T06:02:15.537Z] Test: TestProcessMessageTargetType [2021-02-03T06:02:15.537Z] Messages: 'Default Nil Target Type' test failed [2021-02-03T06:02:15.537Z] runtime_test.go:423: [2021-02-03T06:02:15.537Z] Error Trace: runtime_test.go:423 [2021-02-03T06:02:15.537Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc000325050), ErrorCode:400} [2021-02-03T06:02:15.537Z] Test: TestProcessMessageTargetType [2021-02-03T06:02:15.537Z] Messages: unexpected error for test 'Event as Json' [2021-02-03T06:02:15.537Z] runtime_test.go:427: [2021-02-03T06:02:15.537Z] Error Trace: runtime_test.go:427 [2021-02-03T06:02:15.537Z] Error: Not equal: [2021-02-03T06:02:15.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, 0x38, 0x32, 0x65, 0x62, 0x32, 0x65, 0x32, 0x36, 0x2d, 0x30, 0x66, 0x32, 0x34, 0x2d, 0x34, 0x38, 0x61, 0x61, 0x2d, 0x61, 0x65, 0x34, 0x63, 0x2d, 0x64, 0x65, 0x39, 0x64, 0x61, 0x63, 0x33, 0x66, 0x62, 0x39, 0x62, 0x63, 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, 0x31, 0x36, 0x31, 0x32, 0x33, 0x33, 0x32, 0x31, 0x33, 0x35, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x33, 0x33, 0x32, 0x31, 0x33, 0x35, 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, 0x38, 0x32, 0x65, 0x62, 0x32, 0x65, 0x32, 0x36, 0x2d, 0x30, 0x66, 0x32, 0x34, 0x2d, 0x34, 0x38, 0x61, 0x61, 0x2d, 0x61, 0x65, 0x34, 0x63, 0x2d, 0x64, 0x65, 0x39, 0x64, 0x61, 0x63, 0x33, 0x66, 0x31, 0x32, 0x33, 0x34, 0x22, 0x2c, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x33, 0x33, 0x32, 0x31, 0x33, 0x35, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x33, 0x33, 0x32, 0x31, 0x33, 0x35, 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-03T06:02:15.538Z] actual : []byte(nil) [2021-02-03T06:02:15.538Z] [2021-02-03T06:02:15.538Z] Diff: [2021-02-03T06:02:15.538Z] --- Expected [2021-02-03T06:02:15.538Z] +++ Actual [2021-02-03T06:02:15.538Z] @@ -1,31 +1,2 @@ [2021-02-03T06:02:15.538Z] -([]uint8) (len=444) { [2021-02-03T06:02:15.538Z] - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| [2021-02-03T06:02:15.538Z] - 00000010 32 22 2c 22 69 64 22 3a 22 38 32 65 62 32 65 32 |2","id":"82eb2e2| [2021-02-03T06:02:15.538Z] - 00000020 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 65 34 63 |6-0f24-48aa-ae4c| [2021-02-03T06:02:15.538Z] - 00000030 2d 64 65 39 64 61 63 33 66 62 39 62 63 22 2c 22 |-de9dac3fb9bc","| [2021-02-03T06:02:15.538Z] - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| [2021-02-03T06:02:15.538Z] - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| [2021-02-03T06:02:15.538Z] - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| [2021-02-03T06:02:15.538Z] - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| [2021-02-03T06:02:15.538Z] - 00000080 72 65 61 74 65 64 22 3a 31 36 31 32 33 33 32 31 |reated":16123321| [2021-02-03T06:02:15.538Z] - 00000090 33 35 2c 22 6f 72 69 67 69 6e 22 3a 31 36 31 32 |35,"origin":1612| [2021-02-03T06:02:15.538Z] - 000000a0 33 33 32 31 33 35 2c 22 72 65 61 64 69 6e 67 73 |332135,"readings| [2021-02-03T06:02:15.538Z] - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| [2021-02-03T06:02:15.538Z] - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 38 32 65 62 |:"v2","id":"82eb| [2021-02-03T06:02:15.538Z] - 000000d0 32 65 32 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 |2e26-0f24-48aa-a| [2021-02-03T06:02:15.538Z] - 000000e0 65 34 63 2d 64 65 39 64 61 63 33 66 31 32 33 34 |e4c-de9dac3f1234| [2021-02-03T06:02:15.538Z] - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 31 36 31 32 |","created":1612| [2021-02-03T06:02:15.538Z] - 00000100 33 33 32 31 33 35 2c 22 6f 72 69 67 69 6e 22 3a |332135,"origin":| [2021-02-03T06:02:15.538Z] - 00000110 31 36 31 32 33 33 32 31 33 35 2c 22 64 65 76 69 |1612332135,"devi| [2021-02-03T06:02:15.538Z] - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| [2021-02-03T06:02:15.538Z] - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| [2021-02-03T06:02:15.538Z] - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| [2021-02-03T06:02:15.538Z] - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| [2021-02-03T06:02:15.538Z] - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| [2021-02-03T06:02:15.538Z] - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| [2021-02-03T06:02:15.538Z] - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| [2021-02-03T06:02:15.538Z] - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| [2021-02-03T06:02:15.538Z] - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| [2021-02-03T06:02:15.538Z] - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| [2021-02-03T06:02:15.538Z] -} [2021-02-03T06:02:15.538Z] +([]uint8) [2021-02-03T06:02:15.538Z] [2021-02-03T06:02:15.538Z] Test: TestProcessMessageTargetType [2021-02-03T06:02:15.538Z] Messages: 'Event as Json' test failed [2021-02-03T06:02:15.538Z] runtime_test.go:423: [2021-02-03T06:02:15.538Z] Error Trace: runtime_test.go:423 [2021-02-03T06:02:15.538Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc0003254d0), ErrorCode:400} [2021-02-03T06:02:15.538Z] Test: TestProcessMessageTargetType [2021-02-03T06:02:15.538Z] Messages: unexpected error for test 'Event as Cbor' [2021-02-03T06:02:15.538Z] runtime_test.go:427: [2021-02-03T06:02:15.538Z] Error Trace: runtime_test.go:427 [2021-02-03T06:02:15.538Z] Error: Not equal: [2021-02-03T06:02:15.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, 0x38, 0x32, 0x65, 0x62, 0x32, 0x65, 0x32, 0x36, 0x2d, 0x30, 0x66, 0x32, 0x34, 0x2d, 0x34, 0x38, 0x61, 0x61, 0x2d, 0x61, 0x65, 0x34, 0x63, 0x2d, 0x64, 0x65, 0x39, 0x64, 0x61, 0x63, 0x33, 0x66, 0x62, 0x39, 0x62, 0x63, 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, 0x31, 0x36, 0x31, 0x32, 0x33, 0x33, 0x32, 0x31, 0x33, 0x35, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x33, 0x33, 0x32, 0x31, 0x33, 0x35, 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, 0x38, 0x32, 0x65, 0x62, 0x32, 0x65, 0x32, 0x36, 0x2d, 0x30, 0x66, 0x32, 0x34, 0x2d, 0x34, 0x38, 0x61, 0x61, 0x2d, 0x61, 0x65, 0x34, 0x63, 0x2d, 0x64, 0x65, 0x39, 0x64, 0x61, 0x63, 0x33, 0x66, 0x31, 0x32, 0x33, 0x34, 0x22, 0x2c, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x33, 0x33, 0x32, 0x31, 0x33, 0x35, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x33, 0x33, 0x32, 0x31, 0x33, 0x35, 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-03T06:02:15.538Z] actual : []byte(nil) [2021-02-03T06:02:15.538Z] [2021-02-03T06:02:15.538Z] Diff: [2021-02-03T06:02:15.538Z] --- Expected [2021-02-03T06:02:15.538Z] +++ Actual [2021-02-03T06:02:15.538Z] @@ -1,31 +1,2 @@ [2021-02-03T06:02:15.538Z] -([]uint8) (len=444) { [2021-02-03T06:02:15.538Z] - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| [2021-02-03T06:02:15.538Z] - 00000010 32 22 2c 22 69 64 22 3a 22 38 32 65 62 32 65 32 |2","id":"82eb2e2| [2021-02-03T06:02:15.538Z] - 00000020 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 65 34 63 |6-0f24-48aa-ae4c| [2021-02-03T06:02:15.538Z] - 00000030 2d 64 65 39 64 61 63 33 66 62 39 62 63 22 2c 22 |-de9dac3fb9bc","| [2021-02-03T06:02:15.538Z] - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| [2021-02-03T06:02:15.538Z] - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| [2021-02-03T06:02:15.538Z] - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| [2021-02-03T06:02:15.538Z] - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| [2021-02-03T06:02:15.538Z] - 00000080 72 65 61 74 65 64 22 3a 31 36 31 32 33 33 32 31 |reated":16123321| [2021-02-03T06:02:15.538Z] - 00000090 33 35 2c 22 6f 72 69 67 69 6e 22 3a 31 36 31 32 |35,"origin":1612| [2021-02-03T06:02:15.538Z] - 000000a0 33 33 32 31 33 35 2c 22 72 65 61 64 69 6e 67 73 |332135,"readings| [2021-02-03T06:02:15.538Z] - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| [2021-02-03T06:02:15.538Z] - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 38 32 65 62 |:"v2","id":"82eb| [2021-02-03T06:02:15.538Z] - 000000d0 32 65 32 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 |2e26-0f24-48aa-a| [2021-02-03T06:02:15.538Z] - 000000e0 65 34 63 2d 64 65 39 64 61 63 33 66 31 32 33 34 |e4c-de9dac3f1234| [2021-02-03T06:02:15.538Z] - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 31 36 31 32 |","created":1612| [2021-02-03T06:02:15.538Z] - 00000100 33 33 32 31 33 35 2c 22 6f 72 69 67 69 6e 22 3a |332135,"origin":| [2021-02-03T06:02:15.538Z] - 00000110 31 36 31 32 33 33 32 31 33 35 2c 22 64 65 76 69 |1612332135,"devi| [2021-02-03T06:02:15.538Z] - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| [2021-02-03T06:02:15.538Z] - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| [2021-02-03T06:02:15.538Z] - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| [2021-02-03T06:02:15.538Z] - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| [2021-02-03T06:02:15.538Z] - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| [2021-02-03T06:02:15.538Z] - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| [2021-02-03T06:02:15.538Z] - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| [2021-02-03T06:02:15.538Z] - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| [2021-02-03T06:02:15.538Z] - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| [2021-02-03T06:02:15.538Z] - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| [2021-02-03T06:02:15.538Z] -} [2021-02-03T06:02:15.538Z] +([]uint8) [2021-02-03T06:02:15.538Z] [2021-02-03T06:02:15.538Z] Test: TestProcessMessageTargetType [2021-02-03T06:02:15.538Z] Messages: 'Event as Cbor' test failed [2021-02-03T06:02:15.538Z] --- FAIL: TestGolangRuntime_unmarshalV2Event (0.00s) [2021-02-03T06:02:15.538Z] --- FAIL: TestGolangRuntime_unmarshalV2Event/JSON_V2_Event (0.00s) [2021-02-03T06:02:15.538Z] runtime_test.go:599: [2021-02-03T06:02:15.538Z] Error Trace: runtime_test.go:599 [2021-02-03T06:02:15.538Z] Error: Received unexpected error: [2021-02-03T06:02:15.538Z] failed to unmarshal AddEventRequest from content type 'application/json': AddEventRequest.BaseRequest.Versionable.ApiVersion field is required [2021-02-03T06:02:15.538Z] Test: TestGolangRuntime_unmarshalV2Event/JSON_V2_Event [2021-02-03T06:02:15.538Z] --- FAIL: TestGolangRuntime_unmarshalV2Event/CBOR_V2_Event (0.00s) [2021-02-03T06:02:15.538Z] runtime_test.go:599: [2021-02-03T06:02:15.538Z] Error Trace: runtime_test.go:599 [2021-02-03T06:02:15.538Z] Error: Received unexpected error: [2021-02-03T06:02:15.538Z] validation failed on AddEventRequest: AddEventRequest.BaseRequest.Versionable.ApiVersion field is required [2021-02-03T06:02:15.538Z] Test: TestGolangRuntime_unmarshalV2Event/CBOR_V2_Event [2021-02-03T06:02:15.538Z] FAIL [2021-02-03T06:02:15.538Z] coverage: 73.4% of statements [2021-02-03T06:02:15.538Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.075s [2021-02-03T06:02:15.538Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-02-03T06:02:15.538Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-02-03T06:02:15.538Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-02-03T06:02:15.538Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-02-03T06:02:15.538Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-02-03T06:02:15.538Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-02-03T06:02:15.538Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.012s coverage: 97.0% of statements [2021-02-03T06:02:15.538Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-02-03T06:02:15.538Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.022s coverage: 8.8% of statements [Pipeline] sh [2021-02-03T06:02:16.244Z] + make test [2021-02-03T06:02:16.244Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-02-03T06:02:17.684Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] [2021-02-03T06:02:33.716Z] --- FAIL: TestInitializeAndProcessEventWithNoOutput (3.30s) [2021-02-03T06:02:33.716Z] messaging_test.go:206: [2021-02-03T06:02:33.716Z] Error Trace: messaging_test.go:206 [2021-02-03T06:02:33.716Z] Error: Should be true [2021-02-03T06:02:33.716Z] Test: TestInitializeAndProcessEventWithNoOutput [2021-02-03T06:02:33.716Z] Messages: Transform never called [2021-02-03T06:02:33.716Z] --- FAIL: TestInitializeAndProcessEventWithOutput (3.30s) [2021-02-03T06:02:33.716Z] messaging_test.go:290: [2021-02-03T06:02:33.716Z] Error Trace: messaging_test.go:290 [2021-02-03T06:02:33.716Z] Error: Should be true [2021-02-03T06:02:33.716Z] Test: TestInitializeAndProcessEventWithOutput [2021-02-03T06:02:33.716Z] Messages: Transform never called [2021-02-03T06:02:33.716Z] --- FAIL: TestInitializeAndProcessEventWithOutput_InferJSON (3.30s) [2021-02-03T06:02:33.716Z] messaging_test.go:385: [2021-02-03T06:02:33.716Z] Error Trace: messaging_test.go:385 [2021-02-03T06:02:33.716Z] Error: Should be true [2021-02-03T06:02:33.716Z] Test: TestInitializeAndProcessEventWithOutput_InferJSON [2021-02-03T06:02:33.716Z] Messages: Transform never called [2021-02-03T06:02:33.716Z] --- FAIL: TestInitializeAndProcessEventWithOutput_AssumeCBOR (3.31s) [2021-02-03T06:02:33.716Z] messaging_test.go:477: [2021-02-03T06:02:33.716Z] Error Trace: messaging_test.go:477 [2021-02-03T06:02:33.716Z] Error: Should be true [2021-02-03T06:02:33.716Z] Test: TestInitializeAndProcessEventWithOutput_AssumeCBOR [2021-02-03T06:02:33.716Z] Messages: Transform never called [2021-02-03T06:02:33.716Z] --- FAIL: TestInitializeAndProcessEventMultipleTopics (3.30s) [2021-02-03T06:02:33.716Z] messaging_test.go:638: [2021-02-03T06:02:33.716Z] Error Trace: messaging_test.go:638 [2021-02-03T06:02:33.716Z] Error: Transform never called for t1 [2021-02-03T06:02:33.716Z] Test: TestInitializeAndProcessEventMultipleTopics [2021-02-03T06:02:33.716Z] FAIL [2021-02-03T06:02:33.716Z] coverage: 62.0% of statements [2021-02-03T06:02:33.716Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 16.851s [2021-02-03T06:02:33.716Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-02-03T06:02:33.716Z] --- FAIL: TestAddSecretRequest (0.00s) [2021-02-03T06:02:33.716Z] --- FAIL: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash (0.00s) [2021-02-03T06:02:33.716Z] controller_test.go:261: [2021-02-03T06:02:33.716Z] Error Trace: controller_test.go:261 [2021-02-03T06:02:33.716Z] Error: Not equal: [2021-02-03T06:02:33.716Z] expected: 201 [2021-02-03T06:02:33.716Z] actual : 400 [2021-02-03T06:02:33.716Z] Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash [2021-02-03T06:02:33.716Z] Messages: HTTP status code not as expected [2021-02-03T06:02:33.716Z] controller_test.go:263: [2021-02-03T06:02:33.716Z] Error Trace: controller_test.go:263 [2021-02-03T06:02:33.716Z] Error: Not equal: [2021-02-03T06:02:33.716Z] expected: 201 [2021-02-03T06:02:33.716Z] actual : 400 [2021-02-03T06:02:33.716Z] Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash [2021-02-03T06:02:33.716Z] Messages: BaseResponse status code not as expected [2021-02-03T06:02:33.716Z] controller_test.go:270: [2021-02-03T06:02:33.716Z] Error Trace: controller_test.go:270 [2021-02-03T06:02:33.716Z] Error: Not equal: [2021-02-03T06:02:33.716Z] expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-02-03T06:02:33.716Z] actual : "" [2021-02-03T06:02:33.716Z] [2021-02-03T06:02:33.716Z] Diff: [2021-02-03T06:02:33.716Z] --- Expected [2021-02-03T06:02:33.716Z] +++ Actual [2021-02-03T06:02:33.716Z] @@ -1 +1 @@ [2021-02-03T06:02:33.716Z] -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-03T06:02:33.716Z] + [2021-02-03T06:02:33.716Z] Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash [2021-02-03T06:02:33.716Z] Messages: RequestID not as expected [2021-02-03T06:02:33.716Z] controller_test.go:271: [2021-02-03T06:02:33.716Z] Error Trace: controller_test.go:271 [2021-02-03T06:02:33.716Z] Error: Should be empty, but was JSON decode failed [2021-02-03T06:02:33.716Z] Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash [2021-02-03T06:02:33.716Z] Messages: Message not empty, as expected [2021-02-03T06:02:33.716Z] --- FAIL: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash (0.00s) [2021-02-03T06:02:33.716Z] controller_test.go:261: [2021-02-03T06:02:33.716Z] Error Trace: controller_test.go:261 [2021-02-03T06:02:33.716Z] Error: Not equal: [2021-02-03T06:02:33.716Z] expected: 201 [2021-02-03T06:02:33.716Z] actual : 400 [2021-02-03T06:02:33.716Z] Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-03T06:02:33.716Z] Messages: HTTP status code not as expected [2021-02-03T06:02:33.716Z] controller_test.go:263: [2021-02-03T06:02:33.716Z] Error Trace: controller_test.go:263 [2021-02-03T06:02:33.716Z] Error: Not equal: [2021-02-03T06:02:33.716Z] expected: 201 [2021-02-03T06:02:33.716Z] actual : 400 [2021-02-03T06:02:33.716Z] Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-03T06:02:33.716Z] Messages: BaseResponse status code not as expected [2021-02-03T06:02:33.716Z] controller_test.go:270: [2021-02-03T06:02:33.716Z] Error Trace: controller_test.go:270 [2021-02-03T06:02:33.716Z] Error: Not equal: [2021-02-03T06:02:33.716Z] expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-02-03T06:02:33.716Z] actual : "" [2021-02-03T06:02:33.716Z] [2021-02-03T06:02:33.716Z] Diff: [2021-02-03T06:02:33.716Z] --- Expected [2021-02-03T06:02:33.716Z] +++ Actual [2021-02-03T06:02:33.716Z] @@ -1 +1 @@ [2021-02-03T06:02:33.716Z] -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-03T06:02:33.716Z] + [2021-02-03T06:02:33.716Z] Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-03T06:02:33.716Z] Messages: RequestID not as expected [2021-02-03T06:02:33.716Z] controller_test.go:271: [2021-02-03T06:02:33.716Z] Error Trace: controller_test.go:271 [2021-02-03T06:02:33.716Z] Error: Should be empty, but was JSON decode failed [2021-02-03T06:02:33.716Z] Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-03T06:02:33.716Z] Messages: Message not empty, as expected [2021-02-03T06:02:33.716Z] --- FAIL: TestAddSecretRequest/Valid_-_both_trailing_slashes (0.00s) [2021-02-03T06:02:33.716Z] controller_test.go:261: [2021-02-03T06:02:33.716Z] Error Trace: controller_test.go:261 [2021-02-03T06:02:33.716Z] Error: Not equal: [2021-02-03T06:02:33.716Z] expected: 201 [2021-02-03T06:02:33.716Z] actual : 400 [2021-02-03T06:02:33.716Z] Test: TestAddSecretRequest/Valid_-_both_trailing_slashes [2021-02-03T06:02:33.716Z] Messages: HTTP status code not as expected [2021-02-03T06:02:33.716Z] controller_test.go:263: [2021-02-03T06:02:33.716Z] Error Trace: controller_test.go:263 [2021-02-03T06:02:33.716Z] Error: Not equal: [2021-02-03T06:02:33.716Z] expected: 201 [2021-02-03T06:02:33.716Z] actual : 400 [2021-02-03T06:02:33.716Z] Test: TestAddSecretRequest/Valid_-_both_trailing_slashes [2021-02-03T06:02:33.716Z] Messages: BaseResponse status code not as expected [2021-02-03T06:02:33.716Z] controller_test.go:270: [2021-02-03T06:02:33.716Z] Error Trace: controller_test.go:270 [2021-02-03T06:02:33.716Z] Error: Not equal: [2021-02-03T06:02:33.716Z] expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-02-03T06:02:33.716Z] actual : "" [2021-02-03T06:02:33.716Z] [2021-02-03T06:02:33.716Z] Diff: [2021-02-03T06:02:33.716Z] --- Expected [2021-02-03T06:02:33.716Z] +++ Actual [2021-02-03T06:02:33.716Z] @@ -1 +1 @@ [2021-02-03T06:02:33.716Z] -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-03T06:02:33.716Z] + [2021-02-03T06:02:33.716Z] Test: TestAddSecretRequest/Valid_-_both_trailing_slashes [2021-02-03T06:02:33.716Z] Messages: RequestID not as expected [2021-02-03T06:02:33.716Z] controller_test.go:271: [2021-02-03T06:02:33.716Z] Error Trace: controller_test.go:271 [2021-02-03T06:02:33.716Z] Error: Should be empty, but was JSON decode failed [2021-02-03T06:02:33.716Z] Test: TestAddSecretRequest/Valid_-_both_trailing_slashes [2021-02-03T06:02:33.716Z] Messages: Message not empty, as expected [2021-02-03T06:02:33.716Z] --- FAIL: TestAddSecretRequest/Valid_-_no_requestId (0.00s) [2021-02-03T06:02:33.716Z] controller_test.go:261: [2021-02-03T06:02:33.716Z] Error Trace: controller_test.go:261 [2021-02-03T06:02:33.716Z] Error: Not equal: [2021-02-03T06:02:33.716Z] expected: 201 [2021-02-03T06:02:33.716Z] actual : 400 [2021-02-03T06:02:33.716Z] Test: TestAddSecretRequest/Valid_-_no_requestId [2021-02-03T06:02:33.716Z] Messages: HTTP status code not as expected [2021-02-03T06:02:33.717Z] controller_test.go:263: [2021-02-03T06:02:33.717Z] Error Trace: controller_test.go:263 [2021-02-03T06:02:33.717Z] Error: Not equal: [2021-02-03T06:02:33.717Z] expected: 201 [2021-02-03T06:02:33.717Z] actual : 400 [2021-02-03T06:02:33.717Z] Test: TestAddSecretRequest/Valid_-_no_requestId [2021-02-03T06:02:33.717Z] Messages: BaseResponse status code not as expected [2021-02-03T06:02:33.717Z] controller_test.go:271: [2021-02-03T06:02:33.717Z] Error Trace: controller_test.go:271 [2021-02-03T06:02:33.717Z] Error: Should be empty, but was JSON decode failed [2021-02-03T06:02:33.717Z] Test: TestAddSecretRequest/Valid_-_no_requestId [2021-02-03T06:02:33.717Z] Messages: Message not empty, as expected [2021-02-03T06:02:33.717Z] --- FAIL: TestAddSecretRequest/Invalid_-_No_Secret_Store (0.00s) [2021-02-03T06:02:33.717Z] controller_test.go:261: [2021-02-03T06:02:33.717Z] Error Trace: controller_test.go:261 [2021-02-03T06:02:33.717Z] Error: Not equal: [2021-02-03T06:02:33.717Z] expected: 500 [2021-02-03T06:02:33.717Z] actual : 400 [2021-02-03T06:02:33.717Z] Test: TestAddSecretRequest/Invalid_-_No_Secret_Store [2021-02-03T06:02:33.717Z] Messages: HTTP status code not as expected [2021-02-03T06:02:33.717Z] controller_test.go:263: [2021-02-03T06:02:33.717Z] Error Trace: controller_test.go:263 [2021-02-03T06:02:33.717Z] Error: Not equal: [2021-02-03T06:02:33.717Z] expected: 500 [2021-02-03T06:02:33.717Z] actual : 400 [2021-02-03T06:02:33.717Z] Test: TestAddSecretRequest/Invalid_-_No_Secret_Store [2021-02-03T06:02:33.717Z] Messages: BaseResponse status code not as expected [2021-02-03T06:02:33.717Z] FAIL [2021-02-03T06:02:33.717Z] coverage: 63.8% of statements [2021-02-03T06:02:33.717Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.016s [2021-02-03T06:02:33.717Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.015s coverage: 80.5% of statements [2021-02-03T06:02:33.717Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.010s coverage: 71.7% of statements [2021-02-03T06:02:43.786Z] --- FAIL: TestTransformToJSON (0.00s) [2021-02-03T06:02:43.786Z] conversion_test.go:130: [2021-02-03T06:02:43.786Z] Error Trace: conversion_test.go:130 [2021-02-03T06:02:43.786Z] Error: Not equal: [2021-02-03T06:02:43.786Z] expected: "{\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" [2021-02-03T06:02:43.786Z] actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" [2021-02-03T06:02:43.786Z] [2021-02-03T06:02:43.786Z] Diff: [2021-02-03T06:02:43.786Z] --- Expected [2021-02-03T06:02:43.786Z] +++ Actual [2021-02-03T06:02:43.786Z] @@ -1 +1 @@ [2021-02-03T06:02:43.786Z] -{"id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} [2021-02-03T06:02:43.786Z] +{"apiVersion":"","id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} [2021-02-03T06:02:43.786Z] Test: TestTransformToJSON [2021-02-03T06:02:43.786Z] --- FAIL: TestTransformToJSONMultipleParametersValid (0.00s) [2021-02-03T06:02:43.786Z] conversion_test.go:157: [2021-02-03T06:02:43.786Z] Error Trace: conversion_test.go:157 [2021-02-03T06:02:43.786Z] Error: Not equal: [2021-02-03T06:02:43.786Z] expected: "{\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" [2021-02-03T06:02:43.786Z] actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" [2021-02-03T06:02:43.786Z] [2021-02-03T06:02:43.786Z] Diff: [2021-02-03T06:02:43.786Z] --- Expected [2021-02-03T06:02:43.786Z] +++ Actual [2021-02-03T06:02:43.786Z] @@ -1 +1 @@ [2021-02-03T06:02:43.786Z] -{"id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} [2021-02-03T06:02:43.786Z] +{"apiVersion":"","id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} [2021-02-03T06:02:43.786Z] Test: TestTransformToJSONMultipleParametersValid [2021-02-03T06:02:43.786Z] --- FAIL: TestTransformToJSONMultipleParametersTwoEvents (0.00s) [2021-02-03T06:02:43.786Z] conversion_test.go:175: [2021-02-03T06:02:43.786Z] Error Trace: conversion_test.go:175 [2021-02-03T06:02:43.786Z] Error: Not equal: [2021-02-03T06:02:43.786Z] expected: "{\"id\":\"\",\"deviceName\":\"id2\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" [2021-02-03T06:02:43.786Z] actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"id2\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" [2021-02-03T06:02:43.786Z] [2021-02-03T06:02:43.786Z] Diff: [2021-02-03T06:02:43.786Z] --- Expected [2021-02-03T06:02:43.786Z] +++ Actual [2021-02-03T06:02:43.786Z] @@ -1 +1 @@ [2021-02-03T06:02:43.786Z] -{"id":"","deviceName":"id2","profileName":"","created":0,"origin":0,"readings":null} [2021-02-03T06:02:43.786Z] +{"apiVersion":"","id":"","deviceName":"id2","profileName":"","created":0,"origin":0,"readings":null} [2021-02-03T06:02:43.786Z] Test: TestTransformToJSONMultipleParametersTwoEvents [2021-02-03T06:02:43.786Z] FAIL [2021-02-03T06:02:43.786Z] coverage: 81.4% of statements [2021-02-03T06:02:43.786Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.037s [2021-02-03T06:02:43.786Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.009s coverage: 94.4% of statements [2021-02-03T06:02:43.786Z] FAIL [2021-02-03T06:02:43.786Z] make: *** [Makefile:6: test] Error 1 [Pipeline] } [2021-02-03T06:02:43.842Z] $ docker stop --time=1 2f66489c4fc8996c282c6b4a81c498ba5985b999cee50a14bd05dd28840b93fc [2021-02-03T06:02:44.567Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.061s coverage: 82.6% of statements [2021-02-03T06:02:45.497Z] $ docker rm -f 2f66489c4fc8996c282c6b4a81c498ba5985b999cee50a14bd05dd28840b93fc [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-03T06:02:48.038Z] Failed in branch amd64 [2021-02-03T06:03:06.808Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.068s coverage: 48.6% of statements [2021-02-03T06:03:06.808Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-02-03T06:03:06.808Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-02-03T06:03:06.808Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.076s coverage: 61.5% of statements [2021-02-03T06:03:06.808Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-02-03T06:03:06.808Z] --- FAIL: TestProcessMessageNoTransforms (0.00s) [2021-02-03T06:03:06.808Z] runtime_test.go:116: [2021-02-03T06:03:06.808Z] Error Trace: runtime_test.go:116 [2021-02-03T06:03:06.808Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x40002c7950), ErrorCode:400} [2021-02-03T06:03:06.808Z] Test: TestProcessMessageNoTransforms [2021-02-03T06:03:06.808Z] Messages: result should be nil since no transforms have been passed [2021-02-03T06:03:06.808Z] --- FAIL: TestProcessMessageOneCustomTransform (0.00s) [2021-02-03T06:03:06.808Z] runtime_test.go:145: [2021-02-03T06:03:06.808Z] Error Trace: runtime_test.go:145 [2021-02-03T06:03:06.808Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x400008e1e0), ErrorCode:400} [2021-02-03T06:03:06.808Z] Test: TestProcessMessageOneCustomTransform [2021-02-03T06:03:06.808Z] --- FAIL: TestProcessMessageTwoCustomTransforms (0.00s) [2021-02-03T06:03:06.808Z] runtime_test.go:186: [2021-02-03T06:03:06.808Z] Error Trace: runtime_test.go:186 [2021-02-03T06:03:06.808Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x400008e470), ErrorCode:400} [2021-02-03T06:03:06.808Z] Test: TestProcessMessageTwoCustomTransforms [2021-02-03T06:03:06.808Z] --- FAIL: TestProcessMessageThreeCustomTransformsOneFail (0.00s) [2021-02-03T06:03:06.808Z] runtime_test.go:233: [2021-02-03T06:03:06.808Z] Error Trace: runtime_test.go:233 [2021-02-03T06:03:06.808Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x400008e6f0), ErrorCode:400} [2021-02-03T06:03:06.808Z] Test: TestProcessMessageThreeCustomTransformsOneFail [2021-02-03T06:03:06.808Z] --- FAIL: TestProcessMessageJSON (0.00s) [2021-02-03T06:03:06.808Z] runtime_test.go:308: [2021-02-03T06:03:06.808Z] Error Trace: runtime_test.go:308 [2021-02-03T06:03:06.808Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x400008ea80), ErrorCode:400} [2021-02-03T06:03:06.808Z] Test: TestProcessMessageJSON [2021-02-03T06:03:06.808Z] Messages: result should be null. Got &{unable to process Event object received: failed to unmarshal AddEventRequest from content type 'application/json': AddEventRequest.BaseRequest.Versionable.ApiVersion field is required 400} [2021-02-03T06:03:06.808Z] runtime_test.go:309: [2021-02-03T06:03:06.808Z] Error Trace: runtime_test.go:309 [2021-02-03T06:03:06.808Z] Error: Should be true [2021-02-03T06:03:06.808Z] Test: TestProcessMessageJSON [2021-02-03T06:03:06.808Z] Messages: transform1 should have been called [2021-02-03T06:03:06.808Z] --- FAIL: TestProcessMessageTargetType (0.01s) [2021-02-03T06:03:06.808Z] runtime_test.go:423: [2021-02-03T06:03:06.808Z] Error Trace: runtime_test.go:423 [2021-02-03T06:03:06.809Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x400008f2e0), ErrorCode:400} [2021-02-03T06:03:06.809Z] Test: TestProcessMessageTargetType [2021-02-03T06:03:06.809Z] Messages: unexpected error for test 'Default Nil Target Type' [2021-02-03T06:03:06.809Z] runtime_test.go:427: [2021-02-03T06:03:06.809Z] Error Trace: runtime_test.go:427 [2021-02-03T06:03:06.809Z] Error: Not equal: [2021-02-03T06:03:06.809Z] 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, 0x38, 0x32, 0x65, 0x62, 0x32, 0x65, 0x32, 0x36, 0x2d, 0x30, 0x66, 0x32, 0x34, 0x2d, 0x34, 0x38, 0x61, 0x61, 0x2d, 0x61, 0x65, 0x34, 0x63, 0x2d, 0x64, 0x65, 0x39, 0x64, 0x61, 0x63, 0x33, 0x66, 0x62, 0x39, 0x62, 0x63, 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, 0x31, 0x36, 0x31, 0x32, 0x33, 0x33, 0x32, 0x31, 0x38, 0x30, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x33, 0x33, 0x32, 0x31, 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, 0x38, 0x32, 0x65, 0x62, 0x32, 0x65, 0x32, 0x36, 0x2d, 0x30, 0x66, 0x32, 0x34, 0x2d, 0x34, 0x38, 0x61, 0x61, 0x2d, 0x61, 0x65, 0x34, 0x63, 0x2d, 0x64, 0x65, 0x39, 0x64, 0x61, 0x63, 0x33, 0x66, 0x31, 0x32, 0x33, 0x34, 0x22, 0x2c, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x33, 0x33, 0x32, 0x31, 0x38, 0x30, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x33, 0x33, 0x32, 0x31, 0x38, 0x30, 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-03T06:03:06.809Z] actual : []byte(nil) [2021-02-03T06:03:06.809Z] [2021-02-03T06:03:06.809Z] Diff: [2021-02-03T06:03:06.809Z] --- Expected [2021-02-03T06:03:06.809Z] +++ Actual [2021-02-03T06:03:06.809Z] @@ -1,31 +1,2 @@ [2021-02-03T06:03:06.809Z] -([]uint8) (len=444) { [2021-02-03T06:03:06.809Z] - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| [2021-02-03T06:03:06.809Z] - 00000010 32 22 2c 22 69 64 22 3a 22 38 32 65 62 32 65 32 |2","id":"82eb2e2| [2021-02-03T06:03:06.809Z] - 00000020 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 65 34 63 |6-0f24-48aa-ae4c| [2021-02-03T06:03:06.809Z] - 00000030 2d 64 65 39 64 61 63 33 66 62 39 62 63 22 2c 22 |-de9dac3fb9bc","| [2021-02-03T06:03:06.809Z] - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| [2021-02-03T06:03:06.809Z] - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| [2021-02-03T06:03:06.809Z] - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| [2021-02-03T06:03:06.809Z] - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| [2021-02-03T06:03:06.809Z] - 00000080 72 65 61 74 65 64 22 3a 31 36 31 32 33 33 32 31 |reated":16123321| [2021-02-03T06:03:06.809Z] - 00000090 38 30 2c 22 6f 72 69 67 69 6e 22 3a 31 36 31 32 |80,"origin":1612| [2021-02-03T06:03:06.809Z] - 000000a0 33 33 32 31 38 30 2c 22 72 65 61 64 69 6e 67 73 |332180,"readings| [2021-02-03T06:03:06.809Z] - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| [2021-02-03T06:03:06.809Z] - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 38 32 65 62 |:"v2","id":"82eb| [2021-02-03T06:03:06.809Z] - 000000d0 32 65 32 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 |2e26-0f24-48aa-a| [2021-02-03T06:03:06.809Z] - 000000e0 65 34 63 2d 64 65 39 64 61 63 33 66 31 32 33 34 |e4c-de9dac3f1234| [2021-02-03T06:03:06.809Z] - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 31 36 31 32 |","created":1612| [2021-02-03T06:03:06.809Z] - 00000100 33 33 32 31 38 30 2c 22 6f 72 69 67 69 6e 22 3a |332180,"origin":| [2021-02-03T06:03:06.809Z] - 00000110 31 36 31 32 33 33 32 31 38 30 2c 22 64 65 76 69 |1612332180,"devi| [2021-02-03T06:03:06.809Z] - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| [2021-02-03T06:03:06.809Z] - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| [2021-02-03T06:03:06.809Z] - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| [2021-02-03T06:03:06.809Z] - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| [2021-02-03T06:03:06.809Z] - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| [2021-02-03T06:03:06.809Z] - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| [2021-02-03T06:03:06.809Z] - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| [2021-02-03T06:03:06.809Z] - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| [2021-02-03T06:03:06.809Z] - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| [2021-02-03T06:03:06.809Z] - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| [2021-02-03T06:03:06.809Z] -} [2021-02-03T06:03:06.809Z] +([]uint8) [2021-02-03T06:03:06.809Z] [2021-02-03T06:03:06.809Z] Test: TestProcessMessageTargetType [2021-02-03T06:03:06.809Z] Messages: 'Default Nil Target Type' test failed [2021-02-03T06:03:06.809Z] runtime_test.go:423: [2021-02-03T06:03:06.809Z] Error Trace: runtime_test.go:423 [2021-02-03T06:03:06.809Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x400008f660), ErrorCode:400} [2021-02-03T06:03:06.809Z] Test: TestProcessMessageTargetType [2021-02-03T06:03:06.809Z] Messages: unexpected error for test 'Event as Json' [2021-02-03T06:03:06.809Z] runtime_test.go:427: [2021-02-03T06:03:06.809Z] Error Trace: runtime_test.go:427 [2021-02-03T06:03:06.809Z] Error: Not equal: [2021-02-03T06:03:06.809Z] 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, 0x38, 0x32, 0x65, 0x62, 0x32, 0x65, 0x32, 0x36, 0x2d, 0x30, 0x66, 0x32, 0x34, 0x2d, 0x34, 0x38, 0x61, 0x61, 0x2d, 0x61, 0x65, 0x34, 0x63, 0x2d, 0x64, 0x65, 0x39, 0x64, 0x61, 0x63, 0x33, 0x66, 0x62, 0x39, 0x62, 0x63, 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, 0x31, 0x36, 0x31, 0x32, 0x33, 0x33, 0x32, 0x31, 0x38, 0x30, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x33, 0x33, 0x32, 0x31, 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, 0x38, 0x32, 0x65, 0x62, 0x32, 0x65, 0x32, 0x36, 0x2d, 0x30, 0x66, 0x32, 0x34, 0x2d, 0x34, 0x38, 0x61, 0x61, 0x2d, 0x61, 0x65, 0x34, 0x63, 0x2d, 0x64, 0x65, 0x39, 0x64, 0x61, 0x63, 0x33, 0x66, 0x31, 0x32, 0x33, 0x34, 0x22, 0x2c, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x33, 0x33, 0x32, 0x31, 0x38, 0x30, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x33, 0x33, 0x32, 0x31, 0x38, 0x30, 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-03T06:03:06.809Z] actual : []byte(nil) [2021-02-03T06:03:06.809Z] [2021-02-03T06:03:06.809Z] Diff: [2021-02-03T06:03:06.809Z] --- Expected [2021-02-03T06:03:06.809Z] +++ Actual [2021-02-03T06:03:06.809Z] @@ -1,31 +1,2 @@ [2021-02-03T06:03:06.809Z] -([]uint8) (len=444) { [2021-02-03T06:03:06.809Z] - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| [2021-02-03T06:03:06.809Z] - 00000010 32 22 2c 22 69 64 22 3a 22 38 32 65 62 32 65 32 |2","id":"82eb2e2| [2021-02-03T06:03:06.809Z] - 00000020 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 65 34 63 |6-0f24-48aa-ae4c| [2021-02-03T06:03:06.809Z] - 00000030 2d 64 65 39 64 61 63 33 66 62 39 62 63 22 2c 22 |-de9dac3fb9bc","| [2021-02-03T06:03:06.809Z] - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| [2021-02-03T06:03:06.809Z] - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| [2021-02-03T06:03:06.809Z] - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| [2021-02-03T06:03:06.809Z] - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| [2021-02-03T06:03:06.809Z] - 00000080 72 65 61 74 65 64 22 3a 31 36 31 32 33 33 32 31 |reated":16123321| [2021-02-03T06:03:06.809Z] - 00000090 38 30 2c 22 6f 72 69 67 69 6e 22 3a 31 36 31 32 |80,"origin":1612| [2021-02-03T06:03:06.809Z] - 000000a0 33 33 32 31 38 30 2c 22 72 65 61 64 69 6e 67 73 |332180,"readings| [2021-02-03T06:03:06.809Z] - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| [2021-02-03T06:03:06.809Z] - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 38 32 65 62 |:"v2","id":"82eb| [2021-02-03T06:03:06.809Z] - 000000d0 32 65 32 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 |2e26-0f24-48aa-a| [2021-02-03T06:03:06.809Z] - 000000e0 65 34 63 2d 64 65 39 64 61 63 33 66 31 32 33 34 |e4c-de9dac3f1234| [2021-02-03T06:03:06.809Z] - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 31 36 31 32 |","created":1612| [2021-02-03T06:03:06.809Z] - 00000100 33 33 32 31 38 30 2c 22 6f 72 69 67 69 6e 22 3a |332180,"origin":| [2021-02-03T06:03:06.809Z] - 00000110 31 36 31 32 33 33 32 31 38 30 2c 22 64 65 76 69 |1612332180,"devi| [2021-02-03T06:03:06.809Z] - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| [2021-02-03T06:03:06.809Z] - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| [2021-02-03T06:03:06.809Z] - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| [2021-02-03T06:03:06.809Z] - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| [2021-02-03T06:03:06.809Z] - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| [2021-02-03T06:03:06.809Z] - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| [2021-02-03T06:03:06.809Z] - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| [2021-02-03T06:03:06.809Z] - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| [2021-02-03T06:03:06.809Z] - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| [2021-02-03T06:03:06.809Z] - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| [2021-02-03T06:03:06.809Z] -} [2021-02-03T06:03:06.809Z] +([]uint8) [2021-02-03T06:03:06.809Z] [2021-02-03T06:03:06.809Z] Test: TestProcessMessageTargetType [2021-02-03T06:03:06.809Z] Messages: 'Event as Json' test failed [2021-02-03T06:03:06.809Z] runtime_test.go:423: [2021-02-03T06:03:06.809Z] Error Trace: runtime_test.go:423 [2021-02-03T06:03:06.809Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x400008fae0), ErrorCode:400} [2021-02-03T06:03:06.809Z] Test: TestProcessMessageTargetType [2021-02-03T06:03:06.809Z] Messages: unexpected error for test 'Event as Cbor' [2021-02-03T06:03:06.809Z] runtime_test.go:427: [2021-02-03T06:03:06.809Z] Error Trace: runtime_test.go:427 [2021-02-03T06:03:06.809Z] Error: Not equal: [2021-02-03T06:03:06.810Z] 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, 0x38, 0x32, 0x65, 0x62, 0x32, 0x65, 0x32, 0x36, 0x2d, 0x30, 0x66, 0x32, 0x34, 0x2d, 0x34, 0x38, 0x61, 0x61, 0x2d, 0x61, 0x65, 0x34, 0x63, 0x2d, 0x64, 0x65, 0x39, 0x64, 0x61, 0x63, 0x33, 0x66, 0x62, 0x39, 0x62, 0x63, 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, 0x31, 0x36, 0x31, 0x32, 0x33, 0x33, 0x32, 0x31, 0x38, 0x30, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x33, 0x33, 0x32, 0x31, 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, 0x38, 0x32, 0x65, 0x62, 0x32, 0x65, 0x32, 0x36, 0x2d, 0x30, 0x66, 0x32, 0x34, 0x2d, 0x34, 0x38, 0x61, 0x61, 0x2d, 0x61, 0x65, 0x34, 0x63, 0x2d, 0x64, 0x65, 0x39, 0x64, 0x61, 0x63, 0x33, 0x66, 0x31, 0x32, 0x33, 0x34, 0x22, 0x2c, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x33, 0x33, 0x32, 0x31, 0x38, 0x30, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x33, 0x33, 0x32, 0x31, 0x38, 0x30, 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-03T06:03:06.810Z] actual : []byte(nil) [2021-02-03T06:03:06.810Z] [2021-02-03T06:03:06.810Z] Diff: [2021-02-03T06:03:06.810Z] --- Expected [2021-02-03T06:03:06.810Z] +++ Actual [2021-02-03T06:03:06.810Z] @@ -1,31 +1,2 @@ [2021-02-03T06:03:06.810Z] -([]uint8) (len=444) { [2021-02-03T06:03:06.810Z] - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| [2021-02-03T06:03:06.810Z] - 00000010 32 22 2c 22 69 64 22 3a 22 38 32 65 62 32 65 32 |2","id":"82eb2e2| [2021-02-03T06:03:06.810Z] - 00000020 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 65 34 63 |6-0f24-48aa-ae4c| [2021-02-03T06:03:06.810Z] - 00000030 2d 64 65 39 64 61 63 33 66 62 39 62 63 22 2c 22 |-de9dac3fb9bc","| [2021-02-03T06:03:06.810Z] - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| [2021-02-03T06:03:06.810Z] - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| [2021-02-03T06:03:06.810Z] - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| [2021-02-03T06:03:06.810Z] - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| [2021-02-03T06:03:06.810Z] - 00000080 72 65 61 74 65 64 22 3a 31 36 31 32 33 33 32 31 |reated":16123321| [2021-02-03T06:03:06.810Z] - 00000090 38 30 2c 22 6f 72 69 67 69 6e 22 3a 31 36 31 32 |80,"origin":1612| [2021-02-03T06:03:06.810Z] - 000000a0 33 33 32 31 38 30 2c 22 72 65 61 64 69 6e 67 73 |332180,"readings| [2021-02-03T06:03:06.810Z] - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| [2021-02-03T06:03:06.810Z] - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 38 32 65 62 |:"v2","id":"82eb| [2021-02-03T06:03:06.810Z] - 000000d0 32 65 32 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 |2e26-0f24-48aa-a| [2021-02-03T06:03:06.810Z] - 000000e0 65 34 63 2d 64 65 39 64 61 63 33 66 31 32 33 34 |e4c-de9dac3f1234| [2021-02-03T06:03:06.810Z] - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 31 36 31 32 |","created":1612| [2021-02-03T06:03:06.810Z] - 00000100 33 33 32 31 38 30 2c 22 6f 72 69 67 69 6e 22 3a |332180,"origin":| [2021-02-03T06:03:06.810Z] - 00000110 31 36 31 32 33 33 32 31 38 30 2c 22 64 65 76 69 |1612332180,"devi| [2021-02-03T06:03:06.810Z] - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| [2021-02-03T06:03:06.810Z] - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| [2021-02-03T06:03:06.810Z] - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| [2021-02-03T06:03:06.810Z] - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| [2021-02-03T06:03:06.810Z] - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| [2021-02-03T06:03:06.810Z] - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| [2021-02-03T06:03:06.810Z] - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| [2021-02-03T06:03:06.810Z] - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| [2021-02-03T06:03:06.810Z] - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| [2021-02-03T06:03:06.810Z] - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| [2021-02-03T06:03:06.810Z] -} [2021-02-03T06:03:06.810Z] +([]uint8) [2021-02-03T06:03:06.810Z] [2021-02-03T06:03:06.810Z] Test: TestProcessMessageTargetType [2021-02-03T06:03:06.810Z] Messages: 'Event as Cbor' test failed [2021-02-03T06:03:06.810Z] --- FAIL: TestGolangRuntime_unmarshalV2Event (0.00s) [2021-02-03T06:03:06.810Z] --- FAIL: TestGolangRuntime_unmarshalV2Event/JSON_V2_Event (0.00s) [2021-02-03T06:03:06.810Z] runtime_test.go:599: [2021-02-03T06:03:06.810Z] Error Trace: runtime_test.go:599 [2021-02-03T06:03:06.810Z] Error: Received unexpected error: [2021-02-03T06:03:06.810Z] failed to unmarshal AddEventRequest from content type 'application/json': AddEventRequest.BaseRequest.Versionable.ApiVersion field is required [2021-02-03T06:03:06.810Z] Test: TestGolangRuntime_unmarshalV2Event/JSON_V2_Event [2021-02-03T06:03:06.810Z] --- FAIL: TestGolangRuntime_unmarshalV2Event/CBOR_V2_Event (0.00s) [2021-02-03T06:03:06.810Z] runtime_test.go:599: [2021-02-03T06:03:06.810Z] Error Trace: runtime_test.go:599 [2021-02-03T06:03:06.810Z] Error: Received unexpected error: [2021-02-03T06:03:06.810Z] validation failed on AddEventRequest: AddEventRequest.BaseRequest.Versionable.ApiVersion field is required [2021-02-03T06:03:06.810Z] Test: TestGolangRuntime_unmarshalV2Event/CBOR_V2_Event [2021-02-03T06:03:06.810Z] FAIL [2021-02-03T06:03:06.810Z] coverage: 73.4% of statements [2021-02-03T06:03:06.810Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.105s [2021-02-03T06:03:06.810Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-02-03T06:03:06.810Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-02-03T06:03:06.810Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-02-03T06:03:06.810Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-02-03T06:03:06.810Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-02-03T06:03:06.810Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-02-03T06:03:06.810Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.020s coverage: 97.0% of statements [2021-02-03T06:03:06.810Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-02-03T06:03:06.810Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.028s coverage: 8.8% of statements [2021-02-03T06:03:25.096Z] --- FAIL: TestInitializeAndProcessEventWithNoOutput (3.32s) [2021-02-03T06:03:25.097Z] messaging_test.go:206: [2021-02-03T06:03:25.097Z] Error Trace: messaging_test.go:206 [2021-02-03T06:03:25.097Z] Error: Should be true [2021-02-03T06:03:25.097Z] Test: TestInitializeAndProcessEventWithNoOutput [2021-02-03T06:03:25.097Z] Messages: Transform never called [2021-02-03T06:03:25.097Z] --- FAIL: TestInitializeAndProcessEventWithOutput (3.30s) [2021-02-03T06:03:25.097Z] messaging_test.go:290: [2021-02-03T06:03:25.097Z] Error Trace: messaging_test.go:290 [2021-02-03T06:03:25.097Z] Error: Should be true [2021-02-03T06:03:25.097Z] Test: TestInitializeAndProcessEventWithOutput [2021-02-03T06:03:25.097Z] Messages: Transform never called [2021-02-03T06:03:25.097Z] --- FAIL: TestInitializeAndProcessEventWithOutput_InferJSON (3.30s) [2021-02-03T06:03:25.097Z] messaging_test.go:385: [2021-02-03T06:03:25.097Z] Error Trace: messaging_test.go:385 [2021-02-03T06:03:25.097Z] Error: Should be true [2021-02-03T06:03:25.097Z] Test: TestInitializeAndProcessEventWithOutput_InferJSON [2021-02-03T06:03:25.097Z] Messages: Transform never called [2021-02-03T06:03:25.097Z] --- FAIL: TestInitializeAndProcessEventWithOutput_AssumeCBOR (3.32s) [2021-02-03T06:03:25.097Z] messaging_test.go:477: [2021-02-03T06:03:25.097Z] Error Trace: messaging_test.go:477 [2021-02-03T06:03:25.097Z] Error: Should be true [2021-02-03T06:03:25.097Z] Test: TestInitializeAndProcessEventWithOutput_AssumeCBOR [2021-02-03T06:03:25.097Z] Messages: Transform never called [2021-02-03T06:03:25.097Z] --- FAIL: TestInitializeAndProcessEventMultipleTopics (3.30s) [2021-02-03T06:03:25.097Z] messaging_test.go:638: [2021-02-03T06:03:25.097Z] Error Trace: messaging_test.go:638 [2021-02-03T06:03:25.097Z] Error: Transform never called for t1 [2021-02-03T06:03:25.097Z] Test: TestInitializeAndProcessEventMultipleTopics [2021-02-03T06:03:25.097Z] FAIL [2021-02-03T06:03:25.097Z] coverage: 62.0% of statements [2021-02-03T06:03:25.097Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 16.932s [2021-02-03T06:03:25.097Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-02-03T06:03:25.097Z] --- FAIL: TestAddSecretRequest (0.01s) [2021-02-03T06:03:25.097Z] --- FAIL: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash (0.00s) [2021-02-03T06:03:25.097Z] controller_test.go:261: [2021-02-03T06:03:25.097Z] Error Trace: controller_test.go:261 [2021-02-03T06:03:25.097Z] Error: Not equal: [2021-02-03T06:03:25.097Z] expected: 201 [2021-02-03T06:03:25.097Z] actual : 400 [2021-02-03T06:03:25.097Z] Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash [2021-02-03T06:03:25.097Z] Messages: HTTP status code not as expected [2021-02-03T06:03:25.097Z] controller_test.go:263: [2021-02-03T06:03:25.097Z] Error Trace: controller_test.go:263 [2021-02-03T06:03:25.097Z] Error: Not equal: [2021-02-03T06:03:25.097Z] expected: 201 [2021-02-03T06:03:25.097Z] actual : 400 [2021-02-03T06:03:25.097Z] Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash [2021-02-03T06:03:25.097Z] Messages: BaseResponse status code not as expected [2021-02-03T06:03:25.097Z] controller_test.go:270: [2021-02-03T06:03:25.097Z] Error Trace: controller_test.go:270 [2021-02-03T06:03:25.097Z] Error: Not equal: [2021-02-03T06:03:25.097Z] expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-02-03T06:03:25.097Z] actual : "" [2021-02-03T06:03:25.097Z] [2021-02-03T06:03:25.097Z] Diff: [2021-02-03T06:03:25.097Z] --- Expected [2021-02-03T06:03:25.097Z] +++ Actual [2021-02-03T06:03:25.097Z] @@ -1 +1 @@ [2021-02-03T06:03:25.097Z] -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-03T06:03:25.097Z] + [2021-02-03T06:03:25.097Z] Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash [2021-02-03T06:03:25.097Z] Messages: RequestID not as expected [2021-02-03T06:03:25.097Z] controller_test.go:271: [2021-02-03T06:03:25.097Z] Error Trace: controller_test.go:271 [2021-02-03T06:03:25.097Z] Error: Should be empty, but was JSON decode failed [2021-02-03T06:03:25.097Z] Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash [2021-02-03T06:03:25.097Z] Messages: Message not empty, as expected [2021-02-03T06:03:25.097Z] --- FAIL: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash (0.00s) [2021-02-03T06:03:25.097Z] controller_test.go:261: [2021-02-03T06:03:25.097Z] Error Trace: controller_test.go:261 [2021-02-03T06:03:25.097Z] Error: Not equal: [2021-02-03T06:03:25.097Z] expected: 201 [2021-02-03T06:03:25.097Z] actual : 400 [2021-02-03T06:03:25.097Z] Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-03T06:03:25.097Z] Messages: HTTP status code not as expected [2021-02-03T06:03:25.097Z] controller_test.go:263: [2021-02-03T06:03:25.097Z] Error Trace: controller_test.go:263 [2021-02-03T06:03:25.097Z] Error: Not equal: [2021-02-03T06:03:25.097Z] expected: 201 [2021-02-03T06:03:25.097Z] actual : 400 [2021-02-03T06:03:25.097Z] Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-03T06:03:25.097Z] Messages: BaseResponse status code not as expected [2021-02-03T06:03:25.097Z] controller_test.go:270: [2021-02-03T06:03:25.097Z] Error Trace: controller_test.go:270 [2021-02-03T06:03:25.097Z] Error: Not equal: [2021-02-03T06:03:25.097Z] expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-02-03T06:03:25.097Z] actual : "" [2021-02-03T06:03:25.097Z] [2021-02-03T06:03:25.097Z] Diff: [2021-02-03T06:03:25.097Z] --- Expected [2021-02-03T06:03:25.097Z] +++ Actual [2021-02-03T06:03:25.097Z] @@ -1 +1 @@ [2021-02-03T06:03:25.097Z] -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-03T06:03:25.097Z] + [2021-02-03T06:03:25.097Z] Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-03T06:03:25.097Z] Messages: RequestID not as expected [2021-02-03T06:03:25.097Z] controller_test.go:271: [2021-02-03T06:03:25.097Z] Error Trace: controller_test.go:271 [2021-02-03T06:03:25.097Z] Error: Should be empty, but was JSON decode failed [2021-02-03T06:03:25.097Z] Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-03T06:03:25.097Z] Messages: Message not empty, as expected [2021-02-03T06:03:25.097Z] --- FAIL: TestAddSecretRequest/Valid_-_both_trailing_slashes (0.00s) [2021-02-03T06:03:25.097Z] controller_test.go:261: [2021-02-03T06:03:25.097Z] Error Trace: controller_test.go:261 [2021-02-03T06:03:25.097Z] Error: Not equal: [2021-02-03T06:03:25.097Z] expected: 201 [2021-02-03T06:03:25.097Z] actual : 400 [2021-02-03T06:03:25.097Z] Test: TestAddSecretRequest/Valid_-_both_trailing_slashes [2021-02-03T06:03:25.097Z] Messages: HTTP status code not as expected [2021-02-03T06:03:25.097Z] controller_test.go:263: [2021-02-03T06:03:25.097Z] Error Trace: controller_test.go:263 [2021-02-03T06:03:25.097Z] Error: Not equal: [2021-02-03T06:03:25.097Z] expected: 201 [2021-02-03T06:03:25.097Z] actual : 400 [2021-02-03T06:03:25.097Z] Test: TestAddSecretRequest/Valid_-_both_trailing_slashes [2021-02-03T06:03:25.097Z] Messages: BaseResponse status code not as expected [2021-02-03T06:03:25.097Z] controller_test.go:270: [2021-02-03T06:03:25.097Z] Error Trace: controller_test.go:270 [2021-02-03T06:03:25.097Z] Error: Not equal: [2021-02-03T06:03:25.097Z] expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-02-03T06:03:25.097Z] actual : "" [2021-02-03T06:03:25.097Z] [2021-02-03T06:03:25.097Z] Diff: [2021-02-03T06:03:25.097Z] --- Expected [2021-02-03T06:03:25.097Z] +++ Actual [2021-02-03T06:03:25.097Z] @@ -1 +1 @@ [2021-02-03T06:03:25.097Z] -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-03T06:03:25.097Z] + [2021-02-03T06:03:25.097Z] Test: TestAddSecretRequest/Valid_-_both_trailing_slashes [2021-02-03T06:03:25.097Z] Messages: RequestID not as expected [2021-02-03T06:03:25.097Z] controller_test.go:271: [2021-02-03T06:03:25.097Z] Error Trace: controller_test.go:271 [2021-02-03T06:03:25.097Z] Error: Should be empty, but was JSON decode failed [2021-02-03T06:03:25.097Z] Test: TestAddSecretRequest/Valid_-_both_trailing_slashes [2021-02-03T06:03:25.097Z] Messages: Message not empty, as expected [2021-02-03T06:03:25.097Z] --- FAIL: TestAddSecretRequest/Valid_-_no_requestId (0.00s) [2021-02-03T06:03:25.097Z] controller_test.go:261: [2021-02-03T06:03:25.097Z] Error Trace: controller_test.go:261 [2021-02-03T06:03:25.097Z] Error: Not equal: [2021-02-03T06:03:25.097Z] expected: 201 [2021-02-03T06:03:25.097Z] actual : 400 [2021-02-03T06:03:25.097Z] Test: TestAddSecretRequest/Valid_-_no_requestId [2021-02-03T06:03:25.097Z] Messages: HTTP status code not as expected [2021-02-03T06:03:25.097Z] controller_test.go:263: [2021-02-03T06:03:25.097Z] Error Trace: controller_test.go:263 [2021-02-03T06:03:25.097Z] Error: Not equal: [2021-02-03T06:03:25.097Z] expected: 201 [2021-02-03T06:03:25.097Z] actual : 400 [2021-02-03T06:03:25.097Z] Test: TestAddSecretRequest/Valid_-_no_requestId [2021-02-03T06:03:25.097Z] Messages: BaseResponse status code not as expected [2021-02-03T06:03:25.097Z] controller_test.go:271: [2021-02-03T06:03:25.097Z] Error Trace: controller_test.go:271 [2021-02-03T06:03:25.097Z] Error: Should be empty, but was JSON decode failed [2021-02-03T06:03:25.097Z] Test: TestAddSecretRequest/Valid_-_no_requestId [2021-02-03T06:03:25.097Z] Messages: Message not empty, as expected [2021-02-03T06:03:25.097Z] --- FAIL: TestAddSecretRequest/Invalid_-_No_Secret_Store (0.00s) [2021-02-03T06:03:25.097Z] controller_test.go:261: [2021-02-03T06:03:25.097Z] Error Trace: controller_test.go:261 [2021-02-03T06:03:25.097Z] Error: Not equal: [2021-02-03T06:03:25.097Z] expected: 500 [2021-02-03T06:03:25.097Z] actual : 400 [2021-02-03T06:03:25.097Z] Test: TestAddSecretRequest/Invalid_-_No_Secret_Store [2021-02-03T06:03:25.097Z] Messages: HTTP status code not as expected [2021-02-03T06:03:25.097Z] controller_test.go:263: [2021-02-03T06:03:25.097Z] Error Trace: controller_test.go:263 [2021-02-03T06:03:25.097Z] Error: Not equal: [2021-02-03T06:03:25.097Z] expected: 500 [2021-02-03T06:03:25.097Z] actual : 400 [2021-02-03T06:03:25.097Z] Test: TestAddSecretRequest/Invalid_-_No_Secret_Store [2021-02-03T06:03:25.097Z] Messages: BaseResponse status code not as expected [2021-02-03T06:03:25.097Z] FAIL [2021-02-03T06:03:25.097Z] coverage: 63.8% of statements [2021-02-03T06:03:25.097Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.062s [2021-02-03T06:03:25.097Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.044s coverage: 80.5% of statements [2021-02-03T06:03:25.097Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.040s coverage: 71.7% of statements [2021-02-03T06:03:33.345Z] --- FAIL: TestTransformToJSON (0.00s) [2021-02-03T06:03:33.345Z] conversion_test.go:130: [2021-02-03T06:03:33.345Z] Error Trace: conversion_test.go:130 [2021-02-03T06:03:33.345Z] Error: Not equal: [2021-02-03T06:03:33.346Z] expected: "{\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" [2021-02-03T06:03:33.346Z] actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" [2021-02-03T06:03:33.346Z] [2021-02-03T06:03:33.346Z] Diff: [2021-02-03T06:03:33.346Z] --- Expected [2021-02-03T06:03:33.346Z] +++ Actual [2021-02-03T06:03:33.346Z] @@ -1 +1 @@ [2021-02-03T06:03:33.346Z] -{"id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} [2021-02-03T06:03:33.346Z] +{"apiVersion":"","id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} [2021-02-03T06:03:33.346Z] Test: TestTransformToJSON [2021-02-03T06:03:33.346Z] --- FAIL: TestTransformToJSONMultipleParametersValid (0.00s) [2021-02-03T06:03:33.346Z] conversion_test.go:157: [2021-02-03T06:03:33.346Z] Error Trace: conversion_test.go:157 [2021-02-03T06:03:33.346Z] Error: Not equal: [2021-02-03T06:03:33.346Z] expected: "{\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" [2021-02-03T06:03:33.346Z] actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" [2021-02-03T06:03:33.346Z] [2021-02-03T06:03:33.346Z] Diff: [2021-02-03T06:03:33.346Z] --- Expected [2021-02-03T06:03:33.346Z] +++ Actual [2021-02-03T06:03:33.346Z] @@ -1 +1 @@ [2021-02-03T06:03:33.346Z] -{"id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} [2021-02-03T06:03:33.346Z] +{"apiVersion":"","id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} [2021-02-03T06:03:33.346Z] Test: TestTransformToJSONMultipleParametersValid [2021-02-03T06:03:33.346Z] --- FAIL: TestTransformToJSONMultipleParametersTwoEvents (0.00s) [2021-02-03T06:03:33.346Z] conversion_test.go:175: [2021-02-03T06:03:33.346Z] Error Trace: conversion_test.go:175 [2021-02-03T06:03:33.346Z] Error: Not equal: [2021-02-03T06:03:33.346Z] expected: "{\"id\":\"\",\"deviceName\":\"id2\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" [2021-02-03T06:03:33.346Z] actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"id2\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" [2021-02-03T06:03:33.346Z] [2021-02-03T06:03:33.346Z] Diff: [2021-02-03T06:03:33.346Z] --- Expected [2021-02-03T06:03:33.346Z] +++ Actual [2021-02-03T06:03:33.346Z] @@ -1 +1 @@ [2021-02-03T06:03:33.346Z] -{"id":"","deviceName":"id2","profileName":"","created":0,"origin":0,"readings":null} [2021-02-03T06:03:33.346Z] +{"apiVersion":"","id":"","deviceName":"id2","profileName":"","created":0,"origin":0,"readings":null} [2021-02-03T06:03:33.346Z] Test: TestTransformToJSONMultipleParametersTwoEvents [2021-02-03T06:03:33.346Z] FAIL [2021-02-03T06:03:33.346Z] coverage: 81.4% of statements [2021-02-03T06:03:33.346Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.082s [2021-02-03T06:03:33.346Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.025s coverage: 94.4% of statements [2021-02-03T06:03:33.346Z] FAIL [2021-02-03T06:03:33.346Z] make: *** [Makefile:6: test] Error 1 [Pipeline] } [2021-02-03T06:03:33.456Z] $ docker stop --time=1 c2937f9ac7e01146444684c9e443ef359ba6434a911e98f7a64e67b55a85b089 [2021-02-03T06:03:35.566Z] $ docker rm -f c2937f9ac7e01146444684c9e443ef359ba6434a911e98f7a64e67b55a85b089 [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-03T06:03:38.237Z] 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-03T06:03:42.318Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-03T06:03:42.672Z] ---> package-listing.sh [2021-02-03T06:03:42.672Z] ++ facter osfamily [2021-02-03T06:03:42.672Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-03T06:03:42.672Z] + OS_FAMILY=redhat [2021-02-03T06:03:42.672Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-672 [2021-02-03T06:03:42.672Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-03T06:03:42.672Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-03T06:03:42.672Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-03T06:03:42.672Z] + PACKAGES=/tmp/packages_start.txt [2021-02-03T06:03:42.672Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-672 ']' [2021-02-03T06:03:42.672Z] + PACKAGES=/tmp/packages_end.txt [2021-02-03T06:03:42.672Z] + case "${OS_FAMILY}" in [2021-02-03T06:03:42.672Z] + rpm -qa [2021-02-03T06:03:42.672Z] + sort [2021-02-03T06:03:47.994Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-03T06:03:47.994Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-03T06:03:47.994Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-03T06:03:47.994Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-672 ']' [2021-02-03T06:03:47.994Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-672/archives/ [2021-02-03T06:03:47.994Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-672/archives/ [Pipeline] echo [2021-02-03T06:03:48.034Z] 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-672/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-02-03T06:03:48.351Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-03T06:03:48.701Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-03T06:03:48.701Z] [2021-02-03T06:03:48.701Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-03T06:03:49.147Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-03T06:03:49.147Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-03T06:03:49.147Z] df20fa9351a1: Pulling fs layer [2021-02-03T06:03:49.147Z] 36b3adc4ff6f: Pulling fs layer [2021-02-03T06:03:49.147Z] 8ad3a11d3b57: Pulling fs layer [2021-02-03T06:03:49.147Z] 46f8f816bc3b: Pulling fs layer [2021-02-03T06:03:49.147Z] 93b61091891f: Pulling fs layer [2021-02-03T06:03:49.147Z] 93b9cdb0e59b: Pulling fs layer [2021-02-03T06:03:49.147Z] 5e14af77c1be: Pulling fs layer [2021-02-03T06:03:49.147Z] 01666e4c0597: Pulling fs layer [2021-02-03T06:03:49.147Z] aa168da1d23b: Pulling fs layer [2021-02-03T06:03:49.147Z] 46f8f816bc3b: Waiting [2021-02-03T06:03:49.147Z] 5e14af77c1be: Waiting [2021-02-03T06:03:49.147Z] 93b61091891f: Waiting [2021-02-03T06:03:49.147Z] 93b9cdb0e59b: Waiting [2021-02-03T06:03:49.147Z] 01666e4c0597: Waiting [2021-02-03T06:03:49.147Z] aa168da1d23b: Waiting [2021-02-03T06:03:49.147Z] 36b3adc4ff6f: Download complete [2021-02-03T06:03:49.147Z] 46f8f816bc3b: Verifying Checksum [2021-02-03T06:03:49.147Z] 46f8f816bc3b: Download complete [2021-02-03T06:03:49.411Z] df20fa9351a1: Verifying Checksum [2021-02-03T06:03:49.411Z] df20fa9351a1: Download complete [2021-02-03T06:03:49.411Z] 93b9cdb0e59b: Verifying Checksum [2021-02-03T06:03:49.411Z] 93b9cdb0e59b: Download complete [2021-02-03T06:03:49.411Z] 93b61091891f: Download complete [2021-02-03T06:03:49.411Z] 5e14af77c1be: Download complete [2021-02-03T06:03:49.411Z] 01666e4c0597: Verifying Checksum [2021-02-03T06:03:49.411Z] 01666e4c0597: Download complete [2021-02-03T06:03:49.674Z] df20fa9351a1: Pull complete [2021-02-03T06:03:49.947Z] 8ad3a11d3b57: Verifying Checksum [2021-02-03T06:03:49.947Z] 8ad3a11d3b57: Download complete [2021-02-03T06:03:49.947Z] 36b3adc4ff6f: Pull complete [2021-02-03T06:03:50.909Z] 8ad3a11d3b57: Pull complete [2021-02-03T06:03:50.909Z] 46f8f816bc3b: Pull complete [2021-02-03T06:03:51.866Z] 93b61091891f: Pull complete [2021-02-03T06:03:51.866Z] aa168da1d23b: Verifying Checksum [2021-02-03T06:03:51.866Z] aa168da1d23b: Download complete [2021-02-03T06:03:51.866Z] 93b9cdb0e59b: Pull complete [2021-02-03T06:03:52.134Z] 5e14af77c1be: Pull complete [2021-02-03T06:03:52.134Z] 01666e4c0597: Pull complete [2021-02-03T06:04:00.318Z] aa168da1d23b: Pull complete [2021-02-03T06:04:00.318Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-03T06:04:00.318Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-03T06:04:00.318Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-03T06:04:00.569Z] prd-centos7-docker-4c-2g-24675 does not seem to be running inside a container [2021-02-03T06:04:00.620Z] $ 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-672/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-672 -v /w/workspace/ndry_app-functions-sdk-go_PR-672:/w/workspace/ndry_app-functions-sdk-go_PR-672:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-672@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-672@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-02-03T06:04:04.203Z] $ docker top 6a1554606967812c998276b0c3edbd9de7262db9e8929097630d46318bb8e2eb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-03T06:04:04.767Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-03T06:04:05.086Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-03T06:04:05.411Z] + ls /var/log/sa-host [2021-02-03T06:04:05.412Z] + sadf -c /var/log/sa-host/sa03 [2021-02-03T06:04:05.412Z] file_magic: OK [2021-02-03T06:04:05.412Z] HZ: Using current value: 100 [2021-02-03T06:04:05.412Z] file_header: OK [2021-02-03T06:04:05.412Z] 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-03T06:04:05.412Z] Statistics: [2021-02-03T06:04:05.412Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-03T06:04:05.412Z] File successfully converted to sysstat format version 12.2.1 [2021-02-03T06:04:05.412Z] + sadf -c /var/log/sa-host/sa23 [2021-02-03T06:04:05.412Z] file_magic: OK [2021-02-03T06:04:05.412Z] HZ: Using current value: 100 [2021-02-03T06:04:05.412Z] file_header: OK [2021-02-03T06:04:05.412Z] 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-03T06:04:05.412Z] Statistics: [2021-02-03T06:04:05.412Z] Hnuu...uuuununununu... [2021-02-03T06:04:05.412Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-03T06:04:05.703Z] provisioning config files... [2021-02-03T06:04:05.727Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-672@tmp/config8653584084720604449tmp [Pipeline] { [Pipeline] echo [2021-02-03T06:04:05.843Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-03T06:04:06.180Z] ---> create-netrc.sh [Pipeline] } [2021-02-03T06:04:06.204Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-03T06:04:06.365Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-03T06:04:06.701Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-03T06:04:06.740Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-03T06:04:07.080Z] ---> sudo-logs.sh [2021-02-03T06:04:07.080Z] Archiving 'sudo' log.. [Pipeline] echo [2021-02-03T06:04:07.110Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-03T06:04:07.445Z] ---> job-cost.sh [2021-02-03T06:04:07.445Z] lf-activate-venv: SKIPPING [2021-02-03T06:04:07.445Z] INFO: No Stack... [2021-02-03T06:04:09.999Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-03T06:04:10.261Z] INFO: Archiving Costs [Pipeline] echo [2021-02-03T06:04:10.298Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-03T06:04:10.647Z] ---> logs-deploy.sh [2021-02-03T06:04:10.647Z] lf-activate-venv: SKIPPING [2021-02-03T06:04:10.648Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-672/1 [2021-02-03T06:04:10.648Z] INFO: archiving workspace using pattern(s): [2021-02-03T06:04:12.573Z] Archives upload complete. [2021-02-03T06:04:12.573Z] INFO: archiving logs to Nexus