Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 7563e5ddaf4609d3782aa72276f202d5a5a084f0 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 9d0281235b943b7ad605f650702698f9078b2862 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 9d0281235b943b7ad605f650702698f9078b2862 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 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > 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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: app-functions-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4925 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 7563e5ddaf4609d3782aa72276f202d5a5a084f0 (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 7563e5ddaf4609d3782aa72276f202d5a5a084f0 # timeout=10 Commit message: "fix: Added missing .ExternalMqtt subsection to error log message (#836)" > git rev-list --no-walk 00d745e262a2b669949b9e69e1b8c77e0ea64523 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-12T22:07:53.173Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-12T22:07:53.273Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-12T22:07:53.306Z] ========================================================= [2021-05-12T22:07:53.306Z] EdgeX Global Pipelines Version Info [2021-05-12T22:07:53.306Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-12T22:07:55.747Z] ------------------- [2021-05-12T22:07:55.747Z] stable info: [2021-05-12T22:07:55.747Z] ------------------- [2021-05-12T22:07:55.747Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-12T22:07:55.747Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-12T22:07:55.747Z] Message: update stable to v1.0.192 [2021-05-12T22:07:56.328Z] ------------------- [2021-05-12T22:07:56.328Z] experimental info: [2021-05-12T22:07:56.328Z] ------------------- [2021-05-12T22:07:56.328Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-12T22:07:56.328Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-12T22:07:56.328Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-12T22:07:56.470Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-05-12T22:07:56.493Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-05-12T22:07:56.516Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-12T22:07:56.540Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-12T22:07:56.565Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-12T22:07:56.588Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-12T22:07:56.614Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-12T22:07:56.637Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-12T22:07:56.681Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-12T22:07:56.709Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-12T22:07:56.734Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-12T22:07:56.759Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2021-05-12T22:07:56.784Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-12T22:07:56.808Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-12T22:07:56.832Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-05-12T22:07:56.859Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-12T22:07:56.883Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-12T22:07:56.907Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-12T22:07:56.942Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-12T22:07:56.974Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-12T22:07:57.026Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-12T22:07:57.052Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-05-12T22:07:57.076Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-12T22:07:57.101Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-12T22:07:57.125Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-05-12T22:07:57.149Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-12T22:07:57.173Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-05-12T22:07:57.196Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-05-12T22:07:57.221Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-05-12T22:07:57.245Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7563e5ddaf4609d3782aa72276f202d5a5a084f0 [Pipeline] echo [2021-05-12T22:07:57.269Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7563e5d [Pipeline] echo [2021-05-12T22:07:57.293Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T22:07:57.759Z] + git log --format=format:%s -1 7563e5ddaf4609d3782aa72276f202d5a5a084f0 [Pipeline] echo [2021-05-12T22:07:57.881Z] GIT_COMMIT: 7563e5ddaf4609d3782aa72276f202d5a5a084f0, Commit Message: fix: Added missing .ExternalMqtt subsection to error log message (#836) [Pipeline] echo [2021-05-12T22:07:57.895Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-12T22:07:58.679Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T22:07:59.281Z] [2021-05-12T22:07:59.281Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-12T22:07:59.643Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T22:07:59.643Z] latest: Pulling from edgex-devops/git-semver [2021-05-12T22:07:59.643Z] 31603596830f: Pulling fs layer [2021-05-12T22:07:59.643Z] 54011a49482f: Pulling fs layer [2021-05-12T22:07:59.643Z] a6820b24f6d8: Pulling fs layer [2021-05-12T22:07:59.643Z] f581987b2513: Pulling fs layer [2021-05-12T22:07:59.643Z] f581987b2513: Waiting [2021-05-12T22:07:59.643Z] 54011a49482f: Verifying Checksum [2021-05-12T22:07:59.643Z] 54011a49482f: Download complete [2021-05-12T22:07:59.928Z] 31603596830f: Verifying Checksum [2021-05-12T22:07:59.928Z] 31603596830f: Download complete [2021-05-12T22:08:00.204Z] f581987b2513: Verifying Checksum [2021-05-12T22:08:00.204Z] f581987b2513: Download complete [2021-05-12T22:08:00.204Z] a6820b24f6d8: Verifying Checksum [2021-05-12T22:08:00.204Z] a6820b24f6d8: Download complete [2021-05-12T22:08:00.471Z] 31603596830f: Pull complete [2021-05-12T22:08:00.471Z] 54011a49482f: Pull complete [2021-05-12T22:08:01.909Z] a6820b24f6d8: Pull complete [2021-05-12T22:08:02.174Z] f581987b2513: Pull complete [2021-05-12T22:08:02.174Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-12T22:08:02.174Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T22:08:02.174Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-12T22:08:02.344Z] prd-centos7-docker-4c-2g-4925 does not seem to be running inside a container [2021-05-12T22:08:02.477Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-12T22:08:05.448Z] $ docker top b15368dd8b2af48203038960ac8c284c453d3c28ba92356470f34fc53db5d7ac -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-12T22:08:05.709Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-12T22:08:05.709Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-12T22:08:06.456Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-12T22:08:06.465Z] $ docker exec b15368dd8b2af48203038960ac8c284c453d3c28ba92356470f34fc53db5d7ac ssh-agent [2021-05-12T22:08:07.098Z] SSH_AUTH_SOCK=/tmp/ssh-WHGZJiqELQjd/agent.12 [2021-05-12T22:08:07.098Z] SSH_AGENT_PID=17 [2021-05-12T22:08:07.116Z] Running ssh-add (command line suppressed) [2021-05-12T22:08:07.573Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_5278079263694938976.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_5278079263694938976.key) [2021-05-12T22:08:07.716Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-12T22:08:08.036Z] + git tag --points-at HEAD [Pipeline] } [2021-05-12T22:08:08.099Z] $ docker exec --env ******** --env ******** b15368dd8b2af48203038960ac8c284c453d3c28ba92356470f34fc53db5d7ac ssh-agent -k [2021-05-12T22:08:08.288Z] unset SSH_AUTH_SOCK; [2021-05-12T22:08:08.288Z] unset SSH_AGENT_PID; [2021-05-12T22:08:08.288Z] echo Agent pid 17 killed; [2021-05-12T22:08:08.374Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-12T22:08:08.419Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-12T22:08:08.419Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-12T22:08:08.733Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-12T22:08:08.752Z] $ docker exec b15368dd8b2af48203038960ac8c284c453d3c28ba92356470f34fc53db5d7ac ssh-agent [2021-05-12T22:08:09.010Z] SSH_AUTH_SOCK=/tmp/ssh-xvhVQVWEGJ7N/agent.46 [2021-05-12T22:08:09.010Z] SSH_AGENT_PID=51 [2021-05-12T22:08:09.020Z] Running ssh-add (command line suppressed) [2021-05-12T22:08:09.191Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4159520371902357826.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4159520371902357826.key) [2021-05-12T22:08:09.268Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-12T22:08:09.581Z] + git semver init [2021-05-12T22:08:09.581Z] # -> Open(): unable to determine branch for HEAD [2021-05-12T22:08:09.581Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-05-12T22:08:09.581Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-05-12T22:08:09.581Z] # $SEMVER_REMOTE_NAME = origin [2021-05-12T22:08:09.581Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-12T22:08:09.581Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-12T22:08:09.581Z] # $SEMVER_BRANCH = master [2021-05-12T22:08:09.581Z] # $SEMVER_TEMP = /tmp/semver-405607558 [2021-05-12T22:08:09.581Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-05-12T22:08:13.909Z] # '/tmp/semver-405607558' -> '/w/workspace/ndry_app-functions-sdk-go_master/.semver' [2021-05-12T22:08:13.909Z] # -> Force: false [2021-05-12T22:08:13.909Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-05-12T22:08:13.935Z] $ docker exec --env ******** --env ******** b15368dd8b2af48203038960ac8c284c453d3c28ba92356470f34fc53db5d7ac ssh-agent -k [2021-05-12T22:08:14.094Z] unset SSH_AUTH_SOCK; [2021-05-12T22:08:14.096Z] unset SSH_AGENT_PID; [2021-05-12T22:08:14.096Z] echo Agent pid 51 killed; [2021-05-12T22:08:14.167Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-12T22:08:14.863Z] + git semver [Pipeline] } [2021-05-12T22:08:14.907Z] $ docker stop --time=1 b15368dd8b2af48203038960ac8c284c453d3c28ba92356470f34fc53db5d7ac [2021-05-12T22:08:16.639Z] $ docker rm -f b15368dd8b2af48203038960ac8c284c453d3c28ba92356470f34fc53db5d7ac [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-12T22:08:17.125Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-12T22:08:17.696Z] Stashed 1 file(s) [Pipeline] echo [2021-05-12T22:08:17.699Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.59 [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-05-12T22:08:32.902Z] Still waiting to schedule task [2021-05-12T22:08:32.902Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-12T22:08:32.905Z] Still waiting to schedule task [2021-05-12T22:08:32.905Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-05-12T22:11:03.848Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4927 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-05-12T22:11:03.881Z] Running in /w/workspace/app-functions-sdk-go/231 [Pipeline] { [Pipeline] checkout [2021-05-12T22:11:09.406Z] using credential edgex-jenkins-ssh [2021-05-12T22:11:09.426Z] Cloning the remote Git repository [2021-05-12T22:11:09.483Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-05-12T22:11:09.599Z] > git init /w/workspace/app-functions-sdk-go/231 # timeout=10 [2021-05-12T22:11:09.840Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-05-12T22:11:09.849Z] > git --version # timeout=10 [2021-05-12T22:11:09.897Z] > git --version # 'git version 2.17.1' [2021-05-12T22:11:09.899Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T22:11:10.011Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T22:11:14.219Z] Checking out Revision 7563e5ddaf4609d3782aa72276f202d5a5a084f0 (master) [2021-05-12T22:11:13.652Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-05-12T22:11:13.673Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T22:11:13.694Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-05-12T22:11:13.732Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-05-12T22:11:13.733Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T22:11:13.744Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-12T22:11:14.241Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T22:11:14.262Z] > git checkout -f 7563e5ddaf4609d3782aa72276f202d5a5a084f0 # timeout=10 [2021-05-12T22:11:18.517Z] Commit message: "fix: Added missing .ExternalMqtt subsection to error log message (#836)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T22:11:20.145Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-12T22:11:20.561Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-12T22:11:20.903Z] + sudo service docker restart [2021-05-12T22:11:20.903Z] + true [2021-05-12T22:11:22.666Z] Running on prd-centos7-docker-4c-2g-4928 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-05-12T22:11:22.689Z] Running in /w/workspace/app-functions-sdk-go/231 [Pipeline] { [Pipeline] checkout [Pipeline] unstash [Pipeline] echo [2021-05-12T22:11:23.173Z] ========================================================= [2021-05-12T22:11:23.174Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-12T22:11:23.174Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-12T22:11:23.522Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-12T22:11:24.502Z] Sending build context to Docker daemon 19.56MB [2021-05-12T22:11:24.502Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T22:11:24.502Z] Step 2/8 : FROM ${BASE} [2021-05-12T22:11:24.773Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-12T22:11:24.773Z] 595b0fe564bb: Pulling fs layer [2021-05-12T22:11:24.773Z] 7186ed65a4f7: Pulling fs layer [2021-05-12T22:11:24.773Z] 316046926c0a: Pulling fs layer [2021-05-12T22:11:24.773Z] 4ebd0625c992: Pulling fs layer [2021-05-12T22:11:24.773Z] 207e8628e3a3: Pulling fs layer [2021-05-12T22:11:24.773Z] c791037a9be2: Pulling fs layer [2021-05-12T22:11:24.773Z] ffd874e62e21: Pulling fs layer [2021-05-12T22:11:24.774Z] 4ebd0625c992: Waiting [2021-05-12T22:11:24.774Z] 207e8628e3a3: Waiting [2021-05-12T22:11:24.774Z] c791037a9be2: Waiting [2021-05-12T22:11:24.774Z] ffd874e62e21: Waiting [2021-05-12T22:11:25.048Z] 316046926c0a: Verifying Checksum [2021-05-12T22:11:25.048Z] 316046926c0a: Download complete [2021-05-12T22:11:25.049Z] 7186ed65a4f7: Download complete [2021-05-12T22:11:25.049Z] 207e8628e3a3: Verifying Checksum [2021-05-12T22:11:25.049Z] 207e8628e3a3: Download complete [2021-05-12T22:11:25.049Z] c791037a9be2: Verifying Checksum [2021-05-12T22:11:25.049Z] c791037a9be2: Download complete [2021-05-12T22:11:25.049Z] 595b0fe564bb: Verifying Checksum [2021-05-12T22:11:25.049Z] 595b0fe564bb: Download complete [2021-05-12T22:11:26.035Z] 595b0fe564bb: Pull complete [2021-05-12T22:11:26.252Z] using credential edgex-jenkins-ssh [2021-05-12T22:11:26.265Z] Cloning the remote Git repository [2021-05-12T22:11:26.312Z] 7186ed65a4f7: Pull complete [2021-05-12T22:11:26.302Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-05-12T22:11:26.403Z] > git init /w/workspace/app-functions-sdk-go/231 # timeout=10 [2021-05-12T22:11:26.522Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-05-12T22:11:26.523Z] > git --version # timeout=10 [2021-05-12T22:11:26.533Z] > git --version # 'git version 2.24.3' [2021-05-12T22:11:26.533Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T22:11:26.911Z] 316046926c0a: Pull complete [2021-05-12T22:11:26.579Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T22:11:27.889Z] ffd874e62e21: Verifying Checksum [2021-05-12T22:11:27.889Z] ffd874e62e21: Download complete [2021-05-12T22:11:28.868Z] 4ebd0625c992: Verifying Checksum [2021-05-12T22:11:28.868Z] 4ebd0625c992: Download complete [2021-05-12T22:11:30.768Z] Checking out Revision 7563e5ddaf4609d3782aa72276f202d5a5a084f0 (master) [2021-05-12T22:11:30.236Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-05-12T22:11:30.250Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-12T22:11:30.291Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-05-12T22:11:30.330Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-05-12T22:11:30.330Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-12T22:11:30.345Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-12T22:11:30.782Z] > git config core.sparsecheckout # timeout=10 [2021-05-12T22:11:30.793Z] > git checkout -f 7563e5ddaf4609d3782aa72276f202d5a5a084f0 # timeout=10 [2021-05-12T22:11:34.636Z] Commit message: "fix: Added missing .ExternalMqtt subsection to error log message (#836)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-12T22:11:35.978Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-12T22:11:36.451Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-12T22:11:36.767Z] + sudo service docker restart [2021-05-12T22:11:36.767Z] + true [2021-05-12T22:11:36.767Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-05-12T22:11:37.886Z] ========================================================= [2021-05-12T22:11:37.887Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-12T22:11:37.887Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-12T22:11:38.223Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-12T22:11:39.041Z] 4ebd0625c992: Pull complete [2021-05-12T22:11:39.042Z] 207e8628e3a3: Pull complete [2021-05-12T22:11:39.189Z] Sending build context to Docker daemon 19.56MB [2021-05-12T22:11:39.189Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-12T22:11:39.189Z] Step 2/8 : FROM ${BASE} [2021-05-12T22:11:39.189Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-12T22:11:39.189Z] 540db60ca938: Pulling fs layer [2021-05-12T22:11:39.189Z] adcc1eea9eea: Pulling fs layer [2021-05-12T22:11:39.189Z] 4c4ab2625f07: Pulling fs layer [2021-05-12T22:11:39.189Z] 0510c868ecb4: Pulling fs layer [2021-05-12T22:11:39.189Z] afea3b2eda06: Pulling fs layer [2021-05-12T22:11:39.189Z] 7809a108b3ef: Pulling fs layer [2021-05-12T22:11:39.189Z] f706445af74f: Pulling fs layer [2021-05-12T22:11:39.189Z] 0510c868ecb4: Waiting [2021-05-12T22:11:39.189Z] afea3b2eda06: Waiting [2021-05-12T22:11:39.189Z] 7809a108b3ef: Waiting [2021-05-12T22:11:39.189Z] f706445af74f: Waiting [2021-05-12T22:11:39.189Z] 4c4ab2625f07: Verifying Checksum [2021-05-12T22:11:39.189Z] 4c4ab2625f07: Download complete [2021-05-12T22:11:39.189Z] adcc1eea9eea: Download complete [2021-05-12T22:11:39.189Z] afea3b2eda06: Verifying Checksum [2021-05-12T22:11:39.189Z] afea3b2eda06: Download complete [2021-05-12T22:11:39.189Z] 7809a108b3ef: Verifying Checksum [2021-05-12T22:11:39.189Z] 7809a108b3ef: Download complete [2021-05-12T22:11:39.189Z] 540db60ca938: Verifying Checksum [2021-05-12T22:11:39.189Z] 540db60ca938: Download complete [2021-05-12T22:11:39.639Z] c791037a9be2: Pull complete [2021-05-12T22:11:39.803Z] 540db60ca938: Pull complete [2021-05-12T22:11:40.075Z] adcc1eea9eea: Pull complete [2021-05-12T22:11:40.075Z] 4c4ab2625f07: Pull complete [2021-05-12T22:11:41.075Z] f706445af74f: Verifying Checksum [2021-05-12T22:11:41.075Z] f706445af74f: Download complete [2021-05-12T22:11:43.037Z] ffd874e62e21: Pull complete [2021-05-12T22:11:43.037Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-12T22:11:43.037Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-12T22:11:43.037Z] ---> cfc18b08335c [2021-05-12T22:11:43.037Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-05-12T22:11:43.057Z] 0510c868ecb4: Verifying Checksum [2021-05-12T22:11:43.057Z] 0510c868ecb4: Download complete [2021-05-12T22:11:43.316Z] 20.10.0: Pulling from library/docker [2021-05-12T22:11:43.316Z] a3cc7d3b244e: Pulling fs layer [2021-05-12T22:11:43.316Z] 02a3295e0d61: Pulling fs layer [2021-05-12T22:11:43.316Z] 0f4f2e6d8100: Pulling fs layer [2021-05-12T22:11:43.316Z] 330b718f631f: Pulling fs layer [2021-05-12T22:11:43.316Z] a93816041522: Pulling fs layer [2021-05-12T22:11:43.316Z] bdb6da89ff94: Pulling fs layer [2021-05-12T22:11:43.316Z] 2a70c0c122f4: Pulling fs layer [2021-05-12T22:11:43.316Z] 330b718f631f: Waiting [2021-05-12T22:11:43.316Z] a93816041522: Waiting [2021-05-12T22:11:43.316Z] 2a70c0c122f4: Waiting [2021-05-12T22:11:43.316Z] bdb6da89ff94: Waiting [2021-05-12T22:11:43.316Z] 0f4f2e6d8100: Verifying Checksum [2021-05-12T22:11:43.316Z] 0f4f2e6d8100: Download complete [2021-05-12T22:11:43.316Z] 02a3295e0d61: Verifying Checksum [2021-05-12T22:11:43.316Z] 02a3295e0d61: Download complete [2021-05-12T22:11:43.316Z] a93816041522: Verifying Checksum [2021-05-12T22:11:43.316Z] a93816041522: Download complete [2021-05-12T22:11:43.316Z] a3cc7d3b244e: Verifying Checksum [2021-05-12T22:11:43.316Z] a3cc7d3b244e: Download complete [2021-05-12T22:11:43.316Z] bdb6da89ff94: Verifying Checksum [2021-05-12T22:11:43.316Z] bdb6da89ff94: Download complete [2021-05-12T22:11:43.316Z] 2a70c0c122f4: Verifying Checksum [2021-05-12T22:11:43.316Z] 2a70c0c122f4: Download complete [2021-05-12T22:11:44.313Z] a3cc7d3b244e: Pull complete [2021-05-12T22:11:44.909Z] 02a3295e0d61: Pull complete [2021-05-12T22:11:44.909Z] 330b718f631f: Verifying Checksum [2021-05-12T22:11:44.909Z] 330b718f631f: Download complete [2021-05-12T22:11:45.187Z] 0f4f2e6d8100: Pull complete [2021-05-12T22:11:48.586Z] 330b718f631f: Pull complete [2021-05-12T22:11:48.864Z] a93816041522: Pull complete [2021-05-12T22:11:49.141Z] bdb6da89ff94: Pull complete [2021-05-12T22:11:49.415Z] 2a70c0c122f4: Pull complete [2021-05-12T22:11:49.415Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-05-12T22:11:49.415Z] Status: Downloaded newer image for docker:20.10.0 [2021-05-12T22:11:49.707Z] 0510c868ecb4: Pull complete [2021-05-12T22:11:49.707Z] afea3b2eda06: Pull complete [2021-05-12T22:11:49.707Z] 7809a108b3ef: Pull complete [2021-05-12T22:11:55.109Z] f706445af74f: Pull complete [2021-05-12T22:11:55.109Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-12T22:11:55.109Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-12T22:11:55.109Z] ---> b068be0155e3 [2021-05-12T22:11:55.109Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-05-12T22:11:55.376Z] 20.10.0: Pulling from library/docker [2021-05-12T22:11:55.376Z] 05e7bc50f07f: Pulling fs layer [2021-05-12T22:11:55.376Z] 6db28d0fdbf6: Pulling fs layer [2021-05-12T22:11:55.376Z] 292df0bc6bf3: Pulling fs layer [2021-05-12T22:11:55.376Z] 2e060f4bd70b: Pulling fs layer [2021-05-12T22:11:55.376Z] 80e8d568a223: Pulling fs layer [2021-05-12T22:11:55.376Z] 8dc6ef1a942a: Pulling fs layer [2021-05-12T22:11:55.376Z] 2312dd95470a: Pulling fs layer [2021-05-12T22:11:55.376Z] 8dc6ef1a942a: Waiting [2021-05-12T22:11:55.376Z] 2312dd95470a: Waiting [2021-05-12T22:11:55.376Z] 2e060f4bd70b: Waiting [2021-05-12T22:11:55.376Z] 80e8d568a223: Waiting [2021-05-12T22:11:55.376Z] 292df0bc6bf3: Verifying Checksum [2021-05-12T22:11:55.376Z] 292df0bc6bf3: Download complete [2021-05-12T22:11:55.376Z] 6db28d0fdbf6: Verifying Checksum [2021-05-12T22:11:55.376Z] 6db28d0fdbf6: Download complete [2021-05-12T22:11:55.376Z] 05e7bc50f07f: Verifying Checksum [2021-05-12T22:11:55.376Z] 05e7bc50f07f: Download complete [2021-05-12T22:11:55.376Z] 80e8d568a223: Verifying Checksum [2021-05-12T22:11:55.376Z] 80e8d568a223: Download complete [2021-05-12T22:11:55.376Z] 8dc6ef1a942a: Verifying Checksum [2021-05-12T22:11:55.376Z] 8dc6ef1a942a: Download complete [2021-05-12T22:11:55.376Z] 2312dd95470a: Verifying Checksum [2021-05-12T22:11:55.376Z] 2312dd95470a: Download complete [2021-05-12T22:11:56.148Z] ---> e75be14ef992 [2021-05-12T22:11:56.148Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-12T22:11:56.148Z] ---> Running in 9d9ef80af86c [2021-05-12T22:11:56.148Z] Removing intermediate container 9d9ef80af86c [2021-05-12T22:11:56.148Z] ---> bee18fda2c4c [2021-05-12T22:11:56.148Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-05-12T22:11:56.421Z] ---> Running in f7ef5e000c0f [2021-05-12T22:11:56.809Z] 2e060f4bd70b: Verifying Checksum [2021-05-12T22:11:56.810Z] 2e060f4bd70b: Download complete [2021-05-12T22:11:57.761Z] 05e7bc50f07f: Pull complete [2021-05-12T22:11:57.879Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-12T22:11:58.032Z] 6db28d0fdbf6: Pull complete [2021-05-12T22:11:58.032Z] 292df0bc6bf3: Pull complete [2021-05-12T22:11:58.472Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-12T22:11:59.454Z] (1/5) Installing libsodium (1.0.18-r0) [2021-05-12T22:11:59.454Z] (2/5) Installing libzmq (4.3.3-r1) [2021-05-12T22:11:59.728Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-05-12T22:11:59.728Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-05-12T22:11:59.728Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-05-12T22:12:00.000Z] Executing busybox-1.32.1-r6.trigger [2021-05-12T22:12:00.000Z] OK: 139 MiB in 45 packages [2021-05-12T22:12:01.391Z] 2e060f4bd70b: Pull complete [2021-05-12T22:12:01.392Z] 80e8d568a223: Pull complete [2021-05-12T22:12:01.392Z] 8dc6ef1a942a: Pull complete [2021-05-12T22:12:01.392Z] 2312dd95470a: Pull complete [2021-05-12T22:12:01.392Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-05-12T22:12:01.392Z] Status: Downloaded newer image for docker:20.10.0 [2021-05-12T22:12:01.435Z] Removing intermediate container f7ef5e000c0f [2021-05-12T22:12:01.435Z] ---> 68b8b2ced77c [2021-05-12T22:12:01.435Z] Step 6/8 : WORKDIR /build [2021-05-12T22:12:01.435Z] ---> Running in 4d7bc56bafda [2021-05-12T22:12:01.756Z] Removing intermediate container 4d7bc56bafda [2021-05-12T22:12:01.756Z] ---> 138c7c0fca98 [2021-05-12T22:12:01.756Z] Step 7/8 : COPY go.mod . [2021-05-12T22:12:02.737Z] ---> 422f3c8957dd [2021-05-12T22:12:02.737Z] Step 8/8 : RUN go mod download [2021-05-12T22:12:02.737Z] ---> Running in 7b23f5a18af4 [2021-05-12T22:12:03.335Z] ---> ccf122403a74 [2021-05-12T22:12:03.335Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-12T22:12:03.335Z] ---> Running in bec95060911e [2021-05-12T22:12:03.335Z] Removing intermediate container bec95060911e [2021-05-12T22:12:03.335Z] ---> 7aba9d4eec94 [2021-05-12T22:12:03.335Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-05-12T22:12:03.601Z] ---> Running in 0b3cd62f0a1e [2021-05-12T22:12:04.559Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-12T22:12:05.137Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-12T22:12:05.717Z] (1/5) Installing libsodium (1.0.18-r0) [2021-05-12T22:12:05.717Z] (2/5) Installing libzmq (4.3.3-r1) [2021-05-12T22:12:05.717Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-05-12T22:12:05.982Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-05-12T22:12:05.982Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-05-12T22:12:05.982Z] Executing busybox-1.32.1-r6.trigger [2021-05-12T22:12:05.982Z] OK: 150 MiB in 45 packages [2021-05-12T22:12:06.941Z] Removing intermediate container 0b3cd62f0a1e [2021-05-12T22:12:06.941Z] ---> 758bb58c5165 [2021-05-12T22:12:06.941Z] Step 6/8 : WORKDIR /build [2021-05-12T22:12:06.941Z] ---> Running in 473c973209fa [2021-05-12T22:12:07.210Z] Removing intermediate container 473c973209fa [2021-05-12T22:12:07.210Z] ---> 20a0c6964df4 [2021-05-12T22:12:07.210Z] Step 7/8 : COPY go.mod . [2021-05-12T22:12:07.475Z] ---> f7ea695a9f31 [2021-05-12T22:12:07.475Z] Step 8/8 : RUN go mod download [2021-05-12T22:12:07.475Z] ---> Running in caa20c29fb4a [2021-05-12T22:12:29.554Z] Removing intermediate container 7b23f5a18af4 [2021-05-12T22:12:29.554Z] ---> e3b827eab077 [2021-05-12T22:12:29.554Z] Successfully built e3b827eab077 [2021-05-12T22:12:29.554Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-12T22:12:29.895Z] + docker inspect -f . ci-base-image-arm64 [2021-05-12T22:12:29.895Z] . [Pipeline] withDockerContainer [2021-05-12T22:12:30.148Z] prd-ubuntu18.04-docker-arm64-4c-16g-4927 does not seem to be running inside a container [2021-05-12T22:12:30.226Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/231 -v /w/workspace/app-functions-sdk-go/231:/w/workspace/app-functions-sdk-go/231:rw,z -v /w/workspace/app-functions-sdk-go/231@tmp:/w/workspace/app-functions-sdk-go/231@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-05-12T22:12:31.830Z] $ docker top c2fc60922f9fc7da0fa04a840ccea92381e9bd4f01cb966f9adffaeabf3cf0ba -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T22:12:32.805Z] + go version [2021-05-12T22:12:32.805Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-12T22:12:32.824Z] $ docker stop --time=1 c2fc60922f9fc7da0fa04a840ccea92381e9bd4f01cb966f9adffaeabf3cf0ba [2021-05-12T22:12:34.329Z] Removing intermediate container caa20c29fb4a [2021-05-12T22:12:34.329Z] ---> 76ce9ece1dd9 [2021-05-12T22:12:34.329Z] Successfully built 76ce9ece1dd9 [2021-05-12T22:12:34.329Z] Successfully tagged ci-base-image-x86_64:latest [2021-05-12T22:12:34.792Z] $ docker rm -f c2fc60922f9fc7da0fa04a840ccea92381e9bd4f01cb966f9adffaeabf3cf0ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-12T22:12:35.496Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-12T22:12:35.587Z] + docker inspect -f . ci-base-image-arm64 [2021-05-12T22:12:35.587Z] . [Pipeline] withDockerContainer [2021-05-12T22:12:35.812Z] . [2021-05-12T22:12:35.845Z] prd-ubuntu18.04-docker-arm64-4c-16g-4927 does not seem to be running inside a container [2021-05-12T22:12:35.922Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/231 -v /w/workspace/app-functions-sdk-go/231:/w/workspace/app-functions-sdk-go/231:rw,z -v /w/workspace/app-functions-sdk-go/231@tmp:/w/workspace/app-functions-sdk-go/231@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-05-12T22:12:37.474Z] $ docker top 7afe1c5ca043f007e2ae149d7a54579a4f2c2912a8531b074870b111a3727580 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer [2021-05-12T22:12:37.968Z] prd-centos7-docker-4c-2g-4928 does not seem to be running inside a container [2021-05-12T22:12:38.064Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/231 -v /w/workspace/app-functions-sdk-go/231:/w/workspace/app-functions-sdk-go/231:rw,z -v /w/workspace/app-functions-sdk-go/231@tmp:/w/workspace/app-functions-sdk-go/231@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-05-12T22:12:40.004Z] $ docker top bd9a08e8aef216203adaef22438933a193e3bc32e1f66ae553fdb2ae7d54d7a7 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-05-12T22:12:40.603Z] + go version [2021-05-12T22:12:40.791Z] + go mod tidy [2021-05-12T22:12:40.902Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-12T22:12:40.922Z] $ docker stop --time=1 bd9a08e8aef216203adaef22438933a193e3bc32e1f66ae553fdb2ae7d54d7a7 [2021-05-12T22:12:42.344Z] $ docker rm -f bd9a08e8aef216203adaef22438933a193e3bc32e1f66ae553fdb2ae7d54d7a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-12T22:12:43.171Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-12T22:12:43.171Z] . [Pipeline] withDockerContainer [2021-05-12T22:12:43.334Z] + make test [2021-05-12T22:12:43.335Z] make -C ./app-service-template build [2021-05-12T22:12:43.335Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/231/app-service-template' [2021-05-12T22:12:43.335Z] go mod tidy [2021-05-12T22:12:43.498Z] prd-centos7-docker-4c-2g-4928 does not seem to be running inside a container [2021-05-12T22:12:43.676Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/231 -v /w/workspace/app-functions-sdk-go/231:/w/workspace/app-functions-sdk-go/231:rw,z -v /w/workspace/app-functions-sdk-go/231@tmp:/w/workspace/app-functions-sdk-go/231@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-05-12T22:12:43.940Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.52 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-05-12T22:12:44.909Z] $ docker top 2e8705860288f448da0d2ee32beeb04e76abe63fcbfec00a82b781ed5f429d68 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T22:12:45.382Z] + go mod tidy [Pipeline] sh [2021-05-12T22:12:48.699Z] + make test [2021-05-12T22:12:48.699Z] make -C ./app-service-template build [2021-05-12T22:12:48.699Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/231/app-service-template' [2021-05-12T22:12:48.699Z] go mod tidy [2021-05-12T22:12:48.969Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.52 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-05-12T22:13:07.594Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/231/app-service-template' [2021-05-12T22:13:07.594Z] make -C ./app-service-template test [2021-05-12T22:13:07.594Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/231/app-service-template' [2021-05-12T22:13:07.594Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-05-12T22:13:16.309Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/231/app-service-template' [2021-05-12T22:13:16.309Z] make -C ./app-service-template test [2021-05-12T22:13:16.309Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/231/app-service-template' [2021-05-12T22:13:16.309Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-05-12T22:13:23.735Z] ok new-app-service 0.023s coverage: 47.8% of statements [2021-05-12T22:13:23.736Z] ? new-app-service/config [no test files] [2021-05-12T22:13:23.736Z] ok new-app-service/functions 0.053s [2021-05-12T22:13:23.736Z] CGO_ENABLED=1 go vet ./... [2021-05-12T22:13:33.890Z] gofmt -l . [2021-05-12T22:13:33.890Z] [ "`gofmt -l .`" = "" ] [2021-05-12T22:13:33.890Z] ./bin/test-go-mod-tidy.sh [2021-05-12T22:13:33.890Z] ./bin/test-attribution-txt.sh [2021-05-12T22:13:33.890Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/231/app-service-template' [2021-05-12T22:13:33.890Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-05-12T22:13:34.156Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-05-12T22:13:37.606Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.019s coverage: 56.5% of statements [2021-05-12T22:13:37.606Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.030s coverage: 92.5% of statements [2021-05-12T22:13:37.606Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-05-12T22:13:37.606Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.056s coverage: 61.5% of statements [2021-05-12T22:13:37.606Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-05-12T22:13:37.606Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.025s [2021-05-12T22:13:37.606Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.070s coverage: 75.4% of statements [2021-05-12T22:13:37.606Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-05-12T22:13:37.606Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-05-12T22:13:37.606Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-05-12T22:13:37.606Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-05-12T22:13:37.606Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-05-12T22:13:37.606Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-05-12T22:13:37.606Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.010s coverage: 97.0% of statements [2021-05-12T22:13:37.606Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-05-12T22:13:37.893Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.013s coverage: 10.5% of statements [2021-05-12T22:13:42.216Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.803s coverage: 76.9% of statements [2021-05-12T22:13:42.216Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-05-12T22:13:42.216Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.042s coverage: 18.4% of statements [2021-05-12T22:13:42.216Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.015s coverage: 27.3% of statements [2021-05-12T22:13:42.216Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-05-12T22:13:42.216Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-05-12T22:13:42.216Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.025s coverage: 51.4% of statements [2021-05-12T22:13:48.692Z] ok new-app-service 0.035s coverage: 47.8% of statements [2021-05-12T22:13:48.692Z] ? new-app-service/config [no test files] [2021-05-12T22:13:48.692Z] ok new-app-service/functions 0.032s [2021-05-12T22:13:48.692Z] CGO_ENABLED=1 go vet ./... [2021-05-12T22:14:08.886Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.094s coverage: 81.9% of statements [2021-05-12T22:14:08.886Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.013s coverage: 94.4% of statements [2021-05-12T22:14:08.886Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-12T22:14:08.886Z] gofmt -l . [2021-05-12T22:14:08.886Z] [ "`gofmt -l .`" = "" ] [2021-05-12T22:14:08.886Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-12T22:14:08.914Z] $ docker stop --time=1 2e8705860288f448da0d2ee32beeb04e76abe63fcbfec00a82b781ed5f429d68 [2021-05-12T22:14:10.739Z] $ docker rm -f 2e8705860288f448da0d2ee32beeb04e76abe63fcbfec00a82b781ed5f429d68 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-12T22:14:11.392Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-12T22:14:11.802Z] 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-05-12T22:14:12.564Z] ---> job-cost.sh [2021-05-12T22:14:12.564Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-qJrF [2021-05-12T22:14:15.516Z] gofmt -l . [2021-05-12T22:14:15.516Z] [ "`gofmt -l .`" = "" ] [2021-05-12T22:14:15.516Z] ./bin/test-go-mod-tidy.sh [2021-05-12T22:14:15.791Z] ./bin/test-attribution-txt.sh [2021-05-12T22:14:17.771Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/231/app-service-template' [2021-05-12T22:14:17.771Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-05-12T22:14:19.214Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-05-12T22:14:27.538Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.089s coverage: 56.5% of statements [2021-05-12T22:14:27.538Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.073s coverage: 92.5% of statements [2021-05-12T22:14:27.538Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-05-12T22:14:27.538Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.078s coverage: 61.5% of statements [2021-05-12T22:14:27.538Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-05-12T22:14:27.538Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.062s [2021-05-12T22:14:27.538Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.121s coverage: 75.4% of statements [2021-05-12T22:14:27.538Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-05-12T22:14:27.538Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-05-12T22:14:27.538Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-05-12T22:14:27.538Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-05-12T22:14:27.538Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-05-12T22:14:27.538Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-05-12T22:14:27.538Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.012s coverage: 97.0% of statements [2021-05-12T22:14:27.538Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-05-12T22:14:27.538Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.030s coverage: 10.5% of statements [2021-05-12T22:14:30.756Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-12T22:14:34.282Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.834s coverage: 76.9% of statements [2021-05-12T22:14:34.282Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-05-12T22:14:34.283Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.028s coverage: 18.4% of statements [2021-05-12T22:14:34.283Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.061s coverage: 27.3% of statements [2021-05-12T22:14:34.283Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-05-12T22:14:34.283Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-05-12T22:14:34.283Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.039s coverage: 51.4% of statements [2021-05-12T22:15:01.055Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.100s coverage: 81.9% of statements [2021-05-12T22:15:01.055Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.053s coverage: 94.4% of statements [2021-05-12T22:15:01.055Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-12T22:15:02.513Z] gofmt -l . [2021-05-12T22:15:02.513Z] [ "`gofmt -l .`" = "" ] [2021-05-12T22:15:02.961Z] lf-activate-venv(): INFO: Adding /tmp/venv-qJrF/bin to PATH [2021-05-12T22:15:02.961Z] INFO: No Stack... [2021-05-12T22:15:02.961Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-12T22:15:02.961Z] INFO: Archiving Costs [Pipeline] sh [2021-05-12T22:15:03.112Z] ./app-service-template/bin/test-go-mod-tidy.sh [2021-05-12T22:15:03.321Z] + cat /w/workspace/app-functions-sdk-go/231/archives/cost.csv [2021-05-12T22:15:03.321Z] + cut -d, -f6 [Pipeline] } [2021-05-12T22:15:03.411Z] $ docker stop --time=1 7afe1c5ca043f007e2ae149d7a54579a4f2c2912a8531b074870b111a3727580 [2021-05-12T22:15:05.493Z] $ docker rm -f 7afe1c5ca043f007e2ae149d7a54579a4f2c2912a8531b074870b111a3727580 [Pipeline] // withDockerContainer [Pipeline] lock [2021-05-12T22:15:06.061Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-231-stack-cost] [2021-05-12T22:15:06.070Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-231-stack-cost] did not exist. Created. [2021-05-12T22:15:06.070Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-231-stack-cost] [Pipeline] { [Pipeline] sh [Pipeline] unstash [Pipeline] sh [2021-05-12T22:15:06.405Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-12T22:15:06.438Z] Warning: overwriting stash ‘coverage-report’ [2021-05-12T22:15:06.512Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-12T22:15:06.710Z] Stashed 1 file(s) [Pipeline] } [2021-05-12T22:15:06.725Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-231-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-12T22:15:07.394Z] 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-05-12T22:15:08.055Z] ---> job-cost.sh [2021-05-12T22:15:08.055Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-6N4c [2021-05-12T22:15:47.227Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-12T22:17:09.005Z] lf-activate-venv(): INFO: Adding /tmp/venv-6N4c/bin to PATH [2021-05-12T22:17:09.005Z] INFO: No Stack... [2021-05-12T22:17:09.276Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-12T22:17:09.892Z] INFO: Archiving Costs [Pipeline] sh [2021-05-12T22:17:10.236Z] + cat /w/workspace/app-functions-sdk-go/231/archives/cost.csv [2021-05-12T22:17:10.236Z] + cut -d, -f6 [Pipeline] lock [2021-05-12T22:17:10.355Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-231-stack-cost] [2021-05-12T22:17:10.456Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-231-stack-cost] did not exist. Created. [2021-05-12T22:17:10.456Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-231-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-12T22:17:10.829Z] /w/workspace/app-functions-sdk-go/231@tmp/durable-b2267cd9/script.sh: 1: /w/workspace/app-functions-sdk-go/231@tmp/durable-b2267cd9/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-12T22:17:11.177Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-12T22:17:11.211Z] Warning: overwriting stash ‘stack-cost’ [2021-05-12T22:17:11.372Z] Stashed 1 file(s) [Pipeline] } [2021-05-12T22:17:11.387Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-231-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-05-12T22:17:12.194Z] provisioning config files... [2021-05-12T22:17:12.210Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config1911629111443565533tmp [Pipeline] { [Pipeline] sh [2021-05-12T22:17:12.558Z] + set +x [2021-05-12T22:17:12.558Z] + curl -s https://codecov.io/bash [2021-05-12T22:17:12.558Z] + bash -s -- [2021-05-12T22:17:12.856Z] [2021-05-12T22:17:12.856Z] _____ _ [2021-05-12T22:17:12.856Z] / ____| | | [2021-05-12T22:17:12.856Z] | | ___ __| | ___ ___ _____ __ [2021-05-12T22:17:12.856Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-12T22:17:12.856Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-12T22:17:12.856Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-12T22:17:12.856Z] Bash-1.0.2 [2021-05-12T22:17:12.856Z] [2021-05-12T22:17:12.856Z] [2021-05-12T22:17:12.856Z] ==> git version 2.24.3 found [2021-05-12T22:17:12.856Z] ==> 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-05-12T22:17:12.856Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-12T22:17:12.856Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-12T22:17:12.856Z] ==> Jenkins CI detected. [2021-05-12T22:17:12.856Z] project root: . [2021-05-12T22:17:12.856Z] --> token set from env [2021-05-12T22:17:12.856Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-12T22:17:12.856Z] ==> Running gcov in . (disable via -X gcov) [2021-05-12T22:17:13.165Z] ==> Python coveragepy not found [2021-05-12T22:17:13.165Z] ==> Searching for coverage reports in: [2021-05-12T22:17:13.165Z] + . [2021-05-12T22:17:13.165Z] -> Found 2 reports [2021-05-12T22:17:13.165Z] ==> Detecting git/mercurial file structure [2021-05-12T22:17:13.165Z] ==> Reading reports [2021-05-12T22:17:13.165Z] + ./app-service-template/coverage.out bytes=1055 [2021-05-12T22:17:13.165Z] + ./coverage.out bytes=86556 [2021-05-12T22:17:13.165Z] ==> Appending adjustments [2021-05-12T22:17:13.165Z] https://docs.codecov.io/docs/fixing-reports [2021-05-12T22:17:14.210Z] + Found adjustments [2021-05-12T22:17:14.210Z] ==> Gzipping contents [2021-05-12T22:17:14.210Z] 16K /tmp/codecov.VsSDue.gz [2021-05-12T22:17:14.210Z] ==> Uploading reports [2021-05-12T22:17:14.210Z] url: https://codecov.io [2021-05-12T22:17:14.210Z] query: branch=master&commit=7563e5ddaf4609d3782aa72276f202d5a5a084f0&build=231&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F231%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-12T22:17:14.210Z] -> Pinging Codecov [2021-05-12T22:17:14.210Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=master&commit=7563e5ddaf4609d3782aa72276f202d5a5a084f0&build=231&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F231%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-12T22:17:14.795Z] -> Uploading to [2021-05-12T22:17:14.795Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-12/3D8B5DFFC46A037C893635FACE044666/7563e5ddaf4609d3782aa72276f202d5a5a084f0/65d932a7-073e-4946-bd06-3ebdad7d1611.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210512%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210512T221714Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=50068d2df65e1aff8f712fbf614b481d0b15e74479330395c5f504cec1191d16 [2021-05-12T22:17:14.795Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-12T22:17:14.795Z] Dload Upload Total Spent Left Speed [2021-05-12T22:17:15.398Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15327 0 0 100 15327 0 33670 --:--:-- --:--:-- --:--:-- 33759 [2021-05-12T22:17:15.399Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/7563e5ddaf4609d3782aa72276f202d5a5a084f0 [Pipeline] } [2021-05-12T22:17:15.413Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-05-12T22:17:16.086Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-05-12T22:17:16.111Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-12T22:17:16.458Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-12T22:17:16.725Z] [2021-05-12T22:17:16.725Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-05-12T22:17:17.072Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-12T22:17:17.072Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-05-12T22:17:17.072Z] 188c0c94c7c5: Pulling fs layer [2021-05-12T22:17:17.072Z] 0ef7d3d256c8: Pulling fs layer [2021-05-12T22:17:17.072Z] de9db76c5a1d: Pulling fs layer [2021-05-12T22:17:17.072Z] 0eba1c9be4d2: Pulling fs layer [2021-05-12T22:17:17.072Z] 0d57e429df01: Pulling fs layer [2021-05-12T22:17:17.072Z] 4e4be7b47b0d: Pulling fs layer [2021-05-12T22:17:17.072Z] e1f770b5df2f: Pulling fs layer [2021-05-12T22:17:17.072Z] 85a0685a4137: Pulling fs layer [2021-05-12T22:17:17.072Z] 0d57e429df01: Waiting [2021-05-12T22:17:17.072Z] 0eba1c9be4d2: Waiting [2021-05-12T22:17:17.072Z] 4e4be7b47b0d: Waiting [2021-05-12T22:17:17.072Z] e1f770b5df2f: Waiting [2021-05-12T22:17:17.072Z] 85a0685a4137: Waiting [2021-05-12T22:17:17.072Z] de9db76c5a1d: Verifying Checksum [2021-05-12T22:17:17.072Z] de9db76c5a1d: Download complete [2021-05-12T22:17:17.072Z] 0ef7d3d256c8: Verifying Checksum [2021-05-12T22:17:17.072Z] 0ef7d3d256c8: Download complete [2021-05-12T22:17:17.072Z] 0d57e429df01: Download complete [2021-05-12T22:17:17.072Z] 4e4be7b47b0d: Verifying Checksum [2021-05-12T22:17:17.072Z] 4e4be7b47b0d: Download complete [2021-05-12T22:17:17.340Z] 188c0c94c7c5: Verifying Checksum [2021-05-12T22:17:17.340Z] 188c0c94c7c5: Download complete [2021-05-12T22:17:17.953Z] 188c0c94c7c5: Pull complete [2021-05-12T22:17:18.241Z] 0ef7d3d256c8: Pull complete [2021-05-12T22:17:18.241Z] de9db76c5a1d: Pull complete [2021-05-12T22:17:19.217Z] e1f770b5df2f: Verifying Checksum [2021-05-12T22:17:19.217Z] e1f770b5df2f: Download complete [2021-05-12T22:17:22.668Z] 0eba1c9be4d2: Verifying Checksum [2021-05-12T22:17:22.668Z] 0eba1c9be4d2: Download complete [2021-05-12T22:17:22.668Z] 85a0685a4137: Verifying Checksum [2021-05-12T22:17:22.668Z] 85a0685a4137: Download complete [2021-05-12T22:17:33.562Z] 0eba1c9be4d2: Pull complete [2021-05-12T22:17:33.562Z] 0d57e429df01: Pull complete [2021-05-12T22:17:33.562Z] 4e4be7b47b0d: Pull complete [2021-05-12T22:17:36.244Z] e1f770b5df2f: Pull complete [2021-05-12T22:17:46.387Z] 85a0685a4137: Pull complete [2021-05-12T22:17:46.387Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-05-12T22:17:46.387Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-12T22:17:46.387Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-05-12T22:17:46.698Z] prd-centos7-docker-4c-2g-4925 does not seem to be running inside a container [2021-05-12T22:17:46.780Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-05-12T22:17:48.284Z] $ docker top ec9312a9302d0d2a65a06d832dd3a4e6785c366fc5d37050132244f5824356af -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-12T22:17:48.494Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-05-12T22:17:48.824Z] + set -o pipefail [2021-05-12T22:17:48.824Z] + snyk monitor '--org=edgex-jenkins' [2021-05-12T22:18:03.943Z] [2021-05-12T22:18:03.943Z] Monitoring /w/workspace/ndry_app-functions-sdk-go_master (github.com/edgexfoundry/app-functions-sdk-go/v2)... [2021-05-12T22:18:03.943Z] [2021-05-12T22:18:03.943Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/835d22c1-ce8c-4b8f-b990-439baf3510ed [2021-05-12T22:18:03.943Z] [2021-05-12T22:18:03.943Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-05-12T22:18:03.943Z] [2021-05-12T22:18:03.943Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-05-12T22:18:03.943Z] [2021-05-12T22:18:03.943Z] [Pipeline] } [2021-05-12T22:18:03.970Z] $ docker stop --time=1 ec9312a9302d0d2a65a06d832dd3a4e6785c366fc5d37050132244f5824356af [2021-05-12T22:18:06.049Z] $ docker rm -f ec9312a9302d0d2a65a06d832dd3a4e6785c366fc5d37050132244f5824356af [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-05-12T22:18:07.192Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-12T22:18:07.212Z] provisioning config files... [2021-05-12T22:18:07.225Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config6705739740694618391tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-12T22:18:07.583Z] --> edgex-publish-swagger.sh [2021-05-12T22:18:07.583Z] === Publish openapi/v2 API === [2021-05-12T22:18:07.583Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-05-12T22:18:07.583Z] [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/ndry_app-functions-sdk-go_master/openapi/v2/app-functions-sdk.yaml] [2021-05-12T22:18:07.583Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-12T22:18:07.583Z] Dload Upload Total Spent Left Speed [2021-05-12T22:18:08.802Z] 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 10465 0:00:01 0:00:01 --:--:-- 10466 100 13052 0 0 100 13052 0 10464 0:00:01 0:00:01 --:--:-- 10466 [2021-05-12T22:18:08.802Z] [2021-05-12T22:18:08.802Z] [Pipeline] } [2021-05-12T22:18:08.813Z] 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-05-12T22:18:09.333Z] + git log --format=format:%s -1 7563e5ddaf4609d3782aa72276f202d5a5a084f0 [Pipeline] isUnix [Pipeline] sh [2021-05-12T22:18:09.661Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T22:18:09.661Z] . [Pipeline] withDockerContainer [2021-05-12T22:18:09.812Z] prd-centos7-docker-4c-2g-4925 does not seem to be running inside a container [2021-05-12T22:18:09.884Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-12T22:18:10.894Z] $ docker top 5695d1ccf8d1795f1ce12058b62274141211acbc043a89c9d438436c5fa2a268 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-12T22:18:11.083Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-12T22:18:11.083Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-12T22:18:11.454Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-12T22:18:11.461Z] $ docker exec 5695d1ccf8d1795f1ce12058b62274141211acbc043a89c9d438436c5fa2a268 ssh-agent [2021-05-12T22:18:11.672Z] SSH_AUTH_SOCK=/tmp/ssh-Zkfi4nRSBSO8/agent.13 [2021-05-12T22:18:11.672Z] SSH_AGENT_PID=19 [2021-05-12T22:18:11.682Z] Running ssh-add (command line suppressed) [2021-05-12T22:18:11.857Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_8289515556771198095.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_8289515556771198095.key) [2021-05-12T22:18:11.926Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-12T22:18:12.242Z] + git semver tag [2021-05-12T22:18:12.242Z] # -> Open(): unable to determine branch for HEAD [2021-05-12T22:18:12.242Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-05-12T22:18:12.242Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-05-12T22:18:12.242Z] # $SEMVER_REMOTE_NAME = origin [2021-05-12T22:18:12.242Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-12T22:18:12.242Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-12T22:18:12.242Z] # $SEMVER_BRANCH = master [2021-05-12T22:18:12.242Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-05-12T22:18:12.242Z] # 7563e5ddaf4609d3782aa72276f202d5a5a084f0 HEAD [2021-05-12T22:18:12.505Z] # -> Force: false [2021-05-12T22:18:12.505Z] # a97ccd969a706e0e057136bc4fc51e20ee32b67d refs/tags/v2.0.0-dev.59 [Pipeline] } [2021-05-12T22:18:12.522Z] $ docker exec --env ******** --env ******** 5695d1ccf8d1795f1ce12058b62274141211acbc043a89c9d438436c5fa2a268 ssh-agent -k [2021-05-12T22:18:12.665Z] unset SSH_AUTH_SOCK; [2021-05-12T22:18:12.665Z] unset SSH_AGENT_PID; [2021-05-12T22:18:12.666Z] echo Agent pid 19 killed; [2021-05-12T22:18:12.728Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-12T22:18:13.080Z] + git semver [Pipeline] } [2021-05-12T22:18:13.102Z] $ docker stop --time=1 5695d1ccf8d1795f1ce12058b62274141211acbc043a89c9d438436c5fa2a268 [2021-05-12T22:18:14.536Z] $ docker rm -f 5695d1ccf8d1795f1ce12058b62274141211acbc043a89c9d438436c5fa2a268 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-05-12T22:18:15.038Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-12T22:18:15.038Z] [2021-05-12T22:18:15.038Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-05-12T22:18:15.362Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-12T22:18:15.362Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-05-12T22:18:15.362Z] ab5ef0e58194: Pulling fs layer [2021-05-12T22:18:15.362Z] 9712f1f96733: Pulling fs layer [2021-05-12T22:18:15.362Z] 63f879dbbcfc: Pulling fs layer [2021-05-12T22:18:15.362Z] 0d9ebad4ef96: Pulling fs layer [2021-05-12T22:18:15.362Z] e9a5061849ea: Pulling fs layer [2021-05-12T22:18:15.362Z] d747dcd14b5f: Pulling fs layer [2021-05-12T22:18:15.362Z] 2de7ff778b66: Pulling fs layer [2021-05-12T22:18:15.362Z] e9a5061849ea: Waiting [2021-05-12T22:18:15.362Z] d747dcd14b5f: Waiting [2021-05-12T22:18:15.362Z] 2de7ff778b66: Waiting [2021-05-12T22:18:15.362Z] 0d9ebad4ef96: Waiting [2021-05-12T22:18:15.362Z] 9712f1f96733: Verifying Checksum [2021-05-12T22:18:15.362Z] 9712f1f96733: Download complete [2021-05-12T22:18:17.985Z] 63f879dbbcfc: Verifying Checksum [2021-05-12T22:18:17.985Z] 63f879dbbcfc: Download complete [2021-05-12T22:18:17.985Z] e9a5061849ea: Verifying Checksum [2021-05-12T22:18:17.985Z] e9a5061849ea: Download complete [2021-05-12T22:18:17.985Z] d747dcd14b5f: Verifying Checksum [2021-05-12T22:18:17.985Z] d747dcd14b5f: Download complete [2021-05-12T22:18:18.945Z] 2de7ff778b66: Verifying Checksum [2021-05-12T22:18:18.945Z] 2de7ff778b66: Download complete [2021-05-12T22:18:18.945Z] 0d9ebad4ef96: Verifying Checksum [2021-05-12T22:18:18.945Z] 0d9ebad4ef96: Download complete [2021-05-12T22:18:18.945Z] ab5ef0e58194: Verifying Checksum [2021-05-12T22:18:18.945Z] ab5ef0e58194: Download complete [2021-05-12T22:18:25.646Z] ab5ef0e58194: Pull complete [2021-05-12T22:18:25.646Z] 9712f1f96733: Pull complete [2021-05-12T22:18:28.220Z] 63f879dbbcfc: Pull complete [2021-05-12T22:18:38.442Z] 0d9ebad4ef96: Pull complete [2021-05-12T22:18:39.853Z] e9a5061849ea: Pull complete [2021-05-12T22:18:40.150Z] d747dcd14b5f: Pull complete [2021-05-12T22:18:43.602Z] 2de7ff778b66: Pull complete [2021-05-12T22:18:43.602Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-05-12T22:18:43.602Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-12T22:18:43.602Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-05-12T22:18:43.824Z] prd-centos7-docker-4c-2g-4925 does not seem to be running inside a container [2021-05-12T22:18:43.887Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-05-12T22:18:47.928Z] $ docker top 3af76686cbbfb84f85208482ab82496f0bfef16ac28e733f5d33ec24a8792c66 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-05-12T22:18:48.161Z] provisioning config files... [2021-05-12T22:18:48.172Z] copy managed file [sigul-config] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config1151866466905724787tmp [2021-05-12T22:18:48.190Z] copy managed file [sigul-password] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config6426491093140856755tmp [2021-05-12T22:18:48.205Z] copy managed file [sigul-pki] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config313489467562162720tmp [Pipeline] { [Pipeline] echo [2021-05-12T22:18:48.228Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T22:18:48.546Z] ---> sigul-configuration.sh [2021-05-12T22:18:48.546Z] gpg: directory `/root/.gnupg' created [2021-05-12T22:18:48.546Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-05-12T22:18:48.546Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-05-12T22:18:48.546Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-05-12T22:18:48.546Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-05-12T22:18:48.546Z] gpg: CAST5 encrypted data [2021-05-12T22:18:48.809Z] gpg: encrypted with 1 passphrase [2021-05-12T22:18:48.809Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-05-12T22:18:49.117Z] + mkdir /home/jenkins [2021-05-12T22:18:49.117Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-05-12T22:18:49.436Z] + 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-05-12T22:18:49.456Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T22:18:49.784Z] ---> sigul-install.sh [2021-05-12T22:18:59.848Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-05-12T22:19:00.981Z] + git tag --list [2021-05-12T22:19:00.981Z] v0.1.0 [2021-05-12T22:19:00.981Z] v0.1.1 [2021-05-12T22:19:00.981Z] v1.0.0 [2021-05-12T22:19:00.981Z] v1.1.0 [2021-05-12T22:19:00.981Z] v1.2.0 [2021-05-12T22:19:00.981Z] v1.3.0 [2021-05-12T22:19:00.981Z] v1.3.1 [2021-05-12T22:19:00.981Z] v1.3.1-dev.1 [2021-05-12T22:19:00.981Z] v1.3.2-dev.1 [2021-05-12T22:19:00.981Z] v2.0.0-dev.1 [2021-05-12T22:19:00.981Z] v2.0.0-dev.10 [2021-05-12T22:19:00.981Z] v2.0.0-dev.11 [2021-05-12T22:19:00.981Z] v2.0.0-dev.12 [2021-05-12T22:19:00.981Z] v2.0.0-dev.13 [2021-05-12T22:19:00.981Z] v2.0.0-dev.14 [2021-05-12T22:19:00.981Z] v2.0.0-dev.15 [2021-05-12T22:19:00.981Z] v2.0.0-dev.16 [2021-05-12T22:19:00.981Z] v2.0.0-dev.17 [2021-05-12T22:19:00.981Z] v2.0.0-dev.18 [2021-05-12T22:19:00.981Z] v2.0.0-dev.19 [2021-05-12T22:19:00.981Z] v2.0.0-dev.2 [2021-05-12T22:19:00.981Z] v2.0.0-dev.20 [2021-05-12T22:19:00.981Z] v2.0.0-dev.21 [2021-05-12T22:19:00.981Z] v2.0.0-dev.22 [2021-05-12T22:19:00.981Z] v2.0.0-dev.23 [2021-05-12T22:19:00.981Z] v2.0.0-dev.24 [2021-05-12T22:19:00.981Z] v2.0.0-dev.25 [2021-05-12T22:19:00.981Z] v2.0.0-dev.26 [2021-05-12T22:19:00.981Z] v2.0.0-dev.27 [2021-05-12T22:19:00.981Z] v2.0.0-dev.28 [2021-05-12T22:19:00.981Z] v2.0.0-dev.29 [2021-05-12T22:19:00.981Z] v2.0.0-dev.3 [2021-05-12T22:19:00.981Z] v2.0.0-dev.30 [2021-05-12T22:19:00.981Z] v2.0.0-dev.31 [2021-05-12T22:19:00.981Z] v2.0.0-dev.32 [2021-05-12T22:19:00.981Z] v2.0.0-dev.33 [2021-05-12T22:19:00.981Z] v2.0.0-dev.34 [2021-05-12T22:19:00.981Z] v2.0.0-dev.35 [2021-05-12T22:19:00.981Z] v2.0.0-dev.36 [2021-05-12T22:19:00.981Z] v2.0.0-dev.37 [2021-05-12T22:19:00.981Z] v2.0.0-dev.38 [2021-05-12T22:19:00.981Z] v2.0.0-dev.39 [2021-05-12T22:19:00.981Z] v2.0.0-dev.4 [2021-05-12T22:19:00.981Z] v2.0.0-dev.40 [2021-05-12T22:19:00.981Z] v2.0.0-dev.41 [2021-05-12T22:19:00.981Z] v2.0.0-dev.42 [2021-05-12T22:19:00.981Z] v2.0.0-dev.43 [2021-05-12T22:19:00.981Z] v2.0.0-dev.44 [2021-05-12T22:19:00.981Z] v2.0.0-dev.45 [2021-05-12T22:19:00.981Z] v2.0.0-dev.46 [2021-05-12T22:19:00.981Z] v2.0.0-dev.47 [2021-05-12T22:19:00.981Z] v2.0.0-dev.48 [2021-05-12T22:19:00.981Z] v2.0.0-dev.49 [2021-05-12T22:19:00.981Z] v2.0.0-dev.5 [2021-05-12T22:19:00.981Z] v2.0.0-dev.50 [2021-05-12T22:19:00.981Z] v2.0.0-dev.51 [2021-05-12T22:19:00.981Z] v2.0.0-dev.52 [2021-05-12T22:19:00.981Z] v2.0.0-dev.53 [2021-05-12T22:19:00.981Z] v2.0.0-dev.54 [2021-05-12T22:19:00.981Z] v2.0.0-dev.55 [2021-05-12T22:19:00.981Z] v2.0.0-dev.56 [2021-05-12T22:19:00.981Z] v2.0.0-dev.57 [2021-05-12T22:19:00.981Z] v2.0.0-dev.58 [2021-05-12T22:19:00.981Z] v2.0.0-dev.59 [2021-05-12T22:19:00.981Z] v2.0.0-dev.6 [2021-05-12T22:19:00.981Z] v2.0.0-dev.7 [2021-05-12T22:19:00.981Z] v2.0.0-dev.8 [2021-05-12T22:19:00.981Z] v2.0.0-dev.9 [Pipeline] sh [2021-05-12T22:19:01.322Z] + lftools sign git-tag v2.0.0-dev.59 [2021-05-12T22:19:03.276Z] Signing Git tag with Sigul... [2021-05-12T22:19:03.276Z] Signing v2.0.0-dev.59 [Pipeline] echo [2021-05-12T22:19:04.238Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T22:19:04.551Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-05-12T22:19:04.563Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-05-12T22:19:04.648Z] $ docker stop --time=1 3af76686cbbfb84f85208482ab82496f0bfef16ac28e733f5d33ec24a8792c66 [2021-05-12T22:19:06.327Z] $ docker rm -f 3af76686cbbfb84f85208482ab82496f0bfef16ac28e733f5d33ec24a8792c66 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-05-12T22:19:07.191Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T22:19:07.191Z] . [Pipeline] withDockerContainer [2021-05-12T22:19:07.344Z] prd-centos7-docker-4c-2g-4925 does not seem to be running inside a container [2021-05-12T22:19:07.415Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-12T22:19:08.432Z] $ docker top 1be28d6ba9e21a74fe79fdee263f88206a151ef19d76f45d9e1c0d2bab29eccd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-12T22:19:09.095Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-12T22:19:09.095Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-12T22:19:09.372Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-12T22:19:09.380Z] $ docker exec 1be28d6ba9e21a74fe79fdee263f88206a151ef19d76f45d9e1c0d2bab29eccd ssh-agent [2021-05-12T22:19:09.597Z] SSH_AUTH_SOCK=/tmp/ssh-iTo2MaZBQz1A/agent.12 [2021-05-12T22:19:09.597Z] SSH_AGENT_PID=18 [2021-05-12T22:19:09.607Z] Running ssh-add (command line suppressed) [2021-05-12T22:19:09.757Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_8675251121713934365.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_8675251121713934365.key) [2021-05-12T22:19:09.823Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-12T22:19:10.490Z] + git semver bump pre [2021-05-12T22:19:10.776Z] # -> Open(): unable to determine branch for HEAD [2021-05-12T22:19:10.776Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-05-12T22:19:10.776Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-05-12T22:19:10.776Z] # $SEMVER_REMOTE_NAME = origin [2021-05-12T22:19:10.776Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-12T22:19:10.776Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-12T22:19:10.776Z] # $SEMVER_BRANCH = master [2021-05-12T22:19:10.776Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-05-12T22:19:10.776Z] 2.0.0-dev.60 [Pipeline] } [2021-05-12T22:19:10.796Z] $ docker exec --env ******** --env ******** 1be28d6ba9e21a74fe79fdee263f88206a151ef19d76f45d9e1c0d2bab29eccd ssh-agent -k [2021-05-12T22:19:11.200Z] unset SSH_AUTH_SOCK; [2021-05-12T22:19:11.212Z] unset SSH_AGENT_PID; [2021-05-12T22:19:11.213Z] echo Agent pid 18 killed; [2021-05-12T22:19:11.326Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-12T22:19:11.684Z] + git semver [Pipeline] } [2021-05-12T22:19:11.722Z] $ docker stop --time=1 1be28d6ba9e21a74fe79fdee263f88206a151ef19d76f45d9e1c0d2bab29eccd [2021-05-12T22:19:13.590Z] $ docker rm -f 1be28d6ba9e21a74fe79fdee263f88206a151ef19d76f45d9e1c0d2bab29eccd [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-05-12T22:19:14.267Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-12T22:19:14.267Z] . [Pipeline] withDockerContainer [2021-05-12T22:19:14.607Z] prd-centos7-docker-4c-2g-4925 does not seem to be running inside a container [2021-05-12T22:19:14.702Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-12T22:19:16.210Z] $ docker top 86e70a962472f6f0ca5d94e11798abbfbab78e5aadf2f25f0299fee999981170 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-12T22:19:16.381Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-12T22:19:16.381Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-12T22:19:16.828Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-12T22:19:16.838Z] $ docker exec 86e70a962472f6f0ca5d94e11798abbfbab78e5aadf2f25f0299fee999981170 ssh-agent [2021-05-12T22:19:17.087Z] SSH_AUTH_SOCK=/tmp/ssh-ibLihMmMayhW/agent.11 [2021-05-12T22:19:17.087Z] SSH_AGENT_PID=16 [2021-05-12T22:19:17.097Z] Running ssh-add (command line suppressed) [2021-05-12T22:19:17.333Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4210518865541099230.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4210518865541099230.key) [2021-05-12T22:19:17.535Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-12T22:19:17.884Z] + git semver push [2021-05-12T22:19:17.884Z] # -> Open(): unable to determine branch for HEAD [2021-05-12T22:19:17.884Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-05-12T22:19:17.884Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-05-12T22:19:17.884Z] # $SEMVER_REMOTE_NAME = origin [2021-05-12T22:19:17.884Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-12T22:19:17.884Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-12T22:19:17.884Z] # $SEMVER_BRANCH = master [2021-05-12T22:19:17.884Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-05-12T22:19:23.279Z] $ docker exec --env ******** --env ******** 86e70a962472f6f0ca5d94e11798abbfbab78e5aadf2f25f0299fee999981170 ssh-agent -k [2021-05-12T22:19:23.417Z] unset SSH_AUTH_SOCK; [2021-05-12T22:19:23.421Z] unset SSH_AGENT_PID; [2021-05-12T22:19:23.421Z] echo Agent pid 16 killed; [2021-05-12T22:19:23.487Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-12T22:19:23.924Z] + git semver [Pipeline] } [2021-05-12T22:19:23.949Z] $ docker stop --time=1 86e70a962472f6f0ca5d94e11798abbfbab78e5aadf2f25f0299fee999981170 [2021-05-12T22:19:25.478Z] $ docker rm -f 86e70a962472f6f0ca5d94e11798abbfbab78e5aadf2f25f0299fee999981170 [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-05-12T22:19:26.251Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T22:19:26.844Z] ---> package-listing.sh [2021-05-12T22:19:26.844Z] ++ facter osfamily [2021-05-12T22:19:26.844Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-12T22:19:27.109Z] + OS_FAMILY=redhat [2021-05-12T22:19:27.109Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_master [2021-05-12T22:19:27.109Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-12T22:19:27.109Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-12T22:19:27.109Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-12T22:19:27.109Z] + PACKAGES=/tmp/packages_start.txt [2021-05-12T22:19:27.109Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-05-12T22:19:27.109Z] + PACKAGES=/tmp/packages_end.txt [2021-05-12T22:19:27.109Z] + case "${OS_FAMILY}" in [2021-05-12T22:19:27.109Z] + rpm -qa [2021-05-12T22:19:27.109Z] + sort [2021-05-12T22:19:32.447Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-12T22:19:32.447Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-12T22:19:32.447Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-12T22:19:32.447Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-05-12T22:19:32.447Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_master/archives/ [2021-05-12T22:19:32.447Z] + 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-05-12T22:19:32.463Z] 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-05-12T22:19:32.768Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-12T22:19:33.386Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-12T22:19:33.386Z] [2021-05-12T22:19:33.386Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-12T22:19:33.729Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-12T22:19:33.729Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-12T22:19:33.729Z] df20fa9351a1: Pulling fs layer [2021-05-12T22:19:33.729Z] 36b3adc4ff6f: Pulling fs layer [2021-05-12T22:19:33.729Z] 8ad3a11d3b57: Pulling fs layer [2021-05-12T22:19:33.729Z] 46f8f816bc3b: Pulling fs layer [2021-05-12T22:19:33.729Z] 93b61091891f: Pulling fs layer [2021-05-12T22:19:33.729Z] 93b9cdb0e59b: Pulling fs layer [2021-05-12T22:19:33.729Z] 5e14af77c1be: Pulling fs layer [2021-05-12T22:19:33.729Z] 01666e4c0597: Pulling fs layer [2021-05-12T22:19:33.729Z] aa168da1d23b: Pulling fs layer [2021-05-12T22:19:33.729Z] 93b61091891f: Waiting [2021-05-12T22:19:33.729Z] 93b9cdb0e59b: Waiting [2021-05-12T22:19:33.729Z] 01666e4c0597: Waiting [2021-05-12T22:19:33.729Z] 5e14af77c1be: Waiting [2021-05-12T22:19:33.729Z] aa168da1d23b: Waiting [2021-05-12T22:19:33.729Z] 46f8f816bc3b: Waiting [2021-05-12T22:19:34.059Z] 36b3adc4ff6f: Verifying Checksum [2021-05-12T22:19:34.059Z] 36b3adc4ff6f: Download complete [2021-05-12T22:19:34.059Z] 46f8f816bc3b: Verifying Checksum [2021-05-12T22:19:34.059Z] 46f8f816bc3b: Download complete [2021-05-12T22:19:34.059Z] df20fa9351a1: Verifying Checksum [2021-05-12T22:19:34.059Z] df20fa9351a1: Download complete [2021-05-12T22:19:34.059Z] 93b9cdb0e59b: Verifying Checksum [2021-05-12T22:19:34.059Z] 93b9cdb0e59b: Download complete [2021-05-12T22:19:34.420Z] 5e14af77c1be: Verifying Checksum [2021-05-12T22:19:34.420Z] 5e14af77c1be: Download complete [2021-05-12T22:19:34.420Z] 01666e4c0597: Verifying Checksum [2021-05-12T22:19:34.420Z] 01666e4c0597: Download complete [2021-05-12T22:19:34.420Z] 93b61091891f: Download complete [2021-05-12T22:19:35.022Z] df20fa9351a1: Pull complete [2021-05-12T22:19:35.302Z] 36b3adc4ff6f: Pull complete [2021-05-12T22:19:35.302Z] 8ad3a11d3b57: Verifying Checksum [2021-05-12T22:19:35.302Z] 8ad3a11d3b57: Download complete [2021-05-12T22:19:37.452Z] 8ad3a11d3b57: Pull complete [2021-05-12T22:19:37.756Z] 46f8f816bc3b: Pull complete [2021-05-12T22:19:38.838Z] 93b61091891f: Pull complete [2021-05-12T22:19:39.108Z] 93b9cdb0e59b: Pull complete [2021-05-12T22:19:39.377Z] 5e14af77c1be: Pull complete [2021-05-12T22:19:39.377Z] 01666e4c0597: Pull complete [2021-05-12T22:19:40.363Z] aa168da1d23b: Verifying Checksum [2021-05-12T22:19:40.363Z] aa168da1d23b: Download complete [2021-05-12T22:19:55.532Z] aa168da1d23b: Pull complete [2021-05-12T22:19:55.532Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-12T22:19:55.532Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-12T22:19:55.532Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-12T22:19:55.800Z] prd-centos7-docker-4c-2g-4925 does not seem to be running inside a container [2021-05-12T22:19:55.905Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-12T22:19:59.209Z] $ docker top 2e53bd9a0a1d6320139d1589abd74282d8d6ae700330961239f1164e0c5574d4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-12T22:19:59.686Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-12T22:20:00.073Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-12T22:20:00.467Z] + ls /var/log/sa-host [2021-05-12T22:20:00.467Z] + sadf -c /var/log/sa-host/sa12 [2021-05-12T22:20:00.467Z] file_magic: OK [2021-05-12T22:20:00.467Z] HZ: Using current value: 100 [2021-05-12T22:20:00.467Z] file_header: OK [2021-05-12T22:20:00.467Z] 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-05-12T22:20:00.467Z] Statistics: [2021-05-12T22:20:00.467Z] 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-05-12T22:20:00.467Z] File successfully converted to sysstat format version 12.2.1 [2021-05-12T22:20:00.467Z] + sadf -c /var/log/sa-host/sa23 [2021-05-12T22:20:00.467Z] file_magic: OK [2021-05-12T22:20:00.467Z] HZ: Using current value: 100 [2021-05-12T22:20:00.467Z] file_header: OK [2021-05-12T22:20:00.467Z] 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-05-12T22:20:00.467Z] Statistics: [2021-05-12T22:20:00.467Z] Hnuu...uuuununununu... [2021-05-12T22:20:00.467Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-12T22:20:01.066Z] provisioning config files... [2021-05-12T22:20:01.084Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config1272917499345193814tmp [Pipeline] { [Pipeline] echo [2021-05-12T22:20:01.114Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T22:20:01.442Z] ---> create-netrc.sh [Pipeline] } [2021-05-12T22:20:01.726Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-12T22:20:01.756Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T22:20:02.118Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-12T22:20:02.134Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T22:20:02.452Z] ---> sudo-logs.sh [2021-05-12T22:20:02.453Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-12T22:20:02.484Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T22:20:02.793Z] ---> job-cost.sh [2021-05-12T22:20:02.794Z] lf-activate-venv: SKIPPING [2021-05-12T22:20:02.794Z] DEBUG: total: 0.20999999344348907 [2021-05-12T22:20:02.794Z] INFO: Retrieving Stack Cost... [2021-05-12T22:20:04.192Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-12T22:20:04.781Z] INFO: Archiving Costs [Pipeline] echo [2021-05-12T22:20:04.804Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-12T22:20:05.466Z] ---> logs-deploy.sh [2021-05-12T22:20:05.466Z] lf-activate-venv: SKIPPING [2021-05-12T22:20:05.466Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/master/231 [2021-05-12T22:20:05.467Z] INFO: archiving workspace using pattern(s): [2021-05-12T22:20:08.075Z] Archives upload complete. [2021-05-12T22:20:08.075Z] INFO: archiving logs to Nexus