Started by user Ernesto Ojeda Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from eab384cb48ea5ff1c4c70e4f0c6d42e5e6c3609b 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > 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-22874 in /w/workspace/undry_app-functions-sdk-go_hanoi [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/undry_app-functions-sdk-go_hanoi # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/hanoi:refs/remotes/origin/hanoi # timeout=10 Checking out Revision eab384cb48ea5ff1c4c70e4f0c6d42e5e6c3609b (hanoi) > git config core.sparsecheckout # timeout=10 > git checkout -f eab384cb48ea5ff1c4c70e4f0c6d42e5e6c3609b # timeout=10 Commit message: "fix: Upgrade to go-mod-messaging with ZMQ fix (#660)" > git rev-list --no-walk eab384cb48ea5ff1c4c70e4f0c6d42e5e6c3609b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-26T22:23:34.352Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-26T22:23:34.599Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-26T22:23:34.761Z] ========================================================= [2021-01-26T22:23:34.761Z] EdgeX Global Pipelines Version Info [2021-01-26T22:23:34.761Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-26T22:23:36.269Z] ------------------- [2021-01-26T22:23:36.269Z] stable info: [2021-01-26T22:23:36.269Z] ------------------- [2021-01-26T22:23:36.269Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-26T22:23:36.269Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-26T22:23:36.269Z] Message: update stable to v1.0.179 [2021-01-26T22:23:37.226Z] ------------------- [2021-01-26T22:23:37.226Z] experimental info: [2021-01-26T22:23:37.226Z] ------------------- [2021-01-26T22:23:37.226Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-26T22:23:37.226Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-26T22:23:37.226Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-26T22:23:37.535Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-01-26T22:23:37.636Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-01-26T22:23:37.780Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-26T22:23:37.885Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-26T22:23:37.988Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-26T22:23:38.099Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-26T22:23:38.197Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-26T22:23:38.288Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-26T22:23:38.387Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-26T22:23:38.485Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-26T22:23:38.576Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-26T22:23:38.678Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2021-01-26T22:23:38.770Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-26T22:23:38.862Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-26T22:23:38.955Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-01-26T22:23:39.050Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-26T22:23:39.192Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-26T22:23:39.282Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-26T22:23:39.372Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-26T22:23:39.459Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-26T22:23:39.551Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-26T22:23:39.638Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-01-26T22:23:39.728Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-26T22:23:39.816Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-26T22:23:39.905Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-01-26T22:23:39.996Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-26T22:23:40.096Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-26T22:23:40.386Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = hanoi [Pipeline] echo [2021-01-26T22:23:40.491Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = hanoi [Pipeline] echo [2021-01-26T22:23:40.579Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = hanoi [Pipeline] echo [2021-01-26T22:23:40.727Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eab384cb48ea5ff1c4c70e4f0c6d42e5e6c3609b [Pipeline] echo [2021-01-26T22:23:40.818Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eab384c [Pipeline] echo [2021-01-26T22:23:40.939Z] [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-26T22:23:41.692Z] + git log --format=format:%s -1 eab384cb48ea5ff1c4c70e4f0c6d42e5e6c3609b [Pipeline] echo [2021-01-26T22:23:41.761Z] GIT_COMMIT: eab384cb48ea5ff1c4c70e4f0c6d42e5e6c3609b, Commit Message: fix: Upgrade to go-mod-messaging with ZMQ fix (#660) [Pipeline] echo [2021-01-26T22:23:41.806Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-26T22:23:42.715Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-26T22:23:42.978Z] [2021-01-26T22:23:42.978Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-26T22:23:43.335Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-26T22:23:43.335Z] latest: Pulling from edgex-devops/git-semver [2021-01-26T22:23:43.335Z] 31603596830f: Pulling fs layer [2021-01-26T22:23:43.335Z] 2a8b12db71e7: Pulling fs layer [2021-01-26T22:23:43.335Z] 6ca5941a6612: Pulling fs layer [2021-01-26T22:23:43.335Z] ecc8261a40a4: Pulling fs layer [2021-01-26T22:23:43.335Z] ecc8261a40a4: Waiting [2021-01-26T22:23:43.335Z] 2a8b12db71e7: Verifying Checksum [2021-01-26T22:23:43.335Z] 2a8b12db71e7: Download complete [2021-01-26T22:23:43.602Z] 31603596830f: Verifying Checksum [2021-01-26T22:23:43.602Z] 31603596830f: Download complete [2021-01-26T22:23:43.602Z] ecc8261a40a4: Verifying Checksum [2021-01-26T22:23:43.602Z] ecc8261a40a4: Download complete [2021-01-26T22:23:43.865Z] 6ca5941a6612: Verifying Checksum [2021-01-26T22:23:43.865Z] 6ca5941a6612: Download complete [2021-01-26T22:23:43.865Z] 31603596830f: Pull complete [2021-01-26T22:23:44.132Z] 2a8b12db71e7: Pull complete [2021-01-26T22:23:45.087Z] 6ca5941a6612: Pull complete [2021-01-26T22:23:45.087Z] ecc8261a40a4: Pull complete [2021-01-26T22:23:45.087Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-26T22:23:45.087Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-26T22:23:45.087Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-26T22:23:45.476Z] prd-centos7-docker-4c-2g-22874 does not seem to be running inside a container [2021-01-26T22:23:45.536Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_app-functions-sdk-go_hanoi -v /w/workspace/undry_app-functions-sdk-go_hanoi:/w/workspace/undry_app-functions-sdk-go_hanoi:rw,z -v /w/workspace/undry_app-functions-sdk-go_hanoi@tmp:/w/workspace/undry_app-functions-sdk-go_hanoi@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-26T22:23:47.600Z] $ docker top 09b830b29c29ea338d587c4b4fd5c02001a4d20337d2c652001c45d95553e082 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-26T22:23:47.881Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-26T22:23:47.881Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-26T22:23:48.093Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-26T22:23:48.098Z] $ docker exec 09b830b29c29ea338d587c4b4fd5c02001a4d20337d2c652001c45d95553e082 ssh-agent [2021-01-26T22:23:48.267Z] SSH_AUTH_SOCK=/tmp/ssh-UPJfZMncRHbg/agent.12 [2021-01-26T22:23:48.267Z] SSH_AGENT_PID=18 [2021-01-26T22:23:48.278Z] Running ssh-add (command line suppressed) [2021-01-26T22:23:48.399Z] Identity added: /w/workspace/undry_app-functions-sdk-go_hanoi@tmp/private_key_1613220329853727805.key (/w/workspace/undry_app-functions-sdk-go_hanoi@tmp/private_key_1613220329853727805.key) [2021-01-26T22:23:48.448Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-26T22:23:48.782Z] + git tag --points-at HEAD [Pipeline] } [2021-01-26T22:23:48.805Z] $ docker exec --env ******** --env ******** 09b830b29c29ea338d587c4b4fd5c02001a4d20337d2c652001c45d95553e082 ssh-agent -k [2021-01-26T22:23:48.914Z] unset SSH_AUTH_SOCK; [2021-01-26T22:23:48.915Z] unset SSH_AGENT_PID; [2021-01-26T22:23:48.915Z] echo Agent pid 18 killed; [2021-01-26T22:23:48.960Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-26T22:23:49.156Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-26T22:23:49.156Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-26T22:23:49.323Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-26T22:23:49.328Z] $ docker exec 09b830b29c29ea338d587c4b4fd5c02001a4d20337d2c652001c45d95553e082 ssh-agent [2021-01-26T22:23:49.489Z] SSH_AUTH_SOCK=/tmp/ssh-6rgYe1A24n7u/agent.48 [2021-01-26T22:23:49.489Z] SSH_AGENT_PID=53 [2021-01-26T22:23:49.496Z] Running ssh-add (command line suppressed) [2021-01-26T22:23:49.618Z] Identity added: /w/workspace/undry_app-functions-sdk-go_hanoi@tmp/private_key_4206393985044913747.key (/w/workspace/undry_app-functions-sdk-go_hanoi@tmp/private_key_4206393985044913747.key) [2021-01-26T22:23:49.671Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-26T22:23:50.003Z] + git semver init [2021-01-26T22:23:50.004Z] # -> Open(): unable to determine branch for HEAD [2021-01-26T22:23:50.004Z] # $GIT_DIR = /w/workspace/undry_app-functions-sdk-go_hanoi/.git [2021-01-26T22:23:50.004Z] # $GIT_WORK_TREE = /w/workspace/undry_app-functions-sdk-go_hanoi [2021-01-26T22:23:50.004Z] # $SEMVER_REMOTE_NAME = origin [2021-01-26T22:23:50.004Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-26T22:23:50.004Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-26T22:23:50.004Z] # $SEMVER_BRANCH = hanoi [2021-01-26T22:23:50.004Z] # $SEMVER_TEMP = /tmp/semver-620672167 [2021-01-26T22:23:50.004Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-01-26T22:23:52.562Z] # '/tmp/semver-620672167' -> '/w/workspace/undry_app-functions-sdk-go_hanoi/.semver' [2021-01-26T22:23:52.562Z] # -> Force: false [2021-01-26T22:23:52.562Z] # $SEMVER_DIR = /w/workspace/undry_app-functions-sdk-go_hanoi/.semver [Pipeline] } [2021-01-26T22:23:52.575Z] $ docker exec --env ******** --env ******** 09b830b29c29ea338d587c4b4fd5c02001a4d20337d2c652001c45d95553e082 ssh-agent -k [2021-01-26T22:23:52.695Z] unset SSH_AUTH_SOCK; [2021-01-26T22:23:52.695Z] unset SSH_AGENT_PID; [2021-01-26T22:23:52.695Z] echo Agent pid 53 killed; [2021-01-26T22:23:52.751Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-26T22:23:53.222Z] + git semver [Pipeline] } [2021-01-26T22:23:53.238Z] $ docker stop --time=1 09b830b29c29ea338d587c4b4fd5c02001a4d20337d2c652001c45d95553e082 [2021-01-26T22:23:54.695Z] $ docker rm -f 09b830b29c29ea338d587c4b4fd5c02001a4d20337d2c652001c45d95553e082 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-26T22:23:55.173Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-26T22:23:55.579Z] Stashed 1 file(s) [Pipeline] echo [2021-01-26T22:23:55.582Z] [edgeXSemver]: initialized semver on version 1.3.1-dev.1 [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-26T22:24:11.104Z] Still waiting to schedule task [2021-01-26T22:24:11.104Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-26T22:24:11.107Z] Still waiting to schedule task [2021-01-26T22:24:11.107Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-01-26T22:26:57.018Z] Running on prd-centos7-docker-4c-2g-22876 in /w/workspace/undry_app-functions-sdk-go_hanoi [Pipeline] { [Pipeline] ws [2021-01-26T22:26:57.092Z] Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-01-26T22:27:00.790Z] using credential edgex-jenkins-ssh [2021-01-26T22:27:00.859Z] Cloning the remote Git repository [2021-01-26T22:27:00.883Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-01-26T22:27:00.950Z] > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 [2021-01-26T22:27:01.008Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-01-26T22:27:01.009Z] > git --version # timeout=10 [2021-01-26T22:27:01.017Z] > git --version # 'git version 2.24.3' [2021-01-26T22:27:01.017Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-26T22:27:01.047Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-26T22:27:04.596Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-01-26T22:27:04.603Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-26T22:27:04.619Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-01-26T22:27:04.632Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-01-26T22:27:04.632Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-26T22:27:04.637Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/hanoi:refs/remotes/origin/hanoi # timeout=10 [2021-01-26T22:27:06.470Z] Checking out Revision eab384cb48ea5ff1c4c70e4f0c6d42e5e6c3609b (hanoi) [2021-01-26T22:27:06.481Z] > git config core.sparsecheckout # timeout=10 [2021-01-26T22:27:06.486Z] > git checkout -f eab384cb48ea5ff1c4c70e4f0c6d42e5e6c3609b # timeout=10 [2021-01-26T22:27:10.123Z] Commit message: "fix: Upgrade to go-mod-messaging with ZMQ fix (#660)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-26T22:27:11.567Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-26T22:27:11.907Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-26T22:27:12.221Z] + sudo service docker restart [2021-01-26T22:27:12.221Z] + true [2021-01-26T22:27:12.221Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-01-26T22:27:13.743Z] ========================================================= [2021-01-26T22:27:13.743Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-26T22:27:13.743Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-26T22:27:14.129Z] + 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-26T22:27:14.709Z] Sending build context to Docker daemon 19.2MB [2021-01-26T22:27:14.709Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2021-01-26T22:27:14.709Z] Step 2/8 : FROM ${BASE} [2021-01-26T22:27:14.970Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-26T22:27:14.970Z] 188c0c94c7c5: Pulling fs layer [2021-01-26T22:27:14.970Z] 0ef7d3d256c8: Pulling fs layer [2021-01-26T22:27:14.970Z] de9db76c5a1d: Pulling fs layer [2021-01-26T22:27:14.970Z] bca2f99d35d6: Pulling fs layer [2021-01-26T22:27:14.970Z] 93359f2a8cfa: Pulling fs layer [2021-01-26T22:27:14.970Z] 7c6f9722023f: Pulling fs layer [2021-01-26T22:27:14.970Z] a35cf1a2eb13: Pulling fs layer [2021-01-26T22:27:14.970Z] 93359f2a8cfa: Waiting [2021-01-26T22:27:14.970Z] 7c6f9722023f: Waiting [2021-01-26T22:27:14.970Z] a35cf1a2eb13: Waiting [2021-01-26T22:27:14.970Z] bca2f99d35d6: Waiting [2021-01-26T22:27:14.970Z] de9db76c5a1d: Verifying Checksum [2021-01-26T22:27:14.970Z] de9db76c5a1d: Download complete [2021-01-26T22:27:14.970Z] 0ef7d3d256c8: Verifying Checksum [2021-01-26T22:27:14.970Z] 0ef7d3d256c8: Download complete [2021-01-26T22:27:14.970Z] 93359f2a8cfa: Verifying Checksum [2021-01-26T22:27:14.970Z] 93359f2a8cfa: Download complete [2021-01-26T22:27:14.970Z] 7c6f9722023f: Verifying Checksum [2021-01-26T22:27:14.970Z] 7c6f9722023f: Download complete [2021-01-26T22:27:14.970Z] 188c0c94c7c5: Download complete [2021-01-26T22:27:15.236Z] 188c0c94c7c5: Pull complete [2021-01-26T22:27:15.498Z] 0ef7d3d256c8: Pull complete [2021-01-26T22:27:15.498Z] de9db76c5a1d: Pull complete [2021-01-26T22:27:16.898Z] a35cf1a2eb13: Verifying Checksum [2021-01-26T22:27:16.898Z] a35cf1a2eb13: Download complete [2021-01-26T22:27:17.474Z] bca2f99d35d6: Verifying Checksum [2021-01-26T22:27:17.474Z] bca2f99d35d6: Download complete [2021-01-26T22:27:22.815Z] bca2f99d35d6: Pull complete [2021-01-26T22:27:22.815Z] 93359f2a8cfa: Pull complete [2021-01-26T22:27:22.815Z] 7c6f9722023f: Pull complete [2021-01-26T22:27:29.431Z] a35cf1a2eb13: Pull complete [2021-01-26T22:27:29.431Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-26T22:27:29.431Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-26T22:27:29.431Z] ---> a62c8e92a672 [2021-01-26T22:27:29.431Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2021-01-26T22:27:29.431Z] latest: Pulling from library/docker [2021-01-26T22:27:29.431Z] 801bfaa63ef2: Pulling fs layer [2021-01-26T22:27:29.431Z] 4f7dc993c79e: Pulling fs layer [2021-01-26T22:27:29.431Z] d39d95e4997f: Pulling fs layer [2021-01-26T22:27:29.431Z] ae283de69b7d: Pulling fs layer [2021-01-26T22:27:29.431Z] 1962c7344fe5: Pulling fs layer [2021-01-26T22:27:29.431Z] aa7a3367c785: Pulling fs layer [2021-01-26T22:27:29.431Z] 5e259227d438: Pulling fs layer [2021-01-26T22:27:29.431Z] ae283de69b7d: Waiting [2021-01-26T22:27:29.431Z] 1962c7344fe5: Waiting [2021-01-26T22:27:29.431Z] aa7a3367c785: Waiting [2021-01-26T22:27:29.431Z] 5e259227d438: Waiting [2021-01-26T22:27:29.431Z] d39d95e4997f: Download complete [2021-01-26T22:27:29.431Z] 4f7dc993c79e: Verifying Checksum [2021-01-26T22:27:29.431Z] 4f7dc993c79e: Download complete [2021-01-26T22:27:29.431Z] 801bfaa63ef2: Verifying Checksum [2021-01-26T22:27:29.431Z] 801bfaa63ef2: Download complete [2021-01-26T22:27:29.431Z] 1962c7344fe5: Verifying Checksum [2021-01-26T22:27:29.431Z] 1962c7344fe5: Download complete [2021-01-26T22:27:29.431Z] aa7a3367c785: Verifying Checksum [2021-01-26T22:27:29.431Z] aa7a3367c785: Download complete [2021-01-26T22:27:29.431Z] 5e259227d438: Verifying Checksum [2021-01-26T22:27:29.431Z] 5e259227d438: Download complete [2021-01-26T22:27:29.431Z] 801bfaa63ef2: Pull complete [2021-01-26T22:27:29.694Z] 4f7dc993c79e: Pull complete [2021-01-26T22:27:29.956Z] d39d95e4997f: Pull complete [2021-01-26T22:27:30.221Z] ae283de69b7d: Verifying Checksum [2021-01-26T22:27:30.221Z] ae283de69b7d: Download complete [2021-01-26T22:27:32.936Z] ae283de69b7d: Pull complete [2021-01-26T22:27:32.936Z] 1962c7344fe5: Pull complete [2021-01-26T22:27:32.936Z] aa7a3367c785: Pull complete [2021-01-26T22:27:33.197Z] 5e259227d438: Pull complete [2021-01-26T22:27:33.197Z] Digest: sha256:73ca622074aa007422a60cc1bfd4e65ca3ee8842e794df54cd1c3be3069d31bf [2021-01-26T22:27:33.197Z] Status: Downloaded newer image for docker:latest [2021-01-26T22:27:35.135Z] ---> 327946d99467 [2021-01-26T22:27:35.135Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-26T22:27:35.135Z] ---> Running in 333eb4dad6c7 [2021-01-26T22:27:35.135Z] Removing intermediate container 333eb4dad6c7 [2021-01-26T22:27:35.135Z] ---> 9c28d00f52ad [2021-01-26T22:27:35.135Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-01-26T22:27:35.135Z] ---> Running in 0906ced1f0a9 [2021-01-26T22:27:35.712Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-26T22:27:36.664Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-26T22:27:37.240Z] (1/5) Installing libsodium (1.0.18-r0) [2021-01-26T22:27:37.240Z] (2/5) Installing libzmq (4.3.3-r0) [2021-01-26T22:27:37.240Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-01-26T22:27:37.503Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-01-26T22:27:37.503Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-01-26T22:27:37.766Z] Executing busybox-1.31.1-r19.trigger [2021-01-26T22:27:37.766Z] OK: 167 MiB in 44 packages [2021-01-26T22:27:38.340Z] Removing intermediate container 0906ced1f0a9 [2021-01-26T22:27:38.340Z] ---> 76b113ec4072 [2021-01-26T22:27:38.340Z] Step 6/8 : WORKDIR /build [2021-01-26T22:27:38.340Z] ---> Running in 3cff572f8044 [2021-01-26T22:27:38.602Z] Removing intermediate container 3cff572f8044 [2021-01-26T22:27:38.602Z] ---> 8863f347dea6 [2021-01-26T22:27:38.602Z] Step 7/8 : COPY go.mod . [2021-01-26T22:27:38.602Z] ---> 4eb4333945ee [2021-01-26T22:27:38.602Z] Step 8/8 : RUN go mod download [2021-01-26T22:27:38.865Z] ---> Running in 0a3c4df4bcd2 [2021-01-26T22:27:48.305Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-22877 in /w/workspace/undry_app-functions-sdk-go_hanoi [Pipeline] { [Pipeline] ws [2021-01-26T22:27:48.389Z] Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-01-26T22:27:53.039Z] using credential edgex-jenkins-ssh [2021-01-26T22:27:53.120Z] Cloning the remote Git repository [2021-01-26T22:27:53.188Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-01-26T22:27:53.298Z] > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 [2021-01-26T22:27:53.384Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-01-26T22:27:53.385Z] > git --version # timeout=10 [2021-01-26T22:27:53.409Z] > git --version # 'git version 2.17.1' [2021-01-26T22:27:53.410Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-26T22:27:53.473Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-26T22:27:56.951Z] Checking out Revision eab384cb48ea5ff1c4c70e4f0c6d42e5e6c3609b (hanoi) [2021-01-26T22:27:56.391Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-01-26T22:27:56.412Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-26T22:27:56.439Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-01-26T22:27:56.472Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-01-26T22:27:56.472Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-26T22:27:56.485Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/hanoi:refs/remotes/origin/hanoi # timeout=10 [2021-01-26T22:27:56.985Z] > git config core.sparsecheckout # timeout=10 [2021-01-26T22:27:57.010Z] > git checkout -f eab384cb48ea5ff1c4c70e4f0c6d42e5e6c3609b # timeout=10 [2021-01-26T22:28:01.306Z] Commit message: "fix: Upgrade to go-mod-messaging with ZMQ fix (#660)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-26T22:28:03.101Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-26T22:28:03.505Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-26T22:28:03.849Z] + true [2021-01-26T22:28:03.849Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2021-01-26T22:28:06.105Z] ========================================================= [2021-01-26T22:28:06.105Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-26T22:28:06.105Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-26T22:28:06.493Z] + 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-26T22:28:07.487Z] Sending build context to Docker daemon 19.2MB [2021-01-26T22:28:07.487Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2021-01-26T22:28:07.487Z] Step 2/8 : FROM ${BASE} [2021-01-26T22:28:07.763Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-26T22:28:07.763Z] 5f621e34cdf4: Pulling fs layer [2021-01-26T22:28:07.763Z] a4357932f1b6: Pulling fs layer [2021-01-26T22:28:07.763Z] 18c013af1878: Pulling fs layer [2021-01-26T22:28:07.763Z] 00ac8860ef70: Pulling fs layer [2021-01-26T22:28:07.763Z] 63d7cb157983: Pulling fs layer [2021-01-26T22:28:07.763Z] b116817d02f9: Pulling fs layer [2021-01-26T22:28:07.763Z] 745a02a5169b: Pulling fs layer [2021-01-26T22:28:07.763Z] 00ac8860ef70: Waiting [2021-01-26T22:28:07.763Z] 63d7cb157983: Waiting [2021-01-26T22:28:07.763Z] b116817d02f9: Waiting [2021-01-26T22:28:07.763Z] 745a02a5169b: Waiting [2021-01-26T22:28:07.763Z] 18c013af1878: Download complete [2021-01-26T22:28:07.763Z] a4357932f1b6: Verifying Checksum [2021-01-26T22:28:07.763Z] a4357932f1b6: Download complete [2021-01-26T22:28:08.039Z] 63d7cb157983: Download complete [2021-01-26T22:28:08.039Z] b116817d02f9: Download complete [2021-01-26T22:28:08.039Z] 5f621e34cdf4: Verifying Checksum [2021-01-26T22:28:08.039Z] 5f621e34cdf4: Download complete [2021-01-26T22:28:08.639Z] 5f621e34cdf4: Pull complete [2021-01-26T22:28:09.622Z] a4357932f1b6: Pull complete [2021-01-26T22:28:09.908Z] 18c013af1878: Pull complete [2021-01-26T22:28:10.192Z] 745a02a5169b: Verifying Checksum [2021-01-26T22:28:10.192Z] 745a02a5169b: Download complete [2021-01-26T22:28:11.050Z] Removing intermediate container 0a3c4df4bcd2 [2021-01-26T22:28:11.050Z] ---> c75592fa89c5 [2021-01-26T22:28:11.050Z] Successfully built c75592fa89c5 [2021-01-26T22:28:11.050Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-26T22:28:11.368Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-26T22:28:11.368Z] . [Pipeline] withDockerContainer [2021-01-26T22:28:11.617Z] prd-centos7-docker-4c-2g-22876 does not seem to be running inside a container [2021-01-26T22:28:11.627Z] 00ac8860ef70: Verifying Checksum [2021-01-26T22:28:11.627Z] 00ac8860ef70: Download complete [2021-01-26T22:28:11.716Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-26T22:28:12.581Z] $ docker top c59f1e5e0983a1ca0dbf6b334d8c9c98f9343073ad36355be3dbb701ae5da145 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-26T22:28:13.091Z] + go version [2021-01-26T22:28:13.091Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-26T22:28:13.106Z] $ docker stop --time=1 c59f1e5e0983a1ca0dbf6b334d8c9c98f9343073ad36355be3dbb701ae5da145 [2021-01-26T22:28:14.446Z] $ docker rm -f c59f1e5e0983a1ca0dbf6b334d8c9c98f9343073ad36355be3dbb701ae5da145 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-26T22:28:15.300Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-26T22:28:15.300Z] . [Pipeline] withDockerContainer [2021-01-26T22:28:15.402Z] prd-centos7-docker-4c-2g-22876 does not seem to be running inside a container [2021-01-26T22:28:15.451Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-26T22:28:16.168Z] $ docker top a73867a15d66334250bda8480f8b70c8e3d1c80dd6e7518688a55d26dea5946e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-26T22:28:16.714Z] + make test [2021-01-26T22:28:16.714Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-01-26T22:28:18.128Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2021-01-26T22:28:21.815Z] 00ac8860ef70: Pull complete [2021-01-26T22:28:21.816Z] 63d7cb157983: Pull complete [2021-01-26T22:28:21.816Z] b116817d02f9: Pull complete [2021-01-26T22:28:26.131Z] 745a02a5169b: Pull complete [2021-01-26T22:28:26.131Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-26T22:28:26.131Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-26T22:28:26.131Z] ---> b7e6874047d6 [2021-01-26T22:28:26.131Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2021-01-26T22:28:26.131Z] latest: Pulling from library/docker [2021-01-26T22:28:26.131Z] 159e5727ea61: Pulling fs layer [2021-01-26T22:28:26.131Z] 687389c36290: Pulling fs layer [2021-01-26T22:28:26.131Z] 94e28978939c: Pulling fs layer [2021-01-26T22:28:26.131Z] 81bd9c9fe1b1: Pulling fs layer [2021-01-26T22:28:26.131Z] 0c5a7137269a: Pulling fs layer [2021-01-26T22:28:26.131Z] 650eeba05d50: Pulling fs layer [2021-01-26T22:28:26.131Z] 283d3dba4d5b: Pulling fs layer [2021-01-26T22:28:26.131Z] 81bd9c9fe1b1: Waiting [2021-01-26T22:28:26.131Z] 0c5a7137269a: Waiting [2021-01-26T22:28:26.131Z] 650eeba05d50: Waiting [2021-01-26T22:28:26.131Z] 283d3dba4d5b: Waiting [2021-01-26T22:28:26.131Z] 94e28978939c: Verifying Checksum [2021-01-26T22:28:26.131Z] 94e28978939c: Download complete [2021-01-26T22:28:26.131Z] 687389c36290: Download complete [2021-01-26T22:28:26.131Z] 159e5727ea61: Verifying Checksum [2021-01-26T22:28:26.131Z] 159e5727ea61: Download complete [2021-01-26T22:28:26.131Z] 0c5a7137269a: Verifying Checksum [2021-01-26T22:28:26.131Z] 0c5a7137269a: Download complete [2021-01-26T22:28:26.131Z] 283d3dba4d5b: Verifying Checksum [2021-01-26T22:28:26.131Z] 283d3dba4d5b: Download complete [2021-01-26T22:28:26.131Z] 650eeba05d50: Verifying Checksum [2021-01-26T22:28:26.131Z] 650eeba05d50: Download complete [2021-01-26T22:28:26.411Z] 159e5727ea61: Pull complete [2021-01-26T22:28:26.418Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.032s coverage: 86.2% of statements [2021-01-26T22:28:27.388Z] 687389c36290: Pull complete [2021-01-26T22:28:27.388Z] 94e28978939c: Pull complete [2021-01-26T22:28:27.663Z] 81bd9c9fe1b1: Verifying Checksum [2021-01-26T22:28:27.663Z] 81bd9c9fe1b1: Download complete [2021-01-26T22:28:31.066Z] 81bd9c9fe1b1: Pull complete [2021-01-26T22:28:31.672Z] 0c5a7137269a: Pull complete [2021-01-26T22:28:31.944Z] 650eeba05d50: Pull complete [2021-01-26T22:28:32.216Z] 283d3dba4d5b: Pull complete [2021-01-26T22:28:32.216Z] Digest: sha256:73ca622074aa007422a60cc1bfd4e65ca3ee8842e794df54cd1c3be3069d31bf [2021-01-26T22:28:32.216Z] Status: Downloaded newer image for docker:latest [2021-01-26T22:28:37.637Z] ---> 18be7c3f4013 [2021-01-26T22:28:37.637Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-26T22:28:37.912Z] ---> Running in fb54b5da28bf [2021-01-26T22:28:38.183Z] Removing intermediate container fb54b5da28bf [2021-01-26T22:28:38.183Z] ---> 8f5f05786cf4 [2021-01-26T22:28:38.183Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-01-26T22:28:38.460Z] ---> Running in 86761995c5d6 [2021-01-26T22:28:39.437Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-26T22:28:40.422Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-26T22:28:41.396Z] (1/5) Installing libsodium (1.0.18-r0) [2021-01-26T22:28:41.396Z] (2/5) Installing libzmq (4.3.3-r0) [2021-01-26T22:28:41.478Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.042s coverage: 52.0% of statements [2021-01-26T22:28:41.478Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2021-01-26T22:28:41.478Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2021-01-26T22:28:41.478Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.060s coverage: 54.7% of statements [2021-01-26T22:28:41.478Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2021-01-26T22:28:41.478Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.096s coverage: 69.1% of statements [2021-01-26T22:28:41.669Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-01-26T22:28:41.669Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-01-26T22:28:41.947Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-01-26T22:28:41.947Z] Executing busybox-1.31.1-r19.trigger [2021-01-26T22:28:41.947Z] OK: 144 MiB in 44 packages [2021-01-26T22:28:43.404Z] Removing intermediate container 86761995c5d6 [2021-01-26T22:28:43.404Z] ---> 37acb5450755 [2021-01-26T22:28:43.404Z] Step 6/8 : WORKDIR /build [2021-01-26T22:28:43.404Z] ---> Running in 0ead8851a09b [2021-01-26T22:28:43.680Z] Removing intermediate container 0ead8851a09b [2021-01-26T22:28:43.680Z] ---> 77a624fe0cb6 [2021-01-26T22:28:43.680Z] Step 7/8 : COPY go.mod . [2021-01-26T22:28:44.662Z] ---> d3ec9a96bea6 [2021-01-26T22:28:44.662Z] Step 8/8 : RUN go mod download [2021-01-26T22:28:44.662Z] ---> Running in 8d79f950f2cd [2021-01-26T22:28:56.474Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.420s coverage: 61.6% of statements [2021-01-26T22:28:56.474Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.009s coverage: 89.5% of statements [2021-01-26T22:28:56.474Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.005s coverage: 100.0% of statements [2021-01-26T22:28:56.474Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.013s coverage: 100.0% of statements [2021-01-26T22:28:56.474Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.005s coverage: 100.0% of statements [2021-01-26T22:28:56.474Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.005s coverage: 100.0% of statements [2021-01-26T22:28:56.474Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2021-01-26T22:28:56.474Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2021-01-26T22:28:56.474Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2021-01-26T22:28:56.474Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2021-01-26T22:28:56.474Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2021-01-26T22:28:56.474Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2021-01-26T22:28:56.474Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2021-01-26T22:28:56.474Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.005s coverage: 96.6% of statements [2021-01-26T22:28:56.474Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2021-01-26T22:28:56.474Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.004s coverage: 97.7% of statements [2021-01-26T22:28:56.474Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2021-01-26T22:28:56.474Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2021-01-26T22:28:56.474Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.008s coverage: 8.8% of statements [2021-01-26T22:28:56.474Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.920s coverage: 75.0% of statements [2021-01-26T22:28:56.474Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] [2021-01-26T22:28:56.474Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.012s coverage: 89.7% of statements [2021-01-26T22:28:56.474Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.009s coverage: 88.9% of statements [2021-01-26T22:28:56.474Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.012s coverage: 80.5% of statements [2021-01-26T22:28:56.474Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.008s coverage: 71.7% of statements [2021-01-26T22:29:11.469Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.025s coverage: 71.0% of statements [2021-01-26T22:29:11.469Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.006s coverage: 94.4% of statements [2021-01-26T22:29:11.469Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-01-26T22:29:11.471Z] Removing intermediate container 8d79f950f2cd [2021-01-26T22:29:11.471Z] ---> 4e015db0d486 [2021-01-26T22:29:11.471Z] Successfully built 4e015db0d486 [2021-01-26T22:29:11.471Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-26T22:29:11.819Z] + docker inspect -f . ci-base-image-arm64 [2021-01-26T22:29:11.819Z] . [Pipeline] withDockerContainer [2021-01-26T22:29:12.222Z] prd-ubuntu18.04-docker-arm64-4c-16g-22877 does not seem to be running inside a container [2021-01-26T22:29:12.409Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-26T22:29:14.137Z] $ docker top 93f718cc6889b7a587ec6ee72d91f6ac654861302fc76790887ee86a5d16b6ea -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-26T22:29:14.898Z] gofmt -l . [2021-01-26T22:29:14.898Z] [ "`gofmt -l .`" = "" ] [2021-01-26T22:29:14.898Z] ./bin/test-go-mod-tidy.sh [2021-01-26T22:29:15.139Z] + go version [2021-01-26T22:29:15.139Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-26T22:29:15.185Z] $ docker stop --time=1 93f718cc6889b7a587ec6ee72d91f6ac654861302fc76790887ee86a5d16b6ea [2021-01-26T22:29:17.074Z] $ docker rm -f 93f718cc6889b7a587ec6ee72d91f6ac654861302fc76790887ee86a5d16b6ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2021-01-26T22:29:17.314Z] $ docker stop --time=1 a73867a15d66334250bda8480f8b70c8e3d1c80dd6e7518688a55d26dea5946e [2021-01-26T22:29:18.961Z] $ docker rm -f a73867a15d66334250bda8480f8b70c8e3d1c80dd6e7518688a55d26dea5946e [Pipeline] // script [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [2021-01-26T22:29:19.679Z] + sudo chown -R jenkins:jenkins . [Pipeline] isUnix [Pipeline] sh [Pipeline] stash [2021-01-26T22:29:20.015Z] + docker inspect -f . ci-base-image-arm64 [2021-01-26T22:29:20.015Z] . [Pipeline] withDockerContainer [2021-01-26T22:29:20.256Z] Stashed 1 file(s) [2021-01-26T22:29:20.274Z] prd-ubuntu18.04-docker-arm64-4c-16g-22877 does not seem to be running inside a container [2021-01-26T22:29:20.381Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-26T22:29:21.793Z] $ docker top db92efb92b6cecbdd13d08fcdca3b4097ab53ba6ce2b00256dd5b03e673c4f70 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [2021-01-26T22:29:22.800Z] + make test [2021-01-26T22:29:22.801Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-26T22:29:24.281Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2021-01-26T22:29:46.536Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.022s coverage: 86.2% of statements [2021-01-26T22:30:25.612Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.083s coverage: 52.0% of statements [2021-01-26T22:30:25.612Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2021-01-26T22:30:25.612Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2021-01-26T22:30:25.612Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.107s coverage: 54.7% of statements [2021-01-26T22:30:25.612Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2021-01-26T22:30:25.612Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.070s coverage: 69.1% of statements [2021-01-26T22:30:38.022Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.456s coverage: 61.6% of statements [2021-01-26T22:30:38.022Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.013s coverage: 89.5% of statements [2021-01-26T22:30:38.022Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.011s coverage: 100.0% of statements [2021-01-26T22:30:38.022Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.034s coverage: 100.0% of statements [2021-01-26T22:30:38.022Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.011s coverage: 100.0% of statements [2021-01-26T22:30:38.022Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.012s coverage: 100.0% of statements [2021-01-26T22:30:38.022Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2021-01-26T22:30:38.022Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2021-01-26T22:30:38.022Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2021-01-26T22:30:38.022Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2021-01-26T22:30:38.022Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2021-01-26T22:30:38.022Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2021-01-26T22:30:38.022Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] [2021-01-26T22:30:38.022Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.012s coverage: 96.6% of statements [2021-01-26T22:30:38.022Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2021-01-26T22:30:38.022Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.014s coverage: 97.7% of statements [2021-01-26T22:30:38.022Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2021-01-26T22:30:38.022Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2021-01-26T22:30:38.022Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.022s coverage: 8.8% of statements [2021-01-26T22:30:38.022Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.936s coverage: 75.0% of statements [2021-01-26T22:30:38.022Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] [2021-01-26T22:30:38.022Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.038s coverage: 89.7% of statements [2021-01-26T22:30:38.022Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.022s coverage: 88.9% of statements [2021-01-26T22:30:38.022Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.032s coverage: 80.5% of statements [2021-01-26T22:30:38.022Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.023s coverage: 71.7% of statements [2021-01-26T22:31:04.798Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.056s coverage: 71.0% of statements [2021-01-26T22:31:04.798Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.012s coverage: 94.4% of statements [2021-01-26T22:31:04.798Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-01-26T22:31:14.996Z] gofmt -l . [2021-01-26T22:31:14.996Z] [ "`gofmt -l .`" = "" ] [2021-01-26T22:31:14.996Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-26T22:31:16.044Z] $ docker stop --time=1 db92efb92b6cecbdd13d08fcdca3b4097ab53ba6ce2b00256dd5b03e673c4f70 [2021-01-26T22:31:18.055Z] $ docker rm -f db92efb92b6cecbdd13d08fcdca3b4097ab53ba6ce2b00256dd5b03e673c4f70 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-26T22:31:19.039Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-26T22:31:19.059Z] Warning: overwriting stash ‘coverage-report’ [2021-01-26T22:31:19.893Z] 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-26T22:31:21.809Z] provisioning config files... [2021-01-26T22:31:21.828Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/undry_app-functions-sdk-go_hanoi@tmp/config1897511978166452681tmp [Pipeline] { [Pipeline] sh [2021-01-26T22:31:22.207Z] + set +x [2021-01-26T22:31:22.207Z] + curl -s https://codecov.io/bash [2021-01-26T22:31:22.207Z] + bash -s -- [2021-01-26T22:31:22.470Z] [2021-01-26T22:31:22.470Z] _____ _ [2021-01-26T22:31:22.470Z] / ____| | | [2021-01-26T22:31:22.470Z] | | ___ __| | ___ ___ _____ __ [2021-01-26T22:31:22.470Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-26T22:31:22.470Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-26T22:31:22.470Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-26T22:31:22.470Z] Bash-20210115-cec3c92 [2021-01-26T22:31:22.470Z] [2021-01-26T22:31:22.470Z] [2021-01-26T22:31:22.470Z] ==> git version 2.24.3 found [2021-01-26T22:31:22.470Z] ==> 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-26T22:31:22.470Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-26T22:31:22.470Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-26T22:31:22.470Z] ==> Jenkins CI detected. [2021-01-26T22:31:22.470Z] project root: . [2021-01-26T22:31:22.470Z] --> token set from env [2021-01-26T22:31:22.470Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-26T22:31:22.470Z] ==> Running gcov in . (disable via -X gcov) [2021-01-26T22:31:22.470Z] ==> Python coveragepy not found [2021-01-26T22:31:22.470Z] ==> Searching for coverage reports in: [2021-01-26T22:31:22.470Z] + . [2021-01-26T22:31:22.470Z] -> Found 1 reports [2021-01-26T22:31:22.470Z] ==> Detecting git/mercurial file structure [2021-01-26T22:31:22.470Z] ==> Reading reports [2021-01-26T22:31:22.470Z] + ./coverage.out bytes=90550 [2021-01-26T22:31:22.470Z] ==> Appending adjustments [2021-01-26T22:31:22.470Z] https://docs.codecov.io/docs/fixing-reports [2021-01-26T22:31:23.045Z] + Found adjustments [2021-01-26T22:31:23.045Z] ==> Gzipping contents [2021-01-26T22:31:23.045Z] 16K /tmp/codecov.21mJ9v.gz [2021-01-26T22:31:23.045Z] ==> Uploading reports [2021-01-26T22:31:23.045Z] url: https://codecov.io [2021-01-26T22:31:23.045Z] query: branch=hanoi&commit=eab384cb48ea5ff1c4c70e4f0c6d42e5e6c3609b&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fhanoi%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-01-26T22:31:23.045Z] -> Pinging Codecov [2021-01-26T22:31:23.045Z] https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=hanoi&commit=eab384cb48ea5ff1c4c70e4f0c6d42e5e6c3609b&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fhanoi%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-01-26T22:31:23.622Z] -> Uploading to [2021-01-26T22:31:23.622Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-26/3D8B5DFFC46A037C893635FACE044666/eab384cb48ea5ff1c4c70e4f0c6d42e5e6c3609b/5947dbc3-901c-4537-b9c5-74873e1976d1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210126%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210126T223123Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a6cc795c0a9f1d25e52f75f2721ee2e63f66b6bbb81934218677756ffc0ab602 [2021-01-26T22:31:23.622Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-26T22:31:23.622Z] Dload Upload Total Spent Left Speed [2021-01-26T22:31:23.885Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16069 0 0 100 16069 0 37207 --:--:-- --:--:-- --:--:-- 37196 [2021-01-26T22:31:23.885Z] -> View reports at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/eab384cb48ea5ff1c4c70e4f0c6d42e5e6c3609b [Pipeline] } [2021-01-26T22:31:23.895Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-01-26T22:31:24.872Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-01-26T22:31:24.931Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-26T22:31:25.279Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-26T22:31:25.279Z] [2021-01-26T22:31:25.279Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-01-26T22:31:25.686Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-26T22:31:25.686Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-01-26T22:31:25.686Z] 188c0c94c7c5: Pulling fs layer [2021-01-26T22:31:25.686Z] 0ef7d3d256c8: Pulling fs layer [2021-01-26T22:31:25.686Z] de9db76c5a1d: Pulling fs layer [2021-01-26T22:31:25.686Z] 0eba1c9be4d2: Pulling fs layer [2021-01-26T22:31:25.686Z] 0d57e429df01: Pulling fs layer [2021-01-26T22:31:25.686Z] 4e4be7b47b0d: Pulling fs layer [2021-01-26T22:31:25.686Z] e1f770b5df2f: Pulling fs layer [2021-01-26T22:31:25.686Z] 85a0685a4137: Pulling fs layer [2021-01-26T22:31:25.686Z] 0d57e429df01: Waiting [2021-01-26T22:31:25.686Z] 4e4be7b47b0d: Waiting [2021-01-26T22:31:25.686Z] e1f770b5df2f: Waiting [2021-01-26T22:31:25.686Z] 85a0685a4137: Waiting [2021-01-26T22:31:25.686Z] de9db76c5a1d: Verifying Checksum [2021-01-26T22:31:25.686Z] de9db76c5a1d: Download complete [2021-01-26T22:31:25.686Z] 0ef7d3d256c8: Verifying Checksum [2021-01-26T22:31:25.686Z] 0ef7d3d256c8: Download complete [2021-01-26T22:31:25.686Z] 0d57e429df01: Verifying Checksum [2021-01-26T22:31:25.686Z] 0d57e429df01: Download complete [2021-01-26T22:31:25.686Z] 4e4be7b47b0d: Verifying Checksum [2021-01-26T22:31:25.686Z] 4e4be7b47b0d: Download complete [2021-01-26T22:31:25.686Z] 188c0c94c7c5: Verifying Checksum [2021-01-26T22:31:25.686Z] 188c0c94c7c5: Download complete [2021-01-26T22:31:26.274Z] 188c0c94c7c5: Pull complete [2021-01-26T22:31:26.274Z] 0ef7d3d256c8: Pull complete [2021-01-26T22:31:26.536Z] de9db76c5a1d: Pull complete [2021-01-26T22:31:27.489Z] e1f770b5df2f: Download complete [2021-01-26T22:31:29.433Z] 0eba1c9be4d2: Verifying Checksum [2021-01-26T22:31:29.433Z] 0eba1c9be4d2: Download complete [2021-01-26T22:31:29.433Z] 85a0685a4137: Verifying Checksum [2021-01-26T22:31:29.433Z] 85a0685a4137: Download complete [2021-01-26T22:31:36.071Z] 0eba1c9be4d2: Pull complete [2021-01-26T22:31:36.071Z] 0d57e429df01: Pull complete [2021-01-26T22:31:36.071Z] 4e4be7b47b0d: Pull complete [2021-01-26T22:31:37.471Z] e1f770b5df2f: Pull complete [2021-01-26T22:31:45.648Z] 85a0685a4137: Pull complete [2021-01-26T22:31:45.648Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-01-26T22:31:45.648Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-26T22:31:45.648Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-01-26T22:31:45.855Z] prd-centos7-docker-4c-2g-22874 does not seem to be running inside a container [2021-01-26T22:31:45.907Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/undry_app-functions-sdk-go_hanoi -v /w/workspace/undry_app-functions-sdk-go_hanoi:/w/workspace/undry_app-functions-sdk-go_hanoi:rw,z -v /w/workspace/undry_app-functions-sdk-go_hanoi@tmp:/w/workspace/undry_app-functions-sdk-go_hanoi@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-26T22:31:47.241Z] $ docker top 88bddd9bd755ee0d002233a90b3c7495c14ea4dab8f9b38379ff2a3f2dd4aef9 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-01-26T22:31:47.508Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-01-26T22:31:47.817Z] + set -o pipefail [2021-01-26T22:31:47.817Z] + snyk monitor '--org=edgex-jenkins' [2021-01-26T22:32:05.975Z] [2021-01-26T22:32:05.975Z] Monitoring /w/workspace/undry_app-functions-sdk-go_hanoi (github.com/edgexfoundry/app-functions-sdk-go)... [2021-01-26T22:32:05.975Z] [2021-01-26T22:32:05.975Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/84a89414-c83d-4daa-8ff9-7ceae658ecfc/history/a3f1fe73-a913-49a8-bb4a-5348e4c4935d [2021-01-26T22:32:05.975Z] [2021-01-26T22:32:05.975Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-01-26T22:32:05.975Z] [2021-01-26T22:32:05.975Z] [Pipeline] } [2021-01-26T22:32:05.993Z] $ docker stop --time=1 88bddd9bd755ee0d002233a90b3c7495c14ea4dab8f9b38379ff2a3f2dd4aef9 [2021-01-26T22:32:07.644Z] $ docker rm -f 88bddd9bd755ee0d002233a90b3c7495c14ea4dab8f9b38379ff2a3f2dd4aef9 [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-26T22:32:09.113Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-26T22:32:09.164Z] provisioning config files... [2021-01-26T22:32:09.177Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/undry_app-functions-sdk-go_hanoi@tmp/config79108294941333923tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-26T22:32:09.555Z] --> edgex-publish-swagger.sh [2021-01-26T22:32:09.555Z] === Publish openapi/v2 API === [2021-01-26T22:32:09.555Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-01-26T22:32:09.555Z] [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/undry_app-functions-sdk-go_hanoi/openapi/v2/app-functions-sdk.yaml] [2021-01-26T22:32:09.555Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-26T22:32:09.555Z] Dload Upload Total Spent Left Speed [2021-01-26T22:32:10.766Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13026 0 0 100 13026 0 10815 0:00:01 0:00:01 --:--:-- 10818 100 13026 0 0 100 13026 0 10814 0:00:01 0:00:01 --:--:-- 10818 [2021-01-26T22:32:10.766Z] [2021-01-26T22:32:10.766Z] [Pipeline] } [2021-01-26T22:32:10.775Z] 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-26T22:32:11.666Z] + git log --format=format:%s -1 eab384cb48ea5ff1c4c70e4f0c6d42e5e6c3609b [Pipeline] isUnix [Pipeline] sh [2021-01-26T22:32:11.979Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-26T22:32:11.979Z] . [Pipeline] withDockerContainer [2021-01-26T22:32:12.100Z] prd-centos7-docker-4c-2g-22874 does not seem to be running inside a container [2021-01-26T22:32:12.140Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_app-functions-sdk-go_hanoi -v /w/workspace/undry_app-functions-sdk-go_hanoi:/w/workspace/undry_app-functions-sdk-go_hanoi:rw,z -v /w/workspace/undry_app-functions-sdk-go_hanoi@tmp:/w/workspace/undry_app-functions-sdk-go_hanoi@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-26T22:32:12.938Z] $ docker top b23cc0b720ba507f0129856ba1ba61aa7268b38215982621416fdca257a69731 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-26T22:32:13.268Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-26T22:32:13.268Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-26T22:32:13.495Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-26T22:32:13.499Z] $ docker exec b23cc0b720ba507f0129856ba1ba61aa7268b38215982621416fdca257a69731 ssh-agent [2021-01-26T22:32:13.672Z] SSH_AUTH_SOCK=/tmp/ssh-sX1Y8OoVpkFS/agent.11 [2021-01-26T22:32:13.673Z] SSH_AGENT_PID=16 [2021-01-26T22:32:13.680Z] Running ssh-add (command line suppressed) [2021-01-26T22:32:13.813Z] Identity added: /w/workspace/undry_app-functions-sdk-go_hanoi@tmp/private_key_3823766054790151762.key (/w/workspace/undry_app-functions-sdk-go_hanoi@tmp/private_key_3823766054790151762.key) [2021-01-26T22:32:13.870Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-26T22:32:14.239Z] + git semver tag [2021-01-26T22:32:14.239Z] # -> Open(): unable to determine branch for HEAD [2021-01-26T22:32:14.239Z] # $GIT_DIR = /w/workspace/undry_app-functions-sdk-go_hanoi/.git [2021-01-26T22:32:14.239Z] # $GIT_WORK_TREE = /w/workspace/undry_app-functions-sdk-go_hanoi [2021-01-26T22:32:14.239Z] # $SEMVER_REMOTE_NAME = origin [2021-01-26T22:32:14.239Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-26T22:32:14.239Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-26T22:32:14.239Z] # $SEMVER_BRANCH = hanoi [2021-01-26T22:32:14.239Z] # $SEMVER_DIR = /w/workspace/undry_app-functions-sdk-go_hanoi/.semver [2021-01-26T22:32:14.239Z] # eab384cb48ea5ff1c4c70e4f0c6d42e5e6c3609b HEAD [2021-01-26T22:32:14.239Z] # -> Force: false [2021-01-26T22:32:14.239Z] # 2ef78278305a39586245c34c75efed226a19b59c refs/tags/v1.3.1-dev.1 [Pipeline] } [2021-01-26T22:32:14.261Z] $ docker exec --env ******** --env ******** b23cc0b720ba507f0129856ba1ba61aa7268b38215982621416fdca257a69731 ssh-agent -k [2021-01-26T22:32:14.378Z] unset SSH_AUTH_SOCK; [2021-01-26T22:32:14.378Z] unset SSH_AGENT_PID; [2021-01-26T22:32:14.378Z] echo Agent pid 16 killed; [2021-01-26T22:32:14.428Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-26T22:32:14.907Z] + git semver [Pipeline] } [2021-01-26T22:32:14.925Z] $ docker stop --time=1 b23cc0b720ba507f0129856ba1ba61aa7268b38215982621416fdca257a69731 [2021-01-26T22:32:16.282Z] $ docker rm -f b23cc0b720ba507f0129856ba1ba61aa7268b38215982621416fdca257a69731 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-01-26T22:32:16.950Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-26T22:32:16.950Z] [2021-01-26T22:32:16.950Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-01-26T22:32:17.351Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-26T22:32:18.306Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-01-26T22:32:18.306Z] ab5ef0e58194: Pulling fs layer [2021-01-26T22:32:18.306Z] 9712f1f96733: Pulling fs layer [2021-01-26T22:32:18.306Z] 63f879dbbcfc: Pulling fs layer [2021-01-26T22:32:18.306Z] 0d9ebad4ef96: Pulling fs layer [2021-01-26T22:32:18.306Z] e9a5061849ea: Pulling fs layer [2021-01-26T22:32:18.306Z] d747dcd14b5f: Pulling fs layer [2021-01-26T22:32:18.306Z] 2de7ff778b66: Pulling fs layer [2021-01-26T22:32:18.306Z] e9a5061849ea: Waiting [2021-01-26T22:32:18.306Z] 0d9ebad4ef96: Waiting [2021-01-26T22:32:18.306Z] 2de7ff778b66: Waiting [2021-01-26T22:32:18.306Z] 9712f1f96733: Verifying Checksum [2021-01-26T22:32:18.306Z] 9712f1f96733: Download complete [2021-01-26T22:32:19.774Z] 63f879dbbcfc: Verifying Checksum [2021-01-26T22:32:19.774Z] 63f879dbbcfc: Download complete [2021-01-26T22:32:19.774Z] e9a5061849ea: Verifying Checksum [2021-01-26T22:32:19.774Z] e9a5061849ea: Download complete [2021-01-26T22:32:19.774Z] d747dcd14b5f: Verifying Checksum [2021-01-26T22:32:19.774Z] d747dcd14b5f: Download complete [2021-01-26T22:32:20.108Z] 2de7ff778b66: Download complete [2021-01-26T22:32:20.402Z] ab5ef0e58194: Verifying Checksum [2021-01-26T22:32:20.402Z] ab5ef0e58194: Download complete [2021-01-26T22:32:20.724Z] 0d9ebad4ef96: Verifying Checksum [2021-01-26T22:32:20.724Z] 0d9ebad4ef96: Download complete [2021-01-26T22:32:26.174Z] ab5ef0e58194: Pull complete [2021-01-26T22:32:26.174Z] 9712f1f96733: Pull complete [2021-01-26T22:32:28.100Z] 63f879dbbcfc: Pull complete [2021-01-26T22:32:34.719Z] 0d9ebad4ef96: Pull complete [2021-01-26T22:32:36.112Z] e9a5061849ea: Pull complete [2021-01-26T22:32:36.112Z] d747dcd14b5f: Pull complete [2021-01-26T22:32:39.429Z] 2de7ff778b66: Pull complete [2021-01-26T22:32:39.429Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-01-26T22:32:39.429Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-26T22:32:39.429Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-01-26T22:32:39.628Z] prd-centos7-docker-4c-2g-22874 does not seem to be running inside a container [2021-01-26T22:32:39.676Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_app-functions-sdk-go_hanoi -v /w/workspace/undry_app-functions-sdk-go_hanoi:/w/workspace/undry_app-functions-sdk-go_hanoi:rw,z -v /w/workspace/undry_app-functions-sdk-go_hanoi@tmp:/w/workspace/undry_app-functions-sdk-go_hanoi@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-26T22:32:43.566Z] $ docker top 19fa664353fe0ac93971d673f7dd431740bad2a32f93efa8a16ec1b440711b52 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-01-26T22:32:43.856Z] provisioning config files... [2021-01-26T22:32:43.866Z] copy managed file [sigul-config] to file:/w/workspace/undry_app-functions-sdk-go_hanoi@tmp/config3215675646185218564tmp [2021-01-26T22:32:43.883Z] copy managed file [sigul-password] to file:/w/workspace/undry_app-functions-sdk-go_hanoi@tmp/config557342905743953761tmp [2021-01-26T22:32:43.903Z] copy managed file [sigul-pki] to file:/w/workspace/undry_app-functions-sdk-go_hanoi@tmp/config7762304895968754685tmp [Pipeline] { [Pipeline] echo [2021-01-26T22:32:43.976Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-26T22:32:44.277Z] ---> sigul-configuration.sh [2021-01-26T22:32:44.277Z] gpg: directory `/root/.gnupg' created [2021-01-26T22:32:44.277Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-01-26T22:32:44.277Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-01-26T22:32:44.277Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-01-26T22:32:44.277Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-01-26T22:32:44.277Z] gpg: CAST5 encrypted data [2021-01-26T22:32:44.540Z] gpg: encrypted with 1 passphrase [2021-01-26T22:32:44.540Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-01-26T22:32:44.840Z] + mkdir /home/jenkins [2021-01-26T22:32:44.840Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-01-26T22:32:45.141Z] + 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-26T22:32:45.152Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-26T22:32:45.448Z] ---> sigul-install.sh [2021-01-26T22:32:51.957Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-01-26T22:32:52.258Z] + git tag --list [2021-01-26T22:32:52.258Z] v0.1.0 [2021-01-26T22:32:52.258Z] v0.1.1 [2021-01-26T22:32:52.258Z] v1.0.0 [2021-01-26T22:32:52.258Z] v1.1.0 [2021-01-26T22:32:52.258Z] v1.2.0 [2021-01-26T22:32:52.258Z] v1.3.0 [2021-01-26T22:32:52.258Z] v1.3.1-dev.1 [2021-01-26T22:32:52.258Z] v2.0.0-dev.1 [2021-01-26T22:32:52.258Z] v2.0.0-dev.2 [2021-01-26T22:32:52.258Z] v2.0.0-dev.3 [2021-01-26T22:32:52.258Z] v2.0.0-dev.4 [2021-01-26T22:32:52.258Z] v2.0.0-dev.5 [2021-01-26T22:32:52.258Z] v2.0.0-dev.6 [2021-01-26T22:32:52.258Z] v2.0.0-dev.7 [Pipeline] sh [2021-01-26T22:32:52.559Z] + lftools sign git-tag v1.3.1-dev.1 [2021-01-26T22:32:53.950Z] Signing Git tag with Sigul... [2021-01-26T22:32:53.950Z] Signing v1.3.1-dev.1 [Pipeline] echo [2021-01-26T22:32:54.907Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-26T22:32:55.203Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-01-26T22:32:55.213Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-01-26T22:32:55.314Z] $ docker stop --time=1 19fa664353fe0ac93971d673f7dd431740bad2a32f93efa8a16ec1b440711b52 [2021-01-26T22:32:57.397Z] $ docker rm -f 19fa664353fe0ac93971d673f7dd431740bad2a32f93efa8a16ec1b440711b52 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-01-26T22:32:58.495Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-26T22:32:58.495Z] . [Pipeline] withDockerContainer [2021-01-26T22:32:58.593Z] prd-centos7-docker-4c-2g-22874 does not seem to be running inside a container [2021-01-26T22:32:58.639Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_app-functions-sdk-go_hanoi -v /w/workspace/undry_app-functions-sdk-go_hanoi:/w/workspace/undry_app-functions-sdk-go_hanoi:rw,z -v /w/workspace/undry_app-functions-sdk-go_hanoi@tmp:/w/workspace/undry_app-functions-sdk-go_hanoi@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-26T22:32:59.418Z] $ docker top 89ed427c306187b89cc8cc67d0a0e0669268954101440c343f09205730c3261a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-26T22:32:59.789Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-26T22:32:59.790Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-26T22:33:00.012Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-26T22:33:00.016Z] $ docker exec 89ed427c306187b89cc8cc67d0a0e0669268954101440c343f09205730c3261a ssh-agent [2021-01-26T22:33:00.201Z] SSH_AUTH_SOCK=/tmp/ssh-KE05wTy3WfBb/agent.12 [2021-01-26T22:33:00.201Z] SSH_AGENT_PID=17 [2021-01-26T22:33:00.209Z] Running ssh-add (command line suppressed) [2021-01-26T22:33:00.337Z] Identity added: /w/workspace/undry_app-functions-sdk-go_hanoi@tmp/private_key_2497128886945692767.key (/w/workspace/undry_app-functions-sdk-go_hanoi@tmp/private_key_2497128886945692767.key) [2021-01-26T22:33:00.395Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-26T22:33:00.747Z] + git semver bump pre [2021-01-26T22:33:00.747Z] # -> Open(): unable to determine branch for HEAD [2021-01-26T22:33:00.747Z] # $GIT_DIR = /w/workspace/undry_app-functions-sdk-go_hanoi/.git [2021-01-26T22:33:00.747Z] # $GIT_WORK_TREE = /w/workspace/undry_app-functions-sdk-go_hanoi [2021-01-26T22:33:00.747Z] # $SEMVER_REMOTE_NAME = origin [2021-01-26T22:33:00.747Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-26T22:33:00.747Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-26T22:33:00.747Z] # $SEMVER_BRANCH = hanoi [2021-01-26T22:33:00.747Z] # $SEMVER_DIR = /w/workspace/undry_app-functions-sdk-go_hanoi/.semver [2021-01-26T22:33:00.747Z] 1.3.1-dev.2 [Pipeline] } [2021-01-26T22:33:00.759Z] $ docker exec --env ******** --env ******** 89ed427c306187b89cc8cc67d0a0e0669268954101440c343f09205730c3261a ssh-agent -k [2021-01-26T22:33:00.879Z] unset SSH_AUTH_SOCK; [2021-01-26T22:33:00.879Z] unset SSH_AGENT_PID; [2021-01-26T22:33:00.879Z] echo Agent pid 17 killed; [2021-01-26T22:33:00.930Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-26T22:33:01.471Z] + git semver [Pipeline] } [2021-01-26T22:33:01.489Z] $ docker stop --time=1 89ed427c306187b89cc8cc67d0a0e0669268954101440c343f09205730c3261a [2021-01-26T22:33:02.833Z] $ docker rm -f 89ed427c306187b89cc8cc67d0a0e0669268954101440c343f09205730c3261a [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-01-26T22:33:03.377Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-26T22:33:03.377Z] . [Pipeline] withDockerContainer [2021-01-26T22:33:03.483Z] prd-centos7-docker-4c-2g-22874 does not seem to be running inside a container [2021-01-26T22:33:03.530Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_app-functions-sdk-go_hanoi -v /w/workspace/undry_app-functions-sdk-go_hanoi:/w/workspace/undry_app-functions-sdk-go_hanoi:rw,z -v /w/workspace/undry_app-functions-sdk-go_hanoi@tmp:/w/workspace/undry_app-functions-sdk-go_hanoi@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-26T22:33:04.139Z] $ docker top cee180602dfab3734c910cc1a11bf0627350317996538c78ec81d21370e37ab6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-26T22:33:04.457Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-26T22:33:04.458Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-26T22:33:04.643Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-26T22:33:04.647Z] $ docker exec cee180602dfab3734c910cc1a11bf0627350317996538c78ec81d21370e37ab6 ssh-agent [2021-01-26T22:33:04.819Z] SSH_AUTH_SOCK=/tmp/ssh-P0wWDmPIzfRC/agent.11 [2021-01-26T22:33:04.819Z] SSH_AGENT_PID=16 [2021-01-26T22:33:04.825Z] Running ssh-add (command line suppressed) [2021-01-26T22:33:04.947Z] Identity added: /w/workspace/undry_app-functions-sdk-go_hanoi@tmp/private_key_530555859951147392.key (/w/workspace/undry_app-functions-sdk-go_hanoi@tmp/private_key_530555859951147392.key) [2021-01-26T22:33:05.003Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-26T22:33:05.362Z] + git semver push [2021-01-26T22:33:05.362Z] # -> Open(): unable to determine branch for HEAD [2021-01-26T22:33:05.362Z] # $GIT_DIR = /w/workspace/undry_app-functions-sdk-go_hanoi/.git [2021-01-26T22:33:05.363Z] # $GIT_WORK_TREE = /w/workspace/undry_app-functions-sdk-go_hanoi [2021-01-26T22:33:05.363Z] # $SEMVER_REMOTE_NAME = origin [2021-01-26T22:33:05.363Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-26T22:33:05.363Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-26T22:33:05.363Z] # $SEMVER_BRANCH = hanoi [2021-01-26T22:33:05.363Z] # $SEMVER_DIR = /w/workspace/undry_app-functions-sdk-go_hanoi/.semver [Pipeline] } [2021-01-26T22:33:11.973Z] $ docker exec --env ******** --env ******** cee180602dfab3734c910cc1a11bf0627350317996538c78ec81d21370e37ab6 ssh-agent -k [2021-01-26T22:33:12.112Z] unset SSH_AUTH_SOCK; [2021-01-26T22:33:12.113Z] unset SSH_AGENT_PID; [2021-01-26T22:33:12.113Z] echo Agent pid 16 killed; [2021-01-26T22:33:12.173Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-26T22:33:12.633Z] + git semver [Pipeline] } [2021-01-26T22:33:12.648Z] $ docker stop --time=1 cee180602dfab3734c910cc1a11bf0627350317996538c78ec81d21370e37ab6 [2021-01-26T22:33:14.005Z] $ docker rm -f cee180602dfab3734c910cc1a11bf0627350317996538c78ec81d21370e37ab6 [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-26T22:33:15.454Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-26T22:33:16.097Z] ---> package-listing.sh [2021-01-26T22:33:16.097Z] ++ facter osfamily [2021-01-26T22:33:16.097Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-26T22:33:16.097Z] + OS_FAMILY=redhat [2021-01-26T22:33:16.097Z] + workspace=/w/workspace/undry_app-functions-sdk-go_hanoi [2021-01-26T22:33:16.097Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-26T22:33:16.097Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-26T22:33:16.097Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-26T22:33:16.097Z] + PACKAGES=/tmp/packages_start.txt [2021-01-26T22:33:16.097Z] + '[' /w/workspace/undry_app-functions-sdk-go_hanoi ']' [2021-01-26T22:33:16.097Z] + PACKAGES=/tmp/packages_end.txt [2021-01-26T22:33:16.097Z] + case "${OS_FAMILY}" in [2021-01-26T22:33:16.097Z] + rpm -qa [2021-01-26T22:33:16.097Z] + sort [2021-01-26T22:33:21.498Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-26T22:33:21.498Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-26T22:33:21.498Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-26T22:33:21.498Z] + '[' /w/workspace/undry_app-functions-sdk-go_hanoi ']' [2021-01-26T22:33:21.498Z] + mkdir -p /w/workspace/undry_app-functions-sdk-go_hanoi/archives/ [2021-01-26T22:33:21.498Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_app-functions-sdk-go_hanoi/archives/ [Pipeline] echo [2021-01-26T22:33:21.514Z] 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/undry_app-functions-sdk-go_hanoi/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-26T22:33:21.813Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-26T22:33:22.118Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-26T22:33:22.118Z] [2021-01-26T22:33:22.118Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-26T22:33:22.470Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-26T22:33:22.470Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-26T22:33:22.470Z] df20fa9351a1: Pulling fs layer [2021-01-26T22:33:22.470Z] 36b3adc4ff6f: Pulling fs layer [2021-01-26T22:33:22.470Z] 8ad3a11d3b57: Pulling fs layer [2021-01-26T22:33:22.470Z] 46f8f816bc3b: Pulling fs layer [2021-01-26T22:33:22.470Z] 93b61091891f: Pulling fs layer [2021-01-26T22:33:22.470Z] 93b9cdb0e59b: Pulling fs layer [2021-01-26T22:33:22.470Z] 5e14af77c1be: Pulling fs layer [2021-01-26T22:33:22.470Z] 01666e4c0597: Pulling fs layer [2021-01-26T22:33:22.470Z] aa168da1d23b: Pulling fs layer [2021-01-26T22:33:22.470Z] 01666e4c0597: Waiting [2021-01-26T22:33:22.470Z] 5e14af77c1be: Waiting [2021-01-26T22:33:22.470Z] 46f8f816bc3b: Waiting [2021-01-26T22:33:22.470Z] 93b9cdb0e59b: Waiting [2021-01-26T22:33:22.470Z] 93b61091891f: Waiting [2021-01-26T22:33:22.470Z] 36b3adc4ff6f: Verifying Checksum [2021-01-26T22:33:22.470Z] 36b3adc4ff6f: Download complete [2021-01-26T22:33:22.470Z] 46f8f816bc3b: Verifying Checksum [2021-01-26T22:33:22.470Z] 46f8f816bc3b: Download complete [2021-01-26T22:33:22.470Z] df20fa9351a1: Verifying Checksum [2021-01-26T22:33:22.470Z] df20fa9351a1: Download complete [2021-01-26T22:33:22.733Z] 93b9cdb0e59b: Verifying Checksum [2021-01-26T22:33:22.733Z] 93b9cdb0e59b: Download complete [2021-01-26T22:33:22.733Z] 5e14af77c1be: Download complete [2021-01-26T22:33:22.733Z] 93b61091891f: Verifying Checksum [2021-01-26T22:33:22.733Z] 93b61091891f: Download complete [2021-01-26T22:33:22.733Z] 01666e4c0597: Download complete [2021-01-26T22:33:22.996Z] df20fa9351a1: Pull complete [2021-01-26T22:33:22.996Z] 8ad3a11d3b57: Verifying Checksum [2021-01-26T22:33:22.996Z] 8ad3a11d3b57: Download complete [2021-01-26T22:33:23.263Z] 36b3adc4ff6f: Pull complete [2021-01-26T22:33:24.658Z] 8ad3a11d3b57: Pull complete [2021-01-26T22:33:24.658Z] aa168da1d23b: Verifying Checksum [2021-01-26T22:33:24.658Z] aa168da1d23b: Download complete [2021-01-26T22:33:25.607Z] 46f8f816bc3b: Pull complete [2021-01-26T22:33:25.607Z] 93b61091891f: Pull complete [2021-01-26T22:33:25.868Z] 93b9cdb0e59b: Pull complete [2021-01-26T22:33:25.868Z] 5e14af77c1be: Pull complete [2021-01-26T22:33:26.132Z] 01666e4c0597: Pull complete [2021-01-26T22:33:34.353Z] aa168da1d23b: Pull complete [2021-01-26T22:33:34.353Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-26T22:33:34.353Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-26T22:33:34.353Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-26T22:33:34.583Z] prd-centos7-docker-4c-2g-22874 does not seem to be running inside a container [2021-01-26T22:33:34.639Z] $ 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/undry_app-functions-sdk-go_hanoi/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_app-functions-sdk-go_hanoi -v /w/workspace/undry_app-functions-sdk-go_hanoi:/w/workspace/undry_app-functions-sdk-go_hanoi:rw,z -v /w/workspace/undry_app-functions-sdk-go_hanoi@tmp:/w/workspace/undry_app-functions-sdk-go_hanoi@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-26T22:33:37.578Z] $ docker top 2848a4328d359fcaeca27ae569d32f58cca6816bb5c15bca3de448046bbdda14 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-26T22:33:38.074Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-26T22:33:38.371Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-26T22:33:38.668Z] + ls /var/log/sa-host [2021-01-26T22:33:38.668Z] + sadf -c /var/log/sa-host/sa23 [2021-01-26T22:33:38.668Z] file_magic: OK [2021-01-26T22:33:38.668Z] HZ: Using current value: 100 [2021-01-26T22:33:38.668Z] file_header: OK [2021-01-26T22:33:38.668Z] 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-26T22:33:38.668Z] Statistics: [2021-01-26T22:33:38.668Z] Hnuu...uuuununununu... [2021-01-26T22:33:38.668Z] File successfully converted to sysstat format version 12.2.1 [2021-01-26T22:33:38.669Z] + sadf -c /var/log/sa-host/sa26 [2021-01-26T22:33:38.669Z] file_magic: OK [2021-01-26T22:33:38.669Z] HZ: Using current value: 100 [2021-01-26T22:33:38.669Z] file_header: OK [2021-01-26T22:33:38.669Z] 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-26T22:33:38.669Z] Statistics: [2021-01-26T22:33:38.669Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-26T22:33:38.669Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-26T22:33:39.277Z] provisioning config files... [2021-01-26T22:33:39.296Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_app-functions-sdk-go_hanoi@tmp/config3125337834358655062tmp [Pipeline] { [Pipeline] echo [2021-01-26T22:33:39.377Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-26T22:33:39.671Z] ---> create-netrc.sh [Pipeline] } [2021-01-26T22:33:39.681Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-26T22:33:39.772Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-26T22:33:40.065Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-26T22:33:40.076Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-26T22:33:40.374Z] ---> sudo-logs.sh [2021-01-26T22:33:40.374Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-26T22:33:40.385Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-26T22:33:40.686Z] ---> job-cost.sh [2021-01-26T22:33:40.686Z] lf-activate-venv: SKIPPING [2021-01-26T22:33:40.686Z] INFO: No Stack... [2021-01-26T22:33:42.075Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-26T22:33:42.650Z] INFO: Archiving Costs [Pipeline] echo [2021-01-26T22:33:42.663Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-26T22:33:42.959Z] ---> logs-deploy.sh [2021-01-26T22:33:42.959Z] lf-activate-venv: SKIPPING [2021-01-26T22:33:42.959Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/hanoi/3 [2021-01-26T22:33:42.959Z] INFO: archiving workspace using pattern(s): [2021-01-26T22:33:44.880Z] Archives upload complete. [2021-01-26T22:33:44.880Z] INFO: archiving logs to Nexus