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 f1c5bfe43fe41c9d4796a1f5f5bf96947fa74ad0+a28a1e282162ae220bb16baae6b474c93cd0f1dd (6a15d32c58fd398e93e702d78f391010888e8aab) 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-889 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 Merging remotes/origin/master commit a28a1e282162ae220bb16baae6b474c93cd0f1dd into PR head commit f1c5bfe43fe41c9d4796a1f5f5bf96947fa74ad0 Merge succeeded, producing f1c5bfe43fe41c9d4796a1f5f5bf96947fa74ad0 Checking out Revision f1c5bfe43fe41c9d4796a1f5f5bf96947fa74ad0 (PR-498) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f f1c5bfe43fe41c9d4796a1f5f5bf96947fa74ad0 # 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 f1c5bfe43fe41c9d4796a1f5f5bf96947fa74ad0 # timeout=10 Commit message: "feat(triggers): Add MQTT Trigger with secure connection options" First time build. Skipping changelog. [Pipeline] } > git rev-list --no-walk 5885ac0b8c329b3e7e63d654a9cb85185cb22530 # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-22T17:32:57.316Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-22T17:32:57.538Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-22T17:32:57.671Z] ========================================================= [2020-09-22T17:32:57.671Z] EdgeX Global Pipelines Version Info [2020-09-22T17:32:57.671Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-22T17:32:59.184Z] ------------------- [2020-09-22T17:32:59.184Z] stable info: [2020-09-22T17:32:59.184Z] ------------------- [2020-09-22T17:32:59.184Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-22T17:32:59.184Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-22T17:32:59.184Z] Message: update stable to v1.0.122 [2020-09-22T17:33:00.137Z] ------------------- [2020-09-22T17:33:00.137Z] experimental info: [2020-09-22T17:33:00.137Z] ------------------- [2020-09-22T17:33:00.137Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-22T17:33:00.137Z] Commit SHA: 4cadb88800041bcc4665ba3be4ccb25d089af403 [2020-09-22T17:33:00.137Z] Message: update experimental to v1.0.126 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-22T17:33:00.609Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2020-09-22T17:33:00.719Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2020-09-22T17:33:00.807Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-22T17:33:00.990Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-22T17:33:01.081Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-22T17:33:01.184Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-22T17:33:01.283Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-22T17:33:01.381Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-22T17:33:01.475Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-22T17:33:01.600Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-22T17:33:01.710Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-22T17:33:01.806Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2020-09-22T17:33:01.896Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-22T17:33:01.995Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-22T17:33:02.166Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-09-22T17:33:02.278Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-22T17:33:02.367Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-22T17:33:02.458Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-22T17:33:02.576Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-22T17:33:02.664Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-22T17:33:02.756Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-09-22T17:33:02.853Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2020-09-22T17:33:02.961Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-498 [Pipeline] echo [2020-09-22T17:33:03.056Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-498 [Pipeline] echo [2020-09-22T17:33:03.147Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-498 [Pipeline] echo [2020-09-22T17:33:03.246Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f1c5bfe43fe41c9d4796a1f5f5bf96947fa74ad0 [Pipeline] echo [2020-09-22T17:33:03.346Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f1c5bfe [Pipeline] echo [2020-09-22T17:33:03.446Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-22T17:33:04.122Z] + git log --format=format:%s -1 f1c5bfe43fe41c9d4796a1f5f5bf96947fa74ad0 [Pipeline] echo [2020-09-22T17:33:04.192Z] GIT_COMMIT: f1c5bfe43fe41c9d4796a1f5f5bf96947fa74ad0, Commit Message: feat(triggers): Add MQTT Trigger with secure connection options [Pipeline] echo [2020-09-22T17:33:04.247Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-22T17:33:04.790Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-22T17:33:05.056Z] [2020-09-22T17:33:05.056Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-22T17:33:05.408Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-22T17:33:05.408Z] latest: Pulling from edgex-devops/git-semver [2020-09-22T17:33:05.408Z] 31603596830f: Pulling fs layer [2020-09-22T17:33:05.408Z] 2a8b12db71e7: Pulling fs layer [2020-09-22T17:33:05.408Z] 6ca5941a6612: Pulling fs layer [2020-09-22T17:33:05.408Z] ecc8261a40a4: Pulling fs layer [2020-09-22T17:33:05.408Z] ecc8261a40a4: Waiting [2020-09-22T17:33:05.408Z] 2a8b12db71e7: Verifying Checksum [2020-09-22T17:33:05.408Z] 2a8b12db71e7: Download complete [2020-09-22T17:33:05.675Z] 31603596830f: Verifying Checksum [2020-09-22T17:33:05.675Z] 31603596830f: Download complete [2020-09-22T17:33:05.675Z] ecc8261a40a4: Verifying Checksum [2020-09-22T17:33:05.675Z] ecc8261a40a4: Download complete [2020-09-22T17:33:05.675Z] 6ca5941a6612: Verifying Checksum [2020-09-22T17:33:05.675Z] 6ca5941a6612: Download complete [2020-09-22T17:33:05.939Z] 31603596830f: Pull complete [2020-09-22T17:33:05.939Z] 2a8b12db71e7: Pull complete [2020-09-22T17:33:06.898Z] 6ca5941a6612: Pull complete [2020-09-22T17:33:06.898Z] ecc8261a40a4: Pull complete [2020-09-22T17:33:06.898Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-22T17:33:06.898Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-22T17:33:06.898Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-22T17:33:07.007Z] prd-centos7-docker-4c-2g-889 does not seem to be running inside a container [2020-09-22T17:33:07.071Z] $ 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-22T17:33:09.191Z] $ docker top 75971f5e909198a7ea8ab1a6c57624890653120c9f468c2185a711ea87bdc9c7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-22T17:33:09.481Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-22T17:33:09.481Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-22T17:33:09.691Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-22T17:33:09.696Z] $ docker exec 75971f5e909198a7ea8ab1a6c57624890653120c9f468c2185a711ea87bdc9c7 ssh-agent [2020-09-22T17:33:09.861Z] SSH_AUTH_SOCK=/tmp/ssh-zbE9j6DwHvJ7/agent.11 [2020-09-22T17:33:09.861Z] SSH_AGENT_PID=17 [2020-09-22T17:33:09.873Z] Running ssh-add (command line suppressed) [2020-09-22T17:33:09.995Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-498@tmp/private_key_4267495049533403915.key (/w/workspace/ndry_app-functions-sdk-go_PR-498@tmp/private_key_4267495049533403915.key) [2020-09-22T17:33:10.045Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-22T17:33:10.426Z] + git describe --exact-match --tags HEAD [2020-09-22T17:33:10.426Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-22T17:33:10.458Z] $ docker exec --env ******** --env ******** 75971f5e909198a7ea8ab1a6c57624890653120c9f468c2185a711ea87bdc9c7 ssh-agent -k [2020-09-22T17:33:10.575Z] unset SSH_AUTH_SOCK; [2020-09-22T17:33:10.575Z] unset SSH_AGENT_PID; [2020-09-22T17:33:10.576Z] echo Agent pid 17 killed; [2020-09-22T17:33:10.622Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-22T17:33:10.793Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-22T17:33:10.793Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-22T17:33:10.900Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-22T17:33:10.900Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-22T17:33:11.070Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-22T17:33:11.077Z] $ docker exec 75971f5e909198a7ea8ab1a6c57624890653120c9f468c2185a711ea87bdc9c7 ssh-agent [2020-09-22T17:33:11.237Z] SSH_AUTH_SOCK=/tmp/ssh-aRNpdIta1OGM/agent.46 [2020-09-22T17:33:11.237Z] SSH_AGENT_PID=51 [2020-09-22T17:33:11.244Z] Running ssh-add (command line suppressed) [2020-09-22T17:33:11.366Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-498@tmp/private_key_8009396103821775294.key (/w/workspace/ndry_app-functions-sdk-go_PR-498@tmp/private_key_8009396103821775294.key) [2020-09-22T17:33:11.418Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-22T17:33:11.765Z] + git semver init [2020-09-22T17:33:11.766Z] # -> Open(): unable to determine branch for HEAD [2020-09-22T17:33:11.766Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-498/.git [2020-09-22T17:33:11.766Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-498 [2020-09-22T17:33:11.766Z] # $SEMVER_REMOTE_NAME = origin [2020-09-22T17:33:11.766Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-22T17:33:11.766Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-22T17:33:11.766Z] # $SEMVER_BRANCH = PR-498 [2020-09-22T17:33:11.766Z] # $SEMVER_TEMP = /tmp/semver-354733046 [2020-09-22T17:33:11.766Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2020-09-22T17:33:14.334Z] # '/tmp/semver-354733046' -> '/w/workspace/ndry_app-functions-sdk-go_PR-498/.semver' [2020-09-22T17:33:14.334Z] # -> Force: false [2020-09-22T17:33:14.334Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-498/.semver [Pipeline] } [2020-09-22T17:33:14.350Z] $ docker exec --env ******** --env ******** 75971f5e909198a7ea8ab1a6c57624890653120c9f468c2185a711ea87bdc9c7 ssh-agent -k [2020-09-22T17:33:14.470Z] unset SSH_AUTH_SOCK; [2020-09-22T17:33:14.471Z] unset SSH_AGENT_PID; [2020-09-22T17:33:14.471Z] echo Agent pid 51 killed; [2020-09-22T17:33:14.525Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-22T17:33:15.008Z] + git semver [Pipeline] } [2020-09-22T17:33:15.038Z] $ docker stop --time=1 75971f5e909198a7ea8ab1a6c57624890653120c9f468c2185a711ea87bdc9c7 [2020-09-22T17:33:16.539Z] $ docker rm -f 75971f5e909198a7ea8ab1a6c57624890653120c9f468c2185a711ea87bdc9c7 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-22T17:33:19.084Z] Stashed 50 file(s) [Pipeline] echo [2020-09-22T17:33:19.087Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-22T17:33:19.318Z] 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-22T17:33:34.920Z] Still waiting to schedule task [2020-09-22T17:33:34.920Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-889’ [2020-09-22T17:33:34.924Z] Still waiting to schedule task [2020-09-22T17:33:34.924Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-09-22T17:35:37.937Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-890 in /w/workspace/ndry_app-functions-sdk-go_PR-498 [Pipeline] { [Pipeline] ws [2020-09-22T17:35:37.987Z] Running in /w/workspace/app-functions-sdk-go/9 [Pipeline] { [Pipeline] checkout [2020-09-22T17:35:42.770Z] using credential edgex-jenkins-ssh [2020-09-22T17:35:42.838Z] Cloning the remote Git repository [2020-09-22T17:35:42.839Z] Cloning with configured refspecs honoured and without tags [2020-09-22T17:35:42.906Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-22T17:35:43.051Z] > git init /w/workspace/app-functions-sdk-go/9 # timeout=10 [2020-09-22T17:35:43.111Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-22T17:35:43.112Z] > git --version # timeout=10 [2020-09-22T17:35:43.133Z] > git --version # 'git version 2.17.1' [2020-09-22T17:35:43.134Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T17:35:43.219Z] > 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-22T17:35:44.900Z] Running on prd-centos7-docker-4c-2g-891 in /w/workspace/ndry_app-functions-sdk-go_PR-498 [Pipeline] { [Pipeline] ws [2020-09-22T17:35:44.956Z] Running in /w/workspace/app-functions-sdk-go/9 [Pipeline] { [Pipeline] checkout [2020-09-22T17:35:46.026Z] Fetching without tags [2020-09-22T17:35:46.501Z] Merging remotes/origin/master commit a28a1e282162ae220bb16baae6b474c93cd0f1dd into PR head commit f1c5bfe43fe41c9d4796a1f5f5bf96947fa74ad0 [2020-09-22T17:35:46.721Z] Merge succeeded, producing f1c5bfe43fe41c9d4796a1f5f5bf96947fa74ad0 [2020-09-22T17:35:46.722Z] Checking out Revision f1c5bfe43fe41c9d4796a1f5f5bf96947fa74ad0 (PR-498) [2020-09-22T17:35:45.956Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-22T17:35:45.971Z] > git config --add remote.origin.fetch +refs/pull/498/head:refs/remotes/origin/PR-498 # timeout=10 [2020-09-22T17:35:45.989Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T17:35:46.010Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-22T17:35:46.041Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-22T17:35:46.042Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T17:35:46.052Z] > 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-22T17:35:46.522Z] > git config core.sparsecheckout # timeout=10 [2020-09-22T17:35:46.545Z] > git checkout -f f1c5bfe43fe41c9d4796a1f5f5bf96947fa74ad0 # timeout=10 [2020-09-22T17:35:46.652Z] > git remote # timeout=10 [2020-09-22T17:35:46.665Z] > git config --get remote.origin.url # timeout=10 [2020-09-22T17:35:46.680Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T17:35:46.690Z] > git merge a28a1e282162ae220bb16baae6b474c93cd0f1dd # timeout=10 [2020-09-22T17:35:46.711Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-22T17:35:46.731Z] > git config core.sparsecheckout # timeout=10 [2020-09-22T17:35:46.751Z] > git checkout -f f1c5bfe43fe41c9d4796a1f5f5bf96947fa74ad0 # timeout=10 [2020-09-22T17:35:47.666Z] using credential edgex-jenkins-ssh [2020-09-22T17:35:47.718Z] Cloning the remote Git repository [2020-09-22T17:35:47.718Z] Cloning with configured refspecs honoured and without tags [2020-09-22T17:35:47.747Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-22T17:35:47.902Z] > git init /w/workspace/app-functions-sdk-go/9 # timeout=10 [2020-09-22T17:35:48.401Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-22T17:35:48.402Z] > git --version # timeout=10 [2020-09-22T17:35:48.412Z] > git --version # 'git version 2.16.5' [2020-09-22T17:35:48.413Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T17:35:48.436Z] > 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-22T17:35:49.893Z] Fetching without tags [2020-09-22T17:35:50.277Z] Merging remotes/origin/master commit a28a1e282162ae220bb16baae6b474c93cd0f1dd into PR head commit f1c5bfe43fe41c9d4796a1f5f5bf96947fa74ad0 [2020-09-22T17:35:50.371Z] Merge succeeded, producing f1c5bfe43fe41c9d4796a1f5f5bf96947fa74ad0 [2020-09-22T17:35:50.372Z] Checking out Revision f1c5bfe43fe41c9d4796a1f5f5bf96947fa74ad0 (PR-498) [2020-09-22T17:35:49.861Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-22T17:35:49.868Z] > git config --add remote.origin.fetch +refs/pull/498/head:refs/remotes/origin/PR-498 # timeout=10 [2020-09-22T17:35:49.874Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-22T17:35:49.885Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-09-22T17:35:49.896Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-09-22T17:35:49.896Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T17:35:49.901Z] > 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-22T17:35:50.284Z] > git config core.sparsecheckout # timeout=10 [2020-09-22T17:35:50.289Z] > git checkout -f f1c5bfe43fe41c9d4796a1f5f5bf96947fa74ad0 # timeout=10 [2020-09-22T17:35:50.334Z] > git remote # timeout=10 [2020-09-22T17:35:50.342Z] > git config --get remote.origin.url # timeout=10 [2020-09-22T17:35:50.346Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-22T17:35:50.350Z] > git merge a28a1e282162ae220bb16baae6b474c93cd0f1dd # timeout=10 [2020-09-22T17:35:50.359Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-22T17:35:50.374Z] > git config core.sparsecheckout # timeout=10 [2020-09-22T17:35:50.381Z] > git checkout -f f1c5bfe43fe41c9d4796a1f5f5bf96947fa74ad0 # timeout=10 [2020-09-22T17:35:51.033Z] 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 [2020-09-22T17:35:54.000Z] Commit message: "feat(triggers): Add MQTT Trigger with secure connection options" [Pipeline] echo [2020-09-22T17:35:54.222Z] ========================================================= [2020-09-22T17:35:54.222Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-22T17:35:54.222Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-09-22T17:35:55.326Z] + 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 . [Pipeline] echo [2020-09-22T17:35:56.359Z] ========================================================= [2020-09-22T17:35:56.359Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-22T17:35:56.359Z] ========================================================= [2020-09-22T17:35:56.364Z] Sending build context to Docker daemon 37.24MB [Pipeline] isUnix [Pipeline] sh [2020-09-22T17:35:56.641Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-22T17:35:56.641Z] Step 2/8 : FROM ${BASE} [2020-09-22T17:35:56.921Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-22T17:35:56.921Z] b538f80385f9: Pulling fs layer [2020-09-22T17:35:56.921Z] 74f711af9a0d: Pulling fs layer [2020-09-22T17:35:56.921Z] 99f96fe45779: Pulling fs layer [2020-09-22T17:35:56.921Z] 8529a6b9a6be: Pulling fs layer [2020-09-22T17:35:56.921Z] 45590311c82a: Pulling fs layer [2020-09-22T17:35:56.921Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-22T17:35:56.921Z] 209524e5b208: Pulling fs layer [2020-09-22T17:35:56.921Z] 8529a6b9a6be: Waiting [2020-09-22T17:35:56.921Z] 45590311c82a: Waiting [2020-09-22T17:35:56.921Z] 69ca0ff8b7b3: Waiting [2020-09-22T17:35:56.921Z] 209524e5b208: Waiting [2020-09-22T17:35:56.921Z] 99f96fe45779: Download complete [2020-09-22T17:35:56.921Z] 74f711af9a0d: Verifying Checksum [2020-09-22T17:35:56.921Z] 74f711af9a0d: Download complete [2020-09-22T17:35:56.921Z] 45590311c82a: Download complete [2020-09-22T17:35:56.921Z] 69ca0ff8b7b3: Verifying Checksum [2020-09-22T17:35:56.921Z] 69ca0ff8b7b3: Download complete [2020-09-22T17:35:57.074Z] + 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-22T17:35:57.655Z] Sending build context to Docker daemon 37.24MB [2020-09-22T17:35:57.655Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-22T17:35:57.655Z] Step 2/8 : FROM ${BASE} [2020-09-22T17:35:57.903Z] b538f80385f9: Verifying Checksum [2020-09-22T17:35:57.903Z] b538f80385f9: Download complete [2020-09-22T17:35:58.236Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-22T17:35:58.236Z] df20fa9351a1: Pulling fs layer [2020-09-22T17:35:58.236Z] ed8968b2872e: Pulling fs layer [2020-09-22T17:35:58.236Z] a92cc7c5fd73: Pulling fs layer [2020-09-22T17:35:58.236Z] e871e8e8d7a9: Pulling fs layer [2020-09-22T17:35:58.236Z] e73272ec9a57: Pulling fs layer [2020-09-22T17:35:58.236Z] 1e910a182e73: Pulling fs layer [2020-09-22T17:35:58.236Z] 4e634b169226: Pulling fs layer [2020-09-22T17:35:58.236Z] e73272ec9a57: Waiting [2020-09-22T17:35:58.236Z] 4e634b169226: Waiting [2020-09-22T17:35:58.236Z] 1e910a182e73: Waiting [2020-09-22T17:35:58.236Z] e871e8e8d7a9: Waiting [2020-09-22T17:35:58.236Z] a92cc7c5fd73: Verifying Checksum [2020-09-22T17:35:58.236Z] a92cc7c5fd73: Download complete [2020-09-22T17:35:58.236Z] ed8968b2872e: Download complete [2020-09-22T17:35:58.236Z] e73272ec9a57: Download complete [2020-09-22T17:35:58.236Z] 1e910a182e73: Verifying Checksum [2020-09-22T17:35:58.236Z] 1e910a182e73: Download complete [2020-09-22T17:35:58.509Z] b538f80385f9: Pull complete [2020-09-22T17:35:58.812Z] df20fa9351a1: Verifying Checksum [2020-09-22T17:35:58.812Z] df20fa9351a1: Download complete [2020-09-22T17:35:58.812Z] df20fa9351a1: Pull complete [2020-09-22T17:35:59.075Z] ed8968b2872e: Pull complete [2020-09-22T17:35:59.109Z] 74f711af9a0d: Pull complete [2020-09-22T17:35:59.340Z] a92cc7c5fd73: Pull complete [2020-09-22T17:35:59.388Z] 99f96fe45779: Pull complete [2020-09-22T17:36:01.380Z] 209524e5b208: Verifying Checksum [2020-09-22T17:36:01.380Z] 209524e5b208: Download complete [2020-09-22T17:36:01.914Z] 4e634b169226: Verifying Checksum [2020-09-22T17:36:01.914Z] 4e634b169226: Download complete [2020-09-22T17:36:02.824Z] 8529a6b9a6be: Verifying Checksum [2020-09-22T17:36:02.824Z] 8529a6b9a6be: Download complete [2020-09-22T17:36:02.861Z] e871e8e8d7a9: Verifying Checksum [2020-09-22T17:36:02.862Z] e871e8e8d7a9: Download complete [2020-09-22T17:36:08.179Z] e871e8e8d7a9: Pull complete [2020-09-22T17:36:08.180Z] e73272ec9a57: Pull complete [2020-09-22T17:36:08.180Z] 1e910a182e73: Pull complete [2020-09-22T17:36:14.798Z] 4e634b169226: Pull complete [2020-09-22T17:36:14.798Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-22T17:36:14.798Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-22T17:36:14.798Z] ---> f7629b54cfaa [2020-09-22T17:36:14.798Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-09-22T17:36:14.798Z] latest: Pulling from library/docker [2020-09-22T17:36:14.798Z] df20fa9351a1: Already exists [2020-09-22T17:36:14.798Z] 25ad7478873d: Pulling fs layer [2020-09-22T17:36:14.798Z] 4684f6177b5d: Pulling fs layer [2020-09-22T17:36:14.798Z] 8ba584e970af: Pulling fs layer [2020-09-22T17:36:14.798Z] 3cdc74d2b06d: Pulling fs layer [2020-09-22T17:36:14.798Z] 4cf5a0d07c1f: Pulling fs layer [2020-09-22T17:36:14.798Z] fca0ccc462d5: Pulling fs layer [2020-09-22T17:36:14.798Z] 3cdc74d2b06d: Waiting [2020-09-22T17:36:14.798Z] 4cf5a0d07c1f: Waiting [2020-09-22T17:36:14.798Z] fca0ccc462d5: Waiting [2020-09-22T17:36:14.798Z] 4684f6177b5d: Verifying Checksum [2020-09-22T17:36:14.798Z] 4684f6177b5d: Download complete [2020-09-22T17:36:14.798Z] 25ad7478873d: Download complete [2020-09-22T17:36:14.798Z] 3cdc74d2b06d: Verifying Checksum [2020-09-22T17:36:14.798Z] 3cdc74d2b06d: Download complete [2020-09-22T17:36:14.798Z] 4cf5a0d07c1f: Verifying Checksum [2020-09-22T17:36:14.798Z] 4cf5a0d07c1f: Download complete [2020-09-22T17:36:14.798Z] fca0ccc462d5: Verifying Checksum [2020-09-22T17:36:14.798Z] fca0ccc462d5: Download complete [2020-09-22T17:36:15.068Z] 25ad7478873d: Pull complete [2020-09-22T17:36:15.068Z] 4684f6177b5d: Pull complete [2020-09-22T17:36:15.271Z] 8529a6b9a6be: Pull complete [2020-09-22T17:36:15.271Z] 45590311c82a: Pull complete [2020-09-22T17:36:15.271Z] 69ca0ff8b7b3: Pull complete [2020-09-22T17:36:15.331Z] 8ba584e970af: Verifying Checksum [2020-09-22T17:36:15.331Z] 8ba584e970af: Download complete [2020-09-22T17:36:17.896Z] 8ba584e970af: Pull complete [2020-09-22T17:36:17.896Z] 3cdc74d2b06d: Pull complete [2020-09-22T17:36:17.896Z] 4cf5a0d07c1f: Pull complete [2020-09-22T17:36:17.896Z] fca0ccc462d5: Pull complete [2020-09-22T17:36:17.896Z] Digest: sha256:57ddfc5b9f4f89f1598440cd1d6d97b87532b0bce1315e7880ae6843e3583529 [2020-09-22T17:36:17.896Z] Status: Downloaded newer image for docker:latest [2020-09-22T17:36:17.906Z] 209524e5b208: Pull complete [2020-09-22T17:36:17.906Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-22T17:36:17.906Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-22T17:36:17.906Z] ---> 5bddaf1c2fca [2020-09-22T17:36:17.906Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-09-22T17:36:17.906Z] latest: Pulling from library/docker [2020-09-22T17:36:18.179Z] b538f80385f9: Already exists [2020-09-22T17:36:18.179Z] 259a493cd78d: Pulling fs layer [2020-09-22T17:36:18.180Z] b8e66b5100f5: Pulling fs layer [2020-09-22T17:36:18.180Z] 7f8258a56ab6: Pulling fs layer [2020-09-22T17:36:18.180Z] 75a0a0ebb566: Pulling fs layer [2020-09-22T17:36:18.180Z] 4a2c62f0a2a3: Pulling fs layer [2020-09-22T17:36:18.180Z] 294320357d30: Pulling fs layer [2020-09-22T17:36:18.180Z] 4a2c62f0a2a3: Waiting [2020-09-22T17:36:18.180Z] 75a0a0ebb566: Waiting [2020-09-22T17:36:18.180Z] 294320357d30: Waiting [2020-09-22T17:36:18.180Z] b8e66b5100f5: Verifying Checksum [2020-09-22T17:36:18.180Z] b8e66b5100f5: Download complete [2020-09-22T17:36:18.180Z] 259a493cd78d: Download complete [2020-09-22T17:36:18.456Z] 4a2c62f0a2a3: Download complete [2020-09-22T17:36:18.456Z] 75a0a0ebb566: Download complete [2020-09-22T17:36:18.456Z] 294320357d30: Verifying Checksum [2020-09-22T17:36:18.456Z] 294320357d30: Download complete [2020-09-22T17:36:19.064Z] 259a493cd78d: Pull complete [2020-09-22T17:36:19.341Z] b8e66b5100f5: Pull complete [2020-09-22T17:36:19.822Z] ---> 3f8370524a70 [2020-09-22T17:36:19.822Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-22T17:36:19.822Z] ---> Running in a5229a088c4a [2020-09-22T17:36:19.957Z] 7f8258a56ab6: Verifying Checksum [2020-09-22T17:36:19.957Z] 7f8258a56ab6: Download complete [2020-09-22T17:36:20.086Z] Removing intermediate container a5229a088c4a [2020-09-22T17:36:20.086Z] ---> ee4a06453c35 [2020-09-22T17:36:20.086Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-09-22T17:36:20.086Z] ---> Running in c5539d5de065 [2020-09-22T17:36:20.661Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-22T17:36:21.609Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-22T17:36:22.182Z] (1/5) Installing libsodium (1.0.18-r0) [2020-09-22T17:36:22.182Z] (2/5) Installing libzmq (4.3.3-r0) [2020-09-22T17:36:22.182Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-09-22T17:36:22.445Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-09-22T17:36:22.445Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-09-22T17:36:22.445Z] Executing busybox-1.31.1-r16.trigger [2020-09-22T17:36:22.445Z] OK: 167 MiB in 44 packages [2020-09-22T17:36:23.021Z] Removing intermediate container c5539d5de065 [2020-09-22T17:36:23.021Z] ---> 90e98d384e79 [2020-09-22T17:36:23.021Z] Step 6/8 : WORKDIR /build [2020-09-22T17:36:23.021Z] ---> Running in 657ff9484f96 [2020-09-22T17:36:23.285Z] Removing intermediate container 657ff9484f96 [2020-09-22T17:36:23.285Z] ---> 4761ce0d2bd0 [2020-09-22T17:36:23.285Z] Step 7/8 : COPY go.mod . [2020-09-22T17:36:23.364Z] 7f8258a56ab6: Pull complete [2020-09-22T17:36:23.364Z] 75a0a0ebb566: Pull complete [2020-09-22T17:36:23.551Z] ---> 1a0064b6246d [2020-09-22T17:36:23.551Z] Step 8/8 : RUN go mod download [2020-09-22T17:36:23.551Z] ---> Running in e733f0efe738 [2020-09-22T17:36:23.961Z] 4a2c62f0a2a3: Pull complete [2020-09-22T17:36:24.235Z] 294320357d30: Pull complete [2020-09-22T17:36:24.235Z] Digest: sha256:57ddfc5b9f4f89f1598440cd1d6d97b87532b0bce1315e7880ae6843e3583529 [2020-09-22T17:36:24.235Z] Status: Downloaded newer image for docker:latest [2020-09-22T17:36:30.961Z] ---> f96e81e6f7eb [2020-09-22T17:36:30.961Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-09-22T17:36:30.961Z] ---> Running in 00a07ffea5f2 [2020-09-22T17:36:30.961Z] Removing intermediate container 00a07ffea5f2 [2020-09-22T17:36:30.961Z] ---> 72e91fc445b8 [2020-09-22T17:36:30.961Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-09-22T17:36:30.961Z] ---> Running in c03d01aae3f5 [2020-09-22T17:36:32.399Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-22T17:36:32.672Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-22T17:36:33.646Z] (1/5) Installing libsodium (1.0.18-r0) [2020-09-22T17:36:33.646Z] (2/5) Installing libzmq (4.3.3-r0) [2020-09-22T17:36:33.646Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-09-22T17:36:33.918Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-09-22T17:36:33.918Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-09-22T17:36:33.918Z] Executing busybox-1.31.1-r16.trigger [2020-09-22T17:36:34.194Z] OK: 144 MiB in 44 packages [2020-09-22T17:36:35.630Z] Removing intermediate container c03d01aae3f5 [2020-09-22T17:36:35.630Z] ---> 1a31b4f29bef [2020-09-22T17:36:35.630Z] Step 6/8 : WORKDIR /build [2020-09-22T17:36:35.630Z] ---> Running in bd3e0213595f [2020-09-22T17:36:35.906Z] Removing intermediate container bd3e0213595f [2020-09-22T17:36:35.906Z] ---> df18e18dbcfb [2020-09-22T17:36:35.906Z] Step 7/8 : COPY go.mod . [2020-09-22T17:36:36.892Z] ---> 64247da3661c [2020-09-22T17:36:36.892Z] Step 8/8 : RUN go mod download [2020-09-22T17:36:36.892Z] ---> Running in b1d6f47c85dc [2020-09-22T17:36:50.211Z] Removing intermediate container e733f0efe738 [2020-09-22T17:36:50.211Z] ---> 07a327a5d5ee [2020-09-22T17:36:50.211Z] Successfully built 07a327a5d5ee [2020-09-22T17:36:50.211Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-22T17:36:50.765Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-22T17:36:50.766Z] . [Pipeline] withDockerContainer [2020-09-22T17:36:50.885Z] prd-centos7-docker-4c-2g-891 does not seem to be running inside a container [2020-09-22T17:36:50.944Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/9 -v /w/workspace/app-functions-sdk-go/9:/w/workspace/app-functions-sdk-go/9:rw,z -v /w/workspace/app-functions-sdk-go/9@tmp:/w/workspace/app-functions-sdk-go/9@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-x86_64 cat [2020-09-22T17:36:51.752Z] $ docker top 4b404766e9bc222cd7e850355b596ef9e17349a7ed1918fb2407699736c29229 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T17:36:52.326Z] + go version [2020-09-22T17:36:52.326Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-22T17:36:52.341Z] $ docker stop --time=1 4b404766e9bc222cd7e850355b596ef9e17349a7ed1918fb2407699736c29229 [2020-09-22T17:36:53.706Z] $ docker rm -f 4b404766e9bc222cd7e850355b596ef9e17349a7ed1918fb2407699736c29229 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-22T17:36:54.604Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-22T17:36:54.604Z] . [Pipeline] withDockerContainer [2020-09-22T17:36:54.701Z] prd-centos7-docker-4c-2g-891 does not seem to be running inside a container [2020-09-22T17:36:54.757Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/9 -v /w/workspace/app-functions-sdk-go/9:/w/workspace/app-functions-sdk-go/9:rw,z -v /w/workspace/app-functions-sdk-go/9@tmp:/w/workspace/app-functions-sdk-go/9@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-x86_64 cat [2020-09-22T17:36:55.397Z] $ docker top 664198ff38ba313d1b38386041906f3310334e1b13bb7789ac1ca91644b061d4 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T17:36:55.888Z] + make test [2020-09-22T17:36:55.888Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-09-22T17:36:57.821Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-09-22T17:37:04.506Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.065s coverage: 86.2% of statements [2020-09-22T17:37:09.252Z] Removing intermediate container b1d6f47c85dc [2020-09-22T17:37:09.252Z] ---> 892142e6bcba [2020-09-22T17:37:09.252Z] Successfully built 892142e6bcba [2020-09-22T17:37:09.252Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-22T17:37:09.668Z] + docker inspect -f . ci-base-image-arm64 [2020-09-22T17:37:09.668Z] . [Pipeline] withDockerContainer [2020-09-22T17:37:09.944Z] prd-ubuntu18.04-docker-arm64-4c-16g-890 does not seem to be running inside a container [2020-09-22T17:37:10.037Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/9 -v /w/workspace/app-functions-sdk-go/9:/w/workspace/app-functions-sdk-go/9:rw,z -v /w/workspace/app-functions-sdk-go/9@tmp:/w/workspace/app-functions-sdk-go/9@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-22T17:37:11.942Z] $ docker top 97679a0193037f10ce6c864b93617cbda8bca044fe9a3e361569b0af25d28bc4 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T17:37:13.391Z] + go version [2020-09-22T17:37:13.391Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-09-22T17:37:13.421Z] $ docker stop --time=1 97679a0193037f10ce6c864b93617cbda8bca044fe9a3e361569b0af25d28bc4 [2020-09-22T17:37:15.355Z] $ docker rm -f 97679a0193037f10ce6c864b93617cbda8bca044fe9a3e361569b0af25d28bc4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-22T17:37:16.401Z] + docker inspect -f . ci-base-image-arm64 [2020-09-22T17:37:16.401Z] . [Pipeline] withDockerContainer [2020-09-22T17:37:16.629Z] prd-ubuntu18.04-docker-arm64-4c-16g-890 does not seem to be running inside a container [2020-09-22T17:37:16.720Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/9 -v /w/workspace/app-functions-sdk-go/9:/w/workspace/app-functions-sdk-go/9:rw,z -v /w/workspace/app-functions-sdk-go/9@tmp:/w/workspace/app-functions-sdk-go/9@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-22T17:37:18.570Z] $ docker top a867a67797cb477e02be3f4e45da1cc7efe88d20b49a79e120e17633f26c96c6 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T17:37:19.580Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.060s coverage: 55.6% of statements [2020-09-22T17:37:19.580Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-09-22T17:37:19.580Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-09-22T17:37:19.580Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.023s coverage: 53.5% of statements [2020-09-22T17:37:19.580Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-09-22T17:37:19.581Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.290s coverage: 69.1% of statements [2020-09-22T17:37:20.014Z] + make test [2020-09-22T17:37:20.014Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-09-22T17:37:22.002Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-09-22T17:37:34.524Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 16.323s coverage: 61.6% of statements [2020-09-22T17:37:34.524Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.005s coverage: 89.5% of statements [2020-09-22T17:37:34.524Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.005s coverage: 100.0% of statements [2020-09-22T17:37:34.524Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.078s coverage: 100.0% of statements [2020-09-22T17:37:34.524Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.005s coverage: 100.0% of statements [2020-09-22T17:37:34.524Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.005s coverage: 100.0% of statements [2020-09-22T17:37:34.524Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-09-22T17:37:34.524Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-09-22T17:37:34.524Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-09-22T17:37:34.524Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-09-22T17:37:34.524Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-09-22T17:37:34.524Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-09-22T17:37:34.524Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-09-22T17:37:34.524Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.005s coverage: 96.6% of statements [2020-09-22T17:37:34.524Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-09-22T17:37:34.524Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.005s coverage: 97.7% of statements [2020-09-22T17:37:34.524Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-09-22T17:37:34.524Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-09-22T17:37:34.524Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.008s coverage: 9.4% of statements [2020-09-22T17:37:34.524Z] level=INFO ts=2020-09-22T17:37:20.133411202Z app=app_functions_sdk_go source=messaging.go:47 msg="Initializing Message Bus Trigger for 'zero'" [2020-09-22T17:37:34.524Z] level=INFO ts=2020-09-22T17:37:20.161189569Z app=app_functions_sdk_go source=messaging.go:61 msg="Subscribing to topic: 'events' @ tcp://localhost:5563" [2020-09-22T17:37:34.524Z] level=INFO ts=2020-09-22T17:37:20.171813863Z app=app_functions_sdk_go source=messaging.go:71 msg="Publishing to topic: 'publish' @ tcp://*:5563" [2020-09-22T17:37:34.524Z] level=INFO ts=2020-09-22T17:37:20.178740406Z app=app_functions_sdk_go source=messaging.go:47 msg="Initializing Message Bus Trigger for 'aaaa'" [2020-09-22T17:37:34.524Z] level=INFO ts=2020-09-22T17:37:20.187164531Z app=app_functions_sdk_go source=messaging.go:47 msg="Initializing Message Bus Trigger for 'zero'" [2020-09-22T17:37:34.524Z] level=INFO ts=2020-09-22T17:37:20.211560476Z app=app_functions_sdk_go source=messaging.go:61 msg="Subscribing to topic: '' @ tcp://localhost:5564" [2020-09-22T17:37:34.524Z] level=INFO ts=2020-09-22T17:37:20.218298907Z app=app_functions_sdk_go source=messaging.go:71 msg="Publishing to topic: '' @ tcp://*:5566" [2020-09-22T17:37:34.524Z] --- FAIL: TestInitializeAndProcessEventWithNoOutput (3.34s) [2020-09-22T17:37:34.524Z] messaging_test.go:174: [2020-09-22T17:37:34.524Z] Error Trace: messaging_test.go:174 [2020-09-22T17:37:34.524Z] Error: Should be true [2020-09-22T17:37:34.524Z] Test: TestInitializeAndProcessEventWithNoOutput [2020-09-22T17:37:34.524Z] Messages: Transform never called [2020-09-22T17:37:34.524Z] level=INFO ts=2020-09-22T17:37:23.52653267Z app=app_functions_sdk_go source=messaging.go:47 msg="Initializing Message Bus Trigger for 'zero'" [2020-09-22T17:37:34.524Z] level=INFO ts=2020-09-22T17:37:23.533056868Z app=app_functions_sdk_go source=messaging.go:61 msg="Subscribing to topic: 'SubscribeTopic' @ tcp://localhost:5584" [2020-09-22T17:37:34.524Z] level=INFO ts=2020-09-22T17:37:23.539918863Z app=app_functions_sdk_go source=messaging.go:71 msg="Publishing to topic: 'PublishTopic' @ tcp://*:5586" [2020-09-22T17:37:34.524Z] level=DEBUG ts=2020-09-22T17:37:23.846761851Z app=app_functions_sdk_go source=runtime.go:59 msg="Processing message: 1 Transforms" [2020-09-22T17:37:34.524Z] level=INFO ts=2020-09-22T17:37:26.847043121Z app=app_functions_sdk_go source=messaging.go:47 msg="Initializing Message Bus Trigger for 'zero'" [2020-09-22T17:37:34.524Z] level=INFO ts=2020-09-22T17:37:26.853978505Z app=app_functions_sdk_go source=messaging.go:61 msg="Subscribing to topic: 'SubscribeTopic' @ tcp://localhost:5590" [2020-09-22T17:37:34.524Z] level=INFO ts=2020-09-22T17:37:26.860448799Z app=app_functions_sdk_go source=messaging.go:71 msg="Publishing to topic: 'PublishTopic' @ tcp://*:5588" [2020-09-22T17:37:34.524Z] FAIL [2020-09-22T17:37:34.524Z] coverage: 75.0% of statements [2020-09-22T17:37:34.524Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 7.044s [2020-09-22T17:37:34.524Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] [2020-09-22T17:37:34.524Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.013s coverage: 89.7% of statements [2020-09-22T17:37:34.524Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.009s coverage: 88.9% of statements [2020-09-22T17:37:34.524Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.108s coverage: 80.5% of statements [2020-09-22T17:37:34.524Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.007s coverage: 71.7% of statements [2020-09-22T17:37:44.248Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.097s coverage: 86.2% of statements [2020-09-22T17:37:49.462Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.348s coverage: 70.6% of statements [2020-09-22T17:37:49.462Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.006s coverage: 94.4% of statements [2020-09-22T17:37:49.462Z] FAIL [2020-09-22T17:37:49.462Z] make: *** [Makefile:6: test] Error 1 [Pipeline] } [2020-09-22T17:37:49.482Z] $ docker stop --time=1 664198ff38ba313d1b38386041906f3310334e1b13bb7789ac1ca91644b061d4 [2020-09-22T17:37:51.053Z] $ docker rm -f 664198ff38ba313d1b38386041906f3310334e1b13bb7789ac1ca91644b061d4 [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-22T17:37:53.279Z] Failed in branch amd64 [2020-09-22T17:38:23.798Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.070s coverage: 55.6% of statements [2020-09-22T17:38:23.798Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-09-22T17:38:23.798Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-09-22T17:38:23.798Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.100s coverage: 53.5% of statements [2020-09-22T17:38:23.798Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-09-22T17:38:23.798Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.387s coverage: 69.1% of statements [2020-09-22T17:38:33.979Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.526s coverage: 61.6% of statements [2020-09-22T17:38:33.979Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.024s coverage: 89.5% of statements [2020-09-22T17:38:33.979Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.011s coverage: 100.0% of statements [2020-09-22T17:38:33.979Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.118s coverage: 100.0% of statements [2020-09-22T17:38:33.979Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.010s coverage: 100.0% of statements [2020-09-22T17:38:33.979Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.016s coverage: 100.0% of statements [2020-09-22T17:38:33.979Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-09-22T17:38:33.979Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-09-22T17:38:33.979Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-09-22T17:38:33.979Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-09-22T17:38:33.979Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-09-22T17:38:33.979Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-09-22T17:38:33.979Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2020-09-22T17:38:33.979Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.010s coverage: 96.6% of statements [2020-09-22T17:38:33.979Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-09-22T17:38:33.979Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.011s coverage: 97.7% of statements [2020-09-22T17:38:33.979Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-09-22T17:38:33.979Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-09-22T17:38:33.979Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.034s coverage: 9.4% of statements [2020-09-22T17:38:33.979Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 7.056s coverage: 75.0% of statements [2020-09-22T17:38:33.979Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] [2020-09-22T17:38:33.979Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.038s coverage: 89.7% of statements [2020-09-22T17:38:33.979Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.026s coverage: 88.9% of statements [2020-09-22T17:38:33.979Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.140s coverage: 80.5% of statements [2020-09-22T17:38:33.979Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.023s coverage: 71.7% of statements [2020-09-22T17:39:00.734Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.912s coverage: 70.6% of statements [2020-09-22T17:39:00.734Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.012s coverage: 94.4% of statements [2020-09-22T17:39:00.734Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-09-22T17:39:13.144Z] gofmt -l . [2020-09-22T17:39:13.144Z] [ "`gofmt -l .`" = "" ] [2020-09-22T17:39:13.144Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-22T17:39:14.214Z] Stashed 1 file(s) [Pipeline] } [2020-09-22T17:39:14.229Z] $ docker stop --time=1 a867a67797cb477e02be3f4e45da1cc7efe88d20b49a79e120e17633f26c96c6 [2020-09-22T17:39:16.483Z] $ docker rm -f a867a67797cb477e02be3f4e45da1cc7efe88d20b49a79e120e17633f26c96c6 [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) 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-22T17:39:21.170Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-22T17:39:21.736Z] ---> package-listing.sh [2020-09-22T17:39:21.736Z] ++ facter osfamily [2020-09-22T17:39:21.736Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-22T17:39:21.736Z] + OS_FAMILY=redhat [2020-09-22T17:39:21.736Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-498 [2020-09-22T17:39:21.736Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-22T17:39:21.736Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-22T17:39:21.736Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-22T17:39:21.736Z] + PACKAGES=/tmp/packages_start.txt [2020-09-22T17:39:21.736Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-498 ']' [2020-09-22T17:39:21.736Z] + PACKAGES=/tmp/packages_end.txt [2020-09-22T17:39:21.736Z] + case "${OS_FAMILY}" in [2020-09-22T17:39:21.736Z] + rpm -qa [2020-09-22T17:39:21.736Z] + sort [2020-09-22T17:39:25.973Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-22T17:39:25.973Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-22T17:39:25.973Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-22T17:39:25.973Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-498 ']' [2020-09-22T17:39:25.973Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-498/archives/ [2020-09-22T17:39:25.973Z] + 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-22T17:39:26.459Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-22T17:39:26.459Z] [2020-09-22T17:39:26.459Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-22T17:39:26.820Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-22T17:39:26.820Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-22T17:39:26.820Z] df20fa9351a1: Pulling fs layer [2020-09-22T17:39:26.820Z] 36b3adc4ff6f: Pulling fs layer [2020-09-22T17:39:26.820Z] 8ad3a11d3b57: Pulling fs layer [2020-09-22T17:39:26.820Z] 46f8f816bc3b: Pulling fs layer [2020-09-22T17:39:26.820Z] 0dadc02b9964: Pulling fs layer [2020-09-22T17:39:26.820Z] ce6a7cf60c04: Pulling fs layer [2020-09-22T17:39:26.820Z] 7a184a31f384: Pulling fs layer [2020-09-22T17:39:26.820Z] 0879bd2ef858: Pulling fs layer [2020-09-22T17:39:26.820Z] 0dadc02b9964: Waiting [2020-09-22T17:39:26.820Z] 0879bd2ef858: Waiting [2020-09-22T17:39:26.820Z] ce6a7cf60c04: Waiting [2020-09-22T17:39:26.820Z] 7a184a31f384: Waiting [2020-09-22T17:39:26.820Z] 46f8f816bc3b: Waiting [2020-09-22T17:39:26.820Z] 36b3adc4ff6f: Verifying Checksum [2020-09-22T17:39:26.820Z] 36b3adc4ff6f: Download complete [2020-09-22T17:39:26.820Z] 46f8f816bc3b: Verifying Checksum [2020-09-22T17:39:26.820Z] 46f8f816bc3b: Download complete [2020-09-22T17:39:26.820Z] df20fa9351a1: Verifying Checksum [2020-09-22T17:39:26.820Z] ce6a7cf60c04: Verifying Checksum [2020-09-22T17:39:26.820Z] ce6a7cf60c04: Download complete [2020-09-22T17:39:27.098Z] 7a184a31f384: Download complete [2020-09-22T17:39:27.098Z] 0dadc02b9964: Verifying Checksum [2020-09-22T17:39:27.098Z] 0dadc02b9964: Download complete [2020-09-22T17:39:27.098Z] 8ad3a11d3b57: Verifying Checksum [2020-09-22T17:39:27.098Z] 8ad3a11d3b57: Download complete [2020-09-22T17:39:27.364Z] df20fa9351a1: Pull complete [2020-09-22T17:39:27.626Z] 0879bd2ef858: Verifying Checksum [2020-09-22T17:39:27.626Z] 0879bd2ef858: Download complete [2020-09-22T17:39:27.626Z] 36b3adc4ff6f: Pull complete [2020-09-22T17:39:28.203Z] 8ad3a11d3b57: Pull complete [2020-09-22T17:39:28.203Z] 46f8f816bc3b: Pull complete [2020-09-22T17:39:28.466Z] 0dadc02b9964: Pull complete [2020-09-22T17:39:28.727Z] ce6a7cf60c04: Pull complete [2020-09-22T17:39:28.727Z] 7a184a31f384: Pull complete [2020-09-22T17:39:32.064Z] 0879bd2ef858: Pull complete [2020-09-22T17:39:32.064Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-22T17:39:32.064Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-22T17:39:32.064Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-22T17:39:32.202Z] prd-centos7-docker-4c-2g-889 does not seem to be running inside a container [2020-09-22T17:39:32.248Z] $ 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-22T17:39:36.394Z] $ docker top d35d3836fe1322ecc0aca9a1ca224c9ec5fb980e872ccc843a7c7d70d7bd03cb -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-22T17:39:36.995Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-22T17:39:37.298Z] + ls /var/log/sa-host [2020-09-22T17:39:37.298Z] + sadf -c /var/log/sa-host/sa05 [2020-09-22T17:39:37.298Z] file_magic: OK [2020-09-22T17:39:37.299Z] HZ: Using current value: 100 [2020-09-22T17:39:37.299Z] file_header: OK [2020-09-22T17:39:37.299Z] 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-22T17:39:37.299Z] Statistics: [2020-09-22T17:39:37.299Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-22T17:39:37.299Z] File successfully converted to sysstat format version 12.2.1 [2020-09-22T17:39:37.299Z] + sadf -c /var/log/sa-host/sa22 [2020-09-22T17:39:37.299Z] file_magic: OK [2020-09-22T17:39:37.299Z] HZ: Using current value: 100 [2020-09-22T17:39:37.299Z] file_header: OK [2020-09-22T17:39:37.299Z] 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-22T17:39:37.299Z] Statistics: [2020-09-22T17:39:37.299Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-22T17:39:37.299Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-22T17:39:37.362Z] provisioning config files... [2020-09-22T17:39:37.386Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-498@tmp/config7901045924098015029tmp [Pipeline] { [Pipeline] echo [2020-09-22T17:39:37.475Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-22T17:39:37.774Z] ---> create-netrc.sh [Pipeline] echo [2020-09-22T17:39:37.786Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-22T17:39:38.084Z] ---> logs-deploy.sh [2020-09-22T17:39:38.084Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-498/9 [2020-09-22T17:39:38.084Z] INFO: archiving workspace using pattern(s): [2020-09-22T17:39:39.474Z] Archives upload complete. [2020-09-22T17:39:39.474Z] INFO: archiving logs to Nexus