Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 4075ac3009cb92cd9075a5419a7194c83a419bba 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 5a4b2863d981ac6c14e44fa4f963a690d64f08cf 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 5a4b2863d981ac6c14e44fa4f963a690d64f08cf 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 5a4b2863d981ac6c14e44fa4f963a690d64f08cf (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 5a4b2863d981ac6c14e44fa4f963a690d64f08cf # timeout=10 Commit message: "Merge pull request #318 from MightyNerdEric/parallelCostCapture" > 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-27693 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 Checking out Revision 4075ac3009cb92cd9075a5419a7194c83a419bba (master) > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4075ac3009cb92cd9075a5419a7194c83a419bba # timeout=10 Commit message: "refactor: Rework secrets for HTTP Export so value in InsecureSecrets can be overridden (#714)" > git rev-list --no-walk db11a9be6c8646c0b785f5875b2d439dd0a6ea71 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-25T17:59:29.761Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-25T17:59:30.101Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-25T17:59:30.238Z] ========================================================= [2021-02-25T17:59:30.238Z] EdgeX Global Pipelines Version Info [2021-02-25T17:59:30.238Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-25T17:59:34.487Z] ------------------- [2021-02-25T17:59:34.488Z] stable info: [2021-02-25T17:59:34.488Z] ------------------- [2021-02-25T17:59:34.488Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-25T17:59:34.488Z] Commit SHA: 5a4b2863d981ac6c14e44fa4f963a690d64f08cf [2021-02-25T17:59:34.488Z] Message: update stable to v1.0.181 [2021-02-25T17:59:36.379Z] ------------------- [2021-02-25T17:59:36.379Z] experimental info: [2021-02-25T17:59:36.379Z] ------------------- [2021-02-25T17:59:36.379Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-02-25T17:59:36.379Z] Commit SHA: e55c21c0f0e4c0e00d8e3e099bac5676b1b4b763 [2021-02-25T17:59:36.379Z] Message: update experimental to v1.0.182 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-25T17:59:36.729Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-02-25T17:59:36.820Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-02-25T17:59:36.906Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-25T17:59:36.996Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-25T17:59:37.100Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-25T17:59:37.190Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-25T17:59:37.275Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-25T17:59:37.366Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-25T17:59:37.451Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-02-25T17:59:37.535Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-25T17:59:37.632Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-25T17:59:37.736Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2021-02-25T17:59:37.842Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-25T17:59:37.966Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-25T17:59:38.053Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-02-25T17:59:38.137Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-25T17:59:38.224Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-25T17:59:38.310Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-25T17:59:38.395Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-25T17:59:38.481Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-25T17:59:38.591Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-02-25T17:59:38.732Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-02-25T17:59:38.814Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-25T17:59:38.896Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-25T17:59:38.982Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-02-25T17:59:39.068Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-02-25T17:59:39.159Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-02-25T17:59:39.247Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-02-25T17:59:39.348Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4075ac3009cb92cd9075a5419a7194c83a419bba [Pipeline] echo [2021-02-25T17:59:39.441Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4075ac3 [Pipeline] echo [2021-02-25T17:59:39.534Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-25T17:59:40.748Z] + git log --format=format:%s -1 4075ac3009cb92cd9075a5419a7194c83a419bba [Pipeline] echo [2021-02-25T17:59:41.779Z] GIT_COMMIT: 4075ac3009cb92cd9075a5419a7194c83a419bba, Commit Message: refactor: Rework secrets for HTTP Export so value in InsecureSecrets can be overridden (#714) [Pipeline] echo [2021-02-25T17:59:41.829Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-25T17:59:43.594Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-25T17:59:45.515Z] [2021-02-25T17:59:45.515Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-25T17:59:46.806Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-25T17:59:47.126Z] latest: Pulling from edgex-devops/git-semver [2021-02-25T17:59:47.126Z] 31603596830f: Pulling fs layer [2021-02-25T17:59:47.126Z] 2a8b12db71e7: Pulling fs layer [2021-02-25T17:59:47.126Z] 6ca5941a6612: Pulling fs layer [2021-02-25T17:59:47.126Z] ecc8261a40a4: Pulling fs layer [2021-02-25T17:59:47.126Z] ecc8261a40a4: Waiting [2021-02-25T17:59:47.427Z] 2a8b12db71e7: Download complete [2021-02-25T17:59:47.823Z] 31603596830f: Verifying Checksum [2021-02-25T17:59:47.823Z] 31603596830f: Download complete [2021-02-25T17:59:49.384Z] 31603596830f: Pull complete [2021-02-25T17:59:49.848Z] 2a8b12db71e7: Pull complete [2021-02-25T17:59:49.848Z] ecc8261a40a4: Verifying Checksum [2021-02-25T17:59:49.848Z] ecc8261a40a4: Download complete [2021-02-25T17:59:51.638Z] 6ca5941a6612: Verifying Checksum [2021-02-25T17:59:51.638Z] 6ca5941a6612: Download complete [2021-02-25T17:59:54.114Z] 6ca5941a6612: Pull complete [2021-02-25T17:59:54.840Z] ecc8261a40a4: Pull complete [2021-02-25T17:59:54.840Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-25T17:59:54.840Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-25T17:59:54.840Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-25T17:59:55.428Z] prd-centos7-docker-4c-2g-27693 does not seem to be running inside a container [2021-02-25T17:59:55.766Z] $ 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-02-25T18:00:02.089Z] $ docker top c4644545f9ebd0e76283564f3e037a7accc04f764b652346bd4f33bdab29d9c6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-25T18:00:02.781Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-25T18:00:02.781Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-25T18:00:03.730Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-25T18:00:03.737Z] $ docker exec c4644545f9ebd0e76283564f3e037a7accc04f764b652346bd4f33bdab29d9c6 ssh-agent [2021-02-25T18:00:04.145Z] SSH_AUTH_SOCK=/tmp/ssh-U2Pw6sHRSLyH/agent.11 [2021-02-25T18:00:04.145Z] SSH_AGENT_PID=16 [2021-02-25T18:00:04.177Z] Running ssh-add (command line suppressed) [2021-02-25T18:00:04.844Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_7367465921659958135.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_7367465921659958135.key) [2021-02-25T18:00:05.111Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-25T18:00:05.843Z] + git tag --points-at HEAD [Pipeline] } [2021-02-25T18:00:05.928Z] $ docker exec --env ******** --env ******** c4644545f9ebd0e76283564f3e037a7accc04f764b652346bd4f33bdab29d9c6 ssh-agent -k [2021-02-25T18:00:06.229Z] unset SSH_AUTH_SOCK; [2021-02-25T18:00:06.230Z] unset SSH_AGENT_PID; [2021-02-25T18:00:06.230Z] echo Agent pid 16 killed; [2021-02-25T18:00:06.420Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-25T18:00:06.568Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-25T18:00:06.568Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-25T18:00:07.125Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-25T18:00:07.132Z] $ docker exec c4644545f9ebd0e76283564f3e037a7accc04f764b652346bd4f33bdab29d9c6 ssh-agent [2021-02-25T18:00:07.767Z] SSH_AUTH_SOCK=/tmp/ssh-5TRq1Q3WmizL/agent.44 [2021-02-25T18:00:07.767Z] SSH_AGENT_PID=49 [2021-02-25T18:00:07.776Z] Running ssh-add (command line suppressed) [2021-02-25T18:00:08.127Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_6525753425887071977.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_6525753425887071977.key) [2021-02-25T18:00:08.292Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-25T18:00:09.181Z] + git semver init [2021-02-25T18:00:09.182Z] # -> Open(): unable to determine branch for HEAD [2021-02-25T18:00:09.182Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-02-25T18:00:09.182Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-02-25T18:00:09.182Z] # $SEMVER_REMOTE_NAME = origin [2021-02-25T18:00:09.182Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-25T18:00:09.182Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-25T18:00:09.182Z] # $SEMVER_BRANCH = master [2021-02-25T18:00:09.182Z] # $SEMVER_TEMP = /tmp/semver-879828239 [2021-02-25T18:00:09.182Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-02-25T18:00:15.490Z] # '/tmp/semver-879828239' -> '/w/workspace/ndry_app-functions-sdk-go_master/.semver' [2021-02-25T18:00:15.891Z] # -> Force: false [2021-02-25T18:00:15.891Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-02-25T18:00:16.467Z] $ docker exec --env ******** --env ******** c4644545f9ebd0e76283564f3e037a7accc04f764b652346bd4f33bdab29d9c6 ssh-agent -k [2021-02-25T18:00:17.869Z] unset SSH_AUTH_SOCK; [2021-02-25T18:00:17.870Z] unset SSH_AGENT_PID; [2021-02-25T18:00:17.870Z] echo Agent pid 49 killed; [2021-02-25T18:00:18.343Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-25T18:00:19.217Z] + git semver [Pipeline] } [2021-02-25T18:00:19.257Z] $ docker stop --time=1 c4644545f9ebd0e76283564f3e037a7accc04f764b652346bd4f33bdab29d9c6 [2021-02-25T18:00:21.369Z] $ docker rm -f c4644545f9ebd0e76283564f3e037a7accc04f764b652346bd4f33bdab29d9c6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-25T18:00:22.134Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-25T18:00:23.680Z] Stashed 1 file(s) [Pipeline] echo [2021-02-25T18:00:23.683Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.20 [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-02-25T18:00:39.201Z] Still waiting to schedule task [2021-02-25T18:00:39.201Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-02-25T18:00:39.205Z] Still waiting to schedule task [2021-02-25T18:00:39.205Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-02-25T18:03:56.325Z] Running on prd-centos7-docker-4c-2g-27694 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-02-25T18:03:56.381Z] Running in /w/workspace/app-functions-sdk-go/187 [Pipeline] { [Pipeline] checkout [2021-02-25T18:03:58.814Z] using credential edgex-jenkins-ssh [2021-02-25T18:03:58.870Z] Cloning the remote Git repository [2021-02-25T18:03:58.463Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-25T18:03:58.546Z] > git init /w/workspace/app-functions-sdk-go/187 # timeout=10 [2021-02-25T18:03:58.607Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-25T18:03:58.607Z] > git --version # timeout=10 [2021-02-25T18:03:58.619Z] > git --version # 'git version 2.24.3' [2021-02-25T18:03:58.619Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-25T18:03:58.655Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-25T18:04:00.178Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-02-25T18:04:00.185Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-25T18:04:00.197Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-02-25T18:04:00.212Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-25T18:04:00.212Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-25T18:04:00.217Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-25T18:04:00.958Z] Checking out Revision 4075ac3009cb92cd9075a5419a7194c83a419bba (master) [2021-02-25T18:04:00.704Z] > git config core.sparsecheckout # timeout=10 [2021-02-25T18:04:00.719Z] > git checkout -f 4075ac3009cb92cd9075a5419a7194c83a419bba # timeout=10 [2021-02-25T18:04:04.454Z] Commit message: "refactor: Rework secrets for HTTP Export so value in InsecureSecrets can be overridden (#714)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-25T18:04:05.977Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-25T18:04:06.316Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-25T18:04:06.620Z] + sudo service docker restart [2021-02-25T18:04:06.620Z] + true [2021-02-25T18:04:06.620Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-02-25T18:04:07.748Z] ========================================================= [2021-02-25T18:04:07.749Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-25T18:04:07.749Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-25T18:04:08.093Z] + 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-02-25T18:04:08.674Z] Sending build context to Docker daemon 19.24MB [2021-02-25T18:04:08.674Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-25T18:04:08.674Z] Step 2/8 : FROM ${BASE} [2021-02-25T18:04:08.939Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-25T18:04:08.939Z] 188c0c94c7c5: Pulling fs layer [2021-02-25T18:04:08.939Z] 0ef7d3d256c8: Pulling fs layer [2021-02-25T18:04:08.939Z] de9db76c5a1d: Pulling fs layer [2021-02-25T18:04:08.939Z] bca2f99d35d6: Pulling fs layer [2021-02-25T18:04:08.939Z] 93359f2a8cfa: Pulling fs layer [2021-02-25T18:04:08.939Z] 7c6f9722023f: Pulling fs layer [2021-02-25T18:04:08.939Z] a35cf1a2eb13: Pulling fs layer [2021-02-25T18:04:08.939Z] bca2f99d35d6: Waiting [2021-02-25T18:04:08.939Z] 93359f2a8cfa: Waiting [2021-02-25T18:04:08.939Z] 7c6f9722023f: Waiting [2021-02-25T18:04:08.939Z] a35cf1a2eb13: Waiting [2021-02-25T18:04:08.939Z] de9db76c5a1d: Download complete [2021-02-25T18:04:08.939Z] 0ef7d3d256c8: Verifying Checksum [2021-02-25T18:04:08.939Z] 0ef7d3d256c8: Download complete [2021-02-25T18:04:08.939Z] 93359f2a8cfa: Download complete [2021-02-25T18:04:08.939Z] 7c6f9722023f: Download complete [2021-02-25T18:04:08.939Z] 188c0c94c7c5: Verifying Checksum [2021-02-25T18:04:08.939Z] 188c0c94c7c5: Download complete [2021-02-25T18:04:09.201Z] 188c0c94c7c5: Pull complete [2021-02-25T18:04:09.466Z] 0ef7d3d256c8: Pull complete [2021-02-25T18:04:09.466Z] de9db76c5a1d: Pull complete [2021-02-25T18:04:11.406Z] a35cf1a2eb13: Verifying Checksum [2021-02-25T18:04:11.406Z] a35cf1a2eb13: Download complete [2021-02-25T18:04:11.990Z] bca2f99d35d6: Verifying Checksum [2021-02-25T18:04:11.990Z] bca2f99d35d6: Download complete [2021-02-25T18:04:17.313Z] bca2f99d35d6: Pull complete [2021-02-25T18:04:17.313Z] 93359f2a8cfa: Pull complete [2021-02-25T18:04:17.313Z] 7c6f9722023f: Pull complete [2021-02-25T18:04:21.553Z] a35cf1a2eb13: Pull complete [2021-02-25T18:04:21.553Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-25T18:04:21.553Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-25T18:04:21.553Z] ---> a62c8e92a672 [2021-02-25T18:04:21.553Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-02-25T18:04:21.553Z] 20.10.0: Pulling from library/docker [2021-02-25T18:04:21.553Z] 05e7bc50f07f: Pulling fs layer [2021-02-25T18:04:21.553Z] 6db28d0fdbf6: Pulling fs layer [2021-02-25T18:04:21.553Z] 292df0bc6bf3: Pulling fs layer [2021-02-25T18:04:21.553Z] 2e060f4bd70b: Pulling fs layer [2021-02-25T18:04:21.553Z] 80e8d568a223: Pulling fs layer [2021-02-25T18:04:21.553Z] 8dc6ef1a942a: Pulling fs layer [2021-02-25T18:04:21.553Z] 2312dd95470a: Pulling fs layer [2021-02-25T18:04:21.553Z] 80e8d568a223: Waiting [2021-02-25T18:04:21.553Z] 8dc6ef1a942a: Waiting [2021-02-25T18:04:21.553Z] 2312dd95470a: Waiting [2021-02-25T18:04:21.553Z] 2e060f4bd70b: Waiting [2021-02-25T18:04:21.553Z] 292df0bc6bf3: Verifying Checksum [2021-02-25T18:04:21.553Z] 292df0bc6bf3: Download complete [2021-02-25T18:04:21.553Z] 6db28d0fdbf6: Verifying Checksum [2021-02-25T18:04:21.553Z] 6db28d0fdbf6: Download complete [2021-02-25T18:04:21.554Z] 80e8d568a223: Verifying Checksum [2021-02-25T18:04:21.554Z] 80e8d568a223: Download complete [2021-02-25T18:04:21.554Z] 8dc6ef1a942a: Verifying Checksum [2021-02-25T18:04:21.554Z] 8dc6ef1a942a: Download complete [2021-02-25T18:04:21.554Z] 05e7bc50f07f: Verifying Checksum [2021-02-25T18:04:21.554Z] 05e7bc50f07f: Download complete [2021-02-25T18:04:21.554Z] 05e7bc50f07f: Pull complete [2021-02-25T18:04:21.823Z] 6db28d0fdbf6: Pull complete [2021-02-25T18:04:21.823Z] 292df0bc6bf3: Pull complete [2021-02-25T18:04:22.404Z] 2e060f4bd70b: Verifying Checksum [2021-02-25T18:04:22.404Z] 2e060f4bd70b: Download complete [2021-02-25T18:04:24.982Z] 2e060f4bd70b: Pull complete [2021-02-25T18:04:25.248Z] 80e8d568a223: Pull complete [2021-02-25T18:04:25.248Z] 8dc6ef1a942a: Pull complete [2021-02-25T18:04:25.509Z] 2312dd95470a: Pull complete [2021-02-25T18:04:25.509Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-02-25T18:04:25.509Z] Status: Downloaded newer image for docker:20.10.0 [2021-02-25T18:04:26.913Z] ---> 5f88a823ac6b [2021-02-25T18:04:26.913Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-02-25T18:04:26.913Z] ---> Running in 3e56fd399ad1 [2021-02-25T18:04:27.175Z] Removing intermediate container 3e56fd399ad1 [2021-02-25T18:04:27.175Z] ---> 66ec999853d5 [2021-02-25T18:04:27.175Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-02-25T18:04:27.175Z] ---> Running in eb7a48f7c142 [2021-02-25T18:04:28.133Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-25T18:04:28.706Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-25T18:04:29.317Z] (1/5) Installing libsodium (1.0.18-r0) [2021-02-25T18:04:29.317Z] (2/5) Installing libzmq (4.3.3-r0) [2021-02-25T18:04:29.317Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-02-25T18:04:29.579Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-02-25T18:04:29.579Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-02-25T18:04:29.579Z] Executing busybox-1.31.1-r19.trigger [2021-02-25T18:04:29.842Z] OK: 167 MiB in 44 packages [2021-02-25T18:04:30.419Z] Removing intermediate container eb7a48f7c142 [2021-02-25T18:04:30.419Z] ---> cc832faf002e [2021-02-25T18:04:30.419Z] Step 6/8 : WORKDIR /build [2021-02-25T18:04:30.419Z] ---> Running in 47d420a2caca [2021-02-25T18:04:30.680Z] Removing intermediate container 47d420a2caca [2021-02-25T18:04:30.680Z] ---> 5f3f9cafeda7 [2021-02-25T18:04:30.680Z] Step 7/8 : COPY go.mod . [2021-02-25T18:04:30.945Z] ---> e6b47f8d3a7f [2021-02-25T18:04:30.945Z] Step 8/8 : RUN go mod download [2021-02-25T18:04:30.945Z] ---> Running in 497d1ccb2f42 [2021-02-25T18:04:52.977Z] Removing intermediate container 497d1ccb2f42 [2021-02-25T18:04:52.977Z] ---> 2f322067e13d [2021-02-25T18:04:52.977Z] Successfully built 2f322067e13d [2021-02-25T18:04:52.977Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-25T18:04:53.289Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-25T18:04:53.289Z] . [Pipeline] withDockerContainer [2021-02-25T18:04:53.410Z] prd-centos7-docker-4c-2g-27694 does not seem to be running inside a container [2021-02-25T18:04:53.458Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/187 -v /w/workspace/app-functions-sdk-go/187:/w/workspace/app-functions-sdk-go/187:rw,z -v /w/workspace/app-functions-sdk-go/187@tmp:/w/workspace/app-functions-sdk-go/187@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 ******** ci-base-image-x86_64 cat [2021-02-25T18:04:54.230Z] $ docker top 0a424f323ee738834cbf7a1ad09516549df8a444062492e74929b238f8354704 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-25T18:04:54.763Z] + go version [2021-02-25T18:04:54.763Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-25T18:04:54.776Z] $ docker stop --time=1 0a424f323ee738834cbf7a1ad09516549df8a444062492e74929b238f8354704 [2021-02-25T18:04:56.131Z] $ docker rm -f 0a424f323ee738834cbf7a1ad09516549df8a444062492e74929b238f8354704 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-25T18:04:56.921Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-25T18:04:56.921Z] . [Pipeline] withDockerContainer [2021-02-25T18:04:57.018Z] prd-centos7-docker-4c-2g-27694 does not seem to be running inside a container [2021-02-25T18:04:57.068Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/187 -v /w/workspace/app-functions-sdk-go/187:/w/workspace/app-functions-sdk-go/187:rw,z -v /w/workspace/app-functions-sdk-go/187@tmp:/w/workspace/app-functions-sdk-go/187@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 ******** ci-base-image-x86_64 cat [2021-02-25T18:04:57.669Z] $ docker top 190628ed756eda0a1474d30ae796bb963a50f034cf79bd404e2b2071befe6ad0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-25T18:04:58.152Z] + make test [2021-02-25T18:04:58.152Z] make -C ./app-service-template build [2021-02-25T18:04:58.152Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/187/app-service-template' [2021-02-25T18:04:58.152Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion= -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-02-25T18:05:05.280Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-27695 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-02-25T18:05:05.332Z] Running in /w/workspace/app-functions-sdk-go/187 [Pipeline] { [Pipeline] checkout [2021-02-25T18:05:10.421Z] using credential edgex-jenkins-ssh [2021-02-25T18:05:10.505Z] Cloning the remote Git repository [2021-02-25T18:05:10.764Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/187/app-service-template' [2021-02-25T18:05:10.764Z] make -C ./app-service-template test [2021-02-25T18:05:10.764Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/187/app-service-template' [2021-02-25T18:05:10.764Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-02-25T18:05:10.583Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-25T18:05:10.693Z] > git init /w/workspace/app-functions-sdk-go/187 # timeout=10 [2021-02-25T18:05:10.777Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-25T18:05:10.778Z] > git --version # timeout=10 [2021-02-25T18:05:10.803Z] > git --version # 'git version 2.17.1' [2021-02-25T18:05:10.806Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-25T18:05:10.893Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-25T18:05:13.843Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-02-25T18:05:13.865Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-25T18:05:13.895Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-02-25T18:05:13.943Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-25T18:05:13.944Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-25T18:05:13.958Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-25T18:05:14.402Z] Checking out Revision 4075ac3009cb92cd9075a5419a7194c83a419bba (master) [2021-02-25T18:05:14.443Z] > git config core.sparsecheckout # timeout=10 [2021-02-25T18:05:14.473Z] > git checkout -f 4075ac3009cb92cd9075a5419a7194c83a419bba # timeout=10 [2021-02-25T18:05:17.417Z] ? new-app-service [no test files] [2021-02-25T18:05:17.995Z] ok new-app-service/functions 0.009s coverage: 75.8% of statements [2021-02-25T18:05:17.995Z] CGO_ENABLED=1 go vet ./... [2021-02-25T18:05:19.038Z] Commit message: "refactor: Rework secrets for HTTP Export so value in InsecureSecrets can be overridden (#714)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-25T18:05:20.683Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-25T18:05:21.139Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-25T18:05:21.485Z] + + sudo service dockertrue restart [2021-02-25T18:05:21.485Z] [2021-02-25T18:05:22.285Z] gofmt -l . [2021-02-25T18:05:22.285Z] [ "`gofmt -l .`" = "" ] [2021-02-25T18:05:22.285Z] ./bin/test-go-mod-tidy.sh [2021-02-25T18:05:22.285Z] ./bin/test-attribution-txt.sh [2021-02-25T18:05:22.859Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/187/app-service-template' [2021-02-25T18:05:22.859Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-02-25T18:05:23.127Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] [2021-02-25T18:05:24.105Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.040s coverage: 82.6% of statements [Pipeline] unstash [Pipeline] echo [2021-02-25T18:05:24.430Z] ========================================================= [2021-02-25T18:05:24.430Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-25T18:05:24.430Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-25T18:05:24.823Z] + 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-02-25T18:05:25.813Z] Sending build context to Docker daemon 19.24MB [2021-02-25T18:05:25.813Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-25T18:05:25.813Z] Step 2/8 : FROM ${BASE} [2021-02-25T18:05:26.069Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.021s coverage: 57.4% of statements [2021-02-25T18:05:26.069Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-02-25T18:05:26.069Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-02-25T18:05:26.069Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.090s coverage: 61.5% of statements [2021-02-25T18:05:26.069Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-02-25T18:05:26.069Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.034s coverage: 75.6% of statements [2021-02-25T18:05:26.069Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-02-25T18:05:26.069Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-02-25T18:05:26.069Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-02-25T18:05:26.069Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-02-25T18:05:26.069Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-02-25T18:05:26.069Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-02-25T18:05:26.069Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.011s coverage: 97.0% of statements [2021-02-25T18:05:26.069Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-02-25T18:05:26.069Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.016s coverage: 8.8% of statements [2021-02-25T18:05:26.412Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-25T18:05:26.412Z] 5f621e34cdf4: Pulling fs layer [2021-02-25T18:05:26.412Z] a4357932f1b6: Pulling fs layer [2021-02-25T18:05:26.412Z] 18c013af1878: Pulling fs layer [2021-02-25T18:05:26.412Z] 00ac8860ef70: Pulling fs layer [2021-02-25T18:05:26.412Z] 63d7cb157983: Pulling fs layer [2021-02-25T18:05:26.412Z] b116817d02f9: Pulling fs layer [2021-02-25T18:05:26.412Z] 745a02a5169b: Pulling fs layer [2021-02-25T18:05:26.412Z] 63d7cb157983: Waiting [2021-02-25T18:05:26.412Z] 745a02a5169b: Waiting [2021-02-25T18:05:26.412Z] b116817d02f9: Waiting [2021-02-25T18:05:26.412Z] 00ac8860ef70: Waiting [2021-02-25T18:05:26.412Z] 18c013af1878: Verifying Checksum [2021-02-25T18:05:26.412Z] 18c013af1878: Download complete [2021-02-25T18:05:26.412Z] a4357932f1b6: Verifying Checksum [2021-02-25T18:05:26.412Z] a4357932f1b6: Download complete [2021-02-25T18:05:26.412Z] 63d7cb157983: Download complete [2021-02-25T18:05:26.412Z] b116817d02f9: Download complete [2021-02-25T18:05:26.412Z] 5f621e34cdf4: Verifying Checksum [2021-02-25T18:05:26.412Z] 5f621e34cdf4: Download complete [2021-02-25T18:05:27.011Z] 5f621e34cdf4: Pull complete [2021-02-25T18:05:27.995Z] a4357932f1b6: Pull complete [2021-02-25T18:05:28.269Z] 18c013af1878: Pull complete [2021-02-25T18:05:28.876Z] 745a02a5169b: Verifying Checksum [2021-02-25T18:05:28.876Z] 745a02a5169b: Download complete [2021-02-25T18:05:30.314Z] 00ac8860ef70: Verifying Checksum [2021-02-25T18:05:30.314Z] 00ac8860ef70: Download complete [2021-02-25T18:05:40.472Z] 00ac8860ef70: Pull complete [2021-02-25T18:05:40.472Z] 63d7cb157983: Pull complete [2021-02-25T18:05:40.472Z] b116817d02f9: Pull complete [2021-02-25T18:05:41.000Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 13.844s coverage: 77.5% of statements [2021-02-25T18:05:41.000Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-02-25T18:05:41.000Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.015s coverage: 87.9% of statements [2021-02-25T18:05:41.000Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.015s coverage: 80.5% of statements [2021-02-25T18:05:41.000Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.007s coverage: 71.7% of statements [2021-02-25T18:05:44.791Z] 745a02a5169b: Pull complete [2021-02-25T18:05:44.791Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-25T18:05:44.791Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-25T18:05:44.791Z] ---> b7e6874047d6 [2021-02-25T18:05:44.791Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-02-25T18:05:44.791Z] 20.10.0: Pulling from library/docker [2021-02-25T18:05:44.791Z] a3cc7d3b244e: Pulling fs layer [2021-02-25T18:05:44.791Z] 02a3295e0d61: Pulling fs layer [2021-02-25T18:05:44.791Z] 0f4f2e6d8100: Pulling fs layer [2021-02-25T18:05:44.791Z] 330b718f631f: Pulling fs layer [2021-02-25T18:05:44.791Z] a93816041522: Pulling fs layer [2021-02-25T18:05:44.791Z] bdb6da89ff94: Pulling fs layer [2021-02-25T18:05:44.791Z] 2a70c0c122f4: Pulling fs layer [2021-02-25T18:05:44.791Z] a93816041522: Waiting [2021-02-25T18:05:44.791Z] 330b718f631f: Waiting [2021-02-25T18:05:44.791Z] bdb6da89ff94: Waiting [2021-02-25T18:05:44.791Z] 2a70c0c122f4: Waiting [2021-02-25T18:05:44.791Z] 0f4f2e6d8100: Verifying Checksum [2021-02-25T18:05:44.791Z] 0f4f2e6d8100: Download complete [2021-02-25T18:05:44.791Z] a3cc7d3b244e: Verifying Checksum [2021-02-25T18:05:44.791Z] a3cc7d3b244e: Download complete [2021-02-25T18:05:44.791Z] a93816041522: Verifying Checksum [2021-02-25T18:05:44.791Z] a93816041522: Download complete [2021-02-25T18:05:44.791Z] bdb6da89ff94: Verifying Checksum [2021-02-25T18:05:44.791Z] bdb6da89ff94: Download complete [2021-02-25T18:05:44.791Z] 2a70c0c122f4: Verifying Checksum [2021-02-25T18:05:44.791Z] 2a70c0c122f4: Download complete [2021-02-25T18:05:45.382Z] a3cc7d3b244e: Pull complete [2021-02-25T18:05:45.984Z] 02a3295e0d61: Pull complete [2021-02-25T18:05:46.259Z] 0f4f2e6d8100: Pull complete [2021-02-25T18:05:46.259Z] 330b718f631f: Download complete [2021-02-25T18:05:50.584Z] 330b718f631f: Pull complete [2021-02-25T18:05:50.584Z] a93816041522: Pull complete [2021-02-25T18:05:50.863Z] bdb6da89ff94: Pull complete [2021-02-25T18:05:51.138Z] 2a70c0c122f4: Pull complete [2021-02-25T18:05:51.138Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-02-25T18:05:51.138Z] Status: Downloaded newer image for docker:20.10.0 [2021-02-25T18:05:53.251Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.039s coverage: 82.8% of statements [2021-02-25T18:05:53.251Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.010s coverage: 94.4% of statements [2021-02-25T18:05:53.251Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-02-25T18:05:54.220Z] gofmt -l . [2021-02-25T18:05:54.220Z] [ "`gofmt -l .`" = "" ] [2021-02-25T18:05:54.482Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-25T18:05:54.497Z] $ docker stop --time=1 190628ed756eda0a1474d30ae796bb963a50f034cf79bd404e2b2071befe6ad0 [2021-02-25T18:05:56.044Z] $ docker rm -f 190628ed756eda0a1474d30ae796bb963a50f034cf79bd404e2b2071befe6ad0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-25T18:05:56.649Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-25T18:05:57.101Z] 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] } [2021-02-25T18:05:57.846Z] ---> f031b6c2993f [2021-02-25T18:05:57.847Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-02-25T18:05:57.847Z] ---> Running in e40f411b75e9 [2021-02-25T18:05:57.847Z] Removing intermediate container e40f411b75e9 [2021-02-25T18:05:57.847Z] ---> 9d8c1885162f [2021-02-25T18:05:57.847Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [Pipeline] // stage Post stage [2021-02-25T18:05:58.154Z] ---> Running in 892db18befaf [Pipeline] libraryResource [Pipeline] sh [2021-02-25T18:05:58.462Z] ---> job-cost.sh [2021-02-25T18:05:58.462Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-shws [2021-02-25T18:05:59.583Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-25T18:06:00.178Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-25T18:06:00.769Z] (1/5) Installing libsodium (1.0.18-r0) [2021-02-25T18:06:01.038Z] (2/5) Installing libzmq (4.3.3-r0) [2021-02-25T18:06:01.038Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-02-25T18:06:01.312Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-02-25T18:06:01.312Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-02-25T18:06:01.312Z] Executing busybox-1.31.1-r19.trigger [2021-02-25T18:06:01.312Z] OK: 144 MiB in 44 packages [2021-02-25T18:06:02.745Z] Removing intermediate container 892db18befaf [2021-02-25T18:06:02.745Z] ---> 3a04f5da4c44 [2021-02-25T18:06:02.745Z] Step 6/8 : WORKDIR /build [2021-02-25T18:06:02.745Z] ---> Running in 7af6db37db1b [2021-02-25T18:06:03.339Z] Removing intermediate container 7af6db37db1b [2021-02-25T18:06:03.339Z] ---> 179bf32528be [2021-02-25T18:06:03.339Z] Step 7/8 : COPY go.mod . [2021-02-25T18:06:03.935Z] ---> f4ddcbcca214 [2021-02-25T18:06:03.935Z] Step 8/8 : RUN go mod download [2021-02-25T18:06:04.207Z] ---> Running in f061e9f6b64f [2021-02-25T18:06:13.400Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-02-25T18:06:31.006Z] Removing intermediate container f061e9f6b64f [2021-02-25T18:06:31.006Z] ---> 9e0aaea4fd47 [2021-02-25T18:06:31.006Z] Successfully built 9e0aaea4fd47 [2021-02-25T18:06:31.006Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-25T18:06:31.350Z] + docker inspect -f . ci-base-image-arm64 [2021-02-25T18:06:31.350Z] . [Pipeline] withDockerContainer [2021-02-25T18:06:31.591Z] prd-ubuntu18.04-docker-arm64-4c-16g-27695 does not seem to be running inside a container [2021-02-25T18:06:31.715Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/187 -v /w/workspace/app-functions-sdk-go/187:/w/workspace/app-functions-sdk-go/187:rw,z -v /w/workspace/app-functions-sdk-go/187@tmp:/w/workspace/app-functions-sdk-go/187@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-25T18:06:33.047Z] $ docker top 5d15911be9f2776bdaa4c00c065c0cd21b25860576df32f3c70de906d793904c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-25T18:06:34.052Z] + go version [2021-02-25T18:06:34.052Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-25T18:06:34.101Z] $ docker stop --time=1 5d15911be9f2776bdaa4c00c065c0cd21b25860576df32f3c70de906d793904c [2021-02-25T18:06:36.030Z] $ docker rm -f 5d15911be9f2776bdaa4c00c065c0cd21b25860576df32f3c70de906d793904c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-25T18:06:36.977Z] + docker inspect -f . ci-base-image-arm64 [2021-02-25T18:06:36.977Z] . [Pipeline] withDockerContainer [2021-02-25T18:06:37.213Z] prd-ubuntu18.04-docker-arm64-4c-16g-27695 does not seem to be running inside a container [2021-02-25T18:06:37.331Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/187 -v /w/workspace/app-functions-sdk-go/187:/w/workspace/app-functions-sdk-go/187:rw,z -v /w/workspace/app-functions-sdk-go/187@tmp:/w/workspace/app-functions-sdk-go/187@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-25T18:06:38.795Z] $ docker top 67b9eb50d9dc0dd1ac61a7b9b6527d82abe8a4800e1a85e3403d9c0db8e58c15 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-25T18:06:39.768Z] + make test [2021-02-25T18:06:39.769Z] make -C ./app-service-template build [2021-02-25T18:06:39.769Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/187/app-service-template' [2021-02-25T18:06:39.769Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion= -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-02-25T18:06:45.559Z] lf-activate-venv(): INFO: Adding /tmp/venv-shws/bin to PATH [2021-02-25T18:06:45.559Z] INFO: No Stack... [2021-02-25T18:06:45.559Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-25T18:06:45.559Z] INFO: Archiving Costs [Pipeline] sh [2021-02-25T18:06:45.862Z] + cat /w/workspace/app-functions-sdk-go/187/archives/cost.csv [2021-02-25T18:06:45.862Z] + cut -d, -f6 [Pipeline] lock [2021-02-25T18:06:45.942Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-187-stack-cost] [2021-02-25T18:06:45.955Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-187-stack-cost] did not exist. Created. [2021-02-25T18:06:45.955Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-187-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-02-25T18:06:46.346Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-02-25T18:06:46.463Z] Stashed 1 file(s) [Pipeline] } [2021-02-25T18:06:46.479Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-187-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-02-25T18:07:12.147Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/187/app-service-template' [2021-02-25T18:07:12.147Z] make -C ./app-service-template test [2021-02-25T18:07:12.147Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/187/app-service-template' [2021-02-25T18:07:12.147Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-02-25T18:07:30.483Z] ? new-app-service [no test files] [2021-02-25T18:07:31.938Z] ok new-app-service/functions 0.024s coverage: 75.8% of statements [2021-02-25T18:07:32.218Z] CGO_ENABLED=1 go vet ./... [2021-02-25T18:07:42.401Z] gofmt -l . [2021-02-25T18:07:42.401Z] [ "`gofmt -l .`" = "" ] [2021-02-25T18:07:42.401Z] ./bin/test-go-mod-tidy.sh [2021-02-25T18:07:42.401Z] ./bin/test-attribution-txt.sh [2021-02-25T18:07:42.677Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/187/app-service-template' [2021-02-25T18:07:42.677Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-02-25T18:07:43.658Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] [2021-02-25T18:07:47.074Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.035s coverage: 82.6% of statements [2021-02-25T18:07:54.118Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.077s coverage: 57.4% of statements [2021-02-25T18:07:54.118Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-02-25T18:07:54.118Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-02-25T18:07:54.118Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.117s coverage: 61.5% of statements [2021-02-25T18:07:54.118Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-02-25T18:07:54.118Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.069s coverage: 75.6% of statements [2021-02-25T18:07:54.118Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-02-25T18:07:54.118Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-02-25T18:07:54.118Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-02-25T18:07:54.118Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-02-25T18:07:54.118Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-02-25T18:07:54.118Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-02-25T18:07:54.119Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.012s coverage: 97.0% of statements [2021-02-25T18:07:54.119Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-02-25T18:07:54.119Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.048s coverage: 8.8% of statements [2021-02-25T18:08:12.435Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 13.892s coverage: 77.5% of statements [2021-02-25T18:08:12.435Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-02-25T18:08:12.435Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.045s coverage: 87.9% of statements [2021-02-25T18:08:12.435Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.043s coverage: 80.5% of statements [2021-02-25T18:08:12.435Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.036s coverage: 71.7% of statements [2021-02-25T18:08:24.805Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.080s coverage: 82.8% of statements [2021-02-25T18:08:24.805Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.024s coverage: 94.4% of statements [2021-02-25T18:08:24.805Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-02-25T18:08:28.226Z] gofmt -l . [2021-02-25T18:08:28.499Z] [ "`gofmt -l .`" = "" ] [2021-02-25T18:08:28.771Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-25T18:08:29.384Z] $ docker stop --time=1 67b9eb50d9dc0dd1ac61a7b9b6527d82abe8a4800e1a85e3403d9c0db8e58c15 [2021-02-25T18:08:31.357Z] $ docker rm -f 67b9eb50d9dc0dd1ac61a7b9b6527d82abe8a4800e1a85e3403d9c0db8e58c15 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-25T18:08:32.274Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-25T18:08:32.341Z] Warning: overwriting stash ‘coverage-report’ [2021-02-25T18:08:33.118Z] 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-02-25T18:08:34.089Z] ---> job-cost.sh [2021-02-25T18:08:34.089Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-JIM2 [2021-02-25T18:09:13.033Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-02-25T18:11:19.824Z] lf-activate-venv(): INFO: Adding /tmp/venv-JIM2/bin to PATH [2021-02-25T18:11:19.824Z] INFO: No Stack... [2021-02-25T18:11:19.824Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-02-25T18:11:19.824Z] INFO: Archiving Costs [Pipeline] sh [2021-02-25T18:11:20.168Z] + cat /w/workspace/app-functions-sdk-go/187/archives/cost.csv [2021-02-25T18:11:20.168Z] + cut -d, -f6 [Pipeline] lock [2021-02-25T18:11:20.294Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-187-stack-cost] [2021-02-25T18:11:20.304Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-187-stack-cost] did not exist. Created. [2021-02-25T18:11:20.304Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-187-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-02-25T18:11:20.757Z] /w/workspace/app-functions-sdk-go/187@tmp/durable-9857a986/script.sh: 1: /w/workspace/app-functions-sdk-go/187@tmp/durable-9857a986/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-02-25T18:11:21.106Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-02-25T18:11:21.184Z] Warning: overwriting stash ‘stack-cost’ [2021-02-25T18:11:21.345Z] Stashed 1 file(s) [Pipeline] } [2021-02-25T18:11:21.359Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-187-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-02-25T18:11:22.490Z] provisioning config files... [2021-02-25T18:11:22.510Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config352172880380692308tmp [Pipeline] { [Pipeline] sh [2021-02-25T18:11:23.131Z] + set +x [2021-02-25T18:11:23.131Z] + bash -s -- [2021-02-25T18:11:23.131Z] + curl -s https://codecov.io/bash [2021-02-25T18:11:23.131Z] [2021-02-25T18:11:23.131Z] _____ _ [2021-02-25T18:11:23.131Z] / ____| | | [2021-02-25T18:11:23.131Z] | | ___ __| | ___ ___ _____ __ [2021-02-25T18:11:23.131Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-02-25T18:11:23.131Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-02-25T18:11:23.131Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-02-25T18:11:23.131Z] Bash-20210129-7c25fce [2021-02-25T18:11:23.131Z] [2021-02-25T18:11:23.131Z] [2021-02-25T18:11:23.131Z] ==> git version 2.24.3 found [2021-02-25T18:11:24.436Z] ==> 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-02-25T18:11:24.436Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-02-25T18:11:24.436Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-02-25T18:11:24.436Z] ==> Jenkins CI detected. [2021-02-25T18:11:24.797Z] project root: . [2021-02-25T18:11:24.797Z] --> token set from env [2021-02-25T18:11:24.797Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-02-25T18:11:25.108Z] ==> Running gcov in . (disable via -X gcov) [2021-02-25T18:11:25.108Z] ==> Python coveragepy not found [2021-02-25T18:11:25.108Z] ==> Searching for coverage reports in: [2021-02-25T18:11:25.108Z] + . [2021-02-25T18:11:25.494Z] -> Found 2 reports [2021-02-25T18:11:25.494Z] ==> Detecting git/mercurial file structure [2021-02-25T18:11:25.494Z] ==> Reading reports [2021-02-25T18:11:25.807Z] + ./app-service-template/coverage.out bytes=1148 [2021-02-25T18:11:25.807Z] + ./coverage.out bytes=83688 [2021-02-25T18:11:25.807Z] ==> Appending adjustments [2021-02-25T18:11:25.807Z] https://docs.codecov.io/docs/fixing-reports [2021-02-25T18:11:28.016Z] + Found adjustments [2021-02-25T18:11:28.016Z] ==> Gzipping contents [2021-02-25T18:11:28.016Z] 16K /tmp/codecov.y9Rags.gz [2021-02-25T18:11:28.016Z] ==> Uploading reports [2021-02-25T18:11:28.016Z] url: https://codecov.io [2021-02-25T18:11:28.016Z] query: branch=master&commit=4075ac3009cb92cd9075a5419a7194c83a419bba&build=187&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F187%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-02-25T18:11:28.016Z] -> Pinging Codecov [2021-02-25T18:11:28.016Z] https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=master&commit=4075ac3009cb92cd9075a5419a7194c83a419bba&build=187&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F187%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-02-25T18:11:28.336Z] -> Uploading to [2021-02-25T18:11:28.336Z] https://storage.googleapis.com/codecov/v4/raw/2021-02-25/3D8B5DFFC46A037C893635FACE044666/4075ac3009cb92cd9075a5419a7194c83a419bba/901d8383-2c08-4cc0-bfa7-7d94d7c647e0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210225%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210225T181128Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c3bc2554448475193e5b5592b3fec0674b031641358375db78966b350ee5ee45 [2021-02-25T18:11:28.336Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-02-25T18:11:28.336Z] Dload Upload Total Spent Left Speed [2021-02-25T18:11:28.920Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14565 0 0 100 14565 0 25607 --:--:-- --:--:-- --:--:-- 25597 [2021-02-25T18:11:28.920Z] -> View reports at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/4075ac3009cb92cd9075a5419a7194c83a419bba [Pipeline] } [2021-02-25T18:11:28.966Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-02-25T18:11:29.495Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-02-25T18:11:29.629Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-25T18:11:30.269Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-02-25T18:11:30.597Z] [2021-02-25T18:11:30.597Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-02-25T18:11:31.190Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-02-25T18:11:31.486Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-02-25T18:11:31.486Z] 188c0c94c7c5: Pulling fs layer [2021-02-25T18:11:31.486Z] 0ef7d3d256c8: Pulling fs layer [2021-02-25T18:11:31.486Z] de9db76c5a1d: Pulling fs layer [2021-02-25T18:11:31.486Z] 0eba1c9be4d2: Pulling fs layer [2021-02-25T18:11:31.486Z] 0d57e429df01: Pulling fs layer [2021-02-25T18:11:31.486Z] 4e4be7b47b0d: Pulling fs layer [2021-02-25T18:11:31.486Z] e1f770b5df2f: Pulling fs layer [2021-02-25T18:11:31.486Z] 85a0685a4137: Pulling fs layer [2021-02-25T18:11:31.486Z] 0eba1c9be4d2: Waiting [2021-02-25T18:11:31.486Z] 0d57e429df01: Waiting [2021-02-25T18:11:31.486Z] 4e4be7b47b0d: Waiting [2021-02-25T18:11:31.486Z] e1f770b5df2f: Waiting [2021-02-25T18:11:31.486Z] 85a0685a4137: Waiting [2021-02-25T18:11:31.486Z] de9db76c5a1d: Verifying Checksum [2021-02-25T18:11:31.486Z] de9db76c5a1d: Download complete [2021-02-25T18:11:31.486Z] 0ef7d3d256c8: Verifying Checksum [2021-02-25T18:11:31.486Z] 0ef7d3d256c8: Download complete [2021-02-25T18:11:32.152Z] 0d57e429df01: Verifying Checksum [2021-02-25T18:11:32.152Z] 0d57e429df01: Download complete [2021-02-25T18:11:32.152Z] 4e4be7b47b0d: Verifying Checksum [2021-02-25T18:11:32.152Z] 4e4be7b47b0d: Download complete [2021-02-25T18:11:32.550Z] 188c0c94c7c5: Verifying Checksum [2021-02-25T18:11:32.550Z] 188c0c94c7c5: Download complete [2021-02-25T18:11:33.269Z] 188c0c94c7c5: Pull complete [2021-02-25T18:11:34.634Z] 0ef7d3d256c8: Pull complete [2021-02-25T18:11:34.634Z] de9db76c5a1d: Pull complete [2021-02-25T18:11:40.895Z] e1f770b5df2f: Verifying Checksum [2021-02-25T18:11:40.895Z] e1f770b5df2f: Download complete [2021-02-25T18:11:57.290Z] 85a0685a4137: Verifying Checksum [2021-02-25T18:11:57.290Z] 85a0685a4137: Download complete [2021-02-25T18:11:57.290Z] 0eba1c9be4d2: Verifying Checksum [2021-02-25T18:11:57.290Z] 0eba1c9be4d2: Download complete [2021-02-25T18:12:26.928Z] 0eba1c9be4d2: Pull complete [2021-02-25T18:12:26.928Z] 0d57e429df01: Pull complete [2021-02-25T18:12:26.928Z] 4e4be7b47b0d: Pull complete [2021-02-25T18:12:29.177Z] e1f770b5df2f: Pull complete [2021-02-25T18:12:48.609Z] 85a0685a4137: Pull complete [2021-02-25T18:12:48.609Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-02-25T18:12:48.609Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-02-25T18:12:48.609Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-02-25T18:12:48.980Z] prd-centos7-docker-4c-2g-27693 does not seem to be running inside a container [2021-02-25T18:12:49.387Z] $ 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-02-25T18:12:51.149Z] $ docker top 3281a4caa406e6185e5645bd1ddd0065bac532a289bad28881f5eb3d486ea7fd -eo pid,comm [Pipeline] { [Pipeline] echo [2021-02-25T18:12:51.911Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-02-25T18:12:54.515Z] + set -o pipefail [2021-02-25T18:12:54.515Z] + snyk monitor '--org=edgex-jenkins' [2021-02-25T18:13:17.928Z] [2021-02-25T18:13:17.928Z] Monitoring /w/workspace/ndry_app-functions-sdk-go_master (github.com/edgexfoundry/app-functions-sdk-go/v2)... [2021-02-25T18:13:17.928Z] [2021-02-25T18:13:17.928Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/df961faf-5a23-4f92-a252-0f7fa57f37f8 [2021-02-25T18:13:17.928Z] [2021-02-25T18:13:17.928Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-02-25T18:13:17.928Z] [2021-02-25T18:13:17.928Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-02-25T18:13:17.928Z] [2021-02-25T18:13:17.928Z] [2021-02-25T18:13:17.928Z] You have reached your monthly limit of 300 private tests for your edgex-jenkins org. [2021-02-25T18:13:17.928Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2021-02-25T18:13:17.954Z] $ docker stop --time=1 3281a4caa406e6185e5645bd1ddd0065bac532a289bad28881f5eb3d486ea7fd [2021-02-25T18:13:22.747Z] $ docker rm -f 3281a4caa406e6185e5645bd1ddd0065bac532a289bad28881f5eb3d486ea7fd [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-02-25T18:13:24.691Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-25T18:13:24.742Z] provisioning config files... [2021-02-25T18:13:24.772Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config2824368153551257595tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-25T18:13:25.824Z] --> edgex-publish-swagger.sh [2021-02-25T18:13:25.824Z] === Publish openapi/v2 API === [2021-02-25T18:13:25.824Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-02-25T18:13:25.824Z] [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/ndry_app-functions-sdk-go_master/openapi/v2/app-functions-sdk.yaml] [2021-02-25T18:13:26.148Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-02-25T18:13:26.148Z] Dload Upload Total Spent Left Speed [2021-02-25T18:13:28.101Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13052 0 0 100 13052 0 10080 0:00:01 0:00:01 --:--:-- 10094 100 13052 0 0 100 13052 0 10076 0:00:01 0:00:01 --:--:-- 10094 [2021-02-25T18:13:28.101Z] [2021-02-25T18:13:28.101Z] [Pipeline] } [2021-02-25T18:13:28.369Z] 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-02-25T18:13:31.626Z] + git log --format=format:%s -1 4075ac3009cb92cd9075a5419a7194c83a419bba [Pipeline] isUnix [Pipeline] sh [2021-02-25T18:13:32.292Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-25T18:13:32.741Z] . [Pipeline] withDockerContainer [2021-02-25T18:13:34.301Z] prd-centos7-docker-4c-2g-27693 does not seem to be running inside a container [2021-02-25T18:13:34.572Z] $ 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-02-25T18:13:36.445Z] $ docker top 7fd0f2c3e44127a37861b403d7cbf909c7a026bf979a2d750207f9cfa71bbff9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-25T18:13:36.965Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-25T18:13:36.965Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-25T18:13:37.307Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-25T18:13:37.310Z] $ docker exec 7fd0f2c3e44127a37861b403d7cbf909c7a026bf979a2d750207f9cfa71bbff9 ssh-agent [2021-02-25T18:13:37.652Z] SSH_AUTH_SOCK=/tmp/ssh-iQmt7NM3E3rp/agent.11 [2021-02-25T18:13:37.652Z] SSH_AGENT_PID=16 [2021-02-25T18:13:37.711Z] Running ssh-add (command line suppressed) [2021-02-25T18:13:39.484Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4025900298583066604.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4025900298583066604.key) [2021-02-25T18:13:40.285Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-25T18:13:41.581Z] + git semver tag [2021-02-25T18:13:41.581Z] # -> Open(): unable to determine branch for HEAD [2021-02-25T18:13:41.581Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-02-25T18:13:41.581Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-02-25T18:13:41.581Z] # $SEMVER_REMOTE_NAME = origin [2021-02-25T18:13:41.581Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-25T18:13:41.581Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-25T18:13:41.581Z] # $SEMVER_BRANCH = master [2021-02-25T18:13:41.581Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-02-25T18:13:41.581Z] # 4075ac3009cb92cd9075a5419a7194c83a419bba HEAD [2021-02-25T18:13:41.581Z] # -> Force: false [2021-02-25T18:13:41.581Z] # 6fda9e001d75e3f3e332c37fd0561b81d4c40012 refs/tags/v2.0.0-dev.20 [Pipeline] } [2021-02-25T18:13:41.662Z] $ docker exec --env ******** --env ******** 7fd0f2c3e44127a37861b403d7cbf909c7a026bf979a2d750207f9cfa71bbff9 ssh-agent -k [2021-02-25T18:13:41.872Z] unset SSH_AUTH_SOCK; [2021-02-25T18:13:41.874Z] unset SSH_AGENT_PID; [2021-02-25T18:13:41.874Z] echo Agent pid 16 killed; [2021-02-25T18:13:42.041Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-25T18:13:43.493Z] + git semver [Pipeline] } [2021-02-25T18:13:43.517Z] $ docker stop --time=1 7fd0f2c3e44127a37861b403d7cbf909c7a026bf979a2d750207f9cfa71bbff9 [2021-02-25T18:13:45.649Z] $ docker rm -f 7fd0f2c3e44127a37861b403d7cbf909c7a026bf979a2d750207f9cfa71bbff9 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-02-25T18:13:46.550Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-02-25T18:13:47.239Z] [2021-02-25T18:13:47.239Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-02-25T18:13:48.306Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-02-25T18:13:49.430Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-02-25T18:13:49.430Z] ab5ef0e58194: Pulling fs layer [2021-02-25T18:13:49.430Z] 9712f1f96733: Pulling fs layer [2021-02-25T18:13:49.430Z] 63f879dbbcfc: Pulling fs layer [2021-02-25T18:13:49.430Z] 0d9ebad4ef96: Pulling fs layer [2021-02-25T18:13:49.430Z] e9a5061849ea: Pulling fs layer [2021-02-25T18:13:49.430Z] d747dcd14b5f: Pulling fs layer [2021-02-25T18:13:49.430Z] 2de7ff778b66: Pulling fs layer [2021-02-25T18:13:49.430Z] e9a5061849ea: Waiting [2021-02-25T18:13:49.430Z] d747dcd14b5f: Waiting [2021-02-25T18:13:49.430Z] 2de7ff778b66: Waiting [2021-02-25T18:13:49.430Z] 0d9ebad4ef96: Waiting [2021-02-25T18:13:49.430Z] 9712f1f96733: Verifying Checksum [2021-02-25T18:13:49.430Z] 9712f1f96733: Download complete [2021-02-25T18:13:59.230Z] 63f879dbbcfc: Verifying Checksum [2021-02-25T18:13:59.230Z] 63f879dbbcfc: Download complete [2021-02-25T18:14:00.753Z] e9a5061849ea: Verifying Checksum [2021-02-25T18:14:00.753Z] e9a5061849ea: Download complete [2021-02-25T18:14:00.753Z] d747dcd14b5f: Verifying Checksum [2021-02-25T18:14:00.753Z] d747dcd14b5f: Download complete [2021-02-25T18:14:03.858Z] 2de7ff778b66: Verifying Checksum [2021-02-25T18:14:03.858Z] 2de7ff778b66: Download complete [2021-02-25T18:14:03.858Z] 0d9ebad4ef96: Verifying Checksum [2021-02-25T18:14:03.858Z] 0d9ebad4ef96: Download complete [2021-02-25T18:14:03.858Z] ab5ef0e58194: Verifying Checksum [2021-02-25T18:14:03.858Z] ab5ef0e58194: Download complete [2021-02-25T18:14:22.749Z] ab5ef0e58194: Pull complete [2021-02-25T18:14:22.749Z] 9712f1f96733: Pull complete [2021-02-25T18:14:26.032Z] 63f879dbbcfc: Pull complete [2021-02-25T18:14:46.204Z] 0d9ebad4ef96: Pull complete [2021-02-25T18:14:47.818Z] e9a5061849ea: Pull complete [2021-02-25T18:14:47.818Z] d747dcd14b5f: Pull complete [2021-02-25T18:14:53.689Z] 2de7ff778b66: Pull complete [2021-02-25T18:14:53.689Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-02-25T18:14:53.689Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-02-25T18:14:53.689Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-02-25T18:14:54.624Z] prd-centos7-docker-4c-2g-27693 does not seem to be running inside a container [2021-02-25T18:14:54.826Z] $ 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-02-25T18:15:00.506Z] $ docker top 8612c52d654a99e7a973e301cd02f549a985823a187e0f2eaed42f4d52f5e37b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-02-25T18:15:01.727Z] provisioning config files... [2021-02-25T18:15:01.916Z] copy managed file [sigul-config] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config577442827458957687tmp [2021-02-25T18:15:02.193Z] copy managed file [sigul-password] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config4329148115323127605tmp [2021-02-25T18:15:02.479Z] copy managed file [sigul-pki] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config1281777205991872253tmp [Pipeline] { [Pipeline] echo [2021-02-25T18:15:02.575Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-25T18:15:04.433Z] ---> sigul-configuration.sh [2021-02-25T18:15:04.848Z] gpg: directory `/root/.gnupg' created [2021-02-25T18:15:04.848Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-02-25T18:15:04.848Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-02-25T18:15:04.848Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-02-25T18:15:04.848Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-02-25T18:15:04.848Z] gpg: CAST5 encrypted data [2021-02-25T18:15:04.848Z] gpg: encrypted with 1 passphrase [2021-02-25T18:15:04.848Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-02-25T18:15:08.481Z] + mkdir /home/jenkins [2021-02-25T18:15:08.481Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-02-25T18:15:11.312Z] + 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-02-25T18:15:11.453Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-25T18:15:13.220Z] ---> sigul-install.sh [2021-02-25T18:15:29.164Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-02-25T18:15:31.173Z] + git tag --list [2021-02-25T18:15:31.173Z] v0.1.0 [2021-02-25T18:15:31.173Z] v0.1.1 [2021-02-25T18:15:31.173Z] v1.0.0 [2021-02-25T18:15:31.173Z] v1.1.0 [2021-02-25T18:15:31.173Z] v1.2.0 [2021-02-25T18:15:31.173Z] v1.3.0 [2021-02-25T18:15:31.173Z] v1.3.1 [2021-02-25T18:15:31.173Z] v1.3.1-dev.1 [2021-02-25T18:15:31.173Z] v1.3.2-dev.1 [2021-02-25T18:15:31.173Z] v2.0.0-dev.1 [2021-02-25T18:15:31.173Z] v2.0.0-dev.10 [2021-02-25T18:15:31.173Z] v2.0.0-dev.11 [2021-02-25T18:15:31.174Z] v2.0.0-dev.12 [2021-02-25T18:15:31.174Z] v2.0.0-dev.13 [2021-02-25T18:15:31.174Z] v2.0.0-dev.14 [2021-02-25T18:15:31.174Z] v2.0.0-dev.15 [2021-02-25T18:15:31.174Z] v2.0.0-dev.16 [2021-02-25T18:15:31.174Z] v2.0.0-dev.17 [2021-02-25T18:15:31.174Z] v2.0.0-dev.18 [2021-02-25T18:15:31.174Z] v2.0.0-dev.19 [2021-02-25T18:15:31.174Z] v2.0.0-dev.2 [2021-02-25T18:15:31.174Z] v2.0.0-dev.20 [2021-02-25T18:15:31.174Z] v2.0.0-dev.3 [2021-02-25T18:15:31.174Z] v2.0.0-dev.4 [2021-02-25T18:15:31.174Z] v2.0.0-dev.5 [2021-02-25T18:15:31.174Z] v2.0.0-dev.6 [2021-02-25T18:15:31.174Z] v2.0.0-dev.7 [2021-02-25T18:15:31.174Z] v2.0.0-dev.8 [2021-02-25T18:15:31.174Z] v2.0.0-dev.9 [Pipeline] sh [2021-02-25T18:15:32.000Z] + lftools sign git-tag v2.0.0-dev.20 [2021-02-25T18:15:35.303Z] Signing Git tag with Sigul... [2021-02-25T18:15:35.303Z] Signing v2.0.0-dev.20 [Pipeline] echo [2021-02-25T18:15:36.360Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-25T18:15:37.177Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-02-25T18:15:37.220Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-02-25T18:15:37.318Z] $ docker stop --time=1 8612c52d654a99e7a973e301cd02f549a985823a187e0f2eaed42f4d52f5e37b [2021-02-25T18:15:41.251Z] $ docker rm -f 8612c52d654a99e7a973e301cd02f549a985823a187e0f2eaed42f4d52f5e37b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-02-25T18:15:42.437Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-25T18:15:42.437Z] . [Pipeline] withDockerContainer [2021-02-25T18:15:42.618Z] prd-centos7-docker-4c-2g-27693 does not seem to be running inside a container [2021-02-25T18:15:43.171Z] $ 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-02-25T18:15:45.078Z] $ docker top 61a5840a59a6097d1338d3881a963801e12f452d15e80830f566a11bedfaa7fa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-25T18:15:46.019Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-25T18:15:46.019Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-25T18:15:47.433Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-25T18:15:47.443Z] $ docker exec 61a5840a59a6097d1338d3881a963801e12f452d15e80830f566a11bedfaa7fa ssh-agent [2021-02-25T18:15:48.613Z] SSH_AUTH_SOCK=/tmp/ssh-BI3teLIZtzCm/agent.11 [2021-02-25T18:15:48.613Z] SSH_AGENT_PID=17 [2021-02-25T18:15:48.625Z] Running ssh-add (command line suppressed) [2021-02-25T18:15:49.535Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_5507960310631122569.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_5507960310631122569.key) [2021-02-25T18:15:49.654Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-25T18:15:50.435Z] + git semver bump pre [2021-02-25T18:15:50.774Z] # -> Open(): unable to determine branch for HEAD [2021-02-25T18:15:50.774Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-02-25T18:15:50.774Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-02-25T18:15:50.774Z] # $SEMVER_REMOTE_NAME = origin [2021-02-25T18:15:50.774Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-25T18:15:50.774Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-25T18:15:50.774Z] # $SEMVER_BRANCH = master [2021-02-25T18:15:50.774Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-02-25T18:15:51.105Z] 2.0.0-dev.21 [Pipeline] } [2021-02-25T18:15:51.165Z] $ docker exec --env ******** --env ******** 61a5840a59a6097d1338d3881a963801e12f452d15e80830f566a11bedfaa7fa ssh-agent -k [2021-02-25T18:15:52.017Z] unset SSH_AUTH_SOCK; [2021-02-25T18:15:52.019Z] unset SSH_AGENT_PID; [2021-02-25T18:15:52.019Z] echo Agent pid 17 killed; [2021-02-25T18:15:52.569Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-25T18:15:53.719Z] + git semver [Pipeline] } [2021-02-25T18:15:53.781Z] $ docker stop --time=1 61a5840a59a6097d1338d3881a963801e12f452d15e80830f566a11bedfaa7fa [2021-02-25T18:15:56.306Z] $ docker rm -f 61a5840a59a6097d1338d3881a963801e12f452d15e80830f566a11bedfaa7fa [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-02-25T18:15:57.744Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-25T18:15:57.744Z] . [Pipeline] withDockerContainer [2021-02-25T18:15:58.976Z] prd-centos7-docker-4c-2g-27693 does not seem to be running inside a container [2021-02-25T18:15:59.166Z] $ 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-02-25T18:16:03.133Z] $ docker top d48ce9110a3ae17c567a8ba3f9d64c4854256ba5e385f9542a597b671684e584 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-25T18:16:03.605Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-25T18:16:03.605Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-25T18:16:04.426Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-25T18:16:04.439Z] $ docker exec d48ce9110a3ae17c567a8ba3f9d64c4854256ba5e385f9542a597b671684e584 ssh-agent [2021-02-25T18:16:05.245Z] SSH_AUTH_SOCK=/tmp/ssh-xcFY1jvpxtkK/agent.11 [2021-02-25T18:16:05.245Z] SSH_AGENT_PID=16 [2021-02-25T18:16:05.255Z] Running ssh-add (command line suppressed) [2021-02-25T18:16:05.585Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_2896596108138565033.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_2896596108138565033.key) [2021-02-25T18:16:06.040Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-25T18:16:07.310Z] + git semver push [2021-02-25T18:16:07.310Z] # -> Open(): unable to determine branch for HEAD [2021-02-25T18:16:07.310Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-02-25T18:16:07.310Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-02-25T18:16:07.310Z] # $SEMVER_REMOTE_NAME = origin [2021-02-25T18:16:07.310Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-25T18:16:07.310Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-25T18:16:07.310Z] # $SEMVER_BRANCH = master [2021-02-25T18:16:07.310Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-02-25T18:16:16.097Z] $ docker exec --env ******** --env ******** d48ce9110a3ae17c567a8ba3f9d64c4854256ba5e385f9542a597b671684e584 ssh-agent -k [2021-02-25T18:16:17.897Z] unset SSH_AUTH_SOCK; [2021-02-25T18:16:17.897Z] unset SSH_AGENT_PID; [2021-02-25T18:16:17.897Z] echo Agent pid 16 killed; [2021-02-25T18:16:18.309Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-25T18:16:19.434Z] + git semver [Pipeline] } [2021-02-25T18:16:19.464Z] $ docker stop --time=1 d48ce9110a3ae17c567a8ba3f9d64c4854256ba5e385f9542a597b671684e584 [2021-02-25T18:16:21.634Z] $ docker rm -f d48ce9110a3ae17c567a8ba3f9d64c4854256ba5e385f9542a597b671684e584 [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-02-25T18:16:23.833Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-25T18:16:25.015Z] ---> package-listing.sh [2021-02-25T18:16:25.015Z] ++ facter osfamily [2021-02-25T18:16:25.015Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-25T18:16:25.336Z] + OS_FAMILY=redhat [2021-02-25T18:16:25.336Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_master [2021-02-25T18:16:25.336Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-25T18:16:25.336Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-25T18:16:25.336Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-25T18:16:25.336Z] + PACKAGES=/tmp/packages_start.txt [2021-02-25T18:16:25.336Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-02-25T18:16:25.336Z] + PACKAGES=/tmp/packages_end.txt [2021-02-25T18:16:25.336Z] + case "${OS_FAMILY}" in [2021-02-25T18:16:25.336Z] + rpm -qa [2021-02-25T18:16:25.336Z] + sort [2021-02-25T18:16:38.182Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-25T18:16:38.182Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-25T18:16:38.182Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-25T18:16:38.182Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-02-25T18:16:38.182Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_master/archives/ [2021-02-25T18:16:38.182Z] + 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-02-25T18:16:38.318Z] 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-02-25T18:16:38.931Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-25T18:16:39.682Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-25T18:16:40.283Z] [2021-02-25T18:16:40.283Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-25T18:16:40.729Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-25T18:16:41.453Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-25T18:16:41.453Z] df20fa9351a1: Pulling fs layer [2021-02-25T18:16:41.453Z] 36b3adc4ff6f: Pulling fs layer [2021-02-25T18:16:41.453Z] 8ad3a11d3b57: Pulling fs layer [2021-02-25T18:16:41.453Z] 46f8f816bc3b: Pulling fs layer [2021-02-25T18:16:41.453Z] 93b61091891f: Pulling fs layer [2021-02-25T18:16:41.453Z] 93b9cdb0e59b: Pulling fs layer [2021-02-25T18:16:41.453Z] 5e14af77c1be: Pulling fs layer [2021-02-25T18:16:41.453Z] 01666e4c0597: Pulling fs layer [2021-02-25T18:16:41.453Z] aa168da1d23b: Pulling fs layer [2021-02-25T18:16:41.453Z] 46f8f816bc3b: Waiting [2021-02-25T18:16:41.453Z] 93b61091891f: Waiting [2021-02-25T18:16:41.453Z] 93b9cdb0e59b: Waiting [2021-02-25T18:16:41.453Z] 5e14af77c1be: Waiting [2021-02-25T18:16:41.453Z] 01666e4c0597: Waiting [2021-02-25T18:16:41.453Z] aa168da1d23b: Waiting [2021-02-25T18:16:41.453Z] 36b3adc4ff6f: Download complete [2021-02-25T18:16:41.453Z] 46f8f816bc3b: Verifying Checksum [2021-02-25T18:16:41.453Z] 46f8f816bc3b: Download complete [2021-02-25T18:16:42.159Z] df20fa9351a1: Download complete [2021-02-25T18:16:42.159Z] 93b61091891f: Verifying Checksum [2021-02-25T18:16:42.159Z] 93b61091891f: Download complete [2021-02-25T18:16:42.159Z] 93b9cdb0e59b: Verifying Checksum [2021-02-25T18:16:42.159Z] 93b9cdb0e59b: Download complete [2021-02-25T18:16:42.159Z] 5e14af77c1be: Verifying Checksum [2021-02-25T18:16:42.159Z] 5e14af77c1be: Download complete [2021-02-25T18:16:42.489Z] 01666e4c0597: Verifying Checksum [2021-02-25T18:16:42.489Z] 01666e4c0597: Download complete [2021-02-25T18:16:43.680Z] 8ad3a11d3b57: Verifying Checksum [2021-02-25T18:16:43.680Z] 8ad3a11d3b57: Download complete [2021-02-25T18:16:44.154Z] df20fa9351a1: Pull complete [2021-02-25T18:16:47.090Z] 36b3adc4ff6f: Pull complete [2021-02-25T18:16:47.413Z] 8ad3a11d3b57: Pull complete [2021-02-25T18:16:47.684Z] 46f8f816bc3b: Pull complete [2021-02-25T18:16:50.023Z] 93b61091891f: Pull complete [2021-02-25T18:16:50.927Z] 93b9cdb0e59b: Pull complete [2021-02-25T18:16:50.927Z] 5e14af77c1be: Pull complete [2021-02-25T18:16:50.927Z] 01666e4c0597: Pull complete [2021-02-25T18:16:56.140Z] aa168da1d23b: Verifying Checksum [2021-02-25T18:16:56.140Z] aa168da1d23b: Download complete [2021-02-25T18:17:24.200Z] aa168da1d23b: Pull complete [2021-02-25T18:17:24.200Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-25T18:17:24.200Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-25T18:17:24.200Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-25T18:17:25.145Z] prd-centos7-docker-4c-2g-27693 does not seem to be running inside a container [2021-02-25T18:17:25.717Z] $ 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-02-25T18:17:27.748Z] $ docker top 96b0b26e73d2bbd241a30c56ed48a79cf85976689b2227b1b7824d94091243a2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-25T18:17:29.208Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-25T18:17:30.456Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-25T18:17:32.226Z] + ls /var/log/sa-host [2021-02-25T18:17:32.532Z] + sadf -c /var/log/sa-host/sa23 [2021-02-25T18:17:32.532Z] file_magic: OK [2021-02-25T18:17:32.532Z] HZ: Using current value: 100 [2021-02-25T18:17:32.532Z] file_header: OK [2021-02-25T18:17:32.532Z] 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-02-25T18:17:32.532Z] Statistics: [2021-02-25T18:17:32.532Z] Hnuu...uuuununununu... [2021-02-25T18:17:32.532Z] File successfully converted to sysstat format version 12.2.1 [2021-02-25T18:17:32.532Z] + sadf -c /var/log/sa-host/sa25 [2021-02-25T18:17:32.532Z] file_magic: OK [2021-02-25T18:17:32.532Z] HZ: Using current value: 100 [2021-02-25T18:17:32.532Z] file_header: OK [2021-02-25T18:17:32.532Z] 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-02-25T18:17:32.532Z] Statistics: [2021-02-25T18:17:32.532Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-25T18:17:32.532Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-25T18:17:32.764Z] provisioning config files... [2021-02-25T18:17:33.324Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config5307716512134583438tmp [Pipeline] { [Pipeline] echo [2021-02-25T18:17:33.392Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-25T18:17:34.527Z] ---> create-netrc.sh [Pipeline] } [2021-02-25T18:17:34.592Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-25T18:17:34.721Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-25T18:17:37.047Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-25T18:17:37.062Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-25T18:17:38.216Z] ---> sudo-logs.sh [2021-02-25T18:17:38.216Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-02-25T18:17:38.326Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-25T18:17:38.834Z] ---> job-cost.sh [2021-02-25T18:17:39.145Z] lf-activate-venv: SKIPPING [2021-02-25T18:17:39.145Z] DEBUG: total: 0.20999999344348907 [2021-02-25T18:17:39.145Z] INFO: Retrieving Stack Cost... [2021-02-25T18:17:39.823Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-25T18:17:41.241Z] INFO: Archiving Costs [Pipeline] echo [2021-02-25T18:17:41.449Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-25T18:17:43.154Z] ---> logs-deploy.sh [2021-02-25T18:17:43.155Z] lf-activate-venv: SKIPPING [2021-02-25T18:17:43.155Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/master/187 [2021-02-25T18:17:43.155Z] INFO: archiving workspace using pattern(s): [2021-02-25T18:17:46.832Z] Archives upload complete. [2021-02-25T18:17:47.145Z] INFO: archiving logs to Nexus