Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 1fb879ad609e1bfd3d688421c030194a329f2903 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > 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 46d8313d362d7075c0f562900eedc504c24ea18a 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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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 BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Running on prd-centos7-docker-4c-2g-32144 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 1fb879ad609e1bfd3d688421c030194a329f2903 (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 1fb879ad609e1bfd3d688421c030194a329f2903 # timeout=10 Commit message: "fix: Fix webserver to use ServerBindAddr only is not blank as rest of EdgeX Services (#776)" > git rev-list --no-walk 60c5fe569b419bbb273a5924d39eec3bcbe2b0f3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-31T01:16:21.279Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-31T01:16:21.691Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-31T01:16:21.832Z] ========================================================= [2021-03-31T01:16:21.832Z] EdgeX Global Pipelines Version Info [2021-03-31T01:16:21.832Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-31T01:16:23.371Z] ------------------- [2021-03-31T01:16:23.371Z] stable info: [2021-03-31T01:16:23.371Z] ------------------- [2021-03-31T01:16:23.371Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-31T01:16:23.371Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-31T01:16:23.371Z] Message: update stable to v1.0.186 [2021-03-31T01:16:24.317Z] ------------------- [2021-03-31T01:16:24.317Z] experimental info: [2021-03-31T01:16:24.317Z] ------------------- [2021-03-31T01:16:24.317Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-31T01:16:24.317Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-03-31T01:16:24.317Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-31T01:16:24.596Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-03-31T01:16:24.692Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-03-31T01:16:24.799Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-31T01:16:24.895Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-31T01:16:24.990Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-31T01:16:25.085Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-31T01:16:25.203Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-31T01:16:25.300Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-31T01:16:25.397Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-03-31T01:16:25.493Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-31T01:16:25.613Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-31T01:16:25.704Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2021-03-31T01:16:25.807Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-31T01:16:25.902Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-31T01:16:26.003Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-03-31T01:16:26.126Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-31T01:16:26.220Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-31T01:16:26.306Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-31T01:16:26.396Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-31T01:16:26.486Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-31T01:16:26.575Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-31T01:16:26.662Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-03-31T01:16:26.756Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-31T01:16:26.866Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-31T01:16:27.017Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-03-31T01:16:27.105Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-31T01:16:27.194Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-03-31T01:16:27.281Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-03-31T01:16:27.367Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-03-31T01:16:27.477Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1fb879ad609e1bfd3d688421c030194a329f2903 [Pipeline] echo [2021-03-31T01:16:27.593Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1fb879a [Pipeline] echo [2021-03-31T01:16:27.688Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-31T01:16:28.379Z] + git log --format=format:%s -1 1fb879ad609e1bfd3d688421c030194a329f2903 [Pipeline] echo [2021-03-31T01:16:28.444Z] GIT_COMMIT: 1fb879ad609e1bfd3d688421c030194a329f2903, Commit Message: fix: Fix webserver to use ServerBindAddr only is not blank as rest of EdgeX Services (#776) [Pipeline] echo [2021-03-31T01:16:28.489Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-31T01:16:29.496Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-31T01:16:29.759Z] [2021-03-31T01:16:29.759Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-31T01:16:30.127Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-31T01:16:30.127Z] latest: Pulling from edgex-devops/git-semver [2021-03-31T01:16:30.127Z] 31603596830f: Pulling fs layer [2021-03-31T01:16:30.127Z] 2a8b12db71e7: Pulling fs layer [2021-03-31T01:16:30.127Z] 6ca5941a6612: Pulling fs layer [2021-03-31T01:16:30.127Z] ecc8261a40a4: Pulling fs layer [2021-03-31T01:16:30.127Z] 2a8b12db71e7: Verifying Checksum [2021-03-31T01:16:30.127Z] 2a8b12db71e7: Download complete [2021-03-31T01:16:30.391Z] 31603596830f: Verifying Checksum [2021-03-31T01:16:30.391Z] 31603596830f: Download complete [2021-03-31T01:16:30.391Z] ecc8261a40a4: Verifying Checksum [2021-03-31T01:16:30.391Z] ecc8261a40a4: Download complete [2021-03-31T01:16:30.391Z] 6ca5941a6612: Verifying Checksum [2021-03-31T01:16:30.391Z] 6ca5941a6612: Download complete [2021-03-31T01:16:30.655Z] 31603596830f: Pull complete [2021-03-31T01:16:30.918Z] 2a8b12db71e7: Pull complete [2021-03-31T01:16:31.863Z] 6ca5941a6612: Pull complete [2021-03-31T01:16:32.124Z] ecc8261a40a4: Pull complete [2021-03-31T01:16:32.124Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-31T01:16:32.125Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-31T01:16:32.125Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-31T01:16:32.230Z] prd-centos7-docker-4c-2g-32144 does not seem to be running inside a container [2021-03-31T01:16:32.273Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-31T01:16:34.756Z] $ docker top 41b5f8e4e6a31f6919fb89f778d261c9dfa722d54809044b271608056c755c98 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-31T01:16:35.099Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-31T01:16:35.099Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-31T01:16:35.315Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-31T01:16:35.317Z] $ docker exec 41b5f8e4e6a31f6919fb89f778d261c9dfa722d54809044b271608056c755c98 ssh-agent [2021-03-31T01:16:35.494Z] SSH_AUTH_SOCK=/tmp/ssh-pOIEPEDvwM3Y/agent.12 [2021-03-31T01:16:35.494Z] SSH_AGENT_PID=17 [2021-03-31T01:16:35.509Z] Running ssh-add (command line suppressed) [2021-03-31T01:16:35.629Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_7070068871602691364.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_7070068871602691364.key) [2021-03-31T01:16:35.683Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-31T01:16:36.019Z] + git tag --points-at HEAD [Pipeline] } [2021-03-31T01:16:36.041Z] $ docker exec --env ******** --env ******** 41b5f8e4e6a31f6919fb89f778d261c9dfa722d54809044b271608056c755c98 ssh-agent -k [2021-03-31T01:16:36.157Z] unset SSH_AUTH_SOCK; [2021-03-31T01:16:36.157Z] unset SSH_AGENT_PID; [2021-03-31T01:16:36.157Z] echo Agent pid 17 killed; [2021-03-31T01:16:36.206Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-31T01:16:36.357Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-31T01:16:36.358Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-31T01:16:36.523Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-31T01:16:36.525Z] $ docker exec 41b5f8e4e6a31f6919fb89f778d261c9dfa722d54809044b271608056c755c98 ssh-agent [2021-03-31T01:16:36.689Z] SSH_AUTH_SOCK=/tmp/ssh-3ur6Ml96YFAr/agent.46 [2021-03-31T01:16:36.689Z] SSH_AGENT_PID=51 [2021-03-31T01:16:36.696Z] Running ssh-add (command line suppressed) [2021-03-31T01:16:36.815Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_3408317757690965561.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_3408317757690965561.key) [2021-03-31T01:16:36.885Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-31T01:16:37.217Z] + git semver init [2021-03-31T01:16:37.217Z] # -> Open(): unable to determine branch for HEAD [2021-03-31T01:16:37.217Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-03-31T01:16:37.217Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-03-31T01:16:37.217Z] # $SEMVER_REMOTE_NAME = origin [2021-03-31T01:16:37.217Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-31T01:16:37.217Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-31T01:16:37.217Z] # $SEMVER_BRANCH = master [2021-03-31T01:16:37.217Z] # $SEMVER_TEMP = /tmp/semver-914260131 [2021-03-31T01:16:37.217Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-03-31T01:16:40.535Z] # '/tmp/semver-914260131' -> '/w/workspace/ndry_app-functions-sdk-go_master/.semver' [2021-03-31T01:16:40.535Z] # -> Force: false [2021-03-31T01:16:40.535Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-03-31T01:16:40.546Z] $ docker exec --env ******** --env ******** 41b5f8e4e6a31f6919fb89f778d261c9dfa722d54809044b271608056c755c98 ssh-agent -k [2021-03-31T01:16:40.672Z] unset SSH_AUTH_SOCK; [2021-03-31T01:16:40.672Z] unset SSH_AGENT_PID; [2021-03-31T01:16:40.672Z] echo Agent pid 51 killed; [2021-03-31T01:16:40.730Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-31T01:16:41.196Z] + git semver [Pipeline] } [2021-03-31T01:16:41.212Z] $ docker stop --time=1 41b5f8e4e6a31f6919fb89f778d261c9dfa722d54809044b271608056c755c98 [2021-03-31T01:16:42.791Z] $ docker rm -f 41b5f8e4e6a31f6919fb89f778d261c9dfa722d54809044b271608056c755c98 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-31T01:16:43.325Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-31T01:16:43.803Z] Stashed 1 file(s) [Pipeline] echo [2021-03-31T01:16:43.806Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.39 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-03-31T01:16:44.522Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-32149 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-03-31T01:16:44.573Z] Running in /w/workspace/app-functions-sdk-go/208 [Pipeline] { [Pipeline] checkout [2021-03-31T01:16:49.229Z] using credential edgex-jenkins-ssh [2021-03-31T01:16:49.299Z] Cloning the remote Git repository [2021-03-31T01:16:49.405Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-31T01:16:49.545Z] > git init /w/workspace/app-functions-sdk-go/208 # timeout=10 [2021-03-31T01:16:49.669Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-31T01:16:49.672Z] > git --version # timeout=10 [2021-03-31T01:16:49.726Z] > git --version # 'git version 2.17.1' [2021-03-31T01:16:49.728Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-31T01:16:49.830Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-31T01:16:53.094Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-31T01:16:53.110Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-31T01:16:53.133Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-31T01:16:53.166Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-31T01:16:53.167Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-31T01:16:53.176Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-31T01:16:53.669Z] Checking out Revision 1fb879ad609e1bfd3d688421c030194a329f2903 (master) [2021-03-31T01:16:53.677Z] > git config core.sparsecheckout # timeout=10 [2021-03-31T01:16:53.697Z] > git checkout -f 1fb879ad609e1bfd3d688421c030194a329f2903 # timeout=10 [2021-03-31T01:16:57.937Z] Commit message: "fix: Fix webserver to use ServerBindAddr only is not blank as rest of EdgeX Services (#776)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-31T01:16:59.334Z] Still waiting to schedule task [2021-03-31T01:16:59.335Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-32144’ [2021-03-31T01:16:59.568Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-31T01:16:59.974Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-31T01:17:00.318Z] + true [2021-03-31T01:17:00.318Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2021-03-31T01:17:02.548Z] ========================================================= [2021-03-31T01:17:02.548Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-31T01:17:02.548Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-31T01:17:02.972Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-03-31T01:17:03.954Z] Sending build context to Docker daemon 19.42MB [2021-03-31T01:17:03.954Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-31T01:17:03.954Z] Step 2/8 : FROM ${BASE} [2021-03-31T01:17:04.227Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-31T01:17:04.227Z] 5f621e34cdf4: Pulling fs layer [2021-03-31T01:17:04.227Z] a4357932f1b6: Pulling fs layer [2021-03-31T01:17:04.227Z] 18c013af1878: Pulling fs layer [2021-03-31T01:17:04.227Z] 00ac8860ef70: Pulling fs layer [2021-03-31T01:17:04.227Z] 63d7cb157983: Pulling fs layer [2021-03-31T01:17:04.227Z] b116817d02f9: Pulling fs layer [2021-03-31T01:17:04.227Z] 745a02a5169b: Pulling fs layer [2021-03-31T01:17:04.227Z] 00ac8860ef70: Waiting [2021-03-31T01:17:04.227Z] 63d7cb157983: Waiting [2021-03-31T01:17:04.227Z] b116817d02f9: Waiting [2021-03-31T01:17:04.227Z] 745a02a5169b: Waiting [2021-03-31T01:17:04.227Z] 18c013af1878: Download complete [2021-03-31T01:17:04.501Z] a4357932f1b6: Verifying Checksum [2021-03-31T01:17:04.501Z] a4357932f1b6: Download complete [2021-03-31T01:17:04.501Z] 63d7cb157983: Verifying Checksum [2021-03-31T01:17:04.501Z] 63d7cb157983: Download complete [2021-03-31T01:17:04.501Z] b116817d02f9: Verifying Checksum [2021-03-31T01:17:04.501Z] 5f621e34cdf4: Verifying Checksum [2021-03-31T01:17:04.501Z] 5f621e34cdf4: Download complete [2021-03-31T01:17:05.104Z] 5f621e34cdf4: Pull complete [2021-03-31T01:17:05.711Z] a4357932f1b6: Pull complete [2021-03-31T01:17:05.989Z] 18c013af1878: Pull complete [2021-03-31T01:17:06.973Z] 745a02a5169b: Verifying Checksum [2021-03-31T01:17:06.973Z] 745a02a5169b: Download complete [2021-03-31T01:17:08.416Z] 00ac8860ef70: Verifying Checksum [2021-03-31T01:17:08.416Z] 00ac8860ef70: Download complete [2021-03-31T01:17:18.589Z] 00ac8860ef70: Pull complete [2021-03-31T01:17:18.589Z] 63d7cb157983: Pull complete [2021-03-31T01:17:18.863Z] b116817d02f9: Pull complete [2021-03-31T01:17:23.178Z] 745a02a5169b: Pull complete [2021-03-31T01:17:23.179Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-31T01:17:23.179Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-31T01:17:23.179Z] ---> b7e6874047d6 [2021-03-31T01:17:23.179Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-03-31T01:17:23.179Z] 20.10.0: Pulling from library/docker [2021-03-31T01:17:23.179Z] a3cc7d3b244e: Pulling fs layer [2021-03-31T01:17:23.179Z] 02a3295e0d61: Pulling fs layer [2021-03-31T01:17:23.179Z] 0f4f2e6d8100: Pulling fs layer [2021-03-31T01:17:23.179Z] 330b718f631f: Pulling fs layer [2021-03-31T01:17:23.179Z] a93816041522: Pulling fs layer [2021-03-31T01:17:23.179Z] bdb6da89ff94: Pulling fs layer [2021-03-31T01:17:23.179Z] 2a70c0c122f4: Pulling fs layer [2021-03-31T01:17:23.179Z] a93816041522: Waiting [2021-03-31T01:17:23.179Z] bdb6da89ff94: Waiting [2021-03-31T01:17:23.179Z] 2a70c0c122f4: Waiting [2021-03-31T01:17:23.179Z] 330b718f631f: Waiting [2021-03-31T01:17:23.179Z] 02a3295e0d61: Download complete [2021-03-31T01:17:23.179Z] a3cc7d3b244e: Verifying Checksum [2021-03-31T01:17:23.179Z] a3cc7d3b244e: Download complete [2021-03-31T01:17:23.179Z] a93816041522: Download complete [2021-03-31T01:17:23.179Z] bdb6da89ff94: Download complete [2021-03-31T01:17:23.179Z] 2a70c0c122f4: Verifying Checksum [2021-03-31T01:17:23.179Z] 2a70c0c122f4: Download complete [2021-03-31T01:17:23.453Z] a3cc7d3b244e: Pull complete [2021-03-31T01:17:24.051Z] 02a3295e0d61: Pull complete [2021-03-31T01:17:24.325Z] 330b718f631f: Verifying Checksum [2021-03-31T01:17:24.325Z] 330b718f631f: Download complete [2021-03-31T01:17:24.325Z] 0f4f2e6d8100: Pull complete [2021-03-31T01:17:28.658Z] 330b718f631f: Pull complete [2021-03-31T01:17:28.658Z] a93816041522: Pull complete [2021-03-31T01:17:28.658Z] bdb6da89ff94: Pull complete [2021-03-31T01:17:28.936Z] 2a70c0c122f4: Pull complete [2021-03-31T01:17:28.936Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-03-31T01:17:28.936Z] Status: Downloaded newer image for docker:20.10.0 [2021-03-31T01:17:35.684Z] ---> 01ed8c3a5345 [2021-03-31T01:17:35.684Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-03-31T01:17:35.684Z] ---> Running in 19ca11df3259 [2021-03-31T01:17:35.958Z] Removing intermediate container 19ca11df3259 [2021-03-31T01:17:35.958Z] ---> 481815a84a58 [2021-03-31T01:17:35.958Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-03-31T01:17:36.233Z] ---> Running in 2ba4a7b4a4b5 [2021-03-31T01:17:37.677Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-31T01:17:38.269Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-31T01:17:38.863Z] (1/5) Installing libsodium (1.0.18-r0) [2021-03-31T01:17:38.863Z] (2/5) Installing libzmq (4.3.3-r0) [2021-03-31T01:17:39.135Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-03-31T01:17:39.135Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-03-31T01:17:39.135Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-03-31T01:17:39.407Z] Executing busybox-1.31.1-r19.trigger [2021-03-31T01:17:39.407Z] OK: 144 MiB in 44 packages [2021-03-31T01:17:40.844Z] Removing intermediate container 2ba4a7b4a4b5 [2021-03-31T01:17:40.844Z] ---> b0fe7d74cb08 [2021-03-31T01:17:40.844Z] Step 6/8 : WORKDIR /build [2021-03-31T01:17:40.844Z] ---> Running in 618737672f45 [2021-03-31T01:17:41.438Z] Removing intermediate container 618737672f45 [2021-03-31T01:17:41.438Z] ---> 4505b029d130 [2021-03-31T01:17:41.438Z] Step 7/8 : COPY go.mod . [2021-03-31T01:17:42.033Z] ---> 8960be43fa6c [2021-03-31T01:17:42.033Z] Step 8/8 : RUN go mod download [2021-03-31T01:17:42.307Z] ---> Running in 6a4c371d9596 [2021-03-31T01:18:09.100Z] Removing intermediate container 6a4c371d9596 [2021-03-31T01:18:09.100Z] ---> c923c2d24747 [2021-03-31T01:18:09.100Z] Successfully built c923c2d24747 [2021-03-31T01:18:09.100Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-31T01:18:09.439Z] + docker inspect -f . ci-base-image-arm64 [2021-03-31T01:18:09.439Z] . [Pipeline] withDockerContainer [2021-03-31T01:18:09.676Z] prd-ubuntu18.04-docker-arm64-4c-16g-32149 does not seem to be running inside a container [2021-03-31T01:18:09.747Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/208 -v /w/workspace/app-functions-sdk-go/208:/w/workspace/app-functions-sdk-go/208:rw,z -v /w/workspace/app-functions-sdk-go/208@tmp:/w/workspace/app-functions-sdk-go/208@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 ******** ci-base-image-arm64 cat [2021-03-31T01:18:11.159Z] $ docker top 7b9f396d867a44a1a57a95bf052cbd894ff19de62e3f4ded248e963df533201f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-31T01:18:12.159Z] + go version [2021-03-31T01:18:12.159Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-31T01:18:12.171Z] $ docker stop --time=1 7b9f396d867a44a1a57a95bf052cbd894ff19de62e3f4ded248e963df533201f [2021-03-31T01:18:14.076Z] $ docker rm -f 7b9f396d867a44a1a57a95bf052cbd894ff19de62e3f4ded248e963df533201f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-31T01:18:15.069Z] + docker inspect -f . ci-base-image-arm64 [2021-03-31T01:18:15.069Z] . [Pipeline] withDockerContainer [2021-03-31T01:18:15.288Z] prd-ubuntu18.04-docker-arm64-4c-16g-32149 does not seem to be running inside a container [2021-03-31T01:18:15.357Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/208 -v /w/workspace/app-functions-sdk-go/208:/w/workspace/app-functions-sdk-go/208:rw,z -v /w/workspace/app-functions-sdk-go/208@tmp:/w/workspace/app-functions-sdk-go/208@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 ******** ci-base-image-arm64 cat [2021-03-31T01:18:16.830Z] $ docker top 27e190a4a4d9b25caf2eeac9c2f72578d079a721e1abfa816e4d788d3213ed2b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-31T01:18:17.824Z] + make test [2021-03-31T01:18:17.824Z] make -C ./app-service-template build [2021-03-31T01:18:17.824Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/208/app-service-template' [2021-03-31T01:18:17.824Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.14 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-03-31T01:18:50.175Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/208/app-service-template' [2021-03-31T01:18:50.175Z] make -C ./app-service-template test [2021-03-31T01:18:50.175Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/208/app-service-template' [2021-03-31T01:18:50.175Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-03-31T01:19:17.003Z] ok new-app-service 0.045s coverage: 47.8% of statements [2021-03-31T01:19:17.003Z] ? new-app-service/config [no test files] [2021-03-31T01:19:17.003Z] ok new-app-service/functions 0.026s [2021-03-31T01:19:17.003Z] CGO_ENABLED=1 go vet ./... [2021-03-31T01:19:25.298Z] gofmt -l . [2021-03-31T01:19:25.298Z] [ "`gofmt -l .`" = "" ] [2021-03-31T01:19:25.298Z] ./bin/test-go-mod-tidy.sh [2021-03-31T01:19:25.576Z] ./bin/test-attribution-txt.sh [2021-03-31T01:19:27.011Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/208/app-service-template' [2021-03-31T01:19:27.011Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-03-31T01:19:28.455Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-03-31T01:19:38.707Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.187s coverage: 55.8% of statements [2021-03-31T01:19:38.707Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.053s coverage: 92.5% of statements [2021-03-31T01:19:38.707Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-03-31T01:19:38.707Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.067s coverage: 61.5% of statements [2021-03-31T01:19:38.707Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-03-31T01:19:38.707Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.041s [2021-03-31T01:19:38.707Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.106s coverage: 75.4% of statements [2021-03-31T01:19:38.707Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-03-31T01:19:38.707Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-03-31T01:19:38.708Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-03-31T01:19:38.708Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-03-31T01:19:38.708Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-03-31T01:19:38.708Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-03-31T01:19:38.708Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.032s coverage: 97.0% of statements [2021-03-31T01:19:38.708Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-03-31T01:19:38.708Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.068s coverage: 10.5% of statements [2021-03-31T01:19:44.133Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.824s coverage: 78.4% of statements [2021-03-31T01:19:44.133Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-03-31T01:19:44.133Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.022s coverage: 18.4% of statements [2021-03-31T01:19:44.133Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.091s coverage: 27.3% of statements [2021-03-31T01:19:44.133Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-03-31T01:19:44.133Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-03-31T01:19:44.133Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.087s coverage: 71.7% of statements [2021-03-31T01:20:10.885Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.085s coverage: 81.9% of statements [2021-03-31T01:20:10.885Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.024s coverage: 94.4% of statements [2021-03-31T01:20:10.885Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-03-31T01:20:14.282Z] gofmt -l . [2021-03-31T01:20:14.282Z] [ "`gofmt -l .`" = "" ] [2021-03-31T01:20:14.555Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-31T01:20:15.169Z] $ docker stop --time=1 27e190a4a4d9b25caf2eeac9c2f72578d079a721e1abfa816e4d788d3213ed2b [2021-03-31T01:20:17.322Z] $ docker rm -f 27e190a4a4d9b25caf2eeac9c2f72578d079a721e1abfa816e4d788d3213ed2b [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-31T01:20:18.318Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-31T01:20:19.205Z] Stashed 2 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 Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-31T01:20:20.428Z] ---> job-cost.sh [2021-03-31T01:20:20.428Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-X48G [2021-03-31T01:20:53.900Z] Running on prd-centos7-docker-4c-2g-32155 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-03-31T01:20:53.991Z] Running in /w/workspace/app-functions-sdk-go/208 [Pipeline] { [Pipeline] checkout [2021-03-31T01:20:56.426Z] using credential edgex-jenkins-ssh [2021-03-31T01:20:56.488Z] Cloning the remote Git repository [2021-03-31T01:20:56.420Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-31T01:20:56.497Z] > git init /w/workspace/app-functions-sdk-go/208 # timeout=10 [2021-03-31T01:20:56.570Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-31T01:20:56.571Z] > git --version # timeout=10 [2021-03-31T01:20:56.579Z] > git --version # 'git version 2.24.3' [2021-03-31T01:20:56.580Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-31T01:20:56.612Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-31T01:20:58.319Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-31T01:20:58.331Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-31T01:20:58.340Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-31T01:20:58.354Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-31T01:20:58.355Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-31T01:20:58.359Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-31T01:20:58.733Z] Checking out Revision 1fb879ad609e1bfd3d688421c030194a329f2903 (master) [2021-03-31T01:20:59.387Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-31T01:20:58.738Z] > git config core.sparsecheckout # timeout=10 [2021-03-31T01:20:58.743Z] > git checkout -f 1fb879ad609e1bfd3d688421c030194a329f2903 # timeout=10 [2021-03-31T01:21:02.383Z] Commit message: "fix: Fix webserver to use ServerBindAddr only is not blank as rest of EdgeX Services (#776)" [2021-03-31T01:21:03.748Z] [2021-03-31T01:21:03.748Z] GitHub has been notified of this commit’s build result [2021-03-31T01:21:03.748Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-31T01:21:04.744Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-31T01:21:05.087Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-31T01:21:05.385Z] + sudo service docker restart [2021-03-31T01:21:05.385Z] + true [2021-03-31T01:21:05.385Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-03-31T01:21:06.961Z] ========================================================= [2021-03-31T01:21:06.961Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-31T01:21:06.961Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-31T01:21:07.312Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-03-31T01:21:07.887Z] Sending build context to Docker daemon 19.45MB [2021-03-31T01:21:07.887Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-31T01:21:07.887Z] Step 2/8 : FROM ${BASE} [2021-03-31T01:21:07.887Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-31T01:21:07.887Z] 188c0c94c7c5: Pulling fs layer [2021-03-31T01:21:07.887Z] 0ef7d3d256c8: Pulling fs layer [2021-03-31T01:21:07.887Z] de9db76c5a1d: Pulling fs layer [2021-03-31T01:21:07.887Z] bca2f99d35d6: Pulling fs layer [2021-03-31T01:21:07.887Z] 93359f2a8cfa: Pulling fs layer [2021-03-31T01:21:07.887Z] 7c6f9722023f: Pulling fs layer [2021-03-31T01:21:07.887Z] a35cf1a2eb13: Pulling fs layer [2021-03-31T01:21:07.887Z] 93359f2a8cfa: Waiting [2021-03-31T01:21:07.887Z] 7c6f9722023f: Waiting [2021-03-31T01:21:07.887Z] a35cf1a2eb13: Waiting [2021-03-31T01:21:08.186Z] de9db76c5a1d: Verifying Checksum [2021-03-31T01:21:08.186Z] de9db76c5a1d: Download complete [2021-03-31T01:21:08.186Z] 0ef7d3d256c8: Verifying Checksum [2021-03-31T01:21:08.186Z] 0ef7d3d256c8: Download complete [2021-03-31T01:21:08.186Z] 93359f2a8cfa: Verifying Checksum [2021-03-31T01:21:08.186Z] 93359f2a8cfa: Download complete [2021-03-31T01:21:08.186Z] 7c6f9722023f: Verifying Checksum [2021-03-31T01:21:08.186Z] 7c6f9722023f: Download complete [2021-03-31T01:21:08.448Z] 188c0c94c7c5: Verifying Checksum [2021-03-31T01:21:08.449Z] 188c0c94c7c5: Download complete [2021-03-31T01:21:08.711Z] 188c0c94c7c5: Pull complete [2021-03-31T01:21:08.711Z] 0ef7d3d256c8: Pull complete [2021-03-31T01:21:08.975Z] de9db76c5a1d: Pull complete [2021-03-31T01:21:10.372Z] a35cf1a2eb13: Download complete [2021-03-31T01:21:11.326Z] bca2f99d35d6: Verifying Checksum [2021-03-31T01:21:11.326Z] bca2f99d35d6: Download complete [2021-03-31T01:21:16.678Z] bca2f99d35d6: Pull complete [2021-03-31T01:21:16.678Z] 93359f2a8cfa: Pull complete [2021-03-31T01:21:16.678Z] 7c6f9722023f: Pull complete [2021-03-31T01:21:20.919Z] a35cf1a2eb13: Pull complete [2021-03-31T01:21:20.919Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-31T01:21:20.919Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-31T01:21:20.919Z] ---> a62c8e92a672 [2021-03-31T01:21:20.919Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-03-31T01:21:20.919Z] 20.10.0: Pulling from library/docker [2021-03-31T01:21:20.919Z] 05e7bc50f07f: Pulling fs layer [2021-03-31T01:21:20.919Z] 6db28d0fdbf6: Pulling fs layer [2021-03-31T01:21:20.919Z] 292df0bc6bf3: Pulling fs layer [2021-03-31T01:21:20.919Z] 2e060f4bd70b: Pulling fs layer [2021-03-31T01:21:20.919Z] 80e8d568a223: Pulling fs layer [2021-03-31T01:21:20.919Z] 8dc6ef1a942a: Pulling fs layer [2021-03-31T01:21:20.920Z] 2312dd95470a: Pulling fs layer [2021-03-31T01:21:20.920Z] 2e060f4bd70b: Waiting [2021-03-31T01:21:20.920Z] 80e8d568a223: Waiting [2021-03-31T01:21:20.920Z] 8dc6ef1a942a: Waiting [2021-03-31T01:21:20.920Z] 2312dd95470a: Waiting [2021-03-31T01:21:20.920Z] 292df0bc6bf3: Verifying Checksum [2021-03-31T01:21:20.920Z] 292df0bc6bf3: Download complete [2021-03-31T01:21:20.920Z] 05e7bc50f07f: Verifying Checksum [2021-03-31T01:21:20.920Z] 05e7bc50f07f: Download complete [2021-03-31T01:21:20.920Z] 6db28d0fdbf6: Verifying Checksum [2021-03-31T01:21:20.920Z] 6db28d0fdbf6: Download complete [2021-03-31T01:21:20.920Z] 80e8d568a223: Verifying Checksum [2021-03-31T01:21:20.920Z] 80e8d568a223: Download complete [2021-03-31T01:21:20.920Z] 8dc6ef1a942a: Verifying Checksum [2021-03-31T01:21:20.920Z] 8dc6ef1a942a: Download complete [2021-03-31T01:21:20.920Z] 2312dd95470a: Verifying Checksum [2021-03-31T01:21:20.920Z] 2312dd95470a: Download complete [2021-03-31T01:21:20.920Z] 05e7bc50f07f: Pull complete [2021-03-31T01:21:21.185Z] 6db28d0fdbf6: Pull complete [2021-03-31T01:21:21.453Z] 292df0bc6bf3: Pull complete [2021-03-31T01:21:21.453Z] 2e060f4bd70b: Verifying Checksum [2021-03-31T01:21:21.453Z] 2e060f4bd70b: Download complete [2021-03-31T01:21:24.787Z] 2e060f4bd70b: Pull complete [2021-03-31T01:21:24.787Z] 80e8d568a223: Pull complete [2021-03-31T01:21:24.787Z] 8dc6ef1a942a: Pull complete [2021-03-31T01:21:24.787Z] 2312dd95470a: Pull complete [2021-03-31T01:21:24.787Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-03-31T01:21:24.787Z] Status: Downloaded newer image for docker:20.10.0 [2021-03-31T01:21:26.183Z] ---> 7fc7dca9d395 [2021-03-31T01:21:26.183Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-03-31T01:21:26.183Z] ---> Running in d43de0617bec [2021-03-31T01:21:26.449Z] Removing intermediate container d43de0617bec [2021-03-31T01:21:26.449Z] ---> 9a093567061f [2021-03-31T01:21:26.449Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-03-31T01:21:26.449Z] ---> Running in 7ba2c5c5aac0 [2021-03-31T01:21:27.024Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-31T01:21:27.974Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-31T01:21:28.236Z] (1/5) Installing libsodium (1.0.18-r0) [2021-03-31T01:21:28.236Z] (2/5) Installing libzmq (4.3.3-r0) [2021-03-31T01:21:28.498Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-03-31T01:21:28.498Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-03-31T01:21:28.498Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-03-31T01:21:28.765Z] Executing busybox-1.31.1-r19.trigger [2021-03-31T01:21:28.765Z] OK: 167 MiB in 44 packages [2021-03-31T01:21:29.340Z] Removing intermediate container 7ba2c5c5aac0 [2021-03-31T01:21:29.340Z] ---> e2980d3ac660 [2021-03-31T01:21:29.340Z] Step 6/8 : WORKDIR /build [2021-03-31T01:21:29.340Z] ---> Running in a0e2692ccf58 [2021-03-31T01:21:29.604Z] Removing intermediate container a0e2692ccf58 [2021-03-31T01:21:29.604Z] ---> 34ce581c80ec [2021-03-31T01:21:29.604Z] Step 7/8 : COPY go.mod . [2021-03-31T01:21:29.867Z] ---> a2a5d7cae47c [2021-03-31T01:21:29.867Z] Step 8/8 : RUN go mod download [2021-03-31T01:21:29.867Z] ---> Running in 3bc426f00732 [2021-03-31T01:21:51.914Z] Removing intermediate container 3bc426f00732 [2021-03-31T01:21:51.914Z] ---> feb98732bf49 [2021-03-31T01:21:51.914Z] Successfully built feb98732bf49 [2021-03-31T01:21:52.179Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-31T01:21:52.499Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-31T01:21:52.499Z] . [Pipeline] withDockerContainer [2021-03-31T01:21:52.639Z] prd-centos7-docker-4c-2g-32155 does not seem to be running inside a container [2021-03-31T01:21:52.689Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/208 -v /w/workspace/app-functions-sdk-go/208:/w/workspace/app-functions-sdk-go/208:rw,z -v /w/workspace/app-functions-sdk-go/208@tmp:/w/workspace/app-functions-sdk-go/208@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-31T01:21:53.529Z] $ docker top efd346fe9455962f97b458ab73cdf4e6e42f7d6f07b39655b724ed761d5fcfd4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-31T01:21:54.080Z] + go version [2021-03-31T01:21:54.080Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-31T01:21:54.093Z] $ docker stop --time=1 efd346fe9455962f97b458ab73cdf4e6e42f7d6f07b39655b724ed761d5fcfd4 [2021-03-31T01:21:55.441Z] $ docker rm -f efd346fe9455962f97b458ab73cdf4e6e42f7d6f07b39655b724ed761d5fcfd4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-31T01:21:56.355Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-31T01:21:56.355Z] . [Pipeline] withDockerContainer [2021-03-31T01:21:56.461Z] prd-centos7-docker-4c-2g-32155 does not seem to be running inside a container [2021-03-31T01:21:56.529Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/208 -v /w/workspace/app-functions-sdk-go/208:/w/workspace/app-functions-sdk-go/208:rw,z -v /w/workspace/app-functions-sdk-go/208@tmp:/w/workspace/app-functions-sdk-go/208@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-31T01:21:57.229Z] $ docker top 56a02b03d8b8bc8745fa4f092ea3524dccf3d16eeeec15e9c00b000c7003bd4b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-31T01:21:57.777Z] + make test [2021-03-31T01:21:57.777Z] make -C ./app-service-template build [2021-03-31T01:21:57.777Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/208/app-service-template' [2021-03-31T01:21:57.777Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.14 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-03-31T01:22:12.961Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/208/app-service-template' [2021-03-31T01:22:12.961Z] make -C ./app-service-template test [2021-03-31T01:22:12.961Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/208/app-service-template' [2021-03-31T01:22:12.961Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-03-31T01:22:21.187Z] ok new-app-service 0.020s coverage: 47.8% of statements [2021-03-31T01:22:21.187Z] ? new-app-service/config [no test files] [2021-03-31T01:22:21.187Z] ok new-app-service/functions 0.010s [2021-03-31T01:22:21.187Z] CGO_ENABLED=1 go vet ./... [2021-03-31T01:22:23.761Z] gofmt -l . [2021-03-31T01:22:23.761Z] [ "`gofmt -l .`" = "" ] [2021-03-31T01:22:23.761Z] ./bin/test-go-mod-tidy.sh [2021-03-31T01:22:24.027Z] ./bin/test-attribution-txt.sh [2021-03-31T01:22:24.623Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/208/app-service-template' [2021-03-31T01:22:24.623Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-03-31T01:22:25.215Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-03-31T01:22:28.585Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.019s coverage: 55.8% of statements [2021-03-31T01:22:28.585Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.016s coverage: 92.5% of statements [2021-03-31T01:22:28.585Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-03-31T01:22:28.585Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.057s coverage: 61.5% of statements [2021-03-31T01:22:28.585Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-03-31T01:22:28.585Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.019s [2021-03-31T01:22:28.585Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.028s coverage: 75.4% of statements [2021-03-31T01:22:28.585Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-03-31T01:22:28.585Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-03-31T01:22:28.585Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-03-31T01:22:28.585Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-03-31T01:22:28.585Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-03-31T01:22:28.585Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-03-31T01:22:28.585Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.017s coverage: 97.0% of statements [2021-03-31T01:22:28.585Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-03-31T01:22:28.585Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.015s coverage: 10.5% of statements [2021-03-31T01:22:32.839Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.763s coverage: 78.4% of statements [2021-03-31T01:22:32.839Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-03-31T01:22:32.839Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.017s coverage: 18.4% of statements [2021-03-31T01:22:32.839Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.039s coverage: 27.3% of statements [2021-03-31T01:22:32.839Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-03-31T01:22:32.839Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-03-31T01:22:32.839Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.019s coverage: 71.7% of statements [2021-03-31T01:22:36.147Z] lf-activate-venv(): INFO: Adding /tmp/venv-X48G/bin to PATH [2021-03-31T01:22:36.147Z] INFO: No Stack... [2021-03-31T01:22:36.147Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-31T01:22:36.147Z] INFO: Archiving Costs [Pipeline] sh [2021-03-31T01:22:36.485Z] + cat /w/workspace/app-functions-sdk-go/208/archives/cost.csv [2021-03-31T01:22:36.485Z] + cut -d, -f6 [Pipeline] lock [2021-03-31T01:22:36.594Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-208-stack-cost] [2021-03-31T01:22:36.603Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-208-stack-cost] did not exist. Created. [2021-03-31T01:22:36.603Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-208-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-31T01:22:37.050Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-31T01:22:37.293Z] Stashed 1 file(s) [Pipeline] } [2021-03-31T01:22:37.308Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-208-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-31T01:22:59.447Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.033s coverage: 81.9% of statements [2021-03-31T01:22:59.447Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.009s coverage: 94.4% of statements [2021-03-31T01:22:59.447Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-03-31T01:22:59.447Z] gofmt -l . [2021-03-31T01:22:59.447Z] [ "`gofmt -l .`" = "" ] [2021-03-31T01:22:59.447Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-31T01:22:59.463Z] $ docker stop --time=1 56a02b03d8b8bc8745fa4f092ea3524dccf3d16eeeec15e9c00b000c7003bd4b [2021-03-31T01:23:01.092Z] $ docker rm -f 56a02b03d8b8bc8745fa4f092ea3524dccf3d16eeeec15e9c00b000c7003bd4b [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-31T01:23:01.774Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-31T01:23:01.839Z] Warning: overwriting stash ‘coverage-report’ [2021-03-31T01:23:02.216Z] Stashed 2 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 Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-31T01:23:03.420Z] ---> job-cost.sh [2021-03-31T01:23:03.420Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Nvrc [2021-03-31T01:23:21.588Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-31T01:23:48.250Z] lf-activate-venv(): INFO: Adding /tmp/venv-Nvrc/bin to PATH [2021-03-31T01:23:48.250Z] INFO: No Stack... [2021-03-31T01:23:48.250Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-31T01:23:48.250Z] INFO: Archiving Costs [Pipeline] sh [2021-03-31T01:23:48.567Z] + cat /w/workspace/app-functions-sdk-go/208/archives/cost.csv [2021-03-31T01:23:48.567Z] + cut -d, -f6 [Pipeline] lock [2021-03-31T01:23:48.675Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-208-stack-cost] [2021-03-31T01:23:48.684Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-208-stack-cost] did not exist. Created. [2021-03-31T01:23:48.684Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-208-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-31T01:23:49.314Z] /w/workspace/app-functions-sdk-go/208@tmp/durable-6984f793/script.sh: line 1: unexpected EOF while looking for matching `'' [Pipeline] sh [2021-03-31T01:23:49.623Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-31T01:23:49.637Z] Warning: overwriting stash ‘stack-cost’ [2021-03-31T01:23:49.738Z] Stashed 1 file(s) [Pipeline] } [2021-03-31T01:23:49.756Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-208-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-03-31T01:23:51.471Z] provisioning config files... [2021-03-31T01:23:51.484Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config9035795296563938926tmp [Pipeline] { [Pipeline] sh [2021-03-31T01:23:51.907Z] + set +x [2021-03-31T01:23:51.907Z] + curl -s https://codecov.io/bash [2021-03-31T01:23:51.907Z] + bash -s -- [2021-03-31T01:23:52.171Z] [2021-03-31T01:23:52.171Z] _____ _ [2021-03-31T01:23:52.171Z] / ____| | | [2021-03-31T01:23:52.171Z] | | ___ __| | ___ ___ _____ __ [2021-03-31T01:23:52.171Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-31T01:23:52.171Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-31T01:23:52.171Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-31T01:23:52.171Z] Bash-20210309-2b87ace [2021-03-31T01:23:52.171Z] [2021-03-31T01:23:52.171Z] [2021-03-31T01:23:52.171Z] ==> git version 2.24.3 found [2021-03-31T01:23:52.171Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-03-31T01:23:52.171Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-31T01:23:52.171Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-31T01:23:52.171Z] ==> Jenkins CI detected. [2021-03-31T01:23:52.171Z] project root: . [2021-03-31T01:23:52.171Z] --> token set from env [2021-03-31T01:23:52.171Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-31T01:23:52.171Z] ==> Running gcov in . (disable via -X gcov) [2021-03-31T01:23:52.171Z] ==> Python coveragepy not found [2021-03-31T01:23:52.171Z] ==> Searching for coverage reports in: [2021-03-31T01:23:52.171Z] + . [2021-03-31T01:23:52.171Z] -> Found 2 reports [2021-03-31T01:23:52.171Z] ==> Detecting git/mercurial file structure [2021-03-31T01:23:52.171Z] ==> Reading reports [2021-03-31T01:23:52.171Z] + ./app-service-template/coverage.out bytes=1055 [2021-03-31T01:23:52.171Z] + ./coverage.out bytes=86824 [2021-03-31T01:23:52.171Z] ==> Appending adjustments [2021-03-31T01:23:52.171Z] https://docs.codecov.io/docs/fixing-reports [2021-03-31T01:23:52.748Z] + Found adjustments [2021-03-31T01:23:52.748Z] ==> Gzipping contents [2021-03-31T01:23:52.748Z] 16K /tmp/codecov.ipBC41.gz [2021-03-31T01:23:52.748Z] ==> Uploading reports [2021-03-31T01:23:52.748Z] url: https://codecov.io [2021-03-31T01:23:52.748Z] query: branch=master&commit=1fb879ad609e1bfd3d688421c030194a329f2903&build=208&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F208%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-03-31T01:23:52.748Z] -> Pinging Codecov [2021-03-31T01:23:52.748Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=master&commit=1fb879ad609e1bfd3d688421c030194a329f2903&build=208&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F208%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-03-31T01:23:53.324Z] -> Uploading to [2021-03-31T01:23:53.324Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-31/3D8B5DFFC46A037C893635FACE044666/1fb879ad609e1bfd3d688421c030194a329f2903/7d312881-617d-4241-a50a-696a46891256.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210331%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210331T012352Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3021dbe2aec708202141c5bd0c7e2bba730ff64df8411d1bd2be84c08dd92ded [2021-03-31T01:23:53.324Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-31T01:23:53.324Z] Dload Upload Total Spent Left Speed [2021-03-31T01:23:53.587Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15322 0 0 100 15322 0 36437 --:--:-- --:--:-- --:--:-- 36480 [2021-03-31T01:23:53.587Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/1fb879ad609e1bfd3d688421c030194a329f2903 [Pipeline] } [2021-03-31T01:23:53.597Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-03-31T01:23:54.661Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-03-31T01:23:54.723Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-31T01:23:55.072Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-31T01:23:55.072Z] [2021-03-31T01:23:55.072Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-03-31T01:23:55.434Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-31T01:23:55.434Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-03-31T01:23:55.434Z] 188c0c94c7c5: Pulling fs layer [2021-03-31T01:23:55.434Z] 0ef7d3d256c8: Pulling fs layer [2021-03-31T01:23:55.434Z] de9db76c5a1d: Pulling fs layer [2021-03-31T01:23:55.434Z] 0eba1c9be4d2: Pulling fs layer [2021-03-31T01:23:55.434Z] 0d57e429df01: Pulling fs layer [2021-03-31T01:23:55.434Z] 4e4be7b47b0d: Pulling fs layer [2021-03-31T01:23:55.434Z] e1f770b5df2f: Pulling fs layer [2021-03-31T01:23:55.434Z] 85a0685a4137: Pulling fs layer [2021-03-31T01:23:55.434Z] 0eba1c9be4d2: Waiting [2021-03-31T01:23:55.434Z] 0d57e429df01: Waiting [2021-03-31T01:23:55.434Z] 4e4be7b47b0d: Waiting [2021-03-31T01:23:55.434Z] e1f770b5df2f: Waiting [2021-03-31T01:23:55.434Z] de9db76c5a1d: Download complete [2021-03-31T01:23:55.434Z] 0ef7d3d256c8: Download complete [2021-03-31T01:23:55.434Z] 0d57e429df01: Verifying Checksum [2021-03-31T01:23:55.434Z] 0d57e429df01: Download complete [2021-03-31T01:23:55.697Z] 4e4be7b47b0d: Verifying Checksum [2021-03-31T01:23:55.697Z] 4e4be7b47b0d: Download complete [2021-03-31T01:23:55.697Z] 188c0c94c7c5: Verifying Checksum [2021-03-31T01:23:55.697Z] 188c0c94c7c5: Download complete [2021-03-31T01:23:55.960Z] 188c0c94c7c5: Pull complete [2021-03-31T01:23:56.225Z] 0ef7d3d256c8: Pull complete [2021-03-31T01:23:56.225Z] de9db76c5a1d: Pull complete [2021-03-31T01:23:57.624Z] e1f770b5df2f: Verifying Checksum [2021-03-31T01:23:57.624Z] e1f770b5df2f: Download complete [2021-03-31T01:23:59.035Z] 0eba1c9be4d2: Verifying Checksum [2021-03-31T01:23:59.035Z] 0eba1c9be4d2: Download complete [2021-03-31T01:23:59.617Z] 85a0685a4137: Verifying Checksum [2021-03-31T01:23:59.617Z] 85a0685a4137: Download complete [2021-03-31T01:24:04.969Z] 0eba1c9be4d2: Pull complete [2021-03-31T01:24:05.231Z] 0d57e429df01: Pull complete [2021-03-31T01:24:05.495Z] 4e4be7b47b0d: Pull complete [2021-03-31T01:24:07.421Z] e1f770b5df2f: Pull complete [2021-03-31T01:24:15.604Z] 85a0685a4137: Pull complete [2021-03-31T01:24:15.604Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-03-31T01:24:15.604Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-31T01:24:15.604Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-03-31T01:24:15.874Z] prd-centos7-docker-4c-2g-32144 does not seem to be running inside a container [2021-03-31T01:24:15.926Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-03-31T01:24:16.938Z] $ docker top 79d0149be620ea32efa2975b4b7f60c5ff458abaaa07f4d7014d25f4954ea37d -eo pid,comm [Pipeline] { [Pipeline] echo [2021-03-31T01:24:17.331Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-03-31T01:24:17.632Z] + set -o pipefail [2021-03-31T01:24:17.632Z] + snyk monitor '--org=edgex-jenkins' [2021-03-31T01:24:25.813Z] [2021-03-31T01:24:25.813Z] Monitoring /w/workspace/ndry_app-functions-sdk-go_master (github.com/edgexfoundry/app-functions-sdk-go/v2)... [2021-03-31T01:24:25.813Z] [2021-03-31T01:24:25.813Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/2dc0161c-c39e-4cea-96b9-3969e1005e40 [2021-03-31T01:24:25.813Z] [2021-03-31T01:24:25.813Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-03-31T01:24:25.813Z] [2021-03-31T01:24:25.813Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-03-31T01:24:25.813Z] [2021-03-31T01:24:26.075Z] [2021-03-31T01:24:26.075Z] You are approaching your monthly limit of 300 private tests for your edgex-jenkins org. [2021-03-31T01:24:26.075Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2021-03-31T01:24:26.092Z] $ docker stop --time=1 79d0149be620ea32efa2975b4b7f60c5ff458abaaa07f4d7014d25f4954ea37d [2021-03-31T01:24:29.130Z] $ docker rm -f 79d0149be620ea32efa2975b4b7f60c5ff458abaaa07f4d7014d25f4954ea37d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2021-03-31T01:24:30.592Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-31T01:24:30.664Z] provisioning config files... [2021-03-31T01:24:30.678Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config5824632129167508986tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-31T01:24:31.081Z] --> edgex-publish-swagger.sh [2021-03-31T01:24:31.081Z] === Publish openapi/v2 API === [2021-03-31T01:24:31.081Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-03-31T01:24:31.081Z] [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/ndry_app-functions-sdk-go_master/openapi/v2/app-functions-sdk.yaml] [2021-03-31T01:24:31.081Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-31T01:24:31.081Z] Dload Upload Total Spent Left Speed [2021-03-31T01:24:32.034Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13052 0 0 100 13052 0 12923 0:00:01 0:00:01 --:--:-- 12935 100 13052 0 0 100 13052 0 12920 0:00:01 0:00:01 --:--:-- 12935 [2021-03-31T01:24:32.034Z] [2021-03-31T01:24:32.034Z] [Pipeline] } [2021-03-31T01:24:32.043Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-31T01:24:32.994Z] + git log --format=format:%s -1 1fb879ad609e1bfd3d688421c030194a329f2903 [Pipeline] isUnix [Pipeline] sh [2021-03-31T01:24:33.308Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-31T01:24:33.308Z] . [Pipeline] withDockerContainer [2021-03-31T01:24:33.406Z] prd-centos7-docker-4c-2g-32144 does not seem to be running inside a container [2021-03-31T01:24:33.453Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-31T01:24:34.283Z] $ docker top a5499bc399e5f0319e485895b314e256cdbef859e30c0273d17f82e68428ca9f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-31T01:24:34.598Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-31T01:24:34.598Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-31T01:24:34.880Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-31T01:24:34.882Z] $ docker exec a5499bc399e5f0319e485895b314e256cdbef859e30c0273d17f82e68428ca9f ssh-agent [2021-03-31T01:24:35.054Z] SSH_AUTH_SOCK=/tmp/ssh-vNgMGa6XuMJq/agent.11 [2021-03-31T01:24:35.054Z] SSH_AGENT_PID=16 [2021-03-31T01:24:35.061Z] Running ssh-add (command line suppressed) [2021-03-31T01:24:35.189Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_3583826907333912963.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_3583826907333912963.key) [2021-03-31T01:24:35.251Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-31T01:24:35.595Z] + git semver tag [2021-03-31T01:24:35.595Z] # -> Open(): unable to determine branch for HEAD [2021-03-31T01:24:35.595Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-03-31T01:24:35.595Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-03-31T01:24:35.595Z] # $SEMVER_REMOTE_NAME = origin [2021-03-31T01:24:35.595Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-31T01:24:35.595Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-31T01:24:35.595Z] # $SEMVER_BRANCH = master [2021-03-31T01:24:35.595Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-03-31T01:24:35.595Z] # 1fb879ad609e1bfd3d688421c030194a329f2903 HEAD [2021-03-31T01:24:35.858Z] # -> Force: false [2021-03-31T01:24:35.858Z] # 84fa5bf7522c2e65150f5b44ab1968f4732551f7 refs/tags/v2.0.0-dev.39 [Pipeline] } [2021-03-31T01:24:35.871Z] $ docker exec --env ******** --env ******** a5499bc399e5f0319e485895b314e256cdbef859e30c0273d17f82e68428ca9f ssh-agent -k [2021-03-31T01:24:36.013Z] unset SSH_AUTH_SOCK; [2021-03-31T01:24:36.013Z] unset SSH_AGENT_PID; [2021-03-31T01:24:36.013Z] echo Agent pid 16 killed; [2021-03-31T01:24:36.105Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-31T01:24:36.607Z] + git semver [Pipeline] } [2021-03-31T01:24:36.623Z] $ docker stop --time=1 a5499bc399e5f0319e485895b314e256cdbef859e30c0273d17f82e68428ca9f [2021-03-31T01:24:37.987Z] $ docker rm -f a5499bc399e5f0319e485895b314e256cdbef859e30c0273d17f82e68428ca9f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-03-31T01:24:38.635Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-31T01:24:38.635Z] [2021-03-31T01:24:38.635Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-03-31T01:24:38.982Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-31T01:24:38.982Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-03-31T01:24:38.982Z] ab5ef0e58194: Pulling fs layer [2021-03-31T01:24:38.982Z] 9712f1f96733: Pulling fs layer [2021-03-31T01:24:38.982Z] 63f879dbbcfc: Pulling fs layer [2021-03-31T01:24:38.982Z] 0d9ebad4ef96: Pulling fs layer [2021-03-31T01:24:38.982Z] e9a5061849ea: Pulling fs layer [2021-03-31T01:24:38.982Z] d747dcd14b5f: Pulling fs layer [2021-03-31T01:24:38.982Z] 2de7ff778b66: Pulling fs layer [2021-03-31T01:24:38.982Z] e9a5061849ea: Waiting [2021-03-31T01:24:38.982Z] d747dcd14b5f: Waiting [2021-03-31T01:24:38.982Z] 2de7ff778b66: Waiting [2021-03-31T01:24:38.982Z] 0d9ebad4ef96: Waiting [2021-03-31T01:24:38.982Z] 9712f1f96733: Verifying Checksum [2021-03-31T01:24:38.982Z] 9712f1f96733: Download complete [2021-03-31T01:24:40.915Z] 63f879dbbcfc: Download complete [2021-03-31T01:24:40.915Z] e9a5061849ea: Verifying Checksum [2021-03-31T01:24:40.915Z] e9a5061849ea: Download complete [2021-03-31T01:24:40.915Z] d747dcd14b5f: Download complete [2021-03-31T01:24:41.182Z] 2de7ff778b66: Verifying Checksum [2021-03-31T01:24:41.182Z] 2de7ff778b66: Download complete [2021-03-31T01:24:41.580Z] 0d9ebad4ef96: Verifying Checksum [2021-03-31T01:24:41.580Z] 0d9ebad4ef96: Download complete [2021-03-31T01:24:41.580Z] ab5ef0e58194: Verifying Checksum [2021-03-31T01:24:41.580Z] ab5ef0e58194: Download complete [2021-03-31T01:24:46.006Z] ab5ef0e58194: Pull complete [2021-03-31T01:24:46.006Z] 9712f1f96733: Pull complete [2021-03-31T01:24:49.336Z] 63f879dbbcfc: Pull complete [2021-03-31T01:24:55.987Z] 0d9ebad4ef96: Pull complete [2021-03-31T01:24:57.915Z] e9a5061849ea: Pull complete [2021-03-31T01:24:57.915Z] d747dcd14b5f: Pull complete [2021-03-31T01:25:01.241Z] 2de7ff778b66: Pull complete [2021-03-31T01:25:01.241Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-03-31T01:25:01.241Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-31T01:25:01.241Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-03-31T01:25:01.439Z] prd-centos7-docker-4c-2g-32144 does not seem to be running inside a container [2021-03-31T01:25:01.492Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-03-31T01:25:04.290Z] $ docker top a5da0367d73035f5c2ffa7e143521cb725f777c7b987bbd5ccf952f211a934f8 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-03-31T01:25:04.540Z] provisioning config files... [2021-03-31T01:25:04.555Z] copy managed file [sigul-config] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config4006744841678484176tmp [2021-03-31T01:25:04.572Z] copy managed file [sigul-password] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config7073520439446760349tmp [2021-03-31T01:25:04.592Z] copy managed file [sigul-pki] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config2475323471676788311tmp [Pipeline] { [Pipeline] echo [2021-03-31T01:25:04.667Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T01:25:04.987Z] ---> sigul-configuration.sh [2021-03-31T01:25:04.987Z] gpg: directory `/root/.gnupg' created [2021-03-31T01:25:04.987Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-03-31T01:25:04.987Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-03-31T01:25:04.987Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-03-31T01:25:04.987Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-03-31T01:25:04.987Z] gpg: CAST5 encrypted data [2021-03-31T01:25:05.251Z] gpg: encrypted with 1 passphrase [2021-03-31T01:25:05.251Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-03-31T01:25:05.562Z] + mkdir /home/jenkins [2021-03-31T01:25:05.562Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-03-31T01:25:05.865Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-03-31T01:25:05.877Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T01:25:06.178Z] ---> sigul-install.sh [2021-03-31T01:25:12.788Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-03-31T01:25:13.093Z] + git tag --list [2021-03-31T01:25:13.093Z] v0.1.0 [2021-03-31T01:25:13.093Z] v0.1.1 [2021-03-31T01:25:13.093Z] v1.0.0 [2021-03-31T01:25:13.093Z] v1.1.0 [2021-03-31T01:25:13.093Z] v1.2.0 [2021-03-31T01:25:13.093Z] v1.3.0 [2021-03-31T01:25:13.093Z] v1.3.1 [2021-03-31T01:25:13.093Z] v1.3.1-dev.1 [2021-03-31T01:25:13.093Z] v1.3.2-dev.1 [2021-03-31T01:25:13.093Z] v2.0.0-dev.1 [2021-03-31T01:25:13.093Z] v2.0.0-dev.10 [2021-03-31T01:25:13.093Z] v2.0.0-dev.11 [2021-03-31T01:25:13.093Z] v2.0.0-dev.12 [2021-03-31T01:25:13.093Z] v2.0.0-dev.13 [2021-03-31T01:25:13.093Z] v2.0.0-dev.14 [2021-03-31T01:25:13.093Z] v2.0.0-dev.15 [2021-03-31T01:25:13.093Z] v2.0.0-dev.16 [2021-03-31T01:25:13.093Z] v2.0.0-dev.17 [2021-03-31T01:25:13.093Z] v2.0.0-dev.18 [2021-03-31T01:25:13.093Z] v2.0.0-dev.19 [2021-03-31T01:25:13.093Z] v2.0.0-dev.2 [2021-03-31T01:25:13.093Z] v2.0.0-dev.20 [2021-03-31T01:25:13.093Z] v2.0.0-dev.21 [2021-03-31T01:25:13.093Z] v2.0.0-dev.22 [2021-03-31T01:25:13.093Z] v2.0.0-dev.23 [2021-03-31T01:25:13.093Z] v2.0.0-dev.24 [2021-03-31T01:25:13.093Z] v2.0.0-dev.25 [2021-03-31T01:25:13.093Z] v2.0.0-dev.26 [2021-03-31T01:25:13.093Z] v2.0.0-dev.27 [2021-03-31T01:25:13.093Z] v2.0.0-dev.28 [2021-03-31T01:25:13.093Z] v2.0.0-dev.29 [2021-03-31T01:25:13.093Z] v2.0.0-dev.3 [2021-03-31T01:25:13.093Z] v2.0.0-dev.30 [2021-03-31T01:25:13.093Z] v2.0.0-dev.31 [2021-03-31T01:25:13.093Z] v2.0.0-dev.32 [2021-03-31T01:25:13.093Z] v2.0.0-dev.33 [2021-03-31T01:25:13.093Z] v2.0.0-dev.34 [2021-03-31T01:25:13.093Z] v2.0.0-dev.35 [2021-03-31T01:25:13.093Z] v2.0.0-dev.36 [2021-03-31T01:25:13.093Z] v2.0.0-dev.37 [2021-03-31T01:25:13.093Z] v2.0.0-dev.38 [2021-03-31T01:25:13.093Z] v2.0.0-dev.39 [2021-03-31T01:25:13.093Z] v2.0.0-dev.4 [2021-03-31T01:25:13.093Z] v2.0.0-dev.5 [2021-03-31T01:25:13.093Z] v2.0.0-dev.6 [2021-03-31T01:25:13.093Z] v2.0.0-dev.7 [2021-03-31T01:25:13.093Z] v2.0.0-dev.8 [2021-03-31T01:25:13.093Z] v2.0.0-dev.9 [Pipeline] sh [2021-03-31T01:25:13.392Z] + lftools sign git-tag v2.0.0-dev.39 [2021-03-31T01:25:14.784Z] Signing Git tag with Sigul... [2021-03-31T01:25:14.784Z] Signing v2.0.0-dev.39 [Pipeline] echo [2021-03-31T01:25:16.188Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T01:25:16.485Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-03-31T01:25:16.495Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-03-31T01:25:16.588Z] $ docker stop --time=1 a5da0367d73035f5c2ffa7e143521cb725f777c7b987bbd5ccf952f211a934f8 [2021-03-31T01:25:18.800Z] $ docker rm -f a5da0367d73035f5c2ffa7e143521cb725f777c7b987bbd5ccf952f211a934f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-03-31T01:25:19.725Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-31T01:25:19.725Z] . [Pipeline] withDockerContainer [2021-03-31T01:25:19.830Z] prd-centos7-docker-4c-2g-32144 does not seem to be running inside a container [2021-03-31T01:25:19.875Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-31T01:25:20.558Z] $ docker top 884d7105ae89453ce8ca96fb9eb6831fcf995e44e655fb240ffe852439824d62 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-31T01:25:20.869Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-31T01:25:20.869Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-31T01:25:21.073Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-31T01:25:21.075Z] $ docker exec 884d7105ae89453ce8ca96fb9eb6831fcf995e44e655fb240ffe852439824d62 ssh-agent [2021-03-31T01:25:21.256Z] SSH_AUTH_SOCK=/tmp/ssh-2U2OpqVMNSDl/agent.12 [2021-03-31T01:25:21.256Z] SSH_AGENT_PID=17 [2021-03-31T01:25:21.263Z] Running ssh-add (command line suppressed) [2021-03-31T01:25:21.390Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_3337473643051916997.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_3337473643051916997.key) [2021-03-31T01:25:21.449Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-31T01:25:21.787Z] + git semver bump pre [2021-03-31T01:25:21.787Z] # -> Open(): unable to determine branch for HEAD [2021-03-31T01:25:21.787Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-03-31T01:25:21.787Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-03-31T01:25:21.787Z] # $SEMVER_REMOTE_NAME = origin [2021-03-31T01:25:21.787Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-31T01:25:21.787Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-31T01:25:21.787Z] # $SEMVER_BRANCH = master [2021-03-31T01:25:21.787Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-03-31T01:25:21.787Z] 2.0.0-dev.40 [Pipeline] } [2021-03-31T01:25:21.798Z] $ docker exec --env ******** --env ******** 884d7105ae89453ce8ca96fb9eb6831fcf995e44e655fb240ffe852439824d62 ssh-agent -k [2021-03-31T01:25:21.921Z] unset SSH_AUTH_SOCK; [2021-03-31T01:25:21.921Z] unset SSH_AGENT_PID; [2021-03-31T01:25:21.921Z] echo Agent pid 17 killed; [2021-03-31T01:25:21.975Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-31T01:25:22.440Z] + git semver [Pipeline] } [2021-03-31T01:25:22.456Z] $ docker stop --time=1 884d7105ae89453ce8ca96fb9eb6831fcf995e44e655fb240ffe852439824d62 [2021-03-31T01:25:23.826Z] $ docker rm -f 884d7105ae89453ce8ca96fb9eb6831fcf995e44e655fb240ffe852439824d62 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-03-31T01:25:24.351Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-31T01:25:24.351Z] . [Pipeline] withDockerContainer [2021-03-31T01:25:24.454Z] prd-centos7-docker-4c-2g-32144 does not seem to be running inside a container [2021-03-31T01:25:24.503Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-31T01:25:25.143Z] $ docker top 9f789a1653fc59735f5099ed7c7ceb7b327d4ba0d7c3c2d96797663360289566 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-31T01:25:25.452Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-31T01:25:25.452Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-31T01:25:25.658Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-31T01:25:25.660Z] $ docker exec 9f789a1653fc59735f5099ed7c7ceb7b327d4ba0d7c3c2d96797663360289566 ssh-agent [2021-03-31T01:25:25.844Z] SSH_AUTH_SOCK=/tmp/ssh-oM9QWp4GrgsE/agent.12 [2021-03-31T01:25:25.844Z] SSH_AGENT_PID=17 [2021-03-31T01:25:25.851Z] Running ssh-add (command line suppressed) [2021-03-31T01:25:25.980Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_8636233885140822090.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_8636233885140822090.key) [2021-03-31T01:25:26.038Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-31T01:25:26.379Z] + git semver push [2021-03-31T01:25:26.379Z] # -> Open(): unable to determine branch for HEAD [2021-03-31T01:25:26.379Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-03-31T01:25:26.379Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-03-31T01:25:26.379Z] # $SEMVER_REMOTE_NAME = origin [2021-03-31T01:25:26.379Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-31T01:25:26.379Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-31T01:25:26.379Z] # $SEMVER_BRANCH = master [2021-03-31T01:25:26.379Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-03-31T01:25:30.608Z] $ docker exec --env ******** --env ******** 9f789a1653fc59735f5099ed7c7ceb7b327d4ba0d7c3c2d96797663360289566 ssh-agent -k [2021-03-31T01:25:30.726Z] unset SSH_AUTH_SOCK; [2021-03-31T01:25:30.727Z] unset SSH_AGENT_PID; [2021-03-31T01:25:30.728Z] echo Agent pid 17 killed; [2021-03-31T01:25:30.781Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-31T01:25:31.260Z] + git semver [Pipeline] } [2021-03-31T01:25:31.275Z] $ docker stop --time=1 9f789a1653fc59735f5099ed7c7ceb7b327d4ba0d7c3c2d96797663360289566 [2021-03-31T01:25:32.652Z] $ docker rm -f 9f789a1653fc59735f5099ed7c7ceb7b327d4ba0d7c3c2d96797663360289566 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-03-31T01:25:34.268Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T01:25:35.224Z] ---> package-listing.sh [2021-03-31T01:25:35.224Z] ++ facter osfamily [2021-03-31T01:25:35.224Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-31T01:25:35.224Z] + OS_FAMILY=redhat [2021-03-31T01:25:35.224Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_master [2021-03-31T01:25:35.224Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-31T01:25:35.224Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-31T01:25:35.224Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-31T01:25:35.224Z] + PACKAGES=/tmp/packages_start.txt [2021-03-31T01:25:35.224Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-03-31T01:25:35.224Z] + PACKAGES=/tmp/packages_end.txt [2021-03-31T01:25:35.224Z] + case "${OS_FAMILY}" in [2021-03-31T01:25:35.224Z] + rpm -qa [2021-03-31T01:25:35.224Z] + sort [2021-03-31T01:25:40.540Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-31T01:25:40.540Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-31T01:25:40.540Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-31T01:25:40.540Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-03-31T01:25:40.540Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_master/archives/ [2021-03-31T01:25:40.540Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_master/archives/ [Pipeline] echo [2021-03-31T01:25:40.560Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-31T01:25:40.858Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-31T01:25:41.164Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-31T01:25:41.165Z] [2021-03-31T01:25:41.165Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-31T01:25:41.520Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-31T01:25:41.520Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-31T01:25:41.520Z] df20fa9351a1: Pulling fs layer [2021-03-31T01:25:41.520Z] 36b3adc4ff6f: Pulling fs layer [2021-03-31T01:25:41.520Z] 8ad3a11d3b57: Pulling fs layer [2021-03-31T01:25:41.520Z] 46f8f816bc3b: Pulling fs layer [2021-03-31T01:25:41.520Z] 93b61091891f: Pulling fs layer [2021-03-31T01:25:41.520Z] 93b9cdb0e59b: Pulling fs layer [2021-03-31T01:25:41.520Z] 5e14af77c1be: Pulling fs layer [2021-03-31T01:25:41.520Z] 01666e4c0597: Pulling fs layer [2021-03-31T01:25:41.520Z] aa168da1d23b: Pulling fs layer [2021-03-31T01:25:41.520Z] 46f8f816bc3b: Waiting [2021-03-31T01:25:41.520Z] 5e14af77c1be: Waiting [2021-03-31T01:25:41.520Z] 01666e4c0597: Waiting [2021-03-31T01:25:41.520Z] aa168da1d23b: Waiting [2021-03-31T01:25:41.520Z] 93b9cdb0e59b: Waiting [2021-03-31T01:25:41.520Z] 36b3adc4ff6f: Verifying Checksum [2021-03-31T01:25:41.520Z] 36b3adc4ff6f: Download complete [2021-03-31T01:25:41.520Z] 46f8f816bc3b: Verifying Checksum [2021-03-31T01:25:41.520Z] 46f8f816bc3b: Download complete [2021-03-31T01:25:41.784Z] df20fa9351a1: Verifying Checksum [2021-03-31T01:25:41.784Z] df20fa9351a1: Download complete [2021-03-31T01:25:41.784Z] 93b61091891f: Download complete [2021-03-31T01:25:41.784Z] 93b9cdb0e59b: Verifying Checksum [2021-03-31T01:25:41.784Z] 93b9cdb0e59b: Download complete [2021-03-31T01:25:41.784Z] 5e14af77c1be: Verifying Checksum [2021-03-31T01:25:41.784Z] 01666e4c0597: Verifying Checksum [2021-03-31T01:25:41.784Z] 01666e4c0597: Download complete [2021-03-31T01:25:41.784Z] 8ad3a11d3b57: Verifying Checksum [2021-03-31T01:25:41.784Z] 8ad3a11d3b57: Download complete [2021-03-31T01:25:42.361Z] df20fa9351a1: Pull complete [2021-03-31T01:25:42.944Z] 36b3adc4ff6f: Pull complete [2021-03-31T01:25:43.903Z] aa168da1d23b: Verifying Checksum [2021-03-31T01:25:43.903Z] aa168da1d23b: Download complete [2021-03-31T01:25:44.478Z] 8ad3a11d3b57: Pull complete [2021-03-31T01:25:45.055Z] 46f8f816bc3b: Pull complete [2021-03-31T01:25:45.317Z] 93b61091891f: Pull complete [2021-03-31T01:25:45.579Z] 93b9cdb0e59b: Pull complete [2021-03-31T01:25:45.579Z] 5e14af77c1be: Pull complete [2021-03-31T01:25:45.847Z] 01666e4c0597: Pull complete [2021-03-31T01:25:54.049Z] aa168da1d23b: Pull complete [2021-03-31T01:25:54.049Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-31T01:25:54.049Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-31T01:25:54.049Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-31T01:25:54.250Z] prd-centos7-docker-4c-2g-32144 does not seem to be running inside a container [2021-03-31T01:25:54.297Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-31T01:25:57.561Z] $ docker top 41dd939dfbba9d8e55571ce4457d0fee00ace6d99a37be0af652e26fe38d5d3f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-31T01:25:58.087Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-31T01:25:58.387Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-31T01:25:58.689Z] + ls /var/log/sa-host [2021-03-31T01:25:58.690Z] + sadf -c /var/log/sa-host/sa23 [2021-03-31T01:25:58.690Z] file_magic: OK [2021-03-31T01:25:58.690Z] HZ: Using current value: 100 [2021-03-31T01:25:58.690Z] file_header: OK [2021-03-31T01:25:58.690Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-03-31T01:25:58.690Z] Statistics: [2021-03-31T01:25:58.690Z] Hnuu...uuuununununu... [2021-03-31T01:25:58.690Z] File successfully converted to sysstat format version 12.2.1 [2021-03-31T01:25:58.690Z] + sadf -c /var/log/sa-host/sa31 [2021-03-31T01:25:58.690Z] file_magic: OK [2021-03-31T01:25:58.690Z] HZ: Using current value: 100 [2021-03-31T01:25:58.690Z] file_header: OK [2021-03-31T01:25:58.690Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-03-31T01:25:58.690Z] Statistics: [2021-03-31T01:25:58.690Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-31T01:25:58.690Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-31T01:25:59.387Z] provisioning config files... [2021-03-31T01:25:59.404Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config3006601330254262577tmp [Pipeline] { [Pipeline] echo [2021-03-31T01:25:59.480Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T01:25:59.781Z] ---> create-netrc.sh [Pipeline] } [2021-03-31T01:25:59.791Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-31T01:25:59.904Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T01:26:00.204Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-31T01:26:00.216Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T01:26:00.528Z] ---> sudo-logs.sh [2021-03-31T01:26:00.528Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-31T01:26:00.596Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T01:26:00.903Z] ---> job-cost.sh [2021-03-31T01:26:00.903Z] lf-activate-venv: SKIPPING [2021-03-31T01:26:00.903Z] DEBUG: total: 0.029999999329447746 [2021-03-31T01:26:00.904Z] INFO: Retrieving Stack Cost... [2021-03-31T01:26:02.296Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-31T01:26:02.559Z] INFO: Archiving Costs [Pipeline] echo [2021-03-31T01:26:02.572Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T01:26:02.872Z] ---> logs-deploy.sh [2021-03-31T01:26:02.872Z] lf-activate-venv: SKIPPING [2021-03-31T01:26:02.872Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/master/208 [2021-03-31T01:26:02.872Z] INFO: archiving workspace using pattern(s): [2021-03-31T01:26:04.795Z] Archives upload complete. [2021-03-31T01:26:04.795Z] INFO: archiving logs to Nexus