Pull request #675 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from cf352134e6fb04f62c0d45d1556c44c8c59cae64+fc40647c9a5a0500e2956cf52a4e5c076e69792e (298a209cf9c3fbb7c7761e214bdc674ad885d0c4) 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-675/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-675/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-functions-sdk-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-24927 in /w/workspace/ndry_app-functions-sdk-go_PR-675 [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-675 # 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 Merging remotes/origin/master commit fc40647c9a5a0500e2956cf52a4e5c076e69792e into PR head commit cf352134e6fb04f62c0d45d1556c44c8c59cae64 Merge succeeded, producing cf352134e6fb04f62c0d45d1556c44c8c59cae64 Checking out Revision cf352134e6fb04f62c0d45d1556c44c8c59cae64 (PR-675) > 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/675/head:refs/remotes/origin/PR-675 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cf352134e6fb04f62c0d45d1556c44c8c59cae64 # 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 cf352134e6fb04f62c0d45d1556c44c8c59cae64 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/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-04T06:05:58.552Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-04T06:05:58.884Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-04T06:05:59.086Z] ========================================================= [2021-02-04T06:05:59.086Z] EdgeX Global Pipelines Version Info [2021-02-04T06:05:59.086Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-04T06:06:00.572Z] ------------------- [2021-02-04T06:06:00.572Z] stable info: [2021-02-04T06:06:00.572Z] ------------------- [2021-02-04T06:06:00.573Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-04T06:06:00.573Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-04T06:06:00.573Z] Message: update stable to v1.0.179 [2021-02-04T06:06:01.519Z] ------------------- [2021-02-04T06:06:01.519Z] experimental info: [2021-02-04T06:06:01.519Z] ------------------- [2021-02-04T06:06:01.519Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-04T06:06:01.519Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-04T06:06:01.519Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-04T06:06:02.023Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-02-04T06:06:02.205Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-02-04T06:06:02.348Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-04T06:06:02.509Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-04T06:06:02.658Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-04T06:06:02.802Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-04T06:06:02.974Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-04T06:06:04.816Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-04T06:06:04.944Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-02-04T06:06:05.073Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-04T06:06:05.201Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-04T06:06:05.331Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2021-02-04T06:06:05.456Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-04T06:06:05.609Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-04T06:06:05.762Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-02-04T06:06:05.887Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-04T06:06:06.028Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-04T06:06:06.150Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-04T06:06:06.277Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-04T06:06:06.405Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-04T06:06:06.530Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-02-04T06:06:06.648Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-02-04T06:06:06.771Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-04T06:06:06.892Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-04T06:06:07.015Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-02-04T06:06:07.138Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-02-04T06:06:07.260Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-02-04T06:06:07.386Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-675 [Pipeline] echo [2021-02-04T06:06:07.529Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-675 [Pipeline] echo [2021-02-04T06:06:07.654Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-675 [Pipeline] echo [2021-02-04T06:06:07.784Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cf352134e6fb04f62c0d45d1556c44c8c59cae64 [Pipeline] echo [2021-02-04T06:06:07.941Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cf35213 [Pipeline] echo [2021-02-04T06:06:08.063Z] [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-04T06:06:08.941Z] + git log --format=format:%s -1 cf352134e6fb04f62c0d45d1556c44c8c59cae64 [Pipeline] echo [2021-02-04T06:06:09.032Z] GIT_COMMIT: cf352134e6fb04f62c0d45d1556c44c8c59cae64, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2021-02-04T06:06:09.102Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-04T06:06:10.156Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-04T06:06:10.421Z] [2021-02-04T06:06:10.421Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-04T06:06:10.820Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-04T06:06:10.821Z] latest: Pulling from edgex-devops/git-semver [2021-02-04T06:06:10.821Z] 31603596830f: Pulling fs layer [2021-02-04T06:06:10.821Z] 2a8b12db71e7: Pulling fs layer [2021-02-04T06:06:10.821Z] 6ca5941a6612: Pulling fs layer [2021-02-04T06:06:10.821Z] ecc8261a40a4: Pulling fs layer [2021-02-04T06:06:10.821Z] ecc8261a40a4: Waiting [2021-02-04T06:06:10.821Z] 2a8b12db71e7: Verifying Checksum [2021-02-04T06:06:10.821Z] 2a8b12db71e7: Download complete [2021-02-04T06:06:11.089Z] 31603596830f: Verifying Checksum [2021-02-04T06:06:11.089Z] 31603596830f: Download complete [2021-02-04T06:06:11.089Z] ecc8261a40a4: Verifying Checksum [2021-02-04T06:06:11.089Z] ecc8261a40a4: Download complete [2021-02-04T06:06:11.089Z] 6ca5941a6612: Verifying Checksum [2021-02-04T06:06:11.089Z] 6ca5941a6612: Download complete [2021-02-04T06:06:11.357Z] 31603596830f: Pull complete [2021-02-04T06:06:11.618Z] 2a8b12db71e7: Pull complete [2021-02-04T06:06:12.237Z] 6ca5941a6612: Pull complete [2021-02-04T06:06:12.504Z] ecc8261a40a4: Pull complete [2021-02-04T06:06:12.504Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-04T06:06:12.504Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-04T06:06:12.504Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-04T06:06:12.645Z] prd-centos7-docker-4c-2g-24927 does not seem to be running inside a container [2021-02-04T06:06:12.695Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-675 -v /w/workspace/ndry_app-functions-sdk-go_PR-675:/w/workspace/ndry_app-functions-sdk-go_PR-675:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-675@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-675@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-04T06:06:14.432Z] $ docker top 9282f75d902b941c86282791b9e8481b3fde40951659df301199498dc6f71f16 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-04T06:06:14.811Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-04T06:06:14.811Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-04T06:06:15.029Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-04T06:06:15.033Z] $ docker exec 9282f75d902b941c86282791b9e8481b3fde40951659df301199498dc6f71f16 ssh-agent [2021-02-04T06:06:15.227Z] SSH_AUTH_SOCK=/tmp/ssh-57Xqe3M6S4W5/agent.11 [2021-02-04T06:06:15.227Z] SSH_AGENT_PID=16 [2021-02-04T06:06:15.238Z] Running ssh-add (command line suppressed) [2021-02-04T06:06:15.365Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-675@tmp/private_key_6051059887663902269.key (/w/workspace/ndry_app-functions-sdk-go_PR-675@tmp/private_key_6051059887663902269.key) [2021-02-04T06:06:15.421Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-04T06:06:15.816Z] + git tag --points-at HEAD [Pipeline] } [2021-02-04T06:06:15.848Z] $ docker exec --env ******** --env ******** 9282f75d902b941c86282791b9e8481b3fde40951659df301199498dc6f71f16 ssh-agent -k [2021-02-04T06:06:15.961Z] unset SSH_AUTH_SOCK; [2021-02-04T06:06:15.961Z] unset SSH_AGENT_PID; [2021-02-04T06:06:15.961Z] echo Agent pid 16 killed; [2021-02-04T06:06:16.012Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-04T06:06:16.229Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-04T06:06:16.229Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-04T06:06:16.393Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-04T06:06:16.397Z] $ docker exec 9282f75d902b941c86282791b9e8481b3fde40951659df301199498dc6f71f16 ssh-agent [2021-02-04T06:06:16.558Z] SSH_AUTH_SOCK=/tmp/ssh-VmwxJWfnYYEZ/agent.44 [2021-02-04T06:06:16.558Z] SSH_AGENT_PID=50 [2021-02-04T06:06:16.564Z] Running ssh-add (command line suppressed) [2021-02-04T06:06:16.683Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-675@tmp/private_key_8872753257264775124.key (/w/workspace/ndry_app-functions-sdk-go_PR-675@tmp/private_key_8872753257264775124.key) [2021-02-04T06:06:16.740Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-04T06:06:17.118Z] + git semver init [2021-02-04T06:06:17.118Z] # -> Open(): unable to determine branch for HEAD [2021-02-04T06:06:17.118Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-675/.git [2021-02-04T06:06:17.118Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-675 [2021-02-04T06:06:17.118Z] # $SEMVER_REMOTE_NAME = origin [2021-02-04T06:06:17.118Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-04T06:06:17.118Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-04T06:06:17.118Z] # $SEMVER_BRANCH = PR-675 [2021-02-04T06:06:17.118Z] # $SEMVER_TEMP = /tmp/semver-119628556 [2021-02-04T06:06:17.118Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-02-04T06:06:19.708Z] # '/tmp/semver-119628556' -> '/w/workspace/ndry_app-functions-sdk-go_PR-675/.semver' [2021-02-04T06:06:19.708Z] # -> Force: false [2021-02-04T06:06:19.708Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-675/.semver [Pipeline] } [2021-02-04T06:06:19.736Z] $ docker exec --env ******** --env ******** 9282f75d902b941c86282791b9e8481b3fde40951659df301199498dc6f71f16 ssh-agent -k [2021-02-04T06:06:19.849Z] unset SSH_AUTH_SOCK; [2021-02-04T06:06:19.850Z] unset SSH_AGENT_PID; [2021-02-04T06:06:19.850Z] echo Agent pid 50 killed; [2021-02-04T06:06:19.900Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-04T06:06:20.485Z] + git semver [Pipeline] } [2021-02-04T06:06:20.514Z] $ docker stop --time=1 9282f75d902b941c86282791b9e8481b3fde40951659df301199498dc6f71f16 [2021-02-04T06:06:21.998Z] $ docker rm -f 9282f75d902b941c86282791b9e8481b3fde40951659df301199498dc6f71f16 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-04T06:06:22.549Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-04T06:06:23.020Z] Stashed 1 file(s) [Pipeline] echo [2021-02-04T06:06:23.043Z] [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-04T06:06:38.923Z] Still waiting to schedule task [2021-02-04T06:06:38.923Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-02-04T06:06:38.951Z] Still waiting to schedule task [2021-02-04T06:06:38.951Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-24924’ is offline [2021-02-04T06:08:27.810Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-24929 in /w/workspace/ndry_app-functions-sdk-go_PR-675 [Pipeline] { [Pipeline] ws [2021-02-04T06:08:27.914Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-02-04T06:08:33.159Z] using credential edgex-jenkins-ssh [2021-02-04T06:08:33.259Z] Cloning the remote Git repository [2021-02-04T06:08:33.321Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-04T06:08:33.430Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2021-02-04T06:08:33.518Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-04T06:08:33.519Z] > git --version # timeout=10 [2021-02-04T06:08:33.538Z] > git --version # 'git version 2.17.1' [2021-02-04T06:08:33.539Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-04T06:08:33.592Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-04T06:08:36.678Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-02-04T06:08:36.695Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-04T06:08:36.725Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-02-04T06:08:36.761Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-04T06:08:36.762Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-04T06:08:36.775Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/675/head:refs/remotes/origin/PR-675 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-04T06:08:37.290Z] Merging remotes/origin/master commit fc40647c9a5a0500e2956cf52a4e5c076e69792e into PR head commit cf352134e6fb04f62c0d45d1556c44c8c59cae64 [2021-02-04T06:08:37.617Z] Merge succeeded, producing cf352134e6fb04f62c0d45d1556c44c8c59cae64 [2021-02-04T06:08:37.618Z] Checking out Revision cf352134e6fb04f62c0d45d1556c44c8c59cae64 (PR-675) [2021-02-04T06:08:37.310Z] > git config core.sparsecheckout # timeout=10 [2021-02-04T06:08:37.326Z] > git checkout -f cf352134e6fb04f62c0d45d1556c44c8c59cae64 # timeout=10 [2021-02-04T06:08:37.445Z] > git remote # timeout=10 [2021-02-04T06:08:37.466Z] > git config --get remote.origin.url # timeout=10 [2021-02-04T06:08:37.482Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-04T06:08:37.492Z] > git merge fc40647c9a5a0500e2956cf52a4e5c076e69792e # timeout=10 [2021-02-04T06:08:37.571Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-04T06:08:37.627Z] > git config core.sparsecheckout # timeout=10 [2021-02-04T06:08:37.662Z] > git checkout -f cf352134e6fb04f62c0d45d1556c44c8c59cae64 # timeout=10 [2021-02-04T06:08:42.154Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2021-02-04T06:08:42.215Z] > git --version # timeout=10 [2021-02-04T06:08:42.224Z] > git --version # 'git version 2.17.1' [2021-02-04T06:08:42.239Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-04T06:08:44.028Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-04T06:08:44.526Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-04T06:08:44.887Z] + sudo service docker restart [2021-02-04T06:08:44.887Z] + true [Pipeline] unstash [Pipeline] echo [2021-02-04T06:08:47.822Z] ========================================================= [2021-02-04T06:08:47.822Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-04T06:08:47.822Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-04T06:08:48.255Z] + 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-04T06:08:49.246Z] Sending build context to Docker daemon 19.08MB [2021-02-04T06:08:49.523Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-04T06:08:49.523Z] Step 2/8 : FROM ${BASE} [2021-02-04T06:08:49.806Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-04T06:08:49.806Z] 5f621e34cdf4: Pulling fs layer [2021-02-04T06:08:49.806Z] a4357932f1b6: Pulling fs layer [2021-02-04T06:08:49.806Z] 18c013af1878: Pulling fs layer [2021-02-04T06:08:49.806Z] 00ac8860ef70: Pulling fs layer [2021-02-04T06:08:49.806Z] 63d7cb157983: Pulling fs layer [2021-02-04T06:08:49.806Z] b116817d02f9: Pulling fs layer [2021-02-04T06:08:49.806Z] 745a02a5169b: Pulling fs layer [2021-02-04T06:08:49.806Z] 63d7cb157983: Waiting [2021-02-04T06:08:49.806Z] b116817d02f9: Waiting [2021-02-04T06:08:49.806Z] 745a02a5169b: Waiting [2021-02-04T06:08:49.806Z] 00ac8860ef70: Waiting [2021-02-04T06:08:49.806Z] 18c013af1878: Verifying Checksum [2021-02-04T06:08:49.806Z] 18c013af1878: Download complete [2021-02-04T06:08:49.806Z] a4357932f1b6: Verifying Checksum [2021-02-04T06:08:49.806Z] a4357932f1b6: Download complete [2021-02-04T06:08:49.806Z] 63d7cb157983: Verifying Checksum [2021-02-04T06:08:49.806Z] 63d7cb157983: Download complete [2021-02-04T06:08:50.788Z] b116817d02f9: Download complete [2021-02-04T06:08:50.788Z] 5f621e34cdf4: Verifying Checksum [2021-02-04T06:08:50.788Z] 5f621e34cdf4: Download complete [2021-02-04T06:08:51.385Z] 5f621e34cdf4: Pull complete [2021-02-04T06:08:51.995Z] a4357932f1b6: Pull complete [2021-02-04T06:08:52.272Z] 18c013af1878: Pull complete [2021-02-04T06:08:52.872Z] 745a02a5169b: Verifying Checksum [2021-02-04T06:08:52.872Z] 745a02a5169b: Download complete [2021-02-04T06:08:54.311Z] 00ac8860ef70: Verifying Checksum [2021-02-04T06:08:54.311Z] 00ac8860ef70: Download complete [2021-02-04T06:09:04.507Z] 00ac8860ef70: Pull complete [2021-02-04T06:09:05.106Z] 63d7cb157983: Pull complete [2021-02-04T06:09:05.390Z] b116817d02f9: Pull complete [2021-02-04T06:09:08.797Z] 745a02a5169b: Pull complete [2021-02-04T06:09:08.797Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-04T06:09:08.797Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-04T06:09:08.797Z] ---> b7e6874047d6 [2021-02-04T06:09:08.797Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-02-04T06:09:09.073Z] 20.10.0: Pulling from library/docker [2021-02-04T06:09:09.073Z] a3cc7d3b244e: Pulling fs layer [2021-02-04T06:09:09.073Z] 02a3295e0d61: Pulling fs layer [2021-02-04T06:09:09.073Z] 0f4f2e6d8100: Pulling fs layer [2021-02-04T06:09:09.073Z] 330b718f631f: Pulling fs layer [2021-02-04T06:09:09.073Z] a93816041522: Pulling fs layer [2021-02-04T06:09:09.073Z] bdb6da89ff94: Pulling fs layer [2021-02-04T06:09:09.073Z] 330b718f631f: Waiting [2021-02-04T06:09:09.073Z] 2a70c0c122f4: Pulling fs layer [2021-02-04T06:09:09.073Z] a93816041522: Waiting [2021-02-04T06:09:09.073Z] bdb6da89ff94: Waiting [2021-02-04T06:09:09.073Z] 2a70c0c122f4: Waiting [2021-02-04T06:09:09.073Z] 0f4f2e6d8100: Download complete [2021-02-04T06:09:09.352Z] a3cc7d3b244e: Verifying Checksum [2021-02-04T06:09:09.352Z] a3cc7d3b244e: Download complete [2021-02-04T06:09:09.352Z] 02a3295e0d61: Verifying Checksum [2021-02-04T06:09:09.352Z] 02a3295e0d61: Download complete [2021-02-04T06:09:09.352Z] a93816041522: Download complete [2021-02-04T06:09:09.352Z] bdb6da89ff94: Verifying Checksum [2021-02-04T06:09:09.352Z] bdb6da89ff94: Download complete [2021-02-04T06:09:09.352Z] 2a70c0c122f4: Verifying Checksum [2021-02-04T06:09:09.352Z] 2a70c0c122f4: Download complete [2021-02-04T06:09:09.949Z] a3cc7d3b244e: Pull complete [2021-02-04T06:09:10.118Z] Running on prd-centos7-docker-4c-2g-24930 in /w/workspace/ndry_app-functions-sdk-go_PR-675 [Pipeline] { [Pipeline] ws [2021-02-04T06:09:10.215Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-02-04T06:09:10.548Z] 02a3295e0d61: Pull complete [2021-02-04T06:09:10.823Z] 0f4f2e6d8100: Pull complete [2021-02-04T06:09:10.823Z] 330b718f631f: Verifying Checksum [2021-02-04T06:09:10.823Z] 330b718f631f: Download complete [2021-02-04T06:09:14.225Z] 330b718f631f: Pull complete [2021-02-04T06:09:14.502Z] a93816041522: Pull complete [2021-02-04T06:09:14.783Z] bdb6da89ff94: Pull complete [2021-02-04T06:09:15.060Z] 2a70c0c122f4: Pull complete [2021-02-04T06:09:15.060Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-02-04T06:09:15.060Z] Status: Downloaded newer image for docker:20.10.0 [2021-02-04T06:09:15.375Z] using credential edgex-jenkins-ssh [2021-02-04T06:09:15.456Z] Cloning the remote Git repository [2021-02-04T06:09:15.521Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-04T06:09:15.611Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2021-02-04T06:09:15.744Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-04T06:09:15.745Z] > git --version # timeout=10 [2021-02-04T06:09:15.765Z] > git --version # 'git version 2.24.3' [2021-02-04T06:09:15.766Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-04T06:09:15.856Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-04T06:09:18.451Z] Merging remotes/origin/master commit fc40647c9a5a0500e2956cf52a4e5c076e69792e into PR head commit cf352134e6fb04f62c0d45d1556c44c8c59cae64 [2021-02-04T06:09:17.951Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-02-04T06:09:17.963Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-04T06:09:18.004Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-02-04T06:09:18.035Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-04T06:09:18.036Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-04T06:09:18.044Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/675/head:refs/remotes/origin/PR-675 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-04T06:09:18.470Z] > git config core.sparsecheckout # timeout=10 [2021-02-04T06:09:18.811Z] Merge succeeded, producing cf352134e6fb04f62c0d45d1556c44c8c59cae64 [2021-02-04T06:09:18.812Z] Checking out Revision cf352134e6fb04f62c0d45d1556c44c8c59cae64 (PR-675) [2021-02-04T06:09:18.515Z] > git checkout -f cf352134e6fb04f62c0d45d1556c44c8c59cae64 # timeout=10 [2021-02-04T06:09:18.643Z] > git remote # timeout=10 [2021-02-04T06:09:18.731Z] > git config --get remote.origin.url # timeout=10 [2021-02-04T06:09:18.756Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-04T06:09:18.766Z] > git merge fc40647c9a5a0500e2956cf52a4e5c076e69792e # timeout=10 [2021-02-04T06:09:18.790Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-04T06:09:18.819Z] > git config core.sparsecheckout # timeout=10 [2021-02-04T06:09:18.835Z] > git checkout -f cf352134e6fb04f62c0d45d1556c44c8c59cae64 # timeout=10 [2021-02-04T06:09:21.788Z] ---> 6632adb89281 [2021-02-04T06:09:21.788Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-02-04T06:09:21.788Z] ---> Running in bca07e52e838 [2021-02-04T06:09:22.063Z] Removing intermediate container bca07e52e838 [2021-02-04T06:09:22.063Z] ---> 75d4edf6c4ad [2021-02-04T06:09:22.063Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-02-04T06:09:22.063Z] ---> Running in 72c052e03bec [2021-02-04T06:09:23.326Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2021-02-04T06:09:23.426Z] > git --version # timeout=10 [2021-02-04T06:09:23.448Z] > git --version # 'git version 2.24.3' [2021-02-04T06:09:23.469Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-04T06:09:23.496Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2021-02-04T06:09:24.088Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-04T06:09:24.685Z] (1/5) Installing libsodium (1.0.18-r0) [2021-02-04T06:09:24.685Z] (2/5) Installing libzmq (4.3.3-r0) [2021-02-04T06:09:24.954Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-02-04T06:09:24.954Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-02-04T06:09:25.229Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-02-04T06:09:25.229Z] Executing busybox-1.31.1-r19.trigger [2021-02-04T06:09:25.229Z] OK: 144 MiB in 44 packages [2021-02-04T06:09:25.462Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-04T06:09:25.877Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-04T06:09:26.274Z] + sudo service docker restart [2021-02-04T06:09:26.274Z] + true [2021-02-04T06:09:26.274Z] Redirecting to /bin/systemctl restart docker.service [2021-02-04T06:09:26.677Z] Removing intermediate container 72c052e03bec [2021-02-04T06:09:26.678Z] ---> 18692ac4d000 [2021-02-04T06:09:26.678Z] Step 6/8 : WORKDIR /build [2021-02-04T06:09:26.678Z] ---> Running in f51d930b9a3c [2021-02-04T06:09:26.953Z] Removing intermediate container f51d930b9a3c [2021-02-04T06:09:26.953Z] ---> 838be8299b6c [2021-02-04T06:09:26.953Z] Step 7/8 : COPY go.mod . [2021-02-04T06:09:27.552Z] ---> 7883782b8d17 [2021-02-04T06:09:27.552Z] Step 8/8 : RUN go mod download [2021-02-04T06:09:27.826Z] ---> Running in 68ea36abd6af [Pipeline] unstash [Pipeline] echo [2021-02-04T06:09:28.811Z] ========================================================= [2021-02-04T06:09:28.811Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-04T06:09:28.811Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-04T06:09:29.216Z] + 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-04T06:09:30.215Z] Sending build context to Docker daemon 19.09MB [2021-02-04T06:09:30.492Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-04T06:09:30.492Z] Step 2/8 : FROM ${BASE} [2021-02-04T06:09:30.492Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-04T06:09:30.492Z] 188c0c94c7c5: Pulling fs layer [2021-02-04T06:09:30.492Z] 0ef7d3d256c8: Pulling fs layer [2021-02-04T06:09:30.492Z] de9db76c5a1d: Pulling fs layer [2021-02-04T06:09:30.492Z] bca2f99d35d6: Pulling fs layer [2021-02-04T06:09:30.492Z] 93359f2a8cfa: Pulling fs layer [2021-02-04T06:09:30.492Z] 7c6f9722023f: Pulling fs layer [2021-02-04T06:09:30.492Z] a35cf1a2eb13: Pulling fs layer [2021-02-04T06:09:30.492Z] 93359f2a8cfa: Waiting [2021-02-04T06:09:30.492Z] 7c6f9722023f: Waiting [2021-02-04T06:09:30.492Z] a35cf1a2eb13: Waiting [2021-02-04T06:09:30.492Z] bca2f99d35d6: Waiting [2021-02-04T06:09:30.492Z] de9db76c5a1d: Verifying Checksum [2021-02-04T06:09:30.492Z] de9db76c5a1d: Download complete [2021-02-04T06:09:30.492Z] 0ef7d3d256c8: Verifying Checksum [2021-02-04T06:09:30.492Z] 0ef7d3d256c8: Download complete [2021-02-04T06:09:30.768Z] 93359f2a8cfa: Verifying Checksum [2021-02-04T06:09:30.768Z] 93359f2a8cfa: Download complete [2021-02-04T06:09:30.768Z] 7c6f9722023f: Verifying Checksum [2021-02-04T06:09:30.768Z] 7c6f9722023f: Download complete [2021-02-04T06:09:31.047Z] 188c0c94c7c5: Verifying Checksum [2021-02-04T06:09:31.047Z] 188c0c94c7c5: Download complete [2021-02-04T06:09:31.341Z] 188c0c94c7c5: Pull complete [2021-02-04T06:09:31.969Z] 0ef7d3d256c8: Pull complete [2021-02-04T06:09:32.252Z] de9db76c5a1d: Pull complete [2021-02-04T06:09:34.908Z] a35cf1a2eb13: Verifying Checksum [2021-02-04T06:09:34.908Z] a35cf1a2eb13: Download complete [2021-02-04T06:09:35.896Z] bca2f99d35d6: Verifying Checksum [2021-02-04T06:09:35.896Z] bca2f99d35d6: Download complete [2021-02-04T06:09:48.552Z] bca2f99d35d6: Pull complete [2021-02-04T06:09:48.552Z] 93359f2a8cfa: Pull complete [2021-02-04T06:09:48.552Z] 7c6f9722023f: Pull complete [2021-02-04T06:09:52.946Z] a35cf1a2eb13: Pull complete [2021-02-04T06:09:52.946Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-04T06:09:52.946Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-04T06:09:52.946Z] ---> a62c8e92a672 [2021-02-04T06:09:52.946Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-02-04T06:09:52.946Z] 20.10.0: Pulling from library/docker [2021-02-04T06:09:52.946Z] 05e7bc50f07f: Pulling fs layer [2021-02-04T06:09:52.946Z] 6db28d0fdbf6: Pulling fs layer [2021-02-04T06:09:52.946Z] 292df0bc6bf3: Pulling fs layer [2021-02-04T06:09:52.946Z] 2e060f4bd70b: Pulling fs layer [2021-02-04T06:09:52.946Z] 80e8d568a223: Pulling fs layer [2021-02-04T06:09:52.946Z] 8dc6ef1a942a: Pulling fs layer [2021-02-04T06:09:52.946Z] 2312dd95470a: Pulling fs layer [2021-02-04T06:09:52.946Z] 2e060f4bd70b: Waiting [2021-02-04T06:09:52.946Z] 80e8d568a223: Waiting [2021-02-04T06:09:52.946Z] 8dc6ef1a942a: Waiting [2021-02-04T06:09:52.946Z] 2312dd95470a: Waiting [2021-02-04T06:09:52.946Z] 292df0bc6bf3: Verifying Checksum [2021-02-04T06:09:52.946Z] 292df0bc6bf3: Download complete [2021-02-04T06:09:52.946Z] 6db28d0fdbf6: Verifying Checksum [2021-02-04T06:09:52.946Z] 6db28d0fdbf6: Download complete [2021-02-04T06:09:52.946Z] 05e7bc50f07f: Verifying Checksum [2021-02-04T06:09:52.946Z] 05e7bc50f07f: Download complete [2021-02-04T06:09:52.946Z] 80e8d568a223: Verifying Checksum [2021-02-04T06:09:52.946Z] 80e8d568a223: Download complete [2021-02-04T06:09:52.946Z] 8dc6ef1a942a: Download complete [2021-02-04T06:09:52.946Z] 2312dd95470a: Download complete [2021-02-04T06:09:53.615Z] 05e7bc50f07f: Pull complete [2021-02-04T06:09:54.659Z] Removing intermediate container 68ea36abd6af [2021-02-04T06:09:54.659Z] ---> 38cbcc6ff7ad [2021-02-04T06:09:54.659Z] Successfully built 38cbcc6ff7ad [2021-02-04T06:09:54.659Z] Successfully tagged ci-base-image-arm64:latest [2021-02-04T06:09:54.661Z] 6db28d0fdbf6: Pull complete [Pipeline] isUnix [Pipeline] sh [2021-02-04T06:09:54.966Z] 292df0bc6bf3: Pull complete [2021-02-04T06:09:55.049Z] + docker inspect -f . ci-base-image-arm64 [2021-02-04T06:09:55.049Z] . [Pipeline] withDockerContainer [2021-02-04T06:09:55.369Z] prd-ubuntu18.04-docker-arm64-4c-16g-24929 does not seem to be running inside a container [2021-02-04T06:09:55.473Z] $ 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-04T06:09:57.142Z] $ docker top 8ebd5dd8491e53f23069f1500b81e71e79f05019c95901ca4d598b7729f59e07 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-04T06:09:57.697Z] 2e060f4bd70b: Verifying Checksum [2021-02-04T06:09:57.697Z] 2e060f4bd70b: Download complete [2021-02-04T06:09:58.283Z] + go version [2021-02-04T06:09:58.284Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-04T06:09:58.321Z] $ docker stop --time=1 8ebd5dd8491e53f23069f1500b81e71e79f05019c95901ca4d598b7729f59e07 [2021-02-04T06:10:00.313Z] $ docker rm -f 8ebd5dd8491e53f23069f1500b81e71e79f05019c95901ca4d598b7729f59e07 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-04T06:10:01.633Z] + docker inspect -f . ci-base-image-arm64 [2021-02-04T06:10:01.633Z] . [Pipeline] withDockerContainer [2021-02-04T06:10:01.906Z] prd-ubuntu18.04-docker-arm64-4c-16g-24929 does not seem to be running inside a container [2021-02-04T06:10:02.009Z] $ 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-04T06:10:03.231Z] 2e060f4bd70b: Pull complete [2021-02-04T06:10:03.231Z] 80e8d568a223: Pull complete [2021-02-04T06:10:03.521Z] 8dc6ef1a942a: Pull complete [2021-02-04T06:10:03.599Z] $ docker top e43e1294b24f82c1d237c3b7ad14fda64a2faa32a0087372dae19261b691c3ca -eo pid,comm [2021-02-04T06:10:03.821Z] 2312dd95470a: Pull complete [2021-02-04T06:10:03.821Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-02-04T06:10:03.821Z] Status: Downloaded newer image for docker:20.10.0 [Pipeline] { [Pipeline] sh [2021-02-04T06:10:04.747Z] + make test [2021-02-04T06:10:04.747Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-02-04T06:10:06.192Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] [2021-02-04T06:10:07.363Z] ---> 58240b66671e [2021-02-04T06:10:07.363Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-02-04T06:10:07.363Z] ---> Running in 4c4033bc4018 [2021-02-04T06:10:07.363Z] Removing intermediate container 4c4033bc4018 [2021-02-04T06:10:07.363Z] ---> 34afb0c70a25 [2021-02-04T06:10:07.363Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-02-04T06:10:07.363Z] ---> Running in 96cf1b2bee86 [2021-02-04T06:10:08.893Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-04T06:10:09.939Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-04T06:10:10.943Z] (1/5) Installing libsodium (1.0.18-r0) [2021-02-04T06:10:10.943Z] (2/5) Installing libzmq (4.3.3-r0) [2021-02-04T06:10:11.225Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-02-04T06:10:11.225Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-02-04T06:10:11.504Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-02-04T06:10:11.504Z] Executing busybox-1.31.1-r19.trigger [2021-02-04T06:10:11.504Z] OK: 167 MiB in 44 packages [2021-02-04T06:10:13.019Z] Removing intermediate container 96cf1b2bee86 [2021-02-04T06:10:13.019Z] ---> 7572f6276ecb [2021-02-04T06:10:13.019Z] Step 6/8 : WORKDIR /build [2021-02-04T06:10:13.019Z] ---> Running in 443126b2e5db [2021-02-04T06:10:13.348Z] Removing intermediate container 443126b2e5db [2021-02-04T06:10:13.348Z] ---> 10c81230926b [2021-02-04T06:10:13.348Z] Step 7/8 : COPY go.mod . [2021-02-04T06:10:13.967Z] ---> fd2d2ea03e94 [2021-02-04T06:10:13.967Z] Step 8/8 : RUN go mod download [2021-02-04T06:10:13.967Z] ---> Running in f1347e0c4e43 [2021-02-04T06:10:28.433Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.047s coverage: 82.6% of statements [2021-02-04T06:10:46.416Z] Removing intermediate container f1347e0c4e43 [2021-02-04T06:10:46.416Z] ---> 3c73fa0663d2 [2021-02-04T06:10:46.416Z] Successfully built 3c73fa0663d2 [2021-02-04T06:10:46.416Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-04T06:10:46.810Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-04T06:10:47.084Z] . [Pipeline] withDockerContainer [2021-02-04T06:10:47.329Z] prd-centos7-docker-4c-2g-24930 does not seem to be running inside a container [2021-02-04T06:10:47.425Z] $ 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-04T06:10:48.675Z] $ docker top de1778e1944860525cbd8aac6ddf83f6c98c250379f100d481596001b333598a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-04T06:10:49.401Z] + go version [2021-02-04T06:10:49.670Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-04T06:10:49.717Z] $ docker stop --time=1 de1778e1944860525cbd8aac6ddf83f6c98c250379f100d481596001b333598a [2021-02-04T06:10:51.342Z] $ docker rm -f de1778e1944860525cbd8aac6ddf83f6c98c250379f100d481596001b333598a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-04T06:10:52.569Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-04T06:10:52.569Z] . [Pipeline] withDockerContainer [2021-02-04T06:10:52.827Z] prd-centos7-docker-4c-2g-24930 does not seem to be running inside a container [2021-02-04T06:10:52.984Z] $ 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-04T06:10:54.416Z] $ docker top d925a162c8064503eddeb85fa5bf4aea0589ca63d87413cd971332e73be7a81d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-04T06:10:55.259Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.136s coverage: 48.6% of statements [2021-02-04T06:10:55.259Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-02-04T06:10:55.259Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-02-04T06:10:55.260Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.087s coverage: 61.5% of statements [2021-02-04T06:10:55.260Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-02-04T06:10:55.260Z] --- FAIL: TestProcessMessageNoTransforms (0.00s) [2021-02-04T06:10:55.260Z] runtime_test.go:116: [2021-02-04T06:10:55.260Z] Error Trace: runtime_test.go:116 [2021-02-04T06:10:55.260Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x40002c7950), ErrorCode:400} [2021-02-04T06:10:55.260Z] Test: TestProcessMessageNoTransforms [2021-02-04T06:10:55.260Z] Messages: result should be nil since no transforms have been passed [2021-02-04T06:10:55.260Z] --- FAIL: TestProcessMessageOneCustomTransform (0.00s) [2021-02-04T06:10:55.260Z] runtime_test.go:145: [2021-02-04T06:10:55.260Z] Error Trace: runtime_test.go:145 [2021-02-04T06:10:55.260Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x40002c7bd0), ErrorCode:400} [2021-02-04T06:10:55.260Z] Test: TestProcessMessageOneCustomTransform [2021-02-04T06:10:55.260Z] --- FAIL: TestProcessMessageTwoCustomTransforms (0.00s) [2021-02-04T06:10:55.260Z] runtime_test.go:186: [2021-02-04T06:10:55.260Z] Error Trace: runtime_test.go:186 [2021-02-04T06:10:55.260Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x40002c7e60), ErrorCode:400} [2021-02-04T06:10:55.260Z] Test: TestProcessMessageTwoCustomTransforms [2021-02-04T06:10:55.260Z] --- FAIL: TestProcessMessageThreeCustomTransformsOneFail (0.00s) [2021-02-04T06:10:55.260Z] runtime_test.go:233: [2021-02-04T06:10:55.260Z] Error Trace: runtime_test.go:233 [2021-02-04T06:10:55.260Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x40003220e0), ErrorCode:400} [2021-02-04T06:10:55.260Z] Test: TestProcessMessageThreeCustomTransformsOneFail [2021-02-04T06:10:55.260Z] --- FAIL: TestProcessMessageJSON (0.00s) [2021-02-04T06:10:55.260Z] runtime_test.go:308: [2021-02-04T06:10:55.260Z] Error Trace: runtime_test.go:308 [2021-02-04T06:10:55.260Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x4000322470), ErrorCode:400} [2021-02-04T06:10:55.260Z] Test: TestProcessMessageJSON [2021-02-04T06:10:55.260Z] 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-04T06:10:55.260Z] runtime_test.go:309: [2021-02-04T06:10:55.260Z] Error Trace: runtime_test.go:309 [2021-02-04T06:10:55.260Z] Error: Should be true [2021-02-04T06:10:55.260Z] Test: TestProcessMessageJSON [2021-02-04T06:10:55.260Z] Messages: transform1 should have been called [2021-02-04T06:10:55.260Z] --- FAIL: TestProcessMessageTargetType (0.01s) [2021-02-04T06:10:55.260Z] runtime_test.go:423: [2021-02-04T06:10:55.260Z] Error Trace: runtime_test.go:423 [2021-02-04T06:10:55.260Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x4000322cd0), ErrorCode:400} [2021-02-04T06:10:55.260Z] Test: TestProcessMessageTargetType [2021-02-04T06:10:55.260Z] Messages: unexpected error for test 'Default Nil Target Type' [2021-02-04T06:10:55.260Z] runtime_test.go:427: [2021-02-04T06:10:55.260Z] Error Trace: runtime_test.go:427 [2021-02-04T06:10:55.260Z] Error: Not equal: [2021-02-04T06:10:55.260Z] 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, 0x34, 0x31, 0x39, 0x30, 0x34, 0x39, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x34, 0x31, 0x39, 0x30, 0x34, 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, 0x34, 0x31, 0x39, 0x30, 0x34, 0x39, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x34, 0x31, 0x39, 0x30, 0x34, 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-04T06:10:55.260Z] actual : []byte(nil) [2021-02-04T06:10:55.260Z] [2021-02-04T06:10:55.260Z] Diff: [2021-02-04T06:10:55.260Z] --- Expected [2021-02-04T06:10:55.260Z] +++ Actual [2021-02-04T06:10:55.260Z] @@ -1,31 +1,2 @@ [2021-02-04T06:10:55.260Z] -([]uint8) (len=444) { [2021-02-04T06:10:55.260Z] - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| [2021-02-04T06:10:55.260Z] - 00000010 32 22 2c 22 69 64 22 3a 22 38 32 65 62 32 65 32 |2","id":"82eb2e2| [2021-02-04T06:10:55.260Z] - 00000020 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 65 34 63 |6-0f24-48aa-ae4c| [2021-02-04T06:10:55.260Z] - 00000030 2d 64 65 39 64 61 63 33 66 62 39 62 63 22 2c 22 |-de9dac3fb9bc","| [2021-02-04T06:10:55.260Z] - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| [2021-02-04T06:10:55.260Z] - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| [2021-02-04T06:10:55.260Z] - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| [2021-02-04T06:10:55.260Z] - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| [2021-02-04T06:10:55.260Z] - 00000080 72 65 61 74 65 64 22 3a 31 36 31 32 34 31 39 30 |reated":16124190| [2021-02-04T06:10:55.260Z] - 00000090 34 39 2c 22 6f 72 69 67 69 6e 22 3a 31 36 31 32 |49,"origin":1612| [2021-02-04T06:10:55.260Z] - 000000a0 34 31 39 30 34 39 2c 22 72 65 61 64 69 6e 67 73 |419049,"readings| [2021-02-04T06:10:55.260Z] - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| [2021-02-04T06:10:55.260Z] - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 38 32 65 62 |:"v2","id":"82eb| [2021-02-04T06:10:55.260Z] - 000000d0 32 65 32 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 |2e26-0f24-48aa-a| [2021-02-04T06:10:55.260Z] - 000000e0 65 34 63 2d 64 65 39 64 61 63 33 66 31 32 33 34 |e4c-de9dac3f1234| [2021-02-04T06:10:55.260Z] - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 31 36 31 32 |","created":1612| [2021-02-04T06:10:55.260Z] - 00000100 34 31 39 30 34 39 2c 22 6f 72 69 67 69 6e 22 3a |419049,"origin":| [2021-02-04T06:10:55.260Z] - 00000110 31 36 31 32 34 31 39 30 34 39 2c 22 64 65 76 69 |1612419049,"devi| [2021-02-04T06:10:55.260Z] - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| [2021-02-04T06:10:55.260Z] - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| [2021-02-04T06:10:55.260Z] - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| [2021-02-04T06:10:55.260Z] - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| [2021-02-04T06:10:55.260Z] - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| [2021-02-04T06:10:55.260Z] - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| [2021-02-04T06:10:55.260Z] - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| [2021-02-04T06:10:55.260Z] - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| [2021-02-04T06:10:55.260Z] - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| [2021-02-04T06:10:55.260Z] - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| [2021-02-04T06:10:55.260Z] -} [2021-02-04T06:10:55.260Z] +([]uint8) [2021-02-04T06:10:55.260Z] [2021-02-04T06:10:55.260Z] Test: TestProcessMessageTargetType [2021-02-04T06:10:55.260Z] Messages: 'Default Nil Target Type' test failed [2021-02-04T06:10:55.260Z] runtime_test.go:423: [2021-02-04T06:10:55.260Z] Error Trace: runtime_test.go:423 [2021-02-04T06:10:55.260Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x4000323050), ErrorCode:400} [2021-02-04T06:10:55.260Z] Test: TestProcessMessageTargetType [2021-02-04T06:10:55.260Z] Messages: unexpected error for test 'Event as Json' [2021-02-04T06:10:55.260Z] runtime_test.go:427: [2021-02-04T06:10:55.260Z] Error Trace: runtime_test.go:427 [2021-02-04T06:10:55.260Z] Error: Not equal: [2021-02-04T06:10:55.260Z] 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, 0x34, 0x31, 0x39, 0x30, 0x34, 0x39, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x34, 0x31, 0x39, 0x30, 0x34, 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, 0x34, 0x31, 0x39, 0x30, 0x34, 0x39, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x34, 0x31, 0x39, 0x30, 0x34, 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-04T06:10:55.260Z] actual : []byte(nil) [2021-02-04T06:10:55.260Z] [2021-02-04T06:10:55.260Z] Diff: [2021-02-04T06:10:55.260Z] --- Expected [2021-02-04T06:10:55.260Z] +++ Actual [2021-02-04T06:10:55.260Z] @@ -1,31 +1,2 @@ [2021-02-04T06:10:55.260Z] -([]uint8) (len=444) { [2021-02-04T06:10:55.260Z] - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| [2021-02-04T06:10:55.260Z] - 00000010 32 22 2c 22 69 64 22 3a 22 38 32 65 62 32 65 32 |2","id":"82eb2e2| [2021-02-04T06:10:55.260Z] - 00000020 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 65 34 63 |6-0f24-48aa-ae4c| [2021-02-04T06:10:55.260Z] - 00000030 2d 64 65 39 64 61 63 33 66 62 39 62 63 22 2c 22 |-de9dac3fb9bc","| [2021-02-04T06:10:55.260Z] - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| [2021-02-04T06:10:55.260Z] - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| [2021-02-04T06:10:55.260Z] - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| [2021-02-04T06:10:55.260Z] - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| [2021-02-04T06:10:55.260Z] - 00000080 72 65 61 74 65 64 22 3a 31 36 31 32 34 31 39 30 |reated":16124190| [2021-02-04T06:10:55.260Z] - 00000090 34 39 2c 22 6f 72 69 67 69 6e 22 3a 31 36 31 32 |49,"origin":1612| [2021-02-04T06:10:55.260Z] - 000000a0 34 31 39 30 34 39 2c 22 72 65 61 64 69 6e 67 73 |419049,"readings| [2021-02-04T06:10:55.260Z] - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| [2021-02-04T06:10:55.260Z] - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 38 32 65 62 |:"v2","id":"82eb| [2021-02-04T06:10:55.260Z] - 000000d0 32 65 32 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 |2e26-0f24-48aa-a| [2021-02-04T06:10:55.260Z] - 000000e0 65 34 63 2d 64 65 39 64 61 63 33 66 31 32 33 34 |e4c-de9dac3f1234| [2021-02-04T06:10:55.260Z] - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 31 36 31 32 |","created":1612| [2021-02-04T06:10:55.260Z] - 00000100 34 31 39 30 34 39 2c 22 6f 72 69 67 69 6e 22 3a |419049,"origin":| [2021-02-04T06:10:55.260Z] - 00000110 31 36 31 32 34 31 39 30 34 39 2c 22 64 65 76 69 |1612419049,"devi| [2021-02-04T06:10:55.260Z] - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| [2021-02-04T06:10:55.260Z] - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| [2021-02-04T06:10:55.260Z] - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| [2021-02-04T06:10:55.260Z] - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| [2021-02-04T06:10:55.260Z] - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| [2021-02-04T06:10:55.260Z] - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| [2021-02-04T06:10:55.260Z] - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| [2021-02-04T06:10:55.260Z] - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| [2021-02-04T06:10:55.260Z] - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| [2021-02-04T06:10:55.260Z] - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| [2021-02-04T06:10:55.260Z] -} [2021-02-04T06:10:55.260Z] +([]uint8) [2021-02-04T06:10:55.260Z] [2021-02-04T06:10:55.260Z] Test: TestProcessMessageTargetType [2021-02-04T06:10:55.260Z] Messages: 'Event as Json' test failed [2021-02-04T06:10:55.260Z] runtime_test.go:423: [2021-02-04T06:10:55.260Z] Error Trace: runtime_test.go:423 [2021-02-04T06:10:55.260Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x40003234d0), ErrorCode:400} [2021-02-04T06:10:55.260Z] Test: TestProcessMessageTargetType [2021-02-04T06:10:55.260Z] Messages: unexpected error for test 'Event as Cbor' [2021-02-04T06:10:55.260Z] runtime_test.go:427: [2021-02-04T06:10:55.260Z] Error Trace: runtime_test.go:427 [2021-02-04T06:10:55.260Z] Error: Not equal: [2021-02-04T06:10:55.261Z] 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, 0x34, 0x31, 0x39, 0x30, 0x34, 0x39, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x34, 0x31, 0x39, 0x30, 0x34, 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, 0x34, 0x31, 0x39, 0x30, 0x34, 0x39, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x34, 0x31, 0x39, 0x30, 0x34, 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-04T06:10:55.261Z] actual : []byte(nil) [2021-02-04T06:10:55.261Z] [2021-02-04T06:10:55.261Z] Diff: [2021-02-04T06:10:55.261Z] --- Expected [2021-02-04T06:10:55.261Z] +++ Actual [2021-02-04T06:10:55.261Z] @@ -1,31 +1,2 @@ [2021-02-04T06:10:55.261Z] -([]uint8) (len=444) { [2021-02-04T06:10:55.261Z] - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| [2021-02-04T06:10:55.261Z] - 00000010 32 22 2c 22 69 64 22 3a 22 38 32 65 62 32 65 32 |2","id":"82eb2e2| [2021-02-04T06:10:55.261Z] - 00000020 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 65 34 63 |6-0f24-48aa-ae4c| [2021-02-04T06:10:55.261Z] - 00000030 2d 64 65 39 64 61 63 33 66 62 39 62 63 22 2c 22 |-de9dac3fb9bc","| [2021-02-04T06:10:55.261Z] - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| [2021-02-04T06:10:55.261Z] - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| [2021-02-04T06:10:55.261Z] - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| [2021-02-04T06:10:55.261Z] - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| [2021-02-04T06:10:55.261Z] - 00000080 72 65 61 74 65 64 22 3a 31 36 31 32 34 31 39 30 |reated":16124190| [2021-02-04T06:10:55.261Z] - 00000090 34 39 2c 22 6f 72 69 67 69 6e 22 3a 31 36 31 32 |49,"origin":1612| [2021-02-04T06:10:55.261Z] - 000000a0 34 31 39 30 34 39 2c 22 72 65 61 64 69 6e 67 73 |419049,"readings| [2021-02-04T06:10:55.261Z] - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| [2021-02-04T06:10:55.261Z] - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 38 32 65 62 |:"v2","id":"82eb| [2021-02-04T06:10:55.261Z] - 000000d0 32 65 32 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 |2e26-0f24-48aa-a| [2021-02-04T06:10:55.261Z] - 000000e0 65 34 63 2d 64 65 39 64 61 63 33 66 31 32 33 34 |e4c-de9dac3f1234| [2021-02-04T06:10:55.261Z] - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 31 36 31 32 |","created":1612| [2021-02-04T06:10:55.261Z] - 00000100 34 31 39 30 34 39 2c 22 6f 72 69 67 69 6e 22 3a |419049,"origin":| [2021-02-04T06:10:55.261Z] - 00000110 31 36 31 32 34 31 39 30 34 39 2c 22 64 65 76 69 |1612419049,"devi| [2021-02-04T06:10:55.261Z] - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| [2021-02-04T06:10:55.261Z] - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| [2021-02-04T06:10:55.261Z] - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| [2021-02-04T06:10:55.261Z] - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| [2021-02-04T06:10:55.261Z] - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| [2021-02-04T06:10:55.261Z] - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| [2021-02-04T06:10:55.261Z] - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| [2021-02-04T06:10:55.261Z] - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| [2021-02-04T06:10:55.261Z] - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| [2021-02-04T06:10:55.261Z] - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| [2021-02-04T06:10:55.261Z] -} [2021-02-04T06:10:55.261Z] +([]uint8) [2021-02-04T06:10:55.261Z] [2021-02-04T06:10:55.261Z] Test: TestProcessMessageTargetType [2021-02-04T06:10:55.261Z] Messages: 'Event as Cbor' test failed [2021-02-04T06:10:55.261Z] --- FAIL: TestGolangRuntime_unmarshalV2Event (0.00s) [2021-02-04T06:10:55.261Z] --- FAIL: TestGolangRuntime_unmarshalV2Event/JSON_V2_Event (0.00s) [2021-02-04T06:10:55.261Z] runtime_test.go:599: [2021-02-04T06:10:55.261Z] Error Trace: runtime_test.go:599 [2021-02-04T06:10:55.261Z] Error: Received unexpected error: [2021-02-04T06:10:55.261Z] failed to unmarshal AddEventRequest from content type 'application/json': AddEventRequest.BaseRequest.Versionable.ApiVersion field is required [2021-02-04T06:10:55.261Z] Test: TestGolangRuntime_unmarshalV2Event/JSON_V2_Event [2021-02-04T06:10:55.261Z] --- FAIL: TestGolangRuntime_unmarshalV2Event/CBOR_V2_Event (0.00s) [2021-02-04T06:10:55.261Z] runtime_test.go:599: [2021-02-04T06:10:55.261Z] Error Trace: runtime_test.go:599 [2021-02-04T06:10:55.261Z] Error: Received unexpected error: [2021-02-04T06:10:55.261Z] validation failed on AddEventRequest: AddEventRequest.BaseRequest.Versionable.ApiVersion field is required [2021-02-04T06:10:55.261Z] Test: TestGolangRuntime_unmarshalV2Event/CBOR_V2_Event [2021-02-04T06:10:55.261Z] FAIL [2021-02-04T06:10:55.261Z] coverage: 73.4% of statements [2021-02-04T06:10:55.261Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.084s [2021-02-04T06:10:55.261Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-02-04T06:10:55.261Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-02-04T06:10:55.261Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-02-04T06:10:55.261Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-02-04T06:10:55.261Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-02-04T06:10:55.261Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-02-04T06:10:55.261Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.039s coverage: 97.0% of statements [2021-02-04T06:10:55.261Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-02-04T06:10:55.261Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.027s coverage: 8.8% of statements [2021-02-04T06:10:55.600Z] + make test [2021-02-04T06:10:55.600Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-02-04T06:10:59.128Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] [2021-02-04T06:11:13.532Z] --- FAIL: TestInitializeAndProcessEventWithNoOutput (3.30s) [2021-02-04T06:11:13.532Z] messaging_test.go:206: [2021-02-04T06:11:13.532Z] Error Trace: messaging_test.go:206 [2021-02-04T06:11:13.532Z] Error: Should be true [2021-02-04T06:11:13.532Z] Test: TestInitializeAndProcessEventWithNoOutput [2021-02-04T06:11:13.532Z] Messages: Transform never called [2021-02-04T06:11:13.532Z] --- FAIL: TestInitializeAndProcessEventWithOutput (3.30s) [2021-02-04T06:11:13.532Z] messaging_test.go:290: [2021-02-04T06:11:13.532Z] Error Trace: messaging_test.go:290 [2021-02-04T06:11:13.532Z] Error: Should be true [2021-02-04T06:11:13.532Z] Test: TestInitializeAndProcessEventWithOutput [2021-02-04T06:11:13.532Z] Messages: Transform never called [2021-02-04T06:11:13.532Z] --- FAIL: TestInitializeAndProcessEventWithOutput_InferJSON (3.30s) [2021-02-04T06:11:13.532Z] messaging_test.go:385: [2021-02-04T06:11:13.532Z] Error Trace: messaging_test.go:385 [2021-02-04T06:11:13.532Z] Error: Should be true [2021-02-04T06:11:13.532Z] Test: TestInitializeAndProcessEventWithOutput_InferJSON [2021-02-04T06:11:13.532Z] Messages: Transform never called [2021-02-04T06:11:13.532Z] --- FAIL: TestInitializeAndProcessEventWithOutput_AssumeCBOR (3.33s) [2021-02-04T06:11:13.532Z] messaging_test.go:477: [2021-02-04T06:11:13.532Z] Error Trace: messaging_test.go:477 [2021-02-04T06:11:13.532Z] Error: Should be true [2021-02-04T06:11:13.532Z] Test: TestInitializeAndProcessEventWithOutput_AssumeCBOR [2021-02-04T06:11:13.532Z] Messages: Transform never called [2021-02-04T06:11:13.532Z] --- FAIL: TestInitializeAndProcessEventMultipleTopics (3.30s) [2021-02-04T06:11:13.532Z] messaging_test.go:638: [2021-02-04T06:11:13.532Z] Error Trace: messaging_test.go:638 [2021-02-04T06:11:13.532Z] Error: Transform never called for t1 [2021-02-04T06:11:13.532Z] Test: TestInitializeAndProcessEventMultipleTopics [2021-02-04T06:11:13.532Z] FAIL [2021-02-04T06:11:13.532Z] coverage: 62.0% of statements [2021-02-04T06:11:13.532Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 16.909s [2021-02-04T06:11:13.532Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-02-04T06:11:13.532Z] --- FAIL: TestAddSecretRequest (0.01s) [2021-02-04T06:11:13.532Z] --- FAIL: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash (0.00s) [2021-02-04T06:11:13.532Z] controller_test.go:261: [2021-02-04T06:11:13.532Z] Error Trace: controller_test.go:261 [2021-02-04T06:11:13.532Z] Error: Not equal: [2021-02-04T06:11:13.532Z] expected: 201 [2021-02-04T06:11:13.532Z] actual : 400 [2021-02-04T06:11:13.532Z] Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash [2021-02-04T06:11:13.532Z] Messages: HTTP status code not as expected [2021-02-04T06:11:13.532Z] controller_test.go:263: [2021-02-04T06:11:13.532Z] Error Trace: controller_test.go:263 [2021-02-04T06:11:13.532Z] Error: Not equal: [2021-02-04T06:11:13.532Z] expected: 201 [2021-02-04T06:11:13.533Z] actual : 400 [2021-02-04T06:11:13.533Z] Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash [2021-02-04T06:11:13.533Z] Messages: BaseResponse status code not as expected [2021-02-04T06:11:13.533Z] controller_test.go:270: [2021-02-04T06:11:13.533Z] Error Trace: controller_test.go:270 [2021-02-04T06:11:13.533Z] Error: Not equal: [2021-02-04T06:11:13.533Z] expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-02-04T06:11:13.533Z] actual : "" [2021-02-04T06:11:13.533Z] [2021-02-04T06:11:13.533Z] Diff: [2021-02-04T06:11:13.533Z] --- Expected [2021-02-04T06:11:13.533Z] +++ Actual [2021-02-04T06:11:13.533Z] @@ -1 +1 @@ [2021-02-04T06:11:13.533Z] -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-04T06:11:13.533Z] + [2021-02-04T06:11:13.533Z] Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash [2021-02-04T06:11:13.533Z] Messages: RequestID not as expected [2021-02-04T06:11:13.533Z] controller_test.go:271: [2021-02-04T06:11:13.533Z] Error Trace: controller_test.go:271 [2021-02-04T06:11:13.533Z] Error: Should be empty, but was JSON decode failed [2021-02-04T06:11:13.533Z] Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash [2021-02-04T06:11:13.533Z] Messages: Message not empty, as expected [2021-02-04T06:11:13.533Z] --- FAIL: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash (0.00s) [2021-02-04T06:11:13.533Z] controller_test.go:261: [2021-02-04T06:11:13.533Z] Error Trace: controller_test.go:261 [2021-02-04T06:11:13.533Z] Error: Not equal: [2021-02-04T06:11:13.533Z] expected: 201 [2021-02-04T06:11:13.533Z] actual : 400 [2021-02-04T06:11:13.533Z] Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-04T06:11:13.533Z] Messages: HTTP status code not as expected [2021-02-04T06:11:13.533Z] controller_test.go:263: [2021-02-04T06:11:13.533Z] Error Trace: controller_test.go:263 [2021-02-04T06:11:13.533Z] Error: Not equal: [2021-02-04T06:11:13.533Z] expected: 201 [2021-02-04T06:11:13.533Z] actual : 400 [2021-02-04T06:11:13.533Z] Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-04T06:11:13.533Z] Messages: BaseResponse status code not as expected [2021-02-04T06:11:13.533Z] controller_test.go:270: [2021-02-04T06:11:13.533Z] Error Trace: controller_test.go:270 [2021-02-04T06:11:13.533Z] Error: Not equal: [2021-02-04T06:11:13.533Z] expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-02-04T06:11:13.533Z] actual : "" [2021-02-04T06:11:13.533Z] [2021-02-04T06:11:13.533Z] Diff: [2021-02-04T06:11:13.533Z] --- Expected [2021-02-04T06:11:13.533Z] +++ Actual [2021-02-04T06:11:13.533Z] @@ -1 +1 @@ [2021-02-04T06:11:13.533Z] -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-04T06:11:13.533Z] + [2021-02-04T06:11:13.533Z] Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-04T06:11:13.533Z] Messages: RequestID not as expected [2021-02-04T06:11:13.533Z] controller_test.go:271: [2021-02-04T06:11:13.533Z] Error Trace: controller_test.go:271 [2021-02-04T06:11:13.533Z] Error: Should be empty, but was JSON decode failed [2021-02-04T06:11:13.533Z] Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-04T06:11:13.533Z] Messages: Message not empty, as expected [2021-02-04T06:11:13.533Z] --- FAIL: TestAddSecretRequest/Valid_-_both_trailing_slashes (0.00s) [2021-02-04T06:11:13.533Z] controller_test.go:261: [2021-02-04T06:11:13.533Z] Error Trace: controller_test.go:261 [2021-02-04T06:11:13.533Z] Error: Not equal: [2021-02-04T06:11:13.533Z] expected: 201 [2021-02-04T06:11:13.533Z] actual : 400 [2021-02-04T06:11:13.533Z] Test: TestAddSecretRequest/Valid_-_both_trailing_slashes [2021-02-04T06:11:13.533Z] Messages: HTTP status code not as expected [2021-02-04T06:11:13.533Z] controller_test.go:263: [2021-02-04T06:11:13.533Z] Error Trace: controller_test.go:263 [2021-02-04T06:11:13.533Z] Error: Not equal: [2021-02-04T06:11:13.533Z] expected: 201 [2021-02-04T06:11:13.533Z] actual : 400 [2021-02-04T06:11:13.533Z] Test: TestAddSecretRequest/Valid_-_both_trailing_slashes [2021-02-04T06:11:13.533Z] Messages: BaseResponse status code not as expected [2021-02-04T06:11:13.533Z] controller_test.go:270: [2021-02-04T06:11:13.533Z] Error Trace: controller_test.go:270 [2021-02-04T06:11:13.533Z] Error: Not equal: [2021-02-04T06:11:13.533Z] expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-02-04T06:11:13.533Z] actual : "" [2021-02-04T06:11:13.533Z] [2021-02-04T06:11:13.533Z] Diff: [2021-02-04T06:11:13.533Z] --- Expected [2021-02-04T06:11:13.533Z] +++ Actual [2021-02-04T06:11:13.533Z] @@ -1 +1 @@ [2021-02-04T06:11:13.533Z] -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-04T06:11:13.533Z] + [2021-02-04T06:11:13.533Z] Test: TestAddSecretRequest/Valid_-_both_trailing_slashes [2021-02-04T06:11:13.533Z] Messages: RequestID not as expected [2021-02-04T06:11:13.533Z] controller_test.go:271: [2021-02-04T06:11:13.533Z] Error Trace: controller_test.go:271 [2021-02-04T06:11:13.533Z] Error: Should be empty, but was JSON decode failed [2021-02-04T06:11:13.533Z] Test: TestAddSecretRequest/Valid_-_both_trailing_slashes [2021-02-04T06:11:13.533Z] Messages: Message not empty, as expected [2021-02-04T06:11:13.533Z] --- FAIL: TestAddSecretRequest/Valid_-_no_requestId (0.00s) [2021-02-04T06:11:13.533Z] controller_test.go:261: [2021-02-04T06:11:13.533Z] Error Trace: controller_test.go:261 [2021-02-04T06:11:13.533Z] Error: Not equal: [2021-02-04T06:11:13.533Z] expected: 201 [2021-02-04T06:11:13.533Z] actual : 400 [2021-02-04T06:11:13.533Z] Test: TestAddSecretRequest/Valid_-_no_requestId [2021-02-04T06:11:13.533Z] Messages: HTTP status code not as expected [2021-02-04T06:11:13.533Z] controller_test.go:263: [2021-02-04T06:11:13.533Z] Error Trace: controller_test.go:263 [2021-02-04T06:11:13.533Z] Error: Not equal: [2021-02-04T06:11:13.533Z] expected: 201 [2021-02-04T06:11:13.533Z] actual : 400 [2021-02-04T06:11:13.533Z] Test: TestAddSecretRequest/Valid_-_no_requestId [2021-02-04T06:11:13.533Z] Messages: BaseResponse status code not as expected [2021-02-04T06:11:13.533Z] controller_test.go:271: [2021-02-04T06:11:13.533Z] Error Trace: controller_test.go:271 [2021-02-04T06:11:13.533Z] Error: Should be empty, but was JSON decode failed [2021-02-04T06:11:13.533Z] Test: TestAddSecretRequest/Valid_-_no_requestId [2021-02-04T06:11:13.533Z] Messages: Message not empty, as expected [2021-02-04T06:11:13.533Z] --- FAIL: TestAddSecretRequest/Invalid_-_No_Secret_Store (0.00s) [2021-02-04T06:11:13.533Z] controller_test.go:261: [2021-02-04T06:11:13.533Z] Error Trace: controller_test.go:261 [2021-02-04T06:11:13.533Z] Error: Not equal: [2021-02-04T06:11:13.533Z] expected: 500 [2021-02-04T06:11:13.533Z] actual : 400 [2021-02-04T06:11:13.533Z] Test: TestAddSecretRequest/Invalid_-_No_Secret_Store [2021-02-04T06:11:13.533Z] Messages: HTTP status code not as expected [2021-02-04T06:11:13.533Z] controller_test.go:263: [2021-02-04T06:11:13.533Z] Error Trace: controller_test.go:263 [2021-02-04T06:11:13.533Z] Error: Not equal: [2021-02-04T06:11:13.533Z] expected: 500 [2021-02-04T06:11:13.533Z] actual : 400 [2021-02-04T06:11:13.533Z] Test: TestAddSecretRequest/Invalid_-_No_Secret_Store [2021-02-04T06:11:13.533Z] Messages: BaseResponse status code not as expected [2021-02-04T06:11:13.533Z] FAIL [2021-02-04T06:11:13.533Z] coverage: 63.8% of statements [2021-02-04T06:11:13.533Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.053s [2021-02-04T06:11:13.533Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.041s coverage: 80.5% of statements [2021-02-04T06:11:13.533Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.021s coverage: 71.7% of statements [2021-02-04T06:11:14.839Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.060s coverage: 82.6% of statements [2021-02-04T06:11:23.743Z] --- FAIL: TestTransformToJSON (0.00s) [2021-02-04T06:11:23.743Z] conversion_test.go:130: [2021-02-04T06:11:23.743Z] Error Trace: conversion_test.go:130 [2021-02-04T06:11:23.743Z] Error: Not equal: [2021-02-04T06:11:23.743Z] expected: "{\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" [2021-02-04T06:11:23.743Z] actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" [2021-02-04T06:11:23.743Z] [2021-02-04T06:11:23.743Z] Diff: [2021-02-04T06:11:23.743Z] --- Expected [2021-02-04T06:11:23.743Z] +++ Actual [2021-02-04T06:11:23.743Z] @@ -1 +1 @@ [2021-02-04T06:11:23.743Z] -{"id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} [2021-02-04T06:11:23.743Z] +{"apiVersion":"","id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} [2021-02-04T06:11:23.743Z] Test: TestTransformToJSON [2021-02-04T06:11:23.743Z] --- FAIL: TestTransformToJSONMultipleParametersValid (0.00s) [2021-02-04T06:11:23.743Z] conversion_test.go:157: [2021-02-04T06:11:23.743Z] Error Trace: conversion_test.go:157 [2021-02-04T06:11:23.743Z] Error: Not equal: [2021-02-04T06:11:23.743Z] expected: "{\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" [2021-02-04T06:11:23.743Z] actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" [2021-02-04T06:11:23.743Z] [2021-02-04T06:11:23.743Z] Diff: [2021-02-04T06:11:23.743Z] --- Expected [2021-02-04T06:11:23.743Z] +++ Actual [2021-02-04T06:11:23.743Z] @@ -1 +1 @@ [2021-02-04T06:11:23.743Z] -{"id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} [2021-02-04T06:11:23.743Z] +{"apiVersion":"","id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} [2021-02-04T06:11:23.743Z] Test: TestTransformToJSONMultipleParametersValid [2021-02-04T06:11:23.743Z] --- FAIL: TestTransformToJSONMultipleParametersTwoEvents (0.00s) [2021-02-04T06:11:23.743Z] conversion_test.go:175: [2021-02-04T06:11:23.743Z] Error Trace: conversion_test.go:175 [2021-02-04T06:11:23.743Z] Error: Not equal: [2021-02-04T06:11:23.743Z] expected: "{\"id\":\"\",\"deviceName\":\"id2\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" [2021-02-04T06:11:23.743Z] actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"id2\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" [2021-02-04T06:11:23.743Z] [2021-02-04T06:11:23.743Z] Diff: [2021-02-04T06:11:23.743Z] --- Expected [2021-02-04T06:11:23.743Z] +++ Actual [2021-02-04T06:11:23.743Z] @@ -1 +1 @@ [2021-02-04T06:11:23.743Z] -{"id":"","deviceName":"id2","profileName":"","created":0,"origin":0,"readings":null} [2021-02-04T06:11:23.743Z] +{"apiVersion":"","id":"","deviceName":"id2","profileName":"","created":0,"origin":0,"readings":null} [2021-02-04T06:11:23.743Z] Test: TestTransformToJSONMultipleParametersTwoEvents [2021-02-04T06:11:23.743Z] FAIL [2021-02-04T06:11:23.743Z] coverage: 81.4% of statements [2021-02-04T06:11:23.743Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.086s [2021-02-04T06:11:23.743Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.021s coverage: 94.4% of statements [2021-02-04T06:11:23.743Z] FAIL [2021-02-04T06:11:23.743Z] make: *** [Makefile:6: test] Error 1 [Pipeline] } [2021-02-04T06:11:23.808Z] $ docker stop --time=1 e43e1294b24f82c1d237c3b7ad14fda64a2faa32a0087372dae19261b691c3ca [2021-02-04T06:11:26.000Z] $ docker rm -f e43e1294b24f82c1d237c3b7ad14fda64a2faa32a0087372dae19261b691c3ca [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-04T06:11:28.621Z] Failed in branch arm64 [2021-02-04T06:11:30.490Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.043s coverage: 48.6% of statements [2021-02-04T06:11:30.490Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-02-04T06:11:30.490Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-02-04T06:11:30.490Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.217s coverage: 61.5% of statements [2021-02-04T06:11:30.490Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-02-04T06:11:32.218Z] --- FAIL: TestProcessMessageNoTransforms (0.00s) [2021-02-04T06:11:32.218Z] runtime_test.go:116: [2021-02-04T06:11:32.218Z] Error Trace: runtime_test.go:116 [2021-02-04T06:11:32.218Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc000303940), ErrorCode:400} [2021-02-04T06:11:32.218Z] Test: TestProcessMessageNoTransforms [2021-02-04T06:11:32.218Z] Messages: result should be nil since no transforms have been passed [2021-02-04T06:11:32.218Z] --- FAIL: TestProcessMessageOneCustomTransform (0.00s) [2021-02-04T06:11:32.218Z] runtime_test.go:145: [2021-02-04T06:11:32.218Z] Error Trace: runtime_test.go:145 [2021-02-04T06:11:32.218Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc000303bc0), ErrorCode:400} [2021-02-04T06:11:32.218Z] Test: TestProcessMessageOneCustomTransform [2021-02-04T06:11:32.218Z] --- FAIL: TestProcessMessageTwoCustomTransforms (0.00s) [2021-02-04T06:11:32.218Z] runtime_test.go:186: [2021-02-04T06:11:32.218Z] Error Trace: runtime_test.go:186 [2021-02-04T06:11:32.218Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc000303e50), ErrorCode:400} [2021-02-04T06:11:32.218Z] Test: TestProcessMessageTwoCustomTransforms [2021-02-04T06:11:32.218Z] --- FAIL: TestProcessMessageThreeCustomTransformsOneFail (0.00s) [2021-02-04T06:11:32.218Z] runtime_test.go:233: [2021-02-04T06:11:32.218Z] Error Trace: runtime_test.go:233 [2021-02-04T06:11:32.218Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc0003640d0), ErrorCode:400} [2021-02-04T06:11:32.218Z] Test: TestProcessMessageThreeCustomTransformsOneFail [2021-02-04T06:11:32.218Z] --- FAIL: TestProcessMessageJSON (0.00s) [2021-02-04T06:11:32.218Z] runtime_test.go:308: [2021-02-04T06:11:32.218Z] Error Trace: runtime_test.go:308 [2021-02-04T06:11:32.218Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc000364460), ErrorCode:400} [2021-02-04T06:11:32.218Z] Test: TestProcessMessageJSON [2021-02-04T06:11:32.218Z] 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-04T06:11:32.218Z] runtime_test.go:309: [2021-02-04T06:11:32.218Z] Error Trace: runtime_test.go:309 [2021-02-04T06:11:32.218Z] Error: Should be true [2021-02-04T06:11:32.218Z] Test: TestProcessMessageJSON [2021-02-04T06:11:32.218Z] Messages: transform1 should have been called [2021-02-04T06:11:32.218Z] --- FAIL: TestProcessMessageTargetType (0.00s) [2021-02-04T06:11:32.218Z] runtime_test.go:423: [2021-02-04T06:11:32.218Z] Error Trace: runtime_test.go:423 [2021-02-04T06:11:32.218Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc000364cc0), ErrorCode:400} [2021-02-04T06:11:32.218Z] Test: TestProcessMessageTargetType [2021-02-04T06:11:32.218Z] Messages: unexpected error for test 'Default Nil Target Type' [2021-02-04T06:11:32.218Z] runtime_test.go:427: [2021-02-04T06:11:32.218Z] Error Trace: runtime_test.go:427 [2021-02-04T06:11:32.218Z] Error: Not equal: [2021-02-04T06:11:32.218Z] 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, 0x34, 0x31, 0x39, 0x30, 0x39, 0x31, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x34, 0x31, 0x39, 0x30, 0x39, 0x31, 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, 0x34, 0x31, 0x39, 0x30, 0x39, 0x31, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x34, 0x31, 0x39, 0x30, 0x39, 0x31, 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-04T06:11:32.218Z] actual : []byte(nil) [2021-02-04T06:11:32.218Z] [2021-02-04T06:11:32.218Z] Diff: [2021-02-04T06:11:32.218Z] --- Expected [2021-02-04T06:11:32.218Z] +++ Actual [2021-02-04T06:11:32.218Z] @@ -1,31 +1,2 @@ [2021-02-04T06:11:32.218Z] -([]uint8) (len=444) { [2021-02-04T06:11:32.218Z] - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| [2021-02-04T06:11:32.218Z] - 00000010 32 22 2c 22 69 64 22 3a 22 38 32 65 62 32 65 32 |2","id":"82eb2e2| [2021-02-04T06:11:32.218Z] - 00000020 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 65 34 63 |6-0f24-48aa-ae4c| [2021-02-04T06:11:32.218Z] - 00000030 2d 64 65 39 64 61 63 33 66 62 39 62 63 22 2c 22 |-de9dac3fb9bc","| [2021-02-04T06:11:32.218Z] - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| [2021-02-04T06:11:32.218Z] - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| [2021-02-04T06:11:32.218Z] - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| [2021-02-04T06:11:32.218Z] - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| [2021-02-04T06:11:32.218Z] - 00000080 72 65 61 74 65 64 22 3a 31 36 31 32 34 31 39 30 |reated":16124190| [2021-02-04T06:11:32.218Z] - 00000090 39 31 2c 22 6f 72 69 67 69 6e 22 3a 31 36 31 32 |91,"origin":1612| [2021-02-04T06:11:32.218Z] - 000000a0 34 31 39 30 39 31 2c 22 72 65 61 64 69 6e 67 73 |419091,"readings| [2021-02-04T06:11:32.218Z] - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| [2021-02-04T06:11:32.218Z] - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 38 32 65 62 |:"v2","id":"82eb| [2021-02-04T06:11:32.218Z] - 000000d0 32 65 32 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 |2e26-0f24-48aa-a| [2021-02-04T06:11:32.218Z] - 000000e0 65 34 63 2d 64 65 39 64 61 63 33 66 31 32 33 34 |e4c-de9dac3f1234| [2021-02-04T06:11:32.218Z] - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 31 36 31 32 |","created":1612| [2021-02-04T06:11:32.218Z] - 00000100 34 31 39 30 39 31 2c 22 6f 72 69 67 69 6e 22 3a |419091,"origin":| [2021-02-04T06:11:32.218Z] - 00000110 31 36 31 32 34 31 39 30 39 31 2c 22 64 65 76 69 |1612419091,"devi| [2021-02-04T06:11:32.218Z] - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| [2021-02-04T06:11:32.218Z] - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| [2021-02-04T06:11:32.218Z] - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| [2021-02-04T06:11:32.218Z] - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| [2021-02-04T06:11:32.218Z] - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| [2021-02-04T06:11:32.218Z] - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| [2021-02-04T06:11:32.218Z] - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| [2021-02-04T06:11:32.218Z] - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| [2021-02-04T06:11:32.218Z] - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| [2021-02-04T06:11:32.218Z] - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| [2021-02-04T06:11:32.218Z] -} [2021-02-04T06:11:32.218Z] +([]uint8) [2021-02-04T06:11:32.218Z] [2021-02-04T06:11:32.218Z] Test: TestProcessMessageTargetType [2021-02-04T06:11:32.218Z] Messages: 'Default Nil Target Type' test failed [2021-02-04T06:11:32.218Z] runtime_test.go:423: [2021-02-04T06:11:32.218Z] Error Trace: runtime_test.go:423 [2021-02-04T06:11:32.219Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc000365040), ErrorCode:400} [2021-02-04T06:11:32.219Z] Test: TestProcessMessageTargetType [2021-02-04T06:11:32.219Z] Messages: unexpected error for test 'Event as Json' [2021-02-04T06:11:32.219Z] runtime_test.go:427: [2021-02-04T06:11:32.219Z] Error Trace: runtime_test.go:427 [2021-02-04T06:11:32.219Z] Error: Not equal: [2021-02-04T06:11:32.219Z] 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, 0x34, 0x31, 0x39, 0x30, 0x39, 0x31, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x34, 0x31, 0x39, 0x30, 0x39, 0x31, 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, 0x34, 0x31, 0x39, 0x30, 0x39, 0x31, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x34, 0x31, 0x39, 0x30, 0x39, 0x31, 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-04T06:11:32.219Z] actual : []byte(nil) [2021-02-04T06:11:32.219Z] [2021-02-04T06:11:32.219Z] Diff: [2021-02-04T06:11:32.219Z] --- Expected [2021-02-04T06:11:32.219Z] +++ Actual [2021-02-04T06:11:32.219Z] @@ -1,31 +1,2 @@ [2021-02-04T06:11:32.219Z] -([]uint8) (len=444) { [2021-02-04T06:11:32.219Z] - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| [2021-02-04T06:11:32.219Z] - 00000010 32 22 2c 22 69 64 22 3a 22 38 32 65 62 32 65 32 |2","id":"82eb2e2| [2021-02-04T06:11:32.219Z] - 00000020 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 65 34 63 |6-0f24-48aa-ae4c| [2021-02-04T06:11:32.219Z] - 00000030 2d 64 65 39 64 61 63 33 66 62 39 62 63 22 2c 22 |-de9dac3fb9bc","| [2021-02-04T06:11:32.219Z] - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| [2021-02-04T06:11:32.219Z] - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| [2021-02-04T06:11:32.219Z] - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| [2021-02-04T06:11:32.219Z] - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| [2021-02-04T06:11:32.219Z] - 00000080 72 65 61 74 65 64 22 3a 31 36 31 32 34 31 39 30 |reated":16124190| [2021-02-04T06:11:32.219Z] - 00000090 39 31 2c 22 6f 72 69 67 69 6e 22 3a 31 36 31 32 |91,"origin":1612| [2021-02-04T06:11:32.219Z] - 000000a0 34 31 39 30 39 31 2c 22 72 65 61 64 69 6e 67 73 |419091,"readings| [2021-02-04T06:11:32.219Z] - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| [2021-02-04T06:11:32.219Z] - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 38 32 65 62 |:"v2","id":"82eb| [2021-02-04T06:11:32.219Z] - 000000d0 32 65 32 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 |2e26-0f24-48aa-a| [2021-02-04T06:11:32.219Z] - 000000e0 65 34 63 2d 64 65 39 64 61 63 33 66 31 32 33 34 |e4c-de9dac3f1234| [2021-02-04T06:11:32.219Z] - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 31 36 31 32 |","created":1612| [2021-02-04T06:11:32.219Z] - 00000100 34 31 39 30 39 31 2c 22 6f 72 69 67 69 6e 22 3a |419091,"origin":| [2021-02-04T06:11:32.219Z] - 00000110 31 36 31 32 34 31 39 30 39 31 2c 22 64 65 76 69 |1612419091,"devi| [2021-02-04T06:11:32.219Z] - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| [2021-02-04T06:11:32.219Z] - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| [2021-02-04T06:11:32.219Z] - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| [2021-02-04T06:11:32.219Z] - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| [2021-02-04T06:11:32.219Z] - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| [2021-02-04T06:11:32.219Z] - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| [2021-02-04T06:11:32.219Z] - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| [2021-02-04T06:11:32.219Z] - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| [2021-02-04T06:11:32.219Z] - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| [2021-02-04T06:11:32.219Z] - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| [2021-02-04T06:11:32.219Z] -} [2021-02-04T06:11:32.219Z] +([]uint8) [2021-02-04T06:11:32.219Z] [2021-02-04T06:11:32.219Z] Test: TestProcessMessageTargetType [2021-02-04T06:11:32.219Z] Messages: 'Event as Json' test failed [2021-02-04T06:11:32.219Z] runtime_test.go:423: [2021-02-04T06:11:32.219Z] Error Trace: runtime_test.go:423 [2021-02-04T06:11:32.219Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc0003654c0), ErrorCode:400} [2021-02-04T06:11:32.219Z] Test: TestProcessMessageTargetType [2021-02-04T06:11:32.219Z] Messages: unexpected error for test 'Event as Cbor' [2021-02-04T06:11:32.219Z] runtime_test.go:427: [2021-02-04T06:11:32.219Z] Error Trace: runtime_test.go:427 [2021-02-04T06:11:32.219Z] Error: Not equal: [2021-02-04T06:11:32.219Z] 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, 0x34, 0x31, 0x39, 0x30, 0x39, 0x31, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x34, 0x31, 0x39, 0x30, 0x39, 0x31, 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, 0x34, 0x31, 0x39, 0x30, 0x39, 0x31, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x34, 0x31, 0x39, 0x30, 0x39, 0x31, 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-04T06:11:32.219Z] actual : []byte(nil) [2021-02-04T06:11:32.219Z] [2021-02-04T06:11:32.219Z] Diff: [2021-02-04T06:11:32.219Z] --- Expected [2021-02-04T06:11:32.219Z] +++ Actual [2021-02-04T06:11:32.219Z] @@ -1,31 +1,2 @@ [2021-02-04T06:11:32.219Z] -([]uint8) (len=444) { [2021-02-04T06:11:32.219Z] - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| [2021-02-04T06:11:32.219Z] - 00000010 32 22 2c 22 69 64 22 3a 22 38 32 65 62 32 65 32 |2","id":"82eb2e2| [2021-02-04T06:11:32.219Z] - 00000020 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 65 34 63 |6-0f24-48aa-ae4c| [2021-02-04T06:11:32.219Z] - 00000030 2d 64 65 39 64 61 63 33 66 62 39 62 63 22 2c 22 |-de9dac3fb9bc","| [2021-02-04T06:11:32.219Z] - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| [2021-02-04T06:11:32.219Z] - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| [2021-02-04T06:11:32.219Z] - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| [2021-02-04T06:11:32.219Z] - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| [2021-02-04T06:11:32.219Z] - 00000080 72 65 61 74 65 64 22 3a 31 36 31 32 34 31 39 30 |reated":16124190| [2021-02-04T06:11:32.219Z] - 00000090 39 31 2c 22 6f 72 69 67 69 6e 22 3a 31 36 31 32 |91,"origin":1612| [2021-02-04T06:11:32.219Z] - 000000a0 34 31 39 30 39 31 2c 22 72 65 61 64 69 6e 67 73 |419091,"readings| [2021-02-04T06:11:32.219Z] - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| [2021-02-04T06:11:32.219Z] - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 38 32 65 62 |:"v2","id":"82eb| [2021-02-04T06:11:32.219Z] - 000000d0 32 65 32 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 |2e26-0f24-48aa-a| [2021-02-04T06:11:32.219Z] - 000000e0 65 34 63 2d 64 65 39 64 61 63 33 66 31 32 33 34 |e4c-de9dac3f1234| [2021-02-04T06:11:32.219Z] - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 31 36 31 32 |","created":1612| [2021-02-04T06:11:32.219Z] - 00000100 34 31 39 30 39 31 2c 22 6f 72 69 67 69 6e 22 3a |419091,"origin":| [2021-02-04T06:11:32.219Z] - 00000110 31 36 31 32 34 31 39 30 39 31 2c 22 64 65 76 69 |1612419091,"devi| [2021-02-04T06:11:32.219Z] - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| [2021-02-04T06:11:32.219Z] - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| [2021-02-04T06:11:32.219Z] - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| [2021-02-04T06:11:32.219Z] - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| [2021-02-04T06:11:32.219Z] - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| [2021-02-04T06:11:32.219Z] - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| [2021-02-04T06:11:32.219Z] - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| [2021-02-04T06:11:32.219Z] - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| [2021-02-04T06:11:32.219Z] - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| [2021-02-04T06:11:32.219Z] - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| [2021-02-04T06:11:32.219Z] -} [2021-02-04T06:11:32.219Z] +([]uint8) [2021-02-04T06:11:32.219Z] [2021-02-04T06:11:32.219Z] Test: TestProcessMessageTargetType [2021-02-04T06:11:32.219Z] Messages: 'Event as Cbor' test failed [2021-02-04T06:11:32.219Z] --- FAIL: TestGolangRuntime_unmarshalV2Event (0.00s) [2021-02-04T06:11:32.219Z] --- FAIL: TestGolangRuntime_unmarshalV2Event/JSON_V2_Event (0.00s) [2021-02-04T06:11:32.219Z] runtime_test.go:599: [2021-02-04T06:11:32.219Z] Error Trace: runtime_test.go:599 [2021-02-04T06:11:32.219Z] Error: Received unexpected error: [2021-02-04T06:11:32.219Z] failed to unmarshal AddEventRequest from content type 'application/json': AddEventRequest.BaseRequest.Versionable.ApiVersion field is required [2021-02-04T06:11:32.219Z] Test: TestGolangRuntime_unmarshalV2Event/JSON_V2_Event [2021-02-04T06:11:32.219Z] --- FAIL: TestGolangRuntime_unmarshalV2Event/CBOR_V2_Event (0.00s) [2021-02-04T06:11:32.219Z] runtime_test.go:599: [2021-02-04T06:11:32.219Z] Error Trace: runtime_test.go:599 [2021-02-04T06:11:32.219Z] Error: Received unexpected error: [2021-02-04T06:11:32.219Z] validation failed on AddEventRequest: AddEventRequest.BaseRequest.Versionable.ApiVersion field is required [2021-02-04T06:11:32.219Z] Test: TestGolangRuntime_unmarshalV2Event/CBOR_V2_Event [2021-02-04T06:11:32.219Z] FAIL [2021-02-04T06:11:32.219Z] coverage: 73.4% of statements [2021-02-04T06:11:32.219Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.230s [2021-02-04T06:11:32.219Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-02-04T06:11:32.219Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-02-04T06:11:32.219Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-02-04T06:11:32.219Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-02-04T06:11:32.219Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-02-04T06:11:32.219Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-02-04T06:11:32.219Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.028s coverage: 97.0% of statements [2021-02-04T06:11:32.219Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-02-04T06:11:32.219Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.087s coverage: 8.8% of statements [2021-02-04T06:11:54.957Z] --- FAIL: TestInitializeAndProcessEventWithNoOutput (3.38s) [2021-02-04T06:11:54.957Z] messaging_test.go:206: [2021-02-04T06:11:54.957Z] Error Trace: messaging_test.go:206 [2021-02-04T06:11:54.957Z] Error: Should be true [2021-02-04T06:11:54.957Z] Test: TestInitializeAndProcessEventWithNoOutput [2021-02-04T06:11:54.957Z] Messages: Transform never called [2021-02-04T06:11:54.957Z] --- FAIL: TestInitializeAndProcessEventWithOutput (3.30s) [2021-02-04T06:11:54.957Z] messaging_test.go:290: [2021-02-04T06:11:54.957Z] Error Trace: messaging_test.go:290 [2021-02-04T06:11:54.957Z] Error: Should be true [2021-02-04T06:11:54.957Z] Test: TestInitializeAndProcessEventWithOutput [2021-02-04T06:11:54.957Z] Messages: Transform never called [2021-02-04T06:11:54.957Z] --- FAIL: TestInitializeAndProcessEventWithOutput_InferJSON (3.31s) [2021-02-04T06:11:54.957Z] messaging_test.go:385: [2021-02-04T06:11:54.957Z] Error Trace: messaging_test.go:385 [2021-02-04T06:11:54.957Z] Error: Should be true [2021-02-04T06:11:54.957Z] Test: TestInitializeAndProcessEventWithOutput_InferJSON [2021-02-04T06:11:54.957Z] Messages: Transform never called [2021-02-04T06:11:54.957Z] --- FAIL: TestInitializeAndProcessEventWithOutput_AssumeCBOR (3.31s) [2021-02-04T06:11:54.957Z] messaging_test.go:477: [2021-02-04T06:11:54.957Z] Error Trace: messaging_test.go:477 [2021-02-04T06:11:54.957Z] Error: Should be true [2021-02-04T06:11:54.957Z] Test: TestInitializeAndProcessEventWithOutput_AssumeCBOR [2021-02-04T06:11:54.957Z] Messages: Transform never called [2021-02-04T06:11:54.957Z] --- FAIL: TestInitializeAndProcessEventMultipleTopics (3.30s) [2021-02-04T06:11:54.957Z] messaging_test.go:638: [2021-02-04T06:11:54.957Z] Error Trace: messaging_test.go:638 [2021-02-04T06:11:54.957Z] Error: Transform never called for t1 [2021-02-04T06:11:54.957Z] Test: TestInitializeAndProcessEventMultipleTopics [2021-02-04T06:11:54.957Z] FAIL [2021-02-04T06:11:54.957Z] coverage: 62.0% of statements [2021-02-04T06:11:54.957Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 16.939s [2021-02-04T06:11:54.957Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-02-04T06:11:54.957Z] --- FAIL: TestAddSecretRequest (0.00s) [2021-02-04T06:11:54.957Z] --- FAIL: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash (0.00s) [2021-02-04T06:11:54.957Z] controller_test.go:261: [2021-02-04T06:11:54.957Z] Error Trace: controller_test.go:261 [2021-02-04T06:11:54.957Z] Error: Not equal: [2021-02-04T06:11:54.957Z] expected: 201 [2021-02-04T06:11:54.957Z] actual : 400 [2021-02-04T06:11:54.957Z] Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash [2021-02-04T06:11:54.957Z] Messages: HTTP status code not as expected [2021-02-04T06:11:54.957Z] controller_test.go:263: [2021-02-04T06:11:54.957Z] Error Trace: controller_test.go:263 [2021-02-04T06:11:54.957Z] Error: Not equal: [2021-02-04T06:11:54.957Z] expected: 201 [2021-02-04T06:11:54.957Z] actual : 400 [2021-02-04T06:11:54.957Z] Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash [2021-02-04T06:11:54.957Z] Messages: BaseResponse status code not as expected [2021-02-04T06:11:54.957Z] controller_test.go:270: [2021-02-04T06:11:54.957Z] Error Trace: controller_test.go:270 [2021-02-04T06:11:54.957Z] Error: Not equal: [2021-02-04T06:11:54.957Z] expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-02-04T06:11:54.957Z] actual : "" [2021-02-04T06:11:54.957Z] [2021-02-04T06:11:54.957Z] Diff: [2021-02-04T06:11:54.957Z] --- Expected [2021-02-04T06:11:54.957Z] +++ Actual [2021-02-04T06:11:54.957Z] @@ -1 +1 @@ [2021-02-04T06:11:54.957Z] -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-04T06:11:54.957Z] + [2021-02-04T06:11:54.957Z] Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash [2021-02-04T06:11:54.957Z] Messages: RequestID not as expected [2021-02-04T06:11:54.957Z] controller_test.go:271: [2021-02-04T06:11:54.957Z] Error Trace: controller_test.go:271 [2021-02-04T06:11:54.957Z] Error: Should be empty, but was JSON decode failed [2021-02-04T06:11:54.957Z] Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash [2021-02-04T06:11:54.957Z] Messages: Message not empty, as expected [2021-02-04T06:11:54.957Z] --- FAIL: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash (0.00s) [2021-02-04T06:11:54.957Z] controller_test.go:261: [2021-02-04T06:11:54.957Z] Error Trace: controller_test.go:261 [2021-02-04T06:11:54.957Z] Error: Not equal: [2021-02-04T06:11:54.957Z] expected: 201 [2021-02-04T06:11:54.957Z] actual : 400 [2021-02-04T06:11:54.957Z] Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-04T06:11:54.957Z] Messages: HTTP status code not as expected [2021-02-04T06:11:54.957Z] controller_test.go:263: [2021-02-04T06:11:54.957Z] Error Trace: controller_test.go:263 [2021-02-04T06:11:54.957Z] Error: Not equal: [2021-02-04T06:11:54.957Z] expected: 201 [2021-02-04T06:11:54.957Z] actual : 400 [2021-02-04T06:11:54.957Z] Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-04T06:11:54.957Z] Messages: BaseResponse status code not as expected [2021-02-04T06:11:54.957Z] controller_test.go:270: [2021-02-04T06:11:54.957Z] Error Trace: controller_test.go:270 [2021-02-04T06:11:54.957Z] Error: Not equal: [2021-02-04T06:11:54.957Z] expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-02-04T06:11:54.957Z] actual : "" [2021-02-04T06:11:54.957Z] [2021-02-04T06:11:54.957Z] Diff: [2021-02-04T06:11:54.957Z] --- Expected [2021-02-04T06:11:54.957Z] +++ Actual [2021-02-04T06:11:54.957Z] @@ -1 +1 @@ [2021-02-04T06:11:54.957Z] -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-04T06:11:54.957Z] + [2021-02-04T06:11:54.957Z] Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-04T06:11:54.957Z] Messages: RequestID not as expected [2021-02-04T06:11:54.957Z] controller_test.go:271: [2021-02-04T06:11:54.957Z] Error Trace: controller_test.go:271 [2021-02-04T06:11:54.957Z] Error: Should be empty, but was JSON decode failed [2021-02-04T06:11:54.957Z] Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-04T06:11:54.957Z] Messages: Message not empty, as expected [2021-02-04T06:11:54.958Z] --- FAIL: TestAddSecretRequest/Valid_-_both_trailing_slashes (0.00s) [2021-02-04T06:11:54.958Z] controller_test.go:261: [2021-02-04T06:11:54.958Z] Error Trace: controller_test.go:261 [2021-02-04T06:11:54.958Z] Error: Not equal: [2021-02-04T06:11:54.958Z] expected: 201 [2021-02-04T06:11:54.958Z] actual : 400 [2021-02-04T06:11:54.958Z] Test: TestAddSecretRequest/Valid_-_both_trailing_slashes [2021-02-04T06:11:54.958Z] Messages: HTTP status code not as expected [2021-02-04T06:11:54.958Z] controller_test.go:263: [2021-02-04T06:11:54.958Z] Error Trace: controller_test.go:263 [2021-02-04T06:11:54.958Z] Error: Not equal: [2021-02-04T06:11:54.958Z] expected: 201 [2021-02-04T06:11:54.958Z] actual : 400 [2021-02-04T06:11:54.958Z] Test: TestAddSecretRequest/Valid_-_both_trailing_slashes [2021-02-04T06:11:54.958Z] Messages: BaseResponse status code not as expected [2021-02-04T06:11:54.958Z] controller_test.go:270: [2021-02-04T06:11:54.958Z] Error Trace: controller_test.go:270 [2021-02-04T06:11:54.958Z] Error: Not equal: [2021-02-04T06:11:54.958Z] expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-02-04T06:11:54.958Z] actual : "" [2021-02-04T06:11:54.958Z] [2021-02-04T06:11:54.958Z] Diff: [2021-02-04T06:11:54.958Z] --- Expected [2021-02-04T06:11:54.958Z] +++ Actual [2021-02-04T06:11:54.958Z] @@ -1 +1 @@ [2021-02-04T06:11:54.958Z] -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-04T06:11:54.958Z] + [2021-02-04T06:11:54.958Z] Test: TestAddSecretRequest/Valid_-_both_trailing_slashes [2021-02-04T06:11:54.958Z] Messages: RequestID not as expected [2021-02-04T06:11:54.958Z] controller_test.go:271: [2021-02-04T06:11:54.958Z] Error Trace: controller_test.go:271 [2021-02-04T06:11:54.958Z] Error: Should be empty, but was JSON decode failed [2021-02-04T06:11:54.958Z] Test: TestAddSecretRequest/Valid_-_both_trailing_slashes [2021-02-04T06:11:54.958Z] Messages: Message not empty, as expected [2021-02-04T06:11:54.958Z] --- FAIL: TestAddSecretRequest/Valid_-_no_requestId (0.00s) [2021-02-04T06:11:54.958Z] controller_test.go:261: [2021-02-04T06:11:54.958Z] Error Trace: controller_test.go:261 [2021-02-04T06:11:54.958Z] Error: Not equal: [2021-02-04T06:11:54.958Z] expected: 201 [2021-02-04T06:11:54.958Z] actual : 400 [2021-02-04T06:11:54.958Z] Test: TestAddSecretRequest/Valid_-_no_requestId [2021-02-04T06:11:54.958Z] Messages: HTTP status code not as expected [2021-02-04T06:11:54.958Z] controller_test.go:263: [2021-02-04T06:11:54.958Z] Error Trace: controller_test.go:263 [2021-02-04T06:11:54.958Z] Error: Not equal: [2021-02-04T06:11:54.958Z] expected: 201 [2021-02-04T06:11:54.958Z] actual : 400 [2021-02-04T06:11:54.958Z] Test: TestAddSecretRequest/Valid_-_no_requestId [2021-02-04T06:11:54.958Z] Messages: BaseResponse status code not as expected [2021-02-04T06:11:54.958Z] controller_test.go:271: [2021-02-04T06:11:54.958Z] Error Trace: controller_test.go:271 [2021-02-04T06:11:54.958Z] Error: Should be empty, but was JSON decode failed [2021-02-04T06:11:54.958Z] Test: TestAddSecretRequest/Valid_-_no_requestId [2021-02-04T06:11:54.958Z] Messages: Message not empty, as expected [2021-02-04T06:11:54.958Z] --- FAIL: TestAddSecretRequest/Invalid_-_No_Secret_Store (0.00s) [2021-02-04T06:11:54.958Z] controller_test.go:261: [2021-02-04T06:11:54.958Z] Error Trace: controller_test.go:261 [2021-02-04T06:11:54.958Z] Error: Not equal: [2021-02-04T06:11:54.958Z] expected: 500 [2021-02-04T06:11:54.958Z] actual : 400 [2021-02-04T06:11:54.958Z] Test: TestAddSecretRequest/Invalid_-_No_Secret_Store [2021-02-04T06:11:54.958Z] Messages: HTTP status code not as expected [2021-02-04T06:11:54.958Z] controller_test.go:263: [2021-02-04T06:11:54.958Z] Error Trace: controller_test.go:263 [2021-02-04T06:11:54.958Z] Error: Not equal: [2021-02-04T06:11:54.958Z] expected: 500 [2021-02-04T06:11:54.958Z] actual : 400 [2021-02-04T06:11:54.958Z] Test: TestAddSecretRequest/Invalid_-_No_Secret_Store [2021-02-04T06:11:54.958Z] Messages: BaseResponse status code not as expected [2021-02-04T06:11:54.958Z] FAIL [2021-02-04T06:11:54.958Z] coverage: 63.8% of statements [2021-02-04T06:11:54.958Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.059s [2021-02-04T06:11:54.958Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.024s coverage: 80.5% of statements [2021-02-04T06:11:54.958Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.031s coverage: 71.7% of statements [2021-02-04T06:12:03.249Z] --- FAIL: TestTransformToJSON (0.02s) [2021-02-04T06:12:03.249Z] conversion_test.go:130: [2021-02-04T06:12:03.249Z] Error Trace: conversion_test.go:130 [2021-02-04T06:12:03.249Z] Error: Not equal: [2021-02-04T06:12:03.249Z] expected: "{\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" [2021-02-04T06:12:03.249Z] actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" [2021-02-04T06:12:03.249Z] [2021-02-04T06:12:03.249Z] Diff: [2021-02-04T06:12:03.249Z] --- Expected [2021-02-04T06:12:03.249Z] +++ Actual [2021-02-04T06:12:03.249Z] @@ -1 +1 @@ [2021-02-04T06:12:03.249Z] -{"id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} [2021-02-04T06:12:03.249Z] +{"apiVersion":"","id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} [2021-02-04T06:12:03.250Z] Test: TestTransformToJSON [2021-02-04T06:12:03.250Z] --- FAIL: TestTransformToJSONMultipleParametersValid (0.00s) [2021-02-04T06:12:03.250Z] conversion_test.go:157: [2021-02-04T06:12:03.250Z] Error Trace: conversion_test.go:157 [2021-02-04T06:12:03.250Z] Error: Not equal: [2021-02-04T06:12:03.250Z] expected: "{\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" [2021-02-04T06:12:03.250Z] actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" [2021-02-04T06:12:03.250Z] [2021-02-04T06:12:03.250Z] Diff: [2021-02-04T06:12:03.250Z] --- Expected [2021-02-04T06:12:03.250Z] +++ Actual [2021-02-04T06:12:03.250Z] @@ -1 +1 @@ [2021-02-04T06:12:03.250Z] -{"id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} [2021-02-04T06:12:03.250Z] +{"apiVersion":"","id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} [2021-02-04T06:12:03.250Z] Test: TestTransformToJSONMultipleParametersValid [2021-02-04T06:12:03.250Z] --- FAIL: TestTransformToJSONMultipleParametersTwoEvents (0.00s) [2021-02-04T06:12:03.250Z] conversion_test.go:175: [2021-02-04T06:12:03.250Z] Error Trace: conversion_test.go:175 [2021-02-04T06:12:03.250Z] Error: Not equal: [2021-02-04T06:12:03.250Z] expected: "{\"id\":\"\",\"deviceName\":\"id2\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" [2021-02-04T06:12:03.250Z] actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"id2\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" [2021-02-04T06:12:03.250Z] [2021-02-04T06:12:03.250Z] Diff: [2021-02-04T06:12:03.250Z] --- Expected [2021-02-04T06:12:03.250Z] +++ Actual [2021-02-04T06:12:03.250Z] @@ -1 +1 @@ [2021-02-04T06:12:03.250Z] -{"id":"","deviceName":"id2","profileName":"","created":0,"origin":0,"readings":null} [2021-02-04T06:12:03.250Z] +{"apiVersion":"","id":"","deviceName":"id2","profileName":"","created":0,"origin":0,"readings":null} [2021-02-04T06:12:03.250Z] Test: TestTransformToJSONMultipleParametersTwoEvents [2021-02-04T06:12:03.250Z] FAIL [2021-02-04T06:12:03.250Z] coverage: 81.4% of statements [2021-02-04T06:12:03.250Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.249s [2021-02-04T06:12:03.250Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.041s coverage: 94.4% of statements [2021-02-04T06:12:03.250Z] FAIL [2021-02-04T06:12:03.250Z] make: *** [Makefile:6: test] Error 1 [Pipeline] } [2021-02-04T06:12:03.338Z] $ docker stop --time=1 d925a162c8064503eddeb85fa5bf4aea0589ca63d87413cd971332e73be7a81d [2021-02-04T06:12:05.647Z] $ docker rm -f d925a162c8064503eddeb85fa5bf4aea0589ca63d87413cd971332e73be7a81d [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-04T06:12:08.389Z] Failed in branch amd64 [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-04T06:12:13.223Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T06:12:13.561Z] ---> package-listing.sh [2021-02-04T06:12:13.561Z] ++ facter osfamily [2021-02-04T06:12:13.561Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-04T06:12:13.561Z] + OS_FAMILY=redhat [2021-02-04T06:12:13.561Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-675 [2021-02-04T06:12:13.561Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-04T06:12:13.561Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-04T06:12:13.561Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-04T06:12:13.561Z] + PACKAGES=/tmp/packages_start.txt [2021-02-04T06:12:13.561Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-675 ']' [2021-02-04T06:12:13.561Z] + PACKAGES=/tmp/packages_end.txt [2021-02-04T06:12:13.561Z] + case "${OS_FAMILY}" in [2021-02-04T06:12:13.561Z] + rpm -qa [2021-02-04T06:12:13.561Z] + sort [2021-02-04T06:12:18.871Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-04T06:12:18.871Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-04T06:12:18.871Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-04T06:12:18.871Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-675 ']' [2021-02-04T06:12:18.871Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-675/archives/ [2021-02-04T06:12:18.871Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-675/archives/ [Pipeline] echo [2021-02-04T06:12:18.901Z] 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-675/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-02-04T06:12:19.203Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-04T06:12:19.536Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-04T06:12:19.536Z] [2021-02-04T06:12:19.536Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-04T06:12:19.915Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-04T06:12:19.915Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-04T06:12:19.915Z] df20fa9351a1: Pulling fs layer [2021-02-04T06:12:19.915Z] 36b3adc4ff6f: Pulling fs layer [2021-02-04T06:12:19.915Z] 8ad3a11d3b57: Pulling fs layer [2021-02-04T06:12:19.915Z] 46f8f816bc3b: Pulling fs layer [2021-02-04T06:12:19.915Z] 93b61091891f: Pulling fs layer [2021-02-04T06:12:19.915Z] 93b9cdb0e59b: Pulling fs layer [2021-02-04T06:12:19.915Z] 5e14af77c1be: Pulling fs layer [2021-02-04T06:12:19.915Z] 01666e4c0597: Pulling fs layer [2021-02-04T06:12:19.915Z] aa168da1d23b: Pulling fs layer [2021-02-04T06:12:19.915Z] 93b9cdb0e59b: Waiting [2021-02-04T06:12:19.915Z] 5e14af77c1be: Waiting [2021-02-04T06:12:19.915Z] 01666e4c0597: Waiting [2021-02-04T06:12:19.915Z] 46f8f816bc3b: Waiting [2021-02-04T06:12:19.915Z] aa168da1d23b: Waiting [2021-02-04T06:12:19.915Z] 93b61091891f: Waiting [2021-02-04T06:12:19.915Z] 36b3adc4ff6f: Verifying Checksum [2021-02-04T06:12:19.915Z] 36b3adc4ff6f: Download complete [2021-02-04T06:12:19.915Z] 46f8f816bc3b: Verifying Checksum [2021-02-04T06:12:19.915Z] 46f8f816bc3b: Download complete [2021-02-04T06:12:19.915Z] df20fa9351a1: Verifying Checksum [2021-02-04T06:12:19.915Z] df20fa9351a1: Download complete [2021-02-04T06:12:19.915Z] 93b9cdb0e59b: Verifying Checksum [2021-02-04T06:12:19.915Z] 93b9cdb0e59b: Download complete [2021-02-04T06:12:19.915Z] 93b61091891f: Verifying Checksum [2021-02-04T06:12:19.915Z] 93b61091891f: Download complete [2021-02-04T06:12:20.178Z] 5e14af77c1be: Verifying Checksum [2021-02-04T06:12:20.178Z] 5e14af77c1be: Download complete [2021-02-04T06:12:20.178Z] 01666e4c0597: Verifying Checksum [2021-02-04T06:12:20.178Z] 01666e4c0597: Download complete [2021-02-04T06:12:20.440Z] df20fa9351a1: Pull complete [2021-02-04T06:12:20.440Z] 36b3adc4ff6f: Pull complete [2021-02-04T06:12:21.013Z] 8ad3a11d3b57: Verifying Checksum [2021-02-04T06:12:21.013Z] 8ad3a11d3b57: Download complete [2021-02-04T06:12:21.592Z] 8ad3a11d3b57: Pull complete [2021-02-04T06:12:21.857Z] 46f8f816bc3b: Pull complete [2021-02-04T06:12:22.431Z] aa168da1d23b: Verifying Checksum [2021-02-04T06:12:22.431Z] aa168da1d23b: Download complete [2021-02-04T06:12:23.013Z] 93b61091891f: Pull complete [2021-02-04T06:12:23.013Z] 93b9cdb0e59b: Pull complete [2021-02-04T06:12:23.277Z] 5e14af77c1be: Pull complete [2021-02-04T06:12:23.277Z] 01666e4c0597: Pull complete [2021-02-04T06:12:29.904Z] aa168da1d23b: Pull complete [2021-02-04T06:12:29.904Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-04T06:12:29.904Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-04T06:12:29.904Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-04T06:12:30.109Z] prd-centos7-docker-4c-2g-24927 does not seem to be running inside a container [2021-02-04T06:12:30.153Z] $ 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-675/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-675 -v /w/workspace/ndry_app-functions-sdk-go_PR-675:/w/workspace/ndry_app-functions-sdk-go_PR-675:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-675@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-675@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-02-04T06:12:33.298Z] $ docker top 30fdb474737df98dd3d9fc0b2457d3f0f278a9eb138148cbd860611d3e9c7138 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-04T06:12:33.926Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-04T06:12:34.237Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-04T06:12:34.552Z] + ls /var/log/sa-host [2021-02-04T06:12:34.552Z] + sadf -c /var/log/sa-host/sa04 [2021-02-04T06:12:34.552Z] file_magic: OK [2021-02-04T06:12:34.552Z] HZ: Using current value: 100 [2021-02-04T06:12:34.552Z] file_header: OK [2021-02-04T06:12:34.552Z] 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-04T06:12:34.552Z] Statistics: [2021-02-04T06:12:34.552Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-04T06:12:34.552Z] File successfully converted to sysstat format version 12.2.1 [2021-02-04T06:12:34.552Z] + sadf -c /var/log/sa-host/sa23 [2021-02-04T06:12:34.552Z] file_magic: OK [2021-02-04T06:12:34.552Z] HZ: Using current value: 100 [2021-02-04T06:12:34.552Z] file_header: OK [2021-02-04T06:12:34.552Z] 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-04T06:12:34.552Z] Statistics: [2021-02-04T06:12:34.552Z] Hnuu...uuuununununu... [2021-02-04T06:12:34.552Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-04T06:12:35.217Z] provisioning config files... [2021-02-04T06:12:35.236Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-675@tmp/config6606892761710428412tmp [Pipeline] { [Pipeline] echo [2021-02-04T06:12:35.358Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T06:12:35.688Z] ---> create-netrc.sh [Pipeline] } [2021-02-04T06:12:35.716Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-04T06:12:35.881Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T06:12:36.207Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-04T06:12:36.239Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T06:12:36.568Z] ---> sudo-logs.sh [2021-02-04T06:12:36.568Z] Archiving 'sudo' log.. [Pipeline] echo [2021-02-04T06:12:36.599Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T06:12:36.926Z] ---> job-cost.sh [2021-02-04T06:12:36.926Z] lf-activate-venv: SKIPPING [2021-02-04T06:12:36.926Z] INFO: No Stack... [2021-02-04T06:12:37.880Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-04T06:12:38.455Z] INFO: Archiving Costs [Pipeline] echo [2021-02-04T06:12:38.489Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T06:12:38.831Z] ---> logs-deploy.sh [2021-02-04T06:12:38.831Z] lf-activate-venv: SKIPPING [2021-02-04T06:12:38.831Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-675/1 [2021-02-04T06:12:38.831Z] INFO: archiving workspace using pattern(s): [2021-02-04T06:12:40.755Z] Archives upload complete. [2021-02-04T06:12:40.755Z] INFO: archiving logs to Nexus [2021-02-04T06:12:41.701Z] ---> uname -a: [2021-02-04T06:12:41.701Z] Linux prd-centos7-docker-4c-2g-24927.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-02-04T06:12:41.701Z] [2021-02-04T06:12:41.701Z] [2021-02-04T06:12:41.701Z] ---> lscpu: [2021-02-04T06:12:41.701Z] Architecture: x86_64 [2021-02-04T06:12:41.701Z] CPU op-mode(s): 32-bit, 64-bit [2021-02-04T06:12:41.701Z] Byte Order: Little Endian [2021-02-04T06:12:41.701Z] Address sizes: 40 bits physical, 48 bits virtual [2021-02-04T06:12:41.701Z] CPU(s): 4 [2021-02-04T06:12:41.701Z] On-line CPU(s) list: 0-3 [2021-02-04T06:12:41.701Z] Thread(s) per core: 1 [2021-02-04T06:12:41.701Z] Core(s) per socket: 1 [2021-02-04T06:12:41.701Z] Socket(s): 4 [2021-02-04T06:12:41.701Z] NUMA node(s): 1 [2021-02-04T06:12:41.701Z] Vendor ID: GenuineIntel [2021-02-04T06:12:41.701Z] CPU family: 6 [2021-02-04T06:12:41.701Z] Model: 44 [2021-02-04T06:12:41.701Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2021-02-04T06:12:41.701Z] Stepping: 1 [2021-02-04T06:12:41.701Z] CPU MHz: 2933.438 [2021-02-04T06:12:41.701Z] BogoMIPS: 5866.87 [2021-02-04T06:12:41.701Z] Virtualization: VT-x [2021-02-04T06:12:41.701Z] Hypervisor vendor: KVM [2021-02-04T06:12:41.701Z] Virtualization type: full [2021-02-04T06:12:41.701Z] L1d cache: 128 KiB [2021-02-04T06:12:41.701Z] L1i cache: 128 KiB [2021-02-04T06:12:41.701Z] L2 cache: 16 MiB [2021-02-04T06:12:41.701Z] L3 cache: 64 MiB [2021-02-04T06:12:41.701Z] NUMA node0 CPU(s): 0-3 [2021-02-04T06:12:41.701Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2021-02-04T06:12:41.701Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2021-02-04T06:12:41.701Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2021-02-04T06:12:41.701Z] Vulnerability Meltdown: Mitigation; PTI [2021-02-04T06:12:41.701Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-02-04T06:12:41.701Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-02-04T06:12:41.701Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-02-04T06:12:41.701Z] Vulnerability Srbds: Not affected [2021-02-04T06:12:41.701Z] Vulnerability Tsx async abort: Not affected [2021-02-04T06:12:41.701Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2021-02-04T06:12:41.701Z] [2021-02-04T06:12:41.701Z] [2021-02-04T06:12:41.701Z] ---> nproc: [2021-02-04T06:12:41.701Z] 4 [2021-02-04T06:12:41.701Z] [2021-02-04T06:12:41.701Z] [2021-02-04T06:12:41.701Z] ---> df -h: [2021-02-04T06:12:41.701Z] Filesystem Size Used Available Use% Mounted on [2021-02-04T06:12:41.702Z] overlay 50.0G 7.3G 42.7G 15% / [2021-02-04T06:12:41.702Z] tmpfs 64.0M 0 64.0M 0% /dev [2021-02-04T06:12:41.702Z] tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup [2021-02-04T06:12:41.702Z] shm 64.0M 0 64.0M 0% /dev/shm [2021-02-04T06:12:41.702Z] /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os [2021-02-04T06:12:41.702Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf [2021-02-04T06:12:41.702Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname [2021-02-04T06:12:41.702Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts [2021-02-04T06:12:41.702Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure [2021-02-04T06:12:41.702Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log [2021-02-04T06:12:41.702Z] /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json [2021-02-04T06:12:41.702Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/ndry_app-functions-sdk-go_PR-675 [2021-02-04T06:12:41.702Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/ndry_app-functions-sdk-go_PR-675@tmp [2021-02-04T06:12:41.702Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host [2021-02-04T06:12:41.702Z] [2021-02-04T06:12:41.702Z] [2021-02-04T06:12:41.702Z] ---> free -m: [2021-02-04T06:12:41.702Z] total used free shared buff/cache available [2021-02-04T06:12:41.702Z] Mem: 1837 683 110 0 1043 1049 [2021-02-04T06:12:41.702Z] Swap: 1023 1 1022 [2021-02-04T06:12:41.702Z] [2021-02-04T06:12:41.702Z] [2021-02-04T06:12:41.702Z] ---> ip addr: [2021-02-04T06:12:41.702Z] 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 [2021-02-04T06:12:41.702Z] link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 [2021-02-04T06:12:41.702Z] inet 127.0.0.1/8 scope host lo [2021-02-04T06:12:41.702Z] valid_lft forever preferred_lft forever [2021-02-04T06:12:41.702Z] inet6 ::1/128 scope host [2021-02-04T06:12:41.702Z] valid_lft forever preferred_lft forever [2021-02-04T06:12:41.702Z] 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 [2021-02-04T06:12:41.702Z] link/ether fa:16:3e:9f:96:67 brd ff:ff:ff:ff:ff:ff [2021-02-04T06:12:41.702Z] inet 10.30.123.64/23 brd 10.30.123.255 scope global dynamic eth0 [2021-02-04T06:12:41.702Z] valid_lft 85961sec preferred_lft 85961sec [2021-02-04T06:12:41.702Z] inet6 fe80::f816:3eff:fe9f:9667/64 scope link [2021-02-04T06:12:41.702Z] valid_lft forever preferred_lft forever [2021-02-04T06:12:41.702Z] 3: docker0: mtu 1500 qdisc noqueue state DOWN [2021-02-04T06:12:41.702Z] link/ether 02:42:fe:29:44:90 brd ff:ff:ff:ff:ff:ff [2021-02-04T06:12:41.702Z] inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 [2021-02-04T06:12:41.702Z] valid_lft forever preferred_lft forever [2021-02-04T06:12:41.702Z] inet6 fe80::42:feff:fe29:4490/64 scope link [2021-02-04T06:12:41.702Z] valid_lft forever preferred_lft forever [2021-02-04T06:12:41.702Z] [2021-02-04T06:12:41.702Z] [2021-02-04T06:12:41.702Z] ---> sar -b -r -n DEV: [2021-02-04T06:12:41.702Z] Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 02/04/21 _x86_64_ (4 CPU) [2021-02-04T06:12:41.702Z] [2021-02-04T06:12:41.702Z] 06:05:11 LINUX RESTART (4 CPU) [2021-02-04T06:12:41.702Z] [2021-02-04T06:12:41.702Z] 06:06:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s [2021-02-04T06:12:41.702Z] 06:07:01 33.31 12.60 20.71 0.00 4439.35 4242.12 0.00 [2021-02-04T06:12:41.702Z] 06:08:01 1.85 0.00 1.85 0.00 0.00 36.75 0.00 [2021-02-04T06:12:41.702Z] 06:09:02 0.25 0.00 0.25 0.00 0.00 2.73 0.00 [2021-02-04T06:12:41.702Z] 06:10:01 0.19 0.00 0.19 0.00 0.00 2.05 0.00 [2021-02-04T06:12:41.702Z] 06:11:01 0.25 0.00 0.25 0.00 0.00 3.96 0.00 [2021-02-04T06:12:41.702Z] 06:12:01 0.32 0.00 0.32 0.00 0.00 4.08 0.00 [2021-02-04T06:12:41.702Z] Average: 6.05 2.11 3.94 0.00 742.24 717.54 0.00 [2021-02-04T06:12:41.702Z] [2021-02-04T06:12:41.702Z] 06:06:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2021-02-04T06:12:41.702Z] 06:07:01 248256 0 581400 30.90 2620 1049268 1098244 37.48 394264 1041708 20 [2021-02-04T06:12:41.702Z] 06:08:01 254128 0 575520 30.59 2620 1049276 1072720 36.61 391720 1039008 8 [2021-02-04T06:12:41.702Z] 06:09:02 252080 0 577564 30.70 2620 1049280 1072816 36.61 393944 1039000 8 [2021-02-04T06:12:41.702Z] 06:10:01 248820 0 580824 30.87 2620 1049280 1072936 36.62 406824 1028824 8 [2021-02-04T06:12:41.702Z] 06:11:01 248648 0 580988 30.88 2620 1049288 1072852 36.61 402176 1034228 8 [2021-02-04T06:12:41.702Z] 06:12:01 249388 0 580244 30.84 2620 1049292 1072756 36.61 414036 1021668 12 [2021-02-04T06:12:41.702Z] Average: 250220 0 579423 30.80 2620 1049281 1077054 36.76 400494 1034073 11 [2021-02-04T06:12:41.702Z] [2021-02-04T06:12:41.702Z] 06:06:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2021-02-04T06:12:41.702Z] 06:07:01 eth0 166.57 170.45 646.00 37.39 0.00 0.00 0.00 0.00 [2021-02-04T06:12:41.702Z] 06:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-02-04T06:12:41.702Z] 06:07:01 docker0 113.10 91.48 9.55 306.17 0.00 0.00 0.00 0.00 [2021-02-04T06:12:41.702Z] 06:08:01 eth0 1.00 0.08 0.07 0.01 0.00 0.00 0.00 0.00 [2021-02-04T06:12:41.702Z] 06:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-02-04T06:12:41.702Z] 06:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-02-04T06:12:41.702Z] 06:09:02 eth0 1.62 0.27 0.36 0.20 0.00 0.00 0.00 0.00 [2021-02-04T06:12:41.702Z] 06:09:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-02-04T06:12:41.702Z] 06:09:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-02-04T06:12:41.702Z] 06:10:01 eth0 1.58 0.51 0.61 0.37 0.00 0.00 0.00 0.00 [2021-02-04T06:12:41.702Z] 06:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-02-04T06:12:41.702Z] 06:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-02-04T06:12:41.702Z] 06:11:01 eth0 0.63 0.42 0.35 0.29 0.00 0.00 0.00 0.00 [2021-02-04T06:12:41.702Z] 06:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-02-04T06:12:41.702Z] 06:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-02-04T06:12:41.702Z] 06:12:01 eth0 0.27 0.25 0.10 0.02 0.00 0.00 0.00 0.00 [2021-02-04T06:12:41.702Z] 06:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-02-04T06:12:41.702Z] 06:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-02-04T06:12:41.702Z] Average: eth0 28.70 28.75 108.26 6.40 0.00 0.00 0.00 0.00 [2021-02-04T06:12:41.702Z] Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-02-04T06:12:41.702Z] Average: docker0 18.91 15.29 1.60 51.19 0.00 0.00 0.00 0.00 [2021-02-04T06:12:41.702Z] [2021-02-04T06:12:41.702Z] [2021-02-04T06:12:41.702Z] ---> sar -P ALL: [2021-02-04T06:12:41.702Z] Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 02/04/21 _x86_64_ (4 CPU) [2021-02-04T06:12:41.702Z] [2021-02-04T06:12:41.702Z] 06:05:11 LINUX RESTART (4 CPU) [2021-02-04T06:12:41.702Z] [2021-02-04T06:12:41.702Z] 06:06:01 CPU %user %nice %system %iowait %steal %idle [2021-02-04T06:12:41.702Z] 06:07:01 all 3.20 0.00 1.66 0.70 0.03 94.41 [2021-02-04T06:12:41.702Z] 06:07:01 0 2.93 0.00 2.11 0.77 0.02 94.17 [2021-02-04T06:12:41.702Z] 06:07:01 1 2.81 0.00 1.32 0.75 0.03 95.08 [2021-02-04T06:12:41.702Z] 06:07:01 2 2.70 0.00 1.42 1.07 0.02 94.79 [2021-02-04T06:12:41.702Z] 06:07:01 3 4.34 0.00 1.79 0.22 0.05 93.60 [2021-02-04T06:12:41.702Z] 06:08:01 all 0.15 0.00 0.05 0.00 0.00 99.81 [2021-02-04T06:12:41.702Z] 06:08:01 0 0.05 0.00 0.07 0.00 0.00 99.88 [2021-02-04T06:12:41.702Z] 06:08:01 1 0.45 0.00 0.05 0.00 0.00 99.50 [2021-02-04T06:12:41.702Z] 06:08:01 2 0.05 0.00 0.03 0.00 0.00 99.92 [2021-02-04T06:12:41.702Z] 06:08:01 3 0.03 0.00 0.03 0.00 0.00 99.93 [2021-02-04T06:12:41.702Z] 06:09:02 all 0.17 0.00 0.04 0.00 0.01 99.78 [2021-02-04T06:12:41.702Z] 06:09:02 0 0.02 0.00 0.02 0.00 0.00 99.97 [2021-02-04T06:12:41.702Z] 06:09:02 1 0.53 0.00 0.05 0.00 0.02 99.40 [2021-02-04T06:12:41.702Z] 06:09:02 2 0.07 0.00 0.05 0.00 0.02 99.87 [2021-02-04T06:12:41.702Z] 06:09:02 3 0.07 0.00 0.03 0.00 0.00 99.90 [2021-02-04T06:12:41.702Z] 06:10:01 all 0.18 0.00 0.05 0.00 0.00 99.76 [2021-02-04T06:12:41.702Z] 06:10:01 0 0.03 0.00 0.03 0.00 0.02 99.92 [2021-02-04T06:12:41.702Z] 06:10:01 1 0.59 0.00 0.03 0.00 0.00 99.37 [2021-02-04T06:12:41.702Z] 06:10:01 2 0.05 0.00 0.10 0.00 0.00 99.85 [2021-02-04T06:12:41.702Z] 06:10:01 3 0.05 0.00 0.03 0.00 0.00 99.92 [2021-02-04T06:12:41.702Z] 06:11:01 all 0.08 0.00 0.05 0.00 0.00 99.87 [2021-02-04T06:12:41.702Z] 06:11:01 0 0.03 0.00 0.05 0.00 0.00 99.92 [2021-02-04T06:12:41.702Z] 06:11:01 1 0.22 0.00 0.07 0.00 0.00 99.72 [2021-02-04T06:12:41.702Z] 06:11:01 2 0.07 0.00 0.05 0.00 0.00 99.88 [2021-02-04T06:12:41.702Z] 06:11:01 3 0.02 0.00 0.02 0.00 0.02 99.95 [2021-02-04T06:12:41.702Z] 06:12:01 all 0.13 0.00 0.06 0.00 0.00 99.80 [2021-02-04T06:12:41.702Z] 06:12:01 0 0.03 0.00 0.02 0.00 0.00 99.95 [2021-02-04T06:12:41.702Z] 06:12:01 1 0.37 0.00 0.02 0.00 0.00 99.62 [2021-02-04T06:12:41.702Z] 06:12:01 2 0.10 0.00 0.18 0.00 0.00 99.72 [2021-02-04T06:12:41.702Z] 06:12:01 3 0.03 0.00 0.03 0.00 0.00 99.93 [2021-02-04T06:12:41.702Z] Average: all 0.65 0.00 0.32 0.12 0.01 98.91 [2021-02-04T06:12:41.702Z] Average: 0 0.52 0.00 0.38 0.13 0.01 98.97 [2021-02-04T06:12:41.702Z] Average: 1 0.83 0.00 0.26 0.13 0.01 98.78 [2021-02-04T06:12:41.702Z] Average: 2 0.50 0.00 0.31 0.18 0.01 99.00 [2021-02-04T06:12:41.702Z] Average: 3 0.76 0.00 0.32 0.04 0.01 98.87 [2021-02-04T06:12:41.702Z] [2021-02-04T06:12:41.702Z] [2021-02-04T06:12:41.702Z]