Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 366815e075ca920fdef8b28e3aace48c97a68e84 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cf598ef4eee878cf4fd68936879ff849bf9f782f Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cf598ef4eee878cf4fd68936879ff849bf9f782f using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cf598ef4eee878cf4fd68936879ff849bf9f782f (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cf598ef4eee878cf4fd68936879ff849bf9f782f # timeout=10 Commit message: "Merge pull request #334 from ernestojeda/archives-permissions" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-functions-sdk-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2235’ Running on prd-centos7-docker-4c-2g-2237 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 366815e075ca920fdef8b28e3aace48c97a68e84 (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 366815e075ca920fdef8b28e3aace48c97a68e84 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 (#809)" > git rev-list --no-walk a648416e6d3f6707ffc9863655059a2112f0c16b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:14:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:14:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:14:54 ========================================================= 20:14:54 EdgeX Global Pipelines Version Info 20:14:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:14:56 ------------------- 20:14:56 stable info: 20:14:56 ------------------- 20:14:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:14:56 Commit SHA: cf598ef4eee878cf4fd68936879ff849bf9f782f 20:14:56 Message: update stable to v1.0.190 20:14:57 ------------------- 20:14:57 experimental info: 20:14:57 ------------------- 20:14:57 Commited By: **** collab-it+edgex@linuxfoundation.org 20:14:57 Commit SHA: cf598ef4eee878cf4fd68936879ff849bf9f782f 20:14:57 Message: update experimental to v1.0.190 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:14:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 20:14:57 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 20:14:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:14:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:14:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:14:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 20:14:57 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 20:14:58 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 20:14:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:14:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:14:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:14:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 20:14:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:14:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:14:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 20:14:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 20:14:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:14:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:14:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:14:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:14:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 20:14:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 20:14:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:14:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:14:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 20:14:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:14:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 20:14:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 20:14:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 20:14:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 366815e075ca920fdef8b28e3aace48c97a68e84 [Pipeline] echo 20:14:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 366815e [Pipeline] echo 20:14:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:14:59 + git log --format=format:%s -1 366815e075ca920fdef8b28e3aace48c97a68e84 [Pipeline] echo 20:14:59 GIT_COMMIT: 366815e075ca920fdef8b28e3aace48c97a68e84, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 (#809) [Pipeline] echo 20:14:59 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 20:15:00 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:15:01 20:15:01 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:15:01 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:15:02 latest: Pulling from edgex-devops/git-semver 20:15:02 31603596830f: Pulling fs layer 20:15:02 54011a49482f: Pulling fs layer 20:15:02 a6820b24f6d8: Pulling fs layer 20:15:02 f581987b2513: Pulling fs layer 20:15:02 f581987b2513: Waiting 20:15:02 54011a49482f: Verifying Checksum 20:15:02 54011a49482f: Download complete 20:15:03 31603596830f: Verifying Checksum 20:15:03 31603596830f: Download complete 20:15:03 f581987b2513: Verifying Checksum 20:15:03 f581987b2513: Download complete 20:15:03 a6820b24f6d8: Verifying Checksum 20:15:03 a6820b24f6d8: Download complete 20:15:04 31603596830f: Pull complete 20:15:04 54011a49482f: Pull complete 20:15:06 a6820b24f6d8: Pull complete 20:15:07 f581987b2513: Pull complete 20:15:07 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 20:15:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:15:07 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:15:07 prd-centos7-docker-4c-2g-2237 does not seem to be running inside a container 20:15:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:15:11 $ docker top aa2b6da187d47f7ed5491e19e9c3b9fca86142be141ee7f8269f55a1ab2bdb45 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:15:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:15:11 [ssh-agent] Looking for ssh-agent implementation... 20:15:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:15:12 $ docker exec aa2b6da187d47f7ed5491e19e9c3b9fca86142be141ee7f8269f55a1ab2bdb45 ssh-agent 20:15:13 SSH_AUTH_SOCK=/tmp/ssh-qBOQuoQQ64h5/agent.11 20:15:13 SSH_AGENT_PID=16 20:15:13 Running ssh-add (command line suppressed) 20:15:13 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_9180548435285409027.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_9180548435285409027.key) 20:15:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:15:14 + git tag --points-at HEAD [Pipeline] } 20:15:14 $ docker exec --env ******** --env ******** aa2b6da187d47f7ed5491e19e9c3b9fca86142be141ee7f8269f55a1ab2bdb45 ssh-agent -k 20:15:15 unset SSH_AUTH_SOCK; 20:15:15 unset SSH_AGENT_PID; 20:15:15 echo Agent pid 16 killed; 20:15:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:15:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:15:15 [ssh-agent] Looking for ssh-agent implementation... 20:15:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:15:15 $ docker exec aa2b6da187d47f7ed5491e19e9c3b9fca86142be141ee7f8269f55a1ab2bdb45 ssh-agent 20:15:16 SSH_AUTH_SOCK=/tmp/ssh-8W2CjxqfYpOI/agent.45 20:15:16 SSH_AGENT_PID=51 20:15:16 Running ssh-add (command line suppressed) 20:15:16 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_1810460296831002421.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_1810460296831002421.key) 20:15:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:15:17 + git semver init 20:15:17 # -> Open(): unable to determine branch for HEAD 20:15:17 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git 20:15:17 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master 20:15:17 # $SEMVER_REMOTE_NAME = origin 20:15:17 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:15:17 # $SEMVER_USER_NAME = edgex-jenkins 20:15:17 # $SEMVER_BRANCH = master 20:15:17 # $SEMVER_TEMP = /tmp/semver-830971011 20:15:17 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 20:15:21 # '/tmp/semver-830971011' -> '/w/workspace/ndry_app-functions-sdk-go_master/.semver' 20:15:21 # -> Force: false 20:15:21 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } 20:15:21 $ docker exec --env ******** --env ******** aa2b6da187d47f7ed5491e19e9c3b9fca86142be141ee7f8269f55a1ab2bdb45 ssh-agent -k 20:15:21 unset SSH_AUTH_SOCK; 20:15:21 unset SSH_AGENT_PID; 20:15:21 echo Agent pid 51 killed; 20:15:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:15:22 + git semver [Pipeline] } 20:15:22 $ docker stop --time=1 aa2b6da187d47f7ed5491e19e9c3b9fca86142be141ee7f8269f55a1ab2bdb45 20:15:24 $ docker rm -f aa2b6da187d47f7ed5491e19e9c3b9fca86142be141ee7f8269f55a1ab2bdb45 [Pipeline] // withDockerContainer [Pipeline] sh 20:15:25 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:15:26 Stashed 1 file(s) [Pipeline] echo 20:15:26 [edgeXSemver]: initialized semver on version 2.0.0-dev.52 [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 20:15:41 Still waiting to schedule task 20:15:41 Waiting for next available executor on ‘centos7-docker-4c-2g’ 20:15:41 Still waiting to schedule task 20:15:41 ‘prd-ubuntu18.04-docker-arm64-4c-16g-2236’ is offline 20:17:30 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2238 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws 20:17:30 Running in /w/workspace/app-functions-sdk-go/222 [Pipeline] { [Pipeline] checkout 20:17:36 using credential edgex-jenkins-ssh 20:17:36 Cloning the remote Git repository 20:17:36 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 20:17:36 > git init /w/workspace/app-functions-sdk-go/222 # timeout=10 20:17:36 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 20:17:36 > git --version # timeout=10 20:17:36 > git --version # 'git version 2.17.1' 20:17:36 using GIT_SSH to set credentials SSH Credentials for GitHub 20:17:37 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:17:40 Checking out Revision 366815e075ca920fdef8b28e3aace48c97a68e84 (master) 20:17:40 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 20:17:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:17:40 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 20:17:40 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 20:17:40 using GIT_SSH to set credentials SSH Credentials for GitHub 20:17:40 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 20:17:40 > git config core.sparsecheckout # timeout=10 20:17:40 > git checkout -f 366815e075ca920fdef8b28e3aace48c97a68e84 # timeout=10 20:17:42 Running on prd-centos7-docker-4c-2g-2239 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws 20:17:42 Running in /w/workspace/app-functions-sdk-go/222 [Pipeline] { [Pipeline] checkout 20:17:45 using credential edgex-jenkins-ssh 20:17:45 Cloning the remote Git repository 20:17:45 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 (#809)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:17:45 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 20:17:45 > git init /w/workspace/app-functions-sdk-go/222 # timeout=10 20:17:45 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 20:17:45 > git --version # timeout=10 20:17:45 > git --version # 'git version 2.24.3' 20:17:45 using GIT_SSH to set credentials SSH Credentials for GitHub 20:17:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:17:46 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 20:17:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:17:46 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 20:17:46 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 20:17:46 using GIT_SSH to set credentials SSH Credentials for GitHub 20:17:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 20:17:47 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json 20:17:47 Checking out Revision 366815e075ca920fdef8b28e3aace48c97a68e84 (master) [Pipeline] sh 20:17:47 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 20:17:47 + true 20:17:47 + sudo service docker restart 20:17:47 > git config core.sparsecheckout # timeout=10 20:17:47 > git checkout -f 366815e075ca920fdef8b28e3aace48c97a68e84 # timeout=10 [Pipeline] unstash [Pipeline] echo 20:17:50 ========================================================= 20:17:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 20:17:50 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:17:50 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 (#809)" 20:17:51 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:17:52 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 20:17:52 Sending build context to Docker daemon 19.48MB 20:17:52 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 20:17:52 Step 2/8 : FROM ${BASE} 20:17:52 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 20:17:52 + sudo service docker restart 20:17:52 + true 20:17:52 Redirecting to /bin/systemctl restart docker.service 20:17:52 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:17:52 5f621e34cdf4: Pulling fs layer 20:17:52 a4357932f1b6: Pulling fs layer 20:17:52 18c013af1878: Pulling fs layer 20:17:52 00ac8860ef70: Pulling fs layer 20:17:52 63d7cb157983: Pulling fs layer 20:17:52 b116817d02f9: Pulling fs layer 20:17:52 745a02a5169b: Pulling fs layer 20:17:52 63d7cb157983: Waiting 20:17:52 b116817d02f9: Waiting 20:17:52 745a02a5169b: Waiting 20:17:52 00ac8860ef70: Waiting 20:17:52 18c013af1878: Download complete 20:17:52 a4357932f1b6: Verifying Checksum 20:17:52 a4357932f1b6: Download complete 20:17:52 63d7cb157983: Download complete 20:17:52 b116817d02f9: Verifying Checksum 20:17:52 b116817d02f9: Download complete 20:17:52 5f621e34cdf4: Verifying Checksum 20:17:52 5f621e34cdf4: Download complete 20:17:53 5f621e34cdf4: Pull complete 20:17:53 a4357932f1b6: Pull complete [Pipeline] unstash [Pipeline] echo 20:17:54 ========================================================= 20:17:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 20:17:54 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:17:54 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 20:17:54 18c013af1878: Pull complete 20:17:55 Sending build context to Docker daemon 19.48MB 20:17:55 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 20:17:55 Step 2/8 : FROM ${BASE} 20:17:55 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 20:17:55 188c0c94c7c5: Pulling fs layer 20:17:55 0ef7d3d256c8: Pulling fs layer 20:17:55 de9db76c5a1d: Pulling fs layer 20:17:55 bca2f99d35d6: Pulling fs layer 20:17:55 93359f2a8cfa: Pulling fs layer 20:17:55 7c6f9722023f: Pulling fs layer 20:17:55 a35cf1a2eb13: Pulling fs layer 20:17:55 93359f2a8cfa: Waiting 20:17:55 7c6f9722023f: Waiting 20:17:55 a35cf1a2eb13: Waiting 20:17:55 bca2f99d35d6: Waiting 20:17:55 de9db76c5a1d: Verifying Checksum 20:17:55 de9db76c5a1d: Download complete 20:17:55 745a02a5169b: Verifying Checksum 20:17:55 745a02a5169b: Download complete 20:17:55 0ef7d3d256c8: Verifying Checksum 20:17:55 0ef7d3d256c8: Download complete 20:17:55 93359f2a8cfa: Verifying Checksum 20:17:55 93359f2a8cfa: Download complete 20:17:55 7c6f9722023f: Verifying Checksum 20:17:55 7c6f9722023f: Download complete 20:17:55 188c0c94c7c5: Verifying Checksum 20:17:55 188c0c94c7c5: Pull complete 20:17:55 0ef7d3d256c8: Pull complete 20:17:55 de9db76c5a1d: Pull complete 20:17:57 00ac8860ef70: Verifying Checksum 20:17:57 00ac8860ef70: Download complete 20:17:57 a35cf1a2eb13: Verifying Checksum 20:17:57 a35cf1a2eb13: Download complete 20:17:58 bca2f99d35d6: Verifying Checksum 20:17:58 bca2f99d35d6: Download complete 20:18:03 bca2f99d35d6: Pull complete 20:18:03 93359f2a8cfa: Pull complete 20:18:03 7c6f9722023f: Pull complete 20:18:07 00ac8860ef70: Pull complete 20:18:07 63d7cb157983: Pull complete 20:18:07 b116817d02f9: Pull complete 20:18:10 a35cf1a2eb13: Pull complete 20:18:10 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 20:18:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 20:18:10 ---> a62c8e92a672 20:18:10 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 20:18:10 20.10.0: Pulling from library/docker 20:18:10 05e7bc50f07f: Pulling fs layer 20:18:10 6db28d0fdbf6: Pulling fs layer 20:18:10 292df0bc6bf3: Pulling fs layer 20:18:10 2e060f4bd70b: Pulling fs layer 20:18:10 80e8d568a223: Pulling fs layer 20:18:10 8dc6ef1a942a: Pulling fs layer 20:18:10 2312dd95470a: Pulling fs layer 20:18:10 2e060f4bd70b: Waiting 20:18:10 80e8d568a223: Waiting 20:18:10 8dc6ef1a942a: Waiting 20:18:10 2312dd95470a: Waiting 20:18:10 292df0bc6bf3: Download complete 20:18:10 6db28d0fdbf6: Verifying Checksum 20:18:10 6db28d0fdbf6: Download complete 20:18:10 80e8d568a223: Verifying Checksum 20:18:10 80e8d568a223: Download complete 20:18:10 05e7bc50f07f: Download complete 20:18:10 8dc6ef1a942a: Verifying Checksum 20:18:10 8dc6ef1a942a: Download complete 20:18:10 2312dd95470a: Verifying Checksum 20:18:10 2312dd95470a: Download complete 20:18:11 05e7bc50f07f: Pull complete 20:18:11 6db28d0fdbf6: Pull complete 20:18:11 292df0bc6bf3: Pull complete 20:18:11 2e060f4bd70b: Verifying Checksum 20:18:11 2e060f4bd70b: Download complete 20:18:12 745a02a5169b: Pull complete 20:18:12 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 20:18:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 20:18:12 ---> b7e6874047d6 20:18:12 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 20:18:12 20.10.0: Pulling from library/docker 20:18:12 a3cc7d3b244e: Pulling fs layer 20:18:12 02a3295e0d61: Pulling fs layer 20:18:12 0f4f2e6d8100: Pulling fs layer 20:18:12 330b718f631f: Pulling fs layer 20:18:12 a93816041522: Pulling fs layer 20:18:12 bdb6da89ff94: Pulling fs layer 20:18:12 2a70c0c122f4: Pulling fs layer 20:18:12 330b718f631f: Waiting 20:18:12 a93816041522: Waiting 20:18:12 bdb6da89ff94: Waiting 20:18:12 2a70c0c122f4: Waiting 20:18:12 0f4f2e6d8100: Verifying Checksum 20:18:12 0f4f2e6d8100: Download complete 20:18:12 02a3295e0d61: Download complete 20:18:12 a3cc7d3b244e: Verifying Checksum 20:18:12 a3cc7d3b244e: Download complete 20:18:12 a93816041522: Verifying Checksum 20:18:12 a93816041522: Download complete 20:18:12 2a70c0c122f4: Verifying Checksum 20:18:12 2a70c0c122f4: Download complete 20:18:12 bdb6da89ff94: Verifying Checksum 20:18:12 bdb6da89ff94: Download complete 20:18:13 a3cc7d3b244e: Pull complete 20:18:14 02a3295e0d61: Pull complete 20:18:14 330b718f631f: Download complete 20:18:14 0f4f2e6d8100: Pull complete 20:18:15 2e060f4bd70b: Pull complete 20:18:15 80e8d568a223: Pull complete 20:18:15 8dc6ef1a942a: Pull complete 20:18:15 2312dd95470a: Pull complete 20:18:15 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 20:18:15 Status: Downloaded newer image for docker:20.10.0 20:18:16 ---> 57a30445980c 20:18:16 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:18:16 ---> Running in ec092f147780 20:18:17 Removing intermediate container ec092f147780 20:18:17 ---> 8c78f9c7fa88 20:18:17 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 20:18:17 ---> Running in 2e961de41e29 20:18:17 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 20:18:18 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 20:18:18 (1/5) Installing libsodium (1.0.18-r0) 20:18:18 (2/5) Installing libzmq (4.3.3-r0) 20:18:18 (3/5) Installing pkgconf (1.7.2-r0) 20:18:18 (4/5) Installing libsodium-dev (1.0.18-r0) 20:18:19 330b718f631f: Pull complete 20:18:19 a93816041522: Pull complete 20:18:19 (5/5) Installing zeromq-dev (4.3.3-r0) 20:18:19 Executing busybox-1.31.1-r19.trigger 20:18:19 OK: 167 MiB in 44 packages 20:18:19 bdb6da89ff94: Pull complete 20:18:19 2a70c0c122f4: Pull complete 20:18:19 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 20:18:19 Status: Downloaded newer image for docker:20.10.0 20:18:19 Removing intermediate container 2e961de41e29 20:18:19 ---> 6c8f2e05940f 20:18:19 Step 6/8 : WORKDIR /build 20:18:20 ---> Running in d2845def5bb3 20:18:20 Removing intermediate container d2845def5bb3 20:18:20 ---> 4607314e6222 20:18:20 Step 7/8 : COPY go.mod . 20:18:20 ---> 65f082b71714 20:18:20 Step 8/8 : RUN go mod download 20:18:20 ---> Running in dfeb7e495015 20:18:26 ---> 14b6377b7cbb 20:18:26 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:18:26 ---> Running in 7dca2509fbb4 20:18:26 Removing intermediate container 7dca2509fbb4 20:18:26 ---> d57b536174b6 20:18:26 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 20:18:26 ---> Running in 75adadb2bb6d 20:18:27 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 20:18:28 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 20:18:28 (1/5) Installing libsodium (1.0.18-r0) 20:18:29 (2/5) Installing libzmq (4.3.3-r0) 20:18:29 (3/5) Installing pkgconf (1.7.2-r0) 20:18:29 (4/5) Installing libsodium-dev (1.0.18-r0) 20:18:29 (5/5) Installing zeromq-dev (4.3.3-r0) 20:18:29 Executing busybox-1.31.1-r19.trigger 20:18:29 OK: 144 MiB in 44 packages 20:18:30 Removing intermediate container 75adadb2bb6d 20:18:30 ---> 0995c846c33a 20:18:30 Step 6/8 : WORKDIR /build 20:18:30 ---> Running in cbeb328ad5df 20:18:31 Removing intermediate container cbeb328ad5df 20:18:31 ---> 4bdb45efe13d 20:18:31 Step 7/8 : COPY go.mod . 20:18:32 ---> 78aa27ec42d3 20:18:32 Step 8/8 : RUN go mod download 20:18:32 ---> Running in 013508986d30 20:18:42 Removing intermediate container dfeb7e495015 20:18:42 ---> 787aff5eaf84 20:18:42 Successfully built 787aff5eaf84 20:18:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:18:42 + docker inspect -f . ci-base-image-x86_64 20:18:42 . [Pipeline] withDockerContainer 20:18:42 prd-centos7-docker-4c-2g-2239 does not seem to be running inside a container 20:18:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/222 -v /w/workspace/app-functions-sdk-go/222:/w/workspace/app-functions-sdk-go/222:rw,z -v /w/workspace/app-functions-sdk-go/222@tmp:/w/workspace/app-functions-sdk-go/222@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 20:18:43 $ docker top 637e2c712412c7547dbc0bd488dc62692d07e5b0d28bd35a2ad7263c15a4a66b -eo pid,comm [Pipeline] { [Pipeline] sh 20:18:43 + go version 20:18:43 go version go1.15.5 linux/amd64 [Pipeline] } 20:18:43 $ docker stop --time=1 637e2c712412c7547dbc0bd488dc62692d07e5b0d28bd35a2ad7263c15a4a66b 20:18:45 $ docker rm -f 637e2c712412c7547dbc0bd488dc62692d07e5b0d28bd35a2ad7263c15a4a66b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:18:45 + docker inspect -f . ci-base-image-x86_64 20:18:45 . [Pipeline] withDockerContainer 20:18:45 prd-centos7-docker-4c-2g-2239 does not seem to be running inside a container 20:18:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/222 -v /w/workspace/app-functions-sdk-go/222:/w/workspace/app-functions-sdk-go/222:rw,z -v /w/workspace/app-functions-sdk-go/222@tmp:/w/workspace/app-functions-sdk-go/222@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 20:18:46 $ docker top 2eb8798ac9f6dada0260e0d9f35fbde246ad18ef4ae0ca5ced45348cbe9796d5 -eo pid,comm [Pipeline] { [Pipeline] sh 20:18:47 + make test 20:18:47 make -C ./app-service-template build 20:18:47 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/222/app-service-template' 20:18:47 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.14 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service 20:18:59 Removing intermediate container 013508986d30 20:18:59 ---> 09d58b2bb1c9 20:18:59 Successfully built 09d58b2bb1c9 20:18:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:18:59 + docker inspect -f . ci-base-image-arm64 20:18:59 . [Pipeline] withDockerContainer 20:18:59 prd-ubuntu18.04-docker-arm64-4c-16g-2238 does not seem to be running inside a container 20:18:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/222 -v /w/workspace/app-functions-sdk-go/222:/w/workspace/app-functions-sdk-go/222:rw,z -v /w/workspace/app-functions-sdk-go/222@tmp:/w/workspace/app-functions-sdk-go/222@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:19:01 $ docker top e6b2ef81cc3d10e928166e54ed38b6ad2ba39042b29f90b5687298ea3ac84720 -eo pid,comm [Pipeline] { [Pipeline] sh 20:19:02 + go version 20:19:02 go version go1.15.5 linux/arm64 20:19:02 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/222/app-service-template' 20:19:02 make -C ./app-service-template test 20:19:02 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/222/app-service-template' 20:19:02 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [Pipeline] } 20:19:02 $ docker stop --time=1 e6b2ef81cc3d10e928166e54ed38b6ad2ba39042b29f90b5687298ea3ac84720 20:19:04 $ docker rm -f e6b2ef81cc3d10e928166e54ed38b6ad2ba39042b29f90b5687298ea3ac84720 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:19:04 + docker inspect -f . ci-base-image-arm64 20:19:04 . [Pipeline] withDockerContainer 20:19:05 prd-ubuntu18.04-docker-arm64-4c-16g-2238 does not seem to be running inside a container 20:19:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/222 -v /w/workspace/app-functions-sdk-go/222:/w/workspace/app-functions-sdk-go/222:rw,z -v /w/workspace/app-functions-sdk-go/222@tmp:/w/workspace/app-functions-sdk-go/222@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:19:06 $ docker top 0e5232e5a8db75d51224741ee4c749269f859227d8086f593df871e66c7a307e -eo pid,comm [Pipeline] { [Pipeline] sh 20:19:07 + make test 20:19:07 make -C ./app-service-template build 20:19:07 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/222/app-service-template' 20:19:07 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.14 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service 20:19:09 ok new-app-service 0.016s coverage: 47.8% of statements 20:19:09 ? new-app-service/config [no test files] 20:19:09 ok new-app-service/functions 0.011s 20:19:09 CGO_ENABLED=1 go vet ./... 20:19:12 gofmt -l . 20:19:12 [ "`gofmt -l .`" = "" ] 20:19:12 ./bin/test-go-mod-tidy.sh 20:19:12 ./bin/test-attribution-txt.sh 20:19:13 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/222/app-service-template' 20:19:13 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:19:13 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 20:19:17 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.023s coverage: 55.8% of statements 20:19:17 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.024s coverage: 92.5% of statements 20:19:17 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 20:19:17 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.056s coverage: 61.5% of statements 20:19:17 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 20:19:17 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.017s 20:19:17 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.028s coverage: 75.4% of statements 20:19:17 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 20:19:17 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 20:19:17 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 20:19:17 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 20:19:17 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 20:19:17 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 20:19:17 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.005s coverage: 97.0% of statements 20:19:17 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 20:19:17 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.017s coverage: 10.5% of statements 20:19:20 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.738s coverage: 78.4% of statements 20:19:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 20:19:20 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.008s coverage: 18.4% of statements 20:19:20 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.011s coverage: 27.3% of statements 20:19:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 20:19:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 20:19:20 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.017s coverage: 71.7% of statements 20:19:46 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/222/app-service-template' 20:19:46 make -C ./app-service-template test 20:19:46 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/222/app-service-template' 20:19:46 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 20:19:47 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.043s coverage: 81.9% of statements 20:19:47 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.008s coverage: 94.4% of statements 20:19:47 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:19:47 gofmt -l . 20:19:47 [ "`gofmt -l .`" = "" ] 20:19:47 ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } 20:19:47 $ docker stop --time=1 2eb8798ac9f6dada0260e0d9f35fbde246ad18ef4ae0ca5ced45348cbe9796d5 20:19:48 $ docker rm -f 2eb8798ac9f6dada0260e0d9f35fbde246ad18ef4ae0ca5ced45348cbe9796d5 [Pipeline] // withDockerContainer [Pipeline] sh 20:19:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:19:49 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 20:19:50 ---> job-cost.sh 20:19:50 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-axlG 20:20:05 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 20:20:08 ok new-app-service 0.038s coverage: 47.8% of statements 20:20:08 ? new-app-service/config [no test files] 20:20:08 ok new-app-service/functions 0.026s 20:20:08 CGO_ENABLED=1 go vet ./... 20:20:17 gofmt -l . 20:20:17 [ "`gofmt -l .`" = "" ] 20:20:17 ./bin/test-go-mod-tidy.sh 20:20:17 ./bin/test-attribution-txt.sh 20:20:18 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/222/app-service-template' 20:20:18 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:20:19 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 20:20:29 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.071s coverage: 55.8% of statements 20:20:29 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.036s coverage: 92.5% of statements 20:20:29 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 20:20:29 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.112s coverage: 61.5% of statements 20:20:29 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 20:20:29 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.040s 20:20:29 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.119s coverage: 75.4% of statements 20:20:29 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 20:20:29 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 20:20:29 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 20:20:29 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 20:20:29 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 20:20:29 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 20:20:29 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.041s coverage: 97.0% of statements 20:20:29 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 20:20:29 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.043s coverage: 10.5% of statements 20:20:32 lf-activate-venv(): INFO: Adding /tmp/venv-axlG/bin to PATH 20:20:32 INFO: No Stack... 20:20:32 INFO: Retrieving Pricing Info for: v1-standard-2 20:20:33 INFO: Archiving Costs [Pipeline] sh 20:20:33 + cat /w/workspace/app-functions-sdk-go/222/archives/cost.csv 20:20:33 + cut -d, -f6 [Pipeline] lock 20:20:33 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-222-stack-cost] 20:20:33 Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-222-stack-cost] did not exist. Created. 20:20:33 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-222-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:20:33 + echo total: 0.029999999329447746 [Pipeline] stash 20:20:34 Stashed 1 file(s) [Pipeline] } 20:20:34 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-222-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:20:36 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.874s coverage: 78.4% of statements 20:20:36 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 20:20:36 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.024s coverage: 18.4% of statements 20:20:36 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.038s coverage: 27.3% of statements 20:20:36 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 20:20:36 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 20:20:36 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.037s coverage: 71.7% of statements 20:21:03 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.081s coverage: 81.9% of statements 20:21:03 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.025s coverage: 94.4% of statements 20:21:03 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:21:04 gofmt -l . 20:21:05 [ "`gofmt -l .`" = "" ] 20:21:05 ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } 20:21:06 $ docker stop --time=1 0e5232e5a8db75d51224741ee4c749269f859227d8086f593df871e66c7a307e 20:21:08 $ docker rm -f 0e5232e5a8db75d51224741ee4c749269f859227d8086f593df871e66c7a307e [Pipeline] // withDockerContainer [Pipeline] sh 20:21:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:21:09 Warning: overwriting stash ‘coverage-report’ 20:21:10 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 20:21:10 ---> job-cost.sh 20:21:10 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-6oL4 20:21:49 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 20:23:11 lf-activate-venv(): INFO: Adding /tmp/venv-6oL4/bin to PATH 20:23:11 INFO: No Stack... 20:23:11 INFO: Retrieving Pricing Info for: lf-standard-4 20:23:11 INFO: Archiving Costs [Pipeline] sh 20:23:11 + cut -d, -f6 20:23:11 + cat /w/workspace/app-functions-sdk-go/222/archives/cost.csv [Pipeline] lock 20:23:11 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-222-stack-cost] 20:23:11 Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-222-stack-cost] did not exist. Created. 20:23:11 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-222-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:23:12 /w/workspace/app-functions-sdk-go/222@tmp/durable-4daee28c/script.sh: 1: /w/workspace/app-functions-sdk-go/222@tmp/durable-4daee28c/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 20:23:12 + echo total: 0.20999999344348907 [Pipeline] stash 20:23:12 Warning: overwriting stash ‘stack-cost’ 20:23:12 Stashed 1 file(s) [Pipeline] } 20:23:12 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-222-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 20:23:13 provisioning config files... 20:23:13 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config7939433026623347918tmp [Pipeline] { [Pipeline] sh 20:23:13 + set +x 20:23:13 + curl -s https://codecov.io/bash 20:23:13 + bash -s -- 20:23:14 20:23:14 _____ _ 20:23:14 / ____| | | 20:23:14 | | ___ __| | ___ ___ _____ __ 20:23:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:23:14 | |___| (_) | (_| | __/ (_| (_) \ V / 20:23:14 \_____\___/ \__,_|\___|\___\___/ \_/ 20:23:14 Bash-1.0.2 20:23:14 20:23:14 20:23:14 ==> git version 2.24.3 found 20:23:14 ==> 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 20:23:14 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 20:23:14 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 20:23:14 ==> Jenkins CI detected. 20:23:14 project root: . 20:23:14 --> token set from env 20:23:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:23:14 ==> Running gcov in . (disable via -X gcov) 20:23:14 ==> Python coveragepy not found 20:23:14 ==> Searching for coverage reports in: 20:23:14 + . 20:23:14 -> Found 2 reports 20:23:14 ==> Detecting git/mercurial file structure 20:23:14 ==> Reading reports 20:23:14 + ./app-service-template/coverage.out bytes=1055 20:23:14 + ./coverage.out bytes=86827 20:23:14 ==> Appending adjustments 20:23:14 https://docs.codecov.io/docs/fixing-reports 20:23:15 + Found adjustments 20:23:15 ==> Gzipping contents 20:23:15 16K /tmp/codecov.AJPHoH.gz 20:23:15 ==> Uploading reports 20:23:15 url: https://codecov.io 20:23:15 query: branch=master&commit=366815e075ca920fdef8b28e3aace48c97a68e84&build=222&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F222%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:23:15 -> Pinging Codecov 20:23:15 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=master&commit=366815e075ca920fdef8b28e3aace48c97a68e84&build=222&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F222%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:23:16 -> Uploading to 20:23:16 https://storage.googleapis.com/codecov/v4/raw/2021-04-28/3D8B5DFFC46A037C893635FACE044666/366815e075ca920fdef8b28e3aace48c97a68e84/ba29ce84-6f3b-4272-9d3c-8b016089fbd1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210428%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210428T202316Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7343e58dc9864894b5794154176d5a2147ebe341116428b89f17aba42b2d88c6 20:23:16 % Total % Received % Xferd Average Speed Time Time Time Current 20:23:16 Dload Upload Total Spent Left Speed 20:23:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15276 0 0 100 15276 0 19770 --:--:-- --:--:-- --:--:-- 19787 20:23:17 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/366815e075ca920fdef8b28e3aace48c97a68e84 [Pipeline] } 20:23:17 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 20:23:18 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 20:23:18 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:23:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:23:18 20:23:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 20:23:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:23:19 1.410.4: Pulling from edgex-devops/edgex-snyk-go 20:23:19 188c0c94c7c5: Pulling fs layer 20:23:19 0ef7d3d256c8: Pulling fs layer 20:23:19 de9db76c5a1d: Pulling fs layer 20:23:19 0eba1c9be4d2: Pulling fs layer 20:23:19 0d57e429df01: Pulling fs layer 20:23:19 4e4be7b47b0d: Pulling fs layer 20:23:19 e1f770b5df2f: Pulling fs layer 20:23:19 85a0685a4137: Pulling fs layer 20:23:19 0eba1c9be4d2: Waiting 20:23:19 0d57e429df01: Waiting 20:23:19 e1f770b5df2f: Waiting 20:23:19 85a0685a4137: Waiting 20:23:19 4e4be7b47b0d: Waiting 20:23:19 de9db76c5a1d: Verifying Checksum 20:23:19 de9db76c5a1d: Download complete 20:23:19 0ef7d3d256c8: Verifying Checksum 20:23:19 0ef7d3d256c8: Download complete 20:23:19 0d57e429df01: Download complete 20:23:19 4e4be7b47b0d: Verifying Checksum 20:23:19 4e4be7b47b0d: Download complete 20:23:20 188c0c94c7c5: Download complete 20:23:21 188c0c94c7c5: Pull complete 20:23:22 0ef7d3d256c8: Pull complete 20:23:22 e1f770b5df2f: Verifying Checksum 20:23:22 e1f770b5df2f: Download complete 20:23:22 de9db76c5a1d: Pull complete 20:23:28 0eba1c9be4d2: Verifying Checksum 20:23:28 0eba1c9be4d2: Download complete 20:23:29 85a0685a4137: Verifying Checksum 20:23:29 85a0685a4137: Download complete 20:23:42 0eba1c9be4d2: Pull complete 20:23:42 0d57e429df01: Pull complete 20:23:42 4e4be7b47b0d: Pull complete 20:23:44 e1f770b5df2f: Pull complete 20:23:57 85a0685a4137: Pull complete 20:23:57 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 20:23:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:23:57 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 20:23:58 prd-centos7-docker-4c-2g-2237 does not seem to be running inside a container 20:23:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 20:24:01 $ docker top 41b5026d38f1562a20355be1929138e5b44ae9094570e090fe66251cd350cc11 -eo pid,comm [Pipeline] { [Pipeline] echo 20:24:02 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 20:24:02 + set -o pipefail 20:24:02 + snyk monitor '--org=edgex-jenkins' 20:24:17 20:24:17 Monitoring /w/workspace/ndry_app-functions-sdk-go_master (github.com/edgexfoundry/app-functions-sdk-go/v2)... 20:24:17 20:24:17 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/21c4eb56-45d9-463a-add2-b16cfcecb514 20:24:17 20:24:17 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 20:24:17 20:24:17 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 20:24:17 20:24:17 [Pipeline] } 20:24:18 $ docker stop --time=1 41b5026d38f1562a20355be1929138e5b44ae9094570e090fe66251cd350cc11 20:24:21 $ docker rm -f 41b5026d38f1562a20355be1929138e5b44ae9094570e090fe66251cd350cc11 [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 20:24:22 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:24:22 provisioning config files... 20:24:22 copy managed file [swaggerhub-api-key] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config2491836456912068983tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:24:23 --> edgex-publish-swagger.sh 20:24:23 === Publish openapi/v2 API === 20:24:23 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 20:24:23 [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/ndry_app-functions-sdk-go_master/openapi/v2/app-functions-sdk.yaml] 20:24:23 % Total % Received % Xferd Average Speed Time Time Time Current 20:24:23 Dload Upload Total Spent Left Speed 20:24:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13052 0 0 100 13052 0 11785 0:00:01 0:00:01 --:--:-- 11811 100 13052 0 0 100 13052 0 11782 0:00:01 0:00:01 --:--:-- 11801 20:24:24 20:24:24 [Pipeline] } 20:24:24 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 20:24:25 + git log --format=format:%s -1 366815e075ca920fdef8b28e3aace48c97a68e84 [Pipeline] isUnix [Pipeline] sh 20:24:25 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:24:25 . [Pipeline] withDockerContainer 20:24:26 prd-centos7-docker-4c-2g-2237 does not seem to be running inside a container 20:24:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:24:28 $ docker top 8595d810266494f46fb99fd5670bb2c6db93b44dc8736805b7c43f4db6757855 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:24:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:24:28 [ssh-agent] Looking for ssh-agent implementation... 20:24:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:24:29 $ docker exec 8595d810266494f46fb99fd5670bb2c6db93b44dc8736805b7c43f4db6757855 ssh-agent 20:24:30 SSH_AUTH_SOCK=/tmp/ssh-XnI146YxVI3t/agent.11 20:24:30 SSH_AGENT_PID=16 20:24:30 Running ssh-add (command line suppressed) 20:24:31 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_6373391762147710687.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_6373391762147710687.key) 20:24:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:24:32 + git semver tag 20:24:32 # -> Open(): unable to determine branch for HEAD 20:24:32 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git 20:24:32 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master 20:24:32 # $SEMVER_REMOTE_NAME = origin 20:24:32 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:24:32 # $SEMVER_USER_NAME = edgex-jenkins 20:24:32 # $SEMVER_BRANCH = master 20:24:32 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver 20:24:32 # 366815e075ca920fdef8b28e3aace48c97a68e84 HEAD 20:24:32 # -> Force: false 20:24:32 # 813ce7c3e4d732faa86a01cd7af812cbb9ed7ef3 refs/tags/v2.0.0-dev.52 [Pipeline] } 20:24:32 $ docker exec --env ******** --env ******** 8595d810266494f46fb99fd5670bb2c6db93b44dc8736805b7c43f4db6757855 ssh-agent -k 20:24:33 unset SSH_AUTH_SOCK; 20:24:33 unset SSH_AGENT_PID; 20:24:33 echo Agent pid 16 killed; 20:24:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:24:34 + git semver [Pipeline] } 20:24:34 $ docker stop --time=1 8595d810266494f46fb99fd5670bb2c6db93b44dc8736805b7c43f4db6757855 20:24:36 $ docker rm -f 8595d810266494f46fb99fd5670bb2c6db93b44dc8736805b7c43f4db6757855 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 20:24:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:24:37 20:24:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 20:24:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:24:38 0.23.1-centos7: Pulling from edgex-lftools 20:24:38 ab5ef0e58194: Pulling fs layer 20:24:38 9712f1f96733: Pulling fs layer 20:24:38 63f879dbbcfc: Pulling fs layer 20:24:38 0d9ebad4ef96: Pulling fs layer 20:24:38 e9a5061849ea: Pulling fs layer 20:24:38 d747dcd14b5f: Pulling fs layer 20:24:38 2de7ff778b66: Pulling fs layer 20:24:38 e9a5061849ea: Waiting 20:24:38 d747dcd14b5f: Waiting 20:24:38 2de7ff778b66: Waiting 20:24:38 0d9ebad4ef96: Waiting 20:24:38 9712f1f96733: Verifying Checksum 20:24:38 9712f1f96733: Download complete 20:24:41 63f879dbbcfc: Verifying Checksum 20:24:41 63f879dbbcfc: Download complete 20:24:42 e9a5061849ea: Verifying Checksum 20:24:42 e9a5061849ea: Download complete 20:24:42 d747dcd14b5f: Verifying Checksum 20:24:42 d747dcd14b5f: Download complete 20:24:42 0d9ebad4ef96: Verifying Checksum 20:24:42 0d9ebad4ef96: Download complete 20:24:43 2de7ff778b66: Verifying Checksum 20:24:43 2de7ff778b66: Download complete 20:24:43 ab5ef0e58194: Verifying Checksum 20:24:43 ab5ef0e58194: Download complete 20:24:55 ab5ef0e58194: Pull complete 20:24:55 9712f1f96733: Pull complete 20:25:01 63f879dbbcfc: Pull complete 20:25:17 0d9ebad4ef96: Pull complete 20:25:20 e9a5061849ea: Pull complete 20:25:21 d747dcd14b5f: Pull complete 20:25:24 2de7ff778b66: Pull complete 20:25:24 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 20:25:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:25:24 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 20:25:25 prd-centos7-docker-4c-2g-2237 does not seem to be running inside a container 20:25:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 20:25:29 $ docker top 09d116466b621109a084e23d01d29426413a8bd5fc58b53b0ae758fe9caad27c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 20:25:29 provisioning config files... 20:25:29 copy managed file [sigul-config] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config8499604614771262067tmp 20:25:29 copy managed file [sigul-password] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config5482405935870376142tmp 20:25:29 copy managed file [sigul-pki] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config7927408020906082307tmp [Pipeline] { [Pipeline] echo 20:25:30 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 20:25:30 ---> sigul-configuration.sh 20:25:30 gpg: directory `/root/.gnupg' created 20:25:30 gpg: new configuration file `/root/.gnupg/gpg.conf' created 20:25:30 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 20:25:30 gpg: keyring `/root/.gnupg/secring.gpg' created 20:25:30 gpg: keyring `/root/.gnupg/pubring.gpg' created 20:25:30 gpg: CAST5 encrypted data 20:25:30 gpg: encrypted with 1 passphrase 20:25:30 gpg: WARNING: message was not integrity protected [Pipeline] sh 20:25:31 + mkdir /home/jenkins 20:25:31 + mkdir /home/jenkins/sigul [Pipeline] sh 20:25:32 + 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 20:25:32 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 20:25:33 ---> sigul-install.sh 20:25:43 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 20:25:44 + git tag --list 20:25:44 v0.1.0 20:25:44 v0.1.1 20:25:44 v1.0.0 20:25:44 v1.1.0 20:25:44 v1.2.0 20:25:44 v1.3.0 20:25:44 v1.3.1 20:25:44 v1.3.1-dev.1 20:25:44 v1.3.2-dev.1 20:25:44 v2.0.0-dev.1 20:25:44 v2.0.0-dev.10 20:25:44 v2.0.0-dev.11 20:25:44 v2.0.0-dev.12 20:25:44 v2.0.0-dev.13 20:25:44 v2.0.0-dev.14 20:25:44 v2.0.0-dev.15 20:25:44 v2.0.0-dev.16 20:25:44 v2.0.0-dev.17 20:25:44 v2.0.0-dev.18 20:25:44 v2.0.0-dev.19 20:25:44 v2.0.0-dev.2 20:25:44 v2.0.0-dev.20 20:25:44 v2.0.0-dev.21 20:25:44 v2.0.0-dev.22 20:25:44 v2.0.0-dev.23 20:25:44 v2.0.0-dev.24 20:25:44 v2.0.0-dev.25 20:25:44 v2.0.0-dev.26 20:25:44 v2.0.0-dev.27 20:25:44 v2.0.0-dev.28 20:25:44 v2.0.0-dev.29 20:25:44 v2.0.0-dev.3 20:25:44 v2.0.0-dev.30 20:25:44 v2.0.0-dev.31 20:25:44 v2.0.0-dev.32 20:25:44 v2.0.0-dev.33 20:25:44 v2.0.0-dev.34 20:25:44 v2.0.0-dev.35 20:25:44 v2.0.0-dev.36 20:25:44 v2.0.0-dev.37 20:25:44 v2.0.0-dev.38 20:25:44 v2.0.0-dev.39 20:25:44 v2.0.0-dev.4 20:25:44 v2.0.0-dev.40 20:25:44 v2.0.0-dev.41 20:25:44 v2.0.0-dev.42 20:25:44 v2.0.0-dev.43 20:25:44 v2.0.0-dev.44 20:25:44 v2.0.0-dev.45 20:25:44 v2.0.0-dev.46 20:25:44 v2.0.0-dev.47 20:25:44 v2.0.0-dev.48 20:25:44 v2.0.0-dev.49 20:25:44 v2.0.0-dev.5 20:25:44 v2.0.0-dev.50 20:25:44 v2.0.0-dev.51 20:25:44 v2.0.0-dev.52 20:25:44 v2.0.0-dev.6 20:25:44 v2.0.0-dev.7 20:25:44 v2.0.0-dev.8 20:25:44 v2.0.0-dev.9 [Pipeline] sh 20:25:45 + lftools sign git-tag v2.0.0-dev.52 20:25:47 Signing Git tag with Sigul... 20:25:47 Signing v2.0.0-dev.52 [Pipeline] echo 20:25:48 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 20:25:48 ---> sigul-configuration-cleanup.sh [Pipeline] } 20:25:48 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 20:25:49 $ docker stop --time=1 09d116466b621109a084e23d01d29426413a8bd5fc58b53b0ae758fe9caad27c 20:25:51 $ docker rm -f 09d116466b621109a084e23d01d29426413a8bd5fc58b53b0ae758fe9caad27c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 20:25:52 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:25:52 . [Pipeline] withDockerContainer 20:25:52 prd-centos7-docker-4c-2g-2237 does not seem to be running inside a container 20:25:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:25:54 $ docker top 38d8f455d3856f87089096ebbb1b7843635e68b811e55843ea2b6e903b69ddb0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:25:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:25:55 [ssh-agent] Looking for ssh-agent implementation... 20:25:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:25:55 $ docker exec 38d8f455d3856f87089096ebbb1b7843635e68b811e55843ea2b6e903b69ddb0 ssh-agent 20:25:56 SSH_AUTH_SOCK=/tmp/ssh-Ld00NpHPjHar/agent.11 20:25:56 SSH_AGENT_PID=16 20:25:56 Running ssh-add (command line suppressed) 20:25:56 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_1531639761699196036.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_1531639761699196036.key) 20:25:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:25:57 + git semver bump pre 20:25:57 # -> Open(): unable to determine branch for HEAD 20:25:57 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git 20:25:57 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master 20:25:57 # $SEMVER_REMOTE_NAME = origin 20:25:57 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:25:57 # $SEMVER_USER_NAME = edgex-jenkins 20:25:57 # $SEMVER_BRANCH = master 20:25:57 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver 20:25:57 2.0.0-dev.53 [Pipeline] } 20:25:57 $ docker exec --env ******** --env ******** 38d8f455d3856f87089096ebbb1b7843635e68b811e55843ea2b6e903b69ddb0 ssh-agent -k 20:25:57 unset SSH_AUTH_SOCK; 20:25:57 unset SSH_AGENT_PID; 20:25:57 echo Agent pid 16 killed; 20:25:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:25:58 + git semver [Pipeline] } 20:25:58 $ docker stop --time=1 38d8f455d3856f87089096ebbb1b7843635e68b811e55843ea2b6e903b69ddb0 20:26:00 $ docker rm -f 38d8f455d3856f87089096ebbb1b7843635e68b811e55843ea2b6e903b69ddb0 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 20:26:01 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:26:01 . [Pipeline] withDockerContainer 20:26:01 prd-centos7-docker-4c-2g-2237 does not seem to be running inside a container 20:26:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:26:04 $ docker top d20b0cc01498af0df665a46f34f7f582d98256b241ab88ec02f0dc0d084e20a7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:26:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:26:04 [ssh-agent] Looking for ssh-agent implementation... 20:26:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:26:05 $ docker exec d20b0cc01498af0df665a46f34f7f582d98256b241ab88ec02f0dc0d084e20a7 ssh-agent 20:26:05 SSH_AUTH_SOCK=/tmp/ssh-JsS3zRg5m01N/agent.12 20:26:05 SSH_AGENT_PID=17 20:26:05 Running ssh-add (command line suppressed) 20:26:06 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_8138693258644432650.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_8138693258644432650.key) 20:26:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:26:06 + git semver push 20:26:06 # -> Open(): unable to determine branch for HEAD 20:26:06 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git 20:26:06 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master 20:26:06 # $SEMVER_REMOTE_NAME = origin 20:26:06 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:26:06 # $SEMVER_USER_NAME = edgex-jenkins 20:26:06 # $SEMVER_BRANCH = master 20:26:06 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } 20:26:12 $ docker exec --env ******** --env ******** d20b0cc01498af0df665a46f34f7f582d98256b241ab88ec02f0dc0d084e20a7 ssh-agent -k 20:26:12 unset SSH_AUTH_SOCK; 20:26:12 unset SSH_AGENT_PID; 20:26:12 echo Agent pid 17 killed; 20:26:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:26:13 + git semver [Pipeline] } 20:26:13 $ docker stop --time=1 d20b0cc01498af0df665a46f34f7f582d98256b241ab88ec02f0dc0d084e20a7 20:26:15 $ docker rm -f d20b0cc01498af0df665a46f34f7f582d98256b241ab88ec02f0dc0d084e20a7 [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 20:26:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:26:18 ---> package-listing.sh 20:26:18 ++ facter osfamily 20:26:18 ++ tr '[:upper:]' '[:lower:]' 20:26:18 + OS_FAMILY=redhat 20:26:18 + workspace=/w/workspace/ndry_app-functions-sdk-go_master 20:26:18 + START_PACKAGES=/tmp/packages_start.txt 20:26:18 + END_PACKAGES=/tmp/packages_end.txt 20:26:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:26:18 + PACKAGES=/tmp/packages_start.txt 20:26:18 + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' 20:26:18 + PACKAGES=/tmp/packages_end.txt 20:26:18 + case "${OS_FAMILY}" in 20:26:18 + sort 20:26:18 + rpm -qa 20:26:29 + '[' -f /tmp/packages_start.txt ']' 20:26:29 + '[' -f /tmp/packages_end.txt ']' 20:26:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:26:29 + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' 20:26:29 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_master/archives/ 20:26:29 + 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 20:26:29 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 20:26:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:26:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:26:30 20:26:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 20:26:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:26:31 alpine: Pulling from edgex-lftools-log-publisher 20:26:31 df20fa9351a1: Pulling fs layer 20:26:31 36b3adc4ff6f: Pulling fs layer 20:26:31 8ad3a11d3b57: Pulling fs layer 20:26:31 46f8f816bc3b: Pulling fs layer 20:26:31 93b61091891f: Pulling fs layer 20:26:31 93b9cdb0e59b: Pulling fs layer 20:26:31 5e14af77c1be: Pulling fs layer 20:26:31 01666e4c0597: Pulling fs layer 20:26:31 aa168da1d23b: Pulling fs layer 20:26:31 93b9cdb0e59b: Waiting 20:26:31 01666e4c0597: Waiting 20:26:31 aa168da1d23b: Waiting 20:26:31 5e14af77c1be: Waiting 20:26:31 46f8f816bc3b: Waiting 20:26:31 36b3adc4ff6f: Verifying Checksum 20:26:31 36b3adc4ff6f: Download complete 20:26:31 46f8f816bc3b: Download complete 20:26:31 df20fa9351a1: Verifying Checksum 20:26:32 93b9cdb0e59b: Verifying Checksum 20:26:32 93b9cdb0e59b: Download complete 20:26:32 5e14af77c1be: Verifying Checksum 20:26:32 5e14af77c1be: Download complete 20:26:32 01666e4c0597: Verifying Checksum 20:26:32 01666e4c0597: Download complete 20:26:32 93b61091891f: Download complete 20:26:32 8ad3a11d3b57: Verifying Checksum 20:26:32 8ad3a11d3b57: Download complete 20:26:33 df20fa9351a1: Pull complete 20:26:34 36b3adc4ff6f: Pull complete 20:26:37 8ad3a11d3b57: Pull complete 20:26:37 46f8f816bc3b: Pull complete 20:26:38 93b61091891f: Pull complete 20:26:38 aa168da1d23b: Verifying Checksum 20:26:38 aa168da1d23b: Download complete 20:26:39 93b9cdb0e59b: Pull complete 20:26:40 5e14af77c1be: Pull complete 20:26:40 01666e4c0597: Pull complete 20:27:03 aa168da1d23b: Pull complete 20:27:03 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 20:27:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:27:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 20:27:04 prd-centos7-docker-4c-2g-2237 does not seem to be running inside a container 20:27:04 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 20:27:08 $ docker top 35496fde24d8a0eff5a27fe8e3db7100d891714f7c1335f914168d9b59b41a32 -eo pid,comm [Pipeline] { [Pipeline] sh 20:27:09 + touch /tmp/pre-build-complete [Pipeline] sh 20:27:09 + mkdir -p /var/log/sa [Pipeline] sh 20:27:10 + ls /var/log/sa-host 20:27:10 + sadf -c /var/log/sa-host/sa23 20:27:10 file_magic: OK 20:27:10 HZ: Using current value: 100 20:27:10 file_header: OK 20:27:10 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 20:27:10 Statistics: 20:27:10 Hnuu...uuuununununu... 20:27:10 File successfully converted to sysstat format version 12.2.1 20:27:10 + sadf -c /var/log/sa-host/sa28 20:27:10 file_magic: OK 20:27:10 HZ: Using current value: 100 20:27:10 file_header: OK 20:27:10 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 20:27:10 Statistics: 20:27:10 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 20:27:10 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:27:11 provisioning config files... 20:27:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config7502280503355353959tmp [Pipeline] { [Pipeline] echo 20:27:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:27:12 ---> create-netrc.sh [Pipeline] } 20:27:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 20:27:12 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 20:27:12 ---> python-tools-install.sh [Pipeline] echo 20:27:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:27:13 ---> sudo-logs.sh 20:27:13 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:27:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:27:14 ---> job-cost.sh 20:27:14 lf-activate-venv: SKIPPING 20:27:14 DEBUG: total: 0.20999999344348907 20:27:14 INFO: Retrieving Stack Cost... 20:27:16 INFO: Retrieving Pricing Info for: v1-standard-2 20:27:16 INFO: Archiving Costs [Pipeline] echo 20:27:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:27:17 ---> logs-deploy.sh 20:27:17 lf-activate-venv: SKIPPING 20:27:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/master/222 20:27:17 INFO: archiving workspace using pattern(s): 20:27:21 Archives upload complete. 20:27:21 INFO: archiving logs to Nexus