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 08:17:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:17:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:17:15 ========================================================= 08:17:15 EdgeX Global Pipelines Version Info 08:17:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:17:16 ------------------- 08:17:16 stable info: 08:17:16 ------------------- 08:17:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:17:16 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 08:17:16 Message: update stable to v1.0.179 08:17:17 ------------------- 08:17:17 experimental info: 08:17:17 ------------------- 08:17:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:17:17 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 08:17:17 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:17:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 08:17:18 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 08:17:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:17:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:17:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:17:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 08:17:18 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 08:17:18 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 08:17:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:17:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:17:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:17:19 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 08:17:19 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:17:19 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:17:19 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 08:17:19 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 08:17:19 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:17:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:17:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:17:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:17:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 08:17:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 08:17:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:17:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:17:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 08:17:21 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 08:17:21 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 08:17:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-681 [Pipeline] echo 08:17:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-681 [Pipeline] echo 08:17:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-681 [Pipeline] echo 08:17:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8aee3e0f6e7e067a4820660dd6abde96f829860e [Pipeline] echo 08:17:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8aee3e0 [Pipeline] echo 08:17:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:17:22 + git log --format=format:%s -1 8aee3e0f6e7e067a4820660dd6abde96f829860e [Pipeline] echo 08:17:22 GIT_COMMIT: 8aee3e0f6e7e067a4820660dd6abde96f829860e, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 08:17:23 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 08:17:23 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:17:23 08:17:23 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:17:24 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:17:24 latest: Pulling from edgex-devops/git-semver 08:17:24 31603596830f: Pulling fs layer 08:17:24 2a8b12db71e7: Pulling fs layer 08:17:24 6ca5941a6612: Pulling fs layer 08:17:24 ecc8261a40a4: Pulling fs layer 08:17:24 2a8b12db71e7: Verifying Checksum 08:17:24 2a8b12db71e7: Download complete 08:17:24 31603596830f: Verifying Checksum 08:17:24 31603596830f: Download complete 08:17:24 ecc8261a40a4: Verifying Checksum 08:17:24 ecc8261a40a4: Download complete 08:17:24 6ca5941a6612: Verifying Checksum 08:17:24 6ca5941a6612: Download complete 08:17:24 31603596830f: Pull complete 08:17:24 2a8b12db71e7: Pull complete 08:17:25 6ca5941a6612: Pull complete 08:17:26 ecc8261a40a4: Pull complete 08:17:26 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 08:17:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:17:26 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:17:26 prd-centos7-docker-4c-2g-25513 does not seem to be running inside a container 08:17:26 $ 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 08:17:28 $ docker top 65f26c411ea82e02e1b9d00a818cc102f6306e0d037d3e4611bd0a145dfccb61 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:17:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:17:29 [ssh-agent] Looking for ssh-agent implementation... 08:17:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:17:29 $ docker exec 65f26c411ea82e02e1b9d00a818cc102f6306e0d037d3e4611bd0a145dfccb61 ssh-agent 08:17:29 SSH_AUTH_SOCK=/tmp/ssh-zpUeW7InrvSv/agent.12 08:17:29 SSH_AGENT_PID=17 08:17:29 Running ssh-add (command line suppressed) 08:17:29 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) 08:17:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:17:30 + git tag --points-at HEAD [Pipeline] } 08:17:30 $ docker exec --env ******** --env ******** 65f26c411ea82e02e1b9d00a818cc102f6306e0d037d3e4611bd0a145dfccb61 ssh-agent -k 08:17:30 unset SSH_AUTH_SOCK; 08:17:30 unset SSH_AGENT_PID; 08:17:30 echo Agent pid 17 killed; 08:17:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:17:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:17:30 [ssh-agent] Looking for ssh-agent implementation... 08:17:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:17:30 $ docker exec 65f26c411ea82e02e1b9d00a818cc102f6306e0d037d3e4611bd0a145dfccb61 ssh-agent 08:17:31 SSH_AUTH_SOCK=/tmp/ssh-PNZg7XRppYwo/agent.48 08:17:31 SSH_AGENT_PID=53 08:17:31 Running ssh-add (command line suppressed) 08:17:31 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) 08:17:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:17:31 + git semver init 08:17:31 # -> Open(): unable to determine branch for HEAD 08:17:31 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-681/.git 08:17:31 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-681 08:17:31 # $SEMVER_REMOTE_NAME = origin 08:17:31 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:17:31 # $SEMVER_USER_NAME = edgex-jenkins 08:17:31 # $SEMVER_BRANCH = PR-681 08:17:31 # $SEMVER_TEMP = /tmp/semver-042356585 08:17:31 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 08:17:34 # '/tmp/semver-042356585' -> '/w/workspace/ndry_app-functions-sdk-go_PR-681/.semver' 08:17:34 # -> Force: false 08:17:34 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-681/.semver [Pipeline] } 08:17:34 $ docker exec --env ******** --env ******** 65f26c411ea82e02e1b9d00a818cc102f6306e0d037d3e4611bd0a145dfccb61 ssh-agent -k 08:17:34 unset SSH_AUTH_SOCK; 08:17:34 unset SSH_AGENT_PID; 08:17:34 echo Agent pid 53 killed; 08:17:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:17:35 + git semver [Pipeline] } 08:17:35 $ docker stop --time=1 65f26c411ea82e02e1b9d00a818cc102f6306e0d037d3e4611bd0a145dfccb61 08:17:36 $ docker rm -f 65f26c411ea82e02e1b9d00a818cc102f6306e0d037d3e4611bd0a145dfccb61 [Pipeline] // withDockerContainer [Pipeline] sh 08:17:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:17:37 Stashed 1 file(s) [Pipeline] echo 08:17:37 [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 08:17:53 Still waiting to schedule task 08:17:53 Waiting for next available executor on ‘centos7-docker-4c-2g’ 08:17:53 Still waiting to schedule task 08:17:53 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 08:19:04 Running on prd-centos7-docker-4c-2g-25514 in /w/workspace/ndry_app-functions-sdk-go_PR-681 [Pipeline] { [Pipeline] ws 08:19:04 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout 08:19:07 using credential edgex-jenkins-ssh 08:19:07 Cloning the remote Git repository 08:19:07 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 08:19:07 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 08:19:07 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 08:19:07 > git --version # timeout=10 08:19:07 > git --version # 'git version 2.24.3' 08:19:07 using GIT_SSH to set credentials SSH Credentials for GitHub 08:19:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:19:09 Merging remotes/origin/master commit fc40647c9a5a0500e2956cf52a4e5c076e69792e into PR head commit 8aee3e0f6e7e067a4820660dd6abde96f829860e 08:19:09 Merge succeeded, producing 8aee3e0f6e7e067a4820660dd6abde96f829860e 08:19:09 Checking out Revision 8aee3e0f6e7e067a4820660dd6abde96f829860e (PR-681) 08:19:08 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 08:19:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:19:08 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 08:19:08 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 08:19:08 using GIT_SSH to set credentials SSH Credentials for GitHub 08:19:08 > 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 08:19:09 > git config core.sparsecheckout # timeout=10 08:19:09 > git checkout -f 8aee3e0f6e7e067a4820660dd6abde96f829860e # timeout=10 08:19:09 > git remote # timeout=10 08:19:09 > git config --get remote.origin.url # timeout=10 08:19:09 using GIT_SSH to set credentials SSH Credentials for GitHub 08:19:09 > git merge fc40647c9a5a0500e2956cf52a4e5c076e69792e # timeout=10 08:19:09 > git rev-parse HEAD^{commit} # timeout=10 08:19:09 > git config core.sparsecheckout # timeout=10 08:19:09 > git checkout -f 8aee3e0f6e7e067a4820660dd6abde96f829860e # timeout=10 08:19:13 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 08:19:13 > git --version # timeout=10 08:19:13 > git --version # 'git version 2.24.3' 08:19:13 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:19:14 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 08:19:15 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 08:19:15 + sudo service docker restart 08:19:15 + true 08:19:15 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo 08:19:17 ========================================================= 08:19:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 08:19:17 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:19:17 + 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 . 08:19:18 Sending build context to Docker daemon 19.1MB 08:19:18 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 08:19:18 Step 2/8 : FROM ${BASE} 08:19:18 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 08:19:18 188c0c94c7c5: Pulling fs layer 08:19:18 0ef7d3d256c8: Pulling fs layer 08:19:18 de9db76c5a1d: Pulling fs layer 08:19:18 bca2f99d35d6: Pulling fs layer 08:19:18 93359f2a8cfa: Pulling fs layer 08:19:18 7c6f9722023f: Pulling fs layer 08:19:18 a35cf1a2eb13: Pulling fs layer 08:19:18 93359f2a8cfa: Waiting 08:19:18 7c6f9722023f: Waiting 08:19:18 a35cf1a2eb13: Waiting 08:19:18 bca2f99d35d6: Waiting 08:19:18 de9db76c5a1d: Verifying Checksum 08:19:18 de9db76c5a1d: Download complete 08:19:18 0ef7d3d256c8: Verifying Checksum 08:19:18 0ef7d3d256c8: Download complete 08:19:18 93359f2a8cfa: Verifying Checksum 08:19:18 93359f2a8cfa: Download complete 08:19:18 7c6f9722023f: Verifying Checksum 08:19:18 7c6f9722023f: Download complete 08:19:19 188c0c94c7c5: Verifying Checksum 08:19:19 188c0c94c7c5: Download complete 08:19:19 188c0c94c7c5: Pull complete 08:19:19 0ef7d3d256c8: Pull complete 08:19:19 de9db76c5a1d: Pull complete 08:19:20 a35cf1a2eb13: Verifying Checksum 08:19:20 a35cf1a2eb13: Download complete 08:19:23 bca2f99d35d6: Verifying Checksum 08:19:23 bca2f99d35d6: Download complete 08:19:28 bca2f99d35d6: Pull complete 08:19:28 93359f2a8cfa: Pull complete 08:19:28 7c6f9722023f: Pull complete 08:19:38 a35cf1a2eb13: Pull complete 08:19:38 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 08:19:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 08:19:38 ---> a62c8e92a672 08:19:38 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 08:19:38 20.10.0: Pulling from library/docker 08:19:38 05e7bc50f07f: Pulling fs layer 08:19:38 6db28d0fdbf6: Pulling fs layer 08:19:38 292df0bc6bf3: Pulling fs layer 08:19:38 2e060f4bd70b: Pulling fs layer 08:19:38 80e8d568a223: Pulling fs layer 08:19:38 8dc6ef1a942a: Pulling fs layer 08:19:38 2312dd95470a: Pulling fs layer 08:19:38 2e060f4bd70b: Waiting 08:19:38 80e8d568a223: Waiting 08:19:38 8dc6ef1a942a: Waiting 08:19:38 2312dd95470a: Waiting 08:19:38 292df0bc6bf3: Verifying Checksum 08:19:38 292df0bc6bf3: Download complete 08:19:38 6db28d0fdbf6: Verifying Checksum 08:19:38 6db28d0fdbf6: Download complete 08:19:38 80e8d568a223: Verifying Checksum 08:19:38 80e8d568a223: Download complete 08:19:38 05e7bc50f07f: Verifying Checksum 08:19:38 8dc6ef1a942a: Verifying Checksum 08:19:38 8dc6ef1a942a: Download complete 08:19:38 2312dd95470a: Verifying Checksum 08:19:38 2312dd95470a: Download complete 08:19:38 05e7bc50f07f: Pull complete 08:19:38 6db28d0fdbf6: Pull complete 08:19:38 292df0bc6bf3: Pull complete 08:19:38 2e060f4bd70b: Verifying Checksum 08:19:38 2e060f4bd70b: Download complete 08:19:41 2e060f4bd70b: Pull complete 08:19:41 80e8d568a223: Pull complete 08:19:41 8dc6ef1a942a: Pull complete 08:19:42 2312dd95470a: Pull complete 08:19:42 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 08:19:42 Status: Downloaded newer image for docker:20.10.0 08:19:43 ---> c287d46f5878 08:19:43 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 08:19:43 ---> Running in b3f99c3c7d5b 08:19:43 Removing intermediate container b3f99c3c7d5b 08:19:43 ---> d10ee6efadb9 08:19:43 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 08:19:43 ---> Running in 7134f8785cb9 08:19:44 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:19:45 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:19:45 (1/5) Installing libsodium (1.0.18-r0) 08:19:45 (2/5) Installing libzmq (4.3.3-r0) 08:19:45 (3/5) Installing pkgconf (1.7.2-r0) 08:19:46 (4/5) Installing libsodium-dev (1.0.18-r0) 08:19:46 (5/5) Installing zeromq-dev (4.3.3-r0) 08:19:46 Executing busybox-1.31.1-r19.trigger 08:19:46 OK: 167 MiB in 44 packages 08:19:46 Removing intermediate container 7134f8785cb9 08:19:46 ---> bd7479a2f71c 08:19:46 Step 6/8 : WORKDIR /build 08:19:46 ---> Running in 8c04c77a02be 08:19:46 Removing intermediate container 8c04c77a02be 08:19:46 ---> 7a8dd3a92aa1 08:19:46 Step 7/8 : COPY go.mod . 08:19:47 ---> 7c9b6d87f476 08:19:47 Step 8/8 : RUN go mod download 08:19:47 ---> Running in 51a95769b32d 08:20:09 Removing intermediate container 51a95769b32d 08:20:09 ---> e5f5cfb0b7db 08:20:09 Successfully built e5f5cfb0b7db 08:20:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:20:09 + docker inspect -f . ci-base-image-x86_64 08:20:09 . [Pipeline] withDockerContainer 08:20:09 prd-centos7-docker-4c-2g-25514 does not seem to be running inside a container 08:20:09 $ 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 08:20:10 $ docker top 33e7f07c0f7ff43b8b3339ab5ce147b0585b3083d729842ea0844d34e34e0121 -eo pid,comm [Pipeline] { [Pipeline] sh 08:20:11 + go version 08:20:11 go version go1.15.5 linux/amd64 [Pipeline] } 08:20:11 $ docker stop --time=1 33e7f07c0f7ff43b8b3339ab5ce147b0585b3083d729842ea0844d34e34e0121 08:20:12 $ docker rm -f 33e7f07c0f7ff43b8b3339ab5ce147b0585b3083d729842ea0844d34e34e0121 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:20:13 + docker inspect -f . ci-base-image-x86_64 08:20:13 . [Pipeline] withDockerContainer 08:20:14 prd-centos7-docker-4c-2g-25514 does not seem to be running inside a container 08:20:14 $ 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 08:20:14 $ docker top a530e774c84a94ac55076f33a5720a807a7ad4fb9d90c516e1fb9116d9537473 -eo pid,comm [Pipeline] { [Pipeline] sh 08:20:15 + make test 08:20:15 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 08:20:16 Running on prd-ubuntu18.04-docker-arm64-4c-16g-25515 in /w/workspace/ndry_app-functions-sdk-go_PR-681 [Pipeline] { [Pipeline] ws 08:20:17 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout 08:20:17 ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] 08:20:22 using credential edgex-jenkins-ssh 08:20:22 Cloning the remote Git repository 08:20:22 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 08:20:22 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 08:20:22 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 08:20:22 > git --version # timeout=10 08:20:22 > git --version # 'git version 2.17.1' 08:20:22 using GIT_SSH to set credentials SSH Credentials for GitHub 08:20:22 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:20:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.036s coverage: 82.6% of statements 08:20:26 Merging remotes/origin/master commit fc40647c9a5a0500e2956cf52a4e5c076e69792e into PR head commit 8aee3e0f6e7e067a4820660dd6abde96f829860e 08:20:25 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 08:20:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:20:25 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 08:20:25 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 08:20:25 using GIT_SSH to set credentials SSH Credentials for GitHub 08:20:25 > 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 08:20:26 > git config core.sparsecheckout # timeout=10 08:20:26 > git checkout -f 8aee3e0f6e7e067a4820660dd6abde96f829860e # timeout=10 08:20:26 > git remote # timeout=10 08:20:26 > git config --get remote.origin.url # timeout=10 08:20:26 using GIT_SSH to set credentials SSH Credentials for GitHub 08:20:26 > git merge fc40647c9a5a0500e2956cf52a4e5c076e69792e # timeout=10 08:20:26 > git rev-parse HEAD^{commit} # timeout=10 08:20:26 Merge succeeded, producing 8aee3e0f6e7e067a4820660dd6abde96f829860e 08:20:26 Checking out Revision 8aee3e0f6e7e067a4820660dd6abde96f829860e (PR-681) 08:20:26 > git config core.sparsecheckout # timeout=10 08:20:26 > git checkout -f 8aee3e0f6e7e067a4820660dd6abde96f829860e # timeout=10 08:20:30 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 08:20:30 > git --version # timeout=10 08:20:30 > git --version # 'git version 2.17.1' 08:20:30 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:20:32 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.032s coverage: 48.6% of statements 08:20:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 08:20:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 08:20:32 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.025s coverage: 61.5% of statements 08:20:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 08:20:32 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 08:20:32 --- FAIL: TestProcessMessageNoTransforms (0.00s) 08:20:32 runtime_test.go:116: 08:20:32 Error Trace: runtime_test.go:116 08:20:32 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc000249880), ErrorCode:400} 08:20:32 Test: TestProcessMessageNoTransforms 08:20:32 Messages: result should be nil since no transforms have been passed 08:20:32 --- FAIL: TestProcessMessageOneCustomTransform (0.00s) 08:20:32 runtime_test.go:145: 08:20:32 Error Trace: runtime_test.go:145 08:20:32 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc000249b00), ErrorCode:400} 08:20:32 Test: TestProcessMessageOneCustomTransform 08:20:32 --- FAIL: TestProcessMessageTwoCustomTransforms (0.00s) 08:20:32 runtime_test.go:186: 08:20:32 Error Trace: runtime_test.go:186 08:20:32 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc000249d90), ErrorCode:400} 08:20:32 Test: TestProcessMessageTwoCustomTransforms 08:20:32 --- FAIL: TestProcessMessageThreeCustomTransformsOneFail (0.00s) 08:20:32 runtime_test.go:233: 08:20:32 Error Trace: runtime_test.go:233 08:20:32 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc00029c010), ErrorCode:400} 08:20:32 Test: TestProcessMessageThreeCustomTransformsOneFail 08:20:32 --- FAIL: TestProcessMessageJSON (0.00s) 08:20:32 runtime_test.go:308: 08:20:32 Error Trace: runtime_test.go:308 08:20:32 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc00029c3a0), ErrorCode:400} 08:20:32 Test: TestProcessMessageJSON 08:20:32 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} 08:20:32 runtime_test.go:309: 08:20:32 Error Trace: runtime_test.go:309 08:20:32 Error: Should be true 08:20:32 Test: TestProcessMessageJSON 08:20:32 Messages: transform1 should have been called 08:20:32 --- FAIL: TestProcessMessageTargetType (0.00s) 08:20:32 runtime_test.go:423: 08:20:32 Error Trace: runtime_test.go:423 08:20:32 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc00029cc00), ErrorCode:400} 08:20:32 Test: TestProcessMessageTargetType 08:20:32 Messages: unexpected error for test 'Default Nil Target Type' 08:20:32 runtime_test.go:427: 08:20:32 Error Trace: runtime_test.go:427 08:20:32 Error: Not equal: 08:20:32 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} 08:20:32 actual : []byte(nil) 08:20:32 08:20:32 Diff: 08:20:32 --- Expected 08:20:32 +++ Actual 08:20:32 @@ -1,31 +1,2 @@ 08:20:32 -([]uint8) (len=444) { 08:20:32 - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| 08:20:32 - 00000010 32 22 2c 22 69 64 22 3a 22 38 32 65 62 32 65 32 |2","id":"82eb2e2| 08:20:32 - 00000020 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 65 34 63 |6-0f24-48aa-ae4c| 08:20:32 - 00000030 2d 64 65 39 64 61 63 33 66 62 39 62 63 22 2c 22 |-de9dac3fb9bc","| 08:20:32 - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| 08:20:32 - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| 08:20:32 - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| 08:20:32 - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| 08:20:32 - 00000080 72 65 61 74 65 64 22 3a 31 36 31 32 37 37 32 34 |reated":16127724| 08:20:32 - 00000090 33 32 2c 22 6f 72 69 67 69 6e 22 3a 31 36 31 32 |32,"origin":1612| 08:20:32 - 000000a0 37 37 32 34 33 32 2c 22 72 65 61 64 69 6e 67 73 |772432,"readings| 08:20:32 - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| 08:20:32 - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 38 32 65 62 |:"v2","id":"82eb| 08:20:32 - 000000d0 32 65 32 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 |2e26-0f24-48aa-a| 08:20:32 - 000000e0 65 34 63 2d 64 65 39 64 61 63 33 66 31 32 33 34 |e4c-de9dac3f1234| 08:20:32 - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 31 36 31 32 |","created":1612| 08:20:32 - 00000100 37 37 32 34 33 32 2c 22 6f 72 69 67 69 6e 22 3a |772432,"origin":| 08:20:32 - 00000110 31 36 31 32 37 37 32 34 33 32 2c 22 64 65 76 69 |1612772432,"devi| 08:20:32 - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| 08:20:32 - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| 08:20:32 - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| 08:20:32 - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| 08:20:32 - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| 08:20:32 - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| 08:20:32 - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| 08:20:32 - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| 08:20:32 - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| 08:20:32 - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| 08:20:32 -} 08:20:32 +([]uint8) 08:20:32 08:20:32 Test: TestProcessMessageTargetType 08:20:32 Messages: 'Default Nil Target Type' test failed 08:20:32 runtime_test.go:423: 08:20:32 Error Trace: runtime_test.go:423 08:20:32 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc00029cf80), ErrorCode:400} 08:20:32 Test: TestProcessMessageTargetType 08:20:32 Messages: unexpected error for test 'Event as Json' 08:20:32 runtime_test.go:427: 08:20:32 Error Trace: runtime_test.go:427 08:20:32 Error: Not equal: 08:20:32 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} 08:20:32 actual : []byte(nil) 08:20:32 08:20:32 Diff: 08:20:32 --- Expected 08:20:32 +++ Actual 08:20:32 @@ -1,31 +1,2 @@ 08:20:32 -([]uint8) (len=444) { 08:20:32 - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| 08:20:32 - 00000010 32 22 2c 22 69 64 22 3a 22 38 32 65 62 32 65 32 |2","id":"82eb2e2| 08:20:32 - 00000020 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 65 34 63 |6-0f24-48aa-ae4c| 08:20:32 - 00000030 2d 64 65 39 64 61 63 33 66 62 39 62 63 22 2c 22 |-de9dac3fb9bc","| 08:20:32 - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| 08:20:32 - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| 08:20:32 - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| 08:20:32 - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| 08:20:32 - 00000080 72 65 61 74 65 64 22 3a 31 36 31 32 37 37 32 34 |reated":16127724| 08:20:32 - 00000090 33 32 2c 22 6f 72 69 67 69 6e 22 3a 31 36 31 32 |32,"origin":1612| 08:20:32 - 000000a0 37 37 32 34 33 32 2c 22 72 65 61 64 69 6e 67 73 |772432,"readings| 08:20:32 - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| 08:20:32 - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 38 32 65 62 |:"v2","id":"82eb| 08:20:32 - 000000d0 32 65 32 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 |2e26-0f24-48aa-a| 08:20:32 - 000000e0 65 34 63 2d 64 65 39 64 61 63 33 66 31 32 33 34 |e4c-de9dac3f1234| 08:20:32 - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 31 36 31 32 |","created":1612| 08:20:32 - 00000100 37 37 32 34 33 32 2c 22 6f 72 69 67 69 6e 22 3a |772432,"origin":| 08:20:32 - 00000110 31 36 31 32 37 37 32 34 33 32 2c 22 64 65 76 69 |1612772432,"devi| 08:20:32 - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| 08:20:32 - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| 08:20:32 - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| 08:20:32 - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| 08:20:32 - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| 08:20:32 - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| 08:20:32 - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| 08:20:32 - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| 08:20:32 - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| 08:20:32 - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| 08:20:32 -} 08:20:32 +([]uint8) 08:20:32 08:20:32 Test: TestProcessMessageTargetType 08:20:32 Messages: 'Event as Json' test failed 08:20:32 runtime_test.go:423: 08:20:32 Error Trace: runtime_test.go:423 08:20:32 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc00029d400), ErrorCode:400} 08:20:32 Test: TestProcessMessageTargetType 08:20:32 Messages: unexpected error for test 'Event as Cbor' 08:20:32 runtime_test.go:427: 08:20:32 Error Trace: runtime_test.go:427 08:20:32 Error: Not equal: 08:20:32 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} 08:20:32 actual : []byte(nil) 08:20:32 08:20:32 Diff: 08:20:32 --- Expected 08:20:32 +++ Actual 08:20:32 @@ -1,31 +1,2 @@ 08:20:32 -([]uint8) (len=444) { 08:20:32 - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| 08:20:32 - 00000010 32 22 2c 22 69 64 22 3a 22 38 32 65 62 32 65 32 |2","id":"82eb2e2| 08:20:32 - 00000020 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 65 34 63 |6-0f24-48aa-ae4c| 08:20:32 - 00000030 2d 64 65 39 64 61 63 33 66 62 39 62 63 22 2c 22 |-de9dac3fb9bc","| 08:20:32 - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| 08:20:32 - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| 08:20:32 - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| 08:20:32 - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| 08:20:32 - 00000080 72 65 61 74 65 64 22 3a 31 36 31 32 37 37 32 34 |reated":16127724| 08:20:32 - 00000090 33 32 2c 22 6f 72 69 67 69 6e 22 3a 31 36 31 32 |32,"origin":1612| 08:20:32 - 000000a0 37 37 32 34 33 32 2c 22 72 65 61 64 69 6e 67 73 |772432,"readings| 08:20:32 - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| 08:20:32 - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 38 32 65 62 |:"v2","id":"82eb| 08:20:32 - 000000d0 32 65 32 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 |2e26-0f24-48aa-a| 08:20:32 - 000000e0 65 34 63 2d 64 65 39 64 61 63 33 66 31 32 33 34 |e4c-de9dac3f1234| 08:20:32 - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 31 36 31 32 |","created":1612| 08:20:32 - 00000100 37 37 32 34 33 32 2c 22 6f 72 69 67 69 6e 22 3a |772432,"origin":| 08:20:32 - 00000110 31 36 31 32 37 37 32 34 33 32 2c 22 64 65 76 69 |1612772432,"devi| 08:20:32 - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| 08:20:32 - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| 08:20:32 - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| 08:20:32 - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| 08:20:32 - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| 08:20:32 - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| 08:20:32 - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| 08:20:32 - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| 08:20:32 - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| 08:20:32 - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| 08:20:32 -} 08:20:32 +([]uint8) 08:20:32 08:20:32 Test: TestProcessMessageTargetType 08:20:32 Messages: 'Event as Cbor' test failed 08:20:32 --- FAIL: TestGolangRuntime_unmarshalV2Event (0.00s) 08:20:32 --- FAIL: TestGolangRuntime_unmarshalV2Event/JSON_V2_Event (0.00s) 08:20:32 runtime_test.go:599: 08:20:32 Error Trace: runtime_test.go:599 08:20:32 Error: Received unexpected error: 08:20:32 failed to unmarshal AddEventRequest from content type 'application/json': AddEventRequest.BaseRequest.Versionable.ApiVersion field is required 08:20:32 Test: TestGolangRuntime_unmarshalV2Event/JSON_V2_Event 08:20:32 --- FAIL: TestGolangRuntime_unmarshalV2Event/CBOR_V2_Event (0.00s) 08:20:32 runtime_test.go:599: 08:20:32 Error Trace: runtime_test.go:599 08:20:32 Error: Received unexpected error: 08:20:32 validation failed on AddEventRequest: AddEventRequest.BaseRequest.Versionable.ApiVersion field is required 08:20:32 Test: TestGolangRuntime_unmarshalV2Event/CBOR_V2_Event 08:20:32 FAIL 08:20:32 coverage: 73.4% of statements 08:20:32 FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.033s 08:20:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 08:20:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 08:20:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 08:20:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 08:20:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 08:20:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 08:20:32 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.005s coverage: 97.0% of statements 08:20:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 08:20:32 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.024s coverage: 8.8% of statements 08:20:32 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 08:20:33 + sudo service docker restart 08:20:33 + true [Pipeline] unstash [Pipeline] echo 08:20:36 ========================================================= 08:20:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 08:20:36 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:20:36 + 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 . 08:20:37 Sending build context to Docker daemon 19.1MB 08:20:37 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 08:20:37 Step 2/8 : FROM ${BASE} 08:20:37 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:20:37 5f621e34cdf4: Pulling fs layer 08:20:37 a4357932f1b6: Pulling fs layer 08:20:37 18c013af1878: Pulling fs layer 08:20:37 00ac8860ef70: Pulling fs layer 08:20:37 63d7cb157983: Pulling fs layer 08:20:37 b116817d02f9: Pulling fs layer 08:20:37 745a02a5169b: Pulling fs layer 08:20:37 63d7cb157983: Waiting 08:20:37 b116817d02f9: Waiting 08:20:37 745a02a5169b: Waiting 08:20:37 00ac8860ef70: Waiting 08:20:37 18c013af1878: Verifying Checksum 08:20:37 a4357932f1b6: Download complete 08:20:38 63d7cb157983: Verifying Checksum 08:20:38 63d7cb157983: Download complete 08:20:38 b116817d02f9: Verifying Checksum 08:20:38 b116817d02f9: Download complete 08:20:38 5f621e34cdf4: Verifying Checksum 08:20:38 5f621e34cdf4: Download complete 08:20:39 5f621e34cdf4: Pull complete 08:20:39 a4357932f1b6: Pull complete 08:20:40 18c013af1878: Pull complete 08:20:40 745a02a5169b: Verifying Checksum 08:20:40 745a02a5169b: Download complete 08:20:42 00ac8860ef70: Download complete 08:20:51 --- FAIL: TestInitializeAndProcessEventWithNoOutput (3.30s) 08:20:51 messaging_test.go:206: 08:20:51 Error Trace: messaging_test.go:206 08:20:51 Error: Should be true 08:20:51 Test: TestInitializeAndProcessEventWithNoOutput 08:20:51 Messages: Transform never called 08:20:51 --- FAIL: TestInitializeAndProcessEventWithOutput (3.30s) 08:20:51 messaging_test.go:290: 08:20:51 Error Trace: messaging_test.go:290 08:20:51 Error: Should be true 08:20:51 Test: TestInitializeAndProcessEventWithOutput 08:20:51 Messages: Transform never called 08:20:51 --- FAIL: TestInitializeAndProcessEventWithOutput_InferJSON (3.30s) 08:20:51 messaging_test.go:385: 08:20:51 Error Trace: messaging_test.go:385 08:20:51 Error: Should be true 08:20:51 Test: TestInitializeAndProcessEventWithOutput_InferJSON 08:20:51 Messages: Transform never called 08:20:51 --- FAIL: TestInitializeAndProcessEventWithOutput_AssumeCBOR (3.31s) 08:20:51 messaging_test.go:477: 08:20:51 Error Trace: messaging_test.go:477 08:20:51 Error: Should be true 08:20:51 Test: TestInitializeAndProcessEventWithOutput_AssumeCBOR 08:20:51 Messages: Transform never called 08:20:51 --- FAIL: TestInitializeAndProcessEventMultipleTopics (3.30s) 08:20:51 messaging_test.go:638: 08:20:51 Error Trace: messaging_test.go:638 08:20:51 Error: Transform never called for t1 08:20:51 Test: TestInitializeAndProcessEventMultipleTopics 08:20:51 FAIL 08:20:51 coverage: 62.0% of statements 08:20:51 FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 16.842s 08:20:51 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 08:20:51 --- FAIL: TestAddSecretRequest (0.00s) 08:20:51 --- FAIL: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash (0.00s) 08:20:51 controller_test.go:261: 08:20:51 Error Trace: controller_test.go:261 08:20:51 Error: Not equal: 08:20:51 expected: 201 08:20:51 actual : 400 08:20:51 Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash 08:20:51 Messages: HTTP status code not as expected 08:20:51 controller_test.go:263: 08:20:51 Error Trace: controller_test.go:263 08:20:51 Error: Not equal: 08:20:51 expected: 201 08:20:51 actual : 400 08:20:51 Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash 08:20:51 Messages: BaseResponse status code not as expected 08:20:51 controller_test.go:270: 08:20:51 Error Trace: controller_test.go:270 08:20:51 Error: Not equal: 08:20:51 expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" 08:20:51 actual : "" 08:20:51 08:20:51 Diff: 08:20:51 --- Expected 08:20:51 +++ Actual 08:20:51 @@ -1 +1 @@ 08:20:51 -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc 08:20:51 + 08:20:51 Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash 08:20:51 Messages: RequestID not as expected 08:20:51 controller_test.go:271: 08:20:51 Error Trace: controller_test.go:271 08:20:51 Error: Should be empty, but was JSON decode failed 08:20:51 Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash 08:20:51 Messages: Message not empty, as expected 08:20:51 --- FAIL: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash (0.00s) 08:20:51 controller_test.go:261: 08:20:51 Error Trace: controller_test.go:261 08:20:51 Error: Not equal: 08:20:51 expected: 201 08:20:51 actual : 400 08:20:51 Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash 08:20:51 Messages: HTTP status code not as expected 08:20:51 controller_test.go:263: 08:20:51 Error Trace: controller_test.go:263 08:20:51 Error: Not equal: 08:20:51 expected: 201 08:20:51 actual : 400 08:20:51 Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash 08:20:51 Messages: BaseResponse status code not as expected 08:20:51 controller_test.go:270: 08:20:51 Error Trace: controller_test.go:270 08:20:51 Error: Not equal: 08:20:51 expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" 08:20:51 actual : "" 08:20:51 08:20:51 Diff: 08:20:51 --- Expected 08:20:51 +++ Actual 08:20:51 @@ -1 +1 @@ 08:20:51 -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc 08:20:51 + 08:20:51 Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash 08:20:51 Messages: RequestID not as expected 08:20:51 controller_test.go:271: 08:20:51 Error Trace: controller_test.go:271 08:20:51 Error: Should be empty, but was JSON decode failed 08:20:51 Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash 08:20:51 Messages: Message not empty, as expected 08:20:51 --- FAIL: TestAddSecretRequest/Valid_-_both_trailing_slashes (0.00s) 08:20:51 controller_test.go:261: 08:20:51 Error Trace: controller_test.go:261 08:20:51 Error: Not equal: 08:20:51 expected: 201 08:20:51 actual : 400 08:20:51 Test: TestAddSecretRequest/Valid_-_both_trailing_slashes 08:20:51 Messages: HTTP status code not as expected 08:20:51 controller_test.go:263: 08:20:51 Error Trace: controller_test.go:263 08:20:51 Error: Not equal: 08:20:51 expected: 201 08:20:51 actual : 400 08:20:51 Test: TestAddSecretRequest/Valid_-_both_trailing_slashes 08:20:51 Messages: BaseResponse status code not as expected 08:20:51 controller_test.go:270: 08:20:51 Error Trace: controller_test.go:270 08:20:51 Error: Not equal: 08:20:51 expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" 08:20:51 actual : "" 08:20:51 08:20:51 Diff: 08:20:51 --- Expected 08:20:51 +++ Actual 08:20:51 @@ -1 +1 @@ 08:20:51 -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc 08:20:51 + 08:20:51 Test: TestAddSecretRequest/Valid_-_both_trailing_slashes 08:20:51 Messages: RequestID not as expected 08:20:51 controller_test.go:271: 08:20:51 Error Trace: controller_test.go:271 08:20:51 Error: Should be empty, but was JSON decode failed 08:20:51 Test: TestAddSecretRequest/Valid_-_both_trailing_slashes 08:20:51 Messages: Message not empty, as expected 08:20:51 --- FAIL: TestAddSecretRequest/Valid_-_no_requestId (0.00s) 08:20:51 controller_test.go:261: 08:20:51 Error Trace: controller_test.go:261 08:20:51 Error: Not equal: 08:20:51 expected: 201 08:20:51 actual : 400 08:20:51 Test: TestAddSecretRequest/Valid_-_no_requestId 08:20:51 Messages: HTTP status code not as expected 08:20:51 controller_test.go:263: 08:20:51 Error Trace: controller_test.go:263 08:20:51 Error: Not equal: 08:20:51 expected: 201 08:20:51 actual : 400 08:20:51 Test: TestAddSecretRequest/Valid_-_no_requestId 08:20:51 Messages: BaseResponse status code not as expected 08:20:51 controller_test.go:271: 08:20:51 Error Trace: controller_test.go:271 08:20:51 Error: Should be empty, but was JSON decode failed 08:20:51 Test: TestAddSecretRequest/Valid_-_no_requestId 08:20:51 Messages: Message not empty, as expected 08:20:51 --- FAIL: TestAddSecretRequest/Invalid_-_No_Secret_Store (0.00s) 08:20:51 controller_test.go:261: 08:20:51 Error Trace: controller_test.go:261 08:20:51 Error: Not equal: 08:20:51 expected: 500 08:20:51 actual : 400 08:20:51 Test: TestAddSecretRequest/Invalid_-_No_Secret_Store 08:20:51 Messages: HTTP status code not as expected 08:20:51 controller_test.go:263: 08:20:51 Error Trace: controller_test.go:263 08:20:51 Error: Not equal: 08:20:51 expected: 500 08:20:51 actual : 400 08:20:51 Test: TestAddSecretRequest/Invalid_-_No_Secret_Store 08:20:51 Messages: BaseResponse status code not as expected 08:20:51 FAIL 08:20:51 coverage: 63.8% of statements 08:20:51 FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.014s 08:20:51 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.015s coverage: 80.5% of statements 08:20:51 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.021s coverage: 71.7% of statements 08:20:52 00ac8860ef70: Pull complete 08:20:52 63d7cb157983: Pull complete 08:20:52 b116817d02f9: Pull complete 08:20:57 745a02a5169b: Pull complete 08:20:57 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 08:20:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 08:20:57 ---> b7e6874047d6 08:20:57 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 08:20:57 20.10.0: Pulling from library/docker 08:20:57 a3cc7d3b244e: Pulling fs layer 08:20:57 02a3295e0d61: Pulling fs layer 08:20:57 0f4f2e6d8100: Pulling fs layer 08:20:57 330b718f631f: Pulling fs layer 08:20:57 a93816041522: Pulling fs layer 08:20:57 bdb6da89ff94: Pulling fs layer 08:20:57 2a70c0c122f4: Pulling fs layer 08:20:57 330b718f631f: Waiting 08:20:57 a93816041522: Waiting 08:20:57 bdb6da89ff94: Waiting 08:20:57 0f4f2e6d8100: Verifying Checksum 08:20:57 0f4f2e6d8100: Download complete 08:20:57 02a3295e0d61: Download complete 08:20:57 a3cc7d3b244e: Verifying Checksum 08:20:57 a3cc7d3b244e: Download complete 08:20:57 a93816041522: Verifying Checksum 08:20:57 a93816041522: Download complete 08:20:57 bdb6da89ff94: Verifying Checksum 08:20:57 bdb6da89ff94: Download complete 08:20:57 2a70c0c122f4: Verifying Checksum 08:20:57 2a70c0c122f4: Download complete 08:20:57 a3cc7d3b244e: Pull complete 08:20:58 02a3295e0d61: Pull complete 08:20:58 0f4f2e6d8100: Pull complete 08:20:58 330b718f631f: Verifying Checksum 08:20:58 330b718f631f: Download complete 08:21:01 --- FAIL: TestTransformToJSON (0.00s) 08:21:01 conversion_test.go:130: 08:21:01 Error Trace: conversion_test.go:130 08:21:01 Error: Not equal: 08:21:01 expected: "{\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 08:21:01 actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 08:21:01 08:21:01 Diff: 08:21:01 --- Expected 08:21:01 +++ Actual 08:21:01 @@ -1 +1 @@ 08:21:01 -{"id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} 08:21:01 +{"apiVersion":"","id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} 08:21:01 Test: TestTransformToJSON 08:21:01 --- FAIL: TestTransformToJSONMultipleParametersValid (0.00s) 08:21:01 conversion_test.go:157: 08:21:01 Error Trace: conversion_test.go:157 08:21:01 Error: Not equal: 08:21:01 expected: "{\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 08:21:01 actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 08:21:01 08:21:01 Diff: 08:21:01 --- Expected 08:21:01 +++ Actual 08:21:01 @@ -1 +1 @@ 08:21:01 -{"id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} 08:21:01 +{"apiVersion":"","id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} 08:21:01 Test: TestTransformToJSONMultipleParametersValid 08:21:01 --- FAIL: TestTransformToJSONMultipleParametersTwoEvents (0.00s) 08:21:01 conversion_test.go:175: 08:21:01 Error Trace: conversion_test.go:175 08:21:01 Error: Not equal: 08:21:01 expected: "{\"id\":\"\",\"deviceName\":\"id2\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 08:21:01 actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"id2\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 08:21:01 08:21:01 Diff: 08:21:01 --- Expected 08:21:01 +++ Actual 08:21:01 @@ -1 +1 @@ 08:21:01 -{"id":"","deviceName":"id2","profileName":"","created":0,"origin":0,"readings":null} 08:21:01 +{"apiVersion":"","id":"","deviceName":"id2","profileName":"","created":0,"origin":0,"readings":null} 08:21:01 Test: TestTransformToJSONMultipleParametersTwoEvents 08:21:01 FAIL 08:21:01 coverage: 81.4% of statements 08:21:01 FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.045s 08:21:01 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.009s coverage: 94.4% of statements 08:21:01 FAIL 08:21:01 make: *** [Makefile:6: test] Error 1 [Pipeline] } 08:21:01 $ docker stop --time=1 a530e774c84a94ac55076f33a5720a807a7ad4fb9d90c516e1fb9116d9537473 08:21:02 $ docker rm -f a530e774c84a94ac55076f33a5720a807a7ad4fb9d90c516e1fb9116d9537473 08:21:02 330b718f631f: Pull complete 08:21:02 a93816041522: Pull complete 08:21:02 bdb6da89ff94: Pull complete [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage 08:21:03 2a70c0c122f4: Pull complete 08:21:03 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 08:21:03 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] } 08:21:05 Failed in branch amd64 08:21:10 ---> c7ee0ef7edc2 08:21:10 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 08:21:10 ---> Running in 9893f0c662d3 08:21:10 Removing intermediate container 9893f0c662d3 08:21:10 ---> 28afd38c1119 08:21:10 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 08:21:10 ---> Running in 0fba662b5728 08:21:11 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:21:12 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:21:13 (1/5) Installing libsodium (1.0.18-r0) 08:21:13 (2/5) Installing libzmq (4.3.3-r0) 08:21:14 (3/5) Installing pkgconf (1.7.2-r0) 08:21:14 (4/5) Installing libsodium-dev (1.0.18-r0) 08:21:14 (5/5) Installing zeromq-dev (4.3.3-r0) 08:21:14 Executing busybox-1.31.1-r19.trigger 08:21:14 OK: 144 MiB in 44 packages 08:21:15 Removing intermediate container 0fba662b5728 08:21:15 ---> f651cac359c9 08:21:15 Step 6/8 : WORKDIR /build 08:21:15 ---> Running in a3b924860f5f 08:21:16 Removing intermediate container a3b924860f5f 08:21:16 ---> 21c74e566d0e 08:21:16 Step 7/8 : COPY go.mod . 08:21:16 ---> 4daf900de2da 08:21:16 Step 8/8 : RUN go mod download 08:21:16 ---> Running in 735bea3c164a 08:21:43 Removing intermediate container 735bea3c164a 08:21:43 ---> 1fa0f3a6ed29 08:21:43 Successfully built 1fa0f3a6ed29 08:21:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:21:44 + docker inspect -f . ci-base-image-arm64 08:21:44 . [Pipeline] withDockerContainer 08:21:44 prd-ubuntu18.04-docker-arm64-4c-16g-25515 does not seem to be running inside a container 08:21:44 $ 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 08:21:46 $ docker top abc56ea418f4ab96f7260339d54a278bd4b3edbcfe36990f023d69a554daeadf -eo pid,comm [Pipeline] { [Pipeline] sh 08:21:47 + go version 08:21:47 go version go1.15.5 linux/arm64 [Pipeline] } 08:21:47 $ docker stop --time=1 abc56ea418f4ab96f7260339d54a278bd4b3edbcfe36990f023d69a554daeadf 08:21:49 $ docker rm -f abc56ea418f4ab96f7260339d54a278bd4b3edbcfe36990f023d69a554daeadf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:21:50 + docker inspect -f . ci-base-image-arm64 08:21:50 . [Pipeline] withDockerContainer 08:21:50 prd-ubuntu18.04-docker-arm64-4c-16g-25515 does not seem to be running inside a container 08:21:50 $ 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 08:21:52 $ docker top b7e72be54600b5c533fe27a3a56a22cf50eb50b6ae1de0600a1ebb203b10b9a5 -eo pid,comm [Pipeline] { [Pipeline] sh 08:21:53 + make test 08:21:53 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 08:21:54 ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] 08:22:16 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.058s coverage: 82.6% of statements 08:22:43 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.063s coverage: 48.6% of statements 08:22:43 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 08:22:43 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 08:22:43 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.065s coverage: 61.5% of statements 08:22:43 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 08:22:43 --- FAIL: TestProcessMessageNoTransforms (0.00s) 08:22:43 runtime_test.go:116: 08:22:43 Error Trace: runtime_test.go:116 08:22:43 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x40002cf880), ErrorCode:400} 08:22:43 Test: TestProcessMessageNoTransforms 08:22:43 Messages: result should be nil since no transforms have been passed 08:22:43 --- FAIL: TestProcessMessageOneCustomTransform (0.00s) 08:22:43 runtime_test.go:145: 08:22:43 Error Trace: runtime_test.go:145 08:22:43 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x40002cfb00), ErrorCode:400} 08:22:43 Test: TestProcessMessageOneCustomTransform 08:22:43 --- FAIL: TestProcessMessageTwoCustomTransforms (0.00s) 08:22:43 runtime_test.go:186: 08:22:43 Error Trace: runtime_test.go:186 08:22:43 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x40002cfd90), ErrorCode:400} 08:22:43 Test: TestProcessMessageTwoCustomTransforms 08:22:43 --- FAIL: TestProcessMessageThreeCustomTransformsOneFail (0.00s) 08:22:43 runtime_test.go:233: 08:22:43 Error Trace: runtime_test.go:233 08:22:43 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x4000322010), ErrorCode:400} 08:22:43 Test: TestProcessMessageThreeCustomTransformsOneFail 08:22:43 --- FAIL: TestProcessMessageJSON (0.00s) 08:22:43 runtime_test.go:308: 08:22:43 Error Trace: runtime_test.go:308 08:22:43 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x40003223a0), ErrorCode:400} 08:22:43 Test: TestProcessMessageJSON 08:22:43 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} 08:22:43 runtime_test.go:309: 08:22:43 Error Trace: runtime_test.go:309 08:22:43 Error: Should be true 08:22:43 Test: TestProcessMessageJSON 08:22:43 Messages: transform1 should have been called 08:22:43 --- FAIL: TestProcessMessageTargetType (0.00s) 08:22:43 runtime_test.go:423: 08:22:43 Error Trace: runtime_test.go:423 08:22:43 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x4000322c00), ErrorCode:400} 08:22:43 Test: TestProcessMessageTargetType 08:22:43 Messages: unexpected error for test 'Default Nil Target Type' 08:22:43 runtime_test.go:427: 08:22:43 Error Trace: runtime_test.go:427 08:22:43 Error: Not equal: 08:22:43 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} 08:22:43 actual : []byte(nil) 08:22:43 08:22:43 Diff: 08:22:43 --- Expected 08:22:43 +++ Actual 08:22:43 @@ -1,31 +1,2 @@ 08:22:43 -([]uint8) (len=444) { 08:22:43 - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| 08:22:43 - 00000010 32 22 2c 22 69 64 22 3a 22 38 32 65 62 32 65 32 |2","id":"82eb2e2| 08:22:43 - 00000020 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 65 34 63 |6-0f24-48aa-ae4c| 08:22:43 - 00000030 2d 64 65 39 64 61 63 33 66 62 39 62 63 22 2c 22 |-de9dac3fb9bc","| 08:22:43 - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| 08:22:43 - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| 08:22:43 - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| 08:22:43 - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| 08:22:43 - 00000080 72 65 61 74 65 64 22 3a 31 36 31 32 37 37 32 35 |reated":16127725| 08:22:43 - 00000090 35 35 2c 22 6f 72 69 67 69 6e 22 3a 31 36 31 32 |55,"origin":1612| 08:22:43 - 000000a0 37 37 32 35 35 35 2c 22 72 65 61 64 69 6e 67 73 |772555,"readings| 08:22:43 - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| 08:22:43 - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 38 32 65 62 |:"v2","id":"82eb| 08:22:43 - 000000d0 32 65 32 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 |2e26-0f24-48aa-a| 08:22:43 - 000000e0 65 34 63 2d 64 65 39 64 61 63 33 66 31 32 33 34 |e4c-de9dac3f1234| 08:22:43 - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 31 36 31 32 |","created":1612| 08:22:43 - 00000100 37 37 32 35 35 35 2c 22 6f 72 69 67 69 6e 22 3a |772555,"origin":| 08:22:43 - 00000110 31 36 31 32 37 37 32 35 35 35 2c 22 64 65 76 69 |1612772555,"devi| 08:22:43 - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| 08:22:43 - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| 08:22:43 - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| 08:22:43 - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| 08:22:43 - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| 08:22:43 - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| 08:22:43 - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| 08:22:43 - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| 08:22:43 - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| 08:22:43 - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| 08:22:43 -} 08:22:43 +([]uint8) 08:22:43 08:22:43 Test: TestProcessMessageTargetType 08:22:43 Messages: 'Default Nil Target Type' test failed 08:22:43 runtime_test.go:423: 08:22:43 Error Trace: runtime_test.go:423 08:22:43 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x4000322f80), ErrorCode:400} 08:22:43 Test: TestProcessMessageTargetType 08:22:43 Messages: unexpected error for test 'Event as Json' 08:22:43 runtime_test.go:427: 08:22:43 Error Trace: runtime_test.go:427 08:22:43 Error: Not equal: 08:22:43 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} 08:22:43 actual : []byte(nil) 08:22:43 08:22:43 Diff: 08:22:43 --- Expected 08:22:43 +++ Actual 08:22:43 @@ -1,31 +1,2 @@ 08:22:43 -([]uint8) (len=444) { 08:22:43 - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| 08:22:43 - 00000010 32 22 2c 22 69 64 22 3a 22 38 32 65 62 32 65 32 |2","id":"82eb2e2| 08:22:43 - 00000020 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 65 34 63 |6-0f24-48aa-ae4c| 08:22:43 - 00000030 2d 64 65 39 64 61 63 33 66 62 39 62 63 22 2c 22 |-de9dac3fb9bc","| 08:22:43 - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| 08:22:43 - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| 08:22:43 - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| 08:22:43 - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| 08:22:43 - 00000080 72 65 61 74 65 64 22 3a 31 36 31 32 37 37 32 35 |reated":16127725| 08:22:43 - 00000090 35 35 2c 22 6f 72 69 67 69 6e 22 3a 31 36 31 32 |55,"origin":1612| 08:22:43 - 000000a0 37 37 32 35 35 35 2c 22 72 65 61 64 69 6e 67 73 |772555,"readings| 08:22:43 - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| 08:22:43 - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 38 32 65 62 |:"v2","id":"82eb| 08:22:43 - 000000d0 32 65 32 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 |2e26-0f24-48aa-a| 08:22:43 - 000000e0 65 34 63 2d 64 65 39 64 61 63 33 66 31 32 33 34 |e4c-de9dac3f1234| 08:22:43 - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 31 36 31 32 |","created":1612| 08:22:43 - 00000100 37 37 32 35 35 35 2c 22 6f 72 69 67 69 6e 22 3a |772555,"origin":| 08:22:43 - 00000110 31 36 31 32 37 37 32 35 35 35 2c 22 64 65 76 69 |1612772555,"devi| 08:22:43 - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| 08:22:43 - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| 08:22:43 - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| 08:22:43 - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| 08:22:43 - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| 08:22:43 - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| 08:22:43 - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| 08:22:43 - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| 08:22:43 - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| 08:22:43 - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| 08:22:43 -} 08:22:43 +([]uint8) 08:22:43 08:22:43 Test: TestProcessMessageTargetType 08:22:43 Messages: 'Event as Json' test failed 08:22:43 runtime_test.go:423: 08:22:43 Error Trace: runtime_test.go:423 08:22:43 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x4000323400), ErrorCode:400} 08:22:43 Test: TestProcessMessageTargetType 08:22:43 Messages: unexpected error for test 'Event as Cbor' 08:22:43 runtime_test.go:427: 08:22:43 Error Trace: runtime_test.go:427 08:22:43 Error: Not equal: 08:22:43 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} 08:22:43 actual : []byte(nil) 08:22:43 08:22:43 Diff: 08:22:43 --- Expected 08:22:43 +++ Actual 08:22:43 @@ -1,31 +1,2 @@ 08:22:43 -([]uint8) (len=444) { 08:22:43 - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| 08:22:43 - 00000010 32 22 2c 22 69 64 22 3a 22 38 32 65 62 32 65 32 |2","id":"82eb2e2| 08:22:43 - 00000020 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 65 34 63 |6-0f24-48aa-ae4c| 08:22:43 - 00000030 2d 64 65 39 64 61 63 33 66 62 39 62 63 22 2c 22 |-de9dac3fb9bc","| 08:22:43 - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| 08:22:43 - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| 08:22:43 - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| 08:22:43 - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| 08:22:43 - 00000080 72 65 61 74 65 64 22 3a 31 36 31 32 37 37 32 35 |reated":16127725| 08:22:43 - 00000090 35 35 2c 22 6f 72 69 67 69 6e 22 3a 31 36 31 32 |55,"origin":1612| 08:22:43 - 000000a0 37 37 32 35 35 35 2c 22 72 65 61 64 69 6e 67 73 |772555,"readings| 08:22:43 - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| 08:22:43 - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 38 32 65 62 |:"v2","id":"82eb| 08:22:43 - 000000d0 32 65 32 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 |2e26-0f24-48aa-a| 08:22:43 - 000000e0 65 34 63 2d 64 65 39 64 61 63 33 66 31 32 33 34 |e4c-de9dac3f1234| 08:22:43 - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 31 36 31 32 |","created":1612| 08:22:43 - 00000100 37 37 32 35 35 35 2c 22 6f 72 69 67 69 6e 22 3a |772555,"origin":| 08:22:43 - 00000110 31 36 31 32 37 37 32 35 35 35 2c 22 64 65 76 69 |1612772555,"devi| 08:22:43 - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| 08:22:43 - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| 08:22:43 - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| 08:22:43 - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| 08:22:43 - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| 08:22:43 - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| 08:22:43 - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| 08:22:43 - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| 08:22:43 - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| 08:22:43 - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| 08:22:43 -} 08:22:43 +([]uint8) 08:22:43 08:22:43 Test: TestProcessMessageTargetType 08:22:43 Messages: 'Event as Cbor' test failed 08:22:43 --- FAIL: TestGolangRuntime_unmarshalV2Event (0.00s) 08:22:43 --- FAIL: TestGolangRuntime_unmarshalV2Event/JSON_V2_Event (0.00s) 08:22:43 runtime_test.go:599: 08:22:43 Error Trace: runtime_test.go:599 08:22:43 Error: Received unexpected error: 08:22:43 failed to unmarshal AddEventRequest from content type 'application/json': AddEventRequest.BaseRequest.Versionable.ApiVersion field is required 08:22:43 Test: TestGolangRuntime_unmarshalV2Event/JSON_V2_Event 08:22:43 --- FAIL: TestGolangRuntime_unmarshalV2Event/CBOR_V2_Event (0.00s) 08:22:43 runtime_test.go:599: 08:22:43 Error Trace: runtime_test.go:599 08:22:43 Error: Received unexpected error: 08:22:43 validation failed on AddEventRequest: AddEventRequest.BaseRequest.Versionable.ApiVersion field is required 08:22:43 Test: TestGolangRuntime_unmarshalV2Event/CBOR_V2_Event 08:22:43 FAIL 08:22:43 coverage: 73.4% of statements 08:22:43 FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.081s 08:22:43 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 08:22:43 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 08:22:43 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 08:22:43 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 08:22:43 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 08:22:43 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 08:22:43 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.029s coverage: 97.0% of statements 08:22:43 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 08:22:43 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.040s coverage: 8.8% of statements 08:22:58 --- FAIL: TestInitializeAndProcessEventWithNoOutput (3.30s) 08:22:58 messaging_test.go:206: 08:22:58 Error Trace: messaging_test.go:206 08:22:58 Error: Should be true 08:22:58 Test: TestInitializeAndProcessEventWithNoOutput 08:22:58 Messages: Transform never called 08:22:58 --- FAIL: TestInitializeAndProcessEventWithOutput (3.30s) 08:22:58 messaging_test.go:290: 08:22:58 Error Trace: messaging_test.go:290 08:22:58 Error: Should be true 08:22:58 Test: TestInitializeAndProcessEventWithOutput 08:22:58 Messages: Transform never called 08:22:58 --- FAIL: TestInitializeAndProcessEventWithOutput_InferJSON (3.30s) 08:22:58 messaging_test.go:385: 08:22:58 Error Trace: messaging_test.go:385 08:22:58 Error: Should be true 08:22:58 Test: TestInitializeAndProcessEventWithOutput_InferJSON 08:22:58 Messages: Transform never called 08:22:58 --- FAIL: TestInitializeAndProcessEventWithOutput_AssumeCBOR (3.32s) 08:22:58 messaging_test.go:477: 08:22:58 Error Trace: messaging_test.go:477 08:22:58 Error: Should be true 08:22:58 Test: TestInitializeAndProcessEventWithOutput_AssumeCBOR 08:22:58 Messages: Transform never called 08:22:58 --- FAIL: TestInitializeAndProcessEventMultipleTopics (3.30s) 08:22:58 messaging_test.go:638: 08:22:58 Error Trace: messaging_test.go:638 08:22:58 Error: Transform never called for t1 08:22:58 Test: TestInitializeAndProcessEventMultipleTopics 08:22:58 FAIL 08:22:58 coverage: 62.0% of statements 08:22:58 FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 16.887s 08:22:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 08:22:58 --- FAIL: TestAddSecretRequest (0.01s) 08:22:58 --- FAIL: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash (0.00s) 08:22:58 controller_test.go:261: 08:22:58 Error Trace: controller_test.go:261 08:22:58 Error: Not equal: 08:22:58 expected: 201 08:22:58 actual : 400 08:22:58 Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash 08:22:58 Messages: HTTP status code not as expected 08:22:58 controller_test.go:263: 08:22:58 Error Trace: controller_test.go:263 08:22:58 Error: Not equal: 08:22:58 expected: 201 08:22:58 actual : 400 08:22:58 Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash 08:22:58 Messages: BaseResponse status code not as expected 08:22:58 controller_test.go:270: 08:22:58 Error Trace: controller_test.go:270 08:22:58 Error: Not equal: 08:22:58 expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" 08:22:58 actual : "" 08:22:58 08:22:58 Diff: 08:22:58 --- Expected 08:22:58 +++ Actual 08:22:58 @@ -1 +1 @@ 08:22:58 -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc 08:22:58 + 08:22:58 Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash 08:22:58 Messages: RequestID not as expected 08:22:58 controller_test.go:271: 08:22:58 Error Trace: controller_test.go:271 08:22:58 Error: Should be empty, but was JSON decode failed 08:22:58 Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash 08:22:58 Messages: Message not empty, as expected 08:22:58 --- FAIL: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash (0.00s) 08:22:58 controller_test.go:261: 08:22:58 Error Trace: controller_test.go:261 08:22:58 Error: Not equal: 08:22:58 expected: 201 08:22:58 actual : 400 08:22:58 Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash 08:22:58 Messages: HTTP status code not as expected 08:22:58 controller_test.go:263: 08:22:58 Error Trace: controller_test.go:263 08:22:58 Error: Not equal: 08:22:58 expected: 201 08:22:58 actual : 400 08:22:58 Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash 08:22:58 Messages: BaseResponse status code not as expected 08:22:58 controller_test.go:270: 08:22:58 Error Trace: controller_test.go:270 08:22:58 Error: Not equal: 08:22:58 expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" 08:22:58 actual : "" 08:22:58 08:22:58 Diff: 08:22:58 --- Expected 08:22:58 +++ Actual 08:22:58 @@ -1 +1 @@ 08:22:58 -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc 08:22:58 + 08:22:58 Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash 08:22:58 Messages: RequestID not as expected 08:22:58 controller_test.go:271: 08:22:58 Error Trace: controller_test.go:271 08:22:58 Error: Should be empty, but was JSON decode failed 08:22:58 Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash 08:22:58 Messages: Message not empty, as expected 08:22:58 --- FAIL: TestAddSecretRequest/Valid_-_both_trailing_slashes (0.00s) 08:22:58 controller_test.go:261: 08:22:58 Error Trace: controller_test.go:261 08:22:58 Error: Not equal: 08:22:58 expected: 201 08:22:58 actual : 400 08:22:58 Test: TestAddSecretRequest/Valid_-_both_trailing_slashes 08:22:58 Messages: HTTP status code not as expected 08:22:58 controller_test.go:263: 08:22:58 Error Trace: controller_test.go:263 08:22:58 Error: Not equal: 08:22:58 expected: 201 08:22:58 actual : 400 08:22:58 Test: TestAddSecretRequest/Valid_-_both_trailing_slashes 08:22:58 Messages: BaseResponse status code not as expected 08:22:58 controller_test.go:270: 08:22:58 Error Trace: controller_test.go:270 08:22:58 Error: Not equal: 08:22:58 expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" 08:22:58 actual : "" 08:22:58 08:22:58 Diff: 08:22:58 --- Expected 08:22:58 +++ Actual 08:22:58 @@ -1 +1 @@ 08:22:58 -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc 08:22:58 + 08:22:58 Test: TestAddSecretRequest/Valid_-_both_trailing_slashes 08:22:58 Messages: RequestID not as expected 08:22:58 controller_test.go:271: 08:22:58 Error Trace: controller_test.go:271 08:22:58 Error: Should be empty, but was JSON decode failed 08:22:58 Test: TestAddSecretRequest/Valid_-_both_trailing_slashes 08:22:58 Messages: Message not empty, as expected 08:22:58 --- FAIL: TestAddSecretRequest/Valid_-_no_requestId (0.00s) 08:22:58 controller_test.go:261: 08:22:58 Error Trace: controller_test.go:261 08:22:58 Error: Not equal: 08:22:58 expected: 201 08:22:58 actual : 400 08:22:58 Test: TestAddSecretRequest/Valid_-_no_requestId 08:22:58 Messages: HTTP status code not as expected 08:22:58 controller_test.go:263: 08:22:58 Error Trace: controller_test.go:263 08:22:58 Error: Not equal: 08:22:58 expected: 201 08:22:58 actual : 400 08:22:58 Test: TestAddSecretRequest/Valid_-_no_requestId 08:22:58 Messages: BaseResponse status code not as expected 08:22:58 controller_test.go:271: 08:22:58 Error Trace: controller_test.go:271 08:22:58 Error: Should be empty, but was JSON decode failed 08:22:58 Test: TestAddSecretRequest/Valid_-_no_requestId 08:22:58 Messages: Message not empty, as expected 08:22:58 --- FAIL: TestAddSecretRequest/Invalid_-_No_Secret_Store (0.00s) 08:22:58 controller_test.go:261: 08:22:58 Error Trace: controller_test.go:261 08:22:58 Error: Not equal: 08:22:58 expected: 500 08:22:58 actual : 400 08:22:58 Test: TestAddSecretRequest/Invalid_-_No_Secret_Store 08:22:58 Messages: HTTP status code not as expected 08:22:58 controller_test.go:263: 08:22:58 Error Trace: controller_test.go:263 08:22:58 Error: Not equal: 08:22:58 expected: 500 08:22:58 actual : 400 08:22:58 Test: TestAddSecretRequest/Invalid_-_No_Secret_Store 08:22:58 Messages: BaseResponse status code not as expected 08:22:58 FAIL 08:22:58 coverage: 63.8% of statements 08:22:58 FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.043s 08:22:58 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.036s coverage: 80.5% of statements 08:22:58 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.018s coverage: 71.7% of statements 08:23:08 --- FAIL: TestTransformToJSON (0.00s) 08:23:08 conversion_test.go:130: 08:23:08 Error Trace: conversion_test.go:130 08:23:08 Error: Not equal: 08:23:08 expected: "{\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 08:23:08 actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 08:23:08 08:23:08 Diff: 08:23:08 --- Expected 08:23:08 +++ Actual 08:23:08 @@ -1 +1 @@ 08:23:08 -{"id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} 08:23:08 +{"apiVersion":"","id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} 08:23:08 Test: TestTransformToJSON 08:23:08 --- FAIL: TestTransformToJSONMultipleParametersValid (0.00s) 08:23:08 conversion_test.go:157: 08:23:08 Error Trace: conversion_test.go:157 08:23:08 Error: Not equal: 08:23:08 expected: "{\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 08:23:08 actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 08:23:08 08:23:08 Diff: 08:23:08 --- Expected 08:23:08 +++ Actual 08:23:08 @@ -1 +1 @@ 08:23:08 -{"id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} 08:23:08 +{"apiVersion":"","id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} 08:23:08 Test: TestTransformToJSONMultipleParametersValid 08:23:08 --- FAIL: TestTransformToJSONMultipleParametersTwoEvents (0.00s) 08:23:08 conversion_test.go:175: 08:23:08 Error Trace: conversion_test.go:175 08:23:08 Error: Not equal: 08:23:08 expected: "{\"id\":\"\",\"deviceName\":\"id2\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 08:23:08 actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"id2\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 08:23:08 08:23:08 Diff: 08:23:08 --- Expected 08:23:08 +++ Actual 08:23:08 @@ -1 +1 @@ 08:23:08 -{"id":"","deviceName":"id2","profileName":"","created":0,"origin":0,"readings":null} 08:23:08 +{"apiVersion":"","id":"","deviceName":"id2","profileName":"","created":0,"origin":0,"readings":null} 08:23:08 Test: TestTransformToJSONMultipleParametersTwoEvents 08:23:08 FAIL 08:23:08 coverage: 81.4% of statements 08:23:08 FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.075s 08:23:08 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.025s coverage: 94.4% of statements 08:23:08 FAIL 08:23:08 make: *** [Makefile:6: test] Error 1 [Pipeline] } 08:23:08 $ docker stop --time=1 b7e72be54600b5c533fe27a3a56a22cf50eb50b6ae1de0600a1ebb203b10b9a5 08:23:11 $ 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] } 08:23:15 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 08:23:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:23:19 ---> package-listing.sh 08:23:19 ++ facter osfamily 08:23:19 ++ tr '[:upper:]' '[:lower:]' 08:23:19 + OS_FAMILY=redhat 08:23:19 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-681 08:23:19 + START_PACKAGES=/tmp/packages_start.txt 08:23:19 + END_PACKAGES=/tmp/packages_end.txt 08:23:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:23:19 + PACKAGES=/tmp/packages_start.txt 08:23:19 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-681 ']' 08:23:19 + PACKAGES=/tmp/packages_end.txt 08:23:19 + case "${OS_FAMILY}" in 08:23:19 + rpm -qa 08:23:19 + sort 08:23:24 + '[' -f /tmp/packages_start.txt ']' 08:23:24 + '[' -f /tmp/packages_end.txt ']' 08:23:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:23:24 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-681 ']' 08:23:24 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-681/archives/ 08:23:24 + 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 08:23:24 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 08:23:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:23:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:23:25 08:23:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:23:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:23:26 alpine: Pulling from edgex-lftools-log-publisher 08:23:26 df20fa9351a1: Pulling fs layer 08:23:26 36b3adc4ff6f: Pulling fs layer 08:23:26 8ad3a11d3b57: Pulling fs layer 08:23:26 46f8f816bc3b: Pulling fs layer 08:23:26 93b61091891f: Pulling fs layer 08:23:26 93b9cdb0e59b: Pulling fs layer 08:23:26 5e14af77c1be: Pulling fs layer 08:23:26 01666e4c0597: Pulling fs layer 08:23:26 aa168da1d23b: Pulling fs layer 08:23:26 46f8f816bc3b: Waiting 08:23:26 93b61091891f: Waiting 08:23:26 93b9cdb0e59b: Waiting 08:23:26 5e14af77c1be: Waiting 08:23:26 01666e4c0597: Waiting 08:23:26 36b3adc4ff6f: Verifying Checksum 08:23:26 36b3adc4ff6f: Download complete 08:23:26 46f8f816bc3b: Verifying Checksum 08:23:26 46f8f816bc3b: Download complete 08:23:26 df20fa9351a1: Verifying Checksum 08:23:26 df20fa9351a1: Download complete 08:23:26 93b9cdb0e59b: Verifying Checksum 08:23:26 93b9cdb0e59b: Download complete 08:23:26 5e14af77c1be: Verifying Checksum 08:23:26 5e14af77c1be: Download complete 08:23:26 01666e4c0597: Verifying Checksum 08:23:26 01666e4c0597: Download complete 08:23:26 93b61091891f: Verifying Checksum 08:23:26 93b61091891f: Download complete 08:23:26 df20fa9351a1: Pull complete 08:23:26 36b3adc4ff6f: Pull complete 08:23:26 8ad3a11d3b57: Verifying Checksum 08:23:26 8ad3a11d3b57: Download complete 08:23:27 8ad3a11d3b57: Pull complete 08:23:27 46f8f816bc3b: Pull complete 08:23:28 93b61091891f: Pull complete 08:23:28 93b9cdb0e59b: Pull complete 08:23:28 5e14af77c1be: Pull complete 08:23:28 aa168da1d23b: Verifying Checksum 08:23:28 aa168da1d23b: Download complete 08:23:28 01666e4c0597: Pull complete 08:23:36 aa168da1d23b: Pull complete 08:23:36 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 08:23:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:23:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:23:37 prd-centos7-docker-4c-2g-25513 does not seem to be running inside a container 08:23:37 $ 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 08:23:40 $ docker top cc24659ada78192ec2ba6035ea5fb483e8dbfc3b4a7c3ee05f08dc10ce6f878c -eo pid,comm [Pipeline] { [Pipeline] sh 08:23:41 + touch /tmp/pre-build-complete [Pipeline] sh 08:23:41 + mkdir -p /var/log/sa [Pipeline] sh 08:23:41 + ls /var/log/sa-host 08:23:41 + sadf -c /var/log/sa-host/sa08 08:23:41 file_magic: OK 08:23:41 HZ: Using current value: 100 08:23:41 file_header: OK 08:23:41 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 08:23:41 Statistics: 08:23:41 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 08:23:41 File successfully converted to sysstat format version 12.2.1 08:23:41 + sadf -c /var/log/sa-host/sa23 08:23:41 file_magic: OK 08:23:41 HZ: Using current value: 100 08:23:41 file_header: OK 08:23:41 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 08:23:41 Statistics: 08:23:41 Hnuu...uuuununununu... 08:23:41 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:23:42 provisioning config files... 08:23:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-681@tmp/config4697844024115729225tmp [Pipeline] { [Pipeline] echo 08:23:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:23:42 ---> create-netrc.sh [Pipeline] } 08:23:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 08:23:42 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 08:23:43 ---> python-tools-install.sh [Pipeline] echo 08:23:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:23:43 ---> sudo-logs.sh 08:23:43 Archiving 'sudo' log.. [Pipeline] echo 08:23:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:23:43 ---> job-cost.sh 08:23:43 lf-activate-venv: SKIPPING 08:23:43 INFO: No Stack... 08:23:44 INFO: Retrieving Pricing Info for: v1-standard-2 08:23:45 INFO: Archiving Costs [Pipeline] echo 08:23:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:23:45 ---> logs-deploy.sh 08:23:45 lf-activate-venv: SKIPPING 08:23:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-681/1 08:23:45 INFO: archiving workspace using pattern(s): 08:23:47 Archives upload complete. 08:23:47 INFO: archiving logs to Nexus 08:23:48 ---> uname -a: 08:23:48 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 08:23:48 08:23:48 08:23:48 ---> lscpu: 08:23:48 Architecture: x86_64 08:23:48 CPU op-mode(s): 32-bit, 64-bit 08:23:48 Byte Order: Little Endian 08:23:48 Address sizes: 40 bits physical, 48 bits virtual 08:23:48 CPU(s): 4 08:23:48 On-line CPU(s) list: 0-3 08:23:48 Thread(s) per core: 1 08:23:48 Core(s) per socket: 1 08:23:48 Socket(s): 4 08:23:48 NUMA node(s): 1 08:23:48 Vendor ID: GenuineIntel 08:23:48 CPU family: 6 08:23:48 Model: 44 08:23:48 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 08:23:48 Stepping: 1 08:23:48 CPU MHz: 2933.442 08:23:48 BogoMIPS: 5866.88 08:23:48 Virtualization: VT-x 08:23:48 Hypervisor vendor: KVM 08:23:48 Virtualization type: full 08:23:48 L1d cache: 128 KiB 08:23:48 L1i cache: 128 KiB 08:23:48 L2 cache: 16 MiB 08:23:48 L3 cache: 64 MiB 08:23:48 NUMA node0 CPU(s): 0-3 08:23:48 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 08:23:48 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 08:23:48 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 08:23:48 Vulnerability Meltdown: Mitigation; PTI 08:23:48 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 08:23:48 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 08:23:48 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 08:23:48 Vulnerability Srbds: Not affected 08:23:48 Vulnerability Tsx async abort: Not affected 08:23:48 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 08:23:48 08:23:48 08:23:48 ---> nproc: 08:23:48 4 08:23:48 08:23:48 08:23:48 ---> df -h: 08:23:48 Filesystem Size Used Available Use% Mounted on 08:23:48 overlay 50.0G 7.3G 42.7G 15% / 08:23:48 tmpfs 64.0M 0 64.0M 0% /dev 08:23:48 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 08:23:48 shm 64.0M 0 64.0M 0% /dev/shm 08:23:48 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 08:23:48 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 08:23:48 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 08:23:48 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 08:23:48 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 08:23:48 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/ndry_app-functions-sdk-go_PR-681 08:23:48 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 08:23:48 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/ndry_app-functions-sdk-go_PR-681@tmp 08:23:48 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 08:23:48 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 08:23:48 08:23:48 08:23:48 ---> free -m: 08:23:48 total used free shared buff/cache available 08:23:48 Mem: 1837 710 93 0 1033 1021 08:23:48 Swap: 1023 1 1022 08:23:48 08:23:48 08:23:48 ---> ip addr: 08:23:48 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 08:23:48 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 08:23:48 inet 127.0.0.1/8 scope host lo 08:23:48 valid_lft forever preferred_lft forever 08:23:48 inet6 ::1/128 scope host 08:23:48 valid_lft forever preferred_lft forever 08:23:48 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 08:23:48 link/ether fa:16:3e:67:f8:70 brd ff:ff:ff:ff:ff:ff 08:23:48 inet 10.30.122.224/23 brd 10.30.123.255 scope global dynamic eth0 08:23:48 valid_lft 85973sec preferred_lft 85973sec 08:23:48 inet6 fe80::f816:3eff:fe67:f870/64 scope link 08:23:48 valid_lft forever preferred_lft forever 08:23:48 3: docker0: mtu 1500 qdisc noqueue state DOWN 08:23:48 link/ether 02:42:24:e7:e0:6c brd ff:ff:ff:ff:ff:ff 08:23:48 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 08:23:48 valid_lft forever preferred_lft forever 08:23:48 inet6 fe80::42:24ff:fee7:e06c/64 scope link 08:23:48 valid_lft forever preferred_lft forever 08:23:48 08:23:48 08:23:48 ---> sar -b -r -n DEV: 08:23:48 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) 08:23:48 08:23:48 08:16:28 LINUX RESTART (4 CPU) 08:23:48 08:23:48 08:17:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 08:23:48 08:18:01 57.13 17.96 39.17 0.00 5006.23 4825.73 0.00 08:23:48 08:19:01 1.15 0.00 1.15 0.00 0.00 27.34 0.00 08:23:48 08:20:01 0.15 0.00 0.15 0.00 0.00 2.02 0.00 08:23:48 08:21:01 0.55 0.00 0.55 0.00 0.00 6.64 0.00 08:23:48 08:22:01 0.68 0.00 0.68 0.00 0.00 7.51 0.00 08:23:48 08:23:01 0.32 0.00 0.32 0.00 0.00 5.10 0.00 08:23:48 Average: 9.89 2.96 6.93 0.00 825.48 803.78 0.00 08:23:48 08:23:48 08:17:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 08:23:48 08:18:01 219604 0 614364 32.65 2620 1044956 1112100 37.95 426764 1037688 128 08:23:48 08:19:01 224316 0 609656 32.40 2620 1044952 1078760 36.82 426344 1033840 16 08:23:48 08:20:01 223716 0 610252 32.43 2620 1044956 1078916 36.82 434496 1026592 20 08:23:48 08:21:01 222348 0 611620 32.51 2620 1044956 1078856 36.82 436368 1026320 8 08:23:48 08:22:01 221984 0 611976 32.53 2620 1044964 1078904 36.82 455264 1007560 8 08:23:48 08:23:01 222284 0 611672 32.51 2620 1044968 1078940 36.82 456628 1006260 12 08:23:48 Average: 222375 0 611590 32.50 2620 1044959 1084413 37.01 439311 1023043 32 08:23:48 08:23:48 08:17:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 08:23:48 08:18:01 eth0 598.82 418.60 1416.81 94.23 0.00 0.00 0.00 0.00 08:23:48 08:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:23:48 08:18:01 docker0 88.73 88.32 7.79 311.17 0.00 0.00 0.00 0.00 08:23:48 08:19:01 eth0 0.75 0.08 0.06 0.01 0.00 0.00 0.00 0.00 08:23:48 08:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:23:48 08:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:23:48 08:20:01 eth0 2.61 0.65 0.68 0.40 0.00 0.00 0.00 0.00 08:23:48 08:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:23:48 08:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:23:48 08:21:01 eth0 1.88 0.65 0.64 0.40 0.00 0.00 0.00 0.00 08:23:48 08:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:23:48 08:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:23:48 08:22:01 eth0 1.23 0.32 0.33 0.17 0.00 0.00 0.00 0.00 08:23:48 08:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:23:48 08:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:23:48 08:23:01 eth0 0.83 0.57 0.42 0.28 0.00 0.00 0.00 0.00 08:23:48 08:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:23:48 08:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:23:48 Average: eth0 99.96 69.40 233.97 15.75 0.00 0.00 0.00 0.00 08:23:48 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:23:48 Average: docker0 14.63 14.56 1.28 51.31 0.00 0.00 0.00 0.00 08:23:48 08:23:48 08:23:48 ---> sar -P ALL: 08:23:48 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) 08:23:48 08:23:48 08:16:28 LINUX RESTART (4 CPU) 08:23:48 08:23:48 08:17:02 CPU %user %nice %system %iowait %steal %idle 08:23:48 08:18:01 all 9.31 0.00 3.37 1.45 0.05 85.81 08:23:48 08:18:01 0 9.38 0.00 4.24 2.07 0.07 84.24 08:23:48 08:18:01 1 10.02 0.00 3.39 1.25 0.03 85.30 08:23:48 08:18:01 2 7.53 0.00 3.26 0.39 0.05 88.76 08:23:48 08:18:01 3 10.33 0.00 2.58 2.10 0.05 84.93 08:23:48 08:19:01 all 0.17 0.00 0.05 0.00 0.00 99.78 08:23:48 08:19:01 0 0.03 0.00 0.03 0.00 0.00 99.93 08:23:48 08:19:01 1 0.07 0.00 0.07 0.00 0.00 99.86 08:23:48 08:19:01 2 0.51 0.00 0.03 0.00 0.00 99.46 08:23:48 08:19:01 3 0.07 0.00 0.05 0.00 0.00 99.88 08:23:48 08:20:01 all 0.16 0.00 0.06 0.00 0.00 99.78 08:23:48 08:20:01 0 0.05 0.00 0.03 0.00 0.00 99.92 08:23:48 08:20:01 1 0.05 0.00 0.03 0.00 0.00 99.92 08:23:48 08:20:01 2 0.45 0.00 0.08 0.00 0.00 99.47 08:23:48 08:20:01 3 0.08 0.00 0.08 0.00 0.00 99.83 08:23:48 08:21:01 all 0.17 0.00 0.04 0.00 0.01 99.78 08:23:48 08:21:01 0 0.05 0.00 0.03 0.00 0.02 99.90 08:23:48 08:21:01 1 0.07 0.00 0.05 0.00 0.00 99.88 08:23:48 08:21:01 2 0.47 0.00 0.05 0.00 0.02 99.47 08:23:48 08:21:01 3 0.10 0.00 0.02 0.00 0.00 99.88 08:23:48 08:22:01 all 0.18 0.00 0.07 0.00 0.00 99.75 08:23:48 08:22:01 0 0.05 0.00 0.05 0.00 0.00 99.90 08:23:48 08:22:01 1 0.12 0.00 0.05 0.00 0.02 99.82 08:23:48 08:22:01 2 0.50 0.00 0.13 0.00 0.00 99.37 08:23:48 08:22:01 3 0.03 0.00 0.03 0.00 0.00 99.93 08:23:48 08:23:01 all 0.15 0.00 0.08 0.00 0.00 99.77 08:23:48 08:23:01 0 0.03 0.00 0.03 0.00 0.00 99.93 08:23:48 08:23:01 1 0.50 0.00 0.05 0.00 0.00 99.45 08:23:48 08:23:01 2 0.03 0.00 0.22 0.00 0.00 99.75 08:23:48 08:23:01 3 0.02 0.00 0.02 0.00 0.00 99.97 08:23:48 Average: all 1.65 0.00 0.60 0.24 0.01 97.50 08:23:48 Average: 0 1.56 0.00 0.72 0.34 0.01 97.37 08:23:48 Average: 1 1.77 0.00 0.59 0.20 0.01 97.43 08:23:48 Average: 2 1.56 0.00 0.62 0.06 0.01 97.75 08:23:48 Average: 3 1.73 0.00 0.45 0.34 0.01 97.46 08:23:48 08:23:48 08:23:48