Pull request #676 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 356429319d01f487c9779567734358d4af83e1a4+fc40647c9a5a0500e2956cf52a4e5c076e69792e (9129658a9b4081614ebbd2a78feaeecd96d05cd0) 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-676/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-676/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-24928 in /w/workspace/ndry_app-functions-sdk-go_PR-676 [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-676 # 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 356429319d01f487c9779567734358d4af83e1a4 Merge succeeded, producing 356429319d01f487c9779567734358d4af83e1a4 Checking out Revision 356429319d01f487c9779567734358d4af83e1a4 (PR-676) > 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/676/head:refs/remotes/origin/PR-676 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 356429319d01f487c9779567734358d4af83e1a4 # 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 356429319d01f487c9779567734358d4af83e1a4 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-04T06:06:44.848Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-04T06:06:45.188Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-04T06:06:45.475Z] ========================================================= [2021-02-04T06:06:45.475Z] EdgeX Global Pipelines Version Info [2021-02-04T06:06:45.475Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-04T06:06:47.001Z] ------------------- [2021-02-04T06:06:47.001Z] stable info: [2021-02-04T06:06:47.001Z] ------------------- [2021-02-04T06:06:47.001Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-04T06:06:47.001Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-04T06:06:47.001Z] Message: update stable to v1.0.179 [2021-02-04T06:06:47.947Z] ------------------- [2021-02-04T06:06:47.947Z] experimental info: [2021-02-04T06:06:47.947Z] ------------------- [2021-02-04T06:06:47.947Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-04T06:06:47.947Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-04T06:06:47.947Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-04T06:06:48.303Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-02-04T06:06:48.428Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-02-04T06:06:48.550Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-04T06:06:48.685Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-04T06:06:48.830Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-04T06:06:48.967Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-04T06:06:49.102Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-04T06:06:49.221Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-04T06:06:49.343Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-02-04T06:06:49.474Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-04T06:06:49.630Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-04T06:06:49.762Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2021-02-04T06:06:49.888Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-04T06:06:50.013Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-04T06:06:50.208Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-02-04T06:06:50.354Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-04T06:06:50.507Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-04T06:06:50.637Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-04T06:06:50.754Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-04T06:06:50.879Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-04T06:06:51.019Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-02-04T06:06:51.167Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-02-04T06:06:51.287Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-04T06:06:51.407Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-04T06:06:51.531Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-02-04T06:06:51.660Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-02-04T06:06:51.787Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-02-04T06:06:51.910Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-676 [Pipeline] echo [2021-02-04T06:06:52.023Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-676 [Pipeline] echo [2021-02-04T06:06:52.163Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-676 [Pipeline] echo [2021-02-04T06:06:52.299Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 356429319d01f487c9779567734358d4af83e1a4 [Pipeline] echo [2021-02-04T06:06:52.429Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3564293 [Pipeline] echo [2021-02-04T06:06:52.564Z] [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:53.545Z] + git log --format=format:%s -1 356429319d01f487c9779567734358d4af83e1a4 [Pipeline] echo [2021-02-04T06:06:53.628Z] GIT_COMMIT: 356429319d01f487c9779567734358d4af83e1a4, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-02-04T06:06:53.707Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-04T06:06:54.325Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-04T06:06:54.589Z] [2021-02-04T06:06:54.589Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-04T06:06:54.983Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-04T06:06:54.983Z] latest: Pulling from edgex-devops/git-semver [2021-02-04T06:06:54.983Z] 31603596830f: Pulling fs layer [2021-02-04T06:06:54.983Z] 2a8b12db71e7: Pulling fs layer [2021-02-04T06:06:54.983Z] 6ca5941a6612: Pulling fs layer [2021-02-04T06:06:54.983Z] ecc8261a40a4: Pulling fs layer [2021-02-04T06:06:54.983Z] ecc8261a40a4: Waiting [2021-02-04T06:06:54.983Z] 2a8b12db71e7: Verifying Checksum [2021-02-04T06:06:54.983Z] 2a8b12db71e7: Download complete [2021-02-04T06:06:55.245Z] 31603596830f: Verifying Checksum [2021-02-04T06:06:55.245Z] 31603596830f: Download complete [2021-02-04T06:06:55.245Z] ecc8261a40a4: Verifying Checksum [2021-02-04T06:06:55.245Z] ecc8261a40a4: Download complete [2021-02-04T06:06:55.507Z] 6ca5941a6612: Verifying Checksum [2021-02-04T06:06:55.507Z] 6ca5941a6612: Download complete [2021-02-04T06:06:55.772Z] 31603596830f: Pull complete [2021-02-04T06:06:55.772Z] 2a8b12db71e7: Pull complete [2021-02-04T06:06:56.720Z] 6ca5941a6612: Pull complete [2021-02-04T06:06:56.720Z] ecc8261a40a4: Pull complete [2021-02-04T06:06:56.982Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-04T06:06:56.982Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-04T06:06:56.982Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-04T06:06:57.120Z] prd-centos7-docker-4c-2g-24928 does not seem to be running inside a container [2021-02-04T06:06:57.170Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-676 -v /w/workspace/ndry_app-functions-sdk-go_PR-676:/w/workspace/ndry_app-functions-sdk-go_PR-676:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-676@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-676@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:59.813Z] $ docker top 97b8a4bac1790efa0b8a2dd32e7b4ab6d464b65d856a2aec07569e0f4c955a25 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-04T06:07:00.468Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-04T06:07:00.468Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-04T06:07:00.720Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-04T06:07:00.724Z] $ docker exec 97b8a4bac1790efa0b8a2dd32e7b4ab6d464b65d856a2aec07569e0f4c955a25 ssh-agent [2021-02-04T06:07:00.896Z] SSH_AUTH_SOCK=/tmp/ssh-RDwfwl3kvTl7/agent.11 [2021-02-04T06:07:00.896Z] SSH_AGENT_PID=17 [2021-02-04T06:07:00.907Z] Running ssh-add (command line suppressed) [2021-02-04T06:07:01.030Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-676@tmp/private_key_5811165859015772273.key (/w/workspace/ndry_app-functions-sdk-go_PR-676@tmp/private_key_5811165859015772273.key) [2021-02-04T06:07:01.079Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-04T06:07:01.461Z] + git tag --points-at HEAD [Pipeline] } [2021-02-04T06:07:01.494Z] $ docker exec --env ******** --env ******** 97b8a4bac1790efa0b8a2dd32e7b4ab6d464b65d856a2aec07569e0f4c955a25 ssh-agent -k [2021-02-04T06:07:01.614Z] unset SSH_AUTH_SOCK; [2021-02-04T06:07:01.614Z] unset SSH_AGENT_PID; [2021-02-04T06:07:01.614Z] echo Agent pid 17 killed; [2021-02-04T06:07:01.662Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-04T06:07:01.853Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-04T06:07:01.853Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-04T06:07:02.025Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-04T06:07:02.030Z] $ docker exec 97b8a4bac1790efa0b8a2dd32e7b4ab6d464b65d856a2aec07569e0f4c955a25 ssh-agent [2021-02-04T06:07:02.193Z] SSH_AUTH_SOCK=/tmp/ssh-7npr942sJAY8/agent.46 [2021-02-04T06:07:02.193Z] SSH_AGENT_PID=51 [2021-02-04T06:07:02.200Z] Running ssh-add (command line suppressed) [2021-02-04T06:07:02.316Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-676@tmp/private_key_81656115090810169.key (/w/workspace/ndry_app-functions-sdk-go_PR-676@tmp/private_key_81656115090810169.key) [2021-02-04T06:07:02.367Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-04T06:07:02.751Z] + git semver init [2021-02-04T06:07:02.751Z] # -> Open(): unable to determine branch for HEAD [2021-02-04T06:07:02.751Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-676/.git [2021-02-04T06:07:02.751Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-676 [2021-02-04T06:07:02.751Z] # $SEMVER_REMOTE_NAME = origin [2021-02-04T06:07:02.751Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-04T06:07:02.751Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-04T06:07:02.751Z] # $SEMVER_BRANCH = PR-676 [2021-02-04T06:07:02.751Z] # $SEMVER_TEMP = /tmp/semver-929844610 [2021-02-04T06:07:02.751Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-02-04T06:07:06.088Z] # '/tmp/semver-929844610' -> '/w/workspace/ndry_app-functions-sdk-go_PR-676/.semver' [2021-02-04T06:07:06.088Z] # -> Force: false [2021-02-04T06:07:06.088Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-676/.semver [Pipeline] } [2021-02-04T06:07:06.111Z] $ docker exec --env ******** --env ******** 97b8a4bac1790efa0b8a2dd32e7b4ab6d464b65d856a2aec07569e0f4c955a25 ssh-agent -k [2021-02-04T06:07:06.257Z] unset SSH_AUTH_SOCK; [2021-02-04T06:07:06.257Z] unset SSH_AGENT_PID; [2021-02-04T06:07:06.257Z] echo Agent pid 51 killed; [2021-02-04T06:07:06.317Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-04T06:07:06.889Z] + git semver [Pipeline] } [2021-02-04T06:07:06.926Z] $ docker stop --time=1 97b8a4bac1790efa0b8a2dd32e7b4ab6d464b65d856a2aec07569e0f4c955a25 [2021-02-04T06:07:08.450Z] $ docker rm -f 97b8a4bac1790efa0b8a2dd32e7b4ab6d464b65d856a2aec07569e0f4c955a25 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-04T06:07:09.014Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-04T06:07:09.526Z] Stashed 1 file(s) [Pipeline] echo [2021-02-04T06:07:09.561Z] [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:07:25.474Z] Still waiting to schedule task [2021-02-04T06:07:25.474Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-02-04T06:07:25.503Z] Still waiting to schedule task [2021-02-04T06:07:25.503Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-24924’ is offline [2021-02-04T06:09:41.815Z] Running on prd-centos7-docker-4c-2g-24932 in /w/workspace/ndry_app-functions-sdk-go_PR-676 [Pipeline] { [Pipeline] ws [2021-02-04T06:09:41.938Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-02-04T06:09:44.163Z] using credential edgex-jenkins-ssh [2021-02-04T06:09:44.227Z] Cloning the remote Git repository [2021-02-04T06:09:43.744Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-04T06:09:43.819Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2021-02-04T06:09:43.906Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-04T06:09:43.906Z] > git --version # timeout=10 [2021-02-04T06:09:43.917Z] > git --version # 'git version 2.24.3' [2021-02-04T06:09:43.917Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-04T06:09:43.945Z] > 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:46.108Z] Merging remotes/origin/master commit fc40647c9a5a0500e2956cf52a4e5c076e69792e into PR head commit 356429319d01f487c9779567734358d4af83e1a4 [2021-02-04T06:09:46.197Z] Merge succeeded, producing 356429319d01f487c9779567734358d4af83e1a4 [2021-02-04T06:09:46.198Z] Checking out Revision 356429319d01f487c9779567734358d4af83e1a4 (PR-676) [2021-02-04T06:09:45.349Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-02-04T06:09:45.360Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-04T06:09:45.372Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-02-04T06:09:45.385Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-04T06:09:45.385Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-04T06:09:45.390Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/676/head:refs/remotes/origin/PR-676 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-04T06:09:45.754Z] > git config core.sparsecheckout # timeout=10 [2021-02-04T06:09:45.759Z] > git checkout -f 356429319d01f487c9779567734358d4af83e1a4 # timeout=10 [2021-02-04T06:09:45.807Z] > git remote # timeout=10 [2021-02-04T06:09:45.813Z] > git config --get remote.origin.url # timeout=10 [2021-02-04T06:09:45.820Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-04T06:09:45.825Z] > git merge fc40647c9a5a0500e2956cf52a4e5c076e69792e # timeout=10 [2021-02-04T06:09:45.836Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-04T06:09:45.845Z] > git config core.sparsecheckout # timeout=10 [2021-02-04T06:09:45.849Z] > git checkout -f 356429319d01f487c9779567734358d4af83e1a4 # timeout=10 [2021-02-04T06:09:49.581Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-02-04T06:09:49.585Z] > git --version # timeout=10 [2021-02-04T06:09:49.589Z] > git --version # 'git version 2.24.3' [2021-02-04T06:09:49.597Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-04T06:09:51.327Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-04T06:09:51.674Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-04T06:09:51.990Z] + sudo service docker restart [2021-02-04T06:09:51.990Z] + true [2021-02-04T06:09:51.990Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-02-04T06:09:53.165Z] ========================================================= [2021-02-04T06:09:53.165Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-04T06:09:53.165Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-04T06:09:53.617Z] + 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:54.190Z] Sending build context to Docker daemon 19.09MB [2021-02-04T06:09:54.190Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-04T06:09:54.190Z] Step 2/8 : FROM ${BASE} [2021-02-04T06:09:54.190Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-04T06:09:54.190Z] 188c0c94c7c5: Pulling fs layer [2021-02-04T06:09:54.190Z] 0ef7d3d256c8: Pulling fs layer [2021-02-04T06:09:54.190Z] de9db76c5a1d: Pulling fs layer [2021-02-04T06:09:54.190Z] bca2f99d35d6: Pulling fs layer [2021-02-04T06:09:54.190Z] 93359f2a8cfa: Pulling fs layer [2021-02-04T06:09:54.190Z] 7c6f9722023f: Pulling fs layer [2021-02-04T06:09:54.190Z] a35cf1a2eb13: Pulling fs layer [2021-02-04T06:09:54.190Z] bca2f99d35d6: Waiting [2021-02-04T06:09:54.190Z] 7c6f9722023f: Waiting [2021-02-04T06:09:54.190Z] 93359f2a8cfa: Waiting [2021-02-04T06:09:54.453Z] de9db76c5a1d: Verifying Checksum [2021-02-04T06:09:54.453Z] de9db76c5a1d: Download complete [2021-02-04T06:09:54.453Z] 0ef7d3d256c8: Verifying Checksum [2021-02-04T06:09:54.453Z] 93359f2a8cfa: Verifying Checksum [2021-02-04T06:09:54.453Z] 93359f2a8cfa: Download complete [2021-02-04T06:09:54.453Z] 7c6f9722023f: Download complete [2021-02-04T06:09:54.453Z] 188c0c94c7c5: Verifying Checksum [2021-02-04T06:09:54.453Z] 188c0c94c7c5: Download complete [2021-02-04T06:09:54.721Z] 188c0c94c7c5: Pull complete [2021-02-04T06:09:54.985Z] 0ef7d3d256c8: Pull complete [2021-02-04T06:09:54.985Z] de9db76c5a1d: Pull complete [2021-02-04T06:09:56.390Z] a35cf1a2eb13: Verifying Checksum [2021-02-04T06:09:56.390Z] a35cf1a2eb13: Download complete [2021-02-04T06:09:57.343Z] bca2f99d35d6: Verifying Checksum [2021-02-04T06:09:57.343Z] bca2f99d35d6: Download complete [2021-02-04T06:09:59.584Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-24931 in /w/workspace/ndry_app-functions-sdk-go_PR-676 [Pipeline] { [Pipeline] ws [2021-02-04T06:09:59.708Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-02-04T06:10:02.671Z] bca2f99d35d6: Pull complete [2021-02-04T06:10:02.671Z] 93359f2a8cfa: Pull complete [2021-02-04T06:10:02.934Z] 7c6f9722023f: Pull complete [2021-02-04T06:10:05.012Z] using credential edgex-jenkins-ssh [2021-02-04T06:10:05.150Z] Cloning the remote Git repository [2021-02-04T06:10:05.246Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-04T06:10:05.385Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2021-02-04T06:10:05.511Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-04T06:10:05.514Z] > git --version # timeout=10 [2021-02-04T06:10:05.538Z] > git --version # 'git version 2.17.1' [2021-02-04T06:10:05.541Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-04T06:10:05.615Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-04T06:10:08.696Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-02-04T06:10:08.721Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-04T06:10:08.756Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-02-04T06:10:09.285Z] Merging remotes/origin/master commit fc40647c9a5a0500e2956cf52a4e5c076e69792e into PR head commit 356429319d01f487c9779567734358d4af83e1a4 [2021-02-04T06:10:09.558Z] a35cf1a2eb13: Pull complete [2021-02-04T06:10:09.558Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-04T06:10:09.558Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-04T06:10:09.558Z] ---> a62c8e92a672 [2021-02-04T06:10:09.558Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-02-04T06:10:09.558Z] 20.10.0: Pulling from library/docker [2021-02-04T06:10:09.558Z] 05e7bc50f07f: Pulling fs layer [2021-02-04T06:10:09.558Z] 6db28d0fdbf6: Pulling fs layer [2021-02-04T06:10:09.558Z] 292df0bc6bf3: Pulling fs layer [2021-02-04T06:10:09.558Z] 2e060f4bd70b: Pulling fs layer [2021-02-04T06:10:09.558Z] 80e8d568a223: Pulling fs layer [2021-02-04T06:10:09.558Z] 8dc6ef1a942a: Pulling fs layer [2021-02-04T06:10:09.558Z] 2312dd95470a: Pulling fs layer [2021-02-04T06:10:09.558Z] 80e8d568a223: Waiting [2021-02-04T06:10:09.558Z] 8dc6ef1a942a: Waiting [2021-02-04T06:10:09.558Z] 2312dd95470a: Waiting [2021-02-04T06:10:09.558Z] 2e060f4bd70b: Waiting [2021-02-04T06:10:09.558Z] 292df0bc6bf3: Verifying Checksum [2021-02-04T06:10:09.558Z] 292df0bc6bf3: Download complete [2021-02-04T06:10:09.558Z] 6db28d0fdbf6: Verifying Checksum [2021-02-04T06:10:09.558Z] 6db28d0fdbf6: Download complete [2021-02-04T06:10:09.558Z] 05e7bc50f07f: Verifying Checksum [2021-02-04T06:10:09.558Z] 05e7bc50f07f: Download complete [2021-02-04T06:10:09.558Z] 80e8d568a223: Verifying Checksum [2021-02-04T06:10:09.558Z] 80e8d568a223: Download complete [2021-02-04T06:10:09.581Z] Merge succeeded, producing 356429319d01f487c9779567734358d4af83e1a4 [2021-02-04T06:10:09.581Z] Checking out Revision 356429319d01f487c9779567734358d4af83e1a4 (PR-676) [2021-02-04T06:10:09.822Z] 8dc6ef1a942a: Verifying Checksum [2021-02-04T06:10:09.822Z] 8dc6ef1a942a: Download complete [2021-02-04T06:10:09.822Z] 2312dd95470a: Verifying Checksum [2021-02-04T06:10:09.822Z] 2312dd95470a: Download complete [2021-02-04T06:10:10.094Z] 05e7bc50f07f: Pull complete [2021-02-04T06:10:08.799Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-04T06:10:08.800Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-04T06:10:08.814Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/676/head:refs/remotes/origin/PR-676 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-04T06:10:09.311Z] > git config core.sparsecheckout # timeout=10 [2021-02-04T06:10:09.330Z] > git checkout -f 356429319d01f487c9779567734358d4af83e1a4 # timeout=10 [2021-02-04T06:10:09.450Z] > git remote # timeout=10 [2021-02-04T06:10:09.470Z] > git config --get remote.origin.url # timeout=10 [2021-02-04T06:10:09.484Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-04T06:10:09.495Z] > git merge fc40647c9a5a0500e2956cf52a4e5c076e69792e # timeout=10 [2021-02-04T06:10:09.519Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-04T06:10:09.592Z] > git config core.sparsecheckout # timeout=10 [2021-02-04T06:10:09.617Z] > git checkout -f 356429319d01f487c9779567734358d4af83e1a4 # timeout=10 [2021-02-04T06:10:10.357Z] 6db28d0fdbf6: Pull complete [2021-02-04T06:10:10.357Z] 292df0bc6bf3: Pull complete [2021-02-04T06:10:10.937Z] 2e060f4bd70b: Verifying Checksum [2021-02-04T06:10:10.937Z] 2e060f4bd70b: Download complete [2021-02-04T06:10:13.527Z] 2e060f4bd70b: Pull complete [2021-02-04T06:10:13.791Z] 80e8d568a223: Pull complete [2021-02-04T06:10:13.791Z] 8dc6ef1a942a: Pull complete [2021-02-04T06:10:14.052Z] 2312dd95470a: Pull complete [2021-02-04T06:10:14.052Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-02-04T06:10:14.052Z] Status: Downloaded newer image for docker:20.10.0 [2021-02-04T06:10:14.193Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-02-04T06:10:14.264Z] > git --version # timeout=10 [2021-02-04T06:10:14.275Z] > git --version # 'git version 2.17.1' [2021-02-04T06:10:14.285Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-04T06:10:15.443Z] ---> 87e06eb289a3 [2021-02-04T06:10:15.443Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-02-04T06:10:15.705Z] ---> Running in 7ca59f5979af [2021-02-04T06:10:15.705Z] Removing intermediate container 7ca59f5979af [2021-02-04T06:10:15.705Z] ---> bb3c173f8991 [2021-02-04T06:10:15.705Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-02-04T06:10:15.969Z] ---> Running in 51d1e8bc22fa [2021-02-04T06:10:16.166Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-04T06:10:16.547Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-04T06:10:16.609Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-04T06:10:16.972Z] + true [2021-02-04T06:10:16.972Z] + sudo service docker restart [2021-02-04T06:10:17.500Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-04T06:10:18.447Z] (1/5) Installing libsodium (1.0.18-r0) [2021-02-04T06:10:18.709Z] (2/5) Installing libzmq (4.3.3-r0) [2021-02-04T06:10:18.709Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-02-04T06:10:18.970Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-02-04T06:10:18.970Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-02-04T06:10:19.232Z] Executing busybox-1.31.1-r19.trigger [2021-02-04T06:10:19.232Z] OK: 167 MiB in 44 packages [Pipeline] unstash [2021-02-04T06:10:19.806Z] Removing intermediate container 51d1e8bc22fa [2021-02-04T06:10:19.806Z] ---> 8741f2a245da [2021-02-04T06:10:19.806Z] Step 6/8 : WORKDIR /build [2021-02-04T06:10:19.806Z] ---> Running in f157388e62f9 [2021-02-04T06:10:19.806Z] Removing intermediate container f157388e62f9 [2021-02-04T06:10:19.806Z] ---> 922a1384f247 [2021-02-04T06:10:19.806Z] Step 7/8 : COPY go.mod . [Pipeline] echo [2021-02-04T06:10:19.924Z] ========================================================= [2021-02-04T06:10:19.924Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-04T06:10:19.924Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-04T06:10:20.075Z] ---> 97f3613e64e3 [2021-02-04T06:10:20.075Z] Step 8/8 : RUN go mod download [2021-02-04T06:10:20.339Z] ---> Running in 4792d8655338 [2021-02-04T06:10:20.352Z] + 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:10:21.338Z] Sending build context to Docker daemon 19.08MB [2021-02-04T06:10:21.338Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-04T06:10:21.338Z] Step 2/8 : FROM ${BASE} [2021-02-04T06:10:21.934Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-04T06:10:21.934Z] 5f621e34cdf4: Pulling fs layer [2021-02-04T06:10:21.934Z] a4357932f1b6: Pulling fs layer [2021-02-04T06:10:21.934Z] 18c013af1878: Pulling fs layer [2021-02-04T06:10:21.934Z] 00ac8860ef70: Pulling fs layer [2021-02-04T06:10:21.934Z] 63d7cb157983: Pulling fs layer [2021-02-04T06:10:21.934Z] b116817d02f9: Pulling fs layer [2021-02-04T06:10:21.934Z] 745a02a5169b: Pulling fs layer [2021-02-04T06:10:21.934Z] 00ac8860ef70: Waiting [2021-02-04T06:10:21.934Z] 63d7cb157983: Waiting [2021-02-04T06:10:21.934Z] b116817d02f9: Waiting [2021-02-04T06:10:21.934Z] 745a02a5169b: Waiting [2021-02-04T06:10:21.934Z] 18c013af1878: Verifying Checksum [2021-02-04T06:10:21.934Z] 18c013af1878: Download complete [2021-02-04T06:10:21.934Z] a4357932f1b6: Verifying Checksum [2021-02-04T06:10:21.934Z] a4357932f1b6: Download complete [2021-02-04T06:10:21.934Z] 63d7cb157983: Download complete [2021-02-04T06:10:21.934Z] b116817d02f9: Download complete [2021-02-04T06:10:22.538Z] 5f621e34cdf4: Verifying Checksum [2021-02-04T06:10:22.538Z] 5f621e34cdf4: Download complete [2021-02-04T06:10:23.148Z] 5f621e34cdf4: Pull complete [2021-02-04T06:10:23.758Z] a4357932f1b6: Pull complete [2021-02-04T06:10:24.362Z] 18c013af1878: Pull complete [2021-02-04T06:10:25.808Z] 745a02a5169b: Verifying Checksum [2021-02-04T06:10:25.808Z] 745a02a5169b: Download complete [2021-02-04T06:10:26.082Z] 00ac8860ef70: Verifying Checksum [2021-02-04T06:10:26.082Z] 00ac8860ef70: Download complete [2021-02-04T06:10:36.248Z] 00ac8860ef70: Pull complete [2021-02-04T06:10:36.249Z] 63d7cb157983: Pull complete [2021-02-04T06:10:36.249Z] b116817d02f9: Pull complete [2021-02-04T06:10:39.653Z] 745a02a5169b: Pull complete [2021-02-04T06:10:39.653Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-04T06:10:39.653Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-04T06:10:39.653Z] ---> b7e6874047d6 [2021-02-04T06:10:39.653Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-02-04T06:10:39.653Z] 20.10.0: Pulling from library/docker [2021-02-04T06:10:39.653Z] a3cc7d3b244e: Pulling fs layer [2021-02-04T06:10:39.653Z] 02a3295e0d61: Pulling fs layer [2021-02-04T06:10:39.653Z] 0f4f2e6d8100: Pulling fs layer [2021-02-04T06:10:39.653Z] 330b718f631f: Pulling fs layer [2021-02-04T06:10:39.653Z] a93816041522: Pulling fs layer [2021-02-04T06:10:39.653Z] bdb6da89ff94: Pulling fs layer [2021-02-04T06:10:39.653Z] 2a70c0c122f4: Pulling fs layer [2021-02-04T06:10:39.653Z] 330b718f631f: Waiting [2021-02-04T06:10:39.653Z] a93816041522: Waiting [2021-02-04T06:10:39.653Z] bdb6da89ff94: Waiting [2021-02-04T06:10:39.653Z] 2a70c0c122f4: Waiting [2021-02-04T06:10:39.653Z] 0f4f2e6d8100: Download complete [2021-02-04T06:10:39.929Z] a93816041522: Download complete [2021-02-04T06:10:40.208Z] a3cc7d3b244e: Download complete [2021-02-04T06:10:40.208Z] bdb6da89ff94: Verifying Checksum [2021-02-04T06:10:40.208Z] bdb6da89ff94: Download complete [2021-02-04T06:10:40.208Z] 2a70c0c122f4: Verifying Checksum [2021-02-04T06:10:40.208Z] 2a70c0c122f4: Download complete [2021-02-04T06:10:40.822Z] a3cc7d3b244e: Pull complete [2021-02-04T06:10:41.809Z] 02a3295e0d61: Pull complete [2021-02-04T06:10:41.809Z] 330b718f631f: Verifying Checksum [2021-02-04T06:10:41.809Z] 330b718f631f: Download complete [2021-02-04T06:10:42.086Z] 0f4f2e6d8100: Pull complete [2021-02-04T06:10:42.346Z] Removing intermediate container 4792d8655338 [2021-02-04T06:10:42.346Z] ---> 5309e3d1979a [2021-02-04T06:10:42.346Z] Successfully built 5309e3d1979a [2021-02-04T06:10:42.346Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-04T06:10:42.684Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-04T06:10:42.684Z] . [Pipeline] withDockerContainer [2021-02-04T06:10:42.832Z] prd-centos7-docker-4c-2g-24932 does not seem to be running inside a container [2021-02-04T06:10:42.874Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-04T06:10:43.594Z] $ docker top f6e372ddefb7763a610650839de8f3072e7e9e8d074bd34c2f2a0c642b133ea1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-04T06:10:44.145Z] + go version [2021-02-04T06:10:44.146Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-04T06:10:44.175Z] $ docker stop --time=1 f6e372ddefb7763a610650839de8f3072e7e9e8d074bd34c2f2a0c642b133ea1 [2021-02-04T06:10:45.488Z] 330b718f631f: Pull complete [2021-02-04T06:10:45.488Z] a93816041522: Pull complete [2021-02-04T06:10:45.531Z] $ docker rm -f f6e372ddefb7763a610650839de8f3072e7e9e8d074bd34c2f2a0c642b133ea1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2021-02-04T06:10:46.091Z] bdb6da89ff94: Pull complete [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-04T06:10:46.365Z] 2a70c0c122f4: Pull complete [2021-02-04T06:10:46.365Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-02-04T06:10:46.365Z] Status: Downloaded newer image for docker:20.10.0 [2021-02-04T06:10:46.611Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-04T06:10:46.611Z] . [Pipeline] withDockerContainer [2021-02-04T06:10:46.760Z] prd-centos7-docker-4c-2g-24932 does not seem to be running inside a container [2021-02-04T06:10:46.800Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-04T06:10:47.519Z] $ docker top 3691763422facd372a748a06b32b634308567170a5ec0ebcb5a7a9507bc99786 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-04T06:10:48.102Z] + make test [2021-02-04T06:10:48.102Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-02-04T06:10:50.029Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] [2021-02-04T06:10:53.123Z] ---> 108ffb56c411 [2021-02-04T06:10:53.123Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-02-04T06:10:53.397Z] ---> Running in bf51955458e8 [2021-02-04T06:10:53.995Z] Removing intermediate container bf51955458e8 [2021-02-04T06:10:53.995Z] ---> b4eea3ab3efb [2021-02-04T06:10:53.995Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-02-04T06:10:53.995Z] ---> Running in 50418b6735cd [2021-02-04T06:10:55.436Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-04T06:10:56.030Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-04T06:10:57.004Z] (1/5) Installing libsodium (1.0.18-r0) [2021-02-04T06:10:57.275Z] (2/5) Installing libzmq (4.3.3-r0) [2021-02-04T06:10:57.275Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-02-04T06:10:57.551Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-02-04T06:10:57.551Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-02-04T06:10:57.551Z] Executing busybox-1.31.1-r19.trigger [2021-02-04T06:10:57.551Z] OK: 144 MiB in 44 packages [2021-02-04T06:10:58.248Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.023s coverage: 82.6% of statements [2021-02-04T06:10:58.986Z] Removing intermediate container 50418b6735cd [2021-02-04T06:10:58.986Z] ---> 3fc14a9f8c8c [2021-02-04T06:10:58.986Z] Step 6/8 : WORKDIR /build [2021-02-04T06:10:58.986Z] ---> Running in a623e75cae2d [2021-02-04T06:10:59.581Z] Removing intermediate container a623e75cae2d [2021-02-04T06:10:59.581Z] ---> d8e9975cef36 [2021-02-04T06:10:59.581Z] Step 7/8 : COPY go.mod . [2021-02-04T06:11:00.177Z] ---> a1ba24c64e87 [2021-02-04T06:11:00.177Z] Step 8/8 : RUN go mod download [2021-02-04T06:11:00.454Z] ---> Running in 56606bfa02dd [2021-02-04T06:11:05.268Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.027s coverage: 48.6% of statements [2021-02-04T06:11:05.268Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-02-04T06:11:05.268Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-02-04T06:11:05.268Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.044s coverage: 61.5% of statements [2021-02-04T06:11:05.268Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-02-04T06:11:05.268Z] --- FAIL: TestProcessMessageNoTransforms (0.00s) [2021-02-04T06:11:05.268Z] runtime_test.go:116: [2021-02-04T06:11:05.268Z] Error Trace: runtime_test.go:116 [2021-02-04T06:11:05.268Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc000249950), ErrorCode:400} [2021-02-04T06:11:05.268Z] Test: TestProcessMessageNoTransforms [2021-02-04T06:11:05.268Z] Messages: result should be nil since no transforms have been passed [2021-02-04T06:11:05.268Z] --- FAIL: TestProcessMessageOneCustomTransform (0.00s) [2021-02-04T06:11:05.268Z] runtime_test.go:145: [2021-02-04T06:11:05.268Z] Error Trace: runtime_test.go:145 [2021-02-04T06:11:05.268Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc000249bd0), ErrorCode:400} [2021-02-04T06:11:05.268Z] Test: TestProcessMessageOneCustomTransform [2021-02-04T06:11:05.268Z] --- FAIL: TestProcessMessageTwoCustomTransforms (0.00s) [2021-02-04T06:11:05.268Z] runtime_test.go:186: [2021-02-04T06:11:05.268Z] Error Trace: runtime_test.go:186 [2021-02-04T06:11:05.268Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc000249e60), ErrorCode:400} [2021-02-04T06:11:05.268Z] Test: TestProcessMessageTwoCustomTransforms [2021-02-04T06:11:05.268Z] --- FAIL: TestProcessMessageThreeCustomTransformsOneFail (0.00s) [2021-02-04T06:11:05.268Z] runtime_test.go:233: [2021-02-04T06:11:05.268Z] Error Trace: runtime_test.go:233 [2021-02-04T06:11:05.268Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc0002a20e0), ErrorCode:400} [2021-02-04T06:11:05.268Z] Test: TestProcessMessageThreeCustomTransformsOneFail [2021-02-04T06:11:05.268Z] --- FAIL: TestProcessMessageJSON (0.00s) [2021-02-04T06:11:05.268Z] runtime_test.go:308: [2021-02-04T06:11:05.268Z] Error Trace: runtime_test.go:308 [2021-02-04T06:11:05.268Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc0002a2470), ErrorCode:400} [2021-02-04T06:11:05.268Z] Test: TestProcessMessageJSON [2021-02-04T06:11:05.268Z] 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:05.268Z] runtime_test.go:309: [2021-02-04T06:11:05.268Z] Error Trace: runtime_test.go:309 [2021-02-04T06:11:05.268Z] Error: Should be true [2021-02-04T06:11:05.268Z] Test: TestProcessMessageJSON [2021-02-04T06:11:05.268Z] Messages: transform1 should have been called [2021-02-04T06:11:05.268Z] --- FAIL: TestProcessMessageTargetType (0.00s) [2021-02-04T06:11:05.268Z] runtime_test.go:423: [2021-02-04T06:11:05.268Z] Error Trace: runtime_test.go:423 [2021-02-04T06:11:05.268Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc0002a2cd0), ErrorCode:400} [2021-02-04T06:11:05.268Z] Test: TestProcessMessageTargetType [2021-02-04T06:11:05.268Z] Messages: unexpected error for test 'Default Nil Target Type' [2021-02-04T06:11:05.268Z] runtime_test.go:427: [2021-02-04T06:11:05.268Z] Error Trace: runtime_test.go:427 [2021-02-04T06:11:05.268Z] Error: Not equal: [2021-02-04T06:11:05.268Z] 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, 0x36, 0x34, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x34, 0x31, 0x39, 0x30, 0x36, 0x34, 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, 0x36, 0x34, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x34, 0x31, 0x39, 0x30, 0x36, 0x34, 0x2c, 0x22, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x65, 0x6d, 0x70, 0x65, 0x72, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0x2c, 0x22, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x22, 0x2c, 0x22, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x6e, 0x75, 0x6c, 0x6c, 0x2c, 0x22, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x22, 0x37, 0x32, 0x22, 0x7d, 0x5d, 0x7d} [2021-02-04T06:11:05.268Z] actual : []byte(nil) [2021-02-04T06:11:05.268Z] [2021-02-04T06:11:05.268Z] Diff: [2021-02-04T06:11:05.268Z] --- Expected [2021-02-04T06:11:05.268Z] +++ Actual [2021-02-04T06:11:05.268Z] @@ -1,31 +1,2 @@ [2021-02-04T06:11:05.268Z] -([]uint8) (len=444) { [2021-02-04T06:11:05.268Z] - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| [2021-02-04T06:11:05.268Z] - 00000010 32 22 2c 22 69 64 22 3a 22 38 32 65 62 32 65 32 |2","id":"82eb2e2| [2021-02-04T06:11:05.268Z] - 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:05.268Z] - 00000030 2d 64 65 39 64 61 63 33 66 62 39 62 63 22 2c 22 |-de9dac3fb9bc","| [2021-02-04T06:11:05.268Z] - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| [2021-02-04T06:11:05.268Z] - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| [2021-02-04T06:11:05.268Z] - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| [2021-02-04T06:11:05.268Z] - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| [2021-02-04T06:11:05.268Z] - 00000080 72 65 61 74 65 64 22 3a 31 36 31 32 34 31 39 30 |reated":16124190| [2021-02-04T06:11:05.268Z] - 00000090 36 34 2c 22 6f 72 69 67 69 6e 22 3a 31 36 31 32 |64,"origin":1612| [2021-02-04T06:11:05.268Z] - 000000a0 34 31 39 30 36 34 2c 22 72 65 61 64 69 6e 67 73 |419064,"readings| [2021-02-04T06:11:05.268Z] - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| [2021-02-04T06:11:05.268Z] - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 38 32 65 62 |:"v2","id":"82eb| [2021-02-04T06:11:05.268Z] - 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:05.268Z] - 000000e0 65 34 63 2d 64 65 39 64 61 63 33 66 31 32 33 34 |e4c-de9dac3f1234| [2021-02-04T06:11:05.268Z] - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 31 36 31 32 |","created":1612| [2021-02-04T06:11:05.268Z] - 00000100 34 31 39 30 36 34 2c 22 6f 72 69 67 69 6e 22 3a |419064,"origin":| [2021-02-04T06:11:05.268Z] - 00000110 31 36 31 32 34 31 39 30 36 34 2c 22 64 65 76 69 |1612419064,"devi| [2021-02-04T06:11:05.268Z] - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| [2021-02-04T06:11:05.268Z] - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| [2021-02-04T06:11:05.268Z] - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| [2021-02-04T06:11:05.268Z] - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| [2021-02-04T06:11:05.268Z] - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| [2021-02-04T06:11:05.268Z] - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| [2021-02-04T06:11:05.268Z] - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| [2021-02-04T06:11:05.268Z] - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| [2021-02-04T06:11:05.268Z] - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| [2021-02-04T06:11:05.268Z] - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| [2021-02-04T06:11:05.268Z] -} [2021-02-04T06:11:05.268Z] +([]uint8) [2021-02-04T06:11:05.268Z] [2021-02-04T06:11:05.268Z] Test: TestProcessMessageTargetType [2021-02-04T06:11:05.268Z] Messages: 'Default Nil Target Type' test failed [2021-02-04T06:11:05.268Z] runtime_test.go:423: [2021-02-04T06:11:05.268Z] Error Trace: runtime_test.go:423 [2021-02-04T06:11:05.268Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc0002a3050), ErrorCode:400} [2021-02-04T06:11:05.268Z] Test: TestProcessMessageTargetType [2021-02-04T06:11:05.268Z] Messages: unexpected error for test 'Event as Json' [2021-02-04T06:11:05.268Z] runtime_test.go:427: [2021-02-04T06:11:05.268Z] Error Trace: runtime_test.go:427 [2021-02-04T06:11:05.268Z] Error: Not equal: [2021-02-04T06:11:05.268Z] 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, 0x36, 0x34, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x34, 0x31, 0x39, 0x30, 0x36, 0x34, 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, 0x36, 0x34, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x34, 0x31, 0x39, 0x30, 0x36, 0x34, 0x2c, 0x22, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x65, 0x6d, 0x70, 0x65, 0x72, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0x2c, 0x22, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x22, 0x2c, 0x22, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x6e, 0x75, 0x6c, 0x6c, 0x2c, 0x22, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x22, 0x37, 0x32, 0x22, 0x7d, 0x5d, 0x7d} [2021-02-04T06:11:05.268Z] actual : []byte(nil) [2021-02-04T06:11:05.268Z] [2021-02-04T06:11:05.268Z] Diff: [2021-02-04T06:11:05.268Z] --- Expected [2021-02-04T06:11:05.268Z] +++ Actual [2021-02-04T06:11:05.268Z] @@ -1,31 +1,2 @@ [2021-02-04T06:11:05.268Z] -([]uint8) (len=444) { [2021-02-04T06:11:05.268Z] - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| [2021-02-04T06:11:05.268Z] - 00000010 32 22 2c 22 69 64 22 3a 22 38 32 65 62 32 65 32 |2","id":"82eb2e2| [2021-02-04T06:11:05.268Z] - 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:05.268Z] - 00000030 2d 64 65 39 64 61 63 33 66 62 39 62 63 22 2c 22 |-de9dac3fb9bc","| [2021-02-04T06:11:05.268Z] - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| [2021-02-04T06:11:05.268Z] - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| [2021-02-04T06:11:05.268Z] - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| [2021-02-04T06:11:05.268Z] - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| [2021-02-04T06:11:05.268Z] - 00000080 72 65 61 74 65 64 22 3a 31 36 31 32 34 31 39 30 |reated":16124190| [2021-02-04T06:11:05.268Z] - 00000090 36 34 2c 22 6f 72 69 67 69 6e 22 3a 31 36 31 32 |64,"origin":1612| [2021-02-04T06:11:05.268Z] - 000000a0 34 31 39 30 36 34 2c 22 72 65 61 64 69 6e 67 73 |419064,"readings| [2021-02-04T06:11:05.269Z] - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| [2021-02-04T06:11:05.269Z] - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 38 32 65 62 |:"v2","id":"82eb| [2021-02-04T06:11:05.269Z] - 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:05.269Z] - 000000e0 65 34 63 2d 64 65 39 64 61 63 33 66 31 32 33 34 |e4c-de9dac3f1234| [2021-02-04T06:11:05.269Z] - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 31 36 31 32 |","created":1612| [2021-02-04T06:11:05.269Z] - 00000100 34 31 39 30 36 34 2c 22 6f 72 69 67 69 6e 22 3a |419064,"origin":| [2021-02-04T06:11:05.269Z] - 00000110 31 36 31 32 34 31 39 30 36 34 2c 22 64 65 76 69 |1612419064,"devi| [2021-02-04T06:11:05.269Z] - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| [2021-02-04T06:11:05.269Z] - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| [2021-02-04T06:11:05.269Z] - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| [2021-02-04T06:11:05.269Z] - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| [2021-02-04T06:11:05.269Z] - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| [2021-02-04T06:11:05.269Z] - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| [2021-02-04T06:11:05.269Z] - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| [2021-02-04T06:11:05.269Z] - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| [2021-02-04T06:11:05.269Z] - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| [2021-02-04T06:11:05.269Z] - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| [2021-02-04T06:11:05.269Z] -} [2021-02-04T06:11:05.269Z] +([]uint8) [2021-02-04T06:11:05.269Z] [2021-02-04T06:11:05.269Z] Test: TestProcessMessageTargetType [2021-02-04T06:11:05.269Z] Messages: 'Event as Json' test failed [2021-02-04T06:11:05.269Z] runtime_test.go:423: [2021-02-04T06:11:05.269Z] Error Trace: runtime_test.go:423 [2021-02-04T06:11:05.269Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc0002a34d0), ErrorCode:400} [2021-02-04T06:11:05.269Z] Test: TestProcessMessageTargetType [2021-02-04T06:11:05.269Z] Messages: unexpected error for test 'Event as Cbor' [2021-02-04T06:11:05.269Z] runtime_test.go:427: [2021-02-04T06:11:05.269Z] Error Trace: runtime_test.go:427 [2021-02-04T06:11:05.269Z] Error: Not equal: [2021-02-04T06:11:05.269Z] 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, 0x36, 0x34, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x34, 0x31, 0x39, 0x30, 0x36, 0x34, 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, 0x36, 0x34, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x34, 0x31, 0x39, 0x30, 0x36, 0x34, 0x2c, 0x22, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x65, 0x6d, 0x70, 0x65, 0x72, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0x2c, 0x22, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x22, 0x2c, 0x22, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x6e, 0x75, 0x6c, 0x6c, 0x2c, 0x22, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x22, 0x37, 0x32, 0x22, 0x7d, 0x5d, 0x7d} [2021-02-04T06:11:05.269Z] actual : []byte(nil) [2021-02-04T06:11:05.269Z] [2021-02-04T06:11:05.269Z] Diff: [2021-02-04T06:11:05.269Z] --- Expected [2021-02-04T06:11:05.269Z] +++ Actual [2021-02-04T06:11:05.269Z] @@ -1,31 +1,2 @@ [2021-02-04T06:11:05.269Z] -([]uint8) (len=444) { [2021-02-04T06:11:05.269Z] - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| [2021-02-04T06:11:05.269Z] - 00000010 32 22 2c 22 69 64 22 3a 22 38 32 65 62 32 65 32 |2","id":"82eb2e2| [2021-02-04T06:11:05.269Z] - 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:05.269Z] - 00000030 2d 64 65 39 64 61 63 33 66 62 39 62 63 22 2c 22 |-de9dac3fb9bc","| [2021-02-04T06:11:05.269Z] - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| [2021-02-04T06:11:05.269Z] - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| [2021-02-04T06:11:05.269Z] - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| [2021-02-04T06:11:05.269Z] - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| [2021-02-04T06:11:05.269Z] - 00000080 72 65 61 74 65 64 22 3a 31 36 31 32 34 31 39 30 |reated":16124190| [2021-02-04T06:11:05.269Z] - 00000090 36 34 2c 22 6f 72 69 67 69 6e 22 3a 31 36 31 32 |64,"origin":1612| [2021-02-04T06:11:05.269Z] - 000000a0 34 31 39 30 36 34 2c 22 72 65 61 64 69 6e 67 73 |419064,"readings| [2021-02-04T06:11:05.269Z] - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| [2021-02-04T06:11:05.269Z] - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 38 32 65 62 |:"v2","id":"82eb| [2021-02-04T06:11:05.269Z] - 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:05.269Z] - 000000e0 65 34 63 2d 64 65 39 64 61 63 33 66 31 32 33 34 |e4c-de9dac3f1234| [2021-02-04T06:11:05.269Z] - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 31 36 31 32 |","created":1612| [2021-02-04T06:11:05.269Z] - 00000100 34 31 39 30 36 34 2c 22 6f 72 69 67 69 6e 22 3a |419064,"origin":| [2021-02-04T06:11:05.269Z] - 00000110 31 36 31 32 34 31 39 30 36 34 2c 22 64 65 76 69 |1612419064,"devi| [2021-02-04T06:11:05.269Z] - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| [2021-02-04T06:11:05.269Z] - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| [2021-02-04T06:11:05.269Z] - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| [2021-02-04T06:11:05.269Z] - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| [2021-02-04T06:11:05.269Z] - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| [2021-02-04T06:11:05.269Z] - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| [2021-02-04T06:11:05.269Z] - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| [2021-02-04T06:11:05.269Z] - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| [2021-02-04T06:11:05.269Z] - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| [2021-02-04T06:11:05.269Z] - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| [2021-02-04T06:11:05.269Z] -} [2021-02-04T06:11:05.269Z] +([]uint8) [2021-02-04T06:11:05.269Z] [2021-02-04T06:11:05.269Z] Test: TestProcessMessageTargetType [2021-02-04T06:11:05.269Z] Messages: 'Event as Cbor' test failed [2021-02-04T06:11:05.269Z] --- FAIL: TestGolangRuntime_unmarshalV2Event (0.00s) [2021-02-04T06:11:05.269Z] --- FAIL: TestGolangRuntime_unmarshalV2Event/JSON_V2_Event (0.00s) [2021-02-04T06:11:05.269Z] runtime_test.go:599: [2021-02-04T06:11:05.269Z] Error Trace: runtime_test.go:599 [2021-02-04T06:11:05.269Z] Error: Received unexpected error: [2021-02-04T06:11:05.269Z] failed to unmarshal AddEventRequest from content type 'application/json': AddEventRequest.BaseRequest.Versionable.ApiVersion field is required [2021-02-04T06:11:05.269Z] Test: TestGolangRuntime_unmarshalV2Event/JSON_V2_Event [2021-02-04T06:11:05.269Z] --- FAIL: TestGolangRuntime_unmarshalV2Event/CBOR_V2_Event (0.00s) [2021-02-04T06:11:05.269Z] runtime_test.go:599: [2021-02-04T06:11:05.269Z] Error Trace: runtime_test.go:599 [2021-02-04T06:11:05.269Z] Error: Received unexpected error: [2021-02-04T06:11:05.269Z] validation failed on AddEventRequest: AddEventRequest.BaseRequest.Versionable.ApiVersion field is required [2021-02-04T06:11:05.269Z] Test: TestGolangRuntime_unmarshalV2Event/CBOR_V2_Event [2021-02-04T06:11:05.269Z] FAIL [2021-02-04T06:11:05.269Z] coverage: 73.4% of statements [2021-02-04T06:11:05.269Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.029s [2021-02-04T06:11:05.269Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-02-04T06:11:05.269Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-02-04T06:11:05.269Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-02-04T06:11:05.269Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-02-04T06:11:05.269Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-02-04T06:11:05.269Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-02-04T06:11:05.269Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.005s coverage: 97.0% of statements [2021-02-04T06:11:05.269Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-02-04T06:11:05.871Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.010s coverage: 8.8% of statements [2021-02-04T06:11:24.031Z] --- FAIL: TestInitializeAndProcessEventWithNoOutput (3.30s) [2021-02-04T06:11:24.031Z] messaging_test.go:206: [2021-02-04T06:11:24.031Z] Error Trace: messaging_test.go:206 [2021-02-04T06:11:24.031Z] Error: Should be true [2021-02-04T06:11:24.031Z] Test: TestInitializeAndProcessEventWithNoOutput [2021-02-04T06:11:24.031Z] Messages: Transform never called [2021-02-04T06:11:24.031Z] --- FAIL: TestInitializeAndProcessEventWithOutput (3.30s) [2021-02-04T06:11:24.031Z] messaging_test.go:290: [2021-02-04T06:11:24.031Z] Error Trace: messaging_test.go:290 [2021-02-04T06:11:24.031Z] Error: Should be true [2021-02-04T06:11:24.031Z] Test: TestInitializeAndProcessEventWithOutput [2021-02-04T06:11:24.031Z] Messages: Transform never called [2021-02-04T06:11:24.031Z] --- FAIL: TestInitializeAndProcessEventWithOutput_InferJSON (3.30s) [2021-02-04T06:11:24.031Z] messaging_test.go:385: [2021-02-04T06:11:24.031Z] Error Trace: messaging_test.go:385 [2021-02-04T06:11:24.031Z] Error: Should be true [2021-02-04T06:11:24.031Z] Test: TestInitializeAndProcessEventWithOutput_InferJSON [2021-02-04T06:11:24.031Z] Messages: Transform never called [2021-02-04T06:11:24.031Z] --- FAIL: TestInitializeAndProcessEventWithOutput_AssumeCBOR (3.31s) [2021-02-04T06:11:24.031Z] messaging_test.go:477: [2021-02-04T06:11:24.031Z] Error Trace: messaging_test.go:477 [2021-02-04T06:11:24.031Z] Error: Should be true [2021-02-04T06:11:24.031Z] Test: TestInitializeAndProcessEventWithOutput_AssumeCBOR [2021-02-04T06:11:24.031Z] Messages: Transform never called [2021-02-04T06:11:24.031Z] --- FAIL: TestInitializeAndProcessEventMultipleTopics (3.30s) [2021-02-04T06:11:24.031Z] messaging_test.go:638: [2021-02-04T06:11:24.031Z] Error Trace: messaging_test.go:638 [2021-02-04T06:11:24.031Z] Error: Transform never called for t1 [2021-02-04T06:11:24.031Z] Test: TestInitializeAndProcessEventMultipleTopics [2021-02-04T06:11:24.031Z] FAIL [2021-02-04T06:11:24.031Z] coverage: 62.0% of statements [2021-02-04T06:11:24.031Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 16.850s [2021-02-04T06:11:24.031Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-02-04T06:11:24.031Z] --- FAIL: TestAddSecretRequest (0.00s) [2021-02-04T06:11:24.031Z] --- FAIL: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash (0.00s) [2021-02-04T06:11:24.031Z] controller_test.go:261: [2021-02-04T06:11:24.031Z] Error Trace: controller_test.go:261 [2021-02-04T06:11:24.031Z] Error: Not equal: [2021-02-04T06:11:24.031Z] expected: 201 [2021-02-04T06:11:24.031Z] actual : 400 [2021-02-04T06:11:24.031Z] Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash [2021-02-04T06:11:24.031Z] Messages: HTTP status code not as expected [2021-02-04T06:11:24.031Z] controller_test.go:263: [2021-02-04T06:11:24.031Z] Error Trace: controller_test.go:263 [2021-02-04T06:11:24.031Z] Error: Not equal: [2021-02-04T06:11:24.031Z] expected: 201 [2021-02-04T06:11:24.031Z] actual : 400 [2021-02-04T06:11:24.031Z] Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash [2021-02-04T06:11:24.031Z] Messages: BaseResponse status code not as expected [2021-02-04T06:11:24.031Z] controller_test.go:270: [2021-02-04T06:11:24.031Z] Error Trace: controller_test.go:270 [2021-02-04T06:11:24.031Z] Error: Not equal: [2021-02-04T06:11:24.031Z] expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-02-04T06:11:24.031Z] actual : "" [2021-02-04T06:11:24.031Z] [2021-02-04T06:11:24.031Z] Diff: [2021-02-04T06:11:24.031Z] --- Expected [2021-02-04T06:11:24.031Z] +++ Actual [2021-02-04T06:11:24.031Z] @@ -1 +1 @@ [2021-02-04T06:11:24.031Z] -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-04T06:11:24.031Z] + [2021-02-04T06:11:24.031Z] Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash [2021-02-04T06:11:24.031Z] Messages: RequestID not as expected [2021-02-04T06:11:24.031Z] controller_test.go:271: [2021-02-04T06:11:24.031Z] Error Trace: controller_test.go:271 [2021-02-04T06:11:24.031Z] Error: Should be empty, but was JSON decode failed [2021-02-04T06:11:24.031Z] Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash [2021-02-04T06:11:24.031Z] Messages: Message not empty, as expected [2021-02-04T06:11:24.031Z] --- FAIL: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash (0.00s) [2021-02-04T06:11:24.031Z] controller_test.go:261: [2021-02-04T06:11:24.031Z] Error Trace: controller_test.go:261 [2021-02-04T06:11:24.031Z] Error: Not equal: [2021-02-04T06:11:24.031Z] expected: 201 [2021-02-04T06:11:24.031Z] actual : 400 [2021-02-04T06:11:24.031Z] Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-04T06:11:24.031Z] Messages: HTTP status code not as expected [2021-02-04T06:11:24.031Z] controller_test.go:263: [2021-02-04T06:11:24.031Z] Error Trace: controller_test.go:263 [2021-02-04T06:11:24.031Z] Error: Not equal: [2021-02-04T06:11:24.031Z] expected: 201 [2021-02-04T06:11:24.031Z] actual : 400 [2021-02-04T06:11:24.031Z] Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-04T06:11:24.031Z] Messages: BaseResponse status code not as expected [2021-02-04T06:11:24.031Z] controller_test.go:270: [2021-02-04T06:11:24.031Z] Error Trace: controller_test.go:270 [2021-02-04T06:11:24.031Z] Error: Not equal: [2021-02-04T06:11:24.031Z] expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-02-04T06:11:24.031Z] actual : "" [2021-02-04T06:11:24.031Z] [2021-02-04T06:11:24.031Z] Diff: [2021-02-04T06:11:24.031Z] --- Expected [2021-02-04T06:11:24.031Z] +++ Actual [2021-02-04T06:11:24.031Z] @@ -1 +1 @@ [2021-02-04T06:11:24.031Z] -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-04T06:11:24.031Z] + [2021-02-04T06:11:24.031Z] Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-04T06:11:24.031Z] Messages: RequestID not as expected [2021-02-04T06:11:24.031Z] controller_test.go:271: [2021-02-04T06:11:24.031Z] Error Trace: controller_test.go:271 [2021-02-04T06:11:24.031Z] Error: Should be empty, but was JSON decode failed [2021-02-04T06:11:24.031Z] Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-04T06:11:24.031Z] Messages: Message not empty, as expected [2021-02-04T06:11:24.031Z] --- FAIL: TestAddSecretRequest/Valid_-_both_trailing_slashes (0.00s) [2021-02-04T06:11:24.031Z] controller_test.go:261: [2021-02-04T06:11:24.031Z] Error Trace: controller_test.go:261 [2021-02-04T06:11:24.031Z] Error: Not equal: [2021-02-04T06:11:24.031Z] expected: 201 [2021-02-04T06:11:24.031Z] actual : 400 [2021-02-04T06:11:24.031Z] Test: TestAddSecretRequest/Valid_-_both_trailing_slashes [2021-02-04T06:11:24.031Z] Messages: HTTP status code not as expected [2021-02-04T06:11:24.031Z] controller_test.go:263: [2021-02-04T06:11:24.031Z] Error Trace: controller_test.go:263 [2021-02-04T06:11:24.031Z] Error: Not equal: [2021-02-04T06:11:24.031Z] expected: 201 [2021-02-04T06:11:24.031Z] actual : 400 [2021-02-04T06:11:24.031Z] Test: TestAddSecretRequest/Valid_-_both_trailing_slashes [2021-02-04T06:11:24.031Z] Messages: BaseResponse status code not as expected [2021-02-04T06:11:24.031Z] controller_test.go:270: [2021-02-04T06:11:24.031Z] Error Trace: controller_test.go:270 [2021-02-04T06:11:24.031Z] Error: Not equal: [2021-02-04T06:11:24.031Z] expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-02-04T06:11:24.031Z] actual : "" [2021-02-04T06:11:24.031Z] [2021-02-04T06:11:24.031Z] Diff: [2021-02-04T06:11:24.031Z] --- Expected [2021-02-04T06:11:24.031Z] +++ Actual [2021-02-04T06:11:24.031Z] @@ -1 +1 @@ [2021-02-04T06:11:24.031Z] -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-04T06:11:24.031Z] + [2021-02-04T06:11:24.031Z] Test: TestAddSecretRequest/Valid_-_both_trailing_slashes [2021-02-04T06:11:24.031Z] Messages: RequestID not as expected [2021-02-04T06:11:24.031Z] controller_test.go:271: [2021-02-04T06:11:24.031Z] Error Trace: controller_test.go:271 [2021-02-04T06:11:24.031Z] Error: Should be empty, but was JSON decode failed [2021-02-04T06:11:24.031Z] Test: TestAddSecretRequest/Valid_-_both_trailing_slashes [2021-02-04T06:11:24.031Z] Messages: Message not empty, as expected [2021-02-04T06:11:24.031Z] --- FAIL: TestAddSecretRequest/Valid_-_no_requestId (0.00s) [2021-02-04T06:11:24.031Z] controller_test.go:261: [2021-02-04T06:11:24.031Z] Error Trace: controller_test.go:261 [2021-02-04T06:11:24.031Z] Error: Not equal: [2021-02-04T06:11:24.031Z] expected: 201 [2021-02-04T06:11:24.031Z] actual : 400 [2021-02-04T06:11:24.031Z] Test: TestAddSecretRequest/Valid_-_no_requestId [2021-02-04T06:11:24.031Z] Messages: HTTP status code not as expected [2021-02-04T06:11:24.031Z] controller_test.go:263: [2021-02-04T06:11:24.031Z] Error Trace: controller_test.go:263 [2021-02-04T06:11:24.031Z] Error: Not equal: [2021-02-04T06:11:24.031Z] expected: 201 [2021-02-04T06:11:24.031Z] actual : 400 [2021-02-04T06:11:24.031Z] Test: TestAddSecretRequest/Valid_-_no_requestId [2021-02-04T06:11:24.031Z] Messages: BaseResponse status code not as expected [2021-02-04T06:11:24.031Z] controller_test.go:271: [2021-02-04T06:11:24.031Z] Error Trace: controller_test.go:271 [2021-02-04T06:11:24.031Z] Error: Should be empty, but was JSON decode failed [2021-02-04T06:11:24.031Z] Test: TestAddSecretRequest/Valid_-_no_requestId [2021-02-04T06:11:24.031Z] Messages: Message not empty, as expected [2021-02-04T06:11:24.031Z] --- FAIL: TestAddSecretRequest/Invalid_-_No_Secret_Store (0.00s) [2021-02-04T06:11:24.031Z] controller_test.go:261: [2021-02-04T06:11:24.031Z] Error Trace: controller_test.go:261 [2021-02-04T06:11:24.031Z] Error: Not equal: [2021-02-04T06:11:24.031Z] expected: 500 [2021-02-04T06:11:24.031Z] actual : 400 [2021-02-04T06:11:24.031Z] Test: TestAddSecretRequest/Invalid_-_No_Secret_Store [2021-02-04T06:11:24.031Z] Messages: HTTP status code not as expected [2021-02-04T06:11:24.031Z] controller_test.go:263: [2021-02-04T06:11:24.031Z] Error Trace: controller_test.go:263 [2021-02-04T06:11:24.031Z] Error: Not equal: [2021-02-04T06:11:24.031Z] expected: 500 [2021-02-04T06:11:24.031Z] actual : 400 [2021-02-04T06:11:24.031Z] Test: TestAddSecretRequest/Invalid_-_No_Secret_Store [2021-02-04T06:11:24.031Z] Messages: BaseResponse status code not as expected [2021-02-04T06:11:24.031Z] FAIL [2021-02-04T06:11:24.031Z] coverage: 63.8% of statements [2021-02-04T06:11:24.031Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.014s [2021-02-04T06:11:24.031Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.012s coverage: 80.5% of statements [2021-02-04T06:11:24.031Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.030s coverage: 71.7% of statements [2021-02-04T06:11:27.260Z] Removing intermediate container 56606bfa02dd [2021-02-04T06:11:27.260Z] ---> 47509048d3e3 [2021-02-04T06:11:27.260Z] Successfully built 47509048d3e3 [2021-02-04T06:11:27.260Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-04T06:11:27.651Z] + docker inspect -f . ci-base-image-arm64 [2021-02-04T06:11:27.651Z] . [Pipeline] withDockerContainer [2021-02-04T06:11:27.956Z] prd-ubuntu18.04-docker-arm64-4c-16g-24931 does not seem to be running inside a container [2021-02-04T06:11:28.049Z] $ 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:11:29.536Z] $ docker top fd53fa660661584152bfd38b1fdc23ce9441b385b4b6ee9eab811a76bd72eff4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-04T06:11:30.636Z] + go version [2021-02-04T06:11:30.636Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-04T06:11:30.673Z] $ docker stop --time=1 fd53fa660661584152bfd38b1fdc23ce9441b385b4b6ee9eab811a76bd72eff4 [2021-02-04T06:11:32.581Z] $ docker rm -f fd53fa660661584152bfd38b1fdc23ce9441b385b4b6ee9eab811a76bd72eff4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-04T06:11:33.863Z] + docker inspect -f . ci-base-image-arm64 [2021-02-04T06:11:33.863Z] . [Pipeline] withDockerContainer [2021-02-04T06:11:34.045Z] --- FAIL: TestTransformToJSON (0.00s) [2021-02-04T06:11:34.045Z] conversion_test.go:130: [2021-02-04T06:11:34.045Z] Error Trace: conversion_test.go:130 [2021-02-04T06:11:34.045Z] Error: Not equal: [2021-02-04T06:11:34.045Z] expected: "{\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" [2021-02-04T06:11:34.045Z] actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" [2021-02-04T06:11:34.045Z] [2021-02-04T06:11:34.045Z] Diff: [2021-02-04T06:11:34.045Z] --- Expected [2021-02-04T06:11:34.045Z] +++ Actual [2021-02-04T06:11:34.045Z] @@ -1 +1 @@ [2021-02-04T06:11:34.045Z] -{"id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} [2021-02-04T06:11:34.045Z] +{"apiVersion":"","id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} [2021-02-04T06:11:34.045Z] Test: TestTransformToJSON [2021-02-04T06:11:34.045Z] --- FAIL: TestTransformToJSONMultipleParametersValid (0.00s) [2021-02-04T06:11:34.045Z] conversion_test.go:157: [2021-02-04T06:11:34.045Z] Error Trace: conversion_test.go:157 [2021-02-04T06:11:34.045Z] Error: Not equal: [2021-02-04T06:11:34.045Z] expected: "{\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" [2021-02-04T06:11:34.045Z] actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" [2021-02-04T06:11:34.045Z] [2021-02-04T06:11:34.046Z] Diff: [2021-02-04T06:11:34.046Z] --- Expected [2021-02-04T06:11:34.046Z] +++ Actual [2021-02-04T06:11:34.046Z] @@ -1 +1 @@ [2021-02-04T06:11:34.046Z] -{"id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} [2021-02-04T06:11:34.046Z] +{"apiVersion":"","id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} [2021-02-04T06:11:34.046Z] Test: TestTransformToJSONMultipleParametersValid [2021-02-04T06:11:34.046Z] --- FAIL: TestTransformToJSONMultipleParametersTwoEvents (0.00s) [2021-02-04T06:11:34.046Z] conversion_test.go:175: [2021-02-04T06:11:34.046Z] Error Trace: conversion_test.go:175 [2021-02-04T06:11:34.046Z] Error: Not equal: [2021-02-04T06:11:34.046Z] expected: "{\"id\":\"\",\"deviceName\":\"id2\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" [2021-02-04T06:11:34.046Z] actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"id2\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" [2021-02-04T06:11:34.046Z] [2021-02-04T06:11:34.046Z] Diff: [2021-02-04T06:11:34.046Z] --- Expected [2021-02-04T06:11:34.046Z] +++ Actual [2021-02-04T06:11:34.046Z] @@ -1 +1 @@ [2021-02-04T06:11:34.046Z] -{"id":"","deviceName":"id2","profileName":"","created":0,"origin":0,"readings":null} [2021-02-04T06:11:34.046Z] +{"apiVersion":"","id":"","deviceName":"id2","profileName":"","created":0,"origin":0,"readings":null} [2021-02-04T06:11:34.046Z] Test: TestTransformToJSONMultipleParametersTwoEvents [2021-02-04T06:11:34.046Z] FAIL [2021-02-04T06:11:34.046Z] coverage: 81.4% of statements [2021-02-04T06:11:34.046Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.041s [2021-02-04T06:11:34.046Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.009s coverage: 94.4% of statements [2021-02-04T06:11:34.046Z] FAIL [2021-02-04T06:11:34.046Z] make: *** [Makefile:6: test] Error 1 [2021-02-04T06:11:34.149Z] prd-ubuntu18.04-docker-arm64-4c-16g-24931 does not seem to be running inside a container [2021-02-04T06:11:34.235Z] $ 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:11:35.757Z] $ docker top 314530725c44437ffa3e06a894dd1250ccbc18c8ba4921834b4ea205edd07a42 -eo pid,comm [Pipeline] { [Pipeline] } [2021-02-04T06:11:36.220Z] $ docker stop --time=1 3691763422facd372a748a06b32b634308567170a5ec0ebcb5a7a9507bc99786 [2021-02-04T06:11:37.815Z] $ docker rm -f 3691763422facd372a748a06b32b634308567170a5ec0ebcb5a7a9507bc99786 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [2021-02-04T06:11:38.790Z] + make test [2021-02-04T06:11:38.790Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [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] } [2021-02-04T06:11:40.241Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] [Pipeline] // stage [Pipeline] } [2021-02-04T06:11:40.389Z] Failed in branch amd64 [2021-02-04T06:12:07.120Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.079s coverage: 82.6% of statements [2021-02-04T06:12:29.322Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.071s coverage: 48.6% of statements [2021-02-04T06:12:29.322Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-02-04T06:12:29.322Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-02-04T06:12:29.322Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.061s coverage: 61.5% of statements [2021-02-04T06:12:29.322Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-02-04T06:12:29.322Z] --- FAIL: TestProcessMessageNoTransforms (0.00s) [2021-02-04T06:12:29.322Z] runtime_test.go:116: [2021-02-04T06:12:29.322Z] Error Trace: runtime_test.go:116 [2021-02-04T06:12:29.322Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x4000310640), ErrorCode:400} [2021-02-04T06:12:29.322Z] Test: TestProcessMessageNoTransforms [2021-02-04T06:12:29.322Z] Messages: result should be nil since no transforms have been passed [2021-02-04T06:12:29.322Z] --- FAIL: TestProcessMessageOneCustomTransform (0.00s) [2021-02-04T06:12:29.322Z] runtime_test.go:145: [2021-02-04T06:12:29.322Z] Error Trace: runtime_test.go:145 [2021-02-04T06:12:29.322Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x40002c74f0), ErrorCode:400} [2021-02-04T06:12:29.322Z] Test: TestProcessMessageOneCustomTransform [2021-02-04T06:12:29.322Z] --- FAIL: TestProcessMessageTwoCustomTransforms (0.00s) [2021-02-04T06:12:29.322Z] runtime_test.go:186: [2021-02-04T06:12:29.322Z] Error Trace: runtime_test.go:186 [2021-02-04T06:12:29.322Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x40002c7780), ErrorCode:400} [2021-02-04T06:12:29.322Z] Test: TestProcessMessageTwoCustomTransforms [2021-02-04T06:12:29.322Z] --- FAIL: TestProcessMessageThreeCustomTransformsOneFail (0.00s) [2021-02-04T06:12:29.322Z] runtime_test.go:233: [2021-02-04T06:12:29.322Z] Error Trace: runtime_test.go:233 [2021-02-04T06:12:29.322Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x40002c7a00), ErrorCode:400} [2021-02-04T06:12:29.322Z] Test: TestProcessMessageThreeCustomTransformsOneFail [2021-02-04T06:12:29.322Z] --- FAIL: TestProcessMessageJSON (0.00s) [2021-02-04T06:12:29.322Z] runtime_test.go:308: [2021-02-04T06:12:29.322Z] Error Trace: runtime_test.go:308 [2021-02-04T06:12:29.322Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x40002c7d90), ErrorCode:400} [2021-02-04T06:12:29.322Z] Test: TestProcessMessageJSON [2021-02-04T06:12:29.322Z] 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:12:29.322Z] runtime_test.go:309: [2021-02-04T06:12:29.322Z] Error Trace: runtime_test.go:309 [2021-02-04T06:12:29.322Z] Error: Should be true [2021-02-04T06:12:29.322Z] Test: TestProcessMessageJSON [2021-02-04T06:12:29.322Z] Messages: transform1 should have been called [2021-02-04T06:12:29.322Z] --- FAIL: TestProcessMessageTargetType (0.00s) [2021-02-04T06:12:29.322Z] runtime_test.go:423: [2021-02-04T06:12:29.322Z] Error Trace: runtime_test.go:423 [2021-02-04T06:12:29.322Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x40003a45f0), ErrorCode:400} [2021-02-04T06:12:29.322Z] Test: TestProcessMessageTargetType [2021-02-04T06:12:29.322Z] Messages: unexpected error for test 'Default Nil Target Type' [2021-02-04T06:12:29.322Z] runtime_test.go:427: [2021-02-04T06:12:29.322Z] Error Trace: runtime_test.go:427 [2021-02-04T06:12:29.322Z] Error: Not equal: [2021-02-04T06:12:29.323Z] 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, 0x31, 0x34, 0x33, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x34, 0x31, 0x39, 0x31, 0x34, 0x33, 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, 0x31, 0x34, 0x33, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x34, 0x31, 0x39, 0x31, 0x34, 0x33, 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:12:29.323Z] actual : []byte(nil) [2021-02-04T06:12:29.323Z] [2021-02-04T06:12:29.323Z] Diff: [2021-02-04T06:12:29.323Z] --- Expected [2021-02-04T06:12:29.323Z] +++ Actual [2021-02-04T06:12:29.323Z] @@ -1,31 +1,2 @@ [2021-02-04T06:12:29.323Z] -([]uint8) (len=444) { [2021-02-04T06:12:29.323Z] - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| [2021-02-04T06:12:29.323Z] - 00000010 32 22 2c 22 69 64 22 3a 22 38 32 65 62 32 65 32 |2","id":"82eb2e2| [2021-02-04T06:12:29.323Z] - 00000020 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 65 34 63 |6-0f24-48aa-ae4c| [2021-02-04T06:12:29.323Z] - 00000030 2d 64 65 39 64 61 63 33 66 62 39 62 63 22 2c 22 |-de9dac3fb9bc","| [2021-02-04T06:12:29.323Z] - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| [2021-02-04T06:12:29.323Z] - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| [2021-02-04T06:12:29.323Z] - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| [2021-02-04T06:12:29.323Z] - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| [2021-02-04T06:12:29.323Z] - 00000080 72 65 61 74 65 64 22 3a 31 36 31 32 34 31 39 31 |reated":16124191| [2021-02-04T06:12:29.323Z] - 00000090 34 33 2c 22 6f 72 69 67 69 6e 22 3a 31 36 31 32 |43,"origin":1612| [2021-02-04T06:12:29.323Z] - 000000a0 34 31 39 31 34 33 2c 22 72 65 61 64 69 6e 67 73 |419143,"readings| [2021-02-04T06:12:29.323Z] - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| [2021-02-04T06:12:29.323Z] - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 38 32 65 62 |:"v2","id":"82eb| [2021-02-04T06:12:29.323Z] - 000000d0 32 65 32 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 |2e26-0f24-48aa-a| [2021-02-04T06:12:29.323Z] - 000000e0 65 34 63 2d 64 65 39 64 61 63 33 66 31 32 33 34 |e4c-de9dac3f1234| [2021-02-04T06:12:29.323Z] - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 31 36 31 32 |","created":1612| [2021-02-04T06:12:29.323Z] - 00000100 34 31 39 31 34 33 2c 22 6f 72 69 67 69 6e 22 3a |419143,"origin":| [2021-02-04T06:12:29.323Z] - 00000110 31 36 31 32 34 31 39 31 34 33 2c 22 64 65 76 69 |1612419143,"devi| [2021-02-04T06:12:29.323Z] - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| [2021-02-04T06:12:29.323Z] - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| [2021-02-04T06:12:29.323Z] - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| [2021-02-04T06:12:29.323Z] - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| [2021-02-04T06:12:29.323Z] - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| [2021-02-04T06:12:29.323Z] - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| [2021-02-04T06:12:29.323Z] - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| [2021-02-04T06:12:29.323Z] - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| [2021-02-04T06:12:29.323Z] - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| [2021-02-04T06:12:29.323Z] - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| [2021-02-04T06:12:29.323Z] -} [2021-02-04T06:12:29.323Z] +([]uint8) [2021-02-04T06:12:29.323Z] [2021-02-04T06:12:29.323Z] Test: TestProcessMessageTargetType [2021-02-04T06:12:29.323Z] Messages: 'Default Nil Target Type' test failed [2021-02-04T06:12:29.323Z] runtime_test.go:423: [2021-02-04T06:12:29.323Z] Error Trace: runtime_test.go:423 [2021-02-04T06:12:29.323Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x40003a4970), ErrorCode:400} [2021-02-04T06:12:29.323Z] Test: TestProcessMessageTargetType [2021-02-04T06:12:29.323Z] Messages: unexpected error for test 'Event as Json' [2021-02-04T06:12:29.323Z] runtime_test.go:427: [2021-02-04T06:12:29.323Z] Error Trace: runtime_test.go:427 [2021-02-04T06:12:29.323Z] Error: Not equal: [2021-02-04T06:12:29.323Z] 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, 0x31, 0x34, 0x33, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x34, 0x31, 0x39, 0x31, 0x34, 0x33, 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, 0x31, 0x34, 0x33, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x34, 0x31, 0x39, 0x31, 0x34, 0x33, 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:12:29.323Z] actual : []byte(nil) [2021-02-04T06:12:29.323Z] [2021-02-04T06:12:29.323Z] Diff: [2021-02-04T06:12:29.323Z] --- Expected [2021-02-04T06:12:29.323Z] +++ Actual [2021-02-04T06:12:29.323Z] @@ -1,31 +1,2 @@ [2021-02-04T06:12:29.323Z] -([]uint8) (len=444) { [2021-02-04T06:12:29.323Z] - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| [2021-02-04T06:12:29.323Z] - 00000010 32 22 2c 22 69 64 22 3a 22 38 32 65 62 32 65 32 |2","id":"82eb2e2| [2021-02-04T06:12:29.323Z] - 00000020 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 65 34 63 |6-0f24-48aa-ae4c| [2021-02-04T06:12:29.323Z] - 00000030 2d 64 65 39 64 61 63 33 66 62 39 62 63 22 2c 22 |-de9dac3fb9bc","| [2021-02-04T06:12:29.323Z] - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| [2021-02-04T06:12:29.323Z] - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| [2021-02-04T06:12:29.323Z] - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| [2021-02-04T06:12:29.323Z] - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| [2021-02-04T06:12:29.323Z] - 00000080 72 65 61 74 65 64 22 3a 31 36 31 32 34 31 39 31 |reated":16124191| [2021-02-04T06:12:29.323Z] - 00000090 34 33 2c 22 6f 72 69 67 69 6e 22 3a 31 36 31 32 |43,"origin":1612| [2021-02-04T06:12:29.323Z] - 000000a0 34 31 39 31 34 33 2c 22 72 65 61 64 69 6e 67 73 |419143,"readings| [2021-02-04T06:12:29.323Z] - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| [2021-02-04T06:12:29.323Z] - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 38 32 65 62 |:"v2","id":"82eb| [2021-02-04T06:12:29.323Z] - 000000d0 32 65 32 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 |2e26-0f24-48aa-a| [2021-02-04T06:12:29.323Z] - 000000e0 65 34 63 2d 64 65 39 64 61 63 33 66 31 32 33 34 |e4c-de9dac3f1234| [2021-02-04T06:12:29.323Z] - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 31 36 31 32 |","created":1612| [2021-02-04T06:12:29.323Z] - 00000100 34 31 39 31 34 33 2c 22 6f 72 69 67 69 6e 22 3a |419143,"origin":| [2021-02-04T06:12:29.323Z] - 00000110 31 36 31 32 34 31 39 31 34 33 2c 22 64 65 76 69 |1612419143,"devi| [2021-02-04T06:12:29.323Z] - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| [2021-02-04T06:12:29.323Z] - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| [2021-02-04T06:12:29.323Z] - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| [2021-02-04T06:12:29.323Z] - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| [2021-02-04T06:12:29.323Z] - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| [2021-02-04T06:12:29.323Z] - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| [2021-02-04T06:12:29.323Z] - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| [2021-02-04T06:12:29.323Z] - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| [2021-02-04T06:12:29.323Z] - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| [2021-02-04T06:12:29.323Z] - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| [2021-02-04T06:12:29.323Z] -} [2021-02-04T06:12:29.323Z] +([]uint8) [2021-02-04T06:12:29.323Z] [2021-02-04T06:12:29.323Z] Test: TestProcessMessageTargetType [2021-02-04T06:12:29.323Z] Messages: 'Event as Json' test failed [2021-02-04T06:12:29.323Z] runtime_test.go:423: [2021-02-04T06:12:29.323Z] Error Trace: runtime_test.go:423 [2021-02-04T06:12:29.323Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x40003a4df0), ErrorCode:400} [2021-02-04T06:12:29.323Z] Test: TestProcessMessageTargetType [2021-02-04T06:12:29.323Z] Messages: unexpected error for test 'Event as Cbor' [2021-02-04T06:12:29.323Z] runtime_test.go:427: [2021-02-04T06:12:29.323Z] Error Trace: runtime_test.go:427 [2021-02-04T06:12:29.323Z] Error: Not equal: [2021-02-04T06:12:29.323Z] 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, 0x31, 0x34, 0x33, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x34, 0x31, 0x39, 0x31, 0x34, 0x33, 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, 0x31, 0x34, 0x33, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x34, 0x31, 0x39, 0x31, 0x34, 0x33, 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:12:29.323Z] actual : []byte(nil) [2021-02-04T06:12:29.323Z] [2021-02-04T06:12:29.323Z] Diff: [2021-02-04T06:12:29.323Z] --- Expected [2021-02-04T06:12:29.323Z] +++ Actual [2021-02-04T06:12:29.323Z] @@ -1,31 +1,2 @@ [2021-02-04T06:12:29.323Z] -([]uint8) (len=444) { [2021-02-04T06:12:29.323Z] - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| [2021-02-04T06:12:29.323Z] - 00000010 32 22 2c 22 69 64 22 3a 22 38 32 65 62 32 65 32 |2","id":"82eb2e2| [2021-02-04T06:12:29.323Z] - 00000020 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 65 34 63 |6-0f24-48aa-ae4c| [2021-02-04T06:12:29.323Z] - 00000030 2d 64 65 39 64 61 63 33 66 62 39 62 63 22 2c 22 |-de9dac3fb9bc","| [2021-02-04T06:12:29.323Z] - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| [2021-02-04T06:12:29.323Z] - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| [2021-02-04T06:12:29.323Z] - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| [2021-02-04T06:12:29.323Z] - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| [2021-02-04T06:12:29.323Z] - 00000080 72 65 61 74 65 64 22 3a 31 36 31 32 34 31 39 31 |reated":16124191| [2021-02-04T06:12:29.323Z] - 00000090 34 33 2c 22 6f 72 69 67 69 6e 22 3a 31 36 31 32 |43,"origin":1612| [2021-02-04T06:12:29.323Z] - 000000a0 34 31 39 31 34 33 2c 22 72 65 61 64 69 6e 67 73 |419143,"readings| [2021-02-04T06:12:29.323Z] - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| [2021-02-04T06:12:29.324Z] - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 38 32 65 62 |:"v2","id":"82eb| [2021-02-04T06:12:29.324Z] - 000000d0 32 65 32 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 |2e26-0f24-48aa-a| [2021-02-04T06:12:29.324Z] - 000000e0 65 34 63 2d 64 65 39 64 61 63 33 66 31 32 33 34 |e4c-de9dac3f1234| [2021-02-04T06:12:29.324Z] - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 31 36 31 32 |","created":1612| [2021-02-04T06:12:29.324Z] - 00000100 34 31 39 31 34 33 2c 22 6f 72 69 67 69 6e 22 3a |419143,"origin":| [2021-02-04T06:12:29.324Z] - 00000110 31 36 31 32 34 31 39 31 34 33 2c 22 64 65 76 69 |1612419143,"devi| [2021-02-04T06:12:29.324Z] - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| [2021-02-04T06:12:29.324Z] - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| [2021-02-04T06:12:29.324Z] - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| [2021-02-04T06:12:29.324Z] - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| [2021-02-04T06:12:29.324Z] - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| [2021-02-04T06:12:29.324Z] - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| [2021-02-04T06:12:29.324Z] - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| [2021-02-04T06:12:29.324Z] - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| [2021-02-04T06:12:29.324Z] - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| [2021-02-04T06:12:29.324Z] - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| [2021-02-04T06:12:29.324Z] -} [2021-02-04T06:12:29.324Z] +([]uint8) [2021-02-04T06:12:29.324Z] [2021-02-04T06:12:29.324Z] Test: TestProcessMessageTargetType [2021-02-04T06:12:29.324Z] Messages: 'Event as Cbor' test failed [2021-02-04T06:12:29.324Z] --- FAIL: TestGolangRuntime_unmarshalV2Event (0.00s) [2021-02-04T06:12:29.324Z] --- FAIL: TestGolangRuntime_unmarshalV2Event/JSON_V2_Event (0.00s) [2021-02-04T06:12:29.324Z] runtime_test.go:599: [2021-02-04T06:12:29.324Z] Error Trace: runtime_test.go:599 [2021-02-04T06:12:29.324Z] Error: Received unexpected error: [2021-02-04T06:12:29.324Z] failed to unmarshal AddEventRequest from content type 'application/json': AddEventRequest.BaseRequest.Versionable.ApiVersion field is required [2021-02-04T06:12:29.324Z] Test: TestGolangRuntime_unmarshalV2Event/JSON_V2_Event [2021-02-04T06:12:29.324Z] --- FAIL: TestGolangRuntime_unmarshalV2Event/CBOR_V2_Event (0.00s) [2021-02-04T06:12:29.324Z] runtime_test.go:599: [2021-02-04T06:12:29.324Z] Error Trace: runtime_test.go:599 [2021-02-04T06:12:29.324Z] Error: Received unexpected error: [2021-02-04T06:12:29.324Z] validation failed on AddEventRequest: AddEventRequest.BaseRequest.Versionable.ApiVersion field is required [2021-02-04T06:12:29.324Z] Test: TestGolangRuntime_unmarshalV2Event/CBOR_V2_Event [2021-02-04T06:12:29.324Z] FAIL [2021-02-04T06:12:29.324Z] coverage: 73.4% of statements [2021-02-04T06:12:29.324Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.099s [2021-02-04T06:12:29.324Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-02-04T06:12:29.324Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-02-04T06:12:29.324Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-02-04T06:12:29.324Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-02-04T06:12:29.324Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-02-04T06:12:29.324Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-02-04T06:12:29.324Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.015s coverage: 97.0% of statements [2021-02-04T06:12:29.324Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-02-04T06:12:29.324Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.039s coverage: 8.8% of statements [2021-02-04T06:12:44.478Z] --- FAIL: TestInitializeAndProcessEventWithNoOutput (3.30s) [2021-02-04T06:12:44.478Z] messaging_test.go:206: [2021-02-04T06:12:44.478Z] Error Trace: messaging_test.go:206 [2021-02-04T06:12:44.478Z] Error: Should be true [2021-02-04T06:12:44.478Z] Test: TestInitializeAndProcessEventWithNoOutput [2021-02-04T06:12:44.478Z] Messages: Transform never called [2021-02-04T06:12:44.478Z] --- FAIL: TestInitializeAndProcessEventWithOutput (3.30s) [2021-02-04T06:12:44.478Z] messaging_test.go:290: [2021-02-04T06:12:44.478Z] Error Trace: messaging_test.go:290 [2021-02-04T06:12:44.478Z] Error: Should be true [2021-02-04T06:12:44.478Z] Test: TestInitializeAndProcessEventWithOutput [2021-02-04T06:12:44.478Z] Messages: Transform never called [2021-02-04T06:12:44.478Z] --- FAIL: TestInitializeAndProcessEventWithOutput_InferJSON (3.30s) [2021-02-04T06:12:44.478Z] messaging_test.go:385: [2021-02-04T06:12:44.478Z] Error Trace: messaging_test.go:385 [2021-02-04T06:12:44.478Z] Error: Should be true [2021-02-04T06:12:44.478Z] Test: TestInitializeAndProcessEventWithOutput_InferJSON [2021-02-04T06:12:44.478Z] Messages: Transform never called [2021-02-04T06:12:44.478Z] --- FAIL: TestInitializeAndProcessEventWithOutput_AssumeCBOR (3.32s) [2021-02-04T06:12:44.478Z] messaging_test.go:477: [2021-02-04T06:12:44.478Z] Error Trace: messaging_test.go:477 [2021-02-04T06:12:44.478Z] Error: Should be true [2021-02-04T06:12:44.478Z] Test: TestInitializeAndProcessEventWithOutput_AssumeCBOR [2021-02-04T06:12:44.478Z] Messages: Transform never called [2021-02-04T06:12:44.478Z] --- FAIL: TestInitializeAndProcessEventMultipleTopics (3.30s) [2021-02-04T06:12:44.478Z] messaging_test.go:638: [2021-02-04T06:12:44.478Z] Error Trace: messaging_test.go:638 [2021-02-04T06:12:44.478Z] Error: Transform never called for t1 [2021-02-04T06:12:44.478Z] Test: TestInitializeAndProcessEventMultipleTopics [2021-02-04T06:12:44.478Z] FAIL [2021-02-04T06:12:44.478Z] coverage: 62.0% of statements [2021-02-04T06:12:44.478Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 16.896s [2021-02-04T06:12:44.478Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-02-04T06:12:44.478Z] --- FAIL: TestAddSecretRequest (0.01s) [2021-02-04T06:12:44.478Z] --- FAIL: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash (0.00s) [2021-02-04T06:12:44.478Z] controller_test.go:261: [2021-02-04T06:12:44.478Z] Error Trace: controller_test.go:261 [2021-02-04T06:12:44.478Z] Error: Not equal: [2021-02-04T06:12:44.478Z] expected: 201 [2021-02-04T06:12:44.478Z] actual : 400 [2021-02-04T06:12:44.478Z] Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash [2021-02-04T06:12:44.478Z] Messages: HTTP status code not as expected [2021-02-04T06:12:44.478Z] controller_test.go:263: [2021-02-04T06:12:44.478Z] Error Trace: controller_test.go:263 [2021-02-04T06:12:44.478Z] Error: Not equal: [2021-02-04T06:12:44.478Z] expected: 201 [2021-02-04T06:12:44.478Z] actual : 400 [2021-02-04T06:12:44.478Z] Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash [2021-02-04T06:12:44.478Z] Messages: BaseResponse status code not as expected [2021-02-04T06:12:44.478Z] controller_test.go:270: [2021-02-04T06:12:44.478Z] Error Trace: controller_test.go:270 [2021-02-04T06:12:44.479Z] Error: Not equal: [2021-02-04T06:12:44.479Z] expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-02-04T06:12:44.479Z] actual : "" [2021-02-04T06:12:44.479Z] [2021-02-04T06:12:44.479Z] Diff: [2021-02-04T06:12:44.479Z] --- Expected [2021-02-04T06:12:44.479Z] +++ Actual [2021-02-04T06:12:44.479Z] @@ -1 +1 @@ [2021-02-04T06:12:44.479Z] -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-04T06:12:44.479Z] + [2021-02-04T06:12:44.479Z] Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash [2021-02-04T06:12:44.479Z] Messages: RequestID not as expected [2021-02-04T06:12:44.479Z] controller_test.go:271: [2021-02-04T06:12:44.479Z] Error Trace: controller_test.go:271 [2021-02-04T06:12:44.479Z] Error: Should be empty, but was JSON decode failed [2021-02-04T06:12:44.479Z] Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash [2021-02-04T06:12:44.479Z] Messages: Message not empty, as expected [2021-02-04T06:12:44.479Z] --- FAIL: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash (0.00s) [2021-02-04T06:12:44.479Z] controller_test.go:261: [2021-02-04T06:12:44.479Z] Error Trace: controller_test.go:261 [2021-02-04T06:12:44.479Z] Error: Not equal: [2021-02-04T06:12:44.479Z] expected: 201 [2021-02-04T06:12:44.479Z] actual : 400 [2021-02-04T06:12:44.479Z] Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-04T06:12:44.479Z] Messages: HTTP status code not as expected [2021-02-04T06:12:44.479Z] controller_test.go:263: [2021-02-04T06:12:44.479Z] Error Trace: controller_test.go:263 [2021-02-04T06:12:44.479Z] Error: Not equal: [2021-02-04T06:12:44.479Z] expected: 201 [2021-02-04T06:12:44.479Z] actual : 400 [2021-02-04T06:12:44.479Z] Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-04T06:12:44.479Z] Messages: BaseResponse status code not as expected [2021-02-04T06:12:44.479Z] controller_test.go:270: [2021-02-04T06:12:44.479Z] Error Trace: controller_test.go:270 [2021-02-04T06:12:44.479Z] Error: Not equal: [2021-02-04T06:12:44.479Z] expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-02-04T06:12:44.479Z] actual : "" [2021-02-04T06:12:44.479Z] [2021-02-04T06:12:44.479Z] Diff: [2021-02-04T06:12:44.479Z] --- Expected [2021-02-04T06:12:44.479Z] +++ Actual [2021-02-04T06:12:44.479Z] @@ -1 +1 @@ [2021-02-04T06:12:44.479Z] -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-04T06:12:44.479Z] + [2021-02-04T06:12:44.479Z] Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-04T06:12:44.479Z] Messages: RequestID not as expected [2021-02-04T06:12:44.479Z] controller_test.go:271: [2021-02-04T06:12:44.479Z] Error Trace: controller_test.go:271 [2021-02-04T06:12:44.479Z] Error: Should be empty, but was JSON decode failed [2021-02-04T06:12:44.479Z] Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-04T06:12:44.479Z] Messages: Message not empty, as expected [2021-02-04T06:12:44.479Z] --- FAIL: TestAddSecretRequest/Valid_-_both_trailing_slashes (0.00s) [2021-02-04T06:12:44.479Z] controller_test.go:261: [2021-02-04T06:12:44.479Z] Error Trace: controller_test.go:261 [2021-02-04T06:12:44.479Z] Error: Not equal: [2021-02-04T06:12:44.479Z] expected: 201 [2021-02-04T06:12:44.479Z] actual : 400 [2021-02-04T06:12:44.479Z] Test: TestAddSecretRequest/Valid_-_both_trailing_slashes [2021-02-04T06:12:44.479Z] Messages: HTTP status code not as expected [2021-02-04T06:12:44.479Z] controller_test.go:263: [2021-02-04T06:12:44.479Z] Error Trace: controller_test.go:263 [2021-02-04T06:12:44.479Z] Error: Not equal: [2021-02-04T06:12:44.479Z] expected: 201 [2021-02-04T06:12:44.479Z] actual : 400 [2021-02-04T06:12:44.479Z] Test: TestAddSecretRequest/Valid_-_both_trailing_slashes [2021-02-04T06:12:44.479Z] Messages: BaseResponse status code not as expected [2021-02-04T06:12:44.479Z] controller_test.go:270: [2021-02-04T06:12:44.479Z] Error Trace: controller_test.go:270 [2021-02-04T06:12:44.479Z] Error: Not equal: [2021-02-04T06:12:44.479Z] expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-02-04T06:12:44.479Z] actual : "" [2021-02-04T06:12:44.479Z] [2021-02-04T06:12:44.479Z] Diff: [2021-02-04T06:12:44.479Z] --- Expected [2021-02-04T06:12:44.479Z] +++ Actual [2021-02-04T06:12:44.479Z] @@ -1 +1 @@ [2021-02-04T06:12:44.479Z] -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-04T06:12:44.479Z] + [2021-02-04T06:12:44.479Z] Test: TestAddSecretRequest/Valid_-_both_trailing_slashes [2021-02-04T06:12:44.479Z] Messages: RequestID not as expected [2021-02-04T06:12:44.479Z] controller_test.go:271: [2021-02-04T06:12:44.479Z] Error Trace: controller_test.go:271 [2021-02-04T06:12:44.479Z] Error: Should be empty, but was JSON decode failed [2021-02-04T06:12:44.479Z] Test: TestAddSecretRequest/Valid_-_both_trailing_slashes [2021-02-04T06:12:44.479Z] Messages: Message not empty, as expected [2021-02-04T06:12:44.479Z] --- FAIL: TestAddSecretRequest/Valid_-_no_requestId (0.00s) [2021-02-04T06:12:44.479Z] controller_test.go:261: [2021-02-04T06:12:44.479Z] Error Trace: controller_test.go:261 [2021-02-04T06:12:44.479Z] Error: Not equal: [2021-02-04T06:12:44.479Z] expected: 201 [2021-02-04T06:12:44.479Z] actual : 400 [2021-02-04T06:12:44.479Z] Test: TestAddSecretRequest/Valid_-_no_requestId [2021-02-04T06:12:44.479Z] Messages: HTTP status code not as expected [2021-02-04T06:12:44.479Z] controller_test.go:263: [2021-02-04T06:12:44.479Z] Error Trace: controller_test.go:263 [2021-02-04T06:12:44.479Z] Error: Not equal: [2021-02-04T06:12:44.479Z] expected: 201 [2021-02-04T06:12:44.479Z] actual : 400 [2021-02-04T06:12:44.479Z] Test: TestAddSecretRequest/Valid_-_no_requestId [2021-02-04T06:12:44.479Z] Messages: BaseResponse status code not as expected [2021-02-04T06:12:44.479Z] controller_test.go:271: [2021-02-04T06:12:44.479Z] Error Trace: controller_test.go:271 [2021-02-04T06:12:44.479Z] Error: Should be empty, but was JSON decode failed [2021-02-04T06:12:44.479Z] Test: TestAddSecretRequest/Valid_-_no_requestId [2021-02-04T06:12:44.479Z] Messages: Message not empty, as expected [2021-02-04T06:12:44.479Z] --- FAIL: TestAddSecretRequest/Invalid_-_No_Secret_Store (0.00s) [2021-02-04T06:12:44.479Z] controller_test.go:261: [2021-02-04T06:12:44.479Z] Error Trace: controller_test.go:261 [2021-02-04T06:12:44.479Z] Error: Not equal: [2021-02-04T06:12:44.479Z] expected: 500 [2021-02-04T06:12:44.479Z] actual : 400 [2021-02-04T06:12:44.479Z] Test: TestAddSecretRequest/Invalid_-_No_Secret_Store [2021-02-04T06:12:44.479Z] Messages: HTTP status code not as expected [2021-02-04T06:12:44.479Z] controller_test.go:263: [2021-02-04T06:12:44.479Z] Error Trace: controller_test.go:263 [2021-02-04T06:12:44.479Z] Error: Not equal: [2021-02-04T06:12:44.479Z] expected: 500 [2021-02-04T06:12:44.479Z] actual : 400 [2021-02-04T06:12:44.479Z] Test: TestAddSecretRequest/Invalid_-_No_Secret_Store [2021-02-04T06:12:44.479Z] Messages: BaseResponse status code not as expected [2021-02-04T06:12:44.479Z] FAIL [2021-02-04T06:12:44.479Z] coverage: 63.8% of statements [2021-02-04T06:12:44.479Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.070s [2021-02-04T06:12:44.479Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.040s coverage: 80.5% of statements [2021-02-04T06:12:44.479Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.022s coverage: 71.7% of statements [2021-02-04T06:12:56.895Z] --- FAIL: TestTransformToJSON (0.00s) [2021-02-04T06:12:56.895Z] conversion_test.go:130: [2021-02-04T06:12:56.895Z] Error Trace: conversion_test.go:130 [2021-02-04T06:12:56.895Z] Error: Not equal: [2021-02-04T06:12:56.895Z] expected: "{\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" [2021-02-04T06:12:56.895Z] actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" [2021-02-04T06:12:56.895Z] [2021-02-04T06:12:56.896Z] Diff: [2021-02-04T06:12:56.896Z] --- Expected [2021-02-04T06:12:56.896Z] +++ Actual [2021-02-04T06:12:56.896Z] @@ -1 +1 @@ [2021-02-04T06:12:56.896Z] -{"id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} [2021-02-04T06:12:56.896Z] +{"apiVersion":"","id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} [2021-02-04T06:12:56.896Z] Test: TestTransformToJSON [2021-02-04T06:12:56.896Z] --- FAIL: TestTransformToJSONMultipleParametersValid (0.00s) [2021-02-04T06:12:56.896Z] conversion_test.go:157: [2021-02-04T06:12:56.896Z] Error Trace: conversion_test.go:157 [2021-02-04T06:12:56.896Z] Error: Not equal: [2021-02-04T06:12:56.896Z] expected: "{\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" [2021-02-04T06:12:56.896Z] actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" [2021-02-04T06:12:56.896Z] [2021-02-04T06:12:56.896Z] Diff: [2021-02-04T06:12:56.896Z] --- Expected [2021-02-04T06:12:56.896Z] +++ Actual [2021-02-04T06:12:56.896Z] @@ -1 +1 @@ [2021-02-04T06:12:56.896Z] -{"id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} [2021-02-04T06:12:56.896Z] +{"apiVersion":"","id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} [2021-02-04T06:12:56.896Z] Test: TestTransformToJSONMultipleParametersValid [2021-02-04T06:12:56.896Z] --- FAIL: TestTransformToJSONMultipleParametersTwoEvents (0.00s) [2021-02-04T06:12:56.896Z] conversion_test.go:175: [2021-02-04T06:12:56.896Z] Error Trace: conversion_test.go:175 [2021-02-04T06:12:56.896Z] Error: Not equal: [2021-02-04T06:12:56.896Z] expected: "{\"id\":\"\",\"deviceName\":\"id2\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" [2021-02-04T06:12:56.896Z] actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"id2\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" [2021-02-04T06:12:56.896Z] [2021-02-04T06:12:56.896Z] Diff: [2021-02-04T06:12:56.896Z] --- Expected [2021-02-04T06:12:56.896Z] +++ Actual [2021-02-04T06:12:56.896Z] @@ -1 +1 @@ [2021-02-04T06:12:56.896Z] -{"id":"","deviceName":"id2","profileName":"","created":0,"origin":0,"readings":null} [2021-02-04T06:12:56.896Z] +{"apiVersion":"","id":"","deviceName":"id2","profileName":"","created":0,"origin":0,"readings":null} [2021-02-04T06:12:56.896Z] Test: TestTransformToJSONMultipleParametersTwoEvents [2021-02-04T06:12:56.896Z] FAIL [2021-02-04T06:12:56.896Z] coverage: 81.4% of statements [2021-02-04T06:12:56.896Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.073s [2021-02-04T06:12:56.896Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.024s coverage: 94.4% of statements [2021-02-04T06:12:56.896Z] FAIL [2021-02-04T06:12:56.896Z] make: *** [Makefile:6: test] Error 1 [Pipeline] } [2021-02-04T06:12:56.951Z] $ docker stop --time=1 314530725c44437ffa3e06a894dd1250ccbc18c8ba4921834b4ea205edd07a42 [2021-02-04T06:12:59.003Z] $ docker rm -f 314530725c44437ffa3e06a894dd1250ccbc18c8ba4921834b4ea205edd07a42 [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:13:01.448Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-02-04T06:13:05.412Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T06:13:05.760Z] ---> package-listing.sh [2021-02-04T06:13:05.760Z] ++ facter osfamily [2021-02-04T06:13:05.760Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-04T06:13:05.760Z] + OS_FAMILY=redhat [2021-02-04T06:13:05.760Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-676 [2021-02-04T06:13:05.760Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-04T06:13:05.760Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-04T06:13:05.760Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-04T06:13:05.760Z] + PACKAGES=/tmp/packages_start.txt [2021-02-04T06:13:05.760Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-676 ']' [2021-02-04T06:13:05.760Z] + PACKAGES=/tmp/packages_end.txt [2021-02-04T06:13:05.760Z] + case "${OS_FAMILY}" in [2021-02-04T06:13:05.760Z] + rpm -qa [2021-02-04T06:13:05.760Z] + sort [2021-02-04T06:13:11.083Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-04T06:13:11.083Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-04T06:13:11.083Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-04T06:13:11.083Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-676 ']' [2021-02-04T06:13:11.083Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-676/archives/ [2021-02-04T06:13:11.083Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-676/archives/ [Pipeline] echo [2021-02-04T06:13:11.124Z] 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-676/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:13:11.439Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-04T06:13:11.784Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-04T06:13:11.784Z] [2021-02-04T06:13:11.784Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-04T06:13:12.210Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-04T06:13:12.210Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-04T06:13:12.210Z] df20fa9351a1: Pulling fs layer [2021-02-04T06:13:12.210Z] 36b3adc4ff6f: Pulling fs layer [2021-02-04T06:13:12.210Z] 8ad3a11d3b57: Pulling fs layer [2021-02-04T06:13:12.210Z] 46f8f816bc3b: Pulling fs layer [2021-02-04T06:13:12.210Z] 93b61091891f: Pulling fs layer [2021-02-04T06:13:12.210Z] 93b9cdb0e59b: Pulling fs layer [2021-02-04T06:13:12.210Z] 5e14af77c1be: Pulling fs layer [2021-02-04T06:13:12.210Z] 01666e4c0597: Pulling fs layer [2021-02-04T06:13:12.210Z] aa168da1d23b: Pulling fs layer [2021-02-04T06:13:12.210Z] 46f8f816bc3b: Waiting [2021-02-04T06:13:12.210Z] 5e14af77c1be: Waiting [2021-02-04T06:13:12.210Z] 93b61091891f: Waiting [2021-02-04T06:13:12.210Z] 01666e4c0597: Waiting [2021-02-04T06:13:12.210Z] 93b9cdb0e59b: Waiting [2021-02-04T06:13:12.210Z] aa168da1d23b: Waiting [2021-02-04T06:13:12.210Z] 36b3adc4ff6f: Verifying Checksum [2021-02-04T06:13:12.210Z] 36b3adc4ff6f: Download complete [2021-02-04T06:13:12.210Z] 46f8f816bc3b: Verifying Checksum [2021-02-04T06:13:12.210Z] 46f8f816bc3b: Download complete [2021-02-04T06:13:12.479Z] df20fa9351a1: Verifying Checksum [2021-02-04T06:13:12.479Z] df20fa9351a1: Download complete [2021-02-04T06:13:12.479Z] 93b9cdb0e59b: Verifying Checksum [2021-02-04T06:13:12.479Z] 93b9cdb0e59b: Download complete [2021-02-04T06:13:12.479Z] 5e14af77c1be: Verifying Checksum [2021-02-04T06:13:12.479Z] 5e14af77c1be: Download complete [2021-02-04T06:13:12.479Z] 01666e4c0597: Verifying Checksum [2021-02-04T06:13:12.479Z] 01666e4c0597: Download complete [2021-02-04T06:13:12.746Z] df20fa9351a1: Pull complete [2021-02-04T06:13:13.015Z] 36b3adc4ff6f: Pull complete [2021-02-04T06:13:13.015Z] 93b61091891f: Download complete [2021-02-04T06:13:13.289Z] 8ad3a11d3b57: Verifying Checksum [2021-02-04T06:13:13.289Z] 8ad3a11d3b57: Download complete [2021-02-04T06:13:14.240Z] 8ad3a11d3b57: Pull complete [2021-02-04T06:13:14.815Z] aa168da1d23b: Download complete [2021-02-04T06:13:15.766Z] 46f8f816bc3b: Pull complete [2021-02-04T06:13:16.030Z] 93b61091891f: Pull complete [2021-02-04T06:13:16.295Z] 93b9cdb0e59b: Pull complete [2021-02-04T06:13:16.295Z] 5e14af77c1be: Pull complete [2021-02-04T06:13:16.295Z] 01666e4c0597: Pull complete [2021-02-04T06:13:22.942Z] aa168da1d23b: Pull complete [2021-02-04T06:13:22.942Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-04T06:13:22.942Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-04T06:13:22.942Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-04T06:13:23.095Z] prd-centos7-docker-4c-2g-24928 does not seem to be running inside a container [2021-02-04T06:13:23.158Z] $ 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-676/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-676 -v /w/workspace/ndry_app-functions-sdk-go_PR-676:/w/workspace/ndry_app-functions-sdk-go_PR-676:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-676@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-676@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:13:26.632Z] $ docker top 0bf3d2a5f8badaa58d8553b3b605d36c168fcdfbd5684fe5ee24996506b042d1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-04T06:13:27.153Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-04T06:13:27.475Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-04T06:13:27.797Z] + ls /var/log/sa-host [2021-02-04T06:13:27.797Z] + sadf -c /var/log/sa-host/sa04 [2021-02-04T06:13:27.797Z] file_magic: OK [2021-02-04T06:13:27.797Z] HZ: Using current value: 100 [2021-02-04T06:13:27.797Z] file_header: OK [2021-02-04T06:13:27.797Z] 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:13:27.797Z] Statistics: [2021-02-04T06:13:27.797Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-04T06:13:27.797Z] File successfully converted to sysstat format version 12.2.1 [2021-02-04T06:13:27.797Z] + sadf -c /var/log/sa-host/sa23 [2021-02-04T06:13:27.797Z] file_magic: OK [2021-02-04T06:13:27.797Z] HZ: Using current value: 100 [2021-02-04T06:13:27.797Z] file_header: OK [2021-02-04T06:13:27.797Z] 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:13:27.797Z] Statistics: [2021-02-04T06:13:27.797Z] Hnuu...uuuununununu... [2021-02-04T06:13:27.797Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-04T06:13:28.085Z] provisioning config files... [2021-02-04T06:13:28.110Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-676@tmp/config1224889055511852843tmp [Pipeline] { [Pipeline] echo [2021-02-04T06:13:28.233Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T06:13:28.569Z] ---> create-netrc.sh [Pipeline] } [2021-02-04T06:13:28.597Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-04T06:13:28.777Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T06:13:29.114Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-04T06:13:29.144Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T06:13:29.479Z] ---> sudo-logs.sh [2021-02-04T06:13:29.479Z] Archiving 'sudo' log.. [Pipeline] echo [2021-02-04T06:13:29.514Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T06:13:29.853Z] ---> job-cost.sh [2021-02-04T06:13:30.120Z] lf-activate-venv: SKIPPING [2021-02-04T06:13:30.120Z] INFO: No Stack... [2021-02-04T06:13:31.064Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-04T06:13:31.639Z] INFO: Archiving Costs [Pipeline] echo [2021-02-04T06:13:31.688Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T06:13:32.022Z] ---> logs-deploy.sh [2021-02-04T06:13:32.022Z] lf-activate-venv: SKIPPING [2021-02-04T06:13:32.022Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-676/1 [2021-02-04T06:13:32.022Z] INFO: archiving workspace using pattern(s): [2021-02-04T06:13:33.414Z] Archives upload complete. [2021-02-04T06:13:33.675Z] INFO: archiving logs to Nexus [2021-02-04T06:13:34.622Z] ---> uname -a: [2021-02-04T06:13:34.622Z] Linux prd-centos7-docker-4c-2g-24928.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:13:34.622Z] [2021-02-04T06:13:34.622Z] [2021-02-04T06:13:34.622Z] ---> lscpu: [2021-02-04T06:13:34.622Z] Architecture: x86_64 [2021-02-04T06:13:34.622Z] CPU op-mode(s): 32-bit, 64-bit [2021-02-04T06:13:34.622Z] Byte Order: Little Endian [2021-02-04T06:13:34.622Z] Address sizes: 40 bits physical, 48 bits virtual [2021-02-04T06:13:34.622Z] CPU(s): 4 [2021-02-04T06:13:34.622Z] On-line CPU(s) list: 0-3 [2021-02-04T06:13:34.622Z] Thread(s) per core: 1 [2021-02-04T06:13:34.622Z] Core(s) per socket: 1 [2021-02-04T06:13:34.622Z] Socket(s): 4 [2021-02-04T06:13:34.622Z] NUMA node(s): 1 [2021-02-04T06:13:34.622Z] Vendor ID: GenuineIntel [2021-02-04T06:13:34.622Z] CPU family: 6 [2021-02-04T06:13:34.622Z] Model: 44 [2021-02-04T06:13:34.622Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2021-02-04T06:13:34.622Z] Stepping: 1 [2021-02-04T06:13:34.622Z] CPU MHz: 2933.438 [2021-02-04T06:13:34.622Z] BogoMIPS: 5866.87 [2021-02-04T06:13:34.622Z] Virtualization: VT-x [2021-02-04T06:13:34.622Z] Hypervisor vendor: KVM [2021-02-04T06:13:34.622Z] Virtualization type: full [2021-02-04T06:13:34.622Z] L1d cache: 128 KiB [2021-02-04T06:13:34.622Z] L1i cache: 128 KiB [2021-02-04T06:13:34.622Z] L2 cache: 16 MiB [2021-02-04T06:13:34.622Z] L3 cache: 64 MiB [2021-02-04T06:13:34.622Z] NUMA node0 CPU(s): 0-3 [2021-02-04T06:13:34.622Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2021-02-04T06:13:34.622Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2021-02-04T06:13:34.622Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2021-02-04T06:13:34.622Z] Vulnerability Meltdown: Mitigation; PTI [2021-02-04T06:13:34.622Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-02-04T06:13:34.622Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-02-04T06:13:34.622Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-02-04T06:13:34.622Z] Vulnerability Srbds: Not affected [2021-02-04T06:13:34.622Z] Vulnerability Tsx async abort: Not affected [2021-02-04T06:13:34.622Z] 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:13:34.622Z] [2021-02-04T06:13:34.622Z] [2021-02-04T06:13:34.622Z] ---> nproc: [2021-02-04T06:13:34.622Z] 4 [2021-02-04T06:13:34.622Z] [2021-02-04T06:13:34.622Z] [2021-02-04T06:13:34.622Z] ---> df -h: [2021-02-04T06:13:34.622Z] Filesystem Size Used Available Use% Mounted on [2021-02-04T06:13:34.622Z] overlay 50.0G 7.3G 42.7G 15% / [2021-02-04T06:13:34.622Z] tmpfs 64.0M 0 64.0M 0% /dev [2021-02-04T06:13:34.622Z] tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup [2021-02-04T06:13:34.622Z] shm 64.0M 0 64.0M 0% /dev/shm [2021-02-04T06:13:34.622Z] /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os [2021-02-04T06:13:34.622Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf [2021-02-04T06:13:34.622Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname [2021-02-04T06:13:34.622Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts [2021-02-04T06:13:34.622Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log [2021-02-04T06:13:34.622Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/ndry_app-functions-sdk-go_PR-676 [2021-02-04T06:13:34.622Z] /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json [2021-02-04T06:13:34.622Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/ndry_app-functions-sdk-go_PR-676@tmp [2021-02-04T06:13:34.622Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host [2021-02-04T06:13:34.622Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure [2021-02-04T06:13:34.622Z] [2021-02-04T06:13:34.622Z] [2021-02-04T06:13:34.622Z] ---> free -m: [2021-02-04T06:13:34.622Z] total used free shared buff/cache available [2021-02-04T06:13:34.622Z] Mem: 1837 705 68 0 1063 1027 [2021-02-04T06:13:34.622Z] Swap: 1023 1 1022 [2021-02-04T06:13:34.622Z] [2021-02-04T06:13:34.622Z] [2021-02-04T06:13:34.622Z] ---> ip addr: [2021-02-04T06:13:34.622Z] 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 [2021-02-04T06:13:34.622Z] link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 [2021-02-04T06:13:34.622Z] inet 127.0.0.1/8 scope host lo [2021-02-04T06:13:34.622Z] valid_lft forever preferred_lft forever [2021-02-04T06:13:34.622Z] inet6 ::1/128 scope host [2021-02-04T06:13:34.622Z] valid_lft forever preferred_lft forever [2021-02-04T06:13:34.622Z] 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 [2021-02-04T06:13:34.622Z] link/ether fa:16:3e:1a:ab:7c brd ff:ff:ff:ff:ff:ff [2021-02-04T06:13:34.622Z] inet 10.30.123.158/23 brd 10.30.123.255 scope global dynamic eth0 [2021-02-04T06:13:34.622Z] valid_lft 85956sec preferred_lft 85956sec [2021-02-04T06:13:34.622Z] inet6 fe80::f816:3eff:fe1a:ab7c/64 scope link [2021-02-04T06:13:34.622Z] valid_lft forever preferred_lft forever [2021-02-04T06:13:34.622Z] 3: docker0: mtu 1500 qdisc noqueue state DOWN [2021-02-04T06:13:34.622Z] link/ether 02:42:57:dc:6a:8f brd ff:ff:ff:ff:ff:ff [2021-02-04T06:13:34.622Z] inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 [2021-02-04T06:13:34.622Z] valid_lft forever preferred_lft forever [2021-02-04T06:13:34.622Z] inet6 fe80::42:57ff:fedc:6a8f/64 scope link [2021-02-04T06:13:34.622Z] valid_lft forever preferred_lft forever [2021-02-04T06:13:34.622Z] [2021-02-04T06:13:34.622Z] [2021-02-04T06:13:34.622Z] ---> sar -b -r -n DEV: [2021-02-04T06:13:34.622Z] 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:13:34.622Z] [2021-02-04T06:13:34.622Z] 06:05:58 LINUX RESTART (4 CPU) [2021-02-04T06:13:34.622Z] [2021-02-04T06:13:34.622Z] 06:07:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s [2021-02-04T06:13:34.622Z] 06:08:01 9.48 2.51 6.97 0.00 202.74 1321.84 0.00 [2021-02-04T06:13:34.622Z] 06:09:01 0.40 0.00 0.40 0.00 0.00 6.71 0.00 [2021-02-04T06:13:34.622Z] 06:10:01 0.25 0.00 0.25 0.00 0.00 2.58 0.00 [2021-02-04T06:13:34.622Z] 06:11:01 0.17 0.00 0.17 0.00 0.00 2.15 0.00 [2021-02-04T06:13:34.622Z] 06:12:01 0.32 0.00 0.32 0.00 0.00 4.55 0.00 [2021-02-04T06:13:34.622Z] 06:13:02 0.28 0.00 0.28 0.00 0.00 2.86 0.00 [2021-02-04T06:13:34.622Z] Average: 1.80 0.41 1.38 0.00 33.33 220.46 0.00 [2021-02-04T06:13:34.622Z] [2021-02-04T06:13:34.622Z] 06:07:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2021-02-04T06:13:34.622Z] 06:08:01 229368 0 573864 30.50 2620 1075692 1107244 37.79 381052 1073400 20 [2021-02-04T06:13:34.622Z] 06:09:01 229684 0 573540 30.48 2620 1075700 1076360 36.73 388772 1064996 8 [2021-02-04T06:13:34.622Z] 06:10:01 229664 0 573556 30.48 2620 1075704 1076396 36.74 397628 1056496 8 [2021-02-04T06:13:34.622Z] 06:11:01 229348 0 573872 30.50 2620 1075704 1076192 36.73 400516 1054220 8 [2021-02-04T06:13:34.622Z] 06:12:01 228592 0 574620 30.54 2620 1075712 1076276 36.73 398632 1056796 8 [2021-02-04T06:13:34.622Z] 06:13:02 227380 0 575828 30.60 2620 1075716 1076192 36.73 425924 1031228 8 [2021-02-04T06:13:34.622Z] Average: 229006 0 574213 30.52 2620 1075705 1081443 36.91 398754 1056189 10 [2021-02-04T06:13:34.622Z] [2021-02-04T06:13:34.622Z] 06:07:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2021-02-04T06:13:34.623Z] 06:08:01 eth0 93.67 121.40 324.51 15.04 0.00 0.00 0.00 0.00 [2021-02-04T06:13:34.623Z] 06:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-02-04T06:13:34.623Z] 06:08:01 docker0 113.80 81.24 9.25 309.99 0.00 0.00 0.00 0.00 [2021-02-04T06:13:34.623Z] 06:09:01 eth0 1.63 0.33 0.36 0.20 0.00 0.00 0.00 0.00 [2021-02-04T06:13:34.623Z] 06:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-02-04T06:13:34.623Z] 06:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-02-04T06:13:34.623Z] 06:10:01 eth0 2.03 0.73 0.87 0.55 0.00 0.00 0.00 0.00 [2021-02-04T06:13:34.623Z] 06:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-02-04T06:13:34.623Z] 06:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-02-04T06:13:34.623Z] 06:11:01 eth0 0.08 0.08 0.01 0.04 0.00 0.00 0.00 0.00 [2021-02-04T06:13:34.623Z] 06:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-02-04T06:13:34.623Z] 06:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-02-04T06:13:34.623Z] 06:12:01 eth0 0.27 0.15 0.14 0.07 0.00 0.00 0.00 0.00 [2021-02-04T06:13:34.623Z] 06:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-02-04T06:13:34.623Z] 06:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-02-04T06:13:34.623Z] 06:13:02 eth0 0.08 0.03 0.01 0.00 0.00 0.00 0.00 0.00 [2021-02-04T06:13:34.623Z] 06:13:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-02-04T06:13:34.623Z] 06:13:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-02-04T06:13:34.623Z] Average: eth0 16.08 20.18 53.58 2.62 0.00 0.00 0.00 0.00 [2021-02-04T06:13:34.623Z] Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-02-04T06:13:34.623Z] Average: docker0 18.71 13.36 1.52 50.96 0.00 0.00 0.00 0.00 [2021-02-04T06:13:34.623Z] [2021-02-04T06:13:34.623Z] [2021-02-04T06:13:34.623Z] ---> sar -P ALL: [2021-02-04T06:13:34.623Z] 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:13:34.623Z] [2021-02-04T06:13:34.623Z] 06:05:58 LINUX RESTART (4 CPU) [2021-02-04T06:13:34.623Z] [2021-02-04T06:13:34.623Z] 06:07:02 CPU %user %nice %system %iowait %steal %idle [2021-02-04T06:13:34.623Z] 06:08:01 all 1.53 0.00 0.64 0.08 0.00 97.74 [2021-02-04T06:13:34.623Z] 06:08:01 0 2.26 0.00 0.87 0.08 0.00 96.79 [2021-02-04T06:13:34.623Z] 06:08:01 1 0.80 0.00 0.58 0.14 0.02 98.47 [2021-02-04T06:13:34.623Z] 06:08:01 2 2.32 0.00 0.59 0.03 0.00 97.05 [2021-02-04T06:13:34.623Z] 06:08:01 3 0.73 0.00 0.53 0.08 0.00 98.66 [2021-02-04T06:13:34.623Z] 06:09:01 all 0.17 0.00 0.05 0.00 0.00 99.78 [2021-02-04T06:13:34.623Z] 06:09:01 0 0.07 0.00 0.03 0.00 0.00 99.90 [2021-02-04T06:13:34.623Z] 06:09:01 1 0.03 0.00 0.05 0.00 0.00 99.92 [2021-02-04T06:13:34.623Z] 06:09:01 2 0.52 0.00 0.08 0.00 0.00 99.40 [2021-02-04T06:13:34.623Z] 06:09:01 3 0.05 0.00 0.05 0.00 0.00 99.90 [2021-02-04T06:13:34.623Z] 06:10:01 all 0.16 0.00 0.05 0.00 0.00 99.78 [2021-02-04T06:13:34.623Z] 06:10:01 0 0.03 0.00 0.02 0.00 0.00 99.95 [2021-02-04T06:13:34.623Z] 06:10:01 1 0.08 0.00 0.07 0.00 0.00 99.85 [2021-02-04T06:13:34.623Z] 06:10:01 2 0.47 0.00 0.08 0.00 0.00 99.45 [2021-02-04T06:13:34.623Z] 06:10:01 3 0.05 0.00 0.05 0.00 0.02 99.88 [2021-02-04T06:13:34.623Z] 06:11:01 all 0.15 0.00 0.04 0.00 0.00 99.82 [2021-02-04T06:13:34.623Z] 06:11:01 0 0.02 0.00 0.03 0.00 0.00 99.95 [2021-02-04T06:13:34.623Z] 06:11:01 1 0.03 0.00 0.05 0.00 0.00 99.92 [2021-02-04T06:13:34.623Z] 06:11:01 2 0.50 0.00 0.05 0.00 0.00 99.45 [2021-02-04T06:13:34.623Z] 06:11:01 3 0.03 0.00 0.02 0.00 0.00 99.95 [2021-02-04T06:13:34.623Z] 06:12:01 all 0.20 0.00 0.22 0.00 0.01 99.58 [2021-02-04T06:13:34.623Z] 06:12:01 0 0.07 0.00 0.18 0.00 0.02 99.73 [2021-02-04T06:13:34.623Z] 06:12:01 1 0.12 0.00 0.22 0.00 0.02 99.65 [2021-02-04T06:13:34.623Z] 06:12:01 2 0.55 0.00 0.33 0.00 0.00 99.12 [2021-02-04T06:13:34.623Z] 06:12:01 3 0.05 0.00 0.13 0.00 0.00 99.82 [2021-02-04T06:13:34.623Z] 06:13:02 all 0.15 0.00 0.08 0.00 0.00 99.77 [2021-02-04T06:13:34.623Z] 06:13:02 0 0.00 0.00 0.02 0.00 0.00 99.98 [2021-02-04T06:13:34.623Z] 06:13:02 1 0.15 0.00 0.03 0.00 0.00 99.82 [2021-02-04T06:13:34.623Z] 06:13:02 2 0.38 0.00 0.20 0.00 0.00 99.42 [2021-02-04T06:13:34.623Z] 06:13:02 3 0.07 0.00 0.07 0.00 0.00 99.87 [2021-02-04T06:13:34.623Z] Average: all 0.39 0.00 0.18 0.01 0.00 99.42 [2021-02-04T06:13:34.623Z] Average: 0 0.40 0.00 0.19 0.01 0.00 99.39 [2021-02-04T06:13:34.623Z] Average: 1 0.20 0.00 0.16 0.02 0.01 99.61 [2021-02-04T06:13:34.623Z] Average: 2 0.79 0.00 0.22 0.01 0.00 98.99 [2021-02-04T06:13:34.623Z] Average: 3 0.16 0.00 0.14 0.01 0.00 99.68 [2021-02-04T06:13:34.623Z] [2021-02-04T06:13:34.623Z] [2021-02-04T06:13:34.623Z]