Pull request #587 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 AlexCuse for edgexfoundry/app-functions-sdk-go Loading trusted files from base branch master at c9ed7d50ea1ae9051570182c8cb685d3221d57d1 rather than c9c9efe5a89844f13c0fbdede06b5b81a1649819 Obtained Jenkinsfile from c9ed7d50ea1ae9051570182c8cb685d3221d57d1 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 025b6483f761633eb525fab7d6a8b6537d6ee4a4 # timeout=10 Commit message: "Merge pull request #264 from ernestojeda/new-snap-build-script" > 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-15649 in /w/workspace/ndry_app-functions-sdk-go_PR-587 [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-587 # 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/587/head:refs/remotes/origin/PR-587 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit c9ed7d50ea1ae9051570182c8cb685d3221d57d1 into PR head commit c9c9efe5a89844f13c0fbdede06b5b81a1649819 Merge succeeded, producing c9c9efe5a89844f13c0fbdede06b5b81a1649819 Checking out Revision c9c9efe5a89844f13c0fbdede06b5b81a1649819 (PR-587) > git config core.sparsecheckout # timeout=10 > git checkout -f c9c9efe5a89844f13c0fbdede06b5b81a1649819 # 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 c9ed7d50ea1ae9051570182c8cb685d3221d57d1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c9c9efe5a89844f13c0fbdede06b5b81a1649819 # timeout=10 Commit message: "feat(sdk): Enable Custom Trigger Registration" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-11T22:46:39.471Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials > git rev-list --no-walk e595e1cd5743ddb59108e5d48495f410388ac113 # timeout=10 [2020-12-11T22:46:39.754Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-11T22:46:39.858Z] ========================================================= [2020-12-11T22:46:39.858Z] EdgeX Global Pipelines Version Info [2020-12-11T22:46:39.858Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-11T22:46:41.384Z] ------------------- [2020-12-11T22:46:41.384Z] stable info: [2020-12-11T22:46:41.384Z] ------------------- [2020-12-11T22:46:41.384Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-11T22:46:41.384Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-11T22:46:41.384Z] Message: update stable to v1.0.172 [2020-12-11T22:46:42.335Z] ------------------- [2020-12-11T22:46:42.335Z] experimental info: [2020-12-11T22:46:42.335Z] ------------------- [2020-12-11T22:46:42.335Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-11T22:46:42.335Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-11T22:46:42.335Z] Message: update experimental to v1.0.172 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-11T22:46:42.664Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2020-12-11T22:46:42.766Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2020-12-11T22:46:42.897Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-11T22:46:42.994Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-11T22:46:43.094Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-11T22:46:43.212Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-11T22:46:43.306Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-11T22:46:43.400Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-11T22:46:43.493Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-12-11T22:46:43.593Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-11T22:46:43.726Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-11T22:46:43.846Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2020-12-11T22:46:43.946Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-11T22:46:44.103Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-11T22:46:44.199Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-12-11T22:46:44.295Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-11T22:46:44.397Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-11T22:46:44.489Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-11T22:46:44.583Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-11T22:46:44.674Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-11T22:46:44.775Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-12-11T22:46:44.872Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2020-12-11T22:46:44.975Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-11T22:46:45.088Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-11T22:46:45.183Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2020-12-11T22:46:45.326Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-11T22:46:45.435Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-587 [Pipeline] echo [2020-12-11T22:46:45.535Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-587 [Pipeline] echo [2020-12-11T22:46:45.625Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-587 [Pipeline] echo [2020-12-11T22:46:45.714Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c9c9efe5a89844f13c0fbdede06b5b81a1649819 [Pipeline] echo [2020-12-11T22:46:45.807Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c9c9efe [Pipeline] echo [2020-12-11T22:46:45.909Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-11T22:46:46.690Z] + git log --format=format:%s -1 c9c9efe5a89844f13c0fbdede06b5b81a1649819 [Pipeline] echo [2020-12-11T22:46:46.755Z] GIT_COMMIT: c9c9efe5a89844f13c0fbdede06b5b81a1649819, Commit Message: feat(sdk): Enable Custom Trigger Registration [Pipeline] echo [2020-12-11T22:46:46.805Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-11T22:46:47.555Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-11T22:46:47.817Z] [2020-12-11T22:46:47.817Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-11T22:46:48.179Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-11T22:46:48.179Z] latest: Pulling from edgex-devops/git-semver [2020-12-11T22:46:48.179Z] 31603596830f: Pulling fs layer [2020-12-11T22:46:48.179Z] 2a8b12db71e7: Pulling fs layer [2020-12-11T22:46:48.179Z] 6ca5941a6612: Pulling fs layer [2020-12-11T22:46:48.179Z] ecc8261a40a4: Pulling fs layer [2020-12-11T22:46:48.179Z] ecc8261a40a4: Waiting [2020-12-11T22:46:48.179Z] 2a8b12db71e7: Verifying Checksum [2020-12-11T22:46:48.179Z] 2a8b12db71e7: Download complete [2020-12-11T22:46:48.443Z] 31603596830f: Verifying Checksum [2020-12-11T22:46:48.443Z] 31603596830f: Download complete [2020-12-11T22:46:48.705Z] ecc8261a40a4: Verifying Checksum [2020-12-11T22:46:48.705Z] ecc8261a40a4: Download complete [2020-12-11T22:46:48.705Z] 6ca5941a6612: Verifying Checksum [2020-12-11T22:46:48.705Z] 6ca5941a6612: Download complete [2020-12-11T22:46:48.705Z] 31603596830f: Pull complete [2020-12-11T22:46:48.969Z] 2a8b12db71e7: Pull complete [2020-12-11T22:46:49.545Z] 6ca5941a6612: Pull complete [2020-12-11T22:46:49.807Z] ecc8261a40a4: Pull complete [2020-12-11T22:46:49.807Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-11T22:46:49.807Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-11T22:46:49.807Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-11T22:46:50.200Z] prd-centos7-docker-4c-2g-15649 does not seem to be running inside a container [2020-12-11T22:46:50.248Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-587 -v /w/workspace/ndry_app-functions-sdk-go_PR-587:/w/workspace/ndry_app-functions-sdk-go_PR-587:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-587@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-587@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 [2020-12-11T22:46:52.179Z] $ docker top c36429df93b2a8fc50eb98503efa6c62664402d6595cc159cda7869aa739b3d2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-11T22:46:52.476Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-11T22:46:52.476Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-11T22:46:52.705Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-11T22:46:52.711Z] $ docker exec c36429df93b2a8fc50eb98503efa6c62664402d6595cc159cda7869aa739b3d2 ssh-agent [2020-12-11T22:46:52.885Z] SSH_AUTH_SOCK=/tmp/ssh-TrS6rTU70MdK/agent.12 [2020-12-11T22:46:52.885Z] SSH_AGENT_PID=17 [2020-12-11T22:46:52.894Z] Running ssh-add (command line suppressed) [2020-12-11T22:46:53.010Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-587@tmp/private_key_7645616885289376992.key (/w/workspace/ndry_app-functions-sdk-go_PR-587@tmp/private_key_7645616885289376992.key) [2020-12-11T22:46:53.060Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-11T22:46:53.396Z] + git tag --points-at HEAD [Pipeline] } [2020-12-11T22:46:53.420Z] $ docker exec --env ******** --env ******** c36429df93b2a8fc50eb98503efa6c62664402d6595cc159cda7869aa739b3d2 ssh-agent -k [2020-12-11T22:46:53.535Z] unset SSH_AUTH_SOCK; [2020-12-11T22:46:53.535Z] unset SSH_AGENT_PID; [2020-12-11T22:46:53.536Z] echo Agent pid 17 killed; [2020-12-11T22:46:53.578Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-11T22:46:53.746Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-11T22:46:53.746Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-11T22:46:53.909Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-11T22:46:53.914Z] $ docker exec c36429df93b2a8fc50eb98503efa6c62664402d6595cc159cda7869aa739b3d2 ssh-agent [2020-12-11T22:46:54.069Z] SSH_AUTH_SOCK=/tmp/ssh-EsbUo932HQ6j/agent.45 [2020-12-11T22:46:54.069Z] SSH_AGENT_PID=51 [2020-12-11T22:46:54.075Z] Running ssh-add (command line suppressed) [2020-12-11T22:46:54.186Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-587@tmp/private_key_5031690916512087129.key (/w/workspace/ndry_app-functions-sdk-go_PR-587@tmp/private_key_5031690916512087129.key) [2020-12-11T22:46:54.233Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-11T22:46:54.566Z] + git semver init [2020-12-11T22:46:54.566Z] # -> Open(): unable to determine branch for HEAD [2020-12-11T22:46:54.566Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-587/.git [2020-12-11T22:46:54.566Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-587 [2020-12-11T22:46:54.566Z] # $SEMVER_REMOTE_NAME = origin [2020-12-11T22:46:54.566Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-11T22:46:54.566Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-11T22:46:54.566Z] # $SEMVER_BRANCH = PR-587 [2020-12-11T22:46:54.566Z] # $SEMVER_TEMP = /tmp/semver-735658337 [2020-12-11T22:46:54.566Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2020-12-11T22:46:57.125Z] # '/tmp/semver-735658337' -> '/w/workspace/ndry_app-functions-sdk-go_PR-587/.semver' [2020-12-11T22:46:57.396Z] # -> Force: false [2020-12-11T22:46:57.396Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-587/.semver [Pipeline] } [2020-12-11T22:46:57.412Z] $ docker exec --env ******** --env ******** c36429df93b2a8fc50eb98503efa6c62664402d6595cc159cda7869aa739b3d2 ssh-agent -k [2020-12-11T22:46:57.584Z] unset SSH_AUTH_SOCK; [2020-12-11T22:46:57.585Z] unset SSH_AGENT_PID; [2020-12-11T22:46:57.585Z] echo Agent pid 51 killed; [2020-12-11T22:46:57.639Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-11T22:46:58.126Z] + git semver [Pipeline] } [2020-12-11T22:46:58.146Z] $ docker stop --time=1 c36429df93b2a8fc50eb98503efa6c62664402d6595cc159cda7869aa739b3d2 [2020-12-11T22:46:59.673Z] $ docker rm -f c36429df93b2a8fc50eb98503efa6c62664402d6595cc159cda7869aa739b3d2 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-11T22:47:00.183Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-11T22:47:00.726Z] Stashed 1 file(s) [Pipeline] echo [2020-12-11T22:47:00.729Z] [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 [2020-12-11T22:47:16.245Z] Still waiting to schedule task [2020-12-11T22:47:16.245Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-12-11T22:47:16.247Z] Still waiting to schedule task [2020-12-11T22:47:16.247Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-12-11T22:50:00.796Z] Running on prd-centos7-docker-4c-2g-15651 in /w/workspace/ndry_app-functions-sdk-go_PR-587 [Pipeline] { [Pipeline] ws [2020-12-11T22:50:00.853Z] Running in /w/workspace/app-functions-sdk-go/6 [Pipeline] { [Pipeline] checkout [2020-12-11T22:50:03.315Z] using credential edgex-jenkins-ssh [2020-12-11T22:50:03.365Z] Cloning the remote Git repository [2020-12-11T22:50:03.362Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-12-11T22:50:03.435Z] > git init /w/workspace/app-functions-sdk-go/6 # timeout=10 [2020-12-11T22:50:03.499Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-12-11T22:50:03.499Z] > git --version # timeout=10 [2020-12-11T22:50:03.508Z] > git --version # 'git version 2.24.3' [2020-12-11T22:50:03.508Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-11T22:50:03.556Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-11T22:50:06.066Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-12-11T22:50:06.072Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-11T22:50:06.084Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-12-11T22:50:06.099Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-12-11T22:50:06.099Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-11T22:50:06.103Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/587/head:refs/remotes/origin/PR-587 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-11T22:50:06.729Z] Merging remotes/origin/master commit c9ed7d50ea1ae9051570182c8cb685d3221d57d1 into PR head commit c9c9efe5a89844f13c0fbdede06b5b81a1649819 [2020-12-11T22:50:06.833Z] Merge succeeded, producing c9c9efe5a89844f13c0fbdede06b5b81a1649819 [2020-12-11T22:50:06.833Z] Checking out Revision c9c9efe5a89844f13c0fbdede06b5b81a1649819 (PR-587) [2020-12-11T22:50:06.738Z] > git config core.sparsecheckout # timeout=10 [2020-12-11T22:50:06.748Z] > git checkout -f c9c9efe5a89844f13c0fbdede06b5b81a1649819 # timeout=10 [2020-12-11T22:50:06.801Z] > git remote # timeout=10 [2020-12-11T22:50:06.806Z] > git config --get remote.origin.url # timeout=10 [2020-12-11T22:50:06.813Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-11T22:50:06.817Z] > git merge c9ed7d50ea1ae9051570182c8cb685d3221d57d1 # timeout=10 [2020-12-11T22:50:06.827Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-11T22:50:06.837Z] > git config core.sparsecheckout # timeout=10 [2020-12-11T22:50:06.841Z] > git checkout -f c9c9efe5a89844f13c0fbdede06b5b81a1649819 # timeout=10 [2020-12-11T22:50:10.481Z] Commit message: "feat(sdk): Enable Custom Trigger Registration" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-11T22:50:11.645Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-11T22:50:11.987Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-11T22:50:12.308Z] + sudo service docker restart [2020-12-11T22:50:12.308Z] + true [2020-12-11T22:50:12.308Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2020-12-11T22:50:13.500Z] ========================================================= [2020-12-11T22:50:13.500Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-11T22:50:13.500Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-11T22:50:13.851Z] + 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-12-11T22:50:14.427Z] Sending build context to Docker daemon 19.18MB [2020-12-11T22:50:14.427Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-11T22:50:14.427Z] Step 2/8 : FROM ${BASE} [2020-12-11T22:50:14.688Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-11T22:50:14.688Z] 188c0c94c7c5: Pulling fs layer [2020-12-11T22:50:14.688Z] 0ef7d3d256c8: Pulling fs layer [2020-12-11T22:50:14.688Z] de9db76c5a1d: Pulling fs layer [2020-12-11T22:50:14.688Z] bca2f99d35d6: Pulling fs layer [2020-12-11T22:50:14.688Z] 93359f2a8cfa: Pulling fs layer [2020-12-11T22:50:14.688Z] 7c6f9722023f: Pulling fs layer [2020-12-11T22:50:14.688Z] a35cf1a2eb13: Pulling fs layer [2020-12-11T22:50:14.688Z] bca2f99d35d6: Waiting [2020-12-11T22:50:14.688Z] 93359f2a8cfa: Waiting [2020-12-11T22:50:14.688Z] 7c6f9722023f: Waiting [2020-12-11T22:50:14.688Z] a35cf1a2eb13: Waiting [2020-12-11T22:50:14.688Z] de9db76c5a1d: Download complete [2020-12-11T22:50:14.688Z] 0ef7d3d256c8: Download complete [2020-12-11T22:50:14.688Z] 93359f2a8cfa: Verifying Checksum [2020-12-11T22:50:14.688Z] 93359f2a8cfa: Download complete [2020-12-11T22:50:15.269Z] 7c6f9722023f: Verifying Checksum [2020-12-11T22:50:15.269Z] 7c6f9722023f: Download complete [2020-12-11T22:50:15.269Z] 188c0c94c7c5: Verifying Checksum [2020-12-11T22:50:15.269Z] 188c0c94c7c5: Download complete [2020-12-11T22:50:15.533Z] 188c0c94c7c5: Pull complete [2020-12-11T22:50:15.794Z] 0ef7d3d256c8: Pull complete [2020-12-11T22:50:16.057Z] de9db76c5a1d: Pull complete [2020-12-11T22:50:17.022Z] a35cf1a2eb13: Verifying Checksum [2020-12-11T22:50:17.022Z] a35cf1a2eb13: Download complete [2020-12-11T22:50:17.602Z] bca2f99d35d6: Verifying Checksum [2020-12-11T22:50:17.603Z] bca2f99d35d6: Download complete [2020-12-11T22:50:22.939Z] bca2f99d35d6: Pull complete [2020-12-11T22:50:22.939Z] 93359f2a8cfa: Pull complete [2020-12-11T22:50:22.939Z] 7c6f9722023f: Pull complete [2020-12-11T22:50:31.114Z] a35cf1a2eb13: Pull complete [2020-12-11T22:50:31.114Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-11T22:50:31.114Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-11T22:50:31.114Z] ---> a62c8e92a672 [2020-12-11T22:50:31.114Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-12-11T22:50:31.114Z] latest: Pulling from library/docker [2020-12-11T22:50:31.114Z] 05e7bc50f07f: Pulling fs layer [2020-12-11T22:50:31.114Z] 6db28d0fdbf6: Pulling fs layer [2020-12-11T22:50:31.114Z] 292df0bc6bf3: Pulling fs layer [2020-12-11T22:50:31.114Z] 2e060f4bd70b: Pulling fs layer [2020-12-11T22:50:31.114Z] 80e8d568a223: Pulling fs layer [2020-12-11T22:50:31.114Z] 8dc6ef1a942a: Pulling fs layer [2020-12-11T22:50:31.114Z] 2312dd95470a: Pulling fs layer [2020-12-11T22:50:31.114Z] 80e8d568a223: Waiting [2020-12-11T22:50:31.114Z] 8dc6ef1a942a: Waiting [2020-12-11T22:50:31.114Z] 2312dd95470a: Waiting [2020-12-11T22:50:31.114Z] 2e060f4bd70b: Waiting [2020-12-11T22:50:31.114Z] 292df0bc6bf3: Verifying Checksum [2020-12-11T22:50:31.114Z] 292df0bc6bf3: Download complete [2020-12-11T22:50:31.114Z] 6db28d0fdbf6: Verifying Checksum [2020-12-11T22:50:31.114Z] 6db28d0fdbf6: Download complete [2020-12-11T22:50:31.114Z] 05e7bc50f07f: Verifying Checksum [2020-12-11T22:50:31.114Z] 80e8d568a223: Verifying Checksum [2020-12-11T22:50:31.114Z] 80e8d568a223: Download complete [2020-12-11T22:50:31.114Z] 2312dd95470a: Verifying Checksum [2020-12-11T22:50:31.114Z] 2312dd95470a: Download complete [2020-12-11T22:50:31.114Z] 8dc6ef1a942a: Verifying Checksum [2020-12-11T22:50:31.114Z] 8dc6ef1a942a: Download complete [2020-12-11T22:50:31.114Z] 05e7bc50f07f: Pull complete [2020-12-11T22:50:31.114Z] 6db28d0fdbf6: Pull complete [2020-12-11T22:50:31.114Z] 292df0bc6bf3: Pull complete [2020-12-11T22:50:31.690Z] 2e060f4bd70b: Verifying Checksum [2020-12-11T22:50:31.690Z] 2e060f4bd70b: Download complete [2020-12-11T22:50:34.268Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-15650 in /w/workspace/ndry_app-functions-sdk-go_PR-587 [Pipeline] { [2020-12-11T22:50:34.291Z] 2e060f4bd70b: Pull complete [2020-12-11T22:50:34.291Z] 80e8d568a223: Pull complete [Pipeline] ws [2020-12-11T22:50:34.344Z] Running in /w/workspace/app-functions-sdk-go/6 [Pipeline] { [Pipeline] checkout [2020-12-11T22:50:34.556Z] 8dc6ef1a942a: Pull complete [2020-12-11T22:50:34.556Z] 2312dd95470a: Pull complete [2020-12-11T22:50:34.556Z] Digest: sha256:11663df6a04f355f0d726c8ae20de03ee3b1ef1008bbb63027d0e13b137a8186 [2020-12-11T22:50:34.556Z] Status: Downloaded newer image for docker:latest [2020-12-11T22:50:35.961Z] ---> 6aa3ad18ab9d [2020-12-11T22:50:35.961Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-11T22:50:36.224Z] ---> Running in 045573c86dda [2020-12-11T22:50:36.224Z] Removing intermediate container 045573c86dda [2020-12-11T22:50:36.224Z] ---> 540648b4c5a6 [2020-12-11T22:50:36.224Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-12-11T22:50:36.492Z] ---> Running in f6fdcaf20d5d [2020-12-11T22:50:37.069Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-11T22:50:37.646Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-11T22:50:38.591Z] (1/5) Installing libsodium (1.0.18-r0) [2020-12-11T22:50:38.591Z] (2/5) Installing libzmq (4.3.3-r0) [2020-12-11T22:50:38.591Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-12-11T22:50:38.591Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-12-11T22:50:38.854Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-12-11T22:50:38.854Z] Executing busybox-1.31.1-r19.trigger [2020-12-11T22:50:38.854Z] OK: 167 MiB in 44 packages [2020-12-11T22:50:40.423Z] Removing intermediate container f6fdcaf20d5d [2020-12-11T22:50:40.423Z] ---> 2450db983ffc [2020-12-11T22:50:40.423Z] Step 6/8 : WORKDIR /build [2020-12-11T22:50:40.423Z] ---> Running in 7f69db8b9d31 [2020-12-11T22:50:40.423Z] Removing intermediate container 7f69db8b9d31 [2020-12-11T22:50:40.423Z] ---> 4c1944b2f839 [2020-12-11T22:50:40.423Z] Step 7/8 : COPY go.mod . [2020-12-11T22:50:40.423Z] ---> 6b9fbb3af928 [2020-12-11T22:50:40.423Z] Step 8/8 : RUN go mod download [2020-12-11T22:50:40.423Z] ---> Running in ffc7aba6489c [2020-12-11T22:50:41.565Z] using credential edgex-jenkins-ssh [2020-12-11T22:50:41.667Z] Cloning the remote Git repository [2020-12-11T22:50:41.766Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-12-11T22:50:41.916Z] > git init /w/workspace/app-functions-sdk-go/6 # timeout=10 [2020-12-11T22:50:42.033Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-12-11T22:50:42.035Z] > git --version # timeout=10 [2020-12-11T22:50:42.060Z] > git --version # 'git version 2.17.1' [2020-12-11T22:50:42.063Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-11T22:50:42.179Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-11T22:50:45.615Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-12-11T22:50:45.646Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-11T22:50:45.693Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-12-11T22:50:45.740Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-12-11T22:50:45.742Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-11T22:50:45.763Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/587/head:refs/remotes/origin/PR-587 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-11T22:50:46.501Z] Merging remotes/origin/master commit c9ed7d50ea1ae9051570182c8cb685d3221d57d1 into PR head commit c9c9efe5a89844f13c0fbdede06b5b81a1649819 [2020-12-11T22:50:46.800Z] Merge succeeded, producing c9c9efe5a89844f13c0fbdede06b5b81a1649819 [2020-12-11T22:50:46.800Z] Checking out Revision c9c9efe5a89844f13c0fbdede06b5b81a1649819 (PR-587) [2020-12-11T22:50:46.535Z] > git config core.sparsecheckout # timeout=10 [2020-12-11T22:50:46.551Z] > git checkout -f c9c9efe5a89844f13c0fbdede06b5b81a1649819 # timeout=10 [2020-12-11T22:50:46.697Z] > git remote # timeout=10 [2020-12-11T22:50:46.729Z] > git config --get remote.origin.url # timeout=10 [2020-12-11T22:50:46.746Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-11T22:50:46.759Z] > git merge c9ed7d50ea1ae9051570182c8cb685d3221d57d1 # timeout=10 [2020-12-11T22:50:46.789Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-11T22:50:46.819Z] > git config core.sparsecheckout # timeout=10 [2020-12-11T22:50:46.836Z] > git checkout -f c9c9efe5a89844f13c0fbdede06b5b81a1649819 # timeout=10 [2020-12-11T22:50:51.308Z] Commit message: "feat(sdk): Enable Custom Trigger Registration" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-11T22:50:53.118Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-11T22:50:53.621Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-11T22:50:53.973Z] + sudo service docker restart [2020-12-11T22:50:53.973Z] + true [Pipeline] unstash [Pipeline] echo [2020-12-11T22:50:56.223Z] ========================================================= [2020-12-11T22:50:56.223Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-11T22:50:56.223Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-11T22:50:56.616Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-12-11T22:50:58.063Z] Sending build context to Docker daemon 19.18MB [2020-12-11T22:50:58.063Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-11T22:50:58.063Z] Step 2/8 : FROM ${BASE} [2020-12-11T22:50:58.063Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-11T22:50:58.063Z] 5f621e34cdf4: Pulling fs layer [2020-12-11T22:50:58.063Z] a4357932f1b6: Pulling fs layer [2020-12-11T22:50:58.063Z] 18c013af1878: Pulling fs layer [2020-12-11T22:50:58.063Z] 00ac8860ef70: Pulling fs layer [2020-12-11T22:50:58.063Z] 63d7cb157983: Pulling fs layer [2020-12-11T22:50:58.063Z] b116817d02f9: Pulling fs layer [2020-12-11T22:50:58.063Z] 745a02a5169b: Pulling fs layer [2020-12-11T22:50:58.063Z] 63d7cb157983: Waiting [2020-12-11T22:50:58.063Z] b116817d02f9: Waiting [2020-12-11T22:50:58.063Z] 745a02a5169b: Waiting [2020-12-11T22:50:58.063Z] 00ac8860ef70: Waiting [2020-12-11T22:50:58.336Z] 18c013af1878: Verifying Checksum [2020-12-11T22:50:58.336Z] 18c013af1878: Download complete [2020-12-11T22:50:58.336Z] a4357932f1b6: Verifying Checksum [2020-12-11T22:50:58.336Z] a4357932f1b6: Download complete [2020-12-11T22:50:58.336Z] 63d7cb157983: Verifying Checksum [2020-12-11T22:50:58.336Z] 63d7cb157983: Download complete [2020-12-11T22:50:58.336Z] b116817d02f9: Verifying Checksum [2020-12-11T22:50:58.336Z] b116817d02f9: Download complete [2020-12-11T22:50:58.336Z] 5f621e34cdf4: Verifying Checksum [2020-12-11T22:50:58.336Z] 5f621e34cdf4: Download complete [2020-12-11T22:50:58.938Z] 5f621e34cdf4: Pull complete [2020-12-11T22:50:59.546Z] a4357932f1b6: Pull complete [2020-12-11T22:51:00.156Z] 18c013af1878: Pull complete [2020-12-11T22:51:00.756Z] 745a02a5169b: Verifying Checksum [2020-12-11T22:51:00.756Z] 745a02a5169b: Download complete [2020-12-11T22:51:02.577Z] Removing intermediate container ffc7aba6489c [2020-12-11T22:51:02.577Z] ---> 42311c6be235 [2020-12-11T22:51:02.578Z] Successfully built 42311c6be235 [2020-12-11T22:51:02.578Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-11T22:51:02.896Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-11T22:51:02.896Z] . [Pipeline] withDockerContainer [2020-12-11T22:51:03.014Z] prd-centos7-docker-4c-2g-15651 does not seem to be running inside a container [2020-12-11T22:51:03.071Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/6 -v /w/workspace/app-functions-sdk-go/6:/w/workspace/app-functions-sdk-go/6:rw,z -v /w/workspace/app-functions-sdk-go/6@tmp:/w/workspace/app-functions-sdk-go/6@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 [2020-12-11T22:51:03.409Z] 00ac8860ef70: Verifying Checksum [2020-12-11T22:51:03.409Z] 00ac8860ef70: Download complete [2020-12-11T22:51:03.944Z] $ docker top 6398737cb42777d2aaccc0b05f50a6c9386485e8f9a1a74a1aead8f60a911c84 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-11T22:51:04.453Z] + go version [2020-12-11T22:51:04.453Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-11T22:51:04.468Z] $ docker stop --time=1 6398737cb42777d2aaccc0b05f50a6c9386485e8f9a1a74a1aead8f60a911c84 [2020-12-11T22:51:05.816Z] $ docker rm -f 6398737cb42777d2aaccc0b05f50a6c9386485e8f9a1a74a1aead8f60a911c84 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-11T22:51:10.315Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-11T22:51:10.315Z] . [Pipeline] withDockerContainer [2020-12-11T22:51:10.418Z] prd-centos7-docker-4c-2g-15651 does not seem to be running inside a container [2020-12-11T22:51:10.471Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/6 -v /w/workspace/app-functions-sdk-go/6:/w/workspace/app-functions-sdk-go/6:rw,z -v /w/workspace/app-functions-sdk-go/6@tmp:/w/workspace/app-functions-sdk-go/6@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 [2020-12-11T22:51:11.049Z] $ docker top 14c6d7e05d8d06c46d9c454dd28442a160d059c0da7da2376bfe681f484b835a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-11T22:51:11.630Z] + make test [2020-12-11T22:51:11.630Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-12-11T22:51:13.023Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-12-11T22:51:13.615Z] 00ac8860ef70: Pull complete [2020-12-11T22:51:13.894Z] 63d7cb157983: Pull complete [2020-12-11T22:51:14.174Z] b116817d02f9: Pull complete [2020-12-11T22:51:18.523Z] 745a02a5169b: Pull complete [2020-12-11T22:51:18.523Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-11T22:51:18.523Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-11T22:51:18.523Z] ---> b7e6874047d6 [2020-12-11T22:51:18.523Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-12-11T22:51:18.523Z] latest: Pulling from library/docker [2020-12-11T22:51:18.523Z] a3cc7d3b244e: Pulling fs layer [2020-12-11T22:51:18.523Z] 02a3295e0d61: Pulling fs layer [2020-12-11T22:51:18.523Z] 0f4f2e6d8100: Pulling fs layer [2020-12-11T22:51:18.523Z] 330b718f631f: Pulling fs layer [2020-12-11T22:51:18.523Z] a93816041522: Pulling fs layer [2020-12-11T22:51:18.523Z] bdb6da89ff94: Pulling fs layer [2020-12-11T22:51:18.523Z] 2a70c0c122f4: Pulling fs layer [2020-12-11T22:51:18.523Z] a93816041522: Waiting [2020-12-11T22:51:18.523Z] bdb6da89ff94: Waiting [2020-12-11T22:51:18.523Z] 2a70c0c122f4: Waiting [2020-12-11T22:51:18.523Z] 330b718f631f: Waiting [2020-12-11T22:51:18.523Z] 0f4f2e6d8100: Verifying Checksum [2020-12-11T22:51:18.523Z] 0f4f2e6d8100: Download complete [2020-12-11T22:51:18.523Z] 02a3295e0d61: Verifying Checksum [2020-12-11T22:51:18.523Z] 02a3295e0d61: Download complete [2020-12-11T22:51:18.523Z] a93816041522: Download complete [2020-12-11T22:51:18.523Z] a3cc7d3b244e: Verifying Checksum [2020-12-11T22:51:18.523Z] a3cc7d3b244e: Download complete [2020-12-11T22:51:18.523Z] bdb6da89ff94: Verifying Checksum [2020-12-11T22:51:18.523Z] bdb6da89ff94: Download complete [2020-12-11T22:51:18.523Z] 2a70c0c122f4: Download complete [2020-12-11T22:51:19.125Z] a3cc7d3b244e: Pull complete [2020-12-11T22:51:19.711Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.021s coverage: 86.2% of statements [2020-12-11T22:51:20.121Z] 02a3295e0d61: Pull complete [2020-12-11T22:51:20.405Z] 330b718f631f: Verifying Checksum [2020-12-11T22:51:20.405Z] 330b718f631f: Download complete [2020-12-11T22:51:20.405Z] 0f4f2e6d8100: Pull complete [2020-12-11T22:51:23.803Z] 330b718f631f: Pull complete [2020-12-11T22:51:24.095Z] a93816041522: Pull complete [2020-12-11T22:51:24.693Z] bdb6da89ff94: Pull complete [2020-12-11T22:51:24.966Z] 2a70c0c122f4: Pull complete [2020-12-11T22:51:24.967Z] Digest: sha256:11663df6a04f355f0d726c8ae20de03ee3b1ef1008bbb63027d0e13b137a8186 [2020-12-11T22:51:24.967Z] Status: Downloaded newer image for docker:latest [2020-12-11T22:51:31.717Z] ---> 951e7a56f891 [2020-12-11T22:51:31.717Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-11T22:51:31.997Z] ---> Running in ea084c21df9f [2020-12-11T22:51:32.055Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.028s coverage: 51.6% of statements [2020-12-11T22:51:32.056Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-12-11T22:51:32.056Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-12-11T22:51:32.056Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.027s coverage: 54.7% of statements [2020-12-11T22:51:32.056Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-12-11T22:51:32.056Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.025s coverage: 69.1% of statements [2020-12-11T22:51:32.613Z] Removing intermediate container ea084c21df9f [2020-12-11T22:51:32.613Z] ---> 0845c37a503a [2020-12-11T22:51:32.613Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-12-11T22:51:32.889Z] ---> Running in 521f80a17347 [2020-12-11T22:51:34.344Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-11T22:51:35.334Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-11T22:51:36.332Z] (1/5) Installing libsodium (1.0.18-r0) [2020-12-11T22:51:36.332Z] (2/5) Installing libzmq (4.3.3-r0) [2020-12-11T22:51:36.332Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-12-11T22:51:36.609Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-12-11T22:51:36.609Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-12-11T22:51:36.609Z] Executing busybox-1.31.1-r19.trigger [2020-12-11T22:51:36.893Z] OK: 144 MiB in 44 packages [2020-12-11T22:51:38.352Z] Removing intermediate container 521f80a17347 [2020-12-11T22:51:38.352Z] ---> 804ff34e5b7c [2020-12-11T22:51:38.352Z] Step 6/8 : WORKDIR /build [2020-12-11T22:51:38.629Z] ---> Running in 4cde72f28b29 [2020-12-11T22:51:39.237Z] Removing intermediate container 4cde72f28b29 [2020-12-11T22:51:39.237Z] ---> 23222bfe891e [2020-12-11T22:51:39.237Z] Step 7/8 : COPY go.mod . [2020-12-11T22:51:39.848Z] ---> f6121923fa39 [2020-12-11T22:51:39.848Z] Step 8/8 : RUN go mod download [2020-12-11T22:51:40.124Z] ---> Running in 31b5eb0d3ec0 [2020-12-11T22:51:44.308Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.426s coverage: 61.6% of statements [2020-12-11T22:51:44.308Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.007s coverage: 89.5% of statements [2020-12-11T22:51:44.308Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.005s coverage: 100.0% of statements [2020-12-11T22:51:44.308Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.014s coverage: 100.0% of statements [2020-12-11T22:51:44.308Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.006s coverage: 100.0% of statements [2020-12-11T22:51:44.308Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.005s coverage: 100.0% of statements [2020-12-11T22:51:44.308Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-12-11T22:51:44.308Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-12-11T22:51:44.308Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-12-11T22:51:44.308Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-12-11T22:51:44.308Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-12-11T22:51:44.308Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-12-11T22:51:44.308Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-12-11T22:51:44.308Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.006s coverage: 97.7% of statements [2020-12-11T22:51:44.308Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-12-11T22:51:44.308Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.008s coverage: 8.8% of statements [2020-12-11T22:51:44.308Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.916s coverage: 75.0% of statements [2020-12-11T22:51:44.308Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] [2020-12-11T22:51:44.308Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.012s coverage: 89.7% of statements [2020-12-11T22:51:44.308Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.009s coverage: 88.9% of statements [2020-12-11T22:51:44.308Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.012s coverage: 80.5% of statements [2020-12-11T22:51:44.308Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.007s coverage: 71.7% of statements [2020-12-11T22:51:59.239Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.030s coverage: 81.6% of statements [2020-12-11T22:51:59.239Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.005s coverage: 94.4% of statements [2020-12-11T22:51:59.239Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-12-11T22:52:02.608Z] gofmt -l . [2020-12-11T22:52:02.608Z] [ "`gofmt -l .`" = "" ] [2020-12-11T22:52:02.878Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-12-11T22:52:03.159Z] $ docker stop --time=1 14c6d7e05d8d06c46d9c454dd28442a160d059c0da7da2376bfe681f484b835a [2020-12-11T22:52:04.868Z] $ docker rm -f 14c6d7e05d8d06c46d9c454dd28442a160d059c0da7da2376bfe681f484b835a [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-11T22:52:05.491Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-11T22:52:05.883Z] Stashed 1 file(s) [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 [2020-12-11T22:52:06.954Z] Removing intermediate container 31b5eb0d3ec0 [2020-12-11T22:52:06.954Z] ---> 5cfb3bdeb4f0 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [2020-12-11T22:52:07.235Z] Successfully built 5cfb3bdeb4f0 [2020-12-11T22:52:07.235Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] isUnix [Pipeline] sh [2020-12-11T22:52:07.667Z] + docker inspect -f . ci-base-image-arm64 [2020-12-11T22:52:07.667Z] . [Pipeline] withDockerContainer [2020-12-11T22:52:07.945Z] prd-ubuntu18.04-docker-arm64-4c-16g-15650 does not seem to be running inside a container [2020-12-11T22:52:08.051Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/6 -v /w/workspace/app-functions-sdk-go/6:/w/workspace/app-functions-sdk-go/6:rw,z -v /w/workspace/app-functions-sdk-go/6@tmp:/w/workspace/app-functions-sdk-go/6@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 ******** ci-base-image-arm64 cat [2020-12-11T22:52:09.667Z] $ docker top 8869ec5db3196fd0d3ca659b77b706b7062e9cd154d22c17febff37789fdb202 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-11T22:52:10.893Z] + go version [2020-12-11T22:52:10.893Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-11T22:52:10.931Z] $ docker stop --time=1 8869ec5db3196fd0d3ca659b77b706b7062e9cd154d22c17febff37789fdb202 [2020-12-11T22:52:12.885Z] $ docker rm -f 8869ec5db3196fd0d3ca659b77b706b7062e9cd154d22c17febff37789fdb202 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-11T22:52:13.910Z] + docker inspect -f . ci-base-image-arm64 [2020-12-11T22:52:13.910Z] . [Pipeline] withDockerContainer [2020-12-11T22:52:14.166Z] prd-ubuntu18.04-docker-arm64-4c-16g-15650 does not seem to be running inside a container [2020-12-11T22:52:14.284Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/6 -v /w/workspace/app-functions-sdk-go/6:/w/workspace/app-functions-sdk-go/6:rw,z -v /w/workspace/app-functions-sdk-go/6@tmp:/w/workspace/app-functions-sdk-go/6@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 ******** ci-base-image-arm64 cat [2020-12-11T22:52:15.913Z] $ docker top 876689cde2ad7582272f1c40bce3fd047c43ed5bcf750e577b988d2b6d9ff776 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-11T22:52:16.921Z] + make test [2020-12-11T22:52:16.921Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-12-11T22:52:18.894Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-12-11T22:52:45.776Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.056s coverage: 86.2% of statements [2020-12-11T22:53:12.654Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.053s coverage: 51.6% of statements [2020-12-11T22:53:12.654Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-12-11T22:53:12.654Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-12-11T22:53:12.654Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.102s coverage: 54.7% of statements [2020-12-11T22:53:12.654Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-12-11T22:53:12.654Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.076s coverage: 69.1% of statements [2020-12-11T22:53:23.034Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.463s coverage: 61.6% of statements [2020-12-11T22:53:23.034Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.035s coverage: 89.5% of statements [2020-12-11T22:53:23.034Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.019s coverage: 100.0% of statements [2020-12-11T22:53:23.034Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.043s coverage: 100.0% of statements [2020-12-11T22:53:23.034Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.012s coverage: 100.0% of statements [2020-12-11T22:53:23.034Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.012s coverage: 100.0% of statements [2020-12-11T22:53:23.034Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-12-11T22:53:23.034Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-12-11T22:53:23.034Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-12-11T22:53:23.034Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-12-11T22:53:23.034Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-12-11T22:53:23.034Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-12-11T22:53:23.034Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-12-11T22:53:23.034Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.016s coverage: 97.7% of statements [2020-12-11T22:53:23.034Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-12-11T22:53:23.034Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.026s coverage: 8.8% of statements [2020-12-11T22:53:23.632Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.978s coverage: 75.0% of statements [2020-12-11T22:53:23.632Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] [2020-12-11T22:53:23.632Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.099s coverage: 89.7% of statements [2020-12-11T22:53:23.632Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.027s coverage: 88.9% of statements [2020-12-11T22:53:23.632Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.037s coverage: 80.5% of statements [2020-12-11T22:53:23.632Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.032s coverage: 71.7% of statements [2020-12-11T22:53:50.426Z] panic: interface conversion: interface {} is nil, not [][]uint8 [2020-12-11T22:53:50.426Z] [2020-12-11T22:53:50.426Z] goroutine 37 [running]: [2020-12-11T22:53:50.426Z] github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms.TestBatchInTimeAndCountMode_CountMet.func3(0x4000180050, 0x4000180060, 0x4000194000, 0x4000192000, 0x4000180040) [2020-12-11T22:53:50.426Z] /w/workspace/app-functions-sdk-go/6/pkg/transforms/batch_test.go:126 +0x224 [2020-12-11T22:53:50.426Z] created by github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms.TestBatchInTimeAndCountMode_CountMet [2020-12-11T22:53:50.426Z] /w/workspace/app-functions-sdk-go/6/pkg/transforms/batch_test.go:121 +0x17c [2020-12-11T22:53:50.426Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 22.020s [2020-12-11T22:53:50.426Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.012s coverage: 94.4% of statements [2020-12-11T22:53:50.426Z] FAIL [2020-12-11T22:53:50.426Z] make: *** [Makefile:6: test] Error 1 [Pipeline] } [2020-12-11T22:53:50.471Z] $ docker stop --time=1 876689cde2ad7582272f1c40bce3fd047c43ed5bcf750e577b988d2b6d9ff776 [2020-12-11T22:53:52.765Z] $ docker rm -f 876689cde2ad7582272f1c40bce3fd047c43ed5bcf750e577b988d2b6d9ff776 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-12-11T22:53:54.740Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-12-11T22:54:00.350Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-11T22:54:00.663Z] ---> package-listing.sh [2020-12-11T22:54:00.663Z] ++ facter osfamily [2020-12-11T22:54:00.663Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-11T22:54:00.663Z] + OS_FAMILY=redhat [2020-12-11T22:54:00.663Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-587 [2020-12-11T22:54:00.663Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-11T22:54:00.663Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-11T22:54:00.663Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-11T22:54:00.663Z] + PACKAGES=/tmp/packages_start.txt [2020-12-11T22:54:00.663Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-587 ']' [2020-12-11T22:54:00.663Z] + PACKAGES=/tmp/packages_end.txt [2020-12-11T22:54:00.663Z] + case "${OS_FAMILY}" in [2020-12-11T22:54:00.663Z] + rpm -qa [2020-12-11T22:54:00.663Z] + sort [2020-12-11T22:54:05.996Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-11T22:54:05.996Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-11T22:54:05.996Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-11T22:54:05.996Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-587 ']' [2020-12-11T22:54:05.996Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-587/archives/ [2020-12-11T22:54:05.996Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-587/archives/ [Pipeline] echo [2020-12-11T22:54:06.011Z] 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-587/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-11T22:54:06.305Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-11T22:54:06.612Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-11T22:54:06.612Z] [2020-12-11T22:54:06.612Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-11T22:54:06.960Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-11T22:54:06.960Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-11T22:54:06.960Z] df20fa9351a1: Pulling fs layer [2020-12-11T22:54:06.960Z] 36b3adc4ff6f: Pulling fs layer [2020-12-11T22:54:06.960Z] 8ad3a11d3b57: Pulling fs layer [2020-12-11T22:54:06.960Z] 46f8f816bc3b: Pulling fs layer [2020-12-11T22:54:06.960Z] 93b61091891f: Pulling fs layer [2020-12-11T22:54:06.960Z] 93b9cdb0e59b: Pulling fs layer [2020-12-11T22:54:06.960Z] 5e14af77c1be: Pulling fs layer [2020-12-11T22:54:06.960Z] 01666e4c0597: Pulling fs layer [2020-12-11T22:54:06.960Z] aa168da1d23b: Pulling fs layer [2020-12-11T22:54:06.960Z] 93b61091891f: Waiting [2020-12-11T22:54:06.960Z] 46f8f816bc3b: Waiting [2020-12-11T22:54:06.960Z] 93b9cdb0e59b: Waiting [2020-12-11T22:54:06.960Z] 01666e4c0597: Waiting [2020-12-11T22:54:06.960Z] 5e14af77c1be: Waiting [2020-12-11T22:54:06.960Z] aa168da1d23b: Waiting [2020-12-11T22:54:06.960Z] 36b3adc4ff6f: Verifying Checksum [2020-12-11T22:54:06.960Z] 36b3adc4ff6f: Download complete [2020-12-11T22:54:06.960Z] 46f8f816bc3b: Verifying Checksum [2020-12-11T22:54:06.960Z] 46f8f816bc3b: Download complete [2020-12-11T22:54:06.960Z] df20fa9351a1: Download complete [2020-12-11T22:54:07.229Z] 93b9cdb0e59b: Verifying Checksum [2020-12-11T22:54:07.229Z] 93b9cdb0e59b: Download complete [2020-12-11T22:54:07.229Z] 5e14af77c1be: Verifying Checksum [2020-12-11T22:54:07.229Z] 5e14af77c1be: Download complete [2020-12-11T22:54:07.229Z] 01666e4c0597: Verifying Checksum [2020-12-11T22:54:07.229Z] 01666e4c0597: Download complete [2020-12-11T22:54:07.494Z] df20fa9351a1: Pull complete [2020-12-11T22:54:07.760Z] 36b3adc4ff6f: Pull complete [2020-12-11T22:54:07.760Z] 93b61091891f: Verifying Checksum [2020-12-11T22:54:07.760Z] 93b61091891f: Download complete [2020-12-11T22:54:07.760Z] 8ad3a11d3b57: Verifying Checksum [2020-12-11T22:54:07.760Z] 8ad3a11d3b57: Download complete [2020-12-11T22:54:08.342Z] 8ad3a11d3b57: Pull complete [2020-12-11T22:54:08.617Z] 46f8f816bc3b: Pull complete [2020-12-11T22:54:08.882Z] 93b61091891f: Pull complete [2020-12-11T22:54:09.146Z] 93b9cdb0e59b: Pull complete [2020-12-11T22:54:10.110Z] 5e14af77c1be: Pull complete [2020-12-11T22:54:10.110Z] 01666e4c0597: Pull complete [2020-12-11T22:54:10.371Z] aa168da1d23b: Verifying Checksum [2020-12-11T22:54:10.371Z] aa168da1d23b: Download complete [2020-12-11T22:54:16.986Z] aa168da1d23b: Pull complete [2020-12-11T22:54:16.986Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-11T22:54:16.986Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-11T22:54:16.986Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-11T22:54:17.145Z] prd-centos7-docker-4c-2g-15649 does not seem to be running inside a container [2020-12-11T22:54:17.197Z] $ 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-587/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-587 -v /w/workspace/ndry_app-functions-sdk-go_PR-587:/w/workspace/ndry_app-functions-sdk-go_PR-587:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-587@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-587@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 [2020-12-11T22:54:20.241Z] $ docker top 47d863380669d57801a19c1ac8d4dc66ead1ebe1b5c4554c43c50c0d7e21f66f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-11T22:54:20.892Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-11T22:54:21.188Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-11T22:54:21.489Z] + ls /var/log/sa-host [2020-12-11T22:54:21.489Z] + sadf -c /var/log/sa-host/sa11 [2020-12-11T22:54:21.489Z] file_magic: OK [2020-12-11T22:54:21.489Z] HZ: Using current value: 100 [2020-12-11T22:54:21.489Z] file_header: OK [2020-12-11T22:54:21.489Z] 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-12-11T22:54:21.489Z] Statistics: [2020-12-11T22:54:21.489Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-11T22:54:21.489Z] File successfully converted to sysstat format version 12.2.1 [2020-12-11T22:54:21.489Z] + sadf -c /var/log/sa-host/sa23 [2020-12-11T22:54:21.489Z] file_magic: OK [2020-12-11T22:54:21.489Z] HZ: Using current value: 100 [2020-12-11T22:54:21.489Z] file_header: OK [2020-12-11T22:54:21.489Z] 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-12-11T22:54:21.489Z] Statistics: [2020-12-11T22:54:21.489Z] Hnuu...uuuununununu... [2020-12-11T22:54:21.489Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-11T22:54:22.130Z] provisioning config files... [2020-12-11T22:54:22.152Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-587@tmp/config1681723870421515744tmp [Pipeline] { [Pipeline] echo [2020-12-11T22:54:22.229Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-11T22:54:22.527Z] ---> create-netrc.sh [Pipeline] } [2020-12-11T22:54:22.537Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-11T22:54:22.636Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-11T22:54:22.935Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-11T22:54:22.946Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-11T22:54:23.241Z] ---> sudo-logs.sh [2020-12-11T22:54:23.241Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-11T22:54:23.252Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-11T22:54:23.550Z] ---> job-cost.sh [2020-12-11T22:54:23.550Z] lf-activate-venv: SKIPPING [2020-12-11T22:54:23.550Z] INFO: No Stack... [2020-12-11T22:54:24.939Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-11T22:54:25.201Z] INFO: Archiving Costs [Pipeline] echo [2020-12-11T22:54:25.213Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-11T22:54:25.507Z] ---> logs-deploy.sh [2020-12-11T22:54:25.507Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-587/6 [2020-12-11T22:54:25.507Z] INFO: archiving workspace using pattern(s): [2020-12-11T22:54:27.427Z] Archives upload complete. [2020-12-11T22:54:27.427Z] INFO: archiving logs to Nexus