Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from f76ef03b379754170973648241337b52e4c240a5 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 cf598ef4eee878cf4fd68936879ff849bf9f782f 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 cf598ef4eee878cf4fd68936879ff849bf9f782f 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 cf598ef4eee878cf4fd68936879ff849bf9f782f (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cf598ef4eee878cf4fd68936879ff849bf9f782f # timeout=10 Commit message: "Merge pull request #334 from ernestojeda/archives-permissions" > 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-2201 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision f76ef03b379754170973648241337b52e4c240a5 (master) > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f76ef03b379754170973648241337b52e4c240a5 # timeout=10 Commit message: "Merge pull request #807 from edgexfoundry/codeql" > git rev-list --no-walk 4d0ab0908a17ea98a569ad477d68e9c610b048c8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-28T15:33:21.107Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-28T15:33:21.215Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-28T15:33:21.248Z] ========================================================= [2021-04-28T15:33:21.248Z] EdgeX Global Pipelines Version Info [2021-04-28T15:33:21.248Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-28T15:33:23.711Z] ------------------- [2021-04-28T15:33:23.711Z] stable info: [2021-04-28T15:33:23.711Z] ------------------- [2021-04-28T15:33:23.711Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-28T15:33:23.711Z] Commit SHA: cf598ef4eee878cf4fd68936879ff849bf9f782f [2021-04-28T15:33:23.711Z] Message: update stable to v1.0.190 [2021-04-28T15:33:24.707Z] ------------------- [2021-04-28T15:33:24.707Z] experimental info: [2021-04-28T15:33:24.707Z] ------------------- [2021-04-28T15:33:24.707Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-28T15:33:24.707Z] Commit SHA: cf598ef4eee878cf4fd68936879ff849bf9f782f [2021-04-28T15:33:24.707Z] Message: update experimental to v1.0.190 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-28T15:33:24.981Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-04-28T15:33:25.006Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-04-28T15:33:25.031Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-28T15:33:25.056Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-28T15:33:25.080Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-28T15:33:25.106Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-28T15:33:25.131Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-28T15:33:25.155Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-28T15:33:25.179Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-04-28T15:33:25.205Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-28T15:33:25.230Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-28T15:33:25.255Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2021-04-28T15:33:25.278Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-28T15:33:25.302Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-28T15:33:25.327Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-04-28T15:33:25.352Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-28T15:33:25.377Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-28T15:33:25.402Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-28T15:33:25.427Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-28T15:33:25.452Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-28T15:33:25.477Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-28T15:33:25.502Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-04-28T15:33:25.528Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-28T15:33:25.552Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-28T15:33:25.583Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-04-28T15:33:25.608Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-28T15:33:25.634Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-04-28T15:33:25.659Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-04-28T15:33:25.735Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-04-28T15:33:25.760Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f76ef03b379754170973648241337b52e4c240a5 [Pipeline] echo [2021-04-28T15:33:25.793Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f76ef03 [Pipeline] echo [2021-04-28T15:33:25.971Z] [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-28T15:33:26.443Z] + git log --format=format:%s -1 f76ef03b379754170973648241337b52e4c240a5 [Pipeline] echo [2021-04-28T15:33:26.622Z] GIT_COMMIT: f76ef03b379754170973648241337b52e4c240a5, Commit Message: Merge pull request #807 from edgexfoundry/codeql [Pipeline] echo [2021-04-28T15:33:26.636Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-28T15:33:27.444Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-28T15:33:28.513Z] [2021-04-28T15:33:28.513Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-28T15:33:28.910Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-28T15:33:29.222Z] latest: Pulling from edgex-devops/git-semver [2021-04-28T15:33:29.222Z] 31603596830f: Pulling fs layer [2021-04-28T15:33:29.222Z] 54011a49482f: Pulling fs layer [2021-04-28T15:33:29.222Z] a6820b24f6d8: Pulling fs layer [2021-04-28T15:33:29.222Z] f581987b2513: Pulling fs layer [2021-04-28T15:33:29.222Z] f581987b2513: Waiting [2021-04-28T15:33:29.222Z] 54011a49482f: Verifying Checksum [2021-04-28T15:33:29.222Z] 54011a49482f: Download complete [2021-04-28T15:33:29.511Z] 31603596830f: Verifying Checksum [2021-04-28T15:33:29.511Z] 31603596830f: Download complete [2021-04-28T15:33:30.084Z] 31603596830f: Pull complete [2021-04-28T15:33:30.938Z] 54011a49482f: Pull complete [2021-04-28T15:33:31.539Z] a6820b24f6d8: Verifying Checksum [2021-04-28T15:33:31.539Z] a6820b24f6d8: Download complete [2021-04-28T15:33:32.203Z] f581987b2513: Verifying Checksum [2021-04-28T15:33:32.203Z] f581987b2513: Download complete [2021-04-28T15:33:33.637Z] a6820b24f6d8: Pull complete [2021-04-28T15:33:35.202Z] f581987b2513: Pull complete [2021-04-28T15:33:35.202Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-04-28T15:33:35.531Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-28T15:33:35.531Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-28T15:33:36.514Z] prd-centos7-docker-4c-2g-2201 does not seem to be running inside a container [2021-04-28T15:33:36.905Z] $ 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-28T15:33:39.840Z] $ docker top 5656c04989b7ed00503fa101fa31006296e9cedd109f0b0ebff3fa25491dc5f8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-28T15:33:40.189Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-28T15:33:40.189Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-28T15:33:40.576Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-28T15:33:40.585Z] $ docker exec 5656c04989b7ed00503fa101fa31006296e9cedd109f0b0ebff3fa25491dc5f8 ssh-agent [2021-04-28T15:33:40.971Z] SSH_AUTH_SOCK=/tmp/ssh-FoPa3Zwcyj4j/agent.12 [2021-04-28T15:33:40.971Z] SSH_AGENT_PID=17 [2021-04-28T15:33:40.989Z] Running ssh-add (command line suppressed) [2021-04-28T15:33:41.247Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_2588107593953638532.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_2588107593953638532.key) [2021-04-28T15:33:41.355Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-28T15:33:41.769Z] + git tag --points-at HEAD [Pipeline] } [2021-04-28T15:33:41.902Z] $ docker exec --env ******** --env ******** 5656c04989b7ed00503fa101fa31006296e9cedd109f0b0ebff3fa25491dc5f8 ssh-agent -k [2021-04-28T15:33:42.101Z] unset SSH_AUTH_SOCK; [2021-04-28T15:33:42.102Z] unset SSH_AGENT_PID; [2021-04-28T15:33:42.102Z] echo Agent pid 17 killed; [2021-04-28T15:33:42.182Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-28T15:33:42.229Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-28T15:33:42.229Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-28T15:33:42.471Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-28T15:33:42.477Z] $ docker exec 5656c04989b7ed00503fa101fa31006296e9cedd109f0b0ebff3fa25491dc5f8 ssh-agent [2021-04-28T15:33:42.702Z] SSH_AUTH_SOCK=/tmp/ssh-eUksiF7M50XZ/agent.46 [2021-04-28T15:33:42.702Z] SSH_AGENT_PID=51 [2021-04-28T15:33:42.714Z] Running ssh-add (command line suppressed) [2021-04-28T15:33:42.941Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_8579374289370511161.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_8579374289370511161.key) [2021-04-28T15:33:43.037Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-28T15:33:43.360Z] + git semver init [2021-04-28T15:33:43.360Z] # -> Open(): unable to determine branch for HEAD [2021-04-28T15:33:43.360Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-04-28T15:33:43.360Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-04-28T15:33:43.360Z] # $SEMVER_REMOTE_NAME = origin [2021-04-28T15:33:43.360Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-28T15:33:43.360Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-28T15:33:43.360Z] # $SEMVER_BRANCH = master [2021-04-28T15:33:43.360Z] # $SEMVER_TEMP = /tmp/semver-119896600 [2021-04-28T15:33:43.360Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-04-28T15:33:47.698Z] # '/tmp/semver-119896600' -> '/w/workspace/ndry_app-functions-sdk-go_master/.semver' [2021-04-28T15:33:47.699Z] # -> Force: false [2021-04-28T15:33:47.699Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-04-28T15:33:47.728Z] $ docker exec --env ******** --env ******** 5656c04989b7ed00503fa101fa31006296e9cedd109f0b0ebff3fa25491dc5f8 ssh-agent -k [2021-04-28T15:33:47.899Z] unset SSH_AUTH_SOCK; [2021-04-28T15:33:47.900Z] unset SSH_AGENT_PID; [2021-04-28T15:33:47.900Z] echo Agent pid 51 killed; [2021-04-28T15:33:48.001Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-28T15:33:48.358Z] + git semver [Pipeline] } [2021-04-28T15:33:48.662Z] $ docker stop --time=1 5656c04989b7ed00503fa101fa31006296e9cedd109f0b0ebff3fa25491dc5f8 [2021-04-28T15:33:50.632Z] $ docker rm -f 5656c04989b7ed00503fa101fa31006296e9cedd109f0b0ebff3fa25491dc5f8 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-28T15:33:51.232Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-28T15:33:52.246Z] Stashed 1 file(s) [Pipeline] echo [2021-04-28T15:33:52.250Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.50 [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-28T15:34:07.440Z] Still waiting to schedule task [2021-04-28T15:34:07.440Z] ‘prd-centos7-docker-4c-2g-2199’ is offline; ‘prd-centos7-docker-4c-2g-2200’ is offline; ‘prd-centos7-docker-4c-2g-2202’ is offline [2021-04-28T15:34:07.443Z] Still waiting to schedule task [2021-04-28T15:34:07.443Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-04-28T15:35:57.221Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2203 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-04-28T15:35:57.240Z] Running in /w/workspace/app-functions-sdk-go/220 [Pipeline] { [Pipeline] checkout [2021-04-28T15:36:03.051Z] using credential edgex-jenkins-ssh [2021-04-28T15:36:03.069Z] Cloning the remote Git repository [2021-04-28T15:36:03.120Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-28T15:36:03.243Z] > git init /w/workspace/app-functions-sdk-go/220 # timeout=10 [2021-04-28T15:36:03.341Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-28T15:36:03.342Z] > git --version # timeout=10 [2021-04-28T15:36:03.358Z] > git --version # 'git version 2.17.1' [2021-04-28T15:36:03.359Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-28T15:36:03.442Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-28T15:36:08.533Z] Checking out Revision f76ef03b379754170973648241337b52e4c240a5 (master) [2021-04-28T15:36:07.873Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-04-28T15:36:07.890Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-28T15:36:07.931Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-04-28T15:36:07.969Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-28T15:36:07.970Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-28T15:36:07.982Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-28T15:36:08.555Z] > git config core.sparsecheckout # timeout=10 [2021-04-28T15:36:08.582Z] > git checkout -f f76ef03b379754170973648241337b52e4c240a5 # timeout=10 [2021-04-28T15:36:13.707Z] Commit message: "Merge pull request #807 from edgexfoundry/codeql" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-28T15:36:15.140Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-28T15:36:15.542Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-28T15:36:15.892Z] + sudo service docker restart+ [2021-04-28T15:36:15.893Z] true [Pipeline] unstash [Pipeline] echo [2021-04-28T15:36:18.786Z] ========================================================= [2021-04-28T15:36:18.786Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-28T15:36:18.786Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-28T15:36:19.156Z] + 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-28T15:36:20.605Z] Sending build context to Docker daemon 19.49MB [2021-04-28T15:36:20.606Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-28T15:36:20.606Z] Step 2/8 : FROM ${BASE} [2021-04-28T15:36:20.884Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-28T15:36:20.884Z] 5f621e34cdf4: Pulling fs layer [2021-04-28T15:36:20.884Z] a4357932f1b6: Pulling fs layer [2021-04-28T15:36:20.884Z] 18c013af1878: Pulling fs layer [2021-04-28T15:36:20.884Z] 00ac8860ef70: Pulling fs layer [2021-04-28T15:36:20.884Z] 63d7cb157983: Pulling fs layer [2021-04-28T15:36:20.884Z] b116817d02f9: Pulling fs layer [2021-04-28T15:36:20.884Z] 745a02a5169b: Pulling fs layer [2021-04-28T15:36:20.884Z] 00ac8860ef70: Waiting [2021-04-28T15:36:20.884Z] 63d7cb157983: Waiting [2021-04-28T15:36:20.884Z] b116817d02f9: Waiting [2021-04-28T15:36:20.884Z] 745a02a5169b: Waiting [2021-04-28T15:36:20.884Z] 18c013af1878: Verifying Checksum [2021-04-28T15:36:20.884Z] 18c013af1878: Download complete [2021-04-28T15:36:20.884Z] a4357932f1b6: Verifying Checksum [2021-04-28T15:36:20.884Z] a4357932f1b6: Download complete [2021-04-28T15:36:20.884Z] 63d7cb157983: Verifying Checksum [2021-04-28T15:36:20.884Z] 63d7cb157983: Download complete [2021-04-28T15:36:20.884Z] b116817d02f9: Verifying Checksum [2021-04-28T15:36:20.884Z] b116817d02f9: Download complete [2021-04-28T15:36:20.884Z] 5f621e34cdf4: Download complete [2021-04-28T15:36:21.482Z] 5f621e34cdf4: Pull complete [2021-04-28T15:36:22.086Z] a4357932f1b6: Pull complete [2021-04-28T15:36:22.682Z] 18c013af1878: Pull complete [2021-04-28T15:36:22.954Z] 745a02a5169b: Verifying Checksum [2021-04-28T15:36:22.954Z] 745a02a5169b: Download complete [2021-04-28T15:36:24.392Z] 00ac8860ef70: Download complete [2021-04-28T15:36:34.564Z] 00ac8860ef70: Pull complete [2021-04-28T15:36:35.157Z] 63d7cb157983: Pull complete [2021-04-28T15:36:35.431Z] b116817d02f9: Pull complete [2021-04-28T15:36:37.756Z] Running on prd-centos7-docker-4c-2g-2204 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-04-28T15:36:37.779Z] Running in /w/workspace/app-functions-sdk-go/220 [Pipeline] { [Pipeline] checkout [2021-04-28T15:36:39.771Z] 745a02a5169b: Pull complete [2021-04-28T15:36:39.771Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-28T15:36:39.771Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-28T15:36:39.771Z] ---> b7e6874047d6 [2021-04-28T15:36:39.771Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-04-28T15:36:39.771Z] 20.10.0: Pulling from library/docker [2021-04-28T15:36:39.771Z] a3cc7d3b244e: Pulling fs layer [2021-04-28T15:36:39.771Z] 02a3295e0d61: Pulling fs layer [2021-04-28T15:36:39.771Z] 0f4f2e6d8100: Pulling fs layer [2021-04-28T15:36:39.771Z] 330b718f631f: Pulling fs layer [2021-04-28T15:36:39.771Z] a93816041522: Pulling fs layer [2021-04-28T15:36:39.771Z] bdb6da89ff94: Pulling fs layer [2021-04-28T15:36:39.771Z] 2a70c0c122f4: Pulling fs layer [2021-04-28T15:36:39.771Z] 330b718f631f: Waiting [2021-04-28T15:36:39.771Z] a93816041522: Waiting [2021-04-28T15:36:39.771Z] bdb6da89ff94: Waiting [2021-04-28T15:36:39.771Z] 2a70c0c122f4: Waiting [2021-04-28T15:36:39.771Z] 0f4f2e6d8100: Download complete [2021-04-28T15:36:39.771Z] 02a3295e0d61: Download complete [2021-04-28T15:36:39.771Z] a3cc7d3b244e: Download complete [2021-04-28T15:36:39.771Z] a93816041522: Download complete [2021-04-28T15:36:39.771Z] bdb6da89ff94: Verifying Checksum [2021-04-28T15:36:39.771Z] bdb6da89ff94: Download complete [2021-04-28T15:36:39.771Z] 2a70c0c122f4: Verifying Checksum [2021-04-28T15:36:39.771Z] 2a70c0c122f4: Download complete [2021-04-28T15:36:40.076Z] a3cc7d3b244e: Pull complete [2021-04-28T15:36:40.330Z] using credential edgex-jenkins-ssh [2021-04-28T15:36:40.343Z] Cloning the remote Git repository [2021-04-28T15:36:41.112Z] 02a3295e0d61: Pull complete [2021-04-28T15:36:41.112Z] 330b718f631f: Verifying Checksum [2021-04-28T15:36:41.112Z] 330b718f631f: Download complete [2021-04-28T15:36:41.112Z] 0f4f2e6d8100: Pull complete [2021-04-28T15:36:40.410Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-28T15:36:40.494Z] > git init /w/workspace/app-functions-sdk-go/220 # timeout=10 [2021-04-28T15:36:40.553Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-28T15:36:40.553Z] > git --version # timeout=10 [2021-04-28T15:36:40.559Z] > git --version # 'git version 2.24.3' [2021-04-28T15:36:40.560Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-28T15:36:40.591Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-28T15:36:42.206Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-04-28T15:36:42.214Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-28T15:36:42.229Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-04-28T15:36:42.242Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-28T15:36:42.243Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-28T15:36:42.247Z] > 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-28T15:36:42.717Z] Checking out Revision f76ef03b379754170973648241337b52e4c240a5 (master) [2021-04-28T15:36:42.729Z] > git config core.sparsecheckout # timeout=10 [2021-04-28T15:36:42.734Z] > git checkout -f f76ef03b379754170973648241337b52e4c240a5 # timeout=10 [2021-04-28T15:36:45.429Z] 330b718f631f: Pull complete [2021-04-28T15:36:45.429Z] a93816041522: Pull complete [2021-04-28T15:36:45.706Z] bdb6da89ff94: Pull complete [2021-04-28T15:36:45.978Z] 2a70c0c122f4: Pull complete [2021-04-28T15:36:45.979Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-04-28T15:36:45.979Z] Status: Downloaded newer image for docker:20.10.0 [2021-04-28T15:36:46.402Z] Commit message: "Merge pull request #807 from edgexfoundry/codeql" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-28T15:36:47.438Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-28T15:36:47.771Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-28T15:36:48.070Z] + sudo service docker restart [2021-04-28T15:36:48.070Z] + true [2021-04-28T15:36:48.070Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-04-28T15:36:49.596Z] ========================================================= [2021-04-28T15:36:49.597Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-28T15:36:49.597Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-28T15:36:49.913Z] + 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-28T15:36:50.493Z] Sending build context to Docker daemon 19.49MB [2021-04-28T15:36:50.493Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-28T15:36:50.493Z] Step 2/8 : FROM ${BASE} [2021-04-28T15:36:50.493Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-28T15:36:50.493Z] 188c0c94c7c5: Pulling fs layer [2021-04-28T15:36:50.493Z] 0ef7d3d256c8: Pulling fs layer [2021-04-28T15:36:50.493Z] de9db76c5a1d: Pulling fs layer [2021-04-28T15:36:50.493Z] bca2f99d35d6: Pulling fs layer [2021-04-28T15:36:50.493Z] 93359f2a8cfa: Pulling fs layer [2021-04-28T15:36:50.493Z] 7c6f9722023f: Pulling fs layer [2021-04-28T15:36:50.493Z] a35cf1a2eb13: Pulling fs layer [2021-04-28T15:36:50.493Z] 93359f2a8cfa: Waiting [2021-04-28T15:36:50.493Z] 7c6f9722023f: Waiting [2021-04-28T15:36:50.493Z] a35cf1a2eb13: Waiting [2021-04-28T15:36:50.493Z] bca2f99d35d6: Waiting [2021-04-28T15:36:50.493Z] de9db76c5a1d: Verifying Checksum [2021-04-28T15:36:50.493Z] de9db76c5a1d: Download complete [2021-04-28T15:36:50.493Z] 0ef7d3d256c8: Download complete [2021-04-28T15:36:50.493Z] 93359f2a8cfa: Download complete [2021-04-28T15:36:50.757Z] 7c6f9722023f: Verifying Checksum [2021-04-28T15:36:50.757Z] 7c6f9722023f: Download complete [2021-04-28T15:36:50.757Z] 188c0c94c7c5: Verifying Checksum [2021-04-28T15:36:50.757Z] 188c0c94c7c5: Download complete [2021-04-28T15:36:51.032Z] 188c0c94c7c5: Pull complete [2021-04-28T15:36:51.306Z] 0ef7d3d256c8: Pull complete [2021-04-28T15:36:51.306Z] de9db76c5a1d: Pull complete [2021-04-28T15:36:52.711Z] a35cf1a2eb13: Verifying Checksum [2021-04-28T15:36:52.711Z] a35cf1a2eb13: Download complete [2021-04-28T15:36:52.716Z] ---> 8f2becd6a046 [2021-04-28T15:36:52.716Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-04-28T15:36:52.716Z] ---> Running in 3039ab54a04d [2021-04-28T15:36:52.974Z] bca2f99d35d6: Verifying Checksum [2021-04-28T15:36:52.974Z] bca2f99d35d6: Download complete [2021-04-28T15:36:52.991Z] Removing intermediate container 3039ab54a04d [2021-04-28T15:36:52.991Z] ---> c855ec607739 [2021-04-28T15:36:52.992Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-04-28T15:36:52.992Z] ---> Running in 182c87bad736 [2021-04-28T15:36:54.428Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-28T15:36:55.019Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-28T15:36:56.451Z] (1/5) Installing libsodium (1.0.18-r0) [2021-04-28T15:36:56.451Z] (2/5) Installing libzmq (4.3.3-r0) [2021-04-28T15:36:56.451Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-04-28T15:36:56.451Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-04-28T15:36:56.722Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-04-28T15:36:56.722Z] Executing busybox-1.31.1-r19.trigger [2021-04-28T15:36:56.722Z] OK: 144 MiB in 44 packages [2021-04-28T15:36:58.153Z] Removing intermediate container 182c87bad736 [2021-04-28T15:36:58.153Z] ---> aa106c6dfe24 [2021-04-28T15:36:58.153Z] Step 6/8 : WORKDIR /build [2021-04-28T15:36:58.153Z] ---> Running in bc4c6747fd00 [2021-04-28T15:36:58.319Z] bca2f99d35d6: Pull complete [2021-04-28T15:36:58.319Z] 93359f2a8cfa: Pull complete [2021-04-28T15:36:58.319Z] 7c6f9722023f: Pull complete [2021-04-28T15:36:58.750Z] Removing intermediate container bc4c6747fd00 [2021-04-28T15:36:58.750Z] ---> b008289f0eba [2021-04-28T15:36:58.750Z] Step 7/8 : COPY go.mod . [2021-04-28T15:36:59.344Z] ---> f531067bbe72 [2021-04-28T15:36:59.344Z] Step 8/8 : RUN go mod download [2021-04-28T15:36:59.618Z] ---> Running in 056a03883837 [2021-04-28T15:37:06.503Z] a35cf1a2eb13: Pull complete [2021-04-28T15:37:06.503Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-28T15:37:06.503Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-28T15:37:06.503Z] ---> a62c8e92a672 [2021-04-28T15:37:06.503Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-04-28T15:37:06.503Z] 20.10.0: Pulling from library/docker [2021-04-28T15:37:06.503Z] 05e7bc50f07f: Pulling fs layer [2021-04-28T15:37:06.503Z] 6db28d0fdbf6: Pulling fs layer [2021-04-28T15:37:06.503Z] 292df0bc6bf3: Pulling fs layer [2021-04-28T15:37:06.503Z] 2e060f4bd70b: Pulling fs layer [2021-04-28T15:37:06.503Z] 80e8d568a223: Pulling fs layer [2021-04-28T15:37:06.503Z] 8dc6ef1a942a: Pulling fs layer [2021-04-28T15:37:06.503Z] 2312dd95470a: Pulling fs layer [2021-04-28T15:37:06.503Z] 2e060f4bd70b: Waiting [2021-04-28T15:37:06.503Z] 80e8d568a223: Waiting [2021-04-28T15:37:06.503Z] 8dc6ef1a942a: Waiting [2021-04-28T15:37:06.503Z] 2312dd95470a: Waiting [2021-04-28T15:37:06.503Z] 292df0bc6bf3: Verifying Checksum [2021-04-28T15:37:06.503Z] 292df0bc6bf3: Download complete [2021-04-28T15:37:06.503Z] 6db28d0fdbf6: Verifying Checksum [2021-04-28T15:37:06.503Z] 6db28d0fdbf6: Download complete [2021-04-28T15:37:06.503Z] 80e8d568a223: Download complete [2021-04-28T15:37:06.503Z] 05e7bc50f07f: Verifying Checksum [2021-04-28T15:37:06.503Z] 8dc6ef1a942a: Verifying Checksum [2021-04-28T15:37:06.503Z] 8dc6ef1a942a: Download complete [2021-04-28T15:37:06.503Z] 2312dd95470a: Verifying Checksum [2021-04-28T15:37:06.503Z] 2312dd95470a: Download complete [2021-04-28T15:37:06.503Z] 05e7bc50f07f: Pull complete [2021-04-28T15:37:06.503Z] 6db28d0fdbf6: Pull complete [2021-04-28T15:37:06.503Z] 292df0bc6bf3: Pull complete [2021-04-28T15:37:06.767Z] 2e060f4bd70b: Verifying Checksum [2021-04-28T15:37:06.767Z] 2e060f4bd70b: Download complete [2021-04-28T15:37:09.347Z] 2e060f4bd70b: Pull complete [2021-04-28T15:37:09.611Z] 80e8d568a223: Pull complete [2021-04-28T15:37:09.611Z] 8dc6ef1a942a: Pull complete [2021-04-28T15:37:09.611Z] 2312dd95470a: Pull complete [2021-04-28T15:37:09.875Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-04-28T15:37:09.875Z] Status: Downloaded newer image for docker:20.10.0 [2021-04-28T15:37:11.290Z] ---> bf1693a1eaf4 [2021-04-28T15:37:11.290Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-04-28T15:37:11.290Z] ---> Running in 12e53154fcd1 [2021-04-28T15:37:11.554Z] Removing intermediate container 12e53154fcd1 [2021-04-28T15:37:11.554Z] ---> 57a1c2007fd6 [2021-04-28T15:37:11.554Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-04-28T15:37:11.554Z] ---> Running in 96968710afcf [2021-04-28T15:37:12.129Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-28T15:37:13.078Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-28T15:37:13.350Z] (1/5) Installing libsodium (1.0.18-r0) [2021-04-28T15:37:13.350Z] (2/5) Installing libzmq (4.3.3-r0) [2021-04-28T15:37:13.350Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-04-28T15:37:13.613Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-04-28T15:37:13.613Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-04-28T15:37:13.613Z] Executing busybox-1.31.1-r19.trigger [2021-04-28T15:37:13.613Z] OK: 167 MiB in 44 packages [2021-04-28T15:37:14.559Z] Removing intermediate container 96968710afcf [2021-04-28T15:37:14.559Z] ---> ae3c9b8691a3 [2021-04-28T15:37:14.559Z] Step 6/8 : WORKDIR /build [2021-04-28T15:37:14.559Z] ---> Running in 255c1e0fc078 [2021-04-28T15:37:14.821Z] Removing intermediate container 255c1e0fc078 [2021-04-28T15:37:14.821Z] ---> 0e8c6e8e5d70 [2021-04-28T15:37:14.821Z] Step 7/8 : COPY go.mod . [2021-04-28T15:37:14.821Z] ---> edf7b0273cfb [2021-04-28T15:37:14.821Z] Step 8/8 : RUN go mod download [2021-04-28T15:37:15.083Z] ---> Running in c8076251cb08 [2021-04-28T15:37:26.416Z] Removing intermediate container 056a03883837 [2021-04-28T15:37:26.416Z] ---> 4f605a4bece6 [2021-04-28T15:37:26.416Z] Successfully built 4f605a4bece6 [2021-04-28T15:37:26.416Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-28T15:37:26.759Z] + docker inspect -f . ci-base-image-arm64 [2021-04-28T15:37:26.760Z] . [Pipeline] withDockerContainer [2021-04-28T15:37:26.997Z] prd-ubuntu18.04-docker-arm64-4c-16g-2203 does not seem to be running inside a container [2021-04-28T15:37:27.090Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/220 -v /w/workspace/app-functions-sdk-go/220:/w/workspace/app-functions-sdk-go/220:rw,z -v /w/workspace/app-functions-sdk-go/220@tmp:/w/workspace/app-functions-sdk-go/220@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-28T15:37:28.459Z] $ docker top 6c9e7cbac413b730119dda4afa05de77da24bf56f493d67cffa23710c7f89ef1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-28T15:37:29.365Z] + go version [2021-04-28T15:37:29.365Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-28T15:37:29.406Z] $ docker stop --time=1 6c9e7cbac413b730119dda4afa05de77da24bf56f493d67cffa23710c7f89ef1 [2021-04-28T15:37:31.268Z] $ docker rm -f 6c9e7cbac413b730119dda4afa05de77da24bf56f493d67cffa23710c7f89ef1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-28T15:37:31.947Z] + docker inspect -f . ci-base-image-arm64 [2021-04-28T15:37:31.947Z] . [Pipeline] withDockerContainer [2021-04-28T15:37:32.188Z] prd-ubuntu18.04-docker-arm64-4c-16g-2203 does not seem to be running inside a container [2021-04-28T15:37:32.289Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/220 -v /w/workspace/app-functions-sdk-go/220:/w/workspace/app-functions-sdk-go/220:rw,z -v /w/workspace/app-functions-sdk-go/220@tmp:/w/workspace/app-functions-sdk-go/220@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-28T15:37:33.796Z] $ docker top 7bba9ef8ce164c49002bffce60896f9e95c9a2a5842e109dbb412a64d47f5444 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-28T15:37:34.754Z] + make test [2021-04-28T15:37:34.754Z] make -C ./app-service-template build [2021-04-28T15:37:34.754Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/220/app-service-template' [2021-04-28T15:37:34.754Z] 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-28T15:37:37.136Z] Removing intermediate container c8076251cb08 [2021-04-28T15:37:37.136Z] ---> 5143f6ef4693 [2021-04-28T15:37:37.136Z] Successfully built 5143f6ef4693 [2021-04-28T15:37:37.405Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-28T15:37:37.728Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-28T15:37:37.728Z] . [Pipeline] withDockerContainer [2021-04-28T15:37:37.866Z] prd-centos7-docker-4c-2g-2204 does not seem to be running inside a container [2021-04-28T15:37:37.920Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/220 -v /w/workspace/app-functions-sdk-go/220:/w/workspace/app-functions-sdk-go/220:rw,z -v /w/workspace/app-functions-sdk-go/220@tmp:/w/workspace/app-functions-sdk-go/220@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-28T15:37:38.818Z] $ docker top f69150c0bd48d902047fc4c1e4939e35e648000bb13245720ea9395025fc0776 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-28T15:37:39.265Z] + go version [2021-04-28T15:37:39.265Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-28T15:37:39.282Z] $ docker stop --time=1 f69150c0bd48d902047fc4c1e4939e35e648000bb13245720ea9395025fc0776 [2021-04-28T15:37:40.622Z] $ docker rm -f f69150c0bd48d902047fc4c1e4939e35e648000bb13245720ea9395025fc0776 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-28T15:37:41.122Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-28T15:37:41.122Z] . [Pipeline] withDockerContainer [2021-04-28T15:37:41.218Z] prd-centos7-docker-4c-2g-2204 does not seem to be running inside a container [2021-04-28T15:37:41.266Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/220 -v /w/workspace/app-functions-sdk-go/220:/w/workspace/app-functions-sdk-go/220:rw,z -v /w/workspace/app-functions-sdk-go/220@tmp:/w/workspace/app-functions-sdk-go/220@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-28T15:37:41.864Z] $ docker top 99e9b7851dd071de4250457ce52f3fe0b3d09015d942a324f6353ee981c754e7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-28T15:37:42.261Z] + make test [2021-04-28T15:37:42.261Z] make -C ./app-service-template build [2021-04-28T15:37:42.261Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/220/app-service-template' [2021-04-28T15:37:42.261Z] 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-28T15:37:57.302Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/220/app-service-template' [2021-04-28T15:37:57.302Z] make -C ./app-service-template test [2021-04-28T15:37:57.302Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/220/app-service-template' [2021-04-28T15:37:57.302Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-04-28T15:38:03.973Z] ok new-app-service 0.019s coverage: 47.8% of statements [2021-04-28T15:38:03.973Z] ? new-app-service/config [no test files] [2021-04-28T15:38:03.973Z] ok new-app-service/functions 0.011s [2021-04-28T15:38:03.973Z] CGO_ENABLED=1 go vet ./... [2021-04-28T15:38:08.215Z] gofmt -l . [2021-04-28T15:38:08.215Z] [ "`gofmt -l .`" = "" ] [2021-04-28T15:38:08.215Z] ./bin/test-go-mod-tidy.sh [2021-04-28T15:38:08.478Z] ./bin/test-attribution-txt.sh [2021-04-28T15:38:09.059Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/220/app-service-template' [2021-04-28T15:38:09.059Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-04-28T15:38:09.644Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-04-28T15:38:12.240Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.019s coverage: 55.8% of statements [2021-04-28T15:38:12.240Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.023s coverage: 92.5% of statements [2021-04-28T15:38:12.240Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-04-28T15:38:12.240Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.028s coverage: 61.5% of statements [2021-04-28T15:38:12.240Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-04-28T15:38:12.240Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.010s [2021-04-28T15:38:12.240Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.059s coverage: 75.4% of statements [2021-04-28T15:38:12.240Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-04-28T15:38:12.240Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-04-28T15:38:12.240Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-04-28T15:38:12.240Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-04-28T15:38:12.240Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-04-28T15:38:12.240Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-04-28T15:38:12.511Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.012s coverage: 97.0% of statements [2021-04-28T15:38:12.511Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-04-28T15:38:12.784Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.018s coverage: 10.5% of statements [2021-04-28T15:38:13.817Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/220/app-service-template' [2021-04-28T15:38:13.817Z] make -C ./app-service-template test [2021-04-28T15:38:13.817Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/220/app-service-template' [2021-04-28T15:38:13.817Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-04-28T15:38:17.168Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.752s coverage: 78.4% of statements [2021-04-28T15:38:17.168Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-04-28T15:38:17.168Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.012s coverage: 18.4% of statements [2021-04-28T15:38:17.168Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.013s coverage: 27.3% of statements [2021-04-28T15:38:17.168Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-04-28T15:38:17.168Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-04-28T15:38:17.168Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.011s coverage: 71.7% of statements [2021-04-28T15:38:32.165Z] ok new-app-service 0.033s coverage: 47.8% of statements [2021-04-28T15:38:32.165Z] ? new-app-service/config [no test files] [2021-04-28T15:38:32.761Z] ok new-app-service/functions 0.028s [2021-04-28T15:38:32.761Z] CGO_ENABLED=1 go vet ./... [2021-04-28T15:38:43.799Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.045s coverage: 81.9% of statements [2021-04-28T15:38:43.799Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.032s coverage: 94.4% of statements [2021-04-28T15:38:43.799Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-04-28T15:38:43.799Z] gofmt -l . [2021-04-28T15:38:43.799Z] [ "`gofmt -l .`" = "" ] [2021-04-28T15:38:43.799Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-28T15:38:43.821Z] $ docker stop --time=1 99e9b7851dd071de4250457ce52f3fe0b3d09015d942a324f6353ee981c754e7 [2021-04-28T15:38:45.412Z] gofmt -l . [2021-04-28T15:38:45.412Z] [ "`gofmt -l .`" = "" ] [2021-04-28T15:38:45.412Z] ./bin/test-go-mod-tidy.sh [2021-04-28T15:38:45.412Z] ./bin/test-attribution-txt.sh [2021-04-28T15:38:45.495Z] $ docker rm -f 99e9b7851dd071de4250457ce52f3fe0b3d09015d942a324f6353ee981c754e7 [2021-04-28T15:38:45.685Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/220/app-service-template' [2021-04-28T15:38:45.685Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-28T15:38:46.046Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-28T15:38:46.481Z] 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-28T15:38:47.109Z] ---> job-cost.sh [2021-04-28T15:38:47.110Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-UmeF [2021-04-28T15:38:47.133Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-04-28T15:38:57.315Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.071s coverage: 55.8% of statements [2021-04-28T15:38:57.315Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.036s coverage: 92.5% of statements [2021-04-28T15:38:57.315Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-04-28T15:38:57.315Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.080s coverage: 61.5% of statements [2021-04-28T15:38:57.315Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-04-28T15:38:57.315Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.024s [2021-04-28T15:38:57.315Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.096s coverage: 75.4% of statements [2021-04-28T15:38:57.315Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-04-28T15:38:57.315Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-04-28T15:38:57.315Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-04-28T15:38:57.315Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-04-28T15:38:57.315Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-04-28T15:38:57.315Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-04-28T15:38:57.315Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.025s coverage: 97.0% of statements [2021-04-28T15:38:57.315Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-04-28T15:38:57.315Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.109s coverage: 10.5% of statements [2021-04-28T15:39:02.061Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-28T15:39:02.753Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.816s coverage: 78.4% of statements [2021-04-28T15:39:02.753Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-04-28T15:39:02.753Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.057s coverage: 18.4% of statements [2021-04-28T15:39:02.753Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.054s coverage: 27.3% of statements [2021-04-28T15:39:02.753Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-04-28T15:39:02.753Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-04-28T15:39:02.753Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.039s coverage: 71.7% of statements [2021-04-28T15:39:28.720Z] lf-activate-venv(): INFO: Adding /tmp/venv-UmeF/bin to PATH [2021-04-28T15:39:28.720Z] INFO: No Stack... [2021-04-28T15:39:28.720Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-28T15:39:28.720Z] INFO: Archiving Costs [Pipeline] sh [2021-04-28T15:39:29.040Z] + cat /w/workspace/app-functions-sdk-go/220/archives/cost.csv [2021-04-28T15:39:29.041Z] + cut -d, -f6 [Pipeline] lock [2021-04-28T15:39:29.101Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-220-stack-cost] [2021-04-28T15:39:29.112Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-220-stack-cost] did not exist. Created. [2021-04-28T15:39:29.112Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-220-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-28T15:39:29.455Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-28T15:39:29.516Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.081s coverage: 81.9% of statements [2021-04-28T15:39:29.516Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.025s coverage: 94.4% of statements [2021-04-28T15:39:29.516Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-04-28T15:39:29.589Z] Stashed 1 file(s) [Pipeline] } [2021-04-28T15:39:29.607Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-220-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-28T15:39:32.151Z] gofmt -l . [2021-04-28T15:39:32.422Z] [ "`gofmt -l .`" = "" ] [2021-04-28T15:39:32.695Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-28T15:39:33.332Z] $ docker stop --time=1 7bba9ef8ce164c49002bffce60896f9e95c9a2a5842e109dbb412a64d47f5444 [2021-04-28T15:39:35.400Z] $ docker rm -f 7bba9ef8ce164c49002bffce60896f9e95c9a2a5842e109dbb412a64d47f5444 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-28T15:39:36.254Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-28T15:39:36.287Z] Warning: overwriting stash ‘coverage-report’ [2021-04-28T15:39:37.212Z] 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-28T15:39:37.740Z] ---> job-cost.sh [2021-04-28T15:39:37.740Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-xr6Y [2021-04-28T15:40:16.693Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-28T15:41:38.421Z] lf-activate-venv(): INFO: Adding /tmp/venv-xr6Y/bin to PATH [2021-04-28T15:41:38.421Z] INFO: No Stack... [2021-04-28T15:41:38.421Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-28T15:41:38.421Z] INFO: Archiving Costs [Pipeline] sh [2021-04-28T15:41:38.763Z] + cat /w/workspace/app-functions-sdk-go/220/archives/cost.csv [2021-04-28T15:41:38.763Z] + cut -d, -f6 [Pipeline] lock [2021-04-28T15:41:38.879Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-220-stack-cost] [2021-04-28T15:41:38.889Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-220-stack-cost] did not exist. Created. [2021-04-28T15:41:38.889Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-220-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-28T15:41:39.273Z] /w/workspace/app-functions-sdk-go/220@tmp/durable-946748e4/script.sh: 1: /w/workspace/app-functions-sdk-go/220@tmp/durable-946748e4/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-28T15:41:39.623Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-28T15:41:39.645Z] Warning: overwriting stash ‘stack-cost’ [2021-04-28T15:41:39.797Z] Stashed 1 file(s) [Pipeline] } [2021-04-28T15:41:39.815Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-220-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-28T15:41:40.487Z] provisioning config files... [2021-04-28T15:41:40.505Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config6899508869744511064tmp [Pipeline] { [Pipeline] sh [2021-04-28T15:41:41.431Z] + set +x [2021-04-28T15:41:41.431Z] + curl -s https://codecov.io/bash [2021-04-28T15:41:41.431Z] + bash -s -- [2021-04-28T15:41:41.743Z] [2021-04-28T15:41:41.743Z] _____ _ [2021-04-28T15:41:41.743Z] / ____| | | [2021-04-28T15:41:41.743Z] | | ___ __| | ___ ___ _____ __ [2021-04-28T15:41:41.743Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-28T15:41:41.743Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-28T15:41:41.743Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-28T15:41:41.743Z] Bash-1.0.2 [2021-04-28T15:41:41.743Z] [2021-04-28T15:41:41.743Z] [2021-04-28T15:41:41.743Z] ==> git version 2.24.3 found [2021-04-28T15:41:41.743Z] ==> 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-28T15:41:41.743Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-28T15:41:41.743Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-28T15:41:41.743Z] ==> Jenkins CI detected. [2021-04-28T15:41:41.743Z] project root: . [2021-04-28T15:41:41.743Z] --> token set from env [2021-04-28T15:41:41.743Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-28T15:41:41.743Z] ==> Running gcov in . (disable via -X gcov) [2021-04-28T15:41:41.743Z] ==> Python coveragepy not found [2021-04-28T15:41:41.743Z] ==> Searching for coverage reports in: [2021-04-28T15:41:41.743Z] + . [2021-04-28T15:41:41.743Z] -> Found 2 reports [2021-04-28T15:41:41.743Z] ==> Detecting git/mercurial file structure [2021-04-28T15:41:41.743Z] ==> Reading reports [2021-04-28T15:41:41.743Z] + ./app-service-template/coverage.out bytes=1055 [2021-04-28T15:41:42.012Z] + ./coverage.out bytes=86827 [2021-04-28T15:41:42.012Z] ==> Appending adjustments [2021-04-28T15:41:42.012Z] https://docs.codecov.io/docs/fixing-reports [2021-04-28T15:41:42.610Z] + Found adjustments [2021-04-28T15:41:42.610Z] ==> Gzipping contents [2021-04-28T15:41:42.610Z] 16K /tmp/codecov.8gs6Na.gz [2021-04-28T15:41:42.610Z] ==> Uploading reports [2021-04-28T15:41:42.610Z] url: https://codecov.io [2021-04-28T15:41:42.610Z] query: branch=master&commit=f76ef03b379754170973648241337b52e4c240a5&build=220&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F220%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-04-28T15:41:42.610Z] -> Pinging Codecov [2021-04-28T15:41:42.610Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=master&commit=f76ef03b379754170973648241337b52e4c240a5&build=220&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F220%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-04-28T15:41:44.050Z] -> Uploading to [2021-04-28T15:41:44.050Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-28/3D8B5DFFC46A037C893635FACE044666/f76ef03b379754170973648241337b52e4c240a5/f0ce0e6b-4500-4a48-821a-879ec580a938.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210428%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210428T154143Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=351b9c057d5689fdb3acf75ab3460a227dd692b1305b879fb7d647635e4bb880 [2021-04-28T15:41:44.050Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-28T15:41:44.050Z] Dload Upload Total Spent Left Speed [2021-04-28T15:41:44.655Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15287 0 0 100 15287 0 24899 --:--:-- --:--:-- --:--:-- 24938 [2021-04-28T15:41:44.655Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/f76ef03b379754170973648241337b52e4c240a5 [Pipeline] } [2021-04-28T15:41:44.668Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-04-28T15:41:45.348Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-04-28T15:41:45.371Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-28T15:41:45.709Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-04-28T15:41:45.709Z] [2021-04-28T15:41:45.709Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-04-28T15:41:46.121Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-04-28T15:41:46.801Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-04-28T15:41:46.801Z] 188c0c94c7c5: Pulling fs layer [2021-04-28T15:41:46.801Z] 0ef7d3d256c8: Pulling fs layer [2021-04-28T15:41:46.801Z] de9db76c5a1d: Pulling fs layer [2021-04-28T15:41:46.801Z] 0eba1c9be4d2: Pulling fs layer [2021-04-28T15:41:46.801Z] 0d57e429df01: Pulling fs layer [2021-04-28T15:41:46.801Z] 4e4be7b47b0d: Pulling fs layer [2021-04-28T15:41:46.801Z] e1f770b5df2f: Pulling fs layer [2021-04-28T15:41:46.801Z] 85a0685a4137: Pulling fs layer [2021-04-28T15:41:46.801Z] 0eba1c9be4d2: Waiting [2021-04-28T15:41:46.801Z] 0d57e429df01: Waiting [2021-04-28T15:41:46.801Z] 4e4be7b47b0d: Waiting [2021-04-28T15:41:46.801Z] e1f770b5df2f: Waiting [2021-04-28T15:41:46.801Z] 85a0685a4137: Waiting [2021-04-28T15:41:46.801Z] de9db76c5a1d: Verifying Checksum [2021-04-28T15:41:46.801Z] de9db76c5a1d: Download complete [2021-04-28T15:41:46.801Z] 0ef7d3d256c8: Verifying Checksum [2021-04-28T15:41:46.801Z] 0ef7d3d256c8: Download complete [2021-04-28T15:41:46.801Z] 0d57e429df01: Verifying Checksum [2021-04-28T15:41:46.801Z] 0d57e429df01: Download complete [2021-04-28T15:41:46.801Z] 4e4be7b47b0d: Verifying Checksum [2021-04-28T15:41:46.801Z] 4e4be7b47b0d: Download complete [2021-04-28T15:41:46.801Z] 188c0c94c7c5: Verifying Checksum [2021-04-28T15:41:46.801Z] 188c0c94c7c5: Download complete [2021-04-28T15:41:47.845Z] 188c0c94c7c5: Pull complete [2021-04-28T15:41:48.119Z] 0ef7d3d256c8: Pull complete [2021-04-28T15:41:48.398Z] de9db76c5a1d: Pull complete [2021-04-28T15:41:48.665Z] e1f770b5df2f: Verifying Checksum [2021-04-28T15:41:48.665Z] e1f770b5df2f: Download complete [2021-04-28T15:41:53.190Z] 0eba1c9be4d2: Verifying Checksum [2021-04-28T15:41:53.190Z] 0eba1c9be4d2: Download complete [2021-04-28T15:41:56.844Z] 85a0685a4137: Verifying Checksum [2021-04-28T15:41:56.844Z] 85a0685a4137: Download complete [2021-04-28T15:42:09.894Z] 0eba1c9be4d2: Pull complete [2021-04-28T15:42:10.282Z] 0d57e429df01: Pull complete [2021-04-28T15:42:10.282Z] 4e4be7b47b0d: Pull complete [2021-04-28T15:42:13.937Z] e1f770b5df2f: Pull complete [2021-04-28T15:42:36.777Z] 85a0685a4137: Pull complete [2021-04-28T15:42:36.777Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-04-28T15:42:36.777Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-04-28T15:42:36.777Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-04-28T15:42:37.327Z] prd-centos7-docker-4c-2g-2201 does not seem to be running inside a container [2021-04-28T15:42:37.430Z] $ 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-28T15:42:39.322Z] $ docker top eeb679fbbb8202866d05349c12cfd531d9ffa9061aad44462d126a92dca00cab -eo pid,comm [Pipeline] { [Pipeline] echo [2021-04-28T15:42:39.563Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-04-28T15:42:39.928Z] + set -o pipefail [2021-04-28T15:42:39.928Z] + snyk monitor '--org=edgex-jenkins' [2021-04-28T15:42:58.725Z] [2021-04-28T15:42:58.725Z] Monitoring /w/workspace/ndry_app-functions-sdk-go_master (github.com/edgexfoundry/app-functions-sdk-go/v2)... [2021-04-28T15:42:58.725Z] [2021-04-28T15:42:58.725Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/4650cfcc-2d91-4340-90ad-48c356dd8bb1 [2021-04-28T15:42:58.725Z] [2021-04-28T15:42:58.725Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-04-28T15:42:58.725Z] [2021-04-28T15:42:58.725Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-04-28T15:42:58.725Z] [2021-04-28T15:42:58.725Z] [Pipeline] } [2021-04-28T15:42:58.763Z] $ docker stop --time=1 eeb679fbbb8202866d05349c12cfd531d9ffa9061aad44462d126a92dca00cab [2021-04-28T15:43:00.829Z] $ docker rm -f eeb679fbbb8202866d05349c12cfd531d9ffa9061aad44462d126a92dca00cab [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-28T15:43:02.257Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-28T15:43:02.280Z] provisioning config files... [2021-04-28T15:43:02.307Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config5543284058617983332tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-28T15:43:02.720Z] --> edgex-publish-swagger.sh [2021-04-28T15:43:02.720Z] === Publish openapi/v2 API === [2021-04-28T15:43:02.720Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-04-28T15:43:02.720Z] [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/ndry_app-functions-sdk-go_master/openapi/v2/app-functions-sdk.yaml] [2021-04-28T15:43:02.720Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-28T15:43:02.720Z] Dload Upload Total Spent Left Speed [2021-04-28T15:43:04.310Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13052 0 0 100 13052 0 9590 0:00:01 0:00:01 --:--:-- 9597 100 13052 0 0 100 13052 0 7887 0:00:01 0:00:01 --:--:-- 7891 [2021-04-28T15:43:04.310Z] [2021-04-28T15:43:04.310Z] [Pipeline] } [2021-04-28T15:43:04.329Z] 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-28T15:43:04.954Z] + git log --format=format:%s -1 f76ef03b379754170973648241337b52e4c240a5 [Pipeline] isUnix [Pipeline] sh [2021-04-28T15:43:05.365Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-28T15:43:05.365Z] . [Pipeline] withDockerContainer [2021-04-28T15:43:05.881Z] prd-centos7-docker-4c-2g-2201 does not seem to be running inside a container [2021-04-28T15:43:06.089Z] $ 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-28T15:43:07.826Z] $ docker top 7d59b320b71fbf68eadcb336ee7f96c5555b1e4848d24cb7b371f75e77d1f227 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-28T15:43:08.315Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-28T15:43:08.315Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-28T15:43:08.700Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-28T15:43:08.708Z] $ docker exec 7d59b320b71fbf68eadcb336ee7f96c5555b1e4848d24cb7b371f75e77d1f227 ssh-agent [2021-04-28T15:43:09.014Z] SSH_AUTH_SOCK=/tmp/ssh-dITffX9tYVr9/agent.11 [2021-04-28T15:43:09.014Z] SSH_AGENT_PID=16 [2021-04-28T15:43:09.028Z] Running ssh-add (command line suppressed) [2021-04-28T15:43:09.382Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_383786539694951263.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_383786539694951263.key) [2021-04-28T15:43:09.639Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-28T15:43:10.209Z] + git semver tag [2021-04-28T15:43:10.484Z] # -> Open(): unable to determine branch for HEAD [2021-04-28T15:43:10.484Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-04-28T15:43:10.484Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-04-28T15:43:10.484Z] # $SEMVER_REMOTE_NAME = origin [2021-04-28T15:43:10.484Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-28T15:43:10.484Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-28T15:43:10.484Z] # $SEMVER_BRANCH = master [2021-04-28T15:43:10.484Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-04-28T15:43:10.484Z] # f76ef03b379754170973648241337b52e4c240a5 HEAD [2021-04-28T15:43:10.484Z] # -> Force: false [2021-04-28T15:43:10.484Z] # 032e1d9ebffbf73391d66b7d61231a39a633b5c6 refs/tags/v2.0.0-dev.50 [Pipeline] } [2021-04-28T15:43:10.515Z] $ docker exec --env ******** --env ******** 7d59b320b71fbf68eadcb336ee7f96c5555b1e4848d24cb7b371f75e77d1f227 ssh-agent -k [2021-04-28T15:43:11.110Z] unset SSH_AUTH_SOCK; [2021-04-28T15:43:11.110Z] unset SSH_AGENT_PID; [2021-04-28T15:43:11.111Z] echo Agent pid 16 killed; [2021-04-28T15:43:11.158Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-28T15:43:11.709Z] + git semver [Pipeline] } [2021-04-28T15:43:11.747Z] $ docker stop --time=1 7d59b320b71fbf68eadcb336ee7f96c5555b1e4848d24cb7b371f75e77d1f227 [2021-04-28T15:43:13.679Z] $ docker rm -f 7d59b320b71fbf68eadcb336ee7f96c5555b1e4848d24cb7b371f75e77d1f227 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-04-28T15:43:14.632Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-04-28T15:43:14.632Z] [2021-04-28T15:43:14.632Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-04-28T15:43:15.180Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-04-28T15:43:15.467Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-04-28T15:43:15.468Z] ab5ef0e58194: Pulling fs layer [2021-04-28T15:43:15.468Z] 9712f1f96733: Pulling fs layer [2021-04-28T15:43:15.468Z] 63f879dbbcfc: Pulling fs layer [2021-04-28T15:43:15.468Z] 0d9ebad4ef96: Pulling fs layer [2021-04-28T15:43:15.468Z] e9a5061849ea: Pulling fs layer [2021-04-28T15:43:15.468Z] d747dcd14b5f: Pulling fs layer [2021-04-28T15:43:15.468Z] 2de7ff778b66: Pulling fs layer [2021-04-28T15:43:15.468Z] 0d9ebad4ef96: Waiting [2021-04-28T15:43:15.468Z] e9a5061849ea: Waiting [2021-04-28T15:43:15.468Z] d747dcd14b5f: Waiting [2021-04-28T15:43:15.468Z] 2de7ff778b66: Waiting [2021-04-28T15:43:15.468Z] 9712f1f96733: Verifying Checksum [2021-04-28T15:43:15.468Z] 9712f1f96733: Download complete [2021-04-28T15:43:21.423Z] 63f879dbbcfc: Verifying Checksum [2021-04-28T15:43:21.423Z] 63f879dbbcfc: Download complete [2021-04-28T15:43:21.763Z] e9a5061849ea: Verifying Checksum [2021-04-28T15:43:21.763Z] e9a5061849ea: Download complete [2021-04-28T15:43:22.075Z] d747dcd14b5f: Verifying Checksum [2021-04-28T15:43:22.075Z] d747dcd14b5f: Download complete [2021-04-28T15:43:23.781Z] 2de7ff778b66: Verifying Checksum [2021-04-28T15:43:23.781Z] 2de7ff778b66: Download complete [2021-04-28T15:43:24.066Z] 0d9ebad4ef96: Verifying Checksum [2021-04-28T15:43:24.066Z] 0d9ebad4ef96: Download complete [2021-04-28T15:43:25.585Z] ab5ef0e58194: Verifying Checksum [2021-04-28T15:43:25.585Z] ab5ef0e58194: Download complete [2021-04-28T15:43:35.927Z] ab5ef0e58194: Pull complete [2021-04-28T15:43:36.200Z] 9712f1f96733: Pull complete [2021-04-28T15:43:39.749Z] 63f879dbbcfc: Pull complete [2021-04-28T15:43:55.560Z] 0d9ebad4ef96: Pull complete [2021-04-28T15:43:55.901Z] e9a5061849ea: Pull complete [2021-04-28T15:43:56.259Z] d747dcd14b5f: Pull complete [2021-04-28T15:44:02.110Z] 2de7ff778b66: Pull complete [2021-04-28T15:44:02.110Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-04-28T15:44:02.110Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-04-28T15:44:02.110Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-04-28T15:44:02.722Z] prd-centos7-docker-4c-2g-2201 does not seem to be running inside a container [2021-04-28T15:44:02.803Z] $ 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-28T15:44:05.476Z] $ docker top 99d80b64f89c74d4339455f613ab9d89f8a7124c03dbdd12a587dcd72bc1c88d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-04-28T15:44:05.750Z] provisioning config files... [2021-04-28T15:44:05.765Z] copy managed file [sigul-config] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config7296364666884649316tmp [2021-04-28T15:44:05.819Z] copy managed file [sigul-password] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config8558110407285603345tmp [2021-04-28T15:44:05.861Z] copy managed file [sigul-pki] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config7862119865587935298tmp [Pipeline] { [Pipeline] echo [2021-04-28T15:44:05.888Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-28T15:44:06.664Z] ---> sigul-configuration.sh [2021-04-28T15:44:06.664Z] gpg: directory `/root/.gnupg' created [2021-04-28T15:44:06.664Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-04-28T15:44:06.664Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-04-28T15:44:06.664Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-04-28T15:44:06.664Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-04-28T15:44:06.664Z] gpg: CAST5 encrypted data [2021-04-28T15:44:06.932Z] gpg: encrypted with 1 passphrase [2021-04-28T15:44:06.932Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-04-28T15:44:07.571Z] + mkdir /home/jenkins [2021-04-28T15:44:07.571Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-04-28T15:44:07.954Z] + 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-28T15:44:08.044Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-28T15:44:08.703Z] ---> sigul-install.sh [2021-04-28T15:44:23.858Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-04-28T15:44:24.704Z] + git tag --list [2021-04-28T15:44:24.704Z] v0.1.0 [2021-04-28T15:44:24.704Z] v0.1.1 [2021-04-28T15:44:24.704Z] v1.0.0 [2021-04-28T15:44:24.704Z] v1.1.0 [2021-04-28T15:44:24.704Z] v1.2.0 [2021-04-28T15:44:24.704Z] v1.3.0 [2021-04-28T15:44:24.704Z] v1.3.1 [2021-04-28T15:44:24.704Z] v1.3.1-dev.1 [2021-04-28T15:44:24.704Z] v1.3.2-dev.1 [2021-04-28T15:44:24.704Z] v2.0.0-dev.1 [2021-04-28T15:44:24.704Z] v2.0.0-dev.10 [2021-04-28T15:44:24.704Z] v2.0.0-dev.11 [2021-04-28T15:44:24.704Z] v2.0.0-dev.12 [2021-04-28T15:44:24.704Z] v2.0.0-dev.13 [2021-04-28T15:44:24.704Z] v2.0.0-dev.14 [2021-04-28T15:44:24.704Z] v2.0.0-dev.15 [2021-04-28T15:44:24.704Z] v2.0.0-dev.16 [2021-04-28T15:44:24.704Z] v2.0.0-dev.17 [2021-04-28T15:44:24.704Z] v2.0.0-dev.18 [2021-04-28T15:44:24.704Z] v2.0.0-dev.19 [2021-04-28T15:44:24.704Z] v2.0.0-dev.2 [2021-04-28T15:44:24.704Z] v2.0.0-dev.20 [2021-04-28T15:44:24.704Z] v2.0.0-dev.21 [2021-04-28T15:44:24.704Z] v2.0.0-dev.22 [2021-04-28T15:44:24.704Z] v2.0.0-dev.23 [2021-04-28T15:44:24.704Z] v2.0.0-dev.24 [2021-04-28T15:44:24.704Z] v2.0.0-dev.25 [2021-04-28T15:44:24.704Z] v2.0.0-dev.26 [2021-04-28T15:44:24.704Z] v2.0.0-dev.27 [2021-04-28T15:44:24.704Z] v2.0.0-dev.28 [2021-04-28T15:44:24.704Z] v2.0.0-dev.29 [2021-04-28T15:44:24.704Z] v2.0.0-dev.3 [2021-04-28T15:44:24.704Z] v2.0.0-dev.30 [2021-04-28T15:44:24.704Z] v2.0.0-dev.31 [2021-04-28T15:44:24.704Z] v2.0.0-dev.32 [2021-04-28T15:44:24.704Z] v2.0.0-dev.33 [2021-04-28T15:44:24.704Z] v2.0.0-dev.34 [2021-04-28T15:44:24.704Z] v2.0.0-dev.35 [2021-04-28T15:44:24.704Z] v2.0.0-dev.36 [2021-04-28T15:44:24.704Z] v2.0.0-dev.37 [2021-04-28T15:44:24.704Z] v2.0.0-dev.38 [2021-04-28T15:44:24.704Z] v2.0.0-dev.39 [2021-04-28T15:44:24.704Z] v2.0.0-dev.4 [2021-04-28T15:44:24.704Z] v2.0.0-dev.40 [2021-04-28T15:44:24.704Z] v2.0.0-dev.41 [2021-04-28T15:44:24.704Z] v2.0.0-dev.42 [2021-04-28T15:44:24.704Z] v2.0.0-dev.43 [2021-04-28T15:44:24.704Z] v2.0.0-dev.44 [2021-04-28T15:44:24.704Z] v2.0.0-dev.45 [2021-04-28T15:44:24.704Z] v2.0.0-dev.46 [2021-04-28T15:44:24.704Z] v2.0.0-dev.47 [2021-04-28T15:44:24.704Z] v2.0.0-dev.48 [2021-04-28T15:44:24.704Z] v2.0.0-dev.49 [2021-04-28T15:44:24.704Z] v2.0.0-dev.5 [2021-04-28T15:44:24.704Z] v2.0.0-dev.50 [2021-04-28T15:44:24.704Z] v2.0.0-dev.6 [2021-04-28T15:44:24.704Z] v2.0.0-dev.7 [2021-04-28T15:44:24.704Z] v2.0.0-dev.8 [2021-04-28T15:44:24.704Z] v2.0.0-dev.9 [Pipeline] sh [2021-04-28T15:44:25.405Z] + lftools sign git-tag v2.0.0-dev.50 [2021-04-28T15:44:27.394Z] Signing Git tag with Sigul... [2021-04-28T15:44:27.394Z] Signing v2.0.0-dev.50 [Pipeline] echo [2021-04-28T15:44:28.816Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-28T15:44:29.143Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-04-28T15:44:29.163Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-04-28T15:44:29.199Z] $ docker stop --time=1 99d80b64f89c74d4339455f613ab9d89f8a7124c03dbdd12a587dcd72bc1c88d [2021-04-28T15:44:31.421Z] $ docker rm -f 99d80b64f89c74d4339455f613ab9d89f8a7124c03dbdd12a587dcd72bc1c88d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-04-28T15:44:32.074Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-28T15:44:32.074Z] . [Pipeline] withDockerContainer [2021-04-28T15:44:32.224Z] prd-centos7-docker-4c-2g-2201 does not seem to be running inside a container [2021-04-28T15:44:32.313Z] $ 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-28T15:44:33.301Z] $ docker top 2b6f0a195d71300f263c12f28554a7ea3e4240c0c70f33935d0168a729de5be1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-28T15:44:33.775Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-28T15:44:33.775Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-28T15:44:34.142Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-28T15:44:34.149Z] $ docker exec 2b6f0a195d71300f263c12f28554a7ea3e4240c0c70f33935d0168a729de5be1 ssh-agent [2021-04-28T15:44:35.014Z] SSH_AUTH_SOCK=/tmp/ssh-FQkke96BA18h/agent.12 [2021-04-28T15:44:35.014Z] SSH_AGENT_PID=17 [2021-04-28T15:44:35.027Z] Running ssh-add (command line suppressed) [2021-04-28T15:44:35.263Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_1368936806244061512.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_1368936806244061512.key) [2021-04-28T15:44:35.385Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-28T15:44:36.124Z] + git semver bump pre [2021-04-28T15:44:36.124Z] # -> Open(): unable to determine branch for HEAD [2021-04-28T15:44:36.124Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-04-28T15:44:36.124Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-04-28T15:44:36.124Z] # $SEMVER_REMOTE_NAME = origin [2021-04-28T15:44:36.124Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-28T15:44:36.124Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-28T15:44:36.124Z] # $SEMVER_BRANCH = master [2021-04-28T15:44:36.124Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-04-28T15:44:36.124Z] 2.0.0-dev.51 [Pipeline] } [2021-04-28T15:44:36.156Z] $ docker exec --env ******** --env ******** 2b6f0a195d71300f263c12f28554a7ea3e4240c0c70f33935d0168a729de5be1 ssh-agent -k [2021-04-28T15:44:36.492Z] unset SSH_AUTH_SOCK; [2021-04-28T15:44:36.494Z] unset SSH_AGENT_PID; [2021-04-28T15:44:36.495Z] echo Agent pid 17 killed; [2021-04-28T15:44:36.629Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-28T15:44:36.998Z] + git semver [Pipeline] } [2021-04-28T15:44:37.024Z] $ docker stop --time=1 2b6f0a195d71300f263c12f28554a7ea3e4240c0c70f33935d0168a729de5be1 [2021-04-28T15:44:38.903Z] $ docker rm -f 2b6f0a195d71300f263c12f28554a7ea3e4240c0c70f33935d0168a729de5be1 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-04-28T15:44:39.456Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-28T15:44:39.456Z] . [Pipeline] withDockerContainer [2021-04-28T15:44:39.652Z] prd-centos7-docker-4c-2g-2201 does not seem to be running inside a container [2021-04-28T15:44:39.787Z] $ 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-28T15:44:40.933Z] $ docker top 373e6eb138164dcc4dfd447a7fbe8704314416e1eca0e8e39dfb8634b2d0db84 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-28T15:44:41.174Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-28T15:44:41.174Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-28T15:44:41.497Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-28T15:44:41.505Z] $ docker exec 373e6eb138164dcc4dfd447a7fbe8704314416e1eca0e8e39dfb8634b2d0db84 ssh-agent [2021-04-28T15:44:41.941Z] SSH_AUTH_SOCK=/tmp/ssh-lvjgh6iVr3u4/agent.12 [2021-04-28T15:44:41.941Z] SSH_AGENT_PID=17 [2021-04-28T15:44:41.954Z] Running ssh-add (command line suppressed) [2021-04-28T15:44:42.153Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_6369105205921560952.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_6369105205921560952.key) [2021-04-28T15:44:42.359Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-28T15:44:43.079Z] + git semver push [2021-04-28T15:44:43.079Z] # -> Open(): unable to determine branch for HEAD [2021-04-28T15:44:43.079Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-04-28T15:44:43.079Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-04-28T15:44:43.079Z] # $SEMVER_REMOTE_NAME = origin [2021-04-28T15:44:43.079Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-28T15:44:43.079Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-28T15:44:43.079Z] # $SEMVER_BRANCH = master [2021-04-28T15:44:43.079Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-04-28T15:44:49.042Z] $ docker exec --env ******** --env ******** 373e6eb138164dcc4dfd447a7fbe8704314416e1eca0e8e39dfb8634b2d0db84 ssh-agent -k [2021-04-28T15:44:49.260Z] unset SSH_AUTH_SOCK; [2021-04-28T15:44:49.260Z] unset SSH_AGENT_PID; [2021-04-28T15:44:49.260Z] echo Agent pid 17 killed; [2021-04-28T15:44:49.340Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-28T15:44:49.705Z] + git semver [Pipeline] } [2021-04-28T15:44:49.774Z] $ docker stop --time=1 373e6eb138164dcc4dfd447a7fbe8704314416e1eca0e8e39dfb8634b2d0db84 [2021-04-28T15:44:51.722Z] $ docker rm -f 373e6eb138164dcc4dfd447a7fbe8704314416e1eca0e8e39dfb8634b2d0db84 [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-28T15:44:52.965Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-28T15:44:53.918Z] ---> package-listing.sh [2021-04-28T15:44:53.918Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-28T15:44:53.918Z] ++ facter osfamily [2021-04-28T15:44:53.918Z] + OS_FAMILY=redhat [2021-04-28T15:44:53.918Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_master [2021-04-28T15:44:53.918Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-28T15:44:53.918Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-28T15:44:53.918Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-28T15:44:53.918Z] + PACKAGES=/tmp/packages_start.txt [2021-04-28T15:44:53.918Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-04-28T15:44:53.918Z] + PACKAGES=/tmp/packages_end.txt [2021-04-28T15:44:53.918Z] + case "${OS_FAMILY}" in [2021-04-28T15:44:53.918Z] + rpm -qa [2021-04-28T15:44:53.918Z] + sort [2021-04-28T15:45:02.385Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-28T15:45:02.385Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-28T15:45:02.385Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-28T15:45:02.385Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-04-28T15:45:02.385Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_master/archives/ [2021-04-28T15:45:02.385Z] + 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-28T15:45:02.438Z] 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-28T15:45:03.086Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-28T15:45:03.689Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-28T15:45:03.689Z] [2021-04-28T15:45:03.689Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-28T15:45:04.050Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-28T15:45:04.050Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-28T15:45:04.050Z] df20fa9351a1: Pulling fs layer [2021-04-28T15:45:04.050Z] 36b3adc4ff6f: Pulling fs layer [2021-04-28T15:45:04.050Z] 8ad3a11d3b57: Pulling fs layer [2021-04-28T15:45:04.050Z] 46f8f816bc3b: Pulling fs layer [2021-04-28T15:45:04.050Z] 93b61091891f: Pulling fs layer [2021-04-28T15:45:04.050Z] 93b9cdb0e59b: Pulling fs layer [2021-04-28T15:45:04.050Z] 5e14af77c1be: Pulling fs layer [2021-04-28T15:45:04.050Z] 01666e4c0597: Pulling fs layer [2021-04-28T15:45:04.050Z] aa168da1d23b: Pulling fs layer [2021-04-28T15:45:04.050Z] 93b61091891f: Waiting [2021-04-28T15:45:04.050Z] 93b9cdb0e59b: Waiting [2021-04-28T15:45:04.050Z] 5e14af77c1be: Waiting [2021-04-28T15:45:04.050Z] 01666e4c0597: Waiting [2021-04-28T15:45:04.050Z] aa168da1d23b: Waiting [2021-04-28T15:45:04.050Z] 36b3adc4ff6f: Verifying Checksum [2021-04-28T15:45:04.050Z] 36b3adc4ff6f: Download complete [2021-04-28T15:45:04.050Z] 46f8f816bc3b: Verifying Checksum [2021-04-28T15:45:04.050Z] 46f8f816bc3b: Download complete [2021-04-28T15:45:04.459Z] df20fa9351a1: Verifying Checksum [2021-04-28T15:45:04.459Z] df20fa9351a1: Download complete [2021-04-28T15:45:04.459Z] 93b9cdb0e59b: Verifying Checksum [2021-04-28T15:45:04.459Z] 93b9cdb0e59b: Download complete [2021-04-28T15:45:04.459Z] 5e14af77c1be: Verifying Checksum [2021-04-28T15:45:04.459Z] 5e14af77c1be: Download complete [2021-04-28T15:45:04.459Z] 93b61091891f: Download complete [2021-04-28T15:45:04.459Z] 01666e4c0597: Verifying Checksum [2021-04-28T15:45:04.459Z] 01666e4c0597: Download complete [2021-04-28T15:45:04.459Z] 8ad3a11d3b57: Verifying Checksum [2021-04-28T15:45:04.459Z] 8ad3a11d3b57: Download complete [2021-04-28T15:45:05.069Z] df20fa9351a1: Pull complete [2021-04-28T15:45:05.662Z] 36b3adc4ff6f: Pull complete [2021-04-28T15:45:07.154Z] 8ad3a11d3b57: Pull complete [2021-04-28T15:45:07.431Z] aa168da1d23b: Verifying Checksum [2021-04-28T15:45:07.431Z] aa168da1d23b: Download complete [2021-04-28T15:45:07.431Z] 46f8f816bc3b: Pull complete [2021-04-28T15:45:08.027Z] 93b61091891f: Pull complete [2021-04-28T15:45:08.291Z] 93b9cdb0e59b: Pull complete [2021-04-28T15:45:08.291Z] 5e14af77c1be: Pull complete [2021-04-28T15:45:08.554Z] 01666e4c0597: Pull complete [2021-04-28T15:45:23.827Z] aa168da1d23b: Pull complete [2021-04-28T15:45:23.827Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-28T15:45:23.827Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-28T15:45:23.827Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-28T15:45:24.103Z] prd-centos7-docker-4c-2g-2201 does not seem to be running inside a container [2021-04-28T15:45:24.176Z] $ 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-28T15:45:28.211Z] $ docker top a8d9f34370f196f7eb81b653757a16cd2208430da153d4103dff22ba150c53b4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-28T15:45:29.368Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-28T15:45:30.486Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-28T15:45:31.516Z] + ls /var/log/sa-host [2021-04-28T15:45:31.516Z] + sadf -c /var/log/sa-host/sa23 [2021-04-28T15:45:31.516Z] file_magic: OK [2021-04-28T15:45:31.516Z] HZ: Using current value: 100 [2021-04-28T15:45:31.516Z] file_header: OK [2021-04-28T15:45:31.516Z] 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-28T15:45:31.516Z] Statistics: [2021-04-28T15:45:31.516Z] Hnuu...uuuununununu... [2021-04-28T15:45:31.516Z] File successfully converted to sysstat format version 12.2.1 [2021-04-28T15:45:31.516Z] + sadf -c /var/log/sa-host/sa28 [2021-04-28T15:45:31.516Z] file_magic: OK [2021-04-28T15:45:31.516Z] HZ: Using current value: 100 [2021-04-28T15:45:31.516Z] file_header: OK [2021-04-28T15:45:31.516Z] 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-28T15:45:31.516Z] Statistics: [2021-04-28T15:45:31.516Z] 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-28T15:45:31.516Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-28T15:45:32.210Z] provisioning config files... [2021-04-28T15:45:32.237Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config3806872115084228331tmp [Pipeline] { [Pipeline] echo [2021-04-28T15:45:32.276Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-28T15:45:32.969Z] ---> create-netrc.sh [Pipeline] } [2021-04-28T15:45:33.253Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-28T15:45:33.475Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-28T15:45:34.143Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-28T15:45:34.161Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-28T15:45:34.502Z] ---> sudo-logs.sh [2021-04-28T15:45:34.502Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-28T15:45:34.818Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-28T15:45:35.204Z] ---> job-cost.sh [2021-04-28T15:45:35.489Z] lf-activate-venv: SKIPPING [2021-04-28T15:45:35.489Z] DEBUG: total: 0.20999999344348907 [2021-04-28T15:45:35.489Z] INFO: Retrieving Stack Cost... [2021-04-28T15:45:36.105Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-28T15:45:37.100Z] INFO: Archiving Costs [Pipeline] echo [2021-04-28T15:45:37.117Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-28T15:45:37.436Z] ---> logs-deploy.sh [2021-04-28T15:45:37.436Z] lf-activate-venv: SKIPPING [2021-04-28T15:45:37.436Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/master/220 [2021-04-28T15:45:37.436Z] INFO: archiving workspace using pattern(s): [2021-04-28T15:45:40.829Z] Archives upload complete. [2021-04-28T15:45:41.101Z] INFO: archiving logs to Nexus