Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from d78c271fc58e0b0b1163e796583a0e1e72dfcd52 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-16616 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision d78c271fc58e0b0b1163e796583a0e1e72dfcd52 (master) > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d78c271fc58e0b0b1163e796583a0e1e72dfcd52 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts (#608)" > git rev-list --no-walk c9ed7d50ea1ae9051570182c8cb685d3221d57d1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-17T21:18:49.958Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-17T21:18:50.207Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-17T21:18:50.302Z] ========================================================= [2020-12-17T21:18:50.302Z] EdgeX Global Pipelines Version Info [2020-12-17T21:18:50.302Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-17T21:18:51.794Z] ------------------- [2020-12-17T21:18:51.794Z] stable info: [2020-12-17T21:18:51.794Z] ------------------- [2020-12-17T21:18:51.794Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-17T21:18:51.794Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-17T21:18:51.794Z] Message: update stable to v1.0.173 [2020-12-17T21:18:52.745Z] ------------------- [2020-12-17T21:18:52.745Z] experimental info: [2020-12-17T21:18:52.745Z] ------------------- [2020-12-17T21:18:52.745Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-17T21:18:52.745Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-17T21:18:52.745Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-17T21:18:53.028Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2020-12-17T21:18:53.117Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2020-12-17T21:18:53.209Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-17T21:18:53.297Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-17T21:18:53.386Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-17T21:18:53.527Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-17T21:18:53.637Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-17T21:18:53.805Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-17T21:18:53.911Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-12-17T21:18:54.011Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-17T21:18:54.120Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-17T21:18:54.233Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2020-12-17T21:18:54.324Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-17T21:18:54.422Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-17T21:18:54.542Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2020-12-17T21:18:54.641Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-17T21:18:54.747Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-17T21:18:54.849Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-17T21:18:54.939Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-17T21:18:55.032Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-17T21:18:55.136Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-12-17T21:18:55.237Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2020-12-17T21:18:55.337Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-17T21:18:55.428Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-17T21:18:55.521Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2020-12-17T21:18:55.610Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-17T21:18:55.756Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2020-12-17T21:18:55.871Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2020-12-17T21:18:55.958Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2020-12-17T21:18:56.050Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2020-12-17T21:18:56.139Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d78c271fc58e0b0b1163e796583a0e1e72dfcd52 [Pipeline] echo [2020-12-17T21:18:56.249Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d78c271 [Pipeline] echo [2020-12-17T21:18:56.367Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-17T21:18:57.122Z] + git log --format=format:%s -1 d78c271fc58e0b0b1163e796583a0e1e72dfcd52 [Pipeline] echo [2020-12-17T21:18:57.198Z] GIT_COMMIT: d78c271fc58e0b0b1163e796583a0e1e72dfcd52, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts (#608) [Pipeline] echo [2020-12-17T21:18:57.242Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-17T21:18:58.055Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-17T21:18:58.317Z] [2020-12-17T21:18:58.317Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-17T21:18:58.673Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-17T21:18:58.673Z] latest: Pulling from edgex-devops/git-semver [2020-12-17T21:18:58.673Z] 31603596830f: Pulling fs layer [2020-12-17T21:18:58.673Z] 2a8b12db71e7: Pulling fs layer [2020-12-17T21:18:58.673Z] 6ca5941a6612: Pulling fs layer [2020-12-17T21:18:58.673Z] ecc8261a40a4: Pulling fs layer [2020-12-17T21:18:58.673Z] ecc8261a40a4: Waiting [2020-12-17T21:18:58.673Z] 2a8b12db71e7: Verifying Checksum [2020-12-17T21:18:58.673Z] 2a8b12db71e7: Download complete [2020-12-17T21:18:58.942Z] 31603596830f: Verifying Checksum [2020-12-17T21:18:58.942Z] 31603596830f: Download complete [2020-12-17T21:18:58.942Z] ecc8261a40a4: Verifying Checksum [2020-12-17T21:18:58.942Z] ecc8261a40a4: Download complete [2020-12-17T21:18:58.942Z] 6ca5941a6612: Verifying Checksum [2020-12-17T21:18:58.942Z] 6ca5941a6612: Download complete [2020-12-17T21:18:59.206Z] 31603596830f: Pull complete [2020-12-17T21:18:59.473Z] 2a8b12db71e7: Pull complete [2020-12-17T21:19:00.059Z] 6ca5941a6612: Pull complete [2020-12-17T21:19:00.321Z] ecc8261a40a4: Pull complete [2020-12-17T21:19:00.321Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-17T21:19:00.584Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-17T21:19:00.584Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-17T21:19:00.697Z] prd-centos7-docker-4c-2g-16616 does not seem to be running inside a container [2020-12-17T21:19:00.814Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-17T21:19:02.901Z] $ docker top 4f93cd6cdfe2f351ab06df20bff64571b4762dc7761f4fadc3db999186207138 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-17T21:19:03.208Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-17T21:19:03.208Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-17T21:19:03.428Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-17T21:19:03.439Z] $ docker exec 4f93cd6cdfe2f351ab06df20bff64571b4762dc7761f4fadc3db999186207138 ssh-agent [2020-12-17T21:19:03.606Z] SSH_AUTH_SOCK=/tmp/ssh-LgNRNR2gOeqj/agent.11 [2020-12-17T21:19:03.606Z] SSH_AGENT_PID=17 [2020-12-17T21:19:03.617Z] Running ssh-add (command line suppressed) [2020-12-17T21:19:03.780Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_6523099038200382251.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_6523099038200382251.key) [2020-12-17T21:19:03.971Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-17T21:19:04.306Z] + git tag --points-at HEAD [Pipeline] } [2020-12-17T21:19:04.330Z] $ docker exec --env ******** --env ******** 4f93cd6cdfe2f351ab06df20bff64571b4762dc7761f4fadc3db999186207138 ssh-agent -k [2020-12-17T21:19:04.458Z] unset SSH_AUTH_SOCK; [2020-12-17T21:19:04.459Z] unset SSH_AGENT_PID; [2020-12-17T21:19:04.459Z] echo Agent pid 17 killed; [2020-12-17T21:19:04.505Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-17T21:19:04.639Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-17T21:19:04.640Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-17T21:19:04.816Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-17T21:19:04.822Z] $ docker exec 4f93cd6cdfe2f351ab06df20bff64571b4762dc7761f4fadc3db999186207138 ssh-agent [2020-12-17T21:19:04.984Z] SSH_AUTH_SOCK=/tmp/ssh-MX6Kk0svyBT1/agent.45 [2020-12-17T21:19:04.984Z] SSH_AGENT_PID=51 [2020-12-17T21:19:04.991Z] Running ssh-add (command line suppressed) [2020-12-17T21:19:05.115Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_3485471836045872716.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_3485471836045872716.key) [2020-12-17T21:19:05.171Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-17T21:19:05.514Z] + git semver init [2020-12-17T21:19:05.514Z] # -> Open(): unable to determine branch for HEAD [2020-12-17T21:19:05.514Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2020-12-17T21:19:05.514Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2020-12-17T21:19:05.514Z] # $SEMVER_REMOTE_NAME = origin [2020-12-17T21:19:05.514Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-17T21:19:05.514Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-17T21:19:05.514Z] # $SEMVER_BRANCH = master [2020-12-17T21:19:05.514Z] # $SEMVER_TEMP = /tmp/semver-782825052 [2020-12-17T21:19:05.514Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2020-12-17T21:19:08.126Z] # '/tmp/semver-782825052' -> '/w/workspace/ndry_app-functions-sdk-go_master/.semver' [2020-12-17T21:19:08.126Z] # -> Force: false [2020-12-17T21:19:08.126Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2020-12-17T21:19:08.158Z] $ docker exec --env ******** --env ******** 4f93cd6cdfe2f351ab06df20bff64571b4762dc7761f4fadc3db999186207138 ssh-agent -k [2020-12-17T21:19:08.280Z] unset SSH_AUTH_SOCK; [2020-12-17T21:19:08.281Z] unset SSH_AGENT_PID; [2020-12-17T21:19:08.281Z] echo Agent pid 51 killed; [2020-12-17T21:19:08.349Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-17T21:19:08.950Z] + git semver [Pipeline] } [2020-12-17T21:19:08.999Z] $ docker stop --time=1 4f93cd6cdfe2f351ab06df20bff64571b4762dc7761f4fadc3db999186207138 [2020-12-17T21:19:10.514Z] $ docker rm -f 4f93cd6cdfe2f351ab06df20bff64571b4762dc7761f4fadc3db999186207138 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-17T21:19:11.030Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-17T21:19:11.552Z] Stashed 1 file(s) [Pipeline] echo [2020-12-17T21:19:11.555Z] [edgeXSemver]: initialized semver on version 1.3.1-dev.6 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-12-17T21:19:27.176Z] Still waiting to schedule task [2020-12-17T21:19:27.176Z] ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-16613’ is offline; ‘prd-centos7-docker-4c-2g-16615’ is offline; ‘prd-centos7-docker-4c-2g-16617’ is offline; ‘prd-centos7-docker-4c-2g-16618’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-16614’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-12-17T21:19:27.179Z] Still waiting to schedule task [2020-12-17T21:19:27.179Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-16614’ is offline [2020-12-17T21:20:25.279Z] Running on prd-centos7-docker-4c-2g-16620 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2020-12-17T21:20:25.347Z] Running in /w/workspace/app-functions-sdk-go/155 [Pipeline] { [Pipeline] checkout [2020-12-17T21:20:28.961Z] using credential edgex-jenkins-ssh [2020-12-17T21:20:29.021Z] Cloning the remote Git repository [2020-12-17T21:20:28.931Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-12-17T21:20:29.004Z] > git init /w/workspace/app-functions-sdk-go/155 # timeout=10 [2020-12-17T21:20:29.073Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-12-17T21:20:29.073Z] > git --version # timeout=10 [2020-12-17T21:20:29.081Z] > git --version # 'git version 2.24.3' [2020-12-17T21:20:29.082Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-17T21:20:29.150Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-17T21:20:31.158Z] Checking out Revision d78c271fc58e0b0b1163e796583a0e1e72dfcd52 (master) [2020-12-17T21:20:30.754Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-12-17T21:20:30.761Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-17T21:20:30.770Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-12-17T21:20:30.781Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-12-17T21:20:30.781Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-17T21:20:30.785Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-17T21:20:31.169Z] > git config core.sparsecheckout # timeout=10 [2020-12-17T21:20:31.174Z] > git checkout -f d78c271fc58e0b0b1163e796583a0e1e72dfcd52 # timeout=10 [2020-12-17T21:20:34.821Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts (#608)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-17T21:20:36.366Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-17T21:20:36.690Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-17T21:20:36.987Z] + true [2020-12-17T21:20:36.987Z] + sudo service docker restart [2020-12-17T21:20:36.987Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2020-12-17T21:20:38.062Z] ========================================================= [2020-12-17T21:20:38.062Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-17T21:20:38.062Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-17T21:20:38.413Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-12-17T21:20:38.992Z] Sending build context to Docker daemon 19.15MB [2020-12-17T21:20:38.992Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-17T21:20:38.992Z] Step 2/8 : FROM ${BASE} [2020-12-17T21:20:38.992Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-17T21:20:38.992Z] 188c0c94c7c5: Pulling fs layer [2020-12-17T21:20:38.992Z] 0ef7d3d256c8: Pulling fs layer [2020-12-17T21:20:38.992Z] de9db76c5a1d: Pulling fs layer [2020-12-17T21:20:38.992Z] bca2f99d35d6: Pulling fs layer [2020-12-17T21:20:38.992Z] 93359f2a8cfa: Pulling fs layer [2020-12-17T21:20:38.992Z] 7c6f9722023f: Pulling fs layer [2020-12-17T21:20:38.992Z] a35cf1a2eb13: Pulling fs layer [2020-12-17T21:20:38.992Z] bca2f99d35d6: Waiting [2020-12-17T21:20:38.992Z] 93359f2a8cfa: Waiting [2020-12-17T21:20:38.992Z] 7c6f9722023f: Waiting [2020-12-17T21:20:38.992Z] a35cf1a2eb13: Waiting [2020-12-17T21:20:38.992Z] de9db76c5a1d: Verifying Checksum [2020-12-17T21:20:38.992Z] de9db76c5a1d: Download complete [2020-12-17T21:20:38.992Z] 0ef7d3d256c8: Verifying Checksum [2020-12-17T21:20:38.992Z] 0ef7d3d256c8: Download complete [2020-12-17T21:20:39.263Z] 93359f2a8cfa: Verifying Checksum [2020-12-17T21:20:39.263Z] 93359f2a8cfa: Download complete [2020-12-17T21:20:39.263Z] 7c6f9722023f: Verifying Checksum [2020-12-17T21:20:39.263Z] 7c6f9722023f: Download complete [2020-12-17T21:20:39.263Z] 188c0c94c7c5: Verifying Checksum [2020-12-17T21:20:39.263Z] 188c0c94c7c5: Download complete [2020-12-17T21:20:39.542Z] 188c0c94c7c5: Pull complete [2020-12-17T21:20:39.542Z] 0ef7d3d256c8: Pull complete [2020-12-17T21:20:39.835Z] de9db76c5a1d: Pull complete [2020-12-17T21:20:41.796Z] a35cf1a2eb13: Verifying Checksum [2020-12-17T21:20:41.796Z] a35cf1a2eb13: Download complete [2020-12-17T21:20:42.785Z] bca2f99d35d6: Verifying Checksum [2020-12-17T21:20:42.785Z] bca2f99d35d6: Download complete [2020-12-17T21:20:48.185Z] bca2f99d35d6: Pull complete [2020-12-17T21:20:48.185Z] 93359f2a8cfa: Pull complete [2020-12-17T21:20:48.185Z] 7c6f9722023f: Pull complete [2020-12-17T21:20:53.609Z] a35cf1a2eb13: Pull complete [2020-12-17T21:20:53.609Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-17T21:20:53.609Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-17T21:20:53.609Z] ---> a62c8e92a672 [2020-12-17T21:20:53.609Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-12-17T21:20:53.609Z] latest: Pulling from library/docker [2020-12-17T21:20:53.609Z] 05e7bc50f07f: Pulling fs layer [2020-12-17T21:20:53.609Z] 6db28d0fdbf6: Pulling fs layer [2020-12-17T21:20:53.609Z] 292df0bc6bf3: Pulling fs layer [2020-12-17T21:20:53.609Z] a3104fdc50d0: Pulling fs layer [2020-12-17T21:20:53.609Z] a8e67d69e12c: Pulling fs layer [2020-12-17T21:20:53.609Z] 1ede2b221ee4: Pulling fs layer [2020-12-17T21:20:53.609Z] fc74c0d5b799: Pulling fs layer [2020-12-17T21:20:53.609Z] a3104fdc50d0: Waiting [2020-12-17T21:20:53.609Z] a8e67d69e12c: Waiting [2020-12-17T21:20:53.609Z] fc74c0d5b799: Waiting [2020-12-17T21:20:53.609Z] 292df0bc6bf3: Download complete [2020-12-17T21:20:53.609Z] 05e7bc50f07f: Download complete [2020-12-17T21:20:53.609Z] 6db28d0fdbf6: Download complete [2020-12-17T21:20:53.609Z] a8e67d69e12c: Verifying Checksum [2020-12-17T21:20:53.609Z] a8e67d69e12c: Download complete [2020-12-17T21:20:53.609Z] 1ede2b221ee4: Verifying Checksum [2020-12-17T21:20:53.609Z] 1ede2b221ee4: Download complete [2020-12-17T21:20:53.609Z] fc74c0d5b799: Verifying Checksum [2020-12-17T21:20:53.609Z] fc74c0d5b799: Download complete [2020-12-17T21:20:53.609Z] 05e7bc50f07f: Pull complete [2020-12-17T21:20:53.876Z] 6db28d0fdbf6: Pull complete [2020-12-17T21:20:53.876Z] 292df0bc6bf3: Pull complete [2020-12-17T21:20:54.455Z] a3104fdc50d0: Verifying Checksum [2020-12-17T21:20:54.455Z] a3104fdc50d0: Download complete [2020-12-17T21:20:57.028Z] a3104fdc50d0: Pull complete [2020-12-17T21:20:57.294Z] a8e67d69e12c: Pull complete [2020-12-17T21:20:57.294Z] 1ede2b221ee4: Pull complete [2020-12-17T21:20:57.562Z] fc74c0d5b799: Pull complete [2020-12-17T21:20:57.562Z] Digest: sha256:2150209ece9a657dd6d7572b659b2eace81e78d15289a9e69bd26d0f8098dde0 [2020-12-17T21:20:57.562Z] Status: Downloaded newer image for docker:latest [2020-12-17T21:20:58.973Z] ---> 36f590491f1d [2020-12-17T21:20:58.973Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-17T21:20:58.973Z] ---> Running in 8de19f3d6e79 [2020-12-17T21:20:59.259Z] Removing intermediate container 8de19f3d6e79 [2020-12-17T21:20:59.259Z] ---> b050999d3dc5 [2020-12-17T21:20:59.259Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-12-17T21:20:59.259Z] ---> Running in fc1456f841ea [2020-12-17T21:21:00.247Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-17T21:21:00.856Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-17T21:21:01.833Z] (1/5) Installing libsodium (1.0.18-r0) [2020-12-17T21:21:01.833Z] (2/5) Installing libzmq (4.3.3-r0) [2020-12-17T21:21:02.096Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-12-17T21:21:02.096Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-12-17T21:21:02.096Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-12-17T21:21:02.359Z] Executing busybox-1.31.1-r19.trigger [2020-12-17T21:21:02.359Z] OK: 167 MiB in 44 packages [2020-12-17T21:21:03.306Z] Removing intermediate container fc1456f841ea [2020-12-17T21:21:03.306Z] ---> d9a55e9afc77 [2020-12-17T21:21:03.306Z] Step 6/8 : WORKDIR /build [2020-12-17T21:21:03.306Z] ---> Running in e949eae8f55d [2020-12-17T21:21:03.306Z] Removing intermediate container e949eae8f55d [2020-12-17T21:21:03.306Z] ---> e87ba1c4018a [2020-12-17T21:21:03.306Z] Step 7/8 : COPY go.mod . [2020-12-17T21:21:03.571Z] ---> 6da2da6d4e05 [2020-12-17T21:21:03.571Z] Step 8/8 : RUN go mod download [2020-12-17T21:21:03.571Z] ---> Running in 56c2f4c7fa0e [2020-12-17T21:21:20.720Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-16621 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2020-12-17T21:21:20.882Z] Running in /w/workspace/app-functions-sdk-go/155 [Pipeline] { [Pipeline] checkout [2020-12-17T21:21:26.941Z] using credential edgex-jenkins-ssh [2020-12-17T21:21:27.012Z] Cloning the remote Git repository [2020-12-17T21:21:27.062Z] Removing intermediate container 56c2f4c7fa0e [2020-12-17T21:21:27.063Z] ---> aa78c9536257 [2020-12-17T21:21:27.063Z] Successfully built aa78c9536257 [2020-12-17T21:21:27.063Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-17T21:21:27.072Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-12-17T21:21:27.204Z] > git init /w/workspace/app-functions-sdk-go/155 # timeout=10 [2020-12-17T21:21:27.383Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-17T21:21:27.383Z] . [Pipeline] withDockerContainer [2020-12-17T21:21:27.523Z] prd-centos7-docker-4c-2g-16620 does not seem to be running inside a container [2020-12-17T21:21:27.587Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/155 -v /w/workspace/app-functions-sdk-go/155:/w/workspace/app-functions-sdk-go/155:rw,z -v /w/workspace/app-functions-sdk-go/155@tmp:/w/workspace/app-functions-sdk-go/155@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 [2020-12-17T21:21:28.410Z] $ docker top dca93aeee524a124d850fd382be94fe686fec8acdac1b11b000e2b669975650e -eo pid,comm [2020-12-17T21:21:27.290Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-12-17T21:21:27.291Z] > git --version # timeout=10 [2020-12-17T21:21:27.316Z] > git --version # 'git version 2.17.1' [2020-12-17T21:21:27.317Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-17T21:21:27.404Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] { [Pipeline] sh [2020-12-17T21:21:28.909Z] + go version [2020-12-17T21:21:28.909Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-17T21:21:28.929Z] $ docker stop --time=1 dca93aeee524a124d850fd382be94fe686fec8acdac1b11b000e2b669975650e [2020-12-17T21:21:30.301Z] $ docker rm -f dca93aeee524a124d850fd382be94fe686fec8acdac1b11b000e2b669975650e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-17T21:21:31.186Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-17T21:21:31.186Z] . [Pipeline] withDockerContainer [2020-12-17T21:21:31.216Z] Checking out Revision d78c271fc58e0b0b1163e796583a0e1e72dfcd52 (master) [2020-12-17T21:21:30.633Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-12-17T21:21:30.651Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-17T21:21:30.679Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2020-12-17T21:21:30.716Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2020-12-17T21:21:30.716Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-17T21:21:30.731Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-17T21:21:31.236Z] > git config core.sparsecheckout # timeout=10 [2020-12-17T21:21:31.267Z] > git checkout -f d78c271fc58e0b0b1163e796583a0e1e72dfcd52 # timeout=10 [2020-12-17T21:21:31.292Z] prd-centos7-docker-4c-2g-16620 does not seem to be running inside a container [2020-12-17T21:21:31.345Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/155 -v /w/workspace/app-functions-sdk-go/155:/w/workspace/app-functions-sdk-go/155:rw,z -v /w/workspace/app-functions-sdk-go/155@tmp:/w/workspace/app-functions-sdk-go/155@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 [2020-12-17T21:21:32.056Z] $ docker top 0dac2f9922dd198901ed67888e780af13cc3b833e767f6be47ae87495c9226e3 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-17T21:21:32.619Z] + make test [2020-12-17T21:21:32.620Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-12-17T21:21:34.030Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-12-17T21:21:35.768Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts (#608)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-17T21:21:37.439Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-17T21:21:37.845Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-17T21:21:38.198Z] + true [2020-12-17T21:21:38.198Z] + sudo service docker restart [2020-12-17T21:21:40.743Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.025s coverage: 86.2% of statements [Pipeline] unstash [Pipeline] echo [2020-12-17T21:21:41.150Z] ========================================================= [2020-12-17T21:21:41.150Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-17T21:21:41.150Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-17T21:21:41.585Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-12-17T21:21:42.603Z] Sending build context to Docker daemon 19.14MB [2020-12-17T21:21:42.603Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-17T21:21:42.603Z] Step 2/8 : FROM ${BASE} [2020-12-17T21:21:43.206Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-17T21:21:43.206Z] 5f621e34cdf4: Pulling fs layer [2020-12-17T21:21:43.206Z] a4357932f1b6: Pulling fs layer [2020-12-17T21:21:43.206Z] 18c013af1878: Pulling fs layer [2020-12-17T21:21:43.206Z] 00ac8860ef70: Pulling fs layer [2020-12-17T21:21:43.206Z] 63d7cb157983: Pulling fs layer [2020-12-17T21:21:43.206Z] b116817d02f9: Pulling fs layer [2020-12-17T21:21:43.206Z] 745a02a5169b: Pulling fs layer [2020-12-17T21:21:43.206Z] 00ac8860ef70: Waiting [2020-12-17T21:21:43.206Z] 63d7cb157983: Waiting [2020-12-17T21:21:43.206Z] 745a02a5169b: Waiting [2020-12-17T21:21:43.206Z] b116817d02f9: Waiting [2020-12-17T21:21:43.206Z] 18c013af1878: Verifying Checksum [2020-12-17T21:21:43.206Z] 18c013af1878: Download complete [2020-12-17T21:21:43.206Z] a4357932f1b6: Download complete [2020-12-17T21:21:43.206Z] 63d7cb157983: Verifying Checksum [2020-12-17T21:21:43.206Z] 63d7cb157983: Download complete [2020-12-17T21:21:43.206Z] b116817d02f9: Verifying Checksum [2020-12-17T21:21:43.206Z] b116817d02f9: Download complete [2020-12-17T21:21:43.206Z] 5f621e34cdf4: Verifying Checksum [2020-12-17T21:21:43.206Z] 5f621e34cdf4: Download complete [2020-12-17T21:21:44.197Z] 5f621e34cdf4: Pull complete [2020-12-17T21:21:44.480Z] a4357932f1b6: Pull complete [2020-12-17T21:21:45.127Z] 18c013af1878: Pull complete [2020-12-17T21:21:45.402Z] 745a02a5169b: Verifying Checksum [2020-12-17T21:21:45.402Z] 745a02a5169b: Download complete [2020-12-17T21:21:46.861Z] 00ac8860ef70: Verifying Checksum [2020-12-17T21:21:46.861Z] 00ac8860ef70: Download complete [2020-12-17T21:21:53.142Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.044s coverage: 50.5% of statements [2020-12-17T21:21:53.142Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-12-17T21:21:53.142Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-12-17T21:21:53.142Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.051s coverage: 54.7% of statements [2020-12-17T21:21:53.142Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-12-17T21:21:53.142Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.054s coverage: 69.1% of statements [2020-12-17T21:21:57.059Z] 00ac8860ef70: Pull complete [2020-12-17T21:21:57.342Z] 63d7cb157983: Pull complete [2020-12-17T21:21:57.630Z] b116817d02f9: Pull complete [2020-12-17T21:22:01.038Z] 745a02a5169b: Pull complete [2020-12-17T21:22:01.038Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-17T21:22:01.038Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-17T21:22:01.038Z] ---> b7e6874047d6 [2020-12-17T21:22:01.038Z] Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker [2020-12-17T21:22:01.038Z] latest: Pulling from library/docker [2020-12-17T21:22:01.038Z] a3cc7d3b244e: Pulling fs layer [2020-12-17T21:22:01.038Z] 02a3295e0d61: Pulling fs layer [2020-12-17T21:22:01.038Z] 0f4f2e6d8100: Pulling fs layer [2020-12-17T21:22:01.038Z] 065c9533d613: Pulling fs layer [2020-12-17T21:22:01.038Z] 9fce0df16b8b: Pulling fs layer [2020-12-17T21:22:01.038Z] e3faa53604c1: Pulling fs layer [2020-12-17T21:22:01.038Z] 04b5adaa2053: Pulling fs layer [2020-12-17T21:22:01.038Z] 065c9533d613: Waiting [2020-12-17T21:22:01.038Z] 9fce0df16b8b: Waiting [2020-12-17T21:22:01.038Z] e3faa53604c1: Waiting [2020-12-17T21:22:01.038Z] 04b5adaa2053: Waiting [2020-12-17T21:22:01.038Z] 0f4f2e6d8100: Verifying Checksum [2020-12-17T21:22:01.038Z] 0f4f2e6d8100: Download complete [2020-12-17T21:22:01.320Z] 02a3295e0d61: Verifying Checksum [2020-12-17T21:22:01.320Z] 02a3295e0d61: Download complete [2020-12-17T21:22:01.320Z] 9fce0df16b8b: Verifying Checksum [2020-12-17T21:22:01.320Z] 9fce0df16b8b: Download complete [2020-12-17T21:22:01.320Z] a3cc7d3b244e: Verifying Checksum [2020-12-17T21:22:01.320Z] a3cc7d3b244e: Download complete [2020-12-17T21:22:01.320Z] e3faa53604c1: Verifying Checksum [2020-12-17T21:22:01.320Z] e3faa53604c1: Download complete [2020-12-17T21:22:01.320Z] 04b5adaa2053: Verifying Checksum [2020-12-17T21:22:01.320Z] 04b5adaa2053: Download complete [2020-12-17T21:22:02.312Z] a3cc7d3b244e: Pull complete [2020-12-17T21:22:02.919Z] 02a3295e0d61: Pull complete [2020-12-17T21:22:03.196Z] 0f4f2e6d8100: Pull complete [2020-12-17T21:22:03.196Z] 065c9533d613: Verifying Checksum [2020-12-17T21:22:03.196Z] 065c9533d613: Download complete [2020-12-17T21:22:05.452Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.428s coverage: 61.6% of statements [2020-12-17T21:22:05.452Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.005s coverage: 89.5% of statements [2020-12-17T21:22:05.452Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.006s coverage: 100.0% of statements [2020-12-17T21:22:05.452Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.016s coverage: 100.0% of statements [2020-12-17T21:22:05.452Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.005s coverage: 100.0% of statements [2020-12-17T21:22:05.452Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.006s coverage: 100.0% of statements [2020-12-17T21:22:05.452Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-12-17T21:22:05.452Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-12-17T21:22:05.452Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-12-17T21:22:05.452Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-12-17T21:22:05.452Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-12-17T21:22:05.452Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-12-17T21:22:05.452Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-12-17T21:22:05.452Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.005s coverage: 97.7% of statements [2020-12-17T21:22:05.452Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-12-17T21:22:05.452Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-12-17T21:22:05.452Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.009s coverage: 8.8% of statements [2020-12-17T21:22:05.452Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.918s coverage: 75.0% of statements [2020-12-17T21:22:05.452Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] [2020-12-17T21:22:05.452Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.012s coverage: 89.7% of statements [2020-12-17T21:22:05.452Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.009s coverage: 88.9% of statements [2020-12-17T21:22:05.452Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.012s coverage: 80.5% of statements [2020-12-17T21:22:05.452Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.007s coverage: 71.7% of statements [2020-12-17T21:22:07.535Z] 065c9533d613: Pull complete [2020-12-17T21:22:07.535Z] 9fce0df16b8b: Pull complete [2020-12-17T21:22:07.535Z] e3faa53604c1: Pull complete [2020-12-17T21:22:07.820Z] 04b5adaa2053: Pull complete [2020-12-17T21:22:07.820Z] Digest: sha256:2150209ece9a657dd6d7572b659b2eace81e78d15289a9e69bd26d0f8098dde0 [2020-12-17T21:22:07.820Z] Status: Downloaded newer image for docker:latest [2020-12-17T21:22:14.557Z] ---> 1246d3f16fe3 [2020-12-17T21:22:14.557Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2020-12-17T21:22:14.557Z] ---> Running in b13e10bc9255 [2020-12-17T21:22:14.835Z] Removing intermediate container b13e10bc9255 [2020-12-17T21:22:14.835Z] ---> 8fe73490aa11 [2020-12-17T21:22:14.835Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2020-12-17T21:22:15.112Z] ---> Running in d3cdd9907e6d [2020-12-17T21:22:16.572Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-17T21:22:17.170Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-17T21:22:18.153Z] (1/5) Installing libsodium (1.0.18-r0) [2020-12-17T21:22:18.153Z] (2/5) Installing libzmq (4.3.3-r0) [2020-12-17T21:22:18.431Z] (3/5) Installing pkgconf (1.7.2-r0) [2020-12-17T21:22:18.432Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2020-12-17T21:22:18.710Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2020-12-17T21:22:18.710Z] Executing busybox-1.31.1-r19.trigger [2020-12-17T21:22:18.710Z] OK: 144 MiB in 44 packages [2020-12-17T21:22:20.174Z] Removing intermediate container d3cdd9907e6d [2020-12-17T21:22:20.174Z] ---> b5ff0babce27 [2020-12-17T21:22:20.174Z] Step 6/8 : WORKDIR /build [2020-12-17T21:22:20.174Z] ---> Running in 6547caa1d6fd [2020-12-17T21:22:20.769Z] Removing intermediate container 6547caa1d6fd [2020-12-17T21:22:20.769Z] ---> c93f4b2f374c [2020-12-17T21:22:20.769Z] Step 7/8 : COPY go.mod . [2020-12-17T21:22:21.372Z] ---> 7c57ce074f5c [2020-12-17T21:22:21.372Z] Step 8/8 : RUN go mod download [2020-12-17T21:22:21.372Z] ---> Running in 1662608e7133 [2020-12-17T21:22:23.639Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.038s coverage: 81.6% of statements [2020-12-17T21:22:23.639Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.005s coverage: 94.4% of statements [2020-12-17T21:22:23.639Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-12-17T21:22:24.229Z] gofmt -l . [2020-12-17T21:22:24.492Z] [ "`gofmt -l .`" = "" ] [2020-12-17T21:22:24.492Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-12-17T21:22:25.092Z] $ docker stop --time=1 0dac2f9922dd198901ed67888e780af13cc3b833e767f6be47ae87495c9226e3 [2020-12-17T21:22:26.822Z] $ docker rm -f 0dac2f9922dd198901ed67888e780af13cc3b833e767f6be47ae87495c9226e3 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-17T21:22:27.430Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-17T21:22:27.847Z] 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] } [2020-12-17T21:22:48.311Z] Removing intermediate container 1662608e7133 [2020-12-17T21:22:48.311Z] ---> b1633e3d0e49 [2020-12-17T21:22:48.311Z] Successfully built b1633e3d0e49 [2020-12-17T21:22:48.311Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-17T21:22:48.675Z] + docker inspect -f . ci-base-image-arm64 [2020-12-17T21:22:48.676Z] . [Pipeline] withDockerContainer [2020-12-17T21:22:48.971Z] prd-ubuntu18.04-docker-arm64-4c-16g-16621 does not seem to be running inside a container [2020-12-17T21:22:49.066Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/155 -v /w/workspace/app-functions-sdk-go/155:/w/workspace/app-functions-sdk-go/155:rw,z -v /w/workspace/app-functions-sdk-go/155@tmp:/w/workspace/app-functions-sdk-go/155@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 [2020-12-17T21:22:50.714Z] $ docker top 27726d554023d82c84a06b573f2fc82c8b1846507d280a5aef4757b61c292bff -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-17T21:22:51.812Z] + go version [2020-12-17T21:22:51.813Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-17T21:22:51.848Z] $ docker stop --time=1 27726d554023d82c84a06b573f2fc82c8b1846507d280a5aef4757b61c292bff [2020-12-17T21:22:53.846Z] $ docker rm -f 27726d554023d82c84a06b573f2fc82c8b1846507d280a5aef4757b61c292bff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-17T21:22:54.825Z] + docker inspect -f . ci-base-image-arm64 [2020-12-17T21:22:54.825Z] . [Pipeline] withDockerContainer [2020-12-17T21:22:55.154Z] prd-ubuntu18.04-docker-arm64-4c-16g-16621 does not seem to be running inside a container [2020-12-17T21:22:55.245Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/155 -v /w/workspace/app-functions-sdk-go/155:/w/workspace/app-functions-sdk-go/155:rw,z -v /w/workspace/app-functions-sdk-go/155@tmp:/w/workspace/app-functions-sdk-go/155@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 [2020-12-17T21:22:56.809Z] $ docker top 26e5228ebd2e5c08209677f6cc09acd6dfba0f03fe8d5a41ba8e9ed047f60716 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-17T21:22:57.856Z] + make test [2020-12-17T21:22:57.856Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2020-12-17T21:22:59.882Z] ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [2020-12-17T21:23:22.154Z] ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.036s coverage: 86.2% of statements [2020-12-17T21:23:49.042Z] ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.059s coverage: 50.5% of statements [2020-12-17T21:23:49.042Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] [2020-12-17T21:23:49.042Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] [2020-12-17T21:23:49.042Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.070s coverage: 54.7% of statements [2020-12-17T21:23:49.042Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] [2020-12-17T21:23:49.042Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.052s coverage: 69.1% of statements [2020-12-17T21:23:59.255Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.442s coverage: 61.6% of statements [2020-12-17T21:23:59.255Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.012s coverage: 89.5% of statements [2020-12-17T21:23:59.255Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.012s coverage: 100.0% of statements [2020-12-17T21:23:59.255Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.035s coverage: 100.0% of statements [2020-12-17T21:23:59.255Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.011s coverage: 100.0% of statements [2020-12-17T21:23:59.255Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.013s coverage: 100.0% of statements [2020-12-17T21:23:59.255Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] [2020-12-17T21:23:59.255Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] [2020-12-17T21:23:59.255Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] [2020-12-17T21:23:59.255Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] [2020-12-17T21:23:59.255Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] [2020-12-17T21:23:59.255Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] [2020-12-17T21:23:59.255Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] [2020-12-17T21:23:59.255Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.011s coverage: 97.7% of statements [2020-12-17T21:23:59.255Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] [2020-12-17T21:23:59.255Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] [2020-12-17T21:23:59.255Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.022s coverage: 8.8% of statements [2020-12-17T21:23:59.255Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.937s coverage: 75.0% of statements [2020-12-17T21:23:59.255Z] ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] [2020-12-17T21:23:59.255Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.033s coverage: 89.7% of statements [2020-12-17T21:23:59.255Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.025s coverage: 88.9% of statements [2020-12-17T21:23:59.255Z] ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.033s coverage: 80.5% of statements [2020-12-17T21:23:59.255Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.019s coverage: 71.7% of statements [2020-12-17T21:24:26.072Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.053s coverage: 81.6% of statements [2020-12-17T21:24:26.072Z] ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.011s coverage: 94.4% of statements [2020-12-17T21:24:26.072Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2020-12-17T21:24:34.539Z] gofmt -l . [2020-12-17T21:24:34.822Z] [ "`gofmt -l .`" = "" ] [2020-12-17T21:24:35.420Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-12-17T21:24:36.036Z] $ docker stop --time=1 26e5228ebd2e5c08209677f6cc09acd6dfba0f03fe8d5a41ba8e9ed047f60716 [2020-12-17T21:24:38.234Z] $ docker rm -f 26e5228ebd2e5c08209677f6cc09acd6dfba0f03fe8d5a41ba8e9ed047f60716 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-17T21:24:39.324Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-17T21:24:39.355Z] Warning: overwriting stash ‘coverage-report’ [2020-12-17T21:24:40.326Z] 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 [2020-12-17T21:24:41.992Z] provisioning config files... [2020-12-17T21:24:42.017Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config1237509899264175094tmp [Pipeline] { [Pipeline] sh [2020-12-17T21:24:42.388Z] + set +x [2020-12-17T21:24:42.389Z] + curl -s https://codecov.io/bash [2020-12-17T21:24:42.389Z] + bash -s -- [2020-12-17T21:24:42.653Z] [2020-12-17T21:24:42.653Z] _____ _ [2020-12-17T21:24:42.653Z] / ____| | | [2020-12-17T21:24:42.653Z] | | ___ __| | ___ ___ _____ __ [2020-12-17T21:24:42.653Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-12-17T21:24:42.653Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-12-17T21:24:42.653Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-12-17T21:24:42.653Z] Bash-20201217-3d3df35 [2020-12-17T21:24:42.653Z] [2020-12-17T21:24:42.653Z] [2020-12-17T21:24:42.653Z] git version 2.24.3 found [2020-12-17T21:24:42.653Z] 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 [2020-12-17T21:24:42.653Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2020-12-17T21:24:42.653Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets found [2020-12-17T21:24:42.653Z] ==> Jenkins CI detected. [2020-12-17T21:24:42.653Z] project root: . [2020-12-17T21:24:42.653Z] --> token set from env [2020-12-17T21:24:42.653Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-12-17T21:24:42.653Z] ==> Running gcov in . (disable via -X gcov) [2020-12-17T21:24:42.653Z] ==> Python coveragepy not found [2020-12-17T21:24:42.653Z] ==> Searching for coverage reports in: [2020-12-17T21:24:42.653Z] + . [2020-12-17T21:24:42.653Z] -> Found 1 reports [2020-12-17T21:24:42.653Z] ==> Detecting git/mercurial file structure [2020-12-17T21:24:42.653Z] ==> Reading reports [2020-12-17T21:24:42.653Z] + ./coverage.out bytes=85267 [2020-12-17T21:24:42.653Z] ==> Appending adjustments [2020-12-17T21:24:42.653Z] https://docs.codecov.io/docs/fixing-reports [2020-12-17T21:24:43.227Z] + Found adjustments [2020-12-17T21:24:43.227Z] ==> Gzipping contents [2020-12-17T21:24:43.227Z] 16K /tmp/codecov.PMnHMh.gz [2020-12-17T21:24:43.227Z] ==> Uploading reports [2020-12-17T21:24:43.227Z] url: https://codecov.io [2020-12-17T21:24:43.227Z] query: branch=master&commit=d78c271fc58e0b0b1163e796583a0e1e72dfcd52&build=155&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F155%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2020-12-17T21:24:43.227Z] -> Pinging Codecov [2020-12-17T21:24:43.227Z] https://codecov.io/upload/v4?package=bash-20201217-3d3df35&token=secret&branch=master&commit=d78c271fc58e0b0b1163e796583a0e1e72dfcd52&build=155&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F155%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2020-12-17T21:24:43.808Z] -> Uploading to [2020-12-17T21:24:43.809Z] https://storage.googleapis.com/codecov/v4/raw/2020-12-17/3D8B5DFFC46A037C893635FACE044666/d78c271fc58e0b0b1163e796583a0e1e72dfcd52/19a1302c-52ea-4ebf-b933-ea9580e4fecf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201217%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201217T212443Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=be2346bd3d2fd491149cd4e5fc5f31d29de01e227685eb5278fbf2b7221fbe96 [2020-12-17T21:24:43.809Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-17T21:24:43.809Z] Dload Upload Total Spent Left Speed [2020-12-17T21:24:44.335Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15092 0 0 100 15092 0 35334 --:--:-- --:--:-- --:--:-- 35344 [2020-12-17T21:24:44.335Z] -> View reports at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/d78c271fc58e0b0b1163e796583a0e1e72dfcd52 [Pipeline] } [2020-12-17T21:24:44.345Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2020-12-17T21:24:45.229Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2020-12-17T21:24:45.281Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-17T21:24:45.634Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-12-17T21:24:45.634Z] [2020-12-17T21:24:45.634Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2020-12-17T21:24:46.012Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-12-17T21:24:46.012Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2020-12-17T21:24:46.012Z] 188c0c94c7c5: Pulling fs layer [2020-12-17T21:24:46.012Z] 0ef7d3d256c8: Pulling fs layer [2020-12-17T21:24:46.012Z] de9db76c5a1d: Pulling fs layer [2020-12-17T21:24:46.012Z] 0eba1c9be4d2: Pulling fs layer [2020-12-17T21:24:46.013Z] 0d57e429df01: Pulling fs layer [2020-12-17T21:24:46.013Z] 4e4be7b47b0d: Pulling fs layer [2020-12-17T21:24:46.013Z] e1f770b5df2f: Pulling fs layer [2020-12-17T21:24:46.013Z] 85a0685a4137: Pulling fs layer [2020-12-17T21:24:46.013Z] e1f770b5df2f: Waiting [2020-12-17T21:24:46.013Z] 85a0685a4137: Waiting [2020-12-17T21:24:46.013Z] 0d57e429df01: Waiting [2020-12-17T21:24:46.013Z] 4e4be7b47b0d: Waiting [2020-12-17T21:24:46.013Z] 0eba1c9be4d2: Waiting [2020-12-17T21:24:46.013Z] de9db76c5a1d: Verifying Checksum [2020-12-17T21:24:46.013Z] de9db76c5a1d: Download complete [2020-12-17T21:24:46.013Z] 0ef7d3d256c8: Verifying Checksum [2020-12-17T21:24:46.013Z] 0ef7d3d256c8: Download complete [2020-12-17T21:24:46.013Z] 0d57e429df01: Verifying Checksum [2020-12-17T21:24:46.013Z] 0d57e429df01: Download complete [2020-12-17T21:24:46.013Z] 4e4be7b47b0d: Verifying Checksum [2020-12-17T21:24:46.013Z] 4e4be7b47b0d: Download complete [2020-12-17T21:24:46.013Z] 188c0c94c7c5: Verifying Checksum [2020-12-17T21:24:46.013Z] 188c0c94c7c5: Download complete [2020-12-17T21:24:46.599Z] 188c0c94c7c5: Pull complete [2020-12-17T21:24:46.599Z] 0ef7d3d256c8: Pull complete [2020-12-17T21:24:46.861Z] de9db76c5a1d: Pull complete [2020-12-17T21:24:47.127Z] e1f770b5df2f: Verifying Checksum [2020-12-17T21:24:47.127Z] e1f770b5df2f: Download complete [2020-12-17T21:24:49.723Z] 0eba1c9be4d2: Download complete [2020-12-17T21:24:49.723Z] 85a0685a4137: Verifying Checksum [2020-12-17T21:24:49.723Z] 85a0685a4137: Download complete [2020-12-17T21:24:56.385Z] 0eba1c9be4d2: Pull complete [2020-12-17T21:24:56.385Z] 0d57e429df01: Pull complete [2020-12-17T21:24:56.385Z] 4e4be7b47b0d: Pull complete [2020-12-17T21:24:57.802Z] e1f770b5df2f: Pull complete [2020-12-17T21:25:06.000Z] 85a0685a4137: Pull complete [2020-12-17T21:25:06.000Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2020-12-17T21:25:06.000Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-12-17T21:25:06.000Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2020-12-17T21:25:06.220Z] prd-centos7-docker-4c-2g-16616 does not seem to be running inside a container [2020-12-17T21:25:06.281Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2020-12-17T21:25:07.289Z] $ docker top 08ab96a6911d75c084bfbd351b76c2fd1304453f4f02920f06c672bb8d2f43bb -eo pid,comm [Pipeline] { [Pipeline] echo [2020-12-17T21:25:07.488Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2020-12-17T21:25:07.784Z] + set -o pipefail [2020-12-17T21:25:07.784Z] + snyk monitor '--org=edgex-jenkins' [2020-12-17T21:25:34.415Z] [2020-12-17T21:25:34.415Z] Monitoring /w/workspace/ndry_app-functions-sdk-go_master (github.com/edgexfoundry/app-functions-sdk-go)... [2020-12-17T21:25:34.415Z] [2020-12-17T21:25:34.415Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/84a89414-c83d-4daa-8ff9-7ceae658ecfc/history/c4a4737c-6da5-4042-80eb-3711403cbcea [2020-12-17T21:25:34.415Z] [2020-12-17T21:25:34.415Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-12-17T21:25:34.415Z] [2020-12-17T21:25:34.415Z] [2020-12-17T21:25:34.415Z] You have reached your monthly limit of 300 private tests for your edgex-jenkins org. [2020-12-17T21:25:34.415Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2020-12-17T21:25:34.437Z] $ docker stop --time=1 08ab96a6911d75c084bfbd351b76c2fd1304453f4f02920f06c672bb8d2f43bb [2020-12-17T21:25:37.256Z] $ docker rm -f 08ab96a6911d75c084bfbd351b76c2fd1304453f4f02920f06c672bb8d2f43bb [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 [2020-12-17T21:25:38.630Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-17T21:25:38.707Z] provisioning config files... [2020-12-17T21:25:38.720Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config8124005384589507491tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-17T21:25:39.096Z] --> edgex-publish-swagger.sh [2020-12-17T21:25:39.096Z] === Publish openapi/v2 API === [2020-12-17T21:25:39.096Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2020-12-17T21:25:39.096Z] [publishToSwagger] Publishing API Name [app-functions-sdk] [2020-12-17T21:25:39.096Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-17T21:25:39.096Z] Dload Upload Total Spent Left Speed [2020-12-17T21:25:40.487Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13025 0 0 100 13025 0 10702 0:00:01 0:00:01 --:--:-- 10702 100 13025 0 0 100 13025 0 10700 0:00:01 0:00:01 --:--:-- 10702 [2020-12-17T21:25:40.487Z] [2020-12-17T21:25:40.487Z] [Pipeline] } [2020-12-17T21:25:40.497Z] 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 [2020-12-17T21:25:41.351Z] + git log --format=format:%s -1 d78c271fc58e0b0b1163e796583a0e1e72dfcd52 [Pipeline] isUnix [Pipeline] sh [2020-12-17T21:25:41.657Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-17T21:25:41.657Z] . [Pipeline] withDockerContainer [2020-12-17T21:25:41.763Z] prd-centos7-docker-4c-2g-16616 does not seem to be running inside a container [2020-12-17T21:25:41.812Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-17T21:25:42.610Z] $ docker top d669cea3ba63b759e25cc2c72330ddacad330e911661adeb6fd54067e752ea83 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-17T21:25:42.896Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-17T21:25:42.896Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-17T21:25:43.102Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-17T21:25:43.110Z] $ docker exec d669cea3ba63b759e25cc2c72330ddacad330e911661adeb6fd54067e752ea83 ssh-agent [2020-12-17T21:25:43.278Z] SSH_AUTH_SOCK=/tmp/ssh-XCg5v04XKaVZ/agent.11 [2020-12-17T21:25:43.278Z] SSH_AGENT_PID=16 [2020-12-17T21:25:43.285Z] Running ssh-add (command line suppressed) [2020-12-17T21:25:43.422Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_1101175637812247797.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_1101175637812247797.key) [2020-12-17T21:25:43.475Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-17T21:25:43.815Z] + git semver tag [2020-12-17T21:25:43.815Z] # -> Open(): unable to determine branch for HEAD [2020-12-17T21:25:43.815Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2020-12-17T21:25:43.815Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2020-12-17T21:25:43.815Z] # $SEMVER_REMOTE_NAME = origin [2020-12-17T21:25:43.815Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-17T21:25:43.815Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-17T21:25:43.815Z] # $SEMVER_BRANCH = master [2020-12-17T21:25:43.815Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2020-12-17T21:25:43.815Z] # d78c271fc58e0b0b1163e796583a0e1e72dfcd52 HEAD [2020-12-17T21:25:43.815Z] # -> Force: false [2020-12-17T21:25:43.815Z] # 4158ddaf1ed11b172a96a952b91821ced0ea8cd5 refs/tags/v1.3.1-dev.6 [Pipeline] } [2020-12-17T21:25:43.835Z] $ docker exec --env ******** --env ******** d669cea3ba63b759e25cc2c72330ddacad330e911661adeb6fd54067e752ea83 ssh-agent -k [2020-12-17T21:25:43.959Z] unset SSH_AUTH_SOCK; [2020-12-17T21:25:43.959Z] unset SSH_AGENT_PID; [2020-12-17T21:25:43.959Z] echo Agent pid 16 killed; [2020-12-17T21:25:44.029Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-17T21:25:44.555Z] + git semver [Pipeline] } [2020-12-17T21:25:44.577Z] $ docker stop --time=1 d669cea3ba63b759e25cc2c72330ddacad330e911661adeb6fd54067e752ea83 [2020-12-17T21:25:45.926Z] $ docker rm -f d669cea3ba63b759e25cc2c72330ddacad330e911661adeb6fd54067e752ea83 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-12-17T21:25:46.572Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-12-17T21:25:46.573Z] [2020-12-17T21:25:46.573Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-12-17T21:25:46.919Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-12-17T21:25:46.919Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-12-17T21:25:46.919Z] ab5ef0e58194: Pulling fs layer [2020-12-17T21:25:46.919Z] 9712f1f96733: Pulling fs layer [2020-12-17T21:25:46.919Z] 63f879dbbcfc: Pulling fs layer [2020-12-17T21:25:46.919Z] 0d9ebad4ef96: Pulling fs layer [2020-12-17T21:25:46.919Z] e9a5061849ea: Pulling fs layer [2020-12-17T21:25:46.919Z] d747dcd14b5f: Pulling fs layer [2020-12-17T21:25:46.919Z] 2de7ff778b66: Pulling fs layer [2020-12-17T21:25:46.919Z] e9a5061849ea: Waiting [2020-12-17T21:25:46.919Z] 0d9ebad4ef96: Waiting [2020-12-17T21:25:46.919Z] d747dcd14b5f: Waiting [2020-12-17T21:25:46.919Z] 2de7ff778b66: Waiting [2020-12-17T21:25:47.181Z] 9712f1f96733: Verifying Checksum [2020-12-17T21:25:47.181Z] 9712f1f96733: Download complete [2020-12-17T21:25:48.587Z] 63f879dbbcfc: Verifying Checksum [2020-12-17T21:25:48.587Z] 63f879dbbcfc: Download complete [2020-12-17T21:25:48.587Z] e9a5061849ea: Verifying Checksum [2020-12-17T21:25:48.587Z] d747dcd14b5f: Download complete [2020-12-17T21:25:49.267Z] 2de7ff778b66: Verifying Checksum [2020-12-17T21:25:49.267Z] 2de7ff778b66: Download complete [2020-12-17T21:25:49.267Z] 0d9ebad4ef96: Verifying Checksum [2020-12-17T21:25:49.267Z] 0d9ebad4ef96: Download complete [2020-12-17T21:25:49.587Z] ab5ef0e58194: Download complete [2020-12-17T21:25:55.005Z] ab5ef0e58194: Pull complete [2020-12-17T21:25:55.005Z] 9712f1f96733: Pull complete [2020-12-17T21:25:57.560Z] 63f879dbbcfc: Pull complete [2020-12-17T21:26:04.193Z] 0d9ebad4ef96: Pull complete [2020-12-17T21:26:06.123Z] e9a5061849ea: Pull complete [2020-12-17T21:26:06.123Z] d747dcd14b5f: Pull complete [2020-12-17T21:26:08.095Z] 2de7ff778b66: Pull complete [2020-12-17T21:26:08.095Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-12-17T21:26:08.095Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-12-17T21:26:08.095Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-12-17T21:26:08.327Z] prd-centos7-docker-4c-2g-16616 does not seem to be running inside a container [2020-12-17T21:26:08.389Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-12-17T21:26:11.904Z] $ docker top 164835bba07f874ef357774d6eca418dbe772e2c113c18de7a65885b9bc28750 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-12-17T21:26:12.115Z] provisioning config files... [2020-12-17T21:26:12.125Z] copy managed file [sigul-config] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config7750323098503552589tmp [2020-12-17T21:26:12.147Z] copy managed file [sigul-password] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config8389451702628534102tmp [2020-12-17T21:26:12.163Z] copy managed file [sigul-pki] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config8594384199944821298tmp [Pipeline] { [Pipeline] echo [2020-12-17T21:26:12.219Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-17T21:26:12.523Z] ---> sigul-configuration.sh [2020-12-17T21:26:12.523Z] gpg: directory `/root/.gnupg' created [2020-12-17T21:26:12.523Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-12-17T21:26:12.523Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-12-17T21:26:12.523Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-12-17T21:26:12.523Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-12-17T21:26:12.523Z] gpg: CAST5 encrypted data [2020-12-17T21:26:12.786Z] gpg: encrypted with 1 passphrase [2020-12-17T21:26:12.786Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-12-17T21:26:13.091Z] + mkdir /home/jenkins [2020-12-17T21:26:13.091Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-12-17T21:26:13.392Z] + 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 [2020-12-17T21:26:13.404Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-17T21:26:13.707Z] ---> sigul-install.sh [2020-12-17T21:26:19.035Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-12-17T21:26:19.336Z] + git tag --list [2020-12-17T21:26:19.336Z] v0.1.0 [2020-12-17T21:26:19.336Z] v0.1.1 [2020-12-17T21:26:19.336Z] v1.0.0 [2020-12-17T21:26:19.336Z] v1.1.0 [2020-12-17T21:26:19.336Z] v1.2.0 [2020-12-17T21:26:19.336Z] v1.2.1-dev.1 [2020-12-17T21:26:19.336Z] v1.2.1-dev.10 [2020-12-17T21:26:19.336Z] v1.2.1-dev.11 [2020-12-17T21:26:19.336Z] v1.2.1-dev.12 [2020-12-17T21:26:19.336Z] v1.2.1-dev.13 [2020-12-17T21:26:19.336Z] v1.2.1-dev.14 [2020-12-17T21:26:19.336Z] v1.2.1-dev.15 [2020-12-17T21:26:19.336Z] v1.2.1-dev.16 [2020-12-17T21:26:19.336Z] v1.2.1-dev.17 [2020-12-17T21:26:19.336Z] v1.2.1-dev.18 [2020-12-17T21:26:19.336Z] v1.2.1-dev.19 [2020-12-17T21:26:19.336Z] v1.2.1-dev.2 [2020-12-17T21:26:19.336Z] v1.2.1-dev.20 [2020-12-17T21:26:19.336Z] v1.2.1-dev.21 [2020-12-17T21:26:19.336Z] v1.2.1-dev.22 [2020-12-17T21:26:19.336Z] v1.2.1-dev.23 [2020-12-17T21:26:19.336Z] v1.2.1-dev.24 [2020-12-17T21:26:19.336Z] v1.2.1-dev.25 [2020-12-17T21:26:19.336Z] v1.2.1-dev.26 [2020-12-17T21:26:19.336Z] v1.2.1-dev.27 [2020-12-17T21:26:19.336Z] v1.2.1-dev.28 [2020-12-17T21:26:19.336Z] v1.2.1-dev.29 [2020-12-17T21:26:19.336Z] v1.2.1-dev.3 [2020-12-17T21:26:19.336Z] v1.2.1-dev.30 [2020-12-17T21:26:19.336Z] v1.2.1-dev.31 [2020-12-17T21:26:19.336Z] v1.2.1-dev.32 [2020-12-17T21:26:19.336Z] v1.2.1-dev.33 [2020-12-17T21:26:19.336Z] v1.2.1-dev.34 [2020-12-17T21:26:19.336Z] v1.2.1-dev.35 [2020-12-17T21:26:19.336Z] v1.2.1-dev.36 [2020-12-17T21:26:19.336Z] v1.2.1-dev.37 [2020-12-17T21:26:19.336Z] v1.2.1-dev.38 [2020-12-17T21:26:19.336Z] v1.2.1-dev.39 [2020-12-17T21:26:19.336Z] v1.2.1-dev.4 [2020-12-17T21:26:19.336Z] v1.2.1-dev.40 [2020-12-17T21:26:19.336Z] v1.2.1-dev.41 [2020-12-17T21:26:19.336Z] v1.2.1-dev.42 [2020-12-17T21:26:19.336Z] v1.2.1-dev.43 [2020-12-17T21:26:19.336Z] v1.2.1-dev.44 [2020-12-17T21:26:19.336Z] v1.2.1-dev.45 [2020-12-17T21:26:19.336Z] v1.2.1-dev.46 [2020-12-17T21:26:19.336Z] v1.2.1-dev.47 [2020-12-17T21:26:19.336Z] v1.2.1-dev.48 [2020-12-17T21:26:19.336Z] v1.2.1-dev.49 [2020-12-17T21:26:19.336Z] v1.2.1-dev.5 [2020-12-17T21:26:19.336Z] v1.2.1-dev.50 [2020-12-17T21:26:19.336Z] v1.2.1-dev.51 [2020-12-17T21:26:19.336Z] v1.2.1-dev.52 [2020-12-17T21:26:19.336Z] v1.2.1-dev.53 [2020-12-17T21:26:19.336Z] v1.2.1-dev.54 [2020-12-17T21:26:19.336Z] v1.2.1-dev.55 [2020-12-17T21:26:19.336Z] v1.2.1-dev.56 [2020-12-17T21:26:19.336Z] v1.2.1-dev.57 [2020-12-17T21:26:19.336Z] v1.2.1-dev.58 [2020-12-17T21:26:19.336Z] v1.2.1-dev.6 [2020-12-17T21:26:19.336Z] v1.2.1-dev.7 [2020-12-17T21:26:19.336Z] v1.2.1-dev.8 [2020-12-17T21:26:19.336Z] v1.2.1-dev.9 [2020-12-17T21:26:19.336Z] v1.3.0 [2020-12-17T21:26:19.336Z] v1.3.1-dev.1 [2020-12-17T21:26:19.336Z] v1.3.1-dev.2 [2020-12-17T21:26:19.336Z] v1.3.1-dev.3 [2020-12-17T21:26:19.336Z] v1.3.1-dev.4 [2020-12-17T21:26:19.336Z] v1.3.1-dev.5 [2020-12-17T21:26:19.336Z] v1.3.1-dev.6 [Pipeline] sh [2020-12-17T21:26:19.637Z] + lftools sign git-tag v1.3.1-dev.6 [2020-12-17T21:26:21.038Z] Signing Git tag with Sigul... [2020-12-17T21:26:21.039Z] Signing v1.3.1-dev.6 [Pipeline] echo [2020-12-17T21:26:22.000Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-17T21:26:22.297Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-12-17T21:26:22.307Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-12-17T21:26:22.427Z] $ docker stop --time=1 164835bba07f874ef357774d6eca418dbe772e2c113c18de7a65885b9bc28750 [2020-12-17T21:26:24.387Z] $ docker rm -f 164835bba07f874ef357774d6eca418dbe772e2c113c18de7a65885b9bc28750 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-12-17T21:26:25.345Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-17T21:26:25.345Z] . [Pipeline] withDockerContainer [2020-12-17T21:26:25.450Z] prd-centos7-docker-4c-2g-16616 does not seem to be running inside a container [2020-12-17T21:26:25.506Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-17T21:26:26.245Z] $ docker top 0a60d6d0dd6cd8c7e96f5024d7b8b14d8270ec45b9a72ebc8856b910a71ca849 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-17T21:26:26.633Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-17T21:26:26.633Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-17T21:26:26.871Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-17T21:26:26.879Z] $ docker exec 0a60d6d0dd6cd8c7e96f5024d7b8b14d8270ec45b9a72ebc8856b910a71ca849 ssh-agent [2020-12-17T21:26:27.056Z] SSH_AUTH_SOCK=/tmp/ssh-tUWl3w3VeI0V/agent.11 [2020-12-17T21:26:27.056Z] SSH_AGENT_PID=16 [2020-12-17T21:26:27.063Z] Running ssh-add (command line suppressed) [2020-12-17T21:26:27.210Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_3402546652754126832.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_3402546652754126832.key) [2020-12-17T21:26:27.268Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-17T21:26:27.606Z] + git semver bump pre [2020-12-17T21:26:27.606Z] # -> Open(): unable to determine branch for HEAD [2020-12-17T21:26:27.606Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2020-12-17T21:26:27.606Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2020-12-17T21:26:27.606Z] # $SEMVER_REMOTE_NAME = origin [2020-12-17T21:26:27.606Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-17T21:26:27.606Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-17T21:26:27.606Z] # $SEMVER_BRANCH = master [2020-12-17T21:26:27.606Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2020-12-17T21:26:27.606Z] 1.3.1-dev.7 [Pipeline] } [2020-12-17T21:26:27.622Z] $ docker exec --env ******** --env ******** 0a60d6d0dd6cd8c7e96f5024d7b8b14d8270ec45b9a72ebc8856b910a71ca849 ssh-agent -k [2020-12-17T21:26:27.739Z] unset SSH_AUTH_SOCK; [2020-12-17T21:26:27.740Z] unset SSH_AGENT_PID; [2020-12-17T21:26:27.740Z] echo Agent pid 16 killed; [2020-12-17T21:26:27.786Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-17T21:26:28.260Z] + git semver [Pipeline] } [2020-12-17T21:26:28.280Z] $ docker stop --time=1 0a60d6d0dd6cd8c7e96f5024d7b8b14d8270ec45b9a72ebc8856b910a71ca849 [2020-12-17T21:26:29.655Z] $ docker rm -f 0a60d6d0dd6cd8c7e96f5024d7b8b14d8270ec45b9a72ebc8856b910a71ca849 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-12-17T21:26:30.185Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-17T21:26:30.185Z] . [Pipeline] withDockerContainer [2020-12-17T21:26:30.291Z] prd-centos7-docker-4c-2g-16616 does not seem to be running inside a container [2020-12-17T21:26:30.341Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-17T21:26:30.959Z] $ docker top f2ccd50f1157662936f9550e12c27df88cb86d5a08dc7b59df551bdf88757d76 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-17T21:26:31.250Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-17T21:26:31.250Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-17T21:26:31.436Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-17T21:26:31.444Z] $ docker exec f2ccd50f1157662936f9550e12c27df88cb86d5a08dc7b59df551bdf88757d76 ssh-agent [2020-12-17T21:26:31.617Z] SSH_AUTH_SOCK=/tmp/ssh-aghe1T1GEiB7/agent.11 [2020-12-17T21:26:31.617Z] SSH_AGENT_PID=16 [2020-12-17T21:26:31.625Z] Running ssh-add (command line suppressed) [2020-12-17T21:26:31.770Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_2001754263720130288.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_2001754263720130288.key) [2020-12-17T21:26:31.831Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-17T21:26:32.194Z] + git semver push [2020-12-17T21:26:32.194Z] # -> Open(): unable to determine branch for HEAD [2020-12-17T21:26:32.194Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2020-12-17T21:26:32.194Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2020-12-17T21:26:32.194Z] # $SEMVER_REMOTE_NAME = origin [2020-12-17T21:26:32.194Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-17T21:26:32.194Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-17T21:26:32.194Z] # $SEMVER_BRANCH = master [2020-12-17T21:26:32.194Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2020-12-17T21:26:38.853Z] $ docker exec --env ******** --env ******** f2ccd50f1157662936f9550e12c27df88cb86d5a08dc7b59df551bdf88757d76 ssh-agent -k [2020-12-17T21:26:38.983Z] unset SSH_AUTH_SOCK; [2020-12-17T21:26:38.984Z] unset SSH_AGENT_PID; [2020-12-17T21:26:38.984Z] echo Agent pid 16 killed; [2020-12-17T21:26:39.034Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-17T21:26:39.520Z] + git semver [Pipeline] } [2020-12-17T21:26:39.541Z] $ docker stop --time=1 f2ccd50f1157662936f9550e12c27df88cb86d5a08dc7b59df551bdf88757d76 [2020-12-17T21:26:40.915Z] $ docker rm -f f2ccd50f1157662936f9550e12c27df88cb86d5a08dc7b59df551bdf88757d76 [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 [2020-12-17T21:26:42.451Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-17T21:26:43.100Z] ---> package-listing.sh [2020-12-17T21:26:43.100Z] ++ facter osfamily [2020-12-17T21:26:43.100Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-17T21:26:43.100Z] + OS_FAMILY=redhat [2020-12-17T21:26:43.100Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_master [2020-12-17T21:26:43.100Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-17T21:26:43.100Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-17T21:26:43.100Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-17T21:26:43.100Z] + PACKAGES=/tmp/packages_start.txt [2020-12-17T21:26:43.100Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2020-12-17T21:26:43.100Z] + PACKAGES=/tmp/packages_end.txt [2020-12-17T21:26:43.100Z] + case "${OS_FAMILY}" in [2020-12-17T21:26:43.100Z] + rpm -qa [2020-12-17T21:26:43.100Z] + sort [2020-12-17T21:26:48.430Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-17T21:26:48.430Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-17T21:26:48.430Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-17T21:26:48.430Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2020-12-17T21:26:48.430Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_master/archives/ [2020-12-17T21:26:48.430Z] + 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 [2020-12-17T21:26:48.445Z] 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 [2020-12-17T21:26:48.743Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-17T21:26:49.050Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-17T21:26:49.050Z] [2020-12-17T21:26:49.050Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-17T21:26:49.416Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-17T21:26:49.417Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-17T21:26:49.417Z] df20fa9351a1: Pulling fs layer [2020-12-17T21:26:49.417Z] 36b3adc4ff6f: Pulling fs layer [2020-12-17T21:26:49.417Z] 8ad3a11d3b57: Pulling fs layer [2020-12-17T21:26:49.417Z] 46f8f816bc3b: Pulling fs layer [2020-12-17T21:26:49.417Z] 93b61091891f: Pulling fs layer [2020-12-17T21:26:49.417Z] 93b9cdb0e59b: Pulling fs layer [2020-12-17T21:26:49.417Z] 5e14af77c1be: Pulling fs layer [2020-12-17T21:26:49.417Z] 01666e4c0597: Pulling fs layer [2020-12-17T21:26:49.417Z] aa168da1d23b: Pulling fs layer [2020-12-17T21:26:49.417Z] 93b9cdb0e59b: Waiting [2020-12-17T21:26:49.417Z] 5e14af77c1be: Waiting [2020-12-17T21:26:49.417Z] 46f8f816bc3b: Waiting [2020-12-17T21:26:49.417Z] 01666e4c0597: Waiting [2020-12-17T21:26:49.417Z] aa168da1d23b: Waiting [2020-12-17T21:26:49.417Z] 93b61091891f: Waiting [2020-12-17T21:26:49.417Z] 36b3adc4ff6f: Verifying Checksum [2020-12-17T21:26:49.417Z] 36b3adc4ff6f: Download complete [2020-12-17T21:26:49.417Z] 46f8f816bc3b: Verifying Checksum [2020-12-17T21:26:49.417Z] 46f8f816bc3b: Download complete [2020-12-17T21:26:49.417Z] df20fa9351a1: Verifying Checksum [2020-12-17T21:26:49.417Z] df20fa9351a1: Download complete [2020-12-17T21:26:49.684Z] 93b9cdb0e59b: Verifying Checksum [2020-12-17T21:26:49.684Z] 93b9cdb0e59b: Download complete [2020-12-17T21:26:49.684Z] 93b61091891f: Verifying Checksum [2020-12-17T21:26:49.684Z] 93b61091891f: Download complete [2020-12-17T21:26:49.684Z] 01666e4c0597: Download complete [2020-12-17T21:26:49.684Z] 8ad3a11d3b57: Verifying Checksum [2020-12-17T21:26:49.684Z] 8ad3a11d3b57: Download complete [2020-12-17T21:26:49.952Z] 5e14af77c1be: Download complete [2020-12-17T21:26:50.215Z] df20fa9351a1: Pull complete [2020-12-17T21:26:50.489Z] 36b3adc4ff6f: Pull complete [2020-12-17T21:26:51.892Z] aa168da1d23b: Verifying Checksum [2020-12-17T21:26:51.892Z] aa168da1d23b: Download complete [2020-12-17T21:26:51.892Z] 8ad3a11d3b57: Pull complete [2020-12-17T21:26:52.155Z] 46f8f816bc3b: Pull complete [2020-12-17T21:26:52.732Z] 93b61091891f: Pull complete [2020-12-17T21:26:52.732Z] 93b9cdb0e59b: Pull complete [2020-12-17T21:26:52.732Z] 5e14af77c1be: Pull complete [2020-12-17T21:26:52.995Z] 01666e4c0597: Pull complete [2020-12-17T21:27:01.184Z] aa168da1d23b: Pull complete [2020-12-17T21:27:01.185Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-17T21:27:01.185Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-17T21:27:01.185Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-17T21:27:01.332Z] prd-centos7-docker-4c-2g-16616 does not seem to be running inside a container [2020-12-17T21:27:01.386Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-17T21:27:04.250Z] $ docker top c32671f7c4aaf83d6370929b3d70337346b8fe21ad542c3d1e0bd79291ea0830 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-17T21:27:04.868Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-17T21:27:05.178Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-17T21:27:05.478Z] + ls /var/log/sa-host [2020-12-17T21:27:05.478Z] + sadf -c /var/log/sa-host/sa17 [2020-12-17T21:27:05.478Z] file_magic: OK [2020-12-17T21:27:05.478Z] HZ: Using current value: 100 [2020-12-17T21:27:05.478Z] file_header: OK [2020-12-17T21:27:05.478Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-12-17T21:27:05.478Z] Statistics: [2020-12-17T21:27:05.478Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-17T21:27:05.478Z] File successfully converted to sysstat format version 12.2.1 [2020-12-17T21:27:05.478Z] + sadf -c /var/log/sa-host/sa23 [2020-12-17T21:27:05.478Z] file_magic: OK [2020-12-17T21:27:05.478Z] HZ: Using current value: 100 [2020-12-17T21:27:05.478Z] file_header: OK [2020-12-17T21:27:05.478Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-12-17T21:27:05.478Z] Statistics: [2020-12-17T21:27:05.478Z] Hnuu...uuuununununu... [2020-12-17T21:27:05.478Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-17T21:27:05.676Z] provisioning config files... [2020-12-17T21:27:05.691Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config2049185641457641154tmp [Pipeline] { [Pipeline] echo [2020-12-17T21:27:05.775Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-17T21:27:06.073Z] ---> create-netrc.sh [Pipeline] } [2020-12-17T21:27:06.086Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-17T21:27:06.177Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-17T21:27:06.475Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-17T21:27:06.485Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-17T21:27:06.784Z] ---> sudo-logs.sh [2020-12-17T21:27:06.784Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-17T21:27:06.795Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-17T21:27:07.090Z] ---> job-cost.sh [2020-12-17T21:27:07.090Z] lf-activate-venv: SKIPPING [2020-12-17T21:27:07.090Z] INFO: No Stack... [2020-12-17T21:27:09.012Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-17T21:27:09.274Z] INFO: Archiving Costs [Pipeline] echo [2020-12-17T21:27:09.287Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-17T21:27:09.584Z] ---> logs-deploy.sh [2020-12-17T21:27:09.584Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/master/155 [2020-12-17T21:27:09.584Z] INFO: archiving workspace using pattern(s): [2020-12-17T21:27:11.503Z] Archives upload complete. [2020-12-17T21:27:11.503Z] INFO: archiving logs to Nexus