Pull request #498 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 cf4213e4a4b0392a7953816597322c122fd60aef+a28a1e282162ae220bb16baae6b474c93cd0f1dd (0c3e8ba5fdf7e3289bd3d3adaec89bd9dbf70dbc) 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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 7909e789ffc0fecf34d47f501ec8db0a80105338 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7909e789ffc0fecf34d47f501ec8db0a80105338 # timeout=10 Commit message: "Merge pull request #245 from ernestojeda/fix-go-version-issue" > 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-861’ is offline Running on prd-centos7-docker-4c-2g-865 in /w/workspace/ndry_app-functions-sdk-go_PR-498 [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-498 # 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/498/head:refs/remotes/origin/PR-498 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/498/head:refs/remotes/origin/PR-498 # 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/498/head:refs/remotes/origin/PR-498 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit a28a1e282162ae220bb16baae6b474c93cd0f1dd into PR head commit cf4213e4a4b0392a7953816597322c122fd60aef Merge succeeded, producing cf4213e4a4b0392a7953816597322c122fd60aef Checking out Revision cf4213e4a4b0392a7953816597322c122fd60aef (PR-498) > git config core.sparsecheckout # timeout=10 > git checkout -f cf4213e4a4b0392a7953816597322c122fd60aef # 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 a28a1e282162ae220bb16baae6b474c93cd0f1dd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cf4213e4a4b0392a7953816597322c122fd60aef # timeout=10 Commit message: "feat(triggers): Add MQTT Trigger with secure connection options" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-22T16:29:28.359Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials > git rev-list --no-walk 1fbedb6ef00cbbb5fb1dde012138d0f70184e462 # timeout=10 [2020-09-22T16:29:28.655Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-22T16:29:28.767Z] ========================================================= [2020-09-22T16:29:28.767Z] EdgeX Global Pipelines Version Info [2020-09-22T16:29:28.767Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-22T16:29:30.257Z] ------------------- [2020-09-22T16:29:30.257Z] stable info: [2020-09-22T16:29:30.257Z] ------------------- [2020-09-22T16:29:30.258Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-22T16:29:30.258Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-22T16:29:30.258Z] Message: update stable to v1.0.122 [2020-09-22T16:29:31.207Z] ------------------- [2020-09-22T16:29:31.207Z] experimental info: [2020-09-22T16:29:31.207Z] ------------------- [2020-09-22T16:29:31.207Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-22T16:29:31.207Z] Commit SHA: 040e29ce4f8dcf7f02c652317e535dcbebe1b406 [2020-09-22T16:29:31.207Z] Message: update experimental to v1.0.125 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-22T16:29:31.708Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2020-09-22T16:29:31.811Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2020-09-22T16:29:31.917Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-22T16:29:32.013Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-22T16:29:32.114Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-22T16:29:32.219Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-22T16:29:32.349Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-22T16:29:32.451Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-22T16:29:32.586Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-22T16:29:32.705Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-22T16:29:32.817Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-22T16:29:32.926Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2020-09-22T16:29:33.029Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-22T16:29:33.127Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-22T16:29:33.234Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-09-22T16:29:33.342Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-22T16:29:33.444Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-22T16:29:33.566Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-22T16:29:33.679Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-22T16:29:33.812Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-22T16:29:33.922Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-09-22T16:29:34.069Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2020-09-22T16:29:34.172Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-498 [Pipeline] echo [2020-09-22T16:29:34.274Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-498 [Pipeline] echo [2020-09-22T16:29:34.389Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-498 [Pipeline] echo [2020-09-22T16:29:34.485Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cf4213e4a4b0392a7953816597322c122fd60aef [Pipeline] echo [2020-09-22T16:29:34.664Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cf4213e [Pipeline] echo [2020-09-22T16:29:34.760Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-22T16:29:35.372Z] + git log --format=format:%s -1 cf4213e4a4b0392a7953816597322c122fd60aef [Pipeline] echo [2020-09-22T16:29:35.442Z] GIT_COMMIT: cf4213e4a4b0392a7953816597322c122fd60aef, Commit Message: feat(triggers): Add MQTT Trigger with secure connection options [Pipeline] echo [2020-09-22T16:29:35.496Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-22T16:29:36.468Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-22T16:29:36.738Z] [2020-09-22T16:29:36.738Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-22T16:29:37.096Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-22T16:29:37.096Z] latest: Pulling from edgex-devops/git-semver [2020-09-22T16:29:37.096Z] 31603596830f: Pulling fs layer [2020-09-22T16:29:37.096Z] 2a8b12db71e7: Pulling fs layer [2020-09-22T16:29:37.096Z] 6ca5941a6612: Pulling fs layer [2020-09-22T16:29:37.096Z] ecc8261a40a4: Pulling fs layer [2020-09-22T16:29:37.096Z] ecc8261a40a4: Waiting [2020-09-22T16:29:37.096Z] 2a8b12db71e7: Verifying Checksum [2020-09-22T16:29:37.096Z] 2a8b12db71e7: Download complete [2020-09-22T16:29:37.364Z] 31603596830f: Download complete [2020-09-22T16:29:37.364Z] ecc8261a40a4: Verifying Checksum [2020-09-22T16:29:37.364Z] ecc8261a40a4: Download complete [2020-09-22T16:29:37.628Z] 6ca5941a6612: Verifying Checksum [2020-09-22T16:29:37.628Z] 6ca5941a6612: Download complete [2020-09-22T16:29:37.628Z] 31603596830f: Pull complete [2020-09-22T16:29:37.890Z] 2a8b12db71e7: Pull complete [2020-09-22T16:29:38.474Z] 6ca5941a6612: Pull complete [2020-09-22T16:29:39.054Z] ecc8261a40a4: Pull complete [2020-09-22T16:29:39.055Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-22T16:29:39.055Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-22T16:29:39.055Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-22T16:29:39.159Z] prd-centos7-docker-4c-2g-865 does not seem to be running inside a container [2020-09-22T16:29:39.213Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-498 -v /w/workspace/ndry_app-functions-sdk-go_PR-498:/w/workspace/ndry_app-functions-sdk-go_PR-498:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-498@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-498@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-22T16:29:41.313Z] $ docker top 255c19e83124292fec0d2229cc8f388f6b33e1a9cf07e6d32a9985c6f18d67a5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-22T16:29:41.625Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-22T16:29:41.625Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-22T16:29:41.853Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-22T16:29:41.858Z] $ docker exec 255c19e83124292fec0d2229cc8f388f6b33e1a9cf07e6d32a9985c6f18d67a5 ssh-agent [2020-09-22T16:29:42.029Z] SSH_AUTH_SOCK=/tmp/ssh-pIN3EWF9JXX6/agent.11 [2020-09-22T16:29:42.029Z] SSH_AGENT_PID=16 [2020-09-22T16:29:42.042Z] Running ssh-add (command line suppressed) [2020-09-22T16:29:42.166Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-498@tmp/private_key_6782980326549055039.key (/w/workspace/ndry_app-functions-sdk-go_PR-498@tmp/private_key_6782980326549055039.key) [2020-09-22T16:29:42.222Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-22T16:29:42.559Z] + git describe --exact-match --tags HEAD [2020-09-22T16:29:42.559Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-22T16:29:42.584Z] $ docker exec --env ******** --env ******** 255c19e83124292fec0d2229cc8f388f6b33e1a9cf07e6d32a9985c6f18d67a5 ssh-agent -k [2020-09-22T16:29:42.700Z] unset SSH_AUTH_SOCK; [2020-09-22T16:29:42.701Z] unset SSH_AGENT_PID; [2020-09-22T16:29:42.701Z] echo Agent pid 16 killed; [2020-09-22T16:29:42.747Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-22T16:29:42.842Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-22T16:29:42.842Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-22T16:29:42.974Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-22T16:29:42.974Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-22T16:29:43.145Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-22T16:29:43.150Z] $ docker exec 255c19e83124292fec0d2229cc8f388f6b33e1a9cf07e6d32a9985c6f18d67a5 ssh-agent [2020-09-22T16:29:43.313Z] SSH_AUTH_SOCK=/tmp/ssh-IQvz91V30IY7/agent.46 [2020-09-22T16:29:43.313Z] SSH_AGENT_PID=51 [2020-09-22T16:29:43.321Z] Running ssh-add (command line suppressed) [2020-09-22T16:29:43.451Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-498@tmp/private_key_6253022229197839087.key (/w/workspace/ndry_app-functions-sdk-go_PR-498@tmp/private_key_6253022229197839087.key) [2020-09-22T16:29:43.500Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-22T16:29:43.879Z] + git semver init [2020-09-22T16:29:43.879Z] # -> Open(): unable to determine branch for HEAD [2020-09-22T16:29:43.879Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-498/.git [2020-09-22T16:29:43.879Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-498 [2020-09-22T16:29:43.879Z] # $SEMVER_REMOTE_NAME = origin [2020-09-22T16:29:43.879Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-22T16:29:43.879Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-22T16:29:43.879Z] # $SEMVER_BRANCH = PR-498 [2020-09-22T16:29:43.879Z] # $SEMVER_TEMP = /tmp/semver-135488440 [2020-09-22T16:29:43.879Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2020-09-22T16:29:46.458Z] # '/tmp/semver-135488440' -> '/w/workspace/ndry_app-functions-sdk-go_PR-498/.semver' [2020-09-22T16:29:46.458Z] # -> Force: false [2020-09-22T16:29:46.458Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-498/.semver [Pipeline] } [2020-09-22T16:29:46.474Z] $ docker exec --env ******** --env ******** 255c19e83124292fec0d2229cc8f388f6b33e1a9cf07e6d32a9985c6f18d67a5 ssh-agent -k [2020-09-22T16:29:46.603Z] unset SSH_AUTH_SOCK; [2020-09-22T16:29:46.605Z] unset SSH_AGENT_PID; [2020-09-22T16:29:46.605Z] echo Agent pid 51 killed; [2020-09-22T16:29:46.683Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-22T16:29:47.151Z] + git semver [Pipeline] } [2020-09-22T16:29:47.171Z] $ docker stop --time=1 255c19e83124292fec0d2229cc8f388f6b33e1a9cf07e6d32a9985c6f18d67a5 [2020-09-22T16:29:48.696Z] $ docker rm -f 255c19e83124292fec0d2229cc8f388f6b33e1a9cf07e6d32a9985c6f18d67a5 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-22T16:29:51.355Z] Stashed 50 file(s) [Pipeline] echo [2020-09-22T16:29:51.358Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-22T16:29:51.455Z] 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-22T16:30:07.028Z] Still waiting to schedule task [2020-09-22T16:30:07.029Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-09-22T16:30:07.030Z] Still waiting to schedule task [2020-09-22T16:30:07.030Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-09-22T16:32:09.452Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-866 in /w/workspace/ndry_app-functions-sdk-go_PR-498 [Pipeline] { [Pipeline] ws [2020-09-22T16:32:09.524Z] Running in /w/workspace/app-functions-sdk-go/4 [Pipeline] { [Pipeline] checkout [2020-09-22T16:32:14.710Z] using credential edgex-jenkins-ssh [2020-09-22T16:32:14.775Z] Cloning the remote Git repository [2020-09-22T16:32:14.775Z] Cloning with configured refspecs honoured and without tags [2020-09-22T16:32:14.836Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-22T16:32:14.944Z] > git init /w/workspace/app-functions-sdk-go/4 # timeout=10 [2020-09-22T16:32:15.007Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-22T16:32:15.008Z] > git --version # timeout=10 [2020-09-22T16:32:15.026Z] > git --version # 'git version 2.17.1' [2020-09-22T16:32:15.028Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T16:32:15.089Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/498/head:refs/remotes/origin/PR-498 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T16:32:19.349Z] Fetching without tags [2020-09-22T16:32:19.272Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-22T16:32:19.296Z] > git config --add remote.origin.fetch +refs/pull/498/head:refs/remotes/origin/PR-498 # timeout=10 [2020-09-22T16:32:19.315Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T16:32:19.337Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-22T16:32:19.367Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-22T16:32:19.367Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T16:32:19.379Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/498/head:refs/remotes/origin/PR-498 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T16:32:19.930Z] Merging remotes/origin/master commit a28a1e282162ae220bb16baae6b474c93cd0f1dd into PR head commit cf4213e4a4b0392a7953816597322c122fd60aef [2020-09-22T16:32:20.210Z] Merge succeeded, producing cf4213e4a4b0392a7953816597322c122fd60aef [2020-09-22T16:32:20.211Z] Checking out Revision cf4213e4a4b0392a7953816597322c122fd60aef (PR-498) [2020-09-22T16:32:19.960Z] > git config core.sparsecheckout # timeout=10 [2020-09-22T16:32:19.982Z] > git checkout -f cf4213e4a4b0392a7953816597322c122fd60aef # timeout=10 [2020-09-22T16:32:20.142Z] > git remote # timeout=10 [2020-09-22T16:32:20.162Z] > git config --get remote.origin.url # timeout=10 [2020-09-22T16:32:20.172Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T16:32:20.182Z] > git merge a28a1e282162ae220bb16baae6b474c93cd0f1dd # timeout=10 [2020-09-22T16:32:20.202Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-22T16:32:20.222Z] > git config core.sparsecheckout # timeout=10 [2020-09-22T16:32:20.236Z] > git checkout -f cf4213e4a4b0392a7953816597322c122fd60aef # timeout=10 [2020-09-22T16:32:24.476Z] Commit message: "feat(triggers): Add MQTT Trigger with secure connection options" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-22T16:32:27.756Z] ========================================================= [2020-09-22T16:32:27.756Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-22T16:32:27.756Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-22T16:32:28.871Z] + 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-22T16:32:30.327Z] Sending build context to Docker daemon 37.24MB [2020-09-22T16:32:30.327Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-22T16:32:30.327Z] Step 2/8 : FROM ${BASE} [2020-09-22T16:32:30.601Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-22T16:32:30.601Z] b538f80385f9: Pulling fs layer [2020-09-22T16:32:30.601Z] 74f711af9a0d: Pulling fs layer [2020-09-22T16:32:30.601Z] 99f96fe45779: Pulling fs layer [2020-09-22T16:32:30.601Z] 8529a6b9a6be: Pulling fs layer [2020-09-22T16:32:30.601Z] 45590311c82a: Pulling fs layer [2020-09-22T16:32:30.601Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-22T16:32:30.601Z] 209524e5b208: Pulling fs layer [2020-09-22T16:32:30.601Z] 8529a6b9a6be: Waiting [2020-09-22T16:32:30.601Z] 45590311c82a: Waiting [2020-09-22T16:32:30.601Z] 69ca0ff8b7b3: Waiting [2020-09-22T16:32:30.601Z] 209524e5b208: Waiting [2020-09-22T16:32:30.601Z] 99f96fe45779: Verifying Checksum [2020-09-22T16:32:30.601Z] 99f96fe45779: Download complete [2020-09-22T16:32:30.601Z] 74f711af9a0d: Verifying Checksum [2020-09-22T16:32:30.601Z] 74f711af9a0d: Download complete [2020-09-22T16:32:30.601Z] 45590311c82a: Verifying Checksum [2020-09-22T16:32:30.601Z] 45590311c82a: Download complete [2020-09-22T16:32:30.876Z] 69ca0ff8b7b3: Download complete [2020-09-22T16:32:32.862Z] b538f80385f9: Verifying Checksum [2020-09-22T16:32:32.862Z] b538f80385f9: Download complete [2020-09-22T16:32:33.137Z] b538f80385f9: Pull complete [2020-09-22T16:32:33.735Z] 74f711af9a0d: Pull complete [2020-09-22T16:32:34.014Z] 99f96fe45779: Pull complete [2020-09-22T16:32:41.566Z] Running on prd-centos7-docker-4c-2g-867 in /w/workspace/ndry_app-functions-sdk-go_PR-498 [Pipeline] { [Pipeline] ws [2020-09-22T16:32:41.626Z] Running in /w/workspace/app-functions-sdk-go/4 [Pipeline] { [Pipeline] checkout [2020-09-22T16:32:44.644Z] using credential edgex-jenkins-ssh [2020-09-22T16:32:44.697Z] Cloning the remote Git repository [2020-09-22T16:32:44.697Z] Cloning with configured refspecs honoured and without tags [2020-09-22T16:32:44.734Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-22T16:32:44.811Z] > git init /w/workspace/app-functions-sdk-go/4 # timeout=10 [2020-09-22T16:32:44.863Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-22T16:32:44.864Z] > git --version # timeout=10 [2020-09-22T16:32:44.879Z] > git --version # 'git version 2.16.5' [2020-09-22T16:32:44.880Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T16:32:44.907Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/498/head:refs/remotes/origin/PR-498 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T16:32:52.325Z] 209524e5b208: Verifying Checksum [2020-09-22T16:32:52.325Z] 209524e5b208: Download complete [2020-09-22T16:32:52.927Z] 8529a6b9a6be: Verifying Checksum [2020-09-22T16:32:52.927Z] 8529a6b9a6be: Download complete [2020-09-22T16:32:56.283Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-22T16:32:56.294Z] > git config --add remote.origin.fetch +refs/pull/498/head:refs/remotes/origin/PR-498 # timeout=10 [2020-09-22T16:32:56.301Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T16:32:56.319Z] Fetching without tags [2020-09-22T16:32:56.701Z] Merging remotes/origin/master commit a28a1e282162ae220bb16baae6b474c93cd0f1dd into PR head commit cf4213e4a4b0392a7953816597322c122fd60aef [2020-09-22T16:32:56.802Z] Merge succeeded, producing cf4213e4a4b0392a7953816597322c122fd60aef [2020-09-22T16:32:56.802Z] Checking out Revision cf4213e4a4b0392a7953816597322c122fd60aef (PR-498) [2020-09-22T16:32:56.313Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-22T16:32:56.324Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-22T16:32:56.324Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T16:32:56.330Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/498/head:refs/remotes/origin/PR-498 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T16:32:56.712Z] > git config core.sparsecheckout # timeout=10 [2020-09-22T16:32:56.720Z] > git checkout -f cf4213e4a4b0392a7953816597322c122fd60aef # timeout=10 [2020-09-22T16:32:56.773Z] > git remote # timeout=10 [2020-09-22T16:32:56.779Z] > git config --get remote.origin.url # timeout=10 [2020-09-22T16:32:56.784Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T16:32:56.788Z] > git merge a28a1e282162ae220bb16baae6b474c93cd0f1dd # timeout=10 [2020-09-22T16:32:56.797Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-22T16:32:56.807Z] > git config core.sparsecheckout # timeout=10 [2020-09-22T16:32:56.815Z] > git checkout -f cf4213e4a4b0392a7953816597322c122fd60aef # timeout=10 [2020-09-22T16:33:00.446Z] Commit message: "feat(triggers): Add MQTT Trigger with secure connection options" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-22T16:33:02.376Z] ========================================================= [2020-09-22T16:33:02.376Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-22T16:33:02.376Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-22T16:33:03.067Z] + 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-22T16:33:03.099Z] 8529a6b9a6be: Pull complete [2020-09-22T16:33:03.099Z] 45590311c82a: Pull complete [2020-09-22T16:33:03.375Z] 69ca0ff8b7b3: Pull complete [2020-09-22T16:33:03.646Z] Sending build context to Docker daemon 37.24MB [2020-09-22T16:33:03.646Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-22T16:33:03.646Z] Step 2/8 : FROM ${BASE} [2020-09-22T16:33:03.646Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-22T16:33:03.646Z] df20fa9351a1: Pulling fs layer [2020-09-22T16:33:03.646Z] ed8968b2872e: Pulling fs layer [2020-09-22T16:33:03.646Z] a92cc7c5fd73: Pulling fs layer [2020-09-22T16:33:03.646Z] e871e8e8d7a9: Pulling fs layer [2020-09-22T16:33:03.646Z] e73272ec9a57: Pulling fs layer [2020-09-22T16:33:03.646Z] 1e910a182e73: Pulling fs layer [2020-09-22T16:33:03.646Z] 4e634b169226: Pulling fs layer [2020-09-22T16:33:03.646Z] e871e8e8d7a9: Waiting [2020-09-22T16:33:03.646Z] 4e634b169226: Waiting [2020-09-22T16:33:03.646Z] e73272ec9a57: Waiting [2020-09-22T16:33:03.646Z] 1e910a182e73: Waiting [2020-09-22T16:33:03.646Z] a92cc7c5fd73: Verifying Checksum [2020-09-22T16:33:03.646Z] a92cc7c5fd73: Download complete [2020-09-22T16:33:03.911Z] ed8968b2872e: Verifying Checksum [2020-09-22T16:33:03.911Z] ed8968b2872e: Download complete [2020-09-22T16:33:03.911Z] e73272ec9a57: Download complete [2020-09-22T16:33:03.911Z] 1e910a182e73: Download complete [2020-09-22T16:33:03.911Z] df20fa9351a1: Verifying Checksum [2020-09-22T16:33:03.911Z] df20fa9351a1: Download complete [2020-09-22T16:33:04.173Z] df20fa9351a1: Pull complete [2020-09-22T16:33:04.173Z] ed8968b2872e: Pull complete [2020-09-22T16:33:04.437Z] a92cc7c5fd73: Pull complete [2020-09-22T16:33:06.371Z] 4e634b169226: Verifying Checksum [2020-09-22T16:33:06.371Z] 4e634b169226: Download complete [2020-09-22T16:33:06.371Z] e871e8e8d7a9: Verifying Checksum [2020-09-22T16:33:06.371Z] e871e8e8d7a9: Download complete [2020-09-22T16:33:07.716Z] 209524e5b208: Pull complete [2020-09-22T16:33:07.717Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-22T16:33:07.717Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-22T16:33:07.717Z] ---> 5bddaf1c2fca [2020-09-22T16:33:07.717Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-09-22T16:33:07.717Z] latest: Pulling from library/docker [2020-09-22T16:33:07.717Z] b538f80385f9: Already exists [2020-09-22T16:33:07.717Z] 259a493cd78d: Pulling fs layer [2020-09-22T16:33:07.717Z] b8e66b5100f5: Pulling fs layer [2020-09-22T16:33:07.717Z] 7f8258a56ab6: Pulling fs layer [2020-09-22T16:33:07.717Z] 75a0a0ebb566: Pulling fs layer [2020-09-22T16:33:07.717Z] 4a2c62f0a2a3: Pulling fs layer [2020-09-22T16:33:07.717Z] 294320357d30: Pulling fs layer [2020-09-22T16:33:07.717Z] 75a0a0ebb566: Waiting [2020-09-22T16:33:07.717Z] 4a2c62f0a2a3: Waiting [2020-09-22T16:33:07.717Z] 294320357d30: Waiting [2020-09-22T16:33:07.717Z] b8e66b5100f5: Download complete [2020-09-22T16:33:07.992Z] 259a493cd78d: Download complete [2020-09-22T16:33:07.992Z] 75a0a0ebb566: Verifying Checksum [2020-09-22T16:33:07.992Z] 75a0a0ebb566: Download complete [2020-09-22T16:33:07.992Z] 4a2c62f0a2a3: Verifying Checksum [2020-09-22T16:33:07.992Z] 4a2c62f0a2a3: Download complete [2020-09-22T16:33:07.992Z] 294320357d30: Verifying Checksum [2020-09-22T16:33:07.992Z] 294320357d30: Download complete [2020-09-22T16:33:08.977Z] 259a493cd78d: Pull complete [2020-09-22T16:33:08.977Z] b8e66b5100f5: Pull complete [2020-09-22T16:33:09.253Z] 7f8258a56ab6: Verifying Checksum [2020-09-22T16:33:09.253Z] 7f8258a56ab6: Download complete [2020-09-22T16:33:12.670Z] 7f8258a56ab6: Pull complete [2020-09-22T16:33:12.953Z] 75a0a0ebb566: Pull complete [2020-09-22T16:33:13.094Z] e871e8e8d7a9: Pull complete [2020-09-22T16:33:13.094Z] e73272ec9a57: Pull complete [2020-09-22T16:33:13.094Z] 1e910a182e73: Pull complete [2020-09-22T16:33:13.229Z] 4a2c62f0a2a3: Pull complete [2020-09-22T16:33:13.505Z] 294320357d30: Pull complete [2020-09-22T16:33:13.505Z] Digest: sha256:57ddfc5b9f4f89f1598440cd1d6d97b87532b0bce1315e7880ae6843e3583529 [2020-09-22T16:33:13.505Z] Status: Downloaded newer image for docker:latest [2020-09-22T16:33:17.322Z] 4e634b169226: Pull complete [2020-09-22T16:33:17.323Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-22T16:33:17.323Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-22T16:33:17.323Z] ---> f7629b54cfaa [2020-09-22T16:33:17.323Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-09-22T16:33:17.900Z] latest: Pulling from library/docker [2020-09-22T16:33:17.900Z] df20fa9351a1: Already exists [2020-09-22T16:33:17.900Z] 25ad7478873d: Pulling fs layer [2020-09-22T16:33:17.900Z] 4684f6177b5d: Pulling fs layer [2020-09-22T16:33:17.900Z] 8ba584e970af: Pulling fs layer [2020-09-22T16:33:17.900Z] 3cdc74d2b06d: Pulling fs layer [2020-09-22T16:33:17.900Z] 4cf5a0d07c1f: Pulling fs layer [2020-09-22T16:33:17.900Z] fca0ccc462d5: Pulling fs layer [2020-09-22T16:33:17.900Z] 4cf5a0d07c1f: Waiting [2020-09-22T16:33:17.900Z] 3cdc74d2b06d: Waiting [2020-09-22T16:33:17.900Z] fca0ccc462d5: Waiting [2020-09-22T16:33:17.900Z] 4684f6177b5d: Verifying Checksum [2020-09-22T16:33:17.900Z] 4684f6177b5d: Download complete [2020-09-22T16:33:18.176Z] 25ad7478873d: Verifying Checksum [2020-09-22T16:33:18.176Z] 25ad7478873d: Download complete [2020-09-22T16:33:18.176Z] 3cdc74d2b06d: Verifying Checksum [2020-09-22T16:33:18.176Z] 3cdc74d2b06d: Download complete [2020-09-22T16:33:18.444Z] fca0ccc462d5: Verifying Checksum [2020-09-22T16:33:18.444Z] fca0ccc462d5: Download complete [2020-09-22T16:33:18.444Z] 25ad7478873d: Pull complete [2020-09-22T16:33:18.444Z] 4684f6177b5d: Pull complete [2020-09-22T16:33:18.712Z] 8ba584e970af: Retrying in 5 seconds [2020-09-22T16:33:18.920Z] ---> f585dfc6816a [2020-09-22T16:33:18.920Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-22T16:33:18.920Z] ---> Running in 87140e16065b [2020-09-22T16:33:19.290Z] 4cf5a0d07c1f: Verifying Checksum [2020-09-22T16:33:19.290Z] 4cf5a0d07c1f: Download complete [2020-09-22T16:33:19.525Z] Removing intermediate container 87140e16065b [2020-09-22T16:33:19.525Z] ---> 0cf533d47564 [2020-09-22T16:33:19.525Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-09-22T16:33:19.525Z] ---> Running in a8419fc51b12 [2020-09-22T16:33:19.867Z] 8ba584e970af: Retrying in 4 seconds [2020-09-22T16:33:20.816Z] 8ba584e970af: Retrying in 3 seconds [2020-09-22T16:33:21.517Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-22T16:33:21.783Z] 8ba584e970af: Retrying in 2 seconds [2020-09-22T16:33:22.112Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-22T16:33:22.732Z] 8ba584e970af: Retrying in 1 second [2020-09-22T16:33:23.094Z] (1/5) Installing libsodium (1.0.18-r0) [2020-09-22T16:33:23.094Z] (2/5) Installing libzmq (4.3.3-r0) [2020-09-22T16:33:23.368Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-09-22T16:33:23.368Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-09-22T16:33:23.641Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-09-22T16:33:23.641Z] Executing busybox-1.31.1-r16.trigger [2020-09-22T16:33:23.641Z] OK: 144 MiB in 44 packages [2020-09-22T16:33:24.131Z] 8ba584e970af: Verifying Checksum [2020-09-22T16:33:24.131Z] 8ba584e970af: Download complete [2020-09-22T16:33:25.078Z] Removing intermediate container a8419fc51b12 [2020-09-22T16:33:25.078Z] ---> 0c4d674b7aeb [2020-09-22T16:33:25.078Z] Step 6/8 : WORKDIR /build [2020-09-22T16:33:25.078Z] ---> Running in b403e1c1cddf [2020-09-22T16:33:25.678Z] Removing intermediate container b403e1c1cddf [2020-09-22T16:33:25.678Z] ---> 8ae1a7f3ad97 [2020-09-22T16:33:25.678Z] Step 7/8 : COPY go.mod . [2020-09-22T16:33:26.276Z] ---> a3f0616da1be [2020-09-22T16:33:26.276Z] Step 8/8 : RUN go mod download [2020-09-22T16:33:26.276Z] ---> Running in d47543085e0f [2020-09-22T16:33:26.716Z] 8ba584e970af: Pull complete [2020-09-22T16:33:26.716Z] 3cdc74d2b06d: Pull complete [2020-09-22T16:33:26.716Z] 4cf5a0d07c1f: Pull complete [2020-09-22T16:33:26.982Z] fca0ccc462d5: Pull complete [2020-09-22T16:33:26.982Z] Digest: sha256:57ddfc5b9f4f89f1598440cd1d6d97b87532b0bce1315e7880ae6843e3583529 [2020-09-22T16:33:26.982Z] Status: Downloaded newer image for docker:latest [2020-09-22T16:33:29.546Z] ---> e17013ee9ce0 [2020-09-22T16:33:29.547Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-22T16:33:29.547Z] ---> Running in a85e06b99d51 [2020-09-22T16:33:29.810Z] Removing intermediate container a85e06b99d51 [2020-09-22T16:33:29.810Z] ---> 4f4eb83812b9 [2020-09-22T16:33:29.810Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-09-22T16:33:29.810Z] ---> Running in dbe4cb166da1 [2020-09-22T16:33:30.765Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-22T16:33:31.715Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-22T16:33:32.292Z] (1/5) Installing libsodium (1.0.18-r0) [2020-09-22T16:33:32.555Z] (2/5) Installing libzmq (4.3.3-r0) [2020-09-22T16:33:32.818Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-09-22T16:33:32.818Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-09-22T16:33:32.818Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-09-22T16:33:33.082Z] Executing busybox-1.31.1-r16.trigger [2020-09-22T16:33:33.082Z] OK: 167 MiB in 44 packages [2020-09-22T16:33:33.660Z] Removing intermediate container dbe4cb166da1 [2020-09-22T16:33:33.660Z] ---> 2debcffe0d77 [2020-09-22T16:33:33.660Z] Step 6/8 : WORKDIR /build [2020-09-22T16:33:33.660Z] ---> Running in a8d2b3403a0d [2020-09-22T16:33:33.923Z] Removing intermediate container a8d2b3403a0d [2020-09-22T16:33:33.923Z] ---> 7d6d8a93c46a [2020-09-22T16:33:33.923Z] Step 7/8 : COPY go.mod . [2020-09-22T16:33:34.187Z] ---> 18d0d107df10 [2020-09-22T16:33:34.187Z] Step 8/8 : RUN go mod download [2020-09-22T16:33:34.187Z] ---> Running in e0ca5494e8ad [2020-09-22T16:33:53.058Z] Removing intermediate container d47543085e0f [2020-09-22T16:33:53.058Z] ---> 200aae9bd5ae [2020-09-22T16:33:53.330Z] Successfully built 200aae9bd5ae [2020-09-22T16:33:53.330Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-22T16:33:53.731Z] + docker inspect -f . ci-base-image-arm64 [2020-09-22T16:33:53.731Z] . [Pipeline] withDockerContainer [2020-09-22T16:33:53.996Z] prd-ubuntu18.04-docker-arm64-4c-16g-866 does not seem to be running inside a container [2020-09-22T16:33:54.089Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2020-09-22T16:33:55.813Z] $ docker top b9dfb1ada1ab5ad0a4fbedb47b200bf09b2a062add49a0d98ab5b6ebe0c66c91 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T16:33:57.192Z] + go version [2020-09-22T16:33:57.192Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-09-22T16:33:57.223Z] $ docker stop --time=1 b9dfb1ada1ab5ad0a4fbedb47b200bf09b2a062add49a0d98ab5b6ebe0c66c91 [2020-09-22T16:33:59.110Z] $ docker rm -f b9dfb1ada1ab5ad0a4fbedb47b200bf09b2a062add49a0d98ab5b6ebe0c66c91 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-22T16:34:00.151Z] + docker inspect -f . ci-base-image-arm64 [2020-09-22T16:34:00.151Z] . [Pipeline] withDockerContainer [2020-09-22T16:34:00.376Z] prd-ubuntu18.04-docker-arm64-4c-16g-866 does not seem to be running inside a container [2020-09-22T16:34:00.466Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2020-09-22T16:34:00.846Z] Removing intermediate container e0ca5494e8ad [2020-09-22T16:34:00.846Z] ---> 49c30f838a21 [2020-09-22T16:34:00.846Z] Successfully built 49c30f838a21 [2020-09-22T16:34:00.846Z] Successfully tagged ci-base-image-x86_64:latest [2020-09-22T16:34:02.214Z] $ docker top f4279f87809e80a029aef17e4a6fc7c01b8dafb5d228f38735990ee3fe763c38 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2020-09-22T16:34:02.949Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-22T16:34:02.949Z] . [Pipeline] withDockerContainer [2020-09-22T16:34:03.079Z] prd-centos7-docker-4c-2g-867 does not seem to be running inside a container [2020-09-22T16:34:03.130Z] $ 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-22T16:34:03.577Z] + make test [2020-09-22T16:34:03.577Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-09-22T16:34:03.956Z] $ docker top 787904e7efab4a403758fd02e5bafba78766242f0ffc3c4bec1398f0654860df -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T16:34:04.489Z] + go version [2020-09-22T16:34:04.490Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-22T16:34:04.506Z] $ docker stop --time=1 787904e7efab4a403758fd02e5bafba78766242f0ffc3c4bec1398f0654860df [2020-09-22T16:34:05.011Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-09-22T16:34:05.863Z] $ docker rm -f 787904e7efab4a403758fd02e5bafba78766242f0ffc3c4bec1398f0654860df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-22T16:34:06.733Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-22T16:34:06.733Z] . [Pipeline] withDockerContainer [2020-09-22T16:34:06.834Z] prd-centos7-docker-4c-2g-867 does not seem to be running inside a container [2020-09-22T16:34:06.884Z] $ 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-22T16:34:07.513Z] $ docker top ddac9c8b5a9b9f7894e408d985895c3e8c708a639b27933f6b904039283cd562 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T16:34:08.021Z] + make test [2020-09-22T16:34:08.021Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-09-22T16:34:09.434Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-09-22T16:34:17.659Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.143s coverage: 86.2% of statements [2020-09-22T16:34:27.261Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.076s coverage: 86.2% of statements [2020-09-22T16:34:32.719Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.037s coverage: 55.8% of statements [2020-09-22T16:34:32.719Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-09-22T16:34:32.719Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-09-22T16:34:32.719Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.059s coverage: 53.5% of statements [2020-09-22T16:34:32.719Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-09-22T16:34:32.719Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.383s coverage: 69.1% of statements [2020-09-22T16:34:45.151Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.485s coverage: 61.6% of statements [2020-09-22T16:34:45.151Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.006s coverage: 89.5% of statements [2020-09-22T16:34:45.151Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.005s coverage: 100.0% of statements [2020-09-22T16:34:45.151Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.079s coverage: 100.0% of statements [2020-09-22T16:34:45.151Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.005s coverage: 100.0% of statements [2020-09-22T16:34:45.151Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.006s coverage: 100.0% of statements [2020-09-22T16:34:45.151Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-09-22T16:34:45.151Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-09-22T16:34:45.151Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-09-22T16:34:45.151Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-09-22T16:34:45.151Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-09-22T16:34:45.151Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-09-22T16:34:45.151Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-09-22T16:34:45.151Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.005s coverage: 96.6% of statements [2020-09-22T16:34:45.151Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-09-22T16:34:45.151Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.006s coverage: 97.7% of statements [2020-09-22T16:34:45.151Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-09-22T16:34:45.151Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-09-22T16:34:45.151Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.009s coverage: 9.4% of statements [2020-09-22T16:34:45.151Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 7.011s coverage: 75.0% of statements [2020-09-22T16:34:45.151Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] [2020-09-22T16:34:45.151Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.012s coverage: 89.7% of statements [2020-09-22T16:34:45.151Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.009s coverage: 88.9% of statements [2020-09-22T16:34:45.151Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.106s coverage: 80.5% of statements [2020-09-22T16:34:45.151Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.007s coverage: 71.7% of statements [2020-09-22T16:35:03.308Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.369s coverage: 70.6% of statements [2020-09-22T16:35:03.308Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.005s coverage: 94.4% of statements [2020-09-22T16:35:03.308Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-09-22T16:35:05.931Z] gofmt -l . [2020-09-22T16:35:05.931Z] [ "`gofmt -l .`" = "" ] [2020-09-22T16:35:06.195Z] ./bin/test-go-mod-tidy.sh [2020-09-22T16:35:06.355Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.063s coverage: 55.8% of statements [2020-09-22T16:35:06.355Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-09-22T16:35:06.355Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-09-22T16:35:06.355Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.077s coverage: 53.5% of statements [2020-09-22T16:35:06.355Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-09-22T16:35:06.355Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.369s coverage: 69.1% of statements [Pipeline] stash [2020-09-22T16:35:07.268Z] Stashed 1 file(s) [Pipeline] } [2020-09-22T16:35:07.277Z] $ docker stop --time=1 ddac9c8b5a9b9f7894e408d985895c3e8c708a639b27933f6b904039283cd562 [2020-09-22T16:35:08.935Z] $ docker rm -f ddac9c8b5a9b9f7894e408d985895c3e8c708a639b27933f6b904039283cd562 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-09-22T16:35:16.534Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.518s coverage: 61.6% of statements [2020-09-22T16:35:16.534Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.015s coverage: 89.5% of statements [2020-09-22T16:35:16.534Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.017s coverage: 100.0% of statements [2020-09-22T16:35:16.534Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.121s coverage: 100.0% of statements [2020-09-22T16:35:16.534Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.010s coverage: 100.0% of statements [2020-09-22T16:35:16.534Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.016s coverage: 100.0% of statements [2020-09-22T16:35:16.534Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-09-22T16:35:16.534Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-09-22T16:35:16.534Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-09-22T16:35:16.534Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-09-22T16:35:16.534Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-09-22T16:35:16.534Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-09-22T16:35:16.534Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-09-22T16:35:16.534Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.014s coverage: 96.6% of statements [2020-09-22T16:35:16.534Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-09-22T16:35:16.534Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.010s coverage: 97.7% of statements [2020-09-22T16:35:16.534Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-09-22T16:35:16.534Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-09-22T16:35:16.534Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.020s coverage: 9.4% of statements [2020-09-22T16:35:18.509Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 7.203s coverage: 75.0% of statements [2020-09-22T16:35:18.509Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] [2020-09-22T16:35:18.509Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.039s coverage: 89.7% of statements [2020-09-22T16:35:18.509Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.023s coverage: 88.9% of statements [2020-09-22T16:35:18.509Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.273s coverage: 80.5% of statements [2020-09-22T16:35:18.509Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.049s coverage: 71.7% of statements [2020-09-22T16:35:45.296Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.652s coverage: 70.6% of statements [2020-09-22T16:35:45.296Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.012s coverage: 94.4% of statements [2020-09-22T16:35:45.296Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-09-22T16:35:55.495Z] gofmt -l . [2020-09-22T16:35:55.768Z] [ "`gofmt -l .`" = "" ] [2020-09-22T16:35:56.370Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-22T16:35:56.986Z] Warning: overwriting stash ‘coverage-report’ [2020-09-22T16:35:57.832Z] Stashed 1 file(s) [Pipeline] } [2020-09-22T16:35:57.847Z] $ docker stop --time=1 f4279f87809e80a029aef17e4a6fc7c01b8dafb5d228f38735990ee3fe763c38 [2020-09-22T16:36:00.105Z] $ docker rm -f f4279f87809e80a029aef17e4a6fc7c01b8dafb5d228f38735990ee3fe763c38 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-09-22T16:36:03.224Z] provisioning config files... [2020-09-22T16:36:03.237Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-498@tmp/config6841719533766441926tmp [Pipeline] { [Pipeline] sh [2020-09-22T16:36:03.633Z] + curl -s https://codecov.io/bash [2020-09-22T16:36:03.633Z] + bash -s - -t @/w/workspace/ndry_app-functions-sdk-go_PR-498@tmp/config6841719533766441926tmp [Pipeline] } [2020-09-22T16:36:03.909Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [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-22T16:36:06.347Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-22T16:36:06.949Z] ---> package-listing.sh [2020-09-22T16:36:06.949Z] ++ facter osfamily [2020-09-22T16:36:06.949Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-22T16:36:06.949Z] + OS_FAMILY=redhat [2020-09-22T16:36:06.949Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-498 [2020-09-22T16:36:06.949Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-22T16:36:06.949Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-22T16:36:06.949Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-22T16:36:06.949Z] + PACKAGES=/tmp/packages_start.txt [2020-09-22T16:36:06.949Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-498 ']' [2020-09-22T16:36:06.949Z] + PACKAGES=/tmp/packages_end.txt [2020-09-22T16:36:06.949Z] + case "${OS_FAMILY}" in [2020-09-22T16:36:06.949Z] + rpm -qa [2020-09-22T16:36:06.949Z] + sort [2020-09-22T16:36:11.182Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-22T16:36:11.182Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-22T16:36:11.182Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-22T16:36:11.182Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-498 ']' [2020-09-22T16:36:11.182Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-498/archives/ [2020-09-22T16:36:11.182Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-498/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-22T16:36:11.704Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-22T16:36:11.704Z] [2020-09-22T16:36:11.704Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-22T16:36:12.058Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-22T16:36:12.058Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-22T16:36:12.058Z] df20fa9351a1: Pulling fs layer [2020-09-22T16:36:12.058Z] 36b3adc4ff6f: Pulling fs layer [2020-09-22T16:36:12.058Z] 8ad3a11d3b57: Pulling fs layer [2020-09-22T16:36:12.058Z] 46f8f816bc3b: Pulling fs layer [2020-09-22T16:36:12.058Z] 0dadc02b9964: Pulling fs layer [2020-09-22T16:36:12.058Z] ce6a7cf60c04: Pulling fs layer [2020-09-22T16:36:12.058Z] 7a184a31f384: Pulling fs layer [2020-09-22T16:36:12.058Z] 0879bd2ef858: Pulling fs layer [2020-09-22T16:36:12.058Z] 0dadc02b9964: Waiting [2020-09-22T16:36:12.058Z] ce6a7cf60c04: Waiting [2020-09-22T16:36:12.058Z] 7a184a31f384: Waiting [2020-09-22T16:36:12.058Z] 0879bd2ef858: Waiting [2020-09-22T16:36:12.058Z] 46f8f816bc3b: Waiting [2020-09-22T16:36:12.058Z] 36b3adc4ff6f: Verifying Checksum [2020-09-22T16:36:12.058Z] 36b3adc4ff6f: Download complete [2020-09-22T16:36:12.058Z] 46f8f816bc3b: Verifying Checksum [2020-09-22T16:36:12.058Z] 46f8f816bc3b: Download complete [2020-09-22T16:36:12.058Z] df20fa9351a1: Verifying Checksum [2020-09-22T16:36:12.326Z] ce6a7cf60c04: Download complete [2020-09-22T16:36:12.326Z] 7a184a31f384: Verifying Checksum [2020-09-22T16:36:12.326Z] 7a184a31f384: Download complete [2020-09-22T16:36:12.326Z] 0dadc02b9964: Verifying Checksum [2020-09-22T16:36:12.326Z] 0dadc02b9964: Download complete [2020-09-22T16:36:12.593Z] 8ad3a11d3b57: Verifying Checksum [2020-09-22T16:36:12.593Z] 8ad3a11d3b57: Download complete [2020-09-22T16:36:12.593Z] df20fa9351a1: Pull complete [2020-09-22T16:36:12.857Z] 36b3adc4ff6f: Pull complete [2020-09-22T16:36:12.857Z] 0879bd2ef858: Verifying Checksum [2020-09-22T16:36:12.857Z] 0879bd2ef858: Download complete [2020-09-22T16:36:13.435Z] 8ad3a11d3b57: Pull complete [2020-09-22T16:36:13.435Z] 46f8f816bc3b: Pull complete [2020-09-22T16:36:13.698Z] 0dadc02b9964: Pull complete [2020-09-22T16:36:13.965Z] ce6a7cf60c04: Pull complete [2020-09-22T16:36:13.965Z] 7a184a31f384: Pull complete [2020-09-22T16:36:16.536Z] 0879bd2ef858: Pull complete [2020-09-22T16:36:16.536Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-22T16:36:16.536Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-22T16:36:16.536Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-22T16:36:16.696Z] prd-centos7-docker-4c-2g-865 does not seem to be running inside a container [2020-09-22T16:36:16.751Z] $ 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-498 -v /w/workspace/ndry_app-functions-sdk-go_PR-498:/w/workspace/ndry_app-functions-sdk-go_PR-498:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-498@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-498@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-22T16:36:22.750Z] $ docker top 85cf49c2da50c1e078089676e26def50f0e54455295c986f7944a3a03eb688a1 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T16:36:23.328Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-22T16:36:23.723Z] + ls /var/log/sa-host [2020-09-22T16:36:23.723Z] + sadf -c /var/log/sa-host/sa05 [2020-09-22T16:36:23.723Z] file_magic: OK [2020-09-22T16:36:23.723Z] HZ: Using current value: 100 [2020-09-22T16:36:23.723Z] file_header: OK [2020-09-22T16:36:23.723Z] 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-22T16:36:23.723Z] Statistics: [2020-09-22T16:36:23.723Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-22T16:36:23.723Z] File successfully converted to sysstat format version 12.2.1 [2020-09-22T16:36:23.723Z] + sadf -c /var/log/sa-host/sa22 [2020-09-22T16:36:23.723Z] file_magic: OK [2020-09-22T16:36:23.723Z] HZ: Using current value: 100 [2020-09-22T16:36:23.723Z] file_header: OK [2020-09-22T16:36:23.723Z] 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-22T16:36:23.723Z] Statistics: [2020-09-22T16:36:23.723Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-22T16:36:23.723Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-22T16:36:23.790Z] provisioning config files... [2020-09-22T16:36:23.816Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-498@tmp/config7115159055622674514tmp [Pipeline] { [Pipeline] echo [2020-09-22T16:36:23.898Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-22T16:36:24.200Z] ---> create-netrc.sh [Pipeline] echo [2020-09-22T16:36:24.210Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-22T16:36:24.515Z] ---> logs-deploy.sh [2020-09-22T16:36:24.515Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-498/4 [2020-09-22T16:36:24.515Z] INFO: archiving workspace using pattern(s): [2020-09-22T16:36:25.908Z] Archives upload complete. [2020-09-22T16:36:25.908Z] INFO: archiving logs to Nexus [2020-09-22T16:36:26.857Z] ---> uname -a: [2020-09-22T16:36:26.857Z] Linux 85cf49c2da50 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux [2020-09-22T16:36:26.857Z] [2020-09-22T16:36:26.857Z] [2020-09-22T16:36:26.857Z] ---> lscpu: [2020-09-22T16:36:26.857Z] Architecture: x86_64 [2020-09-22T16:36:26.857Z] CPU op-mode(s): 32-bit, 64-bit [2020-09-22T16:36:26.857Z] Byte Order: Little Endian [2020-09-22T16:36:26.857Z] Address sizes: 40 bits physical, 48 bits virtual [2020-09-22T16:36:26.857Z] CPU(s): 4 [2020-09-22T16:36:26.857Z] On-line CPU(s) list: 0-3 [2020-09-22T16:36:26.857Z] Thread(s) per core: 1 [2020-09-22T16:36:26.857Z] Core(s) per socket: 1 [2020-09-22T16:36:26.857Z] Socket(s): 4 [2020-09-22T16:36:26.857Z] NUMA node(s): 1 [2020-09-22T16:36:26.857Z] Vendor ID: GenuineIntel [2020-09-22T16:36:26.857Z] CPU family: 6 [2020-09-22T16:36:26.857Z] Model: 44 [2020-09-22T16:36:26.857Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2020-09-22T16:36:26.857Z] Stepping: 1 [2020-09-22T16:36:26.857Z] CPU MHz: 2933.438 [2020-09-22T16:36:26.857Z] BogoMIPS: 5866.87 [2020-09-22T16:36:26.857Z] Virtualization: VT-x [2020-09-22T16:36:26.857Z] Hypervisor vendor: KVM [2020-09-22T16:36:26.857Z] Virtualization type: full [2020-09-22T16:36:26.857Z] L1d cache: 128 KiB [2020-09-22T16:36:26.857Z] L1i cache: 128 KiB [2020-09-22T16:36:26.857Z] L2 cache: 16 MiB [2020-09-22T16:36:26.857Z] L3 cache: 64 MiB [2020-09-22T16:36:26.857Z] NUMA node0 CPU(s): 0-3 [2020-09-22T16:36:26.857Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2020-09-22T16:36:26.857Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2020-09-22T16:36:26.858Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2020-09-22T16:36:26.858Z] Vulnerability Meltdown: Mitigation; PTI [2020-09-22T16:36:26.858Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2020-09-22T16:36:26.858Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2020-09-22T16:36:26.858Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2020-09-22T16:36:26.858Z] Vulnerability Tsx async abort: Not affected [2020-09-22T16:36:26.858Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2020-09-22T16:36:26.858Z] [2020-09-22T16:36:26.858Z] [2020-09-22T16:36:26.858Z] ---> nproc: [2020-09-22T16:36:26.858Z] 4 [2020-09-22T16:36:26.858Z] [2020-09-22T16:36:26.858Z] [2020-09-22T16:36:26.858Z] ---> df -h: [2020-09-22T16:36:26.858Z] Filesystem Size Used Available Use% Mounted on [2020-09-22T16:36:26.858Z] overlay 50.0G 7.0G 43.0G 14% / [2020-09-22T16:36:26.858Z] tmpfs 64.0M 0 64.0M 0% /dev [2020-09-22T16:36:26.858Z] tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup [2020-09-22T16:36:26.858Z] shm 64.0M 0 64.0M 0% /dev/shm [2020-09-22T16:36:26.858Z] /dev/vda1 50.0G 7.0G 43.0G 14% /etc/resolv.conf [2020-09-22T16:36:26.858Z] /dev/vda1 50.0G 7.0G 43.0G 14% /etc/hostname [2020-09-22T16:36:26.858Z] /dev/vda1 50.0G 7.0G 43.0G 14% /etc/hosts [2020-09-22T16:36:26.858Z] /dev/vda1 50.0G 7.0G 43.0G 14% /var/log/sa-host [2020-09-22T16:36:26.858Z] /dev/vda1 50.0G 7.0G 43.0G 14% /w/workspace/ndry_app-functions-sdk-go_PR-498 [2020-09-22T16:36:26.858Z] /dev/vda1 50.0G 7.0G 43.0G 14% /w/workspace/ndry_app-functions-sdk-go_PR-498@tmp [2020-09-22T16:36:26.858Z] [2020-09-22T16:36:26.858Z] [2020-09-22T16:36:26.858Z] ---> free -m: [2020-09-22T16:36:26.858Z] total used free shared buff/cache available [2020-09-22T16:36:26.858Z] Mem: 1837 665 140 0 1031 1065 [2020-09-22T16:36:26.858Z] Swap: 1023 0 1023 [2020-09-22T16:36:26.858Z] [2020-09-22T16:36:26.858Z]