Pull request #681 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 8aee3e0f6e7e067a4820660dd6abde96f829860e+fc40647c9a5a0500e2956cf52a4e5c076e69792e (7132ed0ef4cdc7a519a49340a330476269818d82) 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-681/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-681/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-functions-sdk-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-25513 in /w/workspace/ndry_app-functions-sdk-go_PR-681 [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-681 # 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 8aee3e0f6e7e067a4820660dd6abde96f829860e > 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/681/head:refs/remotes/origin/PR-681 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8aee3e0f6e7e067a4820660dd6abde96f829860e # timeout=10 Merge succeeded, producing 8aee3e0f6e7e067a4820660dd6abde96f829860e Checking out Revision 8aee3e0f6e7e067a4820660dd6abde96f829860e (PR-681) > 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 8aee3e0f6e7e067a4820660dd6abde96f829860e # 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-08T08:17:14.484Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-08T08:17:14.843Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-08T08:17:15.112Z] ========================================================= [2021-02-08T08:17:15.112Z] EdgeX Global Pipelines Version Info [2021-02-08T08:17:15.113Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-08T08:17:16.649Z] ------------------- [2021-02-08T08:17:16.649Z] stable info: [2021-02-08T08:17:16.649Z] ------------------- [2021-02-08T08:17:16.649Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-08T08:17:16.649Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-08T08:17:16.649Z] Message: update stable to v1.0.179 [2021-02-08T08:17:17.607Z] ------------------- [2021-02-08T08:17:17.607Z] experimental info: [2021-02-08T08:17:17.607Z] ------------------- [2021-02-08T08:17:17.607Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-08T08:17:17.607Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-08T08:17:17.607Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-08T08:17:17.999Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-02-08T08:17:18.128Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-02-08T08:17:18.245Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-08T08:17:18.364Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-08T08:17:18.482Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-08T08:17:18.614Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-08T08:17:18.742Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-08T08:17:18.862Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-08T08:17:18.983Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-02-08T08:17:19.107Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-08T08:17:19.222Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-08T08:17:19.334Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2021-02-08T08:17:19.445Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-08T08:17:19.565Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-08T08:17:19.686Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-02-08T08:17:19.807Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-08T08:17:19.926Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-08T08:17:20.043Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-08T08:17:20.174Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-08T08:17:20.313Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-08T08:17:20.452Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-02-08T08:17:20.619Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-02-08T08:17:20.747Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-08T08:17:20.864Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-08T08:17:20.980Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-02-08T08:17:21.109Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-02-08T08:17:21.267Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-02-08T08:17:21.406Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-681 [Pipeline] echo [2021-02-08T08:17:21.526Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-681 [Pipeline] echo [2021-02-08T08:17:21.651Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-681 [Pipeline] echo [2021-02-08T08:17:21.773Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8aee3e0f6e7e067a4820660dd6abde96f829860e [Pipeline] echo [2021-02-08T08:17:21.905Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8aee3e0 [Pipeline] echo [2021-02-08T08:17:22.022Z] [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-08T08:17:22.870Z] + git log --format=format:%s -1 8aee3e0f6e7e067a4820660dd6abde96f829860e [Pipeline] echo [2021-02-08T08:17:22.956Z] GIT_COMMIT: 8aee3e0f6e7e067a4820660dd6abde96f829860e, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-02-08T08:17:23.023Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-08T08:17:23.660Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-08T08:17:23.935Z] [2021-02-08T08:17:23.935Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-08T08:17:24.355Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-08T08:17:24.355Z] latest: Pulling from edgex-devops/git-semver [2021-02-08T08:17:24.355Z] 31603596830f: Pulling fs layer [2021-02-08T08:17:24.355Z] 2a8b12db71e7: Pulling fs layer [2021-02-08T08:17:24.355Z] 6ca5941a6612: Pulling fs layer [2021-02-08T08:17:24.355Z] ecc8261a40a4: Pulling fs layer [2021-02-08T08:17:24.355Z] 2a8b12db71e7: Verifying Checksum [2021-02-08T08:17:24.355Z] 2a8b12db71e7: Download complete [2021-02-08T08:17:24.355Z] 31603596830f: Verifying Checksum [2021-02-08T08:17:24.355Z] 31603596830f: Download complete [2021-02-08T08:17:24.622Z] ecc8261a40a4: Verifying Checksum [2021-02-08T08:17:24.622Z] ecc8261a40a4: Download complete [2021-02-08T08:17:24.622Z] 6ca5941a6612: Verifying Checksum [2021-02-08T08:17:24.622Z] 6ca5941a6612: Download complete [2021-02-08T08:17:24.884Z] 31603596830f: Pull complete [2021-02-08T08:17:24.884Z] 2a8b12db71e7: Pull complete [2021-02-08T08:17:25.836Z] 6ca5941a6612: Pull complete [2021-02-08T08:17:26.104Z] ecc8261a40a4: Pull complete [2021-02-08T08:17:26.104Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-08T08:17:26.104Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-08T08:17:26.104Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-08T08:17:26.238Z] prd-centos7-docker-4c-2g-25513 does not seem to be running inside a container [2021-02-08T08:17:26.295Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-681 -v /w/workspace/ndry_app-functions-sdk-go_PR-681:/w/workspace/ndry_app-functions-sdk-go_PR-681:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-681@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-681@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-08T08:17:28.765Z] $ docker top 65f26c411ea82e02e1b9d00a818cc102f6306e0d037d3e4611bd0a145dfccb61 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-08T08:17:29.239Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-08T08:17:29.239Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-08T08:17:29.487Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-08T08:17:29.491Z] $ docker exec 65f26c411ea82e02e1b9d00a818cc102f6306e0d037d3e4611bd0a145dfccb61 ssh-agent [2021-02-08T08:17:29.677Z] SSH_AUTH_SOCK=/tmp/ssh-zpUeW7InrvSv/agent.12 [2021-02-08T08:17:29.677Z] SSH_AGENT_PID=17 [2021-02-08T08:17:29.695Z] Running ssh-add (command line suppressed) [2021-02-08T08:17:29.829Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-681@tmp/private_key_2314704003913095422.key (/w/workspace/ndry_app-functions-sdk-go_PR-681@tmp/private_key_2314704003913095422.key) [2021-02-08T08:17:29.898Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-08T08:17:30.286Z] + git tag --points-at HEAD [Pipeline] } [2021-02-08T08:17:30.319Z] $ docker exec --env ******** --env ******** 65f26c411ea82e02e1b9d00a818cc102f6306e0d037d3e4611bd0a145dfccb61 ssh-agent -k [2021-02-08T08:17:30.446Z] unset SSH_AUTH_SOCK; [2021-02-08T08:17:30.447Z] unset SSH_AGENT_PID; [2021-02-08T08:17:30.447Z] echo Agent pid 17 killed; [2021-02-08T08:17:30.498Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-08T08:17:30.784Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-08T08:17:30.784Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-08T08:17:30.970Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-08T08:17:30.974Z] $ docker exec 65f26c411ea82e02e1b9d00a818cc102f6306e0d037d3e4611bd0a145dfccb61 ssh-agent [2021-02-08T08:17:31.141Z] SSH_AUTH_SOCK=/tmp/ssh-PNZg7XRppYwo/agent.48 [2021-02-08T08:17:31.141Z] SSH_AGENT_PID=53 [2021-02-08T08:17:31.149Z] Running ssh-add (command line suppressed) [2021-02-08T08:17:31.271Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-681@tmp/private_key_4165559295449237959.key (/w/workspace/ndry_app-functions-sdk-go_PR-681@tmp/private_key_4165559295449237959.key) [2021-02-08T08:17:31.324Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-08T08:17:31.711Z] + git semver init [2021-02-08T08:17:31.712Z] # -> Open(): unable to determine branch for HEAD [2021-02-08T08:17:31.712Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-681/.git [2021-02-08T08:17:31.712Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-681 [2021-02-08T08:17:31.712Z] # $SEMVER_REMOTE_NAME = origin [2021-02-08T08:17:31.712Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-08T08:17:31.712Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-08T08:17:31.712Z] # $SEMVER_BRANCH = PR-681 [2021-02-08T08:17:31.712Z] # $SEMVER_TEMP = /tmp/semver-042356585 [2021-02-08T08:17:31.712Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-02-08T08:17:34.327Z] # '/tmp/semver-042356585' -> '/w/workspace/ndry_app-functions-sdk-go_PR-681/.semver' [2021-02-08T08:17:34.327Z] # -> Force: false [2021-02-08T08:17:34.327Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-681/.semver [Pipeline] } [2021-02-08T08:17:34.350Z] $ docker exec --env ******** --env ******** 65f26c411ea82e02e1b9d00a818cc102f6306e0d037d3e4611bd0a145dfccb61 ssh-agent -k [2021-02-08T08:17:34.480Z] unset SSH_AUTH_SOCK; [2021-02-08T08:17:34.480Z] unset SSH_AGENT_PID; [2021-02-08T08:17:34.480Z] echo Agent pid 53 killed; [2021-02-08T08:17:34.562Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-08T08:17:35.128Z] + git semver [Pipeline] } [2021-02-08T08:17:35.159Z] $ docker stop --time=1 65f26c411ea82e02e1b9d00a818cc102f6306e0d037d3e4611bd0a145dfccb61 [2021-02-08T08:17:36.801Z] $ docker rm -f 65f26c411ea82e02e1b9d00a818cc102f6306e0d037d3e4611bd0a145dfccb61 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-08T08:17:37.380Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-08T08:17:37.919Z] Stashed 1 file(s) [Pipeline] echo [2021-02-08T08:17:37.954Z] [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-08T08:17:53.832Z] Still waiting to schedule task [2021-02-08T08:17:53.832Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-02-08T08:17:53.857Z] Still waiting to schedule task [2021-02-08T08:17:53.857Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-02-08T08:19:04.593Z] Running on prd-centos7-docker-4c-2g-25514 in /w/workspace/ndry_app-functions-sdk-go_PR-681 [Pipeline] { [Pipeline] ws [2021-02-08T08:19:04.692Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-02-08T08:19:07.125Z] using credential edgex-jenkins-ssh [2021-02-08T08:19:07.281Z] Cloning the remote Git repository [2021-02-08T08:19:07.306Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-08T08:19:07.373Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2021-02-08T08:19:07.451Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-08T08:19:07.451Z] > git --version # timeout=10 [2021-02-08T08:19:07.459Z] > git --version # 'git version 2.24.3' [2021-02-08T08:19:07.460Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-08T08:19:07.486Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-08T08:19:09.361Z] Merging remotes/origin/master commit fc40647c9a5a0500e2956cf52a4e5c076e69792e into PR head commit 8aee3e0f6e7e067a4820660dd6abde96f829860e [2021-02-08T08:19:09.464Z] Merge succeeded, producing 8aee3e0f6e7e067a4820660dd6abde96f829860e [2021-02-08T08:19:09.465Z] Checking out Revision 8aee3e0f6e7e067a4820660dd6abde96f829860e (PR-681) [2021-02-08T08:19:08.900Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-02-08T08:19:08.913Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-08T08:19:08.928Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-02-08T08:19:08.943Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-08T08:19:08.943Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-08T08:19:08.947Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/681/head:refs/remotes/origin/PR-681 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-08T08:19:09.375Z] > git config core.sparsecheckout # timeout=10 [2021-02-08T08:19:09.382Z] > git checkout -f 8aee3e0f6e7e067a4820660dd6abde96f829860e # timeout=10 [2021-02-08T08:19:09.432Z] > git remote # timeout=10 [2021-02-08T08:19:09.437Z] > git config --get remote.origin.url # timeout=10 [2021-02-08T08:19:09.443Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-08T08:19:09.448Z] > git merge fc40647c9a5a0500e2956cf52a4e5c076e69792e # timeout=10 [2021-02-08T08:19:09.459Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-08T08:19:09.469Z] > git config core.sparsecheckout # timeout=10 [2021-02-08T08:19:09.474Z] > git checkout -f 8aee3e0f6e7e067a4820660dd6abde96f829860e # timeout=10 [2021-02-08T08:19:13.072Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-02-08T08:19:13.098Z] > git --version # timeout=10 [2021-02-08T08:19:13.105Z] > git --version # 'git version 2.24.3' [2021-02-08T08:19:13.112Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-08T08:19:14.674Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-08T08:19:15.026Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-08T08:19:15.366Z] + sudo service docker restart [2021-02-08T08:19:15.366Z] + true [2021-02-08T08:19:15.366Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-02-08T08:19:17.067Z] ========================================================= [2021-02-08T08:19:17.067Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-08T08:19:17.067Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-08T08:19:17.502Z] + 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-08T08:19:18.080Z] Sending build context to Docker daemon 19.1MB [2021-02-08T08:19:18.342Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-08T08:19:18.342Z] Step 2/8 : FROM ${BASE} [2021-02-08T08:19:18.342Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-08T08:19:18.342Z] 188c0c94c7c5: Pulling fs layer [2021-02-08T08:19:18.342Z] 0ef7d3d256c8: Pulling fs layer [2021-02-08T08:19:18.342Z] de9db76c5a1d: Pulling fs layer [2021-02-08T08:19:18.342Z] bca2f99d35d6: Pulling fs layer [2021-02-08T08:19:18.342Z] 93359f2a8cfa: Pulling fs layer [2021-02-08T08:19:18.342Z] 7c6f9722023f: Pulling fs layer [2021-02-08T08:19:18.342Z] a35cf1a2eb13: Pulling fs layer [2021-02-08T08:19:18.342Z] 93359f2a8cfa: Waiting [2021-02-08T08:19:18.342Z] 7c6f9722023f: Waiting [2021-02-08T08:19:18.342Z] a35cf1a2eb13: Waiting [2021-02-08T08:19:18.342Z] bca2f99d35d6: Waiting [2021-02-08T08:19:18.342Z] de9db76c5a1d: Verifying Checksum [2021-02-08T08:19:18.342Z] de9db76c5a1d: Download complete [2021-02-08T08:19:18.342Z] 0ef7d3d256c8: Verifying Checksum [2021-02-08T08:19:18.342Z] 0ef7d3d256c8: Download complete [2021-02-08T08:19:18.342Z] 93359f2a8cfa: Verifying Checksum [2021-02-08T08:19:18.342Z] 93359f2a8cfa: Download complete [2021-02-08T08:19:18.342Z] 7c6f9722023f: Verifying Checksum [2021-02-08T08:19:18.342Z] 7c6f9722023f: Download complete [2021-02-08T08:19:19.288Z] 188c0c94c7c5: Verifying Checksum [2021-02-08T08:19:19.288Z] 188c0c94c7c5: Download complete [2021-02-08T08:19:19.558Z] 188c0c94c7c5: Pull complete [2021-02-08T08:19:19.558Z] 0ef7d3d256c8: Pull complete [2021-02-08T08:19:19.823Z] de9db76c5a1d: Pull complete [2021-02-08T08:19:20.785Z] a35cf1a2eb13: Verifying Checksum [2021-02-08T08:19:20.785Z] a35cf1a2eb13: Download complete [2021-02-08T08:19:23.346Z] bca2f99d35d6: Verifying Checksum [2021-02-08T08:19:23.346Z] bca2f99d35d6: Download complete [2021-02-08T08:19:28.676Z] bca2f99d35d6: Pull complete [2021-02-08T08:19:28.676Z] 93359f2a8cfa: Pull complete [2021-02-08T08:19:28.676Z] 7c6f9722023f: Pull complete [2021-02-08T08:19:38.719Z] a35cf1a2eb13: Pull complete [2021-02-08T08:19:38.719Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-08T08:19:38.719Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-08T08:19:38.719Z] ---> a62c8e92a672 [2021-02-08T08:19:38.719Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-02-08T08:19:38.719Z] 20.10.0: Pulling from library/docker [2021-02-08T08:19:38.719Z] 05e7bc50f07f: Pulling fs layer [2021-02-08T08:19:38.719Z] 6db28d0fdbf6: Pulling fs layer [2021-02-08T08:19:38.719Z] 292df0bc6bf3: Pulling fs layer [2021-02-08T08:19:38.719Z] 2e060f4bd70b: Pulling fs layer [2021-02-08T08:19:38.719Z] 80e8d568a223: Pulling fs layer [2021-02-08T08:19:38.719Z] 8dc6ef1a942a: Pulling fs layer [2021-02-08T08:19:38.719Z] 2312dd95470a: Pulling fs layer [2021-02-08T08:19:38.719Z] 2e060f4bd70b: Waiting [2021-02-08T08:19:38.719Z] 80e8d568a223: Waiting [2021-02-08T08:19:38.719Z] 8dc6ef1a942a: Waiting [2021-02-08T08:19:38.719Z] 2312dd95470a: Waiting [2021-02-08T08:19:38.719Z] 292df0bc6bf3: Verifying Checksum [2021-02-08T08:19:38.719Z] 292df0bc6bf3: Download complete [2021-02-08T08:19:38.719Z] 6db28d0fdbf6: Verifying Checksum [2021-02-08T08:19:38.719Z] 6db28d0fdbf6: Download complete [2021-02-08T08:19:38.719Z] 80e8d568a223: Verifying Checksum [2021-02-08T08:19:38.719Z] 80e8d568a223: Download complete [2021-02-08T08:19:38.719Z] 05e7bc50f07f: Verifying Checksum [2021-02-08T08:19:38.719Z] 8dc6ef1a942a: Verifying Checksum [2021-02-08T08:19:38.719Z] 8dc6ef1a942a: Download complete [2021-02-08T08:19:38.719Z] 2312dd95470a: Verifying Checksum [2021-02-08T08:19:38.719Z] 2312dd95470a: Download complete [2021-02-08T08:19:38.719Z] 05e7bc50f07f: Pull complete [2021-02-08T08:19:38.719Z] 6db28d0fdbf6: Pull complete [2021-02-08T08:19:38.719Z] 292df0bc6bf3: Pull complete [2021-02-08T08:19:38.983Z] 2e060f4bd70b: Verifying Checksum [2021-02-08T08:19:38.983Z] 2e060f4bd70b: Download complete [2021-02-08T08:19:41.564Z] 2e060f4bd70b: Pull complete [2021-02-08T08:19:41.829Z] 80e8d568a223: Pull complete [2021-02-08T08:19:41.829Z] 8dc6ef1a942a: Pull complete [2021-02-08T08:19:42.092Z] 2312dd95470a: Pull complete [2021-02-08T08:19:42.092Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-02-08T08:19:42.092Z] Status: Downloaded newer image for docker:20.10.0 [2021-02-08T08:19:43.491Z] ---> c287d46f5878 [2021-02-08T08:19:43.491Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-02-08T08:19:43.491Z] ---> Running in b3f99c3c7d5b [2021-02-08T08:19:43.755Z] Removing intermediate container b3f99c3c7d5b [2021-02-08T08:19:43.755Z] ---> d10ee6efadb9 [2021-02-08T08:19:43.755Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-02-08T08:19:43.755Z] ---> Running in 7134f8785cb9 [2021-02-08T08:19:44.334Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-08T08:19:45.285Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-08T08:19:45.548Z] (1/5) Installing libsodium (1.0.18-r0) [2021-02-08T08:19:45.811Z] (2/5) Installing libzmq (4.3.3-r0) [2021-02-08T08:19:45.811Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-02-08T08:19:46.084Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-02-08T08:19:46.084Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-02-08T08:19:46.084Z] Executing busybox-1.31.1-r19.trigger [2021-02-08T08:19:46.084Z] OK: 167 MiB in 44 packages [2021-02-08T08:19:46.667Z] Removing intermediate container 7134f8785cb9 [2021-02-08T08:19:46.667Z] ---> bd7479a2f71c [2021-02-08T08:19:46.667Z] Step 6/8 : WORKDIR /build [2021-02-08T08:19:46.940Z] ---> Running in 8c04c77a02be [2021-02-08T08:19:46.940Z] Removing intermediate container 8c04c77a02be [2021-02-08T08:19:46.940Z] ---> 7a8dd3a92aa1 [2021-02-08T08:19:46.940Z] Step 7/8 : COPY go.mod . [2021-02-08T08:19:47.216Z] ---> 7c9b6d87f476 [2021-02-08T08:19:47.216Z] Step 8/8 : RUN go mod download [2021-02-08T08:19:47.216Z] ---> Running in 51a95769b32d [2021-02-08T08:20:09.313Z] Removing intermediate container 51a95769b32d [2021-02-08T08:20:09.313Z] ---> e5f5cfb0b7db [2021-02-08T08:20:09.313Z] Successfully built e5f5cfb0b7db [2021-02-08T08:20:09.313Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-08T08:20:09.664Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-08T08:20:09.664Z] . [Pipeline] withDockerContainer [2021-02-08T08:20:09.816Z] prd-centos7-docker-4c-2g-25514 does not seem to be running inside a container [2021-02-08T08:20:09.871Z] $ 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-08T08:20:10.731Z] $ docker top 33e7f07c0f7ff43b8b3339ab5ce147b0585b3083d729842ea0844d34e34e0121 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-08T08:20:11.296Z] + go version [2021-02-08T08:20:11.296Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-08T08:20:11.324Z] $ docker stop --time=1 33e7f07c0f7ff43b8b3339ab5ce147b0585b3083d729842ea0844d34e34e0121 [2021-02-08T08:20:12.720Z] $ docker rm -f 33e7f07c0f7ff43b8b3339ab5ce147b0585b3083d729842ea0844d34e34e0121 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-08T08:20:13.825Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-08T08:20:13.825Z] . [Pipeline] withDockerContainer [2021-02-08T08:20:14.009Z] prd-centos7-docker-4c-2g-25514 does not seem to be running inside a container [2021-02-08T08:20:14.071Z] $ 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-08T08:20:14.857Z] $ docker top a530e774c84a94ac55076f33a5720a807a7ad4fb9d90c516e1fb9116d9537473 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-08T08:20:15.404Z] + make test [2021-02-08T08:20:15.404Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-02-08T08:20:16.957Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-25515 in /w/workspace/ndry_app-functions-sdk-go_PR-681 [Pipeline] { [Pipeline] ws [2021-02-08T08:20:17.059Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-02-08T08:20:17.350Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] [2021-02-08T08:20:22.219Z] using credential edgex-jenkins-ssh [2021-02-08T08:20:22.278Z] Cloning the remote Git repository [2021-02-08T08:20:22.335Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-08T08:20:22.434Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2021-02-08T08:20:22.501Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-08T08:20:22.502Z] > git --version # timeout=10 [2021-02-08T08:20:22.518Z] > git --version # 'git version 2.17.1' [2021-02-08T08:20:22.520Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-08T08:20:22.600Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-08T08:20:25.630Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.036s coverage: 82.6% of statements [2021-02-08T08:20:26.046Z] Merging remotes/origin/master commit fc40647c9a5a0500e2956cf52a4e5c076e69792e into PR head commit 8aee3e0f6e7e067a4820660dd6abde96f829860e [2021-02-08T08:20:25.502Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-02-08T08:20:25.521Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-08T08:20:25.547Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-02-08T08:20:25.580Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-08T08:20:25.581Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-08T08:20:25.593Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/681/head:refs/remotes/origin/PR-681 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-08T08:20:26.071Z] > git config core.sparsecheckout # timeout=10 [2021-02-08T08:20:26.084Z] > git checkout -f 8aee3e0f6e7e067a4820660dd6abde96f829860e # timeout=10 [2021-02-08T08:20:26.185Z] > git remote # timeout=10 [2021-02-08T08:20:26.202Z] > git config --get remote.origin.url # timeout=10 [2021-02-08T08:20:26.213Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-08T08:20:26.224Z] > git merge fc40647c9a5a0500e2956cf52a4e5c076e69792e # timeout=10 [2021-02-08T08:20:26.287Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-08T08:20:26.319Z] Merge succeeded, producing 8aee3e0f6e7e067a4820660dd6abde96f829860e [2021-02-08T08:20:26.320Z] Checking out Revision 8aee3e0f6e7e067a4820660dd6abde96f829860e (PR-681) [2021-02-08T08:20:26.332Z] > git config core.sparsecheckout # timeout=10 [2021-02-08T08:20:26.358Z] > git checkout -f 8aee3e0f6e7e067a4820660dd6abde96f829860e # timeout=10 [2021-02-08T08:20:30.599Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-02-08T08:20:30.660Z] > git --version # timeout=10 [2021-02-08T08:20:30.669Z] > git --version # 'git version 2.17.1' [2021-02-08T08:20:30.680Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-08T08:20:32.324Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.032s coverage: 48.6% of statements [2021-02-08T08:20:32.324Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-02-08T08:20:32.325Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-02-08T08:20:32.325Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.025s coverage: 61.5% of statements [2021-02-08T08:20:32.325Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-02-08T08:20:32.514Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-08T08:20:32.607Z] --- FAIL: TestProcessMessageNoTransforms (0.00s) [2021-02-08T08:20:32.608Z] runtime_test.go:116: [2021-02-08T08:20:32.608Z] Error Trace: runtime_test.go:116 [2021-02-08T08:20:32.608Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc000249880), ErrorCode:400} [2021-02-08T08:20:32.608Z] Test: TestProcessMessageNoTransforms [2021-02-08T08:20:32.608Z] Messages: result should be nil since no transforms have been passed [2021-02-08T08:20:32.608Z] --- FAIL: TestProcessMessageOneCustomTransform (0.00s) [2021-02-08T08:20:32.608Z] runtime_test.go:145: [2021-02-08T08:20:32.608Z] Error Trace: runtime_test.go:145 [2021-02-08T08:20:32.608Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc000249b00), ErrorCode:400} [2021-02-08T08:20:32.608Z] Test: TestProcessMessageOneCustomTransform [2021-02-08T08:20:32.608Z] --- FAIL: TestProcessMessageTwoCustomTransforms (0.00s) [2021-02-08T08:20:32.608Z] runtime_test.go:186: [2021-02-08T08:20:32.608Z] Error Trace: runtime_test.go:186 [2021-02-08T08:20:32.608Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc000249d90), ErrorCode:400} [2021-02-08T08:20:32.608Z] Test: TestProcessMessageTwoCustomTransforms [2021-02-08T08:20:32.608Z] --- FAIL: TestProcessMessageThreeCustomTransformsOneFail (0.00s) [2021-02-08T08:20:32.608Z] runtime_test.go:233: [2021-02-08T08:20:32.608Z] Error Trace: runtime_test.go:233 [2021-02-08T08:20:32.608Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc00029c010), ErrorCode:400} [2021-02-08T08:20:32.608Z] Test: TestProcessMessageThreeCustomTransformsOneFail [2021-02-08T08:20:32.608Z] --- FAIL: TestProcessMessageJSON (0.00s) [2021-02-08T08:20:32.608Z] runtime_test.go:308: [2021-02-08T08:20:32.608Z] Error Trace: runtime_test.go:308 [2021-02-08T08:20:32.608Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc00029c3a0), ErrorCode:400} [2021-02-08T08:20:32.608Z] Test: TestProcessMessageJSON [2021-02-08T08:20:32.608Z] 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-08T08:20:32.608Z] runtime_test.go:309: [2021-02-08T08:20:32.608Z] Error Trace: runtime_test.go:309 [2021-02-08T08:20:32.608Z] Error: Should be true [2021-02-08T08:20:32.608Z] Test: TestProcessMessageJSON [2021-02-08T08:20:32.608Z] Messages: transform1 should have been called [2021-02-08T08:20:32.608Z] --- FAIL: TestProcessMessageTargetType (0.00s) [2021-02-08T08:20:32.608Z] runtime_test.go:423: [2021-02-08T08:20:32.608Z] Error Trace: runtime_test.go:423 [2021-02-08T08:20:32.608Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc00029cc00), ErrorCode:400} [2021-02-08T08:20:32.608Z] Test: TestProcessMessageTargetType [2021-02-08T08:20:32.608Z] Messages: unexpected error for test 'Default Nil Target Type' [2021-02-08T08:20:32.608Z] runtime_test.go:427: [2021-02-08T08:20:32.608Z] Error Trace: runtime_test.go:427 [2021-02-08T08:20:32.608Z] Error: Not equal: [2021-02-08T08:20:32.608Z] 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, 0x37, 0x37, 0x32, 0x34, 0x33, 0x32, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x37, 0x37, 0x32, 0x34, 0x33, 0x32, 0x2c, 0x22, 0x72, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x3a, 0x5b, 0x7b, 0x22, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x76, 0x32, 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 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, 0x37, 0x37, 0x32, 0x34, 0x33, 0x32, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x37, 0x37, 0x32, 0x34, 0x33, 0x32, 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-08T08:20:32.608Z] actual : []byte(nil) [2021-02-08T08:20:32.608Z] [2021-02-08T08:20:32.608Z] Diff: [2021-02-08T08:20:32.608Z] --- Expected [2021-02-08T08:20:32.608Z] +++ Actual [2021-02-08T08:20:32.608Z] @@ -1,31 +1,2 @@ [2021-02-08T08:20:32.608Z] -([]uint8) (len=444) { [2021-02-08T08:20:32.608Z] - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| [2021-02-08T08:20:32.608Z] - 00000010 32 22 2c 22 69 64 22 3a 22 38 32 65 62 32 65 32 |2","id":"82eb2e2| [2021-02-08T08:20:32.608Z] - 00000020 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 65 34 63 |6-0f24-48aa-ae4c| [2021-02-08T08:20:32.608Z] - 00000030 2d 64 65 39 64 61 63 33 66 62 39 62 63 22 2c 22 |-de9dac3fb9bc","| [2021-02-08T08:20:32.608Z] - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| [2021-02-08T08:20:32.608Z] - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| [2021-02-08T08:20:32.608Z] - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| [2021-02-08T08:20:32.608Z] - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| [2021-02-08T08:20:32.608Z] - 00000080 72 65 61 74 65 64 22 3a 31 36 31 32 37 37 32 34 |reated":16127724| [2021-02-08T08:20:32.608Z] - 00000090 33 32 2c 22 6f 72 69 67 69 6e 22 3a 31 36 31 32 |32,"origin":1612| [2021-02-08T08:20:32.608Z] - 000000a0 37 37 32 34 33 32 2c 22 72 65 61 64 69 6e 67 73 |772432,"readings| [2021-02-08T08:20:32.608Z] - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| [2021-02-08T08:20:32.608Z] - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 38 32 65 62 |:"v2","id":"82eb| [2021-02-08T08:20:32.608Z] - 000000d0 32 65 32 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 |2e26-0f24-48aa-a| [2021-02-08T08:20:32.608Z] - 000000e0 65 34 63 2d 64 65 39 64 61 63 33 66 31 32 33 34 |e4c-de9dac3f1234| [2021-02-08T08:20:32.608Z] - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 31 36 31 32 |","created":1612| [2021-02-08T08:20:32.608Z] - 00000100 37 37 32 34 33 32 2c 22 6f 72 69 67 69 6e 22 3a |772432,"origin":| [2021-02-08T08:20:32.608Z] - 00000110 31 36 31 32 37 37 32 34 33 32 2c 22 64 65 76 69 |1612772432,"devi| [2021-02-08T08:20:32.608Z] - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| [2021-02-08T08:20:32.608Z] - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| [2021-02-08T08:20:32.608Z] - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| [2021-02-08T08:20:32.608Z] - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| [2021-02-08T08:20:32.608Z] - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| [2021-02-08T08:20:32.608Z] - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| [2021-02-08T08:20:32.608Z] - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| [2021-02-08T08:20:32.608Z] - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| [2021-02-08T08:20:32.608Z] - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| [2021-02-08T08:20:32.608Z] - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| [2021-02-08T08:20:32.608Z] -} [2021-02-08T08:20:32.608Z] +([]uint8) [2021-02-08T08:20:32.608Z] [2021-02-08T08:20:32.608Z] Test: TestProcessMessageTargetType [2021-02-08T08:20:32.608Z] Messages: 'Default Nil Target Type' test failed [2021-02-08T08:20:32.608Z] runtime_test.go:423: [2021-02-08T08:20:32.608Z] Error Trace: runtime_test.go:423 [2021-02-08T08:20:32.608Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc00029cf80), ErrorCode:400} [2021-02-08T08:20:32.608Z] Test: TestProcessMessageTargetType [2021-02-08T08:20:32.608Z] Messages: unexpected error for test 'Event as Json' [2021-02-08T08:20:32.608Z] runtime_test.go:427: [2021-02-08T08:20:32.608Z] Error Trace: runtime_test.go:427 [2021-02-08T08:20:32.608Z] Error: Not equal: [2021-02-08T08:20:32.608Z] 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, 0x37, 0x37, 0x32, 0x34, 0x33, 0x32, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x37, 0x37, 0x32, 0x34, 0x33, 0x32, 0x2c, 0x22, 0x72, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x3a, 0x5b, 0x7b, 0x22, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x76, 0x32, 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 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, 0x37, 0x37, 0x32, 0x34, 0x33, 0x32, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x37, 0x37, 0x32, 0x34, 0x33, 0x32, 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-08T08:20:32.608Z] actual : []byte(nil) [2021-02-08T08:20:32.608Z] [2021-02-08T08:20:32.608Z] Diff: [2021-02-08T08:20:32.608Z] --- Expected [2021-02-08T08:20:32.608Z] +++ Actual [2021-02-08T08:20:32.608Z] @@ -1,31 +1,2 @@ [2021-02-08T08:20:32.608Z] -([]uint8) (len=444) { [2021-02-08T08:20:32.608Z] - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| [2021-02-08T08:20:32.608Z] - 00000010 32 22 2c 22 69 64 22 3a 22 38 32 65 62 32 65 32 |2","id":"82eb2e2| [2021-02-08T08:20:32.608Z] - 00000020 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 65 34 63 |6-0f24-48aa-ae4c| [2021-02-08T08:20:32.608Z] - 00000030 2d 64 65 39 64 61 63 33 66 62 39 62 63 22 2c 22 |-de9dac3fb9bc","| [2021-02-08T08:20:32.608Z] - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| [2021-02-08T08:20:32.608Z] - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| [2021-02-08T08:20:32.608Z] - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| [2021-02-08T08:20:32.608Z] - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| [2021-02-08T08:20:32.608Z] - 00000080 72 65 61 74 65 64 22 3a 31 36 31 32 37 37 32 34 |reated":16127724| [2021-02-08T08:20:32.608Z] - 00000090 33 32 2c 22 6f 72 69 67 69 6e 22 3a 31 36 31 32 |32,"origin":1612| [2021-02-08T08:20:32.608Z] - 000000a0 37 37 32 34 33 32 2c 22 72 65 61 64 69 6e 67 73 |772432,"readings| [2021-02-08T08:20:32.608Z] - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| [2021-02-08T08:20:32.608Z] - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 38 32 65 62 |:"v2","id":"82eb| [2021-02-08T08:20:32.608Z] - 000000d0 32 65 32 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 |2e26-0f24-48aa-a| [2021-02-08T08:20:32.608Z] - 000000e0 65 34 63 2d 64 65 39 64 61 63 33 66 31 32 33 34 |e4c-de9dac3f1234| [2021-02-08T08:20:32.608Z] - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 31 36 31 32 |","created":1612| [2021-02-08T08:20:32.608Z] - 00000100 37 37 32 34 33 32 2c 22 6f 72 69 67 69 6e 22 3a |772432,"origin":| [2021-02-08T08:20:32.608Z] - 00000110 31 36 31 32 37 37 32 34 33 32 2c 22 64 65 76 69 |1612772432,"devi| [2021-02-08T08:20:32.608Z] - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| [2021-02-08T08:20:32.608Z] - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| [2021-02-08T08:20:32.608Z] - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| [2021-02-08T08:20:32.608Z] - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| [2021-02-08T08:20:32.608Z] - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| [2021-02-08T08:20:32.608Z] - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| [2021-02-08T08:20:32.608Z] - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| [2021-02-08T08:20:32.608Z] - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| [2021-02-08T08:20:32.608Z] - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| [2021-02-08T08:20:32.608Z] - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| [2021-02-08T08:20:32.609Z] -} [2021-02-08T08:20:32.609Z] +([]uint8) [2021-02-08T08:20:32.609Z] [2021-02-08T08:20:32.609Z] Test: TestProcessMessageTargetType [2021-02-08T08:20:32.609Z] Messages: 'Event as Json' test failed [2021-02-08T08:20:32.609Z] runtime_test.go:423: [2021-02-08T08:20:32.609Z] Error Trace: runtime_test.go:423 [2021-02-08T08:20:32.609Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc00029d400), ErrorCode:400} [2021-02-08T08:20:32.609Z] Test: TestProcessMessageTargetType [2021-02-08T08:20:32.609Z] Messages: unexpected error for test 'Event as Cbor' [2021-02-08T08:20:32.609Z] runtime_test.go:427: [2021-02-08T08:20:32.609Z] Error Trace: runtime_test.go:427 [2021-02-08T08:20:32.609Z] Error: Not equal: [2021-02-08T08:20:32.609Z] 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, 0x37, 0x37, 0x32, 0x34, 0x33, 0x32, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x37, 0x37, 0x32, 0x34, 0x33, 0x32, 0x2c, 0x22, 0x72, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x3a, 0x5b, 0x7b, 0x22, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x76, 0x32, 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 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, 0x37, 0x37, 0x32, 0x34, 0x33, 0x32, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x37, 0x37, 0x32, 0x34, 0x33, 0x32, 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-08T08:20:32.609Z] actual : []byte(nil) [2021-02-08T08:20:32.609Z] [2021-02-08T08:20:32.609Z] Diff: [2021-02-08T08:20:32.609Z] --- Expected [2021-02-08T08:20:32.609Z] +++ Actual [2021-02-08T08:20:32.609Z] @@ -1,31 +1,2 @@ [2021-02-08T08:20:32.609Z] -([]uint8) (len=444) { [2021-02-08T08:20:32.609Z] - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| [2021-02-08T08:20:32.609Z] - 00000010 32 22 2c 22 69 64 22 3a 22 38 32 65 62 32 65 32 |2","id":"82eb2e2| [2021-02-08T08:20:32.609Z] - 00000020 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 65 34 63 |6-0f24-48aa-ae4c| [2021-02-08T08:20:32.609Z] - 00000030 2d 64 65 39 64 61 63 33 66 62 39 62 63 22 2c 22 |-de9dac3fb9bc","| [2021-02-08T08:20:32.609Z] - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| [2021-02-08T08:20:32.609Z] - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| [2021-02-08T08:20:32.609Z] - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| [2021-02-08T08:20:32.609Z] - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| [2021-02-08T08:20:32.609Z] - 00000080 72 65 61 74 65 64 22 3a 31 36 31 32 37 37 32 34 |reated":16127724| [2021-02-08T08:20:32.609Z] - 00000090 33 32 2c 22 6f 72 69 67 69 6e 22 3a 31 36 31 32 |32,"origin":1612| [2021-02-08T08:20:32.609Z] - 000000a0 37 37 32 34 33 32 2c 22 72 65 61 64 69 6e 67 73 |772432,"readings| [2021-02-08T08:20:32.609Z] - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| [2021-02-08T08:20:32.609Z] - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 38 32 65 62 |:"v2","id":"82eb| [2021-02-08T08:20:32.609Z] - 000000d0 32 65 32 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 |2e26-0f24-48aa-a| [2021-02-08T08:20:32.609Z] - 000000e0 65 34 63 2d 64 65 39 64 61 63 33 66 31 32 33 34 |e4c-de9dac3f1234| [2021-02-08T08:20:32.609Z] - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 31 36 31 32 |","created":1612| [2021-02-08T08:20:32.609Z] - 00000100 37 37 32 34 33 32 2c 22 6f 72 69 67 69 6e 22 3a |772432,"origin":| [2021-02-08T08:20:32.609Z] - 00000110 31 36 31 32 37 37 32 34 33 32 2c 22 64 65 76 69 |1612772432,"devi| [2021-02-08T08:20:32.609Z] - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| [2021-02-08T08:20:32.609Z] - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| [2021-02-08T08:20:32.609Z] - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| [2021-02-08T08:20:32.609Z] - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| [2021-02-08T08:20:32.609Z] - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| [2021-02-08T08:20:32.609Z] - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| [2021-02-08T08:20:32.609Z] - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| [2021-02-08T08:20:32.609Z] - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| [2021-02-08T08:20:32.609Z] - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| [2021-02-08T08:20:32.609Z] - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| [2021-02-08T08:20:32.609Z] -} [2021-02-08T08:20:32.609Z] +([]uint8) [2021-02-08T08:20:32.609Z] [2021-02-08T08:20:32.609Z] Test: TestProcessMessageTargetType [2021-02-08T08:20:32.609Z] Messages: 'Event as Cbor' test failed [2021-02-08T08:20:32.609Z] --- FAIL: TestGolangRuntime_unmarshalV2Event (0.00s) [2021-02-08T08:20:32.609Z] --- FAIL: TestGolangRuntime_unmarshalV2Event/JSON_V2_Event (0.00s) [2021-02-08T08:20:32.609Z] runtime_test.go:599: [2021-02-08T08:20:32.609Z] Error Trace: runtime_test.go:599 [2021-02-08T08:20:32.609Z] Error: Received unexpected error: [2021-02-08T08:20:32.609Z] failed to unmarshal AddEventRequest from content type 'application/json': AddEventRequest.BaseRequest.Versionable.ApiVersion field is required [2021-02-08T08:20:32.609Z] Test: TestGolangRuntime_unmarshalV2Event/JSON_V2_Event [2021-02-08T08:20:32.609Z] --- FAIL: TestGolangRuntime_unmarshalV2Event/CBOR_V2_Event (0.00s) [2021-02-08T08:20:32.609Z] runtime_test.go:599: [2021-02-08T08:20:32.609Z] Error Trace: runtime_test.go:599 [2021-02-08T08:20:32.609Z] Error: Received unexpected error: [2021-02-08T08:20:32.609Z] validation failed on AddEventRequest: AddEventRequest.BaseRequest.Versionable.ApiVersion field is required [2021-02-08T08:20:32.609Z] Test: TestGolangRuntime_unmarshalV2Event/CBOR_V2_Event [2021-02-08T08:20:32.609Z] FAIL [2021-02-08T08:20:32.609Z] coverage: 73.4% of statements [2021-02-08T08:20:32.609Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.033s [2021-02-08T08:20:32.609Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-02-08T08:20:32.609Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-02-08T08:20:32.609Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-02-08T08:20:32.609Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-02-08T08:20:32.609Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-02-08T08:20:32.609Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-02-08T08:20:32.609Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.005s coverage: 97.0% of statements [2021-02-08T08:20:32.609Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-02-08T08:20:32.885Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.024s coverage: 8.8% of statements [2021-02-08T08:20:32.934Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-08T08:20:33.296Z] + sudo service docker restart [2021-02-08T08:20:33.296Z] + true [Pipeline] unstash [Pipeline] echo [2021-02-08T08:20:36.246Z] ========================================================= [2021-02-08T08:20:36.246Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-08T08:20:36.246Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-08T08:20:36.663Z] + 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-08T08:20:37.645Z] Sending build context to Docker daemon 19.1MB [2021-02-08T08:20:37.645Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-08T08:20:37.645Z] Step 2/8 : FROM ${BASE} [2021-02-08T08:20:37.919Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-08T08:20:37.919Z] 5f621e34cdf4: Pulling fs layer [2021-02-08T08:20:37.919Z] a4357932f1b6: Pulling fs layer [2021-02-08T08:20:37.919Z] 18c013af1878: Pulling fs layer [2021-02-08T08:20:37.919Z] 00ac8860ef70: Pulling fs layer [2021-02-08T08:20:37.919Z] 63d7cb157983: Pulling fs layer [2021-02-08T08:20:37.919Z] b116817d02f9: Pulling fs layer [2021-02-08T08:20:37.919Z] 745a02a5169b: Pulling fs layer [2021-02-08T08:20:37.919Z] 63d7cb157983: Waiting [2021-02-08T08:20:37.919Z] b116817d02f9: Waiting [2021-02-08T08:20:37.919Z] 745a02a5169b: Waiting [2021-02-08T08:20:37.919Z] 00ac8860ef70: Waiting [2021-02-08T08:20:37.919Z] 18c013af1878: Verifying Checksum [2021-02-08T08:20:37.919Z] a4357932f1b6: Download complete [2021-02-08T08:20:38.195Z] 63d7cb157983: Verifying Checksum [2021-02-08T08:20:38.195Z] 63d7cb157983: Download complete [2021-02-08T08:20:38.195Z] b116817d02f9: Verifying Checksum [2021-02-08T08:20:38.195Z] b116817d02f9: Download complete [2021-02-08T08:20:38.469Z] 5f621e34cdf4: Verifying Checksum [2021-02-08T08:20:38.470Z] 5f621e34cdf4: Download complete [2021-02-08T08:20:39.456Z] 5f621e34cdf4: Pull complete [2021-02-08T08:20:39.736Z] a4357932f1b6: Pull complete [2021-02-08T08:20:40.335Z] 18c013af1878: Pull complete [2021-02-08T08:20:40.335Z] 745a02a5169b: Verifying Checksum [2021-02-08T08:20:40.335Z] 745a02a5169b: Download complete [2021-02-08T08:20:42.318Z] 00ac8860ef70: Download complete [2021-02-08T08:20:51.056Z] --- FAIL: TestInitializeAndProcessEventWithNoOutput (3.30s) [2021-02-08T08:20:51.056Z] messaging_test.go:206: [2021-02-08T08:20:51.056Z] Error Trace: messaging_test.go:206 [2021-02-08T08:20:51.056Z] Error: Should be true [2021-02-08T08:20:51.056Z] Test: TestInitializeAndProcessEventWithNoOutput [2021-02-08T08:20:51.056Z] Messages: Transform never called [2021-02-08T08:20:51.056Z] --- FAIL: TestInitializeAndProcessEventWithOutput (3.30s) [2021-02-08T08:20:51.056Z] messaging_test.go:290: [2021-02-08T08:20:51.056Z] Error Trace: messaging_test.go:290 [2021-02-08T08:20:51.056Z] Error: Should be true [2021-02-08T08:20:51.056Z] Test: TestInitializeAndProcessEventWithOutput [2021-02-08T08:20:51.056Z] Messages: Transform never called [2021-02-08T08:20:51.056Z] --- FAIL: TestInitializeAndProcessEventWithOutput_InferJSON (3.30s) [2021-02-08T08:20:51.056Z] messaging_test.go:385: [2021-02-08T08:20:51.057Z] Error Trace: messaging_test.go:385 [2021-02-08T08:20:51.057Z] Error: Should be true [2021-02-08T08:20:51.057Z] Test: TestInitializeAndProcessEventWithOutput_InferJSON [2021-02-08T08:20:51.057Z] Messages: Transform never called [2021-02-08T08:20:51.057Z] --- FAIL: TestInitializeAndProcessEventWithOutput_AssumeCBOR (3.31s) [2021-02-08T08:20:51.057Z] messaging_test.go:477: [2021-02-08T08:20:51.057Z] Error Trace: messaging_test.go:477 [2021-02-08T08:20:51.057Z] Error: Should be true [2021-02-08T08:20:51.057Z] Test: TestInitializeAndProcessEventWithOutput_AssumeCBOR [2021-02-08T08:20:51.057Z] Messages: Transform never called [2021-02-08T08:20:51.057Z] --- FAIL: TestInitializeAndProcessEventMultipleTopics (3.30s) [2021-02-08T08:20:51.057Z] messaging_test.go:638: [2021-02-08T08:20:51.057Z] Error Trace: messaging_test.go:638 [2021-02-08T08:20:51.057Z] Error: Transform never called for t1 [2021-02-08T08:20:51.057Z] Test: TestInitializeAndProcessEventMultipleTopics [2021-02-08T08:20:51.057Z] FAIL [2021-02-08T08:20:51.057Z] coverage: 62.0% of statements [2021-02-08T08:20:51.057Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 16.842s [2021-02-08T08:20:51.057Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-02-08T08:20:51.057Z] --- FAIL: TestAddSecretRequest (0.00s) [2021-02-08T08:20:51.057Z] --- FAIL: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash (0.00s) [2021-02-08T08:20:51.057Z] controller_test.go:261: [2021-02-08T08:20:51.057Z] Error Trace: controller_test.go:261 [2021-02-08T08:20:51.057Z] Error: Not equal: [2021-02-08T08:20:51.057Z] expected: 201 [2021-02-08T08:20:51.057Z] actual : 400 [2021-02-08T08:20:51.057Z] Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash [2021-02-08T08:20:51.057Z] Messages: HTTP status code not as expected [2021-02-08T08:20:51.057Z] controller_test.go:263: [2021-02-08T08:20:51.057Z] Error Trace: controller_test.go:263 [2021-02-08T08:20:51.057Z] Error: Not equal: [2021-02-08T08:20:51.057Z] expected: 201 [2021-02-08T08:20:51.057Z] actual : 400 [2021-02-08T08:20:51.057Z] Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash [2021-02-08T08:20:51.057Z] Messages: BaseResponse status code not as expected [2021-02-08T08:20:51.057Z] controller_test.go:270: [2021-02-08T08:20:51.057Z] Error Trace: controller_test.go:270 [2021-02-08T08:20:51.057Z] Error: Not equal: [2021-02-08T08:20:51.057Z] expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-02-08T08:20:51.057Z] actual : "" [2021-02-08T08:20:51.057Z] [2021-02-08T08:20:51.057Z] Diff: [2021-02-08T08:20:51.057Z] --- Expected [2021-02-08T08:20:51.057Z] +++ Actual [2021-02-08T08:20:51.057Z] @@ -1 +1 @@ [2021-02-08T08:20:51.057Z] -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-08T08:20:51.057Z] + [2021-02-08T08:20:51.057Z] Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash [2021-02-08T08:20:51.057Z] Messages: RequestID not as expected [2021-02-08T08:20:51.057Z] controller_test.go:271: [2021-02-08T08:20:51.057Z] Error Trace: controller_test.go:271 [2021-02-08T08:20:51.057Z] Error: Should be empty, but was JSON decode failed [2021-02-08T08:20:51.057Z] Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash [2021-02-08T08:20:51.057Z] Messages: Message not empty, as expected [2021-02-08T08:20:51.057Z] --- FAIL: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash (0.00s) [2021-02-08T08:20:51.057Z] controller_test.go:261: [2021-02-08T08:20:51.057Z] Error Trace: controller_test.go:261 [2021-02-08T08:20:51.057Z] Error: Not equal: [2021-02-08T08:20:51.057Z] expected: 201 [2021-02-08T08:20:51.057Z] actual : 400 [2021-02-08T08:20:51.057Z] Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-08T08:20:51.057Z] Messages: HTTP status code not as expected [2021-02-08T08:20:51.057Z] controller_test.go:263: [2021-02-08T08:20:51.057Z] Error Trace: controller_test.go:263 [2021-02-08T08:20:51.057Z] Error: Not equal: [2021-02-08T08:20:51.057Z] expected: 201 [2021-02-08T08:20:51.057Z] actual : 400 [2021-02-08T08:20:51.057Z] Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-08T08:20:51.057Z] Messages: BaseResponse status code not as expected [2021-02-08T08:20:51.057Z] controller_test.go:270: [2021-02-08T08:20:51.057Z] Error Trace: controller_test.go:270 [2021-02-08T08:20:51.057Z] Error: Not equal: [2021-02-08T08:20:51.057Z] expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-02-08T08:20:51.057Z] actual : "" [2021-02-08T08:20:51.057Z] [2021-02-08T08:20:51.057Z] Diff: [2021-02-08T08:20:51.057Z] --- Expected [2021-02-08T08:20:51.057Z] +++ Actual [2021-02-08T08:20:51.057Z] @@ -1 +1 @@ [2021-02-08T08:20:51.057Z] -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-08T08:20:51.057Z] + [2021-02-08T08:20:51.057Z] Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-08T08:20:51.057Z] Messages: RequestID not as expected [2021-02-08T08:20:51.057Z] controller_test.go:271: [2021-02-08T08:20:51.057Z] Error Trace: controller_test.go:271 [2021-02-08T08:20:51.057Z] Error: Should be empty, but was JSON decode failed [2021-02-08T08:20:51.057Z] Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-08T08:20:51.057Z] Messages: Message not empty, as expected [2021-02-08T08:20:51.057Z] --- FAIL: TestAddSecretRequest/Valid_-_both_trailing_slashes (0.00s) [2021-02-08T08:20:51.057Z] controller_test.go:261: [2021-02-08T08:20:51.057Z] Error Trace: controller_test.go:261 [2021-02-08T08:20:51.057Z] Error: Not equal: [2021-02-08T08:20:51.057Z] expected: 201 [2021-02-08T08:20:51.057Z] actual : 400 [2021-02-08T08:20:51.057Z] Test: TestAddSecretRequest/Valid_-_both_trailing_slashes [2021-02-08T08:20:51.057Z] Messages: HTTP status code not as expected [2021-02-08T08:20:51.057Z] controller_test.go:263: [2021-02-08T08:20:51.057Z] Error Trace: controller_test.go:263 [2021-02-08T08:20:51.057Z] Error: Not equal: [2021-02-08T08:20:51.057Z] expected: 201 [2021-02-08T08:20:51.057Z] actual : 400 [2021-02-08T08:20:51.057Z] Test: TestAddSecretRequest/Valid_-_both_trailing_slashes [2021-02-08T08:20:51.057Z] Messages: BaseResponse status code not as expected [2021-02-08T08:20:51.057Z] controller_test.go:270: [2021-02-08T08:20:51.057Z] Error Trace: controller_test.go:270 [2021-02-08T08:20:51.057Z] Error: Not equal: [2021-02-08T08:20:51.057Z] expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-02-08T08:20:51.057Z] actual : "" [2021-02-08T08:20:51.057Z] [2021-02-08T08:20:51.057Z] Diff: [2021-02-08T08:20:51.057Z] --- Expected [2021-02-08T08:20:51.057Z] +++ Actual [2021-02-08T08:20:51.057Z] @@ -1 +1 @@ [2021-02-08T08:20:51.057Z] -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-08T08:20:51.057Z] + [2021-02-08T08:20:51.057Z] Test: TestAddSecretRequest/Valid_-_both_trailing_slashes [2021-02-08T08:20:51.057Z] Messages: RequestID not as expected [2021-02-08T08:20:51.057Z] controller_test.go:271: [2021-02-08T08:20:51.057Z] Error Trace: controller_test.go:271 [2021-02-08T08:20:51.057Z] Error: Should be empty, but was JSON decode failed [2021-02-08T08:20:51.057Z] Test: TestAddSecretRequest/Valid_-_both_trailing_slashes [2021-02-08T08:20:51.057Z] Messages: Message not empty, as expected [2021-02-08T08:20:51.057Z] --- FAIL: TestAddSecretRequest/Valid_-_no_requestId (0.00s) [2021-02-08T08:20:51.057Z] controller_test.go:261: [2021-02-08T08:20:51.057Z] Error Trace: controller_test.go:261 [2021-02-08T08:20:51.057Z] Error: Not equal: [2021-02-08T08:20:51.057Z] expected: 201 [2021-02-08T08:20:51.057Z] actual : 400 [2021-02-08T08:20:51.057Z] Test: TestAddSecretRequest/Valid_-_no_requestId [2021-02-08T08:20:51.057Z] Messages: HTTP status code not as expected [2021-02-08T08:20:51.057Z] controller_test.go:263: [2021-02-08T08:20:51.057Z] Error Trace: controller_test.go:263 [2021-02-08T08:20:51.057Z] Error: Not equal: [2021-02-08T08:20:51.057Z] expected: 201 [2021-02-08T08:20:51.057Z] actual : 400 [2021-02-08T08:20:51.057Z] Test: TestAddSecretRequest/Valid_-_no_requestId [2021-02-08T08:20:51.057Z] Messages: BaseResponse status code not as expected [2021-02-08T08:20:51.057Z] controller_test.go:271: [2021-02-08T08:20:51.057Z] Error Trace: controller_test.go:271 [2021-02-08T08:20:51.057Z] Error: Should be empty, but was JSON decode failed [2021-02-08T08:20:51.057Z] Test: TestAddSecretRequest/Valid_-_no_requestId [2021-02-08T08:20:51.057Z] Messages: Message not empty, as expected [2021-02-08T08:20:51.057Z] --- FAIL: TestAddSecretRequest/Invalid_-_No_Secret_Store (0.00s) [2021-02-08T08:20:51.057Z] controller_test.go:261: [2021-02-08T08:20:51.057Z] Error Trace: controller_test.go:261 [2021-02-08T08:20:51.057Z] Error: Not equal: [2021-02-08T08:20:51.057Z] expected: 500 [2021-02-08T08:20:51.057Z] actual : 400 [2021-02-08T08:20:51.057Z] Test: TestAddSecretRequest/Invalid_-_No_Secret_Store [2021-02-08T08:20:51.057Z] Messages: HTTP status code not as expected [2021-02-08T08:20:51.057Z] controller_test.go:263: [2021-02-08T08:20:51.057Z] Error Trace: controller_test.go:263 [2021-02-08T08:20:51.057Z] Error: Not equal: [2021-02-08T08:20:51.057Z] expected: 500 [2021-02-08T08:20:51.057Z] actual : 400 [2021-02-08T08:20:51.057Z] Test: TestAddSecretRequest/Invalid_-_No_Secret_Store [2021-02-08T08:20:51.057Z] Messages: BaseResponse status code not as expected [2021-02-08T08:20:51.057Z] FAIL [2021-02-08T08:20:51.057Z] coverage: 63.8% of statements [2021-02-08T08:20:51.057Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.014s [2021-02-08T08:20:51.057Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.015s coverage: 80.5% of statements [2021-02-08T08:20:51.057Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.021s coverage: 71.7% of statements [2021-02-08T08:20:52.506Z] 00ac8860ef70: Pull complete [2021-02-08T08:20:52.506Z] 63d7cb157983: Pull complete [2021-02-08T08:20:52.781Z] b116817d02f9: Pull complete [2021-02-08T08:20:57.095Z] 745a02a5169b: Pull complete [2021-02-08T08:20:57.095Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-08T08:20:57.095Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-08T08:20:57.095Z] ---> b7e6874047d6 [2021-02-08T08:20:57.095Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-02-08T08:20:57.095Z] 20.10.0: Pulling from library/docker [2021-02-08T08:20:57.095Z] a3cc7d3b244e: Pulling fs layer [2021-02-08T08:20:57.095Z] 02a3295e0d61: Pulling fs layer [2021-02-08T08:20:57.095Z] 0f4f2e6d8100: Pulling fs layer [2021-02-08T08:20:57.095Z] 330b718f631f: Pulling fs layer [2021-02-08T08:20:57.095Z] a93816041522: Pulling fs layer [2021-02-08T08:20:57.095Z] bdb6da89ff94: Pulling fs layer [2021-02-08T08:20:57.095Z] 2a70c0c122f4: Pulling fs layer [2021-02-08T08:20:57.095Z] 330b718f631f: Waiting [2021-02-08T08:20:57.095Z] a93816041522: Waiting [2021-02-08T08:20:57.095Z] bdb6da89ff94: Waiting [2021-02-08T08:20:57.095Z] 0f4f2e6d8100: Verifying Checksum [2021-02-08T08:20:57.095Z] 0f4f2e6d8100: Download complete [2021-02-08T08:20:57.095Z] 02a3295e0d61: Download complete [2021-02-08T08:20:57.095Z] a3cc7d3b244e: Verifying Checksum [2021-02-08T08:20:57.095Z] a3cc7d3b244e: Download complete [2021-02-08T08:20:57.095Z] a93816041522: Verifying Checksum [2021-02-08T08:20:57.095Z] a93816041522: Download complete [2021-02-08T08:20:57.095Z] bdb6da89ff94: Verifying Checksum [2021-02-08T08:20:57.095Z] bdb6da89ff94: Download complete [2021-02-08T08:20:57.095Z] 2a70c0c122f4: Verifying Checksum [2021-02-08T08:20:57.095Z] 2a70c0c122f4: Download complete [2021-02-08T08:20:57.095Z] a3cc7d3b244e: Pull complete [2021-02-08T08:20:58.081Z] 02a3295e0d61: Pull complete [2021-02-08T08:20:58.360Z] 0f4f2e6d8100: Pull complete [2021-02-08T08:20:58.637Z] 330b718f631f: Verifying Checksum [2021-02-08T08:20:58.637Z] 330b718f631f: Download complete [2021-02-08T08:21:01.079Z] --- FAIL: TestTransformToJSON (0.00s) [2021-02-08T08:21:01.079Z] conversion_test.go:130: [2021-02-08T08:21:01.079Z] Error Trace: conversion_test.go:130 [2021-02-08T08:21:01.079Z] Error: Not equal: [2021-02-08T08:21:01.079Z] expected: "{\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" [2021-02-08T08:21:01.079Z] actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" [2021-02-08T08:21:01.079Z] [2021-02-08T08:21:01.079Z] Diff: [2021-02-08T08:21:01.079Z] --- Expected [2021-02-08T08:21:01.079Z] +++ Actual [2021-02-08T08:21:01.079Z] @@ -1 +1 @@ [2021-02-08T08:21:01.079Z] -{"id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} [2021-02-08T08:21:01.079Z] +{"apiVersion":"","id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} [2021-02-08T08:21:01.079Z] Test: TestTransformToJSON [2021-02-08T08:21:01.079Z] --- FAIL: TestTransformToJSONMultipleParametersValid (0.00s) [2021-02-08T08:21:01.079Z] conversion_test.go:157: [2021-02-08T08:21:01.079Z] Error Trace: conversion_test.go:157 [2021-02-08T08:21:01.079Z] Error: Not equal: [2021-02-08T08:21:01.079Z] expected: "{\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" [2021-02-08T08:21:01.079Z] actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" [2021-02-08T08:21:01.079Z] [2021-02-08T08:21:01.079Z] Diff: [2021-02-08T08:21:01.079Z] --- Expected [2021-02-08T08:21:01.079Z] +++ Actual [2021-02-08T08:21:01.079Z] @@ -1 +1 @@ [2021-02-08T08:21:01.079Z] -{"id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} [2021-02-08T08:21:01.079Z] +{"apiVersion":"","id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} [2021-02-08T08:21:01.079Z] Test: TestTransformToJSONMultipleParametersValid [2021-02-08T08:21:01.079Z] --- FAIL: TestTransformToJSONMultipleParametersTwoEvents (0.00s) [2021-02-08T08:21:01.079Z] conversion_test.go:175: [2021-02-08T08:21:01.079Z] Error Trace: conversion_test.go:175 [2021-02-08T08:21:01.079Z] Error: Not equal: [2021-02-08T08:21:01.079Z] expected: "{\"id\":\"\",\"deviceName\":\"id2\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" [2021-02-08T08:21:01.079Z] actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"id2\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" [2021-02-08T08:21:01.079Z] [2021-02-08T08:21:01.079Z] Diff: [2021-02-08T08:21:01.079Z] --- Expected [2021-02-08T08:21:01.079Z] +++ Actual [2021-02-08T08:21:01.079Z] @@ -1 +1 @@ [2021-02-08T08:21:01.079Z] -{"id":"","deviceName":"id2","profileName":"","created":0,"origin":0,"readings":null} [2021-02-08T08:21:01.079Z] +{"apiVersion":"","id":"","deviceName":"id2","profileName":"","created":0,"origin":0,"readings":null} [2021-02-08T08:21:01.079Z] Test: TestTransformToJSONMultipleParametersTwoEvents [2021-02-08T08:21:01.079Z] FAIL [2021-02-08T08:21:01.079Z] coverage: 81.4% of statements [2021-02-08T08:21:01.079Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.045s [2021-02-08T08:21:01.079Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.009s coverage: 94.4% of statements [2021-02-08T08:21:01.079Z] FAIL [2021-02-08T08:21:01.079Z] make: *** [Makefile:6: test] Error 1 [Pipeline] } [2021-02-08T08:21:01.132Z] $ docker stop --time=1 a530e774c84a94ac55076f33a5720a807a7ad4fb9d90c516e1fb9116d9537473 [2021-02-08T08:21:02.837Z] $ docker rm -f a530e774c84a94ac55076f33a5720a807a7ad4fb9d90c516e1fb9116d9537473 [2021-02-08T08:21:02.970Z] 330b718f631f: Pull complete [2021-02-08T08:21:02.970Z] a93816041522: Pull complete [2021-02-08T08:21:02.970Z] bdb6da89ff94: Pull complete [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2021-02-08T08:21:03.568Z] 2a70c0c122f4: Pull complete [2021-02-08T08:21:03.568Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-02-08T08:21:03.568Z] Status: Downloaded newer image for docker:20.10.0 [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-02-08T08:21:05.262Z] Failed in branch amd64 [2021-02-08T08:21:10.312Z] ---> c7ee0ef7edc2 [2021-02-08T08:21:10.312Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-02-08T08:21:10.312Z] ---> Running in 9893f0c662d3 [2021-02-08T08:21:10.312Z] Removing intermediate container 9893f0c662d3 [2021-02-08T08:21:10.312Z] ---> 28afd38c1119 [2021-02-08T08:21:10.312Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-02-08T08:21:10.312Z] ---> Running in 0fba662b5728 [2021-02-08T08:21:11.293Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-08T08:21:12.271Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-08T08:21:13.695Z] (1/5) Installing libsodium (1.0.18-r0) [2021-02-08T08:21:13.695Z] (2/5) Installing libzmq (4.3.3-r0) [2021-02-08T08:21:14.288Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-02-08T08:21:14.288Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-02-08T08:21:14.288Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-02-08T08:21:14.560Z] Executing busybox-1.31.1-r19.trigger [2021-02-08T08:21:14.560Z] OK: 144 MiB in 44 packages [2021-02-08T08:21:15.539Z] Removing intermediate container 0fba662b5728 [2021-02-08T08:21:15.539Z] ---> f651cac359c9 [2021-02-08T08:21:15.539Z] Step 6/8 : WORKDIR /build [2021-02-08T08:21:15.810Z] ---> Running in a3b924860f5f [2021-02-08T08:21:16.404Z] Removing intermediate container a3b924860f5f [2021-02-08T08:21:16.404Z] ---> 21c74e566d0e [2021-02-08T08:21:16.404Z] Step 7/8 : COPY go.mod . [2021-02-08T08:21:16.997Z] ---> 4daf900de2da [2021-02-08T08:21:16.997Z] Step 8/8 : RUN go mod download [2021-02-08T08:21:16.997Z] ---> Running in 735bea3c164a [2021-02-08T08:21:43.784Z] Removing intermediate container 735bea3c164a [2021-02-08T08:21:43.784Z] ---> 1fa0f3a6ed29 [2021-02-08T08:21:43.784Z] Successfully built 1fa0f3a6ed29 [2021-02-08T08:21:43.784Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-08T08:21:44.157Z] + docker inspect -f . ci-base-image-arm64 [2021-02-08T08:21:44.157Z] . [Pipeline] withDockerContainer [2021-02-08T08:21:44.452Z] prd-ubuntu18.04-docker-arm64-4c-16g-25515 does not seem to be running inside a container [2021-02-08T08:21:44.536Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-08T08:21:46.094Z] $ docker top abc56ea418f4ab96f7260339d54a278bd4b3edbcfe36990f023d69a554daeadf -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-08T08:21:47.176Z] + go version [2021-02-08T08:21:47.176Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-08T08:21:47.214Z] $ docker stop --time=1 abc56ea418f4ab96f7260339d54a278bd4b3edbcfe36990f023d69a554daeadf [2021-02-08T08:21:49.133Z] $ docker rm -f abc56ea418f4ab96f7260339d54a278bd4b3edbcfe36990f023d69a554daeadf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-08T08:21:50.372Z] + docker inspect -f . ci-base-image-arm64 [2021-02-08T08:21:50.372Z] . [Pipeline] withDockerContainer [2021-02-08T08:21:50.653Z] prd-ubuntu18.04-docker-arm64-4c-16g-25515 does not seem to be running inside a container [2021-02-08T08:21:50.734Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-08T08:21:52.193Z] $ docker top b7e72be54600b5c533fe27a3a56a22cf50eb50b6ae1de0600a1ebb203b10b9a5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-08T08:21:53.271Z] + make test [2021-02-08T08:21:53.271Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-02-08T08:21:54.712Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] [2021-02-08T08:22:16.898Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.058s coverage: 82.6% of statements [2021-02-08T08:22:43.750Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.063s coverage: 48.6% of statements [2021-02-08T08:22:43.750Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-02-08T08:22:43.750Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-02-08T08:22:43.750Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.065s coverage: 61.5% of statements [2021-02-08T08:22:43.750Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-02-08T08:22:43.750Z] --- FAIL: TestProcessMessageNoTransforms (0.00s) [2021-02-08T08:22:43.750Z] runtime_test.go:116: [2021-02-08T08:22:43.750Z] Error Trace: runtime_test.go:116 [2021-02-08T08:22:43.750Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x40002cf880), ErrorCode:400} [2021-02-08T08:22:43.750Z] Test: TestProcessMessageNoTransforms [2021-02-08T08:22:43.750Z] Messages: result should be nil since no transforms have been passed [2021-02-08T08:22:43.750Z] --- FAIL: TestProcessMessageOneCustomTransform (0.00s) [2021-02-08T08:22:43.750Z] runtime_test.go:145: [2021-02-08T08:22:43.750Z] Error Trace: runtime_test.go:145 [2021-02-08T08:22:43.750Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x40002cfb00), ErrorCode:400} [2021-02-08T08:22:43.750Z] Test: TestProcessMessageOneCustomTransform [2021-02-08T08:22:43.750Z] --- FAIL: TestProcessMessageTwoCustomTransforms (0.00s) [2021-02-08T08:22:43.750Z] runtime_test.go:186: [2021-02-08T08:22:43.750Z] Error Trace: runtime_test.go:186 [2021-02-08T08:22:43.750Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x40002cfd90), ErrorCode:400} [2021-02-08T08:22:43.750Z] Test: TestProcessMessageTwoCustomTransforms [2021-02-08T08:22:43.750Z] --- FAIL: TestProcessMessageThreeCustomTransformsOneFail (0.00s) [2021-02-08T08:22:43.750Z] runtime_test.go:233: [2021-02-08T08:22:43.750Z] Error Trace: runtime_test.go:233 [2021-02-08T08:22:43.750Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x4000322010), ErrorCode:400} [2021-02-08T08:22:43.750Z] Test: TestProcessMessageThreeCustomTransformsOneFail [2021-02-08T08:22:43.750Z] --- FAIL: TestProcessMessageJSON (0.00s) [2021-02-08T08:22:43.750Z] runtime_test.go:308: [2021-02-08T08:22:43.750Z] Error Trace: runtime_test.go:308 [2021-02-08T08:22:43.750Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x40003223a0), ErrorCode:400} [2021-02-08T08:22:43.750Z] Test: TestProcessMessageJSON [2021-02-08T08:22:43.750Z] 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-08T08:22:43.750Z] runtime_test.go:309: [2021-02-08T08:22:43.750Z] Error Trace: runtime_test.go:309 [2021-02-08T08:22:43.750Z] Error: Should be true [2021-02-08T08:22:43.750Z] Test: TestProcessMessageJSON [2021-02-08T08:22:43.750Z] Messages: transform1 should have been called [2021-02-08T08:22:43.750Z] --- FAIL: TestProcessMessageTargetType (0.00s) [2021-02-08T08:22:43.750Z] runtime_test.go:423: [2021-02-08T08:22:43.750Z] Error Trace: runtime_test.go:423 [2021-02-08T08:22:43.750Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x4000322c00), ErrorCode:400} [2021-02-08T08:22:43.750Z] Test: TestProcessMessageTargetType [2021-02-08T08:22:43.750Z] Messages: unexpected error for test 'Default Nil Target Type' [2021-02-08T08:22:43.750Z] runtime_test.go:427: [2021-02-08T08:22:43.750Z] Error Trace: runtime_test.go:427 [2021-02-08T08:22:43.750Z] Error: Not equal: [2021-02-08T08:22:43.750Z] 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, 0x37, 0x37, 0x32, 0x35, 0x35, 0x35, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x37, 0x37, 0x32, 0x35, 0x35, 0x35, 0x2c, 0x22, 0x72, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x3a, 0x5b, 0x7b, 0x22, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x76, 0x32, 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x38, 0x32, 0x65, 0x62, 0x32, 0x65, 0x32, 0x36, 0x2d, 0x30, 0x66, 0x32, 0x34, 0x2d, 0x34, 0x38, 0x61, 0x61, 0x2d, 0x61, 0x65, 0x34, 0x63, 0x2d, 0x64, 0x65, 0x39, 0x64, 0x61, 0x63, 0x33, 0x66, 0x31, 0x32, 0x33, 0x34, 0x22, 0x2c, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x37, 0x37, 0x32, 0x35, 0x35, 0x35, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x37, 0x37, 0x32, 0x35, 0x35, 0x35, 0x2c, 0x22, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x65, 0x6d, 0x70, 0x65, 0x72, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0x2c, 0x22, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x22, 0x2c, 0x22, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x6e, 0x75, 0x6c, 0x6c, 0x2c, 0x22, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x22, 0x37, 0x32, 0x22, 0x7d, 0x5d, 0x7d} [2021-02-08T08:22:43.750Z] actual : []byte(nil) [2021-02-08T08:22:43.750Z] [2021-02-08T08:22:43.750Z] Diff: [2021-02-08T08:22:43.750Z] --- Expected [2021-02-08T08:22:43.750Z] +++ Actual [2021-02-08T08:22:43.750Z] @@ -1,31 +1,2 @@ [2021-02-08T08:22:43.750Z] -([]uint8) (len=444) { [2021-02-08T08:22:43.750Z] - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| [2021-02-08T08:22:43.750Z] - 00000010 32 22 2c 22 69 64 22 3a 22 38 32 65 62 32 65 32 |2","id":"82eb2e2| [2021-02-08T08:22:43.750Z] - 00000020 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 65 34 63 |6-0f24-48aa-ae4c| [2021-02-08T08:22:43.750Z] - 00000030 2d 64 65 39 64 61 63 33 66 62 39 62 63 22 2c 22 |-de9dac3fb9bc","| [2021-02-08T08:22:43.750Z] - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| [2021-02-08T08:22:43.750Z] - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| [2021-02-08T08:22:43.750Z] - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| [2021-02-08T08:22:43.750Z] - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| [2021-02-08T08:22:43.750Z] - 00000080 72 65 61 74 65 64 22 3a 31 36 31 32 37 37 32 35 |reated":16127725| [2021-02-08T08:22:43.750Z] - 00000090 35 35 2c 22 6f 72 69 67 69 6e 22 3a 31 36 31 32 |55,"origin":1612| [2021-02-08T08:22:43.750Z] - 000000a0 37 37 32 35 35 35 2c 22 72 65 61 64 69 6e 67 73 |772555,"readings| [2021-02-08T08:22:43.750Z] - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| [2021-02-08T08:22:43.750Z] - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 38 32 65 62 |:"v2","id":"82eb| [2021-02-08T08:22:43.750Z] - 000000d0 32 65 32 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 |2e26-0f24-48aa-a| [2021-02-08T08:22:43.750Z] - 000000e0 65 34 63 2d 64 65 39 64 61 63 33 66 31 32 33 34 |e4c-de9dac3f1234| [2021-02-08T08:22:43.750Z] - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 31 36 31 32 |","created":1612| [2021-02-08T08:22:43.750Z] - 00000100 37 37 32 35 35 35 2c 22 6f 72 69 67 69 6e 22 3a |772555,"origin":| [2021-02-08T08:22:43.751Z] - 00000110 31 36 31 32 37 37 32 35 35 35 2c 22 64 65 76 69 |1612772555,"devi| [2021-02-08T08:22:43.751Z] - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| [2021-02-08T08:22:43.751Z] - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| [2021-02-08T08:22:43.751Z] - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| [2021-02-08T08:22:43.751Z] - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| [2021-02-08T08:22:43.751Z] - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| [2021-02-08T08:22:43.751Z] - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| [2021-02-08T08:22:43.751Z] - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| [2021-02-08T08:22:43.751Z] - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| [2021-02-08T08:22:43.751Z] - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| [2021-02-08T08:22:43.751Z] - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| [2021-02-08T08:22:43.751Z] -} [2021-02-08T08:22:43.751Z] +([]uint8) [2021-02-08T08:22:43.751Z] [2021-02-08T08:22:43.751Z] Test: TestProcessMessageTargetType [2021-02-08T08:22:43.751Z] Messages: 'Default Nil Target Type' test failed [2021-02-08T08:22:43.751Z] runtime_test.go:423: [2021-02-08T08:22:43.751Z] Error Trace: runtime_test.go:423 [2021-02-08T08:22:43.751Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x4000322f80), ErrorCode:400} [2021-02-08T08:22:43.751Z] Test: TestProcessMessageTargetType [2021-02-08T08:22:43.751Z] Messages: unexpected error for test 'Event as Json' [2021-02-08T08:22:43.751Z] runtime_test.go:427: [2021-02-08T08:22:43.751Z] Error Trace: runtime_test.go:427 [2021-02-08T08:22:43.751Z] Error: Not equal: [2021-02-08T08:22:43.751Z] 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, 0x37, 0x37, 0x32, 0x35, 0x35, 0x35, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x37, 0x37, 0x32, 0x35, 0x35, 0x35, 0x2c, 0x22, 0x72, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x3a, 0x5b, 0x7b, 0x22, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x76, 0x32, 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x38, 0x32, 0x65, 0x62, 0x32, 0x65, 0x32, 0x36, 0x2d, 0x30, 0x66, 0x32, 0x34, 0x2d, 0x34, 0x38, 0x61, 0x61, 0x2d, 0x61, 0x65, 0x34, 0x63, 0x2d, 0x64, 0x65, 0x39, 0x64, 0x61, 0x63, 0x33, 0x66, 0x31, 0x32, 0x33, 0x34, 0x22, 0x2c, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x37, 0x37, 0x32, 0x35, 0x35, 0x35, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x37, 0x37, 0x32, 0x35, 0x35, 0x35, 0x2c, 0x22, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x65, 0x6d, 0x70, 0x65, 0x72, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0x2c, 0x22, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x22, 0x2c, 0x22, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x6e, 0x75, 0x6c, 0x6c, 0x2c, 0x22, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x22, 0x37, 0x32, 0x22, 0x7d, 0x5d, 0x7d} [2021-02-08T08:22:43.751Z] actual : []byte(nil) [2021-02-08T08:22:43.751Z] [2021-02-08T08:22:43.751Z] Diff: [2021-02-08T08:22:43.751Z] --- Expected [2021-02-08T08:22:43.751Z] +++ Actual [2021-02-08T08:22:43.751Z] @@ -1,31 +1,2 @@ [2021-02-08T08:22:43.751Z] -([]uint8) (len=444) { [2021-02-08T08:22:43.751Z] - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| [2021-02-08T08:22:43.751Z] - 00000010 32 22 2c 22 69 64 22 3a 22 38 32 65 62 32 65 32 |2","id":"82eb2e2| [2021-02-08T08:22:43.751Z] - 00000020 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 65 34 63 |6-0f24-48aa-ae4c| [2021-02-08T08:22:43.751Z] - 00000030 2d 64 65 39 64 61 63 33 66 62 39 62 63 22 2c 22 |-de9dac3fb9bc","| [2021-02-08T08:22:43.751Z] - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| [2021-02-08T08:22:43.751Z] - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| [2021-02-08T08:22:43.751Z] - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| [2021-02-08T08:22:43.751Z] - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| [2021-02-08T08:22:43.751Z] - 00000080 72 65 61 74 65 64 22 3a 31 36 31 32 37 37 32 35 |reated":16127725| [2021-02-08T08:22:43.751Z] - 00000090 35 35 2c 22 6f 72 69 67 69 6e 22 3a 31 36 31 32 |55,"origin":1612| [2021-02-08T08:22:43.751Z] - 000000a0 37 37 32 35 35 35 2c 22 72 65 61 64 69 6e 67 73 |772555,"readings| [2021-02-08T08:22:43.751Z] - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| [2021-02-08T08:22:43.751Z] - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 38 32 65 62 |:"v2","id":"82eb| [2021-02-08T08:22:43.751Z] - 000000d0 32 65 32 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 |2e26-0f24-48aa-a| [2021-02-08T08:22:43.751Z] - 000000e0 65 34 63 2d 64 65 39 64 61 63 33 66 31 32 33 34 |e4c-de9dac3f1234| [2021-02-08T08:22:43.751Z] - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 31 36 31 32 |","created":1612| [2021-02-08T08:22:43.751Z] - 00000100 37 37 32 35 35 35 2c 22 6f 72 69 67 69 6e 22 3a |772555,"origin":| [2021-02-08T08:22:43.751Z] - 00000110 31 36 31 32 37 37 32 35 35 35 2c 22 64 65 76 69 |1612772555,"devi| [2021-02-08T08:22:43.751Z] - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| [2021-02-08T08:22:43.751Z] - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| [2021-02-08T08:22:43.751Z] - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| [2021-02-08T08:22:43.751Z] - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| [2021-02-08T08:22:43.751Z] - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| [2021-02-08T08:22:43.751Z] - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| [2021-02-08T08:22:43.751Z] - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| [2021-02-08T08:22:43.751Z] - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| [2021-02-08T08:22:43.751Z] - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| [2021-02-08T08:22:43.751Z] - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| [2021-02-08T08:22:43.751Z] -} [2021-02-08T08:22:43.751Z] +([]uint8) [2021-02-08T08:22:43.751Z] [2021-02-08T08:22:43.751Z] Test: TestProcessMessageTargetType [2021-02-08T08:22:43.751Z] Messages: 'Event as Json' test failed [2021-02-08T08:22:43.751Z] runtime_test.go:423: [2021-02-08T08:22:43.751Z] Error Trace: runtime_test.go:423 [2021-02-08T08:22:43.751Z] Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x4000323400), ErrorCode:400} [2021-02-08T08:22:43.751Z] Test: TestProcessMessageTargetType [2021-02-08T08:22:43.751Z] Messages: unexpected error for test 'Event as Cbor' [2021-02-08T08:22:43.751Z] runtime_test.go:427: [2021-02-08T08:22:43.751Z] Error Trace: runtime_test.go:427 [2021-02-08T08:22:43.751Z] Error: Not equal: [2021-02-08T08:22:43.751Z] 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, 0x37, 0x37, 0x32, 0x35, 0x35, 0x35, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x37, 0x37, 0x32, 0x35, 0x35, 0x35, 0x2c, 0x22, 0x72, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x3a, 0x5b, 0x7b, 0x22, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x76, 0x32, 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x38, 0x32, 0x65, 0x62, 0x32, 0x65, 0x32, 0x36, 0x2d, 0x30, 0x66, 0x32, 0x34, 0x2d, 0x34, 0x38, 0x61, 0x61, 0x2d, 0x61, 0x65, 0x34, 0x63, 0x2d, 0x64, 0x65, 0x39, 0x64, 0x61, 0x63, 0x33, 0x66, 0x31, 0x32, 0x33, 0x34, 0x22, 0x2c, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x37, 0x37, 0x32, 0x35, 0x35, 0x35, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x37, 0x37, 0x32, 0x35, 0x35, 0x35, 0x2c, 0x22, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x65, 0x6d, 0x70, 0x65, 0x72, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0x2c, 0x22, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x22, 0x2c, 0x22, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x6e, 0x75, 0x6c, 0x6c, 0x2c, 0x22, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x22, 0x37, 0x32, 0x22, 0x7d, 0x5d, 0x7d} [2021-02-08T08:22:43.751Z] actual : []byte(nil) [2021-02-08T08:22:43.751Z] [2021-02-08T08:22:43.751Z] Diff: [2021-02-08T08:22:43.751Z] --- Expected [2021-02-08T08:22:43.751Z] +++ Actual [2021-02-08T08:22:43.751Z] @@ -1,31 +1,2 @@ [2021-02-08T08:22:43.751Z] -([]uint8) (len=444) { [2021-02-08T08:22:43.751Z] - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| [2021-02-08T08:22:43.751Z] - 00000010 32 22 2c 22 69 64 22 3a 22 38 32 65 62 32 65 32 |2","id":"82eb2e2| [2021-02-08T08:22:43.751Z] - 00000020 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 65 34 63 |6-0f24-48aa-ae4c| [2021-02-08T08:22:43.751Z] - 00000030 2d 64 65 39 64 61 63 33 66 62 39 62 63 22 2c 22 |-de9dac3fb9bc","| [2021-02-08T08:22:43.751Z] - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| [2021-02-08T08:22:43.751Z] - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| [2021-02-08T08:22:43.751Z] - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| [2021-02-08T08:22:43.751Z] - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| [2021-02-08T08:22:43.751Z] - 00000080 72 65 61 74 65 64 22 3a 31 36 31 32 37 37 32 35 |reated":16127725| [2021-02-08T08:22:43.751Z] - 00000090 35 35 2c 22 6f 72 69 67 69 6e 22 3a 31 36 31 32 |55,"origin":1612| [2021-02-08T08:22:43.751Z] - 000000a0 37 37 32 35 35 35 2c 22 72 65 61 64 69 6e 67 73 |772555,"readings| [2021-02-08T08:22:43.751Z] - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| [2021-02-08T08:22:43.751Z] - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 38 32 65 62 |:"v2","id":"82eb| [2021-02-08T08:22:43.751Z] - 000000d0 32 65 32 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 |2e26-0f24-48aa-a| [2021-02-08T08:22:43.751Z] - 000000e0 65 34 63 2d 64 65 39 64 61 63 33 66 31 32 33 34 |e4c-de9dac3f1234| [2021-02-08T08:22:43.751Z] - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 31 36 31 32 |","created":1612| [2021-02-08T08:22:43.751Z] - 00000100 37 37 32 35 35 35 2c 22 6f 72 69 67 69 6e 22 3a |772555,"origin":| [2021-02-08T08:22:43.751Z] - 00000110 31 36 31 32 37 37 32 35 35 35 2c 22 64 65 76 69 |1612772555,"devi| [2021-02-08T08:22:43.751Z] - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| [2021-02-08T08:22:43.751Z] - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| [2021-02-08T08:22:43.751Z] - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| [2021-02-08T08:22:43.751Z] - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| [2021-02-08T08:22:43.751Z] - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| [2021-02-08T08:22:43.751Z] - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| [2021-02-08T08:22:43.751Z] - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| [2021-02-08T08:22:43.751Z] - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| [2021-02-08T08:22:43.751Z] - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| [2021-02-08T08:22:43.751Z] - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| [2021-02-08T08:22:43.751Z] -} [2021-02-08T08:22:43.751Z] +([]uint8) [2021-02-08T08:22:43.751Z] [2021-02-08T08:22:43.751Z] Test: TestProcessMessageTargetType [2021-02-08T08:22:43.751Z] Messages: 'Event as Cbor' test failed [2021-02-08T08:22:43.751Z] --- FAIL: TestGolangRuntime_unmarshalV2Event (0.00s) [2021-02-08T08:22:43.751Z] --- FAIL: TestGolangRuntime_unmarshalV2Event/JSON_V2_Event (0.00s) [2021-02-08T08:22:43.751Z] runtime_test.go:599: [2021-02-08T08:22:43.751Z] Error Trace: runtime_test.go:599 [2021-02-08T08:22:43.751Z] Error: Received unexpected error: [2021-02-08T08:22:43.751Z] failed to unmarshal AddEventRequest from content type 'application/json': AddEventRequest.BaseRequest.Versionable.ApiVersion field is required [2021-02-08T08:22:43.751Z] Test: TestGolangRuntime_unmarshalV2Event/JSON_V2_Event [2021-02-08T08:22:43.751Z] --- FAIL: TestGolangRuntime_unmarshalV2Event/CBOR_V2_Event (0.00s) [2021-02-08T08:22:43.751Z] runtime_test.go:599: [2021-02-08T08:22:43.751Z] Error Trace: runtime_test.go:599 [2021-02-08T08:22:43.751Z] Error: Received unexpected error: [2021-02-08T08:22:43.751Z] validation failed on AddEventRequest: AddEventRequest.BaseRequest.Versionable.ApiVersion field is required [2021-02-08T08:22:43.751Z] Test: TestGolangRuntime_unmarshalV2Event/CBOR_V2_Event [2021-02-08T08:22:43.751Z] FAIL [2021-02-08T08:22:43.751Z] coverage: 73.4% of statements [2021-02-08T08:22:43.751Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.081s [2021-02-08T08:22:43.751Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-02-08T08:22:43.751Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-02-08T08:22:43.751Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-02-08T08:22:43.751Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-02-08T08:22:43.751Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-02-08T08:22:43.751Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-02-08T08:22:43.752Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.029s coverage: 97.0% of statements [2021-02-08T08:22:43.752Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-02-08T08:22:43.752Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.040s coverage: 8.8% of statements [2021-02-08T08:22:58.796Z] --- FAIL: TestInitializeAndProcessEventWithNoOutput (3.30s) [2021-02-08T08:22:58.797Z] messaging_test.go:206: [2021-02-08T08:22:58.797Z] Error Trace: messaging_test.go:206 [2021-02-08T08:22:58.797Z] Error: Should be true [2021-02-08T08:22:58.797Z] Test: TestInitializeAndProcessEventWithNoOutput [2021-02-08T08:22:58.797Z] Messages: Transform never called [2021-02-08T08:22:58.797Z] --- FAIL: TestInitializeAndProcessEventWithOutput (3.30s) [2021-02-08T08:22:58.797Z] messaging_test.go:290: [2021-02-08T08:22:58.797Z] Error Trace: messaging_test.go:290 [2021-02-08T08:22:58.797Z] Error: Should be true [2021-02-08T08:22:58.797Z] Test: TestInitializeAndProcessEventWithOutput [2021-02-08T08:22:58.797Z] Messages: Transform never called [2021-02-08T08:22:58.797Z] --- FAIL: TestInitializeAndProcessEventWithOutput_InferJSON (3.30s) [2021-02-08T08:22:58.797Z] messaging_test.go:385: [2021-02-08T08:22:58.797Z] Error Trace: messaging_test.go:385 [2021-02-08T08:22:58.797Z] Error: Should be true [2021-02-08T08:22:58.797Z] Test: TestInitializeAndProcessEventWithOutput_InferJSON [2021-02-08T08:22:58.797Z] Messages: Transform never called [2021-02-08T08:22:58.797Z] --- FAIL: TestInitializeAndProcessEventWithOutput_AssumeCBOR (3.32s) [2021-02-08T08:22:58.797Z] messaging_test.go:477: [2021-02-08T08:22:58.797Z] Error Trace: messaging_test.go:477 [2021-02-08T08:22:58.797Z] Error: Should be true [2021-02-08T08:22:58.797Z] Test: TestInitializeAndProcessEventWithOutput_AssumeCBOR [2021-02-08T08:22:58.797Z] Messages: Transform never called [2021-02-08T08:22:58.797Z] --- FAIL: TestInitializeAndProcessEventMultipleTopics (3.30s) [2021-02-08T08:22:58.797Z] messaging_test.go:638: [2021-02-08T08:22:58.797Z] Error Trace: messaging_test.go:638 [2021-02-08T08:22:58.797Z] Error: Transform never called for t1 [2021-02-08T08:22:58.797Z] Test: TestInitializeAndProcessEventMultipleTopics [2021-02-08T08:22:58.797Z] FAIL [2021-02-08T08:22:58.797Z] coverage: 62.0% of statements [2021-02-08T08:22:58.797Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 16.887s [2021-02-08T08:22:58.797Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-02-08T08:22:58.797Z] --- FAIL: TestAddSecretRequest (0.01s) [2021-02-08T08:22:58.797Z] --- FAIL: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash (0.00s) [2021-02-08T08:22:58.797Z] controller_test.go:261: [2021-02-08T08:22:58.797Z] Error Trace: controller_test.go:261 [2021-02-08T08:22:58.797Z] Error: Not equal: [2021-02-08T08:22:58.797Z] expected: 201 [2021-02-08T08:22:58.797Z] actual : 400 [2021-02-08T08:22:58.797Z] Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash [2021-02-08T08:22:58.797Z] Messages: HTTP status code not as expected [2021-02-08T08:22:58.797Z] controller_test.go:263: [2021-02-08T08:22:58.797Z] Error Trace: controller_test.go:263 [2021-02-08T08:22:58.797Z] Error: Not equal: [2021-02-08T08:22:58.797Z] expected: 201 [2021-02-08T08:22:58.797Z] actual : 400 [2021-02-08T08:22:58.797Z] Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash [2021-02-08T08:22:58.797Z] Messages: BaseResponse status code not as expected [2021-02-08T08:22:58.797Z] controller_test.go:270: [2021-02-08T08:22:58.797Z] Error Trace: controller_test.go:270 [2021-02-08T08:22:58.797Z] Error: Not equal: [2021-02-08T08:22:58.797Z] expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-02-08T08:22:58.797Z] actual : "" [2021-02-08T08:22:58.797Z] [2021-02-08T08:22:58.797Z] Diff: [2021-02-08T08:22:58.797Z] --- Expected [2021-02-08T08:22:58.797Z] +++ Actual [2021-02-08T08:22:58.797Z] @@ -1 +1 @@ [2021-02-08T08:22:58.797Z] -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-08T08:22:58.797Z] + [2021-02-08T08:22:58.797Z] Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash [2021-02-08T08:22:58.797Z] Messages: RequestID not as expected [2021-02-08T08:22:58.797Z] controller_test.go:271: [2021-02-08T08:22:58.797Z] Error Trace: controller_test.go:271 [2021-02-08T08:22:58.797Z] Error: Should be empty, but was JSON decode failed [2021-02-08T08:22:58.797Z] Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash [2021-02-08T08:22:58.797Z] Messages: Message not empty, as expected [2021-02-08T08:22:58.797Z] --- FAIL: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash (0.00s) [2021-02-08T08:22:58.797Z] controller_test.go:261: [2021-02-08T08:22:58.797Z] Error Trace: controller_test.go:261 [2021-02-08T08:22:58.797Z] Error: Not equal: [2021-02-08T08:22:58.797Z] expected: 201 [2021-02-08T08:22:58.797Z] actual : 400 [2021-02-08T08:22:58.797Z] Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-08T08:22:58.797Z] Messages: HTTP status code not as expected [2021-02-08T08:22:58.797Z] controller_test.go:263: [2021-02-08T08:22:58.797Z] Error Trace: controller_test.go:263 [2021-02-08T08:22:58.797Z] Error: Not equal: [2021-02-08T08:22:58.797Z] expected: 201 [2021-02-08T08:22:58.797Z] actual : 400 [2021-02-08T08:22:58.797Z] Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-08T08:22:58.797Z] Messages: BaseResponse status code not as expected [2021-02-08T08:22:58.797Z] controller_test.go:270: [2021-02-08T08:22:58.797Z] Error Trace: controller_test.go:270 [2021-02-08T08:22:58.797Z] Error: Not equal: [2021-02-08T08:22:58.797Z] expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-02-08T08:22:58.797Z] actual : "" [2021-02-08T08:22:58.797Z] [2021-02-08T08:22:58.797Z] Diff: [2021-02-08T08:22:58.797Z] --- Expected [2021-02-08T08:22:58.797Z] +++ Actual [2021-02-08T08:22:58.797Z] @@ -1 +1 @@ [2021-02-08T08:22:58.797Z] -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-08T08:22:58.797Z] + [2021-02-08T08:22:58.797Z] Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-08T08:22:58.797Z] Messages: RequestID not as expected [2021-02-08T08:22:58.797Z] controller_test.go:271: [2021-02-08T08:22:58.797Z] Error Trace: controller_test.go:271 [2021-02-08T08:22:58.797Z] Error: Should be empty, but was JSON decode failed [2021-02-08T08:22:58.797Z] Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash [2021-02-08T08:22:58.797Z] Messages: Message not empty, as expected [2021-02-08T08:22:58.797Z] --- FAIL: TestAddSecretRequest/Valid_-_both_trailing_slashes (0.00s) [2021-02-08T08:22:58.797Z] controller_test.go:261: [2021-02-08T08:22:58.797Z] Error Trace: controller_test.go:261 [2021-02-08T08:22:58.797Z] Error: Not equal: [2021-02-08T08:22:58.797Z] expected: 201 [2021-02-08T08:22:58.797Z] actual : 400 [2021-02-08T08:22:58.797Z] Test: TestAddSecretRequest/Valid_-_both_trailing_slashes [2021-02-08T08:22:58.797Z] Messages: HTTP status code not as expected [2021-02-08T08:22:58.797Z] controller_test.go:263: [2021-02-08T08:22:58.797Z] Error Trace: controller_test.go:263 [2021-02-08T08:22:58.797Z] Error: Not equal: [2021-02-08T08:22:58.797Z] expected: 201 [2021-02-08T08:22:58.797Z] actual : 400 [2021-02-08T08:22:58.797Z] Test: TestAddSecretRequest/Valid_-_both_trailing_slashes [2021-02-08T08:22:58.797Z] Messages: BaseResponse status code not as expected [2021-02-08T08:22:58.797Z] controller_test.go:270: [2021-02-08T08:22:58.797Z] Error Trace: controller_test.go:270 [2021-02-08T08:22:58.797Z] Error: Not equal: [2021-02-08T08:22:58.797Z] expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" [2021-02-08T08:22:58.797Z] actual : "" [2021-02-08T08:22:58.797Z] [2021-02-08T08:22:58.797Z] Diff: [2021-02-08T08:22:58.797Z] --- Expected [2021-02-08T08:22:58.797Z] +++ Actual [2021-02-08T08:22:58.797Z] @@ -1 +1 @@ [2021-02-08T08:22:58.797Z] -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc [2021-02-08T08:22:58.797Z] + [2021-02-08T08:22:58.797Z] Test: TestAddSecretRequest/Valid_-_both_trailing_slashes [2021-02-08T08:22:58.797Z] Messages: RequestID not as expected [2021-02-08T08:22:58.797Z] controller_test.go:271: [2021-02-08T08:22:58.797Z] Error Trace: controller_test.go:271 [2021-02-08T08:22:58.797Z] Error: Should be empty, but was JSON decode failed [2021-02-08T08:22:58.797Z] Test: TestAddSecretRequest/Valid_-_both_trailing_slashes [2021-02-08T08:22:58.797Z] Messages: Message not empty, as expected [2021-02-08T08:22:58.797Z] --- FAIL: TestAddSecretRequest/Valid_-_no_requestId (0.00s) [2021-02-08T08:22:58.797Z] controller_test.go:261: [2021-02-08T08:22:58.797Z] Error Trace: controller_test.go:261 [2021-02-08T08:22:58.797Z] Error: Not equal: [2021-02-08T08:22:58.797Z] expected: 201 [2021-02-08T08:22:58.797Z] actual : 400 [2021-02-08T08:22:58.797Z] Test: TestAddSecretRequest/Valid_-_no_requestId [2021-02-08T08:22:58.797Z] Messages: HTTP status code not as expected [2021-02-08T08:22:58.797Z] controller_test.go:263: [2021-02-08T08:22:58.797Z] Error Trace: controller_test.go:263 [2021-02-08T08:22:58.797Z] Error: Not equal: [2021-02-08T08:22:58.797Z] expected: 201 [2021-02-08T08:22:58.797Z] actual : 400 [2021-02-08T08:22:58.797Z] Test: TestAddSecretRequest/Valid_-_no_requestId [2021-02-08T08:22:58.797Z] Messages: BaseResponse status code not as expected [2021-02-08T08:22:58.797Z] controller_test.go:271: [2021-02-08T08:22:58.797Z] Error Trace: controller_test.go:271 [2021-02-08T08:22:58.797Z] Error: Should be empty, but was JSON decode failed [2021-02-08T08:22:58.797Z] Test: TestAddSecretRequest/Valid_-_no_requestId [2021-02-08T08:22:58.797Z] Messages: Message not empty, as expected [2021-02-08T08:22:58.797Z] --- FAIL: TestAddSecretRequest/Invalid_-_No_Secret_Store (0.00s) [2021-02-08T08:22:58.797Z] controller_test.go:261: [2021-02-08T08:22:58.797Z] Error Trace: controller_test.go:261 [2021-02-08T08:22:58.797Z] Error: Not equal: [2021-02-08T08:22:58.797Z] expected: 500 [2021-02-08T08:22:58.797Z] actual : 400 [2021-02-08T08:22:58.797Z] Test: TestAddSecretRequest/Invalid_-_No_Secret_Store [2021-02-08T08:22:58.797Z] Messages: HTTP status code not as expected [2021-02-08T08:22:58.797Z] controller_test.go:263: [2021-02-08T08:22:58.797Z] Error Trace: controller_test.go:263 [2021-02-08T08:22:58.797Z] Error: Not equal: [2021-02-08T08:22:58.797Z] expected: 500 [2021-02-08T08:22:58.797Z] actual : 400 [2021-02-08T08:22:58.797Z] Test: TestAddSecretRequest/Invalid_-_No_Secret_Store [2021-02-08T08:22:58.797Z] Messages: BaseResponse status code not as expected [2021-02-08T08:22:58.797Z] FAIL [2021-02-08T08:22:58.797Z] coverage: 63.8% of statements [2021-02-08T08:22:58.797Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.043s [2021-02-08T08:22:58.797Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.036s coverage: 80.5% of statements [2021-02-08T08:22:58.797Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.018s coverage: 71.7% of statements [2021-02-08T08:23:08.912Z] --- FAIL: TestTransformToJSON (0.00s) [2021-02-08T08:23:08.912Z] conversion_test.go:130: [2021-02-08T08:23:08.912Z] Error Trace: conversion_test.go:130 [2021-02-08T08:23:08.912Z] Error: Not equal: [2021-02-08T08:23:08.912Z] expected: "{\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" [2021-02-08T08:23:08.912Z] actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" [2021-02-08T08:23:08.912Z] [2021-02-08T08:23:08.912Z] Diff: [2021-02-08T08:23:08.912Z] --- Expected [2021-02-08T08:23:08.912Z] +++ Actual [2021-02-08T08:23:08.912Z] @@ -1 +1 @@ [2021-02-08T08:23:08.912Z] -{"id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} [2021-02-08T08:23:08.912Z] +{"apiVersion":"","id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} [2021-02-08T08:23:08.912Z] Test: TestTransformToJSON [2021-02-08T08:23:08.912Z] --- FAIL: TestTransformToJSONMultipleParametersValid (0.00s) [2021-02-08T08:23:08.912Z] conversion_test.go:157: [2021-02-08T08:23:08.912Z] Error Trace: conversion_test.go:157 [2021-02-08T08:23:08.912Z] Error: Not equal: [2021-02-08T08:23:08.912Z] expected: "{\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" [2021-02-08T08:23:08.912Z] actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" [2021-02-08T08:23:08.912Z] [2021-02-08T08:23:08.912Z] Diff: [2021-02-08T08:23:08.912Z] --- Expected [2021-02-08T08:23:08.912Z] +++ Actual [2021-02-08T08:23:08.912Z] @@ -1 +1 @@ [2021-02-08T08:23:08.912Z] -{"id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} [2021-02-08T08:23:08.912Z] +{"apiVersion":"","id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} [2021-02-08T08:23:08.912Z] Test: TestTransformToJSONMultipleParametersValid [2021-02-08T08:23:08.912Z] --- FAIL: TestTransformToJSONMultipleParametersTwoEvents (0.00s) [2021-02-08T08:23:08.912Z] conversion_test.go:175: [2021-02-08T08:23:08.912Z] Error Trace: conversion_test.go:175 [2021-02-08T08:23:08.912Z] Error: Not equal: [2021-02-08T08:23:08.912Z] expected: "{\"id\":\"\",\"deviceName\":\"id2\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" [2021-02-08T08:23:08.912Z] actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"id2\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" [2021-02-08T08:23:08.912Z] [2021-02-08T08:23:08.912Z] Diff: [2021-02-08T08:23:08.912Z] --- Expected [2021-02-08T08:23:08.912Z] +++ Actual [2021-02-08T08:23:08.912Z] @@ -1 +1 @@ [2021-02-08T08:23:08.912Z] -{"id":"","deviceName":"id2","profileName":"","created":0,"origin":0,"readings":null} [2021-02-08T08:23:08.912Z] +{"apiVersion":"","id":"","deviceName":"id2","profileName":"","created":0,"origin":0,"readings":null} [2021-02-08T08:23:08.912Z] Test: TestTransformToJSONMultipleParametersTwoEvents [2021-02-08T08:23:08.912Z] FAIL [2021-02-08T08:23:08.912Z] coverage: 81.4% of statements [2021-02-08T08:23:08.912Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.075s [2021-02-08T08:23:08.912Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.025s coverage: 94.4% of statements [2021-02-08T08:23:08.912Z] FAIL [2021-02-08T08:23:08.912Z] make: *** [Makefile:6: test] Error 1 [Pipeline] } [2021-02-08T08:23:08.969Z] $ docker stop --time=1 b7e72be54600b5c533fe27a3a56a22cf50eb50b6ae1de0600a1ebb203b10b9a5 [2021-02-08T08:23:11.092Z] $ docker rm -f b7e72be54600b5c533fe27a3a56a22cf50eb50b6ae1de0600a1ebb203b10b9a5 [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-08T08:23:15.114Z] 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-08T08:23:19.248Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-08T08:23:19.640Z] ---> package-listing.sh [2021-02-08T08:23:19.640Z] ++ facter osfamily [2021-02-08T08:23:19.640Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-08T08:23:19.640Z] + OS_FAMILY=redhat [2021-02-08T08:23:19.640Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-681 [2021-02-08T08:23:19.640Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-08T08:23:19.640Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-08T08:23:19.640Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-08T08:23:19.640Z] + PACKAGES=/tmp/packages_start.txt [2021-02-08T08:23:19.640Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-681 ']' [2021-02-08T08:23:19.640Z] + PACKAGES=/tmp/packages_end.txt [2021-02-08T08:23:19.640Z] + case "${OS_FAMILY}" in [2021-02-08T08:23:19.640Z] + rpm -qa [2021-02-08T08:23:19.640Z] + sort [2021-02-08T08:23:24.949Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-08T08:23:24.949Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-08T08:23:24.949Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-08T08:23:24.949Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-681 ']' [2021-02-08T08:23:24.949Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-681/archives/ [2021-02-08T08:23:24.949Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-681/archives/ [Pipeline] echo [2021-02-08T08:23:24.985Z] 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-681/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-02-08T08:23:25.313Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-08T08:23:25.659Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-08T08:23:25.659Z] [2021-02-08T08:23:25.659Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-08T08:23:26.054Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-08T08:23:26.054Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-08T08:23:26.054Z] df20fa9351a1: Pulling fs layer [2021-02-08T08:23:26.054Z] 36b3adc4ff6f: Pulling fs layer [2021-02-08T08:23:26.054Z] 8ad3a11d3b57: Pulling fs layer [2021-02-08T08:23:26.054Z] 46f8f816bc3b: Pulling fs layer [2021-02-08T08:23:26.054Z] 93b61091891f: Pulling fs layer [2021-02-08T08:23:26.054Z] 93b9cdb0e59b: Pulling fs layer [2021-02-08T08:23:26.054Z] 5e14af77c1be: Pulling fs layer [2021-02-08T08:23:26.054Z] 01666e4c0597: Pulling fs layer [2021-02-08T08:23:26.054Z] aa168da1d23b: Pulling fs layer [2021-02-08T08:23:26.054Z] 46f8f816bc3b: Waiting [2021-02-08T08:23:26.054Z] 93b61091891f: Waiting [2021-02-08T08:23:26.054Z] 93b9cdb0e59b: Waiting [2021-02-08T08:23:26.054Z] 5e14af77c1be: Waiting [2021-02-08T08:23:26.054Z] 01666e4c0597: Waiting [2021-02-08T08:23:26.054Z] 36b3adc4ff6f: Verifying Checksum [2021-02-08T08:23:26.054Z] 36b3adc4ff6f: Download complete [2021-02-08T08:23:26.054Z] 46f8f816bc3b: Verifying Checksum [2021-02-08T08:23:26.054Z] 46f8f816bc3b: Download complete [2021-02-08T08:23:26.054Z] df20fa9351a1: Verifying Checksum [2021-02-08T08:23:26.054Z] df20fa9351a1: Download complete [2021-02-08T08:23:26.054Z] 93b9cdb0e59b: Verifying Checksum [2021-02-08T08:23:26.054Z] 93b9cdb0e59b: Download complete [2021-02-08T08:23:26.320Z] 5e14af77c1be: Verifying Checksum [2021-02-08T08:23:26.320Z] 5e14af77c1be: Download complete [2021-02-08T08:23:26.320Z] 01666e4c0597: Verifying Checksum [2021-02-08T08:23:26.320Z] 01666e4c0597: Download complete [2021-02-08T08:23:26.320Z] 93b61091891f: Verifying Checksum [2021-02-08T08:23:26.320Z] 93b61091891f: Download complete [2021-02-08T08:23:26.582Z] df20fa9351a1: Pull complete [2021-02-08T08:23:26.852Z] 36b3adc4ff6f: Pull complete [2021-02-08T08:23:26.852Z] 8ad3a11d3b57: Verifying Checksum [2021-02-08T08:23:26.852Z] 8ad3a11d3b57: Download complete [2021-02-08T08:23:27.807Z] 8ad3a11d3b57: Pull complete [2021-02-08T08:23:27.807Z] 46f8f816bc3b: Pull complete [2021-02-08T08:23:28.389Z] 93b61091891f: Pull complete [2021-02-08T08:23:28.389Z] 93b9cdb0e59b: Pull complete [2021-02-08T08:23:28.656Z] 5e14af77c1be: Pull complete [2021-02-08T08:23:28.656Z] aa168da1d23b: Verifying Checksum [2021-02-08T08:23:28.656Z] aa168da1d23b: Download complete [2021-02-08T08:23:28.656Z] 01666e4c0597: Pull complete [2021-02-08T08:23:36.853Z] aa168da1d23b: Pull complete [2021-02-08T08:23:36.853Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-08T08:23:36.853Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-08T08:23:36.853Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-08T08:23:37.137Z] prd-centos7-docker-4c-2g-25513 does not seem to be running inside a container [2021-02-08T08:23:37.187Z] $ 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-681/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-681 -v /w/workspace/ndry_app-functions-sdk-go_PR-681:/w/workspace/ndry_app-functions-sdk-go_PR-681:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-681@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-681@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-02-08T08:23:40.368Z] $ docker top cc24659ada78192ec2ba6035ea5fb483e8dbfc3b4a7c3ee05f08dc10ce6f878c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-08T08:23:41.028Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-08T08:23:41.351Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-08T08:23:41.679Z] + ls /var/log/sa-host [2021-02-08T08:23:41.679Z] + sadf -c /var/log/sa-host/sa08 [2021-02-08T08:23:41.679Z] file_magic: OK [2021-02-08T08:23:41.679Z] HZ: Using current value: 100 [2021-02-08T08:23:41.679Z] file_header: OK [2021-02-08T08:23:41.679Z] 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-08T08:23:41.679Z] Statistics: [2021-02-08T08:23:41.679Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-08T08:23:41.679Z] File successfully converted to sysstat format version 12.2.1 [2021-02-08T08:23:41.679Z] + sadf -c /var/log/sa-host/sa23 [2021-02-08T08:23:41.679Z] file_magic: OK [2021-02-08T08:23:41.679Z] HZ: Using current value: 100 [2021-02-08T08:23:41.679Z] file_header: OK [2021-02-08T08:23:41.679Z] 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-08T08:23:41.679Z] Statistics: [2021-02-08T08:23:41.679Z] Hnuu...uuuununununu... [2021-02-08T08:23:41.679Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-08T08:23:42.009Z] provisioning config files... [2021-02-08T08:23:42.036Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-681@tmp/config4697844024115729225tmp [Pipeline] { [Pipeline] echo [2021-02-08T08:23:42.192Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-08T08:23:42.534Z] ---> create-netrc.sh [Pipeline] } [2021-02-08T08:23:42.560Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-08T08:23:42.702Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-08T08:23:43.047Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-08T08:23:43.082Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-08T08:23:43.426Z] ---> sudo-logs.sh [2021-02-08T08:23:43.426Z] Archiving 'sudo' log.. [Pipeline] echo [2021-02-08T08:23:43.463Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-08T08:23:43.820Z] ---> job-cost.sh [2021-02-08T08:23:43.820Z] lf-activate-venv: SKIPPING [2021-02-08T08:23:43.820Z] INFO: No Stack... [2021-02-08T08:23:44.772Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-08T08:23:45.035Z] INFO: Archiving Costs [Pipeline] echo [2021-02-08T08:23:45.070Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-08T08:23:45.424Z] ---> logs-deploy.sh [2021-02-08T08:23:45.424Z] lf-activate-venv: SKIPPING [2021-02-08T08:23:45.424Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-681/1 [2021-02-08T08:23:45.424Z] INFO: archiving workspace using pattern(s): [2021-02-08T08:23:47.349Z] Archives upload complete. [2021-02-08T08:23:47.349Z] INFO: archiving logs to Nexus [2021-02-08T08:23:48.299Z] ---> uname -a: [2021-02-08T08:23:48.299Z] Linux prd-centos7-docker-4c-2g-25513.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-08T08:23:48.299Z] [2021-02-08T08:23:48.299Z] [2021-02-08T08:23:48.299Z] ---> lscpu: [2021-02-08T08:23:48.299Z] Architecture: x86_64 [2021-02-08T08:23:48.299Z] CPU op-mode(s): 32-bit, 64-bit [2021-02-08T08:23:48.299Z] Byte Order: Little Endian [2021-02-08T08:23:48.299Z] Address sizes: 40 bits physical, 48 bits virtual [2021-02-08T08:23:48.299Z] CPU(s): 4 [2021-02-08T08:23:48.299Z] On-line CPU(s) list: 0-3 [2021-02-08T08:23:48.299Z] Thread(s) per core: 1 [2021-02-08T08:23:48.299Z] Core(s) per socket: 1 [2021-02-08T08:23:48.299Z] Socket(s): 4 [2021-02-08T08:23:48.299Z] NUMA node(s): 1 [2021-02-08T08:23:48.299Z] Vendor ID: GenuineIntel [2021-02-08T08:23:48.299Z] CPU family: 6 [2021-02-08T08:23:48.299Z] Model: 44 [2021-02-08T08:23:48.299Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2021-02-08T08:23:48.299Z] Stepping: 1 [2021-02-08T08:23:48.299Z] CPU MHz: 2933.442 [2021-02-08T08:23:48.299Z] BogoMIPS: 5866.88 [2021-02-08T08:23:48.299Z] Virtualization: VT-x [2021-02-08T08:23:48.299Z] Hypervisor vendor: KVM [2021-02-08T08:23:48.299Z] Virtualization type: full [2021-02-08T08:23:48.299Z] L1d cache: 128 KiB [2021-02-08T08:23:48.299Z] L1i cache: 128 KiB [2021-02-08T08:23:48.299Z] L2 cache: 16 MiB [2021-02-08T08:23:48.299Z] L3 cache: 64 MiB [2021-02-08T08:23:48.299Z] NUMA node0 CPU(s): 0-3 [2021-02-08T08:23:48.299Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2021-02-08T08:23:48.299Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2021-02-08T08:23:48.299Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2021-02-08T08:23:48.299Z] Vulnerability Meltdown: Mitigation; PTI [2021-02-08T08:23:48.299Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-02-08T08:23:48.299Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-02-08T08:23:48.299Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-02-08T08:23:48.299Z] Vulnerability Srbds: Not affected [2021-02-08T08:23:48.299Z] Vulnerability Tsx async abort: Not affected [2021-02-08T08:23:48.299Z] 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-08T08:23:48.299Z] [2021-02-08T08:23:48.299Z] [2021-02-08T08:23:48.299Z] ---> nproc: [2021-02-08T08:23:48.299Z] 4 [2021-02-08T08:23:48.299Z] [2021-02-08T08:23:48.299Z] [2021-02-08T08:23:48.299Z] ---> df -h: [2021-02-08T08:23:48.299Z] Filesystem Size Used Available Use% Mounted on [2021-02-08T08:23:48.299Z] overlay 50.0G 7.3G 42.7G 15% / [2021-02-08T08:23:48.299Z] tmpfs 64.0M 0 64.0M 0% /dev [2021-02-08T08:23:48.299Z] tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup [2021-02-08T08:23:48.299Z] shm 64.0M 0 64.0M 0% /dev/shm [2021-02-08T08:23:48.299Z] /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os [2021-02-08T08:23:48.299Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf [2021-02-08T08:23:48.299Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname [2021-02-08T08:23:48.299Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts [2021-02-08T08:23:48.299Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log [2021-02-08T08:23:48.299Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/ndry_app-functions-sdk-go_PR-681 [2021-02-08T08:23:48.299Z] /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json [2021-02-08T08:23:48.299Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/ndry_app-functions-sdk-go_PR-681@tmp [2021-02-08T08:23:48.299Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host [2021-02-08T08:23:48.299Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure [2021-02-08T08:23:48.299Z] [2021-02-08T08:23:48.299Z] [2021-02-08T08:23:48.299Z] ---> free -m: [2021-02-08T08:23:48.299Z] total used free shared buff/cache available [2021-02-08T08:23:48.299Z] Mem: 1837 710 93 0 1033 1021 [2021-02-08T08:23:48.299Z] Swap: 1023 1 1022 [2021-02-08T08:23:48.299Z] [2021-02-08T08:23:48.299Z] [2021-02-08T08:23:48.299Z] ---> ip addr: [2021-02-08T08:23:48.299Z] 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 [2021-02-08T08:23:48.299Z] link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 [2021-02-08T08:23:48.299Z] inet 127.0.0.1/8 scope host lo [2021-02-08T08:23:48.299Z] valid_lft forever preferred_lft forever [2021-02-08T08:23:48.299Z] inet6 ::1/128 scope host [2021-02-08T08:23:48.299Z] valid_lft forever preferred_lft forever [2021-02-08T08:23:48.299Z] 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 [2021-02-08T08:23:48.299Z] link/ether fa:16:3e:67:f8:70 brd ff:ff:ff:ff:ff:ff [2021-02-08T08:23:48.299Z] inet 10.30.122.224/23 brd 10.30.123.255 scope global dynamic eth0 [2021-02-08T08:23:48.299Z] valid_lft 85973sec preferred_lft 85973sec [2021-02-08T08:23:48.299Z] inet6 fe80::f816:3eff:fe67:f870/64 scope link [2021-02-08T08:23:48.299Z] valid_lft forever preferred_lft forever [2021-02-08T08:23:48.299Z] 3: docker0: mtu 1500 qdisc noqueue state DOWN [2021-02-08T08:23:48.299Z] link/ether 02:42:24:e7:e0:6c brd ff:ff:ff:ff:ff:ff [2021-02-08T08:23:48.299Z] inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 [2021-02-08T08:23:48.299Z] valid_lft forever preferred_lft forever [2021-02-08T08:23:48.299Z] inet6 fe80::42:24ff:fee7:e06c/64 scope link [2021-02-08T08:23:48.299Z] valid_lft forever preferred_lft forever [2021-02-08T08:23:48.299Z] [2021-02-08T08:23:48.299Z] [2021-02-08T08:23:48.299Z] ---> sar -b -r -n DEV: [2021-02-08T08:23:48.299Z] Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 02/08/21 _x86_64_ (4 CPU) [2021-02-08T08:23:48.299Z] [2021-02-08T08:23:48.299Z] 08:16:28 LINUX RESTART (4 CPU) [2021-02-08T08:23:48.299Z] [2021-02-08T08:23:48.299Z] 08:17:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s [2021-02-08T08:23:48.299Z] 08:18:01 57.13 17.96 39.17 0.00 5006.23 4825.73 0.00 [2021-02-08T08:23:48.299Z] 08:19:01 1.15 0.00 1.15 0.00 0.00 27.34 0.00 [2021-02-08T08:23:48.299Z] 08:20:01 0.15 0.00 0.15 0.00 0.00 2.02 0.00 [2021-02-08T08:23:48.299Z] 08:21:01 0.55 0.00 0.55 0.00 0.00 6.64 0.00 [2021-02-08T08:23:48.299Z] 08:22:01 0.68 0.00 0.68 0.00 0.00 7.51 0.00 [2021-02-08T08:23:48.299Z] 08:23:01 0.32 0.00 0.32 0.00 0.00 5.10 0.00 [2021-02-08T08:23:48.299Z] Average: 9.89 2.96 6.93 0.00 825.48 803.78 0.00 [2021-02-08T08:23:48.299Z] [2021-02-08T08:23:48.299Z] 08:17:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2021-02-08T08:23:48.299Z] 08:18:01 219604 0 614364 32.65 2620 1044956 1112100 37.95 426764 1037688 128 [2021-02-08T08:23:48.299Z] 08:19:01 224316 0 609656 32.40 2620 1044952 1078760 36.82 426344 1033840 16 [2021-02-08T08:23:48.299Z] 08:20:01 223716 0 610252 32.43 2620 1044956 1078916 36.82 434496 1026592 20 [2021-02-08T08:23:48.299Z] 08:21:01 222348 0 611620 32.51 2620 1044956 1078856 36.82 436368 1026320 8 [2021-02-08T08:23:48.299Z] 08:22:01 221984 0 611976 32.53 2620 1044964 1078904 36.82 455264 1007560 8 [2021-02-08T08:23:48.299Z] 08:23:01 222284 0 611672 32.51 2620 1044968 1078940 36.82 456628 1006260 12 [2021-02-08T08:23:48.299Z] Average: 222375 0 611590 32.50 2620 1044959 1084413 37.01 439311 1023043 32 [2021-02-08T08:23:48.299Z] [2021-02-08T08:23:48.299Z] 08:17:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2021-02-08T08:23:48.299Z] 08:18:01 eth0 598.82 418.60 1416.81 94.23 0.00 0.00 0.00 0.00 [2021-02-08T08:23:48.299Z] 08:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-02-08T08:23:48.299Z] 08:18:01 docker0 88.73 88.32 7.79 311.17 0.00 0.00 0.00 0.00 [2021-02-08T08:23:48.299Z] 08:19:01 eth0 0.75 0.08 0.06 0.01 0.00 0.00 0.00 0.00 [2021-02-08T08:23:48.299Z] 08:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-02-08T08:23:48.299Z] 08:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-02-08T08:23:48.299Z] 08:20:01 eth0 2.61 0.65 0.68 0.40 0.00 0.00 0.00 0.00 [2021-02-08T08:23:48.299Z] 08:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-02-08T08:23:48.299Z] 08:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-02-08T08:23:48.299Z] 08:21:01 eth0 1.88 0.65 0.64 0.40 0.00 0.00 0.00 0.00 [2021-02-08T08:23:48.299Z] 08:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-02-08T08:23:48.299Z] 08:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-02-08T08:23:48.299Z] 08:22:01 eth0 1.23 0.32 0.33 0.17 0.00 0.00 0.00 0.00 [2021-02-08T08:23:48.299Z] 08:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-02-08T08:23:48.299Z] 08:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-02-08T08:23:48.299Z] 08:23:01 eth0 0.83 0.57 0.42 0.28 0.00 0.00 0.00 0.00 [2021-02-08T08:23:48.299Z] 08:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-02-08T08:23:48.299Z] 08:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-02-08T08:23:48.299Z] Average: eth0 99.96 69.40 233.97 15.75 0.00 0.00 0.00 0.00 [2021-02-08T08:23:48.299Z] Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-02-08T08:23:48.299Z] Average: docker0 14.63 14.56 1.28 51.31 0.00 0.00 0.00 0.00 [2021-02-08T08:23:48.299Z] [2021-02-08T08:23:48.299Z] [2021-02-08T08:23:48.299Z] ---> sar -P ALL: [2021-02-08T08:23:48.299Z] Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 02/08/21 _x86_64_ (4 CPU) [2021-02-08T08:23:48.299Z] [2021-02-08T08:23:48.299Z] 08:16:28 LINUX RESTART (4 CPU) [2021-02-08T08:23:48.299Z] [2021-02-08T08:23:48.299Z] 08:17:02 CPU %user %nice %system %iowait %steal %idle [2021-02-08T08:23:48.299Z] 08:18:01 all 9.31 0.00 3.37 1.45 0.05 85.81 [2021-02-08T08:23:48.299Z] 08:18:01 0 9.38 0.00 4.24 2.07 0.07 84.24 [2021-02-08T08:23:48.299Z] 08:18:01 1 10.02 0.00 3.39 1.25 0.03 85.30 [2021-02-08T08:23:48.299Z] 08:18:01 2 7.53 0.00 3.26 0.39 0.05 88.76 [2021-02-08T08:23:48.299Z] 08:18:01 3 10.33 0.00 2.58 2.10 0.05 84.93 [2021-02-08T08:23:48.299Z] 08:19:01 all 0.17 0.00 0.05 0.00 0.00 99.78 [2021-02-08T08:23:48.299Z] 08:19:01 0 0.03 0.00 0.03 0.00 0.00 99.93 [2021-02-08T08:23:48.299Z] 08:19:01 1 0.07 0.00 0.07 0.00 0.00 99.86 [2021-02-08T08:23:48.299Z] 08:19:01 2 0.51 0.00 0.03 0.00 0.00 99.46 [2021-02-08T08:23:48.300Z] 08:19:01 3 0.07 0.00 0.05 0.00 0.00 99.88 [2021-02-08T08:23:48.300Z] 08:20:01 all 0.16 0.00 0.06 0.00 0.00 99.78 [2021-02-08T08:23:48.300Z] 08:20:01 0 0.05 0.00 0.03 0.00 0.00 99.92 [2021-02-08T08:23:48.300Z] 08:20:01 1 0.05 0.00 0.03 0.00 0.00 99.92 [2021-02-08T08:23:48.300Z] 08:20:01 2 0.45 0.00 0.08 0.00 0.00 99.47 [2021-02-08T08:23:48.300Z] 08:20:01 3 0.08 0.00 0.08 0.00 0.00 99.83 [2021-02-08T08:23:48.300Z] 08:21:01 all 0.17 0.00 0.04 0.00 0.01 99.78 [2021-02-08T08:23:48.300Z] 08:21:01 0 0.05 0.00 0.03 0.00 0.02 99.90 [2021-02-08T08:23:48.300Z] 08:21:01 1 0.07 0.00 0.05 0.00 0.00 99.88 [2021-02-08T08:23:48.300Z] 08:21:01 2 0.47 0.00 0.05 0.00 0.02 99.47 [2021-02-08T08:23:48.300Z] 08:21:01 3 0.10 0.00 0.02 0.00 0.00 99.88 [2021-02-08T08:23:48.300Z] 08:22:01 all 0.18 0.00 0.07 0.00 0.00 99.75 [2021-02-08T08:23:48.300Z] 08:22:01 0 0.05 0.00 0.05 0.00 0.00 99.90 [2021-02-08T08:23:48.300Z] 08:22:01 1 0.12 0.00 0.05 0.00 0.02 99.82 [2021-02-08T08:23:48.300Z] 08:22:01 2 0.50 0.00 0.13 0.00 0.00 99.37 [2021-02-08T08:23:48.300Z] 08:22:01 3 0.03 0.00 0.03 0.00 0.00 99.93 [2021-02-08T08:23:48.300Z] 08:23:01 all 0.15 0.00 0.08 0.00 0.00 99.77 [2021-02-08T08:23:48.300Z] 08:23:01 0 0.03 0.00 0.03 0.00 0.00 99.93 [2021-02-08T08:23:48.300Z] 08:23:01 1 0.50 0.00 0.05 0.00 0.00 99.45 [2021-02-08T08:23:48.300Z] 08:23:01 2 0.03 0.00 0.22 0.00 0.00 99.75 [2021-02-08T08:23:48.300Z] 08:23:01 3 0.02 0.00 0.02 0.00 0.00 99.97 [2021-02-08T08:23:48.300Z] Average: all 1.65 0.00 0.60 0.24 0.01 97.50 [2021-02-08T08:23:48.300Z] Average: 0 1.56 0.00 0.72 0.34 0.01 97.37 [2021-02-08T08:23:48.300Z] Average: 1 1.77 0.00 0.59 0.20 0.01 97.43 [2021-02-08T08:23:48.300Z] Average: 2 1.56 0.00 0.62 0.06 0.01 97.75 [2021-02-08T08:23:48.300Z] Average: 3 1.73 0.00 0.45 0.34 0.01 97.46 [2021-02-08T08:23:48.300Z] [2021-02-08T08:23:48.300Z] [2021-02-08T08:23:48.300Z]