Pull request #676 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 356429319d01f487c9779567734358d4af83e1a4+fc40647c9a5a0500e2956cf52a4e5c076e69792e (9129658a9b4081614ebbd2a78feaeecd96d05cd0) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-676/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-676/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-functions-sdk-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-24928 in /w/workspace/ndry_app-functions-sdk-go_PR-676 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_PR-676 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit fc40647c9a5a0500e2956cf52a4e5c076e69792e into PR head commit 356429319d01f487c9779567734358d4af83e1a4 Merge succeeded, producing 356429319d01f487c9779567734358d4af83e1a4 Checking out Revision 356429319d01f487c9779567734358d4af83e1a4 (PR-676) > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/676/head:refs/remotes/origin/PR-676 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 356429319d01f487c9779567734358d4af83e1a4 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge fc40647c9a5a0500e2956cf52a4e5c076e69792e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 356429319d01f487c9779567734358d4af83e1a4 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:06:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:06:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:06:45 ========================================================= 06:06:45 EdgeX Global Pipelines Version Info 06:06:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:06:47 ------------------- 06:06:47 stable info: 06:06:47 ------------------- 06:06:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:06:47 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 06:06:47 Message: update stable to v1.0.179 06:06:47 ------------------- 06:06:47 experimental info: 06:06:47 ------------------- 06:06:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:06:47 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 06:06:47 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:06:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 06:06:48 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 06:06:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:06:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:06:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:06:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:06:49 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:06:49 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:06:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:06:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:06:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:06:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 06:06:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:06:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:06:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 06:06:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:06:50 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:06:50 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:06:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:06:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:06:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:06:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 06:06:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:06:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:06:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 06:06:51 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 06:06:51 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 06:06:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-676 [Pipeline] echo 06:06:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-676 [Pipeline] echo 06:06:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-676 [Pipeline] echo 06:06:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 356429319d01f487c9779567734358d4af83e1a4 [Pipeline] echo 06:06:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3564293 [Pipeline] echo 06:06:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:06:53 + git log --format=format:%s -1 356429319d01f487c9779567734358d4af83e1a4 [Pipeline] echo 06:06:53 GIT_COMMIT: 356429319d01f487c9779567734358d4af83e1a4, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 06:06:53 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:06:54 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:06:54 06:06:54 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:06:54 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:06:54 latest: Pulling from edgex-devops/git-semver 06:06:54 31603596830f: Pulling fs layer 06:06:54 2a8b12db71e7: Pulling fs layer 06:06:54 6ca5941a6612: Pulling fs layer 06:06:54 ecc8261a40a4: Pulling fs layer 06:06:54 ecc8261a40a4: Waiting 06:06:54 2a8b12db71e7: Verifying Checksum 06:06:54 2a8b12db71e7: Download complete 06:06:55 31603596830f: Verifying Checksum 06:06:55 31603596830f: Download complete 06:06:55 ecc8261a40a4: Verifying Checksum 06:06:55 ecc8261a40a4: Download complete 06:06:55 6ca5941a6612: Verifying Checksum 06:06:55 6ca5941a6612: Download complete 06:06:55 31603596830f: Pull complete 06:06:55 2a8b12db71e7: Pull complete 06:06:56 6ca5941a6612: Pull complete 06:06:56 ecc8261a40a4: Pull complete 06:06:56 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:06:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:06:56 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:06:57 prd-centos7-docker-4c-2g-24928 does not seem to be running inside a container 06:06:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-676 -v /w/workspace/ndry_app-functions-sdk-go_PR-676:/w/workspace/ndry_app-functions-sdk-go_PR-676:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-676@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-676@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:06:59 $ docker top 97b8a4bac1790efa0b8a2dd32e7b4ab6d464b65d856a2aec07569e0f4c955a25 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:07:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:07:00 [ssh-agent] Looking for ssh-agent implementation... 06:07:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:07:00 $ docker exec 97b8a4bac1790efa0b8a2dd32e7b4ab6d464b65d856a2aec07569e0f4c955a25 ssh-agent 06:07:00 SSH_AUTH_SOCK=/tmp/ssh-RDwfwl3kvTl7/agent.11 06:07:00 SSH_AGENT_PID=17 06:07:00 Running ssh-add (command line suppressed) 06:07:01 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-676@tmp/private_key_5811165859015772273.key (/w/workspace/ndry_app-functions-sdk-go_PR-676@tmp/private_key_5811165859015772273.key) 06:07:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:07:01 + git tag --points-at HEAD [Pipeline] } 06:07:01 $ docker exec --env ******** --env ******** 97b8a4bac1790efa0b8a2dd32e7b4ab6d464b65d856a2aec07569e0f4c955a25 ssh-agent -k 06:07:01 unset SSH_AUTH_SOCK; 06:07:01 unset SSH_AGENT_PID; 06:07:01 echo Agent pid 17 killed; 06:07:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:07:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:07:01 [ssh-agent] Looking for ssh-agent implementation... 06:07:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:07:02 $ docker exec 97b8a4bac1790efa0b8a2dd32e7b4ab6d464b65d856a2aec07569e0f4c955a25 ssh-agent 06:07:02 SSH_AUTH_SOCK=/tmp/ssh-7npr942sJAY8/agent.46 06:07:02 SSH_AGENT_PID=51 06:07:02 Running ssh-add (command line suppressed) 06:07:02 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-676@tmp/private_key_81656115090810169.key (/w/workspace/ndry_app-functions-sdk-go_PR-676@tmp/private_key_81656115090810169.key) 06:07:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:07:02 + git semver init 06:07:02 # -> Open(): unable to determine branch for HEAD 06:07:02 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-676/.git 06:07:02 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-676 06:07:02 # $SEMVER_REMOTE_NAME = origin 06:07:02 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:07:02 # $SEMVER_USER_NAME = edgex-jenkins 06:07:02 # $SEMVER_BRANCH = PR-676 06:07:02 # $SEMVER_TEMP = /tmp/semver-929844610 06:07:02 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 06:07:06 # '/tmp/semver-929844610' -> '/w/workspace/ndry_app-functions-sdk-go_PR-676/.semver' 06:07:06 # -> Force: false 06:07:06 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-676/.semver [Pipeline] } 06:07:06 $ docker exec --env ******** --env ******** 97b8a4bac1790efa0b8a2dd32e7b4ab6d464b65d856a2aec07569e0f4c955a25 ssh-agent -k 06:07:06 unset SSH_AUTH_SOCK; 06:07:06 unset SSH_AGENT_PID; 06:07:06 echo Agent pid 51 killed; 06:07:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:07:06 + git semver [Pipeline] } 06:07:06 $ docker stop --time=1 97b8a4bac1790efa0b8a2dd32e7b4ab6d464b65d856a2aec07569e0f4c955a25 06:07:08 $ docker rm -f 97b8a4bac1790efa0b8a2dd32e7b4ab6d464b65d856a2aec07569e0f4c955a25 [Pipeline] // withDockerContainer [Pipeline] sh 06:07:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:07:09 Stashed 1 file(s) [Pipeline] echo 06:07:09 [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:07:25 Still waiting to schedule task 06:07:25 Waiting for next available executor on ‘centos7-docker-4c-2g’ 06:07:25 Still waiting to schedule task 06:07:25 ‘prd-ubuntu18.04-docker-arm64-4c-16g-24924’ is offline 06:09:41 Running on prd-centos7-docker-4c-2g-24932 in /w/workspace/ndry_app-functions-sdk-go_PR-676 [Pipeline] { [Pipeline] ws 06:09:41 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:09:44 using credential edgex-jenkins-ssh 06:09:44 Cloning the remote Git repository 06:09:43 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 06:09:43 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 06:09:43 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 06:09:43 > git --version # timeout=10 06:09:43 > git --version # 'git version 2.24.3' 06:09:43 using GIT_SSH to set credentials SSH Credentials for GitHub 06:09:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:09:46 Merging remotes/origin/master commit fc40647c9a5a0500e2956cf52a4e5c076e69792e into PR head commit 356429319d01f487c9779567734358d4af83e1a4 06:09:46 Merge succeeded, producing 356429319d01f487c9779567734358d4af83e1a4 06:09:46 Checking out Revision 356429319d01f487c9779567734358d4af83e1a4 (PR-676) 06:09:45 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 06:09:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:09:45 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 06:09:45 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 06:09:45 using GIT_SSH to set credentials SSH Credentials for GitHub 06:09:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/676/head:refs/remotes/origin/PR-676 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:09:45 > git config core.sparsecheckout # timeout=10 06:09:45 > git checkout -f 356429319d01f487c9779567734358d4af83e1a4 # timeout=10 06:09:45 > git remote # timeout=10 06:09:45 > git config --get remote.origin.url # timeout=10 06:09:45 using GIT_SSH to set credentials SSH Credentials for GitHub 06:09:45 > git merge fc40647c9a5a0500e2956cf52a4e5c076e69792e # timeout=10 06:09:45 > git rev-parse HEAD^{commit} # timeout=10 06:09:45 > git config core.sparsecheckout # timeout=10 06:09:45 > git checkout -f 356429319d01f487c9779567734358d4af83e1a4 # timeout=10 06:09:49 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 06:09:49 > git --version # timeout=10 06:09:49 > git --version # 'git version 2.24.3' 06:09:49 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:09:51 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:09:51 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:09:51 + sudo service docker restart 06:09:51 + true 06:09:51 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo 06:09:53 ========================================================= 06:09:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:09:53 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:09:53 + 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:09:54 Sending build context to Docker daemon 19.09MB 06:09:54 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:09:54 Step 2/8 : FROM ${BASE} 06:09:54 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:09:54 188c0c94c7c5: Pulling fs layer 06:09:54 0ef7d3d256c8: Pulling fs layer 06:09:54 de9db76c5a1d: Pulling fs layer 06:09:54 bca2f99d35d6: Pulling fs layer 06:09:54 93359f2a8cfa: Pulling fs layer 06:09:54 7c6f9722023f: Pulling fs layer 06:09:54 a35cf1a2eb13: Pulling fs layer 06:09:54 bca2f99d35d6: Waiting 06:09:54 7c6f9722023f: Waiting 06:09:54 93359f2a8cfa: Waiting 06:09:54 de9db76c5a1d: Verifying Checksum 06:09:54 de9db76c5a1d: Download complete 06:09:54 0ef7d3d256c8: Verifying Checksum 06:09:54 93359f2a8cfa: Verifying Checksum 06:09:54 93359f2a8cfa: Download complete 06:09:54 7c6f9722023f: Download complete 06:09:54 188c0c94c7c5: Verifying Checksum 06:09:54 188c0c94c7c5: Download complete 06:09:54 188c0c94c7c5: Pull complete 06:09:54 0ef7d3d256c8: Pull complete 06:09:54 de9db76c5a1d: Pull complete 06:09:56 a35cf1a2eb13: Verifying Checksum 06:09:56 a35cf1a2eb13: Download complete 06:09:57 bca2f99d35d6: Verifying Checksum 06:09:57 bca2f99d35d6: Download complete 06:09:59 Running on prd-ubuntu18.04-docker-arm64-4c-16g-24931 in /w/workspace/ndry_app-functions-sdk-go_PR-676 [Pipeline] { [Pipeline] ws 06:09:59 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:10:02 bca2f99d35d6: Pull complete 06:10:02 93359f2a8cfa: Pull complete 06:10:02 7c6f9722023f: Pull complete 06:10:05 using credential edgex-jenkins-ssh 06:10:05 Cloning the remote Git repository 06:10:05 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 06:10:05 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 06:10:05 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 06:10:05 > git --version # timeout=10 06:10:05 > git --version # 'git version 2.17.1' 06:10:05 using GIT_SSH to set credentials SSH Credentials for GitHub 06:10:05 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:10:08 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 06:10:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:10:08 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 06:10:09 Merging remotes/origin/master commit fc40647c9a5a0500e2956cf52a4e5c076e69792e into PR head commit 356429319d01f487c9779567734358d4af83e1a4 06:10:09 a35cf1a2eb13: Pull complete 06:10:09 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 06:10:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:10:09 ---> a62c8e92a672 06:10:09 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 06:10:09 20.10.0: Pulling from library/docker 06:10:09 05e7bc50f07f: Pulling fs layer 06:10:09 6db28d0fdbf6: Pulling fs layer 06:10:09 292df0bc6bf3: Pulling fs layer 06:10:09 2e060f4bd70b: Pulling fs layer 06:10:09 80e8d568a223: Pulling fs layer 06:10:09 8dc6ef1a942a: Pulling fs layer 06:10:09 2312dd95470a: Pulling fs layer 06:10:09 80e8d568a223: Waiting 06:10:09 8dc6ef1a942a: Waiting 06:10:09 2312dd95470a: Waiting 06:10:09 2e060f4bd70b: Waiting 06:10:09 292df0bc6bf3: Verifying Checksum 06:10:09 292df0bc6bf3: Download complete 06:10:09 6db28d0fdbf6: Verifying Checksum 06:10:09 6db28d0fdbf6: Download complete 06:10:09 05e7bc50f07f: Verifying Checksum 06:10:09 05e7bc50f07f: Download complete 06:10:09 80e8d568a223: Verifying Checksum 06:10:09 80e8d568a223: Download complete 06:10:09 Merge succeeded, producing 356429319d01f487c9779567734358d4af83e1a4 06:10:09 Checking out Revision 356429319d01f487c9779567734358d4af83e1a4 (PR-676) 06:10:09 8dc6ef1a942a: Verifying Checksum 06:10:09 8dc6ef1a942a: Download complete 06:10:09 2312dd95470a: Verifying Checksum 06:10:09 2312dd95470a: Download complete 06:10:10 05e7bc50f07f: Pull complete 06:10:08 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 06:10:08 using GIT_SSH to set credentials SSH Credentials for GitHub 06:10:08 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/676/head:refs/remotes/origin/PR-676 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:10:09 > git config core.sparsecheckout # timeout=10 06:10:09 > git checkout -f 356429319d01f487c9779567734358d4af83e1a4 # timeout=10 06:10:09 > git remote # timeout=10 06:10:09 > git config --get remote.origin.url # timeout=10 06:10:09 using GIT_SSH to set credentials SSH Credentials for GitHub 06:10:09 > git merge fc40647c9a5a0500e2956cf52a4e5c076e69792e # timeout=10 06:10:09 > git rev-parse HEAD^{commit} # timeout=10 06:10:09 > git config core.sparsecheckout # timeout=10 06:10:09 > git checkout -f 356429319d01f487c9779567734358d4af83e1a4 # timeout=10 06:10:10 6db28d0fdbf6: Pull complete 06:10:10 292df0bc6bf3: Pull complete 06:10:10 2e060f4bd70b: Verifying Checksum 06:10:10 2e060f4bd70b: Download complete 06:10:13 2e060f4bd70b: Pull complete 06:10:13 80e8d568a223: Pull complete 06:10:13 8dc6ef1a942a: Pull complete 06:10:14 2312dd95470a: Pull complete 06:10:14 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 06:10:14 Status: Downloaded newer image for docker:20.10.0 06:10:14 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 06:10:14 > git --version # timeout=10 06:10:14 > git --version # 'git version 2.17.1' 06:10:14 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:10:15 ---> 87e06eb289a3 06:10:15 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:10:15 ---> Running in 7ca59f5979af 06:10:15 Removing intermediate container 7ca59f5979af 06:10:15 ---> bb3c173f8991 06:10:15 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 06:10:15 ---> Running in 51d1e8bc22fa 06:10:16 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 06:10:16 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:10:16 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:10:16 + true 06:10:16 + sudo service docker restart 06:10:17 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:10:18 (1/5) Installing libsodium (1.0.18-r0) 06:10:18 (2/5) Installing libzmq (4.3.3-r0) 06:10:18 (3/5) Installing pkgconf (1.7.2-r0) 06:10:18 (4/5) Installing libsodium-dev (1.0.18-r0) 06:10:18 (5/5) Installing zeromq-dev (4.3.3-r0) 06:10:19 Executing busybox-1.31.1-r19.trigger 06:10:19 OK: 167 MiB in 44 packages [Pipeline] unstash 06:10:19 Removing intermediate container 51d1e8bc22fa 06:10:19 ---> 8741f2a245da 06:10:19 Step 6/8 : WORKDIR /build 06:10:19 ---> Running in f157388e62f9 06:10:19 Removing intermediate container f157388e62f9 06:10:19 ---> 922a1384f247 06:10:19 Step 7/8 : COPY go.mod . [Pipeline] echo 06:10:19 ========================================================= 06:10:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:10:19 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:10:20 ---> 97f3613e64e3 06:10:20 Step 8/8 : RUN go mod download 06:10:20 ---> Running in 4792d8655338 06:10:20 + 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:10:21 Sending build context to Docker daemon 19.08MB 06:10:21 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:10:21 Step 2/8 : FROM ${BASE} 06:10:21 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:10:21 5f621e34cdf4: Pulling fs layer 06:10:21 a4357932f1b6: Pulling fs layer 06:10:21 18c013af1878: Pulling fs layer 06:10:21 00ac8860ef70: Pulling fs layer 06:10:21 63d7cb157983: Pulling fs layer 06:10:21 b116817d02f9: Pulling fs layer 06:10:21 745a02a5169b: Pulling fs layer 06:10:21 00ac8860ef70: Waiting 06:10:21 63d7cb157983: Waiting 06:10:21 b116817d02f9: Waiting 06:10:21 745a02a5169b: Waiting 06:10:21 18c013af1878: Verifying Checksum 06:10:21 18c013af1878: Download complete 06:10:21 a4357932f1b6: Verifying Checksum 06:10:21 a4357932f1b6: Download complete 06:10:21 63d7cb157983: Download complete 06:10:21 b116817d02f9: Download complete 06:10:22 5f621e34cdf4: Verifying Checksum 06:10:22 5f621e34cdf4: Download complete 06:10:23 5f621e34cdf4: Pull complete 06:10:23 a4357932f1b6: Pull complete 06:10:24 18c013af1878: Pull complete 06:10:25 745a02a5169b: Verifying Checksum 06:10:25 745a02a5169b: Download complete 06:10:26 00ac8860ef70: Verifying Checksum 06:10:26 00ac8860ef70: Download complete 06:10:36 00ac8860ef70: Pull complete 06:10:36 63d7cb157983: Pull complete 06:10:36 b116817d02f9: Pull complete 06:10:39 745a02a5169b: Pull complete 06:10:39 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 06:10:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:10:39 ---> b7e6874047d6 06:10:39 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 06:10:39 20.10.0: Pulling from library/docker 06:10:39 a3cc7d3b244e: Pulling fs layer 06:10:39 02a3295e0d61: Pulling fs layer 06:10:39 0f4f2e6d8100: Pulling fs layer 06:10:39 330b718f631f: Pulling fs layer 06:10:39 a93816041522: Pulling fs layer 06:10:39 bdb6da89ff94: Pulling fs layer 06:10:39 2a70c0c122f4: Pulling fs layer 06:10:39 330b718f631f: Waiting 06:10:39 a93816041522: Waiting 06:10:39 bdb6da89ff94: Waiting 06:10:39 2a70c0c122f4: Waiting 06:10:39 0f4f2e6d8100: Download complete 06:10:39 a93816041522: Download complete 06:10:40 a3cc7d3b244e: Download complete 06:10:40 bdb6da89ff94: Verifying Checksum 06:10:40 bdb6da89ff94: Download complete 06:10:40 2a70c0c122f4: Verifying Checksum 06:10:40 2a70c0c122f4: Download complete 06:10:40 a3cc7d3b244e: Pull complete 06:10:41 02a3295e0d61: Pull complete 06:10:41 330b718f631f: Verifying Checksum 06:10:41 330b718f631f: Download complete 06:10:42 0f4f2e6d8100: Pull complete 06:10:42 Removing intermediate container 4792d8655338 06:10:42 ---> 5309e3d1979a 06:10:42 Successfully built 5309e3d1979a 06:10:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:10:42 + docker inspect -f . ci-base-image-x86_64 06:10:42 . [Pipeline] withDockerContainer 06:10:42 prd-centos7-docker-4c-2g-24932 does not seem to be running inside a container 06:10:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:10:43 $ docker top f6e372ddefb7763a610650839de8f3072e7e9e8d074bd34c2f2a0c642b133ea1 -eo pid,comm [Pipeline] { [Pipeline] sh 06:10:44 + go version 06:10:44 go version go1.15.5 linux/amd64 [Pipeline] } 06:10:44 $ docker stop --time=1 f6e372ddefb7763a610650839de8f3072e7e9e8d074bd34c2f2a0c642b133ea1 06:10:45 330b718f631f: Pull complete 06:10:45 a93816041522: Pull complete 06:10:45 $ docker rm -f f6e372ddefb7763a610650839de8f3072e7e9e8d074bd34c2f2a0c642b133ea1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage 06:10:46 bdb6da89ff94: Pull complete [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:10:46 2a70c0c122f4: Pull complete 06:10:46 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 06:10:46 Status: Downloaded newer image for docker:20.10.0 06:10:46 + docker inspect -f . ci-base-image-x86_64 06:10:46 . [Pipeline] withDockerContainer 06:10:46 prd-centos7-docker-4c-2g-24932 does not seem to be running inside a container 06:10:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:10:47 $ docker top 3691763422facd372a748a06b32b634308567170a5ec0ebcb5a7a9507bc99786 -eo pid,comm [Pipeline] { [Pipeline] sh 06:10:48 + make test 06:10:48 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 06:10:50 ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] 06:10:53 ---> 108ffb56c411 06:10:53 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:10:53 ---> Running in bf51955458e8 06:10:53 Removing intermediate container bf51955458e8 06:10:53 ---> b4eea3ab3efb 06:10:53 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 06:10:53 ---> Running in 50418b6735cd 06:10:55 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:10:56 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:10:57 (1/5) Installing libsodium (1.0.18-r0) 06:10:57 (2/5) Installing libzmq (4.3.3-r0) 06:10:57 (3/5) Installing pkgconf (1.7.2-r0) 06:10:57 (4/5) Installing libsodium-dev (1.0.18-r0) 06:10:57 (5/5) Installing zeromq-dev (4.3.3-r0) 06:10:57 Executing busybox-1.31.1-r19.trigger 06:10:57 OK: 144 MiB in 44 packages 06:10:58 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.023s coverage: 82.6% of statements 06:10:58 Removing intermediate container 50418b6735cd 06:10:58 ---> 3fc14a9f8c8c 06:10:58 Step 6/8 : WORKDIR /build 06:10:58 ---> Running in a623e75cae2d 06:10:59 Removing intermediate container a623e75cae2d 06:10:59 ---> d8e9975cef36 06:10:59 Step 7/8 : COPY go.mod . 06:11:00 ---> a1ba24c64e87 06:11:00 Step 8/8 : RUN go mod download 06:11:00 ---> Running in 56606bfa02dd 06:11:05 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.027s coverage: 48.6% of statements 06:11:05 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 06:11:05 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 06:11:05 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.044s coverage: 61.5% of statements 06:11:05 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 06:11:05 --- FAIL: TestProcessMessageNoTransforms (0.00s) 06:11:05 runtime_test.go:116: 06:11:05 Error Trace: runtime_test.go:116 06:11:05 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc000249950), ErrorCode:400} 06:11:05 Test: TestProcessMessageNoTransforms 06:11:05 Messages: result should be nil since no transforms have been passed 06:11:05 --- FAIL: TestProcessMessageOneCustomTransform (0.00s) 06:11:05 runtime_test.go:145: 06:11:05 Error Trace: runtime_test.go:145 06:11:05 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc000249bd0), ErrorCode:400} 06:11:05 Test: TestProcessMessageOneCustomTransform 06:11:05 --- FAIL: TestProcessMessageTwoCustomTransforms (0.00s) 06:11:05 runtime_test.go:186: 06:11:05 Error Trace: runtime_test.go:186 06:11:05 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc000249e60), ErrorCode:400} 06:11:05 Test: TestProcessMessageTwoCustomTransforms 06:11:05 --- FAIL: TestProcessMessageThreeCustomTransformsOneFail (0.00s) 06:11:05 runtime_test.go:233: 06:11:05 Error Trace: runtime_test.go:233 06:11:05 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc0002a20e0), ErrorCode:400} 06:11:05 Test: TestProcessMessageThreeCustomTransformsOneFail 06:11:05 --- FAIL: TestProcessMessageJSON (0.00s) 06:11:05 runtime_test.go:308: 06:11:05 Error Trace: runtime_test.go:308 06:11:05 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc0002a2470), ErrorCode:400} 06:11:05 Test: TestProcessMessageJSON 06:11:05 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:11:05 runtime_test.go:309: 06:11:05 Error Trace: runtime_test.go:309 06:11:05 Error: Should be true 06:11:05 Test: TestProcessMessageJSON 06:11:05 Messages: transform1 should have been called 06:11:05 --- FAIL: TestProcessMessageTargetType (0.00s) 06:11:05 runtime_test.go:423: 06:11:05 Error Trace: runtime_test.go:423 06:11:05 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc0002a2cd0), ErrorCode:400} 06:11:05 Test: TestProcessMessageTargetType 06:11:05 Messages: unexpected error for test 'Default Nil Target Type' 06:11:05 runtime_test.go:427: 06:11:05 Error Trace: runtime_test.go:427 06:11:05 Error: Not equal: 06:11:05 expected: []byte{0x7b, 0x22, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x76, 0x32, 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x38, 0x32, 0x65, 0x62, 0x32, 0x65, 0x32, 0x36, 0x2d, 0x30, 0x66, 0x32, 0x34, 0x2d, 0x34, 0x38, 0x61, 0x61, 0x2d, 0x61, 0x65, 0x34, 0x63, 0x2d, 0x64, 0x65, 0x39, 0x64, 0x61, 0x63, 0x33, 0x66, 0x62, 0x39, 0x62, 0x63, 0x22, 0x2c, 0x22, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x34, 0x31, 0x39, 0x30, 0x36, 0x34, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x34, 0x31, 0x39, 0x30, 0x36, 0x34, 0x2c, 0x22, 0x72, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x3a, 0x5b, 0x7b, 0x22, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x76, 0x32, 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x38, 0x32, 0x65, 0x62, 0x32, 0x65, 0x32, 0x36, 0x2d, 0x30, 0x66, 0x32, 0x34, 0x2d, 0x34, 0x38, 0x61, 0x61, 0x2d, 0x61, 0x65, 0x34, 0x63, 0x2d, 0x64, 0x65, 0x39, 0x64, 0x61, 0x63, 0x33, 0x66, 0x31, 0x32, 0x33, 0x34, 0x22, 0x2c, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x34, 0x31, 0x39, 0x30, 0x36, 0x34, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x34, 0x31, 0x39, 0x30, 0x36, 0x34, 0x2c, 0x22, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x65, 0x6d, 0x70, 0x65, 0x72, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0x2c, 0x22, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x22, 0x2c, 0x22, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x6e, 0x75, 0x6c, 0x6c, 0x2c, 0x22, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x22, 0x37, 0x32, 0x22, 0x7d, 0x5d, 0x7d} 06:11:05 actual : []byte(nil) 06:11:05 06:11:05 Diff: 06:11:05 --- Expected 06:11:05 +++ Actual 06:11:05 @@ -1,31 +1,2 @@ 06:11:05 -([]uint8) (len=444) { 06:11:05 - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| 06:11:05 - 00000010 32 22 2c 22 69 64 22 3a 22 38 32 65 62 32 65 32 |2","id":"82eb2e2| 06:11:05 - 00000020 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 65 34 63 |6-0f24-48aa-ae4c| 06:11:05 - 00000030 2d 64 65 39 64 61 63 33 66 62 39 62 63 22 2c 22 |-de9dac3fb9bc","| 06:11:05 - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| 06:11:05 - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| 06:11:05 - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| 06:11:05 - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| 06:11:05 - 00000080 72 65 61 74 65 64 22 3a 31 36 31 32 34 31 39 30 |reated":16124190| 06:11:05 - 00000090 36 34 2c 22 6f 72 69 67 69 6e 22 3a 31 36 31 32 |64,"origin":1612| 06:11:05 - 000000a0 34 31 39 30 36 34 2c 22 72 65 61 64 69 6e 67 73 |419064,"readings| 06:11:05 - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| 06:11:05 - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 38 32 65 62 |:"v2","id":"82eb| 06:11:05 - 000000d0 32 65 32 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 |2e26-0f24-48aa-a| 06:11:05 - 000000e0 65 34 63 2d 64 65 39 64 61 63 33 66 31 32 33 34 |e4c-de9dac3f1234| 06:11:05 - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 31 36 31 32 |","created":1612| 06:11:05 - 00000100 34 31 39 30 36 34 2c 22 6f 72 69 67 69 6e 22 3a |419064,"origin":| 06:11:05 - 00000110 31 36 31 32 34 31 39 30 36 34 2c 22 64 65 76 69 |1612419064,"devi| 06:11:05 - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| 06:11:05 - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| 06:11:05 - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| 06:11:05 - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| 06:11:05 - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| 06:11:05 - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| 06:11:05 - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| 06:11:05 - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| 06:11:05 - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| 06:11:05 - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| 06:11:05 -} 06:11:05 +([]uint8) 06:11:05 06:11:05 Test: TestProcessMessageTargetType 06:11:05 Messages: 'Default Nil Target Type' test failed 06:11:05 runtime_test.go:423: 06:11:05 Error Trace: runtime_test.go:423 06:11:05 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc0002a3050), ErrorCode:400} 06:11:05 Test: TestProcessMessageTargetType 06:11:05 Messages: unexpected error for test 'Event as Json' 06:11:05 runtime_test.go:427: 06:11:05 Error Trace: runtime_test.go:427 06:11:05 Error: Not equal: 06:11:05 expected: []byte{0x7b, 0x22, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x76, 0x32, 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x38, 0x32, 0x65, 0x62, 0x32, 0x65, 0x32, 0x36, 0x2d, 0x30, 0x66, 0x32, 0x34, 0x2d, 0x34, 0x38, 0x61, 0x61, 0x2d, 0x61, 0x65, 0x34, 0x63, 0x2d, 0x64, 0x65, 0x39, 0x64, 0x61, 0x63, 0x33, 0x66, 0x62, 0x39, 0x62, 0x63, 0x22, 0x2c, 0x22, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x34, 0x31, 0x39, 0x30, 0x36, 0x34, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x34, 0x31, 0x39, 0x30, 0x36, 0x34, 0x2c, 0x22, 0x72, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x3a, 0x5b, 0x7b, 0x22, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x76, 0x32, 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x38, 0x32, 0x65, 0x62, 0x32, 0x65, 0x32, 0x36, 0x2d, 0x30, 0x66, 0x32, 0x34, 0x2d, 0x34, 0x38, 0x61, 0x61, 0x2d, 0x61, 0x65, 0x34, 0x63, 0x2d, 0x64, 0x65, 0x39, 0x64, 0x61, 0x63, 0x33, 0x66, 0x31, 0x32, 0x33, 0x34, 0x22, 0x2c, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x34, 0x31, 0x39, 0x30, 0x36, 0x34, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x34, 0x31, 0x39, 0x30, 0x36, 0x34, 0x2c, 0x22, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x65, 0x6d, 0x70, 0x65, 0x72, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0x2c, 0x22, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x22, 0x2c, 0x22, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x6e, 0x75, 0x6c, 0x6c, 0x2c, 0x22, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x22, 0x37, 0x32, 0x22, 0x7d, 0x5d, 0x7d} 06:11:05 actual : []byte(nil) 06:11:05 06:11:05 Diff: 06:11:05 --- Expected 06:11:05 +++ Actual 06:11:05 @@ -1,31 +1,2 @@ 06:11:05 -([]uint8) (len=444) { 06:11:05 - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| 06:11:05 - 00000010 32 22 2c 22 69 64 22 3a 22 38 32 65 62 32 65 32 |2","id":"82eb2e2| 06:11:05 - 00000020 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 65 34 63 |6-0f24-48aa-ae4c| 06:11:05 - 00000030 2d 64 65 39 64 61 63 33 66 62 39 62 63 22 2c 22 |-de9dac3fb9bc","| 06:11:05 - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| 06:11:05 - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| 06:11:05 - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| 06:11:05 - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| 06:11:05 - 00000080 72 65 61 74 65 64 22 3a 31 36 31 32 34 31 39 30 |reated":16124190| 06:11:05 - 00000090 36 34 2c 22 6f 72 69 67 69 6e 22 3a 31 36 31 32 |64,"origin":1612| 06:11:05 - 000000a0 34 31 39 30 36 34 2c 22 72 65 61 64 69 6e 67 73 |419064,"readings| 06:11:05 - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| 06:11:05 - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 38 32 65 62 |:"v2","id":"82eb| 06:11:05 - 000000d0 32 65 32 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 |2e26-0f24-48aa-a| 06:11:05 - 000000e0 65 34 63 2d 64 65 39 64 61 63 33 66 31 32 33 34 |e4c-de9dac3f1234| 06:11:05 - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 31 36 31 32 |","created":1612| 06:11:05 - 00000100 34 31 39 30 36 34 2c 22 6f 72 69 67 69 6e 22 3a |419064,"origin":| 06:11:05 - 00000110 31 36 31 32 34 31 39 30 36 34 2c 22 64 65 76 69 |1612419064,"devi| 06:11:05 - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| 06:11:05 - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| 06:11:05 - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| 06:11:05 - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| 06:11:05 - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| 06:11:05 - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| 06:11:05 - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| 06:11:05 - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| 06:11:05 - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| 06:11:05 - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| 06:11:05 -} 06:11:05 +([]uint8) 06:11:05 06:11:05 Test: TestProcessMessageTargetType 06:11:05 Messages: 'Event as Json' test failed 06:11:05 runtime_test.go:423: 06:11:05 Error Trace: runtime_test.go:423 06:11:05 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0xc0002a34d0), ErrorCode:400} 06:11:05 Test: TestProcessMessageTargetType 06:11:05 Messages: unexpected error for test 'Event as Cbor' 06:11:05 runtime_test.go:427: 06:11:05 Error Trace: runtime_test.go:427 06:11:05 Error: Not equal: 06:11:05 expected: []byte{0x7b, 0x22, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x76, 0x32, 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x38, 0x32, 0x65, 0x62, 0x32, 0x65, 0x32, 0x36, 0x2d, 0x30, 0x66, 0x32, 0x34, 0x2d, 0x34, 0x38, 0x61, 0x61, 0x2d, 0x61, 0x65, 0x34, 0x63, 0x2d, 0x64, 0x65, 0x39, 0x64, 0x61, 0x63, 0x33, 0x66, 0x62, 0x39, 0x62, 0x63, 0x22, 0x2c, 0x22, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x34, 0x31, 0x39, 0x30, 0x36, 0x34, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x34, 0x31, 0x39, 0x30, 0x36, 0x34, 0x2c, 0x22, 0x72, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x3a, 0x5b, 0x7b, 0x22, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x76, 0x32, 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x38, 0x32, 0x65, 0x62, 0x32, 0x65, 0x32, 0x36, 0x2d, 0x30, 0x66, 0x32, 0x34, 0x2d, 0x34, 0x38, 0x61, 0x61, 0x2d, 0x61, 0x65, 0x34, 0x63, 0x2d, 0x64, 0x65, 0x39, 0x64, 0x61, 0x63, 0x33, 0x66, 0x31, 0x32, 0x33, 0x34, 0x22, 0x2c, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x34, 0x31, 0x39, 0x30, 0x36, 0x34, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x34, 0x31, 0x39, 0x30, 0x36, 0x34, 0x2c, 0x22, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x65, 0x6d, 0x70, 0x65, 0x72, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0x2c, 0x22, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x22, 0x2c, 0x22, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x6e, 0x75, 0x6c, 0x6c, 0x2c, 0x22, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x22, 0x37, 0x32, 0x22, 0x7d, 0x5d, 0x7d} 06:11:05 actual : []byte(nil) 06:11:05 06:11:05 Diff: 06:11:05 --- Expected 06:11:05 +++ Actual 06:11:05 @@ -1,31 +1,2 @@ 06:11:05 -([]uint8) (len=444) { 06:11:05 - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| 06:11:05 - 00000010 32 22 2c 22 69 64 22 3a 22 38 32 65 62 32 65 32 |2","id":"82eb2e2| 06:11:05 - 00000020 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 65 34 63 |6-0f24-48aa-ae4c| 06:11:05 - 00000030 2d 64 65 39 64 61 63 33 66 62 39 62 63 22 2c 22 |-de9dac3fb9bc","| 06:11:05 - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| 06:11:05 - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| 06:11:05 - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| 06:11:05 - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| 06:11:05 - 00000080 72 65 61 74 65 64 22 3a 31 36 31 32 34 31 39 30 |reated":16124190| 06:11:05 - 00000090 36 34 2c 22 6f 72 69 67 69 6e 22 3a 31 36 31 32 |64,"origin":1612| 06:11:05 - 000000a0 34 31 39 30 36 34 2c 22 72 65 61 64 69 6e 67 73 |419064,"readings| 06:11:05 - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| 06:11:05 - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 38 32 65 62 |:"v2","id":"82eb| 06:11:05 - 000000d0 32 65 32 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 |2e26-0f24-48aa-a| 06:11:05 - 000000e0 65 34 63 2d 64 65 39 64 61 63 33 66 31 32 33 34 |e4c-de9dac3f1234| 06:11:05 - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 31 36 31 32 |","created":1612| 06:11:05 - 00000100 34 31 39 30 36 34 2c 22 6f 72 69 67 69 6e 22 3a |419064,"origin":| 06:11:05 - 00000110 31 36 31 32 34 31 39 30 36 34 2c 22 64 65 76 69 |1612419064,"devi| 06:11:05 - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| 06:11:05 - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| 06:11:05 - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| 06:11:05 - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| 06:11:05 - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| 06:11:05 - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| 06:11:05 - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| 06:11:05 - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| 06:11:05 - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| 06:11:05 - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| 06:11:05 -} 06:11:05 +([]uint8) 06:11:05 06:11:05 Test: TestProcessMessageTargetType 06:11:05 Messages: 'Event as Cbor' test failed 06:11:05 --- FAIL: TestGolangRuntime_unmarshalV2Event (0.00s) 06:11:05 --- FAIL: TestGolangRuntime_unmarshalV2Event/JSON_V2_Event (0.00s) 06:11:05 runtime_test.go:599: 06:11:05 Error Trace: runtime_test.go:599 06:11:05 Error: Received unexpected error: 06:11:05 failed to unmarshal AddEventRequest from content type 'application/json': AddEventRequest.BaseRequest.Versionable.ApiVersion field is required 06:11:05 Test: TestGolangRuntime_unmarshalV2Event/JSON_V2_Event 06:11:05 --- FAIL: TestGolangRuntime_unmarshalV2Event/CBOR_V2_Event (0.00s) 06:11:05 runtime_test.go:599: 06:11:05 Error Trace: runtime_test.go:599 06:11:05 Error: Received unexpected error: 06:11:05 validation failed on AddEventRequest: AddEventRequest.BaseRequest.Versionable.ApiVersion field is required 06:11:05 Test: TestGolangRuntime_unmarshalV2Event/CBOR_V2_Event 06:11:05 FAIL 06:11:05 coverage: 73.4% of statements 06:11:05 FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.029s 06:11:05 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 06:11:05 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 06:11:05 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 06:11:05 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 06:11:05 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 06:11:05 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 06:11:05 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.005s coverage: 97.0% of statements 06:11:05 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 06:11:05 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.010s coverage: 8.8% of statements 06:11:24 --- FAIL: TestInitializeAndProcessEventWithNoOutput (3.30s) 06:11:24 messaging_test.go:206: 06:11:24 Error Trace: messaging_test.go:206 06:11:24 Error: Should be true 06:11:24 Test: TestInitializeAndProcessEventWithNoOutput 06:11:24 Messages: Transform never called 06:11:24 --- FAIL: TestInitializeAndProcessEventWithOutput (3.30s) 06:11:24 messaging_test.go:290: 06:11:24 Error Trace: messaging_test.go:290 06:11:24 Error: Should be true 06:11:24 Test: TestInitializeAndProcessEventWithOutput 06:11:24 Messages: Transform never called 06:11:24 --- FAIL: TestInitializeAndProcessEventWithOutput_InferJSON (3.30s) 06:11:24 messaging_test.go:385: 06:11:24 Error Trace: messaging_test.go:385 06:11:24 Error: Should be true 06:11:24 Test: TestInitializeAndProcessEventWithOutput_InferJSON 06:11:24 Messages: Transform never called 06:11:24 --- FAIL: TestInitializeAndProcessEventWithOutput_AssumeCBOR (3.31s) 06:11:24 messaging_test.go:477: 06:11:24 Error Trace: messaging_test.go:477 06:11:24 Error: Should be true 06:11:24 Test: TestInitializeAndProcessEventWithOutput_AssumeCBOR 06:11:24 Messages: Transform never called 06:11:24 --- FAIL: TestInitializeAndProcessEventMultipleTopics (3.30s) 06:11:24 messaging_test.go:638: 06:11:24 Error Trace: messaging_test.go:638 06:11:24 Error: Transform never called for t1 06:11:24 Test: TestInitializeAndProcessEventMultipleTopics 06:11:24 FAIL 06:11:24 coverage: 62.0% of statements 06:11:24 FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 16.850s 06:11:24 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 06:11:24 --- FAIL: TestAddSecretRequest (0.00s) 06:11:24 --- FAIL: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash (0.00s) 06:11:24 controller_test.go:261: 06:11:24 Error Trace: controller_test.go:261 06:11:24 Error: Not equal: 06:11:24 expected: 201 06:11:24 actual : 400 06:11:24 Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash 06:11:24 Messages: HTTP status code not as expected 06:11:24 controller_test.go:263: 06:11:24 Error Trace: controller_test.go:263 06:11:24 Error: Not equal: 06:11:24 expected: 201 06:11:24 actual : 400 06:11:24 Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash 06:11:24 Messages: BaseResponse status code not as expected 06:11:24 controller_test.go:270: 06:11:24 Error Trace: controller_test.go:270 06:11:24 Error: Not equal: 06:11:24 expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" 06:11:24 actual : "" 06:11:24 06:11:24 Diff: 06:11:24 --- Expected 06:11:24 +++ Actual 06:11:24 @@ -1 +1 @@ 06:11:24 -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc 06:11:24 + 06:11:24 Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash 06:11:24 Messages: RequestID not as expected 06:11:24 controller_test.go:271: 06:11:24 Error Trace: controller_test.go:271 06:11:24 Error: Should be empty, but was JSON decode failed 06:11:24 Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash 06:11:24 Messages: Message not empty, as expected 06:11:24 --- FAIL: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash (0.00s) 06:11:24 controller_test.go:261: 06:11:24 Error Trace: controller_test.go:261 06:11:24 Error: Not equal: 06:11:24 expected: 201 06:11:24 actual : 400 06:11:24 Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash 06:11:24 Messages: HTTP status code not as expected 06:11:24 controller_test.go:263: 06:11:24 Error Trace: controller_test.go:263 06:11:24 Error: Not equal: 06:11:24 expected: 201 06:11:24 actual : 400 06:11:24 Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash 06:11:24 Messages: BaseResponse status code not as expected 06:11:24 controller_test.go:270: 06:11:24 Error Trace: controller_test.go:270 06:11:24 Error: Not equal: 06:11:24 expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" 06:11:24 actual : "" 06:11:24 06:11:24 Diff: 06:11:24 --- Expected 06:11:24 +++ Actual 06:11:24 @@ -1 +1 @@ 06:11:24 -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc 06:11:24 + 06:11:24 Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash 06:11:24 Messages: RequestID not as expected 06:11:24 controller_test.go:271: 06:11:24 Error Trace: controller_test.go:271 06:11:24 Error: Should be empty, but was JSON decode failed 06:11:24 Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash 06:11:24 Messages: Message not empty, as expected 06:11:24 --- FAIL: TestAddSecretRequest/Valid_-_both_trailing_slashes (0.00s) 06:11:24 controller_test.go:261: 06:11:24 Error Trace: controller_test.go:261 06:11:24 Error: Not equal: 06:11:24 expected: 201 06:11:24 actual : 400 06:11:24 Test: TestAddSecretRequest/Valid_-_both_trailing_slashes 06:11:24 Messages: HTTP status code not as expected 06:11:24 controller_test.go:263: 06:11:24 Error Trace: controller_test.go:263 06:11:24 Error: Not equal: 06:11:24 expected: 201 06:11:24 actual : 400 06:11:24 Test: TestAddSecretRequest/Valid_-_both_trailing_slashes 06:11:24 Messages: BaseResponse status code not as expected 06:11:24 controller_test.go:270: 06:11:24 Error Trace: controller_test.go:270 06:11:24 Error: Not equal: 06:11:24 expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" 06:11:24 actual : "" 06:11:24 06:11:24 Diff: 06:11:24 --- Expected 06:11:24 +++ Actual 06:11:24 @@ -1 +1 @@ 06:11:24 -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc 06:11:24 + 06:11:24 Test: TestAddSecretRequest/Valid_-_both_trailing_slashes 06:11:24 Messages: RequestID not as expected 06:11:24 controller_test.go:271: 06:11:24 Error Trace: controller_test.go:271 06:11:24 Error: Should be empty, but was JSON decode failed 06:11:24 Test: TestAddSecretRequest/Valid_-_both_trailing_slashes 06:11:24 Messages: Message not empty, as expected 06:11:24 --- FAIL: TestAddSecretRequest/Valid_-_no_requestId (0.00s) 06:11:24 controller_test.go:261: 06:11:24 Error Trace: controller_test.go:261 06:11:24 Error: Not equal: 06:11:24 expected: 201 06:11:24 actual : 400 06:11:24 Test: TestAddSecretRequest/Valid_-_no_requestId 06:11:24 Messages: HTTP status code not as expected 06:11:24 controller_test.go:263: 06:11:24 Error Trace: controller_test.go:263 06:11:24 Error: Not equal: 06:11:24 expected: 201 06:11:24 actual : 400 06:11:24 Test: TestAddSecretRequest/Valid_-_no_requestId 06:11:24 Messages: BaseResponse status code not as expected 06:11:24 controller_test.go:271: 06:11:24 Error Trace: controller_test.go:271 06:11:24 Error: Should be empty, but was JSON decode failed 06:11:24 Test: TestAddSecretRequest/Valid_-_no_requestId 06:11:24 Messages: Message not empty, as expected 06:11:24 --- FAIL: TestAddSecretRequest/Invalid_-_No_Secret_Store (0.00s) 06:11:24 controller_test.go:261: 06:11:24 Error Trace: controller_test.go:261 06:11:24 Error: Not equal: 06:11:24 expected: 500 06:11:24 actual : 400 06:11:24 Test: TestAddSecretRequest/Invalid_-_No_Secret_Store 06:11:24 Messages: HTTP status code not as expected 06:11:24 controller_test.go:263: 06:11:24 Error Trace: controller_test.go:263 06:11:24 Error: Not equal: 06:11:24 expected: 500 06:11:24 actual : 400 06:11:24 Test: TestAddSecretRequest/Invalid_-_No_Secret_Store 06:11:24 Messages: BaseResponse status code not as expected 06:11:24 FAIL 06:11:24 coverage: 63.8% of statements 06:11:24 FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.014s 06:11:24 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.012s coverage: 80.5% of statements 06:11:24 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.030s coverage: 71.7% of statements 06:11:27 Removing intermediate container 56606bfa02dd 06:11:27 ---> 47509048d3e3 06:11:27 Successfully built 47509048d3e3 06:11:27 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:11:27 + docker inspect -f . ci-base-image-arm64 06:11:27 . [Pipeline] withDockerContainer 06:11:27 prd-ubuntu18.04-docker-arm64-4c-16g-24931 does not seem to be running inside a container 06:11:28 $ 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:11:29 $ docker top fd53fa660661584152bfd38b1fdc23ce9441b385b4b6ee9eab811a76bd72eff4 -eo pid,comm [Pipeline] { [Pipeline] sh 06:11:30 + go version 06:11:30 go version go1.15.5 linux/arm64 [Pipeline] } 06:11:30 $ docker stop --time=1 fd53fa660661584152bfd38b1fdc23ce9441b385b4b6ee9eab811a76bd72eff4 06:11:32 $ docker rm -f fd53fa660661584152bfd38b1fdc23ce9441b385b4b6ee9eab811a76bd72eff4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:11:33 + docker inspect -f . ci-base-image-arm64 06:11:33 . [Pipeline] withDockerContainer 06:11:34 --- FAIL: TestTransformToJSON (0.00s) 06:11:34 conversion_test.go:130: 06:11:34 Error Trace: conversion_test.go:130 06:11:34 Error: Not equal: 06:11:34 expected: "{\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 06:11:34 actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 06:11:34 06:11:34 Diff: 06:11:34 --- Expected 06:11:34 +++ Actual 06:11:34 @@ -1 +1 @@ 06:11:34 -{"id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} 06:11:34 +{"apiVersion":"","id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} 06:11:34 Test: TestTransformToJSON 06:11:34 --- FAIL: TestTransformToJSONMultipleParametersValid (0.00s) 06:11:34 conversion_test.go:157: 06:11:34 Error Trace: conversion_test.go:157 06:11:34 Error: Not equal: 06:11:34 expected: "{\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 06:11:34 actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 06:11:34 06:11:34 Diff: 06:11:34 --- Expected 06:11:34 +++ Actual 06:11:34 @@ -1 +1 @@ 06:11:34 -{"id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} 06:11:34 +{"apiVersion":"","id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} 06:11:34 Test: TestTransformToJSONMultipleParametersValid 06:11:34 --- FAIL: TestTransformToJSONMultipleParametersTwoEvents (0.00s) 06:11:34 conversion_test.go:175: 06:11:34 Error Trace: conversion_test.go:175 06:11:34 Error: Not equal: 06:11:34 expected: "{\"id\":\"\",\"deviceName\":\"id2\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 06:11:34 actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"id2\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 06:11:34 06:11:34 Diff: 06:11:34 --- Expected 06:11:34 +++ Actual 06:11:34 @@ -1 +1 @@ 06:11:34 -{"id":"","deviceName":"id2","profileName":"","created":0,"origin":0,"readings":null} 06:11:34 +{"apiVersion":"","id":"","deviceName":"id2","profileName":"","created":0,"origin":0,"readings":null} 06:11:34 Test: TestTransformToJSONMultipleParametersTwoEvents 06:11:34 FAIL 06:11:34 coverage: 81.4% of statements 06:11:34 FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.041s 06:11:34 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.009s coverage: 94.4% of statements 06:11:34 FAIL 06:11:34 make: *** [Makefile:6: test] Error 1 06:11:34 prd-ubuntu18.04-docker-arm64-4c-16g-24931 does not seem to be running inside a container 06:11:34 $ 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:11:35 $ docker top 314530725c44437ffa3e06a894dd1250ccbc18c8ba4921834b4ea205edd07a42 -eo pid,comm [Pipeline] { [Pipeline] } 06:11:36 $ docker stop --time=1 3691763422facd372a748a06b32b634308567170a5ec0ebcb5a7a9507bc99786 06:11:37 $ docker rm -f 3691763422facd372a748a06b32b634308567170a5ec0ebcb5a7a9507bc99786 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage 06:11:38 + make test 06:11:38 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } 06:11:40 ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] [Pipeline] // stage [Pipeline] } 06:11:40 Failed in branch amd64 06:12:07 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.079s coverage: 82.6% of statements 06:12:29 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.071s coverage: 48.6% of statements 06:12:29 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 06:12:29 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 06:12:29 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.061s coverage: 61.5% of statements 06:12:29 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 06:12:29 --- FAIL: TestProcessMessageNoTransforms (0.00s) 06:12:29 runtime_test.go:116: 06:12:29 Error Trace: runtime_test.go:116 06:12:29 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x4000310640), ErrorCode:400} 06:12:29 Test: TestProcessMessageNoTransforms 06:12:29 Messages: result should be nil since no transforms have been passed 06:12:29 --- FAIL: TestProcessMessageOneCustomTransform (0.00s) 06:12:29 runtime_test.go:145: 06:12:29 Error Trace: runtime_test.go:145 06:12:29 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x40002c74f0), ErrorCode:400} 06:12:29 Test: TestProcessMessageOneCustomTransform 06:12:29 --- FAIL: TestProcessMessageTwoCustomTransforms (0.00s) 06:12:29 runtime_test.go:186: 06:12:29 Error Trace: runtime_test.go:186 06:12:29 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x40002c7780), ErrorCode:400} 06:12:29 Test: TestProcessMessageTwoCustomTransforms 06:12:29 --- FAIL: TestProcessMessageThreeCustomTransformsOneFail (0.00s) 06:12:29 runtime_test.go:233: 06:12:29 Error Trace: runtime_test.go:233 06:12:29 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x40002c7a00), ErrorCode:400} 06:12:29 Test: TestProcessMessageThreeCustomTransformsOneFail 06:12:29 --- FAIL: TestProcessMessageJSON (0.00s) 06:12:29 runtime_test.go:308: 06:12:29 Error Trace: runtime_test.go:308 06:12:29 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x40002c7d90), ErrorCode:400} 06:12:29 Test: TestProcessMessageJSON 06:12:29 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:12:29 runtime_test.go:309: 06:12:29 Error Trace: runtime_test.go:309 06:12:29 Error: Should be true 06:12:29 Test: TestProcessMessageJSON 06:12:29 Messages: transform1 should have been called 06:12:29 --- FAIL: TestProcessMessageTargetType (0.00s) 06:12:29 runtime_test.go:423: 06:12:29 Error Trace: runtime_test.go:423 06:12:29 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x40003a45f0), ErrorCode:400} 06:12:29 Test: TestProcessMessageTargetType 06:12:29 Messages: unexpected error for test 'Default Nil Target Type' 06:12:29 runtime_test.go:427: 06:12:29 Error Trace: runtime_test.go:427 06:12:29 Error: Not equal: 06:12:29 expected: []byte{0x7b, 0x22, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x76, 0x32, 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x38, 0x32, 0x65, 0x62, 0x32, 0x65, 0x32, 0x36, 0x2d, 0x30, 0x66, 0x32, 0x34, 0x2d, 0x34, 0x38, 0x61, 0x61, 0x2d, 0x61, 0x65, 0x34, 0x63, 0x2d, 0x64, 0x65, 0x39, 0x64, 0x61, 0x63, 0x33, 0x66, 0x62, 0x39, 0x62, 0x63, 0x22, 0x2c, 0x22, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x34, 0x31, 0x39, 0x31, 0x34, 0x33, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x34, 0x31, 0x39, 0x31, 0x34, 0x33, 0x2c, 0x22, 0x72, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x3a, 0x5b, 0x7b, 0x22, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x76, 0x32, 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x38, 0x32, 0x65, 0x62, 0x32, 0x65, 0x32, 0x36, 0x2d, 0x30, 0x66, 0x32, 0x34, 0x2d, 0x34, 0x38, 0x61, 0x61, 0x2d, 0x61, 0x65, 0x34, 0x63, 0x2d, 0x64, 0x65, 0x39, 0x64, 0x61, 0x63, 0x33, 0x66, 0x31, 0x32, 0x33, 0x34, 0x22, 0x2c, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x34, 0x31, 0x39, 0x31, 0x34, 0x33, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x34, 0x31, 0x39, 0x31, 0x34, 0x33, 0x2c, 0x22, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x65, 0x6d, 0x70, 0x65, 0x72, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0x2c, 0x22, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x22, 0x2c, 0x22, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x6e, 0x75, 0x6c, 0x6c, 0x2c, 0x22, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x22, 0x37, 0x32, 0x22, 0x7d, 0x5d, 0x7d} 06:12:29 actual : []byte(nil) 06:12:29 06:12:29 Diff: 06:12:29 --- Expected 06:12:29 +++ Actual 06:12:29 @@ -1,31 +1,2 @@ 06:12:29 -([]uint8) (len=444) { 06:12:29 - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| 06:12:29 - 00000010 32 22 2c 22 69 64 22 3a 22 38 32 65 62 32 65 32 |2","id":"82eb2e2| 06:12:29 - 00000020 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 65 34 63 |6-0f24-48aa-ae4c| 06:12:29 - 00000030 2d 64 65 39 64 61 63 33 66 62 39 62 63 22 2c 22 |-de9dac3fb9bc","| 06:12:29 - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| 06:12:29 - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| 06:12:29 - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| 06:12:29 - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| 06:12:29 - 00000080 72 65 61 74 65 64 22 3a 31 36 31 32 34 31 39 31 |reated":16124191| 06:12:29 - 00000090 34 33 2c 22 6f 72 69 67 69 6e 22 3a 31 36 31 32 |43,"origin":1612| 06:12:29 - 000000a0 34 31 39 31 34 33 2c 22 72 65 61 64 69 6e 67 73 |419143,"readings| 06:12:29 - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| 06:12:29 - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 38 32 65 62 |:"v2","id":"82eb| 06:12:29 - 000000d0 32 65 32 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 |2e26-0f24-48aa-a| 06:12:29 - 000000e0 65 34 63 2d 64 65 39 64 61 63 33 66 31 32 33 34 |e4c-de9dac3f1234| 06:12:29 - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 31 36 31 32 |","created":1612| 06:12:29 - 00000100 34 31 39 31 34 33 2c 22 6f 72 69 67 69 6e 22 3a |419143,"origin":| 06:12:29 - 00000110 31 36 31 32 34 31 39 31 34 33 2c 22 64 65 76 69 |1612419143,"devi| 06:12:29 - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| 06:12:29 - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| 06:12:29 - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| 06:12:29 - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| 06:12:29 - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| 06:12:29 - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| 06:12:29 - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| 06:12:29 - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| 06:12:29 - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| 06:12:29 - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| 06:12:29 -} 06:12:29 +([]uint8) 06:12:29 06:12:29 Test: TestProcessMessageTargetType 06:12:29 Messages: 'Default Nil Target Type' test failed 06:12:29 runtime_test.go:423: 06:12:29 Error Trace: runtime_test.go:423 06:12:29 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x40003a4970), ErrorCode:400} 06:12:29 Test: TestProcessMessageTargetType 06:12:29 Messages: unexpected error for test 'Event as Json' 06:12:29 runtime_test.go:427: 06:12:29 Error Trace: runtime_test.go:427 06:12:29 Error: Not equal: 06:12:29 expected: []byte{0x7b, 0x22, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x76, 0x32, 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x38, 0x32, 0x65, 0x62, 0x32, 0x65, 0x32, 0x36, 0x2d, 0x30, 0x66, 0x32, 0x34, 0x2d, 0x34, 0x38, 0x61, 0x61, 0x2d, 0x61, 0x65, 0x34, 0x63, 0x2d, 0x64, 0x65, 0x39, 0x64, 0x61, 0x63, 0x33, 0x66, 0x62, 0x39, 0x62, 0x63, 0x22, 0x2c, 0x22, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x34, 0x31, 0x39, 0x31, 0x34, 0x33, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x34, 0x31, 0x39, 0x31, 0x34, 0x33, 0x2c, 0x22, 0x72, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x3a, 0x5b, 0x7b, 0x22, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x76, 0x32, 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x38, 0x32, 0x65, 0x62, 0x32, 0x65, 0x32, 0x36, 0x2d, 0x30, 0x66, 0x32, 0x34, 0x2d, 0x34, 0x38, 0x61, 0x61, 0x2d, 0x61, 0x65, 0x34, 0x63, 0x2d, 0x64, 0x65, 0x39, 0x64, 0x61, 0x63, 0x33, 0x66, 0x31, 0x32, 0x33, 0x34, 0x22, 0x2c, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x34, 0x31, 0x39, 0x31, 0x34, 0x33, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x34, 0x31, 0x39, 0x31, 0x34, 0x33, 0x2c, 0x22, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x65, 0x6d, 0x70, 0x65, 0x72, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0x2c, 0x22, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x22, 0x2c, 0x22, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x6e, 0x75, 0x6c, 0x6c, 0x2c, 0x22, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x22, 0x37, 0x32, 0x22, 0x7d, 0x5d, 0x7d} 06:12:29 actual : []byte(nil) 06:12:29 06:12:29 Diff: 06:12:29 --- Expected 06:12:29 +++ Actual 06:12:29 @@ -1,31 +1,2 @@ 06:12:29 -([]uint8) (len=444) { 06:12:29 - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| 06:12:29 - 00000010 32 22 2c 22 69 64 22 3a 22 38 32 65 62 32 65 32 |2","id":"82eb2e2| 06:12:29 - 00000020 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 65 34 63 |6-0f24-48aa-ae4c| 06:12:29 - 00000030 2d 64 65 39 64 61 63 33 66 62 39 62 63 22 2c 22 |-de9dac3fb9bc","| 06:12:29 - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| 06:12:29 - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| 06:12:29 - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| 06:12:29 - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| 06:12:29 - 00000080 72 65 61 74 65 64 22 3a 31 36 31 32 34 31 39 31 |reated":16124191| 06:12:29 - 00000090 34 33 2c 22 6f 72 69 67 69 6e 22 3a 31 36 31 32 |43,"origin":1612| 06:12:29 - 000000a0 34 31 39 31 34 33 2c 22 72 65 61 64 69 6e 67 73 |419143,"readings| 06:12:29 - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| 06:12:29 - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 38 32 65 62 |:"v2","id":"82eb| 06:12:29 - 000000d0 32 65 32 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 |2e26-0f24-48aa-a| 06:12:29 - 000000e0 65 34 63 2d 64 65 39 64 61 63 33 66 31 32 33 34 |e4c-de9dac3f1234| 06:12:29 - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 31 36 31 32 |","created":1612| 06:12:29 - 00000100 34 31 39 31 34 33 2c 22 6f 72 69 67 69 6e 22 3a |419143,"origin":| 06:12:29 - 00000110 31 36 31 32 34 31 39 31 34 33 2c 22 64 65 76 69 |1612419143,"devi| 06:12:29 - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| 06:12:29 - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| 06:12:29 - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| 06:12:29 - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| 06:12:29 - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| 06:12:29 - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| 06:12:29 - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| 06:12:29 - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| 06:12:29 - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| 06:12:29 - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| 06:12:29 -} 06:12:29 +([]uint8) 06:12:29 06:12:29 Test: TestProcessMessageTargetType 06:12:29 Messages: 'Event as Json' test failed 06:12:29 runtime_test.go:423: 06:12:29 Error Trace: runtime_test.go:423 06:12:29 Error: Expected nil, but got: &runtime.MessageError{Err:(*errors.errorString)(0x40003a4df0), ErrorCode:400} 06:12:29 Test: TestProcessMessageTargetType 06:12:29 Messages: unexpected error for test 'Event as Cbor' 06:12:29 runtime_test.go:427: 06:12:29 Error Trace: runtime_test.go:427 06:12:29 Error: Not equal: 06:12:29 expected: []byte{0x7b, 0x22, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x76, 0x32, 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x38, 0x32, 0x65, 0x62, 0x32, 0x65, 0x32, 0x36, 0x2d, 0x30, 0x66, 0x32, 0x34, 0x2d, 0x34, 0x38, 0x61, 0x61, 0x2d, 0x61, 0x65, 0x34, 0x63, 0x2d, 0x64, 0x65, 0x39, 0x64, 0x61, 0x63, 0x33, 0x66, 0x62, 0x39, 0x62, 0x63, 0x22, 0x2c, 0x22, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x34, 0x31, 0x39, 0x31, 0x34, 0x33, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x34, 0x31, 0x39, 0x31, 0x34, 0x33, 0x2c, 0x22, 0x72, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x3a, 0x5b, 0x7b, 0x22, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x76, 0x32, 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x38, 0x32, 0x65, 0x62, 0x32, 0x65, 0x32, 0x36, 0x2d, 0x30, 0x66, 0x32, 0x34, 0x2d, 0x34, 0x38, 0x61, 0x61, 0x2d, 0x61, 0x65, 0x34, 0x63, 0x2d, 0x64, 0x65, 0x39, 0x64, 0x61, 0x63, 0x33, 0x66, 0x31, 0x32, 0x33, 0x34, 0x22, 0x2c, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x34, 0x31, 0x39, 0x31, 0x34, 0x33, 0x2c, 0x22, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x3a, 0x31, 0x36, 0x31, 0x32, 0x34, 0x31, 0x39, 0x31, 0x34, 0x33, 0x2c, 0x22, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x65, 0x6d, 0x70, 0x65, 0x72, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0x2c, 0x22, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x54, 0x68, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x61, 0x74, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x22, 0x2c, 0x22, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x6e, 0x75, 0x6c, 0x6c, 0x2c, 0x22, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x22, 0x2c, 0x22, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x22, 0x37, 0x32, 0x22, 0x7d, 0x5d, 0x7d} 06:12:29 actual : []byte(nil) 06:12:29 06:12:29 Diff: 06:12:29 --- Expected 06:12:29 +++ Actual 06:12:29 @@ -1,31 +1,2 @@ 06:12:29 -([]uint8) (len=444) { 06:12:29 - 00000000 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 3a 22 76 |{"apiVersion":"v| 06:12:29 - 00000010 32 22 2c 22 69 64 22 3a 22 38 32 65 62 32 65 32 |2","id":"82eb2e2| 06:12:29 - 00000020 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 65 34 63 |6-0f24-48aa-ae4c| 06:12:29 - 00000030 2d 64 65 39 64 61 63 33 66 62 39 62 63 22 2c 22 |-de9dac3fb9bc","| 06:12:29 - 00000040 64 65 76 69 63 65 4e 61 6d 65 22 3a 22 46 61 6d |deviceName":"Fam| 06:12:29 - 00000050 69 6c 79 52 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 |ilyRoomThermosta| 06:12:29 - 00000060 74 22 2c 22 70 72 6f 66 69 6c 65 4e 61 6d 65 22 |t","profileName"| 06:12:29 - 00000070 3a 22 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 63 |:"Thermostat","c| 06:12:29 - 00000080 72 65 61 74 65 64 22 3a 31 36 31 32 34 31 39 31 |reated":16124191| 06:12:29 - 00000090 34 33 2c 22 6f 72 69 67 69 6e 22 3a 31 36 31 32 |43,"origin":1612| 06:12:29 - 000000a0 34 31 39 31 34 33 2c 22 72 65 61 64 69 6e 67 73 |419143,"readings| 06:12:29 - 000000b0 22 3a 5b 7b 22 61 70 69 56 65 72 73 69 6f 6e 22 |":[{"apiVersion"| 06:12:29 - 000000c0 3a 22 76 32 22 2c 22 69 64 22 3a 22 38 32 65 62 |:"v2","id":"82eb| 06:12:29 - 000000d0 32 65 32 36 2d 30 66 32 34 2d 34 38 61 61 2d 61 |2e26-0f24-48aa-a| 06:12:29 - 000000e0 65 34 63 2d 64 65 39 64 61 63 33 66 31 32 33 34 |e4c-de9dac3f1234| 06:12:29 - 000000f0 22 2c 22 63 72 65 61 74 65 64 22 3a 31 36 31 32 |","created":1612| 06:12:29 - 00000100 34 31 39 31 34 33 2c 22 6f 72 69 67 69 6e 22 3a |419143,"origin":| 06:12:29 - 00000110 31 36 31 32 34 31 39 31 34 33 2c 22 64 65 76 69 |1612419143,"devi| 06:12:29 - 00000120 63 65 4e 61 6d 65 22 3a 22 46 61 6d 69 6c 79 52 |ceName":"FamilyR| 06:12:29 - 00000130 6f 6f 6d 54 68 65 72 6d 6f 73 74 61 74 22 2c 22 |oomThermostat","| 06:12:29 - 00000140 72 65 73 6f 75 72 63 65 4e 61 6d 65 22 3a 22 54 |resourceName":"T| 06:12:29 - 00000150 65 6d 70 65 72 61 74 75 72 65 22 2c 22 70 72 6f |emperature","pro| 06:12:29 - 00000160 66 69 6c 65 4e 61 6d 65 22 3a 22 54 68 65 72 6d |fileName":"Therm| 06:12:29 - 00000170 6f 73 74 61 74 22 2c 22 76 61 6c 75 65 54 79 70 |ostat","valueTyp| 06:12:29 - 00000180 65 22 3a 22 49 6e 74 36 34 22 2c 22 62 69 6e 61 |e":"Int64","bina| 06:12:29 - 00000190 72 79 56 61 6c 75 65 22 3a 6e 75 6c 6c 2c 22 6d |ryValue":null,"m| 06:12:29 - 000001a0 65 64 69 61 54 79 70 65 22 3a 22 22 2c 22 76 61 |ediaType":"","va| 06:12:29 - 000001b0 6c 75 65 22 3a 22 37 32 22 7d 5d 7d |lue":"72"}]}| 06:12:29 -} 06:12:29 +([]uint8) 06:12:29 06:12:29 Test: TestProcessMessageTargetType 06:12:29 Messages: 'Event as Cbor' test failed 06:12:29 --- FAIL: TestGolangRuntime_unmarshalV2Event (0.00s) 06:12:29 --- FAIL: TestGolangRuntime_unmarshalV2Event/JSON_V2_Event (0.00s) 06:12:29 runtime_test.go:599: 06:12:29 Error Trace: runtime_test.go:599 06:12:29 Error: Received unexpected error: 06:12:29 failed to unmarshal AddEventRequest from content type 'application/json': AddEventRequest.BaseRequest.Versionable.ApiVersion field is required 06:12:29 Test: TestGolangRuntime_unmarshalV2Event/JSON_V2_Event 06:12:29 --- FAIL: TestGolangRuntime_unmarshalV2Event/CBOR_V2_Event (0.00s) 06:12:29 runtime_test.go:599: 06:12:29 Error Trace: runtime_test.go:599 06:12:29 Error: Received unexpected error: 06:12:29 validation failed on AddEventRequest: AddEventRequest.BaseRequest.Versionable.ApiVersion field is required 06:12:29 Test: TestGolangRuntime_unmarshalV2Event/CBOR_V2_Event 06:12:29 FAIL 06:12:29 coverage: 73.4% of statements 06:12:29 FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.099s 06:12:29 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 06:12:29 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 06:12:29 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 06:12:29 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 06:12:29 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 06:12:29 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 06:12:29 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.015s coverage: 97.0% of statements 06:12:29 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 06:12:29 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.039s coverage: 8.8% of statements 06:12:44 --- FAIL: TestInitializeAndProcessEventWithNoOutput (3.30s) 06:12:44 messaging_test.go:206: 06:12:44 Error Trace: messaging_test.go:206 06:12:44 Error: Should be true 06:12:44 Test: TestInitializeAndProcessEventWithNoOutput 06:12:44 Messages: Transform never called 06:12:44 --- FAIL: TestInitializeAndProcessEventWithOutput (3.30s) 06:12:44 messaging_test.go:290: 06:12:44 Error Trace: messaging_test.go:290 06:12:44 Error: Should be true 06:12:44 Test: TestInitializeAndProcessEventWithOutput 06:12:44 Messages: Transform never called 06:12:44 --- FAIL: TestInitializeAndProcessEventWithOutput_InferJSON (3.30s) 06:12:44 messaging_test.go:385: 06:12:44 Error Trace: messaging_test.go:385 06:12:44 Error: Should be true 06:12:44 Test: TestInitializeAndProcessEventWithOutput_InferJSON 06:12:44 Messages: Transform never called 06:12:44 --- FAIL: TestInitializeAndProcessEventWithOutput_AssumeCBOR (3.32s) 06:12:44 messaging_test.go:477: 06:12:44 Error Trace: messaging_test.go:477 06:12:44 Error: Should be true 06:12:44 Test: TestInitializeAndProcessEventWithOutput_AssumeCBOR 06:12:44 Messages: Transform never called 06:12:44 --- FAIL: TestInitializeAndProcessEventMultipleTopics (3.30s) 06:12:44 messaging_test.go:638: 06:12:44 Error Trace: messaging_test.go:638 06:12:44 Error: Transform never called for t1 06:12:44 Test: TestInitializeAndProcessEventMultipleTopics 06:12:44 FAIL 06:12:44 coverage: 62.0% of statements 06:12:44 FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 16.896s 06:12:44 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 06:12:44 --- FAIL: TestAddSecretRequest (0.01s) 06:12:44 --- FAIL: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash (0.00s) 06:12:44 controller_test.go:261: 06:12:44 Error Trace: controller_test.go:261 06:12:44 Error: Not equal: 06:12:44 expected: 201 06:12:44 actual : 400 06:12:44 Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash 06:12:44 Messages: HTTP status code not as expected 06:12:44 controller_test.go:263: 06:12:44 Error Trace: controller_test.go:263 06:12:44 Error: Not equal: 06:12:44 expected: 201 06:12:44 actual : 400 06:12:44 Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash 06:12:44 Messages: BaseResponse status code not as expected 06:12:44 controller_test.go:270: 06:12:44 Error Trace: controller_test.go:270 06:12:44 Error: Not equal: 06:12:44 expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" 06:12:44 actual : "" 06:12:44 06:12:44 Diff: 06:12:44 --- Expected 06:12:44 +++ Actual 06:12:44 @@ -1 +1 @@ 06:12:44 -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc 06:12:44 + 06:12:44 Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash 06:12:44 Messages: RequestID not as expected 06:12:44 controller_test.go:271: 06:12:44 Error Trace: controller_test.go:271 06:12:44 Error: Should be empty, but was JSON decode failed 06:12:44 Test: TestAddSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretsPath_has_trailing_slash 06:12:44 Messages: Message not empty, as expected 06:12:44 --- FAIL: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash (0.00s) 06:12:44 controller_test.go:261: 06:12:44 Error Trace: controller_test.go:261 06:12:44 Error: Not equal: 06:12:44 expected: 201 06:12:44 actual : 400 06:12:44 Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash 06:12:44 Messages: HTTP status code not as expected 06:12:44 controller_test.go:263: 06:12:44 Error Trace: controller_test.go:263 06:12:44 Error: Not equal: 06:12:44 expected: 201 06:12:44 actual : 400 06:12:44 Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash 06:12:44 Messages: BaseResponse status code not as expected 06:12:44 controller_test.go:270: 06:12:44 Error Trace: controller_test.go:270 06:12:44 Error: Not equal: 06:12:44 expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" 06:12:44 actual : "" 06:12:44 06:12:44 Diff: 06:12:44 --- Expected 06:12:44 +++ Actual 06:12:44 @@ -1 +1 @@ 06:12:44 -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc 06:12:44 + 06:12:44 Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash 06:12:44 Messages: RequestID not as expected 06:12:44 controller_test.go:271: 06:12:44 Error Trace: controller_test.go:271 06:12:44 Error: Should be empty, but was JSON decode failed 06:12:44 Test: TestAddSecretRequest/Valid_-_sub-path_only_with_trailing_slash 06:12:44 Messages: Message not empty, as expected 06:12:44 --- FAIL: TestAddSecretRequest/Valid_-_both_trailing_slashes (0.00s) 06:12:44 controller_test.go:261: 06:12:44 Error Trace: controller_test.go:261 06:12:44 Error: Not equal: 06:12:44 expected: 201 06:12:44 actual : 400 06:12:44 Test: TestAddSecretRequest/Valid_-_both_trailing_slashes 06:12:44 Messages: HTTP status code not as expected 06:12:44 controller_test.go:263: 06:12:44 Error Trace: controller_test.go:263 06:12:44 Error: Not equal: 06:12:44 expected: 201 06:12:44 actual : 400 06:12:44 Test: TestAddSecretRequest/Valid_-_both_trailing_slashes 06:12:44 Messages: BaseResponse status code not as expected 06:12:44 controller_test.go:270: 06:12:44 Error Trace: controller_test.go:270 06:12:44 Error: Not equal: 06:12:44 expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" 06:12:44 actual : "" 06:12:44 06:12:44 Diff: 06:12:44 --- Expected 06:12:44 +++ Actual 06:12:44 @@ -1 +1 @@ 06:12:44 -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc 06:12:44 + 06:12:44 Test: TestAddSecretRequest/Valid_-_both_trailing_slashes 06:12:44 Messages: RequestID not as expected 06:12:44 controller_test.go:271: 06:12:44 Error Trace: controller_test.go:271 06:12:44 Error: Should be empty, but was JSON decode failed 06:12:44 Test: TestAddSecretRequest/Valid_-_both_trailing_slashes 06:12:44 Messages: Message not empty, as expected 06:12:44 --- FAIL: TestAddSecretRequest/Valid_-_no_requestId (0.00s) 06:12:44 controller_test.go:261: 06:12:44 Error Trace: controller_test.go:261 06:12:44 Error: Not equal: 06:12:44 expected: 201 06:12:44 actual : 400 06:12:44 Test: TestAddSecretRequest/Valid_-_no_requestId 06:12:44 Messages: HTTP status code not as expected 06:12:44 controller_test.go:263: 06:12:44 Error Trace: controller_test.go:263 06:12:44 Error: Not equal: 06:12:44 expected: 201 06:12:44 actual : 400 06:12:44 Test: TestAddSecretRequest/Valid_-_no_requestId 06:12:44 Messages: BaseResponse status code not as expected 06:12:44 controller_test.go:271: 06:12:44 Error Trace: controller_test.go:271 06:12:44 Error: Should be empty, but was JSON decode failed 06:12:44 Test: TestAddSecretRequest/Valid_-_no_requestId 06:12:44 Messages: Message not empty, as expected 06:12:44 --- FAIL: TestAddSecretRequest/Invalid_-_No_Secret_Store (0.00s) 06:12:44 controller_test.go:261: 06:12:44 Error Trace: controller_test.go:261 06:12:44 Error: Not equal: 06:12:44 expected: 500 06:12:44 actual : 400 06:12:44 Test: TestAddSecretRequest/Invalid_-_No_Secret_Store 06:12:44 Messages: HTTP status code not as expected 06:12:44 controller_test.go:263: 06:12:44 Error Trace: controller_test.go:263 06:12:44 Error: Not equal: 06:12:44 expected: 500 06:12:44 actual : 400 06:12:44 Test: TestAddSecretRequest/Invalid_-_No_Secret_Store 06:12:44 Messages: BaseResponse status code not as expected 06:12:44 FAIL 06:12:44 coverage: 63.8% of statements 06:12:44 FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.070s 06:12:44 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.040s coverage: 80.5% of statements 06:12:44 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.022s coverage: 71.7% of statements 06:12:56 --- FAIL: TestTransformToJSON (0.00s) 06:12:56 conversion_test.go:130: 06:12:56 Error Trace: conversion_test.go:130 06:12:56 Error: Not equal: 06:12:56 expected: "{\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 06:12:56 actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 06:12:56 06:12:56 Diff: 06:12:56 --- Expected 06:12:56 +++ Actual 06:12:56 @@ -1 +1 @@ 06:12:56 -{"id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} 06:12:56 +{"apiVersion":"","id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} 06:12:56 Test: TestTransformToJSON 06:12:56 --- FAIL: TestTransformToJSONMultipleParametersValid (0.00s) 06:12:56 conversion_test.go:157: 06:12:56 Error Trace: conversion_test.go:157 06:12:56 Error: Not equal: 06:12:56 expected: "{\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 06:12:56 actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"id1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 06:12:56 06:12:56 Diff: 06:12:56 --- Expected 06:12:56 +++ Actual 06:12:56 @@ -1 +1 @@ 06:12:56 -{"id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} 06:12:56 +{"apiVersion":"","id":"","deviceName":"id1","profileName":"","created":0,"origin":0,"readings":null} 06:12:56 Test: TestTransformToJSONMultipleParametersValid 06:12:56 --- FAIL: TestTransformToJSONMultipleParametersTwoEvents (0.00s) 06:12:56 conversion_test.go:175: 06:12:56 Error Trace: conversion_test.go:175 06:12:56 Error: Not equal: 06:12:56 expected: "{\"id\":\"\",\"deviceName\":\"id2\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 06:12:56 actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"id2\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 06:12:56 06:12:56 Diff: 06:12:56 --- Expected 06:12:56 +++ Actual 06:12:56 @@ -1 +1 @@ 06:12:56 -{"id":"","deviceName":"id2","profileName":"","created":0,"origin":0,"readings":null} 06:12:56 +{"apiVersion":"","id":"","deviceName":"id2","profileName":"","created":0,"origin":0,"readings":null} 06:12:56 Test: TestTransformToJSONMultipleParametersTwoEvents 06:12:56 FAIL 06:12:56 coverage: 81.4% of statements 06:12:56 FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.073s 06:12:56 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.024s coverage: 94.4% of statements 06:12:56 FAIL 06:12:56 make: *** [Makefile:6: test] Error 1 [Pipeline] } 06:12:56 $ docker stop --time=1 314530725c44437ffa3e06a894dd1250ccbc18c8ba4921834b4ea205edd07a42 06:12:59 $ docker rm -f 314530725c44437ffa3e06a894dd1250ccbc18c8ba4921834b4ea205edd07a42 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:13:01 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:13:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:13:05 ---> package-listing.sh 06:13:05 ++ facter osfamily 06:13:05 ++ tr '[:upper:]' '[:lower:]' 06:13:05 + OS_FAMILY=redhat 06:13:05 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-676 06:13:05 + START_PACKAGES=/tmp/packages_start.txt 06:13:05 + END_PACKAGES=/tmp/packages_end.txt 06:13:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:13:05 + PACKAGES=/tmp/packages_start.txt 06:13:05 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-676 ']' 06:13:05 + PACKAGES=/tmp/packages_end.txt 06:13:05 + case "${OS_FAMILY}" in 06:13:05 + rpm -qa 06:13:05 + sort 06:13:11 + '[' -f /tmp/packages_start.txt ']' 06:13:11 + '[' -f /tmp/packages_end.txt ']' 06:13:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:13:11 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-676 ']' 06:13:11 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-676/archives/ 06:13:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-676/archives/ [Pipeline] echo 06:13:11 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_PR-676/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:13:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:13:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:13:11 06:13:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:13:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:13:12 alpine: Pulling from edgex-lftools-log-publisher 06:13:12 df20fa9351a1: Pulling fs layer 06:13:12 36b3adc4ff6f: Pulling fs layer 06:13:12 8ad3a11d3b57: Pulling fs layer 06:13:12 46f8f816bc3b: Pulling fs layer 06:13:12 93b61091891f: Pulling fs layer 06:13:12 93b9cdb0e59b: Pulling fs layer 06:13:12 5e14af77c1be: Pulling fs layer 06:13:12 01666e4c0597: Pulling fs layer 06:13:12 aa168da1d23b: Pulling fs layer 06:13:12 46f8f816bc3b: Waiting 06:13:12 5e14af77c1be: Waiting 06:13:12 93b61091891f: Waiting 06:13:12 01666e4c0597: Waiting 06:13:12 93b9cdb0e59b: Waiting 06:13:12 aa168da1d23b: Waiting 06:13:12 36b3adc4ff6f: Verifying Checksum 06:13:12 36b3adc4ff6f: Download complete 06:13:12 46f8f816bc3b: Verifying Checksum 06:13:12 46f8f816bc3b: Download complete 06:13:12 df20fa9351a1: Verifying Checksum 06:13:12 df20fa9351a1: Download complete 06:13:12 93b9cdb0e59b: Verifying Checksum 06:13:12 93b9cdb0e59b: Download complete 06:13:12 5e14af77c1be: Verifying Checksum 06:13:12 5e14af77c1be: Download complete 06:13:12 01666e4c0597: Verifying Checksum 06:13:12 01666e4c0597: Download complete 06:13:12 df20fa9351a1: Pull complete 06:13:13 36b3adc4ff6f: Pull complete 06:13:13 93b61091891f: Download complete 06:13:13 8ad3a11d3b57: Verifying Checksum 06:13:13 8ad3a11d3b57: Download complete 06:13:14 8ad3a11d3b57: Pull complete 06:13:14 aa168da1d23b: Download complete 06:13:15 46f8f816bc3b: Pull complete 06:13:16 93b61091891f: Pull complete 06:13:16 93b9cdb0e59b: Pull complete 06:13:16 5e14af77c1be: Pull complete 06:13:16 01666e4c0597: Pull complete 06:13:22 aa168da1d23b: Pull complete 06:13:22 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:13:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:13:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:13:23 prd-centos7-docker-4c-2g-24928 does not seem to be running inside a container 06:13:23 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_PR-676/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ndry_app-functions-sdk-go_PR-676 -v /w/workspace/ndry_app-functions-sdk-go_PR-676:/w/workspace/ndry_app-functions-sdk-go_PR-676:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-676@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-676@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:13:26 $ docker top 0bf3d2a5f8badaa58d8553b3b605d36c168fcdfbd5684fe5ee24996506b042d1 -eo pid,comm [Pipeline] { [Pipeline] sh 06:13:27 + touch /tmp/pre-build-complete [Pipeline] sh 06:13:27 + mkdir -p /var/log/sa [Pipeline] sh 06:13:27 + ls /var/log/sa-host 06:13:27 + sadf -c /var/log/sa-host/sa04 06:13:27 file_magic: OK 06:13:27 HZ: Using current value: 100 06:13:27 file_header: OK 06:13:27 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:13:27 Statistics: 06:13:27 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:13:27 File successfully converted to sysstat format version 12.2.1 06:13:27 + sadf -c /var/log/sa-host/sa23 06:13:27 file_magic: OK 06:13:27 HZ: Using current value: 100 06:13:27 file_header: OK 06:13:27 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:13:27 Statistics: 06:13:27 Hnuu...uuuununununu... 06:13:27 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:13:28 provisioning config files... 06:13:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-676@tmp/config1224889055511852843tmp [Pipeline] { [Pipeline] echo 06:13:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:13:28 ---> create-netrc.sh [Pipeline] } 06:13:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:13:28 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:13:29 ---> python-tools-install.sh [Pipeline] echo 06:13:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:13:29 ---> sudo-logs.sh 06:13:29 Archiving 'sudo' log.. [Pipeline] echo 06:13:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:13:29 ---> job-cost.sh 06:13:30 lf-activate-venv: SKIPPING 06:13:30 INFO: No Stack... 06:13:31 INFO: Retrieving Pricing Info for: v1-standard-2 06:13:31 INFO: Archiving Costs [Pipeline] echo 06:13:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:13:32 ---> logs-deploy.sh 06:13:32 lf-activate-venv: SKIPPING 06:13:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-676/1 06:13:32 INFO: archiving workspace using pattern(s): 06:13:33 Archives upload complete. 06:13:33 INFO: archiving logs to Nexus 06:13:34 ---> uname -a: 06:13:34 Linux prd-centos7-docker-4c-2g-24928.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 06:13:34 06:13:34 06:13:34 ---> lscpu: 06:13:34 Architecture: x86_64 06:13:34 CPU op-mode(s): 32-bit, 64-bit 06:13:34 Byte Order: Little Endian 06:13:34 Address sizes: 40 bits physical, 48 bits virtual 06:13:34 CPU(s): 4 06:13:34 On-line CPU(s) list: 0-3 06:13:34 Thread(s) per core: 1 06:13:34 Core(s) per socket: 1 06:13:34 Socket(s): 4 06:13:34 NUMA node(s): 1 06:13:34 Vendor ID: GenuineIntel 06:13:34 CPU family: 6 06:13:34 Model: 44 06:13:34 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 06:13:34 Stepping: 1 06:13:34 CPU MHz: 2933.438 06:13:34 BogoMIPS: 5866.87 06:13:34 Virtualization: VT-x 06:13:34 Hypervisor vendor: KVM 06:13:34 Virtualization type: full 06:13:34 L1d cache: 128 KiB 06:13:34 L1i cache: 128 KiB 06:13:34 L2 cache: 16 MiB 06:13:34 L3 cache: 64 MiB 06:13:34 NUMA node0 CPU(s): 0-3 06:13:34 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 06:13:34 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 06:13:34 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 06:13:34 Vulnerability Meltdown: Mitigation; PTI 06:13:34 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:13:34 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 06:13:34 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 06:13:34 Vulnerability Srbds: Not affected 06:13:34 Vulnerability Tsx async abort: Not affected 06:13:34 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 06:13:34 06:13:34 06:13:34 ---> nproc: 06:13:34 4 06:13:34 06:13:34 06:13:34 ---> df -h: 06:13:34 Filesystem Size Used Available Use% Mounted on 06:13:34 overlay 50.0G 7.3G 42.7G 15% / 06:13:34 tmpfs 64.0M 0 64.0M 0% /dev 06:13:34 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 06:13:34 shm 64.0M 0 64.0M 0% /dev/shm 06:13:34 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 06:13:34 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 06:13:34 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 06:13:34 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 06:13:34 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 06:13:34 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/ndry_app-functions-sdk-go_PR-676 06:13:34 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 06:13:34 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/ndry_app-functions-sdk-go_PR-676@tmp 06:13:34 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 06:13:34 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 06:13:34 06:13:34 06:13:34 ---> free -m: 06:13:34 total used free shared buff/cache available 06:13:34 Mem: 1837 705 68 0 1063 1027 06:13:34 Swap: 1023 1 1022 06:13:34 06:13:34 06:13:34 ---> ip addr: 06:13:34 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 06:13:34 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 06:13:34 inet 127.0.0.1/8 scope host lo 06:13:34 valid_lft forever preferred_lft forever 06:13:34 inet6 ::1/128 scope host 06:13:34 valid_lft forever preferred_lft forever 06:13:34 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 06:13:34 link/ether fa:16:3e:1a:ab:7c brd ff:ff:ff:ff:ff:ff 06:13:34 inet 10.30.123.158/23 brd 10.30.123.255 scope global dynamic eth0 06:13:34 valid_lft 85956sec preferred_lft 85956sec 06:13:34 inet6 fe80::f816:3eff:fe1a:ab7c/64 scope link 06:13:34 valid_lft forever preferred_lft forever 06:13:34 3: docker0: mtu 1500 qdisc noqueue state DOWN 06:13:34 link/ether 02:42:57:dc:6a:8f brd ff:ff:ff:ff:ff:ff 06:13:34 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 06:13:34 valid_lft forever preferred_lft forever 06:13:34 inet6 fe80::42:57ff:fedc:6a8f/64 scope link 06:13:34 valid_lft forever preferred_lft forever 06:13:34 06:13:34 06:13:34 ---> sar -b -r -n DEV: 06:13:34 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 02/04/21 _x86_64_ (4 CPU) 06:13:34 06:13:34 06:05:58 LINUX RESTART (4 CPU) 06:13:34 06:13:34 06:07:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 06:13:34 06:08:01 9.48 2.51 6.97 0.00 202.74 1321.84 0.00 06:13:34 06:09:01 0.40 0.00 0.40 0.00 0.00 6.71 0.00 06:13:34 06:10:01 0.25 0.00 0.25 0.00 0.00 2.58 0.00 06:13:34 06:11:01 0.17 0.00 0.17 0.00 0.00 2.15 0.00 06:13:34 06:12:01 0.32 0.00 0.32 0.00 0.00 4.55 0.00 06:13:34 06:13:02 0.28 0.00 0.28 0.00 0.00 2.86 0.00 06:13:34 Average: 1.80 0.41 1.38 0.00 33.33 220.46 0.00 06:13:34 06:13:34 06:07:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 06:13:34 06:08:01 229368 0 573864 30.50 2620 1075692 1107244 37.79 381052 1073400 20 06:13:34 06:09:01 229684 0 573540 30.48 2620 1075700 1076360 36.73 388772 1064996 8 06:13:34 06:10:01 229664 0 573556 30.48 2620 1075704 1076396 36.74 397628 1056496 8 06:13:34 06:11:01 229348 0 573872 30.50 2620 1075704 1076192 36.73 400516 1054220 8 06:13:34 06:12:01 228592 0 574620 30.54 2620 1075712 1076276 36.73 398632 1056796 8 06:13:34 06:13:02 227380 0 575828 30.60 2620 1075716 1076192 36.73 425924 1031228 8 06:13:34 Average: 229006 0 574213 30.52 2620 1075705 1081443 36.91 398754 1056189 10 06:13:34 06:13:34 06:07:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 06:13:34 06:08:01 eth0 93.67 121.40 324.51 15.04 0.00 0.00 0.00 0.00 06:13:34 06:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:13:34 06:08:01 docker0 113.80 81.24 9.25 309.99 0.00 0.00 0.00 0.00 06:13:34 06:09:01 eth0 1.63 0.33 0.36 0.20 0.00 0.00 0.00 0.00 06:13:34 06:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:13:34 06:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:13:34 06:10:01 eth0 2.03 0.73 0.87 0.55 0.00 0.00 0.00 0.00 06:13:34 06:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:13:34 06:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:13:34 06:11:01 eth0 0.08 0.08 0.01 0.04 0.00 0.00 0.00 0.00 06:13:34 06:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:13:34 06:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:13:34 06:12:01 eth0 0.27 0.15 0.14 0.07 0.00 0.00 0.00 0.00 06:13:34 06:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:13:34 06:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:13:34 06:13:02 eth0 0.08 0.03 0.01 0.00 0.00 0.00 0.00 0.00 06:13:34 06:13:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:13:34 06:13:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:13:34 Average: eth0 16.08 20.18 53.58 2.62 0.00 0.00 0.00 0.00 06:13:34 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:13:34 Average: docker0 18.71 13.36 1.52 50.96 0.00 0.00 0.00 0.00 06:13:34 06:13:34 06:13:34 ---> sar -P ALL: 06:13:34 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 02/04/21 _x86_64_ (4 CPU) 06:13:34 06:13:34 06:05:58 LINUX RESTART (4 CPU) 06:13:34 06:13:34 06:07:02 CPU %user %nice %system %iowait %steal %idle 06:13:34 06:08:01 all 1.53 0.00 0.64 0.08 0.00 97.74 06:13:34 06:08:01 0 2.26 0.00 0.87 0.08 0.00 96.79 06:13:34 06:08:01 1 0.80 0.00 0.58 0.14 0.02 98.47 06:13:34 06:08:01 2 2.32 0.00 0.59 0.03 0.00 97.05 06:13:34 06:08:01 3 0.73 0.00 0.53 0.08 0.00 98.66 06:13:34 06:09:01 all 0.17 0.00 0.05 0.00 0.00 99.78 06:13:34 06:09:01 0 0.07 0.00 0.03 0.00 0.00 99.90 06:13:34 06:09:01 1 0.03 0.00 0.05 0.00 0.00 99.92 06:13:34 06:09:01 2 0.52 0.00 0.08 0.00 0.00 99.40 06:13:34 06:09:01 3 0.05 0.00 0.05 0.00 0.00 99.90 06:13:34 06:10:01 all 0.16 0.00 0.05 0.00 0.00 99.78 06:13:34 06:10:01 0 0.03 0.00 0.02 0.00 0.00 99.95 06:13:34 06:10:01 1 0.08 0.00 0.07 0.00 0.00 99.85 06:13:34 06:10:01 2 0.47 0.00 0.08 0.00 0.00 99.45 06:13:34 06:10:01 3 0.05 0.00 0.05 0.00 0.02 99.88 06:13:34 06:11:01 all 0.15 0.00 0.04 0.00 0.00 99.82 06:13:34 06:11:01 0 0.02 0.00 0.03 0.00 0.00 99.95 06:13:34 06:11:01 1 0.03 0.00 0.05 0.00 0.00 99.92 06:13:34 06:11:01 2 0.50 0.00 0.05 0.00 0.00 99.45 06:13:34 06:11:01 3 0.03 0.00 0.02 0.00 0.00 99.95 06:13:34 06:12:01 all 0.20 0.00 0.22 0.00 0.01 99.58 06:13:34 06:12:01 0 0.07 0.00 0.18 0.00 0.02 99.73 06:13:34 06:12:01 1 0.12 0.00 0.22 0.00 0.02 99.65 06:13:34 06:12:01 2 0.55 0.00 0.33 0.00 0.00 99.12 06:13:34 06:12:01 3 0.05 0.00 0.13 0.00 0.00 99.82 06:13:34 06:13:02 all 0.15 0.00 0.08 0.00 0.00 99.77 06:13:34 06:13:02 0 0.00 0.00 0.02 0.00 0.00 99.98 06:13:34 06:13:02 1 0.15 0.00 0.03 0.00 0.00 99.82 06:13:34 06:13:02 2 0.38 0.00 0.20 0.00 0.00 99.42 06:13:34 06:13:02 3 0.07 0.00 0.07 0.00 0.00 99.87 06:13:34 Average: all 0.39 0.00 0.18 0.01 0.00 99.42 06:13:34 Average: 0 0.40 0.00 0.19 0.01 0.00 99.39 06:13:34 Average: 1 0.20 0.00 0.16 0.02 0.01 99.61 06:13:34 Average: 2 0.79 0.00 0.22 0.01 0.00 98.99 06:13:34 Average: 3 0.16 0.00 0.14 0.01 0.00 99.68 06:13:34 06:13:34 06:13:34