Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from e5100d529b58d0c19d0905c9fafb19f11d5acd53 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 a5c854593eac886f27ddeefb8920871132e8ed78 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 a5c854593eac886f27ddeefb8920871132e8ed78 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 a5c854593eac886f27ddeefb8920871132e8ed78 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a5c854593eac886f27ddeefb8920871132e8ed78 # timeout=10 Commit message: "Merge pull request #303 from ernestojeda/fix-docker-login-issue" > 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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 SECURITY_NOTIFY_LIST: security-issues@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-14340 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision e5100d529b58d0c19d0905c9fafb19f11d5acd53 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f e5100d529b58d0c19d0905c9fafb19f11d5acd53 # timeout=10 Commit message: "feat: Remove remote logging service capability (#585)" > git rev-list --no-walk 44dcb89bc898e098fc683f52994823469c0d1781 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:22:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:22:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:22:56 ========================================================= 17:22:56 EdgeX Global Pipelines Version Info 17:22:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:22:58 ------------------- 17:22:58 stable info: 17:22:58 ------------------- 17:22:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:22:58 Commit SHA: a5c854593eac886f27ddeefb8920871132e8ed78 17:22:58 Message: update stable to v1.0.169 17:22:59 ------------------- 17:22:59 experimental info: 17:22:59 ------------------- 17:22:59 Commited By: **** collab-it+edgex@linuxfoundation.org 17:22:59 Commit SHA: a5c854593eac886f27ddeefb8920871132e8ed78 17:22:59 Message: update experimental to v1.0.169 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:22:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 17:22:59 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 17:22:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:23:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:23:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:23:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 17:23:00 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 17:23:00 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 17:23:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:23:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:23:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:23:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 17:23:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:23:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:23:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 17:23:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 17:23:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:23:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:23:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:23:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:23:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:23:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 17:23:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:23:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:23:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 17:23:02 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 17:23:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 17:23:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 17:23:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 17:23:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e5100d529b58d0c19d0905c9fafb19f11d5acd53 [Pipeline] echo 17:23:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e5100d5 [Pipeline] echo 17:23:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:23:04 + git log --format=format:%s -1 e5100d529b58d0c19d0905c9fafb19f11d5acd53 [Pipeline] echo 17:23:04 GIT_COMMIT: e5100d529b58d0c19d0905c9fafb19f11d5acd53, Commit Message: feat: Remove remote logging service capability (#585) [Pipeline] echo 17:23:04 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 17:23:05 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:23:05 17:23:05 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:23:06 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:23:06 latest: Pulling from edgex-devops/git-semver 17:23:06 31603596830f: Pulling fs layer 17:23:06 2a8b12db71e7: Pulling fs layer 17:23:06 6ca5941a6612: Pulling fs layer 17:23:06 ecc8261a40a4: Pulling fs layer 17:23:06 ecc8261a40a4: Waiting 17:23:06 2a8b12db71e7: Verifying Checksum 17:23:06 2a8b12db71e7: Download complete 17:23:06 31603596830f: Verifying Checksum 17:23:06 31603596830f: Download complete 17:23:06 ecc8261a40a4: Verifying Checksum 17:23:06 ecc8261a40a4: Download complete 17:23:06 6ca5941a6612: Verifying Checksum 17:23:06 6ca5941a6612: Download complete 17:23:06 31603596830f: Pull complete 17:23:06 2a8b12db71e7: Pull complete 17:23:07 6ca5941a6612: Pull complete 17:23:07 ecc8261a40a4: Pull complete 17:23:07 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 17:23:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:23:07 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:23:07 prd-centos7-docker-4c-2g-14340 does not seem to be running inside a container 17:23: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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 17:23:10 $ docker top b8cd5ab871a7c3ee46adde37a32dea7d5cb854c5ab554d0e514c603b8d787869 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:23:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:23:10 [ssh-agent] Looking for ssh-agent implementation... 17:23:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:23:11 $ docker exec b8cd5ab871a7c3ee46adde37a32dea7d5cb854c5ab554d0e514c603b8d787869 ssh-agent 17:23:11 SSH_AUTH_SOCK=/tmp/ssh-XGfAJFVveMK0/agent.11 17:23:11 SSH_AGENT_PID=16 17:23:11 Running ssh-add (command line suppressed) 17:23:11 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_2736790683873015622.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_2736790683873015622.key) 17:23:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:23:11 + git tag --points-at HEAD [Pipeline] } 17:23:11 $ docker exec --env ******** --env ******** b8cd5ab871a7c3ee46adde37a32dea7d5cb854c5ab554d0e514c603b8d787869 ssh-agent -k 17:23:12 unset SSH_AUTH_SOCK; 17:23:12 unset SSH_AGENT_PID; 17:23:12 echo Agent pid 16 killed; 17:23:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:23:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:23:12 [ssh-agent] Looking for ssh-agent implementation... 17:23:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:23:12 $ docker exec b8cd5ab871a7c3ee46adde37a32dea7d5cb854c5ab554d0e514c603b8d787869 ssh-agent 17:23:12 SSH_AUTH_SOCK=/tmp/ssh-w0r23E4MaGjE/agent.44 17:23:12 SSH_AGENT_PID=49 17:23:12 Running ssh-add (command line suppressed) 17:23:12 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_2414360358495994203.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_2414360358495994203.key) 17:23:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:23:13 + git semver init 17:23:13 # -> Open(): unable to determine branch for HEAD 17:23:13 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git 17:23:13 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master 17:23:13 # $SEMVER_REMOTE_NAME = origin 17:23:13 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:23:13 # $SEMVER_USER_NAME = edgex-jenkins 17:23:13 # $SEMVER_BRANCH = master 17:23:13 # $SEMVER_TEMP = /tmp/semver-212092302 17:23:13 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 17:23:16 # '/tmp/semver-212092302' -> '/w/workspace/ndry_app-functions-sdk-go_master/.semver' 17:23:16 # -> Force: false 17:23:16 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } 17:23:16 $ docker exec --env ******** --env ******** b8cd5ab871a7c3ee46adde37a32dea7d5cb854c5ab554d0e514c603b8d787869 ssh-agent -k 17:23:16 unset SSH_AUTH_SOCK; 17:23:16 unset SSH_AGENT_PID; 17:23:16 echo Agent pid 49 killed; 17:23:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:23:17 + git semver [Pipeline] } 17:23:17 $ docker stop --time=1 b8cd5ab871a7c3ee46adde37a32dea7d5cb854c5ab554d0e514c603b8d787869 17:23:18 $ docker rm -f b8cd5ab871a7c3ee46adde37a32dea7d5cb854c5ab554d0e514c603b8d787869 [Pipeline] // withDockerContainer [Pipeline] sh 17:23:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:23:19 Stashed 1 file(s) [Pipeline] echo 17:23:19 [edgeXSemver]: initialized semver on version 1.3.1-dev.3 [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 17:23:35 Still waiting to schedule task 17:23:35 Waiting for next available executor on ‘centos7-docker-4c-2g’ 17:23:35 Still waiting to schedule task 17:23:35 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 17:26:32 Running on prd-centos7-docker-4c-2g-14341 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws 17:26:32 Running in /w/workspace/app-functions-sdk-go/151 [Pipeline] { [Pipeline] checkout 17:26:34 using credential edgex-jenkins-ssh 17:26:35 Cloning the remote Git repository 17:26:35 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 17:26:35 > git init /w/workspace/app-functions-sdk-go/151 # timeout=10 17:26:35 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 17:26:35 > git --version # timeout=10 17:26:35 > git --version # 'git version 2.24.3' 17:26:35 using GIT_SSH to set credentials SSH Credentials for GitHub 17:26:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:26:36 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 17:26:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:26:36 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 17:26:36 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 17:26:36 using GIT_SSH to set credentials SSH Credentials for GitHub 17:26:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 17:26:37 Checking out Revision e5100d529b58d0c19d0905c9fafb19f11d5acd53 (master) 17:26:37 > git config core.sparsecheckout # timeout=10 17:26:37 > git checkout -f e5100d529b58d0c19d0905c9fafb19f11d5acd53 # timeout=10 17:26:40 Commit message: "feat: Remove remote logging service capability (#585)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:26:42 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 17:26:42 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 17:26:43 + sudo service docker restart 17:26:43 + true 17:26:43 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo 17:26:44 ========================================================= 17:26:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 17:26:44 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:26:44 + 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 . 17:26:45 Sending build context to Docker daemon 19.18MB 17:26:45 Step 1/8 : ARG BASE=golang:1.15-alpine 17:26:45 Step 2/8 : FROM ${BASE} 17:26:45 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 17:26:45 188c0c94c7c5: Pulling fs layer 17:26:45 0ef7d3d256c8: Pulling fs layer 17:26:45 de9db76c5a1d: Pulling fs layer 17:26:45 bca2f99d35d6: Pulling fs layer 17:26:45 93359f2a8cfa: Pulling fs layer 17:26:45 7c6f9722023f: Pulling fs layer 17:26:45 a35cf1a2eb13: Pulling fs layer 17:26:45 93359f2a8cfa: Waiting 17:26:45 7c6f9722023f: Waiting 17:26:45 a35cf1a2eb13: Waiting 17:26:45 bca2f99d35d6: Waiting 17:26:45 0ef7d3d256c8: Download complete 17:26:45 de9db76c5a1d: Verifying Checksum 17:26:45 de9db76c5a1d: Download complete 17:26:45 93359f2a8cfa: Verifying Checksum 17:26:45 93359f2a8cfa: Download complete 17:26:45 7c6f9722023f: Verifying Checksum 17:26:45 7c6f9722023f: Download complete 17:26:45 188c0c94c7c5: Download complete 17:26:45 188c0c94c7c5: Pull complete 17:26:46 0ef7d3d256c8: Pull complete 17:26:46 de9db76c5a1d: Pull complete 17:26:48 a35cf1a2eb13: Verifying Checksum 17:26:48 a35cf1a2eb13: Download complete 17:26:49 bca2f99d35d6: Download complete 17:26:54 bca2f99d35d6: Pull complete 17:26:54 93359f2a8cfa: Pull complete 17:26:54 7c6f9722023f: Pull complete 17:26:58 a35cf1a2eb13: Pull complete 17:26:58 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 17:26:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 17:26:58 ---> a62c8e92a672 17:26:58 Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 17:26:58 latest: Pulling from library/docker 17:26:58 188c0c94c7c5: Already exists 17:26:58 0c7c675703d6: Pulling fs layer 17:26:58 cc8c12a437cb: Pulling fs layer 17:26:58 f092543453df: Pulling fs layer 17:26:58 65b6bc45957d: Pulling fs layer 17:26:58 4de832df471b: Pulling fs layer 17:26:58 79aa7fa92271: Pulling fs layer 17:26:58 65b6bc45957d: Waiting 17:26:58 4de832df471b: Waiting 17:26:58 79aa7fa92271: Waiting 17:26:59 cc8c12a437cb: Verifying Checksum 17:26:59 cc8c12a437cb: Download complete 17:26:59 65b6bc45957d: Verifying Checksum 17:26:59 65b6bc45957d: Download complete 17:26:59 4de832df471b: Verifying Checksum 17:26:59 4de832df471b: Download complete 17:26:59 0c7c675703d6: Verifying Checksum 17:26:59 0c7c675703d6: Download complete 17:26:59 79aa7fa92271: Verifying Checksum 17:26:59 79aa7fa92271: Download complete 17:26:59 0c7c675703d6: Pull complete 17:26:59 cc8c12a437cb: Pull complete 17:26:59 f092543453df: Download complete 17:27:03 f092543453df: Pull complete 17:27:03 65b6bc45957d: Pull complete 17:27:03 4de832df471b: Pull complete 17:27:03 79aa7fa92271: Pull complete 17:27:03 Digest: sha256:fd4d028713fd05a1fb896412805daed82c4a0cc84331d8dad00cb596d7ce3e3a 17:27:03 Status: Downloaded newer image for docker:latest 17:27:05 ---> 726c09f08989 17:27:05 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 17:27:05 ---> Running in 9236e3cd4a49 17:27:05 Removing intermediate container 9236e3cd4a49 17:27:05 ---> 22840d028273 17:27:05 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 17:27:05 ---> Running in e4d73c0a4d41 17:27:05 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 17:27:06 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 17:27:07 (1/5) Installing libsodium (1.0.18-r0) 17:27:07 (2/5) Installing libzmq (4.3.3-r0) 17:27:07 (3/5) Installing pkgconf (1.7.2-r0) 17:27:07 (4/5) Installing libsodium-dev (1.0.18-r0) 17:27:07 (5/5) Installing zeromq-dev (4.3.3-r0) 17:27:07 Executing busybox-1.31.1-r19.trigger 17:27:07 OK: 167 MiB in 44 packages 17:27:08 Removing intermediate container e4d73c0a4d41 17:27:08 ---> 028807385808 17:27:08 Step 6/8 : WORKDIR /build 17:27:08 ---> Running in cbb44f608cc4 17:27:08 Removing intermediate container cbb44f608cc4 17:27:08 ---> 4506ffe0b054 17:27:08 Step 7/8 : COPY go.mod . 17:27:08 ---> 7c49de93e46a 17:27:08 Step 8/8 : RUN go mod download 17:27:08 ---> Running in 1067d86c7311 17:27:22 Running on prd-ubuntu18.04-docker-arm64-4c-16g-14342 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws 17:27:22 Running in /w/workspace/app-functions-sdk-go/151 [Pipeline] { [Pipeline] checkout 17:27:27 using credential edgex-jenkins-ssh 17:27:27 Cloning the remote Git repository 17:27:27 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 17:27:27 > git init /w/workspace/app-functions-sdk-go/151 # timeout=10 17:27:27 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 17:27:27 > git --version # timeout=10 17:27:27 > git --version # 'git version 2.17.1' 17:27:27 using GIT_SSH to set credentials SSH Credentials for GitHub 17:27:27 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:27:30 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 17:27:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:27:30 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 17:27:30 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 17:27:30 using GIT_SSH to set credentials SSH Credentials for GitHub 17:27:30 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 17:27:31 Checking out Revision e5100d529b58d0c19d0905c9fafb19f11d5acd53 (master) 17:27:31 > git config core.sparsecheckout # timeout=10 17:27:31 > git checkout -f e5100d529b58d0c19d0905c9fafb19f11d5acd53 # timeout=10 17:27:35 Removing intermediate container 1067d86c7311 17:27:35 ---> f20af35e61e9 17:27:35 Successfully built f20af35e61e9 17:27:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 17:27:35 + docker inspect -f . ci-base-image-x86_64 17:27:35 . [Pipeline] withDockerContainer 17:27:35 prd-centos7-docker-4c-2g-14341 does not seem to be running inside a container 17:27:35 Commit message: "feat: Remove remote logging service capability (#585)" 17:27:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/151 -v /w/workspace/app-functions-sdk-go/151:/w/workspace/app-functions-sdk-go/151:rw,z -v /w/workspace/app-functions-sdk-go/151@tmp:/w/workspace/app-functions-sdk-go/151@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 17:27:36 $ docker top 73c5bf95c1e27a6a732dc478abfabf1c2c3041887e8f698be1de34c27dd2ca67 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 17:27:37 + go version 17:27:37 go version go1.15.5 linux/amd64 [Pipeline] } 17:27:37 $ docker stop --time=1 73c5bf95c1e27a6a732dc478abfabf1c2c3041887e8f698be1de34c27dd2ca67 17:27:38 $ docker rm -f 73c5bf95c1e27a6a732dc478abfabf1c2c3041887e8f698be1de34c27dd2ca67 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:27:40 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 17:27:40 + docker inspect -f . ci-base-image-x86_64 17:27:40 . [Pipeline] withDockerContainer 17:27:40 prd-centos7-docker-4c-2g-14341 does not seem to be running inside a container 17:27:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/151 -v /w/workspace/app-functions-sdk-go/151:/w/workspace/app-functions-sdk-go/151:rw,z -v /w/workspace/app-functions-sdk-go/151@tmp:/w/workspace/app-functions-sdk-go/151@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 17:27:40 + sudo mv /tmp/daemon.json /etc/docker/daemon.json 17:27:41 $ docker top 4474c33c1a001c444675caccb794b46d4a076fd53177dea80f2921e154a96d44 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 17:27:41 + true 17:27:41 + sudo service docker restart 17:27:42 + make test 17:27:42 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [Pipeline] unstash 17:27:44 ? github.com/edgexfoundry/app-functions-sdk-go [no test files] [Pipeline] echo 17:27:44 ========================================================= 17:27:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 17:27:44 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:27:44 + 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 . 17:27:45 Sending build context to Docker daemon 19.18MB 17:27:45 Step 1/8 : ARG BASE=golang:1.15-alpine 17:27:45 Step 2/8 : FROM ${BASE} 17:27:45 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:27:45 5f621e34cdf4: Pulling fs layer 17:27:45 a4357932f1b6: Pulling fs layer 17:27:45 18c013af1878: Pulling fs layer 17:27:45 00ac8860ef70: Pulling fs layer 17:27:45 63d7cb157983: Pulling fs layer 17:27:45 b116817d02f9: Pulling fs layer 17:27:45 745a02a5169b: Pulling fs layer 17:27:45 b116817d02f9: Waiting 17:27:45 00ac8860ef70: Waiting 17:27:45 63d7cb157983: Waiting 17:27:45 745a02a5169b: Waiting 17:27:45 18c013af1878: Verifying Checksum 17:27:45 18c013af1878: Download complete 17:27:46 a4357932f1b6: Download complete 17:27:46 63d7cb157983: Verifying Checksum 17:27:46 63d7cb157983: Download complete 17:27:46 b116817d02f9: Download complete 17:27:46 5f621e34cdf4: Verifying Checksum 17:27:46 5f621e34cdf4: Download complete 17:27:46 5f621e34cdf4: Pull complete 17:27:47 a4357932f1b6: Pull complete 17:27:47 18c013af1878: Pull complete 17:27:48 745a02a5169b: Verifying Checksum 17:27:48 745a02a5169b: Download complete 17:27:49 00ac8860ef70: Verifying Checksum 17:27:49 00ac8860ef70: Download complete 17:27:50 ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.040s coverage: 86.2% of statements 17:27:59 00ac8860ef70: Pull complete 17:27:59 63d7cb157983: Pull complete 17:27:59 b116817d02f9: Pull complete 17:28:04 745a02a5169b: Pull complete 17:28:04 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 17:28:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 17:28:04 ---> b7e6874047d6 17:28:04 Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 17:28:04 latest: Pulling from library/docker 17:28:04 5f621e34cdf4: Already exists 17:28:04 85db56a05063: Pulling fs layer 17:28:04 ccb67d6aeaaa: Pulling fs layer 17:28:04 de930078acea: Pulling fs layer 17:28:04 d5a9d88a4785: Pulling fs layer 17:28:04 e7f15c1544d5: Pulling fs layer 17:28:04 877c515997d3: Pulling fs layer 17:28:04 d5a9d88a4785: Waiting 17:28:04 e7f15c1544d5: Waiting 17:28:04 ccb67d6aeaaa: Verifying Checksum 17:28:04 ccb67d6aeaaa: Download complete 17:28:04 d5a9d88a4785: Verifying Checksum 17:28:04 d5a9d88a4785: Download complete 17:28:04 85db56a05063: Verifying Checksum 17:28:04 85db56a05063: Download complete 17:28:04 e7f15c1544d5: Verifying Checksum 17:28:04 e7f15c1544d5: Download complete 17:28:04 877c515997d3: Verifying Checksum 17:28:04 877c515997d3: Download complete 17:28:04 85db56a05063: Pull complete 17:28:04 ccb67d6aeaaa: Pull complete 17:28:04 de930078acea: Verifying Checksum 17:28:04 de930078acea: Download complete 17:28:08 de930078acea: Pull complete 17:28:08 d5a9d88a4785: Pull complete 17:28:08 e7f15c1544d5: Pull complete 17:28:09 ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.033s coverage: 52.0% of statements 17:28:09 ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] 17:28:09 ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] 17:28:09 ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.056s coverage: 54.7% of statements 17:28:09 ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] 17:28:09 ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.041s coverage: 69.1% of statements 17:28:09 877c515997d3: Pull complete 17:28:09 Digest: sha256:fd4d028713fd05a1fb896412805daed82c4a0cc84331d8dad00cb596d7ce3e3a 17:28:09 Status: Downloaded newer image for docker:latest 17:28:15 ---> b7ca5c1f606f 17:28:15 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 17:28:15 ---> Running in 318d93c2a024 17:28:15 Removing intermediate container 318d93c2a024 17:28:15 ---> 6f905f569941 17:28:15 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 17:28:15 ---> Running in 88796be27dbd 17:28:17 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 17:28:18 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 17:28:19 (1/5) Installing libsodium (1.0.18-r0) 17:28:19 (2/5) Installing libzmq (4.3.3-r0) 17:28:19 (3/5) Installing pkgconf (1.7.2-r0) 17:28:19 (4/5) Installing libsodium-dev (1.0.18-r0) 17:28:19 (5/5) Installing zeromq-dev (4.3.3-r0) 17:28:19 Executing busybox-1.31.1-r19.trigger 17:28:19 OK: 144 MiB in 44 packages 17:28:21 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.419s coverage: 61.6% of statements 17:28:21 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.005s coverage: 89.5% of statements 17:28:21 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.005s coverage: 100.0% of statements 17:28:21 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.014s coverage: 100.0% of statements 17:28:21 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.005s coverage: 100.0% of statements 17:28:21 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.005s coverage: 100.0% of statements 17:28:21 ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] 17:28:21 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] 17:28:21 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] 17:28:21 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] 17:28:21 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] 17:28:21 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] 17:28:21 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] 17:28:21 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.005s coverage: 96.6% of statements 17:28:21 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] 17:28:21 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.006s coverage: 97.7% of statements 17:28:21 ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] 17:28:21 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] 17:28:21 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.008s coverage: 8.8% of statements 17:28:21 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.916s coverage: 75.0% of statements 17:28:21 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] 17:28:21 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.013s coverage: 89.7% of statements 17:28:21 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.010s coverage: 88.9% of statements 17:28:21 ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.013s coverage: 80.5% of statements 17:28:21 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.008s coverage: 71.7% of statements 17:28:21 Removing intermediate container 88796be27dbd 17:28:21 ---> 0c54782589b4 17:28:21 Step 6/8 : WORKDIR /build 17:28:21 ---> Running in c1e4c7395105 17:28:21 Removing intermediate container c1e4c7395105 17:28:21 ---> f14e6dcc9445 17:28:21 Step 7/8 : COPY go.mod . 17:28:22 ---> eb5892765cdb 17:28:22 Step 8/8 : RUN go mod download 17:28:22 ---> Running in d11a5c5046db 17:28:36 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.045s coverage: 71.0% of statements 17:28:36 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.006s coverage: 94.4% of statements 17:28:36 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:28:40 gofmt -l . 17:28:40 [ "`gofmt -l .`" = "" ] 17:28:40 ./bin/test-go-mod-tidy.sh [Pipeline] } 17:28:41 $ docker stop --time=1 4474c33c1a001c444675caccb794b46d4a076fd53177dea80f2921e154a96d44 17:28:42 $ docker rm -f 4474c33c1a001c444675caccb794b46d4a076fd53177dea80f2921e154a96d44 [Pipeline] // withDockerContainer [Pipeline] sh 17:28:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:28:43 Stashed 1 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 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 17:28:49 Removing intermediate container d11a5c5046db 17:28:49 ---> a804c7c96d22 17:28:49 Successfully built a804c7c96d22 17:28:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 17:28:49 + docker inspect -f . ci-base-image-arm64 17:28:49 . [Pipeline] withDockerContainer 17:28:50 prd-ubuntu18.04-docker-arm64-4c-16g-14342 does not seem to be running inside a container 17:28:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/151 -v /w/workspace/app-functions-sdk-go/151:/w/workspace/app-functions-sdk-go/151:rw,z -v /w/workspace/app-functions-sdk-go/151@tmp:/w/workspace/app-functions-sdk-go/151@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:28:51 $ docker top 550ec295bb28fcb666c8aa801a55077556ed5d7419eeb8a46de940c954e7eb17 -eo pid,comm [Pipeline] { [Pipeline] sh 17:28:52 + go version 17:28:52 go version go1.15.5 linux/arm64 [Pipeline] } 17:28:52 $ docker stop --time=1 550ec295bb28fcb666c8aa801a55077556ed5d7419eeb8a46de940c954e7eb17 17:28:54 $ docker rm -f 550ec295bb28fcb666c8aa801a55077556ed5d7419eeb8a46de940c954e7eb17 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:28:55 + docker inspect -f . ci-base-image-arm64 17:28:55 . [Pipeline] withDockerContainer 17:28:55 prd-ubuntu18.04-docker-arm64-4c-16g-14342 does not seem to be running inside a container 17:28:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/151 -v /w/workspace/app-functions-sdk-go/151:/w/workspace/app-functions-sdk-go/151:rw,z -v /w/workspace/app-functions-sdk-go/151@tmp:/w/workspace/app-functions-sdk-go/151@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:28:57 $ docker top b9d0e0285a6520712cc32a9075ecf5237170a8fdf2b23402330c4f2fb6e0dd09 -eo pid,comm [Pipeline] { [Pipeline] sh 17:28:58 + make test 17:28:58 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:29:00 ? github.com/edgexfoundry/app-functions-sdk-go [no test files] 17:29:22 ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.064s coverage: 86.2% of statements 17:30:01 ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.058s coverage: 52.0% of statements 17:30:01 ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] 17:30:01 ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] 17:30:01 ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.124s coverage: 54.7% of statements 17:30:01 ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] 17:30:01 ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.061s coverage: 69.1% of statements 17:30:13 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.447s coverage: 61.6% of statements 17:30:13 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.015s coverage: 89.5% of statements 17:30:13 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.015s coverage: 100.0% of statements 17:30:13 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.051s coverage: 100.0% of statements 17:30:13 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.012s coverage: 100.0% of statements 17:30:13 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.012s coverage: 100.0% of statements 17:30:13 ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] 17:30:13 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] 17:30:13 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] 17:30:13 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] 17:30:13 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] 17:30:13 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] 17:30:13 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] 17:30:13 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.012s coverage: 96.6% of statements 17:30:13 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] 17:30:13 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.012s coverage: 97.7% of statements 17:30:13 ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] 17:30:13 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] 17:30:13 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.022s coverage: 8.8% of statements 17:30:13 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.946s coverage: 75.0% of statements 17:30:13 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] 17:30:13 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.036s coverage: 89.7% of statements 17:30:13 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.024s coverage: 88.9% of statements 17:30:13 ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.034s coverage: 80.5% of statements 17:30:13 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.036s coverage: 71.7% of statements 17:30:40 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.058s coverage: 71.0% of statements 17:30:40 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.013s coverage: 94.4% of statements 17:30:40 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:30:51 gofmt -l . 17:30:51 [ "`gofmt -l .`" = "" ] 17:30:51 ./bin/test-go-mod-tidy.sh [Pipeline] } 17:30:52 $ docker stop --time=1 b9d0e0285a6520712cc32a9075ecf5237170a8fdf2b23402330c4f2fb6e0dd09 17:30:54 $ docker rm -f b9d0e0285a6520712cc32a9075ecf5237170a8fdf2b23402330c4f2fb6e0dd09 [Pipeline] // withDockerContainer [Pipeline] sh 17:30:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:30:55 Warning: overwriting stash ‘coverage-report’ 17:30:56 Stashed 1 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] } [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 17:30:58 provisioning config files... 17:30:58 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config7606164880940517708tmp [Pipeline] { [Pipeline] sh 17:30:58 + set +x 17:30:58 + curl -s https://codecov.io/bash 17:30:58 + bash -s -- 17:30:58 17:30:58 _____ _ 17:30:58 / ____| | | 17:30:58 | | ___ __| | ___ ___ _____ __ 17:30:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:30:58 | |___| (_) | (_| | __/ (_| (_) \ V / 17:30:58 \_____\___/ \__,_|\___|\___\___/ \_/ 17:30:58 Bash-20201130-cc6d3fe 17:30:58 17:30:58 17:30:58 ==> Jenkins CI detected. 17:30:58 project root: . 17:30:58 --> token set from env 17:30:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:30:58 ==> Running gcov in . (disable via -X gcov) 17:30:58 ==> Python coveragepy not found 17:30:58 ==> Searching for coverage reports in: 17:30:58 + . 17:30:58 -> Found 1 reports 17:30:58 ==> Detecting git/mercurial file structure 17:30:58 ==> Reading reports 17:30:58 + ./coverage.out bytes=90550 17:30:58 ==> Appending adjustments 17:30:58 https://docs.codecov.io/docs/fixing-reports 17:30:59 + Found adjustments 17:30:59 ==> Gzipping contents 17:30:59 16K /tmp/codecov.msivEI.gz 17:30:59 ==> Uploading reports 17:30:59 url: https://codecov.io 17:30:59 query: branch=master&commit=e5100d529b58d0c19d0905c9fafb19f11d5acd53&build=151&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F151%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 17:30:59 -> Pinging Codecov 17:30:59 https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=master&commit=e5100d529b58d0c19d0905c9fafb19f11d5acd53&build=151&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F151%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 17:30:59 -> Uploading to 17:30:59 https://storage.googleapis.com/codecov/v4/raw/2020-12-03/3D8B5DFFC46A037C893635FACE044666/e5100d529b58d0c19d0905c9fafb19f11d5acd53/777216b8-16cb-46cb-90e3-a2bb3801a127.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201203%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201203T173059Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=97d0072fdd2e5ed1c518c5ce653057bcb6c103ab0cb8679a29739f91465893c2 17:30:59 % Total % Received % Xferd Average Speed Time Time Time Current 17:30:59 Dload Upload Total Spent Left Speed 17:31:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16104 0 0 100 16104 0 34520 --:--:-- --:--:-- --:--:-- 34557 17:31:00 -> View reports at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/e5100d529b58d0c19d0905c9fafb19f11d5acd53 [Pipeline] } 17:31:00 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 17:31:01 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 17:31:01 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:31:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:31:01 17:31:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 17:31:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:31:02 1.410.4: Pulling from edgex-devops/edgex-snyk-go 17:31:02 188c0c94c7c5: Pulling fs layer 17:31:02 0ef7d3d256c8: Pulling fs layer 17:31:02 de9db76c5a1d: Pulling fs layer 17:31:02 0eba1c9be4d2: Pulling fs layer 17:31:02 0d57e429df01: Pulling fs layer 17:31:02 4e4be7b47b0d: Pulling fs layer 17:31:02 e1f770b5df2f: Pulling fs layer 17:31:02 85a0685a4137: Pulling fs layer 17:31:02 0d57e429df01: Waiting 17:31:02 4e4be7b47b0d: Waiting 17:31:02 e1f770b5df2f: Waiting 17:31:02 85a0685a4137: Waiting 17:31:02 0eba1c9be4d2: Waiting 17:31:02 de9db76c5a1d: Verifying Checksum 17:31:02 de9db76c5a1d: Download complete 17:31:02 0ef7d3d256c8: Download complete 17:31:02 0d57e429df01: Verifying Checksum 17:31:02 0d57e429df01: Download complete 17:31:02 4e4be7b47b0d: Verifying Checksum 17:31:02 4e4be7b47b0d: Download complete 17:31:02 188c0c94c7c5: Verifying Checksum 17:31:02 188c0c94c7c5: Download complete 17:31:02 188c0c94c7c5: Pull complete 17:31:02 0ef7d3d256c8: Pull complete 17:31:03 de9db76c5a1d: Pull complete 17:31:03 e1f770b5df2f: Verifying Checksum 17:31:03 e1f770b5df2f: Download complete 17:31:05 0eba1c9be4d2: Verifying Checksum 17:31:05 0eba1c9be4d2: Download complete 17:31:05 85a0685a4137: Verifying Checksum 17:31:05 85a0685a4137: Download complete 17:31:11 0eba1c9be4d2: Pull complete 17:31:11 0d57e429df01: Pull complete 17:31:11 4e4be7b47b0d: Pull complete 17:31:13 e1f770b5df2f: Pull complete 17:31:22 85a0685a4137: Pull complete 17:31:22 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 17:31:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:31:22 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 17:31:22 prd-centos7-docker-4c-2g-14340 does not seem to be running inside a container 17:31:22 $ 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 17:31:23 $ docker top c0e5690cb65e0890a2093b2e3797e9702c7bdfe7bf4a730d47cad28198a65830 -eo pid,comm [Pipeline] { [Pipeline] echo 17:31:23 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 17:31:24 + set -o pipefail 17:31:24 + snyk monitor '--org=edgex-jenkins' 17:31:56 17:31:56 Monitoring /w/workspace/ndry_app-functions-sdk-go_master (github.com/edgexfoundry/app-functions-sdk-go)... 17:31:56 17:31:56 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/84a89414-c83d-4daa-8ff9-7ceae658ecfc/history/07d73914-6976-4fa1-af1c-5e87f9abdc7d 17:31:56 17:31:56 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:31:56 17:31:56 [Pipeline] } 17:31:56 $ docker stop --time=1 c0e5690cb65e0890a2093b2e3797e9702c7bdfe7bf4a730d47cad28198a65830 17:31:58 $ docker rm -f c0e5690cb65e0890a2093b2e3797e9702c7bdfe7bf4a730d47cad28198a65830 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [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 17:32:00 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:32:00 provisioning config files... 17:32:00 copy managed file [swaggerhub-api-key] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config6760519852183060344tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:32:00 --> edgex-publish-swagger.sh 17:32:00 === Publish openapi/v2 API === 17:32:00 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 17:32:00 [publishToSwagger] Publishing API Name [app-functions-sdk] 17:32:00 % Total % Received % Xferd Average Speed Time Time Time Current 17:32:00 Dload Upload Total Spent Left Speed 17:32:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13025 0 0 100 13025 0 10439 0:00:01 0:00:01 --:--:-- 10445 100 13025 0 0 100 13025 0 9130 0:00:01 0:00:01 --:--:-- 9133 17:32:02 17:32:02 [Pipeline] } 17:32:02 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 17:32:03 + git log --format=format:%s -1 e5100d529b58d0c19d0905c9fafb19f11d5acd53 [Pipeline] isUnix [Pipeline] sh 17:32:03 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:32:03 . [Pipeline] withDockerContainer 17:32:03 prd-centos7-docker-4c-2g-14340 does not seem to be running inside a container 17:32:03 $ 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 17:32:04 $ docker top 923ef29a127761189877991905bf766b95c2df564ee3b8e1b48382adde66ab3b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:32:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:32:04 [ssh-agent] Looking for ssh-agent implementation... 17:32:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:32:05 $ docker exec 923ef29a127761189877991905bf766b95c2df564ee3b8e1b48382adde66ab3b ssh-agent 17:32:05 SSH_AUTH_SOCK=/tmp/ssh-jgmkQWNc59UM/agent.13 17:32:05 SSH_AGENT_PID=18 17:32:05 Running ssh-add (command line suppressed) 17:32:05 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_7562378162183068029.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_7562378162183068029.key) 17:32:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:32:05 + git semver tag 17:32:05 # -> Open(): unable to determine branch for HEAD 17:32:05 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git 17:32:05 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master 17:32:05 # $SEMVER_REMOTE_NAME = origin 17:32:05 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:32:05 # $SEMVER_USER_NAME = edgex-jenkins 17:32:05 # $SEMVER_BRANCH = master 17:32:05 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver 17:32:05 # e5100d529b58d0c19d0905c9fafb19f11d5acd53 HEAD 17:32:05 # -> Force: false 17:32:05 # bcc7bc8b155710bbdd79ec25ed032e304e42d2d7 refs/tags/v1.3.1-dev.3 [Pipeline] } 17:32:05 $ docker exec --env ******** --env ******** 923ef29a127761189877991905bf766b95c2df564ee3b8e1b48382adde66ab3b ssh-agent -k 17:32:05 unset SSH_AUTH_SOCK; 17:32:05 unset SSH_AGENT_PID; 17:32:05 echo Agent pid 18 killed; 17:32:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:32:06 + git semver [Pipeline] } 17:32:06 $ docker stop --time=1 923ef29a127761189877991905bf766b95c2df564ee3b8e1b48382adde66ab3b 17:32:07 $ docker rm -f 923ef29a127761189877991905bf766b95c2df564ee3b8e1b48382adde66ab3b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 17:32:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:32:08 17:32:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 17:32:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:32:08 0.23.1-centos7: Pulling from edgex-lftools 17:32:08 ab5ef0e58194: Pulling fs layer 17:32:08 9712f1f96733: Pulling fs layer 17:32:08 63f879dbbcfc: Pulling fs layer 17:32:08 0d9ebad4ef96: Pulling fs layer 17:32:08 e9a5061849ea: Pulling fs layer 17:32:08 d747dcd14b5f: Pulling fs layer 17:32:08 2de7ff778b66: Pulling fs layer 17:32:08 0d9ebad4ef96: Waiting 17:32:08 e9a5061849ea: Waiting 17:32:08 d747dcd14b5f: Waiting 17:32:08 2de7ff778b66: Waiting 17:32:08 9712f1f96733: Download complete 17:32:10 63f879dbbcfc: Download complete 17:32:10 e9a5061849ea: Verifying Checksum 17:32:10 e9a5061849ea: Download complete 17:32:10 d747dcd14b5f: Verifying Checksum 17:32:10 d747dcd14b5f: Download complete 17:32:10 2de7ff778b66: Verifying Checksum 17:32:10 2de7ff778b66: Download complete 17:32:10 0d9ebad4ef96: Verifying Checksum 17:32:10 0d9ebad4ef96: Download complete 17:32:11 ab5ef0e58194: Verifying Checksum 17:32:11 ab5ef0e58194: Download complete 17:32:15 ab5ef0e58194: Pull complete 17:32:15 9712f1f96733: Pull complete 17:32:19 63f879dbbcfc: Pull complete 17:32:24 0d9ebad4ef96: Pull complete 17:32:26 e9a5061849ea: Pull complete 17:32:26 d747dcd14b5f: Pull complete 17:32:29 2de7ff778b66: Pull complete 17:32:29 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:32:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:32:29 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 17:32:29 prd-centos7-docker-4c-2g-14340 does not seem to be running inside a container 17:32:29 $ 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 17:32:33 $ docker top c1396ec1808cd634d1cc917b5c8eab9331027bf264544c9309c1d65f34e3b415 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:32:33 provisioning config files... 17:32:33 copy managed file [sigul-config] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config1045716797434659063tmp 17:32:33 copy managed file [sigul-password] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config3771448632653228240tmp 17:32:33 copy managed file [sigul-pki] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config6303421793830320846tmp [Pipeline] { [Pipeline] echo 17:32:33 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:32:34 ---> sigul-configuration.sh 17:32:34 gpg: directory `/root/.gnupg' created 17:32:34 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:32:34 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:32:34 gpg: keyring `/root/.gnupg/secring.gpg' created 17:32:34 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:32:34 gpg: CAST5 encrypted data 17:32:34 gpg: encrypted with 1 passphrase 17:32:34 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:32:34 + mkdir /home/jenkins 17:32:34 + mkdir /home/jenkins/sigul [Pipeline] sh 17:32:35 + 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 17:32:35 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:32:35 ---> sigul-install.sh 17:32:40 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 17:32:40 + git tag --list 17:32:40 v0.1.0 17:32:40 v0.1.1 17:32:40 v1.0.0 17:32:40 v1.1.0 17:32:40 v1.2.0 17:32:40 v1.2.1-dev.1 17:32:40 v1.2.1-dev.10 17:32:40 v1.2.1-dev.11 17:32:40 v1.2.1-dev.12 17:32:40 v1.2.1-dev.13 17:32:40 v1.2.1-dev.14 17:32:40 v1.2.1-dev.15 17:32:40 v1.2.1-dev.16 17:32:40 v1.2.1-dev.17 17:32:40 v1.2.1-dev.18 17:32:40 v1.2.1-dev.19 17:32:40 v1.2.1-dev.2 17:32:40 v1.2.1-dev.20 17:32:40 v1.2.1-dev.21 17:32:40 v1.2.1-dev.22 17:32:40 v1.2.1-dev.23 17:32:40 v1.2.1-dev.24 17:32:40 v1.2.1-dev.25 17:32:40 v1.2.1-dev.26 17:32:40 v1.2.1-dev.27 17:32:40 v1.2.1-dev.28 17:32:40 v1.2.1-dev.29 17:32:40 v1.2.1-dev.3 17:32:40 v1.2.1-dev.30 17:32:40 v1.2.1-dev.31 17:32:40 v1.2.1-dev.32 17:32:40 v1.2.1-dev.33 17:32:40 v1.2.1-dev.34 17:32:40 v1.2.1-dev.35 17:32:40 v1.2.1-dev.36 17:32:40 v1.2.1-dev.37 17:32:40 v1.2.1-dev.38 17:32:40 v1.2.1-dev.39 17:32:40 v1.2.1-dev.4 17:32:40 v1.2.1-dev.40 17:32:40 v1.2.1-dev.41 17:32:40 v1.2.1-dev.42 17:32:40 v1.2.1-dev.43 17:32:40 v1.2.1-dev.44 17:32:40 v1.2.1-dev.45 17:32:40 v1.2.1-dev.46 17:32:40 v1.2.1-dev.47 17:32:40 v1.2.1-dev.48 17:32:40 v1.2.1-dev.49 17:32:40 v1.2.1-dev.5 17:32:40 v1.2.1-dev.50 17:32:40 v1.2.1-dev.51 17:32:40 v1.2.1-dev.52 17:32:40 v1.2.1-dev.53 17:32:40 v1.2.1-dev.54 17:32:40 v1.2.1-dev.55 17:32:40 v1.2.1-dev.56 17:32:40 v1.2.1-dev.57 17:32:40 v1.2.1-dev.58 17:32:40 v1.2.1-dev.6 17:32:40 v1.2.1-dev.7 17:32:40 v1.2.1-dev.8 17:32:40 v1.2.1-dev.9 17:32:40 v1.3.0 17:32:40 v1.3.1-dev.1 17:32:40 v1.3.1-dev.2 17:32:40 v1.3.1-dev.3 [Pipeline] sh 17:32:41 + lftools sign git-tag v1.3.1-dev.3 17:32:42 Signing Git tag with Sigul... 17:32:42 Signing v1.3.1-dev.3 [Pipeline] echo 17:32:43 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:32:43 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:32:43 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:32:44 $ docker stop --time=1 c1396ec1808cd634d1cc917b5c8eab9331027bf264544c9309c1d65f34e3b415 17:32:46 $ docker rm -f c1396ec1808cd634d1cc917b5c8eab9331027bf264544c9309c1d65f34e3b415 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 17:32:47 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:32:47 . [Pipeline] withDockerContainer 17:32:47 prd-centos7-docker-4c-2g-14340 does not seem to be running inside a container 17:32:47 $ 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 17:32:48 $ docker top f766f1cbd860f9ab072a2a7aafff17a3314b6c2cbfb991ede777d4c399a9e895 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:32:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:32:48 [ssh-agent] Looking for ssh-agent implementation... 17:32:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:32:48 $ docker exec f766f1cbd860f9ab072a2a7aafff17a3314b6c2cbfb991ede777d4c399a9e895 ssh-agent 17:32:48 SSH_AUTH_SOCK=/tmp/ssh-oAVGsCAD10QA/agent.12 17:32:48 SSH_AGENT_PID=18 17:32:48 Running ssh-add (command line suppressed) 17:32:48 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_1821747069605948635.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_1821747069605948635.key) 17:32:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:32:49 + git semver bump pre 17:32:49 # -> Open(): unable to determine branch for HEAD 17:32:49 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git 17:32:49 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master 17:32:49 # $SEMVER_REMOTE_NAME = origin 17:32:49 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:32:49 # $SEMVER_USER_NAME = edgex-jenkins 17:32:49 # $SEMVER_BRANCH = master 17:32:49 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver 17:32:49 1.3.1-dev.4 [Pipeline] } 17:32:49 $ docker exec --env ******** --env ******** f766f1cbd860f9ab072a2a7aafff17a3314b6c2cbfb991ede777d4c399a9e895 ssh-agent -k 17:32:49 unset SSH_AUTH_SOCK; 17:32:49 unset SSH_AGENT_PID; 17:32:49 echo Agent pid 18 killed; 17:32:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:32:50 + git semver [Pipeline] } 17:32:50 $ docker stop --time=1 f766f1cbd860f9ab072a2a7aafff17a3314b6c2cbfb991ede777d4c399a9e895 17:32:51 $ docker rm -f f766f1cbd860f9ab072a2a7aafff17a3314b6c2cbfb991ede777d4c399a9e895 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 17:32:51 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:32:51 . [Pipeline] withDockerContainer 17:32:51 prd-centos7-docker-4c-2g-14340 does not seem to be running inside a container 17:32: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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 17:32:52 $ docker top 644f612f0076c68c5ef55464c4c9be5914542992e224d69f64c50ed22d0822bf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:32:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:32:52 [ssh-agent] Looking for ssh-agent implementation... 17:32:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:32:53 $ docker exec 644f612f0076c68c5ef55464c4c9be5914542992e224d69f64c50ed22d0822bf ssh-agent 17:32:53 SSH_AUTH_SOCK=/tmp/ssh-MZ15wOtUELRg/agent.11 17:32:53 SSH_AGENT_PID=17 17:32:53 Running ssh-add (command line suppressed) 17:32:53 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_2891043304884783132.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_2891043304884783132.key) 17:32:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:32:53 + git semver push 17:32:53 # -> Open(): unable to determine branch for HEAD 17:32:53 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git 17:32:53 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master 17:32:53 # $SEMVER_REMOTE_NAME = origin 17:32:53 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:32:53 # $SEMVER_USER_NAME = edgex-jenkins 17:32:53 # $SEMVER_BRANCH = master 17:32:53 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } 17:33:00 $ docker exec --env ******** --env ******** 644f612f0076c68c5ef55464c4c9be5914542992e224d69f64c50ed22d0822bf ssh-agent -k 17:33:00 unset SSH_AUTH_SOCK; 17:33:00 unset SSH_AGENT_PID; 17:33:00 echo Agent pid 17 killed; 17:33:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:33:01 + git semver [Pipeline] } 17:33:01 $ docker stop --time=1 644f612f0076c68c5ef55464c4c9be5914542992e224d69f64c50ed22d0822bf 17:33:02 $ docker rm -f 644f612f0076c68c5ef55464c4c9be5914542992e224d69f64c50ed22d0822bf [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 17:33:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:33:04 ---> package-listing.sh 17:33:04 ++ facter osfamily 17:33:04 ++ tr '[:upper:]' '[:lower:]' 17:33:04 + OS_FAMILY=redhat 17:33:04 + workspace=/w/workspace/ndry_app-functions-sdk-go_master 17:33:04 + START_PACKAGES=/tmp/packages_start.txt 17:33:04 + END_PACKAGES=/tmp/packages_end.txt 17:33:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:33:04 + PACKAGES=/tmp/packages_start.txt 17:33:04 + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' 17:33:04 + PACKAGES=/tmp/packages_end.txt 17:33:04 + case "${OS_FAMILY}" in 17:33:04 + rpm -qa 17:33:04 + sort 17:33:10 + '[' -f /tmp/packages_start.txt ']' 17:33:10 + '[' -f /tmp/packages_end.txt ']' 17:33:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:33:10 + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' 17:33:10 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_master/archives/ 17:33:10 + 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 17:33:10 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 17:33:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:33:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:33:10 17:33:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 17:33:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:33:11 alpine: Pulling from edgex-lftools-log-publisher 17:33:11 df20fa9351a1: Pulling fs layer 17:33:11 36b3adc4ff6f: Pulling fs layer 17:33:11 8ad3a11d3b57: Pulling fs layer 17:33:11 46f8f816bc3b: Pulling fs layer 17:33:11 93b61091891f: Pulling fs layer 17:33:11 93b9cdb0e59b: Pulling fs layer 17:33:11 46f8f816bc3b: Waiting 17:33:11 5e14af77c1be: Pulling fs layer 17:33:11 01666e4c0597: Pulling fs layer 17:33:11 aa168da1d23b: Pulling fs layer 17:33:11 93b61091891f: Waiting 17:33:11 93b9cdb0e59b: Waiting 17:33:11 aa168da1d23b: Waiting 17:33:11 5e14af77c1be: Waiting 17:33:11 01666e4c0597: Waiting 17:33:11 36b3adc4ff6f: Download complete 17:33:11 46f8f816bc3b: Verifying Checksum 17:33:11 46f8f816bc3b: Download complete 17:33:11 df20fa9351a1: Verifying Checksum 17:33:11 df20fa9351a1: Download complete 17:33:11 93b9cdb0e59b: Verifying Checksum 17:33:11 93b9cdb0e59b: Download complete 17:33:11 93b61091891f: Verifying Checksum 17:33:11 93b61091891f: Download complete 17:33:11 5e14af77c1be: Verifying Checksum 17:33:11 5e14af77c1be: Download complete 17:33:11 01666e4c0597: Verifying Checksum 17:33:11 01666e4c0597: Download complete 17:33:11 8ad3a11d3b57: Verifying Checksum 17:33:11 8ad3a11d3b57: Download complete 17:33:11 df20fa9351a1: Pull complete 17:33:12 36b3adc4ff6f: Pull complete 17:33:13 aa168da1d23b: Verifying Checksum 17:33:13 aa168da1d23b: Download complete 17:33:13 8ad3a11d3b57: Pull complete 17:33:14 46f8f816bc3b: Pull complete 17:33:14 93b61091891f: Pull complete 17:33:14 93b9cdb0e59b: Pull complete 17:33:14 5e14af77c1be: Pull complete 17:33:14 01666e4c0597: Pull complete 17:33:22 aa168da1d23b: Pull complete 17:33:22 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 17:33:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:33:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 17:33:22 prd-centos7-docker-4c-2g-14340 does not seem to be running inside a container 17:33:22 $ 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 17:33:25 $ docker top f48015a422ecf165300266f49f650ef8a65bc65d11b2b6a54bb5e81dfa54c2cb -eo pid,comm [Pipeline] { [Pipeline] sh 17:33:26 + touch /tmp/pre-build-complete [Pipeline] sh 17:33:26 + mkdir -p /var/log/sa [Pipeline] sh 17:33:26 + ls /var/log/sa-host 17:33:26 + sadf -c /var/log/sa-host/sa03 17:33:26 file_magic: OK 17:33:26 HZ: Using current value: 100 17:33:26 file_header: OK 17:33:26 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 17:33:26 Statistics: 17:33:26 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 17:33:26 File successfully converted to sysstat format version 12.2.1 17:33:26 + sadf -c /var/log/sa-host/sa23 17:33:26 file_magic: OK 17:33:26 HZ: Using current value: 100 17:33:26 file_header: OK 17:33:26 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 17:33:26 Statistics: 17:33:26 Hnuu...uuuununununu... 17:33:26 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:33:27 provisioning config files... 17:33:27 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config680576759246039643tmp [Pipeline] { [Pipeline] echo 17:33:27 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:33:27 ---> create-netrc.sh [Pipeline] } 17:33:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 17:33:27 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 17:33:27 ---> python-tools-install.sh [Pipeline] echo 17:33:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:33:28 ---> sudo-logs.sh 17:33:28 Archiving 'sudo' log.. [Pipeline] echo 17:33:28 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:33:28 ---> job-cost.sh 17:33:28 lf-activate-venv: SKIPPING 17:33:28 INFO: No Stack... 17:33:29 INFO: Retrieving Pricing Info for: v1-standard-2 17:33:29 INFO: Archiving Costs [Pipeline] echo 17:33:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:33:30 ---> logs-deploy.sh 17:33:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/master/151 17:33:30 INFO: archiving workspace using pattern(s): 17:33:31 Archives upload complete. 17:33:31 INFO: archiving logs to Nexus