Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from c52b117200eeab03bf93edd622bea4d2ee6b8beb Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-functions-sdk-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-33200 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 Checking out Revision c52b117200eeab03bf93edd622bea4d2ee6b8beb (master) > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c52b117200eeab03bf93edd622bea4d2ee6b8beb # timeout=10 Commit message: "refactor: Replace file based with use of Secret Provider to get Access Tokens (#784)" > git rev-list --no-walk 1798f22c4beb2284959a60107cdee2587c045e25 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-07T22:19:40.535Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-07T22:19:40.792Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-07T22:19:40.917Z] ========================================================= [2021-04-07T22:19:40.917Z] EdgeX Global Pipelines Version Info [2021-04-07T22:19:40.917Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-07T22:19:44.733Z] ------------------- [2021-04-07T22:19:44.733Z] stable info: [2021-04-07T22:19:44.733Z] ------------------- [2021-04-07T22:19:44.733Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-07T22:19:44.733Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-07T22:19:44.733Z] Message: update stable to v1.0.186 [2021-04-07T22:19:46.890Z] ------------------- [2021-04-07T22:19:46.890Z] experimental info: [2021-04-07T22:19:46.890Z] ------------------- [2021-04-07T22:19:46.890Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-07T22:19:46.890Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-07T22:19:46.890Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-07T22:19:47.271Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-04-07T22:19:48.911Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-04-07T22:19:49.002Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-07T22:19:49.136Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-07T22:19:49.227Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-07T22:19:49.321Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-07T22:19:49.409Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-07T22:19:49.496Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-07T22:19:49.649Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-04-07T22:19:49.769Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-07T22:19:49.866Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-07T22:19:49.951Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2021-04-07T22:19:50.059Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-07T22:19:50.142Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-07T22:19:50.247Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-04-07T22:19:50.334Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-07T22:19:50.469Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-07T22:19:50.557Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-07T22:19:50.651Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-07T22:19:50.737Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-07T22:19:50.853Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-07T22:19:51.001Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-04-07T22:19:51.085Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-07T22:19:51.210Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-07T22:19:51.313Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-04-07T22:19:51.413Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-07T22:19:51.496Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-04-07T22:19:51.581Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-04-07T22:19:51.699Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-04-07T22:19:51.784Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c52b117200eeab03bf93edd622bea4d2ee6b8beb [Pipeline] echo [2021-04-07T22:19:51.870Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c52b117 [Pipeline] echo [2021-04-07T22:19:51.952Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-07T22:19:52.709Z] + git log --format=format:%s -1 c52b117200eeab03bf93edd622bea4d2ee6b8beb [Pipeline] echo [2021-04-07T22:19:53.259Z] GIT_COMMIT: c52b117200eeab03bf93edd622bea4d2ee6b8beb, Commit Message: refactor: Replace file based with use of Secret Provider to get Access Tokens (#784) [Pipeline] echo [2021-04-07T22:19:53.335Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-07T22:19:54.446Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-07T22:19:55.135Z] [2021-04-07T22:19:55.135Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-07T22:19:55.566Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-07T22:19:55.887Z] latest: Pulling from edgex-devops/git-semver [2021-04-07T22:19:55.887Z] 31603596830f: Pulling fs layer [2021-04-07T22:19:55.887Z] 2a8b12db71e7: Pulling fs layer [2021-04-07T22:19:55.887Z] 6ca5941a6612: Pulling fs layer [2021-04-07T22:19:55.888Z] ecc8261a40a4: Pulling fs layer [2021-04-07T22:19:55.888Z] ecc8261a40a4: Waiting [2021-04-07T22:19:55.888Z] 2a8b12db71e7: Verifying Checksum [2021-04-07T22:19:55.888Z] 2a8b12db71e7: Download complete [2021-04-07T22:19:56.236Z] 31603596830f: Verifying Checksum [2021-04-07T22:19:56.236Z] 31603596830f: Download complete [2021-04-07T22:19:56.820Z] ecc8261a40a4: Verifying Checksum [2021-04-07T22:19:56.820Z] ecc8261a40a4: Download complete [2021-04-07T22:19:57.161Z] 6ca5941a6612: Verifying Checksum [2021-04-07T22:19:57.161Z] 6ca5941a6612: Download complete [2021-04-07T22:19:57.807Z] 31603596830f: Pull complete [2021-04-07T22:19:57.807Z] 2a8b12db71e7: Pull complete [2021-04-07T22:19:59.449Z] 6ca5941a6612: Pull complete [2021-04-07T22:19:59.726Z] ecc8261a40a4: Pull complete [2021-04-07T22:19:59.726Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-07T22:19:59.726Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-07T22:19:59.726Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-07T22:20:00.100Z] prd-centos7-docker-4c-2g-33200 does not seem to be running inside a container [2021-04-07T22:20:00.561Z] $ 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-04-07T22:20:04.046Z] $ docker top e48914e26e16da31c92fbfef5dec07eb1edf24ec5387cd9af846ef8a216b33b6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-07T22:20:04.485Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-07T22:20:04.486Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-07T22:20:05.164Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-07T22:20:05.168Z] $ docker exec e48914e26e16da31c92fbfef5dec07eb1edf24ec5387cd9af846ef8a216b33b6 ssh-agent [2021-04-07T22:20:05.636Z] SSH_AUTH_SOCK=/tmp/ssh-WJ0LNA8Ua8ue/agent.11 [2021-04-07T22:20:05.636Z] SSH_AGENT_PID=17 [2021-04-07T22:20:05.675Z] Running ssh-add (command line suppressed) [2021-04-07T22:20:05.961Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_463272963567106019.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_463272963567106019.key) [2021-04-07T22:20:06.152Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-07T22:20:07.014Z] + git tag --points-at HEAD [Pipeline] } [2021-04-07T22:20:07.100Z] $ docker exec --env ******** --env ******** e48914e26e16da31c92fbfef5dec07eb1edf24ec5387cd9af846ef8a216b33b6 ssh-agent -k [2021-04-07T22:20:07.587Z] unset SSH_AUTH_SOCK; [2021-04-07T22:20:07.587Z] unset SSH_AGENT_PID; [2021-04-07T22:20:07.587Z] echo Agent pid 17 killed; [2021-04-07T22:20:07.735Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-07T22:20:08.160Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-07T22:20:08.160Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-07T22:20:08.767Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-07T22:20:08.772Z] $ docker exec e48914e26e16da31c92fbfef5dec07eb1edf24ec5387cd9af846ef8a216b33b6 ssh-agent [2021-04-07T22:20:09.285Z] SSH_AUTH_SOCK=/tmp/ssh-6VhTM1qEK6It/agent.45 [2021-04-07T22:20:09.285Z] SSH_AGENT_PID=50 [2021-04-07T22:20:09.303Z] Running ssh-add (command line suppressed) [2021-04-07T22:20:09.561Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_5148189684192824417.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_5148189684192824417.key) [2021-04-07T22:20:09.702Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-07T22:20:10.653Z] + git semver init [2021-04-07T22:20:10.653Z] # -> Open(): unable to determine branch for HEAD [2021-04-07T22:20:10.653Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-04-07T22:20:10.653Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-04-07T22:20:10.653Z] # $SEMVER_REMOTE_NAME = origin [2021-04-07T22:20:10.653Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-07T22:20:10.653Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-07T22:20:10.653Z] # $SEMVER_BRANCH = master [2021-04-07T22:20:10.653Z] # $SEMVER_TEMP = /tmp/semver-404803698 [2021-04-07T22:20:10.653Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-04-07T22:20:18.757Z] # '/tmp/semver-404803698' -> '/w/workspace/ndry_app-functions-sdk-go_master/.semver' [2021-04-07T22:20:18.757Z] # -> Force: false [2021-04-07T22:20:18.757Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-04-07T22:20:18.801Z] $ docker exec --env ******** --env ******** e48914e26e16da31c92fbfef5dec07eb1edf24ec5387cd9af846ef8a216b33b6 ssh-agent -k [2021-04-07T22:20:19.252Z] unset SSH_AUTH_SOCK; [2021-04-07T22:20:19.254Z] unset SSH_AGENT_PID; [2021-04-07T22:20:19.254Z] echo Agent pid 50 killed; [2021-04-07T22:20:19.496Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-07T22:20:20.240Z] + git semver [Pipeline] } [2021-04-07T22:20:20.302Z] $ docker stop --time=1 e48914e26e16da31c92fbfef5dec07eb1edf24ec5387cd9af846ef8a216b33b6 [2021-04-07T22:20:21.988Z] $ docker rm -f e48914e26e16da31c92fbfef5dec07eb1edf24ec5387cd9af846ef8a216b33b6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-07T22:20:22.729Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-07T22:20:23.723Z] Stashed 1 file(s) [Pipeline] echo [2021-04-07T22:20:23.726Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.43 [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-04-07T22:20:39.281Z] Still waiting to schedule task [2021-04-07T22:20:39.281Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-04-07T22:20:39.284Z] Still waiting to schedule task [2021-04-07T22:20:39.284Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-04-07T22:22:29.310Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-33201 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-04-07T22:22:29.416Z] Running in /w/workspace/app-functions-sdk-go/212 [Pipeline] { [Pipeline] checkout [2021-04-07T22:22:34.460Z] using credential edgex-jenkins-ssh [2021-04-07T22:22:34.520Z] Cloning the remote Git repository [2021-04-07T22:22:34.569Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-07T22:22:34.683Z] > git init /w/workspace/app-functions-sdk-go/212 # timeout=10 [2021-04-07T22:22:34.750Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-07T22:22:34.751Z] > git --version # timeout=10 [2021-04-07T22:22:34.772Z] > git --version # 'git version 2.17.1' [2021-04-07T22:22:34.773Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-07T22:22:34.816Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-07T22:22:37.985Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-04-07T22:22:38.019Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-07T22:22:38.048Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-04-07T22:22:38.089Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-07T22:22:38.089Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-07T22:22:38.104Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-07T22:22:38.604Z] Checking out Revision c52b117200eeab03bf93edd622bea4d2ee6b8beb (master) [2021-04-07T22:22:38.614Z] > git config core.sparsecheckout # timeout=10 [2021-04-07T22:22:38.628Z] > git checkout -f c52b117200eeab03bf93edd622bea4d2ee6b8beb # timeout=10 [2021-04-07T22:22:43.064Z] Commit message: "refactor: Replace file based with use of Secret Provider to get Access Tokens (#784)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-07T22:22:45.151Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-07T22:22:45.563Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-07T22:22:45.917Z] + true [2021-04-07T22:22:45.917Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2021-04-07T22:22:48.240Z] ========================================================= [2021-04-07T22:22:48.241Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-07T22:22:48.241Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-07T22:22:48.631Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-04-07T22:22:49.612Z] Sending build context to Docker daemon 19.44MB [2021-04-07T22:22:49.612Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-07T22:22:49.612Z] Step 2/8 : FROM ${BASE} [2021-04-07T22:22:50.209Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-07T22:22:50.209Z] 5f621e34cdf4: Pulling fs layer [2021-04-07T22:22:50.209Z] a4357932f1b6: Pulling fs layer [2021-04-07T22:22:50.209Z] 18c013af1878: Pulling fs layer [2021-04-07T22:22:50.209Z] 00ac8860ef70: Pulling fs layer [2021-04-07T22:22:50.209Z] 63d7cb157983: Pulling fs layer [2021-04-07T22:22:50.209Z] b116817d02f9: Pulling fs layer [2021-04-07T22:22:50.209Z] 745a02a5169b: Pulling fs layer [2021-04-07T22:22:50.209Z] 63d7cb157983: Waiting [2021-04-07T22:22:50.209Z] 745a02a5169b: Waiting [2021-04-07T22:22:50.209Z] b116817d02f9: Waiting [2021-04-07T22:22:50.209Z] 00ac8860ef70: Waiting [2021-04-07T22:22:50.209Z] 18c013af1878: Verifying Checksum [2021-04-07T22:22:50.209Z] 18c013af1878: Download complete [2021-04-07T22:22:50.209Z] a4357932f1b6: Verifying Checksum [2021-04-07T22:22:50.209Z] a4357932f1b6: Download complete [2021-04-07T22:22:50.209Z] 63d7cb157983: Verifying Checksum [2021-04-07T22:22:50.209Z] 63d7cb157983: Download complete [2021-04-07T22:22:50.805Z] 5f621e34cdf4: Verifying Checksum [2021-04-07T22:22:50.805Z] 5f621e34cdf4: Download complete [2021-04-07T22:22:50.805Z] b116817d02f9: Verifying Checksum [2021-04-07T22:22:50.805Z] b116817d02f9: Download complete [2021-04-07T22:22:51.414Z] 5f621e34cdf4: Pull complete [2021-04-07T22:22:52.014Z] a4357932f1b6: Pull complete [2021-04-07T22:22:52.289Z] 18c013af1878: Pull complete [2021-04-07T22:22:53.273Z] 745a02a5169b: Verifying Checksum [2021-04-07T22:22:53.273Z] 745a02a5169b: Download complete [2021-04-07T22:22:54.252Z] 00ac8860ef70: Verifying Checksum [2021-04-07T22:22:54.252Z] 00ac8860ef70: Download complete [2021-04-07T22:23:04.416Z] 00ac8860ef70: Pull complete [2021-04-07T22:23:04.416Z] 63d7cb157983: Pull complete [2021-04-07T22:23:04.691Z] b116817d02f9: Pull complete [2021-04-07T22:23:09.016Z] 745a02a5169b: Pull complete [2021-04-07T22:23:09.016Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-07T22:23:09.016Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-07T22:23:09.016Z] ---> b7e6874047d6 [2021-04-07T22:23:09.016Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-04-07T22:23:09.016Z] 20.10.0: Pulling from library/docker [2021-04-07T22:23:09.016Z] a3cc7d3b244e: Pulling fs layer [2021-04-07T22:23:09.016Z] 02a3295e0d61: Pulling fs layer [2021-04-07T22:23:09.016Z] 0f4f2e6d8100: Pulling fs layer [2021-04-07T22:23:09.016Z] 330b718f631f: Pulling fs layer [2021-04-07T22:23:09.016Z] a93816041522: Pulling fs layer [2021-04-07T22:23:09.016Z] bdb6da89ff94: Pulling fs layer [2021-04-07T22:23:09.016Z] 2a70c0c122f4: Pulling fs layer [2021-04-07T22:23:09.016Z] 330b718f631f: Waiting [2021-04-07T22:23:09.016Z] a93816041522: Waiting [2021-04-07T22:23:09.016Z] bdb6da89ff94: Waiting [2021-04-07T22:23:09.016Z] 2a70c0c122f4: Waiting [2021-04-07T22:23:09.016Z] 0f4f2e6d8100: Verifying Checksum [2021-04-07T22:23:09.016Z] 0f4f2e6d8100: Download complete [2021-04-07T22:23:09.016Z] a3cc7d3b244e: Verifying Checksum [2021-04-07T22:23:09.016Z] 02a3295e0d61: Verifying Checksum [2021-04-07T22:23:09.016Z] a93816041522: Download complete [2021-04-07T22:23:09.016Z] bdb6da89ff94: Verifying Checksum [2021-04-07T22:23:09.016Z] bdb6da89ff94: Download complete [2021-04-07T22:23:09.016Z] 2a70c0c122f4: Verifying Checksum [2021-04-07T22:23:09.016Z] 2a70c0c122f4: Download complete [2021-04-07T22:23:09.291Z] a3cc7d3b244e: Pull complete [2021-04-07T22:23:10.276Z] 02a3295e0d61: Pull complete [2021-04-07T22:23:10.550Z] 330b718f631f: Verifying Checksum [2021-04-07T22:23:10.550Z] 330b718f631f: Download complete [2021-04-07T22:23:10.550Z] 0f4f2e6d8100: Pull complete [2021-04-07T22:23:13.939Z] 330b718f631f: Pull complete [2021-04-07T22:23:14.214Z] a93816041522: Pull complete [2021-04-07T22:23:14.487Z] bdb6da89ff94: Pull complete [2021-04-07T22:23:15.083Z] 2a70c0c122f4: Pull complete [2021-04-07T22:23:15.084Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-04-07T22:23:15.084Z] Status: Downloaded newer image for docker:20.10.0 [2021-04-07T22:23:21.850Z] ---> 5ff0b6e60cb7 [2021-04-07T22:23:21.850Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-04-07T22:23:21.850Z] ---> Running in 7a7e2ceec8d8 [2021-04-07T22:23:21.850Z] Removing intermediate container 7a7e2ceec8d8 [2021-04-07T22:23:21.850Z] ---> 0d4fd53f9044 [2021-04-07T22:23:21.850Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-04-07T22:23:22.121Z] ---> Running in b81f9cccdc2f [2021-04-07T22:23:23.569Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-07T22:23:24.161Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-07T22:23:24.750Z] (1/5) Installing libsodium (1.0.18-r0) [2021-04-07T22:23:24.750Z] (2/5) Installing libzmq (4.3.3-r0) [2021-04-07T22:23:24.750Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-04-07T22:23:25.020Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-04-07T22:23:25.020Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-04-07T22:23:25.020Z] Executing busybox-1.31.1-r19.trigger [2021-04-07T22:23:25.293Z] OK: 144 MiB in 44 packages [2021-04-07T22:23:26.730Z] Removing intermediate container b81f9cccdc2f [2021-04-07T22:23:26.730Z] ---> a322013c355b [2021-04-07T22:23:26.730Z] Step 6/8 : WORKDIR /build [2021-04-07T22:23:26.730Z] ---> Running in d61f72f4336c [2021-04-07T22:23:27.327Z] Removing intermediate container d61f72f4336c [2021-04-07T22:23:27.327Z] ---> e99040fe293b [2021-04-07T22:23:27.327Z] Step 7/8 : COPY go.mod . [2021-04-07T22:23:27.919Z] ---> da8f45cbd49c [2021-04-07T22:23:27.919Z] Step 8/8 : RUN go mod download [2021-04-07T22:23:27.919Z] ---> Running in 7f4de3e0adec [2021-04-07T22:23:41.813Z] Running on prd-centos7-docker-4c-2g-33202 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-04-07T22:23:41.904Z] Running in /w/workspace/app-functions-sdk-go/212 [Pipeline] { [Pipeline] checkout [2021-04-07T22:23:54.711Z] Removing intermediate container 7f4de3e0adec [2021-04-07T22:23:54.711Z] ---> e3ee21b63f8b [2021-04-07T22:23:54.711Z] Successfully built e3ee21b63f8b [2021-04-07T22:23:54.711Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-07T22:23:55.054Z] + docker inspect -f . ci-base-image-arm64 [2021-04-07T22:23:55.054Z] . [Pipeline] withDockerContainer [2021-04-07T22:23:55.271Z] using credential edgex-jenkins-ssh [2021-04-07T22:23:55.332Z] prd-ubuntu18.04-docker-arm64-4c-16g-33201 does not seem to be running inside a container [2021-04-07T22:23:55.335Z] Cloning the remote Git repository [2021-04-07T22:23:55.414Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/212 -v /w/workspace/app-functions-sdk-go/212:/w/workspace/app-functions-sdk-go/212:rw,z -v /w/workspace/app-functions-sdk-go/212@tmp:/w/workspace/app-functions-sdk-go/212@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-04-07T22:23:55.394Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-07T22:23:55.534Z] > git init /w/workspace/app-functions-sdk-go/212 # timeout=10 [2021-04-07T22:23:55.721Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-07T22:23:55.722Z] > git --version # timeout=10 [2021-04-07T22:23:55.758Z] > git --version # 'git version 2.24.3' [2021-04-07T22:23:55.760Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-07T22:23:55.965Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-07T22:23:57.044Z] $ docker top 65d8205a0ee21c0e904afce178fa7310fca6410f5a3ba7f493ceb75f5e5f7ffe -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-07T22:23:58.095Z] + go version [2021-04-07T22:23:58.096Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-07T22:23:58.117Z] $ docker stop --time=1 65d8205a0ee21c0e904afce178fa7310fca6410f5a3ba7f493ceb75f5e5f7ffe [2021-04-07T22:23:59.206Z] Checking out Revision c52b117200eeab03bf93edd622bea4d2ee6b8beb (master) [2021-04-07T22:23:58.584Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-04-07T22:23:58.604Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-07T22:23:58.624Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-04-07T22:23:58.642Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-07T22:23:58.643Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-07T22:23:58.662Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-07T22:23:59.222Z] > git config core.sparsecheckout # timeout=10 [2021-04-07T22:23:59.265Z] > git checkout -f c52b117200eeab03bf93edd622bea4d2ee6b8beb # timeout=10 [2021-04-07T22:24:00.075Z] $ docker rm -f 65d8205a0ee21c0e904afce178fa7310fca6410f5a3ba7f493ceb75f5e5f7ffe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-07T22:24:01.109Z] + docker inspect -f . ci-base-image-arm64 [2021-04-07T22:24:01.109Z] . [Pipeline] withDockerContainer [2021-04-07T22:24:01.369Z] prd-ubuntu18.04-docker-arm64-4c-16g-33201 does not seem to be running inside a container [2021-04-07T22:24:01.447Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/212 -v /w/workspace/app-functions-sdk-go/212:/w/workspace/app-functions-sdk-go/212:rw,z -v /w/workspace/app-functions-sdk-go/212@tmp:/w/workspace/app-functions-sdk-go/212@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-04-07T22:24:02.965Z] $ docker top dae8ed506e4671f664e646b34f18704e93531e3af2fff7bb300e8543bad937ff -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-07T22:24:04.020Z] + make test [2021-04-07T22:24:04.020Z] make -C ./app-service-template build [2021-04-07T22:24:04.020Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/212/app-service-template' [2021-04-07T22:24:04.020Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.14 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-04-07T22:24:04.302Z] Commit message: "refactor: Replace file based with use of Secret Provider to get Access Tokens (#784)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-07T22:24:07.231Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-07T22:24:07.938Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-07T22:24:08.331Z] + sudo service docker restart [2021-04-07T22:24:08.332Z] + true [2021-04-07T22:24:08.332Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-04-07T22:24:10.710Z] ========================================================= [2021-04-07T22:24:10.711Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-07T22:24:10.711Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-07T22:24:11.180Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-04-07T22:24:13.167Z] Sending build context to Docker daemon 19.45MB [2021-04-07T22:24:13.167Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-07T22:24:13.167Z] Step 2/8 : FROM ${BASE} [2021-04-07T22:24:13.167Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-07T22:24:13.167Z] 188c0c94c7c5: Pulling fs layer [2021-04-07T22:24:13.167Z] 0ef7d3d256c8: Pulling fs layer [2021-04-07T22:24:13.167Z] de9db76c5a1d: Pulling fs layer [2021-04-07T22:24:13.167Z] bca2f99d35d6: Pulling fs layer [2021-04-07T22:24:13.167Z] 93359f2a8cfa: Pulling fs layer [2021-04-07T22:24:13.167Z] 7c6f9722023f: Pulling fs layer [2021-04-07T22:24:13.167Z] a35cf1a2eb13: Pulling fs layer [2021-04-07T22:24:13.167Z] bca2f99d35d6: Waiting [2021-04-07T22:24:13.167Z] 93359f2a8cfa: Waiting [2021-04-07T22:24:13.167Z] 7c6f9722023f: Waiting [2021-04-07T22:24:13.167Z] a35cf1a2eb13: Waiting [2021-04-07T22:24:13.168Z] de9db76c5a1d: Verifying Checksum [2021-04-07T22:24:13.168Z] de9db76c5a1d: Download complete [2021-04-07T22:24:13.168Z] 0ef7d3d256c8: Verifying Checksum [2021-04-07T22:24:13.168Z] 0ef7d3d256c8: Download complete [2021-04-07T22:24:13.168Z] 93359f2a8cfa: Verifying Checksum [2021-04-07T22:24:13.168Z] 93359f2a8cfa: Download complete [2021-04-07T22:24:13.970Z] 7c6f9722023f: Verifying Checksum [2021-04-07T22:24:13.970Z] 7c6f9722023f: Download complete [2021-04-07T22:24:14.286Z] 188c0c94c7c5: Verifying Checksum [2021-04-07T22:24:14.286Z] 188c0c94c7c5: Download complete [2021-04-07T22:24:14.991Z] 188c0c94c7c5: Pull complete [2021-04-07T22:24:15.307Z] 0ef7d3d256c8: Pull complete [2021-04-07T22:24:15.612Z] de9db76c5a1d: Pull complete [2021-04-07T22:24:20.435Z] a35cf1a2eb13: Verifying Checksum [2021-04-07T22:24:20.435Z] a35cf1a2eb13: Download complete [2021-04-07T22:24:21.074Z] bca2f99d35d6: Verifying Checksum [2021-04-07T22:24:21.074Z] bca2f99d35d6: Download complete [2021-04-07T22:24:36.372Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/212/app-service-template' [2021-04-07T22:24:36.372Z] make -C ./app-service-template test [2021-04-07T22:24:36.372Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/212/app-service-template' [2021-04-07T22:24:36.372Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-04-07T22:24:39.964Z] bca2f99d35d6: Pull complete [2021-04-07T22:24:39.964Z] 93359f2a8cfa: Pull complete [2021-04-07T22:24:39.964Z] 7c6f9722023f: Pull complete [2021-04-07T22:24:48.596Z] a35cf1a2eb13: Pull complete [2021-04-07T22:24:48.596Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-07T22:24:48.596Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-07T22:24:48.596Z] ---> a62c8e92a672 [2021-04-07T22:24:48.596Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-04-07T22:24:48.596Z] 20.10.0: Pulling from library/docker [2021-04-07T22:24:48.596Z] 05e7bc50f07f: Pulling fs layer [2021-04-07T22:24:48.596Z] 6db28d0fdbf6: Pulling fs layer [2021-04-07T22:24:48.596Z] 292df0bc6bf3: Pulling fs layer [2021-04-07T22:24:48.596Z] 2e060f4bd70b: Pulling fs layer [2021-04-07T22:24:48.596Z] 80e8d568a223: Pulling fs layer [2021-04-07T22:24:48.596Z] 8dc6ef1a942a: Pulling fs layer [2021-04-07T22:24:48.596Z] 2312dd95470a: Pulling fs layer [2021-04-07T22:24:48.596Z] 80e8d568a223: Waiting [2021-04-07T22:24:48.596Z] 8dc6ef1a942a: Waiting [2021-04-07T22:24:48.596Z] 2312dd95470a: Waiting [2021-04-07T22:24:48.596Z] 2e060f4bd70b: Waiting [2021-04-07T22:24:48.596Z] 292df0bc6bf3: Verifying Checksum [2021-04-07T22:24:48.596Z] 292df0bc6bf3: Download complete [2021-04-07T22:24:48.596Z] 6db28d0fdbf6: Verifying Checksum [2021-04-07T22:24:48.596Z] 6db28d0fdbf6: Download complete [2021-04-07T22:24:48.596Z] 80e8d568a223: Verifying Checksum [2021-04-07T22:24:48.596Z] 80e8d568a223: Download complete [2021-04-07T22:24:48.596Z] 05e7bc50f07f: Download complete [2021-04-07T22:24:48.596Z] 8dc6ef1a942a: Verifying Checksum [2021-04-07T22:24:48.596Z] 8dc6ef1a942a: Download complete [2021-04-07T22:24:48.596Z] 2312dd95470a: Verifying Checksum [2021-04-07T22:24:48.596Z] 2312dd95470a: Download complete [2021-04-07T22:24:49.815Z] 05e7bc50f07f: Pull complete [2021-04-07T22:24:50.494Z] 6db28d0fdbf6: Pull complete [2021-04-07T22:24:50.789Z] 292df0bc6bf3: Pull complete [2021-04-07T22:24:52.432Z] 2e060f4bd70b: Verifying Checksum [2021-04-07T22:24:52.432Z] 2e060f4bd70b: Download complete [2021-04-07T22:25:01.041Z] 2e060f4bd70b: Pull complete [2021-04-07T22:25:01.041Z] 80e8d568a223: Pull complete [2021-04-07T22:25:01.041Z] 8dc6ef1a942a: Pull complete [2021-04-07T22:25:01.041Z] 2312dd95470a: Pull complete [2021-04-07T22:25:01.041Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-04-07T22:25:01.041Z] Status: Downloaded newer image for docker:20.10.0 [2021-04-07T22:25:03.200Z] ok new-app-service 0.035s coverage: 47.8% of statements [2021-04-07T22:25:03.200Z] ? new-app-service/config [no test files] [2021-04-07T22:25:03.200Z] ok new-app-service/functions 0.029s [2021-04-07T22:25:03.200Z] CGO_ENABLED=1 go vet ./... [2021-04-07T22:25:03.887Z] ---> 88168796a45b [2021-04-07T22:25:03.887Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-04-07T22:25:04.302Z] ---> Running in 862eafae55d0 [2021-04-07T22:25:04.618Z] Removing intermediate container 862eafae55d0 [2021-04-07T22:25:04.618Z] ---> 603c52c9eddd [2021-04-07T22:25:04.618Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-04-07T22:25:04.618Z] ---> Running in 69a1ed8b38ac [2021-04-07T22:25:06.772Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-07T22:25:07.060Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-07T22:25:07.690Z] (1/5) Installing libsodium (1.0.18-r0) [2021-04-07T22:25:07.690Z] (2/5) Installing libzmq (4.3.3-r0) [2021-04-07T22:25:07.993Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-04-07T22:25:07.993Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-04-07T22:25:08.275Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-04-07T22:25:08.275Z] Executing busybox-1.31.1-r19.trigger [2021-04-07T22:25:08.275Z] OK: 167 MiB in 44 packages [2021-04-07T22:25:09.277Z] Removing intermediate container 69a1ed8b38ac [2021-04-07T22:25:09.277Z] ---> fcc51da3e2b7 [2021-04-07T22:25:09.277Z] Step 6/8 : WORKDIR /build [2021-04-07T22:25:09.571Z] ---> Running in 3fb029e1efe2 [2021-04-07T22:25:10.217Z] Removing intermediate container 3fb029e1efe2 [2021-04-07T22:25:10.217Z] ---> f06bb4f90b8c [2021-04-07T22:25:10.217Z] Step 7/8 : COPY go.mod . [2021-04-07T22:25:10.830Z] ---> f78b2fb812c4 [2021-04-07T22:25:10.830Z] Step 8/8 : RUN go mod download [2021-04-07T22:25:10.830Z] ---> Running in 76f3d19bfe56 [2021-04-07T22:25:11.495Z] gofmt -l . [2021-04-07T22:25:11.495Z] [ "`gofmt -l .`" = "" ] [2021-04-07T22:25:11.495Z] ./bin/test-go-mod-tidy.sh [2021-04-07T22:25:12.096Z] ./bin/test-attribution-txt.sh [2021-04-07T22:25:13.532Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/212/app-service-template' [2021-04-07T22:25:13.532Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-04-07T22:25:14.974Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-04-07T22:25:25.217Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.063s coverage: 55.8% of statements [2021-04-07T22:25:25.217Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.063s coverage: 92.5% of statements [2021-04-07T22:25:25.217Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-04-07T22:25:25.217Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.115s coverage: 61.5% of statements [2021-04-07T22:25:25.217Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-04-07T22:25:25.217Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.033s [2021-04-07T22:25:25.217Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.102s coverage: 75.4% of statements [2021-04-07T22:25:25.218Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-04-07T22:25:25.218Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-04-07T22:25:25.218Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-04-07T22:25:25.218Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-04-07T22:25:25.218Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-04-07T22:25:25.218Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-04-07T22:25:25.218Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.015s coverage: 97.0% of statements [2021-04-07T22:25:25.218Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-04-07T22:25:25.218Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.028s coverage: 10.5% of statements [2021-04-07T22:25:32.285Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.828s coverage: 78.4% of statements [2021-04-07T22:25:32.285Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-04-07T22:25:32.285Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.027s coverage: 18.4% of statements [2021-04-07T22:25:32.285Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.042s coverage: 27.3% of statements [2021-04-07T22:25:32.285Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-04-07T22:25:32.285Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-04-07T22:25:32.285Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.052s coverage: 71.7% of statements [2021-04-07T22:25:43.595Z] Removing intermediate container 76f3d19bfe56 [2021-04-07T22:25:43.595Z] ---> 1c317b718487 [2021-04-07T22:25:43.595Z] Successfully built 1c317b718487 [2021-04-07T22:25:43.595Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-07T22:25:44.014Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-07T22:25:44.312Z] . [Pipeline] withDockerContainer [2021-04-07T22:25:45.165Z] prd-centos7-docker-4c-2g-33202 does not seem to be running inside a container [2021-04-07T22:25:45.822Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/212 -v /w/workspace/app-functions-sdk-go/212:/w/workspace/app-functions-sdk-go/212:rw,z -v /w/workspace/app-functions-sdk-go/212@tmp:/w/workspace/app-functions-sdk-go/212@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-04-07T22:25:47.435Z] $ docker top 2d1e30054a34ac73f07cef8da2b79c18693b2767c1bb6f9b7fc9cb592f1608e7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-07T22:25:48.826Z] + go version [2021-04-07T22:25:48.826Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-07T22:25:48.887Z] $ docker stop --time=1 2d1e30054a34ac73f07cef8da2b79c18693b2767c1bb6f9b7fc9cb592f1608e7 [2021-04-07T22:25:51.201Z] $ docker rm -f 2d1e30054a34ac73f07cef8da2b79c18693b2767c1bb6f9b7fc9cb592f1608e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-07T22:25:52.575Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-07T22:25:52.576Z] . [Pipeline] withDockerContainer [2021-04-07T22:25:52.915Z] prd-centos7-docker-4c-2g-33202 does not seem to be running inside a container [2021-04-07T22:25:53.103Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/212 -v /w/workspace/app-functions-sdk-go/212:/w/workspace/app-functions-sdk-go/212:rw,z -v /w/workspace/app-functions-sdk-go/212@tmp:/w/workspace/app-functions-sdk-go/212@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-04-07T22:25:54.056Z] $ docker top ab1a6e40c442ce4c6fec0d36b427ba2bfe9a97a001b838780a6d9f92bdad8eb6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-07T22:25:56.204Z] + make test [2021-04-07T22:25:56.204Z] make -C ./app-service-template build [2021-04-07T22:25:56.204Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/212/app-service-template' [2021-04-07T22:25:56.204Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.14 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-04-07T22:25:59.028Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.087s coverage: 81.9% of statements [2021-04-07T22:25:59.028Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.024s coverage: 94.4% of statements [2021-04-07T22:25:59.028Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-04-07T22:26:00.007Z] gofmt -l . [2021-04-07T22:26:00.279Z] [ "`gofmt -l .`" = "" ] [2021-04-07T22:26:00.874Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-07T22:26:01.491Z] $ docker stop --time=1 dae8ed506e4671f664e646b34f18704e93531e3af2fff7bb300e8543bad937ff [2021-04-07T22:26:03.580Z] $ docker rm -f dae8ed506e4671f664e646b34f18704e93531e3af2fff7bb300e8543bad937ff [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-07T22:26:04.553Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-07T22:26:05.271Z] 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-04-07T22:26:06.339Z] ---> job-cost.sh [2021-04-07T22:26:06.340Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-2Qff [2021-04-07T22:26:23.777Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/212/app-service-template' [2021-04-07T22:26:23.777Z] make -C ./app-service-template test [2021-04-07T22:26:23.777Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/212/app-service-template' [2021-04-07T22:26:23.777Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-04-07T22:26:45.295Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-07T22:26:46.716Z] ok new-app-service 0.132s coverage: 47.8% of statements [2021-04-07T22:26:46.716Z] ? new-app-service/config [no test files] [2021-04-07T22:26:46.716Z] ok new-app-service/functions 0.034s [2021-04-07T22:26:46.716Z] CGO_ENABLED=1 go vet ./... [2021-04-07T22:26:57.787Z] gofmt -l . [2021-04-07T22:26:57.787Z] [ "`gofmt -l .`" = "" ] [2021-04-07T22:26:57.787Z] ./bin/test-go-mod-tidy.sh [2021-04-07T22:26:58.089Z] ./bin/test-attribution-txt.sh [2021-04-07T22:27:00.872Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/212/app-service-template' [2021-04-07T22:27:00.872Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-04-07T22:27:03.220Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-04-07T22:27:10.707Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.022s coverage: 55.8% of statements [2021-04-07T22:27:10.707Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.075s coverage: 92.5% of statements [2021-04-07T22:27:10.707Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-04-07T22:27:10.707Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.167s coverage: 61.5% of statements [2021-04-07T22:27:10.707Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-04-07T22:27:10.707Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.034s [2021-04-07T22:27:10.707Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.099s coverage: 75.4% of statements [2021-04-07T22:27:10.707Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-04-07T22:27:10.707Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-04-07T22:27:10.707Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-04-07T22:27:10.707Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-04-07T22:27:10.707Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-04-07T22:27:10.707Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-04-07T22:27:10.707Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.019s coverage: 97.0% of statements [2021-04-07T22:27:10.707Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-04-07T22:27:10.707Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.043s coverage: 10.5% of statements [2021-04-07T22:27:16.797Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.092s coverage: 78.4% of statements [2021-04-07T22:27:16.797Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-04-07T22:27:16.797Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.023s coverage: 18.4% of statements [2021-04-07T22:27:16.797Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.041s coverage: 27.3% of statements [2021-04-07T22:27:16.797Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-04-07T22:27:16.797Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-04-07T22:27:16.797Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.173s coverage: 71.7% of statements [2021-04-07T22:27:43.845Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.264s coverage: 81.9% of statements [2021-04-07T22:27:43.845Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.032s coverage: 94.4% of statements [2021-04-07T22:27:43.845Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-04-07T22:27:45.475Z] gofmt -l . [2021-04-07T22:27:45.475Z] [ "`gofmt -l .`" = "" ] [2021-04-07T22:27:45.814Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-07T22:27:46.891Z] $ docker stop --time=1 ab1a6e40c442ce4c6fec0d36b427ba2bfe9a97a001b838780a6d9f92bdad8eb6 [2021-04-07T22:27:49.083Z] $ docker rm -f ab1a6e40c442ce4c6fec0d36b427ba2bfe9a97a001b838780a6d9f92bdad8eb6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-07T22:27:50.721Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-07T22:27:50.801Z] Warning: overwriting stash ‘coverage-report’ [2021-04-07T22:27:51.767Z] 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-04-07T22:27:53.076Z] ---> job-cost.sh [2021-04-07T22:27:53.076Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-GmBD [2021-04-07T22:28:20.108Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-07T22:28:22.038Z] lf-activate-venv(): INFO: Adding /tmp/venv-2Qff/bin to PATH [2021-04-07T22:28:22.038Z] INFO: No Stack... [2021-04-07T22:28:22.038Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-07T22:28:22.038Z] INFO: Archiving Costs [Pipeline] sh [2021-04-07T22:28:22.375Z] + + cut -d,cat -f6 /w/workspace/app-functions-sdk-go/212/archives/cost.csv [2021-04-07T22:28:22.375Z] [Pipeline] lock [2021-04-07T22:28:22.489Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-212-stack-cost] [2021-04-07T22:28:22.496Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-212-stack-cost] did not exist. Created. [2021-04-07T22:28:22.496Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-212-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-07T22:28:22.950Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-07T22:28:23.186Z] Stashed 1 file(s) [Pipeline] } [2021-04-07T22:28:23.197Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-212-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-07T22:29:07.492Z] lf-activate-venv(): INFO: Adding /tmp/venv-GmBD/bin to PATH [2021-04-07T22:29:07.492Z] INFO: No Stack... [2021-04-07T22:29:07.492Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-07T22:29:07.492Z] INFO: Archiving Costs [Pipeline] sh [2021-04-07T22:29:07.914Z] + cat /w/workspace/app-functions-sdk-go/212/archives/cost.csv [2021-04-07T22:29:07.914Z] + cut -d, -f6 [Pipeline] lock [2021-04-07T22:29:08.197Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-212-stack-cost] [2021-04-07T22:29:08.205Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-212-stack-cost] did not exist. Created. [2021-04-07T22:29:08.205Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-212-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-07T22:29:08.690Z] /w/workspace/app-functions-sdk-go/212@tmp/durable-1a139213/script.sh: line 1: unexpected EOF while looking for matching `'' [Pipeline] sh [2021-04-07T22:29:09.178Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-07T22:29:09.311Z] Warning: overwriting stash ‘stack-cost’ [2021-04-07T22:29:09.740Z] Stashed 1 file(s) [Pipeline] } [2021-04-07T22:29:09.749Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-212-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-04-07T22:29:11.513Z] provisioning config files... [2021-04-07T22:29:11.621Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config5943347883619106659tmp [Pipeline] { [Pipeline] sh [2021-04-07T22:29:12.318Z] + set +x [2021-04-07T22:29:12.318Z] + curl -s https://codecov.io/bash [2021-04-07T22:29:12.318Z] + bash -s -- [2021-04-07T22:29:12.618Z] [2021-04-07T22:29:12.618Z] _____ _ [2021-04-07T22:29:12.618Z] / ____| | | [2021-04-07T22:29:12.618Z] | | ___ __| | ___ ___ _____ __ [2021-04-07T22:29:12.618Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-07T22:29:12.618Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-07T22:29:12.618Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-07T22:29:12.618Z] Bash-20210309-2b87ace [2021-04-07T22:29:12.618Z] [2021-04-07T22:29:12.618Z] [2021-04-07T22:29:12.618Z] ==> git version 2.24.3 found [2021-04-07T22:29:12.618Z] ==> 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-04-07T22:29:12.618Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-07T22:29:12.618Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-07T22:29:12.618Z] ==> Jenkins CI detected. [2021-04-07T22:29:12.618Z] project root: . [2021-04-07T22:29:12.618Z] --> token set from env [2021-04-07T22:29:12.915Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-07T22:29:12.915Z] ==> Running gcov in . (disable via -X gcov) [2021-04-07T22:29:12.915Z] ==> Python coveragepy not found [2021-04-07T22:29:12.915Z] ==> Searching for coverage reports in: [2021-04-07T22:29:12.915Z] + . [2021-04-07T22:29:12.915Z] -> Found 2 reports [2021-04-07T22:29:12.915Z] ==> Detecting git/mercurial file structure [2021-04-07T22:29:12.915Z] ==> Reading reports [2021-04-07T22:29:12.915Z] + ./app-service-template/coverage.out bytes=1055 [2021-04-07T22:29:12.915Z] + ./coverage.out bytes=86827 [2021-04-07T22:29:12.915Z] ==> Appending adjustments [2021-04-07T22:29:12.915Z] https://docs.codecov.io/docs/fixing-reports [2021-04-07T22:29:13.965Z] + Found adjustments [2021-04-07T22:29:13.965Z] ==> Gzipping contents [2021-04-07T22:29:13.965Z] 16K /tmp/codecov.tnxHDY.gz [2021-04-07T22:29:13.965Z] ==> Uploading reports [2021-04-07T22:29:13.965Z] url: https://codecov.io [2021-04-07T22:29:13.965Z] query: branch=master&commit=c52b117200eeab03bf93edd622bea4d2ee6b8beb&build=212&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F212%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-04-07T22:29:13.965Z] -> Pinging Codecov [2021-04-07T22:29:13.965Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=master&commit=c52b117200eeab03bf93edd622bea4d2ee6b8beb&build=212&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F212%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-04-07T22:29:14.619Z] -> Uploading to [2021-04-07T22:29:14.619Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-07/3D8B5DFFC46A037C893635FACE044666/c52b117200eeab03bf93edd622bea4d2ee6b8beb/8fb0e70c-d007-4456-8b84-b0c970d6350a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210407%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210407T222914Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=32170fb4218a6f34b7381a953fb54cc265057802a7e2e04e51487b0cf6ca524a [2021-04-07T22:29:14.619Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-07T22:29:14.619Z] Dload Upload Total Spent Left Speed [2021-04-07T22:29:15.270Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15280 0 0 100 15280 0 26947 --:--:-- --:--:-- --:--:-- 26996 [2021-04-07T22:29:15.270Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/c52b117200eeab03bf93edd622bea4d2ee6b8beb [Pipeline] } [2021-04-07T22:29:15.285Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-04-07T22:29:16.208Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-04-07T22:29:16.298Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-07T22:29:16.784Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-04-07T22:29:16.784Z] [2021-04-07T22:29:16.784Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-04-07T22:29:17.222Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-04-07T22:29:17.528Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-04-07T22:29:17.528Z] 188c0c94c7c5: Pulling fs layer [2021-04-07T22:29:17.528Z] 0ef7d3d256c8: Pulling fs layer [2021-04-07T22:29:17.528Z] de9db76c5a1d: Pulling fs layer [2021-04-07T22:29:17.528Z] 0eba1c9be4d2: Pulling fs layer [2021-04-07T22:29:17.528Z] 0d57e429df01: Pulling fs layer [2021-04-07T22:29:17.528Z] 4e4be7b47b0d: Pulling fs layer [2021-04-07T22:29:17.528Z] e1f770b5df2f: Pulling fs layer [2021-04-07T22:29:17.528Z] 85a0685a4137: Pulling fs layer [2021-04-07T22:29:17.528Z] 0eba1c9be4d2: Waiting [2021-04-07T22:29:17.528Z] 0d57e429df01: Waiting [2021-04-07T22:29:17.528Z] 4e4be7b47b0d: Waiting [2021-04-07T22:29:17.528Z] e1f770b5df2f: Waiting [2021-04-07T22:29:17.528Z] 85a0685a4137: Waiting [2021-04-07T22:29:17.528Z] de9db76c5a1d: Verifying Checksum [2021-04-07T22:29:17.528Z] de9db76c5a1d: Download complete [2021-04-07T22:29:17.528Z] 0ef7d3d256c8: Verifying Checksum [2021-04-07T22:29:17.528Z] 0ef7d3d256c8: Download complete [2021-04-07T22:29:17.528Z] 0d57e429df01: Verifying Checksum [2021-04-07T22:29:17.528Z] 0d57e429df01: Download complete [2021-04-07T22:29:17.528Z] 4e4be7b47b0d: Verifying Checksum [2021-04-07T22:29:17.528Z] 4e4be7b47b0d: Download complete [2021-04-07T22:29:17.808Z] 188c0c94c7c5: Download complete [2021-04-07T22:29:18.664Z] 188c0c94c7c5: Pull complete [2021-04-07T22:29:19.024Z] 0ef7d3d256c8: Pull complete [2021-04-07T22:29:19.773Z] de9db76c5a1d: Pull complete [2021-04-07T22:29:21.280Z] e1f770b5df2f: Verifying Checksum [2021-04-07T22:29:21.280Z] e1f770b5df2f: Download complete [2021-04-07T22:29:30.000Z] 85a0685a4137: Verifying Checksum [2021-04-07T22:29:30.000Z] 85a0685a4137: Download complete [2021-04-07T22:29:30.000Z] 0eba1c9be4d2: Verifying Checksum [2021-04-07T22:29:30.000Z] 0eba1c9be4d2: Download complete [2021-04-07T22:29:48.708Z] 0eba1c9be4d2: Pull complete [2021-04-07T22:29:48.708Z] 0d57e429df01: Pull complete [2021-04-07T22:29:48.708Z] 4e4be7b47b0d: Pull complete [2021-04-07T22:29:50.303Z] e1f770b5df2f: Pull complete [2021-04-07T22:30:08.996Z] 85a0685a4137: Pull complete [2021-04-07T22:30:08.997Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-04-07T22:30:08.997Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-04-07T22:30:08.997Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-04-07T22:30:09.485Z] prd-centos7-docker-4c-2g-33200 does not seem to be running inside a container [2021-04-07T22:30:09.578Z] $ 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-04-07T22:30:11.508Z] $ docker top 9f7861a27048eada88e10f2036480b8d1e0b2f5f1d70f2d41cbe4043a136d23a -eo pid,comm [Pipeline] { [Pipeline] echo [2021-04-07T22:30:11.998Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-04-07T22:30:12.906Z] + set -o pipefail [2021-04-07T22:30:12.907Z] + snyk monitor '--org=edgex-jenkins' [2021-04-07T22:30:28.491Z] [2021-04-07T22:30:28.491Z] Monitoring /w/workspace/ndry_app-functions-sdk-go_master (github.com/edgexfoundry/app-functions-sdk-go/v2)... [2021-04-07T22:30:28.491Z] [2021-04-07T22:30:28.491Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/91949516-6729-4d8f-a09c-357584cc006a [2021-04-07T22:30:28.491Z] [2021-04-07T22:30:28.491Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-04-07T22:30:28.491Z] [2021-04-07T22:30:28.491Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-04-07T22:30:28.491Z] [2021-04-07T22:30:28.491Z] [2021-04-07T22:30:28.491Z] You are approaching your monthly limit of 300 private tests for your edgex-jenkins org. [2021-04-07T22:30:28.491Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2021-04-07T22:30:28.521Z] $ docker stop --time=1 9f7861a27048eada88e10f2036480b8d1e0b2f5f1d70f2d41cbe4043a136d23a [2021-04-07T22:30:31.873Z] $ docker rm -f 9f7861a27048eada88e10f2036480b8d1e0b2f5f1d70f2d41cbe4043a136d23a [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-04-07T22:30:34.085Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-07T22:30:34.144Z] provisioning config files... [2021-04-07T22:30:34.160Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config795152040279551835tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-07T22:30:34.636Z] --> edgex-publish-swagger.sh [2021-04-07T22:30:34.636Z] === Publish openapi/v2 API === [2021-04-07T22:30:34.636Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-04-07T22:30:34.636Z] [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/ndry_app-functions-sdk-go_master/openapi/v2/app-functions-sdk.yaml] [2021-04-07T22:30:34.636Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-07T22:30:34.636Z] Dload Upload Total Spent Left Speed [2021-04-07T22:30:35.627Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13052 0 0 100 13052 0 12903 0:00:01 0:00:01 --:--:-- 12922 [2021-04-07T22:30:35.627Z] [2021-04-07T22:30:35.627Z] [Pipeline] } [2021-04-07T22:30:35.659Z] 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-04-07T22:30:36.706Z] + git log --format=format:%s -1 c52b117200eeab03bf93edd622bea4d2ee6b8beb [Pipeline] isUnix [Pipeline] sh [2021-04-07T22:30:37.100Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-07T22:30:37.100Z] . [Pipeline] withDockerContainer [2021-04-07T22:30:37.300Z] prd-centos7-docker-4c-2g-33200 does not seem to be running inside a container [2021-04-07T22:30:37.564Z] $ 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-04-07T22:30:38.945Z] $ docker top 1ab037e8a71132bee115eb81cc0de9f8b172e5ca95a1b3fcbc8fdd91d5cfc68c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-07T22:30:39.307Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-07T22:30:39.307Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-07T22:30:39.801Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-07T22:30:39.806Z] $ docker exec 1ab037e8a71132bee115eb81cc0de9f8b172e5ca95a1b3fcbc8fdd91d5cfc68c ssh-agent [2021-04-07T22:30:40.865Z] SSH_AUTH_SOCK=/tmp/ssh-9q5byvyVToUR/agent.12 [2021-04-07T22:30:40.865Z] SSH_AGENT_PID=17 [2021-04-07T22:30:40.874Z] Running ssh-add (command line suppressed) [2021-04-07T22:30:41.128Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_8048468612534601223.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_8048468612534601223.key) [2021-04-07T22:30:41.231Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-07T22:30:42.386Z] + git semver tag [2021-04-07T22:30:42.386Z] # -> Open(): unable to determine branch for HEAD [2021-04-07T22:30:42.386Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-04-07T22:30:42.386Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-04-07T22:30:42.386Z] # $SEMVER_REMOTE_NAME = origin [2021-04-07T22:30:42.386Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-07T22:30:42.386Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-07T22:30:42.386Z] # $SEMVER_BRANCH = master [2021-04-07T22:30:42.386Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-04-07T22:30:42.386Z] # c52b117200eeab03bf93edd622bea4d2ee6b8beb HEAD [2021-04-07T22:30:42.386Z] # -> Force: false [2021-04-07T22:30:42.688Z] # c45f2b5c33cc118057e7d5be0ce24aead0f4cb71 refs/tags/v2.0.0-dev.43 [Pipeline] } [2021-04-07T22:30:42.702Z] $ docker exec --env ******** --env ******** 1ab037e8a71132bee115eb81cc0de9f8b172e5ca95a1b3fcbc8fdd91d5cfc68c ssh-agent -k [2021-04-07T22:30:43.071Z] unset SSH_AUTH_SOCK; [2021-04-07T22:30:43.072Z] unset SSH_AGENT_PID; [2021-04-07T22:30:43.072Z] echo Agent pid 17 killed; [2021-04-07T22:30:43.283Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-07T22:30:44.585Z] + git semver [Pipeline] } [2021-04-07T22:30:44.617Z] $ docker stop --time=1 1ab037e8a71132bee115eb81cc0de9f8b172e5ca95a1b3fcbc8fdd91d5cfc68c [2021-04-07T22:30:47.453Z] $ docker rm -f 1ab037e8a71132bee115eb81cc0de9f8b172e5ca95a1b3fcbc8fdd91d5cfc68c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-04-07T22:30:49.102Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-04-07T22:30:49.102Z] [2021-04-07T22:30:49.102Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-04-07T22:30:49.599Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-04-07T22:30:49.958Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-04-07T22:30:49.958Z] ab5ef0e58194: Pulling fs layer [2021-04-07T22:30:49.958Z] 9712f1f96733: Pulling fs layer [2021-04-07T22:30:49.958Z] 63f879dbbcfc: Pulling fs layer [2021-04-07T22:30:49.958Z] 0d9ebad4ef96: Pulling fs layer [2021-04-07T22:30:49.958Z] e9a5061849ea: Pulling fs layer [2021-04-07T22:30:49.958Z] d747dcd14b5f: Pulling fs layer [2021-04-07T22:30:49.958Z] 2de7ff778b66: Pulling fs layer [2021-04-07T22:30:49.958Z] 0d9ebad4ef96: Waiting [2021-04-07T22:30:49.958Z] e9a5061849ea: Waiting [2021-04-07T22:30:49.958Z] d747dcd14b5f: Waiting [2021-04-07T22:30:49.958Z] 2de7ff778b66: Waiting [2021-04-07T22:30:49.958Z] 9712f1f96733: Verifying Checksum [2021-04-07T22:30:49.958Z] 9712f1f96733: Download complete [2021-04-07T22:30:55.755Z] 63f879dbbcfc: Verifying Checksum [2021-04-07T22:30:55.755Z] 63f879dbbcfc: Download complete [2021-04-07T22:30:56.379Z] e9a5061849ea: Verifying Checksum [2021-04-07T22:30:56.379Z] e9a5061849ea: Download complete [2021-04-07T22:30:56.379Z] d747dcd14b5f: Verifying Checksum [2021-04-07T22:30:56.379Z] d747dcd14b5f: Download complete [2021-04-07T22:30:57.382Z] 2de7ff778b66: Verifying Checksum [2021-04-07T22:30:57.382Z] 2de7ff778b66: Download complete [2021-04-07T22:30:57.995Z] 0d9ebad4ef96: Verifying Checksum [2021-04-07T22:30:57.995Z] 0d9ebad4ef96: Download complete [2021-04-07T22:30:58.635Z] ab5ef0e58194: Verifying Checksum [2021-04-07T22:30:58.635Z] ab5ef0e58194: Download complete [2021-04-07T22:31:12.112Z] ab5ef0e58194: Pull complete [2021-04-07T22:31:12.112Z] 9712f1f96733: Pull complete [2021-04-07T22:31:14.795Z] 63f879dbbcfc: Pull complete [2021-04-07T22:31:30.672Z] 0d9ebad4ef96: Pull complete [2021-04-07T22:31:34.138Z] e9a5061849ea: Pull complete [2021-04-07T22:31:34.449Z] d747dcd14b5f: Pull complete [2021-04-07T22:31:38.139Z] 2de7ff778b66: Pull complete [2021-04-07T22:31:38.139Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-04-07T22:31:38.139Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-04-07T22:31:38.139Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-04-07T22:31:38.644Z] prd-centos7-docker-4c-2g-33200 does not seem to be running inside a container [2021-04-07T22:31:38.946Z] $ 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-04-07T22:31:42.753Z] $ docker top 78a784db64670554f19d9e05774de6feed7a047d0305b2ccf42e49ba6e5ebfeb -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-04-07T22:31:43.505Z] provisioning config files... [2021-04-07T22:31:43.551Z] copy managed file [sigul-config] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config3411086589174077947tmp [2021-04-07T22:31:43.602Z] copy managed file [sigul-password] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config8426201048425962776tmp [2021-04-07T22:31:43.661Z] copy managed file [sigul-pki] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config1117020211033789964tmp [Pipeline] { [Pipeline] echo [2021-04-07T22:31:43.752Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T22:31:44.922Z] ---> sigul-configuration.sh [2021-04-07T22:31:44.922Z] gpg: directory `/root/.gnupg' created [2021-04-07T22:31:44.922Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-04-07T22:31:44.922Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-04-07T22:31:44.922Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-04-07T22:31:44.922Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-04-07T22:31:44.922Z] gpg: CAST5 encrypted data [2021-04-07T22:31:45.188Z] gpg: encrypted with 1 passphrase [2021-04-07T22:31:45.188Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-04-07T22:31:46.282Z] + mkdir /home/jenkins [2021-04-07T22:31:46.282Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-04-07T22:31:46.800Z] + 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-04-07T22:31:47.082Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T22:31:47.811Z] ---> sigul-install.sh [2021-04-07T22:31:57.985Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-04-07T22:31:58.658Z] + git tag --list [2021-04-07T22:31:58.658Z] v0.1.0 [2021-04-07T22:31:58.658Z] v0.1.1 [2021-04-07T22:31:58.658Z] v1.0.0 [2021-04-07T22:31:58.658Z] v1.1.0 [2021-04-07T22:31:58.658Z] v1.2.0 [2021-04-07T22:31:58.658Z] v1.3.0 [2021-04-07T22:31:58.658Z] v1.3.1 [2021-04-07T22:31:58.658Z] v1.3.1-dev.1 [2021-04-07T22:31:58.658Z] v1.3.2-dev.1 [2021-04-07T22:31:58.658Z] v2.0.0-dev.1 [2021-04-07T22:31:58.658Z] v2.0.0-dev.10 [2021-04-07T22:31:58.658Z] v2.0.0-dev.11 [2021-04-07T22:31:58.658Z] v2.0.0-dev.12 [2021-04-07T22:31:58.658Z] v2.0.0-dev.13 [2021-04-07T22:31:58.658Z] v2.0.0-dev.14 [2021-04-07T22:31:58.658Z] v2.0.0-dev.15 [2021-04-07T22:31:58.658Z] v2.0.0-dev.16 [2021-04-07T22:31:58.658Z] v2.0.0-dev.17 [2021-04-07T22:31:58.658Z] v2.0.0-dev.18 [2021-04-07T22:31:58.658Z] v2.0.0-dev.19 [2021-04-07T22:31:58.658Z] v2.0.0-dev.2 [2021-04-07T22:31:58.658Z] v2.0.0-dev.20 [2021-04-07T22:31:58.658Z] v2.0.0-dev.21 [2021-04-07T22:31:58.658Z] v2.0.0-dev.22 [2021-04-07T22:31:58.658Z] v2.0.0-dev.23 [2021-04-07T22:31:58.658Z] v2.0.0-dev.24 [2021-04-07T22:31:58.658Z] v2.0.0-dev.25 [2021-04-07T22:31:58.658Z] v2.0.0-dev.26 [2021-04-07T22:31:58.658Z] v2.0.0-dev.27 [2021-04-07T22:31:58.658Z] v2.0.0-dev.28 [2021-04-07T22:31:58.658Z] v2.0.0-dev.29 [2021-04-07T22:31:58.658Z] v2.0.0-dev.3 [2021-04-07T22:31:58.658Z] v2.0.0-dev.30 [2021-04-07T22:31:58.658Z] v2.0.0-dev.31 [2021-04-07T22:31:58.658Z] v2.0.0-dev.32 [2021-04-07T22:31:58.658Z] v2.0.0-dev.33 [2021-04-07T22:31:58.658Z] v2.0.0-dev.34 [2021-04-07T22:31:58.658Z] v2.0.0-dev.35 [2021-04-07T22:31:58.658Z] v2.0.0-dev.36 [2021-04-07T22:31:58.658Z] v2.0.0-dev.37 [2021-04-07T22:31:58.658Z] v2.0.0-dev.38 [2021-04-07T22:31:58.658Z] v2.0.0-dev.39 [2021-04-07T22:31:58.658Z] v2.0.0-dev.4 [2021-04-07T22:31:58.658Z] v2.0.0-dev.40 [2021-04-07T22:31:58.658Z] v2.0.0-dev.41 [2021-04-07T22:31:58.658Z] v2.0.0-dev.42 [2021-04-07T22:31:58.658Z] v2.0.0-dev.43 [2021-04-07T22:31:58.658Z] v2.0.0-dev.5 [2021-04-07T22:31:58.658Z] v2.0.0-dev.6 [2021-04-07T22:31:58.658Z] v2.0.0-dev.7 [2021-04-07T22:31:58.658Z] v2.0.0-dev.8 [2021-04-07T22:31:58.658Z] v2.0.0-dev.9 [Pipeline] sh [2021-04-07T22:31:59.389Z] + lftools sign git-tag v2.0.0-dev.43 [2021-04-07T22:32:01.463Z] Signing Git tag with Sigul... [2021-04-07T22:32:01.463Z] Signing v2.0.0-dev.43 [Pipeline] echo [2021-04-07T22:32:03.301Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T22:32:04.075Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-04-07T22:32:04.109Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-04-07T22:32:04.227Z] $ docker stop --time=1 78a784db64670554f19d9e05774de6feed7a047d0305b2ccf42e49ba6e5ebfeb [2021-04-07T22:32:06.752Z] $ docker rm -f 78a784db64670554f19d9e05774de6feed7a047d0305b2ccf42e49ba6e5ebfeb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-04-07T22:32:08.026Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-07T22:32:08.330Z] . [Pipeline] withDockerContainer [2021-04-07T22:32:09.103Z] prd-centos7-docker-4c-2g-33200 does not seem to be running inside a container [2021-04-07T22:32:09.350Z] $ 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-04-07T22:32:11.409Z] $ docker top e88d2d65ac4c48e8ebafd8f5ef80c87a4e0d6f64247eec33153b9ced369678c5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-07T22:32:12.486Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-07T22:32:12.486Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-07T22:32:12.997Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-07T22:32:13.010Z] $ docker exec e88d2d65ac4c48e8ebafd8f5ef80c87a4e0d6f64247eec33153b9ced369678c5 ssh-agent [2021-04-07T22:32:13.557Z] SSH_AUTH_SOCK=/tmp/ssh-wkeyjrIIto9Z/agent.12 [2021-04-07T22:32:13.557Z] SSH_AGENT_PID=17 [2021-04-07T22:32:13.571Z] Running ssh-add (command line suppressed) [2021-04-07T22:32:14.077Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_5550570574287839464.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_5550570574287839464.key) [2021-04-07T22:32:14.199Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-07T22:32:15.466Z] + git semver bump pre [2021-04-07T22:32:15.466Z] # -> Open(): unable to determine branch for HEAD [2021-04-07T22:32:15.466Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-04-07T22:32:15.466Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-04-07T22:32:15.466Z] # $SEMVER_REMOTE_NAME = origin [2021-04-07T22:32:15.466Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-07T22:32:15.466Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-07T22:32:15.466Z] # $SEMVER_BRANCH = master [2021-04-07T22:32:15.466Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-04-07T22:32:15.748Z] 2.0.0-dev.44 [Pipeline] } [2021-04-07T22:32:15.774Z] $ docker exec --env ******** --env ******** e88d2d65ac4c48e8ebafd8f5ef80c87a4e0d6f64247eec33153b9ced369678c5 ssh-agent -k [2021-04-07T22:32:16.080Z] unset SSH_AUTH_SOCK; [2021-04-07T22:32:16.080Z] unset SSH_AGENT_PID; [2021-04-07T22:32:16.080Z] echo Agent pid 17 killed; [2021-04-07T22:32:16.213Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-07T22:32:17.240Z] + git semver [Pipeline] } [2021-04-07T22:32:17.331Z] $ docker stop --time=1 e88d2d65ac4c48e8ebafd8f5ef80c87a4e0d6f64247eec33153b9ced369678c5 [2021-04-07T22:32:19.864Z] $ docker rm -f e88d2d65ac4c48e8ebafd8f5ef80c87a4e0d6f64247eec33153b9ced369678c5 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-04-07T22:32:20.766Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-07T22:32:21.036Z] . [Pipeline] withDockerContainer [2021-04-07T22:32:21.430Z] prd-centos7-docker-4c-2g-33200 does not seem to be running inside a container [2021-04-07T22:32:21.536Z] $ 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-04-07T22:32:23.922Z] $ docker top dfbb0144ee875a24ae128a9713eb2742872cde34d19ef0da3df033d4b70b1f05 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-07T22:32:24.449Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-07T22:32:24.449Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-07T22:32:25.540Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-07T22:32:25.545Z] $ docker exec dfbb0144ee875a24ae128a9713eb2742872cde34d19ef0da3df033d4b70b1f05 ssh-agent [2021-04-07T22:32:25.933Z] SSH_AUTH_SOCK=/tmp/ssh-IZlFkRHQ2ln8/agent.11 [2021-04-07T22:32:25.933Z] SSH_AGENT_PID=17 [2021-04-07T22:32:25.944Z] Running ssh-add (command line suppressed) [2021-04-07T22:32:26.411Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4617492087084924632.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4617492087084924632.key) [2021-04-07T22:32:26.521Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-07T22:32:26.928Z] + git semver push [2021-04-07T22:32:26.928Z] # -> Open(): unable to determine branch for HEAD [2021-04-07T22:32:26.928Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-04-07T22:32:26.928Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-04-07T22:32:26.928Z] # $SEMVER_REMOTE_NAME = origin [2021-04-07T22:32:26.928Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-07T22:32:26.928Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-07T22:32:26.928Z] # $SEMVER_BRANCH = master [2021-04-07T22:32:26.928Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-04-07T22:32:33.813Z] $ docker exec --env ******** --env ******** dfbb0144ee875a24ae128a9713eb2742872cde34d19ef0da3df033d4b70b1f05 ssh-agent -k [2021-04-07T22:32:34.122Z] unset SSH_AUTH_SOCK; [2021-04-07T22:32:34.124Z] unset SSH_AGENT_PID; [2021-04-07T22:32:34.125Z] echo Agent pid 17 killed; [2021-04-07T22:32:34.354Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-07T22:32:35.802Z] + git semver [Pipeline] } [2021-04-07T22:32:35.841Z] $ docker stop --time=1 dfbb0144ee875a24ae128a9713eb2742872cde34d19ef0da3df033d4b70b1f05 [2021-04-07T22:32:38.479Z] $ docker rm -f dfbb0144ee875a24ae128a9713eb2742872cde34d19ef0da3df033d4b70b1f05 [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-04-07T22:32:40.295Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T22:32:41.225Z] ---> package-listing.sh [2021-04-07T22:32:41.225Z] ++ facter osfamily [2021-04-07T22:32:41.225Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-07T22:32:41.494Z] + OS_FAMILY=redhat [2021-04-07T22:32:41.495Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_master [2021-04-07T22:32:41.495Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-07T22:32:41.495Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-07T22:32:41.495Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-07T22:32:41.495Z] + PACKAGES=/tmp/packages_start.txt [2021-04-07T22:32:41.495Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-04-07T22:32:41.495Z] + PACKAGES=/tmp/packages_end.txt [2021-04-07T22:32:41.495Z] + case "${OS_FAMILY}" in [2021-04-07T22:32:41.495Z] + sort [2021-04-07T22:32:41.495Z] + rpm -qa [2021-04-07T22:32:50.039Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-07T22:32:50.039Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-07T22:32:50.039Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-07T22:32:50.039Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-04-07T22:32:50.039Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_master/archives/ [2021-04-07T22:32:50.039Z] + 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-04-07T22:32:50.089Z] 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-04-07T22:32:50.455Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-07T22:32:51.126Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-07T22:32:51.410Z] [2021-04-07T22:32:51.410Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-07T22:32:51.821Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-07T22:32:52.115Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-07T22:32:52.115Z] df20fa9351a1: Pulling fs layer [2021-04-07T22:32:52.115Z] 36b3adc4ff6f: Pulling fs layer [2021-04-07T22:32:52.115Z] 8ad3a11d3b57: Pulling fs layer [2021-04-07T22:32:52.115Z] 46f8f816bc3b: Pulling fs layer [2021-04-07T22:32:52.115Z] 93b61091891f: Pulling fs layer [2021-04-07T22:32:52.115Z] 93b9cdb0e59b: Pulling fs layer [2021-04-07T22:32:52.115Z] 5e14af77c1be: Pulling fs layer [2021-04-07T22:32:52.115Z] 01666e4c0597: Pulling fs layer [2021-04-07T22:32:52.115Z] aa168da1d23b: Pulling fs layer [2021-04-07T22:32:52.115Z] 46f8f816bc3b: Waiting [2021-04-07T22:32:52.115Z] 93b61091891f: Waiting [2021-04-07T22:32:52.115Z] 93b9cdb0e59b: Waiting [2021-04-07T22:32:52.115Z] 5e14af77c1be: Waiting [2021-04-07T22:32:52.115Z] 01666e4c0597: Waiting [2021-04-07T22:32:52.115Z] aa168da1d23b: Waiting [2021-04-07T22:32:52.115Z] 36b3adc4ff6f: Download complete [2021-04-07T22:32:52.410Z] 46f8f816bc3b: Verifying Checksum [2021-04-07T22:32:52.410Z] 46f8f816bc3b: Download complete [2021-04-07T22:32:52.410Z] df20fa9351a1: Verifying Checksum [2021-04-07T22:32:52.410Z] df20fa9351a1: Download complete [2021-04-07T22:32:52.410Z] 93b9cdb0e59b: Verifying Checksum [2021-04-07T22:32:52.410Z] 93b9cdb0e59b: Download complete [2021-04-07T22:32:52.410Z] 5e14af77c1be: Verifying Checksum [2021-04-07T22:32:52.410Z] 5e14af77c1be: Download complete [2021-04-07T22:32:52.410Z] 01666e4c0597: Verifying Checksum [2021-04-07T22:32:52.410Z] 01666e4c0597: Download complete [2021-04-07T22:32:52.724Z] 93b61091891f: Verifying Checksum [2021-04-07T22:32:52.724Z] 93b61091891f: Download complete [2021-04-07T22:32:53.467Z] df20fa9351a1: Pull complete [2021-04-07T22:32:54.176Z] 8ad3a11d3b57: Verifying Checksum [2021-04-07T22:32:54.176Z] 8ad3a11d3b57: Download complete [2021-04-07T22:32:54.176Z] 36b3adc4ff6f: Pull complete [2021-04-07T22:32:57.994Z] 8ad3a11d3b57: Pull complete [2021-04-07T22:32:57.994Z] 46f8f816bc3b: Pull complete [2021-04-07T22:32:59.750Z] 93b61091891f: Pull complete [2021-04-07T22:33:00.401Z] 93b9cdb0e59b: Pull complete [2021-04-07T22:33:01.091Z] 5e14af77c1be: Pull complete [2021-04-07T22:33:01.413Z] 01666e4c0597: Pull complete [2021-04-07T22:33:01.709Z] aa168da1d23b: Verifying Checksum [2021-04-07T22:33:01.709Z] aa168da1d23b: Download complete [2021-04-07T22:33:25.162Z] aa168da1d23b: Pull complete [2021-04-07T22:33:25.162Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-07T22:33:25.162Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-07T22:33:25.162Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-07T22:33:25.659Z] prd-centos7-docker-4c-2g-33200 does not seem to be running inside a container [2021-04-07T22:33:26.860Z] $ 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-04-07T22:33:29.116Z] $ docker top 8c9a9b9bb6ee73a58e8fe158b473d29bb0423ee3cd1ee30acd0e68c4b05a6e66 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-07T22:33:30.485Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-07T22:33:31.380Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-07T22:33:32.692Z] + ls /var/log/sa-host [2021-04-07T22:33:32.692Z] + sadf -c /var/log/sa-host/sa07 [2021-04-07T22:33:32.692Z] file_magic: OK [2021-04-07T22:33:32.692Z] HZ: Using current value: 100 [2021-04-07T22:33:32.692Z] file_header: OK [2021-04-07T22:33:32.692Z] 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-04-07T22:33:32.692Z] Statistics: [2021-04-07T22:33:32.692Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-07T22:33:32.692Z] File successfully converted to sysstat format version 12.2.1 [2021-04-07T22:33:32.692Z] + sadf -c /var/log/sa-host/sa23 [2021-04-07T22:33:32.692Z] file_magic: OK [2021-04-07T22:33:32.692Z] HZ: Using current value: 100 [2021-04-07T22:33:32.692Z] file_header: OK [2021-04-07T22:33:32.692Z] 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-04-07T22:33:32.692Z] Statistics: [2021-04-07T22:33:32.692Z] Hnuu...uuuununununu... [2021-04-07T22:33:32.692Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-07T22:33:32.933Z] provisioning config files... [2021-04-07T22:33:32.958Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config2679886730113068836tmp [Pipeline] { [Pipeline] echo [2021-04-07T22:33:33.064Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T22:33:34.281Z] ---> create-netrc.sh [Pipeline] } [2021-04-07T22:33:34.293Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-07T22:33:34.381Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T22:33:36.074Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-07T22:33:36.139Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T22:33:36.820Z] ---> sudo-logs.sh [2021-04-07T22:33:36.820Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-07T22:33:36.914Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T22:33:38.843Z] ---> job-cost.sh [2021-04-07T22:33:38.843Z] lf-activate-venv: SKIPPING [2021-04-07T22:33:38.843Z] DEBUG: total: 0.029999999329447746 [2021-04-07T22:33:38.843Z] INFO: Retrieving Stack Cost... [2021-04-07T22:33:39.908Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-07T22:33:40.533Z] INFO: Archiving Costs [Pipeline] echo [2021-04-07T22:33:40.552Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-07T22:33:42.031Z] ---> logs-deploy.sh [2021-04-07T22:33:42.031Z] lf-activate-venv: SKIPPING [2021-04-07T22:33:42.031Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/master/212 [2021-04-07T22:33:42.031Z] INFO: archiving workspace using pattern(s): [2021-04-07T22:33:44.771Z] Archives upload complete. [2021-04-07T22:33:44.771Z] INFO: archiving logs to Nexus