Pull request #677 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from d433a28151167b1897ffe1374614c5e4e98b3910+fc40647c9a5a0500e2956cf52a4e5c076e69792e (5d90b5443f1763b57709fb08f37e6148f2a37009) 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-677/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-677/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 Running on prd-centos7-docker-4c-2g-25209 in /w/workspace/ndry_app-functions-sdk-go_PR-677 [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-677 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/677/head:refs/remotes/origin/PR-677 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit fc40647c9a5a0500e2956cf52a4e5c076e69792e into PR head commit d433a28151167b1897ffe1374614c5e4e98b3910 Merge succeeded, producing d433a28151167b1897ffe1374614c5e4e98b3910 Checking out Revision d433a28151167b1897ffe1374614c5e4e98b3910 (PR-677) > git config core.sparsecheckout # timeout=10 > git checkout -f d433a28151167b1897ffe1374614c5e4e98b3910 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge fc40647c9a5a0500e2956cf52a4e5c076e69792e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d433a28151167b1897ffe1374614c5e4e98b3910 # 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 06:07:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:07:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:07:41 ========================================================= 06:07:41 EdgeX Global Pipelines Version Info 06:07:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:07:42 ------------------- 06:07:42 stable info: 06:07:42 ------------------- 06:07:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:07:42 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 06:07:42 Message: update stable to v1.0.179 06:07:43 ------------------- 06:07:43 experimental info: 06:07:43 ------------------- 06:07:43 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:07:43 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 06:07:43 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:07:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 06:07:44 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 06:07:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:07:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:07:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:07:44 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:07:44 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:07:45 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:07:45 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:07:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:07:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:07:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 06:07:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:07:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:07:45 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 06:07:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:07:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:07:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:07:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:07:46 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:07:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:07:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 06:07:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:07:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:07:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 06:07:47 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 06:07:47 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 06:07:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-677 [Pipeline] echo 06:07:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-677 [Pipeline] echo 06:07:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-677 [Pipeline] echo 06:07:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d433a28151167b1897ffe1374614c5e4e98b3910 [Pipeline] echo 06:07:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d433a28 [Pipeline] echo 06:07:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:07:49 + git log --format=format:%s -1 d433a28151167b1897ffe1374614c5e4e98b3910 [Pipeline] echo 06:07:49 GIT_COMMIT: d433a28151167b1897ffe1374614c5e4e98b3910, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 06:07:49 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:07:50 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:07:50 06:07:50 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:07:50 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:07:50 latest: Pulling from edgex-devops/git-semver 06:07:50 31603596830f: Pulling fs layer 06:07:50 2a8b12db71e7: Pulling fs layer 06:07:50 6ca5941a6612: Pulling fs layer 06:07:50 ecc8261a40a4: Pulling fs layer 06:07:50 ecc8261a40a4: Waiting 06:07:50 2a8b12db71e7: Verifying Checksum 06:07:50 2a8b12db71e7: Download complete 06:07:51 31603596830f: Download complete 06:07:51 ecc8261a40a4: Verifying Checksum 06:07:51 ecc8261a40a4: Download complete 06:07:51 6ca5941a6612: Verifying Checksum 06:07:51 6ca5941a6612: Download complete 06:07:51 31603596830f: Pull complete 06:07:51 2a8b12db71e7: Pull complete 06:07:52 6ca5941a6612: Pull complete 06:07:52 ecc8261a40a4: Pull complete 06:07:52 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:07:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:07:53 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:07:53 prd-centos7-docker-4c-2g-25209 does not seem to be running inside a container 06:07:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-677 -v /w/workspace/ndry_app-functions-sdk-go_PR-677:/w/workspace/ndry_app-functions-sdk-go_PR-677:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-677@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-677@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 06:07:55 $ docker top c4ee6a35012fae58ec475ae875f7a6c6fbf358515064946811bf6ea016e2d870 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:07:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:07:56 [ssh-agent] Looking for ssh-agent implementation... 06:07:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:07:56 $ docker exec c4ee6a35012fae58ec475ae875f7a6c6fbf358515064946811bf6ea016e2d870 ssh-agent 06:07:56 SSH_AUTH_SOCK=/tmp/ssh-vY6cA8HvuRQ0/agent.12 06:07:56 SSH_AGENT_PID=17 06:07:56 Running ssh-add (command line suppressed) 06:07:56 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-677@tmp/private_key_5030271903570146782.key (/w/workspace/ndry_app-functions-sdk-go_PR-677@tmp/private_key_5030271903570146782.key) 06:07:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:07:57 + git tag --points-at HEAD [Pipeline] } 06:07:57 $ docker exec --env ******** --env ******** c4ee6a35012fae58ec475ae875f7a6c6fbf358515064946811bf6ea016e2d870 ssh-agent -k 06:07:57 unset SSH_AUTH_SOCK; 06:07:57 unset SSH_AGENT_PID; 06:07:57 echo Agent pid 17 killed; 06:07:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:07:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:07:57 [ssh-agent] Looking for ssh-agent implementation... 06:07:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:07:57 $ docker exec c4ee6a35012fae58ec475ae875f7a6c6fbf358515064946811bf6ea016e2d870 ssh-agent 06:07:57 SSH_AUTH_SOCK=/tmp/ssh-IlPzZCBmPu6d/agent.46 06:07:57 SSH_AGENT_PID=51 06:07:57 Running ssh-add (command line suppressed) 06:07:58 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-677@tmp/private_key_7198943127174941101.key (/w/workspace/ndry_app-functions-sdk-go_PR-677@tmp/private_key_7198943127174941101.key) 06:07:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:07:58 + git semver init 06:07:58 # -> Open(): unable to determine branch for HEAD 06:07:58 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-677/.git 06:07:58 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-677 06:07:58 # $SEMVER_REMOTE_NAME = origin 06:07:58 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:07:58 # $SEMVER_USER_NAME = edgex-jenkins 06:07:58 # $SEMVER_BRANCH = PR-677 06:07:58 # $SEMVER_TEMP = /tmp/semver-605705548 06:07:58 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 06:08:01 # '/tmp/semver-605705548' -> '/w/workspace/ndry_app-functions-sdk-go_PR-677/.semver' 06:08:01 # -> Force: false 06:08:01 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-677/.semver [Pipeline] } 06:08:01 $ docker exec --env ******** --env ******** c4ee6a35012fae58ec475ae875f7a6c6fbf358515064946811bf6ea016e2d870 ssh-agent -k 06:08:01 unset SSH_AUTH_SOCK; 06:08:01 unset SSH_AGENT_PID; 06:08:01 echo Agent pid 51 killed; 06:08:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:08:02 + git semver [Pipeline] } 06:08:02 $ docker stop --time=1 c4ee6a35012fae58ec475ae875f7a6c6fbf358515064946811bf6ea016e2d870 06:08:03 $ docker rm -f c4ee6a35012fae58ec475ae875f7a6c6fbf358515064946811bf6ea016e2d870 [Pipeline] // withDockerContainer [Pipeline] sh 06:08:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:08:04 Stashed 1 file(s) [Pipeline] echo 06:08:04 [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 06:08:20 Still waiting to schedule task 06:08:20 Waiting for next available executor on ‘centos7-docker-4c-2g’ 06:08:20 Still waiting to schedule task 06:08:20 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 06:11:56 Running on prd-ubuntu18.04-docker-arm64-4c-16g-25213 in /w/workspace/ndry_app-functions-sdk-go_PR-677 [Pipeline] { [Pipeline] ws 06:11:56 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:12:02 using credential edgex-jenkins-ssh 06:12:02 Cloning the remote Git repository 06:12:02 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 06:12:02 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 06:12:02 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 06:12:02 > git --version # timeout=10 06:12:02 > git --version # 'git version 2.17.1' 06:12:02 using GIT_SSH to set credentials SSH Credentials for GitHub 06:12:02 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:12:06 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 06:12:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:12:07 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 06:12:07 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 06:12:07 using GIT_SSH to set credentials SSH Credentials for GitHub 06:12:07 Merging remotes/origin/master commit fc40647c9a5a0500e2956cf52a4e5c076e69792e into PR head commit d433a28151167b1897ffe1374614c5e4e98b3910 06:12:07 Merge succeeded, producing d433a28151167b1897ffe1374614c5e4e98b3910 06:12:07 Checking out Revision d433a28151167b1897ffe1374614c5e4e98b3910 (PR-677) 06:12:07 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/677/head:refs/remotes/origin/PR-677 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:12:07 > git config core.sparsecheckout # timeout=10 06:12:07 > git checkout -f d433a28151167b1897ffe1374614c5e4e98b3910 # timeout=10 06:12:07 > git remote # timeout=10 06:12:07 > git config --get remote.origin.url # timeout=10 06:12:07 using GIT_SSH to set credentials SSH Credentials for GitHub 06:12:07 > git merge fc40647c9a5a0500e2956cf52a4e5c076e69792e # timeout=10 06:12:07 > git rev-parse HEAD^{commit} # timeout=10 06:12:07 > git config core.sparsecheckout # timeout=10 06:12:07 > git checkout -f d433a28151167b1897ffe1374614c5e4e98b3910 # timeout=10 06:12:12 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 06:12:12 > git --version # timeout=10 06:12:12 > git --version # 'git version 2.17.1' 06:12:12 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:12:14 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 06:12:14 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:12:14 + true 06:12:14 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 06:12:17 ========================================================= 06:12:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:12:17 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:12:17 + 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 . 06:12:18 Sending build context to Docker daemon 19.09MB 06:12:18 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:12:18 Step 2/8 : FROM ${BASE} 06:12:19 Running on prd-centos7-docker-4c-2g-25214 in /w/workspace/ndry_app-functions-sdk-go_PR-677 [Pipeline] { [Pipeline] ws 06:12:19 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:12:19 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:12:19 5f621e34cdf4: Pulling fs layer 06:12:19 a4357932f1b6: Pulling fs layer 06:12:19 18c013af1878: Pulling fs layer 06:12:19 00ac8860ef70: Pulling fs layer 06:12:19 63d7cb157983: Pulling fs layer 06:12:19 b116817d02f9: Pulling fs layer 06:12:19 745a02a5169b: Pulling fs layer 06:12:19 00ac8860ef70: Waiting 06:12:19 63d7cb157983: Waiting 06:12:19 b116817d02f9: Waiting 06:12:19 745a02a5169b: Waiting 06:12:19 18c013af1878: Verifying Checksum 06:12:19 18c013af1878: Download complete 06:12:19 a4357932f1b6: Download complete 06:12:19 63d7cb157983: Verifying Checksum 06:12:19 63d7cb157983: Download complete 06:12:19 b116817d02f9: Verifying Checksum 06:12:19 b116817d02f9: Download complete 06:12:19 5f621e34cdf4: Verifying Checksum 06:12:19 5f621e34cdf4: Download complete 06:12:20 5f621e34cdf4: Pull complete 06:12:21 a4357932f1b6: Pull complete 06:12:21 18c013af1878: Pull complete 06:12:21 using credential edgex-jenkins-ssh 06:12:21 Cloning the remote Git repository 06:12:22 745a02a5169b: Verifying Checksum 06:12:22 745a02a5169b: Download complete 06:12:21 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 06:12:21 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 06:12:21 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 06:12:21 > git --version # timeout=10 06:12:21 > git --version # 'git version 2.24.3' 06:12:21 using GIT_SSH to set credentials SSH Credentials for GitHub 06:12:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:12:23 00ac8860ef70: Verifying Checksum 06:12:23 00ac8860ef70: Download complete 06:12:26 Merging remotes/origin/master commit fc40647c9a5a0500e2956cf52a4e5c076e69792e into PR head commit d433a28151167b1897ffe1374614c5e4e98b3910 06:12:26 Merge succeeded, producing d433a28151167b1897ffe1374614c5e4e98b3910 06:12:26 Checking out Revision d433a28151167b1897ffe1374614c5e4e98b3910 (PR-677) 06:12:25 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 06:12:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:12:25 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 06:12:25 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 06:12:25 using GIT_SSH to set credentials SSH Credentials for GitHub 06:12:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/677/head:refs/remotes/origin/PR-677 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:12:26 > git config core.sparsecheckout # timeout=10 06:12:26 > git checkout -f d433a28151167b1897ffe1374614c5e4e98b3910 # timeout=10 06:12:26 > git remote # timeout=10 06:12:26 > git config --get remote.origin.url # timeout=10 06:12:26 using GIT_SSH to set credentials SSH Credentials for GitHub 06:12:26 > git merge fc40647c9a5a0500e2956cf52a4e5c076e69792e # timeout=10 06:12:26 > git rev-parse HEAD^{commit} # timeout=10 06:12:26 > git config core.sparsecheckout # timeout=10 06:12:26 > git checkout -f d433a28151167b1897ffe1374614c5e4e98b3910 # timeout=10 06:12:30 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 06:12:30 > git --version # timeout=10 06:12:30 > git --version # 'git version 2.24.3' 06:12:30 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:12:31 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:12:32 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:12:32 + sudo service docker restart 06:12:32 + true 06:12:32 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash 06:12:33 00ac8860ef70: Pull complete 06:12:33 63d7cb157983: Pull complete 06:12:33 b116817d02f9: Pull complete [Pipeline] echo 06:12:34 ========================================================= 06:12:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:12:34 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:12:34 + 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 . 06:12:35 Sending build context to Docker daemon 19.09MB 06:12:35 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:12:35 Step 2/8 : FROM ${BASE} 06:12:35 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:12:35 188c0c94c7c5: Pulling fs layer 06:12:35 0ef7d3d256c8: Pulling fs layer 06:12:35 de9db76c5a1d: Pulling fs layer 06:12:35 bca2f99d35d6: Pulling fs layer 06:12:35 93359f2a8cfa: Pulling fs layer 06:12:35 7c6f9722023f: Pulling fs layer 06:12:35 a35cf1a2eb13: Pulling fs layer 06:12:35 93359f2a8cfa: Waiting 06:12:35 a35cf1a2eb13: Waiting 06:12:35 7c6f9722023f: Waiting 06:12:35 bca2f99d35d6: Waiting 06:12:35 de9db76c5a1d: Verifying Checksum 06:12:35 de9db76c5a1d: Download complete 06:12:35 0ef7d3d256c8: Download complete 06:12:35 93359f2a8cfa: Verifying Checksum 06:12:35 93359f2a8cfa: Download complete 06:12:35 7c6f9722023f: Verifying Checksum 06:12:35 7c6f9722023f: Download complete 06:12:35 188c0c94c7c5: Verifying Checksum 06:12:35 188c0c94c7c5: Download complete 06:12:35 188c0c94c7c5: Pull complete 06:12:36 0ef7d3d256c8: Pull complete 06:12:36 de9db76c5a1d: Pull complete 06:12:36 745a02a5169b: Pull complete 06:12:36 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 06:12:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:12:36 ---> b7e6874047d6 06:12:36 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 06:12:36 20.10.0: Pulling from library/docker 06:12:36 a3cc7d3b244e: Pulling fs layer 06:12:36 02a3295e0d61: Pulling fs layer 06:12:36 0f4f2e6d8100: Pulling fs layer 06:12:36 330b718f631f: Pulling fs layer 06:12:36 a93816041522: Pulling fs layer 06:12:36 bdb6da89ff94: Pulling fs layer 06:12:36 2a70c0c122f4: Pulling fs layer 06:12:36 330b718f631f: Waiting 06:12:36 a93816041522: Waiting 06:12:36 bdb6da89ff94: Waiting 06:12:36 2a70c0c122f4: Waiting 06:12:36 0f4f2e6d8100: Download complete 06:12:37 02a3295e0d61: Verifying Checksum 06:12:37 02a3295e0d61: Download complete 06:12:37 a3cc7d3b244e: Verifying Checksum 06:12:37 a3cc7d3b244e: Download complete 06:12:37 a93816041522: Verifying Checksum 06:12:37 a93816041522: Download complete 06:12:37 2a70c0c122f4: Verifying Checksum 06:12:37 2a70c0c122f4: Download complete 06:12:37 bdb6da89ff94: Verifying Checksum 06:12:37 bdb6da89ff94: Download complete 06:12:38 a35cf1a2eb13: Verifying Checksum 06:12:38 a35cf1a2eb13: Download complete 06:12:38 a3cc7d3b244e: Pull complete 06:12:38 bca2f99d35d6: Verifying Checksum 06:12:38 bca2f99d35d6: Download complete 06:12:38 02a3295e0d61: Pull complete 06:12:39 0f4f2e6d8100: Pull complete 06:12:39 330b718f631f: Verifying Checksum 06:12:39 330b718f631f: Download complete 06:12:43 330b718f631f: Pull complete 06:12:43 a93816041522: Pull complete 06:12:43 bdb6da89ff94: Pull complete 06:12:43 2a70c0c122f4: Pull complete 06:12:43 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 06:12:43 Status: Downloaded newer image for docker:20.10.0 06:12:44 bca2f99d35d6: Pull complete 06:12:44 93359f2a8cfa: Pull complete 06:12:44 7c6f9722023f: Pull complete 06:12:50 ---> 2a7305329b02 06:12:50 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:12:50 ---> Running in 0901326226ba 06:12:51 Removing intermediate container 0901326226ba 06:12:51 ---> 75e02dc75162 06:12:51 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 06:12:51 ---> Running in 0d5ed4a77fe1 06:12:51 a35cf1a2eb13: Pull complete 06:12:51 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 06:12:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:12:51 ---> a62c8e92a672 06:12:51 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 06:12:51 20.10.0: Pulling from library/docker 06:12:51 05e7bc50f07f: Pulling fs layer 06:12:51 6db28d0fdbf6: Pulling fs layer 06:12:51 292df0bc6bf3: Pulling fs layer 06:12:51 2e060f4bd70b: Pulling fs layer 06:12:51 80e8d568a223: Pulling fs layer 06:12:51 8dc6ef1a942a: Pulling fs layer 06:12:51 2312dd95470a: Pulling fs layer 06:12:51 2e060f4bd70b: Waiting 06:12:51 80e8d568a223: Waiting 06:12:51 2312dd95470a: Waiting 06:12:51 8dc6ef1a942a: Waiting 06:12:51 292df0bc6bf3: Verifying Checksum 06:12:51 292df0bc6bf3: Download complete 06:12:51 6db28d0fdbf6: Verifying Checksum 06:12:51 6db28d0fdbf6: Download complete 06:12:51 80e8d568a223: Verifying Checksum 06:12:51 80e8d568a223: Download complete 06:12:51 05e7bc50f07f: Verifying Checksum 06:12:51 05e7bc50f07f: Download complete 06:12:51 8dc6ef1a942a: Verifying Checksum 06:12:51 8dc6ef1a942a: Download complete 06:12:51 2312dd95470a: Verifying Checksum 06:12:51 2312dd95470a: Download complete 06:12:52 05e7bc50f07f: Pull complete 06:12:52 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:12:52 6db28d0fdbf6: Pull complete 06:12:52 292df0bc6bf3: Pull complete 06:12:52 2e060f4bd70b: Verifying Checksum 06:12:52 2e060f4bd70b: Download complete 06:12:53 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:12:54 (1/5) Installing libsodium (1.0.18-r0) 06:12:54 (2/5) Installing libzmq (4.3.3-r0) 06:12:54 (3/5) Installing pkgconf (1.7.2-r0) 06:12:54 (4/5) Installing libsodium-dev (1.0.18-r0) 06:12:54 (5/5) Installing zeromq-dev (4.3.3-r0) 06:12:54 Executing busybox-1.31.1-r19.trigger 06:12:54 OK: 144 MiB in 44 packages 06:12:56 2e060f4bd70b: Pull complete 06:12:56 80e8d568a223: Pull complete 06:12:56 8dc6ef1a942a: Pull complete 06:12:56 2312dd95470a: Pull complete 06:12:56 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 06:12:56 Status: Downloaded newer image for docker:20.10.0 06:12:56 Removing intermediate container 0d5ed4a77fe1 06:12:56 ---> eefc143a656b 06:12:56 Step 6/8 : WORKDIR /build 06:12:56 ---> Running in d8425e235ba8 06:12:56 Removing intermediate container d8425e235ba8 06:12:56 ---> 677b09dc5efe 06:12:56 Step 7/8 : COPY go.mod . 06:12:57 ---> 09cf6ecb3e16 06:12:57 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:12:57 ---> Running in 5da6b063ca10 06:12:57 Removing intermediate container 5da6b063ca10 06:12:57 ---> 422ccd999fe8 06:12:57 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 06:12:57 ---> Running in b18d654440cb 06:12:57 ---> 2bcc63ae3b18 06:12:57 Step 8/8 : RUN go mod download 06:12:57 ---> Running in 8dbbff9f06f1 06:12:58 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:12:59 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:12:59 (1/5) Installing libsodium (1.0.18-r0) 06:13:00 (2/5) Installing libzmq (4.3.3-r0) 06:13:00 (3/5) Installing pkgconf (1.7.2-r0) 06:13:00 (4/5) Installing libsodium-dev (1.0.18-r0) 06:13:00 (5/5) Installing zeromq-dev (4.3.3-r0) 06:13:00 Executing busybox-1.31.1-r19.trigger 06:13:00 OK: 167 MiB in 44 packages 06:13:01 Removing intermediate container b18d654440cb 06:13:01 ---> 8235a63cbdbb 06:13:01 Step 6/8 : WORKDIR /build 06:13:01 ---> Running in 69346f3c91fc 06:13:01 Removing intermediate container 69346f3c91fc 06:13:01 ---> 234c0a0dfc8a 06:13:01 Step 7/8 : COPY go.mod . 06:13:01 ---> 185b7d8d1ed5 06:13:01 Step 8/8 : RUN go mod download 06:13:01 ---> Running in 7da43807d0cb 06:13:23 Removing intermediate container 7da43807d0cb 06:13:23 ---> ed0673dd1df0 06:13:23 Successfully built ed0673dd1df0 06:13:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:13:24 + docker inspect -f . ci-base-image-x86_64 06:13:24 . [Pipeline] withDockerContainer 06:13:24 prd-centos7-docker-4c-2g-25214 does not seem to be running inside a container 06:13:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:13:24 Removing intermediate container 8dbbff9f06f1 06:13:24 ---> b4538f9f445d 06:13:24 Successfully built b4538f9f445d 06:13:24 Successfully tagged ci-base-image-arm64:latest 06:13:25 $ docker top 9f9f2dc025f095e41292105322950f61dd3bd901c3adb61c80c04c1ac5d68732 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 06:13:25 + go version 06:13:25 go version go1.15.5 linux/amd64 [Pipeline] } 06:13:25 $ docker stop --time=1 9f9f2dc025f095e41292105322950f61dd3bd901c3adb61c80c04c1ac5d68732 06:13:26 + docker inspect -f . ci-base-image-arm64 06:13:26 . 06:13:27 $ docker rm -f 9f9f2dc025f095e41292105322950f61dd3bd901c3adb61c80c04c1ac5d68732 [Pipeline] // withDockerContainer [Pipeline] withDockerContainer 06:13:27 prd-ubuntu18.04-docker-arm64-4c-16g-25213 does not seem to be running inside a container 06:13:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:13:29 $ docker top 5576b5aa2068ad779911f2bdb830b11a9625913adb641fff4afc606bb1597201 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:13:30 + go version 06:13:30 go version go1.15.5 linux/arm64 [Pipeline] } 06:13:30 $ docker stop --time=1 5576b5aa2068ad779911f2bdb830b11a9625913adb641fff4afc606bb1597201 06:13:30 + docker inspect -f . ci-base-image-x86_64 06:13:30 . 06:13:32 $ docker rm -f 5576b5aa2068ad779911f2bdb830b11a9625913adb641fff4afc606bb1597201 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withDockerContainer 06:13:33 prd-centos7-docker-4c-2g-25214 does not seem to be running inside a container 06:13:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:13:33 $ docker top c1dda58af29ae1023ee2575dd741ceb4b79f29a4b50be90aee85ffff051a7415 -eo pid,comm [Pipeline] { [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) 06:13:34 + make test 06:13:34 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:13:35 + docker inspect -f . ci-base-image-arm64 06:13:35 . [Pipeline] withDockerContainer 06:13:35 prd-ubuntu18.04-docker-arm64-4c-16g-25213 does not seem to be running inside a container 06:13:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:13:36 ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] 06:13:37 $ docker top 076d0b740a1972b495d18e9038da58d2c6938a93aa33d5f211560cb15693551f -eo pid,comm [Pipeline] { [Pipeline] sh 06:13:38 + make test 06:13:38 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 06:13:39 ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] 06:13:44 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.050s coverage: 82.6% of statements 06:13:50 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.022s coverage: 48.6% of statements 06:13:50 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 06:13:50 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 06:13:50 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.030s coverage: 61.5% of statements 06:13:50 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 06:13:51 --- FAIL: TestProcessMessageNoTransforms (0.00s) 06:13:51 runtime_test.go:116: 06:13:51 Error Trace: runtime_test.go:116 06:13:51 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc000249950), ErrorCode:400} 06:13:51 Test: TestProcessMessageNoTransforms 06:13:51 Messages: result should be nil since no transforms have been passed 06:13:51 --- FAIL: TestProcessMessageOneCustomTransform (0.00s) 06:13:51 runtime_test.go:145: 06:13:51 Error Trace: runtime_test.go:145 06:13:51 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc000249bd0), ErrorCode:400} 06:13:51 Test: TestProcessMessageOneCustomTransform 06:13:51 --- FAIL: TestProcessMessageTwoCustomTransforms (0.00s) 06:13:51 runtime_test.go:186: 06:13:51 Error Trace: runtime_test.go:186 06:13:51 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc000249e60), ErrorCode:400} 06:13:51 Test: TestProcessMessageTwoCustomTransforms 06:13:51 --- FAIL: TestProcessMessageThreeCustomTransformsOneFail (0.00s) 06:13:51 runtime_test.go:233: 06:13:51 Error Trace: runtime_test.go:233 06:13:51 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc0002a20e0), ErrorCode:400} 06:13:51 Test: TestProcessMessageThreeCustomTransformsOneFail 06:13:51 --- FAIL: TestProcessMessageJSON (0.00s) 06:13:51 runtime_test.go:308: 06:13:51 Error Trace: runtime_test.go:308 06:13:51 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc0002a2470), ErrorCode:400} 06:13:51 Test: TestProcessMessageJSON 06:13:51 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} 06:13:51 runtime_test.go:309: 06:13:51 Error Trace: runtime_test.go:309 06:13:51 Error: Should be true 06:13:51 Test: TestProcessMessageJSON 06:13:51 Messages: transform1 should have been called 06:13:51 --- FAIL: TestProcessMessageTargetType (0.00s) 06:13:51 runtime_test.go:423: 06:13:51 Error Trace: runtime_test.go:423 06:13:51 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc0002a2cd0), ErrorCode:400} 06:13:51 Test: TestProcessMessageTargetType 06:13:51 Messages: unexpected error for test 'Default Nil Target Type' 06:13:51 runtime_test.go:427: 06:13:51 Error Trace: runtime_test.go:427 06:13:51 Error: Not equal: 06:13:51 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, 0x35, 0x30, 0x35, 0x36, 0x33, 0x31, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x35, 0x30, 0x35, 0x36, 0x33, 0x31, 0x2c, 0x22, 0x72, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x3a, 0x5b, 0x7b, 0x22, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x76, 0x32, 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x38, 0x32, 0x65, 0x62, 0x32, 0x65, 0x32, 0x36, 0x2d, 0x30, 0x66, 0x32, 0x34, 0x2d, 0x34, 0x38, 0x61, 0x61, 0x2d, 0x61, 0x65, 0x34, 0x63, 0x2d, 0x64, 0x65, 0x39, 0x64, 0x61, 0x63, 0x33, 0x66, 0x31, 0x32, 0x33, 0x34, 0x22, 0x2c, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x35, 0x30, 0x35, 0x36, 0x33, 0x31, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x35, 0x30, 0x35, 0x36, 0x33, 0x31, 0x2c, 0x22, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x65, 0x6d, 0x70, 0x65, 0x72, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0x2c, 0x22, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x22, 0x2c, 0x22, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x6e, 0x75, 0x6c, 0x6c, 0x2c, 0x22, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x22, 0x37, 0x32, 0x22, 0x7d, 0x5d, 0x7d} 06:13:51 actual : []byte(nil) 06:13:51 06:13:51 Diff: 06:13:51 --- Expected 06:13:51 +++ Actual 06:13:51 @@ -1,31 +1,2 @@ 06:13:51 -([]uint8) (len=444) { 06:13:51 - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| 06:13:51 - 00000010 32 22 2c 22 69 64 22 3a 22 38 32 65 62 32 65 32 |2","id":"82eb2e2| 06:13:51 - 00000020 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 65 34 63 |6-0f24-48aa-ae4c| 06:13:51 - 00000030 2d 64 65 39 64 61 63 33 66 62 39 62 63 22 2c 22 |-de9dac3fb9bc","| 06:13:51 - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| 06:13:51 - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| 06:13:51 - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| 06:13:51 - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| 06:13:51 - 00000080 72 65 61 74 65 64 22 3a 31 36 31 32 35 30 35 36 |reated":16125056| 06:13:51 - 00000090 33 31 2c 22 6f 72 69 67 69 6e 22 3a 31 36 31 32 |31,"origin":1612| 06:13:51 - 000000a0 35 30 35 36 33 31 2c 22 72 65 61 64 69 6e 67 73 |505631,"readings| 06:13:51 - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| 06:13:51 - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 38 32 65 62 |:"v2","id":"82eb| 06:13:51 - 000000d0 32 65 32 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 |2e26-0f24-48aa-a| 06:13:51 - 000000e0 65 34 63 2d 64 65 39 64 61 63 33 66 31 32 33 34 |e4c-de9dac3f1234| 06:13:51 - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 31 36 31 32 |","created":1612| 06:13:51 - 00000100 35 30 35 36 33 31 2c 22 6f 72 69 67 69 6e 22 3a |505631,"origin":| 06:13:51 - 00000110 31 36 31 32 35 30 35 36 33 31 2c 22 64 65 76 69 |1612505631,"devi| 06:13:51 - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| 06:13:51 - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| 06:13:51 - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| 06:13:51 - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| 06:13:51 - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| 06:13:51 - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| 06:13:51 - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| 06:13:51 - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| 06:13:51 - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| 06:13:51 - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| 06:13:51 -} 06:13:51 +([]uint8) 06:13:51 06:13:51 Test: TestProcessMessageTargetType 06:13:51 Messages: 'Default Nil Target Type' test failed 06:13:51 runtime_test.go:423: 06:13:51 Error Trace: runtime_test.go:423 06:13:51 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc0002a3050), ErrorCode:400} 06:13:51 Test: TestProcessMessageTargetType 06:13:51 Messages: unexpected error for test 'Event as Json' 06:13:51 runtime_test.go:427: 06:13:51 Error Trace: runtime_test.go:427 06:13:51 Error: Not equal: 06:13:51 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, 0x35, 0x30, 0x35, 0x36, 0x33, 0x31, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x35, 0x30, 0x35, 0x36, 0x33, 0x31, 0x2c, 0x22, 0x72, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x3a, 0x5b, 0x7b, 0x22, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x76, 0x32, 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x38, 0x32, 0x65, 0x62, 0x32, 0x65, 0x32, 0x36, 0x2d, 0x30, 0x66, 0x32, 0x34, 0x2d, 0x34, 0x38, 0x61, 0x61, 0x2d, 0x61, 0x65, 0x34, 0x63, 0x2d, 0x64, 0x65, 0x39, 0x64, 0x61, 0x63, 0x33, 0x66, 0x31, 0x32, 0x33, 0x34, 0x22, 0x2c, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x35, 0x30, 0x35, 0x36, 0x33, 0x31, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x35, 0x30, 0x35, 0x36, 0x33, 0x31, 0x2c, 0x22, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x65, 0x6d, 0x70, 0x65, 0x72, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0x2c, 0x22, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x22, 0x2c, 0x22, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x6e, 0x75, 0x6c, 0x6c, 0x2c, 0x22, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x22, 0x37, 0x32, 0x22, 0x7d, 0x5d, 0x7d} 06:13:51 actual : []byte(nil) 06:13:51 06:13:51 Diff: 06:13:51 --- Expected 06:13:51 +++ Actual 06:13:51 @@ -1,31 +1,2 @@ 06:13:51 -([]uint8) (len=444) { 06:13:51 - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| 06:13:51 - 00000010 32 22 2c 22 69 64 22 3a 22 38 32 65 62 32 65 32 |2","id":"82eb2e2| 06:13:51 - 00000020 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 65 34 63 |6-0f24-48aa-ae4c| 06:13:51 - 00000030 2d 64 65 39 64 61 63 33 66 62 39 62 63 22 2c 22 |-de9dac3fb9bc","| 06:13:51 - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| 06:13:51 - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| 06:13:51 - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| 06:13:51 - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| 06:13:51 - 00000080 72 65 61 74 65 64 22 3a 31 36 31 32 35 30 35 36 |reated":16125056| 06:13:51 - 00000090 33 31 2c 22 6f 72 69 67 69 6e 22 3a 31 36 31 32 |31,"origin":1612| 06:13:51 - 000000a0 35 30 35 36 33 31 2c 22 72 65 61 64 69 6e 67 73 |505631,"readings| 06:13:51 - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| 06:13:51 - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 38 32 65 62 |:"v2","id":"82eb| 06:13:51 - 000000d0 32 65 32 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 |2e26-0f24-48aa-a| 06:13:51 - 000000e0 65 34 63 2d 64 65 39 64 61 63 33 66 31 32 33 34 |e4c-de9dac3f1234| 06:13:51 - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 31 36 31 32 |","created":1612| 06:13:51 - 00000100 35 30 35 36 33 31 2c 22 6f 72 69 67 69 6e 22 3a |505631,"origin":| 06:13:51 - 00000110 31 36 31 32 35 30 35 36 33 31 2c 22 64 65 76 69 |1612505631,"devi| 06:13:51 - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| 06:13:51 - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| 06:13:51 - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| 06:13:51 - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| 06:13:51 - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| 06:13:51 - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| 06:13:51 - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| 06:13:51 - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| 06:13:51 - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| 06:13:51 - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| 06:13:51 -} 06:13:51 +([]uint8) 06:13:51 06:13:51 Test: TestProcessMessageTargetType 06:13:51 Messages: 'Event as Json' test failed 06:13:51 runtime_test.go:423: 06:13:51 Error Trace: runtime_test.go:423 06:13:51 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc0002a34d0), ErrorCode:400} 06:13:51 Test: TestProcessMessageTargetType 06:13:51 Messages: unexpected error for test 'Event as Cbor' 06:13:51 runtime_test.go:427: 06:13:51 Error Trace: runtime_test.go:427 06:13:51 Error: Not equal: 06:13:51 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, 0x35, 0x30, 0x35, 0x36, 0x33, 0x31, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x35, 0x30, 0x35, 0x36, 0x33, 0x31, 0x2c, 0x22, 0x72, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x3a, 0x5b, 0x7b, 0x22, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x76, 0x32, 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x38, 0x32, 0x65, 0x62, 0x32, 0x65, 0x32, 0x36, 0x2d, 0x30, 0x66, 0x32, 0x34, 0x2d, 0x34, 0x38, 0x61, 0x61, 0x2d, 0x61, 0x65, 0x34, 0x63, 0x2d, 0x64, 0x65, 0x39, 0x64, 0x61, 0x63, 0x33, 0x66, 0x31, 0x32, 0x33, 0x34, 0x22, 0x2c, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x35, 0x30, 0x35, 0x36, 0x33, 0x31, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x35, 0x30, 0x35, 0x36, 0x33, 0x31, 0x2c, 0x22, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x65, 0x6d, 0x70, 0x65, 0x72, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0x2c, 0x22, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x22, 0x2c, 0x22, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x6e, 0x75, 0x6c, 0x6c, 0x2c, 0x22, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x22, 0x37, 0x32, 0x22, 0x7d, 0x5d, 0x7d} 06:13:51 actual : []byte(nil) 06:13:51 06:13:51 Diff: 06:13:51 --- Expected 06:13:51 +++ Actual 06:13:51 @@ -1,31 +1,2 @@ 06:13:51 -([]uint8) (len=444) { 06:13:51 - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| 06:13:51 - 00000010 32 22 2c 22 69 64 22 3a 22 38 32 65 62 32 65 32 |2","id":"82eb2e2| 06:13:51 - 00000020 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 65 34 63 |6-0f24-48aa-ae4c| 06:13:51 - 00000030 2d 64 65 39 64 61 63 33 66 62 39 62 63 22 2c 22 |-de9dac3fb9bc","| 06:13:51 - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| 06:13:51 - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| 06:13:51 - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| 06:13:51 - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| 06:13:51 - 00000080 72 65 61 74 65 64 22 3a 31 36 31 32 35 30 35 36 |reated":16125056| 06:13:51 - 00000090 33 31 2c 22 6f 72 69 67 69 6e 22 3a 31 36 31 32 |31,"origin":1612| 06:13:51 - 000000a0 35 30 35 36 33 31 2c 22 72 65 61 64 69 6e 67 73 |505631,"readings| 06:13:51 - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| 06:13:51 - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 38 32 65 62 |:"v2","id":"82eb| 06:13:51 - 000000d0 32 65 32 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 |2e26-0f24-48aa-a| 06:13:51 - 000000e0 65 34 63 2d 64 65 39 64 61 63 33 66 31 32 33 34 |e4c-de9dac3f1234| 06:13:51 - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 31 36 31 32 |","created":1612| 06:13:51 - 00000100 35 30 35 36 33 31 2c 22 6f 72 69 67 69 6e 22 3a |505631,"origin":| 06:13:51 - 00000110 31 36 31 32 35 30 35 36 33 31 2c 22 64 65 76 69 |1612505631,"devi| 06:13:51 - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| 06:13:51 - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| 06:13:51 - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| 06:13:51 - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| 06:13:51 - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| 06:13:51 - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| 06:13:51 - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| 06:13:51 - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| 06:13:51 - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| 06:13:51 - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| 06:13:51 -} 06:13:51 +([]uint8) 06:13:51 06:13:51 Test: TestProcessMessageTargetType 06:13:51 Messages: 'Event as Cbor' test failed 06:13:51 --- FAIL: TestGolangRuntime_unmarshalV2Event (0.00s) 06:13:51 --- FAIL: TestGolangRuntime_unmarshalV2Event/JSON_V2_Event (0.00s) 06:13:51 runtime_test.go:599: 06:13:51 Error Trace: runtime_test.go:599 06:13:51 Error: Received unexpected error: 06:13:51 failed to unmarshal AddEventRequest from content type 'application/json': AddEventRequest.BaseRequest.Versionable.ApiVersion field is required 06:13:51 Test: TestGolangRuntime_unmarshalV2Event/JSON_V2_Event 06:13:51 --- FAIL: TestGolangRuntime_unmarshalV2Event/CBOR_V2_Event (0.00s) 06:13:51 runtime_test.go:599: 06:13:51 Error Trace: runtime_test.go:599 06:13:51 Error: Received unexpected error: 06:13:51 validation failed on AddEventRequest: AddEventRequest.BaseRequest.Versionable.ApiVersion field is required 06:13:51 Test: TestGolangRuntime_unmarshalV2Event/CBOR_V2_Event 06:13:51 FAIL 06:13:51 coverage: 73.4% of statements 06:13:51 FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.125s 06:13:51 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 06:13:51 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 06:13:51 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 06:13:51 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 06:13:51 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 06:13:51 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 06:13:51 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.016s coverage: 97.0% of statements 06:13:51 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 06:13:51 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.013s coverage: 8.8% of statements 06:14:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.058s coverage: 82.6% of statements 06:14:09 --- FAIL: TestInitializeAndProcessEventWithNoOutput (3.30s) 06:14:09 messaging_test.go:206: 06:14:09 Error Trace: messaging_test.go:206 06:14:09 Error: Should be true 06:14:09 Test: TestInitializeAndProcessEventWithNoOutput 06:14:09 Messages: Transform never called 06:14:09 --- FAIL: TestInitializeAndProcessEventWithOutput (3.30s) 06:14:09 messaging_test.go:290: 06:14:09 Error Trace: messaging_test.go:290 06:14:09 Error: Should be true 06:14:09 Test: TestInitializeAndProcessEventWithOutput 06:14:09 Messages: Transform never called 06:14:09 --- FAIL: TestInitializeAndProcessEventWithOutput_InferJSON (3.30s) 06:14:09 messaging_test.go:385: 06:14:09 Error Trace: messaging_test.go:385 06:14:09 Error: Should be true 06:14:09 Test: TestInitializeAndProcessEventWithOutput_InferJSON 06:14:09 Messages: Transform never called 06:14:09 --- FAIL: TestInitializeAndProcessEventWithOutput_AssumeCBOR (3.31s) 06:14:09 messaging_test.go:477: 06:14:09 Error Trace: messaging_test.go:477 06:14:09 Error: Should be true 06:14:09 Test: TestInitializeAndProcessEventWithOutput_AssumeCBOR 06:14:09 Messages: Transform never called 06:14:09 --- FAIL: TestInitializeAndProcessEventMultipleTopics (3.30s) 06:14:09 messaging_test.go:638: 06:14:09 Error Trace: messaging_test.go:638 06:14:09 Error: Transform never called for t1 06:14:09 Test: TestInitializeAndProcessEventMultipleTopics 06:14:09 FAIL 06:14:09 coverage: 62.0% of statements 06:14:09 FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 16.858s 06:14:09 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 06:14:09 --- FAIL: TestAddSecretRequest (0.00s) 06:14:09 --- FAIL: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash (0.00s) 06:14:09 controller_test.go:261: 06:14:09 Error Trace: controller_test.go:261 06:14:09 Error: Not equal: 06:14:09 expected: 201 06:14:09 actual : 400 06:14:09 Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash 06:14:09 Messages: HTTP status code not as expected 06:14:09 controller_test.go:263: 06:14:09 Error Trace: controller_test.go:263 06:14:09 Error: Not equal: 06:14:09 expected: 201 06:14:09 actual : 400 06:14:09 Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash 06:14:09 Messages: BaseResponse status code not as expected 06:14:09 controller_test.go:270: 06:14:09 Error Trace: controller_test.go:270 06:14:09 Error: Not equal: 06:14:09 expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" 06:14:09 actual : "" 06:14:09 06:14:09 Diff: 06:14:09 --- Expected 06:14:09 +++ Actual 06:14:09 @@ -1 +1 @@ 06:14:09 -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc 06:14:09 + 06:14:09 Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash 06:14:09 Messages: RequestID not as expected 06:14:09 controller_test.go:271: 06:14:09 Error Trace: controller_test.go:271 06:14:09 Error: Should be empty, but was JSON decode failed 06:14:09 Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash 06:14:09 Messages: Message not empty, as expected 06:14:09 --- FAIL: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash (0.00s) 06:14:09 controller_test.go:261: 06:14:09 Error Trace: controller_test.go:261 06:14:09 Error: Not equal: 06:14:09 expected: 201 06:14:09 actual : 400 06:14:09 Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash 06:14:09 Messages: HTTP status code not as expected 06:14:09 controller_test.go:263: 06:14:09 Error Trace: controller_test.go:263 06:14:09 Error: Not equal: 06:14:09 expected: 201 06:14:09 actual : 400 06:14:09 Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash 06:14:09 Messages: BaseResponse status code not as expected 06:14:09 controller_test.go:270: 06:14:09 Error Trace: controller_test.go:270 06:14:09 Error: Not equal: 06:14:09 expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" 06:14:09 actual : "" 06:14:09 06:14:09 Diff: 06:14:09 --- Expected 06:14:09 +++ Actual 06:14:09 @@ -1 +1 @@ 06:14:09 -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc 06:14:09 + 06:14:09 Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash 06:14:09 Messages: RequestID not as expected 06:14:09 controller_test.go:271: 06:14:09 Error Trace: controller_test.go:271 06:14:09 Error: Should be empty, but was JSON decode failed 06:14:09 Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash 06:14:09 Messages: Message not empty, as expected 06:14:09 --- FAIL: TestAddSecretRequest/Valid_-_both_trailing_slashes (0.00s) 06:14:09 controller_test.go:261: 06:14:09 Error Trace: controller_test.go:261 06:14:09 Error: Not equal: 06:14:09 expected: 201 06:14:09 actual : 400 06:14:09 Test: TestAddSecretRequest/Valid_-_both_trailing_slashes 06:14:09 Messages: HTTP status code not as expected 06:14:09 controller_test.go:263: 06:14:09 Error Trace: controller_test.go:263 06:14:09 Error: Not equal: 06:14:09 expected: 201 06:14:09 actual : 400 06:14:09 Test: TestAddSecretRequest/Valid_-_both_trailing_slashes 06:14:09 Messages: BaseResponse status code not as expected 06:14:09 controller_test.go:270: 06:14:09 Error Trace: controller_test.go:270 06:14:09 Error: Not equal: 06:14:09 expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" 06:14:09 actual : "" 06:14:09 06:14:09 Diff: 06:14:09 --- Expected 06:14:09 +++ Actual 06:14:09 @@ -1 +1 @@ 06:14:09 -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc 06:14:09 + 06:14:09 Test: TestAddSecretRequest/Valid_-_both_trailing_slashes 06:14:09 Messages: RequestID not as expected 06:14:09 controller_test.go:271: 06:14:09 Error Trace: controller_test.go:271 06:14:09 Error: Should be empty, but was JSON decode failed 06:14:09 Test: TestAddSecretRequest/Valid_-_both_trailing_slashes 06:14:09 Messages: Message not empty, as expected 06:14:09 --- FAIL: TestAddSecretRequest/Valid_-_no_requestId (0.00s) 06:14:09 controller_test.go:261: 06:14:09 Error Trace: controller_test.go:261 06:14:09 Error: Not equal: 06:14:09 expected: 201 06:14:09 actual : 400 06:14:09 Test: TestAddSecretRequest/Valid_-_no_requestId 06:14:09 Messages: HTTP status code not as expected 06:14:09 controller_test.go:263: 06:14:09 Error Trace: controller_test.go:263 06:14:09 Error: Not equal: 06:14:09 expected: 201 06:14:09 actual : 400 06:14:09 Test: TestAddSecretRequest/Valid_-_no_requestId 06:14:09 Messages: BaseResponse status code not as expected 06:14:09 controller_test.go:271: 06:14:09 Error Trace: controller_test.go:271 06:14:09 Error: Should be empty, but was JSON decode failed 06:14:09 Test: TestAddSecretRequest/Valid_-_no_requestId 06:14:09 Messages: Message not empty, as expected 06:14:09 --- FAIL: TestAddSecretRequest/Invalid_-_No_Secret_Store (0.00s) 06:14:09 controller_test.go:261: 06:14:09 Error Trace: controller_test.go:261 06:14:09 Error: Not equal: 06:14:09 expected: 500 06:14:09 actual : 400 06:14:09 Test: TestAddSecretRequest/Invalid_-_No_Secret_Store 06:14:09 Messages: HTTP status code not as expected 06:14:09 controller_test.go:263: 06:14:09 Error Trace: controller_test.go:263 06:14:09 Error: Not equal: 06:14:09 expected: 500 06:14:09 actual : 400 06:14:09 Test: TestAddSecretRequest/Invalid_-_No_Secret_Store 06:14:09 Messages: BaseResponse status code not as expected 06:14:09 FAIL 06:14:09 coverage: 63.8% of statements 06:14:09 FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.021s 06:14:09 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.022s coverage: 80.5% of statements 06:14:09 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.022s coverage: 71.7% of statements 06:14:17 --- FAIL: TestTransformToJSON (0.00s) 06:14:17 conversion_test.go:130: 06:14:17 Error Trace: conversion_test.go:130 06:14:17 Error: Not equal: 06:14:17 expected: "{\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 06:14:17 actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 06:14:17 06:14:17 Diff: 06:14:17 --- Expected 06:14:17 +++ Actual 06:14:17 @@ -1 +1 @@ 06:14:17 -{"id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} 06:14:17 +{"apiVersion":"","id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} 06:14:17 Test: TestTransformToJSON 06:14:17 --- FAIL: TestTransformToJSONMultipleParametersValid (0.00s) 06:14:17 conversion_test.go:157: 06:14:17 Error Trace: conversion_test.go:157 06:14:17 Error: Not equal: 06:14:17 expected: "{\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 06:14:17 actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 06:14:17 06:14:17 Diff: 06:14:17 --- Expected 06:14:17 +++ Actual 06:14:17 @@ -1 +1 @@ 06:14:17 -{"id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} 06:14:17 +{"apiVersion":"","id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} 06:14:17 Test: TestTransformToJSONMultipleParametersValid 06:14:17 --- FAIL: TestTransformToJSONMultipleParametersTwoEvents (0.00s) 06:14:17 conversion_test.go:175: 06:14:17 Error Trace: conversion_test.go:175 06:14:17 Error: Not equal: 06:14:17 expected: "{\"id\":\"\",\"deviceName\":\"id2\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 06:14:17 actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"id2\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 06:14:17 06:14:17 Diff: 06:14:17 --- Expected 06:14:17 +++ Actual 06:14:17 @@ -1 +1 @@ 06:14:17 -{"id":"","deviceName":"id2","profileName":"","created":0,"origin":0,"readings":null} 06:14:17 +{"apiVersion":"","id":"","deviceName":"id2","profileName":"","created":0,"origin":0,"readings":null} 06:14:17 Test: TestTransformToJSONMultipleParametersTwoEvents 06:14:17 FAIL 06:14:17 coverage: 81.4% of statements 06:14:17 FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.041s 06:14:17 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.012s coverage: 94.4% of statements 06:14:17 FAIL 06:14:18 make: *** [Makefile:6: test] Error 1 [Pipeline] } 06:14:18 $ docker stop --time=1 c1dda58af29ae1023ee2575dd741ceb4b79f29a4b50be90aee85ffff051a7415 06:14:20 $ docker rm -f c1dda58af29ae1023ee2575dd741ceb4b79f29a4b50be90aee85ffff051a7415 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:14:22 Failed in branch amd64 06:14:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.070s coverage: 48.6% of statements 06:14:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 06:14:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 06:14:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.119s coverage: 61.5% of statements 06:14:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 06:14:33 --- FAIL: TestProcessMessageNoTransforms (0.00s) 06:14:33 runtime_test.go:116: 06:14:33 Error Trace: runtime_test.go:116 06:14:33 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x4000310640), ErrorCode:400} 06:14:33 Test: TestProcessMessageNoTransforms 06:14:33 Messages: result should be nil since no transforms have been passed 06:14:33 --- FAIL: TestProcessMessageOneCustomTransform (0.00s) 06:14:33 runtime_test.go:145: 06:14:33 Error Trace: runtime_test.go:145 06:14:33 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x400028b4e0), ErrorCode:400} 06:14:33 Test: TestProcessMessageOneCustomTransform 06:14:33 --- FAIL: TestProcessMessageTwoCustomTransforms (0.00s) 06:14:33 runtime_test.go:186: 06:14:33 Error Trace: runtime_test.go:186 06:14:33 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x400028b770), ErrorCode:400} 06:14:33 Test: TestProcessMessageTwoCustomTransforms 06:14:33 --- FAIL: TestProcessMessageThreeCustomTransformsOneFail (0.00s) 06:14:33 runtime_test.go:233: 06:14:33 Error Trace: runtime_test.go:233 06:14:33 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x400028b9f0), ErrorCode:400} 06:14:33 Test: TestProcessMessageThreeCustomTransformsOneFail 06:14:33 --- FAIL: TestProcessMessageJSON (0.00s) 06:14:33 runtime_test.go:308: 06:14:33 Error Trace: runtime_test.go:308 06:14:33 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x40003802f0), ErrorCode:400} 06:14:33 Test: TestProcessMessageJSON 06:14:33 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} 06:14:33 runtime_test.go:309: 06:14:33 Error Trace: runtime_test.go:309 06:14:33 Error: Should be true 06:14:33 Test: TestProcessMessageJSON 06:14:33 Messages: transform1 should have been called 06:14:33 --- FAIL: TestProcessMessageTargetType (0.00s) 06:14:33 runtime_test.go:423: 06:14:33 Error Trace: runtime_test.go:423 06:14:33 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x4000380b50), ErrorCode:400} 06:14:33 Test: TestProcessMessageTargetType 06:14:33 Messages: unexpected error for test 'Default Nil Target Type' 06:14:33 runtime_test.go:427: 06:14:33 Error Trace: runtime_test.go:427 06:14:33 Error: Not equal: 06:14:33 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, 0x35, 0x30, 0x35, 0x36, 0x36, 0x36, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x35, 0x30, 0x35, 0x36, 0x36, 0x36, 0x2c, 0x22, 0x72, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x3a, 0x5b, 0x7b, 0x22, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x76, 0x32, 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x38, 0x32, 0x65, 0x62, 0x32, 0x65, 0x32, 0x36, 0x2d, 0x30, 0x66, 0x32, 0x34, 0x2d, 0x34, 0x38, 0x61, 0x61, 0x2d, 0x61, 0x65, 0x34, 0x63, 0x2d, 0x64, 0x65, 0x39, 0x64, 0x61, 0x63, 0x33, 0x66, 0x31, 0x32, 0x33, 0x34, 0x22, 0x2c, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x35, 0x30, 0x35, 0x36, 0x36, 0x36, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x35, 0x30, 0x35, 0x36, 0x36, 0x36, 0x2c, 0x22, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x65, 0x6d, 0x70, 0x65, 0x72, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0x2c, 0x22, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x22, 0x2c, 0x22, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x6e, 0x75, 0x6c, 0x6c, 0x2c, 0x22, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x22, 0x37, 0x32, 0x22, 0x7d, 0x5d, 0x7d} 06:14:33 actual : []byte(nil) 06:14:33 06:14:33 Diff: 06:14:33 --- Expected 06:14:33 +++ Actual 06:14:33 @@ -1,31 +1,2 @@ 06:14:33 -([]uint8) (len=444) { 06:14:33 - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| 06:14:33 - 00000010 32 22 2c 22 69 64 22 3a 22 38 32 65 62 32 65 32 |2","id":"82eb2e2| 06:14:33 - 00000020 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 65 34 63 |6-0f24-48aa-ae4c| 06:14:33 - 00000030 2d 64 65 39 64 61 63 33 66 62 39 62 63 22 2c 22 |-de9dac3fb9bc","| 06:14:33 - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| 06:14:33 - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| 06:14:33 - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| 06:14:33 - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| 06:14:33 - 00000080 72 65 61 74 65 64 22 3a 31 36 31 32 35 30 35 36 |reated":16125056| 06:14:33 - 00000090 36 36 2c 22 6f 72 69 67 69 6e 22 3a 31 36 31 32 |66,"origin":1612| 06:14:33 - 000000a0 35 30 35 36 36 36 2c 22 72 65 61 64 69 6e 67 73 |505666,"readings| 06:14:33 - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| 06:14:33 - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 38 32 65 62 |:"v2","id":"82eb| 06:14:33 - 000000d0 32 65 32 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 |2e26-0f24-48aa-a| 06:14:33 - 000000e0 65 34 63 2d 64 65 39 64 61 63 33 66 31 32 33 34 |e4c-de9dac3f1234| 06:14:33 - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 31 36 31 32 |","created":1612| 06:14:33 - 00000100 35 30 35 36 36 36 2c 22 6f 72 69 67 69 6e 22 3a |505666,"origin":| 06:14:33 - 00000110 31 36 31 32 35 30 35 36 36 36 2c 22 64 65 76 69 |1612505666,"devi| 06:14:33 - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| 06:14:33 - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| 06:14:33 - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| 06:14:33 - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| 06:14:33 - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| 06:14:33 - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| 06:14:33 - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| 06:14:33 - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| 06:14:33 - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| 06:14:33 - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| 06:14:33 -} 06:14:33 +([]uint8) 06:14:33 06:14:33 Test: TestProcessMessageTargetType 06:14:33 Messages: 'Default Nil Target Type' test failed 06:14:33 runtime_test.go:423: 06:14:33 Error Trace: runtime_test.go:423 06:14:33 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x4000380ed0), ErrorCode:400} 06:14:33 Test: TestProcessMessageTargetType 06:14:33 Messages: unexpected error for test 'Event as Json' 06:14:33 runtime_test.go:427: 06:14:33 Error Trace: runtime_test.go:427 06:14:33 Error: Not equal: 06:14:33 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, 0x35, 0x30, 0x35, 0x36, 0x36, 0x36, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x35, 0x30, 0x35, 0x36, 0x36, 0x36, 0x2c, 0x22, 0x72, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x3a, 0x5b, 0x7b, 0x22, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x76, 0x32, 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x38, 0x32, 0x65, 0x62, 0x32, 0x65, 0x32, 0x36, 0x2d, 0x30, 0x66, 0x32, 0x34, 0x2d, 0x34, 0x38, 0x61, 0x61, 0x2d, 0x61, 0x65, 0x34, 0x63, 0x2d, 0x64, 0x65, 0x39, 0x64, 0x61, 0x63, 0x33, 0x66, 0x31, 0x32, 0x33, 0x34, 0x22, 0x2c, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x35, 0x30, 0x35, 0x36, 0x36, 0x36, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x35, 0x30, 0x35, 0x36, 0x36, 0x36, 0x2c, 0x22, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x65, 0x6d, 0x70, 0x65, 0x72, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0x2c, 0x22, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x22, 0x2c, 0x22, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x6e, 0x75, 0x6c, 0x6c, 0x2c, 0x22, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x22, 0x37, 0x32, 0x22, 0x7d, 0x5d, 0x7d} 06:14:33 actual : []byte(nil) 06:14:33 06:14:33 Diff: 06:14:33 --- Expected 06:14:33 +++ Actual 06:14:33 @@ -1,31 +1,2 @@ 06:14:33 -([]uint8) (len=444) { 06:14:33 - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| 06:14:33 - 00000010 32 22 2c 22 69 64 22 3a 22 38 32 65 62 32 65 32 |2","id":"82eb2e2| 06:14:33 - 00000020 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 65 34 63 |6-0f24-48aa-ae4c| 06:14:33 - 00000030 2d 64 65 39 64 61 63 33 66 62 39 62 63 22 2c 22 |-de9dac3fb9bc","| 06:14:33 - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| 06:14:33 - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| 06:14:33 - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| 06:14:33 - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| 06:14:33 - 00000080 72 65 61 74 65 64 22 3a 31 36 31 32 35 30 35 36 |reated":16125056| 06:14:33 - 00000090 36 36 2c 22 6f 72 69 67 69 6e 22 3a 31 36 31 32 |66,"origin":1612| 06:14:33 - 000000a0 35 30 35 36 36 36 2c 22 72 65 61 64 69 6e 67 73 |505666,"readings| 06:14:33 - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| 06:14:33 - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 38 32 65 62 |:"v2","id":"82eb| 06:14:33 - 000000d0 32 65 32 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 |2e26-0f24-48aa-a| 06:14:33 - 000000e0 65 34 63 2d 64 65 39 64 61 63 33 66 31 32 33 34 |e4c-de9dac3f1234| 06:14:33 - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 31 36 31 32 |","created":1612| 06:14:33 - 00000100 35 30 35 36 36 36 2c 22 6f 72 69 67 69 6e 22 3a |505666,"origin":| 06:14:33 - 00000110 31 36 31 32 35 30 35 36 36 36 2c 22 64 65 76 69 |1612505666,"devi| 06:14:33 - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| 06:14:33 - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| 06:14:33 - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| 06:14:33 - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| 06:14:33 - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| 06:14:33 - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| 06:14:33 - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| 06:14:33 - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| 06:14:33 - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| 06:14:33 - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| 06:14:33 -} 06:14:33 +([]uint8) 06:14:33 06:14:33 Test: TestProcessMessageTargetType 06:14:33 Messages: 'Event as Json' test failed 06:14:33 runtime_test.go:423: 06:14:33 Error Trace: runtime_test.go:423 06:14:33 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x4000381350), ErrorCode:400} 06:14:33 Test: TestProcessMessageTargetType 06:14:33 Messages: unexpected error for test 'Event as Cbor' 06:14:33 runtime_test.go:427: 06:14:33 Error Trace: runtime_test.go:427 06:14:33 Error: Not equal: 06:14:33 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, 0x35, 0x30, 0x35, 0x36, 0x36, 0x36, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x35, 0x30, 0x35, 0x36, 0x36, 0x36, 0x2c, 0x22, 0x72, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x3a, 0x5b, 0x7b, 0x22, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x76, 0x32, 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x38, 0x32, 0x65, 0x62, 0x32, 0x65, 0x32, 0x36, 0x2d, 0x30, 0x66, 0x32, 0x34, 0x2d, 0x34, 0x38, 0x61, 0x61, 0x2d, 0x61, 0x65, 0x34, 0x63, 0x2d, 0x64, 0x65, 0x39, 0x64, 0x61, 0x63, 0x33, 0x66, 0x31, 0x32, 0x33, 0x34, 0x22, 0x2c, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x35, 0x30, 0x35, 0x36, 0x36, 0x36, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x35, 0x30, 0x35, 0x36, 0x36, 0x36, 0x2c, 0x22, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x65, 0x6d, 0x70, 0x65, 0x72, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0x2c, 0x22, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x22, 0x2c, 0x22, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x6e, 0x75, 0x6c, 0x6c, 0x2c, 0x22, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x22, 0x37, 0x32, 0x22, 0x7d, 0x5d, 0x7d} 06:14:33 actual : []byte(nil) 06:14:33 06:14:33 Diff: 06:14:33 --- Expected 06:14:33 +++ Actual 06:14:33 @@ -1,31 +1,2 @@ 06:14:33 -([]uint8) (len=444) { 06:14:33 - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| 06:14:33 - 00000010 32 22 2c 22 69 64 22 3a 22 38 32 65 62 32 65 32 |2","id":"82eb2e2| 06:14:33 - 00000020 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 65 34 63 |6-0f24-48aa-ae4c| 06:14:33 - 00000030 2d 64 65 39 64 61 63 33 66 62 39 62 63 22 2c 22 |-de9dac3fb9bc","| 06:14:33 - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| 06:14:33 - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| 06:14:33 - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| 06:14:33 - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| 06:14:33 - 00000080 72 65 61 74 65 64 22 3a 31 36 31 32 35 30 35 36 |reated":16125056| 06:14:33 - 00000090 36 36 2c 22 6f 72 69 67 69 6e 22 3a 31 36 31 32 |66,"origin":1612| 06:14:33 - 000000a0 35 30 35 36 36 36 2c 22 72 65 61 64 69 6e 67 73 |505666,"readings| 06:14:33 - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| 06:14:33 - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 38 32 65 62 |:"v2","id":"82eb| 06:14:33 - 000000d0 32 65 32 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 |2e26-0f24-48aa-a| 06:14:33 - 000000e0 65 34 63 2d 64 65 39 64 61 63 33 66 31 32 33 34 |e4c-de9dac3f1234| 06:14:33 - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 31 36 31 32 |","created":1612| 06:14:33 - 00000100 35 30 35 36 36 36 2c 22 6f 72 69 67 69 6e 22 3a |505666,"origin":| 06:14:33 - 00000110 31 36 31 32 35 30 35 36 36 36 2c 22 64 65 76 69 |1612505666,"devi| 06:14:33 - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| 06:14:33 - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| 06:14:33 - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| 06:14:33 - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| 06:14:33 - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| 06:14:33 - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| 06:14:33 - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| 06:14:33 - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| 06:14:33 - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| 06:14:33 - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| 06:14:33 -} 06:14:33 +([]uint8) 06:14:33 06:14:33 Test: TestProcessMessageTargetType 06:14:33 Messages: 'Event as Cbor' test failed 06:14:33 --- FAIL: TestGolangRuntime_unmarshalV2Event (0.00s) 06:14:33 --- FAIL: TestGolangRuntime_unmarshalV2Event/JSON_V2_Event (0.00s) 06:14:33 runtime_test.go:599: 06:14:33 Error Trace: runtime_test.go:599 06:14:33 Error: Received unexpected error: 06:14:33 failed to unmarshal AddEventRequest from content type 'application/json': AddEventRequest.BaseRequest.Versionable.ApiVersion field is required 06:14:33 Test: TestGolangRuntime_unmarshalV2Event/JSON_V2_Event 06:14:33 --- FAIL: TestGolangRuntime_unmarshalV2Event/CBOR_V2_Event (0.00s) 06:14:33 runtime_test.go:599: 06:14:33 Error Trace: runtime_test.go:599 06:14:33 Error: Received unexpected error: 06:14:33 validation failed on AddEventRequest: AddEventRequest.BaseRequest.Versionable.ApiVersion field is required 06:14:33 Test: TestGolangRuntime_unmarshalV2Event/CBOR_V2_Event 06:14:33 FAIL 06:14:33 coverage: 73.4% of statements 06:14:33 FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.115s 06:14:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 06:14:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 06:14:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 06:14:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 06:14:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 06:14:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 06:14:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.016s coverage: 97.0% of statements 06:14:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 06:14:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.028s coverage: 8.8% of statements 06:14:51 --- FAIL: TestInitializeAndProcessEventWithNoOutput (3.30s) 06:14:51 messaging_test.go:206: 06:14:51 Error Trace: messaging_test.go:206 06:14:51 Error: Should be true 06:14:51 Test: TestInitializeAndProcessEventWithNoOutput 06:14:51 Messages: Transform never called 06:14:51 --- FAIL: TestInitializeAndProcessEventWithOutput (3.31s) 06:14:51 messaging_test.go:290: 06:14:51 Error Trace: messaging_test.go:290 06:14:51 Error: Should be true 06:14:51 Test: TestInitializeAndProcessEventWithOutput 06:14:51 Messages: Transform never called 06:14:51 --- FAIL: TestInitializeAndProcessEventWithOutput_InferJSON (3.30s) 06:14:51 messaging_test.go:385: 06:14:51 Error Trace: messaging_test.go:385 06:14:51 Error: Should be true 06:14:51 Test: TestInitializeAndProcessEventWithOutput_InferJSON 06:14:51 Messages: Transform never called 06:14:51 --- FAIL: TestInitializeAndProcessEventWithOutput_AssumeCBOR (3.32s) 06:14:51 messaging_test.go:477: 06:14:51 Error Trace: messaging_test.go:477 06:14:51 Error: Should be true 06:14:51 Test: TestInitializeAndProcessEventWithOutput_AssumeCBOR 06:14:51 Messages: Transform never called 06:14:51 --- FAIL: TestInitializeAndProcessEventMultipleTopics (3.30s) 06:14:51 messaging_test.go:638: 06:14:51 Error Trace: messaging_test.go:638 06:14:51 Error: Transform never called for t1 06:14:51 Test: TestInitializeAndProcessEventMultipleTopics 06:14:51 FAIL 06:14:51 coverage: 62.0% of statements 06:14:51 FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 16.945s 06:14:51 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 06:14:51 --- FAIL: TestAddSecretRequest (0.01s) 06:14:51 --- FAIL: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash (0.00s) 06:14:51 controller_test.go:261: 06:14:51 Error Trace: controller_test.go:261 06:14:51 Error: Not equal: 06:14:51 expected: 201 06:14:51 actual : 400 06:14:51 Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash 06:14:51 Messages: HTTP status code not as expected 06:14:51 controller_test.go:263: 06:14:51 Error Trace: controller_test.go:263 06:14:51 Error: Not equal: 06:14:51 expected: 201 06:14:51 actual : 400 06:14:51 Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash 06:14:51 Messages: BaseResponse status code not as expected 06:14:51 controller_test.go:270: 06:14:51 Error Trace: controller_test.go:270 06:14:51 Error: Not equal: 06:14:51 expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" 06:14:51 actual : "" 06:14:51 06:14:51 Diff: 06:14:51 --- Expected 06:14:51 +++ Actual 06:14:51 @@ -1 +1 @@ 06:14:51 -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc 06:14:51 + 06:14:51 Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash 06:14:51 Messages: RequestID not as expected 06:14:51 controller_test.go:271: 06:14:51 Error Trace: controller_test.go:271 06:14:51 Error: Should be empty, but was JSON decode failed 06:14:51 Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash 06:14:51 Messages: Message not empty, as expected 06:14:51 --- FAIL: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash (0.00s) 06:14:51 controller_test.go:261: 06:14:51 Error Trace: controller_test.go:261 06:14:51 Error: Not equal: 06:14:51 expected: 201 06:14:51 actual : 400 06:14:51 Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash 06:14:51 Messages: HTTP status code not as expected 06:14:51 controller_test.go:263: 06:14:51 Error Trace: controller_test.go:263 06:14:51 Error: Not equal: 06:14:51 expected: 201 06:14:51 actual : 400 06:14:51 Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash 06:14:51 Messages: BaseResponse status code not as expected 06:14:51 controller_test.go:270: 06:14:51 Error Trace: controller_test.go:270 06:14:51 Error: Not equal: 06:14:51 expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" 06:14:51 actual : "" 06:14:51 06:14:51 Diff: 06:14:51 --- Expected 06:14:51 +++ Actual 06:14:51 @@ -1 +1 @@ 06:14:51 -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc 06:14:51 + 06:14:51 Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash 06:14:51 Messages: RequestID not as expected 06:14:51 controller_test.go:271: 06:14:51 Error Trace: controller_test.go:271 06:14:51 Error: Should be empty, but was JSON decode failed 06:14:51 Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash 06:14:51 Messages: Message not empty, as expected 06:14:51 --- FAIL: TestAddSecretRequest/Valid_-_both_trailing_slashes (0.00s) 06:14:51 controller_test.go:261: 06:14:51 Error Trace: controller_test.go:261 06:14:51 Error: Not equal: 06:14:51 expected: 201 06:14:51 actual : 400 06:14:51 Test: TestAddSecretRequest/Valid_-_both_trailing_slashes 06:14:51 Messages: HTTP status code not as expected 06:14:51 controller_test.go:263: 06:14:51 Error Trace: controller_test.go:263 06:14:51 Error: Not equal: 06:14:51 expected: 201 06:14:51 actual : 400 06:14:51 Test: TestAddSecretRequest/Valid_-_both_trailing_slashes 06:14:51 Messages: BaseResponse status code not as expected 06:14:51 controller_test.go:270: 06:14:51 Error Trace: controller_test.go:270 06:14:51 Error: Not equal: 06:14:51 expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" 06:14:51 actual : "" 06:14:51 06:14:51 Diff: 06:14:51 --- Expected 06:14:51 +++ Actual 06:14:51 @@ -1 +1 @@ 06:14:51 -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc 06:14:51 + 06:14:51 Test: TestAddSecretRequest/Valid_-_both_trailing_slashes 06:14:51 Messages: RequestID not as expected 06:14:51 controller_test.go:271: 06:14:51 Error Trace: controller_test.go:271 06:14:51 Error: Should be empty, but was JSON decode failed 06:14:51 Test: TestAddSecretRequest/Valid_-_both_trailing_slashes 06:14:51 Messages: Message not empty, as expected 06:14:51 --- FAIL: TestAddSecretRequest/Valid_-_no_requestId (0.00s) 06:14:51 controller_test.go:261: 06:14:51 Error Trace: controller_test.go:261 06:14:51 Error: Not equal: 06:14:51 expected: 201 06:14:51 actual : 400 06:14:51 Test: TestAddSecretRequest/Valid_-_no_requestId 06:14:51 Messages: HTTP status code not as expected 06:14:51 controller_test.go:263: 06:14:51 Error Trace: controller_test.go:263 06:14:51 Error: Not equal: 06:14:51 expected: 201 06:14:51 actual : 400 06:14:51 Test: TestAddSecretRequest/Valid_-_no_requestId 06:14:51 Messages: BaseResponse status code not as expected 06:14:51 controller_test.go:271: 06:14:51 Error Trace: controller_test.go:271 06:14:51 Error: Should be empty, but was JSON decode failed 06:14:51 Test: TestAddSecretRequest/Valid_-_no_requestId 06:14:51 Messages: Message not empty, as expected 06:14:51 --- FAIL: TestAddSecretRequest/Invalid_-_No_Secret_Store (0.00s) 06:14:51 controller_test.go:261: 06:14:51 Error Trace: controller_test.go:261 06:14:51 Error: Not equal: 06:14:51 expected: 500 06:14:51 actual : 400 06:14:51 Test: TestAddSecretRequest/Invalid_-_No_Secret_Store 06:14:51 Messages: HTTP status code not as expected 06:14:51 controller_test.go:263: 06:14:51 Error Trace: controller_test.go:263 06:14:51 Error: Not equal: 06:14:51 expected: 500 06:14:51 actual : 400 06:14:51 Test: TestAddSecretRequest/Invalid_-_No_Secret_Store 06:14:51 Messages: BaseResponse status code not as expected 06:14:51 FAIL 06:14:51 coverage: 63.8% of statements 06:14:51 FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.052s 06:14:51 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.041s coverage: 80.5% of statements 06:14:51 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.022s coverage: 71.7% of statements 06:15:01 --- FAIL: TestTransformToJSON (0.00s) 06:15:01 conversion_test.go:130: 06:15:01 Error Trace: conversion_test.go:130 06:15:01 Error: Not equal: 06:15:01 expected: "{\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 06:15:01 actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 06:15:01 06:15:01 Diff: 06:15:01 --- Expected 06:15:01 +++ Actual 06:15:01 @@ -1 +1 @@ 06:15:01 -{"id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} 06:15:01 +{"apiVersion":"","id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} 06:15:01 Test: TestTransformToJSON 06:15:01 --- FAIL: TestTransformToJSONMultipleParametersValid (0.00s) 06:15:01 conversion_test.go:157: 06:15:01 Error Trace: conversion_test.go:157 06:15:01 Error: Not equal: 06:15:01 expected: "{\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 06:15:01 actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 06:15:01 06:15:01 Diff: 06:15:01 --- Expected 06:15:01 +++ Actual 06:15:01 @@ -1 +1 @@ 06:15:01 -{"id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} 06:15:01 +{"apiVersion":"","id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} 06:15:01 Test: TestTransformToJSONMultipleParametersValid 06:15:01 --- FAIL: TestTransformToJSONMultipleParametersTwoEvents (0.00s) 06:15:01 conversion_test.go:175: 06:15:01 Error Trace: conversion_test.go:175 06:15:01 Error: Not equal: 06:15:01 expected: "{\"id\":\"\",\"deviceName\":\"id2\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 06:15:01 actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"id2\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 06:15:01 06:15:01 Diff: 06:15:01 --- Expected 06:15:01 +++ Actual 06:15:01 @@ -1 +1 @@ 06:15:01 -{"id":"","deviceName":"id2","profileName":"","created":0,"origin":0,"readings":null} 06:15:01 +{"apiVersion":"","id":"","deviceName":"id2","profileName":"","created":0,"origin":0,"readings":null} 06:15:01 Test: TestTransformToJSONMultipleParametersTwoEvents 06:15:01 FAIL 06:15:01 coverage: 81.4% of statements 06:15:01 FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.074s 06:15:01 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.029s coverage: 94.4% of statements 06:15:01 FAIL 06:15:01 make: *** [Makefile:6: test] Error 1 [Pipeline] } 06:15:01 $ docker stop --time=1 076d0b740a1972b495d18e9038da58d2c6938a93aa33d5f211560cb15693551f 06:15:03 $ docker rm -f 076d0b740a1972b495d18e9038da58d2c6938a93aa33d5f211560cb15693551f [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] } 06:15:06 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 06:15:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:15:11 ---> package-listing.sh 06:15:11 ++ facter osfamily 06:15:11 ++ tr '[:upper:]' '[:lower:]' 06:15:11 + OS_FAMILY=redhat 06:15:11 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-677 06:15:11 + START_PACKAGES=/tmp/packages_start.txt 06:15:11 + END_PACKAGES=/tmp/packages_end.txt 06:15:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:15:11 + PACKAGES=/tmp/packages_start.txt 06:15:11 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-677 ']' 06:15:11 + PACKAGES=/tmp/packages_end.txt 06:15:11 + case "${OS_FAMILY}" in 06:15:11 + rpm -qa 06:15:11 + sort 06:15:17 + '[' -f /tmp/packages_start.txt ']' 06:15:17 + '[' -f /tmp/packages_end.txt ']' 06:15:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:15:17 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-677 ']' 06:15:17 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-677/archives/ 06:15:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-677/archives/ [Pipeline] echo 06:15:17 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-677/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:15:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:15:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:15:17 06:15:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:15:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:15:18 alpine: Pulling from edgex-lftools-log-publisher 06:15:18 df20fa9351a1: Pulling fs layer 06:15:18 36b3adc4ff6f: Pulling fs layer 06:15:18 8ad3a11d3b57: Pulling fs layer 06:15:18 46f8f816bc3b: Pulling fs layer 06:15:18 93b61091891f: Pulling fs layer 06:15:18 93b9cdb0e59b: Pulling fs layer 06:15:18 5e14af77c1be: Pulling fs layer 06:15:18 01666e4c0597: Pulling fs layer 06:15:18 aa168da1d23b: Pulling fs layer 06:15:18 93b9cdb0e59b: Waiting 06:15:18 5e14af77c1be: Waiting 06:15:18 01666e4c0597: Waiting 06:15:18 aa168da1d23b: Waiting 06:15:18 46f8f816bc3b: Waiting 06:15:18 93b61091891f: Waiting 06:15:18 36b3adc4ff6f: Verifying Checksum 06:15:18 36b3adc4ff6f: Download complete 06:15:18 46f8f816bc3b: Verifying Checksum 06:15:18 46f8f816bc3b: Download complete 06:15:18 df20fa9351a1: Verifying Checksum 06:15:18 93b9cdb0e59b: Verifying Checksum 06:15:18 93b9cdb0e59b: Download complete 06:15:18 93b61091891f: Verifying Checksum 06:15:18 93b61091891f: Download complete 06:15:18 5e14af77c1be: Verifying Checksum 06:15:18 01666e4c0597: Verifying Checksum 06:15:18 01666e4c0597: Download complete 06:15:18 8ad3a11d3b57: Verifying Checksum 06:15:18 8ad3a11d3b57: Download complete 06:15:18 df20fa9351a1: Pull complete 06:15:19 36b3adc4ff6f: Pull complete 06:15:20 aa168da1d23b: Verifying Checksum 06:15:20 aa168da1d23b: Download complete 06:15:20 8ad3a11d3b57: Pull complete 06:15:20 46f8f816bc3b: Pull complete 06:15:21 93b61091891f: Pull complete 06:15:21 93b9cdb0e59b: Pull complete 06:15:21 5e14af77c1be: Pull complete 06:15:21 01666e4c0597: Pull complete 06:15:29 aa168da1d23b: Pull complete 06:15:29 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:15:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:15:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:15:30 prd-centos7-docker-4c-2g-25209 does not seem to be running inside a container 06:15:30 $ 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-677/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-677 -v /w/workspace/ndry_app-functions-sdk-go_PR-677:/w/workspace/ndry_app-functions-sdk-go_PR-677:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-677@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-677@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 06:15:34 $ docker top af4254d6b09bd130161d60fcf29301843a7edb9a8f3d42b3380145b6863c6f66 -eo pid,comm [Pipeline] { [Pipeline] sh 06:15:34 + touch /tmp/pre-build-complete [Pipeline] sh 06:15:35 + mkdir -p /var/log/sa [Pipeline] sh 06:15:35 + ls /var/log/sa-host 06:15:35 + sadf -c /var/log/sa-host/sa05 06:15:35 file_magic: OK 06:15:35 HZ: Using current value: 100 06:15:35 file_header: OK 06:15:35 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 06:15:35 Statistics: 06:15:35 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:15:35 File successfully converted to sysstat format version 12.2.1 06:15:35 + sadf -c /var/log/sa-host/sa23 06:15:35 file_magic: OK 06:15:35 HZ: Using current value: 100 06:15:35 file_header: OK 06:15:35 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 06:15:35 Statistics: 06:15:35 Hnuu...uuuununununu... 06:15:35 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:15:35 provisioning config files... 06:15:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-677@tmp/config5372093217669038922tmp [Pipeline] { [Pipeline] echo 06:15:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:15:36 ---> create-netrc.sh [Pipeline] } 06:15:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:15:36 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:15:36 ---> python-tools-install.sh [Pipeline] echo 06:15:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:15:37 ---> sudo-logs.sh 06:15:37 Archiving 'sudo' log.. [Pipeline] echo 06:15:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:15:37 ---> job-cost.sh 06:15:37 lf-activate-venv: SKIPPING 06:15:37 INFO: No Stack... 06:15:38 INFO: Retrieving Pricing Info for: v1-standard-2 06:15:39 INFO: Archiving Costs [Pipeline] echo 06:15:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:15:39 ---> logs-deploy.sh 06:15:39 lf-activate-venv: SKIPPING 06:15:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-677/1 06:15:39 INFO: archiving workspace using pattern(s): 06:15:41 Archives upload complete. 06:15:41 INFO: archiving logs to Nexus