Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from a3b28f5c44bd902ab6b05bebecef402ac3ecb455 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-32354 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision a3b28f5c44bd902ab6b05bebecef402ac3ecb455 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f a3b28f5c44bd902ab6b05bebecef402ac3ecb455 # timeout=10 Commit message: "refactor: Update Version Check to use V2 endpoint (#778)" > git rev-list --no-walk 1fb879ad609e1bfd3d688421c030194a329f2903 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-31T23:03:03.581Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-31T23:03:03.824Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-31T23:03:03.949Z] ========================================================= [2021-03-31T23:03:03.949Z] EdgeX Global Pipelines Version Info [2021-03-31T23:03:03.949Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-31T23:03:05.397Z] ------------------- [2021-03-31T23:03:05.397Z] stable info: [2021-03-31T23:03:05.397Z] ------------------- [2021-03-31T23:03:05.397Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-31T23:03:05.397Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-31T23:03:05.397Z] Message: update stable to v1.0.186 [2021-03-31T23:03:06.342Z] ------------------- [2021-03-31T23:03:06.342Z] experimental info: [2021-03-31T23:03:06.342Z] ------------------- [2021-03-31T23:03:06.342Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-31T23:03:06.342Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-03-31T23:03:06.342Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-31T23:03:06.598Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-03-31T23:03:06.710Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-03-31T23:03:06.811Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-31T23:03:06.904Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-31T23:03:06.998Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-31T23:03:07.089Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-31T23:03:07.202Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-31T23:03:07.289Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-31T23:03:07.377Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-03-31T23:03:07.466Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-31T23:03:07.576Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-31T23:03:07.665Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2021-03-31T23:03:07.760Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-31T23:03:07.880Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-31T23:03:07.985Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-03-31T23:03:08.072Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-31T23:03:08.158Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-31T23:03:08.262Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-31T23:03:08.386Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-31T23:03:08.473Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-31T23:03:08.559Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-31T23:03:08.701Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-03-31T23:03:08.802Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-31T23:03:08.897Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-31T23:03:08.990Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-03-31T23:03:09.082Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-31T23:03:09.172Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-03-31T23:03:09.264Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-03-31T23:03:09.369Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-03-31T23:03:09.463Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a3b28f5c44bd902ab6b05bebecef402ac3ecb455 [Pipeline] echo [2021-03-31T23:03:09.568Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a3b28f5 [Pipeline] echo [2021-03-31T23:03:09.681Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-31T23:03:10.374Z] + git log --format=format:%s -1 a3b28f5c44bd902ab6b05bebecef402ac3ecb455 [Pipeline] echo [2021-03-31T23:03:10.442Z] GIT_COMMIT: a3b28f5c44bd902ab6b05bebecef402ac3ecb455, Commit Message: refactor: Update Version Check to use V2 endpoint (#778) [Pipeline] echo [2021-03-31T23:03:10.503Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-31T23:03:11.097Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-31T23:03:11.362Z] [2021-03-31T23:03:11.362Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-31T23:03:11.723Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-31T23:03:11.723Z] latest: Pulling from edgex-devops/git-semver [2021-03-31T23:03:11.723Z] 31603596830f: Pulling fs layer [2021-03-31T23:03:11.723Z] 2a8b12db71e7: Pulling fs layer [2021-03-31T23:03:11.723Z] 6ca5941a6612: Pulling fs layer [2021-03-31T23:03:11.723Z] ecc8261a40a4: Pulling fs layer [2021-03-31T23:03:11.723Z] ecc8261a40a4: Waiting [2021-03-31T23:03:11.723Z] 2a8b12db71e7: Verifying Checksum [2021-03-31T23:03:11.723Z] 2a8b12db71e7: Download complete [2021-03-31T23:03:11.992Z] 31603596830f: Verifying Checksum [2021-03-31T23:03:11.992Z] 31603596830f: Download complete [2021-03-31T23:03:12.257Z] 6ca5941a6612: Verifying Checksum [2021-03-31T23:03:12.258Z] 6ca5941a6612: Download complete [2021-03-31T23:03:12.258Z] ecc8261a40a4: Verifying Checksum [2021-03-31T23:03:12.258Z] ecc8261a40a4: Download complete [2021-03-31T23:03:12.258Z] 31603596830f: Pull complete [2021-03-31T23:03:12.523Z] 2a8b12db71e7: Pull complete [2021-03-31T23:03:13.474Z] 6ca5941a6612: Pull complete [2021-03-31T23:03:13.738Z] ecc8261a40a4: Pull complete [2021-03-31T23:03:13.738Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-31T23:03:13.738Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-31T23:03:13.738Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-31T23:03:13.860Z] prd-centos7-docker-4c-2g-32354 does not seem to be running inside a container [2021-03-31T23:03:13.985Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-31T23:03:15.957Z] $ docker top d0cd93b0eceffe243cfc0f1eca5772a76cc4456f2f112ad4636194417b3a0085 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-31T23:03:16.264Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-31T23:03:16.264Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-31T23:03:16.482Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-31T23:03:16.484Z] $ docker exec d0cd93b0eceffe243cfc0f1eca5772a76cc4456f2f112ad4636194417b3a0085 ssh-agent [2021-03-31T23:03:16.664Z] SSH_AUTH_SOCK=/tmp/ssh-X1jHeb8xEbnF/agent.11 [2021-03-31T23:03:16.664Z] SSH_AGENT_PID=17 [2021-03-31T23:03:16.675Z] Running ssh-add (command line suppressed) [2021-03-31T23:03:16.800Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_5589589028621292148.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_5589589028621292148.key) [2021-03-31T23:03:16.859Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-31T23:03:17.198Z] + git tag --points-at HEAD [Pipeline] } [2021-03-31T23:03:17.219Z] $ docker exec --env ******** --env ******** d0cd93b0eceffe243cfc0f1eca5772a76cc4456f2f112ad4636194417b3a0085 ssh-agent -k [2021-03-31T23:03:17.355Z] unset SSH_AUTH_SOCK; [2021-03-31T23:03:17.355Z] unset SSH_AGENT_PID; [2021-03-31T23:03:17.356Z] echo Agent pid 17 killed; [2021-03-31T23:03:17.407Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-31T23:03:17.579Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-31T23:03:17.579Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-31T23:03:17.757Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-31T23:03:17.758Z] $ docker exec d0cd93b0eceffe243cfc0f1eca5772a76cc4456f2f112ad4636194417b3a0085 ssh-agent [2021-03-31T23:03:17.956Z] SSH_AUTH_SOCK=/tmp/ssh-2GGL5lb9EOQI/agent.46 [2021-03-31T23:03:17.956Z] SSH_AGENT_PID=51 [2021-03-31T23:03:17.963Z] Running ssh-add (command line suppressed) [2021-03-31T23:03:18.080Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_1189178407257804422.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_1189178407257804422.key) [2021-03-31T23:03:18.138Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-31T23:03:18.496Z] + git semver init [2021-03-31T23:03:18.496Z] # -> Open(): unable to determine branch for HEAD [2021-03-31T23:03:18.496Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-03-31T23:03:18.496Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-03-31T23:03:18.496Z] # $SEMVER_REMOTE_NAME = origin [2021-03-31T23:03:18.496Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-31T23:03:18.496Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-31T23:03:18.496Z] # $SEMVER_BRANCH = master [2021-03-31T23:03:18.496Z] # $SEMVER_TEMP = /tmp/semver-722654976 [2021-03-31T23:03:18.496Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-03-31T23:03:22.736Z] # '/tmp/semver-722654976' -> '/w/workspace/ndry_app-functions-sdk-go_master/.semver' [2021-03-31T23:03:22.736Z] # -> Force: false [2021-03-31T23:03:22.736Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-03-31T23:03:22.747Z] $ docker exec --env ******** --env ******** d0cd93b0eceffe243cfc0f1eca5772a76cc4456f2f112ad4636194417b3a0085 ssh-agent -k [2021-03-31T23:03:22.878Z] unset SSH_AUTH_SOCK; [2021-03-31T23:03:22.879Z] unset SSH_AGENT_PID; [2021-03-31T23:03:22.879Z] echo Agent pid 51 killed; [2021-03-31T23:03:22.945Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-31T23:03:23.401Z] + git semver [Pipeline] } [2021-03-31T23:03:23.417Z] $ docker stop --time=1 d0cd93b0eceffe243cfc0f1eca5772a76cc4456f2f112ad4636194417b3a0085 [2021-03-31T23:03:25.023Z] $ docker rm -f d0cd93b0eceffe243cfc0f1eca5772a76cc4456f2f112ad4636194417b3a0085 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-31T23:03:25.517Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-31T23:03:25.924Z] Stashed 1 file(s) [Pipeline] echo [2021-03-31T23:03:25.927Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.40 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-03-31T23:03:41.400Z] Still waiting to schedule task [2021-03-31T23:03:41.400Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-32354’ [2021-03-31T23:03:41.403Z] Still waiting to schedule task [2021-03-31T23:03:41.403Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-31T23:05:29.997Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-32356 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-03-31T23:05:30.055Z] Running in /w/workspace/app-functions-sdk-go/209 [Pipeline] { [Pipeline] checkout [2021-03-31T23:05:34.893Z] using credential edgex-jenkins-ssh [2021-03-31T23:05:34.975Z] Cloning the remote Git repository [2021-03-31T23:05:35.042Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-31T23:05:35.168Z] > git init /w/workspace/app-functions-sdk-go/209 # timeout=10 [2021-03-31T23:05:35.241Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-31T23:05:35.242Z] > git --version # timeout=10 [2021-03-31T23:05:35.262Z] > git --version # 'git version 2.17.1' [2021-03-31T23:05:35.263Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-31T23:05:35.351Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-31T23:05:38.862Z] Checking out Revision a3b28f5c44bd902ab6b05bebecef402ac3ecb455 (master) [2021-03-31T23:05:38.295Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-31T23:05:38.312Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-31T23:05:38.332Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-31T23:05:38.368Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-31T23:05:38.369Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-31T23:05:38.381Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-31T23:05:38.877Z] > git config core.sparsecheckout # timeout=10 [2021-03-31T23:05:38.896Z] > git checkout -f a3b28f5c44bd902ab6b05bebecef402ac3ecb455 # timeout=10 [2021-03-31T23:05:43.283Z] Commit message: "refactor: Update Version Check to use V2 endpoint (#778)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-31T23:05:45.032Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-31T23:05:45.445Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-31T23:05:45.788Z] + true [2021-03-31T23:05:45.788Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2021-03-31T23:05:48.958Z] ========================================================= [2021-03-31T23:05:48.958Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-31T23:05:48.958Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-31T23:05:49.372Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-03-31T23:05:50.360Z] Sending build context to Docker daemon 19.43MB [2021-03-31T23:05:50.360Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-31T23:05:50.360Z] Step 2/8 : FROM ${BASE} [2021-03-31T23:05:50.956Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-31T23:05:50.956Z] 5f621e34cdf4: Pulling fs layer [2021-03-31T23:05:50.956Z] a4357932f1b6: Pulling fs layer [2021-03-31T23:05:50.956Z] 18c013af1878: Pulling fs layer [2021-03-31T23:05:50.956Z] 00ac8860ef70: Pulling fs layer [2021-03-31T23:05:50.956Z] 63d7cb157983: Pulling fs layer [2021-03-31T23:05:50.956Z] b116817d02f9: Pulling fs layer [2021-03-31T23:05:50.956Z] 745a02a5169b: Pulling fs layer [2021-03-31T23:05:50.956Z] 63d7cb157983: Waiting [2021-03-31T23:05:50.956Z] b116817d02f9: Waiting [2021-03-31T23:05:50.956Z] 00ac8860ef70: Waiting [2021-03-31T23:05:50.956Z] 745a02a5169b: Waiting [2021-03-31T23:05:50.956Z] 18c013af1878: Verifying Checksum [2021-03-31T23:05:50.956Z] 18c013af1878: Download complete [2021-03-31T23:05:50.956Z] a4357932f1b6: Verifying Checksum [2021-03-31T23:05:50.956Z] a4357932f1b6: Download complete [2021-03-31T23:05:51.228Z] 63d7cb157983: Download complete [2021-03-31T23:05:51.503Z] b116817d02f9: Verifying Checksum [2021-03-31T23:05:51.503Z] b116817d02f9: Download complete [2021-03-31T23:05:51.503Z] 5f621e34cdf4: Verifying Checksum [2021-03-31T23:05:51.503Z] 5f621e34cdf4: Download complete [2021-03-31T23:05:52.485Z] 5f621e34cdf4: Pull complete [2021-03-31T23:05:52.762Z] a4357932f1b6: Pull complete [2021-03-31T23:05:53.362Z] 18c013af1878: Pull complete [2021-03-31T23:05:54.348Z] 745a02a5169b: Verifying Checksum [2021-03-31T23:05:54.348Z] 745a02a5169b: Download complete [2021-03-31T23:05:55.319Z] 00ac8860ef70: Verifying Checksum [2021-03-31T23:05:55.319Z] 00ac8860ef70: Download complete [2021-03-31T23:06:05.480Z] 00ac8860ef70: Pull complete [2021-03-31T23:06:05.480Z] 63d7cb157983: Pull complete [2021-03-31T23:06:05.758Z] b116817d02f9: Pull complete [2021-03-31T23:06:09.166Z] 745a02a5169b: Pull complete [2021-03-31T23:06:09.166Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-31T23:06:09.166Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-31T23:06:09.166Z] ---> b7e6874047d6 [2021-03-31T23:06:09.166Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-03-31T23:06:09.166Z] 20.10.0: Pulling from library/docker [2021-03-31T23:06:09.440Z] a3cc7d3b244e: Pulling fs layer [2021-03-31T23:06:09.440Z] 02a3295e0d61: Pulling fs layer [2021-03-31T23:06:09.440Z] 0f4f2e6d8100: Pulling fs layer [2021-03-31T23:06:09.440Z] 330b718f631f: Pulling fs layer [2021-03-31T23:06:09.440Z] a93816041522: Pulling fs layer [2021-03-31T23:06:09.440Z] bdb6da89ff94: Pulling fs layer [2021-03-31T23:06:09.440Z] 2a70c0c122f4: Pulling fs layer [2021-03-31T23:06:09.440Z] 330b718f631f: Waiting [2021-03-31T23:06:09.440Z] a93816041522: Waiting [2021-03-31T23:06:09.440Z] bdb6da89ff94: Waiting [2021-03-31T23:06:09.440Z] 2a70c0c122f4: Waiting [2021-03-31T23:06:09.440Z] 0f4f2e6d8100: Download complete [2021-03-31T23:06:09.440Z] 02a3295e0d61: Verifying Checksum [2021-03-31T23:06:09.440Z] 02a3295e0d61: Download complete [2021-03-31T23:06:09.440Z] a3cc7d3b244e: Verifying Checksum [2021-03-31T23:06:09.440Z] a3cc7d3b244e: Download complete [2021-03-31T23:06:09.440Z] a93816041522: Verifying Checksum [2021-03-31T23:06:09.440Z] a93816041522: Download complete [2021-03-31T23:06:09.440Z] bdb6da89ff94: Verifying Checksum [2021-03-31T23:06:09.440Z] bdb6da89ff94: Download complete [2021-03-31T23:06:09.440Z] 2a70c0c122f4: Verifying Checksum [2021-03-31T23:06:09.440Z] 2a70c0c122f4: Download complete [2021-03-31T23:06:10.423Z] a3cc7d3b244e: Pull complete [2021-03-31T23:06:11.017Z] 02a3295e0d61: Pull complete [2021-03-31T23:06:11.289Z] 0f4f2e6d8100: Pull complete [2021-03-31T23:06:11.289Z] 330b718f631f: Verifying Checksum [2021-03-31T23:06:11.289Z] 330b718f631f: Download complete [2021-03-31T23:06:15.598Z] 330b718f631f: Pull complete [2021-03-31T23:06:15.598Z] a93816041522: Pull complete [2021-03-31T23:06:15.598Z] bdb6da89ff94: Pull complete [2021-03-31T23:06:16.204Z] 2a70c0c122f4: Pull complete [2021-03-31T23:06:16.204Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-03-31T23:06:16.204Z] Status: Downloaded newer image for docker:20.10.0 [2021-03-31T23:06:22.910Z] ---> b1ec3ec325d4 [2021-03-31T23:06:22.910Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-03-31T23:06:22.910Z] ---> Running in cd783f45d290 [2021-03-31T23:06:22.910Z] Removing intermediate container cd783f45d290 [2021-03-31T23:06:22.911Z] ---> 12ae6afc8036 [2021-03-31T23:06:22.911Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-03-31T23:06:22.911Z] ---> Running in 708f8ed223b3 [2021-03-31T23:06:24.346Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-31T23:06:24.935Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-31T23:06:25.907Z] (1/5) Installing libsodium (1.0.18-r0) [2021-03-31T23:06:26.178Z] (2/5) Installing libzmq (4.3.3-r0) [2021-03-31T23:06:26.449Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-03-31T23:06:26.449Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-03-31T23:06:26.449Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-03-31T23:06:26.720Z] Executing busybox-1.31.1-r19.trigger [2021-03-31T23:06:26.720Z] OK: 144 MiB in 44 packages [2021-03-31T23:06:28.163Z] Removing intermediate container 708f8ed223b3 [2021-03-31T23:06:28.163Z] ---> 31437b0bb5cb [2021-03-31T23:06:28.163Z] Step 6/8 : WORKDIR /build [2021-03-31T23:06:28.163Z] ---> Running in 1d305ed3476e [2021-03-31T23:06:28.755Z] Removing intermediate container 1d305ed3476e [2021-03-31T23:06:28.755Z] ---> e8747f0092a1 [2021-03-31T23:06:28.755Z] Step 7/8 : COPY go.mod . [2021-03-31T23:06:29.351Z] ---> 1c4ef34c0b42 [2021-03-31T23:06:29.351Z] Step 8/8 : RUN go mod download [2021-03-31T23:06:29.351Z] ---> Running in 96df77bcf97c [2021-03-31T23:06:56.136Z] Removing intermediate container 96df77bcf97c [2021-03-31T23:06:56.136Z] ---> d070cd4dc6ee [2021-03-31T23:06:56.136Z] Successfully built d070cd4dc6ee [2021-03-31T23:06:56.136Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-31T23:06:56.477Z] + docker inspect -f . ci-base-image-arm64 [2021-03-31T23:06:56.477Z] . [Pipeline] withDockerContainer [2021-03-31T23:06:56.754Z] prd-ubuntu18.04-docker-arm64-4c-16g-32356 does not seem to be running inside a container [2021-03-31T23:06:56.834Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/209 -v /w/workspace/app-functions-sdk-go/209:/w/workspace/app-functions-sdk-go/209:rw,z -v /w/workspace/app-functions-sdk-go/209@tmp:/w/workspace/app-functions-sdk-go/209@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-03-31T23:06:58.411Z] $ docker top 664c42a863f0b377079204cae782846d26b4ee2758f0693380aff7e0804802bc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-31T23:06:59.456Z] + go version [2021-03-31T23:06:59.456Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-31T23:06:59.474Z] $ docker stop --time=1 664c42a863f0b377079204cae782846d26b4ee2758f0693380aff7e0804802bc [2021-03-31T23:07:01.443Z] $ docker rm -f 664c42a863f0b377079204cae782846d26b4ee2758f0693380aff7e0804802bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-31T23:07:02.525Z] + docker inspect -f . ci-base-image-arm64 [2021-03-31T23:07:02.525Z] . [Pipeline] withDockerContainer [2021-03-31T23:07:02.786Z] prd-ubuntu18.04-docker-arm64-4c-16g-32356 does not seem to be running inside a container [2021-03-31T23:07:02.860Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/209 -v /w/workspace/app-functions-sdk-go/209:/w/workspace/app-functions-sdk-go/209:rw,z -v /w/workspace/app-functions-sdk-go/209@tmp:/w/workspace/app-functions-sdk-go/209@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-03-31T23:07:04.366Z] $ docker top a0cec742fe9b24d1bc12d292872b351ebf63a043d1cebb30c6aee51e8290a0b4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-31T23:07:05.398Z] + make test [2021-03-31T23:07:05.398Z] make -C ./app-service-template build [2021-03-31T23:07:05.398Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/209/app-service-template' [2021-03-31T23:07:05.398Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.14 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-03-31T23:07:20.365Z] Running on prd-centos7-docker-4c-2g-32357 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-03-31T23:07:20.430Z] Running in /w/workspace/app-functions-sdk-go/209 [Pipeline] { [Pipeline] checkout [2021-03-31T23:07:30.066Z] using credential edgex-jenkins-ssh [2021-03-31T23:07:30.126Z] Cloning the remote Git repository [2021-03-31T23:07:30.239Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-31T23:07:30.328Z] > git init /w/workspace/app-functions-sdk-go/209 # timeout=10 [2021-03-31T23:07:30.441Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-31T23:07:30.442Z] > git --version # timeout=10 [2021-03-31T23:07:30.483Z] > git --version # 'git version 2.24.3' [2021-03-31T23:07:30.483Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-31T23:07:30.658Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-31T23:07:35.341Z] Checking out Revision a3b28f5c44bd902ab6b05bebecef402ac3ecb455 (master) [2021-03-31T23:07:34.333Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-31T23:07:34.385Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-31T23:07:34.525Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-31T23:07:34.629Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-31T23:07:34.629Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-31T23:07:34.667Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-31T23:07:35.410Z] > git config core.sparsecheckout # timeout=10 [2021-03-31T23:07:35.494Z] > git checkout -f a3b28f5c44bd902ab6b05bebecef402ac3ecb455 # timeout=10 [2021-03-31T23:07:37.785Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/209/app-service-template' [2021-03-31T23:07:37.785Z] make -C ./app-service-template test [2021-03-31T23:07:37.785Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/209/app-service-template' [2021-03-31T23:07:37.785Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-03-31T23:07:40.747Z] Commit message: "refactor: Update Version Check to use V2 endpoint (#778)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-31T23:07:43.496Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-31T23:07:44.146Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-31T23:07:44.856Z] + sudo service docker restart [2021-03-31T23:07:44.856Z] + true [2021-03-31T23:07:44.856Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-03-31T23:07:47.335Z] ========================================================= [2021-03-31T23:07:47.335Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-31T23:07:47.335Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-31T23:07:47.825Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-03-31T23:07:49.903Z] Sending build context to Docker daemon 19.43MB [2021-03-31T23:07:49.903Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-31T23:07:49.903Z] Step 2/8 : FROM ${BASE} [2021-03-31T23:07:49.903Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-31T23:07:49.903Z] 188c0c94c7c5: Pulling fs layer [2021-03-31T23:07:49.903Z] 0ef7d3d256c8: Pulling fs layer [2021-03-31T23:07:49.903Z] de9db76c5a1d: Pulling fs layer [2021-03-31T23:07:49.903Z] bca2f99d35d6: Pulling fs layer [2021-03-31T23:07:49.903Z] 93359f2a8cfa: Pulling fs layer [2021-03-31T23:07:49.903Z] 7c6f9722023f: Pulling fs layer [2021-03-31T23:07:49.903Z] a35cf1a2eb13: Pulling fs layer [2021-03-31T23:07:49.903Z] 93359f2a8cfa: Waiting [2021-03-31T23:07:49.903Z] 7c6f9722023f: Waiting [2021-03-31T23:07:49.903Z] a35cf1a2eb13: Waiting [2021-03-31T23:07:49.903Z] bca2f99d35d6: Waiting [2021-03-31T23:07:49.903Z] de9db76c5a1d: Verifying Checksum [2021-03-31T23:07:49.903Z] de9db76c5a1d: Download complete [2021-03-31T23:07:49.903Z] 0ef7d3d256c8: Verifying Checksum [2021-03-31T23:07:49.903Z] 0ef7d3d256c8: Download complete [2021-03-31T23:07:50.912Z] 93359f2a8cfa: Download complete [2021-03-31T23:07:50.912Z] 7c6f9722023f: Verifying Checksum [2021-03-31T23:07:50.912Z] 7c6f9722023f: Download complete [2021-03-31T23:07:51.572Z] 188c0c94c7c5: Verifying Checksum [2021-03-31T23:07:51.572Z] 188c0c94c7c5: Download complete [2021-03-31T23:07:53.399Z] 188c0c94c7c5: Pull complete [2021-03-31T23:07:53.722Z] 0ef7d3d256c8: Pull complete [2021-03-31T23:07:54.047Z] de9db76c5a1d: Pull complete [2021-03-31T23:07:57.819Z] a35cf1a2eb13: Verifying Checksum [2021-03-31T23:07:57.819Z] a35cf1a2eb13: Download complete [2021-03-31T23:07:59.826Z] bca2f99d35d6: Verifying Checksum [2021-03-31T23:07:59.826Z] bca2f99d35d6: Download complete [2021-03-31T23:08:04.647Z] ok new-app-service 0.036s coverage: 47.8% of statements [2021-03-31T23:08:04.647Z] ? new-app-service/config [no test files] [2021-03-31T23:08:04.647Z] ok new-app-service/functions 0.029s [2021-03-31T23:08:04.647Z] CGO_ENABLED=1 go vet ./... [2021-03-31T23:08:10.849Z] bca2f99d35d6: Pull complete [2021-03-31T23:08:10.849Z] 93359f2a8cfa: Pull complete [2021-03-31T23:08:11.188Z] 7c6f9722023f: Pull complete [2021-03-31T23:08:11.395Z] gofmt -l . [2021-03-31T23:08:11.395Z] [ "`gofmt -l .`" = "" ] [2021-03-31T23:08:11.395Z] ./bin/test-go-mod-tidy.sh [2021-03-31T23:08:11.993Z] ./bin/test-attribution-txt.sh [2021-03-31T23:08:13.439Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/209/app-service-template' [2021-03-31T23:08:13.439Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-03-31T23:08:14.485Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-03-31T23:08:20.115Z] a35cf1a2eb13: Pull complete [2021-03-31T23:08:20.115Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-31T23:08:20.115Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-31T23:08:20.115Z] ---> a62c8e92a672 [2021-03-31T23:08:20.115Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-03-31T23:08:20.115Z] 20.10.0: Pulling from library/docker [2021-03-31T23:08:20.115Z] 05e7bc50f07f: Pulling fs layer [2021-03-31T23:08:20.115Z] 6db28d0fdbf6: Pulling fs layer [2021-03-31T23:08:20.115Z] 292df0bc6bf3: Pulling fs layer [2021-03-31T23:08:20.115Z] 2e060f4bd70b: Pulling fs layer [2021-03-31T23:08:20.115Z] 80e8d568a223: Pulling fs layer [2021-03-31T23:08:20.115Z] 8dc6ef1a942a: Pulling fs layer [2021-03-31T23:08:20.115Z] 2312dd95470a: Pulling fs layer [2021-03-31T23:08:20.115Z] 2e060f4bd70b: Waiting [2021-03-31T23:08:20.115Z] 80e8d568a223: Waiting [2021-03-31T23:08:20.115Z] 8dc6ef1a942a: Waiting [2021-03-31T23:08:20.115Z] 2312dd95470a: Waiting [2021-03-31T23:08:20.115Z] 292df0bc6bf3: Verifying Checksum [2021-03-31T23:08:20.115Z] 292df0bc6bf3: Download complete [2021-03-31T23:08:20.115Z] 6db28d0fdbf6: Verifying Checksum [2021-03-31T23:08:20.115Z] 6db28d0fdbf6: Download complete [2021-03-31T23:08:20.115Z] 80e8d568a223: Verifying Checksum [2021-03-31T23:08:20.115Z] 80e8d568a223: Download complete [2021-03-31T23:08:20.115Z] 05e7bc50f07f: Verifying Checksum [2021-03-31T23:08:20.115Z] 05e7bc50f07f: Download complete [2021-03-31T23:08:20.115Z] 8dc6ef1a942a: Verifying Checksum [2021-03-31T23:08:20.115Z] 8dc6ef1a942a: Download complete [2021-03-31T23:08:20.115Z] 2312dd95470a: Verifying Checksum [2021-03-31T23:08:20.115Z] 2312dd95470a: Download complete [2021-03-31T23:08:20.410Z] 05e7bc50f07f: Pull complete [2021-03-31T23:08:20.699Z] 6db28d0fdbf6: Pull complete [2021-03-31T23:08:20.973Z] 292df0bc6bf3: Pull complete [2021-03-31T23:08:22.999Z] 2e060f4bd70b: Verifying Checksum [2021-03-31T23:08:22.999Z] 2e060f4bd70b: Download complete [2021-03-31T23:08:24.701Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.071s coverage: 55.8% of statements [2021-03-31T23:08:24.701Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.037s coverage: 92.5% of statements [2021-03-31T23:08:24.701Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-03-31T23:08:24.701Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.059s coverage: 61.5% of statements [2021-03-31T23:08:24.701Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-03-31T23:08:24.701Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.042s [2021-03-31T23:08:24.701Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.109s coverage: 75.4% of statements [2021-03-31T23:08:24.701Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-03-31T23:08:24.701Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-03-31T23:08:24.701Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-03-31T23:08:24.701Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-03-31T23:08:24.701Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-03-31T23:08:24.701Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-03-31T23:08:24.701Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.046s coverage: 97.0% of statements [2021-03-31T23:08:24.701Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-03-31T23:08:24.701Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.051s coverage: 10.5% of statements [2021-03-31T23:08:30.141Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.842s coverage: 78.4% of statements [2021-03-31T23:08:30.141Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-03-31T23:08:30.141Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.032s coverage: 18.4% of statements [2021-03-31T23:08:30.141Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.037s coverage: 27.3% of statements [2021-03-31T23:08:30.141Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-03-31T23:08:30.141Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-03-31T23:08:30.141Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.037s coverage: 71.7% of statements [2021-03-31T23:08:30.180Z] 2e060f4bd70b: Pull complete [2021-03-31T23:08:30.180Z] 80e8d568a223: Pull complete [2021-03-31T23:08:30.180Z] 8dc6ef1a942a: Pull complete [2021-03-31T23:08:30.180Z] 2312dd95470a: Pull complete [2021-03-31T23:08:30.655Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-03-31T23:08:30.655Z] Status: Downloaded newer image for docker:20.10.0 [2021-03-31T23:08:34.162Z] ---> 5dd32541724d [2021-03-31T23:08:34.162Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-03-31T23:08:34.162Z] ---> Running in c63245fa0f47 [2021-03-31T23:08:34.162Z] Removing intermediate container c63245fa0f47 [2021-03-31T23:08:34.162Z] ---> 866902fda1e6 [2021-03-31T23:08:34.162Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-03-31T23:08:34.575Z] ---> Running in 3dd4af99f7be [2021-03-31T23:08:36.112Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-31T23:08:36.707Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-31T23:08:38.237Z] (1/5) Installing libsodium (1.0.18-r0) [2021-03-31T23:08:38.237Z] (2/5) Installing libzmq (4.3.3-r0) [2021-03-31T23:08:38.237Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-03-31T23:08:38.599Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-03-31T23:08:38.599Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-03-31T23:08:38.599Z] Executing busybox-1.31.1-r19.trigger [2021-03-31T23:08:38.599Z] OK: 167 MiB in 44 packages [2021-03-31T23:08:39.839Z] Removing intermediate container 3dd4af99f7be [2021-03-31T23:08:39.839Z] ---> 651a6e25e2e2 [2021-03-31T23:08:39.839Z] Step 6/8 : WORKDIR /build [2021-03-31T23:08:39.839Z] ---> Running in e6cff5f1c49b [2021-03-31T23:08:40.181Z] Removing intermediate container e6cff5f1c49b [2021-03-31T23:08:40.181Z] ---> c610d173ece1 [2021-03-31T23:08:40.181Z] Step 7/8 : COPY go.mod . [2021-03-31T23:08:40.582Z] ---> 420a15bc81ad [2021-03-31T23:08:40.582Z] Step 8/8 : RUN go mod download [2021-03-31T23:08:40.582Z] ---> Running in d63bf515bb46 [2021-03-31T23:08:56.976Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.079s coverage: 81.9% of statements [2021-03-31T23:08:56.976Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.024s coverage: 94.4% of statements [2021-03-31T23:08:56.976Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-03-31T23:08:58.952Z] gofmt -l . [2021-03-31T23:08:58.952Z] [ "`gofmt -l .`" = "" ] [2021-03-31T23:08:59.544Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-31T23:08:59.831Z] $ docker stop --time=1 a0cec742fe9b24d1bc12d292872b351ebf63a043d1cebb30c6aee51e8290a0b4 [2021-03-31T23:09:01.898Z] $ docker rm -f a0cec742fe9b24d1bc12d292872b351ebf63a043d1cebb30c6aee51e8290a0b4 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-31T23:09:02.931Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-31T23:09:03.733Z] Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-31T23:09:05.015Z] ---> job-cost.sh [2021-03-31T23:09:05.016Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-eouS [2021-03-31T23:09:20.325Z] Removing intermediate container d63bf515bb46 [2021-03-31T23:09:20.325Z] ---> 5ef7311f3209 [2021-03-31T23:09:20.325Z] Successfully built 5ef7311f3209 [2021-03-31T23:09:20.325Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-31T23:09:20.787Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-31T23:09:21.462Z] . [Pipeline] withDockerContainer [2021-03-31T23:09:22.262Z] prd-centos7-docker-4c-2g-32357 does not seem to be running inside a container [2021-03-31T23:09:22.467Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/209 -v /w/workspace/app-functions-sdk-go/209:/w/workspace/app-functions-sdk-go/209:rw,z -v /w/workspace/app-functions-sdk-go/209@tmp:/w/workspace/app-functions-sdk-go/209@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-31T23:09:23.900Z] $ docker top 3af422b593afa0e929128aca2e5806fa2c6f126e8f411b84cdfa3d8219f90ae9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-31T23:09:24.597Z] + go version [2021-03-31T23:09:24.597Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-31T23:09:24.641Z] $ docker stop --time=1 3af422b593afa0e929128aca2e5806fa2c6f126e8f411b84cdfa3d8219f90ae9 [2021-03-31T23:09:26.185Z] $ docker rm -f 3af422b593afa0e929128aca2e5806fa2c6f126e8f411b84cdfa3d8219f90ae9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-31T23:09:27.345Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-31T23:09:27.345Z] . [Pipeline] withDockerContainer [2021-03-31T23:09:27.667Z] prd-centos7-docker-4c-2g-32357 does not seem to be running inside a container [2021-03-31T23:09:28.089Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/209 -v /w/workspace/app-functions-sdk-go/209:/w/workspace/app-functions-sdk-go/209:rw,z -v /w/workspace/app-functions-sdk-go/209@tmp:/w/workspace/app-functions-sdk-go/209@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-31T23:09:29.065Z] $ docker top 42a570a8af22950f13f7d9de701941dda14f000f12a5536c49fa1868dd621582 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-31T23:09:30.068Z] + make test [2021-03-31T23:09:30.068Z] make -C ./app-service-template build [2021-03-31T23:09:30.068Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/209/app-service-template' [2021-03-31T23:09:30.068Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.14 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-03-31T23:09:43.978Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-31T23:09:57.438Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/209/app-service-template' [2021-03-31T23:09:57.438Z] make -C ./app-service-template test [2021-03-31T23:09:57.438Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/209/app-service-template' [2021-03-31T23:09:57.438Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-03-31T23:10:13.242Z] ok new-app-service 0.026s coverage: 47.8% of statements [2021-03-31T23:10:13.242Z] ? new-app-service/config [no test files] [2021-03-31T23:10:13.242Z] ok new-app-service/functions 0.019s [2021-03-31T23:10:13.242Z] CGO_ENABLED=1 go vet ./... [2021-03-31T23:10:18.854Z] gofmt -l . [2021-03-31T23:10:18.854Z] [ "`gofmt -l .`" = "" ] [2021-03-31T23:10:18.854Z] ./bin/test-go-mod-tidy.sh [2021-03-31T23:10:20.045Z] ./bin/test-attribution-txt.sh [2021-03-31T23:10:21.585Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/209/app-service-template' [2021-03-31T23:10:21.585Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-03-31T23:10:22.200Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-03-31T23:10:27.763Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.083s coverage: 55.8% of statements [2021-03-31T23:10:27.763Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.032s coverage: 92.5% of statements [2021-03-31T23:10:27.763Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-03-31T23:10:27.763Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.027s coverage: 61.5% of statements [2021-03-31T23:10:27.763Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-03-31T23:10:27.763Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.056s [2021-03-31T23:10:27.763Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.099s coverage: 75.4% of statements [2021-03-31T23:10:27.763Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-03-31T23:10:27.763Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-03-31T23:10:27.763Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-03-31T23:10:27.763Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-03-31T23:10:27.763Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-03-31T23:10:27.763Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-03-31T23:10:27.763Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.022s coverage: 97.0% of statements [2021-03-31T23:10:27.763Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-03-31T23:10:27.763Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.014s coverage: 10.5% of statements [2021-03-31T23:10:32.446Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.851s coverage: 78.4% of statements [2021-03-31T23:10:32.446Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-03-31T23:10:32.446Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.071s coverage: 18.4% of statements [2021-03-31T23:10:32.446Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.048s coverage: 27.3% of statements [2021-03-31T23:10:32.446Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-03-31T23:10:32.446Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-03-31T23:10:32.446Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.061s coverage: 71.7% of statements [2021-03-31T23:10:59.534Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.324s coverage: 81.9% of statements [2021-03-31T23:10:59.534Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.010s coverage: 94.4% of statements [2021-03-31T23:10:59.534Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-03-31T23:11:01.772Z] gofmt -l . [2021-03-31T23:11:02.072Z] [ "`gofmt -l .`" = "" ] [2021-03-31T23:11:02.406Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-31T23:11:03.738Z] $ docker stop --time=1 42a570a8af22950f13f7d9de701941dda14f000f12a5536c49fa1868dd621582 [2021-03-31T23:11:07.002Z] $ docker rm -f 42a570a8af22950f13f7d9de701941dda14f000f12a5536c49fa1868dd621582 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-31T23:11:08.259Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-31T23:11:08.404Z] Warning: overwriting stash ‘coverage-report’ [2021-03-31T23:11:09.591Z] Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-31T23:11:11.053Z] ---> job-cost.sh [2021-03-31T23:11:11.053Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-lyPH [2021-03-31T23:11:20.715Z] lf-activate-venv(): INFO: Adding /tmp/venv-eouS/bin to PATH [2021-03-31T23:11:20.715Z] INFO: No Stack... [2021-03-31T23:11:20.715Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-31T23:11:20.715Z] INFO: Archiving Costs [Pipeline] sh [2021-03-31T23:11:21.061Z] + cut -d, -f6 [2021-03-31T23:11:21.062Z] + cat /w/workspace/app-functions-sdk-go/209/archives/cost.csv [Pipeline] lock [2021-03-31T23:11:21.187Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-209-stack-cost] [2021-03-31T23:11:21.195Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-209-stack-cost] did not exist. Created. [2021-03-31T23:11:21.195Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-209-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-31T23:11:21.646Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-31T23:11:21.918Z] Stashed 1 file(s) [Pipeline] } [2021-03-31T23:11:21.931Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-209-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-31T23:11:38.439Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-31T23:12:18.005Z] lf-activate-venv(): INFO: Adding /tmp/venv-lyPH/bin to PATH [2021-03-31T23:12:18.005Z] INFO: No Stack... [2021-03-31T23:12:18.005Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-31T23:12:18.601Z] INFO: Archiving Costs [Pipeline] sh [2021-03-31T23:12:19.187Z] + cut -d, -f6 [2021-03-31T23:12:19.187Z] + cat /w/workspace/app-functions-sdk-go/209/archives/cost.csv [Pipeline] lock [2021-03-31T23:12:19.479Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-209-stack-cost] [2021-03-31T23:12:19.498Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-209-stack-cost] did not exist. Created. [2021-03-31T23:12:19.498Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-209-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-31T23:12:20.326Z] /w/workspace/app-functions-sdk-go/209@tmp/durable-64955e38/script.sh: line 1: unexpected EOF while looking for matching `'' [Pipeline] sh [2021-03-31T23:12:20.743Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-31T23:12:20.832Z] Warning: overwriting stash ‘stack-cost’ [2021-03-31T23:12:21.275Z] Stashed 1 file(s) [Pipeline] } [2021-03-31T23:12:21.286Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-209-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-03-31T23:12:22.791Z] provisioning config files... [2021-03-31T23:12:22.807Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config54190155821911031tmp [Pipeline] { [Pipeline] sh [2021-03-31T23:12:23.212Z] + set +x [2021-03-31T23:12:23.212Z] + curl -s https://codecov.io/bash [2021-03-31T23:12:23.212Z] + bash -s -- [2021-03-31T23:12:23.477Z] [2021-03-31T23:12:23.477Z] _____ _ [2021-03-31T23:12:23.477Z] / ____| | | [2021-03-31T23:12:23.477Z] | | ___ __| | ___ ___ _____ __ [2021-03-31T23:12:23.477Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-31T23:12:23.477Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-31T23:12:23.477Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-31T23:12:23.477Z] Bash-20210309-2b87ace [2021-03-31T23:12:23.477Z] [2021-03-31T23:12:23.477Z] [2021-03-31T23:12:23.477Z] ==> git version 2.24.3 found [2021-03-31T23:12:23.477Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-03-31T23:12:23.477Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-31T23:12:23.477Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-31T23:12:23.477Z] ==> Jenkins CI detected. [2021-03-31T23:12:23.477Z] project root: . [2021-03-31T23:12:23.477Z] --> token set from env [2021-03-31T23:12:23.477Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-31T23:12:23.477Z] ==> Running gcov in . (disable via -X gcov) [2021-03-31T23:12:23.477Z] ==> Python coveragepy not found [2021-03-31T23:12:23.477Z] ==> Searching for coverage reports in: [2021-03-31T23:12:23.477Z] + . [2021-03-31T23:12:23.477Z] -> Found 2 reports [2021-03-31T23:12:23.477Z] ==> Detecting git/mercurial file structure [2021-03-31T23:12:23.477Z] ==> Reading reports [2021-03-31T23:12:23.477Z] + ./app-service-template/coverage.out bytes=1055 [2021-03-31T23:12:23.477Z] + ./coverage.out bytes=86827 [2021-03-31T23:12:23.477Z] ==> Appending adjustments [2021-03-31T23:12:23.477Z] https://docs.codecov.io/docs/fixing-reports [2021-03-31T23:12:24.056Z] + Found adjustments [2021-03-31T23:12:24.056Z] ==> Gzipping contents [2021-03-31T23:12:24.056Z] 16K /tmp/codecov.uXInM4.gz [2021-03-31T23:12:24.056Z] ==> Uploading reports [2021-03-31T23:12:24.056Z] url: https://codecov.io [2021-03-31T23:12:24.056Z] query: branch=master&commit=a3b28f5c44bd902ab6b05bebecef402ac3ecb455&build=209&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F209%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-03-31T23:12:24.056Z] -> Pinging Codecov [2021-03-31T23:12:24.056Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=master&commit=a3b28f5c44bd902ab6b05bebecef402ac3ecb455&build=209&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F209%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-03-31T23:12:24.321Z] -> Uploading to [2021-03-31T23:12:24.321Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-31/3D8B5DFFC46A037C893635FACE044666/a3b28f5c44bd902ab6b05bebecef402ac3ecb455/afc91f8c-7e41-4cdb-9a89-fa91400f3608.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210331%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210331T231224Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=37f7bc3618c5ec24355dea7b446db2c496eb32762c77c38d91a8e1c68fa22424 [2021-03-31T23:12:24.321Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-31T23:12:24.321Z] Dload Upload Total Spent Left Speed [2021-03-31T23:12:24.897Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15323 0 0 100 15323 0 35124 --:--:-- --:--:-- --:--:-- 35144 [2021-03-31T23:12:24.897Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/a3b28f5c44bd902ab6b05bebecef402ac3ecb455 [Pipeline] } [2021-03-31T23:12:24.910Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-03-31T23:12:25.908Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-03-31T23:12:25.997Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-31T23:12:26.344Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-31T23:12:26.344Z] [2021-03-31T23:12:26.344Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-03-31T23:12:26.716Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-31T23:12:26.716Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-03-31T23:12:26.716Z] 188c0c94c7c5: Pulling fs layer [2021-03-31T23:12:26.716Z] 0ef7d3d256c8: Pulling fs layer [2021-03-31T23:12:26.716Z] de9db76c5a1d: Pulling fs layer [2021-03-31T23:12:26.716Z] 0eba1c9be4d2: Pulling fs layer [2021-03-31T23:12:26.716Z] 0d57e429df01: Pulling fs layer [2021-03-31T23:12:26.716Z] 4e4be7b47b0d: Pulling fs layer [2021-03-31T23:12:26.716Z] e1f770b5df2f: Pulling fs layer [2021-03-31T23:12:26.716Z] 85a0685a4137: Pulling fs layer [2021-03-31T23:12:26.716Z] 4e4be7b47b0d: Waiting [2021-03-31T23:12:26.716Z] e1f770b5df2f: Waiting [2021-03-31T23:12:26.716Z] 85a0685a4137: Waiting [2021-03-31T23:12:26.716Z] 0eba1c9be4d2: Waiting [2021-03-31T23:12:26.716Z] 0d57e429df01: Waiting [2021-03-31T23:12:26.716Z] de9db76c5a1d: Verifying Checksum [2021-03-31T23:12:26.716Z] de9db76c5a1d: Download complete [2021-03-31T23:12:26.716Z] 0ef7d3d256c8: Verifying Checksum [2021-03-31T23:12:26.716Z] 0ef7d3d256c8: Download complete [2021-03-31T23:12:26.716Z] 0d57e429df01: Verifying Checksum [2021-03-31T23:12:26.716Z] 0d57e429df01: Download complete [2021-03-31T23:12:26.716Z] 4e4be7b47b0d: Verifying Checksum [2021-03-31T23:12:26.716Z] 4e4be7b47b0d: Download complete [2021-03-31T23:12:26.716Z] 188c0c94c7c5: Verifying Checksum [2021-03-31T23:12:26.716Z] 188c0c94c7c5: Download complete [2021-03-31T23:12:27.296Z] 188c0c94c7c5: Pull complete [2021-03-31T23:12:27.296Z] 0ef7d3d256c8: Pull complete [2021-03-31T23:12:27.559Z] de9db76c5a1d: Pull complete [2021-03-31T23:12:28.959Z] e1f770b5df2f: Verifying Checksum [2021-03-31T23:12:28.959Z] e1f770b5df2f: Download complete [2021-03-31T23:12:30.891Z] 0eba1c9be4d2: Verifying Checksum [2021-03-31T23:12:30.891Z] 0eba1c9be4d2: Download complete [2021-03-31T23:12:31.472Z] 85a0685a4137: Verifying Checksum [2021-03-31T23:12:31.472Z] 85a0685a4137: Download complete [2021-03-31T23:12:36.799Z] 0eba1c9be4d2: Pull complete [2021-03-31T23:12:36.799Z] 0d57e429df01: Pull complete [2021-03-31T23:12:36.799Z] 4e4be7b47b0d: Pull complete [2021-03-31T23:12:41.029Z] e1f770b5df2f: Pull complete [2021-03-31T23:12:47.676Z] 85a0685a4137: Pull complete [2021-03-31T23:12:47.676Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-03-31T23:12:47.676Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-31T23:12:47.676Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-03-31T23:12:47.896Z] prd-centos7-docker-4c-2g-32354 does not seem to be running inside a container [2021-03-31T23:12:47.946Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-03-31T23:12:48.925Z] $ docker top 2c9e1c6e0c934f070678a4231a8235ce5f5444b14a04fb1d1c5dd4b56e45f8a4 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-03-31T23:12:49.257Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-03-31T23:12:50.031Z] + set -o pipefail [2021-03-31T23:12:50.031Z] + snyk monitor '--org=edgex-jenkins' [2021-03-31T23:13:00.077Z] [2021-03-31T23:13:00.077Z] Monitoring /w/workspace/ndry_app-functions-sdk-go_master (github.com/edgexfoundry/app-functions-sdk-go/v2)... [2021-03-31T23:13:00.077Z] [2021-03-31T23:13:00.077Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/c746a91d-cffb-4555-a51c-f917101240f3 [2021-03-31T23:13:00.077Z] [2021-03-31T23:13:00.077Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-03-31T23:13:00.077Z] [2021-03-31T23:13:00.077Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-03-31T23:13:00.077Z] [2021-03-31T23:13:00.077Z] [2021-03-31T23:13:00.077Z] You are approaching your monthly limit of 300 private tests for your edgex-jenkins org. [2021-03-31T23:13:00.077Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2021-03-31T23:13:00.095Z] $ docker stop --time=1 2c9e1c6e0c934f070678a4231a8235ce5f5444b14a04fb1d1c5dd4b56e45f8a4 [2021-03-31T23:13:03.095Z] $ docker rm -f 2c9e1c6e0c934f070678a4231a8235ce5f5444b14a04fb1d1c5dd4b56e45f8a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2021-03-31T23:13:04.460Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-31T23:13:04.515Z] provisioning config files... [2021-03-31T23:13:04.528Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config7302858321130452191tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-31T23:13:04.906Z] --> edgex-publish-swagger.sh [2021-03-31T23:13:04.906Z] === Publish openapi/v2 API === [2021-03-31T23:13:04.906Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-03-31T23:13:04.906Z] [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/ndry_app-functions-sdk-go_master/openapi/v2/app-functions-sdk.yaml] [2021-03-31T23:13:04.906Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-31T23:13:04.906Z] Dload Upload Total Spent Left Speed [2021-03-31T23:13:05.745Z] 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 13840 --:--:-- --:--:-- --:--:-- 13840 [2021-03-31T23:13:05.745Z] [2021-03-31T23:13:05.745Z] [Pipeline] } [2021-03-31T23:13:05.754Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-31T23:13:06.598Z] + git log --format=format:%s -1 a3b28f5c44bd902ab6b05bebecef402ac3ecb455 [Pipeline] isUnix [Pipeline] sh [2021-03-31T23:13:06.913Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-31T23:13:06.913Z] . [Pipeline] withDockerContainer [2021-03-31T23:13:07.017Z] prd-centos7-docker-4c-2g-32354 does not seem to be running inside a container [2021-03-31T23:13:07.061Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-31T23:13:08.011Z] $ docker top 2fd0223932a02182a4686d84f63fd4804e8857dab599265750fd51a64cc9ba34 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-31T23:13:08.322Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-31T23:13:08.323Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-31T23:13:08.591Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-31T23:13:08.594Z] $ docker exec 2fd0223932a02182a4686d84f63fd4804e8857dab599265750fd51a64cc9ba34 ssh-agent [2021-03-31T23:13:08.775Z] SSH_AUTH_SOCK=/tmp/ssh-FoeVJjNmHCZI/agent.11 [2021-03-31T23:13:08.775Z] SSH_AGENT_PID=17 [2021-03-31T23:13:08.782Z] Running ssh-add (command line suppressed) [2021-03-31T23:13:08.926Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_9165087773335406841.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_9165087773335406841.key) [2021-03-31T23:13:08.990Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-31T23:13:09.329Z] + git semver tag [2021-03-31T23:13:09.329Z] # -> Open(): unable to determine branch for HEAD [2021-03-31T23:13:09.329Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-03-31T23:13:09.329Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-03-31T23:13:09.329Z] # $SEMVER_REMOTE_NAME = origin [2021-03-31T23:13:09.329Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-31T23:13:09.329Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-31T23:13:09.329Z] # $SEMVER_BRANCH = master [2021-03-31T23:13:09.329Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-03-31T23:13:09.329Z] # a3b28f5c44bd902ab6b05bebecef402ac3ecb455 HEAD [2021-03-31T23:13:09.329Z] # -> Force: false [2021-03-31T23:13:09.329Z] # 3a65669c0b524e4b9acf6438fbb5d2e39ab75e99 refs/tags/v2.0.0-dev.40 [Pipeline] } [2021-03-31T23:13:09.339Z] $ docker exec --env ******** --env ******** 2fd0223932a02182a4686d84f63fd4804e8857dab599265750fd51a64cc9ba34 ssh-agent -k [2021-03-31T23:13:09.464Z] unset SSH_AUTH_SOCK; [2021-03-31T23:13:09.465Z] unset SSH_AGENT_PID; [2021-03-31T23:13:09.465Z] echo Agent pid 17 killed; [2021-03-31T23:13:09.524Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-31T23:13:10.029Z] + git semver [Pipeline] } [2021-03-31T23:13:10.045Z] $ docker stop --time=1 2fd0223932a02182a4686d84f63fd4804e8857dab599265750fd51a64cc9ba34 [2021-03-31T23:13:11.425Z] $ docker rm -f 2fd0223932a02182a4686d84f63fd4804e8857dab599265750fd51a64cc9ba34 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-03-31T23:13:12.226Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-31T23:13:12.226Z] [2021-03-31T23:13:12.226Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-03-31T23:13:12.815Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-31T23:13:12.815Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-03-31T23:13:12.815Z] ab5ef0e58194: Pulling fs layer [2021-03-31T23:13:12.815Z] 9712f1f96733: Pulling fs layer [2021-03-31T23:13:12.815Z] 63f879dbbcfc: Pulling fs layer [2021-03-31T23:13:12.815Z] 0d9ebad4ef96: Pulling fs layer [2021-03-31T23:13:12.815Z] e9a5061849ea: Pulling fs layer [2021-03-31T23:13:12.815Z] d747dcd14b5f: Pulling fs layer [2021-03-31T23:13:12.815Z] 2de7ff778b66: Pulling fs layer [2021-03-31T23:13:12.815Z] e9a5061849ea: Waiting [2021-03-31T23:13:12.815Z] d747dcd14b5f: Waiting [2021-03-31T23:13:12.815Z] 2de7ff778b66: Waiting [2021-03-31T23:13:12.815Z] 0d9ebad4ef96: Waiting [2021-03-31T23:13:12.815Z] 9712f1f96733: Download complete [2021-03-31T23:13:14.235Z] 63f879dbbcfc: Verifying Checksum [2021-03-31T23:13:14.235Z] 63f879dbbcfc: Download complete [2021-03-31T23:13:14.498Z] e9a5061849ea: Verifying Checksum [2021-03-31T23:13:14.498Z] e9a5061849ea: Download complete [2021-03-31T23:13:14.498Z] d747dcd14b5f: Verifying Checksum [2021-03-31T23:13:14.498Z] d747dcd14b5f: Download complete [2021-03-31T23:13:15.075Z] 2de7ff778b66: Verifying Checksum [2021-03-31T23:13:15.075Z] 2de7ff778b66: Download complete [2021-03-31T23:13:15.343Z] 0d9ebad4ef96: Verifying Checksum [2021-03-31T23:13:15.343Z] 0d9ebad4ef96: Download complete [2021-03-31T23:13:15.343Z] ab5ef0e58194: Download complete [2021-03-31T23:13:20.674Z] ab5ef0e58194: Pull complete [2021-03-31T23:13:20.674Z] 9712f1f96733: Pull complete [2021-03-31T23:13:22.616Z] 63f879dbbcfc: Pull complete [2021-03-31T23:13:29.244Z] 0d9ebad4ef96: Pull complete [2021-03-31T23:13:31.166Z] e9a5061849ea: Pull complete [2021-03-31T23:13:31.166Z] d747dcd14b5f: Pull complete [2021-03-31T23:13:33.733Z] 2de7ff778b66: Pull complete [2021-03-31T23:13:33.733Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-03-31T23:13:33.733Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-31T23:13:33.733Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-03-31T23:13:33.940Z] prd-centos7-docker-4c-2g-32354 does not seem to be running inside a container [2021-03-31T23:13:33.989Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-03-31T23:13:37.993Z] $ docker top 6684ae86fd55519fad6f0805a8d6c615e83f94665a086f95082e94e4c1085699 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-03-31T23:13:38.336Z] provisioning config files... [2021-03-31T23:13:38.348Z] copy managed file [sigul-config] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config8339501140270099236tmp [2021-03-31T23:13:38.366Z] copy managed file [sigul-password] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config8879682812964321726tmp [2021-03-31T23:13:38.384Z] copy managed file [sigul-pki] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config6959592952865569823tmp [Pipeline] { [Pipeline] echo [2021-03-31T23:13:38.446Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T23:13:38.757Z] ---> sigul-configuration.sh [2021-03-31T23:13:38.757Z] gpg: directory `/root/.gnupg' created [2021-03-31T23:13:38.757Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-03-31T23:13:38.757Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-03-31T23:13:38.757Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-03-31T23:13:38.757Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-03-31T23:13:38.757Z] gpg: CAST5 encrypted data [2021-03-31T23:13:39.020Z] gpg: encrypted with 1 passphrase [2021-03-31T23:13:39.020Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-03-31T23:13:39.322Z] + mkdir /home/jenkins [2021-03-31T23:13:39.322Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-03-31T23:13:39.625Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-03-31T23:13:39.636Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T23:13:39.938Z] ---> sigul-install.sh [2021-03-31T23:13:46.542Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-03-31T23:13:46.844Z] + git tag --list [2021-03-31T23:13:46.844Z] v0.1.0 [2021-03-31T23:13:46.844Z] v0.1.1 [2021-03-31T23:13:46.844Z] v1.0.0 [2021-03-31T23:13:46.844Z] v1.1.0 [2021-03-31T23:13:46.844Z] v1.2.0 [2021-03-31T23:13:46.844Z] v1.3.0 [2021-03-31T23:13:46.844Z] v1.3.1 [2021-03-31T23:13:46.844Z] v1.3.1-dev.1 [2021-03-31T23:13:46.844Z] v1.3.2-dev.1 [2021-03-31T23:13:46.844Z] v2.0.0-dev.1 [2021-03-31T23:13:46.844Z] v2.0.0-dev.10 [2021-03-31T23:13:46.844Z] v2.0.0-dev.11 [2021-03-31T23:13:46.844Z] v2.0.0-dev.12 [2021-03-31T23:13:46.844Z] v2.0.0-dev.13 [2021-03-31T23:13:46.844Z] v2.0.0-dev.14 [2021-03-31T23:13:46.844Z] v2.0.0-dev.15 [2021-03-31T23:13:46.844Z] v2.0.0-dev.16 [2021-03-31T23:13:46.844Z] v2.0.0-dev.17 [2021-03-31T23:13:46.844Z] v2.0.0-dev.18 [2021-03-31T23:13:46.844Z] v2.0.0-dev.19 [2021-03-31T23:13:46.844Z] v2.0.0-dev.2 [2021-03-31T23:13:46.844Z] v2.0.0-dev.20 [2021-03-31T23:13:46.844Z] v2.0.0-dev.21 [2021-03-31T23:13:46.844Z] v2.0.0-dev.22 [2021-03-31T23:13:46.844Z] v2.0.0-dev.23 [2021-03-31T23:13:46.844Z] v2.0.0-dev.24 [2021-03-31T23:13:46.844Z] v2.0.0-dev.25 [2021-03-31T23:13:46.844Z] v2.0.0-dev.26 [2021-03-31T23:13:46.844Z] v2.0.0-dev.27 [2021-03-31T23:13:46.844Z] v2.0.0-dev.28 [2021-03-31T23:13:46.844Z] v2.0.0-dev.29 [2021-03-31T23:13:46.844Z] v2.0.0-dev.3 [2021-03-31T23:13:46.844Z] v2.0.0-dev.30 [2021-03-31T23:13:46.844Z] v2.0.0-dev.31 [2021-03-31T23:13:46.844Z] v2.0.0-dev.32 [2021-03-31T23:13:46.844Z] v2.0.0-dev.33 [2021-03-31T23:13:46.844Z] v2.0.0-dev.34 [2021-03-31T23:13:46.844Z] v2.0.0-dev.35 [2021-03-31T23:13:46.844Z] v2.0.0-dev.36 [2021-03-31T23:13:46.844Z] v2.0.0-dev.37 [2021-03-31T23:13:46.844Z] v2.0.0-dev.38 [2021-03-31T23:13:46.844Z] v2.0.0-dev.39 [2021-03-31T23:13:46.844Z] v2.0.0-dev.4 [2021-03-31T23:13:46.844Z] v2.0.0-dev.40 [2021-03-31T23:13:46.844Z] v2.0.0-dev.5 [2021-03-31T23:13:46.844Z] v2.0.0-dev.6 [2021-03-31T23:13:46.844Z] v2.0.0-dev.7 [2021-03-31T23:13:46.844Z] v2.0.0-dev.8 [2021-03-31T23:13:46.844Z] v2.0.0-dev.9 [Pipeline] sh [2021-03-31T23:13:47.143Z] + lftools sign git-tag v2.0.0-dev.40 [2021-03-31T23:13:48.536Z] Signing Git tag with Sigul... [2021-03-31T23:13:48.536Z] Signing v2.0.0-dev.40 [Pipeline] echo [2021-03-31T23:13:49.496Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T23:13:49.797Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-03-31T23:13:49.807Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-03-31T23:13:49.906Z] $ docker stop --time=1 6684ae86fd55519fad6f0805a8d6c615e83f94665a086f95082e94e4c1085699 [2021-03-31T23:13:52.087Z] $ docker rm -f 6684ae86fd55519fad6f0805a8d6c615e83f94665a086f95082e94e4c1085699 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-03-31T23:13:53.032Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-31T23:13:53.032Z] . [Pipeline] withDockerContainer [2021-03-31T23:13:53.134Z] prd-centos7-docker-4c-2g-32354 does not seem to be running inside a container [2021-03-31T23:13:53.181Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-31T23:13:53.884Z] $ docker top d1e43f6eaf61c68b378a1deea6c54911401c0a966262392cb048797b457d4791 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-31T23:13:54.227Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-31T23:13:54.227Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-31T23:13:54.441Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-31T23:13:54.443Z] $ docker exec d1e43f6eaf61c68b378a1deea6c54911401c0a966262392cb048797b457d4791 ssh-agent [2021-03-31T23:13:54.628Z] SSH_AUTH_SOCK=/tmp/ssh-BZ8malxTcMBw/agent.12 [2021-03-31T23:13:54.628Z] SSH_AGENT_PID=18 [2021-03-31T23:13:54.636Z] Running ssh-add (command line suppressed) [2021-03-31T23:13:54.772Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_15706539008780468.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_15706539008780468.key) [2021-03-31T23:13:54.836Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-31T23:13:55.174Z] + git semver bump pre [2021-03-31T23:13:55.174Z] # -> Open(): unable to determine branch for HEAD [2021-03-31T23:13:55.174Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-03-31T23:13:55.174Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-03-31T23:13:55.174Z] # $SEMVER_REMOTE_NAME = origin [2021-03-31T23:13:55.174Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-31T23:13:55.174Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-31T23:13:55.174Z] # $SEMVER_BRANCH = master [2021-03-31T23:13:55.174Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-03-31T23:13:55.174Z] 2.0.0-dev.41 [Pipeline] } [2021-03-31T23:13:55.184Z] $ docker exec --env ******** --env ******** d1e43f6eaf61c68b378a1deea6c54911401c0a966262392cb048797b457d4791 ssh-agent -k [2021-03-31T23:13:55.310Z] unset SSH_AUTH_SOCK; [2021-03-31T23:13:55.310Z] unset SSH_AGENT_PID; [2021-03-31T23:13:55.310Z] echo Agent pid 18 killed; [2021-03-31T23:13:55.367Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-31T23:13:55.859Z] + git semver [Pipeline] } [2021-03-31T23:13:55.875Z] $ docker stop --time=1 d1e43f6eaf61c68b378a1deea6c54911401c0a966262392cb048797b457d4791 [2021-03-31T23:13:57.245Z] $ docker rm -f d1e43f6eaf61c68b378a1deea6c54911401c0a966262392cb048797b457d4791 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-03-31T23:13:57.814Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-31T23:13:57.814Z] . [Pipeline] withDockerContainer [2021-03-31T23:13:57.922Z] prd-centos7-docker-4c-2g-32354 does not seem to be running inside a container [2021-03-31T23:13:57.970Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-31T23:13:58.718Z] $ docker top 0dc0faa4e6bb7af9353e9525e7c4849b43a96e8aceca044a1852113e9568ff37 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-31T23:13:59.330Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-31T23:13:59.331Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-31T23:13:59.552Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-31T23:13:59.553Z] $ docker exec 0dc0faa4e6bb7af9353e9525e7c4849b43a96e8aceca044a1852113e9568ff37 ssh-agent [2021-03-31T23:13:59.744Z] SSH_AUTH_SOCK=/tmp/ssh-vbPBBac8dfNG/agent.12 [2021-03-31T23:13:59.744Z] SSH_AGENT_PID=18 [2021-03-31T23:13:59.751Z] Running ssh-add (command line suppressed) [2021-03-31T23:13:59.877Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_8946608820147186212.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_8946608820147186212.key) [2021-03-31T23:13:59.951Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-31T23:14:00.396Z] + git semver push [2021-03-31T23:14:00.396Z] # -> Open(): unable to determine branch for HEAD [2021-03-31T23:14:00.396Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-03-31T23:14:00.396Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-03-31T23:14:00.396Z] # $SEMVER_REMOTE_NAME = origin [2021-03-31T23:14:00.396Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-31T23:14:00.396Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-31T23:14:00.397Z] # $SEMVER_BRANCH = master [2021-03-31T23:14:00.397Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-03-31T23:14:04.666Z] $ docker exec --env ******** --env ******** 0dc0faa4e6bb7af9353e9525e7c4849b43a96e8aceca044a1852113e9568ff37 ssh-agent -k [2021-03-31T23:14:04.835Z] unset SSH_AUTH_SOCK; [2021-03-31T23:14:04.836Z] unset SSH_AGENT_PID; [2021-03-31T23:14:04.836Z] echo Agent pid 18 killed; [2021-03-31T23:14:04.893Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-31T23:14:05.367Z] + git semver [Pipeline] } [2021-03-31T23:14:05.382Z] $ docker stop --time=1 0dc0faa4e6bb7af9353e9525e7c4849b43a96e8aceca044a1852113e9568ff37 [2021-03-31T23:14:06.746Z] $ docker rm -f 0dc0faa4e6bb7af9353e9525e7c4849b43a96e8aceca044a1852113e9568ff37 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-03-31T23:14:08.235Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T23:14:08.807Z] ---> package-listing.sh [2021-03-31T23:14:08.807Z] ++ facter osfamily [2021-03-31T23:14:08.807Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-31T23:14:08.807Z] + OS_FAMILY=redhat [2021-03-31T23:14:08.807Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_master [2021-03-31T23:14:08.807Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-31T23:14:08.807Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-31T23:14:08.807Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-31T23:14:08.807Z] + PACKAGES=/tmp/packages_start.txt [2021-03-31T23:14:08.807Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-03-31T23:14:08.807Z] + PACKAGES=/tmp/packages_end.txt [2021-03-31T23:14:08.807Z] + case "${OS_FAMILY}" in [2021-03-31T23:14:08.807Z] + rpm -qa [2021-03-31T23:14:08.807Z] + sort [2021-03-31T23:14:14.111Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-31T23:14:14.111Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-31T23:14:14.111Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-31T23:14:14.111Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-03-31T23:14:14.111Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_master/archives/ [2021-03-31T23:14:14.111Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_master/archives/ [Pipeline] echo [2021-03-31T23:14:14.126Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-31T23:14:14.422Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-31T23:14:14.738Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-31T23:14:14.738Z] [2021-03-31T23:14:14.738Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-31T23:14:15.112Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-31T23:14:15.112Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-31T23:14:15.112Z] df20fa9351a1: Pulling fs layer [2021-03-31T23:14:15.112Z] 36b3adc4ff6f: Pulling fs layer [2021-03-31T23:14:15.112Z] 8ad3a11d3b57: Pulling fs layer [2021-03-31T23:14:15.112Z] 46f8f816bc3b: Pulling fs layer [2021-03-31T23:14:15.112Z] 93b61091891f: Pulling fs layer [2021-03-31T23:14:15.112Z] 93b9cdb0e59b: Pulling fs layer [2021-03-31T23:14:15.113Z] 5e14af77c1be: Pulling fs layer [2021-03-31T23:14:15.113Z] 01666e4c0597: Pulling fs layer [2021-03-31T23:14:15.113Z] aa168da1d23b: Pulling fs layer [2021-03-31T23:14:15.113Z] 93b9cdb0e59b: Waiting [2021-03-31T23:14:15.113Z] 5e14af77c1be: Waiting [2021-03-31T23:14:15.113Z] aa168da1d23b: Waiting [2021-03-31T23:14:15.113Z] 46f8f816bc3b: Waiting [2021-03-31T23:14:15.113Z] 93b61091891f: Waiting [2021-03-31T23:14:15.113Z] 01666e4c0597: Waiting [2021-03-31T23:14:15.113Z] 36b3adc4ff6f: Download complete [2021-03-31T23:14:15.113Z] 46f8f816bc3b: Verifying Checksum [2021-03-31T23:14:15.113Z] 46f8f816bc3b: Download complete [2021-03-31T23:14:15.113Z] df20fa9351a1: Verifying Checksum [2021-03-31T23:14:15.113Z] df20fa9351a1: Download complete [2021-03-31T23:14:15.375Z] 93b9cdb0e59b: Verifying Checksum [2021-03-31T23:14:15.375Z] 93b9cdb0e59b: Download complete [2021-03-31T23:14:15.375Z] 5e14af77c1be: Verifying Checksum [2021-03-31T23:14:15.375Z] 5e14af77c1be: Download complete [2021-03-31T23:14:15.375Z] 93b61091891f: Download complete [2021-03-31T23:14:15.375Z] 01666e4c0597: Verifying Checksum [2021-03-31T23:14:15.375Z] 01666e4c0597: Download complete [2021-03-31T23:14:15.955Z] df20fa9351a1: Pull complete [2021-03-31T23:14:15.955Z] 8ad3a11d3b57: Verifying Checksum [2021-03-31T23:14:15.955Z] 8ad3a11d3b57: Download complete [2021-03-31T23:14:16.221Z] 36b3adc4ff6f: Pull complete [2021-03-31T23:14:18.165Z] aa168da1d23b: Verifying Checksum [2021-03-31T23:14:18.165Z] aa168da1d23b: Download complete [2021-03-31T23:14:18.165Z] 8ad3a11d3b57: Pull complete [2021-03-31T23:14:18.430Z] 46f8f816bc3b: Pull complete [2021-03-31T23:14:19.380Z] 93b61091891f: Pull complete [2021-03-31T23:14:19.380Z] 93b9cdb0e59b: Pull complete [2021-03-31T23:14:19.380Z] 5e14af77c1be: Pull complete [2021-03-31T23:14:19.956Z] 01666e4c0597: Pull complete [2021-03-31T23:14:28.140Z] aa168da1d23b: Pull complete [2021-03-31T23:14:28.140Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-31T23:14:28.140Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-31T23:14:28.140Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-31T23:14:28.309Z] prd-centos7-docker-4c-2g-32354 does not seem to be running inside a container [2021-03-31T23:14:28.354Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-31T23:14:31.236Z] $ docker top dcfdd7a57f763602fab1b5f40789b4c461e19bec14ddf13cea8515cba8693ba6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-31T23:14:31.842Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-31T23:14:32.148Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-31T23:14:32.447Z] + ls /var/log/sa-host [2021-03-31T23:14:32.447Z] + sadf -c /var/log/sa-host/sa23 [2021-03-31T23:14:32.447Z] file_magic: OK [2021-03-31T23:14:32.447Z] HZ: Using current value: 100 [2021-03-31T23:14:32.447Z] file_header: OK [2021-03-31T23:14:32.447Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-03-31T23:14:32.447Z] Statistics: [2021-03-31T23:14:32.447Z] Hnuu...uuuununununu... [2021-03-31T23:14:32.447Z] File successfully converted to sysstat format version 12.2.1 [2021-03-31T23:14:32.447Z] + sadf -c /var/log/sa-host/sa31 [2021-03-31T23:14:32.447Z] file_magic: OK [2021-03-31T23:14:32.447Z] HZ: Using current value: 100 [2021-03-31T23:14:32.447Z] file_header: OK [2021-03-31T23:14:32.447Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-03-31T23:14:32.447Z] Statistics: [2021-03-31T23:14:32.447Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-31T23:14:32.447Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-31T23:14:33.134Z] provisioning config files... [2021-03-31T23:14:33.149Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config8865331410831623768tmp [Pipeline] { [Pipeline] echo [2021-03-31T23:14:33.224Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T23:14:33.523Z] ---> create-netrc.sh [Pipeline] } [2021-03-31T23:14:33.533Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-31T23:14:33.624Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T23:14:33.921Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-31T23:14:33.932Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T23:14:34.229Z] ---> sudo-logs.sh [2021-03-31T23:14:34.229Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-31T23:14:34.297Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T23:14:34.591Z] ---> job-cost.sh [2021-03-31T23:14:34.591Z] lf-activate-venv: SKIPPING [2021-03-31T23:14:34.591Z] DEBUG: total: 0.029999999329447746 [2021-03-31T23:14:34.591Z] INFO: Retrieving Stack Cost... [2021-03-31T23:14:35.539Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-31T23:14:36.116Z] INFO: Archiving Costs [Pipeline] echo [2021-03-31T23:14:36.132Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-31T23:14:36.440Z] ---> logs-deploy.sh [2021-03-31T23:14:36.441Z] lf-activate-venv: SKIPPING [2021-03-31T23:14:36.441Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/master/209 [2021-03-31T23:14:36.441Z] INFO: archiving workspace using pattern(s): [2021-03-31T23:14:38.362Z] Archives upload complete. [2021-03-31T23:14:38.362Z] INFO: archiving logs to Nexus