Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from bc088263485211e0f4800c9deb83e8b0a3e27248 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-functions-sdk-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-31229 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 bc088263485211e0f4800c9deb83e8b0a3e27248 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f bc088263485211e0f4800c9deb83e8b0a3e27248 # timeout=10 Commit message: "feat: Add custom structured configuration capability (#753)" > git rev-list --no-walk c6680ff4eecd40eccff17b1dbb2a870edc6ed4da # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-24T17:33:08.925Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-24T17:33:09.209Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-24T17:33:09.333Z] ========================================================= [2021-03-24T17:33:09.333Z] EdgeX Global Pipelines Version Info [2021-03-24T17:33:09.333Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-24T17:33:10.849Z] ------------------- [2021-03-24T17:33:10.849Z] stable info: [2021-03-24T17:33:10.849Z] ------------------- [2021-03-24T17:33:10.849Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-24T17:33:10.849Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-24T17:33:10.849Z] Message: update stable to v1.0.186 [2021-03-24T17:33:11.805Z] ------------------- [2021-03-24T17:33:11.805Z] experimental info: [2021-03-24T17:33:11.805Z] ------------------- [2021-03-24T17:33:11.805Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-24T17:33:11.805Z] Commit SHA: 606c6f769ab3e61af702b3bd2da8ca6cacc01659 [2021-03-24T17:33:11.805Z] Message: update experimental to v1.0.187 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-24T17:33:12.148Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-03-24T17:33:12.249Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-03-24T17:33:12.374Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-24T17:33:12.470Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-24T17:33:12.558Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-24T17:33:12.652Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-24T17:33:12.744Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-24T17:33:12.843Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-24T17:33:12.962Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-03-24T17:33:13.053Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-24T17:33:13.145Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-24T17:33:13.252Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2021-03-24T17:33:13.340Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-24T17:33:13.447Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-24T17:33:13.573Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-03-24T17:33:13.680Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-24T17:33:13.770Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-24T17:33:13.869Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-24T17:33:13.968Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-24T17:33:14.055Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-24T17:33:14.145Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-24T17:33:14.255Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-03-24T17:33:14.342Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-24T17:33:14.431Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-24T17:33:14.541Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-03-24T17:33:14.650Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-24T17:33:14.739Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-03-24T17:33:14.825Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-03-24T17:33:14.910Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-03-24T17:33:14.998Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bc088263485211e0f4800c9deb83e8b0a3e27248 [Pipeline] echo [2021-03-24T17:33:15.082Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bc08826 [Pipeline] echo [2021-03-24T17:33:15.166Z] [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-24T17:33:15.860Z] + git log --format=format:%s -1 bc088263485211e0f4800c9deb83e8b0a3e27248 [Pipeline] echo [2021-03-24T17:33:15.933Z] GIT_COMMIT: bc088263485211e0f4800c9deb83e8b0a3e27248, Commit Message: feat: Add custom structured configuration capability (#753) [Pipeline] echo [2021-03-24T17:33:15.979Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-24T17:33:16.588Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-24T17:33:16.870Z] [2021-03-24T17:33:16.870Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-24T17:33:17.231Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-24T17:33:17.231Z] latest: Pulling from edgex-devops/git-semver [2021-03-24T17:33:17.231Z] 31603596830f: Pulling fs layer [2021-03-24T17:33:17.231Z] 2a8b12db71e7: Pulling fs layer [2021-03-24T17:33:17.231Z] 6ca5941a6612: Pulling fs layer [2021-03-24T17:33:17.231Z] ecc8261a40a4: Pulling fs layer [2021-03-24T17:33:17.231Z] ecc8261a40a4: Waiting [2021-03-24T17:33:17.231Z] 2a8b12db71e7: Verifying Checksum [2021-03-24T17:33:17.231Z] 2a8b12db71e7: Download complete [2021-03-24T17:33:17.496Z] 31603596830f: Download complete [2021-03-24T17:33:17.496Z] 6ca5941a6612: Verifying Checksum [2021-03-24T17:33:17.496Z] 6ca5941a6612: Download complete [2021-03-24T17:33:17.765Z] ecc8261a40a4: Verifying Checksum [2021-03-24T17:33:17.765Z] ecc8261a40a4: Download complete [2021-03-24T17:33:18.030Z] 31603596830f: Pull complete [2021-03-24T17:33:18.030Z] 2a8b12db71e7: Pull complete [2021-03-24T17:33:18.985Z] 6ca5941a6612: Pull complete [2021-03-24T17:33:19.247Z] ecc8261a40a4: Pull complete [2021-03-24T17:33:19.247Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-24T17:33:19.247Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-24T17:33:19.247Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-24T17:33:19.355Z] prd-centos7-docker-4c-2g-31229 does not seem to be running inside a container [2021-03-24T17:33:19.408Z] $ 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-24T17:33:21.201Z] $ docker top 269fc96af6e3dc8f745f293bc0f2768ab7d8c4ebdcf38822c1071f4c47534560 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-24T17:33:21.521Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-24T17:33:21.521Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-24T17:33:21.764Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-24T17:33:21.769Z] $ docker exec 269fc96af6e3dc8f745f293bc0f2768ab7d8c4ebdcf38822c1071f4c47534560 ssh-agent [2021-03-24T17:33:21.960Z] SSH_AUTH_SOCK=/tmp/ssh-qThX3tR8dT0m/agent.12 [2021-03-24T17:33:21.960Z] SSH_AGENT_PID=17 [2021-03-24T17:33:22.057Z] Running ssh-add (command line suppressed) [2021-03-24T17:33:22.205Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_8181171223235834248.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_8181171223235834248.key) [2021-03-24T17:33:22.261Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-24T17:33:22.605Z] + git tag --points-at HEAD [Pipeline] } [2021-03-24T17:33:22.629Z] $ docker exec --env ******** --env ******** 269fc96af6e3dc8f745f293bc0f2768ab7d8c4ebdcf38822c1071f4c47534560 ssh-agent -k [2021-03-24T17:33:22.746Z] unset SSH_AUTH_SOCK; [2021-03-24T17:33:22.746Z] unset SSH_AGENT_PID; [2021-03-24T17:33:22.746Z] echo Agent pid 17 killed; [2021-03-24T17:33:22.795Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-24T17:33:22.938Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-24T17:33:22.938Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-24T17:33:23.111Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-24T17:33:23.116Z] $ docker exec 269fc96af6e3dc8f745f293bc0f2768ab7d8c4ebdcf38822c1071f4c47534560 ssh-agent [2021-03-24T17:33:23.297Z] SSH_AUTH_SOCK=/tmp/ssh-nr1IGRg72gtc/agent.46 [2021-03-24T17:33:23.297Z] SSH_AGENT_PID=52 [2021-03-24T17:33:23.305Z] Running ssh-add (command line suppressed) [2021-03-24T17:33:23.447Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_2761487489278505951.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_2761487489278505951.key) [2021-03-24T17:33:23.514Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-24T17:33:23.855Z] + git semver init [2021-03-24T17:33:23.855Z] # -> Open(): unable to determine branch for HEAD [2021-03-24T17:33:23.855Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-03-24T17:33:23.855Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-03-24T17:33:23.855Z] # $SEMVER_REMOTE_NAME = origin [2021-03-24T17:33:23.855Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-24T17:33:23.855Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-24T17:33:23.855Z] # $SEMVER_BRANCH = master [2021-03-24T17:33:23.855Z] # $SEMVER_TEMP = /tmp/semver-846936155 [2021-03-24T17:33:23.855Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-03-24T17:33:27.185Z] # '/tmp/semver-846936155' -> '/w/workspace/ndry_app-functions-sdk-go_master/.semver' [2021-03-24T17:33:27.185Z] # -> Force: false [2021-03-24T17:33:27.185Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-03-24T17:33:27.201Z] $ docker exec --env ******** --env ******** 269fc96af6e3dc8f745f293bc0f2768ab7d8c4ebdcf38822c1071f4c47534560 ssh-agent -k [2021-03-24T17:33:27.335Z] unset SSH_AUTH_SOCK; [2021-03-24T17:33:27.335Z] unset SSH_AGENT_PID; [2021-03-24T17:33:27.336Z] echo Agent pid 52 killed; [2021-03-24T17:33:27.385Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-24T17:33:27.863Z] + git semver [Pipeline] } [2021-03-24T17:33:27.883Z] $ docker stop --time=1 269fc96af6e3dc8f745f293bc0f2768ab7d8c4ebdcf38822c1071f4c47534560 [2021-03-24T17:33:29.399Z] $ docker rm -f 269fc96af6e3dc8f745f293bc0f2768ab7d8c4ebdcf38822c1071f4c47534560 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-24T17:33:29.977Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-24T17:33:30.466Z] Stashed 1 file(s) [Pipeline] echo [2021-03-24T17:33:30.469Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.32 [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-24T17:33:46.015Z] Still waiting to schedule task [2021-03-24T17:33:46.016Z] ‘prd-centos7-blackbox-4c-2g-30704’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-31230’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-27930’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-30485’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-30654’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-03-24T17:33:46.018Z] Still waiting to schedule task [2021-03-24T17:33:46.018Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-24T17:35:37.396Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-31232 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-03-24T17:35:37.458Z] Running in /w/workspace/app-functions-sdk-go/199 [Pipeline] { [Pipeline] checkout [2021-03-24T17:35:42.747Z] using credential edgex-jenkins-ssh [2021-03-24T17:35:42.835Z] Cloning the remote Git repository [2021-03-24T17:35:42.907Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-24T17:35:43.021Z] > git init /w/workspace/app-functions-sdk-go/199 # timeout=10 [2021-03-24T17:35:43.115Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-24T17:35:43.116Z] > git --version # timeout=10 [2021-03-24T17:35:43.137Z] > git --version # 'git version 2.17.1' [2021-03-24T17:35:43.139Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-24T17:35:43.205Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-24T17:35:43.812Z] Running on prd-centos7-docker-4c-2g-31231 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-03-24T17:35:43.862Z] Running in /w/workspace/app-functions-sdk-go/199 [Pipeline] { [Pipeline] checkout [2021-03-24T17:35:46.129Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-24T17:35:46.162Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-24T17:35:46.188Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-24T17:35:46.229Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-24T17:35:46.230Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-24T17:35:46.245Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-24T17:35:46.728Z] Checking out Revision bc088263485211e0f4800c9deb83e8b0a3e27248 (master) [2021-03-24T17:35:46.756Z] > git config core.sparsecheckout # timeout=10 [2021-03-24T17:35:46.812Z] > git checkout -f bc088263485211e0f4800c9deb83e8b0a3e27248 # timeout=10 [2021-03-24T17:35:51.212Z] Commit message: "feat: Add custom structured configuration capability (#753)" [2021-03-24T17:35:51.395Z] using credential edgex-jenkins-ssh [2021-03-24T17:35:51.449Z] Cloning the remote Git repository [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-24T17:35:51.505Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-24T17:35:51.588Z] > git init /w/workspace/app-functions-sdk-go/199 # timeout=10 [2021-03-24T17:35:51.666Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-24T17:35:51.666Z] > git --version # timeout=10 [2021-03-24T17:35:51.681Z] > git --version # 'git version 2.24.3' [2021-03-24T17:35:51.682Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-24T17:35:51.727Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-24T17:35:52.687Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-24T17:35:53.090Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-24T17:35:53.433Z] + sudo service docker restart [2021-03-24T17:35:53.433Z] + true [2021-03-24T17:35:54.909Z] Checking out Revision bc088263485211e0f4800c9deb83e8b0a3e27248 (master) [2021-03-24T17:35:53.988Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-24T17:35:54.080Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-24T17:35:54.249Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-24T17:35:54.364Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-24T17:35:54.365Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-24T17:35:54.377Z] > 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-24T17:35:54.930Z] > git config core.sparsecheckout # timeout=10 [2021-03-24T17:35:54.958Z] > git checkout -f bc088263485211e0f4800c9deb83e8b0a3e27248 # timeout=10 [Pipeline] unstash [Pipeline] echo [2021-03-24T17:35:56.379Z] ========================================================= [2021-03-24T17:35:56.379Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-24T17:35:56.379Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-24T17:35:56.776Z] + 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-24T17:35:58.216Z] Sending build context to Docker daemon 19.38MB [2021-03-24T17:35:58.216Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-24T17:35:58.216Z] Step 2/8 : FROM ${BASE} [2021-03-24T17:35:58.493Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-24T17:35:58.493Z] 5f621e34cdf4: Pulling fs layer [2021-03-24T17:35:58.493Z] a4357932f1b6: Pulling fs layer [2021-03-24T17:35:58.493Z] 18c013af1878: Pulling fs layer [2021-03-24T17:35:58.493Z] 00ac8860ef70: Pulling fs layer [2021-03-24T17:35:58.493Z] 63d7cb157983: Pulling fs layer [2021-03-24T17:35:58.493Z] b116817d02f9: Pulling fs layer [2021-03-24T17:35:58.493Z] 745a02a5169b: Pulling fs layer [2021-03-24T17:35:58.493Z] 00ac8860ef70: Waiting [2021-03-24T17:35:58.493Z] 63d7cb157983: Waiting [2021-03-24T17:35:58.493Z] b116817d02f9: Waiting [2021-03-24T17:35:58.493Z] 745a02a5169b: Waiting [2021-03-24T17:35:58.493Z] 18c013af1878: Verifying Checksum [2021-03-24T17:35:58.493Z] 18c013af1878: Download complete [2021-03-24T17:35:58.493Z] a4357932f1b6: Verifying Checksum [2021-03-24T17:35:58.493Z] a4357932f1b6: Download complete [2021-03-24T17:35:58.493Z] 63d7cb157983: Download complete [2021-03-24T17:35:58.493Z] b116817d02f9: Verifying Checksum [2021-03-24T17:35:58.493Z] b116817d02f9: Download complete [2021-03-24T17:35:58.493Z] 5f621e34cdf4: Verifying Checksum [2021-03-24T17:35:58.493Z] 5f621e34cdf4: Download complete [2021-03-24T17:35:59.043Z] Commit message: "feat: Add custom structured configuration capability (#753)" [2021-03-24T17:35:59.095Z] 5f621e34cdf4: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2021-03-24T17:35:59.704Z] a4357932f1b6: Pull complete [Pipeline] sh [2021-03-24T17:35:59.984Z] 18c013af1878: Pull complete [2021-03-24T17:36:00.733Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-24T17:36:00.985Z] 745a02a5169b: Verifying Checksum [2021-03-24T17:36:00.985Z] 745a02a5169b: Download complete [2021-03-24T17:36:01.115Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-24T17:36:01.448Z] + sudo service docker restart [2021-03-24T17:36:01.448Z] + true [2021-03-24T17:36:01.448Z] Redirecting to /bin/systemctl restart docker.service [2021-03-24T17:36:02.469Z] 00ac8860ef70: Verifying Checksum [2021-03-24T17:36:02.469Z] 00ac8860ef70: Download complete [Pipeline] unstash [Pipeline] echo [2021-03-24T17:36:03.824Z] ========================================================= [2021-03-24T17:36:03.824Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-24T17:36:03.824Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-24T17:36:04.424Z] + 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-24T17:36:07.119Z] Sending build context to Docker daemon 19.38MB [2021-03-24T17:36:07.119Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-24T17:36:07.119Z] Step 2/8 : FROM ${BASE} [2021-03-24T17:36:07.119Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-24T17:36:07.119Z] 188c0c94c7c5: Pulling fs layer [2021-03-24T17:36:07.119Z] 0ef7d3d256c8: Pulling fs layer [2021-03-24T17:36:07.119Z] de9db76c5a1d: Pulling fs layer [2021-03-24T17:36:07.119Z] bca2f99d35d6: Pulling fs layer [2021-03-24T17:36:07.119Z] 93359f2a8cfa: Pulling fs layer [2021-03-24T17:36:07.119Z] 7c6f9722023f: Pulling fs layer [2021-03-24T17:36:07.119Z] a35cf1a2eb13: Pulling fs layer [2021-03-24T17:36:07.119Z] bca2f99d35d6: Waiting [2021-03-24T17:36:07.119Z] 93359f2a8cfa: Waiting [2021-03-24T17:36:07.119Z] 7c6f9722023f: Waiting [2021-03-24T17:36:07.119Z] a35cf1a2eb13: Waiting [2021-03-24T17:36:07.119Z] de9db76c5a1d: Verifying Checksum [2021-03-24T17:36:07.119Z] de9db76c5a1d: Download complete [2021-03-24T17:36:07.119Z] 0ef7d3d256c8: Download complete [2021-03-24T17:36:07.119Z] 93359f2a8cfa: Verifying Checksum [2021-03-24T17:36:07.119Z] 93359f2a8cfa: Download complete [2021-03-24T17:36:07.119Z] 7c6f9722023f: Verifying Checksum [2021-03-24T17:36:07.119Z] 7c6f9722023f: Download complete [2021-03-24T17:36:07.119Z] 188c0c94c7c5: Verifying Checksum [2021-03-24T17:36:07.119Z] 188c0c94c7c5: Download complete [2021-03-24T17:36:07.409Z] 188c0c94c7c5: Pull complete [2021-03-24T17:36:08.085Z] 0ef7d3d256c8: Pull complete [2021-03-24T17:36:08.362Z] de9db76c5a1d: Pull complete [2021-03-24T17:36:09.833Z] a35cf1a2eb13: Verifying Checksum [2021-03-24T17:36:09.833Z] a35cf1a2eb13: Download complete [2021-03-24T17:36:11.285Z] bca2f99d35d6: Verifying Checksum [2021-03-24T17:36:11.285Z] bca2f99d35d6: Download complete [2021-03-24T17:36:12.650Z] 00ac8860ef70: Pull complete [2021-03-24T17:36:12.650Z] 63d7cb157983: Pull complete [2021-03-24T17:36:12.650Z] b116817d02f9: Pull complete [2021-03-24T17:36:16.987Z] 745a02a5169b: Pull complete [2021-03-24T17:36:16.987Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-24T17:36:16.987Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-24T17:36:16.987Z] ---> b7e6874047d6 [2021-03-24T17:36:16.987Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-03-24T17:36:16.987Z] 20.10.0: Pulling from library/docker [2021-03-24T17:36:16.987Z] a3cc7d3b244e: Pulling fs layer [2021-03-24T17:36:16.987Z] 02a3295e0d61: Pulling fs layer [2021-03-24T17:36:16.987Z] 0f4f2e6d8100: Pulling fs layer [2021-03-24T17:36:16.987Z] 330b718f631f: Pulling fs layer [2021-03-24T17:36:16.987Z] a93816041522: Pulling fs layer [2021-03-24T17:36:16.987Z] bdb6da89ff94: Pulling fs layer [2021-03-24T17:36:16.987Z] 2a70c0c122f4: Pulling fs layer [2021-03-24T17:36:16.987Z] a93816041522: Waiting [2021-03-24T17:36:16.987Z] bdb6da89ff94: Waiting [2021-03-24T17:36:16.987Z] 2a70c0c122f4: Waiting [2021-03-24T17:36:16.987Z] 330b718f631f: Waiting [2021-03-24T17:36:16.987Z] 0f4f2e6d8100: Download complete [2021-03-24T17:36:16.987Z] 02a3295e0d61: Verifying Checksum [2021-03-24T17:36:16.987Z] 02a3295e0d61: Download complete [2021-03-24T17:36:16.987Z] a3cc7d3b244e: Verifying Checksum [2021-03-24T17:36:16.987Z] a93816041522: Verifying Checksum [2021-03-24T17:36:16.987Z] a93816041522: Download complete [2021-03-24T17:36:16.987Z] 2a70c0c122f4: Verifying Checksum [2021-03-24T17:36:16.987Z] 2a70c0c122f4: Download complete [2021-03-24T17:36:16.987Z] bdb6da89ff94: Verifying Checksum [2021-03-24T17:36:16.987Z] bdb6da89ff94: Download complete [2021-03-24T17:36:17.598Z] a3cc7d3b244e: Pull complete [2021-03-24T17:36:18.208Z] 02a3295e0d61: Pull complete [2021-03-24T17:36:18.483Z] 330b718f631f: Verifying Checksum [2021-03-24T17:36:18.483Z] 330b718f631f: Download complete [2021-03-24T17:36:18.754Z] 0f4f2e6d8100: Pull complete [2021-03-24T17:36:23.071Z] 330b718f631f: Pull complete [2021-03-24T17:36:23.071Z] a93816041522: Pull complete [2021-03-24T17:36:23.071Z] bdb6da89ff94: Pull complete [2021-03-24T17:36:23.344Z] 2a70c0c122f4: Pull complete [2021-03-24T17:36:23.344Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-03-24T17:36:23.344Z] Status: Downloaded newer image for docker:20.10.0 [2021-03-24T17:36:26.625Z] bca2f99d35d6: Pull complete [2021-03-24T17:36:26.625Z] 93359f2a8cfa: Pull complete [2021-03-24T17:36:26.625Z] 7c6f9722023f: Pull complete [2021-03-24T17:36:30.057Z] ---> b8064ff55099 [2021-03-24T17:36:30.058Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-03-24T17:36:30.058Z] ---> Running in ee3284f1362f [2021-03-24T17:36:30.058Z] Removing intermediate container ee3284f1362f [2021-03-24T17:36:30.058Z] ---> e386b14c7b48 [2021-03-24T17:36:30.058Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-03-24T17:36:30.058Z] ---> Running in 1f8c6e760a9a [2021-03-24T17:36:31.496Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-24T17:36:32.088Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-24T17:36:33.060Z] (1/5) Installing libsodium (1.0.18-r0) [2021-03-24T17:36:33.060Z] (2/5) Installing libzmq (4.3.3-r0) [2021-03-24T17:36:33.060Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-03-24T17:36:33.330Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-03-24T17:36:33.330Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-03-24T17:36:33.602Z] Executing busybox-1.31.1-r19.trigger [2021-03-24T17:36:33.603Z] OK: 144 MiB in 44 packages [2021-03-24T17:36:33.703Z] a35cf1a2eb13: Pull complete [2021-03-24T17:36:33.703Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-24T17:36:33.703Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-24T17:36:33.703Z] ---> a62c8e92a672 [2021-03-24T17:36:33.703Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-03-24T17:36:33.703Z] 20.10.0: Pulling from library/docker [2021-03-24T17:36:33.703Z] 05e7bc50f07f: Pulling fs layer [2021-03-24T17:36:33.703Z] 6db28d0fdbf6: Pulling fs layer [2021-03-24T17:36:33.703Z] 292df0bc6bf3: Pulling fs layer [2021-03-24T17:36:33.703Z] 2e060f4bd70b: Pulling fs layer [2021-03-24T17:36:33.703Z] 80e8d568a223: Pulling fs layer [2021-03-24T17:36:33.703Z] 8dc6ef1a942a: Pulling fs layer [2021-03-24T17:36:33.703Z] 2312dd95470a: Pulling fs layer [2021-03-24T17:36:33.703Z] 80e8d568a223: Waiting [2021-03-24T17:36:33.703Z] 8dc6ef1a942a: Waiting [2021-03-24T17:36:33.703Z] 2312dd95470a: Waiting [2021-03-24T17:36:33.703Z] 2e060f4bd70b: Waiting [2021-03-24T17:36:33.703Z] 292df0bc6bf3: Verifying Checksum [2021-03-24T17:36:33.703Z] 292df0bc6bf3: Download complete [2021-03-24T17:36:33.703Z] 6db28d0fdbf6: Verifying Checksum [2021-03-24T17:36:33.703Z] 6db28d0fdbf6: Download complete [2021-03-24T17:36:33.703Z] 05e7bc50f07f: Verifying Checksum [2021-03-24T17:36:33.703Z] 05e7bc50f07f: Download complete [2021-03-24T17:36:33.703Z] 80e8d568a223: Verifying Checksum [2021-03-24T17:36:33.703Z] 80e8d568a223: Download complete [2021-03-24T17:36:33.703Z] 8dc6ef1a942a: Verifying Checksum [2021-03-24T17:36:33.703Z] 8dc6ef1a942a: Download complete [2021-03-24T17:36:33.703Z] 2312dd95470a: Verifying Checksum [2021-03-24T17:36:33.703Z] 2312dd95470a: Download complete [2021-03-24T17:36:34.411Z] 05e7bc50f07f: Pull complete [2021-03-24T17:36:34.585Z] Removing intermediate container 1f8c6e760a9a [2021-03-24T17:36:34.585Z] ---> 07280b786568 [2021-03-24T17:36:34.585Z] Step 6/8 : WORKDIR /build [2021-03-24T17:36:34.857Z] ---> Running in b4587e16521a [2021-03-24T17:36:35.044Z] 6db28d0fdbf6: Pull complete [2021-03-24T17:36:35.321Z] 292df0bc6bf3: Pull complete [2021-03-24T17:36:35.449Z] Removing intermediate container b4587e16521a [2021-03-24T17:36:35.449Z] ---> 1288e7eed371 [2021-03-24T17:36:35.450Z] Step 7/8 : COPY go.mod . [2021-03-24T17:36:36.048Z] ---> 6156012e1484 [2021-03-24T17:36:36.048Z] Step 8/8 : RUN go mod download [2021-03-24T17:36:36.048Z] ---> Running in b3c0047551d4 [2021-03-24T17:36:36.306Z] 2e060f4bd70b: Verifying Checksum [2021-03-24T17:36:36.306Z] 2e060f4bd70b: Download complete [2021-03-24T17:36:43.215Z] 2e060f4bd70b: Pull complete [2021-03-24T17:36:43.535Z] 80e8d568a223: Pull complete [2021-03-24T17:36:44.139Z] 8dc6ef1a942a: Pull complete [2021-03-24T17:36:44.139Z] 2312dd95470a: Pull complete [2021-03-24T17:36:44.139Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-03-24T17:36:44.139Z] Status: Downloaded newer image for docker:20.10.0 [2021-03-24T17:36:46.217Z] ---> d18a13fd8852 [2021-03-24T17:36:46.217Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-03-24T17:36:46.483Z] ---> Running in 57af68ad84c2 [2021-03-24T17:36:46.779Z] Removing intermediate container 57af68ad84c2 [2021-03-24T17:36:46.779Z] ---> 5be8e4d7f4ee [2021-03-24T17:36:46.779Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-03-24T17:36:46.779Z] ---> Running in 6ed5a647ee10 [2021-03-24T17:36:48.925Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-24T17:36:49.573Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-24T17:36:50.204Z] (1/5) Installing libsodium (1.0.18-r0) [2021-03-24T17:36:50.204Z] (2/5) Installing libzmq (4.3.3-r0) [2021-03-24T17:36:50.479Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-03-24T17:36:50.479Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-03-24T17:36:50.479Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-03-24T17:36:50.763Z] Executing busybox-1.31.1-r19.trigger [2021-03-24T17:36:50.763Z] OK: 167 MiB in 44 packages [2021-03-24T17:36:51.825Z] Removing intermediate container 6ed5a647ee10 [2021-03-24T17:36:51.825Z] ---> 09fa8170036f [2021-03-24T17:36:51.825Z] Step 6/8 : WORKDIR /build [2021-03-24T17:36:52.138Z] ---> Running in 70093fb21dba [2021-03-24T17:36:52.432Z] Removing intermediate container 70093fb21dba [2021-03-24T17:36:52.432Z] ---> cf27c37d622b [2021-03-24T17:36:52.432Z] Step 7/8 : COPY go.mod . [2021-03-24T17:36:53.035Z] ---> df5492fe8252 [2021-03-24T17:36:53.035Z] Step 8/8 : RUN go mod download [2021-03-24T17:36:53.035Z] ---> Running in d483eea6336e [2021-03-24T17:37:02.919Z] Removing intermediate container b3c0047551d4 [2021-03-24T17:37:02.919Z] ---> 904440757873 [2021-03-24T17:37:02.919Z] Successfully built 904440757873 [2021-03-24T17:37:02.919Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-24T17:37:03.266Z] + docker inspect -f . ci-base-image-arm64 [2021-03-24T17:37:03.266Z] . [Pipeline] withDockerContainer [2021-03-24T17:37:03.550Z] prd-ubuntu18.04-docker-arm64-4c-16g-31232 does not seem to be running inside a container [2021-03-24T17:37:03.647Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/199 -v /w/workspace/app-functions-sdk-go/199:/w/workspace/app-functions-sdk-go/199:rw,z -v /w/workspace/app-functions-sdk-go/199@tmp:/w/workspace/app-functions-sdk-go/199@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-24T17:37:05.082Z] $ docker top daba2523f64109136418184b51c2098bc52e1422155c8a1d80f8ee469d38b1eb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-24T17:37:06.060Z] + go version [2021-03-24T17:37:06.060Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-24T17:37:06.089Z] $ docker stop --time=1 daba2523f64109136418184b51c2098bc52e1422155c8a1d80f8ee469d38b1eb [2021-03-24T17:37:08.003Z] $ docker rm -f daba2523f64109136418184b51c2098bc52e1422155c8a1d80f8ee469d38b1eb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-24T17:37:09.068Z] + docker inspect -f . ci-base-image-arm64 [2021-03-24T17:37:09.068Z] . [Pipeline] withDockerContainer [2021-03-24T17:37:09.335Z] prd-ubuntu18.04-docker-arm64-4c-16g-31232 does not seem to be running inside a container [2021-03-24T17:37:09.454Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/199 -v /w/workspace/app-functions-sdk-go/199:/w/workspace/app-functions-sdk-go/199:rw,z -v /w/workspace/app-functions-sdk-go/199@tmp:/w/workspace/app-functions-sdk-go/199@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-24T17:37:10.923Z] $ docker top e63c2effbc4d840d769aeb52e054589e6354595633a495ba12d417322ca261b5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-24T17:37:12.014Z] + make test [2021-03-24T17:37:12.014Z] make -C ./app-service-template build [2021-03-24T17:37:12.014Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/199/app-service-template' [2021-03-24T17:37:12.014Z] 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-24T17:37:40.736Z] Removing intermediate container d483eea6336e [2021-03-24T17:37:40.736Z] ---> dbe6fc5446c0 [2021-03-24T17:37:40.736Z] Successfully built dbe6fc5446c0 [2021-03-24T17:37:40.736Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-24T17:37:41.118Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-24T17:37:42.249Z] . [Pipeline] withDockerContainer [2021-03-24T17:37:42.837Z] prd-centos7-docker-4c-2g-31231 does not seem to be running inside a container [2021-03-24T17:37:43.060Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/199 -v /w/workspace/app-functions-sdk-go/199:/w/workspace/app-functions-sdk-go/199:rw,z -v /w/workspace/app-functions-sdk-go/199@tmp:/w/workspace/app-functions-sdk-go/199@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-24T17:37:44.386Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/199/app-service-template' [2021-03-24T17:37:44.386Z] make -C ./app-service-template test [2021-03-24T17:37:44.386Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/199/app-service-template' [2021-03-24T17:37:44.386Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-03-24T17:37:45.867Z] $ docker top da225c707425f33e0442b4c4d6c84e4145c94647b6329dc6560a34e5447a489b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-24T17:37:47.023Z] + go version [2021-03-24T17:37:47.322Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-24T17:37:47.370Z] $ docker stop --time=1 da225c707425f33e0442b4c4d6c84e4145c94647b6329dc6560a34e5447a489b [2021-03-24T17:37:49.561Z] $ docker rm -f da225c707425f33e0442b4c4d6c84e4145c94647b6329dc6560a34e5447a489b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-24T17:37:50.811Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-24T17:37:50.811Z] . [Pipeline] withDockerContainer [2021-03-24T17:37:51.073Z] prd-centos7-docker-4c-2g-31231 does not seem to be running inside a container [2021-03-24T17:37:51.273Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/199 -v /w/workspace/app-functions-sdk-go/199:/w/workspace/app-functions-sdk-go/199:rw,z -v /w/workspace/app-functions-sdk-go/199@tmp:/w/workspace/app-functions-sdk-go/199@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-24T17:37:53.735Z] $ docker top 91f1e18b2931b50e3628deb73277c36b53196baf8435c6333649c0c50edf3796 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-24T17:37:54.711Z] + make test [2021-03-24T17:37:54.989Z] make -C ./app-service-template build [2021-03-24T17:37:54.989Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/199/app-service-template' [2021-03-24T17:37:54.989Z] 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-24T17:38:11.257Z] ok new-app-service 0.037s coverage: 47.8% of statements [2021-03-24T17:38:11.257Z] ? new-app-service/config [no test files] [2021-03-24T17:38:11.257Z] ok new-app-service/functions 0.027s [2021-03-24T17:38:11.257Z] CGO_ENABLED=1 go vet ./... [2021-03-24T17:38:19.570Z] gofmt -l . [2021-03-24T17:38:19.570Z] [ "`gofmt -l .`" = "" ] [2021-03-24T17:38:19.570Z] ./bin/test-go-mod-tidy.sh [2021-03-24T17:38:19.570Z] ./bin/test-attribution-txt.sh [2021-03-24T17:38:20.551Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/199/app-service-template' [2021-03-24T17:38:20.551Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-03-24T17:38:21.988Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-03-24T17:38:29.848Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/199/app-service-template' [2021-03-24T17:38:29.848Z] make -C ./app-service-template test [2021-03-24T17:38:29.848Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/199/app-service-template' [2021-03-24T17:38:29.848Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-03-24T17:38:32.175Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.056s coverage: 55.4% of statements [2021-03-24T17:38:32.175Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.034s coverage: 92.5% of statements [2021-03-24T17:38:32.175Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-03-24T17:38:32.175Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.076s coverage: 61.5% of statements [2021-03-24T17:38:32.175Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-03-24T17:38:32.175Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.024s [2021-03-24T17:38:32.176Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.070s coverage: 75.4% of statements [2021-03-24T17:38:32.176Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-03-24T17:38:32.176Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-03-24T17:38:32.176Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-03-24T17:38:32.176Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-03-24T17:38:32.176Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-03-24T17:38:32.176Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-03-24T17:38:32.176Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.037s coverage: 97.0% of statements [2021-03-24T17:38:32.176Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-03-24T17:38:32.176Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.057s coverage: 10.5% of statements [2021-03-24T17:38:36.517Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.873s coverage: 78.4% of statements [2021-03-24T17:38:36.517Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-03-24T17:38:36.517Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.051s coverage: 20.0% of statements [2021-03-24T17:38:36.517Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.060s coverage: 27.3% of statements [2021-03-24T17:38:36.517Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-03-24T17:38:36.517Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-03-24T17:38:36.517Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.074s coverage: 71.7% of statements [2021-03-24T17:38:48.803Z] ok new-app-service 0.040s coverage: 47.8% of statements [2021-03-24T17:38:48.803Z] ? new-app-service/config [no test files] [2021-03-24T17:38:48.803Z] ok new-app-service/functions 0.075s [2021-03-24T17:38:48.803Z] CGO_ENABLED=1 go vet ./... [2021-03-24T17:38:55.823Z] gofmt -l . [2021-03-24T17:38:55.823Z] [ "`gofmt -l .`" = "" ] [2021-03-24T17:38:55.823Z] ./bin/test-go-mod-tidy.sh [2021-03-24T17:38:56.802Z] ./bin/test-attribution-txt.sh [2021-03-24T17:38:57.830Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/199/app-service-template' [2021-03-24T17:38:57.830Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-03-24T17:38:58.467Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-03-24T17:39:02.894Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.069s coverage: 55.4% of statements [2021-03-24T17:39:02.894Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.022s coverage: 92.5% of statements [2021-03-24T17:39:02.894Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-03-24T17:39:02.894Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.068s coverage: 61.5% of statements [2021-03-24T17:39:02.894Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-03-24T17:39:02.894Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.043s [2021-03-24T17:39:02.894Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.048s coverage: 75.4% of statements [2021-03-24T17:39:02.894Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-03-24T17:39:02.894Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-03-24T17:39:02.894Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-03-24T17:39:02.894Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-03-24T17:39:02.894Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-03-24T17:39:02.894Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-03-24T17:39:02.894Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.058s coverage: 97.0% of statements [2021-03-24T17:39:02.894Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-03-24T17:39:03.198Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.025s coverage: 10.5% of statements [2021-03-24T17:39:03.289Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.079s coverage: 81.9% of statements [2021-03-24T17:39:03.289Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.024s coverage: 94.4% of statements [2021-03-24T17:39:03.289Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-03-24T17:39:06.695Z] gofmt -l . [2021-03-24T17:39:06.968Z] [ "`gofmt -l .`" = "" ] [2021-03-24T17:39:07.244Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-24T17:39:07.860Z] $ docker stop --time=1 e63c2effbc4d840d769aeb52e054589e6354595633a495ba12d417322ca261b5 [2021-03-24T17:39:08.609Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.803s coverage: 78.4% of statements [2021-03-24T17:39:08.609Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-03-24T17:39:08.609Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.025s coverage: 20.0% of statements [2021-03-24T17:39:08.609Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.035s coverage: 27.3% of statements [2021-03-24T17:39:08.609Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-03-24T17:39:08.609Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-03-24T17:39:08.609Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.019s coverage: 71.7% of statements [2021-03-24T17:39:09.904Z] $ docker rm -f e63c2effbc4d840d769aeb52e054589e6354595633a495ba12d417322ca261b5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-24T17:39:10.808Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-24T17:39:11.612Z] 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-24T17:39:12.685Z] ---> job-cost.sh [2021-03-24T17:39:12.685Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-BqeR [2021-03-24T17:39:35.308Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.056s coverage: 81.9% of statements [2021-03-24T17:39:35.308Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.014s coverage: 94.4% of statements [2021-03-24T17:39:35.308Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-03-24T17:39:35.308Z] gofmt -l . [2021-03-24T17:39:35.308Z] [ "`gofmt -l .`" = "" ] [2021-03-24T17:39:35.308Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-24T17:39:35.336Z] $ docker stop --time=1 91f1e18b2931b50e3628deb73277c36b53196baf8435c6333649c0c50edf3796 [2021-03-24T17:39:37.545Z] $ docker rm -f 91f1e18b2931b50e3628deb73277c36b53196baf8435c6333649c0c50edf3796 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-24T17:39:38.337Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-24T17:39:38.358Z] Warning: overwriting stash ‘coverage-report’ [2021-03-24T17:39:39.061Z] 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-24T17:39:40.118Z] ---> job-cost.sh [2021-03-24T17:39:40.118Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-PABC [2021-03-24T17:39:51.883Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-24T17:40:06.879Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-24T17:40:54.261Z] lf-activate-venv(): INFO: Adding /tmp/venv-PABC/bin to PATH [2021-03-24T17:40:54.262Z] INFO: No Stack... [2021-03-24T17:40:54.262Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-24T17:40:54.262Z] INFO: Archiving Costs [Pipeline] sh [2021-03-24T17:40:54.616Z] + cat /w/workspace/app-functions-sdk-go/199/archives/cost.csv [2021-03-24T17:40:54.616Z] + cut -d, -f6 [Pipeline] lock [2021-03-24T17:40:54.734Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-199-stack-cost] [2021-03-24T17:40:54.748Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-199-stack-cost] did not exist. Created. [2021-03-24T17:40:54.749Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-199-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-24T17:40:55.175Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-24T17:40:55.405Z] Stashed 1 file(s) [Pipeline] } [2021-03-24T17:40:55.419Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-199-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-24T17:41:13.600Z] lf-activate-venv(): INFO: Adding /tmp/venv-BqeR/bin to PATH [2021-03-24T17:41:13.600Z] INFO: No Stack... [2021-03-24T17:41:13.600Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-24T17:41:14.189Z] INFO: Archiving Costs [Pipeline] sh [2021-03-24T17:41:14.535Z] + cat /w/workspace/app-functions-sdk-go/199/archives/cost.csv [2021-03-24T17:41:14.535Z] + cut -d, -f6 [Pipeline] lock [2021-03-24T17:41:14.653Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-199-stack-cost] [2021-03-24T17:41:14.706Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-199-stack-cost] did not exist. Created. [2021-03-24T17:41:14.707Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-199-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-24T17:41:15.145Z] /w/workspace/app-functions-sdk-go/199@tmp/durable-ac77a762/script.sh: 1: /w/workspace/app-functions-sdk-go/199@tmp/durable-ac77a762/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-24T17:41:15.486Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-24T17:41:15.550Z] Warning: overwriting stash ‘stack-cost’ [2021-03-24T17:41:15.722Z] Stashed 1 file(s) [Pipeline] } [2021-03-24T17:41:15.738Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-199-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-24T17:41:16.961Z] provisioning config files... [2021-03-24T17:41:17.018Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config6555006837217256219tmp [Pipeline] { [Pipeline] sh [2021-03-24T17:41:17.395Z] + set +x [2021-03-24T17:41:17.395Z] + curl -s https://codecov.io/bash [2021-03-24T17:41:17.395Z] + bash -s -- [2021-03-24T17:41:17.660Z] [2021-03-24T17:41:17.660Z] _____ _ [2021-03-24T17:41:17.660Z] / ____| | | [2021-03-24T17:41:17.660Z] | | ___ __| | ___ ___ _____ __ [2021-03-24T17:41:17.660Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-24T17:41:17.660Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-24T17:41:17.660Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-24T17:41:17.660Z] Bash-20210309-2b87ace [2021-03-24T17:41:17.660Z] [2021-03-24T17:41:17.660Z] [2021-03-24T17:41:17.660Z] ==> git version 2.24.3 found [2021-03-24T17:41:17.660Z] ==> 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-24T17:41:17.660Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-24T17:41:17.660Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-24T17:41:17.660Z] curl: option -sm: expected a proper numerical parameter [2021-03-24T17:41:17.660Z] curl: try 'curl --help' or 'curl --manual' for more information [2021-03-24T17:41:17.660Z] ==> Jenkins CI detected. [2021-03-24T17:41:17.660Z] project root: . [2021-03-24T17:41:17.660Z] --> token set from env [2021-03-24T17:41:17.660Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-24T17:41:17.660Z] ==> Running gcov in . (disable via -X gcov) [2021-03-24T17:41:17.660Z] ==> Python coveragepy not found [2021-03-24T17:41:17.660Z] ==> Searching for coverage reports in: [2021-03-24T17:41:17.660Z] + . [2021-03-24T17:41:17.660Z] -> Found 2 reports [2021-03-24T17:41:17.660Z] ==> Detecting git/mercurial file structure [2021-03-24T17:41:17.660Z] ==> Reading reports [2021-03-24T17:41:17.660Z] + ./app-service-template/coverage.out bytes=1055 [2021-03-24T17:41:17.660Z] + ./coverage.out bytes=86096 [2021-03-24T17:41:17.660Z] ==> Appending adjustments [2021-03-24T17:41:17.660Z] https://docs.codecov.io/docs/fixing-reports [2021-03-24T17:41:18.235Z] + Found adjustments [2021-03-24T17:41:18.235Z] ==> Gzipping contents [2021-03-24T17:41:18.235Z] 16K /tmp/codecov.OhGYBr.gz [2021-03-24T17:41:18.235Z] ==> Uploading reports [2021-03-24T17:41:18.235Z] url: https://codecov.io [2021-03-24T17:41:18.235Z] query: branch=master&commit=bc088263485211e0f4800c9deb83e8b0a3e27248&build=199&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F199%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-03-24T17:41:18.235Z] -> Pinging Codecov [2021-03-24T17:41:18.235Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=master&commit=bc088263485211e0f4800c9deb83e8b0a3e27248&build=199&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F199%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-03-24T17:41:18.809Z] -> Uploading to [2021-03-24T17:41:18.810Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-24/3D8B5DFFC46A037C893635FACE044666/bc088263485211e0f4800c9deb83e8b0a3e27248/063f4421-6f83-4383-8c5d-c44c9ae24f58.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210324%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210324T174118Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2b52ec7c0d2811c1a403db34417820dc9fbd222d80ec51eaf7113a3e308f58a3 [2021-03-24T17:41:18.810Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-24T17:41:18.810Z] Dload Upload Total Spent Left Speed [2021-03-24T17:41:19.382Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15196 0 0 100 15196 0 29595 --:--:-- --:--:-- --:--:-- 29621 [2021-03-24T17:41:19.382Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/bc088263485211e0f4800c9deb83e8b0a3e27248 [Pipeline] } [2021-03-24T17:41:19.392Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-03-24T17:41:20.274Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-03-24T17:41:20.332Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-24T17:41:20.745Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-24T17:41:20.745Z] [2021-03-24T17:41:20.745Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-03-24T17:41:21.099Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-24T17:41:21.100Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-03-24T17:41:21.100Z] 188c0c94c7c5: Pulling fs layer [2021-03-24T17:41:21.100Z] 0ef7d3d256c8: Pulling fs layer [2021-03-24T17:41:21.100Z] de9db76c5a1d: Pulling fs layer [2021-03-24T17:41:21.100Z] 0eba1c9be4d2: Pulling fs layer [2021-03-24T17:41:21.100Z] 0d57e429df01: Pulling fs layer [2021-03-24T17:41:21.100Z] 4e4be7b47b0d: Pulling fs layer [2021-03-24T17:41:21.100Z] e1f770b5df2f: Pulling fs layer [2021-03-24T17:41:21.100Z] 85a0685a4137: Pulling fs layer [2021-03-24T17:41:21.100Z] 0eba1c9be4d2: Waiting [2021-03-24T17:41:21.100Z] 0d57e429df01: Waiting [2021-03-24T17:41:21.100Z] 4e4be7b47b0d: Waiting [2021-03-24T17:41:21.100Z] e1f770b5df2f: Waiting [2021-03-24T17:41:21.100Z] 85a0685a4137: Waiting [2021-03-24T17:41:21.100Z] de9db76c5a1d: Verifying Checksum [2021-03-24T17:41:21.100Z] de9db76c5a1d: Download complete [2021-03-24T17:41:21.100Z] 0ef7d3d256c8: Verifying Checksum [2021-03-24T17:41:21.100Z] 0ef7d3d256c8: Download complete [2021-03-24T17:41:21.100Z] 0d57e429df01: Download complete [2021-03-24T17:41:21.100Z] 188c0c94c7c5: Verifying Checksum [2021-03-24T17:41:21.100Z] 188c0c94c7c5: Download complete [2021-03-24T17:41:21.100Z] 4e4be7b47b0d: Verifying Checksum [2021-03-24T17:41:21.100Z] 4e4be7b47b0d: Download complete [2021-03-24T17:41:21.683Z] 188c0c94c7c5: Pull complete [2021-03-24T17:41:21.683Z] 0ef7d3d256c8: Pull complete [2021-03-24T17:41:21.946Z] de9db76c5a1d: Pull complete [2021-03-24T17:41:22.899Z] e1f770b5df2f: Verifying Checksum [2021-03-24T17:41:22.899Z] e1f770b5df2f: Download complete [2021-03-24T17:41:25.480Z] 0eba1c9be4d2: Verifying Checksum [2021-03-24T17:41:25.480Z] 0eba1c9be4d2: Download complete [2021-03-24T17:41:25.480Z] 85a0685a4137: Verifying Checksum [2021-03-24T17:41:25.480Z] 85a0685a4137: Download complete [2021-03-24T17:41:32.096Z] 0eba1c9be4d2: Pull complete [2021-03-24T17:41:32.096Z] 0d57e429df01: Pull complete [2021-03-24T17:41:32.096Z] 4e4be7b47b0d: Pull complete [2021-03-24T17:41:34.027Z] e1f770b5df2f: Pull complete [2021-03-24T17:41:42.232Z] 85a0685a4137: Pull complete [2021-03-24T17:41:42.232Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-03-24T17:41:42.232Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-24T17:41:42.232Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-03-24T17:41:42.457Z] prd-centos7-docker-4c-2g-31229 does not seem to be running inside a container [2021-03-24T17:41:42.511Z] $ 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-24T17:41:43.464Z] $ docker top 05b8c2415af674b6c1b6ffe5de9b6215a23dc61ee59f64d7a1e131b0642e0f67 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-03-24T17:41:43.758Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-03-24T17:41:44.058Z] + set -o pipefail [2021-03-24T17:41:44.058Z] + snyk monitor '--org=edgex-jenkins' [2021-03-24T17:42:06.060Z] [2021-03-24T17:42:06.060Z] Monitoring /w/workspace/ndry_app-functions-sdk-go_master (github.com/edgexfoundry/app-functions-sdk-go/v2)... [2021-03-24T17:42:06.060Z] [2021-03-24T17:42:06.060Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/150c48cd-5c5b-4a36-9677-0685a9173ec7 [2021-03-24T17:42:06.060Z] [2021-03-24T17:42:06.060Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-03-24T17:42:06.060Z] [2021-03-24T17:42:06.060Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-03-24T17:42:06.060Z] [2021-03-24T17:42:06.060Z] [Pipeline] } [2021-03-24T17:42:06.079Z] $ docker stop --time=1 05b8c2415af674b6c1b6ffe5de9b6215a23dc61ee59f64d7a1e131b0642e0f67 [2021-03-24T17:42:10.210Z] $ docker rm -f 05b8c2415af674b6c1b6ffe5de9b6215a23dc61ee59f64d7a1e131b0642e0f67 [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-24T17:42:11.530Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-24T17:42:11.583Z] provisioning config files... [2021-03-24T17:42:11.596Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config3146453141877528837tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-24T17:42:11.980Z] --> edgex-publish-swagger.sh [2021-03-24T17:42:11.981Z] === Publish openapi/v2 API === [2021-03-24T17:42:11.981Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-03-24T17:42:11.981Z] [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/ndry_app-functions-sdk-go_master/openapi/v2/app-functions-sdk.yaml] [2021-03-24T17:42:11.981Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-24T17:42:11.981Z] Dload Upload Total Spent Left Speed [2021-03-24T17:42:13.378Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13052 0 0 100 13052 0 10952 0:00:01 0:00:01 --:--:-- 10968 100 13052 0 0 100 13052 0 10950 0:00:01 0:00:01 --:--:-- 10958 [2021-03-24T17:42:13.378Z] [2021-03-24T17:42:13.378Z] [Pipeline] } [2021-03-24T17:42:13.419Z] 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-24T17:42:14.253Z] + git log --format=format:%s -1 bc088263485211e0f4800c9deb83e8b0a3e27248 [Pipeline] isUnix [Pipeline] sh [2021-03-24T17:42:14.565Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-24T17:42:14.565Z] . [Pipeline] withDockerContainer [2021-03-24T17:42:14.716Z] prd-centos7-docker-4c-2g-31229 does not seem to be running inside a container [2021-03-24T17:42:14.763Z] $ 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-24T17:42:15.647Z] $ docker top 4af2ecbd26794c55c17cbd0e3ab03596a3a132258724681bc880ea377b79de3e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-24T17:42:15.928Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-24T17:42:15.928Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-24T17:42:16.186Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-24T17:42:16.189Z] $ docker exec 4af2ecbd26794c55c17cbd0e3ab03596a3a132258724681bc880ea377b79de3e ssh-agent [2021-03-24T17:42:16.361Z] SSH_AUTH_SOCK=/tmp/ssh-gsjWJ1lhluxb/agent.11 [2021-03-24T17:42:16.361Z] SSH_AGENT_PID=16 [2021-03-24T17:42:16.368Z] Running ssh-add (command line suppressed) [2021-03-24T17:42:16.498Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_2655285572251695947.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_2655285572251695947.key) [2021-03-24T17:42:16.557Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-24T17:42:16.893Z] + git semver tag [2021-03-24T17:42:16.893Z] # -> Open(): unable to determine branch for HEAD [2021-03-24T17:42:16.893Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-03-24T17:42:16.893Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-03-24T17:42:16.893Z] # $SEMVER_REMOTE_NAME = origin [2021-03-24T17:42:16.893Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-24T17:42:16.893Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-24T17:42:16.893Z] # $SEMVER_BRANCH = master [2021-03-24T17:42:16.893Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-03-24T17:42:16.893Z] # bc088263485211e0f4800c9deb83e8b0a3e27248 HEAD [2021-03-24T17:42:16.893Z] # -> Force: false [2021-03-24T17:42:16.893Z] # cac524dff64efc90a19fe6c3e0d8b822cf98f10a refs/tags/v2.0.0-dev.32 [Pipeline] } [2021-03-24T17:42:16.907Z] $ docker exec --env ******** --env ******** 4af2ecbd26794c55c17cbd0e3ab03596a3a132258724681bc880ea377b79de3e ssh-agent -k [2021-03-24T17:42:17.035Z] unset SSH_AUTH_SOCK; [2021-03-24T17:42:17.035Z] unset SSH_AGENT_PID; [2021-03-24T17:42:17.035Z] echo Agent pid 16 killed; [2021-03-24T17:42:17.089Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-24T17:42:17.555Z] + git semver [Pipeline] } [2021-03-24T17:42:17.573Z] $ docker stop --time=1 4af2ecbd26794c55c17cbd0e3ab03596a3a132258724681bc880ea377b79de3e [2021-03-24T17:42:18.925Z] $ docker rm -f 4af2ecbd26794c55c17cbd0e3ab03596a3a132258724681bc880ea377b79de3e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-03-24T17:42:19.536Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-24T17:42:19.536Z] [2021-03-24T17:42:19.536Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-03-24T17:42:19.883Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-24T17:42:19.883Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-03-24T17:42:19.883Z] ab5ef0e58194: Pulling fs layer [2021-03-24T17:42:19.883Z] 9712f1f96733: Pulling fs layer [2021-03-24T17:42:19.883Z] 63f879dbbcfc: Pulling fs layer [2021-03-24T17:42:19.883Z] 0d9ebad4ef96: Pulling fs layer [2021-03-24T17:42:19.883Z] e9a5061849ea: Pulling fs layer [2021-03-24T17:42:19.883Z] d747dcd14b5f: Pulling fs layer [2021-03-24T17:42:19.883Z] 2de7ff778b66: Pulling fs layer [2021-03-24T17:42:19.883Z] e9a5061849ea: Waiting [2021-03-24T17:42:19.883Z] d747dcd14b5f: Waiting [2021-03-24T17:42:19.883Z] 2de7ff778b66: Waiting [2021-03-24T17:42:19.883Z] 0d9ebad4ef96: Waiting [2021-03-24T17:42:19.883Z] 9712f1f96733: Verifying Checksum [2021-03-24T17:42:19.883Z] 9712f1f96733: Download complete [2021-03-24T17:42:21.282Z] 63f879dbbcfc: Verifying Checksum [2021-03-24T17:42:21.282Z] 63f879dbbcfc: Download complete [2021-03-24T17:42:21.549Z] e9a5061849ea: Verifying Checksum [2021-03-24T17:42:21.549Z] e9a5061849ea: Download complete [2021-03-24T17:42:21.549Z] d747dcd14b5f: Verifying Checksum [2021-03-24T17:42:21.549Z] d747dcd14b5f: Download complete [2021-03-24T17:42:21.818Z] 2de7ff778b66: Verifying Checksum [2021-03-24T17:42:21.818Z] 2de7ff778b66: Download complete [2021-03-24T17:42:22.081Z] 0d9ebad4ef96: Verifying Checksum [2021-03-24T17:42:22.081Z] 0d9ebad4ef96: Download complete [2021-03-24T17:42:22.344Z] ab5ef0e58194: Verifying Checksum [2021-03-24T17:42:22.344Z] ab5ef0e58194: Download complete [2021-03-24T17:42:27.856Z] ab5ef0e58194: Pull complete [2021-03-24T17:42:27.856Z] 9712f1f96733: Pull complete [2021-03-24T17:42:30.430Z] 63f879dbbcfc: Pull complete [2021-03-24T17:42:37.062Z] 0d9ebad4ef96: Pull complete [2021-03-24T17:42:38.009Z] e9a5061849ea: Pull complete [2021-03-24T17:42:38.271Z] d747dcd14b5f: Pull complete [2021-03-24T17:42:40.842Z] 2de7ff778b66: Pull complete [2021-03-24T17:42:40.842Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-03-24T17:42:40.842Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-24T17:42:40.842Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-03-24T17:42:41.054Z] prd-centos7-docker-4c-2g-31229 does not seem to be running inside a container [2021-03-24T17:42:41.102Z] $ 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-24T17:42:44.946Z] $ docker top 6ac886b38f9c1c1375cfc2a9c776d880d914167b970ecf6a6e5877a49c840914 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-03-24T17:42:45.268Z] provisioning config files... [2021-03-24T17:42:45.279Z] copy managed file [sigul-config] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config1782782935472846526tmp [2021-03-24T17:42:45.296Z] copy managed file [sigul-password] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config7962258394954205794tmp [2021-03-24T17:42:45.314Z] copy managed file [sigul-pki] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config6233154541893982539tmp [Pipeline] { [Pipeline] echo [2021-03-24T17:42:45.367Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-24T17:42:45.700Z] ---> sigul-configuration.sh [2021-03-24T17:42:45.700Z] gpg: directory `/root/.gnupg' created [2021-03-24T17:42:45.700Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-03-24T17:42:45.700Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-03-24T17:42:45.700Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-03-24T17:42:45.700Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-03-24T17:42:45.700Z] gpg: CAST5 encrypted data [2021-03-24T17:42:45.963Z] gpg: encrypted with 1 passphrase [2021-03-24T17:42:45.963Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-03-24T17:42:46.266Z] + mkdir /home/jenkins [2021-03-24T17:42:46.267Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-03-24T17:42:46.567Z] + 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-24T17:42:46.579Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-24T17:42:46.875Z] ---> sigul-install.sh [2021-03-24T17:42:55.034Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-03-24T17:42:55.333Z] + git tag --list [2021-03-24T17:42:55.333Z] v0.1.0 [2021-03-24T17:42:55.333Z] v0.1.1 [2021-03-24T17:42:55.333Z] v1.0.0 [2021-03-24T17:42:55.333Z] v1.1.0 [2021-03-24T17:42:55.333Z] v1.2.0 [2021-03-24T17:42:55.333Z] v1.3.0 [2021-03-24T17:42:55.333Z] v1.3.1 [2021-03-24T17:42:55.333Z] v1.3.1-dev.1 [2021-03-24T17:42:55.333Z] v1.3.2-dev.1 [2021-03-24T17:42:55.333Z] v2.0.0-dev.1 [2021-03-24T17:42:55.333Z] v2.0.0-dev.10 [2021-03-24T17:42:55.333Z] v2.0.0-dev.11 [2021-03-24T17:42:55.333Z] v2.0.0-dev.12 [2021-03-24T17:42:55.333Z] v2.0.0-dev.13 [2021-03-24T17:42:55.333Z] v2.0.0-dev.14 [2021-03-24T17:42:55.333Z] v2.0.0-dev.15 [2021-03-24T17:42:55.333Z] v2.0.0-dev.16 [2021-03-24T17:42:55.333Z] v2.0.0-dev.17 [2021-03-24T17:42:55.333Z] v2.0.0-dev.18 [2021-03-24T17:42:55.333Z] v2.0.0-dev.19 [2021-03-24T17:42:55.333Z] v2.0.0-dev.2 [2021-03-24T17:42:55.333Z] v2.0.0-dev.20 [2021-03-24T17:42:55.333Z] v2.0.0-dev.21 [2021-03-24T17:42:55.333Z] v2.0.0-dev.22 [2021-03-24T17:42:55.333Z] v2.0.0-dev.23 [2021-03-24T17:42:55.333Z] v2.0.0-dev.24 [2021-03-24T17:42:55.333Z] v2.0.0-dev.25 [2021-03-24T17:42:55.333Z] v2.0.0-dev.26 [2021-03-24T17:42:55.333Z] v2.0.0-dev.27 [2021-03-24T17:42:55.333Z] v2.0.0-dev.28 [2021-03-24T17:42:55.333Z] v2.0.0-dev.29 [2021-03-24T17:42:55.333Z] v2.0.0-dev.3 [2021-03-24T17:42:55.333Z] v2.0.0-dev.30 [2021-03-24T17:42:55.333Z] v2.0.0-dev.31 [2021-03-24T17:42:55.333Z] v2.0.0-dev.32 [2021-03-24T17:42:55.333Z] v2.0.0-dev.4 [2021-03-24T17:42:55.333Z] v2.0.0-dev.5 [2021-03-24T17:42:55.333Z] v2.0.0-dev.6 [2021-03-24T17:42:55.333Z] v2.0.0-dev.7 [2021-03-24T17:42:55.333Z] v2.0.0-dev.8 [2021-03-24T17:42:55.333Z] v2.0.0-dev.9 [Pipeline] sh [2021-03-24T17:42:55.634Z] + lftools sign git-tag v2.0.0-dev.32 [2021-03-24T17:42:57.028Z] Signing Git tag with Sigul... [2021-03-24T17:42:57.028Z] Signing v2.0.0-dev.32 [Pipeline] echo [2021-03-24T17:42:58.431Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-24T17:42:58.729Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-03-24T17:42:58.739Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-03-24T17:42:58.831Z] $ docker stop --time=1 6ac886b38f9c1c1375cfc2a9c776d880d914167b970ecf6a6e5877a49c840914 [2021-03-24T17:43:00.984Z] $ docker rm -f 6ac886b38f9c1c1375cfc2a9c776d880d914167b970ecf6a6e5877a49c840914 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-03-24T17:43:01.905Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-24T17:43:01.906Z] . [Pipeline] withDockerContainer [2021-03-24T17:43:02.014Z] prd-centos7-docker-4c-2g-31229 does not seem to be running inside a container [2021-03-24T17:43:02.063Z] $ 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-24T17:43:02.890Z] $ docker top 4bf37985705da20a16b45eec83a91a6e6af598f7f72afd84d4885507c3a19006 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-24T17:43:03.303Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-24T17:43:03.303Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-24T17:43:03.527Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-24T17:43:03.531Z] $ docker exec 4bf37985705da20a16b45eec83a91a6e6af598f7f72afd84d4885507c3a19006 ssh-agent [2021-03-24T17:43:03.712Z] SSH_AUTH_SOCK=/tmp/ssh-nkt4C3FrJgoC/agent.12 [2021-03-24T17:43:03.712Z] SSH_AGENT_PID=17 [2021-03-24T17:43:03.719Z] Running ssh-add (command line suppressed) [2021-03-24T17:43:03.855Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_3519137413977653988.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_3519137413977653988.key) [2021-03-24T17:43:03.915Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-24T17:43:04.251Z] + git semver bump pre [2021-03-24T17:43:04.251Z] # -> Open(): unable to determine branch for HEAD [2021-03-24T17:43:04.251Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-03-24T17:43:04.251Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-03-24T17:43:04.251Z] # $SEMVER_REMOTE_NAME = origin [2021-03-24T17:43:04.251Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-24T17:43:04.251Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-24T17:43:04.251Z] # $SEMVER_BRANCH = master [2021-03-24T17:43:04.251Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-03-24T17:43:04.251Z] 2.0.0-dev.33 [Pipeline] } [2021-03-24T17:43:04.265Z] $ docker exec --env ******** --env ******** 4bf37985705da20a16b45eec83a91a6e6af598f7f72afd84d4885507c3a19006 ssh-agent -k [2021-03-24T17:43:04.409Z] unset SSH_AUTH_SOCK; [2021-03-24T17:43:04.409Z] unset SSH_AGENT_PID; [2021-03-24T17:43:04.409Z] echo Agent pid 17 killed; [2021-03-24T17:43:04.459Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-24T17:43:04.929Z] + git semver [Pipeline] } [2021-03-24T17:43:04.947Z] $ docker stop --time=1 4bf37985705da20a16b45eec83a91a6e6af598f7f72afd84d4885507c3a19006 [2021-03-24T17:43:06.368Z] $ docker rm -f 4bf37985705da20a16b45eec83a91a6e6af598f7f72afd84d4885507c3a19006 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-03-24T17:43:06.916Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-24T17:43:06.916Z] . [Pipeline] withDockerContainer [2021-03-24T17:43:07.037Z] prd-centos7-docker-4c-2g-31229 does not seem to be running inside a container [2021-03-24T17:43:07.084Z] $ 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-24T17:43:07.814Z] $ docker top c9114270a915572666040d1b1b1366e86d84e1475c702e033c18727011f6ad94 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-24T17:43:08.092Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-24T17:43:08.092Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-24T17:43:08.318Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-24T17:43:08.321Z] $ docker exec c9114270a915572666040d1b1b1366e86d84e1475c702e033c18727011f6ad94 ssh-agent [2021-03-24T17:43:08.499Z] SSH_AUTH_SOCK=/tmp/ssh-HjTdqs9G92qE/agent.11 [2021-03-24T17:43:08.499Z] SSH_AGENT_PID=17 [2021-03-24T17:43:08.506Z] Running ssh-add (command line suppressed) [2021-03-24T17:43:08.639Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4307340980516058349.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4307340980516058349.key) [2021-03-24T17:43:08.700Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-24T17:43:09.034Z] + git semver push [2021-03-24T17:43:09.034Z] # -> Open(): unable to determine branch for HEAD [2021-03-24T17:43:09.034Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-03-24T17:43:09.034Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-03-24T17:43:09.034Z] # $SEMVER_REMOTE_NAME = origin [2021-03-24T17:43:09.034Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-24T17:43:09.034Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-24T17:43:09.034Z] # $SEMVER_BRANCH = master [2021-03-24T17:43:09.034Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-03-24T17:43:13.289Z] $ docker exec --env ******** --env ******** c9114270a915572666040d1b1b1366e86d84e1475c702e033c18727011f6ad94 ssh-agent -k [2021-03-24T17:43:13.442Z] unset SSH_AUTH_SOCK; [2021-03-24T17:43:13.444Z] unset SSH_AGENT_PID; [2021-03-24T17:43:13.444Z] echo Agent pid 17 killed; [2021-03-24T17:43:13.510Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-24T17:43:13.974Z] + git semver [Pipeline] } [2021-03-24T17:43:13.992Z] $ docker stop --time=1 c9114270a915572666040d1b1b1366e86d84e1475c702e033c18727011f6ad94 [2021-03-24T17:43:15.360Z] $ docker rm -f c9114270a915572666040d1b1b1366e86d84e1475c702e033c18727011f6ad94 [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-24T17:43:16.895Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-24T17:43:17.498Z] ---> package-listing.sh [2021-03-24T17:43:17.498Z] ++ facter osfamily [2021-03-24T17:43:17.498Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-24T17:43:17.498Z] + OS_FAMILY=redhat [2021-03-24T17:43:17.498Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_master [2021-03-24T17:43:17.498Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-24T17:43:17.498Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-24T17:43:17.498Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-24T17:43:17.498Z] + PACKAGES=/tmp/packages_start.txt [2021-03-24T17:43:17.498Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-03-24T17:43:17.498Z] + PACKAGES=/tmp/packages_end.txt [2021-03-24T17:43:17.498Z] + case "${OS_FAMILY}" in [2021-03-24T17:43:17.498Z] + rpm -qa [2021-03-24T17:43:17.498Z] + sort [2021-03-24T17:43:22.834Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-24T17:43:22.834Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-24T17:43:22.834Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-24T17:43:22.834Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-03-24T17:43:22.834Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_master/archives/ [2021-03-24T17:43:22.834Z] + 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-24T17:43:22.849Z] 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-24T17:43:23.149Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-24T17:43:23.458Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-24T17:43:23.458Z] [2021-03-24T17:43:23.458Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-24T17:43:23.813Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-24T17:43:23.813Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-24T17:43:23.813Z] df20fa9351a1: Pulling fs layer [2021-03-24T17:43:23.813Z] 36b3adc4ff6f: Pulling fs layer [2021-03-24T17:43:23.813Z] 8ad3a11d3b57: Pulling fs layer [2021-03-24T17:43:23.813Z] 46f8f816bc3b: Pulling fs layer [2021-03-24T17:43:23.813Z] 93b61091891f: Pulling fs layer [2021-03-24T17:43:23.813Z] 93b9cdb0e59b: Pulling fs layer [2021-03-24T17:43:23.813Z] 5e14af77c1be: Pulling fs layer [2021-03-24T17:43:23.813Z] 01666e4c0597: Pulling fs layer [2021-03-24T17:43:23.813Z] aa168da1d23b: Pulling fs layer [2021-03-24T17:43:23.813Z] 93b9cdb0e59b: Waiting [2021-03-24T17:43:23.813Z] 01666e4c0597: Waiting [2021-03-24T17:43:23.813Z] aa168da1d23b: Waiting [2021-03-24T17:43:23.813Z] 46f8f816bc3b: Waiting [2021-03-24T17:43:23.813Z] 5e14af77c1be: Waiting [2021-03-24T17:43:23.813Z] 93b61091891f: Waiting [2021-03-24T17:43:23.813Z] 36b3adc4ff6f: Verifying Checksum [2021-03-24T17:43:23.813Z] 36b3adc4ff6f: Download complete [2021-03-24T17:43:23.813Z] 46f8f816bc3b: Verifying Checksum [2021-03-24T17:43:23.813Z] 46f8f816bc3b: Download complete [2021-03-24T17:43:23.813Z] df20fa9351a1: Verifying Checksum [2021-03-24T17:43:23.813Z] 93b9cdb0e59b: Verifying Checksum [2021-03-24T17:43:23.813Z] 93b9cdb0e59b: Download complete [2021-03-24T17:43:23.813Z] 5e14af77c1be: Verifying Checksum [2021-03-24T17:43:23.813Z] 5e14af77c1be: Download complete [2021-03-24T17:43:24.075Z] 01666e4c0597: Verifying Checksum [2021-03-24T17:43:24.075Z] 01666e4c0597: Download complete [2021-03-24T17:43:24.075Z] 93b61091891f: Verifying Checksum [2021-03-24T17:43:24.075Z] 93b61091891f: Download complete [2021-03-24T17:43:24.075Z] 8ad3a11d3b57: Verifying Checksum [2021-03-24T17:43:24.075Z] 8ad3a11d3b57: Download complete [2021-03-24T17:43:24.340Z] df20fa9351a1: Pull complete [2021-03-24T17:43:24.607Z] 36b3adc4ff6f: Pull complete [2021-03-24T17:43:25.567Z] 8ad3a11d3b57: Pull complete [2021-03-24T17:43:25.831Z] 46f8f816bc3b: Pull complete [2021-03-24T17:43:25.831Z] aa168da1d23b: Verifying Checksum [2021-03-24T17:43:25.831Z] aa168da1d23b: Download complete [2021-03-24T17:43:26.407Z] 93b61091891f: Pull complete [2021-03-24T17:43:26.670Z] 93b9cdb0e59b: Pull complete [2021-03-24T17:43:26.670Z] 5e14af77c1be: Pull complete [2021-03-24T17:43:26.936Z] 01666e4c0597: Pull complete [2021-03-24T17:43:33.573Z] aa168da1d23b: Pull complete [2021-03-24T17:43:33.837Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-24T17:43:33.837Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-24T17:43:33.837Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-24T17:43:33.968Z] prd-centos7-docker-4c-2g-31229 does not seem to be running inside a container [2021-03-24T17:43:34.015Z] $ 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-24T17:43:37.115Z] $ docker top d31430b7d4471cc5d4e0a41a0307057064c6fa12f3ec231edbc35218f848b2ba -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-24T17:43:37.719Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-24T17:43:38.027Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-24T17:43:38.348Z] + ls /var/log/sa-host [2021-03-24T17:43:38.349Z] + sadf -c /var/log/sa-host/sa23 [2021-03-24T17:43:38.349Z] file_magic: OK [2021-03-24T17:43:38.349Z] HZ: Using current value: 100 [2021-03-24T17:43:38.349Z] file_header: OK [2021-03-24T17:43:38.349Z] 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-24T17:43:38.349Z] Statistics: [2021-03-24T17:43:38.349Z] Hnuu...uuuununununu... [2021-03-24T17:43:38.349Z] File successfully converted to sysstat format version 12.2.1 [2021-03-24T17:43:38.349Z] + sadf -c /var/log/sa-host/sa24 [2021-03-24T17:43:38.349Z] file_magic: OK [2021-03-24T17:43:38.349Z] HZ: Using current value: 100 [2021-03-24T17:43:38.349Z] file_header: OK [2021-03-24T17:43:38.349Z] 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-24T17:43:38.349Z] Statistics: [2021-03-24T17:43:38.349Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-24T17:43:38.349Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-24T17:43:38.549Z] provisioning config files... [2021-03-24T17:43:38.567Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config5844741070205602399tmp [Pipeline] { [Pipeline] echo [2021-03-24T17:43:38.642Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-24T17:43:38.936Z] ---> create-netrc.sh [Pipeline] } [2021-03-24T17:43:38.946Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-24T17:43:39.034Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-24T17:43:39.330Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-24T17:43:39.342Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-24T17:43:39.637Z] ---> sudo-logs.sh [2021-03-24T17:43:39.638Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-24T17:43:39.706Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-24T17:43:40.004Z] ---> job-cost.sh [2021-03-24T17:43:40.004Z] lf-activate-venv: SKIPPING [2021-03-24T17:43:40.004Z] DEBUG: total: 0.20999999344348907 [2021-03-24T17:43:40.004Z] INFO: Retrieving Stack Cost... [2021-03-24T17:43:40.950Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-24T17:43:41.897Z] INFO: Archiving Costs [Pipeline] echo [2021-03-24T17:43:41.911Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-24T17:43:42.208Z] ---> logs-deploy.sh [2021-03-24T17:43:42.208Z] lf-activate-venv: SKIPPING [2021-03-24T17:43:42.208Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/master/199 [2021-03-24T17:43:42.208Z] INFO: archiving workspace using pattern(s): [2021-03-24T17:43:44.143Z] Archives upload complete. [2021-03-24T17:43:44.143Z] INFO: archiving logs to Nexus