Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 93c26ee21773a08251a9c88cc59f9e9b66bbc9bd Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-functions-sdk-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1478 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision 93c26ee21773a08251a9c88cc59f9e9b66bbc9bd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 93c26ee21773a08251a9c88cc59f9e9b66bbc9bd # timeout=10 Commit message: "Merge pull request #795 from soda480/US149" > git rev-list --no-walk 31d53820897474db1e91be20d42ca7dc6cb60a35 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-22T18:05:34.300Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-22T18:05:34.402Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-22T18:05:34.433Z] ========================================================= [2021-04-22T18:05:34.433Z] EdgeX Global Pipelines Version Info [2021-04-22T18:05:34.433Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-22T18:05:36.834Z] ------------------- [2021-04-22T18:05:36.834Z] stable info: [2021-04-22T18:05:36.834Z] ------------------- [2021-04-22T18:05:36.834Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-22T18:05:36.834Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-22T18:05:36.834Z] Message: update stable to v1.0.186 [2021-04-22T18:05:37.789Z] ------------------- [2021-04-22T18:05:37.789Z] experimental info: [2021-04-22T18:05:37.789Z] ------------------- [2021-04-22T18:05:37.789Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-22T18:05:37.789Z] Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 [2021-04-22T18:05:37.789Z] Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-22T18:05:37.937Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-04-22T18:05:37.962Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-04-22T18:05:37.986Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-22T18:05:38.011Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-22T18:05:38.035Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-22T18:05:38.059Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-22T18:05:38.083Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-22T18:05:38.106Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-22T18:05:38.130Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-04-22T18:05:38.154Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-22T18:05:38.179Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-22T18:05:38.202Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2021-04-22T18:05:38.227Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-22T18:05:38.251Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-22T18:05:38.296Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-04-22T18:05:38.319Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-22T18:05:38.343Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-22T18:05:38.368Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-22T18:05:38.392Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-22T18:05:38.416Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-22T18:05:38.439Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-22T18:05:38.463Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-04-22T18:05:38.486Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-22T18:05:38.510Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-22T18:05:38.535Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-04-22T18:05:38.559Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-22T18:05:38.584Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-04-22T18:05:38.609Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-04-22T18:05:38.634Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-04-22T18:05:38.658Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 93c26ee21773a08251a9c88cc59f9e9b66bbc9bd [Pipeline] echo [2021-04-22T18:05:38.683Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 93c26ee [Pipeline] echo [2021-04-22T18:05:38.727Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-22T18:05:39.160Z] + git log --format=format:%s -1 93c26ee21773a08251a9c88cc59f9e9b66bbc9bd [Pipeline] echo [2021-04-22T18:05:39.272Z] GIT_COMMIT: 93c26ee21773a08251a9c88cc59f9e9b66bbc9bd, Commit Message: Merge pull request #795 from soda480/US149 [Pipeline] echo [2021-04-22T18:05:39.285Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-22T18:05:40.276Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-22T18:05:40.869Z] [2021-04-22T18:05:40.869Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-22T18:05:41.228Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-22T18:05:41.507Z] latest: Pulling from edgex-devops/git-semver [2021-04-22T18:05:41.507Z] 31603596830f: Pulling fs layer [2021-04-22T18:05:41.507Z] 2a8b12db71e7: Pulling fs layer [2021-04-22T18:05:41.507Z] 6ca5941a6612: Pulling fs layer [2021-04-22T18:05:41.507Z] ecc8261a40a4: Pulling fs layer [2021-04-22T18:05:41.507Z] ecc8261a40a4: Waiting [2021-04-22T18:05:41.507Z] 2a8b12db71e7: Verifying Checksum [2021-04-22T18:05:41.507Z] 2a8b12db71e7: Download complete [2021-04-22T18:05:41.507Z] 31603596830f: Verifying Checksum [2021-04-22T18:05:41.507Z] 31603596830f: Download complete [2021-04-22T18:05:41.773Z] ecc8261a40a4: Verifying Checksum [2021-04-22T18:05:41.773Z] ecc8261a40a4: Download complete [2021-04-22T18:05:41.773Z] 6ca5941a6612: Verifying Checksum [2021-04-22T18:05:41.773Z] 6ca5941a6612: Download complete [2021-04-22T18:05:42.040Z] 31603596830f: Pull complete [2021-04-22T18:05:42.305Z] 2a8b12db71e7: Pull complete [2021-04-22T18:05:43.719Z] 6ca5941a6612: Pull complete [2021-04-22T18:05:43.719Z] ecc8261a40a4: Pull complete [2021-04-22T18:05:43.719Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-22T18:05:44.011Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-22T18:05:44.011Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-22T18:05:44.468Z] prd-centos7-docker-4c-2g-1478 does not seem to be running inside a container [2021-04-22T18:05:44.939Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-22T18:05:47.371Z] $ docker top 1629c8376c2037775790989ee52d3e271d800811d7487ec9b6a912539abd837a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-22T18:05:47.683Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-22T18:05:47.683Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-22T18:05:47.956Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-22T18:05:47.963Z] $ docker exec 1629c8376c2037775790989ee52d3e271d800811d7487ec9b6a912539abd837a ssh-agent [2021-04-22T18:05:48.185Z] SSH_AUTH_SOCK=/tmp/ssh-7ftsrWzB9m1D/agent.11 [2021-04-22T18:05:48.185Z] SSH_AGENT_PID=16 [2021-04-22T18:05:48.206Z] Running ssh-add (command line suppressed) [2021-04-22T18:05:48.369Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_3569453057215662866.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_3569453057215662866.key) [2021-04-22T18:05:48.432Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-22T18:05:48.758Z] + git tag --points-at HEAD [Pipeline] } [2021-04-22T18:05:48.786Z] $ docker exec --env ******** --env ******** 1629c8376c2037775790989ee52d3e271d800811d7487ec9b6a912539abd837a ssh-agent -k [2021-04-22T18:05:48.940Z] unset SSH_AUTH_SOCK; [2021-04-22T18:05:48.941Z] unset SSH_AGENT_PID; [2021-04-22T18:05:48.941Z] echo Agent pid 16 killed; [2021-04-22T18:05:49.017Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-22T18:05:49.056Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-22T18:05:49.056Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-22T18:05:49.373Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-22T18:05:49.395Z] $ docker exec 1629c8376c2037775790989ee52d3e271d800811d7487ec9b6a912539abd837a ssh-agent [2021-04-22T18:05:49.649Z] SSH_AUTH_SOCK=/tmp/ssh-Mk8nQECcqCvR/agent.45 [2021-04-22T18:05:49.649Z] SSH_AGENT_PID=50 [2021-04-22T18:05:49.657Z] Running ssh-add (command line suppressed) [2021-04-22T18:05:49.796Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_7037622126701606037.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_7037622126701606037.key) [2021-04-22T18:05:49.849Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-22T18:05:50.489Z] + git semver init [2021-04-22T18:05:50.489Z] # -> Open(): unable to determine branch for HEAD [2021-04-22T18:05:50.489Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-04-22T18:05:50.489Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-04-22T18:05:50.489Z] # $SEMVER_REMOTE_NAME = origin [2021-04-22T18:05:50.489Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-22T18:05:50.489Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-22T18:05:50.489Z] # $SEMVER_BRANCH = master [2021-04-22T18:05:50.489Z] # $SEMVER_TEMP = /tmp/semver-618178371 [2021-04-22T18:05:50.489Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-04-22T18:05:54.021Z] # '/tmp/semver-618178371' -> '/w/workspace/ndry_app-functions-sdk-go_master/.semver' [2021-04-22T18:05:54.343Z] # -> Force: false [2021-04-22T18:05:54.343Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-04-22T18:05:54.390Z] $ docker exec --env ******** --env ******** 1629c8376c2037775790989ee52d3e271d800811d7487ec9b6a912539abd837a ssh-agent -k [2021-04-22T18:05:54.890Z] unset SSH_AUTH_SOCK; [2021-04-22T18:05:54.896Z] unset SSH_AGENT_PID; [2021-04-22T18:05:54.897Z] echo Agent pid 50 killed; [2021-04-22T18:05:55.171Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-22T18:05:55.911Z] + git semver [Pipeline] } [2021-04-22T18:05:55.960Z] $ docker stop --time=1 1629c8376c2037775790989ee52d3e271d800811d7487ec9b6a912539abd837a [2021-04-22T18:05:58.516Z] $ docker rm -f 1629c8376c2037775790989ee52d3e271d800811d7487ec9b6a912539abd837a [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-22T18:05:59.139Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-22T18:05:59.670Z] Stashed 1 file(s) [Pipeline] echo [2021-04-22T18:05:59.673Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.46 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-04-22T18:06:14.857Z] Still waiting to schedule task [2021-04-22T18:06:14.858Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1478’ [2021-04-22T18:06:14.860Z] Still waiting to schedule task [2021-04-22T18:06:14.860Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-04-22T18:08:11.039Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1479 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-04-22T18:08:11.057Z] Running in /w/workspace/app-functions-sdk-go/215 [Pipeline] { [Pipeline] checkout [2021-04-22T18:08:16.232Z] using credential edgex-jenkins-ssh [2021-04-22T18:08:16.255Z] Cloning the remote Git repository [2021-04-22T18:08:16.324Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-22T18:08:16.436Z] > git init /w/workspace/app-functions-sdk-go/215 # timeout=10 [2021-04-22T18:08:16.551Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-22T18:08:16.552Z] > git --version # timeout=10 [2021-04-22T18:08:16.573Z] > git --version # 'git version 2.17.1' [2021-04-22T18:08:16.575Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-22T18:08:16.634Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-22T18:08:19.848Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-04-22T18:08:19.868Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-22T18:08:19.898Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-04-22T18:08:19.940Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-22T18:08:19.941Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-22T18:08:20.453Z] Checking out Revision 93c26ee21773a08251a9c88cc59f9e9b66bbc9bd (master) [2021-04-22T18:08:19.954Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-22T18:08:20.473Z] > git config core.sparsecheckout # timeout=10 [2021-04-22T18:08:20.490Z] > git checkout -f 93c26ee21773a08251a9c88cc59f9e9b66bbc9bd # timeout=10 [2021-04-22T18:08:24.801Z] Commit message: "Merge pull request #795 from soda480/US149" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-22T18:08:26.365Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-22T18:08:26.779Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-22T18:08:27.121Z] + + sudo service dockertrue restart [2021-04-22T18:08:27.121Z] [Pipeline] unstash [Pipeline] echo [2021-04-22T18:08:30.028Z] ========================================================= [2021-04-22T18:08:30.029Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-22T18:08:30.029Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-22T18:08:30.381Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-04-22T18:08:31.819Z] Sending build context to Docker daemon 19.48MB [2021-04-22T18:08:31.819Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-22T18:08:31.819Z] Step 2/8 : FROM ${BASE} [2021-04-22T18:08:32.097Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-22T18:08:32.097Z] 5f621e34cdf4: Pulling fs layer [2021-04-22T18:08:32.097Z] a4357932f1b6: Pulling fs layer [2021-04-22T18:08:32.097Z] 18c013af1878: Pulling fs layer [2021-04-22T18:08:32.097Z] 00ac8860ef70: Pulling fs layer [2021-04-22T18:08:32.097Z] 63d7cb157983: Pulling fs layer [2021-04-22T18:08:32.097Z] b116817d02f9: Pulling fs layer [2021-04-22T18:08:32.097Z] 745a02a5169b: Pulling fs layer [2021-04-22T18:08:32.097Z] 00ac8860ef70: Waiting [2021-04-22T18:08:32.097Z] 63d7cb157983: Waiting [2021-04-22T18:08:32.097Z] b116817d02f9: Waiting [2021-04-22T18:08:32.097Z] 745a02a5169b: Waiting [2021-04-22T18:08:32.097Z] 18c013af1878: Verifying Checksum [2021-04-22T18:08:32.097Z] 18c013af1878: Download complete [2021-04-22T18:08:32.097Z] a4357932f1b6: Download complete [2021-04-22T18:08:32.097Z] 63d7cb157983: Verifying Checksum [2021-04-22T18:08:32.097Z] 63d7cb157983: Download complete [2021-04-22T18:08:32.097Z] b116817d02f9: Verifying Checksum [2021-04-22T18:08:32.097Z] b116817d02f9: Download complete [2021-04-22T18:08:32.097Z] 5f621e34cdf4: Verifying Checksum [2021-04-22T18:08:32.097Z] 5f621e34cdf4: Download complete [2021-04-22T18:08:33.077Z] 5f621e34cdf4: Pull complete [2021-04-22T18:08:33.353Z] a4357932f1b6: Pull complete [2021-04-22T18:08:33.947Z] 18c013af1878: Pull complete [2021-04-22T18:08:34.925Z] 745a02a5169b: Download complete [2021-04-22T18:08:35.909Z] 00ac8860ef70: Verifying Checksum [2021-04-22T18:08:35.909Z] 00ac8860ef70: Download complete [2021-04-22T18:08:42.085Z] Running on prd-centos7-docker-4c-2g-1480 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-04-22T18:08:42.104Z] Running in /w/workspace/app-functions-sdk-go/215 [Pipeline] { [Pipeline] checkout [2021-04-22T18:08:44.830Z] using credential edgex-jenkins-ssh [2021-04-22T18:08:44.843Z] Cloning the remote Git repository [2021-04-22T18:08:44.871Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-22T18:08:44.938Z] > git init /w/workspace/app-functions-sdk-go/215 # timeout=10 [2021-04-22T18:08:45.003Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-22T18:08:45.003Z] > git --version # timeout=10 [2021-04-22T18:08:45.011Z] > git --version # 'git version 2.24.3' [2021-04-22T18:08:45.011Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-22T18:08:45.037Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-22T18:08:46.097Z] 00ac8860ef70: Pull complete [2021-04-22T18:08:46.371Z] 63d7cb157983: Pull complete [2021-04-22T18:08:46.544Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-04-22T18:08:46.551Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-22T18:08:46.567Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-04-22T18:08:46.579Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-22T18:08:46.579Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-22T18:08:46.584Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-22T18:08:46.970Z] b116817d02f9: Pull complete [2021-04-22T18:08:46.976Z] Checking out Revision 93c26ee21773a08251a9c88cc59f9e9b66bbc9bd (master) [2021-04-22T18:08:46.985Z] > git config core.sparsecheckout # timeout=10 [2021-04-22T18:08:46.991Z] > git checkout -f 93c26ee21773a08251a9c88cc59f9e9b66bbc9bd # timeout=10 [2021-04-22T18:08:50.872Z] Commit message: "Merge pull request #795 from soda480/US149" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-22T18:08:51.398Z] 745a02a5169b: Pull complete [2021-04-22T18:08:51.398Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-22T18:08:51.398Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-22T18:08:51.398Z] ---> b7e6874047d6 [2021-04-22T18:08:51.398Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-04-22T18:08:51.398Z] 20.10.0: Pulling from library/docker [2021-04-22T18:08:51.398Z] a3cc7d3b244e: Pulling fs layer [2021-04-22T18:08:51.398Z] 02a3295e0d61: Pulling fs layer [2021-04-22T18:08:51.398Z] 0f4f2e6d8100: Pulling fs layer [2021-04-22T18:08:51.398Z] 330b718f631f: Pulling fs layer [2021-04-22T18:08:51.398Z] a93816041522: Pulling fs layer [2021-04-22T18:08:51.398Z] bdb6da89ff94: Pulling fs layer [2021-04-22T18:08:51.398Z] 2a70c0c122f4: Pulling fs layer [2021-04-22T18:08:51.398Z] a93816041522: Waiting [2021-04-22T18:08:51.398Z] bdb6da89ff94: Waiting [2021-04-22T18:08:51.398Z] 2a70c0c122f4: Waiting [2021-04-22T18:08:51.398Z] 330b718f631f: Waiting [2021-04-22T18:08:51.398Z] 0f4f2e6d8100: Download complete [2021-04-22T18:08:51.398Z] 02a3295e0d61: Verifying Checksum [2021-04-22T18:08:51.398Z] 02a3295e0d61: Download complete [2021-04-22T18:08:51.398Z] a3cc7d3b244e: Verifying Checksum [2021-04-22T18:08:51.398Z] a3cc7d3b244e: Download complete [2021-04-22T18:08:51.398Z] a93816041522: Verifying Checksum [2021-04-22T18:08:51.398Z] a93816041522: Download complete [2021-04-22T18:08:51.398Z] bdb6da89ff94: Verifying Checksum [2021-04-22T18:08:51.398Z] bdb6da89ff94: Download complete [2021-04-22T18:08:51.398Z] 2a70c0c122f4: Verifying Checksum [2021-04-22T18:08:51.398Z] 2a70c0c122f4: Download complete [2021-04-22T18:08:51.674Z] a3cc7d3b244e: Pull complete [2021-04-22T18:08:51.921Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-22T18:08:52.256Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-22T18:08:52.556Z] + sudo service docker restart [2021-04-22T18:08:52.556Z] + true [2021-04-22T18:08:52.556Z] Redirecting to /bin/systemctl restart docker.service [2021-04-22T18:08:52.669Z] 02a3295e0d61: Pull complete [2021-04-22T18:08:52.943Z] 0f4f2e6d8100: Pull complete [2021-04-22T18:08:52.943Z] 330b718f631f: Verifying Checksum [2021-04-22T18:08:52.943Z] 330b718f631f: Download complete [Pipeline] unstash [Pipeline] echo [2021-04-22T18:08:54.103Z] ========================================================= [2021-04-22T18:08:54.103Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-22T18:08:54.103Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-22T18:08:54.418Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-04-22T18:08:54.996Z] Sending build context to Docker daemon 19.48MB [2021-04-22T18:08:54.996Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-22T18:08:54.996Z] Step 2/8 : FROM ${BASE} [2021-04-22T18:08:54.996Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-22T18:08:54.996Z] 188c0c94c7c5: Pulling fs layer [2021-04-22T18:08:54.996Z] 0ef7d3d256c8: Pulling fs layer [2021-04-22T18:08:54.996Z] de9db76c5a1d: Pulling fs layer [2021-04-22T18:08:54.996Z] bca2f99d35d6: Pulling fs layer [2021-04-22T18:08:54.996Z] 93359f2a8cfa: Pulling fs layer [2021-04-22T18:08:54.996Z] 7c6f9722023f: Pulling fs layer [2021-04-22T18:08:54.996Z] a35cf1a2eb13: Pulling fs layer [2021-04-22T18:08:54.996Z] bca2f99d35d6: Waiting [2021-04-22T18:08:54.996Z] 93359f2a8cfa: Waiting [2021-04-22T18:08:54.996Z] 7c6f9722023f: Waiting [2021-04-22T18:08:54.996Z] a35cf1a2eb13: Waiting [2021-04-22T18:08:54.996Z] de9db76c5a1d: Verifying Checksum [2021-04-22T18:08:54.996Z] de9db76c5a1d: Download complete [2021-04-22T18:08:55.273Z] 0ef7d3d256c8: Download complete [2021-04-22T18:08:55.273Z] 93359f2a8cfa: Verifying Checksum [2021-04-22T18:08:55.273Z] 93359f2a8cfa: Download complete [2021-04-22T18:08:55.273Z] 7c6f9722023f: Download complete [2021-04-22T18:08:55.273Z] 188c0c94c7c5: Verifying Checksum [2021-04-22T18:08:55.273Z] 188c0c94c7c5: Download complete [2021-04-22T18:08:55.546Z] 188c0c94c7c5: Pull complete [2021-04-22T18:08:55.812Z] 0ef7d3d256c8: Pull complete [2021-04-22T18:08:55.812Z] de9db76c5a1d: Pull complete [2021-04-22T18:08:57.217Z] a35cf1a2eb13: Verifying Checksum [2021-04-22T18:08:57.217Z] a35cf1a2eb13: Download complete [2021-04-22T18:08:57.275Z] 330b718f631f: Pull complete [2021-04-22T18:08:57.275Z] a93816041522: Pull complete [2021-04-22T18:08:57.552Z] bdb6da89ff94: Pull complete [2021-04-22T18:08:57.797Z] bca2f99d35d6: Verifying Checksum [2021-04-22T18:08:57.797Z] bca2f99d35d6: Download complete [2021-04-22T18:08:57.827Z] 2a70c0c122f4: Pull complete [2021-04-22T18:08:57.827Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-04-22T18:08:57.827Z] Status: Downloaded newer image for docker:20.10.0 [2021-04-22T18:09:03.145Z] bca2f99d35d6: Pull complete [2021-04-22T18:09:03.408Z] 93359f2a8cfa: Pull complete [2021-04-22T18:09:03.408Z] 7c6f9722023f: Pull complete [2021-04-22T18:09:04.523Z] ---> 471983ac471e [2021-04-22T18:09:04.523Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-04-22T18:09:04.523Z] ---> Running in 1c7e403ae451 [2021-04-22T18:09:04.523Z] Removing intermediate container 1c7e403ae451 [2021-04-22T18:09:04.523Z] ---> f41199dfe3c1 [2021-04-22T18:09:04.523Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-04-22T18:09:04.523Z] ---> Running in 77cde9dccf20 [2021-04-22T18:09:05.959Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-22T18:09:06.549Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-22T18:09:07.152Z] (1/5) Installing libsodium (1.0.18-r0) [2021-04-22T18:09:07.422Z] (2/5) Installing libzmq (4.3.3-r0) [2021-04-22T18:09:07.422Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-04-22T18:09:07.696Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-04-22T18:09:07.696Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-04-22T18:09:07.696Z] Executing busybox-1.31.1-r19.trigger [2021-04-22T18:09:07.696Z] OK: 144 MiB in 44 packages [2021-04-22T18:09:09.125Z] Removing intermediate container 77cde9dccf20 [2021-04-22T18:09:09.125Z] ---> 36318a7e63b4 [2021-04-22T18:09:09.125Z] Step 6/8 : WORKDIR /build [2021-04-22T18:09:09.125Z] ---> Running in ede728988bca [2021-04-22T18:09:09.718Z] Removing intermediate container ede728988bca [2021-04-22T18:09:09.718Z] ---> 75282a325363 [2021-04-22T18:09:09.718Z] Step 7/8 : COPY go.mod . [2021-04-22T18:09:10.310Z] ---> 50cf96e9fa5a [2021-04-22T18:09:10.310Z] Step 8/8 : RUN go mod download [2021-04-22T18:09:10.583Z] ---> Running in b0abf7f225f6 [2021-04-22T18:09:13.462Z] a35cf1a2eb13: Pull complete [2021-04-22T18:09:13.462Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-22T18:09:13.462Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-22T18:09:13.462Z] ---> a62c8e92a672 [2021-04-22T18:09:13.462Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-04-22T18:09:13.462Z] 20.10.0: Pulling from library/docker [2021-04-22T18:09:13.462Z] 05e7bc50f07f: Pulling fs layer [2021-04-22T18:09:13.462Z] 6db28d0fdbf6: Pulling fs layer [2021-04-22T18:09:13.462Z] 292df0bc6bf3: Pulling fs layer [2021-04-22T18:09:13.462Z] 2e060f4bd70b: Pulling fs layer [2021-04-22T18:09:13.462Z] 80e8d568a223: Pulling fs layer [2021-04-22T18:09:13.462Z] 8dc6ef1a942a: Pulling fs layer [2021-04-22T18:09:13.462Z] 2312dd95470a: Pulling fs layer [2021-04-22T18:09:13.462Z] 80e8d568a223: Waiting [2021-04-22T18:09:13.462Z] 8dc6ef1a942a: Waiting [2021-04-22T18:09:13.462Z] 2312dd95470a: Waiting [2021-04-22T18:09:13.462Z] 2e060f4bd70b: Waiting [2021-04-22T18:09:13.462Z] 292df0bc6bf3: Verifying Checksum [2021-04-22T18:09:13.462Z] 292df0bc6bf3: Download complete [2021-04-22T18:09:13.462Z] 6db28d0fdbf6: Verifying Checksum [2021-04-22T18:09:13.462Z] 6db28d0fdbf6: Download complete [2021-04-22T18:09:13.462Z] 05e7bc50f07f: Verifying Checksum [2021-04-22T18:09:13.462Z] 05e7bc50f07f: Download complete [2021-04-22T18:09:13.462Z] 80e8d568a223: Verifying Checksum [2021-04-22T18:09:13.462Z] 80e8d568a223: Download complete [2021-04-22T18:09:13.462Z] 8dc6ef1a942a: Verifying Checksum [2021-04-22T18:09:13.462Z] 8dc6ef1a942a: Download complete [2021-04-22T18:09:13.462Z] 2312dd95470a: Verifying Checksum [2021-04-22T18:09:13.462Z] 2312dd95470a: Download complete [2021-04-22T18:09:13.462Z] 05e7bc50f07f: Pull complete [2021-04-22T18:09:13.462Z] 6db28d0fdbf6: Pull complete [2021-04-22T18:09:13.462Z] 292df0bc6bf3: Pull complete [2021-04-22T18:09:13.726Z] 2e060f4bd70b: Verifying Checksum [2021-04-22T18:09:13.726Z] 2e060f4bd70b: Download complete [2021-04-22T18:09:17.089Z] 2e060f4bd70b: Pull complete [2021-04-22T18:09:17.089Z] 80e8d568a223: Pull complete [2021-04-22T18:09:17.089Z] 8dc6ef1a942a: Pull complete [2021-04-22T18:09:17.089Z] 2312dd95470a: Pull complete [2021-04-22T18:09:17.089Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-04-22T18:09:17.089Z] Status: Downloaded newer image for docker:20.10.0 [2021-04-22T18:09:18.500Z] ---> ab8721bf9406 [2021-04-22T18:09:18.500Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-04-22T18:09:18.500Z] ---> Running in a06a6c2f8fef [2021-04-22T18:09:18.500Z] Removing intermediate container a06a6c2f8fef [2021-04-22T18:09:18.500Z] ---> 63715e31789b [2021-04-22T18:09:18.500Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-04-22T18:09:18.764Z] ---> Running in 95ea00af59bd [2021-04-22T18:09:19.345Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-22T18:09:20.301Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-22T18:09:20.565Z] (1/5) Installing libsodium (1.0.18-r0) [2021-04-22T18:09:20.565Z] (2/5) Installing libzmq (4.3.3-r0) [2021-04-22T18:09:20.829Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-04-22T18:09:20.829Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-04-22T18:09:20.829Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-04-22T18:09:21.092Z] Executing busybox-1.31.1-r19.trigger [2021-04-22T18:09:21.092Z] OK: 167 MiB in 44 packages [2021-04-22T18:09:21.666Z] Removing intermediate container 95ea00af59bd [2021-04-22T18:09:21.666Z] ---> 5ccca767f9a8 [2021-04-22T18:09:21.666Z] Step 6/8 : WORKDIR /build [2021-04-22T18:09:21.666Z] ---> Running in df707361ba17 [2021-04-22T18:09:21.929Z] Removing intermediate container df707361ba17 [2021-04-22T18:09:21.929Z] ---> d05472c16fc3 [2021-04-22T18:09:21.929Z] Step 7/8 : COPY go.mod . [2021-04-22T18:09:21.929Z] ---> 56c0d8e33e80 [2021-04-22T18:09:21.929Z] Step 8/8 : RUN go mod download [2021-04-22T18:09:22.192Z] ---> Running in ff1282a0710e [2021-04-22T18:09:37.389Z] Removing intermediate container b0abf7f225f6 [2021-04-22T18:09:37.389Z] ---> 8ab2fdee59c9 [2021-04-22T18:09:37.389Z] Successfully built 8ab2fdee59c9 [2021-04-22T18:09:37.389Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-22T18:09:37.731Z] + docker inspect -f . ci-base-image-arm64 [2021-04-22T18:09:37.731Z] . [Pipeline] withDockerContainer [2021-04-22T18:09:38.002Z] prd-ubuntu18.04-docker-arm64-4c-16g-1479 does not seem to be running inside a container [2021-04-22T18:09:38.086Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/215 -v /w/workspace/app-functions-sdk-go/215:/w/workspace/app-functions-sdk-go/215:rw,z -v /w/workspace/app-functions-sdk-go/215@tmp:/w/workspace/app-functions-sdk-go/215@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-04-22T18:09:39.640Z] $ docker top 5f1798ce84149a6ee7da38af553ab552e6b3cf1547005222b1a00f1c5cbfcaf7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-22T18:09:40.608Z] + go version [2021-04-22T18:09:40.609Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-22T18:09:40.633Z] $ docker stop --time=1 5f1798ce84149a6ee7da38af553ab552e6b3cf1547005222b1a00f1c5cbfcaf7 [2021-04-22T18:09:42.597Z] $ docker rm -f 5f1798ce84149a6ee7da38af553ab552e6b3cf1547005222b1a00f1c5cbfcaf7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-22T18:09:43.304Z] + docker inspect -f . ci-base-image-arm64 [2021-04-22T18:09:43.304Z] . [Pipeline] withDockerContainer [2021-04-22T18:09:43.562Z] prd-ubuntu18.04-docker-arm64-4c-16g-1479 does not seem to be running inside a container [2021-04-22T18:09:43.642Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/215 -v /w/workspace/app-functions-sdk-go/215:/w/workspace/app-functions-sdk-go/215:rw,z -v /w/workspace/app-functions-sdk-go/215@tmp:/w/workspace/app-functions-sdk-go/215@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-04-22T18:09:44.215Z] Removing intermediate container ff1282a0710e [2021-04-22T18:09:44.215Z] ---> 386a57918125 [2021-04-22T18:09:44.215Z] Successfully built 386a57918125 [2021-04-22T18:09:44.215Z] Successfully tagged ci-base-image-x86_64:latest [2021-04-22T18:09:45.057Z] $ docker top e57e480980dad91dde96bd69ee9b2d8e57b76d582b49ffa1a1602e7274ed0bd2 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-04-22T18:09:45.730Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-22T18:09:45.730Z] . [Pipeline] withDockerContainer [2021-04-22T18:09:45.878Z] prd-centos7-docker-4c-2g-1480 does not seem to be running inside a container [2021-04-22T18:09:45.930Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/215 -v /w/workspace/app-functions-sdk-go/215:/w/workspace/app-functions-sdk-go/215:rw,z -v /w/workspace/app-functions-sdk-go/215@tmp:/w/workspace/app-functions-sdk-go/215@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-x86_64 cat [2021-04-22T18:09:46.016Z] + make test [2021-04-22T18:09:46.016Z] make -C ./app-service-template build [2021-04-22T18:09:46.016Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/215/app-service-template' [2021-04-22T18:09:46.016Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.14 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-04-22T18:09:46.652Z] $ docker top 1281c32d7b2b78d99770d7ecb7d3b27e3ace758bbdeedb812218c283f0fcd3de -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-22T18:09:47.078Z] + go version [2021-04-22T18:09:47.078Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-22T18:09:47.095Z] $ docker stop --time=1 1281c32d7b2b78d99770d7ecb7d3b27e3ace758bbdeedb812218c283f0fcd3de [2021-04-22T18:09:48.441Z] $ docker rm -f 1281c32d7b2b78d99770d7ecb7d3b27e3ace758bbdeedb812218c283f0fcd3de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-22T18:09:48.949Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-22T18:09:48.949Z] . [Pipeline] withDockerContainer [2021-04-22T18:09:49.046Z] prd-centos7-docker-4c-2g-1480 does not seem to be running inside a container [2021-04-22T18:09:49.098Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/215 -v /w/workspace/app-functions-sdk-go/215:/w/workspace/app-functions-sdk-go/215:rw,z -v /w/workspace/app-functions-sdk-go/215@tmp:/w/workspace/app-functions-sdk-go/215@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-x86_64 cat [2021-04-22T18:09:49.667Z] $ docker top f3c6d31188f26f0183506b96bc9ed8fb9fdbf747c6c6aea3387de87760714176 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-22T18:09:50.081Z] + make test [2021-04-22T18:09:50.081Z] make -C ./app-service-template build [2021-04-22T18:09:50.081Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/215/app-service-template' [2021-04-22T18:09:50.081Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.14 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-04-22T18:10:05.120Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/215/app-service-template' [2021-04-22T18:10:05.120Z] make -C ./app-service-template test [2021-04-22T18:10:05.120Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/215/app-service-template' [2021-04-22T18:10:05.120Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-04-22T18:10:13.362Z] ok new-app-service 0.017s coverage: 47.8% of statements [2021-04-22T18:10:13.362Z] ? new-app-service/config [no test files] [2021-04-22T18:10:13.362Z] ok new-app-service/functions 0.011s [2021-04-22T18:10:13.362Z] CGO_ENABLED=1 go vet ./... [2021-04-22T18:10:16.001Z] gofmt -l . [2021-04-22T18:10:16.001Z] [ "`gofmt -l .`" = "" ] [2021-04-22T18:10:16.001Z] ./bin/test-go-mod-tidy.sh [2021-04-22T18:10:16.585Z] ./bin/test-attribution-txt.sh [2021-04-22T18:10:17.161Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/215/app-service-template' [2021-04-22T18:10:17.161Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-04-22T18:10:17.753Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-04-22T18:10:21.133Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.050s coverage: 55.8% of statements [2021-04-22T18:10:21.133Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.015s coverage: 92.5% of statements [2021-04-22T18:10:21.133Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-04-22T18:10:21.133Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.029s coverage: 61.5% of statements [2021-04-22T18:10:21.133Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-04-22T18:10:21.133Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.020s [2021-04-22T18:10:21.133Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.040s coverage: 75.4% of statements [2021-04-22T18:10:21.133Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-04-22T18:10:21.133Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-04-22T18:10:21.133Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-04-22T18:10:21.133Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-04-22T18:10:21.133Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-04-22T18:10:21.133Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-04-22T18:10:21.133Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.011s coverage: 97.0% of statements [2021-04-22T18:10:21.133Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-04-22T18:10:21.133Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.010s coverage: 10.5% of statements [2021-04-22T18:10:24.462Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.775s coverage: 78.4% of statements [2021-04-22T18:10:24.462Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-04-22T18:10:24.462Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.011s coverage: 18.4% of statements [2021-04-22T18:10:24.462Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.023s coverage: 27.3% of statements [2021-04-22T18:10:24.462Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-04-22T18:10:24.462Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-04-22T18:10:24.462Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.015s coverage: 71.7% of statements [2021-04-22T18:10:25.046Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/215/app-service-template' [2021-04-22T18:10:25.046Z] make -C ./app-service-template test [2021-04-22T18:10:25.046Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/215/app-service-template' [2021-04-22T18:10:25.046Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-04-22T18:10:43.405Z] ok new-app-service 0.035s coverage: 47.8% of statements [2021-04-22T18:10:43.405Z] ? new-app-service/config [no test files] [2021-04-22T18:10:44.382Z] ok new-app-service/functions 0.029s [2021-04-22T18:10:44.656Z] CGO_ENABLED=1 go vet ./... [2021-04-22T18:10:51.205Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.044s coverage: 81.9% of statements [2021-04-22T18:10:51.205Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.009s coverage: 94.4% of statements [2021-04-22T18:10:51.205Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-04-22T18:10:51.205Z] gofmt -l . [2021-04-22T18:10:51.205Z] [ "`gofmt -l .`" = "" ] [2021-04-22T18:10:51.205Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-22T18:10:51.226Z] $ docker stop --time=1 f3c6d31188f26f0183506b96bc9ed8fb9fdbf747c6c6aea3387de87760714176 [2021-04-22T18:10:52.838Z] $ docker rm -f f3c6d31188f26f0183506b96bc9ed8fb9fdbf747c6c6aea3387de87760714176 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-22T18:10:53.414Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-22T18:10:53.829Z] Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-22T18:10:54.618Z] ---> job-cost.sh [2021-04-22T18:10:54.618Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-lxqd [2021-04-22T18:10:54.835Z] gofmt -l . [2021-04-22T18:10:54.835Z] [ "`gofmt -l .`" = "" ] [2021-04-22T18:10:54.835Z] ./bin/test-go-mod-tidy.sh [2021-04-22T18:10:55.108Z] ./bin/test-attribution-txt.sh [2021-04-22T18:10:56.548Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/215/app-service-template' [2021-04-22T18:10:56.548Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-04-22T18:10:57.993Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-04-22T18:11:08.175Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.093s coverage: 55.8% of statements [2021-04-22T18:11:08.175Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.033s coverage: 92.5% of statements [2021-04-22T18:11:08.175Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-04-22T18:11:08.175Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.070s coverage: 61.5% of statements [2021-04-22T18:11:08.175Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-04-22T18:11:08.175Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.026s [2021-04-22T18:11:08.175Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.120s coverage: 75.4% of statements [2021-04-22T18:11:08.175Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-04-22T18:11:08.175Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-04-22T18:11:08.175Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-04-22T18:11:08.175Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-04-22T18:11:08.175Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-04-22T18:11:08.175Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-04-22T18:11:08.175Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.027s coverage: 97.0% of statements [2021-04-22T18:11:08.175Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-04-22T18:11:08.175Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.034s coverage: 10.5% of statements [2021-04-22T18:11:09.555Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-22T18:11:13.591Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.817s coverage: 78.4% of statements [2021-04-22T18:11:13.591Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-04-22T18:11:13.591Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.042s coverage: 18.4% of statements [2021-04-22T18:11:13.591Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.056s coverage: 27.3% of statements [2021-04-22T18:11:13.591Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-04-22T18:11:13.591Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-04-22T18:11:13.591Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.033s coverage: 71.7% of statements [2021-04-22T18:11:36.189Z] lf-activate-venv(): INFO: Adding /tmp/venv-lxqd/bin to PATH [2021-04-22T18:11:36.189Z] INFO: No Stack... [2021-04-22T18:11:37.146Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-22T18:11:38.095Z] INFO: Archiving Costs [Pipeline] sh [2021-04-22T18:11:38.421Z] + cut -d, -f6 [2021-04-22T18:11:38.421Z] + cat /w/workspace/app-functions-sdk-go/215/archives/cost.csv [Pipeline] lock [2021-04-22T18:11:38.510Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-215-stack-cost] [2021-04-22T18:11:38.519Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-215-stack-cost] did not exist. Created. [2021-04-22T18:11:38.519Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-215-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-22T18:11:38.857Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-22T18:11:39.004Z] Stashed 1 file(s) [Pipeline] } [2021-04-22T18:11:39.020Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-215-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-22T18:11:40.354Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.078s coverage: 81.9% of statements [2021-04-22T18:11:40.354Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.037s coverage: 94.4% of statements [2021-04-22T18:11:40.354Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-04-22T18:11:43.009Z] gofmt -l . [2021-04-22T18:11:43.009Z] [ "`gofmt -l .`" = "" ] [2021-04-22T18:11:43.285Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-22T18:11:43.908Z] $ docker stop --time=1 e57e480980dad91dde96bd69ee9b2d8e57b76d582b49ffa1a1602e7274ed0bd2 [2021-04-22T18:11:45.980Z] $ docker rm -f e57e480980dad91dde96bd69ee9b2d8e57b76d582b49ffa1a1602e7274ed0bd2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-22T18:11:46.864Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-22T18:11:46.901Z] Warning: overwriting stash ‘coverage-report’ [2021-04-22T18:11:47.902Z] Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-22T18:11:48.528Z] ---> job-cost.sh [2021-04-22T18:11:48.528Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-FwhN [2021-04-22T18:12:27.561Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-22T18:14:04.319Z] lf-activate-venv(): INFO: Adding /tmp/venv-FwhN/bin to PATH [2021-04-22T18:14:04.320Z] INFO: No Stack... [2021-04-22T18:14:04.320Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-22T18:14:04.320Z] INFO: Archiving Costs [Pipeline] sh [2021-04-22T18:14:04.665Z] + + cutcat -d, -f6 [2021-04-22T18:14:04.665Z] /w/workspace/app-functions-sdk-go/215/archives/cost.csv [Pipeline] lock [2021-04-22T18:14:04.784Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-215-stack-cost] [2021-04-22T18:14:04.797Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-215-stack-cost] did not exist. Created. [2021-04-22T18:14:04.797Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-215-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-22T18:14:05.185Z] /w/workspace/app-functions-sdk-go/215@tmp/durable-684023c7/script.sh: 1: /w/workspace/app-functions-sdk-go/215@tmp/durable-684023c7/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-22T18:14:05.543Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-22T18:14:05.582Z] Warning: overwriting stash ‘stack-cost’ [2021-04-22T18:14:05.738Z] Stashed 1 file(s) [Pipeline] } [2021-04-22T18:14:05.753Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-215-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-04-22T18:14:06.702Z] provisioning config files... [2021-04-22T18:14:06.720Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config2767719210047026401tmp [Pipeline] { [Pipeline] sh [2021-04-22T18:14:07.075Z] + set +x [2021-04-22T18:14:07.075Z] + curl -s https://codecov.io/bash [2021-04-22T18:14:07.075Z] + bash -s -- [2021-04-22T18:14:07.362Z] [2021-04-22T18:14:07.362Z] _____ _ [2021-04-22T18:14:07.362Z] / ____| | | [2021-04-22T18:14:07.362Z] | | ___ __| | ___ ___ _____ __ [2021-04-22T18:14:07.362Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-22T18:14:07.362Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-22T18:14:07.362Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-22T18:14:07.362Z] Bash-1.0.2 [2021-04-22T18:14:07.362Z] [2021-04-22T18:14:07.362Z] [2021-04-22T18:14:07.362Z] ==> git version 2.24.3 found [2021-04-22T18:14:07.362Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-04-22T18:14:07.362Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-22T18:14:07.362Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-22T18:14:07.362Z] ==> Jenkins CI detected. [2021-04-22T18:14:07.362Z] project root: . [2021-04-22T18:14:07.362Z] --> token set from env [2021-04-22T18:14:07.362Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-22T18:14:07.362Z] ==> Running gcov in . (disable via -X gcov) [2021-04-22T18:14:07.362Z] ==> Python coveragepy not found [2021-04-22T18:14:07.362Z] ==> Searching for coverage reports in: [2021-04-22T18:14:07.362Z] + . [2021-04-22T18:14:07.630Z] -> Found 2 reports [2021-04-22T18:14:07.630Z] ==> Detecting git/mercurial file structure [2021-04-22T18:14:07.630Z] ==> Reading reports [2021-04-22T18:14:07.630Z] + ./app-service-template/coverage.out bytes=1055 [2021-04-22T18:14:07.630Z] + ./coverage.out bytes=86827 [2021-04-22T18:14:07.630Z] ==> Appending adjustments [2021-04-22T18:14:07.630Z] https://docs.codecov.io/docs/fixing-reports [2021-04-22T18:14:08.221Z] + Found adjustments [2021-04-22T18:14:08.221Z] ==> Gzipping contents [2021-04-22T18:14:08.221Z] 16K /tmp/codecov.3sDn6D.gz [2021-04-22T18:14:08.221Z] ==> Uploading reports [2021-04-22T18:14:08.221Z] url: https://codecov.io [2021-04-22T18:14:08.221Z] query: branch=master&commit=93c26ee21773a08251a9c88cc59f9e9b66bbc9bd&build=215&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F215%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-04-22T18:14:08.221Z] -> Pinging Codecov [2021-04-22T18:14:08.221Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=master&commit=93c26ee21773a08251a9c88cc59f9e9b66bbc9bd&build=215&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F215%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-04-22T18:14:08.815Z] -> Uploading to [2021-04-22T18:14:08.815Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-22/3D8B5DFFC46A037C893635FACE044666/93c26ee21773a08251a9c88cc59f9e9b66bbc9bd/f26a30c2-6e28-4cb4-9950-6f759ce69014.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210422%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210422T181408Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=042dec481b2f35bc4b42f19a77873c57d28b1e6488f30f1e7582bf576b77f609 [2021-04-22T18:14:08.815Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-22T18:14:08.815Z] Dload Upload Total Spent Left Speed [2021-04-22T18:14:09.396Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15284 0 0 100 15284 0 34950 --:--:-- --:--:-- --:--:-- 34974 [2021-04-22T18:14:09.396Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/93c26ee21773a08251a9c88cc59f9e9b66bbc9bd [Pipeline] } [2021-04-22T18:14:09.443Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-04-22T18:14:10.377Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-04-22T18:14:10.402Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-22T18:14:10.731Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-04-22T18:14:10.731Z] [2021-04-22T18:14:10.731Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-04-22T18:14:11.069Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-04-22T18:14:11.069Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-04-22T18:14:11.069Z] 188c0c94c7c5: Pulling fs layer [2021-04-22T18:14:11.069Z] 0ef7d3d256c8: Pulling fs layer [2021-04-22T18:14:11.069Z] de9db76c5a1d: Pulling fs layer [2021-04-22T18:14:11.069Z] 0eba1c9be4d2: Pulling fs layer [2021-04-22T18:14:11.069Z] 0d57e429df01: Pulling fs layer [2021-04-22T18:14:11.069Z] 4e4be7b47b0d: Pulling fs layer [2021-04-22T18:14:11.069Z] e1f770b5df2f: Pulling fs layer [2021-04-22T18:14:11.069Z] 85a0685a4137: Pulling fs layer [2021-04-22T18:14:11.069Z] 0d57e429df01: Waiting [2021-04-22T18:14:11.069Z] 4e4be7b47b0d: Waiting [2021-04-22T18:14:11.069Z] e1f770b5df2f: Waiting [2021-04-22T18:14:11.069Z] 85a0685a4137: Waiting [2021-04-22T18:14:11.069Z] 0eba1c9be4d2: Waiting [2021-04-22T18:14:11.069Z] de9db76c5a1d: Verifying Checksum [2021-04-22T18:14:11.069Z] de9db76c5a1d: Download complete [2021-04-22T18:14:11.069Z] 0ef7d3d256c8: Download complete [2021-04-22T18:14:11.343Z] 0d57e429df01: Verifying Checksum [2021-04-22T18:14:11.343Z] 0d57e429df01: Download complete [2021-04-22T18:14:11.343Z] 4e4be7b47b0d: Verifying Checksum [2021-04-22T18:14:11.343Z] 4e4be7b47b0d: Download complete [2021-04-22T18:14:11.343Z] 188c0c94c7c5: Download complete [2021-04-22T18:14:11.609Z] 188c0c94c7c5: Pull complete [2021-04-22T18:14:11.880Z] 0ef7d3d256c8: Pull complete [2021-04-22T18:14:12.148Z] de9db76c5a1d: Pull complete [2021-04-22T18:14:13.116Z] e1f770b5df2f: Download complete [2021-04-22T18:14:15.982Z] 0eba1c9be4d2: Verifying Checksum [2021-04-22T18:14:15.982Z] 0eba1c9be4d2: Download complete [2021-04-22T18:14:16.252Z] 85a0685a4137: Verifying Checksum [2021-04-22T18:14:16.252Z] 85a0685a4137: Download complete [2021-04-22T18:14:28.714Z] 0eba1c9be4d2: Pull complete [2021-04-22T18:14:28.714Z] 0d57e429df01: Pull complete [2021-04-22T18:14:28.714Z] 4e4be7b47b0d: Pull complete [2021-04-22T18:14:30.178Z] e1f770b5df2f: Pull complete [2021-04-22T18:14:42.596Z] 85a0685a4137: Pull complete [2021-04-22T18:14:42.596Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-04-22T18:14:42.596Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-04-22T18:14:42.596Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-04-22T18:14:43.092Z] prd-centos7-docker-4c-2g-1478 does not seem to be running inside a container [2021-04-22T18:14:43.152Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-04-22T18:14:44.705Z] $ docker top 3f7528948ab6e20f8d743a319f817edc1fda7bba3cfc665dceefcd399c2b1130 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-04-22T18:14:44.921Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-04-22T18:14:45.232Z] + set -o pipefail [2021-04-22T18:14:45.232Z] + snyk monitor '--org=edgex-jenkins' [2021-04-22T18:15:03.664Z] [2021-04-22T18:15:03.664Z] Monitoring /w/workspace/ndry_app-functions-sdk-go_master (github.com/edgexfoundry/app-functions-sdk-go/v2)... [2021-04-22T18:15:03.664Z] [2021-04-22T18:15:03.664Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/0059ff56-cfea-49cf-80ff-258b781fe5f2 [2021-04-22T18:15:03.664Z] [2021-04-22T18:15:03.664Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-04-22T18:15:03.664Z] [2021-04-22T18:15:03.664Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-04-22T18:15:03.664Z] [2021-04-22T18:15:03.664Z] [Pipeline] } [2021-04-22T18:15:03.683Z] $ docker stop --time=1 3f7528948ab6e20f8d743a319f817edc1fda7bba3cfc665dceefcd399c2b1130 [2021-04-22T18:15:06.497Z] $ docker rm -f 3f7528948ab6e20f8d743a319f817edc1fda7bba3cfc665dceefcd399c2b1130 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2021-04-22T18:15:07.658Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-22T18:15:07.687Z] provisioning config files... [2021-04-22T18:15:07.700Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config891955309867147517tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-22T18:15:08.039Z] --> edgex-publish-swagger.sh [2021-04-22T18:15:08.039Z] === Publish openapi/v2 API === [2021-04-22T18:15:08.039Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-04-22T18:15:08.039Z] [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/ndry_app-functions-sdk-go_master/openapi/v2/app-functions-sdk.yaml] [2021-04-22T18:15:08.039Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-22T18:15:08.039Z] Dload Upload Total Spent Left Speed [2021-04-22T18:15:10.015Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13052 0 0 100 13052 0 8645 0:00:01 0:00:01 --:--:-- 8660 100 13052 0 0 100 13052 0 8552 0:00:01 0:00:01 --:--:-- 8564 [2021-04-22T18:15:10.015Z] [2021-04-22T18:15:10.015Z] [Pipeline] } [2021-04-22T18:15:10.031Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-22T18:15:10.570Z] + git log --format=format:%s -1 93c26ee21773a08251a9c88cc59f9e9b66bbc9bd [Pipeline] isUnix [Pipeline] sh [2021-04-22T18:15:10.896Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-22T18:15:10.896Z] . [Pipeline] withDockerContainer [2021-04-22T18:15:11.027Z] prd-centos7-docker-4c-2g-1478 does not seem to be running inside a container [2021-04-22T18:15:11.115Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-22T18:15:12.083Z] $ docker top dfea3b60a158d347dce8f5255da5c2d1d8566e1030538ef7af1292909f05ef86 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-22T18:15:12.357Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-22T18:15:12.357Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-22T18:15:12.647Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-22T18:15:12.651Z] $ docker exec dfea3b60a158d347dce8f5255da5c2d1d8566e1030538ef7af1292909f05ef86 ssh-agent [2021-04-22T18:15:13.206Z] SSH_AUTH_SOCK=/tmp/ssh-wxBc3Q1K9eSq/agent.13 [2021-04-22T18:15:13.206Z] SSH_AGENT_PID=18 [2021-04-22T18:15:13.217Z] Running ssh-add (command line suppressed) [2021-04-22T18:15:13.756Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_612988305900907639.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_612988305900907639.key) [2021-04-22T18:15:13.827Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-22T18:15:14.163Z] + git semver tag [2021-04-22T18:15:14.436Z] # -> Open(): unable to determine branch for HEAD [2021-04-22T18:15:14.436Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-04-22T18:15:14.436Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-04-22T18:15:14.436Z] # $SEMVER_REMOTE_NAME = origin [2021-04-22T18:15:14.436Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-22T18:15:14.436Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-22T18:15:14.436Z] # $SEMVER_BRANCH = master [2021-04-22T18:15:14.436Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-04-22T18:15:14.436Z] # 93c26ee21773a08251a9c88cc59f9e9b66bbc9bd HEAD [2021-04-22T18:15:14.436Z] # -> Force: false [2021-04-22T18:15:14.436Z] # 20ab03408df3a0e25ddd51429b0894f498daa766 refs/tags/v2.0.0-dev.46 [Pipeline] } [2021-04-22T18:15:14.454Z] $ docker exec --env ******** --env ******** dfea3b60a158d347dce8f5255da5c2d1d8566e1030538ef7af1292909f05ef86 ssh-agent -k [2021-04-22T18:15:15.578Z] unset SSH_AUTH_SOCK; [2021-04-22T18:15:15.578Z] unset SSH_AGENT_PID; [2021-04-22T18:15:15.579Z] echo Agent pid 18 killed; [2021-04-22T18:15:15.689Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-22T18:15:16.773Z] + git semver [Pipeline] } [2021-04-22T18:15:16.797Z] $ docker stop --time=1 dfea3b60a158d347dce8f5255da5c2d1d8566e1030538ef7af1292909f05ef86 [2021-04-22T18:15:18.437Z] $ docker rm -f dfea3b60a158d347dce8f5255da5c2d1d8566e1030538ef7af1292909f05ef86 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-04-22T18:15:19.017Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-04-22T18:15:19.018Z] [2021-04-22T18:15:19.018Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-04-22T18:15:19.352Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-04-22T18:15:19.352Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-04-22T18:15:19.352Z] ab5ef0e58194: Pulling fs layer [2021-04-22T18:15:19.352Z] 9712f1f96733: Pulling fs layer [2021-04-22T18:15:19.352Z] 63f879dbbcfc: Pulling fs layer [2021-04-22T18:15:19.352Z] 0d9ebad4ef96: Pulling fs layer [2021-04-22T18:15:19.352Z] e9a5061849ea: Pulling fs layer [2021-04-22T18:15:19.352Z] d747dcd14b5f: Pulling fs layer [2021-04-22T18:15:19.352Z] 2de7ff778b66: Pulling fs layer [2021-04-22T18:15:19.352Z] 0d9ebad4ef96: Waiting [2021-04-22T18:15:19.352Z] e9a5061849ea: Waiting [2021-04-22T18:15:19.352Z] d747dcd14b5f: Waiting [2021-04-22T18:15:19.352Z] 2de7ff778b66: Waiting [2021-04-22T18:15:19.352Z] 9712f1f96733: Verifying Checksum [2021-04-22T18:15:19.352Z] 9712f1f96733: Download complete [2021-04-22T18:15:21.310Z] 63f879dbbcfc: Verifying Checksum [2021-04-22T18:15:21.310Z] 63f879dbbcfc: Download complete [2021-04-22T18:15:21.587Z] e9a5061849ea: Verifying Checksum [2021-04-22T18:15:21.587Z] e9a5061849ea: Download complete [2021-04-22T18:15:21.861Z] d747dcd14b5f: Download complete [2021-04-22T18:15:22.134Z] 0d9ebad4ef96: Verifying Checksum [2021-04-22T18:15:22.134Z] 0d9ebad4ef96: Download complete [2021-04-22T18:15:22.401Z] 2de7ff778b66: Verifying Checksum [2021-04-22T18:15:22.401Z] 2de7ff778b66: Download complete [2021-04-22T18:15:22.665Z] ab5ef0e58194: Verifying Checksum [2021-04-22T18:15:22.665Z] ab5ef0e58194: Download complete [2021-04-22T18:15:29.367Z] ab5ef0e58194: Pull complete [2021-04-22T18:15:29.630Z] 9712f1f96733: Pull complete [2021-04-22T18:15:32.209Z] 63f879dbbcfc: Pull complete [2021-04-22T18:15:42.634Z] 0d9ebad4ef96: Pull complete [2021-04-22T18:15:44.624Z] e9a5061849ea: Pull complete [2021-04-22T18:15:45.204Z] d747dcd14b5f: Pull complete [2021-04-22T18:15:49.539Z] 2de7ff778b66: Pull complete [2021-04-22T18:15:49.539Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-04-22T18:15:49.539Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-04-22T18:15:49.539Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-04-22T18:15:50.321Z] prd-centos7-docker-4c-2g-1478 does not seem to be running inside a container [2021-04-22T18:15:50.392Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-04-22T18:15:54.191Z] $ docker top 99c7b56837f9b739bc6e2e0a6e78230b4d02ebd96a8b45c581e5f7cb7b9b804e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-04-22T18:15:54.363Z] provisioning config files... [2021-04-22T18:15:54.375Z] copy managed file [sigul-config] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config3001288843485778105tmp [2021-04-22T18:15:54.393Z] copy managed file [sigul-password] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config5375338413621414883tmp [2021-04-22T18:15:54.412Z] copy managed file [sigul-pki] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config780406452459661015tmp [Pipeline] { [Pipeline] echo [2021-04-22T18:15:54.442Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-22T18:15:54.755Z] ---> sigul-configuration.sh [2021-04-22T18:15:55.338Z] gpg: directory `/root/.gnupg' created [2021-04-22T18:15:55.338Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-04-22T18:15:55.338Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-04-22T18:15:55.338Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-04-22T18:15:55.338Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-04-22T18:15:55.338Z] gpg: CAST5 encrypted data [2021-04-22T18:15:55.338Z] gpg: encrypted with 1 passphrase [2021-04-22T18:15:55.338Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-04-22T18:15:55.660Z] + mkdir /home/jenkins [2021-04-22T18:15:55.660Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-04-22T18:15:55.966Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-04-22T18:15:55.979Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-22T18:15:56.288Z] ---> sigul-install.sh [2021-04-22T18:16:08.682Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-04-22T18:16:09.330Z] + git tag --list [2021-04-22T18:16:09.330Z] v0.1.0 [2021-04-22T18:16:09.330Z] v0.1.1 [2021-04-22T18:16:09.330Z] v1.0.0 [2021-04-22T18:16:09.330Z] v1.1.0 [2021-04-22T18:16:09.330Z] v1.2.0 [2021-04-22T18:16:09.330Z] v1.3.0 [2021-04-22T18:16:09.330Z] v1.3.1 [2021-04-22T18:16:09.330Z] v1.3.1-dev.1 [2021-04-22T18:16:09.330Z] v1.3.2-dev.1 [2021-04-22T18:16:09.330Z] v2.0.0-dev.1 [2021-04-22T18:16:09.330Z] v2.0.0-dev.10 [2021-04-22T18:16:09.330Z] v2.0.0-dev.11 [2021-04-22T18:16:09.330Z] v2.0.0-dev.12 [2021-04-22T18:16:09.330Z] v2.0.0-dev.13 [2021-04-22T18:16:09.330Z] v2.0.0-dev.14 [2021-04-22T18:16:09.330Z] v2.0.0-dev.15 [2021-04-22T18:16:09.330Z] v2.0.0-dev.16 [2021-04-22T18:16:09.330Z] v2.0.0-dev.17 [2021-04-22T18:16:09.330Z] v2.0.0-dev.18 [2021-04-22T18:16:09.330Z] v2.0.0-dev.19 [2021-04-22T18:16:09.330Z] v2.0.0-dev.2 [2021-04-22T18:16:09.330Z] v2.0.0-dev.20 [2021-04-22T18:16:09.330Z] v2.0.0-dev.21 [2021-04-22T18:16:09.330Z] v2.0.0-dev.22 [2021-04-22T18:16:09.330Z] v2.0.0-dev.23 [2021-04-22T18:16:09.330Z] v2.0.0-dev.24 [2021-04-22T18:16:09.330Z] v2.0.0-dev.25 [2021-04-22T18:16:09.330Z] v2.0.0-dev.26 [2021-04-22T18:16:09.330Z] v2.0.0-dev.27 [2021-04-22T18:16:09.330Z] v2.0.0-dev.28 [2021-04-22T18:16:09.330Z] v2.0.0-dev.29 [2021-04-22T18:16:09.330Z] v2.0.0-dev.3 [2021-04-22T18:16:09.330Z] v2.0.0-dev.30 [2021-04-22T18:16:09.330Z] v2.0.0-dev.31 [2021-04-22T18:16:09.330Z] v2.0.0-dev.32 [2021-04-22T18:16:09.330Z] v2.0.0-dev.33 [2021-04-22T18:16:09.330Z] v2.0.0-dev.34 [2021-04-22T18:16:09.330Z] v2.0.0-dev.35 [2021-04-22T18:16:09.330Z] v2.0.0-dev.36 [2021-04-22T18:16:09.330Z] v2.0.0-dev.37 [2021-04-22T18:16:09.330Z] v2.0.0-dev.38 [2021-04-22T18:16:09.330Z] v2.0.0-dev.39 [2021-04-22T18:16:09.330Z] v2.0.0-dev.4 [2021-04-22T18:16:09.330Z] v2.0.0-dev.40 [2021-04-22T18:16:09.330Z] v2.0.0-dev.41 [2021-04-22T18:16:09.330Z] v2.0.0-dev.42 [2021-04-22T18:16:09.330Z] v2.0.0-dev.43 [2021-04-22T18:16:09.330Z] v2.0.0-dev.44 [2021-04-22T18:16:09.330Z] v2.0.0-dev.45 [2021-04-22T18:16:09.330Z] v2.0.0-dev.46 [2021-04-22T18:16:09.330Z] v2.0.0-dev.5 [2021-04-22T18:16:09.330Z] v2.0.0-dev.6 [2021-04-22T18:16:09.330Z] v2.0.0-dev.7 [2021-04-22T18:16:09.330Z] v2.0.0-dev.8 [2021-04-22T18:16:09.330Z] v2.0.0-dev.9 [Pipeline] sh [2021-04-22T18:16:09.647Z] + lftools sign git-tag v2.0.0-dev.46 [2021-04-22T18:16:13.232Z] Signing Git tag with Sigul... [2021-04-22T18:16:13.232Z] Signing v2.0.0-dev.46 [Pipeline] echo [2021-04-22T18:16:14.747Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-22T18:16:15.870Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-04-22T18:16:15.898Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-04-22T18:16:15.960Z] $ docker stop --time=1 99c7b56837f9b739bc6e2e0a6e78230b4d02ebd96a8b45c581e5f7cb7b9b804e [2021-04-22T18:16:18.297Z] $ docker rm -f 99c7b56837f9b739bc6e2e0a6e78230b4d02ebd96a8b45c581e5f7cb7b9b804e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-04-22T18:16:19.229Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-22T18:16:19.229Z] . [Pipeline] withDockerContainer [2021-04-22T18:16:19.380Z] prd-centos7-docker-4c-2g-1478 does not seem to be running inside a container [2021-04-22T18:16:19.446Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-22T18:16:21.739Z] $ docker top 6b5a7c4e6f0644498964465291dab9986aea76a8087d52f3bd1047dfeeec0417 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-22T18:16:22.355Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-22T18:16:22.355Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-22T18:16:23.299Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-22T18:16:23.303Z] $ docker exec 6b5a7c4e6f0644498964465291dab9986aea76a8087d52f3bd1047dfeeec0417 ssh-agent [2021-04-22T18:16:23.844Z] SSH_AUTH_SOCK=/tmp/ssh-q3WoxKmxEhar/agent.11 [2021-04-22T18:16:23.844Z] SSH_AGENT_PID=16 [2021-04-22T18:16:23.854Z] Running ssh-add (command line suppressed) [2021-04-22T18:16:24.072Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_6114882042118054417.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_6114882042118054417.key) [2021-04-22T18:16:24.184Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-22T18:16:24.518Z] + git semver bump pre [2021-04-22T18:16:24.518Z] # -> Open(): unable to determine branch for HEAD [2021-04-22T18:16:24.518Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-04-22T18:16:24.518Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-04-22T18:16:24.518Z] # $SEMVER_REMOTE_NAME = origin [2021-04-22T18:16:24.518Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-22T18:16:24.518Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-22T18:16:24.518Z] # $SEMVER_BRANCH = master [2021-04-22T18:16:24.518Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-04-22T18:16:24.518Z] 2.0.0-dev.47 [Pipeline] } [2021-04-22T18:16:24.534Z] $ docker exec --env ******** --env ******** 6b5a7c4e6f0644498964465291dab9986aea76a8087d52f3bd1047dfeeec0417 ssh-agent -k [2021-04-22T18:16:24.694Z] unset SSH_AUTH_SOCK; [2021-04-22T18:16:24.694Z] unset SSH_AGENT_PID; [2021-04-22T18:16:24.695Z] echo Agent pid 16 killed; [2021-04-22T18:16:24.766Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-22T18:16:25.131Z] + git semver [Pipeline] } [2021-04-22T18:16:25.162Z] $ docker stop --time=1 6b5a7c4e6f0644498964465291dab9986aea76a8087d52f3bd1047dfeeec0417 [2021-04-22T18:16:26.764Z] $ docker rm -f 6b5a7c4e6f0644498964465291dab9986aea76a8087d52f3bd1047dfeeec0417 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-04-22T18:16:27.467Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-22T18:16:27.467Z] . [Pipeline] withDockerContainer [2021-04-22T18:16:27.591Z] prd-centos7-docker-4c-2g-1478 does not seem to be running inside a container [2021-04-22T18:16:27.653Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-22T18:16:29.036Z] $ docker top 420cecdef5bd22880af307d5c4c61c52e37a9ef679aa84cd631a906ed55df1b7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-22T18:16:29.384Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-22T18:16:29.384Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-22T18:16:30.583Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-22T18:16:30.588Z] $ docker exec 420cecdef5bd22880af307d5c4c61c52e37a9ef679aa84cd631a906ed55df1b7 ssh-agent [2021-04-22T18:16:31.268Z] SSH_AUTH_SOCK=/tmp/ssh-Rt6lBj7VDI9b/agent.11 [2021-04-22T18:16:31.268Z] SSH_AGENT_PID=16 [2021-04-22T18:16:31.281Z] Running ssh-add (command line suppressed) [2021-04-22T18:16:31.483Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_6786244478237967310.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_6786244478237967310.key) [2021-04-22T18:16:31.567Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-22T18:16:31.902Z] + git semver push [2021-04-22T18:16:31.903Z] # -> Open(): unable to determine branch for HEAD [2021-04-22T18:16:31.903Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-04-22T18:16:31.903Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-04-22T18:16:31.903Z] # $SEMVER_REMOTE_NAME = origin [2021-04-22T18:16:31.903Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-22T18:16:31.903Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-22T18:16:31.903Z] # $SEMVER_BRANCH = master [2021-04-22T18:16:31.903Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-04-22T18:16:37.233Z] $ docker exec --env ******** --env ******** 420cecdef5bd22880af307d5c4c61c52e37a9ef679aa84cd631a906ed55df1b7 ssh-agent -k [2021-04-22T18:16:37.424Z] unset SSH_AUTH_SOCK; [2021-04-22T18:16:37.426Z] unset SSH_AGENT_PID; [2021-04-22T18:16:37.427Z] echo Agent pid 16 killed; [2021-04-22T18:16:37.516Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-22T18:16:37.903Z] + git semver [Pipeline] } [2021-04-22T18:16:37.944Z] $ docker stop --time=1 420cecdef5bd22880af307d5c4c61c52e37a9ef679aa84cd631a906ed55df1b7 [2021-04-22T18:16:39.818Z] $ docker rm -f 420cecdef5bd22880af307d5c4c61c52e37a9ef679aa84cd631a906ed55df1b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-04-22T18:16:41.213Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-22T18:16:42.115Z] ---> package-listing.sh [2021-04-22T18:16:42.115Z] ++ facter osfamily [2021-04-22T18:16:42.115Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-22T18:16:42.378Z] + OS_FAMILY=redhat [2021-04-22T18:16:42.378Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_master [2021-04-22T18:16:42.378Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-22T18:16:42.378Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-22T18:16:42.378Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-22T18:16:42.378Z] + PACKAGES=/tmp/packages_start.txt [2021-04-22T18:16:42.378Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-04-22T18:16:42.378Z] + PACKAGES=/tmp/packages_end.txt [2021-04-22T18:16:42.378Z] + case "${OS_FAMILY}" in [2021-04-22T18:16:42.378Z] + rpm -qa [2021-04-22T18:16:42.378Z] + sort [2021-04-22T18:16:49.111Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-22T18:16:49.111Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-22T18:16:49.111Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-22T18:16:49.111Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-04-22T18:16:49.111Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_master/archives/ [2021-04-22T18:16:49.111Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_master/archives/ [Pipeline] echo [2021-04-22T18:16:49.130Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-22T18:16:49.436Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-22T18:16:50.024Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-22T18:16:50.024Z] [2021-04-22T18:16:50.024Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-22T18:16:50.385Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-22T18:16:50.385Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-22T18:16:50.385Z] df20fa9351a1: Pulling fs layer [2021-04-22T18:16:50.385Z] 36b3adc4ff6f: Pulling fs layer [2021-04-22T18:16:50.385Z] 8ad3a11d3b57: Pulling fs layer [2021-04-22T18:16:50.385Z] 46f8f816bc3b: Pulling fs layer [2021-04-22T18:16:50.385Z] 93b61091891f: Pulling fs layer [2021-04-22T18:16:50.385Z] 93b9cdb0e59b: Pulling fs layer [2021-04-22T18:16:50.385Z] 5e14af77c1be: Pulling fs layer [2021-04-22T18:16:50.385Z] 01666e4c0597: Pulling fs layer [2021-04-22T18:16:50.385Z] aa168da1d23b: Pulling fs layer [2021-04-22T18:16:50.385Z] 93b9cdb0e59b: Waiting [2021-04-22T18:16:50.385Z] 5e14af77c1be: Waiting [2021-04-22T18:16:50.385Z] 01666e4c0597: Waiting [2021-04-22T18:16:50.385Z] 46f8f816bc3b: Waiting [2021-04-22T18:16:50.385Z] 93b61091891f: Waiting [2021-04-22T18:16:50.385Z] aa168da1d23b: Waiting [2021-04-22T18:16:50.669Z] 36b3adc4ff6f: Download complete [2021-04-22T18:16:50.669Z] 46f8f816bc3b: Download complete [2021-04-22T18:16:50.669Z] df20fa9351a1: Verifying Checksum [2021-04-22T18:16:50.669Z] 93b9cdb0e59b: Verifying Checksum [2021-04-22T18:16:50.669Z] 93b9cdb0e59b: Download complete [2021-04-22T18:16:50.669Z] 5e14af77c1be: Verifying Checksum [2021-04-22T18:16:50.669Z] 5e14af77c1be: Download complete [2021-04-22T18:16:50.669Z] 01666e4c0597: Download complete [2021-04-22T18:16:50.669Z] 93b61091891f: Verifying Checksum [2021-04-22T18:16:51.317Z] df20fa9351a1: Pull complete [2021-04-22T18:16:51.317Z] 8ad3a11d3b57: Verifying Checksum [2021-04-22T18:16:51.317Z] 8ad3a11d3b57: Download complete [2021-04-22T18:16:51.598Z] 36b3adc4ff6f: Pull complete [2021-04-22T18:16:53.740Z] 8ad3a11d3b57: Pull complete [2021-04-22T18:16:53.740Z] 46f8f816bc3b: Pull complete [2021-04-22T18:16:54.756Z] 93b61091891f: Pull complete [2021-04-22T18:16:55.048Z] 93b9cdb0e59b: Pull complete [2021-04-22T18:16:55.349Z] 5e14af77c1be: Pull complete [2021-04-22T18:16:55.958Z] 01666e4c0597: Pull complete [2021-04-22T18:16:55.958Z] aa168da1d23b: Verifying Checksum [2021-04-22T18:16:55.958Z] aa168da1d23b: Download complete [2021-04-22T18:17:11.287Z] aa168da1d23b: Pull complete [2021-04-22T18:17:11.287Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-22T18:17:11.287Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-22T18:17:11.287Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-22T18:17:11.571Z] prd-centos7-docker-4c-2g-1478 does not seem to be running inside a container [2021-04-22T18:17:11.636Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-22T18:17:15.601Z] $ docker top 4e339198b41a8fe9ae3c3930af5934939a2008a13e70147e01cda32cde5b92a2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-22T18:17:16.635Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-22T18:17:16.961Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-22T18:17:17.442Z] + ls /var/log/sa-host [2021-04-22T18:17:17.442Z] + sadf -c /var/log/sa-host/sa22 [2021-04-22T18:17:17.442Z] file_magic: OK [2021-04-22T18:17:17.442Z] HZ: Using current value: 100 [2021-04-22T18:17:17.442Z] file_header: OK [2021-04-22T18:17:17.442Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-04-22T18:17:17.442Z] Statistics: [2021-04-22T18:17:17.442Z] 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... [2021-04-22T18:17:17.442Z] File successfully converted to sysstat format version 12.2.1 [2021-04-22T18:17:17.442Z] + sadf -c /var/log/sa-host/sa23 [2021-04-22T18:17:17.442Z] file_magic: OK [2021-04-22T18:17:17.442Z] HZ: Using current value: 100 [2021-04-22T18:17:17.442Z] file_header: OK [2021-04-22T18:17:17.443Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-04-22T18:17:17.443Z] Statistics: [2021-04-22T18:17:17.443Z] Hnuu...uuuununununu... [2021-04-22T18:17:17.443Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-22T18:17:18.279Z] provisioning config files... [2021-04-22T18:17:18.332Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config7397960196703518753tmp [Pipeline] { [Pipeline] echo [2021-04-22T18:17:18.376Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-22T18:17:18.997Z] ---> create-netrc.sh [Pipeline] } [2021-04-22T18:17:19.008Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-22T18:17:19.056Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-22T18:17:19.366Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-22T18:17:19.379Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-22T18:17:19.684Z] ---> sudo-logs.sh [2021-04-22T18:17:19.685Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-22T18:17:19.719Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-22T18:17:20.038Z] ---> job-cost.sh [2021-04-22T18:17:20.313Z] lf-activate-venv: SKIPPING [2021-04-22T18:17:20.313Z] DEBUG: total: 0.20999999344348907 [2021-04-22T18:17:20.313Z] INFO: Retrieving Stack Cost... [2021-04-22T18:17:21.283Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-22T18:17:21.869Z] INFO: Archiving Costs [Pipeline] echo [2021-04-22T18:17:21.890Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-22T18:17:22.256Z] ---> logs-deploy.sh [2021-04-22T18:17:22.256Z] lf-activate-venv: SKIPPING [2021-04-22T18:17:22.256Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/master/215 [2021-04-22T18:17:22.256Z] INFO: archiving workspace using pattern(s): [2021-04-22T18:17:24.882Z] Archives upload complete. [2021-04-22T18:17:25.147Z] INFO: archiving logs to Nexus