Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from c93cf0ed3f41567c1bae2c6d879eead5a905221c 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > 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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-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 Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-3684 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision c93cf0ed3f41567c1bae2c6d879eead5a905221c (master) > git config core.sparsecheckout # timeout=10 > git checkout -f c93cf0ed3f41567c1bae2c6d879eead5a905221c # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 (#828)" > git rev-list --no-walk 3b42cf363f20bae43c178459c74c2e2ed1e81bd2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-07T22:46:29.492Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-07T22:46:29.600Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-07T22:46:29.628Z] ========================================================= [2021-05-07T22:46:29.628Z] EdgeX Global Pipelines Version Info [2021-05-07T22:46:29.628Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-07T22:46:31.155Z] ------------------- [2021-05-07T22:46:31.155Z] stable info: [2021-05-07T22:46:31.155Z] ------------------- [2021-05-07T22:46:31.155Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-07T22:46:31.155Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-07T22:46:31.155Z] Message: update stable to v1.0.191 [2021-05-07T22:46:32.102Z] ------------------- [2021-05-07T22:46:32.102Z] experimental info: [2021-05-07T22:46:32.102Z] ------------------- [2021-05-07T22:46:32.102Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-07T22:46:32.102Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-07T22:46:32.102Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-07T22:46:32.222Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-05-07T22:46:32.246Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-05-07T22:46:32.269Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-07T22:46:32.292Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-07T22:46:32.314Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-07T22:46:32.337Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-07T22:46:32.360Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-07T22:46:32.383Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-07T22:46:32.406Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-07T22:46:32.429Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-07T22:46:32.451Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-07T22:46:32.474Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2021-05-07T22:46:32.525Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-07T22:46:32.548Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-07T22:46:32.572Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-05-07T22:46:32.594Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-07T22:46:32.617Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-07T22:46:32.639Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-07T22:46:32.662Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-07T22:46:32.685Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-07T22:46:32.707Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-07T22:46:32.730Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-05-07T22:46:32.752Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-07T22:46:32.776Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-07T22:46:32.799Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-05-07T22:46:32.821Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-07T22:46:32.843Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-05-07T22:46:32.865Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-05-07T22:46:32.909Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-05-07T22:46:32.935Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c93cf0ed3f41567c1bae2c6d879eead5a905221c [Pipeline] echo [2021-05-07T22:46:32.959Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c93cf0e [Pipeline] echo [2021-05-07T22:46:32.983Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-07T22:46:33.404Z] + git log --format=format:%s -1 c93cf0ed3f41567c1bae2c6d879eead5a905221c [Pipeline] echo [2021-05-07T22:46:33.476Z] GIT_COMMIT: c93cf0ed3f41567c1bae2c6d879eead5a905221c, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 (#828) [Pipeline] echo [2021-05-07T22:46:33.490Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-07T22:46:34.619Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-07T22:46:34.884Z] [2021-05-07T22:46:34.884Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-07T22:46:35.197Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-07T22:46:35.197Z] latest: Pulling from edgex-devops/git-semver [2021-05-07T22:46:35.197Z] 31603596830f: Pulling fs layer [2021-05-07T22:46:35.197Z] 54011a49482f: Pulling fs layer [2021-05-07T22:46:35.197Z] a6820b24f6d8: Pulling fs layer [2021-05-07T22:46:35.197Z] f581987b2513: Pulling fs layer [2021-05-07T22:46:35.197Z] f581987b2513: Waiting [2021-05-07T22:46:35.460Z] 54011a49482f: Verifying Checksum [2021-05-07T22:46:35.460Z] 54011a49482f: Download complete [2021-05-07T22:46:35.460Z] 31603596830f: Verifying Checksum [2021-05-07T22:46:35.460Z] 31603596830f: Download complete [2021-05-07T22:46:35.724Z] f581987b2513: Verifying Checksum [2021-05-07T22:46:35.724Z] f581987b2513: Download complete [2021-05-07T22:46:35.724Z] a6820b24f6d8: Verifying Checksum [2021-05-07T22:46:35.724Z] a6820b24f6d8: Download complete [2021-05-07T22:46:35.724Z] 31603596830f: Pull complete [2021-05-07T22:46:35.988Z] 54011a49482f: Pull complete [2021-05-07T22:46:36.562Z] a6820b24f6d8: Pull complete [2021-05-07T22:46:36.823Z] f581987b2513: Pull complete [2021-05-07T22:46:36.823Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-07T22:46:36.823Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-07T22:46:36.823Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-07T22:46:36.919Z] prd-centos7-docker-4c-2g-3684 does not seem to be running inside a container [2021-05-07T22:46:36.964Z] $ 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-05-07T22:46:38.973Z] $ docker top 40bff71967e7ce25df937003bc97af4859f4e82b33846ef297f9126150a02db6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-07T22:46:39.116Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-07T22:46:39.116Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-07T22:46:39.313Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-07T22:46:39.318Z] $ docker exec 40bff71967e7ce25df937003bc97af4859f4e82b33846ef297f9126150a02db6 ssh-agent [2021-05-07T22:46:39.481Z] SSH_AUTH_SOCK=/tmp/ssh-UWXEFGjGs4bM/agent.11 [2021-05-07T22:46:39.481Z] SSH_AGENT_PID=16 [2021-05-07T22:46:39.493Z] Running ssh-add (command line suppressed) [2021-05-07T22:46:39.608Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_6388014745726938877.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_6388014745726938877.key) [2021-05-07T22:46:39.657Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-07T22:46:39.955Z] + git tag --points-at HEAD [Pipeline] } [2021-05-07T22:46:39.985Z] $ docker exec --env ******** --env ******** 40bff71967e7ce25df937003bc97af4859f4e82b33846ef297f9126150a02db6 ssh-agent -k [2021-05-07T22:46:40.091Z] unset SSH_AUTH_SOCK; [2021-05-07T22:46:40.091Z] unset SSH_AGENT_PID; [2021-05-07T22:46:40.091Z] echo Agent pid 16 killed; [2021-05-07T22:46:40.135Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-07T22:46:40.179Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-07T22:46:40.179Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-07T22:46:40.337Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-07T22:46:40.342Z] $ docker exec 40bff71967e7ce25df937003bc97af4859f4e82b33846ef297f9126150a02db6 ssh-agent [2021-05-07T22:46:40.496Z] SSH_AUTH_SOCK=/tmp/ssh-QBSytBNFnvRf/agent.48 [2021-05-07T22:46:40.496Z] SSH_AGENT_PID=53 [2021-05-07T22:46:40.501Z] Running ssh-add (command line suppressed) [2021-05-07T22:46:40.612Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_6667645332001366966.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_6667645332001366966.key) [2021-05-07T22:46:40.661Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-07T22:46:40.961Z] + git semver init [2021-05-07T22:46:40.961Z] # -> Open(): unable to determine branch for HEAD [2021-05-07T22:46:40.961Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-05-07T22:46:40.961Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-05-07T22:46:40.961Z] # $SEMVER_REMOTE_NAME = origin [2021-05-07T22:46:40.961Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-07T22:46:40.961Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-07T22:46:40.961Z] # $SEMVER_BRANCH = master [2021-05-07T22:46:40.961Z] # $SEMVER_TEMP = /tmp/semver-826996328 [2021-05-07T22:46:40.961Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-05-07T22:46:43.514Z] # '/tmp/semver-826996328' -> '/w/workspace/ndry_app-functions-sdk-go_master/.semver' [2021-05-07T22:46:43.514Z] # -> Force: false [2021-05-07T22:46:43.514Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-05-07T22:46:43.528Z] $ docker exec --env ******** --env ******** 40bff71967e7ce25df937003bc97af4859f4e82b33846ef297f9126150a02db6 ssh-agent -k [2021-05-07T22:46:43.650Z] unset SSH_AUTH_SOCK; [2021-05-07T22:46:43.651Z] unset SSH_AGENT_PID; [2021-05-07T22:46:43.651Z] echo Agent pid 53 killed; [2021-05-07T22:46:43.704Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-07T22:46:44.035Z] + git semver [Pipeline] } [2021-05-07T22:46:44.053Z] $ docker stop --time=1 40bff71967e7ce25df937003bc97af4859f4e82b33846ef297f9126150a02db6 [2021-05-07T22:46:45.848Z] $ docker rm -f 40bff71967e7ce25df937003bc97af4859f4e82b33846ef297f9126150a02db6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-07T22:46:46.276Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-07T22:46:46.635Z] Stashed 1 file(s) [Pipeline] echo [2021-05-07T22:46:46.639Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.56 [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-05-07T22:47:01.822Z] Still waiting to schedule task [2021-05-07T22:47:01.822Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3684’ [2021-05-07T22:47:01.825Z] Still waiting to schedule task [2021-05-07T22:47:01.825Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-05-07T22:48:50.732Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3685 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-05-07T22:48:50.755Z] Running in /w/workspace/app-functions-sdk-go/228 [Pipeline] { [Pipeline] checkout [2021-05-07T22:48:56.157Z] using credential edgex-jenkins-ssh [2021-05-07T22:48:56.179Z] Cloning the remote Git repository [2021-05-07T22:48:56.227Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-05-07T22:48:56.407Z] > git init /w/workspace/app-functions-sdk-go/228 # timeout=10 [2021-05-07T22:48:56.514Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-05-07T22:48:56.515Z] > git --version # timeout=10 [2021-05-07T22:48:56.527Z] > git --version # 'git version 2.17.1' [2021-05-07T22:48:56.529Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T22:48:56.593Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-07T22:48:59.688Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-05-07T22:49:00.315Z] Checking out Revision c93cf0ed3f41567c1bae2c6d879eead5a905221c (master) [2021-05-07T22:48:59.715Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-07T22:48:59.739Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-05-07T22:48:59.774Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-05-07T22:48:59.775Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T22:48:59.787Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-07T22:49:00.334Z] > git config core.sparsecheckout # timeout=10 [2021-05-07T22:49:00.346Z] > git checkout -f c93cf0ed3f41567c1bae2c6d879eead5a905221c # timeout=10 [2021-05-07T22:49:04.568Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 (#828)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-07T22:49:06.299Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-07T22:49:06.878Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-07T22:49:07.220Z] + sudo service docker restart [2021-05-07T22:49:07.220Z] + true [Pipeline] unstash [Pipeline] echo [2021-05-07T22:49:10.109Z] ========================================================= [2021-05-07T22:49:10.109Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-07T22:49:10.109Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-07T22:49:10.469Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-07T22:49:11.452Z] Sending build context to Docker daemon 19.54MB [2021-05-07T22:49:11.452Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-07T22:49:11.452Z] Step 2/8 : FROM ${BASE} [2021-05-07T22:49:12.046Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-07T22:49:12.046Z] 595b0fe564bb: Pulling fs layer [2021-05-07T22:49:12.046Z] 7186ed65a4f7: Pulling fs layer [2021-05-07T22:49:12.046Z] 316046926c0a: Pulling fs layer [2021-05-07T22:49:12.046Z] 4ebd0625c992: Pulling fs layer [2021-05-07T22:49:12.046Z] 207e8628e3a3: Pulling fs layer [2021-05-07T22:49:12.046Z] c791037a9be2: Pulling fs layer [2021-05-07T22:49:12.046Z] ffd874e62e21: Pulling fs layer [2021-05-07T22:49:12.046Z] 4ebd0625c992: Waiting [2021-05-07T22:49:12.046Z] 207e8628e3a3: Waiting [2021-05-07T22:49:12.046Z] c791037a9be2: Waiting [2021-05-07T22:49:12.046Z] ffd874e62e21: Waiting [2021-05-07T22:49:12.046Z] 316046926c0a: Verifying Checksum [2021-05-07T22:49:12.046Z] 316046926c0a: Download complete [2021-05-07T22:49:12.046Z] 7186ed65a4f7: Verifying Checksum [2021-05-07T22:49:12.046Z] 7186ed65a4f7: Download complete [2021-05-07T22:49:12.046Z] 207e8628e3a3: Verifying Checksum [2021-05-07T22:49:12.046Z] 207e8628e3a3: Download complete [2021-05-07T22:49:12.046Z] c791037a9be2: Verifying Checksum [2021-05-07T22:49:12.046Z] c791037a9be2: Download complete [2021-05-07T22:49:12.046Z] 595b0fe564bb: Verifying Checksum [2021-05-07T22:49:12.046Z] 595b0fe564bb: Download complete [2021-05-07T22:49:13.030Z] 595b0fe564bb: Pull complete [2021-05-07T22:49:13.303Z] 7186ed65a4f7: Pull complete [2021-05-07T22:49:13.578Z] 316046926c0a: Pull complete [2021-05-07T22:49:14.553Z] ffd874e62e21: Verifying Checksum [2021-05-07T22:49:14.553Z] ffd874e62e21: Download complete [2021-05-07T22:49:15.986Z] 4ebd0625c992: Verifying Checksum [2021-05-07T22:49:15.986Z] 4ebd0625c992: Download complete [2021-05-07T22:49:28.411Z] 4ebd0625c992: Pull complete [2021-05-07T22:49:28.411Z] 207e8628e3a3: Pull complete [2021-05-07T22:49:28.411Z] c791037a9be2: Pull complete [2021-05-07T22:49:31.026Z] ffd874e62e21: Pull complete [2021-05-07T22:49:31.026Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-07T22:49:31.026Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-07T22:49:31.026Z] ---> cfc18b08335c [2021-05-07T22:49:31.026Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-05-07T22:49:31.026Z] 20.10.0: Pulling from library/docker [2021-05-07T22:49:31.026Z] a3cc7d3b244e: Pulling fs layer [2021-05-07T22:49:31.026Z] 02a3295e0d61: Pulling fs layer [2021-05-07T22:49:31.026Z] 0f4f2e6d8100: Pulling fs layer [2021-05-07T22:49:31.026Z] 330b718f631f: Pulling fs layer [2021-05-07T22:49:31.026Z] a93816041522: Pulling fs layer [2021-05-07T22:49:31.026Z] bdb6da89ff94: Pulling fs layer [2021-05-07T22:49:31.026Z] 2a70c0c122f4: Pulling fs layer [2021-05-07T22:49:31.026Z] 330b718f631f: Waiting [2021-05-07T22:49:31.026Z] a93816041522: Waiting [2021-05-07T22:49:31.026Z] bdb6da89ff94: Waiting [2021-05-07T22:49:31.026Z] 0f4f2e6d8100: Verifying Checksum [2021-05-07T22:49:31.026Z] 0f4f2e6d8100: Download complete [2021-05-07T22:49:31.026Z] 02a3295e0d61: Verifying Checksum [2021-05-07T22:49:31.026Z] 02a3295e0d61: Download complete [2021-05-07T22:49:31.026Z] a3cc7d3b244e: Verifying Checksum [2021-05-07T22:49:31.026Z] a3cc7d3b244e: Download complete [2021-05-07T22:49:31.026Z] a93816041522: Verifying Checksum [2021-05-07T22:49:31.026Z] a93816041522: Download complete [2021-05-07T22:49:31.300Z] bdb6da89ff94: Verifying Checksum [2021-05-07T22:49:31.300Z] bdb6da89ff94: Download complete [2021-05-07T22:49:31.300Z] 2a70c0c122f4: Verifying Checksum [2021-05-07T22:49:31.300Z] 2a70c0c122f4: Download complete [2021-05-07T22:49:31.578Z] a3cc7d3b244e: Pull complete [2021-05-07T22:49:32.559Z] 02a3295e0d61: Pull complete [2021-05-07T22:49:32.559Z] 0f4f2e6d8100: Pull complete [2021-05-07T22:49:32.832Z] 330b718f631f: Verifying Checksum [2021-05-07T22:49:32.832Z] 330b718f631f: Download complete [2021-05-07T22:49:37.150Z] 330b718f631f: Pull complete [2021-05-07T22:49:37.150Z] a93816041522: Pull complete [2021-05-07T22:49:37.427Z] bdb6da89ff94: Pull complete [2021-05-07T22:49:37.702Z] 2a70c0c122f4: Pull complete [2021-05-07T22:49:37.702Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-05-07T22:49:37.976Z] Status: Downloaded newer image for docker:20.10.0 [2021-05-07T22:49:44.713Z] ---> 412a6998b1ea [2021-05-07T22:49:44.713Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-07T22:49:44.713Z] ---> Running in f0f76ff8f927 [2021-05-07T22:49:44.713Z] Removing intermediate container f0f76ff8f927 [2021-05-07T22:49:44.713Z] ---> 5cbd936b13ec [2021-05-07T22:49:44.713Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-05-07T22:49:44.713Z] ---> Running in 920cb0bbc667 [2021-05-07T22:49:45.693Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-07T22:49:46.674Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-07T22:49:47.268Z] (1/5) Installing libsodium (1.0.18-r0) [2021-05-07T22:49:47.540Z] (2/5) Installing libzmq (4.3.3-r1) [2021-05-07T22:49:47.540Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-05-07T22:49:47.818Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-05-07T22:49:47.818Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-05-07T22:49:47.818Z] Executing busybox-1.32.1-r6.trigger [2021-05-07T22:49:47.818Z] OK: 139 MiB in 45 packages [2021-05-07T22:49:49.253Z] Removing intermediate container 920cb0bbc667 [2021-05-07T22:49:49.253Z] ---> 54ad7e3bf4eb [2021-05-07T22:49:49.253Z] Step 6/8 : WORKDIR /build [2021-05-07T22:49:49.253Z] ---> Running in 43c03501bef7 [2021-05-07T22:49:49.848Z] Removing intermediate container 43c03501bef7 [2021-05-07T22:49:49.848Z] ---> 87b9713f17bd [2021-05-07T22:49:49.848Z] Step 7/8 : COPY go.mod . [2021-05-07T22:49:50.453Z] ---> 09e257d73464 [2021-05-07T22:49:50.453Z] Step 8/8 : RUN go mod download [2021-05-07T22:49:50.727Z] ---> Running in e382d86c5997 [2021-05-07T22:50:12.276Z] Running on prd-centos7-docker-4c-2g-3686 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-05-07T22:50:12.301Z] Running in /w/workspace/app-functions-sdk-go/228 [Pipeline] { [Pipeline] checkout [2021-05-07T22:50:17.522Z] Removing intermediate container e382d86c5997 [2021-05-07T22:50:17.522Z] ---> 079635b9ce98 [2021-05-07T22:50:17.522Z] Successfully built 079635b9ce98 [2021-05-07T22:50:17.522Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-07T22:50:17.874Z] + docker inspect -f . ci-base-image-arm64 [2021-05-07T22:50:17.874Z] . [Pipeline] withDockerContainer [2021-05-07T22:50:18.148Z] prd-ubuntu18.04-docker-arm64-4c-16g-3685 does not seem to be running inside a container [2021-05-07T22:50:18.247Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/228 -v /w/workspace/app-functions-sdk-go/228:/w/workspace/app-functions-sdk-go/228:rw,z -v /w/workspace/app-functions-sdk-go/228@tmp:/w/workspace/app-functions-sdk-go/228@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-07T22:50:19.825Z] $ docker top d44534cf3aa5e8d433ed08ff51145db73771ce9a3bd2bdf3fd6e281e0a16f864 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-07T22:50:20.768Z] + go version [2021-05-07T22:50:20.768Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-07T22:50:20.802Z] $ docker stop --time=1 d44534cf3aa5e8d433ed08ff51145db73771ce9a3bd2bdf3fd6e281e0a16f864 [2021-05-07T22:50:21.014Z] using credential edgex-jenkins-ssh [2021-05-07T22:50:21.040Z] Cloning the remote Git repository [2021-05-07T22:50:21.142Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-05-07T22:50:21.256Z] > git init /w/workspace/app-functions-sdk-go/228 # timeout=10 [2021-05-07T22:50:21.476Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-05-07T22:50:21.476Z] > git --version # timeout=10 [2021-05-07T22:50:21.514Z] > git --version # 'git version 2.24.3' [2021-05-07T22:50:21.516Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T22:50:22.740Z] $ docker rm -f d44534cf3aa5e8d433ed08ff51145db73771ce9a3bd2bdf3fd6e281e0a16f864 [2021-05-07T22:50:21.602Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-07T22:50:23.392Z] + docker inspect -f . ci-base-image-arm64 [2021-05-07T22:50:23.392Z] . [Pipeline] withDockerContainer [2021-05-07T22:50:23.650Z] prd-ubuntu18.04-docker-arm64-4c-16g-3685 does not seem to be running inside a container [2021-05-07T22:50:23.743Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/228 -v /w/workspace/app-functions-sdk-go/228:/w/workspace/app-functions-sdk-go/228:rw,z -v /w/workspace/app-functions-sdk-go/228@tmp:/w/workspace/app-functions-sdk-go/228@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-07T22:50:24.201Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-05-07T22:50:24.218Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-07T22:50:24.282Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-05-07T22:50:24.321Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-05-07T22:50:24.321Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T22:50:24.358Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-07T22:50:24.874Z] Checking out Revision c93cf0ed3f41567c1bae2c6d879eead5a905221c (master) [2021-05-07T22:50:25.293Z] $ docker top 8e5a7341b626ef19d1ad83ca040bcc9ec87bb0b1ff833a5483b7622e0b5dfad3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-07T22:50:24.890Z] > git config core.sparsecheckout # timeout=10 [2021-05-07T22:50:24.925Z] > git checkout -f c93cf0ed3f41567c1bae2c6d879eead5a905221c # timeout=10 [2021-05-07T22:50:26.239Z] + go mod tidy [Pipeline] sh [2021-05-07T22:50:27.492Z] + make test [2021-05-07T22:50:27.492Z] make -C ./app-service-template build [2021-05-07T22:50:27.492Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/228/app-service-template' [2021-05-07T22:50:27.492Z] go mod tidy [2021-05-07T22:50:28.475Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.52 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-05-07T22:50:29.541Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 (#828)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-07T22:50:31.401Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-07T22:50:31.817Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-07T22:50:32.237Z] + sudo service docker restart [2021-05-07T22:50:32.237Z] + true [2021-05-07T22:50:32.237Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-05-07T22:50:34.604Z] ========================================================= [2021-05-07T22:50:34.604Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-07T22:50:34.604Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-07T22:50:35.249Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-07T22:50:36.747Z] Sending build context to Docker daemon 19.52MB [2021-05-07T22:50:36.747Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-07T22:50:36.747Z] Step 2/8 : FROM ${BASE} [2021-05-07T22:50:36.747Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-07T22:50:36.747Z] 540db60ca938: Pulling fs layer [2021-05-07T22:50:36.747Z] adcc1eea9eea: Pulling fs layer [2021-05-07T22:50:36.747Z] 4c4ab2625f07: Pulling fs layer [2021-05-07T22:50:36.747Z] 0510c868ecb4: Pulling fs layer [2021-05-07T22:50:36.747Z] afea3b2eda06: Pulling fs layer [2021-05-07T22:50:36.747Z] 7809a108b3ef: Pulling fs layer [2021-05-07T22:50:36.747Z] f706445af74f: Pulling fs layer [2021-05-07T22:50:36.747Z] afea3b2eda06: Waiting [2021-05-07T22:50:36.747Z] 7809a108b3ef: Waiting [2021-05-07T22:50:36.747Z] f706445af74f: Waiting [2021-05-07T22:50:36.747Z] 0510c868ecb4: Waiting [2021-05-07T22:50:36.747Z] 4c4ab2625f07: Download complete [2021-05-07T22:50:36.747Z] adcc1eea9eea: Verifying Checksum [2021-05-07T22:50:36.747Z] adcc1eea9eea: Download complete [2021-05-07T22:50:36.747Z] afea3b2eda06: Verifying Checksum [2021-05-07T22:50:36.747Z] afea3b2eda06: Download complete [2021-05-07T22:50:37.051Z] 7809a108b3ef: Verifying Checksum [2021-05-07T22:50:37.051Z] 7809a108b3ef: Download complete [2021-05-07T22:50:37.381Z] 540db60ca938: Verifying Checksum [2021-05-07T22:50:37.381Z] 540db60ca938: Download complete [2021-05-07T22:50:38.026Z] 540db60ca938: Pull complete [2021-05-07T22:50:38.682Z] adcc1eea9eea: Pull complete [2021-05-07T22:50:39.013Z] 4c4ab2625f07: Pull complete [2021-05-07T22:50:42.448Z] f706445af74f: Verifying Checksum [2021-05-07T22:50:42.448Z] f706445af74f: Download complete [2021-05-07T22:50:43.435Z] 0510c868ecb4: Verifying Checksum [2021-05-07T22:50:43.435Z] 0510c868ecb4: Download complete [2021-05-07T22:50:56.127Z] 0510c868ecb4: Pull complete [2021-05-07T22:50:56.127Z] afea3b2eda06: Pull complete [2021-05-07T22:50:56.127Z] 7809a108b3ef: Pull complete [2021-05-07T22:51:02.915Z] f706445af74f: Pull complete [2021-05-07T22:51:02.915Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-07T22:51:02.915Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-07T22:51:02.915Z] ---> b068be0155e3 [2021-05-07T22:51:02.915Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-05-07T22:51:02.915Z] 20.10.0: Pulling from library/docker [2021-05-07T22:51:02.915Z] 05e7bc50f07f: Pulling fs layer [2021-05-07T22:51:02.915Z] 6db28d0fdbf6: Pulling fs layer [2021-05-07T22:51:02.915Z] 292df0bc6bf3: Pulling fs layer [2021-05-07T22:51:02.915Z] 2e060f4bd70b: Pulling fs layer [2021-05-07T22:51:02.915Z] 80e8d568a223: Pulling fs layer [2021-05-07T22:51:02.915Z] 8dc6ef1a942a: Pulling fs layer [2021-05-07T22:51:02.915Z] 2312dd95470a: Pulling fs layer [2021-05-07T22:51:02.915Z] 8dc6ef1a942a: Waiting [2021-05-07T22:51:02.915Z] 2312dd95470a: Waiting [2021-05-07T22:51:02.915Z] 2e060f4bd70b: Waiting [2021-05-07T22:51:02.915Z] 80e8d568a223: Waiting [2021-05-07T22:51:02.915Z] 292df0bc6bf3: Verifying Checksum [2021-05-07T22:51:02.915Z] 292df0bc6bf3: Download complete [2021-05-07T22:51:02.915Z] 6db28d0fdbf6: Verifying Checksum [2021-05-07T22:51:02.915Z] 6db28d0fdbf6: Download complete [2021-05-07T22:51:02.915Z] 05e7bc50f07f: Download complete [2021-05-07T22:51:02.915Z] 80e8d568a223: Download complete [2021-05-07T22:51:02.915Z] 8dc6ef1a942a: Verifying Checksum [2021-05-07T22:51:02.915Z] 8dc6ef1a942a: Download complete [2021-05-07T22:51:02.915Z] 2312dd95470a: Download complete [2021-05-07T22:51:02.915Z] 05e7bc50f07f: Pull complete [2021-05-07T22:51:03.608Z] 6db28d0fdbf6: Pull complete [2021-05-07T22:51:03.890Z] 292df0bc6bf3: Pull complete [2021-05-07T22:51:04.912Z] 2e060f4bd70b: Verifying Checksum [2021-05-07T22:51:04.912Z] 2e060f4bd70b: Download complete [2021-05-07T22:51:07.478Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/228/app-service-template' [2021-05-07T22:51:07.478Z] make -C ./app-service-template test [2021-05-07T22:51:07.478Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/228/app-service-template' [2021-05-07T22:51:07.478Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-05-07T22:51:11.743Z] 2e060f4bd70b: Pull complete [2021-05-07T22:51:11.743Z] 80e8d568a223: Pull complete [2021-05-07T22:51:11.743Z] 8dc6ef1a942a: Pull complete [2021-05-07T22:51:11.743Z] 2312dd95470a: Pull complete [2021-05-07T22:51:11.743Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-05-07T22:51:11.743Z] Status: Downloaded newer image for docker:20.10.0 [2021-05-07T22:51:14.389Z] ---> da6c6302c312 [2021-05-07T22:51:14.389Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-07T22:51:14.389Z] ---> Running in 23e2f2d10bf2 [2021-05-07T22:51:14.662Z] Removing intermediate container 23e2f2d10bf2 [2021-05-07T22:51:14.662Z] ---> dd92509bac8a [2021-05-07T22:51:14.662Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-05-07T22:51:14.662Z] ---> Running in 1f232263627a [2021-05-07T22:51:16.106Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-07T22:51:17.553Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-07T22:51:19.006Z] (1/5) Installing libsodium (1.0.18-r0) [2021-05-07T22:51:19.278Z] (2/5) Installing libzmq (4.3.3-r1) [2021-05-07T22:51:19.875Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-05-07T22:51:19.875Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-05-07T22:51:20.165Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-05-07T22:51:20.165Z] Executing busybox-1.32.1-r6.trigger [2021-05-07T22:51:20.453Z] OK: 150 MiB in 45 packages [2021-05-07T22:51:21.081Z] Removing intermediate container 1f232263627a [2021-05-07T22:51:21.081Z] ---> 9d9bfac8d6a4 [2021-05-07T22:51:21.081Z] Step 6/8 : WORKDIR /build [2021-05-07T22:51:21.370Z] ---> Running in c86fd509c3f9 [2021-05-07T22:51:21.662Z] Removing intermediate container c86fd509c3f9 [2021-05-07T22:51:21.662Z] ---> 45900401e59f [2021-05-07T22:51:21.662Z] Step 7/8 : COPY go.mod . [2021-05-07T22:51:21.957Z] ---> b3c2c91d2a7e [2021-05-07T22:51:21.957Z] Step 8/8 : RUN go mod download [2021-05-07T22:51:21.957Z] ---> Running in 2f8ae433e9fb [2021-05-07T22:51:34.414Z] ok new-app-service 0.040s coverage: 47.8% of statements [2021-05-07T22:51:34.414Z] ? new-app-service/config [no test files] [2021-05-07T22:51:34.414Z] ok new-app-service/functions 0.029s [2021-05-07T22:51:34.414Z] CGO_ENABLED=1 go vet ./... [2021-05-07T22:51:54.796Z] Removing intermediate container 2f8ae433e9fb [2021-05-07T22:51:54.796Z] ---> 71a6300aae83 [2021-05-07T22:51:54.796Z] Successfully built 71a6300aae83 [2021-05-07T22:51:54.796Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-07T22:51:55.176Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-07T22:51:55.452Z] . [Pipeline] withDockerContainer [2021-05-07T22:51:55.772Z] prd-centos7-docker-4c-2g-3686 does not seem to be running inside a container [2021-05-07T22:51:55.917Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/228 -v /w/workspace/app-functions-sdk-go/228:/w/workspace/app-functions-sdk-go/228:rw,z -v /w/workspace/app-functions-sdk-go/228@tmp:/w/workspace/app-functions-sdk-go/228@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-05-07T22:51:58.346Z] $ docker top 568e62b11448e38fe406c8273b714f78592aef47bf5e6fb4d3608923fd4bd965 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-07T22:51:59.320Z] + go version [2021-05-07T22:51:59.320Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-07T22:51:59.336Z] $ docker stop --time=1 568e62b11448e38fe406c8273b714f78592aef47bf5e6fb4d3608923fd4bd965 [2021-05-07T22:52:01.184Z] $ docker rm -f 568e62b11448e38fe406c8273b714f78592aef47bf5e6fb4d3608923fd4bd965 [2021-05-07T22:52:01.275Z] gofmt -l . [2021-05-07T22:52:01.275Z] [ "`gofmt -l .`" = "" ] [2021-05-07T22:52:01.275Z] ./bin/test-go-mod-tidy.sh [2021-05-07T22:52:01.275Z] ./bin/test-attribution-txt.sh [2021-05-07T22:52:01.275Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/228/app-service-template' [2021-05-07T22:52:01.275Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-07T22:52:01.926Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-07T22:52:01.926Z] . [Pipeline] withDockerContainer [2021-05-07T22:52:02.329Z] prd-centos7-docker-4c-2g-3686 does not seem to be running inside a container [2021-05-07T22:52:02.505Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/228 -v /w/workspace/app-functions-sdk-go/228:/w/workspace/app-functions-sdk-go/228:rw,z -v /w/workspace/app-functions-sdk-go/228@tmp:/w/workspace/app-functions-sdk-go/228@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-05-07T22:52:02.718Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-05-07T22:52:04.291Z] $ docker top 47d44fbfd9a066d2732919e1b7ccec221c258fb8f5d00b75c28b0c615a0ae820 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-07T22:52:05.479Z] + go mod tidy [Pipeline] sh [2021-05-07T22:52:09.389Z] + make test [2021-05-07T22:52:09.389Z] make -C ./app-service-template build [2021-05-07T22:52:09.389Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/228/app-service-template' [2021-05-07T22:52:09.389Z] go mod tidy [2021-05-07T22:52:10.416Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.52 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-05-07T22:52:11.037Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.097s coverage: 56.5% of statements [2021-05-07T22:52:11.037Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.054s coverage: 92.5% of statements [2021-05-07T22:52:11.037Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-05-07T22:52:11.037Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.080s coverage: 61.5% of statements [2021-05-07T22:52:11.037Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-05-07T22:52:11.037Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.041s [2021-05-07T22:52:13.045Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.080s coverage: 75.4% of statements [2021-05-07T22:52:13.045Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-05-07T22:52:13.045Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-05-07T22:52:13.045Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-05-07T22:52:13.045Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-05-07T22:52:13.045Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-05-07T22:52:13.045Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-05-07T22:52:13.045Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.041s coverage: 97.0% of statements [2021-05-07T22:52:13.045Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-05-07T22:52:13.325Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.032s coverage: 10.5% of statements [2021-05-07T22:52:17.662Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.823s coverage: 75.5% of statements [2021-05-07T22:52:17.662Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-05-07T22:52:17.662Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.032s coverage: 18.4% of statements [2021-05-07T22:52:17.662Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.065s coverage: 27.3% of statements [2021-05-07T22:52:17.662Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-05-07T22:52:17.662Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-05-07T22:52:17.662Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.036s coverage: 51.4% of statements [2021-05-07T22:52:33.171Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/228/app-service-template' [2021-05-07T22:52:33.171Z] make -C ./app-service-template test [2021-05-07T22:52:33.171Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/228/app-service-template' [2021-05-07T22:52:33.171Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-05-07T22:52:49.977Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.104s coverage: 81.9% of statements [2021-05-07T22:52:49.977Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.029s coverage: 94.4% of statements [2021-05-07T22:52:49.977Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-07T22:52:49.977Z] gofmt -l . [2021-05-07T22:52:49.977Z] [ "`gofmt -l .`" = "" ] [2021-05-07T22:52:50.258Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-07T22:52:50.896Z] $ docker stop --time=1 8e5a7341b626ef19d1ad83ca040bcc9ec87bb0b1ff833a5483b7622e0b5dfad3 [2021-05-07T22:52:52.899Z] $ docker rm -f 8e5a7341b626ef19d1ad83ca040bcc9ec87bb0b1ff833a5483b7622e0b5dfad3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-07T22:52:53.783Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-07T22:52:54.780Z] 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-05-07T22:52:55.504Z] ---> job-cost.sh [2021-05-07T22:52:55.504Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ZEWT [2021-05-07T22:53:00.583Z] ok new-app-service 0.061s coverage: 47.8% of statements [2021-05-07T22:53:00.583Z] ? new-app-service/config [no test files] [2021-05-07T22:53:00.583Z] ok new-app-service/functions 0.046s [2021-05-07T22:53:00.583Z] CGO_ENABLED=1 go vet ./... [2021-05-07T22:53:16.270Z] gofmt -l . [2021-05-07T22:53:16.270Z] [ "`gofmt -l .`" = "" ] [2021-05-07T22:53:16.270Z] ./bin/test-go-mod-tidy.sh [2021-05-07T22:53:16.270Z] ./bin/test-attribution-txt.sh [2021-05-07T22:53:17.284Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/228/app-service-template' [2021-05-07T22:53:17.284Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-05-07T22:53:18.775Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-05-07T22:53:23.255Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.048s coverage: 56.5% of statements [2021-05-07T22:53:23.255Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.036s coverage: 92.5% of statements [2021-05-07T22:53:23.255Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-05-07T22:53:23.255Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.077s coverage: 61.5% of statements [2021-05-07T22:53:23.255Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-05-07T22:53:23.255Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.045s [2021-05-07T22:53:24.918Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.132s coverage: 75.4% of statements [2021-05-07T22:53:24.918Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-05-07T22:53:24.918Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-05-07T22:53:24.918Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-05-07T22:53:24.918Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-05-07T22:53:24.918Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-05-07T22:53:24.918Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-05-07T22:53:24.918Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.049s coverage: 97.0% of statements [2021-05-07T22:53:24.918Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-05-07T22:53:24.918Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.032s coverage: 10.5% of statements [2021-05-07T22:53:29.591Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.937s coverage: 75.5% of statements [2021-05-07T22:53:29.591Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-05-07T22:53:29.591Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.055s coverage: 18.4% of statements [2021-05-07T22:53:29.591Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.065s coverage: 27.3% of statements [2021-05-07T22:53:29.591Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-05-07T22:53:29.591Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-05-07T22:53:29.591Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.032s coverage: 51.4% of statements [2021-05-07T22:53:34.475Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-07T22:53:56.379Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.064s coverage: 81.9% of statements [2021-05-07T22:53:56.379Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.028s coverage: 94.4% of statements [2021-05-07T22:53:56.379Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-07T22:53:58.614Z] gofmt -l . [2021-05-07T22:53:58.614Z] [ "`gofmt -l .`" = "" ] [2021-05-07T22:53:58.614Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-07T22:53:59.312Z] $ docker stop --time=1 47d44fbfd9a066d2732919e1b7ccec221c258fb8f5d00b75c28b0c615a0ae820 [2021-05-07T22:54:01.406Z] $ docker rm -f 47d44fbfd9a066d2732919e1b7ccec221c258fb8f5d00b75c28b0c615a0ae820 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-07T22:54:02.244Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-07T22:54:02.280Z] Warning: overwriting stash ‘coverage-report’ [2021-05-07T22:54:03.040Z] 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-05-07T22:54:03.758Z] ---> job-cost.sh [2021-05-07T22:54:03.758Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-kVEQ [2021-05-07T22:54:30.587Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-07T22:54:56.181Z] lf-activate-venv(): INFO: Adding /tmp/venv-ZEWT/bin to PATH [2021-05-07T22:54:56.181Z] INFO: No Stack... [2021-05-07T22:54:56.181Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-07T22:54:56.452Z] INFO: Archiving Costs [Pipeline] sh [2021-05-07T22:54:56.786Z] + cat /w/workspace/app-functions-sdk-go/228/archives/cost.csv [2021-05-07T22:54:56.786Z] + cut -d, -f6 [Pipeline] lock [2021-05-07T22:54:56.895Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-228-stack-cost] [2021-05-07T22:54:56.903Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-228-stack-cost] did not exist. Created. [2021-05-07T22:54:56.903Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-228-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-07T22:54:57.254Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-07T22:54:57.429Z] Stashed 1 file(s) [Pipeline] } [2021-05-07T22:54:57.448Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-228-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-07T22:55:09.889Z] lf-activate-venv(): INFO: Adding /tmp/venv-kVEQ/bin to PATH [2021-05-07T22:55:09.889Z] INFO: No Stack... [2021-05-07T22:55:09.889Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-07T22:55:09.889Z] INFO: Archiving Costs [Pipeline] sh [2021-05-07T22:55:10.244Z] + cat /w/workspace/app-functions-sdk-go/228/archives/cost.csv [2021-05-07T22:55:10.244Z] + cut -d, -f6 [Pipeline] lock [2021-05-07T22:55:10.402Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-228-stack-cost] [2021-05-07T22:55:10.411Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-228-stack-cost] did not exist. Created. [2021-05-07T22:55:10.411Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-228-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-07T22:55:10.872Z] /w/workspace/app-functions-sdk-go/228@tmp/durable-eb62d0fe/script.sh: line 1: unexpected EOF while looking for matching `'' [Pipeline] sh [2021-05-07T22:55:11.247Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-07T22:55:11.262Z] Warning: overwriting stash ‘stack-cost’ [2021-05-07T22:55:11.428Z] Stashed 1 file(s) [Pipeline] } [2021-05-07T22:55:11.443Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-228-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-05-07T22:55:12.033Z] provisioning config files... [2021-05-07T22:55:12.047Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config6715707781646180722tmp [Pipeline] { [Pipeline] sh [2021-05-07T22:55:12.368Z] + set +x [2021-05-07T22:55:12.369Z] + curl -s https://codecov.io/bash [2021-05-07T22:55:12.369Z] + bash -s -- [2021-05-07T22:55:12.630Z] [2021-05-07T22:55:12.630Z] _____ _ [2021-05-07T22:55:12.630Z] / ____| | | [2021-05-07T22:55:12.630Z] | | ___ __| | ___ ___ _____ __ [2021-05-07T22:55:12.630Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-07T22:55:12.630Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-07T22:55:12.630Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-07T22:55:12.630Z] Bash-1.0.2 [2021-05-07T22:55:12.630Z] [2021-05-07T22:55:12.630Z] [2021-05-07T22:55:12.630Z] ==> git version 2.24.3 found [2021-05-07T22:55:12.630Z] ==> 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-05-07T22:55:12.630Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-07T22:55:12.630Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-07T22:55:12.630Z] ==> Jenkins CI detected. [2021-05-07T22:55:12.630Z] project root: . [2021-05-07T22:55:12.630Z] --> token set from env [2021-05-07T22:55:12.630Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-07T22:55:12.630Z] ==> Running gcov in . (disable via -X gcov) [2021-05-07T22:55:12.630Z] ==> Python coveragepy not found [2021-05-07T22:55:12.630Z] ==> Searching for coverage reports in: [2021-05-07T22:55:12.630Z] + . [2021-05-07T22:55:12.630Z] -> Found 2 reports [2021-05-07T22:55:12.630Z] ==> Detecting git/mercurial file structure [2021-05-07T22:55:12.630Z] ==> Reading reports [2021-05-07T22:55:12.630Z] + ./app-service-template/coverage.out bytes=1055 [2021-05-07T22:55:12.630Z] + ./coverage.out bytes=86447 [2021-05-07T22:55:12.630Z] ==> Appending adjustments [2021-05-07T22:55:12.630Z] https://docs.codecov.io/docs/fixing-reports [2021-05-07T22:55:13.204Z] + Found adjustments [2021-05-07T22:55:13.204Z] ==> Gzipping contents [2021-05-07T22:55:13.204Z] 16K /tmp/codecov.mGiSrd.gz [2021-05-07T22:55:13.204Z] ==> Uploading reports [2021-05-07T22:55:13.204Z] url: https://codecov.io [2021-05-07T22:55:13.204Z] query: branch=master&commit=c93cf0ed3f41567c1bae2c6d879eead5a905221c&build=228&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F228%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-07T22:55:13.204Z] -> Pinging Codecov [2021-05-07T22:55:13.204Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=master&commit=c93cf0ed3f41567c1bae2c6d879eead5a905221c&build=228&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F228%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-07T22:55:13.777Z] -> Uploading to [2021-05-07T22:55:13.777Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-07/3D8B5DFFC46A037C893635FACE044666/c93cf0ed3f41567c1bae2c6d879eead5a905221c/8fa2b4a6-a883-4bd8-a5de-cadb2acfb066.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210507%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210507T225513Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=990bd1db8114f7ecd9f8179c1320cbebd8c1b57c4910376302ceeefbf55d5925 [2021-05-07T22:55:13.777Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-07T22:55:13.777Z] Dload Upload Total Spent Left Speed [2021-05-07T22:55:14.038Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15323 0 0 100 15323 0 39806 --:--:-- --:--:-- --:--:-- 39800 100 15323 0 0 100 15323 0 39792 --:--:-- --:--:-- --:--:-- 39800 [2021-05-07T22:55:14.038Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/c93cf0ed3f41567c1bae2c6d879eead5a905221c [Pipeline] } [2021-05-07T22:55:14.048Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-05-07T22:55:14.708Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-05-07T22:55:14.731Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-07T22:55:15.052Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-07T22:55:15.052Z] [2021-05-07T22:55:15.052Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-05-07T22:55:15.378Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-07T22:55:15.378Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-05-07T22:55:15.378Z] 188c0c94c7c5: Pulling fs layer [2021-05-07T22:55:15.378Z] 0ef7d3d256c8: Pulling fs layer [2021-05-07T22:55:15.378Z] de9db76c5a1d: Pulling fs layer [2021-05-07T22:55:15.378Z] 0eba1c9be4d2: Pulling fs layer [2021-05-07T22:55:15.378Z] 0d57e429df01: Pulling fs layer [2021-05-07T22:55:15.378Z] 4e4be7b47b0d: Pulling fs layer [2021-05-07T22:55:15.378Z] e1f770b5df2f: Pulling fs layer [2021-05-07T22:55:15.378Z] 85a0685a4137: Pulling fs layer [2021-05-07T22:55:15.378Z] 0eba1c9be4d2: Waiting [2021-05-07T22:55:15.378Z] 0d57e429df01: Waiting [2021-05-07T22:55:15.378Z] 4e4be7b47b0d: Waiting [2021-05-07T22:55:15.378Z] e1f770b5df2f: Waiting [2021-05-07T22:55:15.378Z] 85a0685a4137: Waiting [2021-05-07T22:55:15.378Z] de9db76c5a1d: Verifying Checksum [2021-05-07T22:55:15.378Z] de9db76c5a1d: Download complete [2021-05-07T22:55:15.378Z] 0ef7d3d256c8: Verifying Checksum [2021-05-07T22:55:15.378Z] 0ef7d3d256c8: Download complete [2021-05-07T22:55:15.378Z] 0d57e429df01: Verifying Checksum [2021-05-07T22:55:15.378Z] 0d57e429df01: Download complete [2021-05-07T22:55:15.378Z] 4e4be7b47b0d: Verifying Checksum [2021-05-07T22:55:15.378Z] 4e4be7b47b0d: Download complete [2021-05-07T22:55:15.378Z] 188c0c94c7c5: Verifying Checksum [2021-05-07T22:55:15.378Z] 188c0c94c7c5: Download complete [2021-05-07T22:55:15.641Z] 188c0c94c7c5: Pull complete [2021-05-07T22:55:15.908Z] 0ef7d3d256c8: Pull complete [2021-05-07T22:55:16.170Z] de9db76c5a1d: Pull complete [2021-05-07T22:55:17.124Z] e1f770b5df2f: Verifying Checksum [2021-05-07T22:55:17.124Z] e1f770b5df2f: Download complete [2021-05-07T22:55:19.063Z] 0eba1c9be4d2: Verifying Checksum [2021-05-07T22:55:19.063Z] 0eba1c9be4d2: Download complete [2021-05-07T22:55:19.649Z] 85a0685a4137: Verifying Checksum [2021-05-07T22:55:19.649Z] 85a0685a4137: Download complete [2021-05-07T22:55:24.987Z] 0eba1c9be4d2: Pull complete [2021-05-07T22:55:24.987Z] 0d57e429df01: Pull complete [2021-05-07T22:55:24.987Z] 4e4be7b47b0d: Pull complete [2021-05-07T22:55:26.417Z] e1f770b5df2f: Pull complete [2021-05-07T22:55:34.642Z] 85a0685a4137: Pull complete [2021-05-07T22:55:34.642Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-05-07T22:55:34.642Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-07T22:55:34.642Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-05-07T22:55:34.853Z] prd-centos7-docker-4c-2g-3684 does not seem to be running inside a container [2021-05-07T22:55:34.907Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/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-05-07T22:55:35.928Z] $ docker top e903ded8d50cef07d2e4f528964263586b8a458b216aa5227e5586478d072953 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-07T22:55:36.090Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-05-07T22:55:36.382Z] + set -o pipefail [2021-05-07T22:55:36.382Z] + snyk monitor '--org=edgex-jenkins' [2021-05-07T22:55:46.417Z] [2021-05-07T22:55:46.417Z] Monitoring /w/workspace/ndry_app-functions-sdk-go_master (github.com/edgexfoundry/app-functions-sdk-go/v2)... [2021-05-07T22:55:46.417Z] [2021-05-07T22:55:46.417Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/6f09bbb8-61d1-4f0c-b8ca-bb86ce345ea3 [2021-05-07T22:55:46.417Z] [2021-05-07T22:55:46.417Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-05-07T22:55:46.417Z] [2021-05-07T22:55:46.417Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-05-07T22:55:46.417Z] [2021-05-07T22:55:46.417Z] [Pipeline] } [2021-05-07T22:55:46.433Z] $ docker stop --time=1 e903ded8d50cef07d2e4f528964263586b8a458b216aa5227e5586478d072953 [2021-05-07T22:55:49.449Z] $ docker rm -f e903ded8d50cef07d2e4f528964263586b8a458b216aa5227e5586478d072953 [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-05-07T22:55:50.234Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-07T22:55:50.256Z] provisioning config files... [2021-05-07T22:55:50.265Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config2995972365689903000tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-07T22:55:50.583Z] --> edgex-publish-swagger.sh [2021-05-07T22:55:50.583Z] === Publish openapi/v2 API === [2021-05-07T22:55:50.583Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-05-07T22:55:50.583Z] [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/ndry_app-functions-sdk-go_master/openapi/v2/app-functions-sdk.yaml] [2021-05-07T22:55:50.583Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-07T22:55:50.583Z] Dload Upload Total Spent Left Speed [2021-05-07T22:55:51.528Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13052 0 0 100 13052 0 13018 0:00:01 0:00:01 --:--:-- 13038 100 13052 0 0 100 13052 0 13015 0:00:01 0:00:01 --:--:-- 13025 [2021-05-07T22:55:51.528Z] [2021-05-07T22:55:51.528Z] [Pipeline] } [2021-05-07T22:55:51.537Z] 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-05-07T22:55:52.003Z] + git log --format=format:%s -1 c93cf0ed3f41567c1bae2c6d879eead5a905221c [Pipeline] isUnix [Pipeline] sh [2021-05-07T22:55:52.312Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-07T22:55:52.312Z] . [Pipeline] withDockerContainer [2021-05-07T22:55:52.430Z] prd-centos7-docker-4c-2g-3684 does not seem to be running inside a container [2021-05-07T22:55:52.480Z] $ 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-05-07T22:55:53.208Z] $ docker top 2e97fc7528288f728d22482256bf2b31673c1ede26ba321e0338efe89719ade9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-07T22:55:53.452Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-07T22:55:53.452Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-07T22:55:53.668Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-07T22:55:53.673Z] $ docker exec 2e97fc7528288f728d22482256bf2b31673c1ede26ba321e0338efe89719ade9 ssh-agent [2021-05-07T22:55:53.836Z] SSH_AUTH_SOCK=/tmp/ssh-7KcL6eEbd9Q7/agent.12 [2021-05-07T22:55:53.836Z] SSH_AGENT_PID=17 [2021-05-07T22:55:53.844Z] Running ssh-add (command line suppressed) [2021-05-07T22:55:53.969Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_5314155488054900500.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_5314155488054900500.key) [2021-05-07T22:55:54.022Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-07T22:55:54.325Z] + git semver tag [2021-05-07T22:55:54.325Z] # -> Open(): unable to determine branch for HEAD [2021-05-07T22:55:54.325Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-05-07T22:55:54.325Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-05-07T22:55:54.325Z] # $SEMVER_REMOTE_NAME = origin [2021-05-07T22:55:54.325Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-07T22:55:54.325Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-07T22:55:54.325Z] # $SEMVER_BRANCH = master [2021-05-07T22:55:54.325Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-05-07T22:55:54.325Z] # c93cf0ed3f41567c1bae2c6d879eead5a905221c HEAD [2021-05-07T22:55:54.325Z] # -> Force: false [2021-05-07T22:55:54.325Z] # 61758cad151f6c00f3953e70e1e16944e3c8d847 refs/tags/v2.0.0-dev.56 [Pipeline] } [2021-05-07T22:55:54.339Z] $ docker exec --env ******** --env ******** 2e97fc7528288f728d22482256bf2b31673c1ede26ba321e0338efe89719ade9 ssh-agent -k [2021-05-07T22:55:54.455Z] unset SSH_AUTH_SOCK; [2021-05-07T22:55:54.455Z] unset SSH_AGENT_PID; [2021-05-07T22:55:54.455Z] echo Agent pid 17 killed; [2021-05-07T22:55:54.503Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-07T22:55:54.841Z] + git semver [Pipeline] } [2021-05-07T22:55:54.859Z] $ docker stop --time=1 2e97fc7528288f728d22482256bf2b31673c1ede26ba321e0338efe89719ade9 [2021-05-07T22:55:56.218Z] $ docker rm -f 2e97fc7528288f728d22482256bf2b31673c1ede26ba321e0338efe89719ade9 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-05-07T22:55:56.704Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-07T22:55:56.704Z] [2021-05-07T22:55:56.704Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-05-07T22:55:57.025Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-07T22:55:57.025Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-05-07T22:55:57.025Z] ab5ef0e58194: Pulling fs layer [2021-05-07T22:55:57.025Z] 9712f1f96733: Pulling fs layer [2021-05-07T22:55:57.025Z] 63f879dbbcfc: Pulling fs layer [2021-05-07T22:55:57.025Z] 0d9ebad4ef96: Pulling fs layer [2021-05-07T22:55:57.025Z] e9a5061849ea: Pulling fs layer [2021-05-07T22:55:57.025Z] d747dcd14b5f: Pulling fs layer [2021-05-07T22:55:57.025Z] 2de7ff778b66: Pulling fs layer [2021-05-07T22:55:57.025Z] 0d9ebad4ef96: Waiting [2021-05-07T22:55:57.025Z] 2de7ff778b66: Waiting [2021-05-07T22:55:57.025Z] d747dcd14b5f: Waiting [2021-05-07T22:55:57.025Z] 9712f1f96733: Verifying Checksum [2021-05-07T22:55:57.025Z] 9712f1f96733: Download complete [2021-05-07T22:55:58.439Z] 63f879dbbcfc: Verifying Checksum [2021-05-07T22:55:58.439Z] 63f879dbbcfc: Download complete [2021-05-07T22:55:58.722Z] e9a5061849ea: Verifying Checksum [2021-05-07T22:55:58.722Z] e9a5061849ea: Download complete [2021-05-07T22:55:58.722Z] d747dcd14b5f: Verifying Checksum [2021-05-07T22:55:58.722Z] d747dcd14b5f: Download complete [2021-05-07T22:55:58.986Z] 2de7ff778b66: Verifying Checksum [2021-05-07T22:55:58.986Z] 2de7ff778b66: Download complete [2021-05-07T22:55:59.566Z] 0d9ebad4ef96: Verifying Checksum [2021-05-07T22:55:59.566Z] 0d9ebad4ef96: Download complete [2021-05-07T22:55:59.566Z] ab5ef0e58194: Verifying Checksum [2021-05-07T22:55:59.566Z] ab5ef0e58194: Download complete [2021-05-07T22:56:04.897Z] ab5ef0e58194: Pull complete [2021-05-07T22:56:04.897Z] 9712f1f96733: Pull complete [2021-05-07T22:56:07.455Z] 63f879dbbcfc: Pull complete [2021-05-07T22:56:12.789Z] 0d9ebad4ef96: Pull complete [2021-05-07T22:56:14.729Z] e9a5061849ea: Pull complete [2021-05-07T22:56:14.729Z] d747dcd14b5f: Pull complete [2021-05-07T22:56:16.659Z] 2de7ff778b66: Pull complete [2021-05-07T22:56:16.659Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-05-07T22:56:16.659Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-07T22:56:16.659Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-05-07T22:56:16.834Z] prd-centos7-docker-4c-2g-3684 does not seem to be running inside a container [2021-05-07T22:56:16.884Z] $ 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-05-07T22:56:20.588Z] $ docker top 89348897ab53f655b414fd5ac3597f7b3c79ccc5b5aed2922b6f49dc530ef60d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-05-07T22:56:20.772Z] provisioning config files... [2021-05-07T22:56:20.783Z] copy managed file [sigul-config] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config8713829108894336919tmp [2021-05-07T22:56:20.799Z] copy managed file [sigul-password] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config2242877904721947482tmp [2021-05-07T22:56:20.814Z] copy managed file [sigul-pki] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config6206399348419439340tmp [Pipeline] { [Pipeline] echo [2021-05-07T22:56:20.837Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T22:56:21.140Z] ---> sigul-configuration.sh [2021-05-07T22:56:21.140Z] gpg: directory `/root/.gnupg' created [2021-05-07T22:56:21.140Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-05-07T22:56:21.140Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-05-07T22:56:21.140Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-05-07T22:56:21.140Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-05-07T22:56:21.140Z] gpg: CAST5 encrypted data [2021-05-07T22:56:21.404Z] gpg: encrypted with 1 passphrase [2021-05-07T22:56:21.404Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-05-07T22:56:21.709Z] + mkdir /home/jenkins [2021-05-07T22:56:21.709Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-05-07T22:56:22.012Z] + 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-05-07T22:56:22.023Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T22:56:22.325Z] ---> sigul-install.sh [2021-05-07T22:56:28.926Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-05-07T22:56:29.238Z] + git tag --list [2021-05-07T22:56:29.239Z] v0.1.0 [2021-05-07T22:56:29.239Z] v0.1.1 [2021-05-07T22:56:29.239Z] v1.0.0 [2021-05-07T22:56:29.239Z] v1.1.0 [2021-05-07T22:56:29.239Z] v1.2.0 [2021-05-07T22:56:29.239Z] v1.3.0 [2021-05-07T22:56:29.239Z] v1.3.1 [2021-05-07T22:56:29.239Z] v1.3.1-dev.1 [2021-05-07T22:56:29.239Z] v1.3.2-dev.1 [2021-05-07T22:56:29.239Z] v2.0.0-dev.1 [2021-05-07T22:56:29.239Z] v2.0.0-dev.10 [2021-05-07T22:56:29.239Z] v2.0.0-dev.11 [2021-05-07T22:56:29.239Z] v2.0.0-dev.12 [2021-05-07T22:56:29.239Z] v2.0.0-dev.13 [2021-05-07T22:56:29.239Z] v2.0.0-dev.14 [2021-05-07T22:56:29.239Z] v2.0.0-dev.15 [2021-05-07T22:56:29.239Z] v2.0.0-dev.16 [2021-05-07T22:56:29.239Z] v2.0.0-dev.17 [2021-05-07T22:56:29.239Z] v2.0.0-dev.18 [2021-05-07T22:56:29.239Z] v2.0.0-dev.19 [2021-05-07T22:56:29.239Z] v2.0.0-dev.2 [2021-05-07T22:56:29.239Z] v2.0.0-dev.20 [2021-05-07T22:56:29.239Z] v2.0.0-dev.21 [2021-05-07T22:56:29.239Z] v2.0.0-dev.22 [2021-05-07T22:56:29.239Z] v2.0.0-dev.23 [2021-05-07T22:56:29.239Z] v2.0.0-dev.24 [2021-05-07T22:56:29.239Z] v2.0.0-dev.25 [2021-05-07T22:56:29.239Z] v2.0.0-dev.26 [2021-05-07T22:56:29.239Z] v2.0.0-dev.27 [2021-05-07T22:56:29.239Z] v2.0.0-dev.28 [2021-05-07T22:56:29.239Z] v2.0.0-dev.29 [2021-05-07T22:56:29.239Z] v2.0.0-dev.3 [2021-05-07T22:56:29.239Z] v2.0.0-dev.30 [2021-05-07T22:56:29.239Z] v2.0.0-dev.31 [2021-05-07T22:56:29.239Z] v2.0.0-dev.32 [2021-05-07T22:56:29.239Z] v2.0.0-dev.33 [2021-05-07T22:56:29.239Z] v2.0.0-dev.34 [2021-05-07T22:56:29.239Z] v2.0.0-dev.35 [2021-05-07T22:56:29.239Z] v2.0.0-dev.36 [2021-05-07T22:56:29.239Z] v2.0.0-dev.37 [2021-05-07T22:56:29.239Z] v2.0.0-dev.38 [2021-05-07T22:56:29.239Z] v2.0.0-dev.39 [2021-05-07T22:56:29.239Z] v2.0.0-dev.4 [2021-05-07T22:56:29.239Z] v2.0.0-dev.40 [2021-05-07T22:56:29.239Z] v2.0.0-dev.41 [2021-05-07T22:56:29.239Z] v2.0.0-dev.42 [2021-05-07T22:56:29.239Z] v2.0.0-dev.43 [2021-05-07T22:56:29.239Z] v2.0.0-dev.44 [2021-05-07T22:56:29.239Z] v2.0.0-dev.45 [2021-05-07T22:56:29.239Z] v2.0.0-dev.46 [2021-05-07T22:56:29.239Z] v2.0.0-dev.47 [2021-05-07T22:56:29.239Z] v2.0.0-dev.48 [2021-05-07T22:56:29.239Z] v2.0.0-dev.49 [2021-05-07T22:56:29.239Z] v2.0.0-dev.5 [2021-05-07T22:56:29.239Z] v2.0.0-dev.50 [2021-05-07T22:56:29.239Z] v2.0.0-dev.51 [2021-05-07T22:56:29.239Z] v2.0.0-dev.52 [2021-05-07T22:56:29.239Z] v2.0.0-dev.53 [2021-05-07T22:56:29.239Z] v2.0.0-dev.54 [2021-05-07T22:56:29.239Z] v2.0.0-dev.55 [2021-05-07T22:56:29.239Z] v2.0.0-dev.56 [2021-05-07T22:56:29.239Z] v2.0.0-dev.6 [2021-05-07T22:56:29.239Z] v2.0.0-dev.7 [2021-05-07T22:56:29.239Z] v2.0.0-dev.8 [2021-05-07T22:56:29.239Z] v2.0.0-dev.9 [Pipeline] sh [2021-05-07T22:56:29.551Z] + lftools sign git-tag v2.0.0-dev.56 [2021-05-07T22:56:30.956Z] Signing Git tag with Sigul... [2021-05-07T22:56:30.956Z] Signing v2.0.0-dev.56 [Pipeline] echo [2021-05-07T22:56:31.913Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T22:56:32.238Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-05-07T22:56:32.248Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-05-07T22:56:32.279Z] $ docker stop --time=1 89348897ab53f655b414fd5ac3597f7b3c79ccc5b5aed2922b6f49dc530ef60d [2021-05-07T22:56:33.760Z] $ docker rm -f 89348897ab53f655b414fd5ac3597f7b3c79ccc5b5aed2922b6f49dc530ef60d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-05-07T22:56:34.304Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-07T22:56:34.304Z] . [Pipeline] withDockerContainer [2021-05-07T22:56:34.396Z] prd-centos7-docker-4c-2g-3684 does not seem to be running inside a container [2021-05-07T22:56:34.511Z] $ 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-05-07T22:56:35.205Z] $ docker top 1e213d3753ecbe2fef6caa5cace87148009248a2d16eaf3b9850c025703d04b4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-07T22:56:35.380Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-07T22:56:35.380Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-07T22:56:35.572Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-07T22:56:35.577Z] $ docker exec 1e213d3753ecbe2fef6caa5cace87148009248a2d16eaf3b9850c025703d04b4 ssh-agent [2021-05-07T22:56:35.744Z] SSH_AUTH_SOCK=/tmp/ssh-H4EITDh2L2mE/agent.12 [2021-05-07T22:56:35.744Z] SSH_AGENT_PID=17 [2021-05-07T22:56:35.751Z] Running ssh-add (command line suppressed) [2021-05-07T22:56:35.875Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_6222953139643585294.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_6222953139643585294.key) [2021-05-07T22:56:35.932Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-07T22:56:36.237Z] + git semver bump pre [2021-05-07T22:56:36.237Z] # -> Open(): unable to determine branch for HEAD [2021-05-07T22:56:36.237Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-05-07T22:56:36.237Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-05-07T22:56:36.237Z] # $SEMVER_REMOTE_NAME = origin [2021-05-07T22:56:36.237Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-07T22:56:36.237Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-07T22:56:36.237Z] # $SEMVER_BRANCH = master [2021-05-07T22:56:36.237Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-05-07T22:56:36.237Z] 2.0.0-dev.57 [Pipeline] } [2021-05-07T22:56:36.251Z] $ docker exec --env ******** --env ******** 1e213d3753ecbe2fef6caa5cace87148009248a2d16eaf3b9850c025703d04b4 ssh-agent -k [2021-05-07T22:56:36.365Z] unset SSH_AUTH_SOCK; [2021-05-07T22:56:36.365Z] unset SSH_AGENT_PID; [2021-05-07T22:56:36.365Z] echo Agent pid 17 killed; [2021-05-07T22:56:36.413Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-07T22:56:36.753Z] + git semver [Pipeline] } [2021-05-07T22:56:36.775Z] $ docker stop --time=1 1e213d3753ecbe2fef6caa5cace87148009248a2d16eaf3b9850c025703d04b4 [2021-05-07T22:56:38.191Z] $ docker rm -f 1e213d3753ecbe2fef6caa5cace87148009248a2d16eaf3b9850c025703d04b4 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-05-07T22:56:38.630Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-07T22:56:38.630Z] . [Pipeline] withDockerContainer [2021-05-07T22:56:38.727Z] prd-centos7-docker-4c-2g-3684 does not seem to be running inside a container [2021-05-07T22:56:38.774Z] $ 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-05-07T22:56:39.420Z] $ docker top b0a82e04b17979b110dbf44ab1039b47ba14a2768798bcf4b7dcaee44bad5dcf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-07T22:56:39.608Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-07T22:56:39.608Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-07T22:56:39.802Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-07T22:56:39.807Z] $ docker exec b0a82e04b17979b110dbf44ab1039b47ba14a2768798bcf4b7dcaee44bad5dcf ssh-agent [2021-05-07T22:56:39.972Z] SSH_AUTH_SOCK=/tmp/ssh-jmyCZ0Da00fF/agent.12 [2021-05-07T22:56:39.972Z] SSH_AGENT_PID=17 [2021-05-07T22:56:39.980Z] Running ssh-add (command line suppressed) [2021-05-07T22:56:40.100Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_5239594059324021924.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_5239594059324021924.key) [2021-05-07T22:56:40.155Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-07T22:56:40.459Z] + git semver push [2021-05-07T22:56:40.459Z] # -> Open(): unable to determine branch for HEAD [2021-05-07T22:56:40.459Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-05-07T22:56:40.459Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-05-07T22:56:40.459Z] # $SEMVER_REMOTE_NAME = origin [2021-05-07T22:56:40.459Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-07T22:56:40.459Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-07T22:56:40.459Z] # $SEMVER_BRANCH = master [2021-05-07T22:56:40.459Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-05-07T22:56:44.691Z] $ docker exec --env ******** --env ******** b0a82e04b17979b110dbf44ab1039b47ba14a2768798bcf4b7dcaee44bad5dcf ssh-agent -k [2021-05-07T22:56:44.836Z] unset SSH_AUTH_SOCK; [2021-05-07T22:56:44.836Z] unset SSH_AGENT_PID; [2021-05-07T22:56:44.836Z] echo Agent pid 17 killed; [2021-05-07T22:56:44.892Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-07T22:56:45.231Z] + git semver [Pipeline] } [2021-05-07T22:56:45.249Z] $ docker stop --time=1 b0a82e04b17979b110dbf44ab1039b47ba14a2768798bcf4b7dcaee44bad5dcf [2021-05-07T22:56:46.637Z] $ docker rm -f b0a82e04b17979b110dbf44ab1039b47ba14a2768798bcf4b7dcaee44bad5dcf [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-05-07T22:56:47.587Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T22:56:48.157Z] ---> package-listing.sh [2021-05-07T22:56:48.157Z] ++ facter osfamily [2021-05-07T22:56:48.157Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-07T22:56:48.157Z] + OS_FAMILY=redhat [2021-05-07T22:56:48.157Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_master [2021-05-07T22:56:48.157Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-07T22:56:48.157Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-07T22:56:48.157Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-07T22:56:48.157Z] + PACKAGES=/tmp/packages_start.txt [2021-05-07T22:56:48.157Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-05-07T22:56:48.157Z] + PACKAGES=/tmp/packages_end.txt [2021-05-07T22:56:48.157Z] + case "${OS_FAMILY}" in [2021-05-07T22:56:48.157Z] + rpm -qa [2021-05-07T22:56:48.157Z] + sort [2021-05-07T22:56:53.459Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-07T22:56:53.459Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-07T22:56:53.459Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-07T22:56:53.459Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-05-07T22:56:53.459Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_master/archives/ [2021-05-07T22:56:53.459Z] + 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-05-07T22:56:53.472Z] 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-05-07T22:56:53.768Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-07T22:56:54.077Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-07T22:56:54.077Z] [2021-05-07T22:56:54.077Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-07T22:56:54.397Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-07T22:56:54.397Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-07T22:56:54.397Z] df20fa9351a1: Pulling fs layer [2021-05-07T22:56:54.398Z] 36b3adc4ff6f: Pulling fs layer [2021-05-07T22:56:54.398Z] 8ad3a11d3b57: Pulling fs layer [2021-05-07T22:56:54.398Z] 46f8f816bc3b: Pulling fs layer [2021-05-07T22:56:54.398Z] 93b61091891f: Pulling fs layer [2021-05-07T22:56:54.398Z] 93b9cdb0e59b: Pulling fs layer [2021-05-07T22:56:54.398Z] 5e14af77c1be: Pulling fs layer [2021-05-07T22:56:54.398Z] 01666e4c0597: Pulling fs layer [2021-05-07T22:56:54.398Z] aa168da1d23b: Pulling fs layer [2021-05-07T22:56:54.398Z] 46f8f816bc3b: Waiting [2021-05-07T22:56:54.398Z] 93b61091891f: Waiting [2021-05-07T22:56:54.398Z] 93b9cdb0e59b: Waiting [2021-05-07T22:56:54.398Z] 5e14af77c1be: Waiting [2021-05-07T22:56:54.398Z] 01666e4c0597: Waiting [2021-05-07T22:56:54.398Z] aa168da1d23b: Waiting [2021-05-07T22:56:54.398Z] 36b3adc4ff6f: Verifying Checksum [2021-05-07T22:56:54.398Z] 36b3adc4ff6f: Download complete [2021-05-07T22:56:54.398Z] 46f8f816bc3b: Verifying Checksum [2021-05-07T22:56:54.398Z] 46f8f816bc3b: Download complete [2021-05-07T22:56:54.398Z] df20fa9351a1: Verifying Checksum [2021-05-07T22:56:54.398Z] df20fa9351a1: Download complete [2021-05-07T22:56:54.661Z] 93b61091891f: Verifying Checksum [2021-05-07T22:56:54.661Z] 93b61091891f: Download complete [2021-05-07T22:56:54.661Z] 93b9cdb0e59b: Verifying Checksum [2021-05-07T22:56:54.661Z] 93b9cdb0e59b: Download complete [2021-05-07T22:56:54.661Z] 5e14af77c1be: Verifying Checksum [2021-05-07T22:56:54.661Z] 5e14af77c1be: Download complete [2021-05-07T22:56:54.661Z] 01666e4c0597: Verifying Checksum [2021-05-07T22:56:54.661Z] 01666e4c0597: Download complete [2021-05-07T22:56:54.661Z] 8ad3a11d3b57: Verifying Checksum [2021-05-07T22:56:54.661Z] 8ad3a11d3b57: Download complete [2021-05-07T22:56:54.927Z] df20fa9351a1: Pull complete [2021-05-07T22:56:55.192Z] 36b3adc4ff6f: Pull complete [2021-05-07T22:56:56.143Z] 8ad3a11d3b57: Pull complete [2021-05-07T22:56:56.143Z] 46f8f816bc3b: Pull complete [2021-05-07T22:56:56.721Z] aa168da1d23b: Verifying Checksum [2021-05-07T22:56:56.721Z] aa168da1d23b: Download complete [2021-05-07T22:56:56.984Z] 93b61091891f: Pull complete [2021-05-07T22:56:56.984Z] 93b9cdb0e59b: Pull complete [2021-05-07T22:56:57.247Z] 5e14af77c1be: Pull complete [2021-05-07T22:56:57.247Z] 01666e4c0597: Pull complete [2021-05-07T22:57:05.417Z] aa168da1d23b: Pull complete [2021-05-07T22:57:05.417Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-07T22:57:05.417Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-07T22:57:05.417Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-07T22:57:05.587Z] prd-centos7-docker-4c-2g-3684 does not seem to be running inside a container [2021-05-07T22:57:05.635Z] $ 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-05-07T22:57:08.322Z] $ docker top 979bb4a20c0571699277a93f68b502d0f53fcd7ccb15588453ed3e7cda26811d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-07T22:57:08.741Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-07T22:57:09.040Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-07T22:57:09.343Z] + ls /var/log/sa-host [2021-05-07T22:57:09.343Z] + sadf -c /var/log/sa-host/sa07 [2021-05-07T22:57:09.343Z] file_magic: OK [2021-05-07T22:57:09.343Z] HZ: Using current value: 100 [2021-05-07T22:57:09.343Z] file_header: OK [2021-05-07T22:57:09.343Z] 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-05-07T22:57:09.343Z] Statistics: [2021-05-07T22:57:09.343Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-07T22:57:09.343Z] File successfully converted to sysstat format version 12.2.1 [2021-05-07T22:57:09.343Z] + sadf -c /var/log/sa-host/sa23 [2021-05-07T22:57:09.343Z] file_magic: OK [2021-05-07T22:57:09.343Z] HZ: Using current value: 100 [2021-05-07T22:57:09.343Z] file_header: OK [2021-05-07T22:57:09.343Z] 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-05-07T22:57:09.343Z] Statistics: [2021-05-07T22:57:09.343Z] Hnuu...uuuununununu... [2021-05-07T22:57:09.343Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-07T22:57:09.931Z] provisioning config files... [2021-05-07T22:57:09.950Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config5149481275182787852tmp [Pipeline] { [Pipeline] echo [2021-05-07T22:57:09.973Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T22:57:10.272Z] ---> create-netrc.sh [Pipeline] } [2021-05-07T22:57:10.282Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-07T22:57:10.309Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T22:57:10.605Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-07T22:57:10.616Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T22:57:10.920Z] ---> sudo-logs.sh [2021-05-07T22:57:10.920Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-07T22:57:10.948Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T22:57:11.263Z] ---> job-cost.sh [2021-05-07T22:57:11.263Z] lf-activate-venv: SKIPPING [2021-05-07T22:57:11.263Z] DEBUG: total: 0.029999999329447746 [2021-05-07T22:57:11.263Z] INFO: Retrieving Stack Cost... [2021-05-07T22:57:12.209Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-07T22:57:12.782Z] INFO: Archiving Costs [Pipeline] echo [2021-05-07T22:57:12.796Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T22:57:13.092Z] ---> logs-deploy.sh [2021-05-07T22:57:13.092Z] lf-activate-venv: SKIPPING [2021-05-07T22:57:13.092Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/master/228 [2021-05-07T22:57:13.092Z] INFO: archiving workspace using pattern(s): [2021-05-07T22:57:14.482Z] Archives upload complete. [2021-05-07T22:57:14.776Z] INFO: archiving logs to Nexus