Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b297a9944049af4bbb77f9b3a6874cde68128318 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 ‘prd-centos7-docker-4c-2g-31402’ Running on prd-centos7-docker-4c-2g-31407 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b297a9944049af4bbb77f9b3a6874cde68128318 (master) > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b297a9944049af4bbb77f9b3a6874cde68128318 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 (#762)" > git rev-list --no-walk 7158bb1ca313e630b30c79f7ef3d5e60e0d8ca58 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-25T18:48:11.201Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-25T18:48:11.552Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-25T18:48:11.662Z] ========================================================= [2021-03-25T18:48:11.662Z] EdgeX Global Pipelines Version Info [2021-03-25T18:48:11.662Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-25T18:48:13.159Z] ------------------- [2021-03-25T18:48:13.159Z] stable info: [2021-03-25T18:48:13.159Z] ------------------- [2021-03-25T18:48:13.159Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-25T18:48:13.159Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-25T18:48:13.159Z] Message: update stable to v1.0.186 [2021-03-25T18:48:14.116Z] ------------------- [2021-03-25T18:48:14.116Z] experimental info: [2021-03-25T18:48:14.116Z] ------------------- [2021-03-25T18:48:14.116Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-25T18:48:14.116Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-03-25T18:48:14.116Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-25T18:48:14.375Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-03-25T18:48:14.468Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-03-25T18:48:14.559Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-25T18:48:14.659Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-25T18:48:14.754Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-25T18:48:14.840Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-25T18:48:14.924Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-25T18:48:15.009Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-25T18:48:15.098Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-03-25T18:48:15.195Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-25T18:48:15.286Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-25T18:48:15.394Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2021-03-25T18:48:15.478Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-25T18:48:15.566Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-25T18:48:15.653Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-03-25T18:48:15.736Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-25T18:48:15.819Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-25T18:48:15.955Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-25T18:48:16.045Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-25T18:48:16.128Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-25T18:48:16.217Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-25T18:48:16.300Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-03-25T18:48:16.385Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-25T18:48:16.470Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-25T18:48:16.554Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-03-25T18:48:16.638Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-25T18:48:16.720Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-03-25T18:48:16.821Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-03-25T18:48:16.964Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-03-25T18:48:17.052Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b297a9944049af4bbb77f9b3a6874cde68128318 [Pipeline] echo [2021-03-25T18:48:17.144Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b297a99 [Pipeline] echo [2021-03-25T18:48:17.232Z] [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-25T18:48:17.924Z] + git log --format=format:%s -1 b297a9944049af4bbb77f9b3a6874cde68128318 [Pipeline] echo [2021-03-25T18:48:17.986Z] GIT_COMMIT: b297a9944049af4bbb77f9b3a6874cde68128318, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 (#762) [Pipeline] echo [2021-03-25T18:48:18.032Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-25T18:48:18.632Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-25T18:48:18.898Z] [2021-03-25T18:48:18.898Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-25T18:48:19.272Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-25T18:48:19.272Z] latest: Pulling from edgex-devops/git-semver [2021-03-25T18:48:19.272Z] 31603596830f: Pulling fs layer [2021-03-25T18:48:19.272Z] 2a8b12db71e7: Pulling fs layer [2021-03-25T18:48:19.272Z] 6ca5941a6612: Pulling fs layer [2021-03-25T18:48:19.272Z] ecc8261a40a4: Pulling fs layer [2021-03-25T18:48:19.272Z] ecc8261a40a4: Waiting [2021-03-25T18:48:19.272Z] 2a8b12db71e7: Verifying Checksum [2021-03-25T18:48:19.272Z] 2a8b12db71e7: Download complete [2021-03-25T18:48:19.534Z] 31603596830f: Verifying Checksum [2021-03-25T18:48:19.534Z] 31603596830f: Download complete [2021-03-25T18:48:19.534Z] ecc8261a40a4: Verifying Checksum [2021-03-25T18:48:19.534Z] ecc8261a40a4: Download complete [2021-03-25T18:48:19.534Z] 6ca5941a6612: Verifying Checksum [2021-03-25T18:48:19.534Z] 6ca5941a6612: Download complete [2021-03-25T18:48:19.800Z] 31603596830f: Pull complete [2021-03-25T18:48:20.071Z] 2a8b12db71e7: Pull complete [2021-03-25T18:48:21.023Z] 6ca5941a6612: Pull complete [2021-03-25T18:48:21.285Z] ecc8261a40a4: Pull complete [2021-03-25T18:48:21.285Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-25T18:48:21.285Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-25T18:48:21.285Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-25T18:48:21.403Z] prd-centos7-docker-4c-2g-31407 does not seem to be running inside a container [2021-03-25T18:48:21.450Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-25T18:48:23.424Z] $ docker top 3e8239235ccf609a08ededf528c46237aae31f222c49df6fe17d528d65f77927 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-25T18:48:23.709Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-25T18:48:23.709Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-25T18:48:23.977Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-25T18:48:23.980Z] $ docker exec 3e8239235ccf609a08ededf528c46237aae31f222c49df6fe17d528d65f77927 ssh-agent [2021-03-25T18:48:24.163Z] SSH_AUTH_SOCK=/tmp/ssh-4quG2vqwy8wK/agent.12 [2021-03-25T18:48:24.163Z] SSH_AGENT_PID=18 [2021-03-25T18:48:24.175Z] Running ssh-add (command line suppressed) [2021-03-25T18:48:24.315Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_2092763875379390610.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_2092763875379390610.key) [2021-03-25T18:48:24.381Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-25T18:48:24.719Z] + git tag --points-at HEAD [Pipeline] } [2021-03-25T18:48:24.852Z] $ docker exec --env ******** --env ******** 3e8239235ccf609a08ededf528c46237aae31f222c49df6fe17d528d65f77927 ssh-agent -k [2021-03-25T18:48:25.073Z] unset SSH_AUTH_SOCK; [2021-03-25T18:48:25.073Z] unset SSH_AGENT_PID; [2021-03-25T18:48:25.074Z] echo Agent pid 18 killed; [2021-03-25T18:48:25.151Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-25T18:48:25.289Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-25T18:48:25.289Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-25T18:48:25.493Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-25T18:48:25.496Z] $ docker exec 3e8239235ccf609a08ededf528c46237aae31f222c49df6fe17d528d65f77927 ssh-agent [2021-03-25T18:48:25.689Z] SSH_AUTH_SOCK=/tmp/ssh-fskrHFOPgQ3s/agent.47 [2021-03-25T18:48:25.689Z] SSH_AGENT_PID=52 [2021-03-25T18:48:25.696Z] Running ssh-add (command line suppressed) [2021-03-25T18:48:25.821Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_1050786259291175204.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_1050786259291175204.key) [2021-03-25T18:48:25.883Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-25T18:48:26.224Z] + git semver init [2021-03-25T18:48:26.224Z] # -> Open(): unable to determine branch for HEAD [2021-03-25T18:48:26.224Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-03-25T18:48:26.224Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-03-25T18:48:26.224Z] # $SEMVER_REMOTE_NAME = origin [2021-03-25T18:48:26.224Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-25T18:48:26.224Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-25T18:48:26.224Z] # $SEMVER_BRANCH = master [2021-03-25T18:48:26.224Z] # $SEMVER_TEMP = /tmp/semver-300310329 [2021-03-25T18:48:26.224Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-03-25T18:48:29.549Z] # '/tmp/semver-300310329' -> '/w/workspace/ndry_app-functions-sdk-go_master/.semver' [2021-03-25T18:48:29.549Z] # -> Force: false [2021-03-25T18:48:29.549Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-03-25T18:48:29.560Z] $ docker exec --env ******** --env ******** 3e8239235ccf609a08ededf528c46237aae31f222c49df6fe17d528d65f77927 ssh-agent -k [2021-03-25T18:48:29.692Z] unset SSH_AUTH_SOCK; [2021-03-25T18:48:29.693Z] unset SSH_AGENT_PID; [2021-03-25T18:48:29.693Z] echo Agent pid 52 killed; [2021-03-25T18:48:29.748Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-25T18:48:30.239Z] + git semver [Pipeline] } [2021-03-25T18:48:30.256Z] $ docker stop --time=1 3e8239235ccf609a08ededf528c46237aae31f222c49df6fe17d528d65f77927 [2021-03-25T18:48:31.812Z] $ docker rm -f 3e8239235ccf609a08ededf528c46237aae31f222c49df6fe17d528d65f77927 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-25T18:48:32.378Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-25T18:48:32.879Z] Stashed 1 file(s) [Pipeline] echo [2021-03-25T18:48:32.882Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.34 [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-25T18:48:48.418Z] Still waiting to schedule task [2021-03-25T18:48:48.419Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-03-25T18:48:48.421Z] Still waiting to schedule task [2021-03-25T18:48:48.421Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-03-25T18:50:07.654Z] Running on prd-centos7-docker-4c-2g-31408 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-03-25T18:50:07.707Z] Running in /w/workspace/app-functions-sdk-go/203 [Pipeline] { [Pipeline] checkout [2021-03-25T18:50:10.230Z] using credential edgex-jenkins-ssh [2021-03-25T18:50:10.285Z] Cloning the remote Git repository [2021-03-25T18:50:09.984Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-25T18:50:10.056Z] > git init /w/workspace/app-functions-sdk-go/203 # timeout=10 [2021-03-25T18:50:10.119Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-25T18:50:10.120Z] > git --version # timeout=10 [2021-03-25T18:50:10.126Z] > git --version # 'git version 2.24.3' [2021-03-25T18:50:10.127Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-25T18:50:10.159Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-25T18:50:11.998Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-25T18:50:12.008Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-25T18:50:12.019Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-25T18:50:12.039Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-25T18:50:12.039Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-25T18:50:12.044Z] > 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-25T18:50:12.598Z] Checking out Revision b297a9944049af4bbb77f9b3a6874cde68128318 (master) [2021-03-25T18:50:12.470Z] > git config core.sparsecheckout # timeout=10 [2021-03-25T18:50:12.476Z] > git checkout -f b297a9944049af4bbb77f9b3a6874cde68128318 # timeout=10 [2021-03-25T18:50:16.214Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 (#762)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-25T18:50:17.401Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-25T18:50:17.724Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-25T18:50:18.024Z] + sudo service docker restart [2021-03-25T18:50:18.024Z] + true [2021-03-25T18:50:18.024Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-03-25T18:50:19.650Z] ========================================================= [2021-03-25T18:50:19.650Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-25T18:50:19.650Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-25T18:50:20.022Z] + 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-25T18:50:20.605Z] Sending build context to Docker daemon 19.4MB [2021-03-25T18:50:20.605Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-25T18:50:20.605Z] Step 2/8 : FROM ${BASE} [2021-03-25T18:50:20.876Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-25T18:50:20.876Z] 188c0c94c7c5: Pulling fs layer [2021-03-25T18:50:20.876Z] 0ef7d3d256c8: Pulling fs layer [2021-03-25T18:50:20.876Z] de9db76c5a1d: Pulling fs layer [2021-03-25T18:50:20.876Z] bca2f99d35d6: Pulling fs layer [2021-03-25T18:50:20.876Z] 93359f2a8cfa: Pulling fs layer [2021-03-25T18:50:20.876Z] 7c6f9722023f: Pulling fs layer [2021-03-25T18:50:20.876Z] a35cf1a2eb13: Pulling fs layer [2021-03-25T18:50:20.876Z] bca2f99d35d6: Waiting [2021-03-25T18:50:20.877Z] 7c6f9722023f: Waiting [2021-03-25T18:50:20.877Z] a35cf1a2eb13: Waiting [2021-03-25T18:50:20.877Z] 93359f2a8cfa: Waiting [2021-03-25T18:50:20.877Z] de9db76c5a1d: Verifying Checksum [2021-03-25T18:50:20.877Z] de9db76c5a1d: Download complete [2021-03-25T18:50:20.877Z] 0ef7d3d256c8: Download complete [2021-03-25T18:50:20.877Z] 93359f2a8cfa: Verifying Checksum [2021-03-25T18:50:20.877Z] 93359f2a8cfa: Download complete [2021-03-25T18:50:20.877Z] 7c6f9722023f: Verifying Checksum [2021-03-25T18:50:20.877Z] 7c6f9722023f: Download complete [2021-03-25T18:50:20.877Z] 188c0c94c7c5: Verifying Checksum [2021-03-25T18:50:20.877Z] 188c0c94c7c5: Download complete [2021-03-25T18:50:21.144Z] 188c0c94c7c5: Pull complete [2021-03-25T18:50:21.425Z] 0ef7d3d256c8: Pull complete [2021-03-25T18:50:21.690Z] de9db76c5a1d: Pull complete [2021-03-25T18:50:23.622Z] a35cf1a2eb13: Verifying Checksum [2021-03-25T18:50:23.622Z] a35cf1a2eb13: Download complete [2021-03-25T18:50:23.890Z] bca2f99d35d6: Verifying Checksum [2021-03-25T18:50:23.890Z] bca2f99d35d6: Download complete [2021-03-25T18:50:29.225Z] bca2f99d35d6: Pull complete [2021-03-25T18:50:29.225Z] 93359f2a8cfa: Pull complete [2021-03-25T18:50:29.225Z] 7c6f9722023f: Pull complete [2021-03-25T18:50:37.431Z] a35cf1a2eb13: Pull complete [2021-03-25T18:50:37.431Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-25T18:50:37.431Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-25T18:50:37.431Z] ---> a62c8e92a672 [2021-03-25T18:50:37.431Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-03-25T18:50:37.431Z] 20.10.0: Pulling from library/docker [2021-03-25T18:50:37.431Z] 05e7bc50f07f: Pulling fs layer [2021-03-25T18:50:37.431Z] 6db28d0fdbf6: Pulling fs layer [2021-03-25T18:50:37.431Z] 292df0bc6bf3: Pulling fs layer [2021-03-25T18:50:37.431Z] 2e060f4bd70b: Pulling fs layer [2021-03-25T18:50:37.431Z] 80e8d568a223: Pulling fs layer [2021-03-25T18:50:37.431Z] 8dc6ef1a942a: Pulling fs layer [2021-03-25T18:50:37.431Z] 2312dd95470a: Pulling fs layer [2021-03-25T18:50:37.431Z] 2e060f4bd70b: Waiting [2021-03-25T18:50:37.431Z] 80e8d568a223: Waiting [2021-03-25T18:50:37.431Z] 8dc6ef1a942a: Waiting [2021-03-25T18:50:37.431Z] 2312dd95470a: Waiting [2021-03-25T18:50:37.431Z] 292df0bc6bf3: Verifying Checksum [2021-03-25T18:50:37.431Z] 292df0bc6bf3: Download complete [2021-03-25T18:50:37.431Z] 6db28d0fdbf6: Verifying Checksum [2021-03-25T18:50:37.431Z] 6db28d0fdbf6: Download complete [2021-03-25T18:50:37.431Z] 05e7bc50f07f: Verifying Checksum [2021-03-25T18:50:37.431Z] 80e8d568a223: Verifying Checksum [2021-03-25T18:50:37.431Z] 80e8d568a223: Download complete [2021-03-25T18:50:37.431Z] 8dc6ef1a942a: Verifying Checksum [2021-03-25T18:50:37.431Z] 8dc6ef1a942a: Download complete [2021-03-25T18:50:37.431Z] 2312dd95470a: Verifying Checksum [2021-03-25T18:50:37.431Z] 2312dd95470a: Download complete [2021-03-25T18:50:37.431Z] 05e7bc50f07f: Pull complete [2021-03-25T18:50:37.696Z] 6db28d0fdbf6: Pull complete [2021-03-25T18:50:37.696Z] 292df0bc6bf3: Pull complete [2021-03-25T18:50:38.278Z] 2e060f4bd70b: Verifying Checksum [2021-03-25T18:50:38.278Z] 2e060f4bd70b: Download complete [2021-03-25T18:50:41.627Z] 2e060f4bd70b: Pull complete [2021-03-25T18:50:41.627Z] 80e8d568a223: Pull complete [2021-03-25T18:50:41.627Z] 8dc6ef1a942a: Pull complete [2021-03-25T18:50:41.627Z] 2312dd95470a: Pull complete [2021-03-25T18:50:41.627Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-03-25T18:50:41.627Z] Status: Downloaded newer image for docker:20.10.0 [2021-03-25T18:50:43.554Z] ---> 6c2e960021da [2021-03-25T18:50:43.555Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-03-25T18:50:43.555Z] ---> Running in 6ca3d3729927 [2021-03-25T18:50:43.555Z] Removing intermediate container 6ca3d3729927 [2021-03-25T18:50:43.555Z] ---> 756171a3c793 [2021-03-25T18:50:43.555Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-03-25T18:50:43.555Z] ---> Running in 11749475f300 [2021-03-25T18:50:44.134Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-25T18:50:45.084Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-25T18:50:46.039Z] (1/5) Installing libsodium (1.0.18-r0) [2021-03-25T18:50:46.039Z] (2/5) Installing libzmq (4.3.3-r0) [2021-03-25T18:50:46.304Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-03-25T18:50:46.304Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-03-25T18:50:46.304Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-03-25T18:50:46.569Z] Executing busybox-1.31.1-r19.trigger [2021-03-25T18:50:46.570Z] OK: 167 MiB in 44 packages [2021-03-25T18:50:47.151Z] Removing intermediate container 11749475f300 [2021-03-25T18:50:47.151Z] ---> 2f9cbd0b5798 [2021-03-25T18:50:47.151Z] Step 6/8 : WORKDIR /build [2021-03-25T18:50:47.151Z] ---> Running in 737ae8fe4f3f [2021-03-25T18:50:47.151Z] Removing intermediate container 737ae8fe4f3f [2021-03-25T18:50:47.151Z] ---> 56a036fc1a3c [2021-03-25T18:50:47.151Z] Step 7/8 : COPY go.mod . [2021-03-25T18:50:47.417Z] ---> 822568ac0567 [2021-03-25T18:50:47.417Z] Step 8/8 : RUN go mod download [2021-03-25T18:50:47.417Z] ---> Running in cd391985a288 [2021-03-25T18:51:09.782Z] Removing intermediate container cd391985a288 [2021-03-25T18:51:09.782Z] ---> 80a831ff8000 [2021-03-25T18:51:09.782Z] Successfully built 80a831ff8000 [2021-03-25T18:51:09.782Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-25T18:51:10.102Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-25T18:51:10.102Z] . [Pipeline] withDockerContainer [2021-03-25T18:51:10.231Z] prd-centos7-docker-4c-2g-31408 does not seem to be running inside a container [2021-03-25T18:51:10.286Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/203 -v /w/workspace/app-functions-sdk-go/203:/w/workspace/app-functions-sdk-go/203:rw,z -v /w/workspace/app-functions-sdk-go/203@tmp:/w/workspace/app-functions-sdk-go/203@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-25T18:51:11.092Z] $ docker top fac308294ae01ee0ec9e080d48480105dfee2c17984eb315d585e328929c664f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-25T18:51:11.612Z] + go version [2021-03-25T18:51:11.612Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-25T18:51:11.637Z] $ docker stop --time=1 fac308294ae01ee0ec9e080d48480105dfee2c17984eb315d585e328929c664f [2021-03-25T18:51:13.068Z] $ docker rm -f fac308294ae01ee0ec9e080d48480105dfee2c17984eb315d585e328929c664f [Pipeline] // withDockerContainer [2021-03-25T18:51:13.268Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-31409 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] } [Pipeline] { [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] ws [2021-03-25T18:51:13.441Z] Running in /w/workspace/app-functions-sdk-go/203 [Pipeline] { [Pipeline] stage [Pipeline] { (Test) [Pipeline] checkout [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-25T18:51:13.978Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-25T18:51:13.979Z] . [Pipeline] withDockerContainer [2021-03-25T18:51:14.105Z] prd-centos7-docker-4c-2g-31408 does not seem to be running inside a container [2021-03-25T18:51:14.172Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/203 -v /w/workspace/app-functions-sdk-go/203:/w/workspace/app-functions-sdk-go/203:rw,z -v /w/workspace/app-functions-sdk-go/203@tmp:/w/workspace/app-functions-sdk-go/203@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-25T18:51:14.940Z] $ docker top 8a55c845481d540ac603793ecea88a11bdb5f8827fb80d43261a3e60c499b7a3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-25T18:51:15.478Z] + make test [2021-03-25T18:51:15.478Z] make -C ./app-service-template build [2021-03-25T18:51:15.478Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/203/app-service-template' [2021-03-25T18:51:15.478Z] 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-25T18:51:19.107Z] using credential edgex-jenkins-ssh [2021-03-25T18:51:19.160Z] Cloning the remote Git repository [2021-03-25T18:51:19.251Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-25T18:51:19.371Z] > git init /w/workspace/app-functions-sdk-go/203 # timeout=10 [2021-03-25T18:51:19.476Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-25T18:51:19.477Z] > git --version # timeout=10 [2021-03-25T18:51:19.493Z] > git --version # 'git version 2.17.1' [2021-03-25T18:51:19.495Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-25T18:51:19.560Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-25T18:51:24.674Z] Checking out Revision b297a9944049af4bbb77f9b3a6874cde68128318 (master) [2021-03-25T18:51:24.104Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-25T18:51:24.118Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-25T18:51:24.144Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-25T18:51:24.187Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-25T18:51:24.187Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-25T18:51:24.199Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-25T18:51:24.710Z] > git config core.sparsecheckout # timeout=10 [2021-03-25T18:51:24.794Z] > git checkout -f b297a9944049af4bbb77f9b3a6874cde68128318 # timeout=10 [2021-03-25T18:51:29.268Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 (#762)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-25T18:51:30.488Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/203/app-service-template' [2021-03-25T18:51:30.488Z] make -C ./app-service-template test [2021-03-25T18:51:30.488Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/203/app-service-template' [2021-03-25T18:51:30.488Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-03-25T18:51:30.828Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-25T18:51:31.288Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-25T18:51:31.644Z] + true [2021-03-25T18:51:31.644Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2021-03-25T18:51:34.641Z] ========================================================= [2021-03-25T18:51:34.641Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-25T18:51:34.641Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-25T18:51:35.035Z] + 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-25T18:51:36.031Z] Sending build context to Docker daemon 19.39MB [2021-03-25T18:51:36.032Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-25T18:51:36.032Z] Step 2/8 : FROM ${BASE} [2021-03-25T18:51:36.304Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-25T18:51:36.304Z] 5f621e34cdf4: Pulling fs layer [2021-03-25T18:51:36.304Z] a4357932f1b6: Pulling fs layer [2021-03-25T18:51:36.304Z] 18c013af1878: Pulling fs layer [2021-03-25T18:51:36.304Z] 00ac8860ef70: Pulling fs layer [2021-03-25T18:51:36.304Z] 63d7cb157983: Pulling fs layer [2021-03-25T18:51:36.304Z] b116817d02f9: Pulling fs layer [2021-03-25T18:51:36.304Z] 745a02a5169b: Pulling fs layer [2021-03-25T18:51:36.304Z] 00ac8860ef70: Waiting [2021-03-25T18:51:36.304Z] 63d7cb157983: Waiting [2021-03-25T18:51:36.304Z] b116817d02f9: Waiting [2021-03-25T18:51:36.304Z] 745a02a5169b: Waiting [2021-03-25T18:51:36.304Z] 18c013af1878: Verifying Checksum [2021-03-25T18:51:36.304Z] 18c013af1878: Download complete [2021-03-25T18:51:36.578Z] a4357932f1b6: Verifying Checksum [2021-03-25T18:51:36.578Z] a4357932f1b6: Download complete [2021-03-25T18:51:36.578Z] 63d7cb157983: Verifying Checksum [2021-03-25T18:51:36.578Z] 63d7cb157983: Download complete [2021-03-25T18:51:36.578Z] b116817d02f9: Download complete [2021-03-25T18:51:36.578Z] 5f621e34cdf4: Verifying Checksum [2021-03-25T18:51:36.578Z] 5f621e34cdf4: Download complete [2021-03-25T18:51:37.177Z] ok new-app-service 0.027s coverage: 47.8% of statements [2021-03-25T18:51:37.177Z] ? new-app-service/config [no test files] [2021-03-25T18:51:37.177Z] ok new-app-service/functions 0.012s [2021-03-25T18:51:37.177Z] CGO_ENABLED=1 go vet ./... [2021-03-25T18:51:37.179Z] 5f621e34cdf4: Pull complete [2021-03-25T18:51:37.781Z] a4357932f1b6: Pull complete [2021-03-25T18:51:38.381Z] 18c013af1878: Pull complete [2021-03-25T18:51:38.979Z] 745a02a5169b: Verifying Checksum [2021-03-25T18:51:38.979Z] 745a02a5169b: Download complete [2021-03-25T18:51:40.419Z] 00ac8860ef70: Verifying Checksum [2021-03-25T18:51:40.419Z] 00ac8860ef70: Download complete [2021-03-25T18:51:40.549Z] gofmt -l . [2021-03-25T18:51:40.549Z] [ "`gofmt -l .`" = "" ] [2021-03-25T18:51:40.549Z] ./bin/test-go-mod-tidy.sh [2021-03-25T18:51:40.814Z] ./bin/test-attribution-txt.sh [2021-03-25T18:51:41.395Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/203/app-service-template' [2021-03-25T18:51:41.395Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-03-25T18:51:41.973Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-03-25T18:51:44.594Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.018s coverage: 55.9% of statements [2021-03-25T18:51:44.594Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.026s coverage: 92.5% of statements [2021-03-25T18:51:44.594Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-03-25T18:51:44.594Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.040s coverage: 61.5% of statements [2021-03-25T18:51:44.594Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-03-25T18:51:44.594Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.012s [2021-03-25T18:51:44.866Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.058s coverage: 75.4% of statements [2021-03-25T18:51:44.866Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-03-25T18:51:44.866Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-03-25T18:51:44.866Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-03-25T18:51:44.866Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-03-25T18:51:44.866Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-03-25T18:51:44.866Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-03-25T18:51:44.866Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.005s coverage: 97.0% of statements [2021-03-25T18:51:44.866Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-03-25T18:51:45.455Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.029s coverage: 10.5% of statements [2021-03-25T18:51:48.836Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.745s coverage: 78.4% of statements [2021-03-25T18:51:48.836Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-03-25T18:51:48.836Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.011s coverage: 20.0% of statements [2021-03-25T18:51:48.836Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.011s coverage: 27.3% of statements [2021-03-25T18:51:48.836Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-03-25T18:51:48.836Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-03-25T18:51:48.836Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.016s coverage: 71.7% of statements [2021-03-25T18:51:50.603Z] 00ac8860ef70: Pull complete [2021-03-25T18:51:50.603Z] 63d7cb157983: Pull complete [2021-03-25T18:51:50.603Z] b116817d02f9: Pull complete [2021-03-25T18:51:54.931Z] 745a02a5169b: Pull complete [2021-03-25T18:51:54.931Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-25T18:51:54.931Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-25T18:51:54.931Z] ---> b7e6874047d6 [2021-03-25T18:51:54.931Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-03-25T18:51:54.931Z] 20.10.0: Pulling from library/docker [2021-03-25T18:51:54.931Z] a3cc7d3b244e: Pulling fs layer [2021-03-25T18:51:54.931Z] 02a3295e0d61: Pulling fs layer [2021-03-25T18:51:54.931Z] 0f4f2e6d8100: Pulling fs layer [2021-03-25T18:51:54.931Z] 330b718f631f: Pulling fs layer [2021-03-25T18:51:54.931Z] a93816041522: Pulling fs layer [2021-03-25T18:51:54.931Z] bdb6da89ff94: Pulling fs layer [2021-03-25T18:51:54.931Z] 2a70c0c122f4: Pulling fs layer [2021-03-25T18:51:54.931Z] 330b718f631f: Waiting [2021-03-25T18:51:54.931Z] a93816041522: Waiting [2021-03-25T18:51:54.931Z] bdb6da89ff94: Waiting [2021-03-25T18:51:54.931Z] 2a70c0c122f4: Waiting [2021-03-25T18:51:54.931Z] 0f4f2e6d8100: Verifying Checksum [2021-03-25T18:51:54.931Z] 0f4f2e6d8100: Download complete [2021-03-25T18:51:54.931Z] 02a3295e0d61: Verifying Checksum [2021-03-25T18:51:54.931Z] 02a3295e0d61: Download complete [2021-03-25T18:51:54.931Z] a93816041522: Verifying Checksum [2021-03-25T18:51:54.931Z] a93816041522: Download complete [2021-03-25T18:51:54.931Z] a3cc7d3b244e: Verifying Checksum [2021-03-25T18:51:54.931Z] a3cc7d3b244e: Download complete [2021-03-25T18:51:54.931Z] bdb6da89ff94: Download complete [2021-03-25T18:51:54.931Z] 2a70c0c122f4: Verifying Checksum [2021-03-25T18:51:54.931Z] 2a70c0c122f4: Download complete [2021-03-25T18:51:55.535Z] a3cc7d3b244e: Pull complete [2021-03-25T18:51:56.535Z] 02a3295e0d61: Pull complete [2021-03-25T18:51:56.535Z] 330b718f631f: Verifying Checksum [2021-03-25T18:51:56.535Z] 330b718f631f: Download complete [2021-03-25T18:51:56.809Z] 0f4f2e6d8100: Pull complete [2021-03-25T18:52:01.113Z] 330b718f631f: Pull complete [2021-03-25T18:52:01.113Z] a93816041522: Pull complete [2021-03-25T18:52:01.113Z] bdb6da89ff94: Pull complete [2021-03-25T18:52:01.713Z] 2a70c0c122f4: Pull complete [2021-03-25T18:52:01.713Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-03-25T18:52:01.713Z] Status: Downloaded newer image for docker:20.10.0 [2021-03-25T18:52:08.472Z] ---> bb7be86f058a [2021-03-25T18:52:08.472Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-03-25T18:52:08.472Z] ---> Running in 2f001b042f51 [2021-03-25T18:52:08.472Z] Removing intermediate container 2f001b042f51 [2021-03-25T18:52:08.472Z] ---> 28174f6b1931 [2021-03-25T18:52:08.472Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-03-25T18:52:08.472Z] ---> Running in 142d173553e0 [2021-03-25T18:52:09.454Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-25T18:52:10.430Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-25T18:52:11.412Z] (1/5) Installing libsodium (1.0.18-r0) [2021-03-25T18:52:11.412Z] (2/5) Installing libzmq (4.3.3-r0) [2021-03-25T18:52:11.686Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-03-25T18:52:11.686Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-03-25T18:52:11.686Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-03-25T18:52:11.960Z] Executing busybox-1.31.1-r19.trigger [2021-03-25T18:52:11.960Z] OK: 144 MiB in 44 packages [2021-03-25T18:52:12.945Z] Removing intermediate container 142d173553e0 [2021-03-25T18:52:12.945Z] ---> f36741d525e2 [2021-03-25T18:52:12.945Z] Step 6/8 : WORKDIR /build [2021-03-25T18:52:13.219Z] ---> Running in b3eeb919080b [2021-03-25T18:52:13.816Z] Removing intermediate container b3eeb919080b [2021-03-25T18:52:13.816Z] ---> 7354cd7192a6 [2021-03-25T18:52:13.816Z] Step 7/8 : COPY go.mod . [2021-03-25T18:52:14.412Z] ---> 0aef85b2c13a [2021-03-25T18:52:14.412Z] Step 8/8 : RUN go mod download [2021-03-25T18:52:14.412Z] ---> Running in b76a8486c9bb [2021-03-25T18:52:15.456Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.049s coverage: 81.9% of statements [2021-03-25T18:52:15.456Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.009s coverage: 94.4% of statements [2021-03-25T18:52:15.456Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-03-25T18:52:15.456Z] gofmt -l . [2021-03-25T18:52:15.456Z] [ "`gofmt -l .`" = "" ] [2021-03-25T18:52:15.456Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-25T18:52:15.471Z] $ docker stop --time=1 8a55c845481d540ac603793ecea88a11bdb5f8827fb80d43261a3e60c499b7a3 [2021-03-25T18:52:17.068Z] $ docker rm -f 8a55c845481d540ac603793ecea88a11bdb5f8827fb80d43261a3e60c499b7a3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-25T18:52:17.671Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-25T18:52:18.102Z] 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-25T18:52:19.227Z] ---> job-cost.sh [2021-03-25T18:52:19.227Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-7eb3 [2021-03-25T18:52:37.393Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-25T18:52:41.209Z] Removing intermediate container b76a8486c9bb [2021-03-25T18:52:41.209Z] ---> cb7c5d975f93 [2021-03-25T18:52:41.209Z] Successfully built cb7c5d975f93 [2021-03-25T18:52:41.209Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-25T18:52:41.554Z] + docker inspect -f . ci-base-image-arm64 [2021-03-25T18:52:41.555Z] . [Pipeline] withDockerContainer [2021-03-25T18:52:41.848Z] prd-ubuntu18.04-docker-arm64-4c-16g-31409 does not seem to be running inside a container [2021-03-25T18:52:41.944Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/203 -v /w/workspace/app-functions-sdk-go/203:/w/workspace/app-functions-sdk-go/203:rw,z -v /w/workspace/app-functions-sdk-go/203@tmp:/w/workspace/app-functions-sdk-go/203@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-25T18:52:43.513Z] $ docker top b66449a8a2330d5743b295d9d5afba9527e73be1bbfd02148ad60168ee24f9c9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-25T18:52:44.553Z] + go version [2021-03-25T18:52:44.553Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-25T18:52:44.582Z] $ docker stop --time=1 b66449a8a2330d5743b295d9d5afba9527e73be1bbfd02148ad60168ee24f9c9 [2021-03-25T18:52:46.542Z] $ docker rm -f b66449a8a2330d5743b295d9d5afba9527e73be1bbfd02148ad60168ee24f9c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-25T18:52:47.599Z] + docker inspect -f . ci-base-image-arm64 [2021-03-25T18:52:47.599Z] . [Pipeline] withDockerContainer [2021-03-25T18:52:47.860Z] prd-ubuntu18.04-docker-arm64-4c-16g-31409 does not seem to be running inside a container [2021-03-25T18:52:47.949Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/203 -v /w/workspace/app-functions-sdk-go/203:/w/workspace/app-functions-sdk-go/203:rw,z -v /w/workspace/app-functions-sdk-go/203@tmp:/w/workspace/app-functions-sdk-go/203@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-25T18:52:49.511Z] $ docker top 67e68732c763874a3ac4a4d189c2cf15c608ebd4da6272b93997b5391924c176 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-25T18:52:50.556Z] + make test [2021-03-25T18:52:50.556Z] make -C ./app-service-template build [2021-03-25T18:52:50.556Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/203/app-service-template' [2021-03-25T18:52:50.556Z] 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-25T18:52:59.401Z] lf-activate-venv(): INFO: Adding /tmp/venv-7eb3/bin to PATH [2021-03-25T18:52:59.401Z] INFO: No Stack... [2021-03-25T18:52:59.977Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-25T18:53:00.581Z] INFO: Archiving Costs [Pipeline] sh [2021-03-25T18:53:00.887Z] + cat /w/workspace/app-functions-sdk-go/203/archives/cost.csv [2021-03-25T18:53:00.887Z] + cut -d, -f6 [Pipeline] lock [2021-03-25T18:53:00.957Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-203-stack-cost] [2021-03-25T18:53:00.969Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-203-stack-cost] did not exist. Created. [2021-03-25T18:53:00.969Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-203-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-25T18:53:01.372Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-25T18:53:01.533Z] Stashed 1 file(s) [Pipeline] } [2021-03-25T18:53:01.554Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-203-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-25T18:53:22.974Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/203/app-service-template' [2021-03-25T18:53:22.974Z] make -C ./app-service-template test [2021-03-25T18:53:22.974Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/203/app-service-template' [2021-03-25T18:53:22.974Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-03-25T18:53:49.805Z] ok new-app-service 0.034s coverage: 47.8% of statements [2021-03-25T18:53:49.805Z] ? new-app-service/config [no test files] [2021-03-25T18:53:49.805Z] ok new-app-service/functions 0.027s [2021-03-25T18:53:49.805Z] CGO_ENABLED=1 go vet ./... [2021-03-25T18:53:56.561Z] gofmt -l . [2021-03-25T18:53:56.562Z] [ "`gofmt -l .`" = "" ] [2021-03-25T18:53:56.562Z] ./bin/test-go-mod-tidy.sh [2021-03-25T18:53:57.157Z] ./bin/test-attribution-txt.sh [2021-03-25T18:53:58.592Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/203/app-service-template' [2021-03-25T18:53:58.592Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-03-25T18:54:00.042Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-03-25T18:54:08.371Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.089s coverage: 55.9% of statements [2021-03-25T18:54:08.371Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.036s coverage: 92.5% of statements [2021-03-25T18:54:08.371Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-03-25T18:54:08.371Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.099s coverage: 61.5% of statements [2021-03-25T18:54:08.371Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-03-25T18:54:08.371Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.035s [2021-03-25T18:54:08.371Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.061s coverage: 75.4% of statements [2021-03-25T18:54:08.371Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-03-25T18:54:08.371Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-03-25T18:54:08.371Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-03-25T18:54:08.371Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-03-25T18:54:08.371Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-03-25T18:54:08.371Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-03-25T18:54:08.371Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.030s coverage: 97.0% of statements [2021-03-25T18:54:08.371Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-03-25T18:54:08.971Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.111s coverage: 10.5% of statements [2021-03-25T18:54:14.399Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.846s coverage: 78.4% of statements [2021-03-25T18:54:14.399Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-03-25T18:54:14.399Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.028s coverage: 20.0% of statements [2021-03-25T18:54:14.399Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.046s coverage: 27.3% of statements [2021-03-25T18:54:14.399Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-03-25T18:54:14.399Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-03-25T18:54:14.399Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.038s coverage: 71.7% of statements [2021-03-25T18:54:41.181Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.079s coverage: 81.9% of statements [2021-03-25T18:54:41.181Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.025s coverage: 94.4% of statements [2021-03-25T18:54:41.182Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-03-25T18:54:44.592Z] gofmt -l . [2021-03-25T18:54:44.865Z] [ "`gofmt -l .`" = "" ] [2021-03-25T18:54:45.461Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-25T18:54:45.768Z] $ docker stop --time=1 67e68732c763874a3ac4a4d189c2cf15c608ebd4da6272b93997b5391924c176 [2021-03-25T18:54:47.895Z] $ docker rm -f 67e68732c763874a3ac4a4d189c2cf15c608ebd4da6272b93997b5391924c176 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-25T18:54:48.902Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-25T18:54:49.002Z] Warning: overwriting stash ‘coverage-report’ [2021-03-25T18:54:49.837Z] 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-25T18:54:50.947Z] ---> job-cost.sh [2021-03-25T18:54:50.947Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-S6Wt [2021-03-25T18:55:29.981Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-25T18:57:06.745Z] lf-activate-venv(): INFO: Adding /tmp/venv-S6Wt/bin to PATH [2021-03-25T18:57:06.745Z] INFO: No Stack... [2021-03-25T18:57:06.745Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-25T18:57:06.745Z] INFO: Archiving Costs [Pipeline] sh [2021-03-25T18:57:07.086Z] + + cat /w/workspace/app-functions-sdk-go/203/archives/cost.csv [2021-03-25T18:57:07.086Z] cut -d, -f6 [Pipeline] lock [2021-03-25T18:57:07.199Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-203-stack-cost] [2021-03-25T18:57:07.211Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-203-stack-cost] did not exist. Created. [2021-03-25T18:57:07.211Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-203-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-25T18:57:07.646Z] /w/workspace/app-functions-sdk-go/203@tmp/durable-768d5c49/script.sh: 1: /w/workspace/app-functions-sdk-go/203@tmp/durable-768d5c49/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-25T18:57:07.990Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-25T18:57:08.035Z] Warning: overwriting stash ‘stack-cost’ [2021-03-25T18:57:08.197Z] Stashed 1 file(s) [Pipeline] } [2021-03-25T18:57:08.209Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-203-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-25T18:57:09.421Z] provisioning config files... [2021-03-25T18:57:09.438Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config1851875839730889381tmp [Pipeline] { [Pipeline] sh [2021-03-25T18:57:09.818Z] + set +x [2021-03-25T18:57:09.818Z] + curl -s https://codecov.io/bash [2021-03-25T18:57:09.818Z] + bash -s -- [2021-03-25T18:57:10.085Z] [2021-03-25T18:57:10.085Z] _____ _ [2021-03-25T18:57:10.085Z] / ____| | | [2021-03-25T18:57:10.085Z] | | ___ __| | ___ ___ _____ __ [2021-03-25T18:57:10.085Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-25T18:57:10.085Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-25T18:57:10.085Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-25T18:57:10.085Z] Bash-20210309-2b87ace [2021-03-25T18:57:10.085Z] [2021-03-25T18:57:10.085Z] [2021-03-25T18:57:10.085Z] ==> git version 2.24.3 found [2021-03-25T18:57:10.085Z] ==> 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-25T18:57:10.085Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-25T18:57:10.085Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-25T18:57:10.085Z] curl: option -sm: expected a proper numerical parameter [2021-03-25T18:57:10.085Z] curl: try 'curl --help' or 'curl --manual' for more information [2021-03-25T18:57:10.085Z] ==> Jenkins CI detected. [2021-03-25T18:57:10.085Z] project root: . [2021-03-25T18:57:10.085Z] --> token set from env [2021-03-25T18:57:10.085Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-25T18:57:10.085Z] ==> Running gcov in . (disable via -X gcov) [2021-03-25T18:57:10.085Z] ==> Python coveragepy not found [2021-03-25T18:57:10.085Z] ==> Searching for coverage reports in: [2021-03-25T18:57:10.085Z] + . [2021-03-25T18:57:10.085Z] -> Found 2 reports [2021-03-25T18:57:10.085Z] ==> Detecting git/mercurial file structure [2021-03-25T18:57:10.085Z] ==> Reading reports [2021-03-25T18:57:10.085Z] + ./app-service-template/coverage.out bytes=1055 [2021-03-25T18:57:10.085Z] + ./coverage.out bytes=86539 [2021-03-25T18:57:10.085Z] ==> Appending adjustments [2021-03-25T18:57:10.085Z] https://docs.codecov.io/docs/fixing-reports [2021-03-25T18:57:10.664Z] + Found adjustments [2021-03-25T18:57:10.664Z] ==> Gzipping contents [2021-03-25T18:57:10.664Z] 16K /tmp/codecov.xsVdPR.gz [2021-03-25T18:57:10.664Z] ==> Uploading reports [2021-03-25T18:57:10.664Z] url: https://codecov.io [2021-03-25T18:57:10.664Z] query: branch=master&commit=b297a9944049af4bbb77f9b3a6874cde68128318&build=203&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F203%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-03-25T18:57:10.664Z] -> Pinging Codecov [2021-03-25T18:57:10.664Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=master&commit=b297a9944049af4bbb77f9b3a6874cde68128318&build=203&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F203%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-03-25T18:57:11.243Z] -> Uploading to [2021-03-25T18:57:11.243Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-25/3D8B5DFFC46A037C893635FACE044666/b297a9944049af4bbb77f9b3a6874cde68128318/790c167d-8600-414d-82a4-148ac6eb5d65.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210325%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210325T185710Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1be124f8323b5afe2572c5d8bef6ca8850aa7f5415694b14f0881e12bbaec2fc [2021-03-25T18:57:11.243Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-25T18:57:11.243Z] Dload Upload Total Spent Left Speed [2021-03-25T18:57:11.508Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15252 0 0 100 15252 0 31917 --:--:-- --:--:-- --:--:-- 31907 100 15252 0 0 100 15252 0 31904 --:--:-- --:--:-- --:--:-- 31907 [2021-03-25T18:57:11.508Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/b297a9944049af4bbb77f9b3a6874cde68128318 [Pipeline] } [2021-03-25T18:57:11.519Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-03-25T18:57:12.461Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-03-25T18:57:12.520Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-25T18:57:12.879Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-25T18:57:12.879Z] [2021-03-25T18:57:12.879Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-03-25T18:57:13.271Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-25T18:57:13.271Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-03-25T18:57:13.271Z] 188c0c94c7c5: Pulling fs layer [2021-03-25T18:57:13.271Z] 0ef7d3d256c8: Pulling fs layer [2021-03-25T18:57:13.271Z] de9db76c5a1d: Pulling fs layer [2021-03-25T18:57:13.271Z] 0eba1c9be4d2: Pulling fs layer [2021-03-25T18:57:13.271Z] 0d57e429df01: Pulling fs layer [2021-03-25T18:57:13.271Z] 4e4be7b47b0d: Pulling fs layer [2021-03-25T18:57:13.271Z] e1f770b5df2f: Pulling fs layer [2021-03-25T18:57:13.271Z] 85a0685a4137: Pulling fs layer [2021-03-25T18:57:13.271Z] 0eba1c9be4d2: Waiting [2021-03-25T18:57:13.271Z] 0d57e429df01: Waiting [2021-03-25T18:57:13.271Z] 4e4be7b47b0d: Waiting [2021-03-25T18:57:13.271Z] e1f770b5df2f: Waiting [2021-03-25T18:57:13.271Z] 85a0685a4137: Waiting [2021-03-25T18:57:13.271Z] de9db76c5a1d: Download complete [2021-03-25T18:57:13.271Z] 0ef7d3d256c8: Download complete [2021-03-25T18:57:13.271Z] 0d57e429df01: Verifying Checksum [2021-03-25T18:57:13.271Z] 0d57e429df01: Download complete [2021-03-25T18:57:13.271Z] 4e4be7b47b0d: Download complete [2021-03-25T18:57:13.271Z] 188c0c94c7c5: Verifying Checksum [2021-03-25T18:57:13.877Z] 188c0c94c7c5: Pull complete [2021-03-25T18:57:13.877Z] 0ef7d3d256c8: Pull complete [2021-03-25T18:57:14.148Z] e1f770b5df2f: Verifying Checksum [2021-03-25T18:57:14.148Z] e1f770b5df2f: Download complete [2021-03-25T18:57:14.148Z] de9db76c5a1d: Pull complete [2021-03-25T18:57:16.736Z] 0eba1c9be4d2: Verifying Checksum [2021-03-25T18:57:16.736Z] 0eba1c9be4d2: Download complete [2021-03-25T18:57:17.003Z] 85a0685a4137: Verifying Checksum [2021-03-25T18:57:17.003Z] 85a0685a4137: Download complete [2021-03-25T18:57:23.635Z] 0eba1c9be4d2: Pull complete [2021-03-25T18:57:23.635Z] 0d57e429df01: Pull complete [2021-03-25T18:57:23.635Z] 4e4be7b47b0d: Pull complete [2021-03-25T18:57:25.577Z] e1f770b5df2f: Pull complete [2021-03-25T18:57:33.763Z] 85a0685a4137: Pull complete [2021-03-25T18:57:33.763Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-03-25T18:57:33.763Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-25T18:57:33.763Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-03-25T18:57:34.020Z] prd-centos7-docker-4c-2g-31407 does not seem to be running inside a container [2021-03-25T18:57:34.072Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-03-25T18:57:35.265Z] $ docker top bc557bb5fad11d4ca299c9e301c95b55a17107f42a8bc288e2c787b6e9a645cd -eo pid,comm [Pipeline] { [Pipeline] echo [2021-03-25T18:57:35.603Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-03-25T18:57:35.904Z] + set -o pipefail [2021-03-25T18:57:35.904Z] + snyk monitor '--org=edgex-jenkins' [2021-03-25T18:58:02.545Z] [2021-03-25T18:58:02.545Z] Monitoring /w/workspace/ndry_app-functions-sdk-go_master (github.com/edgexfoundry/app-functions-sdk-go/v2)... [2021-03-25T18:58:02.545Z] [2021-03-25T18:58:02.545Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/0bf606bf-ae39-4903-b139-784a14fe70cc [2021-03-25T18:58:02.545Z] [2021-03-25T18:58:02.545Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-03-25T18:58:02.545Z] [2021-03-25T18:58:02.546Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-03-25T18:58:02.546Z] [2021-03-25T18:58:02.546Z] [Pipeline] } [2021-03-25T18:58:02.564Z] $ docker stop --time=1 bc557bb5fad11d4ca299c9e301c95b55a17107f42a8bc288e2c787b6e9a645cd [2021-03-25T18:58:05.520Z] $ docker rm -f bc557bb5fad11d4ca299c9e301c95b55a17107f42a8bc288e2c787b6e9a645cd [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-25T18:58:06.875Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-25T18:58:06.930Z] provisioning config files... [2021-03-25T18:58:06.944Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config1022806073220890268tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-25T18:58:07.326Z] --> edgex-publish-swagger.sh [2021-03-25T18:58:07.326Z] === Publish openapi/v2 API === [2021-03-25T18:58:07.326Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-03-25T18:58:07.326Z] [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/ndry_app-functions-sdk-go_master/openapi/v2/app-functions-sdk.yaml] [2021-03-25T18:58:07.326Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-25T18:58:07.326Z] Dload Upload Total Spent Left Speed [2021-03-25T18:58:08.286Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13052 0 0 100 13052 0 11443 0:00:01 0:00:01 --:--:-- 11449 100 13052 0 0 100 13052 0 11441 0:00:01 0:00:01 --:--:-- 11449 [2021-03-25T18:58:08.286Z] [2021-03-25T18:58:08.286Z] [Pipeline] } [2021-03-25T18:58:08.297Z] 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-25T18:58:09.192Z] + git log --format=format:%s -1 b297a9944049af4bbb77f9b3a6874cde68128318 [Pipeline] isUnix [Pipeline] sh [2021-03-25T18:58:09.507Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-25T18:58:09.508Z] . [Pipeline] withDockerContainer [2021-03-25T18:58:09.627Z] prd-centos7-docker-4c-2g-31407 does not seem to be running inside a container [2021-03-25T18:58:09.682Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-25T18:58:10.586Z] $ docker top bd0979b581b4eecef0b4ab3bd6acf8b11184de24f35dfabb518c345fabdc5af3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-25T18:58:10.994Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-25T18:58:10.994Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-25T18:58:11.271Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-25T18:58:11.275Z] $ docker exec bd0979b581b4eecef0b4ab3bd6acf8b11184de24f35dfabb518c345fabdc5af3 ssh-agent [2021-03-25T18:58:11.461Z] SSH_AUTH_SOCK=/tmp/ssh-RZXdkcD2iAm4/agent.11 [2021-03-25T18:58:11.461Z] SSH_AGENT_PID=16 [2021-03-25T18:58:11.468Z] Running ssh-add (command line suppressed) [2021-03-25T18:58:11.605Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_8901002016744530836.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_8901002016744530836.key) [2021-03-25T18:58:11.666Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-25T18:58:12.010Z] + git semver tag [2021-03-25T18:58:12.011Z] # -> Open(): unable to determine branch for HEAD [2021-03-25T18:58:12.011Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-03-25T18:58:12.011Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-03-25T18:58:12.011Z] # $SEMVER_REMOTE_NAME = origin [2021-03-25T18:58:12.011Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-25T18:58:12.011Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-25T18:58:12.011Z] # $SEMVER_BRANCH = master [2021-03-25T18:58:12.011Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-03-25T18:58:12.011Z] # b297a9944049af4bbb77f9b3a6874cde68128318 HEAD [2021-03-25T18:58:12.273Z] # -> Force: false [2021-03-25T18:58:12.273Z] # af2ee6cb90194e367abdb80a51eeebe2b01df360 refs/tags/v2.0.0-dev.34 [Pipeline] } [2021-03-25T18:58:12.287Z] $ docker exec --env ******** --env ******** bd0979b581b4eecef0b4ab3bd6acf8b11184de24f35dfabb518c345fabdc5af3 ssh-agent -k [2021-03-25T18:58:12.423Z] unset SSH_AUTH_SOCK; [2021-03-25T18:58:12.423Z] unset SSH_AGENT_PID; [2021-03-25T18:58:12.423Z] echo Agent pid 16 killed; [2021-03-25T18:58:12.481Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-25T18:58:13.038Z] + git semver [Pipeline] } [2021-03-25T18:58:13.085Z] $ docker stop --time=1 bd0979b581b4eecef0b4ab3bd6acf8b11184de24f35dfabb518c345fabdc5af3 [2021-03-25T18:58:14.461Z] $ docker rm -f bd0979b581b4eecef0b4ab3bd6acf8b11184de24f35dfabb518c345fabdc5af3 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-03-25T18:58:15.136Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-25T18:58:15.136Z] [2021-03-25T18:58:15.136Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-03-25T18:58:15.490Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-25T18:58:15.490Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-03-25T18:58:15.490Z] ab5ef0e58194: Pulling fs layer [2021-03-25T18:58:15.491Z] 9712f1f96733: Pulling fs layer [2021-03-25T18:58:15.491Z] 63f879dbbcfc: Pulling fs layer [2021-03-25T18:58:15.491Z] 0d9ebad4ef96: Pulling fs layer [2021-03-25T18:58:15.491Z] e9a5061849ea: Pulling fs layer [2021-03-25T18:58:15.491Z] d747dcd14b5f: Pulling fs layer [2021-03-25T18:58:15.491Z] 2de7ff778b66: Pulling fs layer [2021-03-25T18:58:15.491Z] e9a5061849ea: Waiting [2021-03-25T18:58:15.491Z] d747dcd14b5f: Waiting [2021-03-25T18:58:15.491Z] 2de7ff778b66: Waiting [2021-03-25T18:58:15.491Z] 0d9ebad4ef96: Waiting [2021-03-25T18:58:15.491Z] 9712f1f96733: Verifying Checksum [2021-03-25T18:58:15.491Z] 9712f1f96733: Download complete [2021-03-25T18:58:18.057Z] 63f879dbbcfc: Verifying Checksum [2021-03-25T18:58:18.057Z] 63f879dbbcfc: Download complete [2021-03-25T18:58:18.057Z] e9a5061849ea: Verifying Checksum [2021-03-25T18:58:18.057Z] e9a5061849ea: Download complete [2021-03-25T18:58:18.057Z] d747dcd14b5f: Verifying Checksum [2021-03-25T18:58:18.057Z] d747dcd14b5f: Download complete [2021-03-25T18:58:18.331Z] 2de7ff778b66: Verifying Checksum [2021-03-25T18:58:18.331Z] 2de7ff778b66: Download complete [2021-03-25T18:58:18.595Z] 0d9ebad4ef96: Verifying Checksum [2021-03-25T18:58:18.595Z] 0d9ebad4ef96: Download complete [2021-03-25T18:58:18.595Z] ab5ef0e58194: Verifying Checksum [2021-03-25T18:58:18.595Z] ab5ef0e58194: Download complete [2021-03-25T18:58:22.840Z] ab5ef0e58194: Pull complete [2021-03-25T18:58:23.106Z] 9712f1f96733: Pull complete [2021-03-25T18:58:25.708Z] 63f879dbbcfc: Pull complete [2021-03-25T18:58:32.377Z] 0d9ebad4ef96: Pull complete [2021-03-25T18:58:33.792Z] e9a5061849ea: Pull complete [2021-03-25T18:58:33.792Z] d747dcd14b5f: Pull complete [2021-03-25T18:58:36.400Z] 2de7ff778b66: Pull complete [2021-03-25T18:58:36.400Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-03-25T18:58:36.400Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-25T18:58:36.400Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-03-25T18:58:36.648Z] prd-centos7-docker-4c-2g-31407 does not seem to be running inside a container [2021-03-25T18:58:36.695Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-03-25T18:58:40.975Z] $ docker top 1ad003cad5855e05a56c1c3454a3471a75028421eacb0fa13875ad1068660985 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-03-25T18:58:41.256Z] provisioning config files... [2021-03-25T18:58:41.277Z] copy managed file [sigul-config] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config3166755009556284878tmp [2021-03-25T18:58:41.293Z] copy managed file [sigul-password] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config6967916780170378596tmp [2021-03-25T18:58:41.313Z] copy managed file [sigul-pki] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config3702797362525588785tmp [Pipeline] { [Pipeline] echo [2021-03-25T18:58:41.376Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-25T18:58:41.680Z] ---> sigul-configuration.sh [2021-03-25T18:58:41.680Z] gpg: directory `/root/.gnupg' created [2021-03-25T18:58:41.680Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-03-25T18:58:41.680Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-03-25T18:58:41.680Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-03-25T18:58:41.680Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-03-25T18:58:41.680Z] gpg: CAST5 encrypted data [2021-03-25T18:58:41.960Z] gpg: encrypted with 1 passphrase [2021-03-25T18:58:41.960Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-03-25T18:58:42.278Z] + mkdir /home/jenkins [2021-03-25T18:58:42.278Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-03-25T18:58:42.584Z] + 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-25T18:58:42.595Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-25T18:58:42.897Z] ---> sigul-install.sh [2021-03-25T18:58:49.518Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-03-25T18:58:49.827Z] + git tag --list [2021-03-25T18:58:49.827Z] v0.1.0 [2021-03-25T18:58:49.827Z] v0.1.1 [2021-03-25T18:58:49.827Z] v1.0.0 [2021-03-25T18:58:49.827Z] v1.1.0 [2021-03-25T18:58:49.827Z] v1.2.0 [2021-03-25T18:58:49.827Z] v1.3.0 [2021-03-25T18:58:49.827Z] v1.3.1 [2021-03-25T18:58:49.827Z] v1.3.1-dev.1 [2021-03-25T18:58:49.827Z] v1.3.2-dev.1 [2021-03-25T18:58:49.827Z] v2.0.0-dev.1 [2021-03-25T18:58:49.827Z] v2.0.0-dev.10 [2021-03-25T18:58:49.827Z] v2.0.0-dev.11 [2021-03-25T18:58:49.827Z] v2.0.0-dev.12 [2021-03-25T18:58:49.827Z] v2.0.0-dev.13 [2021-03-25T18:58:49.827Z] v2.0.0-dev.14 [2021-03-25T18:58:49.827Z] v2.0.0-dev.15 [2021-03-25T18:58:49.827Z] v2.0.0-dev.16 [2021-03-25T18:58:49.827Z] v2.0.0-dev.17 [2021-03-25T18:58:49.827Z] v2.0.0-dev.18 [2021-03-25T18:58:49.827Z] v2.0.0-dev.19 [2021-03-25T18:58:49.827Z] v2.0.0-dev.2 [2021-03-25T18:58:49.827Z] v2.0.0-dev.20 [2021-03-25T18:58:49.827Z] v2.0.0-dev.21 [2021-03-25T18:58:49.827Z] v2.0.0-dev.22 [2021-03-25T18:58:49.827Z] v2.0.0-dev.23 [2021-03-25T18:58:49.827Z] v2.0.0-dev.24 [2021-03-25T18:58:49.827Z] v2.0.0-dev.25 [2021-03-25T18:58:49.827Z] v2.0.0-dev.26 [2021-03-25T18:58:49.827Z] v2.0.0-dev.27 [2021-03-25T18:58:49.827Z] v2.0.0-dev.28 [2021-03-25T18:58:49.827Z] v2.0.0-dev.29 [2021-03-25T18:58:49.827Z] v2.0.0-dev.3 [2021-03-25T18:58:49.827Z] v2.0.0-dev.30 [2021-03-25T18:58:49.827Z] v2.0.0-dev.31 [2021-03-25T18:58:49.827Z] v2.0.0-dev.32 [2021-03-25T18:58:49.827Z] v2.0.0-dev.33 [2021-03-25T18:58:49.827Z] v2.0.0-dev.34 [2021-03-25T18:58:49.827Z] v2.0.0-dev.4 [2021-03-25T18:58:49.827Z] v2.0.0-dev.5 [2021-03-25T18:58:49.827Z] v2.0.0-dev.6 [2021-03-25T18:58:49.827Z] v2.0.0-dev.7 [2021-03-25T18:58:49.827Z] v2.0.0-dev.8 [2021-03-25T18:58:49.827Z] v2.0.0-dev.9 [Pipeline] sh [2021-03-25T18:58:50.136Z] + lftools sign git-tag v2.0.0-dev.34 [2021-03-25T18:58:51.532Z] Signing Git tag with Sigul... [2021-03-25T18:58:51.532Z] Signing v2.0.0-dev.34 [Pipeline] echo [2021-03-25T18:58:52.936Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-25T18:58:53.241Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-03-25T18:58:53.252Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-03-25T18:58:53.372Z] $ docker stop --time=1 1ad003cad5855e05a56c1c3454a3471a75028421eacb0fa13875ad1068660985 [2021-03-25T18:58:55.571Z] $ docker rm -f 1ad003cad5855e05a56c1c3454a3471a75028421eacb0fa13875ad1068660985 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-03-25T18:58:56.549Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-25T18:58:56.549Z] . [Pipeline] withDockerContainer [2021-03-25T18:58:56.665Z] prd-centos7-docker-4c-2g-31407 does not seem to be running inside a container [2021-03-25T18:58:56.716Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-25T18:58:57.633Z] $ docker top ed62f29dc341cec9bb66c856cf877cd50ca8aa75b934216321166eb657be1542 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-25T18:58:57.958Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-25T18:58:57.958Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-25T18:58:58.227Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-25T18:58:58.231Z] $ docker exec ed62f29dc341cec9bb66c856cf877cd50ca8aa75b934216321166eb657be1542 ssh-agent [2021-03-25T18:58:58.422Z] SSH_AUTH_SOCK=/tmp/ssh-iWkLUV9oMnvA/agent.12 [2021-03-25T18:58:58.422Z] SSH_AGENT_PID=18 [2021-03-25T18:58:58.430Z] Running ssh-add (command line suppressed) [2021-03-25T18:58:58.568Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_2374951707650032426.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_2374951707650032426.key) [2021-03-25T18:58:58.636Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-25T18:58:58.991Z] + git semver bump pre [2021-03-25T18:58:58.991Z] # -> Open(): unable to determine branch for HEAD [2021-03-25T18:58:58.991Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-03-25T18:58:58.991Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-03-25T18:58:58.991Z] # $SEMVER_REMOTE_NAME = origin [2021-03-25T18:58:58.991Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-25T18:58:58.991Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-25T18:58:58.991Z] # $SEMVER_BRANCH = master [2021-03-25T18:58:58.991Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-03-25T18:58:58.991Z] 2.0.0-dev.35 [Pipeline] } [2021-03-25T18:58:59.008Z] $ docker exec --env ******** --env ******** ed62f29dc341cec9bb66c856cf877cd50ca8aa75b934216321166eb657be1542 ssh-agent -k [2021-03-25T18:58:59.143Z] unset SSH_AUTH_SOCK; [2021-03-25T18:58:59.144Z] unset SSH_AGENT_PID; [2021-03-25T18:58:59.144Z] echo Agent pid 18 killed; [2021-03-25T18:58:59.207Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-25T18:58:59.697Z] + git semver [Pipeline] } [2021-03-25T18:58:59.715Z] $ docker stop --time=1 ed62f29dc341cec9bb66c856cf877cd50ca8aa75b934216321166eb657be1542 [2021-03-25T18:59:01.099Z] $ docker rm -f ed62f29dc341cec9bb66c856cf877cd50ca8aa75b934216321166eb657be1542 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-03-25T18:59:01.732Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-25T18:59:01.732Z] . [Pipeline] withDockerContainer [2021-03-25T18:59:01.897Z] prd-centos7-docker-4c-2g-31407 does not seem to be running inside a container [2021-03-25T18:59:01.947Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-25T18:59:02.672Z] $ docker top b1729de5db3d8cd1a352d92022c7a196d855c09f86cad123c78aa872c682996c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-25T18:59:03.026Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-25T18:59:03.027Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-25T18:59:03.237Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-25T18:59:03.240Z] $ docker exec b1729de5db3d8cd1a352d92022c7a196d855c09f86cad123c78aa872c682996c ssh-agent [2021-03-25T18:59:03.429Z] SSH_AUTH_SOCK=/tmp/ssh-h00OnEhhKu0x/agent.12 [2021-03-25T18:59:03.429Z] SSH_AGENT_PID=18 [2021-03-25T18:59:03.436Z] Running ssh-add (command line suppressed) [2021-03-25T18:59:03.585Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_5755821115613853239.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_5755821115613853239.key) [2021-03-25T18:59:03.645Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-25T18:59:03.981Z] + git semver push [2021-03-25T18:59:03.981Z] # -> Open(): unable to determine branch for HEAD [2021-03-25T18:59:03.981Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-03-25T18:59:03.981Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-03-25T18:59:03.981Z] # $SEMVER_REMOTE_NAME = origin [2021-03-25T18:59:03.981Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-25T18:59:03.981Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-25T18:59:03.981Z] # $SEMVER_BRANCH = master [2021-03-25T18:59:03.981Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-03-25T18:59:08.221Z] $ docker exec --env ******** --env ******** b1729de5db3d8cd1a352d92022c7a196d855c09f86cad123c78aa872c682996c ssh-agent -k [2021-03-25T18:59:08.350Z] unset SSH_AUTH_SOCK; [2021-03-25T18:59:08.354Z] unset SSH_AGENT_PID; [2021-03-25T18:59:08.354Z] echo Agent pid 18 killed; [2021-03-25T18:59:08.410Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-25T18:59:08.891Z] + git semver [Pipeline] } [2021-03-25T18:59:08.909Z] $ docker stop --time=1 b1729de5db3d8cd1a352d92022c7a196d855c09f86cad123c78aa872c682996c [2021-03-25T18:59:10.300Z] $ docker rm -f b1729de5db3d8cd1a352d92022c7a196d855c09f86cad123c78aa872c682996c [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-25T18:59:12.025Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-25T18:59:12.604Z] ---> package-listing.sh [2021-03-25T18:59:12.604Z] ++ facter osfamily [2021-03-25T18:59:12.604Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-25T18:59:12.604Z] + OS_FAMILY=redhat [2021-03-25T18:59:12.604Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_master [2021-03-25T18:59:12.604Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-25T18:59:12.604Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-25T18:59:12.604Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-25T18:59:12.604Z] + PACKAGES=/tmp/packages_start.txt [2021-03-25T18:59:12.604Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-03-25T18:59:12.604Z] + PACKAGES=/tmp/packages_end.txt [2021-03-25T18:59:12.604Z] + case "${OS_FAMILY}" in [2021-03-25T18:59:12.604Z] + rpm -qa [2021-03-25T18:59:12.604Z] + sort [2021-03-25T18:59:17.944Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-25T18:59:17.945Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-25T18:59:17.945Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-25T18:59:17.945Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-03-25T18:59:17.945Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_master/archives/ [2021-03-25T18:59:17.945Z] + 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-25T18:59:17.991Z] 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-25T18:59:18.296Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-25T18:59:18.610Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-25T18:59:18.611Z] [2021-03-25T18:59:18.611Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-25T18:59:18.967Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-25T18:59:18.967Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-25T18:59:18.967Z] df20fa9351a1: Pulling fs layer [2021-03-25T18:59:18.967Z] 36b3adc4ff6f: Pulling fs layer [2021-03-25T18:59:18.967Z] 8ad3a11d3b57: Pulling fs layer [2021-03-25T18:59:18.967Z] 46f8f816bc3b: Pulling fs layer [2021-03-25T18:59:18.967Z] 93b61091891f: Pulling fs layer [2021-03-25T18:59:18.967Z] 93b9cdb0e59b: Pulling fs layer [2021-03-25T18:59:18.967Z] 5e14af77c1be: Pulling fs layer [2021-03-25T18:59:18.967Z] 01666e4c0597: Pulling fs layer [2021-03-25T18:59:18.967Z] aa168da1d23b: Pulling fs layer [2021-03-25T18:59:18.967Z] 46f8f816bc3b: Waiting [2021-03-25T18:59:18.967Z] 93b61091891f: Waiting [2021-03-25T18:59:18.967Z] 93b9cdb0e59b: Waiting [2021-03-25T18:59:18.967Z] 5e14af77c1be: Waiting [2021-03-25T18:59:18.967Z] 01666e4c0597: Waiting [2021-03-25T18:59:18.967Z] aa168da1d23b: Waiting [2021-03-25T18:59:18.967Z] 36b3adc4ff6f: Verifying Checksum [2021-03-25T18:59:18.967Z] 36b3adc4ff6f: Download complete [2021-03-25T18:59:18.967Z] 46f8f816bc3b: Verifying Checksum [2021-03-25T18:59:18.967Z] 46f8f816bc3b: Download complete [2021-03-25T18:59:18.967Z] df20fa9351a1: Verifying Checksum [2021-03-25T18:59:18.967Z] df20fa9351a1: Download complete [2021-03-25T18:59:18.967Z] 93b9cdb0e59b: Verifying Checksum [2021-03-25T18:59:18.967Z] 93b9cdb0e59b: Download complete [2021-03-25T18:59:19.239Z] 5e14af77c1be: Verifying Checksum [2021-03-25T18:59:19.239Z] 5e14af77c1be: Download complete [2021-03-25T18:59:19.239Z] 01666e4c0597: Verifying Checksum [2021-03-25T18:59:19.239Z] 01666e4c0597: Download complete [2021-03-25T18:59:19.239Z] 93b61091891f: Verifying Checksum [2021-03-25T18:59:19.239Z] 93b61091891f: Download complete [2021-03-25T18:59:19.823Z] 8ad3a11d3b57: Verifying Checksum [2021-03-25T18:59:19.823Z] 8ad3a11d3b57: Download complete [2021-03-25T18:59:19.823Z] df20fa9351a1: Pull complete [2021-03-25T18:59:20.092Z] 36b3adc4ff6f: Pull complete [2021-03-25T18:59:21.061Z] 8ad3a11d3b57: Pull complete [2021-03-25T18:59:21.324Z] 46f8f816bc3b: Pull complete [2021-03-25T18:59:21.592Z] aa168da1d23b: Verifying Checksum [2021-03-25T18:59:21.592Z] aa168da1d23b: Download complete [2021-03-25T18:59:22.168Z] 93b61091891f: Pull complete [2021-03-25T18:59:22.436Z] 93b9cdb0e59b: Pull complete [2021-03-25T18:59:22.436Z] 5e14af77c1be: Pull complete [2021-03-25T18:59:22.704Z] 01666e4c0597: Pull complete [2021-03-25T18:59:30.890Z] aa168da1d23b: Pull complete [2021-03-25T18:59:30.890Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-25T18:59:30.890Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-25T18:59:30.890Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-25T18:59:31.143Z] prd-centos7-docker-4c-2g-31407 does not seem to be running inside a container [2021-03-25T18:59:31.191Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-25T18:59:34.135Z] $ docker top 74ce9e76966f1fb3c5eaeabb76a972c3629f32df41c44360a47003f2fdf87a10 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-25T18:59:34.625Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-25T18:59:34.924Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-25T18:59:35.229Z] + ls /var/log/sa-host [2021-03-25T18:59:35.229Z] + sadf -c /var/log/sa-host/sa23 [2021-03-25T18:59:35.229Z] file_magic: OK [2021-03-25T18:59:35.229Z] HZ: Using current value: 100 [2021-03-25T18:59:35.229Z] file_header: OK [2021-03-25T18:59:35.229Z] 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-25T18:59:35.229Z] Statistics: [2021-03-25T18:59:35.229Z] Hnuu...uuuununununu... [2021-03-25T18:59:35.229Z] File successfully converted to sysstat format version 12.2.1 [2021-03-25T18:59:35.229Z] + sadf -c /var/log/sa-host/sa25 [2021-03-25T18:59:35.229Z] file_magic: OK [2021-03-25T18:59:35.229Z] HZ: Using current value: 100 [2021-03-25T18:59:35.229Z] file_header: OK [2021-03-25T18:59:35.229Z] 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-25T18:59:35.229Z] Statistics: [2021-03-25T18:59:35.229Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-25T18:59:35.229Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-25T18:59:35.494Z] provisioning config files... [2021-03-25T18:59:35.515Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config6157811980236057609tmp [Pipeline] { [Pipeline] echo [2021-03-25T18:59:35.582Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-25T18:59:35.883Z] ---> create-netrc.sh [Pipeline] } [2021-03-25T18:59:35.894Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-25T18:59:35.990Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-25T18:59:36.296Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-25T18:59:36.308Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-25T18:59:36.607Z] ---> sudo-logs.sh [2021-03-25T18:59:36.607Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-25T18:59:36.673Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-25T18:59:36.975Z] ---> job-cost.sh [2021-03-25T18:59:36.975Z] lf-activate-venv: SKIPPING [2021-03-25T18:59:36.975Z] DEBUG: total: 0.20999999344348907 [2021-03-25T18:59:36.975Z] INFO: Retrieving Stack Cost... [2021-03-25T18:59:38.372Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-25T18:59:38.950Z] INFO: Archiving Costs [Pipeline] echo [2021-03-25T18:59:38.967Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-25T18:59:39.318Z] ---> logs-deploy.sh [2021-03-25T18:59:39.318Z] lf-activate-venv: SKIPPING [2021-03-25T18:59:39.318Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/master/203 [2021-03-25T18:59:39.318Z] INFO: archiving workspace using pattern(s): [2021-03-25T18:59:41.245Z] Archives upload complete. [2021-03-25T18:59:41.245Z] INFO: archiving logs to Nexus