Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 5a165ca32a8f9fe6ac204cae8b26655e5f1010de 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-functions-sdk-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-18884’ is offline; ‘prd-centos7-docker-4c-2g-18886’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-18887 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision 5a165ca32a8f9fe6ac204cae8b26655e5f1010de (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 5a165ca32a8f9fe6ac204cae8b26655e5f1010de # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap (#627)" > git rev-list --no-walk 4055d1dd8d0232d758a769a2df7c6a49a08ae2d4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-07T20:58:14.090Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-07T20:58:14.415Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-07T20:58:14.518Z] ========================================================= [2021-01-07T20:58:14.518Z] EdgeX Global Pipelines Version Info [2021-01-07T20:58:14.518Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-07T20:58:16.527Z] ------------------- [2021-01-07T20:58:16.528Z] stable info: [2021-01-07T20:58:16.528Z] ------------------- [2021-01-07T20:58:16.528Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-07T20:58:16.528Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-07T20:58:16.528Z] Message: update stable to v1.0.173 [2021-01-07T20:58:17.104Z] ------------------- [2021-01-07T20:58:17.104Z] experimental info: [2021-01-07T20:58:17.104Z] ------------------- [2021-01-07T20:58:17.104Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-07T20:58:17.104Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-07T20:58:17.104Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-07T20:58:17.448Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-01-07T20:58:17.539Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-01-07T20:58:17.627Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-07T20:58:17.724Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-07T20:58:17.813Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-07T20:58:17.902Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-07T20:58:17.993Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-07T20:58:18.089Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-07T20:58:18.178Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-07T20:58:18.265Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-07T20:58:18.351Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-07T20:58:18.437Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2021-01-07T20:58:18.524Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-07T20:58:18.680Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-07T20:58:18.769Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-01-07T20:58:18.859Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-07T20:58:18.945Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-07T20:58:19.033Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-07T20:58:19.153Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-07T20:58:19.250Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-07T20:58:19.338Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-07T20:58:19.426Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-01-07T20:58:19.515Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-07T20:58:19.604Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-07T20:58:19.693Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-01-07T20:58:19.790Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-07T20:58:19.883Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-07T20:58:19.987Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-01-07T20:58:20.255Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-01-07T20:58:20.420Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-01-07T20:58:20.511Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5a165ca32a8f9fe6ac204cae8b26655e5f1010de [Pipeline] echo [2021-01-07T20:58:20.667Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5a165ca [Pipeline] echo [2021-01-07T20:58:20.775Z] [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-07T20:58:21.478Z] + git log --format=format:%s -1 5a165ca32a8f9fe6ac204cae8b26655e5f1010de [Pipeline] echo [2021-01-07T20:58:21.545Z] GIT_COMMIT: 5a165ca32a8f9fe6ac204cae8b26655e5f1010de, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap (#627) [Pipeline] echo [2021-01-07T20:58:21.592Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-07T20:58:22.371Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-07T20:58:22.636Z] [2021-01-07T20:58:22.636Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-07T20:58:22.993Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-07T20:58:22.993Z] latest: Pulling from edgex-devops/git-semver [2021-01-07T20:58:22.993Z] 31603596830f: Pulling fs layer [2021-01-07T20:58:22.993Z] 2a8b12db71e7: Pulling fs layer [2021-01-07T20:58:22.993Z] 6ca5941a6612: Pulling fs layer [2021-01-07T20:58:22.993Z] ecc8261a40a4: Pulling fs layer [2021-01-07T20:58:22.993Z] ecc8261a40a4: Waiting [2021-01-07T20:58:22.993Z] 2a8b12db71e7: Verifying Checksum [2021-01-07T20:58:22.993Z] 2a8b12db71e7: Download complete [2021-01-07T20:58:23.256Z] 31603596830f: Verifying Checksum [2021-01-07T20:58:23.256Z] 31603596830f: Download complete [2021-01-07T20:58:23.256Z] ecc8261a40a4: Verifying Checksum [2021-01-07T20:58:23.256Z] ecc8261a40a4: Download complete [2021-01-07T20:58:23.256Z] 6ca5941a6612: Verifying Checksum [2021-01-07T20:58:23.256Z] 6ca5941a6612: Download complete [2021-01-07T20:58:23.520Z] 31603596830f: Pull complete [2021-01-07T20:58:24.119Z] 2a8b12db71e7: Pull complete [2021-01-07T20:58:24.715Z] 6ca5941a6612: Pull complete [2021-01-07T20:58:24.980Z] ecc8261a40a4: Pull complete [2021-01-07T20:58:24.980Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-07T20:58:24.980Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-07T20:58:24.980Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-07T20:58:25.099Z] prd-centos7-docker-4c-2g-18887 does not seem to be running inside a container [2021-01-07T20:58:25.152Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-07T20:58:27.224Z] $ docker top e71580a3266aec11def439059cc527b08222360b1747c47ffefd2b5a32809038 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-07T20:58:27.609Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-07T20:58:27.610Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-07T20:58:27.829Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-07T20:58:27.832Z] $ docker exec e71580a3266aec11def439059cc527b08222360b1747c47ffefd2b5a32809038 ssh-agent [2021-01-07T20:58:28.010Z] SSH_AUTH_SOCK=/tmp/ssh-4OcEjnvTUJSi/agent.11 [2021-01-07T20:58:28.010Z] SSH_AGENT_PID=16 [2021-01-07T20:58:28.023Z] Running ssh-add (command line suppressed) [2021-01-07T20:58:28.157Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_2359189501331296938.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_2359189501331296938.key) [2021-01-07T20:58:28.212Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-07T20:58:28.554Z] + git tag --points-at HEAD [Pipeline] } [2021-01-07T20:58:28.578Z] $ docker exec --env ******** --env ******** e71580a3266aec11def439059cc527b08222360b1747c47ffefd2b5a32809038 ssh-agent -k [2021-01-07T20:58:28.743Z] unset SSH_AUTH_SOCK; [2021-01-07T20:58:28.747Z] unset SSH_AGENT_PID; [2021-01-07T20:58:28.747Z] echo Agent pid 16 killed; [2021-01-07T20:58:28.786Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-07T20:58:28.924Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-07T20:58:28.924Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-07T20:58:29.122Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-07T20:58:29.125Z] $ docker exec e71580a3266aec11def439059cc527b08222360b1747c47ffefd2b5a32809038 ssh-agent [2021-01-07T20:58:29.282Z] SSH_AUTH_SOCK=/tmp/ssh-GZqT5BeoejSX/agent.45 [2021-01-07T20:58:29.282Z] SSH_AGENT_PID=50 [2021-01-07T20:58:29.288Z] Running ssh-add (command line suppressed) [2021-01-07T20:58:29.404Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_2391084792518318029.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_2391084792518318029.key) [2021-01-07T20:58:29.458Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-07T20:58:29.793Z] + git semver init [2021-01-07T20:58:29.793Z] # -> Open(): unable to determine branch for HEAD [2021-01-07T20:58:29.793Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-01-07T20:58:29.793Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-01-07T20:58:29.793Z] # $SEMVER_REMOTE_NAME = origin [2021-01-07T20:58:29.793Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-07T20:58:29.793Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-07T20:58:29.793Z] # $SEMVER_BRANCH = master [2021-01-07T20:58:29.793Z] # $SEMVER_TEMP = /tmp/semver-819602174 [2021-01-07T20:58:29.793Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-01-07T20:58:32.358Z] # '/tmp/semver-819602174' -> '/w/workspace/ndry_app-functions-sdk-go_master/.semver' [2021-01-07T20:58:32.621Z] # -> Force: false [2021-01-07T20:58:32.621Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-01-07T20:58:32.634Z] $ docker exec --env ******** --env ******** e71580a3266aec11def439059cc527b08222360b1747c47ffefd2b5a32809038 ssh-agent -k [2021-01-07T20:58:32.752Z] unset SSH_AUTH_SOCK; [2021-01-07T20:58:32.752Z] unset SSH_AGENT_PID; [2021-01-07T20:58:32.752Z] echo Agent pid 50 killed; [2021-01-07T20:58:32.808Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-07T20:58:33.282Z] + git semver [Pipeline] } [2021-01-07T20:58:33.300Z] $ docker stop --time=1 e71580a3266aec11def439059cc527b08222360b1747c47ffefd2b5a32809038 [2021-01-07T20:58:34.771Z] $ docker rm -f e71580a3266aec11def439059cc527b08222360b1747c47ffefd2b5a32809038 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-07T20:58:35.317Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-07T20:58:35.748Z] Stashed 1 file(s) [Pipeline] echo [2021-01-07T20:58:35.751Z] [edgeXSemver]: initialized semver on version 1.3.1-dev.11 [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-07T20:58:51.341Z] Still waiting to schedule task [2021-01-07T20:58:51.341Z] ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-18882’ is offline; ‘prd-centos7-docker-4c-2g-18884’ is offline; ‘prd-centos7-docker-4c-2g-18888’ is offline; ‘prd-centos7-docker-4c-2g-18889’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18883’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-01-07T20:58:51.343Z] Still waiting to schedule task [2021-01-07T20:58:51.343Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-01-07T21:00:16.950Z] Running on prd-centos7-docker-4c-2g-18892 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-01-07T21:00:17.006Z] Running in /w/workspace/app-functions-sdk-go/160 [Pipeline] { [Pipeline] checkout [2021-01-07T21:00:19.858Z] using credential edgex-jenkins-ssh [2021-01-07T21:00:19.924Z] Cloning the remote Git repository [2021-01-07T21:00:19.889Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-01-07T21:00:19.965Z] > git init /w/workspace/app-functions-sdk-go/160 # timeout=10 [2021-01-07T21:00:20.034Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-01-07T21:00:20.034Z] > git --version # timeout=10 [2021-01-07T21:00:20.042Z] > git --version # 'git version 2.24.3' [2021-01-07T21:00:20.043Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-07T21:00:20.071Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-07T21:00:21.587Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-01-07T21:00:21.593Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-07T21:00:21.619Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-01-07T21:00:21.630Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-01-07T21:00:21.631Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-07T21:00:21.635Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-07T21:00:22.033Z] Checking out Revision 5a165ca32a8f9fe6ac204cae8b26655e5f1010de (master) [2021-01-07T21:00:22.045Z] > git config core.sparsecheckout # timeout=10 [2021-01-07T21:00:22.051Z] > git checkout -f 5a165ca32a8f9fe6ac204cae8b26655e5f1010de # timeout=10 [2021-01-07T21:00:25.818Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap (#627)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-07T21:00:27.262Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-07T21:00:27.596Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-07T21:00:27.893Z] + sudo service docker restart [2021-01-07T21:00:27.893Z] + true [2021-01-07T21:00:27.893Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-01-07T21:00:29.022Z] ========================================================= [2021-01-07T21:00:29.022Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-07T21:00:29.022Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-07T21:00:29.380Z] + 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-07T21:00:29.959Z] Sending build context to Docker daemon 19.07MB [2021-01-07T21:00:29.960Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-07T21:00:29.960Z] Step 2/8 : FROM ${BASE} [2021-01-07T21:00:30.228Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-07T21:00:30.228Z] 188c0c94c7c5: Pulling fs layer [2021-01-07T21:00:30.228Z] 0ef7d3d256c8: Pulling fs layer [2021-01-07T21:00:30.228Z] de9db76c5a1d: Pulling fs layer [2021-01-07T21:00:30.228Z] bca2f99d35d6: Pulling fs layer [2021-01-07T21:00:30.228Z] 93359f2a8cfa: Pulling fs layer [2021-01-07T21:00:30.228Z] 7c6f9722023f: Pulling fs layer [2021-01-07T21:00:30.228Z] a35cf1a2eb13: Pulling fs layer [2021-01-07T21:00:30.228Z] 93359f2a8cfa: Waiting [2021-01-07T21:00:30.228Z] 7c6f9722023f: Waiting [2021-01-07T21:00:30.228Z] a35cf1a2eb13: Waiting [2021-01-07T21:00:30.228Z] bca2f99d35d6: Waiting [2021-01-07T21:00:30.228Z] de9db76c5a1d: Verifying Checksum [2021-01-07T21:00:30.228Z] de9db76c5a1d: Download complete [2021-01-07T21:00:30.228Z] 0ef7d3d256c8: Verifying Checksum [2021-01-07T21:00:30.228Z] 0ef7d3d256c8: Download complete [2021-01-07T21:00:30.228Z] 93359f2a8cfa: Verifying Checksum [2021-01-07T21:00:30.228Z] 93359f2a8cfa: Download complete [2021-01-07T21:00:30.228Z] 7c6f9722023f: Verifying Checksum [2021-01-07T21:00:30.228Z] 7c6f9722023f: Download complete [2021-01-07T21:00:30.228Z] 188c0c94c7c5: Verifying Checksum [2021-01-07T21:00:30.228Z] 188c0c94c7c5: Download complete [2021-01-07T21:00:30.493Z] 188c0c94c7c5: Pull complete [2021-01-07T21:00:30.760Z] 0ef7d3d256c8: Pull complete [2021-01-07T21:00:31.027Z] de9db76c5a1d: Pull complete [2021-01-07T21:00:31.978Z] a35cf1a2eb13: Verifying Checksum [2021-01-07T21:00:31.978Z] a35cf1a2eb13: Download complete [2021-01-07T21:00:32.926Z] bca2f99d35d6: Verifying Checksum [2021-01-07T21:00:32.926Z] bca2f99d35d6: Download complete [2021-01-07T21:00:38.273Z] bca2f99d35d6: Pull complete [2021-01-07T21:00:38.537Z] 93359f2a8cfa: Pull complete [2021-01-07T21:00:38.538Z] 7c6f9722023f: Pull complete [2021-01-07T21:00:42.930Z] a35cf1a2eb13: Pull complete [2021-01-07T21:00:42.930Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-07T21:00:42.930Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-07T21:00:42.930Z] ---> a62c8e92a672 [2021-01-07T21:00:42.930Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-01-07T21:00:42.930Z] 20.10.0: Pulling from library/docker [2021-01-07T21:00:42.930Z] 05e7bc50f07f: Pulling fs layer [2021-01-07T21:00:42.930Z] 6db28d0fdbf6: Pulling fs layer [2021-01-07T21:00:42.930Z] 292df0bc6bf3: Pulling fs layer [2021-01-07T21:00:42.930Z] 2e060f4bd70b: Pulling fs layer [2021-01-07T21:00:42.930Z] 80e8d568a223: Pulling fs layer [2021-01-07T21:00:42.930Z] 8dc6ef1a942a: Pulling fs layer [2021-01-07T21:00:42.930Z] 2312dd95470a: Pulling fs layer [2021-01-07T21:00:42.930Z] 2e060f4bd70b: Waiting [2021-01-07T21:00:42.930Z] 80e8d568a223: Waiting [2021-01-07T21:00:42.930Z] 8dc6ef1a942a: Waiting [2021-01-07T21:00:42.930Z] 2312dd95470a: Waiting [2021-01-07T21:00:42.930Z] 292df0bc6bf3: Verifying Checksum [2021-01-07T21:00:42.930Z] 292df0bc6bf3: Download complete [2021-01-07T21:00:42.930Z] 6db28d0fdbf6: Verifying Checksum [2021-01-07T21:00:42.930Z] 6db28d0fdbf6: Download complete [2021-01-07T21:00:42.930Z] 80e8d568a223: Verifying Checksum [2021-01-07T21:00:42.930Z] 80e8d568a223: Download complete [2021-01-07T21:00:42.930Z] 05e7bc50f07f: Verifying Checksum [2021-01-07T21:00:42.930Z] 8dc6ef1a942a: Verifying Checksum [2021-01-07T21:00:42.930Z] 8dc6ef1a942a: Download complete [2021-01-07T21:00:42.930Z] 2312dd95470a: Download complete [2021-01-07T21:00:42.930Z] 05e7bc50f07f: Pull complete [2021-01-07T21:00:43.193Z] 6db28d0fdbf6: Pull complete [2021-01-07T21:00:43.193Z] 292df0bc6bf3: Pull complete [2021-01-07T21:00:43.463Z] 2e060f4bd70b: Verifying Checksum [2021-01-07T21:00:43.463Z] 2e060f4bd70b: Download complete [2021-01-07T21:00:46.077Z] 2e060f4bd70b: Pull complete [2021-01-07T21:00:46.077Z] 80e8d568a223: Pull complete [2021-01-07T21:00:46.350Z] 8dc6ef1a942a: Pull complete [2021-01-07T21:00:46.350Z] 2312dd95470a: Pull complete [2021-01-07T21:00:46.622Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-01-07T21:00:46.622Z] Status: Downloaded newer image for docker:20.10.0 [2021-01-07T21:00:48.047Z] ---> 7e618f3a7b5f [2021-01-07T21:00:48.047Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-07T21:00:48.047Z] ---> Running in 4cf06c5b4a2b [2021-01-07T21:00:48.047Z] Removing intermediate container 4cf06c5b4a2b [2021-01-07T21:00:48.047Z] ---> 8e386f333da3 [2021-01-07T21:00:48.047Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-01-07T21:00:48.314Z] ---> Running in 5637eda5ca45 [2021-01-07T21:00:48.951Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-07T21:00:50.358Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-07T21:00:53.686Z] (1/5) Installing libsodium (1.0.18-r0) [2021-01-07T21:00:53.686Z] (2/5) Installing libzmq (4.3.3-r0) [2021-01-07T21:00:54.263Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-01-07T21:00:54.529Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-01-07T21:00:54.529Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-01-07T21:00:54.529Z] Executing busybox-1.31.1-r19.trigger [2021-01-07T21:00:54.529Z] OK: 167 MiB in 44 packages [2021-01-07T21:00:55.479Z] Removing intermediate container 5637eda5ca45 [2021-01-07T21:00:55.479Z] ---> 8769f29e00a9 [2021-01-07T21:00:55.479Z] Step 6/8 : WORKDIR /build [2021-01-07T21:00:55.479Z] ---> Running in 025e6aa73f26 [2021-01-07T21:00:55.479Z] Removing intermediate container 025e6aa73f26 [2021-01-07T21:00:55.479Z] ---> 033328cd5b7f [2021-01-07T21:00:55.479Z] Step 7/8 : COPY go.mod . [2021-01-07T21:00:55.745Z] ---> 90d586d3372b [2021-01-07T21:00:55.745Z] Step 8/8 : RUN go mod download [2021-01-07T21:00:55.745Z] ---> Running in e2c4c88ffc26 [2021-01-07T21:01:22.434Z] Removing intermediate container e2c4c88ffc26 [2021-01-07T21:01:22.434Z] ---> 77e1f636ee66 [2021-01-07T21:01:22.434Z] Successfully built 77e1f636ee66 [2021-01-07T21:01:22.434Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-07T21:01:22.757Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-07T21:01:22.757Z] . [Pipeline] withDockerContainer [2021-01-07T21:01:22.892Z] prd-centos7-docker-4c-2g-18892 does not seem to be running inside a container [2021-01-07T21:01:22.940Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/160 -v /w/workspace/app-functions-sdk-go/160:/w/workspace/app-functions-sdk-go/160:rw,z -v /w/workspace/app-functions-sdk-go/160@tmp:/w/workspace/app-functions-sdk-go/160@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-07T21:01:23.759Z] $ docker top b9382a2284a583785a377b59536f733db9aaa793de7b82f47ca57f21cce82ea1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-07T21:01:24.318Z] + go version [2021-01-07T21:01:24.318Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-07T21:01:24.331Z] $ docker stop --time=1 b9382a2284a583785a377b59536f733db9aaa793de7b82f47ca57f21cce82ea1 [2021-01-07T21:01:25.693Z] $ docker rm -f b9382a2284a583785a377b59536f733db9aaa793de7b82f47ca57f21cce82ea1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-07T21:01:26.592Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-07T21:01:26.592Z] . [Pipeline] withDockerContainer [2021-01-07T21:01:26.831Z] prd-centos7-docker-4c-2g-18892 does not seem to be running inside a container [2021-01-07T21:01:26.928Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/160 -v /w/workspace/app-functions-sdk-go/160:/w/workspace/app-functions-sdk-go/160:rw,z -v /w/workspace/app-functions-sdk-go/160@tmp:/w/workspace/app-functions-sdk-go/160@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-07T21:01:27.722Z] $ docker top fec5edd5d95c4a7d30f5ae95458499f36d6770e40edbe8ffd7bfd6b17e33d13d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-07T21:01:28.231Z] + make test [2021-01-07T21:01:28.231Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-01-07T21:01:29.643Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2021-01-07T21:01:37.880Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.041s coverage: 86.2% of statements [2021-01-07T21:01:44.550Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 0.019s coverage: 47.9% of statements [2021-01-07T21:01:44.550Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2021-01-07T21:01:44.550Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2021-01-07T21:01:44.550Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.037s coverage: 61.5% of statements [2021-01-07T21:01:44.551Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2021-01-07T21:01:44.821Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.063s coverage: 69.1% of statements [2021-01-07T21:01:44.821Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2021-01-07T21:01:44.821Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2021-01-07T21:01:44.821Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2021-01-07T21:01:44.821Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2021-01-07T21:01:44.821Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2021-01-07T21:01:44.821Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2021-01-07T21:01:44.821Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.009s coverage: 97.7% of statements [2021-01-07T21:01:44.821Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2021-01-07T21:01:44.821Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2021-01-07T21:01:44.821Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.030s coverage: 8.8% of statements [2021-01-07T21:01:53.022Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.934s coverage: 75.0% of statements [2021-01-07T21:01:53.022Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] [2021-01-07T21:01:53.022Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.025s coverage: 87.9% of statements [2021-01-07T21:01:53.022Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.024s coverage: 80.5% of statements [2021-01-07T21:01:53.022Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.009s coverage: 71.7% of statements [2021-01-07T21:02:15.022Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.051s coverage: 81.6% of statements [2021-01-07T21:02:15.022Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.005s coverage: 94.4% of statements [2021-01-07T21:02:15.022Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-01-07T21:02:15.022Z] gofmt -l . [2021-01-07T21:02:15.022Z] [ "`gofmt -l .`" = "" ] [2021-01-07T21:02:15.022Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-07T21:02:15.303Z] $ docker stop --time=1 fec5edd5d95c4a7d30f5ae95458499f36d6770e40edbe8ffd7bfd6b17e33d13d [2021-01-07T21:02:17.127Z] $ docker rm -f fec5edd5d95c4a7d30f5ae95458499f36d6770e40edbe8ffd7bfd6b17e33d13d [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-07T21:02:17.765Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-07T21:02:18.189Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-07T21:02:22.398Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-18895 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-01-07T21:02:22.451Z] Running in /w/workspace/app-functions-sdk-go/160 [Pipeline] { [Pipeline] checkout [2021-01-07T21:02:27.725Z] using credential edgex-jenkins-ssh [2021-01-07T21:02:27.789Z] Cloning the remote Git repository [2021-01-07T21:02:27.847Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-01-07T21:02:27.965Z] > git init /w/workspace/app-functions-sdk-go/160 # timeout=10 [2021-01-07T21:02:28.047Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-01-07T21:02:28.049Z] > git --version # timeout=10 [2021-01-07T21:02:28.077Z] > git --version # 'git version 2.17.1' [2021-01-07T21:02:28.079Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-07T21:02:28.171Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-07T21:02:31.186Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-01-07T21:02:31.204Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-07T21:02:31.233Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-01-07T21:02:31.281Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-01-07T21:02:31.282Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-07T21:02:31.298Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-07T21:02:31.841Z] Checking out Revision 5a165ca32a8f9fe6ac204cae8b26655e5f1010de (master) [2021-01-07T21:02:31.852Z] > git config core.sparsecheckout # timeout=10 [2021-01-07T21:02:31.870Z] > git checkout -f 5a165ca32a8f9fe6ac204cae8b26655e5f1010de # timeout=10 [2021-01-07T21:02:36.420Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap (#627)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-07T21:02:38.201Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-07T21:02:38.729Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-07T21:02:39.081Z] + sudo service+ docker restart [2021-01-07T21:02:39.081Z] true [Pipeline] unstash [Pipeline] echo [2021-01-07T21:02:42.080Z] ========================================================= [2021-01-07T21:02:42.080Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-07T21:02:42.080Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-07T21:02:42.494Z] + 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-07T21:02:43.499Z] Sending build context to Docker daemon 19.06MB [2021-01-07T21:02:43.499Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-07T21:02:43.499Z] Step 2/8 : FROM ${BASE} [2021-01-07T21:02:43.773Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-07T21:02:43.773Z] 5f621e34cdf4: Pulling fs layer [2021-01-07T21:02:43.773Z] a4357932f1b6: Pulling fs layer [2021-01-07T21:02:43.773Z] 18c013af1878: Pulling fs layer [2021-01-07T21:02:43.773Z] 00ac8860ef70: Pulling fs layer [2021-01-07T21:02:43.773Z] 63d7cb157983: Pulling fs layer [2021-01-07T21:02:43.773Z] b116817d02f9: Pulling fs layer [2021-01-07T21:02:43.773Z] 745a02a5169b: Pulling fs layer [2021-01-07T21:02:43.773Z] 63d7cb157983: Waiting [2021-01-07T21:02:43.773Z] b116817d02f9: Waiting [2021-01-07T21:02:43.773Z] 745a02a5169b: Waiting [2021-01-07T21:02:44.051Z] 00ac8860ef70: Waiting [2021-01-07T21:02:44.051Z] 18c013af1878: Verifying Checksum [2021-01-07T21:02:44.051Z] 18c013af1878: Download complete [2021-01-07T21:02:44.051Z] a4357932f1b6: Download complete [2021-01-07T21:02:44.051Z] 63d7cb157983: Verifying Checksum [2021-01-07T21:02:44.051Z] 63d7cb157983: Download complete [2021-01-07T21:02:44.051Z] b116817d02f9: Verifying Checksum [2021-01-07T21:02:44.051Z] b116817d02f9: Download complete [2021-01-07T21:02:44.051Z] 5f621e34cdf4: Download complete [2021-01-07T21:02:44.664Z] 5f621e34cdf4: Pull complete [2021-01-07T21:02:45.275Z] a4357932f1b6: Pull complete [2021-01-07T21:02:45.886Z] 18c013af1878: Pull complete [2021-01-07T21:02:46.879Z] 745a02a5169b: Verifying Checksum [2021-01-07T21:02:46.879Z] 745a02a5169b: Download complete [2021-01-07T21:02:47.871Z] 00ac8860ef70: Verifying Checksum [2021-01-07T21:02:47.871Z] 00ac8860ef70: Download complete [2021-01-07T21:02:58.085Z] 00ac8860ef70: Pull complete [2021-01-07T21:02:58.085Z] 63d7cb157983: Pull complete [2021-01-07T21:02:58.361Z] b116817d02f9: Pull complete [2021-01-07T21:03:02.713Z] 745a02a5169b: Pull complete [2021-01-07T21:03:02.713Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-07T21:03:02.713Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-07T21:03:02.713Z] ---> b7e6874047d6 [2021-01-07T21:03:02.713Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-01-07T21:03:02.713Z] 20.10.0: Pulling from library/docker [2021-01-07T21:03:02.713Z] a3cc7d3b244e: Pulling fs layer [2021-01-07T21:03:02.713Z] 02a3295e0d61: Pulling fs layer [2021-01-07T21:03:02.713Z] 0f4f2e6d8100: Pulling fs layer [2021-01-07T21:03:02.713Z] 330b718f631f: Pulling fs layer [2021-01-07T21:03:02.713Z] a93816041522: Pulling fs layer [2021-01-07T21:03:02.713Z] bdb6da89ff94: Pulling fs layer [2021-01-07T21:03:02.713Z] 2a70c0c122f4: Pulling fs layer [2021-01-07T21:03:02.713Z] a93816041522: Waiting [2021-01-07T21:03:02.713Z] bdb6da89ff94: Waiting [2021-01-07T21:03:02.713Z] 2a70c0c122f4: Waiting [2021-01-07T21:03:02.713Z] 330b718f631f: Waiting [2021-01-07T21:03:02.713Z] 0f4f2e6d8100: Verifying Checksum [2021-01-07T21:03:02.713Z] 0f4f2e6d8100: Download complete [2021-01-07T21:03:02.713Z] 02a3295e0d61: Verifying Checksum [2021-01-07T21:03:02.713Z] 02a3295e0d61: Download complete [2021-01-07T21:03:02.713Z] a93816041522: Verifying Checksum [2021-01-07T21:03:02.713Z] a93816041522: Download complete [2021-01-07T21:03:02.713Z] a3cc7d3b244e: Verifying Checksum [2021-01-07T21:03:02.713Z] a3cc7d3b244e: Download complete [2021-01-07T21:03:02.713Z] bdb6da89ff94: Download complete [2021-01-07T21:03:02.713Z] 2a70c0c122f4: Verifying Checksum [2021-01-07T21:03:02.713Z] 2a70c0c122f4: Download complete [2021-01-07T21:03:02.989Z] a3cc7d3b244e: Pull complete [2021-01-07T21:03:03.977Z] 02a3295e0d61: Pull complete [2021-01-07T21:03:04.256Z] 0f4f2e6d8100: Pull complete [2021-01-07T21:03:05.699Z] 330b718f631f: Verifying Checksum [2021-01-07T21:03:05.699Z] 330b718f631f: Download complete [2021-01-07T21:03:10.020Z] 330b718f631f: Pull complete [2021-01-07T21:03:10.020Z] a93816041522: Pull complete [2021-01-07T21:03:10.295Z] bdb6da89ff94: Pull complete [2021-01-07T21:03:10.569Z] 2a70c0c122f4: Pull complete [2021-01-07T21:03:10.569Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-01-07T21:03:10.569Z] Status: Downloaded newer image for docker:20.10.0 [2021-01-07T21:03:17.321Z] ---> 487607a8bac5 [2021-01-07T21:03:17.321Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-01-07T21:03:17.321Z] ---> Running in 73455444c4e0 [2021-01-07T21:03:17.596Z] Removing intermediate container 73455444c4e0 [2021-01-07T21:03:17.596Z] ---> 0ce2da6ac151 [2021-01-07T21:03:17.596Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-01-07T21:03:17.874Z] ---> Running in 8b5e2be1f369 [2021-01-07T21:03:19.322Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-07T21:03:19.920Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-07T21:03:20.922Z] (1/5) Installing libsodium (1.0.18-r0) [2021-01-07T21:03:21.204Z] (2/5) Installing libzmq (4.3.3-r0) [2021-01-07T21:03:21.477Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-01-07T21:03:21.477Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-01-07T21:03:21.756Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-01-07T21:03:21.756Z] Executing busybox-1.31.1-r19.trigger [2021-01-07T21:03:21.756Z] OK: 144 MiB in 44 packages [2021-01-07T21:03:23.215Z] Removing intermediate container 8b5e2be1f369 [2021-01-07T21:03:23.215Z] ---> ec40ac92b02e [2021-01-07T21:03:23.215Z] Step 6/8 : WORKDIR /build [2021-01-07T21:03:23.491Z] ---> Running in 55bc869972da [2021-01-07T21:03:24.090Z] Removing intermediate container 55bc869972da [2021-01-07T21:03:24.090Z] ---> 330faf98a4f7 [2021-01-07T21:03:24.090Z] Step 7/8 : COPY go.mod . [2021-01-07T21:03:24.689Z] ---> 13f9baf50711 [2021-01-07T21:03:24.689Z] Step 8/8 : RUN go mod download [2021-01-07T21:03:24.966Z] ---> Running in 405c659a3d45 [2021-01-07T21:03:51.817Z] Removing intermediate container 405c659a3d45 [2021-01-07T21:03:51.817Z] ---> aaa97efbc01a [2021-01-07T21:03:51.817Z] Successfully built aaa97efbc01a [2021-01-07T21:03:51.817Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-07T21:03:52.184Z] + docker inspect -f . ci-base-image-arm64 [2021-01-07T21:03:52.184Z] . [Pipeline] withDockerContainer [2021-01-07T21:03:52.525Z] prd-ubuntu18.04-docker-arm64-4c-16g-18895 does not seem to be running inside a container [2021-01-07T21:03:52.633Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/160 -v /w/workspace/app-functions-sdk-go/160:/w/workspace/app-functions-sdk-go/160:rw,z -v /w/workspace/app-functions-sdk-go/160@tmp:/w/workspace/app-functions-sdk-go/160@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-07T21:03:54.260Z] $ docker top a6d999d668d7efd2aa5f1d4738f23231cbf882776169256bf1b43565441b2b03 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-07T21:03:55.256Z] + go version [2021-01-07T21:03:55.256Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-07T21:03:55.274Z] $ docker stop --time=1 a6d999d668d7efd2aa5f1d4738f23231cbf882776169256bf1b43565441b2b03 [2021-01-07T21:03:57.174Z] $ docker rm -f a6d999d668d7efd2aa5f1d4738f23231cbf882776169256bf1b43565441b2b03 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-07T21:03:58.134Z] + docker inspect -f . ci-base-image-arm64 [2021-01-07T21:03:58.134Z] . [Pipeline] withDockerContainer [2021-01-07T21:03:58.373Z] prd-ubuntu18.04-docker-arm64-4c-16g-18895 does not seem to be running inside a container [2021-01-07T21:03:58.455Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/160 -v /w/workspace/app-functions-sdk-go/160:/w/workspace/app-functions-sdk-go/160:rw,z -v /w/workspace/app-functions-sdk-go/160@tmp:/w/workspace/app-functions-sdk-go/160@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-07T21:03:59.900Z] $ docker top 0a2fa270b284e051bfee637f78fde6d40323e4a5976fffe4c83261911c74a1af -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-07T21:04:00.905Z] + make test [2021-01-07T21:04:00.905Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-01-07T21:04:02.364Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2021-01-07T21:04:29.379Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.038s coverage: 86.2% of statements [2021-01-07T21:04:56.270Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 0.069s coverage: 47.9% of statements [2021-01-07T21:04:56.270Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2021-01-07T21:04:56.270Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2021-01-07T21:04:56.270Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.114s coverage: 61.5% of statements [2021-01-07T21:04:56.270Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2021-01-07T21:04:56.270Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.035s coverage: 69.1% of statements [2021-01-07T21:04:56.270Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2021-01-07T21:04:56.270Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2021-01-07T21:04:56.270Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2021-01-07T21:04:56.270Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2021-01-07T21:04:56.270Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2021-01-07T21:04:56.270Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2021-01-07T21:04:56.270Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.013s coverage: 97.7% of statements [2021-01-07T21:04:56.270Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2021-01-07T21:04:56.270Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2021-01-07T21:04:56.270Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.028s coverage: 8.8% of statements [2021-01-07T21:05:01.721Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.959s coverage: 75.0% of statements [2021-01-07T21:05:01.721Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] [2021-01-07T21:05:01.721Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.047s coverage: 87.9% of statements [2021-01-07T21:05:01.721Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.049s coverage: 80.5% of statements [2021-01-07T21:05:01.721Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.020s coverage: 71.7% of statements [2021-01-07T21:05:23.868Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.060s coverage: 81.6% of statements [2021-01-07T21:05:23.868Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.015s coverage: 94.4% of statements [2021-01-07T21:05:23.868Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-01-07T21:05:34.067Z] gofmt -l . [2021-01-07T21:05:34.067Z] [ "`gofmt -l .`" = "" ] [2021-01-07T21:05:34.346Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-07T21:05:34.965Z] $ docker stop --time=1 0a2fa270b284e051bfee637f78fde6d40323e4a5976fffe4c83261911c74a1af [2021-01-07T21:05:37.096Z] $ docker rm -f 0a2fa270b284e051bfee637f78fde6d40323e4a5976fffe4c83261911c74a1af [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-07T21:05:38.046Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-07T21:05:38.112Z] Warning: overwriting stash ‘coverage-report’ [2021-01-07T21:05:38.914Z] 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-07T21:05:40.594Z] provisioning config files... [2021-01-07T21:05:40.607Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config1542708953258112048tmp [Pipeline] { [Pipeline] sh [2021-01-07T21:05:41.084Z] + set +x [2021-01-07T21:05:41.084Z] + curl -s https://codecov.io/bash [2021-01-07T21:05:41.084Z] + bash -s -- [2021-01-07T21:05:41.349Z] [2021-01-07T21:05:41.349Z] _____ _ [2021-01-07T21:05:41.349Z] / ____| | | [2021-01-07T21:05:41.349Z] | | ___ __| | ___ ___ _____ __ [2021-01-07T21:05:41.349Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-07T21:05:41.349Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-07T21:05:41.349Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-07T21:05:41.349Z] Bash-20201231-23d4836 [2021-01-07T21:05:41.349Z] [2021-01-07T21:05:41.349Z] [2021-01-07T21:05:41.349Z] ==> git version 2.24.3 found [2021-01-07T21:05:41.349Z] ==> 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-07T21:05:41.349Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-07T21:05:41.349Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-07T21:05:41.349Z] ==> Jenkins CI detected. [2021-01-07T21:05:41.349Z] project root: . [2021-01-07T21:05:41.349Z] --> token set from env [2021-01-07T21:05:41.349Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-07T21:05:41.349Z] ==> Running gcov in . (disable via -X gcov) [2021-01-07T21:05:41.349Z] ==> Python coveragepy not found [2021-01-07T21:05:41.349Z] ==> Searching for coverage reports in: [2021-01-07T21:05:41.349Z] + . [2021-01-07T21:05:41.349Z] -> Found 1 reports [2021-01-07T21:05:41.349Z] ==> Detecting git/mercurial file structure [2021-01-07T21:05:41.349Z] ==> Reading reports [2021-01-07T21:05:41.349Z] + ./coverage.out bytes=71081 [2021-01-07T21:05:41.349Z] ==> Appending adjustments [2021-01-07T21:05:41.349Z] https://docs.codecov.io/docs/fixing-reports [2021-01-07T21:05:41.925Z] + Found adjustments [2021-01-07T21:05:41.925Z] ==> Gzipping contents [2021-01-07T21:05:41.925Z] 16K /tmp/codecov.oTHoj8.gz [2021-01-07T21:05:41.926Z] ==> Uploading reports [2021-01-07T21:05:41.926Z] url: https://codecov.io [2021-01-07T21:05:41.926Z] query: branch=master&commit=5a165ca32a8f9fe6ac204cae8b26655e5f1010de&build=160&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F160%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-01-07T21:05:41.926Z] -> Pinging Codecov [2021-01-07T21:05:41.926Z] https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=master&commit=5a165ca32a8f9fe6ac204cae8b26655e5f1010de&build=160&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F160%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-01-07T21:05:42.188Z] -> Uploading to [2021-01-07T21:05:42.188Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-07/3D8B5DFFC46A037C893635FACE044666/5a165ca32a8f9fe6ac204cae8b26655e5f1010de/2475e5ca-6944-4aee-b31f-d4559c4dbf1b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210107%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210107T210542Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d651db6ca4a0c70bca95f25e13744346d900076e664c7e8811eb5d5a103620f0 [2021-01-07T21:05:42.188Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-07T21:05:42.188Z] Dload Upload Total Spent Left Speed [2021-01-07T21:05:42.763Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12672 0 0 100 12672 0 25877 --:--:-- --:--:-- --:--:-- 25861 100 12672 0 0 100 12672 0 25865 --:--:-- --:--:-- --:--:-- 25861 [2021-01-07T21:05:42.763Z] -> View reports at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/5a165ca32a8f9fe6ac204cae8b26655e5f1010de [Pipeline] } [2021-01-07T21:05:42.774Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-01-07T21:05:43.627Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-01-07T21:05:43.707Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-07T21:05:44.052Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-07T21:05:44.053Z] [2021-01-07T21:05:44.053Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-01-07T21:05:44.413Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-07T21:05:44.413Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-01-07T21:05:44.413Z] 188c0c94c7c5: Pulling fs layer [2021-01-07T21:05:44.413Z] 0ef7d3d256c8: Pulling fs layer [2021-01-07T21:05:44.413Z] de9db76c5a1d: Pulling fs layer [2021-01-07T21:05:44.413Z] 0eba1c9be4d2: Pulling fs layer [2021-01-07T21:05:44.413Z] 0d57e429df01: Pulling fs layer [2021-01-07T21:05:44.413Z] 4e4be7b47b0d: Pulling fs layer [2021-01-07T21:05:44.413Z] e1f770b5df2f: Pulling fs layer [2021-01-07T21:05:44.413Z] 85a0685a4137: Pulling fs layer [2021-01-07T21:05:44.413Z] 0eba1c9be4d2: Waiting [2021-01-07T21:05:44.413Z] 0d57e429df01: Waiting [2021-01-07T21:05:44.413Z] 4e4be7b47b0d: Waiting [2021-01-07T21:05:44.413Z] e1f770b5df2f: Waiting [2021-01-07T21:05:44.413Z] 85a0685a4137: Waiting [2021-01-07T21:05:44.413Z] de9db76c5a1d: Verifying Checksum [2021-01-07T21:05:44.413Z] de9db76c5a1d: Download complete [2021-01-07T21:05:44.413Z] 0ef7d3d256c8: Verifying Checksum [2021-01-07T21:05:44.413Z] 0ef7d3d256c8: Download complete [2021-01-07T21:05:44.413Z] 0d57e429df01: Verifying Checksum [2021-01-07T21:05:44.413Z] 0d57e429df01: Download complete [2021-01-07T21:05:44.413Z] 4e4be7b47b0d: Verifying Checksum [2021-01-07T21:05:44.413Z] 4e4be7b47b0d: Download complete [2021-01-07T21:05:44.413Z] 188c0c94c7c5: Verifying Checksum [2021-01-07T21:05:44.413Z] 188c0c94c7c5: Download complete [2021-01-07T21:05:44.990Z] 188c0c94c7c5: Pull complete [2021-01-07T21:05:45.253Z] 0ef7d3d256c8: Pull complete [2021-01-07T21:05:45.253Z] de9db76c5a1d: Pull complete [2021-01-07T21:05:45.829Z] e1f770b5df2f: Verifying Checksum [2021-01-07T21:05:45.829Z] e1f770b5df2f: Download complete [2021-01-07T21:05:47.770Z] 0eba1c9be4d2: Verifying Checksum [2021-01-07T21:05:47.770Z] 0eba1c9be4d2: Download complete [2021-01-07T21:05:47.770Z] 85a0685a4137: Verifying Checksum [2021-01-07T21:05:47.770Z] 85a0685a4137: Download complete [2021-01-07T21:05:53.106Z] 0eba1c9be4d2: Pull complete [2021-01-07T21:05:53.106Z] 0d57e429df01: Pull complete [2021-01-07T21:05:53.106Z] 4e4be7b47b0d: Pull complete [2021-01-07T21:05:55.040Z] e1f770b5df2f: Pull complete [2021-01-07T21:06:03.260Z] 85a0685a4137: Pull complete [2021-01-07T21:06:03.260Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-01-07T21:06:03.260Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-07T21:06:03.260Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-01-07T21:06:03.512Z] prd-centos7-docker-4c-2g-18887 does not seem to be running inside a container [2021-01-07T21:06:03.566Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-01-07T21:06:04.639Z] $ docker top 64bd49c17cbf1095f88dbf990512c715570d4680433ccbe24af638a6de5c94c8 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-01-07T21:06:04.889Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-01-07T21:06:05.189Z] + set -o pipefail [2021-01-07T21:06:05.189Z] + snyk monitor '--org=edgex-jenkins' [2021-01-07T21:06:17.486Z] [2021-01-07T21:06:17.487Z] Monitoring /w/workspace/ndry_app-functions-sdk-go_master (github.com/edgexfoundry/app-functions-sdk-go)... [2021-01-07T21:06:17.487Z] [2021-01-07T21:06:17.487Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/84a89414-c83d-4daa-8ff9-7ceae658ecfc/history/fe9ddf53-5718-4ae1-801b-292af56f52c1 [2021-01-07T21:06:17.487Z] [2021-01-07T21:06:17.487Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-01-07T21:06:17.487Z] [2021-01-07T21:06:17.487Z] [Pipeline] } [2021-01-07T21:06:17.503Z] $ docker stop --time=1 64bd49c17cbf1095f88dbf990512c715570d4680433ccbe24af638a6de5c94c8 [2021-01-07T21:06:19.914Z] $ docker rm -f 64bd49c17cbf1095f88dbf990512c715570d4680433ccbe24af638a6de5c94c8 [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-07T21:06:21.488Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-07T21:06:21.548Z] provisioning config files... [2021-01-07T21:06:21.559Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config8493356534923052724tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-07T21:06:21.964Z] --> edgex-publish-swagger.sh [2021-01-07T21:06:21.964Z] === Publish openapi/v2 API === [2021-01-07T21:06:21.964Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-01-07T21:06:21.964Z] [publishToSwagger] Publishing API Name [app-functions-sdk] [2021-01-07T21:06:21.964Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-07T21:06:21.964Z] Dload Upload Total Spent Left Speed [2021-01-07T21:06:23.380Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13025 0 0 100 13025 0 10438 0:00:01 0:00:01 --:--:-- 10445 100 13025 0 0 100 13025 0 10321 0:00:01 0:00:01 --:--:-- 10329 [2021-01-07T21:06:23.380Z] [2021-01-07T21:06:23.380Z] [Pipeline] } [2021-01-07T21:06:23.391Z] 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-07T21:06:24.282Z] + git log --format=format:%s -1 5a165ca32a8f9fe6ac204cae8b26655e5f1010de [Pipeline] isUnix [Pipeline] sh [2021-01-07T21:06:24.596Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-07T21:06:24.596Z] . [Pipeline] withDockerContainer [2021-01-07T21:06:24.689Z] prd-centos7-docker-4c-2g-18887 does not seem to be running inside a container [2021-01-07T21:06:24.735Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-07T21:06:25.677Z] $ docker top 096bd4da1c59fed2c28ca217ed56181696c922df277e2908020392f952e26d42 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-07T21:06:26.007Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-07T21:06:26.007Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-07T21:06:26.241Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-07T21:06:26.245Z] $ docker exec 096bd4da1c59fed2c28ca217ed56181696c922df277e2908020392f952e26d42 ssh-agent [2021-01-07T21:06:26.416Z] SSH_AUTH_SOCK=/tmp/ssh-yiozRvIbbd4w/agent.13 [2021-01-07T21:06:26.416Z] SSH_AGENT_PID=19 [2021-01-07T21:06:26.423Z] Running ssh-add (command line suppressed) [2021-01-07T21:06:26.561Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_1978187827473230568.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_1978187827473230568.key) [2021-01-07T21:06:26.621Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-07T21:06:26.956Z] + git semver tag [2021-01-07T21:06:26.956Z] # -> Open(): unable to determine branch for HEAD [2021-01-07T21:06:26.956Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-01-07T21:06:26.956Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-01-07T21:06:26.956Z] # $SEMVER_REMOTE_NAME = origin [2021-01-07T21:06:26.956Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-07T21:06:26.956Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-07T21:06:26.956Z] # $SEMVER_BRANCH = master [2021-01-07T21:06:26.956Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-01-07T21:06:26.956Z] # 5a165ca32a8f9fe6ac204cae8b26655e5f1010de HEAD [2021-01-07T21:06:27.218Z] # -> Force: false [2021-01-07T21:06:27.218Z] # 2bcb5d615bc971fb8ac48b711c8a1b9765b1f048 refs/tags/v1.3.1-dev.11 [Pipeline] } [2021-01-07T21:06:27.233Z] $ docker exec --env ******** --env ******** 096bd4da1c59fed2c28ca217ed56181696c922df277e2908020392f952e26d42 ssh-agent -k [2021-01-07T21:06:27.351Z] unset SSH_AUTH_SOCK; [2021-01-07T21:06:27.351Z] unset SSH_AGENT_PID; [2021-01-07T21:06:27.351Z] echo Agent pid 19 killed; [2021-01-07T21:06:27.404Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-07T21:06:27.889Z] + git semver [Pipeline] } [2021-01-07T21:06:27.908Z] $ docker stop --time=1 096bd4da1c59fed2c28ca217ed56181696c922df277e2908020392f952e26d42 [2021-01-07T21:06:29.259Z] $ docker rm -f 096bd4da1c59fed2c28ca217ed56181696c922df277e2908020392f952e26d42 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-01-07T21:06:29.876Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-07T21:06:29.876Z] [2021-01-07T21:06:29.877Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-01-07T21:06:30.225Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-07T21:06:30.225Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-01-07T21:06:30.225Z] ab5ef0e58194: Pulling fs layer [2021-01-07T21:06:30.225Z] 9712f1f96733: Pulling fs layer [2021-01-07T21:06:30.225Z] 63f879dbbcfc: Pulling fs layer [2021-01-07T21:06:30.225Z] 0d9ebad4ef96: Pulling fs layer [2021-01-07T21:06:30.225Z] e9a5061849ea: Pulling fs layer [2021-01-07T21:06:30.225Z] d747dcd14b5f: Pulling fs layer [2021-01-07T21:06:30.225Z] 2de7ff778b66: Pulling fs layer [2021-01-07T21:06:30.225Z] 0d9ebad4ef96: Waiting [2021-01-07T21:06:30.225Z] e9a5061849ea: Waiting [2021-01-07T21:06:30.225Z] d747dcd14b5f: Waiting [2021-01-07T21:06:30.225Z] 2de7ff778b66: Waiting [2021-01-07T21:06:30.225Z] 9712f1f96733: Verifying Checksum [2021-01-07T21:06:30.225Z] 9712f1f96733: Download complete [2021-01-07T21:06:31.664Z] 63f879dbbcfc: Verifying Checksum [2021-01-07T21:06:31.664Z] 63f879dbbcfc: Download complete [2021-01-07T21:06:32.323Z] e9a5061849ea: Verifying Checksum [2021-01-07T21:06:32.323Z] e9a5061849ea: Download complete [2021-01-07T21:06:32.323Z] d747dcd14b5f: Verifying Checksum [2021-01-07T21:06:32.323Z] d747dcd14b5f: Download complete [2021-01-07T21:06:32.961Z] ab5ef0e58194: Download complete [2021-01-07T21:06:32.961Z] 2de7ff778b66: Verifying Checksum [2021-01-07T21:06:32.961Z] 2de7ff778b66: Download complete [2021-01-07T21:06:33.226Z] 0d9ebad4ef96: Download complete [2021-01-07T21:06:38.541Z] ab5ef0e58194: Pull complete [2021-01-07T21:06:38.541Z] 9712f1f96733: Pull complete [2021-01-07T21:06:41.110Z] 63f879dbbcfc: Pull complete [2021-01-07T21:06:47.732Z] 0d9ebad4ef96: Pull complete [2021-01-07T21:06:49.127Z] e9a5061849ea: Pull complete [2021-01-07T21:06:49.127Z] d747dcd14b5f: Pull complete [2021-01-07T21:06:51.685Z] 2de7ff778b66: Pull complete [2021-01-07T21:06:51.685Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-01-07T21:06:51.685Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-07T21:06:51.685Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-01-07T21:06:51.859Z] prd-centos7-docker-4c-2g-18887 does not seem to be running inside a container [2021-01-07T21:06:51.907Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-01-07T21:06:55.990Z] $ docker top 88d53447aefa50cc35725a6416d081cb12930124fd332b920ed1f233976b1434 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-01-07T21:06:56.254Z] provisioning config files... [2021-01-07T21:06:56.268Z] copy managed file [sigul-config] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config8221848716554207308tmp [2021-01-07T21:06:56.287Z] copy managed file [sigul-password] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config1281353514672523205tmp [2021-01-07T21:06:56.306Z] copy managed file [sigul-pki] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config4225250001931075395tmp [Pipeline] { [Pipeline] echo [2021-01-07T21:06:56.366Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-07T21:06:56.669Z] ---> sigul-configuration.sh [2021-01-07T21:06:56.669Z] gpg: directory `/root/.gnupg' created [2021-01-07T21:06:56.669Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-01-07T21:06:56.669Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-01-07T21:06:56.669Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-01-07T21:06:56.669Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-01-07T21:06:56.669Z] gpg: CAST5 encrypted data [2021-01-07T21:06:56.934Z] gpg: encrypted with 1 passphrase [2021-01-07T21:06:56.934Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-01-07T21:06:57.241Z] + mkdir /home/jenkins [2021-01-07T21:06:57.241Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-01-07T21:06:57.544Z] + 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-07T21:06:57.555Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-07T21:06:57.858Z] ---> sigul-install.sh [2021-01-07T21:07:03.173Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-01-07T21:07:03.479Z] + git tag --list [2021-01-07T21:07:03.479Z] v0.1.0 [2021-01-07T21:07:03.479Z] v0.1.1 [2021-01-07T21:07:03.479Z] v1.0.0 [2021-01-07T21:07:03.479Z] v1.1.0 [2021-01-07T21:07:03.479Z] v1.2.0 [2021-01-07T21:07:03.479Z] v1.2.1-dev.1 [2021-01-07T21:07:03.479Z] v1.2.1-dev.10 [2021-01-07T21:07:03.479Z] v1.2.1-dev.11 [2021-01-07T21:07:03.479Z] v1.2.1-dev.12 [2021-01-07T21:07:03.479Z] v1.2.1-dev.13 [2021-01-07T21:07:03.479Z] v1.2.1-dev.14 [2021-01-07T21:07:03.479Z] v1.2.1-dev.15 [2021-01-07T21:07:03.479Z] v1.2.1-dev.16 [2021-01-07T21:07:03.479Z] v1.2.1-dev.17 [2021-01-07T21:07:03.479Z] v1.2.1-dev.18 [2021-01-07T21:07:03.479Z] v1.2.1-dev.19 [2021-01-07T21:07:03.479Z] v1.2.1-dev.2 [2021-01-07T21:07:03.479Z] v1.2.1-dev.20 [2021-01-07T21:07:03.479Z] v1.2.1-dev.21 [2021-01-07T21:07:03.479Z] v1.2.1-dev.22 [2021-01-07T21:07:03.479Z] v1.2.1-dev.23 [2021-01-07T21:07:03.479Z] v1.2.1-dev.24 [2021-01-07T21:07:03.479Z] v1.2.1-dev.25 [2021-01-07T21:07:03.479Z] v1.2.1-dev.26 [2021-01-07T21:07:03.479Z] v1.2.1-dev.27 [2021-01-07T21:07:03.479Z] v1.2.1-dev.28 [2021-01-07T21:07:03.479Z] v1.2.1-dev.29 [2021-01-07T21:07:03.479Z] v1.2.1-dev.3 [2021-01-07T21:07:03.479Z] v1.2.1-dev.30 [2021-01-07T21:07:03.479Z] v1.2.1-dev.31 [2021-01-07T21:07:03.479Z] v1.2.1-dev.32 [2021-01-07T21:07:03.479Z] v1.2.1-dev.33 [2021-01-07T21:07:03.479Z] v1.2.1-dev.34 [2021-01-07T21:07:03.479Z] v1.2.1-dev.35 [2021-01-07T21:07:03.479Z] v1.2.1-dev.36 [2021-01-07T21:07:03.479Z] v1.2.1-dev.37 [2021-01-07T21:07:03.479Z] v1.2.1-dev.38 [2021-01-07T21:07:03.479Z] v1.2.1-dev.39 [2021-01-07T21:07:03.479Z] v1.2.1-dev.4 [2021-01-07T21:07:03.479Z] v1.2.1-dev.40 [2021-01-07T21:07:03.479Z] v1.2.1-dev.41 [2021-01-07T21:07:03.479Z] v1.2.1-dev.42 [2021-01-07T21:07:03.479Z] v1.2.1-dev.43 [2021-01-07T21:07:03.479Z] v1.2.1-dev.44 [2021-01-07T21:07:03.479Z] v1.2.1-dev.45 [2021-01-07T21:07:03.479Z] v1.2.1-dev.46 [2021-01-07T21:07:03.479Z] v1.2.1-dev.47 [2021-01-07T21:07:03.479Z] v1.2.1-dev.48 [2021-01-07T21:07:03.479Z] v1.2.1-dev.49 [2021-01-07T21:07:03.479Z] v1.2.1-dev.5 [2021-01-07T21:07:03.479Z] v1.2.1-dev.50 [2021-01-07T21:07:03.479Z] v1.2.1-dev.51 [2021-01-07T21:07:03.479Z] v1.2.1-dev.52 [2021-01-07T21:07:03.479Z] v1.2.1-dev.53 [2021-01-07T21:07:03.479Z] v1.2.1-dev.54 [2021-01-07T21:07:03.479Z] v1.2.1-dev.55 [2021-01-07T21:07:03.479Z] v1.2.1-dev.56 [2021-01-07T21:07:03.479Z] v1.2.1-dev.57 [2021-01-07T21:07:03.479Z] v1.2.1-dev.58 [2021-01-07T21:07:03.479Z] v1.2.1-dev.6 [2021-01-07T21:07:03.479Z] v1.2.1-dev.7 [2021-01-07T21:07:03.479Z] v1.2.1-dev.8 [2021-01-07T21:07:03.479Z] v1.2.1-dev.9 [2021-01-07T21:07:03.479Z] v1.3.0 [2021-01-07T21:07:03.479Z] v1.3.1-dev.1 [2021-01-07T21:07:03.479Z] v1.3.1-dev.10 [2021-01-07T21:07:03.479Z] v1.3.1-dev.11 [2021-01-07T21:07:03.479Z] v1.3.1-dev.2 [2021-01-07T21:07:03.479Z] v1.3.1-dev.3 [2021-01-07T21:07:03.479Z] v1.3.1-dev.4 [2021-01-07T21:07:03.479Z] v1.3.1-dev.5 [2021-01-07T21:07:03.479Z] v1.3.1-dev.6 [2021-01-07T21:07:03.479Z] v1.3.1-dev.7 [2021-01-07T21:07:03.479Z] v1.3.1-dev.8 [2021-01-07T21:07:03.479Z] v1.3.1-dev.9 [Pipeline] sh [2021-01-07T21:07:03.779Z] + lftools sign git-tag v1.3.1-dev.11 [2021-01-07T21:07:05.169Z] Signing Git tag with Sigul... [2021-01-07T21:07:05.169Z] Signing v1.3.1-dev.11 [Pipeline] echo [2021-01-07T21:07:06.129Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-07T21:07:06.428Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-01-07T21:07:06.439Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-01-07T21:07:06.536Z] $ docker stop --time=1 88d53447aefa50cc35725a6416d081cb12930124fd332b920ed1f233976b1434 [2021-01-07T21:07:08.598Z] $ docker rm -f 88d53447aefa50cc35725a6416d081cb12930124fd332b920ed1f233976b1434 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-01-07T21:07:09.559Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-07T21:07:09.559Z] . [Pipeline] withDockerContainer [2021-01-07T21:07:09.663Z] prd-centos7-docker-4c-2g-18887 does not seem to be running inside a container [2021-01-07T21:07:09.725Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-07T21:07:10.369Z] $ docker top ee18af56672781ce7988a961eaa72d7b138880c513fe0764e610b0999429a06c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-07T21:07:10.678Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-07T21:07:10.678Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-07T21:07:10.885Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-07T21:07:10.890Z] $ docker exec ee18af56672781ce7988a961eaa72d7b138880c513fe0764e610b0999429a06c ssh-agent [2021-01-07T21:07:11.068Z] SSH_AUTH_SOCK=/tmp/ssh-PZCLMSJtwj8s/agent.13 [2021-01-07T21:07:11.068Z] SSH_AGENT_PID=19 [2021-01-07T21:07:11.075Z] Running ssh-add (command line suppressed) [2021-01-07T21:07:11.208Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4520818097881927929.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4520818097881927929.key) [2021-01-07T21:07:11.274Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-07T21:07:11.626Z] + git semver bump pre [2021-01-07T21:07:11.626Z] # -> Open(): unable to determine branch for HEAD [2021-01-07T21:07:11.626Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-01-07T21:07:11.626Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-01-07T21:07:11.626Z] # $SEMVER_REMOTE_NAME = origin [2021-01-07T21:07:11.626Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-07T21:07:11.626Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-07T21:07:11.626Z] # $SEMVER_BRANCH = master [2021-01-07T21:07:11.626Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-01-07T21:07:11.626Z] 1.3.1-dev.12 [Pipeline] } [2021-01-07T21:07:11.642Z] $ docker exec --env ******** --env ******** ee18af56672781ce7988a961eaa72d7b138880c513fe0764e610b0999429a06c ssh-agent -k [2021-01-07T21:07:11.761Z] unset SSH_AUTH_SOCK; [2021-01-07T21:07:11.761Z] unset SSH_AGENT_PID; [2021-01-07T21:07:11.761Z] echo Agent pid 19 killed; [2021-01-07T21:07:11.814Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-07T21:07:12.315Z] + git semver [Pipeline] } [2021-01-07T21:07:12.335Z] $ docker stop --time=1 ee18af56672781ce7988a961eaa72d7b138880c513fe0764e610b0999429a06c [2021-01-07T21:07:13.690Z] $ docker rm -f ee18af56672781ce7988a961eaa72d7b138880c513fe0764e610b0999429a06c [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-01-07T21:07:14.264Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-07T21:07:14.265Z] . [Pipeline] withDockerContainer [2021-01-07T21:07:14.379Z] prd-centos7-docker-4c-2g-18887 does not seem to be running inside a container [2021-01-07T21:07:14.444Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-07T21:07:15.127Z] $ docker top da4bcba7b5260afc0b70d03b3804d3e3fa13a00ccebc8725aec934cea343e77f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-07T21:07:15.442Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-07T21:07:15.442Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-07T21:07:15.653Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-07T21:07:15.658Z] $ docker exec da4bcba7b5260afc0b70d03b3804d3e3fa13a00ccebc8725aec934cea343e77f ssh-agent [2021-01-07T21:07:15.845Z] SSH_AUTH_SOCK=/tmp/ssh-ftQBQqbhAk39/agent.12 [2021-01-07T21:07:15.845Z] SSH_AGENT_PID=18 [2021-01-07T21:07:15.853Z] Running ssh-add (command line suppressed) [2021-01-07T21:07:15.993Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4555781865905519003.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4555781865905519003.key) [2021-01-07T21:07:16.052Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-07T21:07:16.392Z] + git semver push [2021-01-07T21:07:16.392Z] # -> Open(): unable to determine branch for HEAD [2021-01-07T21:07:16.392Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-01-07T21:07:16.392Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-01-07T21:07:16.392Z] # $SEMVER_REMOTE_NAME = origin [2021-01-07T21:07:16.392Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-07T21:07:16.392Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-07T21:07:16.392Z] # $SEMVER_BRANCH = master [2021-01-07T21:07:16.392Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-01-07T21:07:23.093Z] $ docker exec --env ******** --env ******** da4bcba7b5260afc0b70d03b3804d3e3fa13a00ccebc8725aec934cea343e77f ssh-agent -k [2021-01-07T21:07:23.263Z] unset SSH_AUTH_SOCK; [2021-01-07T21:07:23.265Z] unset SSH_AGENT_PID; [2021-01-07T21:07:23.265Z] echo Agent pid 18 killed; [2021-01-07T21:07:23.323Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-07T21:07:23.815Z] + git semver [Pipeline] } [2021-01-07T21:07:23.835Z] $ docker stop --time=1 da4bcba7b5260afc0b70d03b3804d3e3fa13a00ccebc8725aec934cea343e77f [2021-01-07T21:07:25.653Z] $ docker rm -f da4bcba7b5260afc0b70d03b3804d3e3fa13a00ccebc8725aec934cea343e77f [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-07T21:07:27.116Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-07T21:07:27.691Z] ---> package-listing.sh [2021-01-07T21:07:27.691Z] ++ facter osfamily [2021-01-07T21:07:27.691Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-07T21:07:27.691Z] + OS_FAMILY=redhat [2021-01-07T21:07:27.691Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_master [2021-01-07T21:07:27.691Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-07T21:07:27.691Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-07T21:07:27.691Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-07T21:07:27.691Z] + PACKAGES=/tmp/packages_start.txt [2021-01-07T21:07:27.691Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-01-07T21:07:27.691Z] + PACKAGES=/tmp/packages_end.txt [2021-01-07T21:07:27.691Z] + case "${OS_FAMILY}" in [2021-01-07T21:07:27.691Z] + rpm -qa [2021-01-07T21:07:27.691Z] + sort [2021-01-07T21:07:32.994Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-07T21:07:32.994Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-07T21:07:32.994Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-07T21:07:32.994Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-01-07T21:07:32.994Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_master/archives/ [2021-01-07T21:07:32.994Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_master/archives/ [Pipeline] echo [2021-01-07T21:07:33.008Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-07T21:07:33.302Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-07T21:07:33.609Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-07T21:07:33.610Z] [2021-01-07T21:07:33.610Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-07T21:07:33.958Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-07T21:07:33.958Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-07T21:07:33.958Z] df20fa9351a1: Pulling fs layer [2021-01-07T21:07:33.958Z] 36b3adc4ff6f: Pulling fs layer [2021-01-07T21:07:33.958Z] 8ad3a11d3b57: Pulling fs layer [2021-01-07T21:07:33.958Z] 46f8f816bc3b: Pulling fs layer [2021-01-07T21:07:33.958Z] 93b61091891f: Pulling fs layer [2021-01-07T21:07:33.958Z] 93b9cdb0e59b: Pulling fs layer [2021-01-07T21:07:33.958Z] 5e14af77c1be: Pulling fs layer [2021-01-07T21:07:33.958Z] 01666e4c0597: Pulling fs layer [2021-01-07T21:07:33.958Z] aa168da1d23b: Pulling fs layer [2021-01-07T21:07:33.958Z] 93b9cdb0e59b: Waiting [2021-01-07T21:07:33.958Z] 5e14af77c1be: Waiting [2021-01-07T21:07:33.958Z] 01666e4c0597: Waiting [2021-01-07T21:07:33.958Z] aa168da1d23b: Waiting [2021-01-07T21:07:33.958Z] 46f8f816bc3b: Waiting [2021-01-07T21:07:33.958Z] 93b61091891f: Waiting [2021-01-07T21:07:33.958Z] 36b3adc4ff6f: Verifying Checksum [2021-01-07T21:07:33.958Z] 36b3adc4ff6f: Download complete [2021-01-07T21:07:33.958Z] 46f8f816bc3b: Verifying Checksum [2021-01-07T21:07:33.958Z] 46f8f816bc3b: Download complete [2021-01-07T21:07:33.958Z] df20fa9351a1: Download complete [2021-01-07T21:07:33.958Z] 93b9cdb0e59b: Verifying Checksum [2021-01-07T21:07:33.958Z] 93b9cdb0e59b: Download complete [2021-01-07T21:07:33.958Z] 5e14af77c1be: Verifying Checksum [2021-01-07T21:07:33.958Z] 5e14af77c1be: Download complete [2021-01-07T21:07:34.222Z] 93b61091891f: Verifying Checksum [2021-01-07T21:07:34.223Z] 93b61091891f: Download complete [2021-01-07T21:07:34.223Z] 01666e4c0597: Verifying Checksum [2021-01-07T21:07:34.223Z] 01666e4c0597: Download complete [2021-01-07T21:07:34.223Z] 8ad3a11d3b57: Verifying Checksum [2021-01-07T21:07:34.223Z] 8ad3a11d3b57: Download complete [2021-01-07T21:07:34.498Z] df20fa9351a1: Pull complete [2021-01-07T21:07:34.762Z] 36b3adc4ff6f: Pull complete [2021-01-07T21:07:36.159Z] 8ad3a11d3b57: Pull complete [2021-01-07T21:07:36.159Z] aa168da1d23b: Verifying Checksum [2021-01-07T21:07:36.159Z] aa168da1d23b: Download complete [2021-01-07T21:07:36.422Z] 46f8f816bc3b: Pull complete [2021-01-07T21:07:37.005Z] 93b61091891f: Pull complete [2021-01-07T21:07:37.268Z] 93b9cdb0e59b: Pull complete [2021-01-07T21:07:37.268Z] 5e14af77c1be: Pull complete [2021-01-07T21:07:37.530Z] 01666e4c0597: Pull complete [2021-01-07T21:07:45.700Z] aa168da1d23b: Pull complete [2021-01-07T21:07:45.700Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-07T21:07:45.700Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-07T21:07:45.700Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-07T21:07:45.896Z] prd-centos7-docker-4c-2g-18887 does not seem to be running inside a container [2021-01-07T21:07:45.947Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-07T21:07:48.568Z] $ docker top f4e19b67f25af9da20d215af0c46c4e5e9cd54083ac31b50929d333e2f53b249 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-07T21:07:49.050Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-07T21:07:49.361Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-07T21:07:49.665Z] + ls /var/log/sa-host [2021-01-07T21:07:49.665Z] + sadf -c /var/log/sa-host/sa07 [2021-01-07T21:07:49.665Z] file_magic: OK [2021-01-07T21:07:49.665Z] HZ: Using current value: 100 [2021-01-07T21:07:49.665Z] file_header: OK [2021-01-07T21:07:49.665Z] 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-07T21:07:49.665Z] Statistics: [2021-01-07T21:07:49.665Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-07T21:07:49.665Z] File successfully converted to sysstat format version 12.2.1 [2021-01-07T21:07:49.665Z] + sadf -c /var/log/sa-host/sa23 [2021-01-07T21:07:49.665Z] file_magic: OK [2021-01-07T21:07:49.665Z] HZ: Using current value: 100 [2021-01-07T21:07:49.665Z] file_header: OK [2021-01-07T21:07:49.665Z] 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-07T21:07:49.665Z] Statistics: [2021-01-07T21:07:49.665Z] Hnuu...uuuununununu... [2021-01-07T21:07:49.665Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-07T21:07:49.912Z] provisioning config files... [2021-01-07T21:07:49.938Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config1730185801197248343tmp [Pipeline] { [Pipeline] echo [2021-01-07T21:07:50.009Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-07T21:07:50.308Z] ---> create-netrc.sh [Pipeline] } [2021-01-07T21:07:50.318Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-07T21:07:50.425Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-07T21:07:50.725Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-07T21:07:50.736Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-07T21:07:51.036Z] ---> sudo-logs.sh [2021-01-07T21:07:51.036Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-07T21:07:51.048Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-07T21:07:51.345Z] ---> job-cost.sh [2021-01-07T21:07:51.345Z] lf-activate-venv: SKIPPING [2021-01-07T21:07:51.345Z] INFO: No Stack... [2021-01-07T21:07:52.291Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-07T21:07:52.864Z] INFO: Archiving Costs [Pipeline] echo [2021-01-07T21:07:52.879Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-07T21:07:53.178Z] ---> logs-deploy.sh [2021-01-07T21:07:53.178Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/master/160 [2021-01-07T21:07:53.178Z] INFO: archiving workspace using pattern(s): [2021-01-07T21:07:55.108Z] Archives upload complete. [2021-01-07T21:07:55.109Z] INFO: archiving logs to Nexus