Pull request #670 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 47108c7328284981985afaa168f40d72448cb10a+fc40647c9a5a0500e2956cf52a4e5c076e69792e (a5c70e2622360a36ddc2ffa2500fa9ea6efaa480) 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-670/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-670/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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-24528 in /w/workspace/ndry_app-functions-sdk-go_PR-670 [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-670 # 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/670/head:refs/remotes/origin/PR-670 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit fc40647c9a5a0500e2956cf52a4e5c076e69792e into PR head commit 47108c7328284981985afaa168f40d72448cb10a Merge succeeded, producing 47108c7328284981985afaa168f40d72448cb10a Checking out Revision 47108c7328284981985afaa168f40d72448cb10a (PR-670) > git config core.sparsecheckout # timeout=10 > git checkout -f 47108c7328284981985afaa168f40d72448cb10a # 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 47108c7328284981985afaa168f40d72448cb10a # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-02T06:08:43.151Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-02T06:08:43.478Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-02T06:08:43.665Z] ========================================================= [2021-02-02T06:08:43.665Z] EdgeX Global Pipelines Version Info [2021-02-02T06:08:43.665Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-02T06:08:45.425Z] ------------------- [2021-02-02T06:08:45.425Z] stable info: [2021-02-02T06:08:45.425Z] ------------------- [2021-02-02T06:08:45.425Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-02T06:08:45.425Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-02T06:08:45.425Z] Message: update stable to v1.0.179 [2021-02-02T06:08:46.391Z] ------------------- [2021-02-02T06:08:46.391Z] experimental info: [2021-02-02T06:08:46.391Z] ------------------- [2021-02-02T06:08:46.391Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-02T06:08:46.391Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-02T06:08:46.391Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-02T06:08:46.745Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-02-02T06:08:46.876Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-02-02T06:08:46.987Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-02T06:08:47.109Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-02T06:08:47.246Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-02T06:08:47.375Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-02T06:08:47.695Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-02T06:08:47.843Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-02T06:08:47.968Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-02-02T06:08:48.081Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-02T06:08:48.237Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-02T06:08:48.348Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2021-02-02T06:08:48.461Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-02T06:08:48.583Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-02T06:08:48.704Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-02-02T06:08:48.821Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-02T06:08:48.941Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-02T06:08:49.066Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-02T06:08:49.186Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-02T06:08:49.298Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-02T06:08:49.428Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-02-02T06:08:49.548Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-02-02T06:08:49.683Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-02T06:08:49.798Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-02T06:08:49.906Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-02-02T06:08:50.036Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-02-02T06:08:50.158Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-02-02T06:08:50.283Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-670 [Pipeline] echo [2021-02-02T06:08:50.412Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-670 [Pipeline] echo [2021-02-02T06:08:50.585Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-670 [Pipeline] echo [2021-02-02T06:08:50.752Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 47108c7328284981985afaa168f40d72448cb10a [Pipeline] echo [2021-02-02T06:08:50.875Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 47108c7 [Pipeline] echo [2021-02-02T06:08:51.010Z] [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-02T06:08:51.918Z] + git log --format=format:%s -1 47108c7328284981985afaa168f40d72448cb10a [Pipeline] echo [2021-02-02T06:08:52.018Z] GIT_COMMIT: 47108c7328284981985afaa168f40d72448cb10a, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-02-02T06:08:52.175Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-02T06:08:52.960Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-02T06:08:53.229Z] [2021-02-02T06:08:53.229Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-02T06:08:53.643Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-02T06:08:53.643Z] latest: Pulling from edgex-devops/git-semver [2021-02-02T06:08:53.643Z] 31603596830f: Pulling fs layer [2021-02-02T06:08:53.643Z] 2a8b12db71e7: Pulling fs layer [2021-02-02T06:08:53.643Z] 6ca5941a6612: Pulling fs layer [2021-02-02T06:08:53.643Z] ecc8261a40a4: Pulling fs layer [2021-02-02T06:08:53.643Z] ecc8261a40a4: Waiting [2021-02-02T06:08:53.643Z] 2a8b12db71e7: Verifying Checksum [2021-02-02T06:08:53.643Z] 2a8b12db71e7: Download complete [2021-02-02T06:08:53.909Z] 31603596830f: Verifying Checksum [2021-02-02T06:08:53.909Z] 31603596830f: Download complete [2021-02-02T06:08:53.909Z] 6ca5941a6612: Verifying Checksum [2021-02-02T06:08:53.909Z] 6ca5941a6612: Download complete [2021-02-02T06:08:53.909Z] ecc8261a40a4: Verifying Checksum [2021-02-02T06:08:53.909Z] ecc8261a40a4: Download complete [2021-02-02T06:08:54.173Z] 31603596830f: Pull complete [2021-02-02T06:08:54.436Z] 2a8b12db71e7: Pull complete [2021-02-02T06:08:55.405Z] 6ca5941a6612: Pull complete [2021-02-02T06:08:55.680Z] ecc8261a40a4: Pull complete [2021-02-02T06:08:55.680Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-02T06:08:55.680Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-02T06:08:55.680Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-02T06:08:55.843Z] prd-centos7-docker-4c-2g-24528 does not seem to be running inside a container [2021-02-02T06:08:55.903Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-670 -v /w/workspace/ndry_app-functions-sdk-go_PR-670:/w/workspace/ndry_app-functions-sdk-go_PR-670:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-670@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-670@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-02T06:08:57.983Z] $ docker top e38a82e5ae362cedc303cd2bbaf8bdfbe66c9153991604fbccc4fb16ca283380 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-02T06:08:58.383Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-02T06:08:58.383Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-02T06:08:58.642Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-02T06:08:58.645Z] $ docker exec e38a82e5ae362cedc303cd2bbaf8bdfbe66c9153991604fbccc4fb16ca283380 ssh-agent [2021-02-02T06:08:58.841Z] SSH_AUTH_SOCK=/tmp/ssh-KMPdl9PAsmfA/agent.12 [2021-02-02T06:08:58.841Z] SSH_AGENT_PID=18 [2021-02-02T06:08:58.862Z] Running ssh-add (command line suppressed) [2021-02-02T06:08:59.019Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-670@tmp/private_key_8616382715668855951.key (/w/workspace/ndry_app-functions-sdk-go_PR-670@tmp/private_key_8616382715668855951.key) [2021-02-02T06:08:59.079Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-02T06:08:59.460Z] + git tag --points-at HEAD [Pipeline] } [2021-02-02T06:08:59.766Z] $ docker exec --env ******** --env ******** e38a82e5ae362cedc303cd2bbaf8bdfbe66c9153991604fbccc4fb16ca283380 ssh-agent -k [2021-02-02T06:08:59.895Z] unset SSH_AUTH_SOCK; [2021-02-02T06:08:59.895Z] unset SSH_AGENT_PID; [2021-02-02T06:08:59.895Z] echo Agent pid 18 killed; [2021-02-02T06:08:59.954Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-02T06:09:00.192Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-02T06:09:00.192Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-02T06:09:00.392Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-02T06:09:00.395Z] $ docker exec e38a82e5ae362cedc303cd2bbaf8bdfbe66c9153991604fbccc4fb16ca283380 ssh-agent [2021-02-02T06:09:00.593Z] SSH_AUTH_SOCK=/tmp/ssh-eGx5i8UrXqDs/agent.49 [2021-02-02T06:09:00.593Z] SSH_AGENT_PID=54 [2021-02-02T06:09:00.602Z] Running ssh-add (command line suppressed) [2021-02-02T06:09:00.729Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-670@tmp/private_key_179618045144218465.key (/w/workspace/ndry_app-functions-sdk-go_PR-670@tmp/private_key_179618045144218465.key) [2021-02-02T06:09:00.797Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-02T06:09:01.199Z] + git semver init [2021-02-02T06:09:01.199Z] # -> Open(): unable to determine branch for HEAD [2021-02-02T06:09:01.199Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-670/.git [2021-02-02T06:09:01.199Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-670 [2021-02-02T06:09:01.199Z] # $SEMVER_REMOTE_NAME = origin [2021-02-02T06:09:01.199Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-02T06:09:01.199Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-02T06:09:01.199Z] # $SEMVER_BRANCH = PR-670 [2021-02-02T06:09:01.199Z] # $SEMVER_TEMP = /tmp/semver-993423662 [2021-02-02T06:09:01.199Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-02-02T06:09:05.442Z] # '/tmp/semver-993423662' -> '/w/workspace/ndry_app-functions-sdk-go_PR-670/.semver' [2021-02-02T06:09:05.442Z] # -> Force: false [2021-02-02T06:09:05.442Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-670/.semver [Pipeline] } [2021-02-02T06:09:05.473Z] $ docker exec --env ******** --env ******** e38a82e5ae362cedc303cd2bbaf8bdfbe66c9153991604fbccc4fb16ca283380 ssh-agent -k [2021-02-02T06:09:05.722Z] unset SSH_AUTH_SOCK; [2021-02-02T06:09:05.722Z] unset SSH_AGENT_PID; [2021-02-02T06:09:05.722Z] echo Agent pid 54 killed; [2021-02-02T06:09:05.812Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-02T06:09:06.384Z] + git semver [Pipeline] } [2021-02-02T06:09:06.418Z] $ docker stop --time=1 e38a82e5ae362cedc303cd2bbaf8bdfbe66c9153991604fbccc4fb16ca283380 [2021-02-02T06:09:07.957Z] $ docker rm -f e38a82e5ae362cedc303cd2bbaf8bdfbe66c9153991604fbccc4fb16ca283380 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-02T06:09:08.527Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-02T06:09:09.031Z] Stashed 1 file(s) [Pipeline] echo [2021-02-02T06:09:09.052Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-02-02T06:09:24.974Z] Still waiting to schedule task [2021-02-02T06:09:24.974Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-02-02T06:09:25.002Z] Still waiting to schedule task [2021-02-02T06:09:25.002Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-02-02T06:11:00.401Z] Running on prd-centos7-docker-4c-2g-24534 in /w/workspace/ndry_app-functions-sdk-go_PR-670 [Pipeline] { [Pipeline] ws [2021-02-02T06:11:00.504Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-02-02T06:11:07.134Z] using credential edgex-jenkins-ssh [2021-02-02T06:11:07.185Z] Cloning the remote Git repository [2021-02-02T06:11:07.220Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-02T06:11:07.293Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2021-02-02T06:11:07.393Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-02T06:11:07.394Z] > git --version # timeout=10 [2021-02-02T06:11:07.408Z] > git --version # 'git version 2.24.3' [2021-02-02T06:11:07.409Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-02T06:11:07.451Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-02T06:11:09.066Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-02-02T06:11:09.085Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-02T06:11:09.103Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-02-02T06:11:09.555Z] Merging remotes/origin/master commit fc40647c9a5a0500e2956cf52a4e5c076e69792e into PR head commit 47108c7328284981985afaa168f40d72448cb10a [2021-02-02T06:11:09.664Z] Merge succeeded, producing 47108c7328284981985afaa168f40d72448cb10a [2021-02-02T06:11:09.665Z] Checking out Revision 47108c7328284981985afaa168f40d72448cb10a (PR-670) [2021-02-02T06:11:09.125Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-02T06:11:09.125Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-02T06:11:09.130Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/670/head:refs/remotes/origin/PR-670 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-02T06:11:09.565Z] > git config core.sparsecheckout # timeout=10 [2021-02-02T06:11:09.571Z] > git checkout -f 47108c7328284981985afaa168f40d72448cb10a # timeout=10 [2021-02-02T06:11:09.620Z] > git remote # timeout=10 [2021-02-02T06:11:09.629Z] > git config --get remote.origin.url # timeout=10 [2021-02-02T06:11:09.638Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-02T06:11:09.642Z] > git merge fc40647c9a5a0500e2956cf52a4e5c076e69792e # timeout=10 [2021-02-02T06:11:09.656Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-02T06:11:09.669Z] > git config core.sparsecheckout # timeout=10 [2021-02-02T06:11:09.674Z] > git checkout -f 47108c7328284981985afaa168f40d72448cb10a # timeout=10 [2021-02-02T06:11:13.495Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-02-02T06:11:13.526Z] > git --version # timeout=10 [2021-02-02T06:11:13.544Z] > git --version # 'git version 2.24.3' [2021-02-02T06:11:13.551Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-02T06:11:15.236Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-02T06:11:15.696Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-02T06:11:16.050Z] + sudo service docker restart [2021-02-02T06:11:16.050Z] + true [2021-02-02T06:11:16.050Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-02-02T06:11:18.443Z] ========================================================= [2021-02-02T06:11:18.443Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-02T06:11:18.443Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-02T06:11:18.904Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-02-02T06:11:19.908Z] Sending build context to Docker daemon 19.09MB [2021-02-02T06:11:19.908Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-02T06:11:19.908Z] Step 2/8 : FROM ${BASE} [2021-02-02T06:11:19.908Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-02T06:11:19.908Z] 188c0c94c7c5: Pulling fs layer [2021-02-02T06:11:19.908Z] 0ef7d3d256c8: Pulling fs layer [2021-02-02T06:11:19.908Z] de9db76c5a1d: Pulling fs layer [2021-02-02T06:11:19.908Z] bca2f99d35d6: Pulling fs layer [2021-02-02T06:11:19.908Z] 93359f2a8cfa: Pulling fs layer [2021-02-02T06:11:19.908Z] 7c6f9722023f: Pulling fs layer [2021-02-02T06:11:19.908Z] a35cf1a2eb13: Pulling fs layer [2021-02-02T06:11:19.908Z] 93359f2a8cfa: Waiting [2021-02-02T06:11:19.908Z] 7c6f9722023f: Waiting [2021-02-02T06:11:19.908Z] bca2f99d35d6: Waiting [2021-02-02T06:11:19.908Z] a35cf1a2eb13: Waiting [2021-02-02T06:11:19.908Z] de9db76c5a1d: Verifying Checksum [2021-02-02T06:11:19.908Z] de9db76c5a1d: Download complete [2021-02-02T06:11:19.908Z] 0ef7d3d256c8: Verifying Checksum [2021-02-02T06:11:19.908Z] 0ef7d3d256c8: Download complete [2021-02-02T06:11:19.908Z] 93359f2a8cfa: Verifying Checksum [2021-02-02T06:11:19.908Z] 93359f2a8cfa: Download complete [2021-02-02T06:11:19.908Z] 7c6f9722023f: Verifying Checksum [2021-02-02T06:11:19.908Z] 7c6f9722023f: Download complete [2021-02-02T06:11:19.908Z] 188c0c94c7c5: Verifying Checksum [2021-02-02T06:11:19.908Z] 188c0c94c7c5: Download complete [2021-02-02T06:11:20.523Z] 188c0c94c7c5: Pull complete [2021-02-02T06:11:20.800Z] 0ef7d3d256c8: Pull complete [2021-02-02T06:11:21.074Z] de9db76c5a1d: Pull complete [2021-02-02T06:11:23.688Z] a35cf1a2eb13: Verifying Checksum [2021-02-02T06:11:23.688Z] a35cf1a2eb13: Download complete [2021-02-02T06:11:24.673Z] bca2f99d35d6: Verifying Checksum [2021-02-02T06:11:24.674Z] bca2f99d35d6: Download complete [2021-02-02T06:11:32.977Z] bca2f99d35d6: Pull complete [2021-02-02T06:11:32.977Z] 93359f2a8cfa: Pull complete [2021-02-02T06:11:32.977Z] 7c6f9722023f: Pull complete [2021-02-02T06:11:38.380Z] a35cf1a2eb13: Pull complete [2021-02-02T06:11:38.380Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-02T06:11:38.380Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-02T06:11:38.380Z] ---> a62c8e92a672 [2021-02-02T06:11:38.380Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-02-02T06:11:38.380Z] 20.10.0: Pulling from library/docker [2021-02-02T06:11:38.380Z] 05e7bc50f07f: Pulling fs layer [2021-02-02T06:11:38.380Z] 6db28d0fdbf6: Pulling fs layer [2021-02-02T06:11:38.380Z] 292df0bc6bf3: Pulling fs layer [2021-02-02T06:11:38.380Z] 2e060f4bd70b: Pulling fs layer [2021-02-02T06:11:38.380Z] 80e8d568a223: Pulling fs layer [2021-02-02T06:11:38.380Z] 8dc6ef1a942a: Pulling fs layer [2021-02-02T06:11:38.380Z] 2312dd95470a: Pulling fs layer [2021-02-02T06:11:38.380Z] 80e8d568a223: Waiting [2021-02-02T06:11:38.380Z] 8dc6ef1a942a: Waiting [2021-02-02T06:11:38.380Z] 2312dd95470a: Waiting [2021-02-02T06:11:38.380Z] 2e060f4bd70b: Waiting [2021-02-02T06:11:38.380Z] 292df0bc6bf3: Verifying Checksum [2021-02-02T06:11:38.380Z] 292df0bc6bf3: Download complete [2021-02-02T06:11:38.380Z] 6db28d0fdbf6: Verifying Checksum [2021-02-02T06:11:38.380Z] 6db28d0fdbf6: Download complete [2021-02-02T06:11:38.380Z] 80e8d568a223: Verifying Checksum [2021-02-02T06:11:38.380Z] 80e8d568a223: Download complete [2021-02-02T06:11:38.380Z] 05e7bc50f07f: Verifying Checksum [2021-02-02T06:11:38.380Z] 05e7bc50f07f: Download complete [2021-02-02T06:11:38.380Z] 8dc6ef1a942a: Verifying Checksum [2021-02-02T06:11:38.380Z] 8dc6ef1a942a: Download complete [2021-02-02T06:11:38.380Z] 2312dd95470a: Verifying Checksum [2021-02-02T06:11:38.380Z] 2312dd95470a: Download complete [2021-02-02T06:11:38.659Z] 05e7bc50f07f: Pull complete [2021-02-02T06:11:38.931Z] 6db28d0fdbf6: Pull complete [2021-02-02T06:11:39.198Z] 292df0bc6bf3: Pull complete [2021-02-02T06:11:39.466Z] 2e060f4bd70b: Verifying Checksum [2021-02-02T06:11:39.466Z] 2e060f4bd70b: Download complete [2021-02-02T06:11:42.828Z] 2e060f4bd70b: Pull complete [2021-02-02T06:11:42.828Z] 80e8d568a223: Pull complete [2021-02-02T06:11:42.828Z] 8dc6ef1a942a: Pull complete [2021-02-02T06:11:43.102Z] 2312dd95470a: Pull complete [2021-02-02T06:11:43.102Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-02-02T06:11:43.102Z] Status: Downloaded newer image for docker:20.10.0 [2021-02-02T06:11:45.075Z] ---> 96f69811722f [2021-02-02T06:11:45.075Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-02-02T06:11:45.075Z] ---> Running in 58fd58d8cd25 [2021-02-02T06:11:45.386Z] Removing intermediate container 58fd58d8cd25 [2021-02-02T06:11:45.386Z] ---> db5bcd0932b5 [2021-02-02T06:11:45.386Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-02-02T06:11:45.672Z] ---> Running in f7965a26db55 [2021-02-02T06:11:46.664Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-02T06:11:47.623Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-02T06:11:48.203Z] (1/5) Installing libsodium (1.0.18-r0) [2021-02-02T06:11:48.203Z] (2/5) Installing libzmq (4.3.3-r0) [2021-02-02T06:11:48.476Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-02-02T06:11:48.476Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-02-02T06:11:48.476Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-02-02T06:11:48.753Z] Executing busybox-1.31.1-r19.trigger [2021-02-02T06:11:48.753Z] OK: 167 MiB in 44 packages [2021-02-02T06:11:49.728Z] Removing intermediate container f7965a26db55 [2021-02-02T06:11:49.729Z] ---> 36d984ca0fb9 [2021-02-02T06:11:49.729Z] Step 6/8 : WORKDIR /build [2021-02-02T06:11:49.729Z] ---> Running in 1dc8f0e12638 [2021-02-02T06:11:49.729Z] Removing intermediate container 1dc8f0e12638 [2021-02-02T06:11:49.729Z] ---> a5d335994ca8 [2021-02-02T06:11:49.729Z] Step 7/8 : COPY go.mod . [2021-02-02T06:11:50.004Z] ---> 9f12ee8baf88 [2021-02-02T06:11:50.004Z] Step 8/8 : RUN go mod download [2021-02-02T06:11:50.274Z] ---> Running in db870d516f46 [2021-02-02T06:12:01.905Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-24537 in /w/workspace/ndry_app-functions-sdk-go_PR-670 [Pipeline] { [Pipeline] ws [2021-02-02T06:12:02.014Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-02-02T06:12:08.008Z] using credential edgex-jenkins-ssh [2021-02-02T06:12:08.072Z] Cloning the remote Git repository [2021-02-02T06:12:08.169Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-02T06:12:08.309Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2021-02-02T06:12:08.410Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-02T06:12:08.411Z] > git --version # timeout=10 [2021-02-02T06:12:08.430Z] > git --version # 'git version 2.17.1' [2021-02-02T06:12:08.432Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-02T06:12:08.523Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-02T06:12:15.464Z] Merging remotes/origin/master commit fc40647c9a5a0500e2956cf52a4e5c076e69792e into PR head commit 47108c7328284981985afaa168f40d72448cb10a [2021-02-02T06:12:14.829Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-02-02T06:12:14.850Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-02T06:12:14.888Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-02-02T06:12:14.949Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-02T06:12:14.950Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-02T06:12:14.967Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/670/head:refs/remotes/origin/PR-670 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-02T06:12:15.500Z] > git config core.sparsecheckout # timeout=10 [2021-02-02T06:12:15.966Z] Merge succeeded, producing 47108c7328284981985afaa168f40d72448cb10a [2021-02-02T06:12:15.967Z] Checking out Revision 47108c7328284981985afaa168f40d72448cb10a (PR-670) [2021-02-02T06:12:17.064Z] Removing intermediate container db870d516f46 [2021-02-02T06:12:17.064Z] ---> 6d1193d0bc0f [2021-02-02T06:12:17.064Z] Successfully built 6d1193d0bc0f [2021-02-02T06:12:17.064Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-02T06:12:15.522Z] > git checkout -f 47108c7328284981985afaa168f40d72448cb10a # timeout=10 [2021-02-02T06:12:15.770Z] > git remote # timeout=10 [2021-02-02T06:12:15.829Z] > git config --get remote.origin.url # timeout=10 [2021-02-02T06:12:15.893Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-02T06:12:15.915Z] > git merge fc40647c9a5a0500e2956cf52a4e5c076e69792e # timeout=10 [2021-02-02T06:12:15.955Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-02T06:12:15.987Z] > git config core.sparsecheckout # timeout=10 [2021-02-02T06:12:16.006Z] > git checkout -f 47108c7328284981985afaa168f40d72448cb10a # timeout=10 [2021-02-02T06:12:17.430Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-02T06:12:17.703Z] . [Pipeline] withDockerContainer [2021-02-02T06:12:17.887Z] prd-centos7-docker-4c-2g-24534 does not seem to be running inside a container [2021-02-02T06:12:17.977Z] $ 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-x86_64 cat [2021-02-02T06:12:19.815Z] $ docker top 528cb4a08e73f882956aec4b78704bf9aa19ffb12e5f8fe7cda9e101e2ab5279 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-02T06:12:20.459Z] + go version [2021-02-02T06:12:20.683Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-02-02T06:12:20.741Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-02T06:12:20.763Z] > git --version # timeout=10 [2021-02-02T06:12:20.774Z] > git --version # 'git version 2.17.1' [2021-02-02T06:12:20.788Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-02T06:12:20.791Z] $ docker stop --time=1 528cb4a08e73f882956aec4b78704bf9aa19ffb12e5f8fe7cda9e101e2ab5279 [2021-02-02T06:12:22.330Z] $ docker rm -f 528cb4a08e73f882956aec4b78704bf9aa19ffb12e5f8fe7cda9e101e2ab5279 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Test) [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-02T06:12:23.608Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-02T06:12:23.608Z] . [Pipeline] withDockerContainer [2021-02-02T06:12:24.308Z] prd-centos7-docker-4c-2g-24534 does not seem to be running inside a container [2021-02-02T06:12:24.371Z] $ 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-x86_64 cat [2021-02-02T06:12:24.388Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [2021-02-02T06:12:25.036Z] $ docker top 7765d584426d664e66aa485b4bd5439ba141e0d58056aab13082da2afb195fa9 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-02-02T06:12:25.804Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-02T06:12:25.958Z] + make test [2021-02-02T06:12:25.958Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-02-02T06:12:26.184Z] + true [2021-02-02T06:12:26.184Z] + sudo service docker restart [2021-02-02T06:12:27.933Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] [Pipeline] unstash [Pipeline] echo [2021-02-02T06:12:28.488Z] ========================================================= [2021-02-02T06:12:28.488Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-02T06:12:28.488Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-02T06:12:28.924Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-02-02T06:12:29.914Z] Sending build context to Docker daemon 19.09MB [2021-02-02T06:12:30.189Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-02T06:12:30.190Z] Step 2/8 : FROM ${BASE} [2021-02-02T06:12:30.471Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-02T06:12:30.471Z] 5f621e34cdf4: Pulling fs layer [2021-02-02T06:12:30.471Z] a4357932f1b6: Pulling fs layer [2021-02-02T06:12:30.471Z] 18c013af1878: Pulling fs layer [2021-02-02T06:12:30.471Z] 00ac8860ef70: Pulling fs layer [2021-02-02T06:12:30.471Z] 63d7cb157983: Pulling fs layer [2021-02-02T06:12:30.471Z] b116817d02f9: Pulling fs layer [2021-02-02T06:12:30.471Z] 745a02a5169b: Pulling fs layer [2021-02-02T06:12:30.471Z] 00ac8860ef70: Waiting [2021-02-02T06:12:30.471Z] 63d7cb157983: Waiting [2021-02-02T06:12:30.471Z] b116817d02f9: Waiting [2021-02-02T06:12:30.471Z] 745a02a5169b: Waiting [2021-02-02T06:12:30.471Z] 18c013af1878: Verifying Checksum [2021-02-02T06:12:30.471Z] 18c013af1878: Download complete [2021-02-02T06:12:30.471Z] a4357932f1b6: Download complete [2021-02-02T06:12:30.471Z] 63d7cb157983: Verifying Checksum [2021-02-02T06:12:30.471Z] 63d7cb157983: Download complete [2021-02-02T06:12:30.471Z] b116817d02f9: Verifying Checksum [2021-02-02T06:12:30.471Z] b116817d02f9: Download complete [2021-02-02T06:12:30.471Z] 5f621e34cdf4: Verifying Checksum [2021-02-02T06:12:30.471Z] 5f621e34cdf4: Download complete [2021-02-02T06:12:31.462Z] 5f621e34cdf4: Pull complete [2021-02-02T06:12:32.089Z] a4357932f1b6: Pull complete [2021-02-02T06:12:32.368Z] 18c013af1878: Pull complete [2021-02-02T06:12:32.970Z] 745a02a5169b: Verifying Checksum [2021-02-02T06:12:32.970Z] 745a02a5169b: Download complete [2021-02-02T06:12:34.424Z] 00ac8860ef70: Download complete [2021-02-02T06:12:38.315Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.077s coverage: 82.6% of statements [2021-02-02T06:12:44.622Z] 00ac8860ef70: Pull complete [2021-02-02T06:12:44.622Z] 63d7cb157983: Pull complete [2021-02-02T06:12:45.216Z] b116817d02f9: Pull complete [2021-02-02T06:12:48.607Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.058s coverage: 48.6% of statements [2021-02-02T06:12:48.607Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-02-02T06:12:48.607Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-02-02T06:12:48.607Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.082s coverage: 61.5% of statements [2021-02-02T06:12:48.607Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-02-02T06:12:49.559Z] 745a02a5169b: Pull complete [2021-02-02T06:12:49.559Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-02T06:12:49.559Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-02T06:12:49.559Z] ---> b7e6874047d6 [2021-02-02T06:12:49.559Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-02-02T06:12:49.559Z] 20.10.0: Pulling from library/docker [2021-02-02T06:12:49.559Z] a3cc7d3b244e: Pulling fs layer [2021-02-02T06:12:49.559Z] 02a3295e0d61: Pulling fs layer [2021-02-02T06:12:49.559Z] 0f4f2e6d8100: Pulling fs layer [2021-02-02T06:12:49.559Z] 330b718f631f: Pulling fs layer [2021-02-02T06:12:49.559Z] a93816041522: Pulling fs layer [2021-02-02T06:12:49.559Z] bdb6da89ff94: Pulling fs layer [2021-02-02T06:12:49.559Z] 2a70c0c122f4: Pulling fs layer [2021-02-02T06:12:49.559Z] 330b718f631f: Waiting [2021-02-02T06:12:49.559Z] a93816041522: Waiting [2021-02-02T06:12:49.559Z] bdb6da89ff94: Waiting [2021-02-02T06:12:49.559Z] 2a70c0c122f4: Waiting [2021-02-02T06:12:49.559Z] 0f4f2e6d8100: Verifying Checksum [2021-02-02T06:12:49.559Z] 0f4f2e6d8100: Download complete [2021-02-02T06:12:49.559Z] a3cc7d3b244e: Verifying Checksum [2021-02-02T06:12:49.559Z] a3cc7d3b244e: Download complete [2021-02-02T06:12:49.559Z] 02a3295e0d61: Download complete [2021-02-02T06:12:49.559Z] bdb6da89ff94: Verifying Checksum [2021-02-02T06:12:49.559Z] bdb6da89ff94: Download complete [2021-02-02T06:12:49.559Z] a93816041522: Verifying Checksum [2021-02-02T06:12:49.559Z] a93816041522: Download complete [2021-02-02T06:12:49.702Z] --- FAIL: TestProcessMessageNoTransforms (0.00s) [2021-02-02T06:12:49.703Z] runtime_test.go:116: [2021-02-02T06:12:49.703Z] Error Trace: runtime_test.go:116 [2021-02-02T06:12:49.703Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc000249950), ErrorCode:400} [2021-02-02T06:12:49.703Z] Test: TestProcessMessageNoTransforms [2021-02-02T06:12:49.703Z] Messages: result should be nil since no transforms have been passed [2021-02-02T06:12:49.703Z] --- FAIL: TestProcessMessageOneCustomTransform (0.00s) [2021-02-02T06:12:49.703Z] runtime_test.go:145: [2021-02-02T06:12:49.703Z] Error Trace: runtime_test.go:145 [2021-02-02T06:12:49.703Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc000249bd0), ErrorCode:400} [2021-02-02T06:12:49.703Z] Test: TestProcessMessageOneCustomTransform [2021-02-02T06:12:49.703Z] --- FAIL: TestProcessMessageTwoCustomTransforms (0.00s) [2021-02-02T06:12:49.703Z] runtime_test.go:186: [2021-02-02T06:12:49.703Z] Error Trace: runtime_test.go:186 [2021-02-02T06:12:49.703Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc000249e60), ErrorCode:400} [2021-02-02T06:12:49.703Z] Test: TestProcessMessageTwoCustomTransforms [2021-02-02T06:12:49.703Z] --- FAIL: TestProcessMessageThreeCustomTransformsOneFail (0.00s) [2021-02-02T06:12:49.703Z] runtime_test.go:233: [2021-02-02T06:12:49.703Z] Error Trace: runtime_test.go:233 [2021-02-02T06:12:49.703Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc0002a20e0), ErrorCode:400} [2021-02-02T06:12:49.703Z] Test: TestProcessMessageThreeCustomTransformsOneFail [2021-02-02T06:12:49.703Z] --- FAIL: TestProcessMessageJSON (0.00s) [2021-02-02T06:12:49.703Z] runtime_test.go:308: [2021-02-02T06:12:49.703Z] Error Trace: runtime_test.go:308 [2021-02-02T06:12:49.703Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc0002a2470), ErrorCode:400} [2021-02-02T06:12:49.703Z] Test: TestProcessMessageJSON [2021-02-02T06:12:49.703Z] 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-02T06:12:49.703Z] runtime_test.go:309: [2021-02-02T06:12:49.703Z] Error Trace: runtime_test.go:309 [2021-02-02T06:12:49.703Z] Error: Should be true [2021-02-02T06:12:49.703Z] Test: TestProcessMessageJSON [2021-02-02T06:12:49.703Z] Messages: transform1 should have been called [2021-02-02T06:12:49.703Z] --- FAIL: TestProcessMessageTargetType (0.00s) [2021-02-02T06:12:49.703Z] runtime_test.go:423: [2021-02-02T06:12:49.703Z] Error Trace: runtime_test.go:423 [2021-02-02T06:12:49.703Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc0002a2cd0), ErrorCode:400} [2021-02-02T06:12:49.703Z] Test: TestProcessMessageTargetType [2021-02-02T06:12:49.703Z] Messages: unexpected error for test 'Default Nil Target Type' [2021-02-02T06:12:49.703Z] runtime_test.go:427: [2021-02-02T06:12:49.703Z] Error Trace: runtime_test.go:427 [2021-02-02T06:12:49.703Z] Error: Not equal: [2021-02-02T06:12:49.703Z] 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, 0x32, 0x34, 0x36, 0x33, 0x36, 0x39, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x32, 0x34, 0x36, 0x33, 0x36, 0x39, 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, 0x32, 0x34, 0x36, 0x33, 0x36, 0x39, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x32, 0x34, 0x36, 0x33, 0x36, 0x39, 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-02T06:12:49.703Z] actual : []byte(nil) [2021-02-02T06:12:49.703Z] [2021-02-02T06:12:49.703Z] Diff: [2021-02-02T06:12:49.703Z] --- Expected [2021-02-02T06:12:49.703Z] +++ Actual [2021-02-02T06:12:49.703Z] @@ -1,31 +1,2 @@ [2021-02-02T06:12:49.703Z] -([]uint8) (len=444) { [2021-02-02T06:12:49.703Z] - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| [2021-02-02T06:12:49.703Z] - 00000010 32 22 2c 22 69 64 22 3a 22 38 32 65 62 32 65 32 |2","id":"82eb2e2| [2021-02-02T06:12:49.703Z] - 00000020 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 65 34 63 |6-0f24-48aa-ae4c| [2021-02-02T06:12:49.703Z] - 00000030 2d 64 65 39 64 61 63 33 66 62 39 62 63 22 2c 22 |-de9dac3fb9bc","| [2021-02-02T06:12:49.703Z] - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| [2021-02-02T06:12:49.703Z] - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| [2021-02-02T06:12:49.703Z] - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| [2021-02-02T06:12:49.703Z] - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| [2021-02-02T06:12:49.703Z] - 00000080 72 65 61 74 65 64 22 3a 31 36 31 32 32 34 36 33 |reated":16122463| [2021-02-02T06:12:49.703Z] - 00000090 36 39 2c 22 6f 72 69 67 69 6e 22 3a 31 36 31 32 |69,"origin":1612| [2021-02-02T06:12:49.703Z] - 000000a0 32 34 36 33 36 39 2c 22 72 65 61 64 69 6e 67 73 |246369,"readings| [2021-02-02T06:12:49.703Z] - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| [2021-02-02T06:12:49.703Z] - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 38 32 65 62 |:"v2","id":"82eb| [2021-02-02T06:12:49.703Z] - 000000d0 32 65 32 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 |2e26-0f24-48aa-a| [2021-02-02T06:12:49.703Z] - 000000e0 65 34 63 2d 64 65 39 64 61 63 33 66 31 32 33 34 |e4c-de9dac3f1234| [2021-02-02T06:12:49.703Z] - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 31 36 31 32 |","created":1612| [2021-02-02T06:12:49.703Z] - 00000100 32 34 36 33 36 39 2c 22 6f 72 69 67 69 6e 22 3a |246369,"origin":| [2021-02-02T06:12:49.703Z] - 00000110 31 36 31 32 32 34 36 33 36 39 2c 22 64 65 76 69 |1612246369,"devi| [2021-02-02T06:12:49.703Z] - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| [2021-02-02T06:12:49.703Z] - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| [2021-02-02T06:12:49.703Z] - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| [2021-02-02T06:12:49.703Z] - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| [2021-02-02T06:12:49.703Z] - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| [2021-02-02T06:12:49.703Z] - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| [2021-02-02T06:12:49.703Z] - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| [2021-02-02T06:12:49.703Z] - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| [2021-02-02T06:12:49.703Z] - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| [2021-02-02T06:12:49.703Z] - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| [2021-02-02T06:12:49.703Z] -} [2021-02-02T06:12:49.703Z] +([]uint8) [2021-02-02T06:12:49.703Z] [2021-02-02T06:12:49.703Z] Test: TestProcessMessageTargetType [2021-02-02T06:12:49.703Z] Messages: 'Default Nil Target Type' test failed [2021-02-02T06:12:49.703Z] runtime_test.go:423: [2021-02-02T06:12:49.703Z] Error Trace: runtime_test.go:423 [2021-02-02T06:12:49.703Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc0002a3050), ErrorCode:400} [2021-02-02T06:12:49.703Z] Test: TestProcessMessageTargetType [2021-02-02T06:12:49.703Z] Messages: unexpected error for test 'Event as Json' [2021-02-02T06:12:49.703Z] runtime_test.go:427: [2021-02-02T06:12:49.703Z] Error Trace: runtime_test.go:427 [2021-02-02T06:12:49.703Z] Error: Not equal: [2021-02-02T06:12:49.703Z] 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, 0x32, 0x34, 0x36, 0x33, 0x36, 0x39, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x32, 0x34, 0x36, 0x33, 0x36, 0x39, 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, 0x32, 0x34, 0x36, 0x33, 0x36, 0x39, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x32, 0x34, 0x36, 0x33, 0x36, 0x39, 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-02T06:12:49.703Z] actual : []byte(nil) [2021-02-02T06:12:49.703Z] [2021-02-02T06:12:49.703Z] Diff: [2021-02-02T06:12:49.703Z] --- Expected [2021-02-02T06:12:49.703Z] +++ Actual [2021-02-02T06:12:49.703Z] @@ -1,31 +1,2 @@ [2021-02-02T06:12:49.703Z] -([]uint8) (len=444) { [2021-02-02T06:12:49.703Z] - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| [2021-02-02T06:12:49.703Z] - 00000010 32 22 2c 22 69 64 22 3a 22 38 32 65 62 32 65 32 |2","id":"82eb2e2| [2021-02-02T06:12:49.703Z] - 00000020 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 65 34 63 |6-0f24-48aa-ae4c| [2021-02-02T06:12:49.703Z] - 00000030 2d 64 65 39 64 61 63 33 66 62 39 62 63 22 2c 22 |-de9dac3fb9bc","| [2021-02-02T06:12:49.703Z] - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| [2021-02-02T06:12:49.703Z] - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| [2021-02-02T06:12:49.703Z] - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| [2021-02-02T06:12:49.703Z] - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| [2021-02-02T06:12:49.703Z] - 00000080 72 65 61 74 65 64 22 3a 31 36 31 32 32 34 36 33 |reated":16122463| [2021-02-02T06:12:49.703Z] - 00000090 36 39 2c 22 6f 72 69 67 69 6e 22 3a 31 36 31 32 |69,"origin":1612| [2021-02-02T06:12:49.703Z] - 000000a0 32 34 36 33 36 39 2c 22 72 65 61 64 69 6e 67 73 |246369,"readings| [2021-02-02T06:12:49.703Z] - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| [2021-02-02T06:12:49.703Z] - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 38 32 65 62 |:"v2","id":"82eb| [2021-02-02T06:12:49.703Z] - 000000d0 32 65 32 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 |2e26-0f24-48aa-a| [2021-02-02T06:12:49.703Z] - 000000e0 65 34 63 2d 64 65 39 64 61 63 33 66 31 32 33 34 |e4c-de9dac3f1234| [2021-02-02T06:12:49.703Z] - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 31 36 31 32 |","created":1612| [2021-02-02T06:12:49.703Z] - 00000100 32 34 36 33 36 39 2c 22 6f 72 69 67 69 6e 22 3a |246369,"origin":| [2021-02-02T06:12:49.703Z] - 00000110 31 36 31 32 32 34 36 33 36 39 2c 22 64 65 76 69 |1612246369,"devi| [2021-02-02T06:12:49.704Z] - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| [2021-02-02T06:12:49.704Z] - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| [2021-02-02T06:12:49.704Z] - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| [2021-02-02T06:12:49.704Z] - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| [2021-02-02T06:12:49.704Z] - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| [2021-02-02T06:12:49.704Z] - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| [2021-02-02T06:12:49.704Z] - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| [2021-02-02T06:12:49.704Z] - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| [2021-02-02T06:12:49.704Z] - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| [2021-02-02T06:12:49.704Z] - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| [2021-02-02T06:12:49.704Z] -} [2021-02-02T06:12:49.704Z] +([]uint8) [2021-02-02T06:12:49.704Z] [2021-02-02T06:12:49.704Z] Test: TestProcessMessageTargetType [2021-02-02T06:12:49.704Z] Messages: 'Event as Json' test failed [2021-02-02T06:12:49.704Z] runtime_test.go:423: [2021-02-02T06:12:49.704Z] Error Trace: runtime_test.go:423 [2021-02-02T06:12:49.704Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc0002a34d0), ErrorCode:400} [2021-02-02T06:12:49.704Z] Test: TestProcessMessageTargetType [2021-02-02T06:12:49.704Z] Messages: unexpected error for test 'Event as Cbor' [2021-02-02T06:12:49.704Z] runtime_test.go:427: [2021-02-02T06:12:49.704Z] Error Trace: runtime_test.go:427 [2021-02-02T06:12:49.704Z] Error: Not equal: [2021-02-02T06:12:49.704Z] 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, 0x32, 0x34, 0x36, 0x33, 0x36, 0x39, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x32, 0x34, 0x36, 0x33, 0x36, 0x39, 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, 0x32, 0x34, 0x36, 0x33, 0x36, 0x39, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x32, 0x34, 0x36, 0x33, 0x36, 0x39, 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-02T06:12:49.704Z] actual : []byte(nil) [2021-02-02T06:12:49.704Z] [2021-02-02T06:12:49.704Z] Diff: [2021-02-02T06:12:49.704Z] --- Expected [2021-02-02T06:12:49.704Z] +++ Actual [2021-02-02T06:12:49.704Z] @@ -1,31 +1,2 @@ [2021-02-02T06:12:49.704Z] -([]uint8) (len=444) { [2021-02-02T06:12:49.704Z] - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| [2021-02-02T06:12:49.704Z] - 00000010 32 22 2c 22 69 64 22 3a 22 38 32 65 62 32 65 32 |2","id":"82eb2e2| [2021-02-02T06:12:49.704Z] - 00000020 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 65 34 63 |6-0f24-48aa-ae4c| [2021-02-02T06:12:49.704Z] - 00000030 2d 64 65 39 64 61 63 33 66 62 39 62 63 22 2c 22 |-de9dac3fb9bc","| [2021-02-02T06:12:49.704Z] - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| [2021-02-02T06:12:49.704Z] - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| [2021-02-02T06:12:49.704Z] - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| [2021-02-02T06:12:49.704Z] - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| [2021-02-02T06:12:49.704Z] - 00000080 72 65 61 74 65 64 22 3a 31 36 31 32 32 34 36 33 |reated":16122463| [2021-02-02T06:12:49.704Z] - 00000090 36 39 2c 22 6f 72 69 67 69 6e 22 3a 31 36 31 32 |69,"origin":1612| [2021-02-02T06:12:49.704Z] - 000000a0 32 34 36 33 36 39 2c 22 72 65 61 64 69 6e 67 73 |246369,"readings| [2021-02-02T06:12:49.704Z] - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| [2021-02-02T06:12:49.704Z] - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 38 32 65 62 |:"v2","id":"82eb| [2021-02-02T06:12:49.704Z] - 000000d0 32 65 32 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 |2e26-0f24-48aa-a| [2021-02-02T06:12:49.704Z] - 000000e0 65 34 63 2d 64 65 39 64 61 63 33 66 31 32 33 34 |e4c-de9dac3f1234| [2021-02-02T06:12:49.704Z] - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 31 36 31 32 |","created":1612| [2021-02-02T06:12:49.704Z] - 00000100 32 34 36 33 36 39 2c 22 6f 72 69 67 69 6e 22 3a |246369,"origin":| [2021-02-02T06:12:49.704Z] - 00000110 31 36 31 32 32 34 36 33 36 39 2c 22 64 65 76 69 |1612246369,"devi| [2021-02-02T06:12:49.704Z] - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| [2021-02-02T06:12:49.704Z] - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| [2021-02-02T06:12:49.704Z] - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| [2021-02-02T06:12:49.704Z] - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| [2021-02-02T06:12:49.704Z] - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| [2021-02-02T06:12:49.704Z] - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| [2021-02-02T06:12:49.704Z] - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| [2021-02-02T06:12:49.704Z] - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| [2021-02-02T06:12:49.704Z] - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| [2021-02-02T06:12:49.704Z] - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| [2021-02-02T06:12:49.704Z] -} [2021-02-02T06:12:49.704Z] +([]uint8) [2021-02-02T06:12:49.704Z] [2021-02-02T06:12:49.704Z] Test: TestProcessMessageTargetType [2021-02-02T06:12:49.704Z] Messages: 'Event as Cbor' test failed [2021-02-02T06:12:49.704Z] --- FAIL: TestGolangRuntime_unmarshalV2Event (0.00s) [2021-02-02T06:12:49.704Z] --- FAIL: TestGolangRuntime_unmarshalV2Event/JSON_V2_Event (0.00s) [2021-02-02T06:12:49.704Z] runtime_test.go:599: [2021-02-02T06:12:49.704Z] Error Trace: runtime_test.go:599 [2021-02-02T06:12:49.704Z] Error: Received unexpected error: [2021-02-02T06:12:49.704Z] failed to unmarshal AddEventRequest from content type 'application/json': AddEventRequest.BaseRequest.Versionable.ApiVersion field is required [2021-02-02T06:12:49.704Z] Test: TestGolangRuntime_unmarshalV2Event/JSON_V2_Event [2021-02-02T06:12:49.704Z] --- FAIL: TestGolangRuntime_unmarshalV2Event/CBOR_V2_Event (0.00s) [2021-02-02T06:12:49.704Z] runtime_test.go:599: [2021-02-02T06:12:49.704Z] Error Trace: runtime_test.go:599 [2021-02-02T06:12:49.704Z] Error: Received unexpected error: [2021-02-02T06:12:49.704Z] validation failed on AddEventRequest: AddEventRequest.BaseRequest.Versionable.ApiVersion field is required [2021-02-02T06:12:49.704Z] Test: TestGolangRuntime_unmarshalV2Event/CBOR_V2_Event [2021-02-02T06:12:49.704Z] FAIL [2021-02-02T06:12:49.704Z] coverage: 73.4% of statements [2021-02-02T06:12:49.704Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.064s [2021-02-02T06:12:49.704Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-02-02T06:12:49.704Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-02-02T06:12:49.704Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-02-02T06:12:49.704Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-02-02T06:12:49.704Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-02-02T06:12:49.704Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-02-02T06:12:49.704Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.013s coverage: 97.0% of statements [2021-02-02T06:12:49.704Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-02-02T06:12:49.704Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.044s coverage: 8.8% of statements [2021-02-02T06:12:50.164Z] a3cc7d3b244e: Pull complete [2021-02-02T06:12:50.763Z] 02a3295e0d61: Pull complete [2021-02-02T06:12:51.039Z] 0f4f2e6d8100: Pull complete [2021-02-02T06:12:51.344Z] 330b718f631f: Verifying Checksum [2021-02-02T06:12:51.344Z] 330b718f631f: Download complete [2021-02-02T06:12:55.685Z] 330b718f631f: Pull complete [2021-02-02T06:12:55.685Z] a93816041522: Pull complete [2021-02-02T06:12:55.685Z] bdb6da89ff94: Pull complete [2021-02-02T06:12:55.967Z] 2a70c0c122f4: Pull complete [2021-02-02T06:12:55.967Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-02-02T06:12:55.967Z] Status: Downloaded newer image for docker:20.10.0 [2021-02-02T06:13:02.707Z] ---> 6b4b80599a28 [2021-02-02T06:13:02.707Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-02-02T06:13:02.707Z] ---> Running in 70edf5b9c814 [2021-02-02T06:13:03.312Z] Removing intermediate container 70edf5b9c814 [2021-02-02T06:13:03.312Z] ---> f900c4424a7d [2021-02-02T06:13:03.312Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-02-02T06:13:03.592Z] ---> Running in e3f6ba8676f8 [2021-02-02T06:13:05.029Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-02T06:13:06.001Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-02T06:13:06.592Z] (1/5) Installing libsodium (1.0.18-r0) [2021-02-02T06:13:06.863Z] (2/5) Installing libzmq (4.3.3-r0) [2021-02-02T06:13:07.136Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-02-02T06:13:07.136Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-02-02T06:13:07.136Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-02-02T06:13:07.407Z] Executing busybox-1.31.1-r19.trigger [2021-02-02T06:13:07.407Z] OK: 144 MiB in 44 packages [2021-02-02T06:13:08.010Z] --- FAIL: TestInitializeAndProcessEventWithNoOutput (3.30s) [2021-02-02T06:13:08.010Z] messaging_test.go:206: [2021-02-02T06:13:08.010Z] Error Trace: messaging_test.go:206 [2021-02-02T06:13:08.010Z] Error: Should be true [2021-02-02T06:13:08.010Z] Test: TestInitializeAndProcessEventWithNoOutput [2021-02-02T06:13:08.010Z] Messages: Transform never called [2021-02-02T06:13:08.010Z] --- FAIL: TestInitializeAndProcessEventWithOutput (3.31s) [2021-02-02T06:13:08.010Z] messaging_test.go:290: [2021-02-02T06:13:08.010Z] Error Trace: messaging_test.go:290 [2021-02-02T06:13:08.010Z] Error: Should be true [2021-02-02T06:13:08.010Z] Test: TestInitializeAndProcessEventWithOutput [2021-02-02T06:13:08.010Z] Messages: Transform never called [2021-02-02T06:13:08.010Z] --- FAIL: TestInitializeAndProcessEventWithOutput_InferJSON (3.31s) [2021-02-02T06:13:08.010Z] messaging_test.go:385: [2021-02-02T06:13:08.010Z] Error Trace: messaging_test.go:385 [2021-02-02T06:13:08.010Z] Error: Should be true [2021-02-02T06:13:08.010Z] Test: TestInitializeAndProcessEventWithOutput_InferJSON [2021-02-02T06:13:08.010Z] Messages: Transform never called [2021-02-02T06:13:08.010Z] --- FAIL: TestInitializeAndProcessEventWithOutput_AssumeCBOR (3.31s) [2021-02-02T06:13:08.010Z] messaging_test.go:477: [2021-02-02T06:13:08.010Z] Error Trace: messaging_test.go:477 [2021-02-02T06:13:08.010Z] Error: Should be true [2021-02-02T06:13:08.010Z] Test: TestInitializeAndProcessEventWithOutput_AssumeCBOR [2021-02-02T06:13:08.010Z] Messages: Transform never called [2021-02-02T06:13:08.010Z] --- FAIL: TestInitializeAndProcessEventMultipleTopics (3.30s) [2021-02-02T06:13:08.010Z] messaging_test.go:638: [2021-02-02T06:13:08.010Z] Error Trace: messaging_test.go:638 [2021-02-02T06:13:08.010Z] Error: Transform never called for t1 [2021-02-02T06:13:08.010Z] Test: TestInitializeAndProcessEventMultipleTopics [2021-02-02T06:13:08.010Z] FAIL [2021-02-02T06:13:08.010Z] coverage: 62.0% of statements [2021-02-02T06:13:08.010Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 16.856s [2021-02-02T06:13:08.010Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-02-02T06:13:08.010Z] --- FAIL: TestAddSecretRequest (0.00s) [2021-02-02T06:13:08.010Z] --- FAIL: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash (0.00s) [2021-02-02T06:13:08.010Z] controller_test.go:261: [2021-02-02T06:13:08.010Z] Error Trace: controller_test.go:261 [2021-02-02T06:13:08.010Z] Error: Not equal: [2021-02-02T06:13:08.010Z] expected: 201 [2021-02-02T06:13:08.010Z] actual : 400 [2021-02-02T06:13:08.010Z] Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash [2021-02-02T06:13:08.010Z] Messages: HTTP status code not as expected [2021-02-02T06:13:08.010Z] controller_test.go:263: [2021-02-02T06:13:08.010Z] Error Trace: controller_test.go:263 [2021-02-02T06:13:08.010Z] Error: Not equal: [2021-02-02T06:13:08.010Z] expected: 201 [2021-02-02T06:13:08.010Z] actual : 400 [2021-02-02T06:13:08.010Z] Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash [2021-02-02T06:13:08.010Z] Messages: BaseResponse status code not as expected [2021-02-02T06:13:08.010Z] controller_test.go:270: [2021-02-02T06:13:08.010Z] Error Trace: controller_test.go:270 [2021-02-02T06:13:08.010Z] Error: Not equal: [2021-02-02T06:13:08.010Z] expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-02-02T06:13:08.010Z] actual : "" [2021-02-02T06:13:08.010Z] [2021-02-02T06:13:08.010Z] Diff: [2021-02-02T06:13:08.010Z] --- Expected [2021-02-02T06:13:08.010Z] +++ Actual [2021-02-02T06:13:08.010Z] @@ -1 +1 @@ [2021-02-02T06:13:08.010Z] -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-02T06:13:08.010Z] + [2021-02-02T06:13:08.010Z] Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash [2021-02-02T06:13:08.010Z] Messages: RequestID not as expected [2021-02-02T06:13:08.010Z] controller_test.go:271: [2021-02-02T06:13:08.010Z] Error Trace: controller_test.go:271 [2021-02-02T06:13:08.010Z] Error: Should be empty, but was JSON decode failed [2021-02-02T06:13:08.010Z] Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash [2021-02-02T06:13:08.010Z] Messages: Message not empty, as expected [2021-02-02T06:13:08.010Z] --- FAIL: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash (0.00s) [2021-02-02T06:13:08.010Z] controller_test.go:261: [2021-02-02T06:13:08.010Z] Error Trace: controller_test.go:261 [2021-02-02T06:13:08.010Z] Error: Not equal: [2021-02-02T06:13:08.010Z] expected: 201 [2021-02-02T06:13:08.010Z] actual : 400 [2021-02-02T06:13:08.010Z] Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-02T06:13:08.010Z] Messages: HTTP status code not as expected [2021-02-02T06:13:08.010Z] controller_test.go:263: [2021-02-02T06:13:08.010Z] Error Trace: controller_test.go:263 [2021-02-02T06:13:08.010Z] Error: Not equal: [2021-02-02T06:13:08.010Z] expected: 201 [2021-02-02T06:13:08.010Z] actual : 400 [2021-02-02T06:13:08.010Z] Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-02T06:13:08.010Z] Messages: BaseResponse status code not as expected [2021-02-02T06:13:08.010Z] controller_test.go:270: [2021-02-02T06:13:08.010Z] Error Trace: controller_test.go:270 [2021-02-02T06:13:08.010Z] Error: Not equal: [2021-02-02T06:13:08.010Z] expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-02-02T06:13:08.010Z] actual : "" [2021-02-02T06:13:08.010Z] [2021-02-02T06:13:08.010Z] Diff: [2021-02-02T06:13:08.010Z] --- Expected [2021-02-02T06:13:08.010Z] +++ Actual [2021-02-02T06:13:08.010Z] @@ -1 +1 @@ [2021-02-02T06:13:08.010Z] -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-02T06:13:08.010Z] + [2021-02-02T06:13:08.010Z] Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-02T06:13:08.010Z] Messages: RequestID not as expected [2021-02-02T06:13:08.010Z] controller_test.go:271: [2021-02-02T06:13:08.010Z] Error Trace: controller_test.go:271 [2021-02-02T06:13:08.010Z] Error: Should be empty, but was JSON decode failed [2021-02-02T06:13:08.010Z] Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-02T06:13:08.010Z] Messages: Message not empty, as expected [2021-02-02T06:13:08.010Z] --- FAIL: TestAddSecretRequest/Valid_-_both_trailing_slashes (0.00s) [2021-02-02T06:13:08.010Z] controller_test.go:261: [2021-02-02T06:13:08.010Z] Error Trace: controller_test.go:261 [2021-02-02T06:13:08.010Z] Error: Not equal: [2021-02-02T06:13:08.010Z] expected: 201 [2021-02-02T06:13:08.010Z] actual : 400 [2021-02-02T06:13:08.010Z] Test: TestAddSecretRequest/Valid_-_both_trailing_slashes [2021-02-02T06:13:08.010Z] Messages: HTTP status code not as expected [2021-02-02T06:13:08.010Z] controller_test.go:263: [2021-02-02T06:13:08.010Z] Error Trace: controller_test.go:263 [2021-02-02T06:13:08.010Z] Error: Not equal: [2021-02-02T06:13:08.010Z] expected: 201 [2021-02-02T06:13:08.010Z] actual : 400 [2021-02-02T06:13:08.010Z] Test: TestAddSecretRequest/Valid_-_both_trailing_slashes [2021-02-02T06:13:08.010Z] Messages: BaseResponse status code not as expected [2021-02-02T06:13:08.010Z] controller_test.go:270: [2021-02-02T06:13:08.010Z] Error Trace: controller_test.go:270 [2021-02-02T06:13:08.010Z] Error: Not equal: [2021-02-02T06:13:08.010Z] expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-02-02T06:13:08.010Z] actual : "" [2021-02-02T06:13:08.010Z] [2021-02-02T06:13:08.010Z] Diff: [2021-02-02T06:13:08.010Z] --- Expected [2021-02-02T06:13:08.010Z] +++ Actual [2021-02-02T06:13:08.010Z] @@ -1 +1 @@ [2021-02-02T06:13:08.010Z] -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-02T06:13:08.010Z] + [2021-02-02T06:13:08.010Z] Test: TestAddSecretRequest/Valid_-_both_trailing_slashes [2021-02-02T06:13:08.010Z] Messages: RequestID not as expected [2021-02-02T06:13:08.010Z] controller_test.go:271: [2021-02-02T06:13:08.010Z] Error Trace: controller_test.go:271 [2021-02-02T06:13:08.010Z] Error: Should be empty, but was JSON decode failed [2021-02-02T06:13:08.010Z] Test: TestAddSecretRequest/Valid_-_both_trailing_slashes [2021-02-02T06:13:08.010Z] Messages: Message not empty, as expected [2021-02-02T06:13:08.010Z] --- FAIL: TestAddSecretRequest/Valid_-_no_requestId (0.00s) [2021-02-02T06:13:08.010Z] controller_test.go:261: [2021-02-02T06:13:08.010Z] Error Trace: controller_test.go:261 [2021-02-02T06:13:08.010Z] Error: Not equal: [2021-02-02T06:13:08.010Z] expected: 201 [2021-02-02T06:13:08.010Z] actual : 400 [2021-02-02T06:13:08.010Z] Test: TestAddSecretRequest/Valid_-_no_requestId [2021-02-02T06:13:08.010Z] Messages: HTTP status code not as expected [2021-02-02T06:13:08.010Z] controller_test.go:263: [2021-02-02T06:13:08.010Z] Error Trace: controller_test.go:263 [2021-02-02T06:13:08.010Z] Error: Not equal: [2021-02-02T06:13:08.010Z] expected: 201 [2021-02-02T06:13:08.010Z] actual : 400 [2021-02-02T06:13:08.010Z] Test: TestAddSecretRequest/Valid_-_no_requestId [2021-02-02T06:13:08.010Z] Messages: BaseResponse status code not as expected [2021-02-02T06:13:08.010Z] controller_test.go:271: [2021-02-02T06:13:08.010Z] Error Trace: controller_test.go:271 [2021-02-02T06:13:08.010Z] Error: Should be empty, but was JSON decode failed [2021-02-02T06:13:08.010Z] Test: TestAddSecretRequest/Valid_-_no_requestId [2021-02-02T06:13:08.010Z] Messages: Message not empty, as expected [2021-02-02T06:13:08.010Z] --- FAIL: TestAddSecretRequest/Invalid_-_No_Secret_Store (0.00s) [2021-02-02T06:13:08.010Z] controller_test.go:261: [2021-02-02T06:13:08.010Z] Error Trace: controller_test.go:261 [2021-02-02T06:13:08.010Z] Error: Not equal: [2021-02-02T06:13:08.010Z] expected: 500 [2021-02-02T06:13:08.010Z] actual : 400 [2021-02-02T06:13:08.010Z] Test: TestAddSecretRequest/Invalid_-_No_Secret_Store [2021-02-02T06:13:08.010Z] Messages: HTTP status code not as expected [2021-02-02T06:13:08.010Z] controller_test.go:263: [2021-02-02T06:13:08.010Z] Error Trace: controller_test.go:263 [2021-02-02T06:13:08.010Z] Error: Not equal: [2021-02-02T06:13:08.010Z] expected: 500 [2021-02-02T06:13:08.010Z] actual : 400 [2021-02-02T06:13:08.010Z] Test: TestAddSecretRequest/Invalid_-_No_Secret_Store [2021-02-02T06:13:08.011Z] Messages: BaseResponse status code not as expected [2021-02-02T06:13:08.011Z] FAIL [2021-02-02T06:13:08.011Z] coverage: 63.8% of statements [2021-02-02T06:13:08.011Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.044s [2021-02-02T06:13:08.011Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.019s coverage: 80.5% of statements [2021-02-02T06:13:08.011Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.017s coverage: 71.7% of statements [2021-02-02T06:13:08.838Z] Removing intermediate container e3f6ba8676f8 [2021-02-02T06:13:08.838Z] ---> c685de422e97 [2021-02-02T06:13:08.838Z] Step 6/8 : WORKDIR /build [2021-02-02T06:13:08.838Z] ---> Running in 127efce0346b [2021-02-02T06:13:09.433Z] Removing intermediate container 127efce0346b [2021-02-02T06:13:09.433Z] ---> 762fac6082ac [2021-02-02T06:13:09.433Z] Step 7/8 : COPY go.mod . [2021-02-02T06:13:10.057Z] ---> ff580abd89e7 [2021-02-02T06:13:10.057Z] Step 8/8 : RUN go mod download [2021-02-02T06:13:10.330Z] ---> Running in 493c1905f4ce [2021-02-02T06:13:18.065Z] --- FAIL: TestTransformToJSON (0.00s) [2021-02-02T06:13:18.065Z] conversion_test.go:130: [2021-02-02T06:13:18.065Z] Error Trace: conversion_test.go:130 [2021-02-02T06:13:18.065Z] Error: Not equal: [2021-02-02T06:13:18.065Z] expected: "{\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" [2021-02-02T06:13:18.065Z] actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" [2021-02-02T06:13:18.065Z] [2021-02-02T06:13:18.065Z] Diff: [2021-02-02T06:13:18.065Z] --- Expected [2021-02-02T06:13:18.065Z] +++ Actual [2021-02-02T06:13:18.065Z] @@ -1 +1 @@ [2021-02-02T06:13:18.065Z] -{"id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} [2021-02-02T06:13:18.065Z] +{"apiVersion":"","id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} [2021-02-02T06:13:18.065Z] Test: TestTransformToJSON [2021-02-02T06:13:18.065Z] --- FAIL: TestTransformToJSONMultipleParametersValid (0.00s) [2021-02-02T06:13:18.065Z] conversion_test.go:157: [2021-02-02T06:13:18.065Z] Error Trace: conversion_test.go:157 [2021-02-02T06:13:18.065Z] Error: Not equal: [2021-02-02T06:13:18.065Z] expected: "{\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" [2021-02-02T06:13:18.065Z] actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" [2021-02-02T06:13:18.065Z] [2021-02-02T06:13:18.065Z] Diff: [2021-02-02T06:13:18.065Z] --- Expected [2021-02-02T06:13:18.065Z] +++ Actual [2021-02-02T06:13:18.065Z] @@ -1 +1 @@ [2021-02-02T06:13:18.065Z] -{"id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} [2021-02-02T06:13:18.065Z] +{"apiVersion":"","id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} [2021-02-02T06:13:18.065Z] Test: TestTransformToJSONMultipleParametersValid [2021-02-02T06:13:18.065Z] --- FAIL: TestTransformToJSONMultipleParametersTwoEvents (0.00s) [2021-02-02T06:13:18.065Z] conversion_test.go:175: [2021-02-02T06:13:18.065Z] Error Trace: conversion_test.go:175 [2021-02-02T06:13:18.065Z] Error: Not equal: [2021-02-02T06:13:18.065Z] expected: "{\"id\":\"\",\"deviceName\":\"id2\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" [2021-02-02T06:13:18.065Z] actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"id2\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" [2021-02-02T06:13:18.065Z] [2021-02-02T06:13:18.065Z] Diff: [2021-02-02T06:13:18.065Z] --- Expected [2021-02-02T06:13:18.065Z] +++ Actual [2021-02-02T06:13:18.065Z] @@ -1 +1 @@ [2021-02-02T06:13:18.065Z] -{"id":"","deviceName":"id2","profileName":"","created":0,"origin":0,"readings":null} [2021-02-02T06:13:18.065Z] +{"apiVersion":"","id":"","deviceName":"id2","profileName":"","created":0,"origin":0,"readings":null} [2021-02-02T06:13:18.065Z] Test: TestTransformToJSONMultipleParametersTwoEvents [2021-02-02T06:13:18.065Z] FAIL [2021-02-02T06:13:18.065Z] coverage: 81.4% of statements [2021-02-02T06:13:18.065Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.043s [2021-02-02T06:13:18.065Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.011s coverage: 94.4% of statements [2021-02-02T06:13:18.065Z] FAIL [2021-02-02T06:13:18.065Z] make: *** [Makefile:6: test] Error 1 [Pipeline] } [2021-02-02T06:13:18.118Z] $ docker stop --time=1 7765d584426d664e66aa485b4bd5439ba141e0d58056aab13082da2afb195fa9 [2021-02-02T06:13:20.288Z] $ docker rm -f 7765d584426d664e66aa485b4bd5439ba141e0d58056aab13082da2afb195fa9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-02-02T06:13:25.129Z] Failed in branch amd64 [2021-02-02T06:13:37.685Z] Removing intermediate container 493c1905f4ce [2021-02-02T06:13:37.685Z] ---> ff9a620441a4 [2021-02-02T06:13:37.685Z] Successfully built ff9a620441a4 [2021-02-02T06:13:37.685Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-02T06:13:38.067Z] + docker inspect -f . ci-base-image-arm64 [2021-02-02T06:13:38.067Z] . [Pipeline] withDockerContainer [2021-02-02T06:13:38.404Z] prd-ubuntu18.04-docker-arm64-4c-16g-24537 does not seem to be running inside a container [2021-02-02T06:13:38.501Z] $ 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-arm64 cat [2021-02-02T06:13:40.219Z] $ docker top 4741114eacb15766c908d0e15a8ba323e39cea9b6b4226260ea18f4f1184d09d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-02T06:13:41.306Z] + go version [2021-02-02T06:13:41.306Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-02T06:13:41.358Z] $ docker stop --time=1 4741114eacb15766c908d0e15a8ba323e39cea9b6b4226260ea18f4f1184d09d [2021-02-02T06:13:43.320Z] $ docker rm -f 4741114eacb15766c908d0e15a8ba323e39cea9b6b4226260ea18f4f1184d09d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-02T06:13:44.603Z] + docker inspect -f . ci-base-image-arm64 [2021-02-02T06:13:44.603Z] . [Pipeline] withDockerContainer [2021-02-02T06:13:44.894Z] prd-ubuntu18.04-docker-arm64-4c-16g-24537 does not seem to be running inside a container [2021-02-02T06:13:44.991Z] $ 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-arm64 cat [2021-02-02T06:13:46.603Z] $ docker top f92fdab744a959119cee47a2012589268bee2f1fb77f030edd2c32710c6f0128 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-02T06:13:47.722Z] + make test [2021-02-02T06:13:47.722Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-02-02T06:13:49.702Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] [2021-02-02T06:14:16.576Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.068s coverage: 82.6% of statements [2021-02-02T06:14:43.511Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.078s coverage: 48.6% of statements [2021-02-02T06:14:43.511Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-02-02T06:14:43.511Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-02-02T06:14:43.511Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.080s coverage: 61.5% of statements [2021-02-02T06:14:43.511Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-02-02T06:14:43.511Z] --- FAIL: TestProcessMessageNoTransforms (0.00s) [2021-02-02T06:14:43.511Z] runtime_test.go:116: [2021-02-02T06:14:43.511Z] Error Trace: runtime_test.go:116 [2021-02-02T06:14:43.511Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x400028b940), ErrorCode:400} [2021-02-02T06:14:43.511Z] Test: TestProcessMessageNoTransforms [2021-02-02T06:14:43.511Z] Messages: result should be nil since no transforms have been passed [2021-02-02T06:14:43.511Z] --- FAIL: TestProcessMessageOneCustomTransform (0.00s) [2021-02-02T06:14:43.511Z] runtime_test.go:145: [2021-02-02T06:14:43.511Z] Error Trace: runtime_test.go:145 [2021-02-02T06:14:43.511Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x400028bbc0), ErrorCode:400} [2021-02-02T06:14:43.511Z] Test: TestProcessMessageOneCustomTransform [2021-02-02T06:14:43.511Z] --- FAIL: TestProcessMessageTwoCustomTransforms (0.00s) [2021-02-02T06:14:43.511Z] runtime_test.go:186: [2021-02-02T06:14:43.511Z] Error Trace: runtime_test.go:186 [2021-02-02T06:14:43.511Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x400028be50), ErrorCode:400} [2021-02-02T06:14:43.511Z] Test: TestProcessMessageTwoCustomTransforms [2021-02-02T06:14:43.511Z] --- FAIL: TestProcessMessageThreeCustomTransformsOneFail (0.00s) [2021-02-02T06:14:43.512Z] runtime_test.go:233: [2021-02-02T06:14:43.512Z] Error Trace: runtime_test.go:233 [2021-02-02T06:14:43.512Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x40002e40d0), ErrorCode:400} [2021-02-02T06:14:43.512Z] Test: TestProcessMessageThreeCustomTransformsOneFail [2021-02-02T06:14:43.512Z] --- FAIL: TestProcessMessageJSON (0.00s) [2021-02-02T06:14:43.512Z] runtime_test.go:308: [2021-02-02T06:14:43.512Z] Error Trace: runtime_test.go:308 [2021-02-02T06:14:43.512Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x40002e4460), ErrorCode:400} [2021-02-02T06:14:43.512Z] Test: TestProcessMessageJSON [2021-02-02T06:14:43.512Z] 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-02T06:14:43.512Z] runtime_test.go:309: [2021-02-02T06:14:43.512Z] Error Trace: runtime_test.go:309 [2021-02-02T06:14:43.512Z] Error: Should be true [2021-02-02T06:14:43.512Z] Test: TestProcessMessageJSON [2021-02-02T06:14:43.512Z] Messages: transform1 should have been called [2021-02-02T06:14:43.512Z] --- FAIL: TestProcessMessageTargetType (0.01s) [2021-02-02T06:14:43.512Z] runtime_test.go:423: [2021-02-02T06:14:43.512Z] Error Trace: runtime_test.go:423 [2021-02-02T06:14:43.512Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x40002e4cc0), ErrorCode:400} [2021-02-02T06:14:43.512Z] Test: TestProcessMessageTargetType [2021-02-02T06:14:43.512Z] Messages: unexpected error for test 'Default Nil Target Type' [2021-02-02T06:14:43.512Z] runtime_test.go:427: [2021-02-02T06:14:43.512Z] Error Trace: runtime_test.go:427 [2021-02-02T06:14:43.512Z] Error: Not equal: [2021-02-02T06:14:43.512Z] 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, 0x32, 0x34, 0x36, 0x34, 0x37, 0x36, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x32, 0x34, 0x36, 0x34, 0x37, 0x36, 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, 0x32, 0x34, 0x36, 0x34, 0x37, 0x36, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x32, 0x34, 0x36, 0x34, 0x37, 0x36, 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-02T06:14:43.512Z] actual : []byte(nil) [2021-02-02T06:14:43.512Z] [2021-02-02T06:14:43.512Z] Diff: [2021-02-02T06:14:43.512Z] --- Expected [2021-02-02T06:14:43.512Z] +++ Actual [2021-02-02T06:14:43.512Z] @@ -1,31 +1,2 @@ [2021-02-02T06:14:43.512Z] -([]uint8) (len=444) { [2021-02-02T06:14:43.512Z] - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| [2021-02-02T06:14:43.512Z] - 00000010 32 22 2c 22 69 64 22 3a 22 38 32 65 62 32 65 32 |2","id":"82eb2e2| [2021-02-02T06:14:43.512Z] - 00000020 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 65 34 63 |6-0f24-48aa-ae4c| [2021-02-02T06:14:43.512Z] - 00000030 2d 64 65 39 64 61 63 33 66 62 39 62 63 22 2c 22 |-de9dac3fb9bc","| [2021-02-02T06:14:43.512Z] - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| [2021-02-02T06:14:43.512Z] - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| [2021-02-02T06:14:43.512Z] - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| [2021-02-02T06:14:43.512Z] - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| [2021-02-02T06:14:43.512Z] - 00000080 72 65 61 74 65 64 22 3a 31 36 31 32 32 34 36 34 |reated":16122464| [2021-02-02T06:14:43.512Z] - 00000090 37 36 2c 22 6f 72 69 67 69 6e 22 3a 31 36 31 32 |76,"origin":1612| [2021-02-02T06:14:43.512Z] - 000000a0 32 34 36 34 37 36 2c 22 72 65 61 64 69 6e 67 73 |246476,"readings| [2021-02-02T06:14:43.512Z] - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| [2021-02-02T06:14:43.512Z] - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 38 32 65 62 |:"v2","id":"82eb| [2021-02-02T06:14:43.512Z] - 000000d0 32 65 32 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 |2e26-0f24-48aa-a| [2021-02-02T06:14:43.512Z] - 000000e0 65 34 63 2d 64 65 39 64 61 63 33 66 31 32 33 34 |e4c-de9dac3f1234| [2021-02-02T06:14:43.512Z] - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 31 36 31 32 |","created":1612| [2021-02-02T06:14:43.512Z] - 00000100 32 34 36 34 37 36 2c 22 6f 72 69 67 69 6e 22 3a |246476,"origin":| [2021-02-02T06:14:43.512Z] - 00000110 31 36 31 32 32 34 36 34 37 36 2c 22 64 65 76 69 |1612246476,"devi| [2021-02-02T06:14:43.512Z] - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| [2021-02-02T06:14:43.512Z] - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| [2021-02-02T06:14:43.512Z] - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| [2021-02-02T06:14:43.512Z] - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| [2021-02-02T06:14:43.512Z] - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| [2021-02-02T06:14:43.512Z] - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| [2021-02-02T06:14:43.512Z] - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| [2021-02-02T06:14:43.512Z] - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| [2021-02-02T06:14:43.512Z] - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| [2021-02-02T06:14:43.512Z] - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| [2021-02-02T06:14:43.512Z] -} [2021-02-02T06:14:43.512Z] +([]uint8) [2021-02-02T06:14:43.512Z] [2021-02-02T06:14:43.512Z] Test: TestProcessMessageTargetType [2021-02-02T06:14:43.512Z] Messages: 'Default Nil Target Type' test failed [2021-02-02T06:14:43.512Z] runtime_test.go:423: [2021-02-02T06:14:43.512Z] Error Trace: runtime_test.go:423 [2021-02-02T06:14:43.512Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x40002e5040), ErrorCode:400} [2021-02-02T06:14:43.512Z] Test: TestProcessMessageTargetType [2021-02-02T06:14:43.512Z] Messages: unexpected error for test 'Event as Json' [2021-02-02T06:14:43.512Z] runtime_test.go:427: [2021-02-02T06:14:43.512Z] Error Trace: runtime_test.go:427 [2021-02-02T06:14:43.512Z] Error: Not equal: [2021-02-02T06:14:43.512Z] 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, 0x32, 0x34, 0x36, 0x34, 0x37, 0x36, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x32, 0x34, 0x36, 0x34, 0x37, 0x36, 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, 0x32, 0x34, 0x36, 0x34, 0x37, 0x36, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x32, 0x34, 0x36, 0x34, 0x37, 0x36, 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-02T06:14:43.512Z] actual : []byte(nil) [2021-02-02T06:14:43.512Z] [2021-02-02T06:14:43.512Z] Diff: [2021-02-02T06:14:43.512Z] --- Expected [2021-02-02T06:14:43.512Z] +++ Actual [2021-02-02T06:14:43.512Z] @@ -1,31 +1,2 @@ [2021-02-02T06:14:43.512Z] -([]uint8) (len=444) { [2021-02-02T06:14:43.512Z] - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| [2021-02-02T06:14:43.512Z] - 00000010 32 22 2c 22 69 64 22 3a 22 38 32 65 62 32 65 32 |2","id":"82eb2e2| [2021-02-02T06:14:43.512Z] - 00000020 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 65 34 63 |6-0f24-48aa-ae4c| [2021-02-02T06:14:43.512Z] - 00000030 2d 64 65 39 64 61 63 33 66 62 39 62 63 22 2c 22 |-de9dac3fb9bc","| [2021-02-02T06:14:43.512Z] - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| [2021-02-02T06:14:43.512Z] - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| [2021-02-02T06:14:43.512Z] - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| [2021-02-02T06:14:43.512Z] - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| [2021-02-02T06:14:43.512Z] - 00000080 72 65 61 74 65 64 22 3a 31 36 31 32 32 34 36 34 |reated":16122464| [2021-02-02T06:14:43.512Z] - 00000090 37 36 2c 22 6f 72 69 67 69 6e 22 3a 31 36 31 32 |76,"origin":1612| [2021-02-02T06:14:43.512Z] - 000000a0 32 34 36 34 37 36 2c 22 72 65 61 64 69 6e 67 73 |246476,"readings| [2021-02-02T06:14:43.512Z] - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| [2021-02-02T06:14:43.512Z] - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 38 32 65 62 |:"v2","id":"82eb| [2021-02-02T06:14:43.512Z] - 000000d0 32 65 32 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 |2e26-0f24-48aa-a| [2021-02-02T06:14:43.512Z] - 000000e0 65 34 63 2d 64 65 39 64 61 63 33 66 31 32 33 34 |e4c-de9dac3f1234| [2021-02-02T06:14:43.512Z] - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 31 36 31 32 |","created":1612| [2021-02-02T06:14:43.512Z] - 00000100 32 34 36 34 37 36 2c 22 6f 72 69 67 69 6e 22 3a |246476,"origin":| [2021-02-02T06:14:43.512Z] - 00000110 31 36 31 32 32 34 36 34 37 36 2c 22 64 65 76 69 |1612246476,"devi| [2021-02-02T06:14:43.512Z] - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| [2021-02-02T06:14:43.512Z] - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| [2021-02-02T06:14:43.512Z] - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| [2021-02-02T06:14:43.512Z] - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| [2021-02-02T06:14:43.512Z] - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| [2021-02-02T06:14:43.512Z] - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| [2021-02-02T06:14:43.512Z] - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| [2021-02-02T06:14:43.512Z] - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| [2021-02-02T06:14:43.512Z] - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| [2021-02-02T06:14:43.512Z] - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| [2021-02-02T06:14:43.512Z] -} [2021-02-02T06:14:43.512Z] +([]uint8) [2021-02-02T06:14:43.512Z] [2021-02-02T06:14:43.512Z] Test: TestProcessMessageTargetType [2021-02-02T06:14:43.512Z] Messages: 'Event as Json' test failed [2021-02-02T06:14:43.512Z] runtime_test.go:423: [2021-02-02T06:14:43.512Z] Error Trace: runtime_test.go:423 [2021-02-02T06:14:43.512Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x40002e54c0), ErrorCode:400} [2021-02-02T06:14:43.512Z] Test: TestProcessMessageTargetType [2021-02-02T06:14:43.512Z] Messages: unexpected error for test 'Event as Cbor' [2021-02-02T06:14:43.512Z] runtime_test.go:427: [2021-02-02T06:14:43.512Z] Error Trace: runtime_test.go:427 [2021-02-02T06:14:43.512Z] Error: Not equal: [2021-02-02T06:14:43.513Z] 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, 0x32, 0x34, 0x36, 0x34, 0x37, 0x36, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x32, 0x34, 0x36, 0x34, 0x37, 0x36, 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, 0x32, 0x34, 0x36, 0x34, 0x37, 0x36, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x32, 0x34, 0x36, 0x34, 0x37, 0x36, 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-02T06:14:43.513Z] actual : []byte(nil) [2021-02-02T06:14:43.513Z] [2021-02-02T06:14:43.513Z] Diff: [2021-02-02T06:14:43.513Z] --- Expected [2021-02-02T06:14:43.513Z] +++ Actual [2021-02-02T06:14:43.513Z] @@ -1,31 +1,2 @@ [2021-02-02T06:14:43.513Z] -([]uint8) (len=444) { [2021-02-02T06:14:43.513Z] - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| [2021-02-02T06:14:43.513Z] - 00000010 32 22 2c 22 69 64 22 3a 22 38 32 65 62 32 65 32 |2","id":"82eb2e2| [2021-02-02T06:14:43.513Z] - 00000020 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 65 34 63 |6-0f24-48aa-ae4c| [2021-02-02T06:14:43.513Z] - 00000030 2d 64 65 39 64 61 63 33 66 62 39 62 63 22 2c 22 |-de9dac3fb9bc","| [2021-02-02T06:14:43.513Z] - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| [2021-02-02T06:14:43.513Z] - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| [2021-02-02T06:14:43.513Z] - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| [2021-02-02T06:14:43.513Z] - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| [2021-02-02T06:14:43.513Z] - 00000080 72 65 61 74 65 64 22 3a 31 36 31 32 32 34 36 34 |reated":16122464| [2021-02-02T06:14:43.513Z] - 00000090 37 36 2c 22 6f 72 69 67 69 6e 22 3a 31 36 31 32 |76,"origin":1612| [2021-02-02T06:14:43.513Z] - 000000a0 32 34 36 34 37 36 2c 22 72 65 61 64 69 6e 67 73 |246476,"readings| [2021-02-02T06:14:43.513Z] - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| [2021-02-02T06:14:43.513Z] - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 38 32 65 62 |:"v2","id":"82eb| [2021-02-02T06:14:43.513Z] - 000000d0 32 65 32 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 |2e26-0f24-48aa-a| [2021-02-02T06:14:43.513Z] - 000000e0 65 34 63 2d 64 65 39 64 61 63 33 66 31 32 33 34 |e4c-de9dac3f1234| [2021-02-02T06:14:43.513Z] - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 31 36 31 32 |","created":1612| [2021-02-02T06:14:43.513Z] - 00000100 32 34 36 34 37 36 2c 22 6f 72 69 67 69 6e 22 3a |246476,"origin":| [2021-02-02T06:14:43.513Z] - 00000110 31 36 31 32 32 34 36 34 37 36 2c 22 64 65 76 69 |1612246476,"devi| [2021-02-02T06:14:43.513Z] - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| [2021-02-02T06:14:43.513Z] - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| [2021-02-02T06:14:43.513Z] - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| [2021-02-02T06:14:43.513Z] - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| [2021-02-02T06:14:43.513Z] - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| [2021-02-02T06:14:43.513Z] - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| [2021-02-02T06:14:43.513Z] - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| [2021-02-02T06:14:43.513Z] - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| [2021-02-02T06:14:43.513Z] - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| [2021-02-02T06:14:43.513Z] - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| [2021-02-02T06:14:43.513Z] -} [2021-02-02T06:14:43.513Z] +([]uint8) [2021-02-02T06:14:43.513Z] [2021-02-02T06:14:43.513Z] Test: TestProcessMessageTargetType [2021-02-02T06:14:43.513Z] Messages: 'Event as Cbor' test failed [2021-02-02T06:14:43.513Z] --- FAIL: TestGolangRuntime_unmarshalV2Event (0.00s) [2021-02-02T06:14:43.513Z] --- FAIL: TestGolangRuntime_unmarshalV2Event/JSON_V2_Event (0.00s) [2021-02-02T06:14:43.513Z] runtime_test.go:599: [2021-02-02T06:14:43.513Z] Error Trace: runtime_test.go:599 [2021-02-02T06:14:43.513Z] Error: Received unexpected error: [2021-02-02T06:14:43.513Z] failed to unmarshal AddEventRequest from content type 'application/json': AddEventRequest.BaseRequest.Versionable.ApiVersion field is required [2021-02-02T06:14:43.513Z] Test: TestGolangRuntime_unmarshalV2Event/JSON_V2_Event [2021-02-02T06:14:43.513Z] --- FAIL: TestGolangRuntime_unmarshalV2Event/CBOR_V2_Event (0.00s) [2021-02-02T06:14:43.513Z] runtime_test.go:599: [2021-02-02T06:14:43.513Z] Error Trace: runtime_test.go:599 [2021-02-02T06:14:43.513Z] Error: Received unexpected error: [2021-02-02T06:14:43.513Z] validation failed on AddEventRequest: AddEventRequest.BaseRequest.Versionable.ApiVersion field is required [2021-02-02T06:14:43.513Z] Test: TestGolangRuntime_unmarshalV2Event/CBOR_V2_Event [2021-02-02T06:14:43.513Z] FAIL [2021-02-02T06:14:43.513Z] coverage: 73.4% of statements [2021-02-02T06:14:43.513Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.071s [2021-02-02T06:14:43.513Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-02-02T06:14:43.513Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-02-02T06:14:43.513Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-02-02T06:14:43.513Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-02-02T06:14:43.513Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-02-02T06:14:43.513Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-02-02T06:14:43.513Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.026s coverage: 97.0% of statements [2021-02-02T06:14:43.513Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-02-02T06:14:43.513Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.032s coverage: 8.8% of statements [2021-02-02T06:14:58.648Z] --- FAIL: TestInitializeAndProcessEventWithNoOutput (3.30s) [2021-02-02T06:14:58.648Z] messaging_test.go:206: [2021-02-02T06:14:58.648Z] Error Trace: messaging_test.go:206 [2021-02-02T06:14:58.648Z] Error: Should be true [2021-02-02T06:14:58.648Z] Test: TestInitializeAndProcessEventWithNoOutput [2021-02-02T06:14:58.648Z] Messages: Transform never called [2021-02-02T06:14:58.648Z] --- FAIL: TestInitializeAndProcessEventWithOutput (3.30s) [2021-02-02T06:14:58.648Z] messaging_test.go:290: [2021-02-02T06:14:58.648Z] Error Trace: messaging_test.go:290 [2021-02-02T06:14:58.648Z] Error: Should be true [2021-02-02T06:14:58.648Z] Test: TestInitializeAndProcessEventWithOutput [2021-02-02T06:14:58.648Z] Messages: Transform never called [2021-02-02T06:14:58.648Z] --- FAIL: TestInitializeAndProcessEventWithOutput_InferJSON (3.30s) [2021-02-02T06:14:58.648Z] messaging_test.go:385: [2021-02-02T06:14:58.648Z] Error Trace: messaging_test.go:385 [2021-02-02T06:14:58.648Z] Error: Should be true [2021-02-02T06:14:58.648Z] Test: TestInitializeAndProcessEventWithOutput_InferJSON [2021-02-02T06:14:58.648Z] Messages: Transform never called [2021-02-02T06:14:58.648Z] --- FAIL: TestInitializeAndProcessEventWithOutput_AssumeCBOR (3.33s) [2021-02-02T06:14:58.648Z] messaging_test.go:477: [2021-02-02T06:14:58.648Z] Error Trace: messaging_test.go:477 [2021-02-02T06:14:58.648Z] Error: Should be true [2021-02-02T06:14:58.648Z] Test: TestInitializeAndProcessEventWithOutput_AssumeCBOR [2021-02-02T06:14:58.648Z] Messages: Transform never called [2021-02-02T06:14:58.648Z] --- FAIL: TestInitializeAndProcessEventMultipleTopics (3.30s) [2021-02-02T06:14:58.648Z] messaging_test.go:638: [2021-02-02T06:14:58.648Z] Error Trace: messaging_test.go:638 [2021-02-02T06:14:58.648Z] Error: Transform never called for t1 [2021-02-02T06:14:58.648Z] Test: TestInitializeAndProcessEventMultipleTopics [2021-02-02T06:14:58.648Z] FAIL [2021-02-02T06:14:58.648Z] coverage: 62.0% of statements [2021-02-02T06:14:58.648Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 16.944s [2021-02-02T06:14:58.648Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-02-02T06:14:58.648Z] --- FAIL: TestAddSecretRequest (0.01s) [2021-02-02T06:14:58.648Z] --- FAIL: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash (0.00s) [2021-02-02T06:14:58.648Z] controller_test.go:261: [2021-02-02T06:14:58.648Z] Error Trace: controller_test.go:261 [2021-02-02T06:14:58.648Z] Error: Not equal: [2021-02-02T06:14:58.648Z] expected: 201 [2021-02-02T06:14:58.648Z] actual : 400 [2021-02-02T06:14:58.648Z] Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash [2021-02-02T06:14:58.648Z] Messages: HTTP status code not as expected [2021-02-02T06:14:58.648Z] controller_test.go:263: [2021-02-02T06:14:58.648Z] Error Trace: controller_test.go:263 [2021-02-02T06:14:58.648Z] Error: Not equal: [2021-02-02T06:14:58.648Z] expected: 201 [2021-02-02T06:14:58.648Z] actual : 400 [2021-02-02T06:14:58.649Z] Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash [2021-02-02T06:14:58.649Z] Messages: BaseResponse status code not as expected [2021-02-02T06:14:58.649Z] controller_test.go:270: [2021-02-02T06:14:58.649Z] Error Trace: controller_test.go:270 [2021-02-02T06:14:58.649Z] Error: Not equal: [2021-02-02T06:14:58.649Z] expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-02-02T06:14:58.649Z] actual : "" [2021-02-02T06:14:58.649Z] [2021-02-02T06:14:58.649Z] Diff: [2021-02-02T06:14:58.649Z] --- Expected [2021-02-02T06:14:58.649Z] +++ Actual [2021-02-02T06:14:58.649Z] @@ -1 +1 @@ [2021-02-02T06:14:58.649Z] -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-02T06:14:58.649Z] + [2021-02-02T06:14:58.649Z] Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash [2021-02-02T06:14:58.649Z] Messages: RequestID not as expected [2021-02-02T06:14:58.649Z] controller_test.go:271: [2021-02-02T06:14:58.649Z] Error Trace: controller_test.go:271 [2021-02-02T06:14:58.649Z] Error: Should be empty, but was JSON decode failed [2021-02-02T06:14:58.649Z] Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash [2021-02-02T06:14:58.649Z] Messages: Message not empty, as expected [2021-02-02T06:14:58.649Z] --- FAIL: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash (0.00s) [2021-02-02T06:14:58.649Z] controller_test.go:261: [2021-02-02T06:14:58.649Z] Error Trace: controller_test.go:261 [2021-02-02T06:14:58.649Z] Error: Not equal: [2021-02-02T06:14:58.649Z] expected: 201 [2021-02-02T06:14:58.649Z] actual : 400 [2021-02-02T06:14:58.649Z] Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-02T06:14:58.649Z] Messages: HTTP status code not as expected [2021-02-02T06:14:58.649Z] controller_test.go:263: [2021-02-02T06:14:58.649Z] Error Trace: controller_test.go:263 [2021-02-02T06:14:58.649Z] Error: Not equal: [2021-02-02T06:14:58.649Z] expected: 201 [2021-02-02T06:14:58.649Z] actual : 400 [2021-02-02T06:14:58.649Z] Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-02T06:14:58.649Z] Messages: BaseResponse status code not as expected [2021-02-02T06:14:58.649Z] controller_test.go:270: [2021-02-02T06:14:58.649Z] Error Trace: controller_test.go:270 [2021-02-02T06:14:58.649Z] Error: Not equal: [2021-02-02T06:14:58.649Z] expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-02-02T06:14:58.649Z] actual : "" [2021-02-02T06:14:58.649Z] [2021-02-02T06:14:58.649Z] Diff: [2021-02-02T06:14:58.649Z] --- Expected [2021-02-02T06:14:58.649Z] +++ Actual [2021-02-02T06:14:58.649Z] @@ -1 +1 @@ [2021-02-02T06:14:58.649Z] -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-02T06:14:58.649Z] + [2021-02-02T06:14:58.649Z] Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-02T06:14:58.649Z] Messages: RequestID not as expected [2021-02-02T06:14:58.649Z] controller_test.go:271: [2021-02-02T06:14:58.649Z] Error Trace: controller_test.go:271 [2021-02-02T06:14:58.649Z] Error: Should be empty, but was JSON decode failed [2021-02-02T06:14:58.649Z] Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-02T06:14:58.649Z] Messages: Message not empty, as expected [2021-02-02T06:14:58.649Z] --- FAIL: TestAddSecretRequest/Valid_-_both_trailing_slashes (0.00s) [2021-02-02T06:14:58.649Z] controller_test.go:261: [2021-02-02T06:14:58.649Z] Error Trace: controller_test.go:261 [2021-02-02T06:14:58.649Z] Error: Not equal: [2021-02-02T06:14:58.649Z] expected: 201 [2021-02-02T06:14:58.649Z] actual : 400 [2021-02-02T06:14:58.649Z] Test: TestAddSecretRequest/Valid_-_both_trailing_slashes [2021-02-02T06:14:58.649Z] Messages: HTTP status code not as expected [2021-02-02T06:14:58.649Z] controller_test.go:263: [2021-02-02T06:14:58.649Z] Error Trace: controller_test.go:263 [2021-02-02T06:14:58.649Z] Error: Not equal: [2021-02-02T06:14:58.649Z] expected: 201 [2021-02-02T06:14:58.649Z] actual : 400 [2021-02-02T06:14:58.649Z] Test: TestAddSecretRequest/Valid_-_both_trailing_slashes [2021-02-02T06:14:58.649Z] Messages: BaseResponse status code not as expected [2021-02-02T06:14:58.649Z] controller_test.go:270: [2021-02-02T06:14:58.649Z] Error Trace: controller_test.go:270 [2021-02-02T06:14:58.649Z] Error: Not equal: [2021-02-02T06:14:58.649Z] expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-02-02T06:14:58.649Z] actual : "" [2021-02-02T06:14:58.649Z] [2021-02-02T06:14:58.649Z] Diff: [2021-02-02T06:14:58.649Z] --- Expected [2021-02-02T06:14:58.649Z] +++ Actual [2021-02-02T06:14:58.649Z] @@ -1 +1 @@ [2021-02-02T06:14:58.649Z] -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-02T06:14:58.649Z] + [2021-02-02T06:14:58.649Z] Test: TestAddSecretRequest/Valid_-_both_trailing_slashes [2021-02-02T06:14:58.649Z] Messages: RequestID not as expected [2021-02-02T06:14:58.649Z] controller_test.go:271: [2021-02-02T06:14:58.649Z] Error Trace: controller_test.go:271 [2021-02-02T06:14:58.649Z] Error: Should be empty, but was JSON decode failed [2021-02-02T06:14:58.649Z] Test: TestAddSecretRequest/Valid_-_both_trailing_slashes [2021-02-02T06:14:58.649Z] Messages: Message not empty, as expected [2021-02-02T06:14:58.649Z] --- FAIL: TestAddSecretRequest/Valid_-_no_requestId (0.00s) [2021-02-02T06:14:58.649Z] controller_test.go:261: [2021-02-02T06:14:58.649Z] Error Trace: controller_test.go:261 [2021-02-02T06:14:58.649Z] Error: Not equal: [2021-02-02T06:14:58.649Z] expected: 201 [2021-02-02T06:14:58.649Z] actual : 400 [2021-02-02T06:14:58.649Z] Test: TestAddSecretRequest/Valid_-_no_requestId [2021-02-02T06:14:58.649Z] Messages: HTTP status code not as expected [2021-02-02T06:14:58.649Z] controller_test.go:263: [2021-02-02T06:14:58.649Z] Error Trace: controller_test.go:263 [2021-02-02T06:14:58.649Z] Error: Not equal: [2021-02-02T06:14:58.649Z] expected: 201 [2021-02-02T06:14:58.649Z] actual : 400 [2021-02-02T06:14:58.649Z] Test: TestAddSecretRequest/Valid_-_no_requestId [2021-02-02T06:14:58.649Z] Messages: BaseResponse status code not as expected [2021-02-02T06:14:58.649Z] controller_test.go:271: [2021-02-02T06:14:58.649Z] Error Trace: controller_test.go:271 [2021-02-02T06:14:58.649Z] Error: Should be empty, but was JSON decode failed [2021-02-02T06:14:58.649Z] Test: TestAddSecretRequest/Valid_-_no_requestId [2021-02-02T06:14:58.649Z] Messages: Message not empty, as expected [2021-02-02T06:14:58.649Z] --- FAIL: TestAddSecretRequest/Invalid_-_No_Secret_Store (0.00s) [2021-02-02T06:14:58.649Z] controller_test.go:261: [2021-02-02T06:14:58.649Z] Error Trace: controller_test.go:261 [2021-02-02T06:14:58.649Z] Error: Not equal: [2021-02-02T06:14:58.649Z] expected: 500 [2021-02-02T06:14:58.649Z] actual : 400 [2021-02-02T06:14:58.649Z] Test: TestAddSecretRequest/Invalid_-_No_Secret_Store [2021-02-02T06:14:58.649Z] Messages: HTTP status code not as expected [2021-02-02T06:14:58.649Z] controller_test.go:263: [2021-02-02T06:14:58.649Z] Error Trace: controller_test.go:263 [2021-02-02T06:14:58.649Z] Error: Not equal: [2021-02-02T06:14:58.649Z] expected: 500 [2021-02-02T06:14:58.649Z] actual : 400 [2021-02-02T06:14:58.649Z] Test: TestAddSecretRequest/Invalid_-_No_Secret_Store [2021-02-02T06:14:58.649Z] Messages: BaseResponse status code not as expected [2021-02-02T06:14:58.649Z] FAIL [2021-02-02T06:14:58.649Z] coverage: 63.8% of statements [2021-02-02T06:14:58.649Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.094s [2021-02-02T06:14:58.649Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.041s coverage: 80.5% of statements [2021-02-02T06:14:58.649Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.023s coverage: 71.7% of statements [2021-02-02T06:15:06.925Z] panic: interface conversion: interface {} is nil, not [][]uint8 [2021-02-02T06:15:06.925Z] [2021-02-02T06:15:06.925Z] goroutine 28 [running]: [2021-02-02T06:15:06.925Z] github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms.TestBatchInTimeAndCountMode_CountMet.func3(0x40002b6520, 0x40002b6530, 0x40002c2280, 0x40002c4000, 0x40002b6510) [2021-02-02T06:15:06.925Z] /w/workspace/app-functions-sdk-go/1/pkg/transforms/batch_test.go:126 +0x224 [2021-02-02T06:15:06.925Z] created by github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms.TestBatchInTimeAndCountMode_CountMet [2021-02-02T06:15:06.925Z] /w/workspace/app-functions-sdk-go/1/pkg/transforms/batch_test.go:121 +0x17c [2021-02-02T06:15:06.925Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 22.037s [2021-02-02T06:15:06.925Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.026s coverage: 94.4% of statements [2021-02-02T06:15:06.925Z] FAIL [2021-02-02T06:15:06.925Z] make: *** [Makefile:6: test] Error 1 [Pipeline] } [2021-02-02T06:15:06.988Z] $ docker stop --time=1 f92fdab744a959119cee47a2012589268bee2f1fb77f030edd2c32710c6f0128 [2021-02-02T06:15:09.196Z] $ docker rm -f f92fdab744a959119cee47a2012589268bee2f1fb77f030edd2c32710c6f0128 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-02-02T06:15:11.885Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-02-02T06:15:16.173Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-02T06:15:16.797Z] ---> package-listing.sh [2021-02-02T06:15:16.798Z] ++ facter osfamily [2021-02-02T06:15:16.798Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-02T06:15:17.070Z] + OS_FAMILY=redhat [2021-02-02T06:15:17.070Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-670 [2021-02-02T06:15:17.070Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-02T06:15:17.070Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-02T06:15:17.070Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-02T06:15:17.070Z] + PACKAGES=/tmp/packages_start.txt [2021-02-02T06:15:17.070Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-670 ']' [2021-02-02T06:15:17.070Z] + PACKAGES=/tmp/packages_end.txt [2021-02-02T06:15:17.070Z] + case "${OS_FAMILY}" in [2021-02-02T06:15:17.070Z] + rpm -qa [2021-02-02T06:15:17.070Z] + sort [2021-02-02T06:15:22.427Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-02T06:15:22.428Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-02T06:15:22.428Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-02T06:15:22.428Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-670 ']' [2021-02-02T06:15:22.428Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-670/archives/ [2021-02-02T06:15:22.428Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-670/archives/ [Pipeline] echo [2021-02-02T06:15:22.473Z] 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-670/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-02-02T06:15:22.813Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-02T06:15:23.441Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-02T06:15:23.441Z] [2021-02-02T06:15:23.441Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-02T06:15:23.866Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-02T06:15:24.135Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-02T06:15:24.135Z] df20fa9351a1: Pulling fs layer [2021-02-02T06:15:24.135Z] 36b3adc4ff6f: Pulling fs layer [2021-02-02T06:15:24.135Z] 8ad3a11d3b57: Pulling fs layer [2021-02-02T06:15:24.135Z] 46f8f816bc3b: Pulling fs layer [2021-02-02T06:15:24.135Z] 93b61091891f: Pulling fs layer [2021-02-02T06:15:24.135Z] 93b9cdb0e59b: Pulling fs layer [2021-02-02T06:15:24.135Z] 5e14af77c1be: Pulling fs layer [2021-02-02T06:15:24.135Z] 01666e4c0597: Pulling fs layer [2021-02-02T06:15:24.135Z] aa168da1d23b: Pulling fs layer [2021-02-02T06:15:24.135Z] 93b9cdb0e59b: Waiting [2021-02-02T06:15:24.135Z] 5e14af77c1be: Waiting [2021-02-02T06:15:24.135Z] 01666e4c0597: Waiting [2021-02-02T06:15:24.135Z] aa168da1d23b: Waiting [2021-02-02T06:15:24.135Z] 46f8f816bc3b: Waiting [2021-02-02T06:15:24.135Z] 93b61091891f: Waiting [2021-02-02T06:15:24.135Z] 36b3adc4ff6f: Verifying Checksum [2021-02-02T06:15:24.135Z] 36b3adc4ff6f: Download complete [2021-02-02T06:15:24.135Z] 46f8f816bc3b: Verifying Checksum [2021-02-02T06:15:24.135Z] 46f8f816bc3b: Download complete [2021-02-02T06:15:24.135Z] df20fa9351a1: Verifying Checksum [2021-02-02T06:15:24.135Z] df20fa9351a1: Download complete [2021-02-02T06:15:24.135Z] 93b9cdb0e59b: Verifying Checksum [2021-02-02T06:15:24.135Z] 93b9cdb0e59b: Download complete [2021-02-02T06:15:24.135Z] 5e14af77c1be: Verifying Checksum [2021-02-02T06:15:24.135Z] 5e14af77c1be: Download complete [2021-02-02T06:15:24.135Z] 93b61091891f: Verifying Checksum [2021-02-02T06:15:24.135Z] 93b61091891f: Download complete [2021-02-02T06:15:24.135Z] 01666e4c0597: Download complete [2021-02-02T06:15:24.775Z] 8ad3a11d3b57: Verifying Checksum [2021-02-02T06:15:24.775Z] 8ad3a11d3b57: Download complete [2021-02-02T06:15:25.052Z] df20fa9351a1: Pull complete [2021-02-02T06:15:25.668Z] 36b3adc4ff6f: Pull complete [2021-02-02T06:15:27.130Z] 8ad3a11d3b57: Pull complete [2021-02-02T06:15:27.130Z] aa168da1d23b: Verifying Checksum [2021-02-02T06:15:27.130Z] aa168da1d23b: Download complete [2021-02-02T06:15:27.412Z] 46f8f816bc3b: Pull complete [2021-02-02T06:15:27.684Z] 93b61091891f: Pull complete [2021-02-02T06:15:27.953Z] 93b9cdb0e59b: Pull complete [2021-02-02T06:15:28.228Z] 5e14af77c1be: Pull complete [2021-02-02T06:15:28.504Z] 01666e4c0597: Pull complete [2021-02-02T06:15:40.949Z] aa168da1d23b: Pull complete [2021-02-02T06:15:40.949Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-02T06:15:40.949Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-02T06:15:40.949Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-02T06:15:41.522Z] prd-centos7-docker-4c-2g-24528 does not seem to be running inside a container [2021-02-02T06:15:41.583Z] $ 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-670/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-670 -v /w/workspace/ndry_app-functions-sdk-go_PR-670:/w/workspace/ndry_app-functions-sdk-go_PR-670:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-670@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-670@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-02T06:15:43.903Z] $ docker top f4572084ae42b021a268475dd8cf717644a38038c36d38e8ac738876e92a5079 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-02T06:15:44.632Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-02T06:15:44.965Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-02T06:15:45.299Z] + ls /var/log/sa-host [2021-02-02T06:15:45.299Z] + sadf -c /var/log/sa-host/sa02 [2021-02-02T06:15:45.299Z] file_magic: OK [2021-02-02T06:15:45.299Z] HZ: Using current value: 100 [2021-02-02T06:15:45.299Z] file_header: OK [2021-02-02T06:15:45.299Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-02-02T06:15:45.299Z] Statistics: [2021-02-02T06:15:45.299Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-02T06:15:45.299Z] File successfully converted to sysstat format version 12.2.1 [2021-02-02T06:15:45.299Z] + sadf -c /var/log/sa-host/sa23 [2021-02-02T06:15:45.299Z] file_magic: OK [2021-02-02T06:15:45.299Z] HZ: Using current value: 100 [2021-02-02T06:15:45.299Z] file_header: OK [2021-02-02T06:15:45.299Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-02-02T06:15:45.299Z] Statistics: [2021-02-02T06:15:45.299Z] Hnuu...uuuununununu... [2021-02-02T06:15:45.299Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-02T06:15:45.612Z] provisioning config files... [2021-02-02T06:15:45.636Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-670@tmp/config6736183917813027463tmp [Pipeline] { [Pipeline] echo [2021-02-02T06:15:45.775Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-02T06:15:46.136Z] ---> create-netrc.sh [Pipeline] } [2021-02-02T06:15:46.165Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-02T06:15:46.385Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-02T06:15:46.743Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-02T06:15:46.790Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-02T06:15:47.142Z] ---> sudo-logs.sh [2021-02-02T06:15:47.142Z] Archiving 'sudo' log.. [Pipeline] echo [2021-02-02T06:15:47.173Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-02T06:15:47.507Z] ---> job-cost.sh [2021-02-02T06:15:47.507Z] lf-activate-venv: SKIPPING [2021-02-02T06:15:47.507Z] INFO: No Stack... [2021-02-02T06:15:48.462Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-02T06:15:49.051Z] INFO: Archiving Costs [Pipeline] echo [2021-02-02T06:15:49.094Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-02T06:15:49.433Z] ---> logs-deploy.sh [2021-02-02T06:15:49.433Z] lf-activate-venv: SKIPPING [2021-02-02T06:15:49.433Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-670/1 [2021-02-02T06:15:49.433Z] INFO: archiving workspace using pattern(s): [2021-02-02T06:15:52.010Z] Archives upload complete. [2021-02-02T06:15:52.010Z] INFO: archiving logs to Nexus