Pull request #616 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 b8d681f7c27b7310e78b42c63db0fa23eb592a80+29611b3d058cda2078929c84c413ab145d4a6c62 (d02af8225ae23012c5687132d12560a1cdc6e9c5) 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f82e9360b4159668f7e3e090307a6179e9a8e48d # timeout=10 Commit message: "Merge pull request #311 from ernestojeda/fix-data-binary" > 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. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 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:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-functions-sdk-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-20687 in /w/workspace/ndry_app-functions-sdk-go_PR-616 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_PR-616 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/616/head:refs/remotes/origin/PR-616 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 29611b3d058cda2078929c84c413ab145d4a6c62 into PR head commit b8d681f7c27b7310e78b42c63db0fa23eb592a80 Merge succeeded, producing b8d681f7c27b7310e78b42c63db0fa23eb592a80 Checking out Revision b8d681f7c27b7310e78b42c63db0fa23eb592a80 (PR-616) > git config core.sparsecheckout # timeout=10 > git checkout -f b8d681f7c27b7310e78b42c63db0fa23eb592a80 # 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 29611b3d058cda2078929c84c413ab145d4a6c62 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b8d681f7c27b7310e78b42c63db0fa23eb592a80 # timeout=10 Commit message: "feat: Expect V2 Event DTO from triggers." First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-15T23:14:55.443Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-15T23:14:55.684Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-15T23:14:55.780Z] ========================================================= [2021-01-15T23:14:55.780Z] EdgeX Global Pipelines Version Info [2021-01-15T23:14:55.780Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 4e36144ca025b34d52b3992a8204ed6b14f316bb # timeout=10 [2021-01-15T23:14:57.233Z] ------------------- [2021-01-15T23:14:57.233Z] stable info: [2021-01-15T23:14:57.233Z] ------------------- [2021-01-15T23:14:57.233Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-15T23:14:57.233Z] Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d [2021-01-15T23:14:57.233Z] Message: update stable to v1.0.177 [2021-01-15T23:14:58.180Z] ------------------- [2021-01-15T23:14:58.180Z] experimental info: [2021-01-15T23:14:58.180Z] ------------------- [2021-01-15T23:14:58.180Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-15T23:14:58.180Z] Commit SHA: e10e8b1c2921d3c8fd668fd9f38a05cab6ea93a3 [2021-01-15T23:14:58.180Z] Message: update experimental to v1.0.178 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-15T23:14:58.439Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-01-15T23:14:58.569Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-01-15T23:14:58.661Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-15T23:14:58.755Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-15T23:14:58.847Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-15T23:14:58.938Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-15T23:14:59.027Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-15T23:14:59.133Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-15T23:14:59.227Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-15T23:14:59.317Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-15T23:14:59.411Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-15T23:14:59.499Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2021-01-15T23:14:59.688Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-15T23:14:59.789Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-15T23:14:59.895Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-01-15T23:14:59.989Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-15T23:15:00.087Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-15T23:15:00.180Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-15T23:15:00.336Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-15T23:15:00.454Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-15T23:15:00.557Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-15T23:15:00.663Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-01-15T23:15:00.752Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-15T23:15:00.835Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-15T23:15:00.924Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-01-15T23:15:01.027Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-15T23:15:01.170Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-15T23:15:01.278Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-616 [Pipeline] echo [2021-01-15T23:15:01.374Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-616 [Pipeline] echo [2021-01-15T23:15:01.476Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-616 [Pipeline] echo [2021-01-15T23:15:01.575Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b8d681f7c27b7310e78b42c63db0fa23eb592a80 [Pipeline] echo [2021-01-15T23:15:01.705Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b8d681f [Pipeline] echo [2021-01-15T23:15:01.797Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-15T23:15:02.544Z] + git log --format=format:%s -1 b8d681f7c27b7310e78b42c63db0fa23eb592a80 [Pipeline] echo [2021-01-15T23:15:02.627Z] GIT_COMMIT: b8d681f7c27b7310e78b42c63db0fa23eb592a80, Commit Message: feat: Expect V2 Event DTO from triggers. [Pipeline] echo [2021-01-15T23:15:02.705Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-15T23:15:03.729Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-15T23:15:03.991Z] [2021-01-15T23:15:03.991Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-15T23:15:04.340Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-15T23:15:04.340Z] latest: Pulling from edgex-devops/git-semver [2021-01-15T23:15:04.340Z] 31603596830f: Pulling fs layer [2021-01-15T23:15:04.340Z] 2a8b12db71e7: Pulling fs layer [2021-01-15T23:15:04.340Z] 6ca5941a6612: Pulling fs layer [2021-01-15T23:15:04.340Z] ecc8261a40a4: Pulling fs layer [2021-01-15T23:15:04.340Z] ecc8261a40a4: Waiting [2021-01-15T23:15:04.340Z] 2a8b12db71e7: Verifying Checksum [2021-01-15T23:15:04.340Z] 2a8b12db71e7: Download complete [2021-01-15T23:15:04.604Z] 31603596830f: Verifying Checksum [2021-01-15T23:15:04.604Z] 31603596830f: Download complete [2021-01-15T23:15:04.604Z] ecc8261a40a4: Verifying Checksum [2021-01-15T23:15:04.604Z] ecc8261a40a4: Download complete [2021-01-15T23:15:04.604Z] 6ca5941a6612: Verifying Checksum [2021-01-15T23:15:04.604Z] 6ca5941a6612: Download complete [2021-01-15T23:15:04.868Z] 31603596830f: Pull complete [2021-01-15T23:15:05.133Z] 2a8b12db71e7: Pull complete [2021-01-15T23:15:06.081Z] 6ca5941a6612: Pull complete [2021-01-15T23:15:06.081Z] ecc8261a40a4: Pull complete [2021-01-15T23:15:06.081Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-15T23:15:06.081Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-15T23:15:06.081Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-15T23:15:06.185Z] prd-centos7-docker-4c-2g-20687 does not seem to be running inside a container [2021-01-15T23:15:06.236Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-616 -v /w/workspace/ndry_app-functions-sdk-go_PR-616:/w/workspace/ndry_app-functions-sdk-go_PR-616:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-616@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-616@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-15T23:15:08.597Z] $ docker top 1285673dfa3acfe46525c313da1f1a673364ca1d5b14ed380ab70b79e8721b35 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-15T23:15:08.889Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-15T23:15:08.889Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-15T23:15:09.129Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-15T23:15:09.136Z] $ docker exec 1285673dfa3acfe46525c313da1f1a673364ca1d5b14ed380ab70b79e8721b35 ssh-agent [2021-01-15T23:15:09.313Z] SSH_AUTH_SOCK=/tmp/ssh-4sgiBzSL9ocX/agent.11 [2021-01-15T23:15:09.313Z] SSH_AGENT_PID=16 [2021-01-15T23:15:09.323Z] Running ssh-add (command line suppressed) [2021-01-15T23:15:09.447Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-616@tmp/private_key_6780113761927860006.key (/w/workspace/ndry_app-functions-sdk-go_PR-616@tmp/private_key_6780113761927860006.key) [2021-01-15T23:15:09.507Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-15T23:15:09.842Z] + git tag --points-at HEAD [Pipeline] } [2021-01-15T23:15:09.867Z] $ docker exec --env ******** --env ******** 1285673dfa3acfe46525c313da1f1a673364ca1d5b14ed380ab70b79e8721b35 ssh-agent -k [2021-01-15T23:15:09.996Z] unset SSH_AUTH_SOCK; [2021-01-15T23:15:09.997Z] unset SSH_AGENT_PID; [2021-01-15T23:15:09.997Z] echo Agent pid 16 killed; [2021-01-15T23:15:10.043Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-15T23:15:10.198Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-15T23:15:10.198Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-15T23:15:10.390Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-15T23:15:10.396Z] $ docker exec 1285673dfa3acfe46525c313da1f1a673364ca1d5b14ed380ab70b79e8721b35 ssh-agent [2021-01-15T23:15:10.575Z] SSH_AUTH_SOCK=/tmp/ssh-e9en8kJroIwP/agent.46 [2021-01-15T23:15:10.575Z] SSH_AGENT_PID=51 [2021-01-15T23:15:10.581Z] Running ssh-add (command line suppressed) [2021-01-15T23:15:10.707Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-616@tmp/private_key_1029366027310286368.key (/w/workspace/ndry_app-functions-sdk-go_PR-616@tmp/private_key_1029366027310286368.key) [2021-01-15T23:15:10.759Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-15T23:15:11.090Z] + git semver init [2021-01-15T23:15:11.090Z] # -> Open(): unable to determine branch for HEAD [2021-01-15T23:15:11.090Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-616/.git [2021-01-15T23:15:11.090Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-616 [2021-01-15T23:15:11.090Z] # $SEMVER_REMOTE_NAME = origin [2021-01-15T23:15:11.090Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-15T23:15:11.090Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-15T23:15:11.090Z] # $SEMVER_BRANCH = PR-616 [2021-01-15T23:15:11.090Z] # $SEMVER_TEMP = /tmp/semver-231136032 [2021-01-15T23:15:11.090Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-01-15T23:15:13.665Z] # '/tmp/semver-231136032' -> '/w/workspace/ndry_app-functions-sdk-go_PR-616/.semver' [2021-01-15T23:15:13.665Z] # -> Force: false [2021-01-15T23:15:13.665Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-616/.semver [Pipeline] } [2021-01-15T23:15:13.684Z] $ docker exec --env ******** --env ******** 1285673dfa3acfe46525c313da1f1a673364ca1d5b14ed380ab70b79e8721b35 ssh-agent -k [2021-01-15T23:15:13.798Z] unset SSH_AUTH_SOCK; [2021-01-15T23:15:13.799Z] unset SSH_AGENT_PID; [2021-01-15T23:15:13.799Z] echo Agent pid 51 killed; [2021-01-15T23:15:13.856Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-15T23:15:14.366Z] + git semver [Pipeline] } [2021-01-15T23:15:14.387Z] $ docker stop --time=1 1285673dfa3acfe46525c313da1f1a673364ca1d5b14ed380ab70b79e8721b35 [2021-01-15T23:15:15.877Z] $ docker rm -f 1285673dfa3acfe46525c313da1f1a673364ca1d5b14ed380ab70b79e8721b35 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-15T23:15:16.413Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-15T23:15:17.042Z] Stashed 1 file(s) [Pipeline] echo [2021-01-15T23:15:17.045Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-01-15T23:15:32.512Z] Still waiting to schedule task [2021-01-15T23:15:32.512Z] ‘prd-centos7-blackbox-4c-2g-19234’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-20680’ is offline; ‘prd-centos7-docker-4c-2g-20689’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-20682’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-01-15T23:15:32.514Z] Still waiting to schedule task [2021-01-15T23:15:32.514Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-01-15T23:18:09.564Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-20690 in /w/workspace/ndry_app-functions-sdk-go_PR-616 [Pipeline] { [Pipeline] ws [2021-01-15T23:18:09.616Z] Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-01-15T23:18:14.561Z] using credential edgex-jenkins-ssh [2021-01-15T23:18:14.631Z] Cloning the remote Git repository [2021-01-15T23:18:14.701Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-01-15T23:18:14.815Z] > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 [2021-01-15T23:18:14.895Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-01-15T23:18:14.895Z] > git --version # timeout=10 [2021-01-15T23:18:14.911Z] > git --version # 'git version 2.17.1' [2021-01-15T23:18:14.913Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-15T23:18:14.994Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-15T23:18:18.053Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-01-15T23:18:18.080Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-15T23:18:18.114Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-01-15T23:18:18.163Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-01-15T23:18:18.164Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-15T23:18:18.177Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/616/head:refs/remotes/origin/PR-616 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-15T23:18:18.784Z] Merging remotes/origin/master commit 29611b3d058cda2078929c84c413ab145d4a6c62 into PR head commit b8d681f7c27b7310e78b42c63db0fa23eb592a80 [2021-01-15T23:18:19.173Z] Merge succeeded, producing b8d681f7c27b7310e78b42c63db0fa23eb592a80 [2021-01-15T23:18:19.174Z] Checking out Revision b8d681f7c27b7310e78b42c63db0fa23eb592a80 (PR-616) [2021-01-15T23:18:18.806Z] > git config core.sparsecheckout # timeout=10 [2021-01-15T23:18:18.823Z] > git checkout -f b8d681f7c27b7310e78b42c63db0fa23eb592a80 # timeout=10 [2021-01-15T23:18:18.933Z] > git remote # timeout=10 [2021-01-15T23:18:19.011Z] > git config --get remote.origin.url # timeout=10 [2021-01-15T23:18:19.040Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-15T23:18:19.061Z] > git merge 29611b3d058cda2078929c84c413ab145d4a6c62 # timeout=10 [2021-01-15T23:18:19.116Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-15T23:18:19.184Z] > git config core.sparsecheckout # timeout=10 [2021-01-15T23:18:19.203Z] > git checkout -f b8d681f7c27b7310e78b42c63db0fa23eb592a80 # timeout=10 [2021-01-15T23:18:23.405Z] Commit message: "feat: Expect V2 Event DTO from triggers." [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-15T23:18:25.182Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-15T23:18:25.603Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-15T23:18:26.006Z] + + true [2021-01-15T23:18:26.006Z] sudo service docker restart [Pipeline] unstash [Pipeline] echo [2021-01-15T23:18:28.886Z] ========================================================= [2021-01-15T23:18:28.886Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-15T23:18:28.886Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-15T23:18:29.263Z] + 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 . [2021-01-15T23:18:30.251Z] Sending build context to Docker daemon 19.2MB [2021-01-15T23:18:30.251Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-15T23:18:30.251Z] Step 2/8 : FROM ${BASE} [2021-01-15T23:18:30.525Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-15T23:18:30.801Z] 5f621e34cdf4: Pulling fs layer [2021-01-15T23:18:30.801Z] a4357932f1b6: Pulling fs layer [2021-01-15T23:18:30.801Z] 18c013af1878: Pulling fs layer [2021-01-15T23:18:30.801Z] 00ac8860ef70: Pulling fs layer [2021-01-15T23:18:30.801Z] 63d7cb157983: Pulling fs layer [2021-01-15T23:18:30.801Z] b116817d02f9: Pulling fs layer [2021-01-15T23:18:30.801Z] 745a02a5169b: Pulling fs layer [2021-01-15T23:18:30.801Z] 00ac8860ef70: Waiting [2021-01-15T23:18:30.801Z] 63d7cb157983: Waiting [2021-01-15T23:18:30.801Z] b116817d02f9: Waiting [2021-01-15T23:18:30.801Z] 745a02a5169b: Waiting [2021-01-15T23:18:30.801Z] 18c013af1878: Verifying Checksum [2021-01-15T23:18:30.801Z] 18c013af1878: Download complete [2021-01-15T23:18:30.801Z] a4357932f1b6: Verifying Checksum [2021-01-15T23:18:30.801Z] a4357932f1b6: Download complete [2021-01-15T23:18:30.801Z] 63d7cb157983: Download complete [2021-01-15T23:18:31.396Z] b116817d02f9: Download complete [2021-01-15T23:18:31.396Z] 5f621e34cdf4: Verifying Checksum [2021-01-15T23:18:31.396Z] 5f621e34cdf4: Download complete [2021-01-15T23:18:31.999Z] 5f621e34cdf4: Pull complete [2021-01-15T23:18:32.602Z] a4357932f1b6: Pull complete [2021-01-15T23:18:33.202Z] 18c013af1878: Pull complete [2021-01-15T23:18:33.803Z] 745a02a5169b: Download complete [2021-01-15T23:18:34.782Z] 00ac8860ef70: Verifying Checksum [2021-01-15T23:18:34.782Z] 00ac8860ef70: Download complete [2021-01-15T23:18:44.952Z] 00ac8860ef70: Pull complete [2021-01-15T23:18:44.952Z] 63d7cb157983: Pull complete [2021-01-15T23:18:45.233Z] b116817d02f9: Pull complete [2021-01-15T23:18:49.576Z] 745a02a5169b: Pull complete [2021-01-15T23:18:49.576Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-15T23:18:49.576Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-15T23:18:49.576Z] ---> b7e6874047d6 [2021-01-15T23:18:49.576Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-01-15T23:18:49.576Z] 20.10.0: Pulling from library/docker [2021-01-15T23:18:49.576Z] a3cc7d3b244e: Pulling fs layer [2021-01-15T23:18:49.576Z] 02a3295e0d61: Pulling fs layer [2021-01-15T23:18:49.576Z] 0f4f2e6d8100: Pulling fs layer [2021-01-15T23:18:49.576Z] 330b718f631f: Pulling fs layer [2021-01-15T23:18:49.576Z] a93816041522: Pulling fs layer [2021-01-15T23:18:49.576Z] bdb6da89ff94: Pulling fs layer [2021-01-15T23:18:49.576Z] 2a70c0c122f4: Pulling fs layer [2021-01-15T23:18:49.576Z] 330b718f631f: Waiting [2021-01-15T23:18:49.576Z] bdb6da89ff94: Waiting [2021-01-15T23:18:49.576Z] a93816041522: Waiting [2021-01-15T23:18:49.576Z] 0f4f2e6d8100: Download complete [2021-01-15T23:18:49.576Z] 02a3295e0d61: Verifying Checksum [2021-01-15T23:18:49.576Z] 02a3295e0d61: Download complete [2021-01-15T23:18:49.576Z] a93816041522: Verifying Checksum [2021-01-15T23:18:49.576Z] a93816041522: Download complete [2021-01-15T23:18:49.576Z] a3cc7d3b244e: Verifying Checksum [2021-01-15T23:18:49.576Z] a3cc7d3b244e: Download complete [2021-01-15T23:18:49.576Z] bdb6da89ff94: Verifying Checksum [2021-01-15T23:18:49.576Z] bdb6da89ff94: Download complete [2021-01-15T23:18:49.576Z] 2a70c0c122f4: Verifying Checksum [2021-01-15T23:18:49.576Z] 2a70c0c122f4: Download complete [2021-01-15T23:18:50.180Z] a3cc7d3b244e: Pull complete [2021-01-15T23:18:51.158Z] 02a3295e0d61: Pull complete [2021-01-15T23:18:51.158Z] 330b718f631f: Verifying Checksum [2021-01-15T23:18:51.158Z] 330b718f631f: Download complete [2021-01-15T23:18:51.158Z] 0f4f2e6d8100: Pull complete [2021-01-15T23:18:55.469Z] 330b718f631f: Pull complete [2021-01-15T23:18:55.469Z] a93816041522: Pull complete [2021-01-15T23:18:55.744Z] bdb6da89ff94: Pull complete [2021-01-15T23:18:56.018Z] 2a70c0c122f4: Pull complete [2021-01-15T23:18:56.018Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-01-15T23:18:56.018Z] Status: Downloaded newer image for docker:20.10.0 [2021-01-15T23:19:02.779Z] ---> 95ab83801677 [2021-01-15T23:19:02.779Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-15T23:19:02.779Z] ---> Running in 6b06a41fe962 [2021-01-15T23:19:02.779Z] Removing intermediate container 6b06a41fe962 [2021-01-15T23:19:02.779Z] ---> 400e9eab67ce [2021-01-15T23:19:02.779Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-01-15T23:19:02.779Z] ---> Running in cd38943efecc [2021-01-15T23:19:03.765Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-15T23:19:04.753Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-15T23:19:05.725Z] (1/5) Installing libsodium (1.0.18-r0) [2021-01-15T23:19:05.997Z] (2/5) Installing libzmq (4.3.3-r0) [2021-01-15T23:19:06.266Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-01-15T23:19:06.266Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-01-15T23:19:06.536Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-01-15T23:19:06.536Z] Executing busybox-1.31.1-r19.trigger [2021-01-15T23:19:06.536Z] OK: 144 MiB in 44 packages [2021-01-15T23:19:07.964Z] Removing intermediate container cd38943efecc [2021-01-15T23:19:07.964Z] ---> b3ca19466ed2 [2021-01-15T23:19:07.964Z] Step 6/8 : WORKDIR /build [2021-01-15T23:19:07.964Z] ---> Running in 0fffb198b6cc [2021-01-15T23:19:08.563Z] Removing intermediate container 0fffb198b6cc [2021-01-15T23:19:08.563Z] ---> c944bafe58a1 [2021-01-15T23:19:08.563Z] Step 7/8 : COPY go.mod . [2021-01-15T23:19:09.160Z] ---> 6468b3e3e8b8 [2021-01-15T23:19:09.160Z] Step 8/8 : RUN go mod download [2021-01-15T23:19:09.160Z] ---> Running in a8b780ce605f [2021-01-15T23:19:30.715Z] Running on prd-centos7-docker-4c-2g-20691 in /w/workspace/ndry_app-functions-sdk-go_PR-616 [Pipeline] { [Pipeline] ws [2021-01-15T23:19:30.775Z] Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-01-15T23:19:36.028Z] Removing intermediate container a8b780ce605f [2021-01-15T23:19:36.028Z] ---> 06b6ce8f7ea8 [2021-01-15T23:19:36.028Z] Successfully built 06b6ce8f7ea8 [2021-01-15T23:19:36.028Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-15T23:19:36.377Z] + docker inspect -f . ci-base-image-arm64 [2021-01-15T23:19:36.377Z] . [Pipeline] withDockerContainer [2021-01-15T23:19:36.656Z] prd-ubuntu18.04-docker-arm64-4c-16g-20690 does not seem to be running inside a container [2021-01-15T23:19:36.746Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-15T23:19:37.194Z] using credential edgex-jenkins-ssh [2021-01-15T23:19:37.284Z] Cloning the remote Git repository [2021-01-15T23:19:37.332Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-01-15T23:19:37.428Z] > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 [2021-01-15T23:19:37.702Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-01-15T23:19:37.702Z] > git --version # timeout=10 [2021-01-15T23:19:37.800Z] > git --version # 'git version 2.24.3' [2021-01-15T23:19:37.802Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-15T23:19:37.915Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-15T23:19:38.327Z] $ docker top 204cdcd557376ef0f3c8badcb597c0a547bb538018915e2a4e0c6b7da1661df2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-15T23:19:39.350Z] + go version [2021-01-15T23:19:39.350Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-15T23:19:39.374Z] $ docker stop --time=1 204cdcd557376ef0f3c8badcb597c0a547bb538018915e2a4e0c6b7da1661df2 [2021-01-15T23:19:40.334Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-01-15T23:19:40.345Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-15T23:19:40.370Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-01-15T23:19:40.411Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-01-15T23:19:40.411Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-15T23:19:40.420Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/616/head:refs/remotes/origin/PR-616 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-15T23:19:40.985Z] Merging remotes/origin/master commit 29611b3d058cda2078929c84c413ab145d4a6c62 into PR head commit b8d681f7c27b7310e78b42c63db0fa23eb592a80 [2021-01-15T23:19:41.313Z] $ docker rm -f 204cdcd557376ef0f3c8badcb597c0a547bb538018915e2a4e0c6b7da1661df2 [2021-01-15T23:19:41.403Z] Merge succeeded, producing b8d681f7c27b7310e78b42c63db0fa23eb592a80 [2021-01-15T23:19:41.403Z] Checking out Revision b8d681f7c27b7310e78b42c63db0fa23eb592a80 (PR-616) [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-15T23:19:40.999Z] > git config core.sparsecheckout # timeout=10 [2021-01-15T23:19:41.024Z] > git checkout -f b8d681f7c27b7310e78b42c63db0fa23eb592a80 # timeout=10 [2021-01-15T23:19:41.126Z] > git remote # timeout=10 [2021-01-15T23:19:41.183Z] > git config --get remote.origin.url # timeout=10 [2021-01-15T23:19:41.242Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-15T23:19:41.250Z] > git merge 29611b3d058cda2078929c84c413ab145d4a6c62 # timeout=10 [2021-01-15T23:19:41.393Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-15T23:19:41.409Z] > git config core.sparsecheckout # timeout=10 [2021-01-15T23:19:41.415Z] > git checkout -f b8d681f7c27b7310e78b42c63db0fa23eb592a80 # timeout=10 [2021-01-15T23:19:42.369Z] + docker inspect -f . ci-base-image-arm64 [2021-01-15T23:19:42.369Z] . [Pipeline] withDockerContainer [2021-01-15T23:19:42.625Z] prd-ubuntu18.04-docker-arm64-4c-16g-20690 does not seem to be running inside a container [2021-01-15T23:19:42.742Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-15T23:19:44.239Z] $ docker top 74b014ae238c8f7de0b8449933430e2ed62475432e8c61ce6a32a3bed8b778b6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-15T23:19:45.265Z] + make test [2021-01-15T23:19:45.266Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-01-15T23:19:45.791Z] Commit message: "feat: Expect V2 Event DTO from triggers." [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-15T23:19:46.709Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] [2021-01-15T23:19:47.779Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-15T23:19:48.217Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-15T23:19:48.587Z] + sudo service docker restart [2021-01-15T23:19:48.587Z] + true [2021-01-15T23:19:48.587Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-01-15T23:19:50.776Z] ========================================================= [2021-01-15T23:19:50.776Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-15T23:19:50.776Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-15T23:19:51.192Z] + 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 . [2021-01-15T23:19:52.186Z] Sending build context to Docker daemon 19.2MB [2021-01-15T23:19:52.186Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-15T23:19:52.186Z] Step 2/8 : FROM ${BASE} [2021-01-15T23:19:52.186Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-15T23:19:52.186Z] 188c0c94c7c5: Pulling fs layer [2021-01-15T23:19:52.186Z] 0ef7d3d256c8: Pulling fs layer [2021-01-15T23:19:52.186Z] de9db76c5a1d: Pulling fs layer [2021-01-15T23:19:52.186Z] bca2f99d35d6: Pulling fs layer [2021-01-15T23:19:52.186Z] 93359f2a8cfa: Pulling fs layer [2021-01-15T23:19:52.186Z] 7c6f9722023f: Pulling fs layer [2021-01-15T23:19:52.186Z] a35cf1a2eb13: Pulling fs layer [2021-01-15T23:19:52.186Z] bca2f99d35d6: Waiting [2021-01-15T23:19:52.186Z] 93359f2a8cfa: Waiting [2021-01-15T23:19:52.186Z] a35cf1a2eb13: Waiting [2021-01-15T23:19:52.464Z] de9db76c5a1d: Verifying Checksum [2021-01-15T23:19:52.464Z] de9db76c5a1d: Download complete [2021-01-15T23:19:52.464Z] 0ef7d3d256c8: Verifying Checksum [2021-01-15T23:19:52.464Z] 0ef7d3d256c8: Download complete [2021-01-15T23:19:52.464Z] 93359f2a8cfa: Verifying Checksum [2021-01-15T23:19:52.464Z] 93359f2a8cfa: Download complete [2021-01-15T23:19:52.774Z] 7c6f9722023f: Verifying Checksum [2021-01-15T23:19:52.774Z] 7c6f9722023f: Download complete [2021-01-15T23:19:52.774Z] 188c0c94c7c5: Verifying Checksum [2021-01-15T23:19:52.774Z] 188c0c94c7c5: Download complete [2021-01-15T23:19:53.811Z] 188c0c94c7c5: Pull complete [2021-01-15T23:19:54.455Z] 0ef7d3d256c8: Pull complete [2021-01-15T23:19:54.751Z] de9db76c5a1d: Pull complete [2021-01-15T23:19:57.595Z] a35cf1a2eb13: Verifying Checksum [2021-01-15T23:19:57.595Z] a35cf1a2eb13: Download complete [2021-01-15T23:19:59.668Z] bca2f99d35d6: Verifying Checksum [2021-01-15T23:19:59.668Z] bca2f99d35d6: Download complete [2021-01-15T23:20:08.931Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.076s coverage: 82.6% of statements [2021-01-15T23:20:12.227Z] bca2f99d35d6: Pull complete [2021-01-15T23:20:12.227Z] 93359f2a8cfa: Pull complete [2021-01-15T23:20:12.227Z] 7c6f9722023f: Pull complete [2021-01-15T23:20:18.088Z] a35cf1a2eb13: Pull complete [2021-01-15T23:20:18.088Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-15T23:20:18.088Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-15T23:20:18.088Z] ---> a62c8e92a672 [2021-01-15T23:20:18.088Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-01-15T23:20:18.088Z] 20.10.0: Pulling from library/docker [2021-01-15T23:20:18.088Z] 05e7bc50f07f: Pulling fs layer [2021-01-15T23:20:18.088Z] 6db28d0fdbf6: Pulling fs layer [2021-01-15T23:20:18.088Z] 292df0bc6bf3: Pulling fs layer [2021-01-15T23:20:18.088Z] 2e060f4bd70b: Pulling fs layer [2021-01-15T23:20:18.088Z] 80e8d568a223: Pulling fs layer [2021-01-15T23:20:18.088Z] 2e060f4bd70b: Waiting [2021-01-15T23:20:18.088Z] 80e8d568a223: Waiting [2021-01-15T23:20:18.088Z] 8dc6ef1a942a: Pulling fs layer [2021-01-15T23:20:18.088Z] 2312dd95470a: Pulling fs layer [2021-01-15T23:20:18.088Z] 8dc6ef1a942a: Waiting [2021-01-15T23:20:18.088Z] 2312dd95470a: Waiting [2021-01-15T23:20:18.088Z] 292df0bc6bf3: Verifying Checksum [2021-01-15T23:20:18.088Z] 292df0bc6bf3: Download complete [2021-01-15T23:20:18.088Z] 05e7bc50f07f: Download complete [2021-01-15T23:20:18.088Z] 6db28d0fdbf6: Verifying Checksum [2021-01-15T23:20:18.088Z] 6db28d0fdbf6: Download complete [2021-01-15T23:20:18.378Z] 8dc6ef1a942a: Verifying Checksum [2021-01-15T23:20:18.378Z] 8dc6ef1a942a: Download complete [2021-01-15T23:20:18.378Z] 80e8d568a223: Verifying Checksum [2021-01-15T23:20:18.378Z] 80e8d568a223: Download complete [2021-01-15T23:20:18.378Z] 2312dd95470a: Download complete [2021-01-15T23:20:18.989Z] 05e7bc50f07f: Pull complete [2021-01-15T23:20:19.597Z] 6db28d0fdbf6: Pull complete [2021-01-15T23:20:19.597Z] 292df0bc6bf3: Pull complete [2021-01-15T23:20:20.595Z] 2e060f4bd70b: Verifying Checksum [2021-01-15T23:20:20.595Z] 2e060f4bd70b: Download complete [2021-01-15T23:20:27.517Z] 2e060f4bd70b: Pull complete [2021-01-15T23:20:27.517Z] 80e8d568a223: Pull complete [2021-01-15T23:20:27.517Z] 8dc6ef1a942a: Pull complete [2021-01-15T23:20:27.822Z] 2312dd95470a: Pull complete [2021-01-15T23:20:27.822Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-01-15T23:20:27.822Z] Status: Downloaded newer image for docker:20.10.0 [2021-01-15T23:20:30.518Z] ---> e8370bd05375 [2021-01-15T23:20:30.518Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-15T23:20:30.518Z] ---> Running in 502c90ce4166 [2021-01-15T23:20:30.518Z] Removing intermediate container 502c90ce4166 [2021-01-15T23:20:30.518Z] ---> d979c7bbe997 [2021-01-15T23:20:30.518Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-01-15T23:20:30.789Z] ---> Running in ec5aa8ea8eeb [2021-01-15T23:20:31.145Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.062s coverage: 48.6% of statements [2021-01-15T23:20:31.145Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-01-15T23:20:31.145Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-01-15T23:20:31.145Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.082s coverage: 61.5% of statements [2021-01-15T23:20:31.146Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-01-15T23:20:31.146Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.152s coverage: 58.9% of statements [2021-01-15T23:20:31.146Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-01-15T23:20:31.146Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-01-15T23:20:31.146Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-01-15T23:20:31.146Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-01-15T23:20:31.146Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-01-15T23:20:31.146Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-01-15T23:20:31.146Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.019s coverage: 97.0% of statements [2021-01-15T23:20:31.146Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-01-15T23:20:31.146Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.060s coverage: 8.8% of statements [2021-01-15T23:20:31.789Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-15T23:20:32.380Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-15T23:20:32.975Z] (1/5) Installing libsodium (1.0.18-r0) [2021-01-15T23:20:33.251Z] (2/5) Installing libzmq (4.3.3-r0) [2021-01-15T23:20:33.251Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-01-15T23:20:33.520Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-01-15T23:20:33.520Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-01-15T23:20:33.520Z] Executing busybox-1.31.1-r19.trigger [2021-01-15T23:20:33.802Z] OK: 167 MiB in 44 packages [2021-01-15T23:20:34.805Z] Removing intermediate container ec5aa8ea8eeb [2021-01-15T23:20:34.805Z] ---> 9a3c5dfbc766 [2021-01-15T23:20:34.805Z] Step 6/8 : WORKDIR /build [2021-01-15T23:20:34.805Z] ---> Running in a49bc15b13a3 [2021-01-15T23:20:35.100Z] Removing intermediate container a49bc15b13a3 [2021-01-15T23:20:35.100Z] ---> a88f1647b8ba [2021-01-15T23:20:35.100Z] Step 7/8 : COPY go.mod . [2021-01-15T23:20:35.702Z] ---> a894dc16bdf4 [2021-01-15T23:20:35.703Z] Step 8/8 : RUN go mod download [2021-01-15T23:20:35.703Z] ---> Running in c19519c1bd8e [2021-01-15T23:20:43.546Z] --- FAIL: TestInitializeAndProcessEventMultipleTopics (3.32s) [2021-01-15T23:20:43.546Z] messaging_test.go:439: [2021-01-15T23:20:43.546Z] Error Trace: messaging_test.go:439 [2021-01-15T23:20:43.546Z] Error: Transform never called [2021-01-15T23:20:43.546Z] Test: TestInitializeAndProcessEventMultipleTopics [2021-01-15T23:20:43.546Z] FAIL [2021-01-15T23:20:43.547Z] coverage: 76.9% of statements [2021-01-15T23:20:43.547Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 10.289s [2021-01-15T23:20:43.547Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-01-15T23:20:43.547Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.060s coverage: 87.9% of statements [2021-01-15T23:20:43.547Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.038s coverage: 80.5% of statements [2021-01-15T23:20:43.547Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.019s coverage: 71.7% of statements [2021-01-15T23:21:01.814Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.074s coverage: 81.4% of statements [2021-01-15T23:21:01.814Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.025s coverage: 94.4% of statements [2021-01-15T23:21:01.814Z] FAIL [2021-01-15T23:21:01.814Z] make: *** [Makefile:6: test] Error 1 [Pipeline] } [2021-01-15T23:21:01.853Z] $ docker stop --time=1 74b014ae238c8f7de0b8449933430e2ed62475432e8c61ce6a32a3bed8b778b6 [2021-01-15T23:21:02.513Z] Removing intermediate container c19519c1bd8e [2021-01-15T23:21:02.514Z] ---> d3768735996d [2021-01-15T23:21:02.514Z] Successfully built d3768735996d [2021-01-15T23:21:02.514Z] Successfully tagged ci-base-image-x86_64:latest [2021-01-15T23:21:03.978Z] $ docker rm -f 74b014ae238c8f7de0b8449933430e2ed62475432e8c61ce6a32a3bed8b778b6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] isUnix [Pipeline] sh 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] } [2021-01-15T23:21:05.145Z] + docker inspect -f . ci-base-image-x86_64 [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2021-01-15T23:21:05.437Z] . [Pipeline] // ws [Pipeline] } [Pipeline] withDockerContainer [2021-01-15T23:21:05.961Z] prd-centos7-docker-4c-2g-20691 does not seem to be running inside a container [2021-01-15T23:21:06.149Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-15T23:21:08.421Z] $ docker top 1fca1c2a27db29f53424c1cdc3d7a48eaab07a91b9ba6cc8c5998aba742ad76f -eo pid,comm [Pipeline] { [Pipeline] // node [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] } [2021-01-15T23:21:08.950Z] Failed in branch arm64 [2021-01-15T23:21:09.143Z] + go version [2021-01-15T23:21:09.416Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-15T23:21:09.446Z] $ docker stop --time=1 1fca1c2a27db29f53424c1cdc3d7a48eaab07a91b9ba6cc8c5998aba742ad76f [2021-01-15T23:21:10.992Z] $ docker rm -f 1fca1c2a27db29f53424c1cdc3d7a48eaab07a91b9ba6cc8c5998aba742ad76f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-15T23:21:12.139Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-15T23:21:12.139Z] . [Pipeline] withDockerContainer [2021-01-15T23:21:12.488Z] prd-centos7-docker-4c-2g-20691 does not seem to be running inside a container [2021-01-15T23:21:12.580Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-15T23:21:14.193Z] $ docker top 8d3e25419a1230ca5dede2b8d18ae90d052d8b05128bb7e5e6f4d4e037113e7a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-15T23:21:14.859Z] + make test [2021-01-15T23:21:14.859Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-01-15T23:21:18.285Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] [2021-01-15T23:21:33.696Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.134s coverage: 82.6% of statements [2021-01-15T23:21:46.666Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.070s coverage: 48.6% of statements [2021-01-15T23:21:46.666Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-01-15T23:21:46.666Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-01-15T23:21:46.666Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.114s coverage: 61.5% of statements [2021-01-15T23:21:46.666Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-01-15T23:21:46.666Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.071s coverage: 58.9% of statements [2021-01-15T23:21:46.666Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-01-15T23:21:46.666Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-01-15T23:21:46.666Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-01-15T23:21:46.666Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-01-15T23:21:46.666Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-01-15T23:21:46.666Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-01-15T23:21:46.666Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.045s coverage: 97.0% of statements [2021-01-15T23:21:46.666Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-01-15T23:21:46.666Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.024s coverage: 8.8% of statements [2021-01-15T23:21:59.433Z] --- FAIL: TestInitializeAndProcessEventMultipleTopics (3.31s) [2021-01-15T23:21:59.433Z] messaging_test.go:439: [2021-01-15T23:21:59.433Z] Error Trace: messaging_test.go:439 [2021-01-15T23:21:59.433Z] Error: Transform never called [2021-01-15T23:21:59.433Z] Test: TestInitializeAndProcessEventMultipleTopics [2021-01-15T23:21:59.433Z] FAIL [2021-01-15T23:21:59.433Z] coverage: 76.9% of statements [2021-01-15T23:21:59.433Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 10.337s [2021-01-15T23:21:59.433Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-01-15T23:21:59.433Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.042s coverage: 87.9% of statements [2021-01-15T23:21:59.433Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.037s coverage: 80.5% of statements [2021-01-15T23:21:59.433Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.011s coverage: 71.7% of statements [2021-01-15T23:22:17.853Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.118s coverage: 81.4% of statements [2021-01-15T23:22:17.853Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.031s coverage: 94.4% of statements [2021-01-15T23:22:17.853Z] FAIL [2021-01-15T23:22:17.853Z] make: *** [Makefile:6: test] Error 1 [Pipeline] } [2021-01-15T23:22:17.895Z] $ docker stop --time=1 8d3e25419a1230ca5dede2b8d18ae90d052d8b05128bb7e5e6f4d4e037113e7a [2021-01-15T23:22:20.223Z] $ docker rm -f 8d3e25419a1230ca5dede2b8d18ae90d052d8b05128bb7e5e6f4d4e037113e7a [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] } [2021-01-15T23:22:22.060Z] Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-01-15T23:22:24.712Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-15T23:22:25.036Z] ---> package-listing.sh [2021-01-15T23:22:25.036Z] ++ facter osfamily [2021-01-15T23:22:25.036Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-15T23:22:25.036Z] + OS_FAMILY=redhat [2021-01-15T23:22:25.036Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-616 [2021-01-15T23:22:25.036Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-15T23:22:25.036Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-15T23:22:25.036Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-15T23:22:25.036Z] + PACKAGES=/tmp/packages_start.txt [2021-01-15T23:22:25.036Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-616 ']' [2021-01-15T23:22:25.036Z] + PACKAGES=/tmp/packages_end.txt [2021-01-15T23:22:25.036Z] + case "${OS_FAMILY}" in [2021-01-15T23:22:25.036Z] + rpm -qa [2021-01-15T23:22:25.036Z] + sort [2021-01-15T23:22:30.402Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-15T23:22:30.402Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-15T23:22:30.402Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-15T23:22:30.402Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-616 ']' [2021-01-15T23:22:30.402Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-616/archives/ [2021-01-15T23:22:30.402Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-616/archives/ [Pipeline] echo [2021-01-15T23:22:30.417Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_PR-616/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-15T23:22:30.707Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-15T23:22:31.014Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-15T23:22:31.015Z] [2021-01-15T23:22:31.015Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-15T23:22:31.381Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-15T23:22:31.381Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-15T23:22:31.381Z] df20fa9351a1: Pulling fs layer [2021-01-15T23:22:31.381Z] 36b3adc4ff6f: Pulling fs layer [2021-01-15T23:22:31.381Z] 8ad3a11d3b57: Pulling fs layer [2021-01-15T23:22:31.381Z] 46f8f816bc3b: Pulling fs layer [2021-01-15T23:22:31.381Z] 93b61091891f: Pulling fs layer [2021-01-15T23:22:31.381Z] 93b9cdb0e59b: Pulling fs layer [2021-01-15T23:22:31.381Z] 5e14af77c1be: Pulling fs layer [2021-01-15T23:22:31.381Z] 01666e4c0597: Pulling fs layer [2021-01-15T23:22:31.381Z] aa168da1d23b: Pulling fs layer [2021-01-15T23:22:31.381Z] 46f8f816bc3b: Waiting [2021-01-15T23:22:31.381Z] 93b61091891f: Waiting [2021-01-15T23:22:31.381Z] 93b9cdb0e59b: Waiting [2021-01-15T23:22:31.381Z] 5e14af77c1be: Waiting [2021-01-15T23:22:31.381Z] aa168da1d23b: Waiting [2021-01-15T23:22:31.381Z] 01666e4c0597: Waiting [2021-01-15T23:22:31.381Z] 36b3adc4ff6f: Verifying Checksum [2021-01-15T23:22:31.381Z] 36b3adc4ff6f: Download complete [2021-01-15T23:22:31.381Z] 46f8f816bc3b: Verifying Checksum [2021-01-15T23:22:31.381Z] 46f8f816bc3b: Download complete [2021-01-15T23:22:31.381Z] df20fa9351a1: Download complete [2021-01-15T23:22:31.381Z] 93b9cdb0e59b: Download complete [2021-01-15T23:22:31.381Z] 5e14af77c1be: Verifying Checksum [2021-01-15T23:22:31.381Z] 5e14af77c1be: Download complete [2021-01-15T23:22:31.650Z] 93b61091891f: Verifying Checksum [2021-01-15T23:22:31.650Z] 93b61091891f: Download complete [2021-01-15T23:22:31.650Z] 01666e4c0597: Download complete [2021-01-15T23:22:31.650Z] 8ad3a11d3b57: Verifying Checksum [2021-01-15T23:22:31.650Z] 8ad3a11d3b57: Download complete [2021-01-15T23:22:31.913Z] df20fa9351a1: Pull complete [2021-01-15T23:22:32.184Z] 36b3adc4ff6f: Pull complete [2021-01-15T23:22:33.149Z] 8ad3a11d3b57: Pull complete [2021-01-15T23:22:33.149Z] 46f8f816bc3b: Pull complete [2021-01-15T23:22:33.413Z] aa168da1d23b: Download complete [2021-01-15T23:22:33.413Z] 93b61091891f: Pull complete [2021-01-15T23:22:33.680Z] 93b9cdb0e59b: Pull complete [2021-01-15T23:22:33.680Z] 5e14af77c1be: Pull complete [2021-01-15T23:22:33.946Z] 01666e4c0597: Pull complete [2021-01-15T23:22:42.136Z] aa168da1d23b: Pull complete [2021-01-15T23:22:42.136Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-15T23:22:42.136Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-15T23:22:42.136Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-15T23:22:42.334Z] prd-centos7-docker-4c-2g-20687 does not seem to be running inside a container [2021-01-15T23:22:42.387Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_PR-616/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ndry_app-functions-sdk-go_PR-616 -v /w/workspace/ndry_app-functions-sdk-go_PR-616:/w/workspace/ndry_app-functions-sdk-go_PR-616:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-616@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-616@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-15T23:22:45.748Z] $ docker top 59c4f676f73ee3e6b97e8037cbedd65cba034e3a43527c6a8e83a1f2639cd865 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-15T23:22:46.293Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-15T23:22:46.594Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-15T23:22:46.896Z] + ls /var/log/sa-host [2021-01-15T23:22:46.896Z] + sadf -c /var/log/sa-host/sa15 [2021-01-15T23:22:46.896Z] file_magic: OK [2021-01-15T23:22:46.896Z] HZ: Using current value: 100 [2021-01-15T23:22:46.896Z] file_header: OK [2021-01-15T23:22:46.896Z] 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 [2021-01-15T23:22:46.896Z] Statistics: [2021-01-15T23:22:46.896Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-15T23:22:46.896Z] File successfully converted to sysstat format version 12.2.1 [2021-01-15T23:22:46.896Z] + sadf -c /var/log/sa-host/sa23 [2021-01-15T23:22:46.896Z] file_magic: OK [2021-01-15T23:22:46.896Z] HZ: Using current value: 100 [2021-01-15T23:22:46.896Z] file_header: OK [2021-01-15T23:22:46.896Z] 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 [2021-01-15T23:22:46.896Z] Statistics: [2021-01-15T23:22:46.896Z] Hnuu...uuuununununu... [2021-01-15T23:22:46.896Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-15T23:22:47.119Z] provisioning config files... [2021-01-15T23:22:47.144Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-616@tmp/config1758674752564791826tmp [Pipeline] { [Pipeline] echo [2021-01-15T23:22:47.209Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-15T23:22:47.510Z] ---> create-netrc.sh [Pipeline] } [2021-01-15T23:22:47.520Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-15T23:22:47.611Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-15T23:22:47.909Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-15T23:22:47.922Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-15T23:22:48.255Z] ---> sudo-logs.sh [2021-01-15T23:22:48.256Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-15T23:22:48.268Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-15T23:22:48.569Z] ---> job-cost.sh [2021-01-15T23:22:48.569Z] lf-activate-venv: SKIPPING [2021-01-15T23:22:48.569Z] INFO: No Stack... [2021-01-15T23:22:49.517Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-15T23:22:50.098Z] INFO: Archiving Costs [Pipeline] echo [2021-01-15T23:22:50.112Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-15T23:22:50.409Z] ---> logs-deploy.sh [2021-01-15T23:22:50.409Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-616/3 [2021-01-15T23:22:50.409Z] INFO: archiving workspace using pattern(s): [2021-01-15T23:22:52.332Z] Archives upload complete. [2021-01-15T23:22:52.332Z] INFO: archiving logs to Nexus