Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 2ceec0adb5a9f7398d1f9d81922aff7a85fc3cf5 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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-22678 in /w/workspace/ndry_app-functions-sdk-go_master [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_master # 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 Checking out Revision 2ceec0adb5a9f7398d1f9d81922aff7a85fc3cf5 (master) > 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/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2ceec0adb5a9f7398d1f9d81922aff7a85fc3cf5 # timeout=10 Commit message: "feat: Expect V2 Event DTO from triggers. (#616)" > git rev-list --no-walk 8142930acee8fabaf6710482ac85b747560789e9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-25T20:38:58.254Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-25T20:38:58.537Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-25T20:38:58.642Z] ========================================================= [2021-01-25T20:38:58.642Z] EdgeX Global Pipelines Version Info [2021-01-25T20:38:58.642Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-25T20:39:00.113Z] ------------------- [2021-01-25T20:39:00.113Z] stable info: [2021-01-25T20:39:00.113Z] ------------------- [2021-01-25T20:39:00.113Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-25T20:39:00.113Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-25T20:39:00.113Z] Message: update stable to v1.0.179 [2021-01-25T20:39:01.059Z] ------------------- [2021-01-25T20:39:01.059Z] experimental info: [2021-01-25T20:39:01.059Z] ------------------- [2021-01-25T20:39:01.059Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-25T20:39:01.059Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-25T20:39:01.059Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-25T20:39:01.462Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-01-25T20:39:01.575Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-01-25T20:39:01.680Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-25T20:39:01.766Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-25T20:39:01.852Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-25T20:39:01.966Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-25T20:39:02.064Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-25T20:39:02.171Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-25T20:39:02.256Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-25T20:39:02.388Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-25T20:39:02.475Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-25T20:39:02.627Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2021-01-25T20:39:02.710Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-25T20:39:02.794Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-25T20:39:02.905Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-01-25T20:39:02.989Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-25T20:39:03.075Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-25T20:39:03.159Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-25T20:39:03.251Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-25T20:39:03.398Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-25T20:39:03.479Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-25T20:39:03.574Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-01-25T20:39:03.655Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-25T20:39:03.756Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-25T20:39:03.861Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-01-25T20:39:03.957Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-25T20:39:04.044Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-25T20:39:04.129Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-01-25T20:39:04.214Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-01-25T20:39:04.297Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-01-25T20:39:04.381Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2ceec0adb5a9f7398d1f9d81922aff7a85fc3cf5 [Pipeline] echo [2021-01-25T20:39:04.464Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2ceec0a [Pipeline] echo [2021-01-25T20:39:04.546Z] [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-25T20:39:05.211Z] + git log --format=format:%s -1 2ceec0adb5a9f7398d1f9d81922aff7a85fc3cf5 [Pipeline] echo [2021-01-25T20:39:05.271Z] GIT_COMMIT: 2ceec0adb5a9f7398d1f9d81922aff7a85fc3cf5, Commit Message: feat: Expect V2 Event DTO from triggers. (#616) [Pipeline] echo [2021-01-25T20:39:05.315Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-25T20:39:06.291Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-25T20:39:06.553Z] [2021-01-25T20:39:06.553Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-25T20:39:06.899Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-25T20:39:06.899Z] latest: Pulling from edgex-devops/git-semver [2021-01-25T20:39:06.899Z] 31603596830f: Pulling fs layer [2021-01-25T20:39:06.899Z] 2a8b12db71e7: Pulling fs layer [2021-01-25T20:39:06.899Z] 6ca5941a6612: Pulling fs layer [2021-01-25T20:39:06.899Z] ecc8261a40a4: Pulling fs layer [2021-01-25T20:39:06.899Z] ecc8261a40a4: Waiting [2021-01-25T20:39:06.899Z] 2a8b12db71e7: Verifying Checksum [2021-01-25T20:39:06.899Z] 2a8b12db71e7: Download complete [2021-01-25T20:39:07.159Z] 31603596830f: Verifying Checksum [2021-01-25T20:39:07.159Z] 31603596830f: Download complete [2021-01-25T20:39:07.159Z] ecc8261a40a4: Verifying Checksum [2021-01-25T20:39:07.159Z] ecc8261a40a4: Download complete [2021-01-25T20:39:07.159Z] 6ca5941a6612: Verifying Checksum [2021-01-25T20:39:07.159Z] 6ca5941a6612: Download complete [2021-01-25T20:39:07.424Z] 31603596830f: Pull complete [2021-01-25T20:39:07.424Z] 2a8b12db71e7: Pull complete [2021-01-25T20:39:08.377Z] 6ca5941a6612: Pull complete [2021-01-25T20:39:08.377Z] ecc8261a40a4: Pull complete [2021-01-25T20:39:08.377Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-25T20:39:08.638Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-25T20:39:08.638Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-25T20:39:08.808Z] prd-centos7-docker-4c-2g-22678 does not seem to be running inside a container [2021-01-25T20:39:08.854Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-25T20:39:10.937Z] $ docker top c6494904481a6c8121eb767c6c3c268ebffaead394547d61e0b02577c8693f4d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-25T20:39:11.198Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-25T20:39:11.199Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-25T20:39:11.391Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-25T20:39:11.394Z] $ docker exec c6494904481a6c8121eb767c6c3c268ebffaead394547d61e0b02577c8693f4d ssh-agent [2021-01-25T20:39:11.550Z] SSH_AUTH_SOCK=/tmp/ssh-kpIUx7UJMcYx/agent.11 [2021-01-25T20:39:11.550Z] SSH_AGENT_PID=16 [2021-01-25T20:39:11.559Z] Running ssh-add (command line suppressed) [2021-01-25T20:39:11.672Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_6044274727514108641.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_6044274727514108641.key) [2021-01-25T20:39:11.724Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-25T20:39:12.052Z] + git tag --points-at HEAD [Pipeline] } [2021-01-25T20:39:12.070Z] $ docker exec --env ******** --env ******** c6494904481a6c8121eb767c6c3c268ebffaead394547d61e0b02577c8693f4d ssh-agent -k [2021-01-25T20:39:12.183Z] unset SSH_AUTH_SOCK; [2021-01-25T20:39:12.184Z] unset SSH_AGENT_PID; [2021-01-25T20:39:12.184Z] echo Agent pid 16 killed; [2021-01-25T20:39:12.225Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-25T20:39:12.373Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-25T20:39:12.373Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-25T20:39:12.535Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-25T20:39:12.538Z] $ docker exec c6494904481a6c8121eb767c6c3c268ebffaead394547d61e0b02577c8693f4d ssh-agent [2021-01-25T20:39:12.695Z] SSH_AUTH_SOCK=/tmp/ssh-GOYrdwMt45MJ/agent.44 [2021-01-25T20:39:12.695Z] SSH_AGENT_PID=49 [2021-01-25T20:39:12.702Z] Running ssh-add (command line suppressed) [2021-01-25T20:39:12.813Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4388959625282596268.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4388959625282596268.key) [2021-01-25T20:39:12.867Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-25T20:39:13.208Z] + git semver init [2021-01-25T20:39:13.208Z] # -> Open(): unable to determine branch for HEAD [2021-01-25T20:39:13.208Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-01-25T20:39:13.208Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-01-25T20:39:13.208Z] # $SEMVER_REMOTE_NAME = origin [2021-01-25T20:39:13.208Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-25T20:39:13.208Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-25T20:39:13.208Z] # $SEMVER_BRANCH = master [2021-01-25T20:39:13.208Z] # $SEMVER_TEMP = /tmp/semver-258981428 [2021-01-25T20:39:13.208Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-01-25T20:39:15.758Z] # '/tmp/semver-258981428' -> '/w/workspace/ndry_app-functions-sdk-go_master/.semver' [2021-01-25T20:39:15.758Z] # -> Force: false [2021-01-25T20:39:15.758Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-01-25T20:39:15.783Z] $ docker exec --env ******** --env ******** c6494904481a6c8121eb767c6c3c268ebffaead394547d61e0b02577c8693f4d ssh-agent -k [2021-01-25T20:39:15.892Z] unset SSH_AUTH_SOCK; [2021-01-25T20:39:15.893Z] unset SSH_AGENT_PID; [2021-01-25T20:39:15.893Z] echo Agent pid 49 killed; [2021-01-25T20:39:15.944Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-25T20:39:16.397Z] + git semver [Pipeline] } [2021-01-25T20:39:16.415Z] $ docker stop --time=1 c6494904481a6c8121eb767c6c3c268ebffaead394547d61e0b02577c8693f4d [2021-01-25T20:39:17.860Z] $ docker rm -f c6494904481a6c8121eb767c6c3c268ebffaead394547d61e0b02577c8693f4d [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-25T20:39:18.341Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-25T20:39:18.757Z] Stashed 1 file(s) [Pipeline] echo [2021-01-25T20:39:18.760Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.7 [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-25T20:39:34.293Z] Still waiting to schedule task [2021-01-25T20:39:34.294Z] ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-22679’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-01-25T20:39:34.296Z] Still waiting to schedule task [2021-01-25T20:39:34.296Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-01-25T20:41:05.829Z] Running on prd-centos7-docker-4c-2g-22684 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-01-25T20:41:05.881Z] Running in /w/workspace/app-functions-sdk-go/174 [Pipeline] { [Pipeline] checkout [2021-01-25T20:41:08.154Z] using credential edgex-jenkins-ssh [2021-01-25T20:41:08.205Z] Cloning the remote Git repository [2021-01-25T20:41:08.230Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-01-25T20:41:08.296Z] > git init /w/workspace/app-functions-sdk-go/174 # timeout=10 [2021-01-25T20:41:08.357Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-01-25T20:41:08.358Z] > git --version # timeout=10 [2021-01-25T20:41:08.364Z] > git --version # 'git version 2.24.3' [2021-01-25T20:41:08.365Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-25T20:41:08.394Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-25T20:41:10.284Z] Checking out Revision 2ceec0adb5a9f7398d1f9d81922aff7a85fc3cf5 (master) [2021-01-25T20:41:09.850Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-01-25T20:41:09.861Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-25T20:41:09.872Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-01-25T20:41:09.883Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-01-25T20:41:09.884Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-25T20:41:09.889Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-25T20:41:10.292Z] > git config core.sparsecheckout # timeout=10 [2021-01-25T20:41:10.307Z] > git checkout -f 2ceec0adb5a9f7398d1f9d81922aff7a85fc3cf5 # timeout=10 [2021-01-25T20:41:14.022Z] Commit message: "feat: Expect V2 Event DTO from triggers. (#616)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-25T20:41:15.443Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-25T20:41:15.778Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-25T20:41:16.081Z] + sudo service docker restart [2021-01-25T20:41:16.081Z] + true [2021-01-25T20:41:16.081Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-01-25T20:41:17.199Z] ========================================================= [2021-01-25T20:41:17.199Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-25T20:41:17.199Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-25T20:41:17.538Z] + 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-25T20:41:18.115Z] Sending build context to Docker daemon 19.07MB [2021-01-25T20:41:18.115Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-25T20:41:18.115Z] Step 2/8 : FROM ${BASE} [2021-01-25T20:41:18.115Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-25T20:41:18.115Z] 188c0c94c7c5: Pulling fs layer [2021-01-25T20:41:18.115Z] 0ef7d3d256c8: Pulling fs layer [2021-01-25T20:41:18.115Z] de9db76c5a1d: Pulling fs layer [2021-01-25T20:41:18.115Z] bca2f99d35d6: Pulling fs layer [2021-01-25T20:41:18.115Z] 93359f2a8cfa: Pulling fs layer [2021-01-25T20:41:18.115Z] 7c6f9722023f: Pulling fs layer [2021-01-25T20:41:18.115Z] a35cf1a2eb13: Pulling fs layer [2021-01-25T20:41:18.115Z] bca2f99d35d6: Waiting [2021-01-25T20:41:18.115Z] 93359f2a8cfa: Waiting [2021-01-25T20:41:18.115Z] 7c6f9722023f: Waiting [2021-01-25T20:41:18.115Z] a35cf1a2eb13: Waiting [2021-01-25T20:41:18.115Z] de9db76c5a1d: Verifying Checksum [2021-01-25T20:41:18.115Z] de9db76c5a1d: Download complete [2021-01-25T20:41:18.115Z] 0ef7d3d256c8: Download complete [2021-01-25T20:41:18.115Z] 93359f2a8cfa: Verifying Checksum [2021-01-25T20:41:18.115Z] 93359f2a8cfa: Download complete [2021-01-25T20:41:18.380Z] 7c6f9722023f: Verifying Checksum [2021-01-25T20:41:18.380Z] 7c6f9722023f: Download complete [2021-01-25T20:41:18.380Z] 188c0c94c7c5: Verifying Checksum [2021-01-25T20:41:18.380Z] 188c0c94c7c5: Download complete [2021-01-25T20:41:18.644Z] 188c0c94c7c5: Pull complete [2021-01-25T20:41:18.644Z] 0ef7d3d256c8: Pull complete [2021-01-25T20:41:18.918Z] de9db76c5a1d: Pull complete [2021-01-25T20:41:20.873Z] a35cf1a2eb13: Verifying Checksum [2021-01-25T20:41:20.873Z] a35cf1a2eb13: Download complete [2021-01-25T20:41:20.873Z] bca2f99d35d6: Verifying Checksum [2021-01-25T20:41:20.873Z] bca2f99d35d6: Download complete [2021-01-25T20:41:26.215Z] bca2f99d35d6: Pull complete [2021-01-25T20:41:26.215Z] 93359f2a8cfa: Pull complete [2021-01-25T20:41:26.215Z] 7c6f9722023f: Pull complete [2021-01-25T20:41:36.262Z] a35cf1a2eb13: Pull complete [2021-01-25T20:41:36.262Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-25T20:41:36.262Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-25T20:41:36.262Z] ---> a62c8e92a672 [2021-01-25T20:41:36.262Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-01-25T20:41:36.262Z] 20.10.0: Pulling from library/docker [2021-01-25T20:41:36.262Z] 05e7bc50f07f: Pulling fs layer [2021-01-25T20:41:36.262Z] 6db28d0fdbf6: Pulling fs layer [2021-01-25T20:41:36.262Z] 292df0bc6bf3: Pulling fs layer [2021-01-25T20:41:36.262Z] 2e060f4bd70b: Pulling fs layer [2021-01-25T20:41:36.262Z] 80e8d568a223: Pulling fs layer [2021-01-25T20:41:36.262Z] 8dc6ef1a942a: Pulling fs layer [2021-01-25T20:41:36.262Z] 2312dd95470a: Pulling fs layer [2021-01-25T20:41:36.262Z] 2e060f4bd70b: Waiting [2021-01-25T20:41:36.262Z] 80e8d568a223: Waiting [2021-01-25T20:41:36.262Z] 8dc6ef1a942a: Waiting [2021-01-25T20:41:36.262Z] 2312dd95470a: Waiting [2021-01-25T20:41:36.262Z] 292df0bc6bf3: Verifying Checksum [2021-01-25T20:41:36.262Z] 292df0bc6bf3: Download complete [2021-01-25T20:41:36.262Z] 6db28d0fdbf6: Verifying Checksum [2021-01-25T20:41:36.262Z] 6db28d0fdbf6: Download complete [2021-01-25T20:41:36.262Z] 05e7bc50f07f: Verifying Checksum [2021-01-25T20:41:36.262Z] 05e7bc50f07f: Download complete [2021-01-25T20:41:36.262Z] 80e8d568a223: Verifying Checksum [2021-01-25T20:41:36.262Z] 80e8d568a223: Download complete [2021-01-25T20:41:36.262Z] 8dc6ef1a942a: Verifying Checksum [2021-01-25T20:41:36.262Z] 8dc6ef1a942a: Download complete [2021-01-25T20:41:36.262Z] 2312dd95470a: Verifying Checksum [2021-01-25T20:41:36.262Z] 2312dd95470a: Download complete [2021-01-25T20:41:36.262Z] 05e7bc50f07f: Pull complete [2021-01-25T20:41:36.262Z] 6db28d0fdbf6: Pull complete [2021-01-25T20:41:36.262Z] 292df0bc6bf3: Pull complete [2021-01-25T20:41:36.262Z] 2e060f4bd70b: Verifying Checksum [2021-01-25T20:41:36.262Z] 2e060f4bd70b: Download complete [2021-01-25T20:41:39.597Z] 2e060f4bd70b: Pull complete [2021-01-25T20:41:39.597Z] 80e8d568a223: Pull complete [2021-01-25T20:41:39.597Z] 8dc6ef1a942a: Pull complete [2021-01-25T20:41:39.597Z] 2312dd95470a: Pull complete [2021-01-25T20:41:39.597Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-01-25T20:41:39.597Z] Status: Downloaded newer image for docker:20.10.0 [2021-01-25T20:41:41.009Z] ---> c8a5a79a7bab [2021-01-25T20:41:41.009Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-25T20:41:41.009Z] ---> Running in 3d2e5d7d4fc9 [2021-01-25T20:41:41.282Z] Removing intermediate container 3d2e5d7d4fc9 [2021-01-25T20:41:41.282Z] ---> 7465e1a9d5e1 [2021-01-25T20:41:41.282Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-01-25T20:41:41.282Z] ---> Running in b63d5287973b [2021-01-25T20:41:41.862Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-25T20:41:42.810Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-25T20:41:43.072Z] (1/5) Installing libsodium (1.0.18-r0) [2021-01-25T20:41:43.072Z] (2/5) Installing libzmq (4.3.3-r0) [2021-01-25T20:41:43.335Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-01-25T20:41:43.335Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-01-25T20:41:43.335Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-01-25T20:41:43.602Z] Executing busybox-1.31.1-r19.trigger [2021-01-25T20:41:43.602Z] OK: 167 MiB in 44 packages [2021-01-25T20:41:44.179Z] Removing intermediate container b63d5287973b [2021-01-25T20:41:44.179Z] ---> b3e5aa73a8b6 [2021-01-25T20:41:44.179Z] Step 6/8 : WORKDIR /build [2021-01-25T20:41:44.179Z] ---> Running in caae91b76376 [2021-01-25T20:41:44.441Z] Removing intermediate container caae91b76376 [2021-01-25T20:41:44.441Z] ---> 75afbf2cd4af [2021-01-25T20:41:44.441Z] Step 7/8 : COPY go.mod . [2021-01-25T20:41:44.441Z] ---> bf85fbcfca3d [2021-01-25T20:41:44.441Z] Step 8/8 : RUN go mod download [2021-01-25T20:41:44.705Z] ---> Running in ee7340714432 [2021-01-25T20:42:06.753Z] Removing intermediate container ee7340714432 [2021-01-25T20:42:06.753Z] ---> 7d1595d75091 [2021-01-25T20:42:06.753Z] Successfully built 7d1595d75091 [2021-01-25T20:42:06.753Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-25T20:42:07.075Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-25T20:42:07.075Z] . [Pipeline] withDockerContainer [2021-01-25T20:42:07.221Z] prd-centos7-docker-4c-2g-22684 does not seem to be running inside a container [2021-01-25T20:42:07.274Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/174 -v /w/workspace/app-functions-sdk-go/174:/w/workspace/app-functions-sdk-go/174:rw,z -v /w/workspace/app-functions-sdk-go/174@tmp:/w/workspace/app-functions-sdk-go/174@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 ******** ci-base-image-x86_64 cat [2021-01-25T20:42:08.155Z] $ docker top 8046810550db6d7a019e0aa741d257e04d4ccdb43012a16954d2237e98bbcc66 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-25T20:42:08.650Z] + go version [2021-01-25T20:42:08.650Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-25T20:42:08.666Z] $ docker stop --time=1 8046810550db6d7a019e0aa741d257e04d4ccdb43012a16954d2237e98bbcc66 [2021-01-25T20:42:10.000Z] $ docker rm -f 8046810550db6d7a019e0aa741d257e04d4ccdb43012a16954d2237e98bbcc66 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-25T20:42:11.108Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-25T20:42:11.108Z] . [Pipeline] withDockerContainer [2021-01-25T20:42:11.205Z] prd-centos7-docker-4c-2g-22684 does not seem to be running inside a container [2021-01-25T20:42:11.257Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/174 -v /w/workspace/app-functions-sdk-go/174:/w/workspace/app-functions-sdk-go/174:rw,z -v /w/workspace/app-functions-sdk-go/174@tmp:/w/workspace/app-functions-sdk-go/174@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 ******** ci-base-image-x86_64 cat [2021-01-25T20:42:11.911Z] $ docker top cb6f707b8e512137a7dcb6035dba0775191a8ffcd61ae340adcf84d06be8b473 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-25T20:42:12.415Z] + make test [2021-01-25T20:42:12.415Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-01-25T20:42:13.836Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] [2021-01-25T20:42:22.529Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.062s coverage: 82.6% of statements [2021-01-25T20:42:29.229Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.038s coverage: 48.6% of statements [2021-01-25T20:42:29.229Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-01-25T20:42:29.230Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-01-25T20:42:29.230Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.075s coverage: 61.5% of statements [2021-01-25T20:42:29.230Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-01-25T20:42:30.650Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.047s coverage: 73.7% of statements [2021-01-25T20:42:30.650Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-01-25T20:42:30.651Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-01-25T20:42:30.651Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-01-25T20:42:30.651Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-01-25T20:42:30.651Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-01-25T20:42:30.651Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-01-25T20:42:30.651Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.038s coverage: 97.0% of statements [2021-01-25T20:42:30.651Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-01-25T20:42:30.651Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.020s coverage: 8.8% of statements [2021-01-25T20:42:45.605Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 13.864s coverage: 77.5% of statements [2021-01-25T20:42:45.605Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-01-25T20:42:45.605Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.015s coverage: 87.9% of statements [2021-01-25T20:42:45.605Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.012s coverage: 80.5% of statements [2021-01-25T20:42:45.605Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.007s coverage: 71.7% of statements [2021-01-25T20:42:49.339Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-22685 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-01-25T20:42:49.397Z] Running in /w/workspace/app-functions-sdk-go/174 [Pipeline] { [Pipeline] checkout [2021-01-25T20:42:54.361Z] using credential edgex-jenkins-ssh [2021-01-25T20:42:54.420Z] Cloning the remote Git repository [2021-01-25T20:42:54.475Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-01-25T20:42:54.579Z] > git init /w/workspace/app-functions-sdk-go/174 # timeout=10 [2021-01-25T20:42:54.641Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-01-25T20:42:54.642Z] > git --version # timeout=10 [2021-01-25T20:42:54.661Z] > git --version # 'git version 2.17.1' [2021-01-25T20:42:54.663Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-25T20:42:54.736Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-25T20:42:57.969Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.037s coverage: 81.4% of statements [2021-01-25T20:42:57.969Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.011s coverage: 94.4% of statements [2021-01-25T20:42:57.969Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-01-25T20:42:58.321Z] Checking out Revision 2ceec0adb5a9f7398d1f9d81922aff7a85fc3cf5 (master) [2021-01-25T20:42:57.706Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-01-25T20:42:57.727Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-25T20:42:57.755Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-01-25T20:42:57.792Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-01-25T20:42:57.792Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-25T20:42:57.803Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-25T20:42:58.357Z] > git config core.sparsecheckout # timeout=10 [2021-01-25T20:42:58.369Z] > git checkout -f 2ceec0adb5a9f7398d1f9d81922aff7a85fc3cf5 # timeout=10 [2021-01-25T20:43:00.582Z] gofmt -l . [2021-01-25T20:43:00.851Z] [ "`gofmt -l .`" = "" ] [2021-01-25T20:43:00.851Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-25T20:43:01.472Z] $ docker stop --time=1 cb6f707b8e512137a7dcb6035dba0775191a8ffcd61ae340adcf84d06be8b473 [2021-01-25T20:43:02.601Z] Commit message: "feat: Expect V2 Event DTO from triggers. (#616)" [2021-01-25T20:43:03.392Z] $ docker rm -f cb6f707b8e512137a7dcb6035dba0775191a8ffcd61ae340adcf84d06be8b473 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2021-01-25T20:43:03.982Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [Pipeline] sh [2021-01-25T20:43:04.441Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-01-25T20:43:04.886Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] sh [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [2021-01-25T20:43:05.340Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [2021-01-25T20:43:05.777Z] + true [2021-01-25T20:43:05.777Z] + sudo service docker restart [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] unstash [Pipeline] echo [2021-01-25T20:43:08.691Z] ========================================================= [2021-01-25T20:43:08.691Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-25T20:43:08.691Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-25T20:43:09.061Z] + 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-25T20:43:10.043Z] Sending build context to Docker daemon 19.07MB [2021-01-25T20:43:10.043Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-25T20:43:10.043Z] Step 2/8 : FROM ${BASE} [2021-01-25T20:43:10.319Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-25T20:43:10.319Z] 5f621e34cdf4: Pulling fs layer [2021-01-25T20:43:10.319Z] a4357932f1b6: Pulling fs layer [2021-01-25T20:43:10.319Z] 18c013af1878: Pulling fs layer [2021-01-25T20:43:10.319Z] 00ac8860ef70: Pulling fs layer [2021-01-25T20:43:10.319Z] 63d7cb157983: Pulling fs layer [2021-01-25T20:43:10.319Z] b116817d02f9: Pulling fs layer [2021-01-25T20:43:10.319Z] 745a02a5169b: Pulling fs layer [2021-01-25T20:43:10.319Z] 00ac8860ef70: Waiting [2021-01-25T20:43:10.319Z] 63d7cb157983: Waiting [2021-01-25T20:43:10.319Z] 745a02a5169b: Waiting [2021-01-25T20:43:10.319Z] b116817d02f9: Waiting [2021-01-25T20:43:10.597Z] 18c013af1878: Verifying Checksum [2021-01-25T20:43:10.597Z] 18c013af1878: Download complete [2021-01-25T20:43:10.597Z] a4357932f1b6: Verifying Checksum [2021-01-25T20:43:10.597Z] a4357932f1b6: Download complete [2021-01-25T20:43:10.597Z] 63d7cb157983: Verifying Checksum [2021-01-25T20:43:10.597Z] 63d7cb157983: Download complete [2021-01-25T20:43:10.597Z] b116817d02f9: Verifying Checksum [2021-01-25T20:43:10.597Z] b116817d02f9: Download complete [2021-01-25T20:43:10.597Z] 5f621e34cdf4: Verifying Checksum [2021-01-25T20:43:10.597Z] 5f621e34cdf4: Download complete [2021-01-25T20:43:11.577Z] 5f621e34cdf4: Pull complete [2021-01-25T20:43:12.177Z] a4357932f1b6: Pull complete [2021-01-25T20:43:12.475Z] 18c013af1878: Pull complete [2021-01-25T20:43:13.937Z] 745a02a5169b: Verifying Checksum [2021-01-25T20:43:13.937Z] 745a02a5169b: Download complete [2021-01-25T20:43:14.922Z] 00ac8860ef70: Verifying Checksum [2021-01-25T20:43:14.922Z] 00ac8860ef70: Download complete [2021-01-25T20:43:25.079Z] 00ac8860ef70: Pull complete [2021-01-25T20:43:25.350Z] 63d7cb157983: Pull complete [2021-01-25T20:43:25.623Z] b116817d02f9: Pull complete [2021-01-25T20:43:29.020Z] 745a02a5169b: Pull complete [2021-01-25T20:43:29.020Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-25T20:43:29.020Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-25T20:43:29.020Z] ---> b7e6874047d6 [2021-01-25T20:43:29.020Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-01-25T20:43:29.303Z] 20.10.0: Pulling from library/docker [2021-01-25T20:43:29.303Z] a3cc7d3b244e: Pulling fs layer [2021-01-25T20:43:29.303Z] 02a3295e0d61: Pulling fs layer [2021-01-25T20:43:29.303Z] 0f4f2e6d8100: Pulling fs layer [2021-01-25T20:43:29.303Z] 330b718f631f: Pulling fs layer [2021-01-25T20:43:29.303Z] a93816041522: Pulling fs layer [2021-01-25T20:43:29.303Z] bdb6da89ff94: Pulling fs layer [2021-01-25T20:43:29.303Z] 2a70c0c122f4: Pulling fs layer [2021-01-25T20:43:29.303Z] a93816041522: Waiting [2021-01-25T20:43:29.303Z] bdb6da89ff94: Waiting [2021-01-25T20:43:29.303Z] 2a70c0c122f4: Waiting [2021-01-25T20:43:29.303Z] 330b718f631f: Waiting [2021-01-25T20:43:29.303Z] 0f4f2e6d8100: Verifying Checksum [2021-01-25T20:43:29.303Z] 0f4f2e6d8100: Download complete [2021-01-25T20:43:29.303Z] 02a3295e0d61: Verifying Checksum [2021-01-25T20:43:29.303Z] 02a3295e0d61: Download complete [2021-01-25T20:43:29.303Z] a3cc7d3b244e: Verifying Checksum [2021-01-25T20:43:29.303Z] a3cc7d3b244e: Download complete [2021-01-25T20:43:29.303Z] a93816041522: Verifying Checksum [2021-01-25T20:43:29.303Z] a93816041522: Download complete [2021-01-25T20:43:29.303Z] 2a70c0c122f4: Verifying Checksum [2021-01-25T20:43:29.303Z] 2a70c0c122f4: Download complete [2021-01-25T20:43:29.303Z] bdb6da89ff94: Verifying Checksum [2021-01-25T20:43:29.303Z] bdb6da89ff94: Download complete [2021-01-25T20:43:29.907Z] a3cc7d3b244e: Pull complete [2021-01-25T20:43:30.885Z] 02a3295e0d61: Pull complete [2021-01-25T20:43:30.885Z] 330b718f631f: Verifying Checksum [2021-01-25T20:43:30.885Z] 330b718f631f: Download complete [2021-01-25T20:43:31.158Z] 0f4f2e6d8100: Pull complete [2021-01-25T20:43:35.468Z] 330b718f631f: Pull complete [2021-01-25T20:43:35.468Z] a93816041522: Pull complete [2021-01-25T20:43:35.468Z] bdb6da89ff94: Pull complete [2021-01-25T20:43:35.738Z] 2a70c0c122f4: Pull complete [2021-01-25T20:43:35.738Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-01-25T20:43:35.738Z] Status: Downloaded newer image for docker:20.10.0 [2021-01-25T20:43:42.436Z] ---> e5c2d9b17423 [2021-01-25T20:43:42.436Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-25T20:43:42.436Z] ---> Running in 892eaa668725 [2021-01-25T20:43:42.436Z] Removing intermediate container 892eaa668725 [2021-01-25T20:43:42.436Z] ---> a0318f9b5562 [2021-01-25T20:43:42.436Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-01-25T20:43:42.436Z] ---> Running in afd87616c2af [2021-01-25T20:43:43.031Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-25T20:43:44.016Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-25T20:43:44.621Z] (1/5) Installing libsodium (1.0.18-r0) [2021-01-25T20:43:44.898Z] (2/5) Installing libzmq (4.3.3-r0) [2021-01-25T20:43:44.898Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-01-25T20:43:45.169Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-01-25T20:43:45.169Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-01-25T20:43:45.451Z] Executing busybox-1.31.1-r19.trigger [2021-01-25T20:43:45.451Z] OK: 144 MiB in 44 packages [2021-01-25T20:43:46.433Z] Removing intermediate container afd87616c2af [2021-01-25T20:43:46.433Z] ---> e1d8a05c9085 [2021-01-25T20:43:46.433Z] Step 6/8 : WORKDIR /build [2021-01-25T20:43:46.707Z] ---> Running in 29c73ee40c27 [2021-01-25T20:43:47.302Z] Removing intermediate container 29c73ee40c27 [2021-01-25T20:43:47.302Z] ---> c7e11d4d0cd2 [2021-01-25T20:43:47.302Z] Step 7/8 : COPY go.mod . [2021-01-25T20:43:47.901Z] ---> 8ad50e484775 [2021-01-25T20:43:47.901Z] Step 8/8 : RUN go mod download [2021-01-25T20:43:47.901Z] ---> Running in 2bc5f0a52905 [2021-01-25T20:44:14.688Z] Removing intermediate container 2bc5f0a52905 [2021-01-25T20:44:14.688Z] ---> 432d65078eb3 [2021-01-25T20:44:14.688Z] Successfully built 432d65078eb3 [2021-01-25T20:44:14.688Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-25T20:44:15.033Z] + docker inspect -f . ci-base-image-arm64 [2021-01-25T20:44:15.033Z] . [Pipeline] withDockerContainer [2021-01-25T20:44:15.301Z] prd-ubuntu18.04-docker-arm64-4c-16g-22685 does not seem to be running inside a container [2021-01-25T20:44:15.383Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/174 -v /w/workspace/app-functions-sdk-go/174:/w/workspace/app-functions-sdk-go/174:rw,z -v /w/workspace/app-functions-sdk-go/174@tmp:/w/workspace/app-functions-sdk-go/174@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-25T20:44:16.902Z] $ docker top e9e071eff49c5417a01c34567a9da1e30cdb19d43445e7534f798a2c077cd8a1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-25T20:44:17.933Z] + go version [2021-01-25T20:44:17.933Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-25T20:44:17.958Z] $ docker stop --time=1 e9e071eff49c5417a01c34567a9da1e30cdb19d43445e7534f798a2c077cd8a1 [2021-01-25T20:44:19.888Z] $ docker rm -f e9e071eff49c5417a01c34567a9da1e30cdb19d43445e7534f798a2c077cd8a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-25T20:44:21.023Z] + docker inspect -f . ci-base-image-arm64 [2021-01-25T20:44:21.023Z] . [Pipeline] withDockerContainer [2021-01-25T20:44:21.282Z] prd-ubuntu18.04-docker-arm64-4c-16g-22685 does not seem to be running inside a container [2021-01-25T20:44:21.365Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/174 -v /w/workspace/app-functions-sdk-go/174:/w/workspace/app-functions-sdk-go/174:rw,z -v /w/workspace/app-functions-sdk-go/174@tmp:/w/workspace/app-functions-sdk-go/174@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-25T20:44:22.901Z] $ docker top 6f04a19972b88fca70912f8cb8113fc3bec1a1ce4515beb84fe91d75aac08038 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-25T20:44:23.950Z] + make test [2021-01-25T20:44:23.950Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-01-25T20:44:25.386Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] [2021-01-25T20:44:47.567Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.092s coverage: 82.6% of statements [2021-01-25T20:45:14.443Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.054s coverage: 48.6% of statements [2021-01-25T20:45:14.444Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-01-25T20:45:14.444Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-01-25T20:45:14.444Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.072s coverage: 61.5% of statements [2021-01-25T20:45:14.444Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-01-25T20:45:14.444Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.055s coverage: 73.7% of statements [2021-01-25T20:45:14.444Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-01-25T20:45:14.444Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-01-25T20:45:14.444Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-01-25T20:45:14.444Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-01-25T20:45:14.444Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-01-25T20:45:14.444Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-01-25T20:45:14.444Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.010s coverage: 97.0% of statements [2021-01-25T20:45:14.444Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-01-25T20:45:14.444Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.032s coverage: 8.8% of statements [2021-01-25T20:45:26.839Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 13.889s coverage: 77.5% of statements [2021-01-25T20:45:26.839Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-01-25T20:45:26.839Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.073s coverage: 87.9% of statements [2021-01-25T20:45:26.839Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.085s coverage: 80.5% of statements [2021-01-25T20:45:26.839Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.025s coverage: 71.7% of statements [2021-01-25T20:45:41.900Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.068s coverage: 81.4% of statements [2021-01-25T20:45:41.900Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.024s coverage: 94.4% of statements [2021-01-25T20:45:41.900Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-01-25T20:45:52.186Z] gofmt -l . [2021-01-25T20:45:52.186Z] [ "`gofmt -l .`" = "" ] [2021-01-25T20:45:52.186Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-25T20:45:52.213Z] $ docker stop --time=1 6f04a19972b88fca70912f8cb8113fc3bec1a1ce4515beb84fe91d75aac08038 [2021-01-25T20:45:54.397Z] $ docker rm -f 6f04a19972b88fca70912f8cb8113fc3bec1a1ce4515beb84fe91d75aac08038 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-25T20:45:55.438Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-25T20:45:55.503Z] Warning: overwriting stash ‘coverage-report’ [2021-01-25T20:45:56.261Z] 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] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-01-25T20:45:58.030Z] provisioning config files... [2021-01-25T20:45:58.048Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config7441920846681125179tmp [Pipeline] { [Pipeline] sh [2021-01-25T20:45:58.419Z] + set +x [2021-01-25T20:45:58.419Z] + curl -s https://codecov.io/bash [2021-01-25T20:45:58.419Z] + bash -s -- [2021-01-25T20:45:58.683Z] [2021-01-25T20:45:58.683Z] _____ _ [2021-01-25T20:45:58.683Z] / ____| | | [2021-01-25T20:45:58.683Z] | | ___ __| | ___ ___ _____ __ [2021-01-25T20:45:58.683Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-25T20:45:58.683Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-25T20:45:58.683Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-25T20:45:58.683Z] Bash-20210115-cec3c92 [2021-01-25T20:45:58.683Z] [2021-01-25T20:45:58.683Z] [2021-01-25T20:45:58.683Z] ==> git version 2.24.3 found [2021-01-25T20:45:58.683Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-01-25T20:45:58.683Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-25T20:45:58.683Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-25T20:45:58.683Z] ==> Jenkins CI detected. [2021-01-25T20:45:58.683Z] project root: . [2021-01-25T20:45:58.683Z] --> token set from env [2021-01-25T20:45:58.683Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-25T20:45:58.683Z] ==> Running gcov in . (disable via -X gcov) [2021-01-25T20:45:58.683Z] ==> Python coveragepy not found [2021-01-25T20:45:58.683Z] ==> Searching for coverage reports in: [2021-01-25T20:45:58.683Z] + . [2021-01-25T20:45:58.683Z] -> Found 1 reports [2021-01-25T20:45:58.683Z] ==> Detecting git/mercurial file structure [2021-01-25T20:45:58.683Z] ==> Reading reports [2021-01-25T20:45:58.683Z] + ./coverage.out bytes=77160 [2021-01-25T20:45:58.683Z] ==> Appending adjustments [2021-01-25T20:45:58.683Z] https://docs.codecov.io/docs/fixing-reports [2021-01-25T20:45:58.946Z] + Found adjustments [2021-01-25T20:45:58.946Z] ==> Gzipping contents [2021-01-25T20:45:58.946Z] 16K /tmp/codecov.GyDMtk.gz [2021-01-25T20:45:59.215Z] ==> Uploading reports [2021-01-25T20:45:59.215Z] url: https://codecov.io [2021-01-25T20:45:59.215Z] query: branch=master&commit=2ceec0adb5a9f7398d1f9d81922aff7a85fc3cf5&build=174&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F174%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-01-25T20:45:59.215Z] -> Pinging Codecov [2021-01-25T20:45:59.215Z] https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=master&commit=2ceec0adb5a9f7398d1f9d81922aff7a85fc3cf5&build=174&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F174%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-01-25T20:46:00.605Z] -> Uploading to [2021-01-25T20:46:00.605Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-25/3D8B5DFFC46A037C893635FACE044666/2ceec0adb5a9f7398d1f9d81922aff7a85fc3cf5/684d7d3c-ed07-43b3-a2cb-c5a2751ba22d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210125%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210125T204600Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e330264db9b5e38a01b425878f4d0c77bcf0ab6df24e5e46eff7ff44451d44ee [2021-01-25T20:46:00.605Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-25T20:46:00.605Z] Dload Upload Total Spent Left Speed [2021-01-25T20:46:00.867Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13413 0 0 100 13413 0 28361 --:--:-- --:--:-- --:--:-- 28417 [2021-01-25T20:46:00.867Z] -> View reports at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/2ceec0adb5a9f7398d1f9d81922aff7a85fc3cf5 [Pipeline] } [2021-01-25T20:46:00.877Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-01-25T20:46:01.793Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-01-25T20:46:01.851Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-25T20:46:02.203Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-25T20:46:02.203Z] [2021-01-25T20:46:02.203Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-01-25T20:46:02.571Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-25T20:46:02.571Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-01-25T20:46:02.571Z] 188c0c94c7c5: Pulling fs layer [2021-01-25T20:46:02.571Z] 0ef7d3d256c8: Pulling fs layer [2021-01-25T20:46:02.571Z] de9db76c5a1d: Pulling fs layer [2021-01-25T20:46:02.571Z] 0eba1c9be4d2: Pulling fs layer [2021-01-25T20:46:02.571Z] 0d57e429df01: Pulling fs layer [2021-01-25T20:46:02.571Z] 4e4be7b47b0d: Pulling fs layer [2021-01-25T20:46:02.571Z] e1f770b5df2f: Pulling fs layer [2021-01-25T20:46:02.571Z] 85a0685a4137: Pulling fs layer [2021-01-25T20:46:02.571Z] 0d57e429df01: Waiting [2021-01-25T20:46:02.571Z] 4e4be7b47b0d: Waiting [2021-01-25T20:46:02.571Z] 0eba1c9be4d2: Waiting [2021-01-25T20:46:02.571Z] e1f770b5df2f: Waiting [2021-01-25T20:46:02.571Z] 85a0685a4137: Waiting [2021-01-25T20:46:02.571Z] de9db76c5a1d: Verifying Checksum [2021-01-25T20:46:02.571Z] de9db76c5a1d: Download complete [2021-01-25T20:46:02.571Z] 0ef7d3d256c8: Verifying Checksum [2021-01-25T20:46:02.571Z] 0ef7d3d256c8: Download complete [2021-01-25T20:46:02.571Z] 0d57e429df01: Verifying Checksum [2021-01-25T20:46:02.571Z] 0d57e429df01: Download complete [2021-01-25T20:46:02.571Z] 4e4be7b47b0d: Download complete [2021-01-25T20:46:02.571Z] 188c0c94c7c5: Verifying Checksum [2021-01-25T20:46:02.571Z] 188c0c94c7c5: Download complete [2021-01-25T20:46:03.148Z] 188c0c94c7c5: Pull complete [2021-01-25T20:46:03.148Z] 0ef7d3d256c8: Pull complete [2021-01-25T20:46:03.412Z] de9db76c5a1d: Pull complete [2021-01-25T20:46:03.985Z] e1f770b5df2f: Verifying Checksum [2021-01-25T20:46:03.985Z] e1f770b5df2f: Download complete [2021-01-25T20:46:05.919Z] 0eba1c9be4d2: Verifying Checksum [2021-01-25T20:46:05.919Z] 0eba1c9be4d2: Download complete [2021-01-25T20:46:06.182Z] 85a0685a4137: Verifying Checksum [2021-01-25T20:46:06.182Z] 85a0685a4137: Download complete [2021-01-25T20:46:11.492Z] 0eba1c9be4d2: Pull complete [2021-01-25T20:46:11.492Z] 0d57e429df01: Pull complete [2021-01-25T20:46:11.492Z] 4e4be7b47b0d: Pull complete [2021-01-25T20:46:12.887Z] e1f770b5df2f: Pull complete [2021-01-25T20:46:21.060Z] 85a0685a4137: Pull complete [2021-01-25T20:46:21.060Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-01-25T20:46:21.060Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-25T20:46:21.060Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-01-25T20:46:21.231Z] prd-centos7-docker-4c-2g-22678 does not seem to be running inside a container [2021-01-25T20:46:21.277Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-01-25T20:46:22.186Z] $ docker top 8a98446307abc1bcc84aa24781e3835751ec6f4a626c9efddaae26b280f2218f -eo pid,comm [Pipeline] { [Pipeline] echo [2021-01-25T20:46:22.456Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-01-25T20:46:22.813Z] + set -o pipefail [2021-01-25T20:46:22.814Z] + snyk monitor '--org=edgex-jenkins' [2021-01-25T20:46:31.022Z] [2021-01-25T20:46:31.022Z] Monitoring /w/workspace/ndry_app-functions-sdk-go_master (github.com/edgexfoundry/app-functions-sdk-go/v2)... [2021-01-25T20:46:31.022Z] [2021-01-25T20:46:31.022Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/9d574221-9b7c-4d12-ac6f-e757691b90d6 [2021-01-25T20:46:31.022Z] [2021-01-25T20:46:31.022Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-01-25T20:46:31.022Z] [2021-01-25T20:46:31.022Z] [Pipeline] } [2021-01-25T20:46:31.298Z] $ docker stop --time=1 8a98446307abc1bcc84aa24781e3835751ec6f4a626c9efddaae26b280f2218f [2021-01-25T20:46:33.959Z] $ docker rm -f 8a98446307abc1bcc84aa24781e3835751ec6f4a626c9efddaae26b280f2218f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2021-01-25T20:46:35.154Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-25T20:46:35.207Z] provisioning config files... [2021-01-25T20:46:35.216Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config8939714558923192140tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-25T20:46:35.613Z] --> edgex-publish-swagger.sh [2021-01-25T20:46:35.613Z] === Publish openapi/v2 API === [2021-01-25T20:46:35.613Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-01-25T20:46:35.613Z] [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/ndry_app-functions-sdk-go_master/openapi/v2/app-functions-sdk.yaml] [2021-01-25T20:46:35.613Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-25T20:46:35.613Z] Dload Upload Total Spent Left Speed [2021-01-25T20:46:36.999Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13052 0 0 100 13052 0 10407 0:00:01 0:00:01 --:--:-- 10416 100 13052 0 0 100 13052 0 10405 0:00:01 0:00:01 --:--:-- 10416 [2021-01-25T20:46:36.999Z] [2021-01-25T20:46:36.999Z] [Pipeline] } [2021-01-25T20:46:37.007Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-01-25T20:46:37.903Z] + git log --format=format:%s -1 2ceec0adb5a9f7398d1f9d81922aff7a85fc3cf5 [Pipeline] isUnix [Pipeline] sh [2021-01-25T20:46:38.207Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-25T20:46:38.207Z] . [Pipeline] withDockerContainer [2021-01-25T20:46:38.305Z] prd-centos7-docker-4c-2g-22678 does not seem to be running inside a container [2021-01-25T20:46:38.345Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-25T20:46:39.070Z] $ docker top 71d3b91d720ccaf4ae9e82624d310d232492f4a96d283fd505af61e540e11b59 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-25T20:46:39.392Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-25T20:46:39.392Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-25T20:46:39.607Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-25T20:46:39.610Z] $ docker exec 71d3b91d720ccaf4ae9e82624d310d232492f4a96d283fd505af61e540e11b59 ssh-agent [2021-01-25T20:46:39.781Z] SSH_AUTH_SOCK=/tmp/ssh-IgonnS8UlENV/agent.12 [2021-01-25T20:46:39.781Z] SSH_AGENT_PID=17 [2021-01-25T20:46:39.788Z] Running ssh-add (command line suppressed) [2021-01-25T20:46:39.913Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_74082445880033326.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_74082445880033326.key) [2021-01-25T20:46:39.969Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-25T20:46:40.306Z] + git semver tag [2021-01-25T20:46:40.306Z] # -> Open(): unable to determine branch for HEAD [2021-01-25T20:46:40.306Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-01-25T20:46:40.306Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-01-25T20:46:40.306Z] # $SEMVER_REMOTE_NAME = origin [2021-01-25T20:46:40.306Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-25T20:46:40.306Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-25T20:46:40.306Z] # $SEMVER_BRANCH = master [2021-01-25T20:46:40.306Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-01-25T20:46:40.306Z] # 2ceec0adb5a9f7398d1f9d81922aff7a85fc3cf5 HEAD [2021-01-25T20:46:40.306Z] # -> Force: false [2021-01-25T20:46:40.306Z] # 2685e5eaf7e8a9e98128a64c147b37145a1bd5c9 refs/tags/v2.0.0-dev.7 [Pipeline] } [2021-01-25T20:46:40.319Z] $ docker exec --env ******** --env ******** 71d3b91d720ccaf4ae9e82624d310d232492f4a96d283fd505af61e540e11b59 ssh-agent -k [2021-01-25T20:46:40.448Z] unset SSH_AUTH_SOCK; [2021-01-25T20:46:40.448Z] unset SSH_AGENT_PID; [2021-01-25T20:46:40.448Z] echo Agent pid 17 killed; [2021-01-25T20:46:40.503Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-25T20:46:41.043Z] + git semver [Pipeline] } [2021-01-25T20:46:41.059Z] $ docker stop --time=1 71d3b91d720ccaf4ae9e82624d310d232492f4a96d283fd505af61e540e11b59 [2021-01-25T20:46:42.417Z] $ docker rm -f 71d3b91d720ccaf4ae9e82624d310d232492f4a96d283fd505af61e540e11b59 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-01-25T20:46:43.056Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-25T20:46:43.056Z] [2021-01-25T20:46:43.056Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-01-25T20:46:43.398Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-25T20:46:43.398Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-01-25T20:46:43.398Z] ab5ef0e58194: Pulling fs layer [2021-01-25T20:46:43.398Z] 9712f1f96733: Pulling fs layer [2021-01-25T20:46:43.398Z] 63f879dbbcfc: Pulling fs layer [2021-01-25T20:46:43.398Z] 0d9ebad4ef96: Pulling fs layer [2021-01-25T20:46:43.398Z] e9a5061849ea: Pulling fs layer [2021-01-25T20:46:43.398Z] d747dcd14b5f: Pulling fs layer [2021-01-25T20:46:43.398Z] 2de7ff778b66: Pulling fs layer [2021-01-25T20:46:43.398Z] e9a5061849ea: Waiting [2021-01-25T20:46:43.398Z] 0d9ebad4ef96: Waiting [2021-01-25T20:46:43.398Z] d747dcd14b5f: Waiting [2021-01-25T20:46:43.398Z] 2de7ff778b66: Waiting [2021-01-25T20:46:43.398Z] 9712f1f96733: Verifying Checksum [2021-01-25T20:46:43.398Z] 9712f1f96733: Download complete [2021-01-25T20:46:45.325Z] 63f879dbbcfc: Download complete [2021-01-25T20:46:45.325Z] e9a5061849ea: Verifying Checksum [2021-01-25T20:46:45.325Z] e9a5061849ea: Download complete [2021-01-25T20:46:45.325Z] d747dcd14b5f: Verifying Checksum [2021-01-25T20:46:45.325Z] d747dcd14b5f: Download complete [2021-01-25T20:46:45.590Z] 2de7ff778b66: Verifying Checksum [2021-01-25T20:46:45.858Z] ab5ef0e58194: Verifying Checksum [2021-01-25T20:46:45.858Z] ab5ef0e58194: Download complete [2021-01-25T20:46:45.858Z] 0d9ebad4ef96: Verifying Checksum [2021-01-25T20:46:45.858Z] 0d9ebad4ef96: Download complete [2021-01-25T20:46:50.082Z] ab5ef0e58194: Pull complete [2021-01-25T20:46:50.082Z] 9712f1f96733: Pull complete [2021-01-25T20:46:52.002Z] 63f879dbbcfc: Pull complete [2021-01-25T20:46:58.616Z] 0d9ebad4ef96: Pull complete [2021-01-25T20:46:58.616Z] e9a5061849ea: Pull complete [2021-01-25T20:46:58.616Z] d747dcd14b5f: Pull complete [2021-01-25T20:47:01.945Z] 2de7ff778b66: Pull complete [2021-01-25T20:47:01.945Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-01-25T20:47:01.945Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-25T20:47:01.945Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-01-25T20:47:02.125Z] prd-centos7-docker-4c-2g-22678 does not seem to be running inside a container [2021-01-25T20:47:02.241Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-01-25T20:47:06.009Z] $ docker top c636389368ebb09ac3dca59ff8604de5b38e115af30a33a0fcc815c745337190 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-01-25T20:47:06.201Z] provisioning config files... [2021-01-25T20:47:06.213Z] copy managed file [sigul-config] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config8916940906720315803tmp [2021-01-25T20:47:06.229Z] copy managed file [sigul-password] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config6007582524757159318tmp [2021-01-25T20:47:06.244Z] copy managed file [sigul-pki] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config7621390176831034848tmp [Pipeline] { [Pipeline] echo [2021-01-25T20:47:06.319Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-25T20:47:06.614Z] ---> sigul-configuration.sh [2021-01-25T20:47:06.614Z] gpg: directory `/root/.gnupg' created [2021-01-25T20:47:06.614Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-01-25T20:47:06.614Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-01-25T20:47:06.614Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-01-25T20:47:06.614Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-01-25T20:47:06.614Z] gpg: CAST5 encrypted data [2021-01-25T20:47:06.875Z] gpg: encrypted with 1 passphrase [2021-01-25T20:47:06.875Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-01-25T20:47:07.182Z] + mkdir /home/jenkins [2021-01-25T20:47:07.182Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-01-25T20:47:07.505Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-01-25T20:47:07.515Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-25T20:47:07.809Z] ---> sigul-install.sh [2021-01-25T20:47:14.438Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-01-25T20:47:14.730Z] + git tag --list [2021-01-25T20:47:14.730Z] v0.1.0 [2021-01-25T20:47:14.730Z] v0.1.1 [2021-01-25T20:47:14.730Z] v1.0.0 [2021-01-25T20:47:14.730Z] v1.1.0 [2021-01-25T20:47:14.730Z] v1.2.0 [2021-01-25T20:47:14.730Z] v1.3.0 [2021-01-25T20:47:14.730Z] v2.0.0-dev.1 [2021-01-25T20:47:14.730Z] v2.0.0-dev.2 [2021-01-25T20:47:14.730Z] v2.0.0-dev.3 [2021-01-25T20:47:14.730Z] v2.0.0-dev.4 [2021-01-25T20:47:14.730Z] v2.0.0-dev.5 [2021-01-25T20:47:14.730Z] v2.0.0-dev.6 [2021-01-25T20:47:14.730Z] v2.0.0-dev.7 [Pipeline] sh [2021-01-25T20:47:15.028Z] + lftools sign git-tag v2.0.0-dev.7 [2021-01-25T20:47:16.413Z] Signing Git tag with Sigul... [2021-01-25T20:47:16.413Z] Signing v2.0.0-dev.7 [Pipeline] echo [2021-01-25T20:47:17.366Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-25T20:47:17.660Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-01-25T20:47:17.673Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-01-25T20:47:17.770Z] $ docker stop --time=1 c636389368ebb09ac3dca59ff8604de5b38e115af30a33a0fcc815c745337190 [2021-01-25T20:47:19.846Z] $ docker rm -f c636389368ebb09ac3dca59ff8604de5b38e115af30a33a0fcc815c745337190 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-01-25T20:47:21.182Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-25T20:47:21.182Z] . [Pipeline] withDockerContainer [2021-01-25T20:47:21.309Z] prd-centos7-docker-4c-2g-22678 does not seem to be running inside a container [2021-01-25T20:47:21.377Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-25T20:47:22.014Z] $ docker top 201cedd24fb6fe7ca19a790dbb8b2193dd46fe2200a89cf4ad440e04901187fe -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-25T20:47:22.348Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-25T20:47:22.348Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-25T20:47:22.539Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-25T20:47:22.542Z] $ docker exec 201cedd24fb6fe7ca19a790dbb8b2193dd46fe2200a89cf4ad440e04901187fe ssh-agent [2021-01-25T20:47:22.714Z] SSH_AUTH_SOCK=/tmp/ssh-sAxLHsgSdlSO/agent.11 [2021-01-25T20:47:22.714Z] SSH_AGENT_PID=17 [2021-01-25T20:47:22.721Z] Running ssh-add (command line suppressed) [2021-01-25T20:47:22.850Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4491611903120226450.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4491611903120226450.key) [2021-01-25T20:47:22.907Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-25T20:47:23.271Z] + git semver bump pre [2021-01-25T20:47:23.271Z] # -> Open(): unable to determine branch for HEAD [2021-01-25T20:47:23.271Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-01-25T20:47:23.271Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-01-25T20:47:23.271Z] # $SEMVER_REMOTE_NAME = origin [2021-01-25T20:47:23.271Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-25T20:47:23.271Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-25T20:47:23.271Z] # $SEMVER_BRANCH = master [2021-01-25T20:47:23.271Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-01-25T20:47:23.271Z] 2.0.0-dev.8 [Pipeline] } [2021-01-25T20:47:23.284Z] $ docker exec --env ******** --env ******** 201cedd24fb6fe7ca19a790dbb8b2193dd46fe2200a89cf4ad440e04901187fe ssh-agent -k [2021-01-25T20:47:23.399Z] unset SSH_AUTH_SOCK; [2021-01-25T20:47:23.400Z] unset SSH_AGENT_PID; [2021-01-25T20:47:23.400Z] echo Agent pid 17 killed; [2021-01-25T20:47:23.456Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-25T20:47:23.931Z] + git semver [Pipeline] } [2021-01-25T20:47:23.948Z] $ docker stop --time=1 201cedd24fb6fe7ca19a790dbb8b2193dd46fe2200a89cf4ad440e04901187fe [2021-01-25T20:47:25.280Z] $ docker rm -f 201cedd24fb6fe7ca19a790dbb8b2193dd46fe2200a89cf4ad440e04901187fe [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-01-25T20:47:25.828Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-25T20:47:25.828Z] . [Pipeline] withDockerContainer [2021-01-25T20:47:25.936Z] prd-centos7-docker-4c-2g-22678 does not seem to be running inside a container [2021-01-25T20:47:26.068Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-25T20:47:26.654Z] $ docker top 805b4a40199b2fd4a423d2f30b97063e11350553594a44ee0b79edf8b1f6f04a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-25T20:47:26.993Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-25T20:47:26.993Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-25T20:47:27.176Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-25T20:47:27.178Z] $ docker exec 805b4a40199b2fd4a423d2f30b97063e11350553594a44ee0b79edf8b1f6f04a ssh-agent [2021-01-25T20:47:27.344Z] SSH_AUTH_SOCK=/tmp/ssh-JXeR6junNHox/agent.11 [2021-01-25T20:47:27.344Z] SSH_AGENT_PID=16 [2021-01-25T20:47:27.350Z] Running ssh-add (command line suppressed) [2021-01-25T20:47:27.481Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_3195211243726155030.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_3195211243726155030.key) [2021-01-25T20:47:27.534Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-25T20:47:27.864Z] + git semver push [2021-01-25T20:47:27.864Z] # -> Open(): unable to determine branch for HEAD [2021-01-25T20:47:27.864Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-01-25T20:47:27.864Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-01-25T20:47:27.864Z] # $SEMVER_REMOTE_NAME = origin [2021-01-25T20:47:27.864Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-25T20:47:27.864Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-25T20:47:27.864Z] # $SEMVER_BRANCH = master [2021-01-25T20:47:27.864Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-01-25T20:47:34.476Z] $ docker exec --env ******** --env ******** 805b4a40199b2fd4a423d2f30b97063e11350553594a44ee0b79edf8b1f6f04a ssh-agent -k [2021-01-25T20:47:34.608Z] unset SSH_AUTH_SOCK; [2021-01-25T20:47:34.610Z] unset SSH_AGENT_PID; [2021-01-25T20:47:34.610Z] echo Agent pid 16 killed; [2021-01-25T20:47:34.665Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-25T20:47:35.152Z] + git semver [Pipeline] } [2021-01-25T20:47:35.167Z] $ docker stop --time=1 805b4a40199b2fd4a423d2f30b97063e11350553594a44ee0b79edf8b1f6f04a [2021-01-25T20:47:36.518Z] $ docker rm -f 805b4a40199b2fd4a423d2f30b97063e11350553594a44ee0b79edf8b1f6f04a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-01-25T20:47:38.092Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-25T20:47:38.654Z] ---> package-listing.sh [2021-01-25T20:47:38.654Z] ++ facter osfamily [2021-01-25T20:47:38.654Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-25T20:47:38.654Z] + OS_FAMILY=redhat [2021-01-25T20:47:38.654Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_master [2021-01-25T20:47:38.654Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-25T20:47:38.654Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-25T20:47:38.654Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-25T20:47:38.654Z] + PACKAGES=/tmp/packages_start.txt [2021-01-25T20:47:38.654Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-01-25T20:47:38.654Z] + PACKAGES=/tmp/packages_end.txt [2021-01-25T20:47:38.654Z] + case "${OS_FAMILY}" in [2021-01-25T20:47:38.654Z] + rpm -qa [2021-01-25T20:47:38.654Z] + sort [2021-01-25T20:47:43.949Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-25T20:47:43.949Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-25T20:47:43.949Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-25T20:47:43.949Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-01-25T20:47:43.949Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_master/archives/ [2021-01-25T20:47:43.949Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_master/archives/ [Pipeline] echo [2021-01-25T20:47:43.961Z] 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_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-25T20:47:44.253Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-25T20:47:44.561Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-25T20:47:44.561Z] [2021-01-25T20:47:44.561Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-25T20:47:44.912Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-25T20:47:44.912Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-25T20:47:44.912Z] df20fa9351a1: Pulling fs layer [2021-01-25T20:47:44.912Z] 36b3adc4ff6f: Pulling fs layer [2021-01-25T20:47:44.912Z] 8ad3a11d3b57: Pulling fs layer [2021-01-25T20:47:44.912Z] 46f8f816bc3b: Pulling fs layer [2021-01-25T20:47:44.912Z] 93b61091891f: Pulling fs layer [2021-01-25T20:47:44.912Z] 93b9cdb0e59b: Pulling fs layer [2021-01-25T20:47:44.912Z] 5e14af77c1be: Pulling fs layer [2021-01-25T20:47:44.912Z] 01666e4c0597: Pulling fs layer [2021-01-25T20:47:44.912Z] aa168da1d23b: Pulling fs layer [2021-01-25T20:47:44.912Z] 46f8f816bc3b: Waiting [2021-01-25T20:47:44.912Z] 93b61091891f: Waiting [2021-01-25T20:47:44.912Z] 93b9cdb0e59b: Waiting [2021-01-25T20:47:44.912Z] 5e14af77c1be: Waiting [2021-01-25T20:47:44.912Z] 01666e4c0597: Waiting [2021-01-25T20:47:44.912Z] aa168da1d23b: Waiting [2021-01-25T20:47:44.912Z] 36b3adc4ff6f: Verifying Checksum [2021-01-25T20:47:44.912Z] 36b3adc4ff6f: Download complete [2021-01-25T20:47:44.912Z] 46f8f816bc3b: Verifying Checksum [2021-01-25T20:47:44.912Z] 46f8f816bc3b: Download complete [2021-01-25T20:47:44.912Z] df20fa9351a1: Verifying Checksum [2021-01-25T20:47:44.912Z] df20fa9351a1: Download complete [2021-01-25T20:47:44.912Z] 93b9cdb0e59b: Verifying Checksum [2021-01-25T20:47:44.912Z] 93b9cdb0e59b: Download complete [2021-01-25T20:47:45.199Z] 5e14af77c1be: Verifying Checksum [2021-01-25T20:47:45.199Z] 5e14af77c1be: Download complete [2021-01-25T20:47:45.199Z] 93b61091891f: Verifying Checksum [2021-01-25T20:47:45.199Z] 93b61091891f: Download complete [2021-01-25T20:47:45.199Z] 01666e4c0597: Verifying Checksum [2021-01-25T20:47:45.199Z] 01666e4c0597: Download complete [2021-01-25T20:47:45.199Z] 8ad3a11d3b57: Verifying Checksum [2021-01-25T20:47:45.199Z] 8ad3a11d3b57: Download complete [2021-01-25T20:47:45.783Z] df20fa9351a1: Pull complete [2021-01-25T20:47:46.044Z] 36b3adc4ff6f: Pull complete [2021-01-25T20:47:47.008Z] aa168da1d23b: Verifying Checksum [2021-01-25T20:47:47.008Z] aa168da1d23b: Download complete [2021-01-25T20:47:47.582Z] 8ad3a11d3b57: Pull complete [2021-01-25T20:47:47.845Z] 46f8f816bc3b: Pull complete [2021-01-25T20:47:48.106Z] 93b61091891f: Pull complete [2021-01-25T20:47:48.106Z] 93b9cdb0e59b: Pull complete [2021-01-25T20:47:48.368Z] 5e14af77c1be: Pull complete [2021-01-25T20:47:48.368Z] 01666e4c0597: Pull complete [2021-01-25T20:47:56.534Z] aa168da1d23b: Pull complete [2021-01-25T20:47:56.534Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-25T20:47:56.534Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-25T20:47:56.534Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-25T20:47:56.741Z] prd-centos7-docker-4c-2g-22678 does not seem to be running inside a container [2021-01-25T20:47:56.812Z] $ 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_master/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_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-25T20:47:59.760Z] $ docker top d02d25d9721b16045a59cc2521935a210bba9f75d2f8042c9fc247d939a08018 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-25T20:48:00.261Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-25T20:48:00.570Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-25T20:48:00.871Z] + ls /var/log/sa-host [2021-01-25T20:48:00.871Z] + sadf -c /var/log/sa-host/sa23 [2021-01-25T20:48:00.871Z] file_magic: OK [2021-01-25T20:48:00.871Z] HZ: Using current value: 100 [2021-01-25T20:48:00.871Z] file_header: OK [2021-01-25T20:48:00.871Z] 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-25T20:48:00.871Z] Statistics: [2021-01-25T20:48:00.871Z] Hnuu...uuuununununu... [2021-01-25T20:48:00.871Z] File successfully converted to sysstat format version 12.2.1 [2021-01-25T20:48:00.871Z] + sadf -c /var/log/sa-host/sa25 [2021-01-25T20:48:00.871Z] file_magic: OK [2021-01-25T20:48:00.871Z] HZ: Using current value: 100 [2021-01-25T20:48:00.871Z] file_header: OK [2021-01-25T20:48:00.871Z] 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-25T20:48:00.871Z] Statistics: [2021-01-25T20:48:00.871Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-25T20:48:00.871Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-25T20:48:01.086Z] provisioning config files... [2021-01-25T20:48:01.108Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config2498726221631690077tmp [Pipeline] { [Pipeline] echo [2021-01-25T20:48:01.187Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-25T20:48:01.575Z] ---> create-netrc.sh [Pipeline] } [2021-01-25T20:48:01.589Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-25T20:48:01.676Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-25T20:48:01.974Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-25T20:48:01.985Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-25T20:48:02.282Z] ---> sudo-logs.sh [2021-01-25T20:48:02.282Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-25T20:48:02.292Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-25T20:48:02.591Z] ---> job-cost.sh [2021-01-25T20:48:02.591Z] lf-activate-venv: SKIPPING [2021-01-25T20:48:02.591Z] INFO: No Stack... [2021-01-25T20:48:03.537Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-25T20:48:04.123Z] INFO: Archiving Costs [Pipeline] echo [2021-01-25T20:48:04.138Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-25T20:48:04.434Z] ---> logs-deploy.sh [2021-01-25T20:48:04.434Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/master/174 [2021-01-25T20:48:04.434Z] INFO: archiving workspace using pattern(s): [2021-01-25T20:48:05.847Z] Archives upload complete. [2021-01-25T20:48:05.847Z] INFO: archiving logs to Nexus