Pull request #478 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from bbd7b90e3502b9d8e77c6a90a93ae744ff1c719b+b0f6186d0626fdf5d3c1e4e4b0b23af3b3c8cc73 (ca51adbaab9d901ecb1b58ab7ca182c9a88f6eb4) Running in Durability level: PERFORMANCE_OPTIMIZED 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 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 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 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 Checking out Revision 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 # timeout=10 Commit message: "Merge pull request #239 from ernestojeda/update-default-go-version" > 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 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. [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 [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-213’ is offline Running on prd-centos7-docker-4c-2g-2266 in /w/workspace/ndry_app-functions-sdk-go_PR-478 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_PR-478 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/478/head:refs/remotes/origin/PR-478 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit b0f6186d0626fdf5d3c1e4e4b0b23af3b3c8cc73 into PR head commit bbd7b90e3502b9d8e77c6a90a93ae744ff1c719b Merge succeeded, producing bbd7b90e3502b9d8e77c6a90a93ae744ff1c719b Checking out Revision bbd7b90e3502b9d8e77c6a90a93ae744ff1c719b (PR-478) > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/478/head:refs/remotes/origin/PR-478 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # 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 --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/478/head:refs/remotes/origin/PR-478 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bbd7b90e3502b9d8e77c6a90a93ae744ff1c719b # 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 b0f6186d0626fdf5d3c1e4e4b0b23af3b3c8cc73 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bbd7b90e3502b9d8e77c6a90a93ae744ff1c719b # timeout=10 Commit message: "build: Switch to use Go 1.15" First time build. Skipping changelog. > git rev-list --no-walk 8dd39d4d515973c1552fac904a5be3429c579a0e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-11T16:51:11.060Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-11T16:51:11.649Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-11T16:51:11.761Z] ========================================================= [2020-09-11T16:51:11.762Z] EdgeX Global Pipelines Version Info [2020-09-11T16:51:11.762Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-11T16:51:13.942Z] ------------------- [2020-09-11T16:51:13.942Z] stable info: [2020-09-11T16:51:13.942Z] ------------------- [2020-09-11T16:51:13.942Z] Commited By: Emilio Reyes emilio.reyes@intel.com [2020-09-11T16:51:13.942Z] Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [2020-09-11T16:51:13.942Z] Message: update stable to v1.0.119 [2020-09-11T16:51:14.898Z] ------------------- [2020-09-11T16:51:14.898Z] experimental info: [2020-09-11T16:51:14.898Z] ------------------- [2020-09-11T16:51:14.898Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-11T16:51:14.898Z] Commit SHA: 26a2d0761a2efda4215483e42b68dbac15e3db92 [2020-09-11T16:51:14.898Z] Message: update experimental to v1.0.121 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-11T16:51:15.291Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2020-09-11T16:51:15.400Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2020-09-11T16:51:15.525Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-11T16:51:15.624Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-11T16:51:15.733Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-11T16:51:15.865Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-11T16:51:16.006Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-11T16:51:16.103Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-11T16:51:16.202Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-11T16:51:16.310Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-11T16:51:16.422Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-11T16:51:16.553Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2020-09-11T16:51:16.729Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-11T16:51:16.833Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-11T16:51:16.941Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-09-11T16:51:17.046Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-11T16:51:17.167Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-11T16:51:17.260Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-11T16:51:17.348Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-11T16:51:17.436Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-11T16:51:17.546Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-09-11T16:51:17.649Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2020-09-11T16:51:17.744Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-478 [Pipeline] echo [2020-09-11T16:51:17.840Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-478 [Pipeline] echo [2020-09-11T16:51:17.996Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-478 [Pipeline] echo [2020-09-11T16:51:18.097Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bbd7b90e3502b9d8e77c6a90a93ae744ff1c719b [Pipeline] echo [2020-09-11T16:51:18.196Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bbd7b90 [Pipeline] echo [2020-09-11T16:51:18.358Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-11T16:51:18.977Z] + git log --format=format:%s -1 bbd7b90e3502b9d8e77c6a90a93ae744ff1c719b [Pipeline] echo [2020-09-11T16:51:19.105Z] GIT_COMMIT: bbd7b90e3502b9d8e77c6a90a93ae744ff1c719b, Commit Message: build: Switch to use Go 1.15 [Pipeline] echo [2020-09-11T16:51:19.160Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-11T16:51:20.190Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-11T16:51:20.455Z] [2020-09-11T16:51:20.455Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-11T16:51:20.866Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-11T16:51:21.171Z] latest: Pulling from edgex-devops/git-semver [2020-09-11T16:51:21.171Z] 31603596830f: Pulling fs layer [2020-09-11T16:51:21.171Z] 2a8b12db71e7: Pulling fs layer [2020-09-11T16:51:21.171Z] 6ca5941a6612: Pulling fs layer [2020-09-11T16:51:21.171Z] ecc8261a40a4: Pulling fs layer [2020-09-11T16:51:21.171Z] ecc8261a40a4: Waiting [2020-09-11T16:51:21.171Z] 2a8b12db71e7: Verifying Checksum [2020-09-11T16:51:21.171Z] 2a8b12db71e7: Download complete [2020-09-11T16:51:21.171Z] 31603596830f: Verifying Checksum [2020-09-11T16:51:21.171Z] 31603596830f: Download complete [2020-09-11T16:51:21.443Z] ecc8261a40a4: Verifying Checksum [2020-09-11T16:51:21.443Z] ecc8261a40a4: Download complete [2020-09-11T16:51:21.443Z] 6ca5941a6612: Verifying Checksum [2020-09-11T16:51:21.443Z] 6ca5941a6612: Download complete [2020-09-11T16:51:21.719Z] 31603596830f: Pull complete [2020-09-11T16:51:21.991Z] 2a8b12db71e7: Pull complete [2020-09-11T16:51:23.502Z] 6ca5941a6612: Pull complete [2020-09-11T16:51:24.131Z] ecc8261a40a4: Pull complete [2020-09-11T16:51:24.131Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-11T16:51:24.131Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-11T16:51:24.131Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-11T16:51:24.325Z] prd-centos7-docker-4c-2g-2266 does not seem to be running inside a container [2020-09-11T16:51:24.387Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-478 -v /w/workspace/ndry_app-functions-sdk-go_PR-478:/w/workspace/ndry_app-functions-sdk-go_PR-478:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-478@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-478@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-11T16:51:26.756Z] $ docker top 2184c5d2f1abe53da8b953270ae94fd312cebae37345119bbdd0e2724e40597f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-11T16:51:27.270Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-11T16:51:27.270Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-11T16:51:27.704Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-11T16:51:27.711Z] $ docker exec 2184c5d2f1abe53da8b953270ae94fd312cebae37345119bbdd0e2724e40597f ssh-agent [2020-09-11T16:51:27.978Z] SSH_AUTH_SOCK=/tmp/ssh-A7Inx39V09Qx/agent.12 [2020-09-11T16:51:27.978Z] SSH_AGENT_PID=17 [2020-09-11T16:51:28.020Z] Running ssh-add (command line suppressed) [2020-09-11T16:51:28.241Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-478@tmp/private_key_6001807541390953296.key (/w/workspace/ndry_app-functions-sdk-go_PR-478@tmp/private_key_6001807541390953296.key) [2020-09-11T16:51:28.361Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-11T16:51:28.754Z] + git describe --exact-match --tags HEAD [2020-09-11T16:51:28.754Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-11T16:51:28.787Z] $ docker exec --env ******** --env ******** 2184c5d2f1abe53da8b953270ae94fd312cebae37345119bbdd0e2724e40597f ssh-agent -k [2020-09-11T16:51:28.967Z] unset SSH_AUTH_SOCK; [2020-09-11T16:51:28.968Z] unset SSH_AGENT_PID; [2020-09-11T16:51:28.968Z] echo Agent pid 17 killed; [2020-09-11T16:51:29.072Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-11T16:51:29.173Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-11T16:51:29.173Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-11T16:51:29.272Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-11T16:51:29.272Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-11T16:51:29.689Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-11T16:51:29.695Z] $ docker exec 2184c5d2f1abe53da8b953270ae94fd312cebae37345119bbdd0e2724e40597f ssh-agent [2020-09-11T16:51:30.096Z] SSH_AUTH_SOCK=/tmp/ssh-0ZNEbB6P5quK/agent.46 [2020-09-11T16:51:30.096Z] SSH_AGENT_PID=51 [2020-09-11T16:51:30.109Z] Running ssh-add (command line suppressed) [2020-09-11T16:51:30.337Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-478@tmp/private_key_943686981562121503.key (/w/workspace/ndry_app-functions-sdk-go_PR-478@tmp/private_key_943686981562121503.key) [2020-09-11T16:51:30.503Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-11T16:51:30.872Z] + git semver init [2020-09-11T16:51:30.872Z] # -> Open(): unable to determine branch for HEAD [2020-09-11T16:51:30.872Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-478/.git [2020-09-11T16:51:30.872Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-478 [2020-09-11T16:51:30.872Z] # $SEMVER_REMOTE_NAME = origin [2020-09-11T16:51:30.872Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-11T16:51:30.872Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-11T16:51:30.872Z] # $SEMVER_BRANCH = PR-478 [2020-09-11T16:51:30.872Z] # $SEMVER_TEMP = /tmp/semver-477119307 [2020-09-11T16:51:30.872Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2020-09-11T16:51:35.345Z] # '/tmp/semver-477119307' -> '/w/workspace/ndry_app-functions-sdk-go_PR-478/.semver' [2020-09-11T16:51:35.345Z] # -> Force: false [2020-09-11T16:51:35.345Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-478/.semver [Pipeline] } [2020-09-11T16:51:35.363Z] $ docker exec --env ******** --env ******** 2184c5d2f1abe53da8b953270ae94fd312cebae37345119bbdd0e2724e40597f ssh-agent -k [2020-09-11T16:51:35.585Z] unset SSH_AUTH_SOCK; [2020-09-11T16:51:35.586Z] unset SSH_AGENT_PID; [2020-09-11T16:51:35.586Z] echo Agent pid 51 killed; [2020-09-11T16:51:35.685Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-11T16:51:36.568Z] + git semver [Pipeline] } [2020-09-11T16:51:36.614Z] $ docker stop --time=1 2184c5d2f1abe53da8b953270ae94fd312cebae37345119bbdd0e2724e40597f [2020-09-11T16:51:38.304Z] $ docker rm -f 2184c5d2f1abe53da8b953270ae94fd312cebae37345119bbdd0e2724e40597f [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-11T16:51:42.694Z] Stashed 41 file(s) [Pipeline] echo [2020-09-11T16:51:42.696Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-11T16:51:42.825Z] Archived original 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 [2020-09-11T16:51:58.289Z] Still waiting to schedule task [2020-09-11T16:51:58.289Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-09-11T16:51:58.294Z] Still waiting to schedule task [2020-09-11T16:51:58.294Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-09-11T16:53:53.977Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2267 in /w/workspace/ndry_app-functions-sdk-go_PR-478 [Pipeline] { [Pipeline] ws [2020-09-11T16:53:54.043Z] Running in /w/workspace/app-functions-sdk-go/4 [Pipeline] { [Pipeline] checkout [2020-09-11T16:53:58.627Z] using credential edgex-jenkins-ssh [2020-09-11T16:53:58.692Z] Cloning the remote Git repository [2020-09-11T16:53:58.692Z] Cloning with configured refspecs honoured and without tags [2020-09-11T16:53:58.761Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-11T16:53:58.877Z] > git init /w/workspace/app-functions-sdk-go/4 # timeout=10 [2020-09-11T16:53:59.000Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-11T16:53:59.001Z] > git --version # timeout=10 [2020-09-11T16:53:59.028Z] > git --version # 'git version 2.17.1' [2020-09-11T16:53:59.030Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-11T16:53:59.091Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/478/head:refs/remotes/origin/PR-478 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-11T16:54:01.879Z] Fetching without tags [2020-09-11T16:54:02.810Z] Merging remotes/origin/master commit b0f6186d0626fdf5d3c1e4e4b0b23af3b3c8cc73 into PR head commit bbd7b90e3502b9d8e77c6a90a93ae744ff1c719b [2020-09-11T16:54:03.035Z] Merge succeeded, producing bbd7b90e3502b9d8e77c6a90a93ae744ff1c719b [2020-09-11T16:54:03.036Z] Checking out Revision bbd7b90e3502b9d8e77c6a90a93ae744ff1c719b (PR-478) [2020-09-11T16:54:01.806Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-11T16:54:01.825Z] > git config --add remote.origin.fetch +refs/pull/478/head:refs/remotes/origin/PR-478 # timeout=10 [2020-09-11T16:54:01.846Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-11T16:54:01.867Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-11T16:54:01.895Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-11T16:54:01.895Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-11T16:54:01.907Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/478/head:refs/remotes/origin/PR-478 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-11T16:54:02.834Z] > git config core.sparsecheckout # timeout=10 [2020-09-11T16:54:02.861Z] > git checkout -f bbd7b90e3502b9d8e77c6a90a93ae744ff1c719b # timeout=10 [2020-09-11T16:54:02.964Z] > git remote # timeout=10 [2020-09-11T16:54:02.980Z] > git config --get remote.origin.url # timeout=10 [2020-09-11T16:54:02.992Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-11T16:54:03.002Z] > git merge b0f6186d0626fdf5d3c1e4e4b0b23af3b3c8cc73 # timeout=10 [2020-09-11T16:54:03.024Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-11T16:54:03.045Z] > git config core.sparsecheckout # timeout=10 [2020-09-11T16:54:03.077Z] > git checkout -f bbd7b90e3502b9d8e77c6a90a93ae744ff1c719b # timeout=10 [2020-09-11T16:54:07.400Z] Commit message: "build: Switch to use Go 1.15" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-11T16:54:10.781Z] ========================================================= [2020-09-11T16:54:10.781Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-11T16:54:10.781Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-11T16:54:11.817Z] + 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 . [2020-09-11T16:54:13.259Z] Sending build context to Docker daemon 37.17MB [2020-09-11T16:54:13.259Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-11T16:54:13.259Z] Step 2/8 : FROM ${BASE} [2020-09-11T16:54:13.532Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-11T16:54:13.532Z] b538f80385f9: Pulling fs layer [2020-09-11T16:54:13.532Z] 74f711af9a0d: Pulling fs layer [2020-09-11T16:54:13.532Z] 99f96fe45779: Pulling fs layer [2020-09-11T16:54:13.532Z] 8529a6b9a6be: Pulling fs layer [2020-09-11T16:54:13.532Z] 45590311c82a: Pulling fs layer [2020-09-11T16:54:13.532Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-11T16:54:13.532Z] 209524e5b208: Pulling fs layer [2020-09-11T16:54:13.532Z] 8529a6b9a6be: Waiting [2020-09-11T16:54:13.532Z] 45590311c82a: Waiting [2020-09-11T16:54:13.532Z] 69ca0ff8b7b3: Waiting [2020-09-11T16:54:13.532Z] 209524e5b208: Waiting [2020-09-11T16:54:13.532Z] 99f96fe45779: Download complete [2020-09-11T16:54:13.532Z] 74f711af9a0d: Verifying Checksum [2020-09-11T16:54:13.532Z] 74f711af9a0d: Download complete [2020-09-11T16:54:13.532Z] 45590311c82a: Verifying Checksum [2020-09-11T16:54:13.532Z] 45590311c82a: Download complete [2020-09-11T16:54:14.131Z] 69ca0ff8b7b3: Verifying Checksum [2020-09-11T16:54:14.131Z] 69ca0ff8b7b3: Download complete [2020-09-11T16:54:14.131Z] b538f80385f9: Verifying Checksum [2020-09-11T16:54:14.131Z] b538f80385f9: Download complete [2020-09-11T16:54:14.743Z] b538f80385f9: Pull complete [2020-09-11T16:54:15.350Z] 74f711af9a0d: Pull complete [2020-09-11T16:54:15.624Z] 99f96fe45779: Pull complete [2020-09-11T16:54:17.079Z] 209524e5b208: Verifying Checksum [2020-09-11T16:54:17.351Z] 8529a6b9a6be: Verifying Checksum [2020-09-11T16:54:17.351Z] 8529a6b9a6be: Download complete [2020-09-11T16:54:27.504Z] 8529a6b9a6be: Pull complete [2020-09-11T16:54:27.777Z] 45590311c82a: Pull complete [2020-09-11T16:54:28.051Z] 69ca0ff8b7b3: Pull complete [2020-09-11T16:54:32.382Z] 209524e5b208: Pull complete [2020-09-11T16:54:32.382Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-11T16:54:32.382Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-11T16:54:32.382Z] ---> 5bddaf1c2fca [2020-09-11T16:54:32.382Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-09-11T16:54:32.382Z] latest: Pulling from library/docker [2020-09-11T16:54:32.382Z] b538f80385f9: Already exists [2020-09-11T16:54:32.382Z] 259a493cd78d: Pulling fs layer [2020-09-11T16:54:32.382Z] b8e66b5100f5: Pulling fs layer [2020-09-11T16:54:32.382Z] 39dc9c94d07c: Pulling fs layer [2020-09-11T16:54:32.382Z] 551b823b3b82: Pulling fs layer [2020-09-11T16:54:32.382Z] 3c52a74df98c: Pulling fs layer [2020-09-11T16:54:32.382Z] 6c9b121b6998: Pulling fs layer [2020-09-11T16:54:32.382Z] 3c52a74df98c: Waiting [2020-09-11T16:54:32.382Z] 551b823b3b82: Waiting [2020-09-11T16:54:32.382Z] 6c9b121b6998: Waiting [2020-09-11T16:54:32.382Z] b8e66b5100f5: Verifying Checksum [2020-09-11T16:54:32.382Z] b8e66b5100f5: Download complete [2020-09-11T16:54:32.382Z] 259a493cd78d: Verifying Checksum [2020-09-11T16:54:32.382Z] 259a493cd78d: Download complete [2020-09-11T16:54:32.382Z] 3c52a74df98c: Verifying Checksum [2020-09-11T16:54:32.382Z] 3c52a74df98c: Download complete [2020-09-11T16:54:32.661Z] 6c9b121b6998: Verifying Checksum [2020-09-11T16:54:32.661Z] 6c9b121b6998: Download complete [2020-09-11T16:54:33.260Z] 259a493cd78d: Pull complete [2020-09-11T16:54:33.535Z] 551b823b3b82: Verifying Checksum [2020-09-11T16:54:33.535Z] 551b823b3b82: Download complete [2020-09-11T16:54:33.535Z] b8e66b5100f5: Pull complete [2020-09-11T16:54:33.535Z] 39dc9c94d07c: Verifying Checksum [2020-09-11T16:54:33.535Z] 39dc9c94d07c: Download complete [2020-09-11T16:54:36.938Z] 39dc9c94d07c: Pull complete [2020-09-11T16:54:37.216Z] 551b823b3b82: Pull complete [2020-09-11T16:54:37.490Z] 3c52a74df98c: Pull complete [2020-09-11T16:54:38.091Z] 6c9b121b6998: Pull complete [2020-09-11T16:54:38.091Z] Digest: sha256:f9a24a777e813e2692920a86530355e3840d0271464fd486bd8708aa018d0ac6 [2020-09-11T16:54:38.091Z] Status: Downloaded newer image for docker:latest [2020-09-11T16:54:44.820Z] ---> 845b791c07ff [2020-09-11T16:54:44.820Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-11T16:54:44.820Z] ---> Running in 4c0348590fe9 [2020-09-11T16:54:44.820Z] Removing intermediate container 4c0348590fe9 [2020-09-11T16:54:44.820Z] ---> 9a0500b130f1 [2020-09-11T16:54:44.820Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-09-11T16:54:44.820Z] ---> Running in 9199f5dbb25b [2020-09-11T16:54:46.254Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-11T16:54:46.848Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-11T16:54:47.821Z] (1/5) Installing libsodium (1.0.18-r0) [2020-09-11T16:54:47.821Z] (2/5) Installing libzmq (4.3.3-r0) [2020-09-11T16:54:48.090Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-09-11T16:54:48.090Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-09-11T16:54:48.090Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-09-11T16:54:48.359Z] Executing busybox-1.31.1-r16.trigger [2020-09-11T16:54:48.359Z] OK: 144 MiB in 44 packages [2020-09-11T16:54:49.793Z] Removing intermediate container 9199f5dbb25b [2020-09-11T16:54:49.793Z] ---> 0e8b46e5aefd [2020-09-11T16:54:49.793Z] Step 6/8 : WORKDIR /build [2020-09-11T16:54:49.793Z] ---> Running in 1c9bf1586dcf [2020-09-11T16:54:50.074Z] Removing intermediate container 1c9bf1586dcf [2020-09-11T16:54:50.074Z] ---> 2ed7019dc14b [2020-09-11T16:54:50.074Z] Step 7/8 : COPY go.mod . [2020-09-11T16:54:50.666Z] ---> 96522d3432ea [2020-09-11T16:54:50.666Z] Step 8/8 : RUN go mod download [2020-09-11T16:54:50.944Z] ---> Running in af3e715dd4a9 [2020-09-11T16:54:54.292Z] Running on prd-centos7-docker-4c-2g-2268 in /w/workspace/ndry_app-functions-sdk-go_PR-478 [Pipeline] { [Pipeline] ws [2020-09-11T16:54:54.385Z] Running in /w/workspace/app-functions-sdk-go/4 [Pipeline] { [Pipeline] checkout [2020-09-11T16:55:02.544Z] using credential edgex-jenkins-ssh [2020-09-11T16:55:02.629Z] Cloning the remote Git repository [2020-09-11T16:55:02.629Z] Cloning with configured refspecs honoured and without tags [2020-09-11T16:55:02.669Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-11T16:55:02.762Z] > git init /w/workspace/app-functions-sdk-go/4 # timeout=10 [2020-09-11T16:55:02.822Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-11T16:55:02.823Z] > git --version # timeout=10 [2020-09-11T16:55:02.835Z] > git --version # 'git version 2.16.5' [2020-09-11T16:55:02.836Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-11T16:55:02.920Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/478/head:refs/remotes/origin/PR-478 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-11T16:55:05.674Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-11T16:55:05.898Z] Fetching without tags [2020-09-11T16:55:06.380Z] Merging remotes/origin/master commit b0f6186d0626fdf5d3c1e4e4b0b23af3b3c8cc73 into PR head commit bbd7b90e3502b9d8e77c6a90a93ae744ff1c719b [2020-09-11T16:55:06.653Z] Merge succeeded, producing bbd7b90e3502b9d8e77c6a90a93ae744ff1c719b [2020-09-11T16:55:06.654Z] Checking out Revision bbd7b90e3502b9d8e77c6a90a93ae744ff1c719b (PR-478) [2020-09-11T16:55:05.714Z] > git config --add remote.origin.fetch +refs/pull/478/head:refs/remotes/origin/PR-478 # timeout=10 [2020-09-11T16:55:05.818Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-11T16:55:05.859Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-11T16:55:05.909Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-11T16:55:05.910Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-11T16:55:05.916Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/478/head:refs/remotes/origin/PR-478 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-11T16:55:06.392Z] > git config core.sparsecheckout # timeout=10 [2020-09-11T16:55:06.444Z] > git checkout -f bbd7b90e3502b9d8e77c6a90a93ae744ff1c719b # timeout=10 [2020-09-11T16:55:06.546Z] > git remote # timeout=10 [2020-09-11T16:55:06.569Z] > git config --get remote.origin.url # timeout=10 [2020-09-11T16:55:06.618Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-11T16:55:06.623Z] > git merge b0f6186d0626fdf5d3c1e4e4b0b23af3b3c8cc73 # timeout=10 [2020-09-11T16:55:06.640Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-11T16:55:06.660Z] > git config core.sparsecheckout # timeout=10 [2020-09-11T16:55:06.669Z] > git checkout -f bbd7b90e3502b9d8e77c6a90a93ae744ff1c719b # timeout=10 [2020-09-11T16:55:10.838Z] Commit message: "build: Switch to use Go 1.15" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-11T16:55:13.903Z] ========================================================= [2020-09-11T16:55:13.903Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-11T16:55:13.903Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-11T16:55:14.787Z] + 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 . [2020-09-11T16:55:16.066Z] Sending build context to Docker daemon 37.17MB [2020-09-11T16:55:16.066Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-11T16:55:16.066Z] Step 2/8 : FROM ${BASE} [2020-09-11T16:55:16.338Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-11T16:55:16.338Z] df20fa9351a1: Pulling fs layer [2020-09-11T16:55:16.338Z] ed8968b2872e: Pulling fs layer [2020-09-11T16:55:16.338Z] a92cc7c5fd73: Pulling fs layer [2020-09-11T16:55:16.338Z] e871e8e8d7a9: Pulling fs layer [2020-09-11T16:55:16.338Z] e73272ec9a57: Pulling fs layer [2020-09-11T16:55:16.338Z] 1e910a182e73: Pulling fs layer [2020-09-11T16:55:16.338Z] 4e634b169226: Pulling fs layer [2020-09-11T16:55:16.338Z] 1e910a182e73: Waiting [2020-09-11T16:55:16.338Z] e871e8e8d7a9: Waiting [2020-09-11T16:55:16.338Z] 4e634b169226: Waiting [2020-09-11T16:55:16.338Z] e73272ec9a57: Waiting [2020-09-11T16:55:16.338Z] a92cc7c5fd73: Verifying Checksum [2020-09-11T16:55:16.338Z] a92cc7c5fd73: Download complete [2020-09-11T16:55:16.338Z] ed8968b2872e: Verifying Checksum [2020-09-11T16:55:16.338Z] ed8968b2872e: Download complete [2020-09-11T16:55:16.338Z] e73272ec9a57: Verifying Checksum [2020-09-11T16:55:16.338Z] e73272ec9a57: Download complete [2020-09-11T16:55:16.641Z] 1e910a182e73: Verifying Checksum [2020-09-11T16:55:16.641Z] 1e910a182e73: Download complete [2020-09-11T16:55:16.641Z] df20fa9351a1: Verifying Checksum [2020-09-11T16:55:16.641Z] df20fa9351a1: Download complete [2020-09-11T16:55:17.270Z] df20fa9351a1: Pull complete [2020-09-11T16:55:17.561Z] ed8968b2872e: Pull complete [2020-09-11T16:55:17.846Z] a92cc7c5fd73: Pull complete [2020-09-11T16:55:20.489Z] 4e634b169226: Verifying Checksum [2020-09-11T16:55:20.489Z] 4e634b169226: Download complete [2020-09-11T16:55:21.984Z] e871e8e8d7a9: Verifying Checksum [2020-09-11T16:55:21.984Z] e871e8e8d7a9: Download complete [2020-09-11T16:55:23.334Z] Removing intermediate container af3e715dd4a9 [2020-09-11T16:55:23.334Z] ---> 44f51260e679 [2020-09-11T16:55:23.334Z] Successfully built 44f51260e679 [2020-09-11T16:55:23.334Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-11T16:55:24.224Z] + docker inspect -f . ci-base-image-arm64 [2020-09-11T16:55:24.225Z] . [Pipeline] withDockerContainer [2020-09-11T16:55:24.495Z] prd-ubuntu18.04-docker-arm64-4c-16g-2267 does not seem to be running inside a container [2020-09-11T16:55:24.583Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@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 ******** ci-base-image-arm64 cat [2020-09-11T16:55:26.456Z] $ docker top 48d558f65be296f65b9cfac8b41d9eb707e20a2d9a793395844ed3a521750b04 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-11T16:55:27.846Z] + go version [2020-09-11T16:55:27.847Z] go version go1.15.2 linux/arm64 [Pipeline] sh [2020-09-11T16:55:28.889Z] + make test [2020-09-11T16:55:28.889Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-09-11T16:55:30.360Z] e871e8e8d7a9: Pull complete [2020-09-11T16:55:30.360Z] e73272ec9a57: Pull complete [2020-09-11T16:55:30.360Z] 1e910a182e73: Pull complete [2020-09-11T16:55:30.875Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-09-11T16:55:37.238Z] 4e634b169226: Pull complete [2020-09-11T16:55:37.238Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-11T16:55:37.238Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-11T16:55:37.238Z] ---> f7629b54cfaa [2020-09-11T16:55:37.238Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-09-11T16:55:37.238Z] latest: Pulling from library/docker [2020-09-11T16:55:37.238Z] df20fa9351a1: Already exists [2020-09-11T16:55:37.238Z] 25ad7478873d: Pulling fs layer [2020-09-11T16:55:37.238Z] 4684f6177b5d: Pulling fs layer [2020-09-11T16:55:37.238Z] 46e300cec669: Pulling fs layer [2020-09-11T16:55:37.238Z] 63038576ad94: Pulling fs layer [2020-09-11T16:55:37.238Z] 0fdb76c4706c: Pulling fs layer [2020-09-11T16:55:37.238Z] cb7edeffdfd5: Pulling fs layer [2020-09-11T16:55:37.238Z] 0fdb76c4706c: Waiting [2020-09-11T16:55:37.238Z] cb7edeffdfd5: Waiting [2020-09-11T16:55:37.238Z] 63038576ad94: Waiting [2020-09-11T16:55:37.238Z] 4684f6177b5d: Download complete [2020-09-11T16:55:37.238Z] 25ad7478873d: Download complete [2020-09-11T16:55:37.673Z] 63038576ad94: Verifying Checksum [2020-09-11T16:55:37.673Z] 63038576ad94: Download complete [2020-09-11T16:55:37.673Z] 0fdb76c4706c: Verifying Checksum [2020-09-11T16:55:37.673Z] 0fdb76c4706c: Download complete [2020-09-11T16:55:38.003Z] 25ad7478873d: Pull complete [2020-09-11T16:55:38.003Z] cb7edeffdfd5: Verifying Checksum [2020-09-11T16:55:38.003Z] cb7edeffdfd5: Download complete [2020-09-11T16:55:38.003Z] 4684f6177b5d: Pull complete [2020-09-11T16:55:39.070Z] 46e300cec669: Verifying Checksum [2020-09-11T16:55:39.070Z] 46e300cec669: Download complete [2020-09-11T16:55:42.628Z] 46e300cec669: Pull complete [2020-09-11T16:55:42.628Z] 63038576ad94: Pull complete [2020-09-11T16:55:42.900Z] 0fdb76c4706c: Pull complete [2020-09-11T16:55:42.900Z] cb7edeffdfd5: Pull complete [2020-09-11T16:55:42.901Z] Digest: sha256:f9a24a777e813e2692920a86530355e3840d0271464fd486bd8708aa018d0ac6 [2020-09-11T16:55:42.901Z] Status: Downloaded newer image for docker:latest [2020-09-11T16:55:45.500Z] ---> 9d0638770bd5 [2020-09-11T16:55:45.500Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-11T16:55:45.500Z] ---> Running in 15634cc94a0f [2020-09-11T16:55:45.500Z] Removing intermediate container 15634cc94a0f [2020-09-11T16:55:45.500Z] ---> 457fa7df2c61 [2020-09-11T16:55:45.500Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-09-11T16:55:45.500Z] ---> Running in 0fd7477fbd78 [2020-09-11T16:55:46.102Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-11T16:55:47.071Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-11T16:55:47.653Z] (1/5) Installing libsodium (1.0.18-r0) [2020-09-11T16:55:47.653Z] (2/5) Installing libzmq (4.3.3-r0) [2020-09-11T16:55:47.653Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-09-11T16:55:47.653Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-09-11T16:55:47.942Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-09-11T16:55:47.942Z] Executing busybox-1.31.1-r16.trigger [2020-09-11T16:55:47.942Z] OK: 167 MiB in 44 packages [2020-09-11T16:55:48.568Z] Removing intermediate container 0fd7477fbd78 [2020-09-11T16:55:48.568Z] ---> ec1d1f4eaf4b [2020-09-11T16:55:48.568Z] Step 6/8 : WORKDIR /build [2020-09-11T16:55:48.568Z] ---> Running in ac572d76d17a [2020-09-11T16:55:48.837Z] Removing intermediate container ac572d76d17a [2020-09-11T16:55:48.837Z] ---> 0b7848242cfa [2020-09-11T16:55:48.837Z] Step 7/8 : COPY go.mod . [2020-09-11T16:55:49.111Z] ---> 6ccd2c0ac8ad [2020-09-11T16:55:49.111Z] Step 8/8 : RUN go mod download [2020-09-11T16:55:49.111Z] ---> Running in 3d538c6d4d43 [2020-09-11T16:55:53.077Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.156s coverage: 86.2% of statements [2020-09-11T16:56:21.591Z] Removing intermediate container 3d538c6d4d43 [2020-09-11T16:56:21.591Z] ---> 7dad6e9b8550 [2020-09-11T16:56:21.591Z] Successfully built 7dad6e9b8550 [2020-09-11T16:56:21.591Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-11T16:56:22.462Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-11T16:56:22.462Z] . [Pipeline] withDockerContainer [2020-09-11T16:56:22.584Z] prd-centos7-docker-4c-2g-2268 does not seem to be running inside a container [2020-09-11T16:56:22.648Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@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 ******** ci-base-image-x86_64 cat [2020-09-11T16:56:23.658Z] $ docker top a8a7889f0ddba5af3100d0c343d36e19b114be5d92f445294d2e8c387b432d6e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-11T16:56:24.238Z] + go version [2020-09-11T16:56:24.238Z] go version go1.15.2 linux/amd64 [Pipeline] sh [2020-09-11T16:56:24.595Z] + make test [2020-09-11T16:56:24.595Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-09-11T16:56:26.609Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-09-11T16:56:32.187Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.067s coverage: 56.1% of statements [2020-09-11T16:56:32.187Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-09-11T16:56:32.187Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-09-11T16:56:32.187Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.081s coverage: 53.5% of statements [2020-09-11T16:56:32.187Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-09-11T16:56:32.187Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.258s coverage: 69.1% of statements [2020-09-11T16:56:39.547Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.095s coverage: 86.2% of statements [2020-09-11T16:56:42.425Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.509s coverage: 73.2% of statements [2020-09-11T16:56:42.425Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.027s coverage: 89.5% of statements [2020-09-11T16:56:42.425Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.023s coverage: 100.0% of statements [2020-09-11T16:56:42.425Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.093s coverage: 100.0% of statements [2020-09-11T16:56:42.425Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.013s coverage: 100.0% of statements [2020-09-11T16:56:42.425Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.011s coverage: 100.0% of statements [2020-09-11T16:56:42.425Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-09-11T16:56:42.425Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-09-11T16:56:42.425Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-09-11T16:56:42.425Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-09-11T16:56:42.425Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-09-11T16:56:42.425Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-09-11T16:56:42.425Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-09-11T16:56:42.425Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.011s coverage: 96.6% of statements [2020-09-11T16:56:42.425Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-09-11T16:56:42.425Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.010s coverage: 97.7% of statements [2020-09-11T16:56:42.425Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-09-11T16:56:42.425Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-09-11T16:56:42.425Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.024s coverage: 9.4% of statements [2020-09-11T16:56:43.014Z] level=INFO ts=2020-09-11T16:56:35.631830827Z app=app_functions_sdk_go source=messaging.go:47 msg="Initializing Message Bus Trigger for 'zero'" [2020-09-11T16:56:43.014Z] level=INFO ts=2020-09-11T16:56:35.642814688Z app=app_functions_sdk_go source=messaging.go:61 msg="Subscribing to topic: 'events' @ tcp://localhost:5563" [2020-09-11T16:56:43.014Z] level=INFO ts=2020-09-11T16:56:35.650617773Z app=app_functions_sdk_go source=messaging.go:71 msg="Publishing to topic: 'publish' @ tcp://*:5563" [2020-09-11T16:56:43.014Z] level=INFO ts=2020-09-11T16:56:35.65751207Z app=app_functions_sdk_go source=messaging.go:47 msg="Initializing Message Bus Trigger for 'aaaa'" [2020-09-11T16:56:43.014Z] level=INFO ts=2020-09-11T16:56:35.665075298Z app=app_functions_sdk_go source=messaging.go:47 msg="Initializing Message Bus Trigger for 'zero'" [2020-09-11T16:56:43.014Z] level=INFO ts=2020-09-11T16:56:35.670565683Z app=app_functions_sdk_go source=messaging.go:61 msg="Subscribing to topic: '' @ tcp://localhost:5564" [2020-09-11T16:56:43.014Z] level=INFO ts=2020-09-11T16:56:35.676655727Z app=app_functions_sdk_go source=messaging.go:71 msg="Publishing to topic: '' @ tcp://*:5566" [2020-09-11T16:56:43.014Z] --- FAIL: TestInitializeAndProcessEventWithNoOutput (3.32s) [2020-09-11T16:56:43.014Z] messaging_test.go:174: [2020-09-11T16:56:43.014Z] Error Trace: messaging_test.go:174 [2020-09-11T16:56:43.014Z] Error: Should be true [2020-09-11T16:56:43.014Z] Test: TestInitializeAndProcessEventWithNoOutput [2020-09-11T16:56:43.014Z] Messages: Transform never called [2020-09-11T16:56:43.014Z] level=INFO ts=2020-09-11T16:56:38.986639055Z app=app_functions_sdk_go source=messaging.go:47 msg="Initializing Message Bus Trigger for 'zero'" [2020-09-11T16:56:43.014Z] level=INFO ts=2020-09-11T16:56:38.996751699Z app=app_functions_sdk_go source=messaging.go:61 msg="Subscribing to topic: 'SubscribeTopic' @ tcp://localhost:5584" [2020-09-11T16:56:43.014Z] level=INFO ts=2020-09-11T16:56:39.00378292Z app=app_functions_sdk_go source=messaging.go:71 msg="Publishing to topic: 'PublishTopic' @ tcp://*:5586" [2020-09-11T16:56:43.014Z] level=DEBUG ts=2020-09-11T16:56:39.313013689Z app=app_functions_sdk_go source=runtime.go:59 msg="Processing message: 1 Transforms" [2020-09-11T16:56:43.014Z] level=INFO ts=2020-09-11T16:56:42.313353623Z app=app_functions_sdk_go source=messaging.go:47 msg="Initializing Message Bus Trigger for 'zero'" [2020-09-11T16:56:43.014Z] level=INFO ts=2020-09-11T16:56:42.428438705Z app=app_functions_sdk_go source=messaging.go:61 msg="Subscribing to topic: 'SubscribeTopic' @ tcp://localhost:5590" [2020-09-11T16:56:43.014Z] level=INFO ts=2020-09-11T16:56:42.436500286Z app=app_functions_sdk_go source=messaging.go:71 msg="Publishing to topic: 'PublishTopic' @ tcp://*:5588" [2020-09-11T16:56:43.014Z] FAIL [2020-09-11T16:56:43.014Z] coverage: 75.0% of statements [2020-09-11T16:56:43.014Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 7.138s [2020-09-11T16:56:43.014Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.033s coverage: 89.3% of statements [2020-09-11T16:56:43.014Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.030s coverage: 88.9% of statements [2020-09-11T16:56:43.014Z] level=ERROR ts=2020-09-11T16:56:38.261703735Z app=app_functions_sdk_go source=server.go:122 msg="Error encoding the data: json: unsupported value: +Inf" [2020-09-11T16:56:43.014Z] level=INFO ts=2020-09-11T16:56:38.285106398Z app=app_functions_sdk_go source=server.go:284 msg="Registering standard routes..." [2020-09-11T16:56:43.014Z] level=INFO ts=2020-09-11T16:56:38.292002495Z app=app_functions_sdk_go source=controller.go:62 msg="Registering standard V2 routes..." [2020-09-11T16:56:43.014Z] level=INFO ts=2020-09-11T16:56:38.298842381Z app=app_functions_sdk_go source=server.go:284 msg="Registering standard routes..." [2020-09-11T16:56:43.014Z] level=INFO ts=2020-09-11T16:56:38.305668246Z app=app_functions_sdk_go source=controller.go:62 msg="Registering standard V2 routes..." [2020-09-11T16:56:43.014Z] level=INFO ts=2020-09-11T16:56:38.312377438Z app=app_functions_sdk_go source=server.go:284 msg="Registering standard routes..." [2020-09-11T16:56:43.014Z] level=INFO ts=2020-09-11T16:56:38.318997777Z app=app_functions_sdk_go source=controller.go:62 msg="Registering standard V2 routes..." [2020-09-11T16:56:43.014Z] level=INFO ts=2020-09-11T16:56:38.327186973Z app=app_functions_sdk_go source=server.go:284 msg="Registering standard routes..." [2020-09-11T16:56:43.014Z] level=INFO ts=2020-09-11T16:56:38.333858993Z app=app_functions_sdk_go source=controller.go:62 msg="Registering standard V2 routes..." [2020-09-11T16:56:43.014Z] level=INFO ts=2020-09-11T16:56:38.342430271Z app=app_functions_sdk_go source=server.go:284 msg="Registering standard routes..." [2020-09-11T16:56:43.014Z] level=INFO ts=2020-09-11T16:56:38.349458842Z app=app_functions_sdk_go source=controller.go:62 msg="Registering standard V2 routes..." [2020-09-11T16:56:43.014Z] level=ERROR ts=2020-09-11T16:56:38.357073591Z app=app_functions_sdk_go source=server.go:268 msg="Storing secret failed: can't store secret(s) 'SecretProvider' is not properly initialized" [2020-09-11T16:56:43.014Z] level=ERROR ts=2020-09-11T16:56:38.364427442Z app=app_functions_sdk_go source=server.go:268 msg="Storing secret failed: can't store secret(s) 'SecretProvider' is not properly initialized" [2020-09-11T16:56:43.014Z] level=ERROR ts=2020-09-11T16:56:38.37134697Z app=app_functions_sdk_go source=server.go:268 msg="Missing required field 'Secrets'" [2020-09-11T16:56:43.014Z] level=ERROR ts=2020-09-11T16:56:38.379468374Z app=app_functions_sdk_go source=server.go:268 msg="Failed to parse json payload: invalid character '<' looking for beginning of value" [2020-09-11T16:56:43.015Z] --- FAIL: TestPostSecretRoute (0.04s) [2020-09-11T16:56:43.015Z] --- FAIL: TestPostSecretRoute/PostSecretRoute:_Good_case_with_one_secret (0.01s) [2020-09-11T16:56:43.015Z] server_test.go:202: [2020-09-11T16:56:43.015Z] Error Trace: server_test.go:202 [2020-09-11T16:56:43.015Z] Error: Not equal: [2020-09-11T16:56:43.015Z] expected: 201 [2020-09-11T16:56:43.015Z] actual : 500 [2020-09-11T16:56:43.015Z] Test: TestPostSecretRoute/PostSecretRoute:_Good_case_with_one_secret [2020-09-11T16:56:43.015Z] Messages: Expected secret doesn't match postSecret [2020-09-11T16:56:43.015Z] --- FAIL: TestPostSecretRoute/PostSecretRoute:_Good_case_with_two_secrets (0.01s) [2020-09-11T16:56:43.015Z] server_test.go:202: [2020-09-11T16:56:43.015Z] Error Trace: server_test.go:202 [2020-09-11T16:56:43.015Z] Error: Not equal: [2020-09-11T16:56:43.015Z] expected: 201 [2020-09-11T16:56:43.015Z] actual : 500 [2020-09-11T16:56:43.015Z] Test: TestPostSecretRoute/PostSecretRoute:_Good_case_with_two_secrets [2020-09-11T16:56:43.015Z] Messages: Expected secret doesn't match postSecret [2020-09-11T16:56:43.015Z] FAIL [2020-09-11T16:56:43.015Z] coverage: 81.3% of statements [2020-09-11T16:56:43.015Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.166s [2020-09-11T16:57:02.208Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.069s coverage: 56.1% of statements [2020-09-11T16:57:02.208Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-09-11T16:57:02.208Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-09-11T16:57:02.208Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.049s coverage: 53.5% of statements [2020-09-11T16:57:02.208Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-09-11T16:57:02.208Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.510s coverage: 69.1% of statements [2020-09-11T16:57:05.167Z] level=DEBUG ts=2020-09-11T16:56:40.686578663Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-11T16:57:05.167Z] level=DEBUG ts=2020-09-11T16:56:40.696887962Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-11T16:57:05.167Z] level=DEBUG ts=2020-09-11T16:56:40.703454809Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-11T16:57:05.167Z] level=DEBUG ts=2020-09-11T16:56:40.709705307Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." [2020-09-11T16:57:05.167Z] level=DEBUG ts=2020-09-11T16:56:40.715556203Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-11T16:57:05.167Z] level=DEBUG ts=2020-09-11T16:56:40.72144475Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-11T16:57:05.167Z] level=DEBUG ts=2020-09-11T16:56:40.728241074Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-11T16:57:05.167Z] level=DEBUG ts=2020-09-11T16:56:40.734078569Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." [2020-09-11T16:57:05.167Z] level=DEBUG ts=2020-09-11T16:56:40.740408509Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-11T16:57:05.167Z] level=DEBUG ts=2020-09-11T16:56:42.740989049Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-11T16:57:05.167Z] level=DEBUG ts=2020-09-11T16:56:42.741057841Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-11T16:57:05.167Z] level=DEBUG ts=2020-09-11T16:56:42.746638638Z app=app_functions_sdk_go source=batch.go:150 msg="Timer has elapsed" [2020-09-11T16:57:05.167Z] level=DEBUG ts=2020-09-11T16:56:42.768177284Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." [2020-09-11T16:57:05.167Z] level=DEBUG ts=2020-09-11T16:56:42.775608587Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-11T16:57:05.167Z] level=DEBUG ts=2020-09-11T16:56:52.776539999Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-11T16:57:05.167Z] level=DEBUG ts=2020-09-11T16:57:02.776858264Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-11T16:57:05.167Z] level=DEBUG ts=2020-09-11T16:57:02.800225008Z app=app_functions_sdk_go source=batch.go:148 msg="Batch count has been reached" [2020-09-11T16:57:05.167Z] level=DEBUG ts=2020-09-11T16:57:02.80028624Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." [2020-09-11T16:57:05.167Z] level=DEBUG ts=2020-09-11T16:57:02.806393861Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." [2020-09-11T16:57:05.167Z] panic: interface conversion: interface {} is nil, not [][]uint8 [2020-09-11T16:57:05.167Z] [2020-09-11T16:57:05.167Z] goroutine 38 [running]: [2020-09-11T16:57:05.167Z] github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms.TestBatchInTimeAndCountMode_CountMet.func3(0x400020a0f0, 0x400020a100, 0x4000226080, 0x4000200180, 0x400020a0e0) [2020-09-11T16:57:05.167Z] /w/workspace/app-functions-sdk-go/4/pkg/transforms/batch_test.go:119 +0x224 [2020-09-11T16:57:05.167Z] created by github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms.TestBatchInTimeAndCountMode_CountMet [2020-09-11T16:57:05.167Z] /w/workspace/app-functions-sdk-go/4/pkg/transforms/batch_test.go:114 +0x17c [2020-09-11T16:57:05.167Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 22.148s [2020-09-11T16:57:05.167Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.013s coverage: 94.4% of statements [2020-09-11T16:57:05.167Z] FAIL [2020-09-11T16:57:05.167Z] make: *** [Makefile:6: test] Error 1 [Pipeline] } [2020-09-11T16:57:05.188Z] $ docker stop --time=1 48d558f65be296f65b9cfac8b41d9eb707e20a2d9a793395844ed3a521750b04 [2020-09-11T16:57:07.135Z] $ docker rm -f 48d558f65be296f65b9cfac8b41d9eb707e20a2d9a793395844ed3a521750b04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-09-11T16:57:09.179Z] Failed in branch arm64 [2020-09-11T16:57:14.641Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.615s coverage: 73.2% of statements [2020-09-11T16:57:14.641Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.031s coverage: 89.5% of statements [2020-09-11T16:57:14.641Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.038s coverage: 100.0% of statements [2020-09-11T16:57:14.641Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.079s coverage: 100.0% of statements [2020-09-11T16:57:14.641Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.006s coverage: 100.0% of statements [2020-09-11T16:57:14.641Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.010s coverage: 100.0% of statements [2020-09-11T16:57:14.641Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-09-11T16:57:14.641Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-09-11T16:57:14.641Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-09-11T16:57:14.641Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-09-11T16:57:14.641Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-09-11T16:57:14.641Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-09-11T16:57:14.641Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-09-11T16:57:14.641Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.010s coverage: 96.6% of statements [2020-09-11T16:57:14.641Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-09-11T16:57:14.641Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.009s coverage: 97.7% of statements [2020-09-11T16:57:14.641Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-09-11T16:57:14.641Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-09-11T16:57:14.641Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.014s coverage: 9.4% of statements [2020-09-11T16:57:14.641Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 7.046s coverage: 75.0% of statements [2020-09-11T16:57:14.641Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.035s coverage: 89.3% of statements [2020-09-11T16:57:14.641Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.018s coverage: 88.9% of statements [2020-09-11T16:57:14.641Z] level=ERROR ts=2020-09-11T16:57:06.548952866Z app=app_functions_sdk_go source=server.go:122 msg="Error encoding the data: json: unsupported value: +Inf" [2020-09-11T16:57:14.641Z] level=INFO ts=2020-09-11T16:57:06.561524451Z app=app_functions_sdk_go source=server.go:284 msg="Registering standard routes..." [2020-09-11T16:57:14.642Z] level=INFO ts=2020-09-11T16:57:06.569714929Z app=app_functions_sdk_go source=controller.go:62 msg="Registering standard V2 routes..." [2020-09-11T16:57:14.642Z] level=INFO ts=2020-09-11T16:57:06.576877714Z app=app_functions_sdk_go source=server.go:284 msg="Registering standard routes..." [2020-09-11T16:57:14.642Z] level=INFO ts=2020-09-11T16:57:06.596877658Z app=app_functions_sdk_go source=controller.go:62 msg="Registering standard V2 routes..." [2020-09-11T16:57:14.642Z] level=INFO ts=2020-09-11T16:57:06.603482906Z app=app_functions_sdk_go source=server.go:284 msg="Registering standard routes..." [2020-09-11T16:57:14.642Z] level=INFO ts=2020-09-11T16:57:06.609789434Z app=app_functions_sdk_go source=controller.go:62 msg="Registering standard V2 routes..." [2020-09-11T16:57:14.642Z] level=INFO ts=2020-09-11T16:57:06.616599378Z app=app_functions_sdk_go source=server.go:284 msg="Registering standard routes..." [2020-09-11T16:57:14.642Z] level=INFO ts=2020-09-11T16:57:06.622699451Z app=app_functions_sdk_go source=controller.go:62 msg="Registering standard V2 routes..." [2020-09-11T16:57:14.642Z] level=INFO ts=2020-09-11T16:57:06.629371032Z app=app_functions_sdk_go source=server.go:284 msg="Registering standard routes..." [2020-09-11T16:57:14.642Z] level=INFO ts=2020-09-11T16:57:06.635405015Z app=app_functions_sdk_go source=controller.go:62 msg="Registering standard V2 routes..." [2020-09-11T16:57:14.642Z] level=ERROR ts=2020-09-11T16:57:06.640916186Z app=app_functions_sdk_go source=server.go:268 msg="Storing secret failed: can't store secret(s) 'SecretProvider' is not properly initialized" [2020-09-11T16:57:14.642Z] level=ERROR ts=2020-09-11T16:57:06.646159443Z app=app_functions_sdk_go source=server.go:268 msg="Storing secret failed: can't store secret(s) 'SecretProvider' is not properly initialized" [2020-09-11T16:57:14.642Z] level=ERROR ts=2020-09-11T16:57:06.651625787Z app=app_functions_sdk_go source=server.go:268 msg="Missing required field 'Secrets'" [2020-09-11T16:57:14.642Z] level=ERROR ts=2020-09-11T16:57:06.656765491Z app=app_functions_sdk_go source=server.go:268 msg="Failed to parse json payload: invalid character '<' looking for beginning of value" [2020-09-11T16:57:14.642Z] --- FAIL: TestPostSecretRoute (0.03s) [2020-09-11T16:57:14.642Z] --- FAIL: TestPostSecretRoute/PostSecretRoute:_Good_case_with_one_secret (0.01s) [2020-09-11T16:57:14.642Z] server_test.go:202: [2020-09-11T16:57:14.642Z] Error Trace: server_test.go:202 [2020-09-11T16:57:14.642Z] Error: Not equal: [2020-09-11T16:57:14.642Z] expected: 201 [2020-09-11T16:57:14.642Z] actual : 500 [2020-09-11T16:57:14.642Z] Test: TestPostSecretRoute/PostSecretRoute:_Good_case_with_one_secret [2020-09-11T16:57:14.642Z] Messages: Expected secret doesn't match postSecret [2020-09-11T16:57:14.642Z] --- FAIL: TestPostSecretRoute/PostSecretRoute:_Good_case_with_two_secrets (0.01s) [2020-09-11T16:57:14.642Z] server_test.go:202: [2020-09-11T16:57:14.642Z] Error Trace: server_test.go:202 [2020-09-11T16:57:14.642Z] Error: Not equal: [2020-09-11T16:57:14.642Z] expected: 201 [2020-09-11T16:57:14.642Z] actual : 500 [2020-09-11T16:57:14.642Z] Test: TestPostSecretRoute/PostSecretRoute:_Good_case_with_two_secrets [2020-09-11T16:57:14.642Z] Messages: Expected secret doesn't match postSecret [2020-09-11T16:57:14.642Z] FAIL [2020-09-11T16:57:14.642Z] coverage: 81.3% of statements [2020-09-11T16:57:14.642Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.124s [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:08.57031683Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:08.578892709Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:08.584113007Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:08.588257415Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:08.593173025Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:08.598027108Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:08.603121822Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:08.60746405Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:08.611849355Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:10.612414054Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:10.612894931Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:10.647938631Z app=app_functions_sdk_go source=batch.go:150 msg="Timer has elapsed" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:10.772738294Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:10.781452045Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:20.781980453Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:30.782675974Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:30.793577625Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:30.793805447Z app=app_functions_sdk_go source=batch.go:148 msg="Batch count has been reached" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:30.803843927Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:30.808991861Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:30.80905061Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:30.809112724Z app=app_functions_sdk_go source=batch.go:133 msg="Batching Data" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:33.813631749Z app=app_functions_sdk_go source=batch.go:150 msg="Timer has elapsed" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:33.823975488Z app=app_functions_sdk_go source=batch.go:177 msg="Forwarding Batched Data..." [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:33.829027158Z app=app_functions_sdk_go source=compression.go:48 msg="Compression with GZIP" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:33.834917345Z app=app_functions_sdk_go source=compression.go:48 msg="Compression with GZIP" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:33.842249985Z app=app_functions_sdk_go source=compression.go:75 msg="Compression with ZLIB" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:33.848156084Z app=app_functions_sdk_go source=compression.go:75 msg="Compression with ZLIB" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:33.854363124Z app=app_functions_sdk_go source=conversion.go:43 msg="Transforming to XML" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:33.859962368Z app=app_functions_sdk_go source=conversion.go:43 msg="Transforming to XML" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:33.864837164Z app=app_functions_sdk_go source=conversion.go:43 msg="Transforming to XML" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:33.869936002Z app=app_functions_sdk_go source=conversion.go:43 msg="Transforming to XML" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:33.888921737Z app=app_functions_sdk_go source=conversion.go:60 msg="Transforming to JSON" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:33.895028196Z app=app_functions_sdk_go source=conversion.go:60 msg="Transforming to JSON" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:33.89988409Z app=app_functions_sdk_go source=conversion.go:60 msg="Transforming to JSON" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:33.917293813Z app=app_functions_sdk_go source=conversion.go:60 msg="Transforming to JSON" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:33.919723194Z app=app_functions_sdk_go source=context.go:78 msg="Marking event as pushed" [2020-09-11T16:57:36.705Z] level=ERROR ts=2020-09-11T16:57:33.922927288Z app=app_functions_sdk_go source=coredata.go:41 msg="No EventID or EventChecksum Provided" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:33.925761266Z app=app_functions_sdk_go source=context.go:101 msg="Pushing to CoreData" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:33.945565713Z app=app_functions_sdk_go source=encryption.go:60 msg="Encrypting with AES" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:33.948451603Z app=app_functions_sdk_go source=filter.go:44 msg="Filtering by DeviceID" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:33.951606956Z app=app_functions_sdk_go source=filter.go:44 msg="Filtering by DeviceID" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:33.953669823Z app=app_functions_sdk_go source=filter.go:44 msg="Filtering by DeviceID" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:33.955530335Z app=app_functions_sdk_go source=filter.go:44 msg="Filtering by DeviceID" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:33.957410714Z app=app_functions_sdk_go source=filter.go:44 msg="Filtering by DeviceID" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:33.959482864Z app=app_functions_sdk_go source=filter.go:44 msg="Filtering by DeviceID" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:33.961569761Z app=app_functions_sdk_go source=filter.go:44 msg="Filtering by DeviceID" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:33.963576793Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:33.96760324Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:34.062243272Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:34.065269554Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:34.069648477Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:34.072354614Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:34.074501335Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:34.07649067Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:34.078566349Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:34.080650753Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:34.083648816Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:34.085769832Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:34.088721549Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:34.091903025Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:34.094955519Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-11T16:57:36.705Z] --- FAIL: TestFilterOutByValueDescriptor (0.02s) [2020-09-11T16:57:36.705Z] filter_test.go:215: [2020-09-11T16:57:36.705Z] Error Trace: filter_test.go:215 [2020-09-11T16:57:36.705Z] Error: Should be true [2020-09-11T16:57:36.705Z] Test: TestFilterOutByValueDescriptor [2020-09-11T16:57:36.705Z] Messages: Pipeline should continue [2020-09-11T16:57:36.705Z] filter_test.go:231: [2020-09-11T16:57:36.705Z] Error Trace: filter_test.go:231 [2020-09-11T16:57:36.705Z] Error: Should be true [2020-09-11T16:57:36.705Z] Test: TestFilterOutByValueDescriptor [2020-09-11T16:57:36.705Z] Messages: Pipeline should continue [2020-09-11T16:57:36.705Z] filter_test.go:235: [2020-09-11T16:57:36.705Z] Error Trace: filter_test.go:235 [2020-09-11T16:57:36.705Z] Error: Should be true [2020-09-11T16:57:36.705Z] Test: TestFilterOutByValueDescriptor [2020-09-11T16:57:36.705Z] Messages: Pipeline should continue [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:34.098303051Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:34.101195334Z app=app_functions_sdk_go source=filter.go:86 msg="Filtering by ValueDescriptor" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:34.105990127Z app=app_functions_sdk_go source=http.go:98 msg="POSTing data" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:34.11325156Z app=app_functions_sdk_go source=http.go:105 msg="Response: 200 OK" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:34.115947433Z app=app_functions_sdk_go source=http.go:106 msg="Sent data: test message" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:34.118164897Z app=app_functions_sdk_go source=http.go:98 msg="POSTing data" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:34.121521316Z app=app_functions_sdk_go source=http.go:105 msg="Response: 404 Not Found" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:34.124982967Z app=app_functions_sdk_go source=http.go:106 msg="Sent data: test message" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:34.128034526Z app=app_functions_sdk_go source=http.go:98 msg="POSTing data" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:34.131149419Z app=app_functions_sdk_go source=http.go:105 msg="Response: 404 Not Found" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:34.133723093Z app=app_functions_sdk_go source=http.go:106 msg="Sent data: test message" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:34.137389462Z app=app_functions_sdk_go source=http.go:98 msg="POSTing data" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:34.140671409Z app=app_functions_sdk_go source=http.go:105 msg="Response: 200 OK" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:34.145121529Z app=app_functions_sdk_go source=http.go:106 msg="Sent data: test message" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:34.147655506Z app=app_functions_sdk_go source=http.go:98 msg="POSTing data" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:34.150927845Z app=app_functions_sdk_go source=http.go:105 msg="Response: 200 OK" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:34.163861222Z app=app_functions_sdk_go source=http.go:106 msg="Sent data: test message" [2020-09-11T16:57:36.705Z] --- FAIL: TestHTTPPostWithSecrets (0.04s) [2020-09-11T16:57:36.705Z] http_test.go:121: Unexpected header name received application/json, expected application/json [2020-09-11T16:57:36.705Z] http_test.go:120: [2020-09-11T16:57:36.705Z] Error Trace: http_test.go:120 [2020-09-11T16:57:36.705Z] server.go:2042 [2020-09-11T16:57:36.705Z] server.go:2843 [2020-09-11T16:57:36.705Z] server.go:1925 [2020-09-11T16:57:36.705Z] asm_amd64.s:1374 [2020-09-11T16:57:36.705Z] Error: Not equal: [2020-09-11T16:57:36.705Z] expected: "" [2020-09-11T16:57:36.705Z] actual : "value" [2020-09-11T16:57:36.705Z] [2020-09-11T16:57:36.705Z] Diff: [2020-09-11T16:57:36.705Z] --- Expected [2020-09-11T16:57:36.705Z] +++ Actual [2020-09-11T16:57:36.705Z] @@ -1 +1 @@ [2020-09-11T16:57:36.705Z] - [2020-09-11T16:57:36.705Z] +value [2020-09-11T16:57:36.705Z] Test: TestHTTPPostWithSecrets [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:34.175045627Z app=app_functions_sdk_go source=jsonlogic.go:58 msg="Applying JSONLogic Rule" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:34.178166457Z app=app_functions_sdk_go source=jsonlogic.go:66 msg="Condition met: true" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:34.180515585Z app=app_functions_sdk_go source=jsonlogic.go:58 msg="Applying JSONLogic Rule" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:34.185930812Z app=app_functions_sdk_go source=jsonlogic.go:66 msg="Condition met: true" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:34.194910665Z app=app_functions_sdk_go source=jsonlogic.go:58 msg="Applying JSONLogic Rule" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:34.197526134Z app=app_functions_sdk_go source=jsonlogic.go:58 msg="Applying JSONLogic Rule" [2020-09-11T16:57:36.705Z] level=DEBUG ts=2020-09-11T16:57:34.201448798Z app=app_functions_sdk_go source=jsonlogic.go:58 msg="Applying JSONLogic Rule" [2020-09-11T16:57:36.705Z] --- FAIL: TestMQTTValidateSecrets (0.00s) [2020-09-11T16:57:36.705Z] --- FAIL: TestMQTTValidateSecrets/CACert_no_error (0.00s) [2020-09-11T16:57:36.705Z] mqttsecret_test.go:154: [2020-09-11T16:57:36.705Z] Error Trace: mqttsecret_test.go:154 [2020-09-11T16:57:36.705Z] Error: Expected nil, but got: &errors.errorString{s:"Invalid AuthMode selected"} [2020-09-11T16:57:36.705Z] Test: TestMQTTValidateSecrets/CACert_no_error [2020-09-11T16:57:36.705Z] Messages: Should be nil [2020-09-11T16:57:36.705Z] --- FAIL: TestMQTTValidateSecrets/CACert_invalid_error (0.00s) [2020-09-11T16:57:36.705Z] mqttsecret_test.go:152: [2020-09-11T16:57:36.705Z] Error Trace: mqttsecret_test.go:152 [2020-09-11T16:57:36.705Z] Error: Not equal: [2020-09-11T16:57:36.705Z] expected: "Error parsing CA Certificate" [2020-09-11T16:57:36.705Z] actual : "Invalid AuthMode selected" [2020-09-11T16:57:36.705Z] [2020-09-11T16:57:36.705Z] Diff: [2020-09-11T16:57:36.705Z] --- Expected [2020-09-11T16:57:36.705Z] +++ Actual [2020-09-11T16:57:36.705Z] @@ -1 +1 @@ [2020-09-11T16:57:36.705Z] -Error parsing CA Certificate [2020-09-11T16:57:36.705Z] +Invalid AuthMode selected [2020-09-11T16:57:36.705Z] Test: TestMQTTValidateSecrets/CACert_invalid_error [2020-09-11T16:57:36.705Z] --- FAIL: TestMQTTClientGetSecrets (0.00s) [2020-09-11T16:57:36.705Z] --- FAIL: TestMQTTClientGetSecrets/Auth_With_Secrets (0.00s) [2020-09-11T16:57:36.706Z] mqttsecret_test.go:193: [2020-09-11T16:57:36.706Z] Error Trace: mqttsecret_test.go:193 [2020-09-11T16:57:36.706Z] Error: Not equal: [2020-09-11T16:57:36.706Z] expected: &transforms.mqttSecrets{username:"TEST_USER", password:"TEST_PASS", keypemblock:[]uint8(nil), certpemblock:[]uint8(nil), capemblock:[]uint8(nil)} [2020-09-11T16:57:36.706Z] actual : &transforms.mqttSecrets{username:"TEST_USER", password:"TEST_PASS", keypemblock:[]uint8{}, certpemblock:[]uint8{}, capemblock:[]uint8{}} [2020-09-11T16:57:36.706Z] [2020-09-11T16:57:36.706Z] Diff: [2020-09-11T16:57:36.706Z] --- Expected [2020-09-11T16:57:36.706Z] +++ Actual [2020-09-11T16:57:36.706Z] @@ -3,5 +3,8 @@ [2020-09-11T16:57:36.706Z] password: (string) (len=9) "TEST_PASS", [2020-09-11T16:57:36.706Z] - keypemblock: ([]uint8) , [2020-09-11T16:57:36.706Z] - certpemblock: ([]uint8) , [2020-09-11T16:57:36.706Z] - capemblock: ([]uint8) [2020-09-11T16:57:36.706Z] + keypemblock: ([]uint8) { [2020-09-11T16:57:36.706Z] + }, [2020-09-11T16:57:36.706Z] + certpemblock: ([]uint8) { [2020-09-11T16:57:36.706Z] + }, [2020-09-11T16:57:36.706Z] + capemblock: ([]uint8) { [2020-09-11T16:57:36.706Z] + } [2020-09-11T16:57:36.706Z] }) [2020-09-11T16:57:36.706Z] Test: TestMQTTClientGetSecrets/Auth_With_Secrets [2020-09-11T16:57:36.706Z] --- FAIL: TestSetRetryDataPersistFalse (0.00s) [2020-09-11T16:57:36.706Z] mqttsecret_test.go:342: [2020-09-11T16:57:36.706Z] Error Trace: mqttsecret_test.go:342 [2020-09-11T16:57:36.706Z] Error: Expected nil, but got: []byte{0x74, 0x65, 0x73, 0x74, 0x20, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65} [2020-09-11T16:57:36.706Z] Test: TestSetRetryDataPersistFalse [2020-09-11T16:57:36.706Z] level=DEBUG ts=2020-09-11T16:57:34.211558101Z app=app_functions_sdk_go source=outputdata.go:38 msg="Setting output data" [2020-09-11T16:57:36.706Z] level=DEBUG ts=2020-09-11T16:57:34.214311071Z app=app_functions_sdk_go source=outputdata.go:38 msg="Setting output data" [2020-09-11T16:57:36.706Z] level=DEBUG ts=2020-09-11T16:57:34.216529655Z app=app_functions_sdk_go source=outputdata.go:38 msg="Setting output data" [2020-09-11T16:57:36.706Z] level=DEBUG ts=2020-09-11T16:57:34.218768929Z app=app_functions_sdk_go source=outputdata.go:38 msg="Setting output data" [2020-09-11T16:57:36.706Z] level=DEBUG ts=2020-09-11T16:57:34.222181382Z app=app_functions_sdk_go source=outputdata.go:38 msg="Setting output data" [2020-09-11T16:57:36.706Z] level=DEBUG ts=2020-09-11T16:57:34.224744348Z app=app_functions_sdk_go source=outputdata.go:38 msg="Setting output data" [2020-09-11T16:57:36.706Z] level=DEBUG ts=2020-09-11T16:57:34.226950806Z app="Unit Test" source=tags.go:42 msg="Adding tags to Event" [2020-09-11T16:57:36.706Z] level=DEBUG ts=2020-09-11T16:57:34.227034761Z app="Unit Test" source=tags.go:61 msg="Tags added to Event. Event tags=map[GatewayId:HoustonStore000123 Latitude:29.630771 Longitude:-95.377603]" [2020-09-11T16:57:36.706Z] level=DEBUG ts=2020-09-11T16:57:34.227212424Z app="Unit Test" source=tags.go:42 msg="Adding tags to Event" [2020-09-11T16:57:36.706Z] level=DEBUG ts=2020-09-11T16:57:34.227271641Z app="Unit Test" source=tags.go:61 msg="Tags added to Event. Event tags=map[GatewayId:HoustonStore000123 Latitude:29.630771 Longitude:-95.377603 Tag1:Value1 Tag2:Value2]" [2020-09-11T16:57:36.706Z] level=DEBUG ts=2020-09-11T16:57:34.227367046Z app="Unit Test" source=tags.go:42 msg="Adding tags to Event" [2020-09-11T16:57:36.706Z] level=DEBUG ts=2020-09-11T16:57:34.227424883Z app="Unit Test" source=tags.go:63 msg="No tags added to Event. Add tags list is empty." [2020-09-11T16:57:36.706Z] level=DEBUG ts=2020-09-11T16:57:34.227499801Z app="Unit Test" source=tags.go:42 msg="Adding tags to Event" [2020-09-11T16:57:36.706Z] level=DEBUG ts=2020-09-11T16:57:34.227578036Z app="Unit Test" source=tags.go:42 msg="Adding tags to Event" [2020-09-11T16:57:36.706Z] FAIL [2020-09-11T16:57:36.706Z] coverage: 70.9% of statements [2020-09-11T16:57:36.706Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.672s [2020-09-11T16:57:36.706Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.026s coverage: 94.4% of statements [2020-09-11T16:57:36.706Z] FAIL [2020-09-11T16:57:36.706Z] make: *** [Makefile:6: test] Error 1 [Pipeline] } [2020-09-11T16:57:36.738Z] $ docker stop --time=1 a8a7889f0ddba5af3100d0c343d36e19b114be5d92f445294d2e8c387b432d6e [2020-09-11T16:57:38.566Z] $ docker rm -f a8a7889f0ddba5af3100d0c343d36e19b114be5d92f445294d2e8c387b432d6e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-09-11T16:57:40.727Z] Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" 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 [2020-09-11T16:57:43.899Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-11T16:57:44.473Z] ---> package-listing.sh [2020-09-11T16:57:44.473Z] ++ facter osfamily [2020-09-11T16:57:44.473Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-11T16:57:44.473Z] + OS_FAMILY=redhat [2020-09-11T16:57:44.473Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-478 [2020-09-11T16:57:44.473Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-11T16:57:44.473Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-11T16:57:44.473Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-11T16:57:44.473Z] + PACKAGES=/tmp/packages_start.txt [2020-09-11T16:57:44.473Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-478 ']' [2020-09-11T16:57:44.473Z] + PACKAGES=/tmp/packages_end.txt [2020-09-11T16:57:44.473Z] + case "${OS_FAMILY}" in [2020-09-11T16:57:44.473Z] + rpm -qa [2020-09-11T16:57:44.473Z] + sort [2020-09-11T16:57:48.752Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-11T16:57:48.752Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-11T16:57:48.752Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-11T16:57:48.752Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-478 ']' [2020-09-11T16:57:48.752Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-478/archives/ [2020-09-11T16:57:48.752Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-478/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-11T16:57:50.119Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-11T16:57:50.394Z] [2020-09-11T16:57:50.394Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-11T16:57:50.902Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-11T16:57:50.902Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-11T16:57:50.902Z] df20fa9351a1: Pulling fs layer [2020-09-11T16:57:50.902Z] 36b3adc4ff6f: Pulling fs layer [2020-09-11T16:57:50.902Z] 8ad3a11d3b57: Pulling fs layer [2020-09-11T16:57:50.902Z] 46f8f816bc3b: Pulling fs layer [2020-09-11T16:57:50.902Z] 0dadc02b9964: Pulling fs layer [2020-09-11T16:57:50.902Z] ce6a7cf60c04: Pulling fs layer [2020-09-11T16:57:50.902Z] 7a184a31f384: Pulling fs layer [2020-09-11T16:57:50.902Z] 0879bd2ef858: Pulling fs layer [2020-09-11T16:57:50.902Z] 46f8f816bc3b: Waiting [2020-09-11T16:57:50.902Z] 0dadc02b9964: Waiting [2020-09-11T16:57:50.902Z] ce6a7cf60c04: Waiting [2020-09-11T16:57:50.902Z] 7a184a31f384: Waiting [2020-09-11T16:57:50.902Z] 0879bd2ef858: Waiting [2020-09-11T16:57:51.257Z] 36b3adc4ff6f: Verifying Checksum [2020-09-11T16:57:51.257Z] 36b3adc4ff6f: Download complete [2020-09-11T16:57:51.257Z] 46f8f816bc3b: Verifying Checksum [2020-09-11T16:57:51.257Z] 46f8f816bc3b: Download complete [2020-09-11T16:57:51.564Z] df20fa9351a1: Verifying Checksum [2020-09-11T16:57:51.564Z] ce6a7cf60c04: Verifying Checksum [2020-09-11T16:57:51.564Z] ce6a7cf60c04: Download complete [2020-09-11T16:57:51.564Z] 7a184a31f384: Download complete [2020-09-11T16:57:51.950Z] 0dadc02b9964: Verifying Checksum [2020-09-11T16:57:51.950Z] 0dadc02b9964: Download complete [2020-09-11T16:57:52.238Z] 8ad3a11d3b57: Verifying Checksum [2020-09-11T16:57:52.238Z] 8ad3a11d3b57: Download complete [2020-09-11T16:57:52.238Z] df20fa9351a1: Pull complete [2020-09-11T16:57:52.523Z] 36b3adc4ff6f: Pull complete [2020-09-11T16:57:53.143Z] 0879bd2ef858: Verifying Checksum [2020-09-11T16:57:53.143Z] 0879bd2ef858: Download complete [2020-09-11T16:57:53.729Z] 8ad3a11d3b57: Pull complete [2020-09-11T16:57:53.729Z] 46f8f816bc3b: Pull complete [2020-09-11T16:57:54.307Z] 0dadc02b9964: Pull complete [2020-09-11T16:57:54.307Z] ce6a7cf60c04: Pull complete [2020-09-11T16:57:54.576Z] 7a184a31f384: Pull complete [2020-09-11T16:57:58.000Z] 0879bd2ef858: Pull complete [2020-09-11T16:57:58.000Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-11T16:57:58.000Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-11T16:57:58.000Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-11T16:57:58.241Z] prd-centos7-docker-4c-2g-2266 does not seem to be running inside a container [2020-09-11T16:57:58.327Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/ndry_app-functions-sdk-go_PR-478 -v /w/workspace/ndry_app-functions-sdk-go_PR-478:/w/workspace/ndry_app-functions-sdk-go_PR-478:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-478@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-478@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-11T16:58:04.130Z] $ docker top 57079f0ea19b41f017295f0a4d4bc5ba59d892333aeb474de588f56a4560bab7 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-11T16:58:04.771Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-11T16:58:05.075Z] + ls /var/log/sa-host [2020-09-11T16:58:05.075Z] + sadf -c /var/log/sa-host/sa05 [2020-09-11T16:58:05.075Z] file_magic: OK [2020-09-11T16:58:05.075Z] HZ: Using current value: 100 [2020-09-11T16:58:05.075Z] file_header: OK [2020-09-11T16:58:05.075Z] 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 [2020-09-11T16:58:05.075Z] Statistics: [2020-09-11T16:58:05.075Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-11T16:58:05.075Z] File successfully converted to sysstat format version 12.2.1 [2020-09-11T16:58:05.075Z] + sadf -c /var/log/sa-host/sa11 [2020-09-11T16:58:05.075Z] file_magic: OK [2020-09-11T16:58:05.075Z] HZ: Using current value: 100 [2020-09-11T16:58:05.075Z] file_header: OK [2020-09-11T16:58:05.075Z] 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 [2020-09-11T16:58:05.075Z] Statistics: [2020-09-11T16:58:05.075Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-11T16:58:05.075Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-11T16:58:05.144Z] provisioning config files... [2020-09-11T16:58:05.168Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-478@tmp/config5647648866428922322tmp [Pipeline] { [Pipeline] echo [2020-09-11T16:58:05.242Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-11T16:58:05.548Z] ---> create-netrc.sh [Pipeline] echo [2020-09-11T16:58:05.561Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-11T16:58:05.865Z] ---> logs-deploy.sh [2020-09-11T16:58:05.865Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-478/4 [2020-09-11T16:58:05.865Z] INFO: archiving workspace using pattern(s): [2020-09-11T16:58:07.826Z] Archives upload complete. [2020-09-11T16:58:08.105Z] INFO: archiving logs to Nexus