Push event to branch hanoi Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from cbc22c6f1cbc49b021d3a08aab8f436f7e991a32 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > 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 SNYK_DOCKER_SCAN: false [Pipeline] node Running on prd-centos7-docker-4c-2g-26288 in /w/workspace/undry_app-functions-sdk-go_hanoi [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/undry_app-functions-sdk-go_hanoi # 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/hanoi:refs/remotes/origin/hanoi # timeout=10 Checking out Revision cbc22c6f1cbc49b021d3a08aab8f436f7e991a32 (hanoi) > git config core.sparsecheckout # timeout=10 > git checkout -f cbc22c6f1cbc49b021d3a08aab8f436f7e991a32 # timeout=10 Commit message: "feat: Hanoi: Add template for creating new App Service (#679)" > git rev-list --no-walk eab384cb48ea5ff1c4c70e4f0c6d42e5e6c3609b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:14:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:15:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:15:00 ========================================================= 15:15:00 EdgeX Global Pipelines Version Info 15:15:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:15:02 ------------------- 15:15:02 stable info: 15:15:02 ------------------- 15:15:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:15:02 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 15:15:02 Message: update stable to v1.0.179 15:15:03 ------------------- 15:15:03 experimental info: 15:15:03 ------------------- 15:15:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:15:03 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 15:15:03 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:15:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 15:15:03 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 15:15:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:15:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:15:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:15:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 15:15:04 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 15:15:04 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 15:15:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:15:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:15:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:15:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 15:15:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:15:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:15:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 15:15:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:15:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:15:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:15:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:15:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:15:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 15:15:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 15:15:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:15:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:15:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 15:15:06 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 15:15:06 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 15:15:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = hanoi [Pipeline] echo 15:15:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = hanoi [Pipeline] echo 15:15:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = hanoi [Pipeline] echo 15:15:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cbc22c6f1cbc49b021d3a08aab8f436f7e991a32 [Pipeline] echo 15:15:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cbc22c6 [Pipeline] echo 15:15:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:15:08 + git log --format=format:%s -1 cbc22c6f1cbc49b021d3a08aab8f436f7e991a32 [Pipeline] echo 15:15:08 GIT_COMMIT: cbc22c6f1cbc49b021d3a08aab8f436f7e991a32, Commit Message: feat: Hanoi: Add template for creating new App Service (#679) [Pipeline] echo 15:15:08 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 15:15:09 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:15:09 15:15:09 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:15:09 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:15:09 latest: Pulling from edgex-devops/git-semver 15:15:09 31603596830f: Pulling fs layer 15:15:09 2a8b12db71e7: Pulling fs layer 15:15:09 6ca5941a6612: Pulling fs layer 15:15:09 ecc8261a40a4: Pulling fs layer 15:15:09 ecc8261a40a4: Waiting 15:15:10 2a8b12db71e7: Verifying Checksum 15:15:10 2a8b12db71e7: Download complete 15:15:10 31603596830f: Verifying Checksum 15:15:10 31603596830f: Download complete 15:15:10 6ca5941a6612: Verifying Checksum 15:15:10 6ca5941a6612: Download complete 15:15:10 ecc8261a40a4: Verifying Checksum 15:15:10 ecc8261a40a4: Download complete 15:15:10 31603596830f: Pull complete 15:15:10 2a8b12db71e7: Pull complete 15:15:11 6ca5941a6612: Pull complete 15:15:11 ecc8261a40a4: Pull complete 15:15:11 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 15:15:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:15:11 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:15:11 prd-centos7-docker-4c-2g-26288 does not seem to be running inside a container 15:15:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_app-functions-sdk-go_hanoi -v /w/workspace/undry_app-functions-sdk-go_hanoi:/w/workspace/undry_app-functions-sdk-go_hanoi:rw,z -v /w/workspace/undry_app-functions-sdk-go_hanoi@tmp:/w/workspace/undry_app-functions-sdk-go_hanoi@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 15:15:14 $ docker top 75c511ffe5bec0aab5fa884da5302c725d1302fc1683ce2f32d5c6a0ce2c0272 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:15:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:15:14 [ssh-agent] Looking for ssh-agent implementation... 15:15:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:15:14 $ docker exec 75c511ffe5bec0aab5fa884da5302c725d1302fc1683ce2f32d5c6a0ce2c0272 ssh-agent 15:15:15 SSH_AUTH_SOCK=/tmp/ssh-8ApvPVYqxzne/agent.11 15:15:15 SSH_AGENT_PID=17 15:15:15 Running ssh-add (command line suppressed) 15:15:15 Identity added: /w/workspace/undry_app-functions-sdk-go_hanoi@tmp/private_key_6903117041467366970.key (/w/workspace/undry_app-functions-sdk-go_hanoi@tmp/private_key_6903117041467366970.key) 15:15:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:15:15 + git tag --points-at HEAD [Pipeline] } 15:15:15 $ docker exec --env ******** --env ******** 75c511ffe5bec0aab5fa884da5302c725d1302fc1683ce2f32d5c6a0ce2c0272 ssh-agent -k 15:15:15 unset SSH_AUTH_SOCK; 15:15:15 unset SSH_AGENT_PID; 15:15:15 echo Agent pid 17 killed; 15:15:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:15:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:15:15 [ssh-agent] Looking for ssh-agent implementation... 15:15:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:15:16 $ docker exec 75c511ffe5bec0aab5fa884da5302c725d1302fc1683ce2f32d5c6a0ce2c0272 ssh-agent 15:15:16 SSH_AUTH_SOCK=/tmp/ssh-BwvFKN7EppVe/agent.47 15:15:16 SSH_AGENT_PID=53 15:15:16 Running ssh-add (command line suppressed) 15:15:16 Identity added: /w/workspace/undry_app-functions-sdk-go_hanoi@tmp/private_key_8103685734615826271.key (/w/workspace/undry_app-functions-sdk-go_hanoi@tmp/private_key_8103685734615826271.key) 15:15:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:15:16 + git semver init 15:15:16 # -> Open(): unable to determine branch for HEAD 15:15:16 # $GIT_DIR = /w/workspace/undry_app-functions-sdk-go_hanoi/.git 15:15:16 # $GIT_WORK_TREE = /w/workspace/undry_app-functions-sdk-go_hanoi 15:15:16 # $SEMVER_REMOTE_NAME = origin 15:15:16 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:15:16 # $SEMVER_USER_NAME = edgex-jenkins 15:15:16 # $SEMVER_BRANCH = hanoi 15:15:16 # $SEMVER_TEMP = /tmp/semver-728824670 15:15:16 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 15:15:20 # '/tmp/semver-728824670' -> '/w/workspace/undry_app-functions-sdk-go_hanoi/.semver' 15:15:20 # -> Force: false 15:15:20 # $SEMVER_DIR = /w/workspace/undry_app-functions-sdk-go_hanoi/.semver [Pipeline] } 15:15:20 $ docker exec --env ******** --env ******** 75c511ffe5bec0aab5fa884da5302c725d1302fc1683ce2f32d5c6a0ce2c0272 ssh-agent -k 15:15:20 unset SSH_AUTH_SOCK; 15:15:20 unset SSH_AGENT_PID; 15:15:20 echo Agent pid 53 killed; 15:15:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:15:20 + git semver [Pipeline] } 15:15:21 $ docker stop --time=1 75c511ffe5bec0aab5fa884da5302c725d1302fc1683ce2f32d5c6a0ce2c0272 15:15:22 $ docker rm -f 75c511ffe5bec0aab5fa884da5302c725d1302fc1683ce2f32d5c6a0ce2c0272 [Pipeline] // withDockerContainer [Pipeline] sh 15:15:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:15:23 Stashed 1 file(s) [Pipeline] echo 15:15:23 [edgeXSemver]: initialized semver on version 1.3.2-dev.1 [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 15:15:39 Still waiting to schedule task 15:15:39 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-26288’ 15:15:39 Still waiting to schedule task 15:15:39 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 15:17:34 Running on prd-ubuntu18.04-docker-arm64-4c-16g-26297 in /w/workspace/undry_app-functions-sdk-go_hanoi [Pipeline] { [Pipeline] ws 15:17:34 Running in /w/workspace/app-functions-sdk-go/5 [Pipeline] { [Pipeline] checkout 15:17:40 using credential edgex-jenkins-ssh 15:17:40 Cloning the remote Git repository 15:17:40 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 15:17:40 > git init /w/workspace/app-functions-sdk-go/5 # timeout=10 15:17:40 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 15:17:40 > git --version # timeout=10 15:17:40 > git --version # 'git version 2.17.1' 15:17:40 using GIT_SSH to set credentials SSH Credentials for GitHub 15:17:40 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:17:44 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 15:17:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:17:44 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 15:17:44 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 15:17:44 using GIT_SSH to set credentials SSH Credentials for GitHub 15:17:44 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/hanoi:refs/remotes/origin/hanoi # timeout=10 15:17:45 Checking out Revision cbc22c6f1cbc49b021d3a08aab8f436f7e991a32 (hanoi) 15:17:45 > git config core.sparsecheckout # timeout=10 15:17:45 > git checkout -f cbc22c6f1cbc49b021d3a08aab8f436f7e991a32 # timeout=10 15:17:49 Commit message: "feat: Hanoi: Add template for creating new App Service (#679)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:17:51 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 15:17:51 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 15:17:52 + sudo service docker restart 15:17:52 + true [Pipeline] unstash [Pipeline] echo 15:17:55 ========================================================= 15:17:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 15:17:55 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:17:55 + 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 . 15:17:56 Sending build context to Docker daemon 19.31MB 15:17:56 Step 1/8 : ARG BASE=golang:1.15-alpine 15:17:56 Step 2/8 : FROM ${BASE} 15:17:56 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:17:56 5f621e34cdf4: Pulling fs layer 15:17:56 a4357932f1b6: Pulling fs layer 15:17:56 18c013af1878: Pulling fs layer 15:17:56 00ac8860ef70: Pulling fs layer 15:17:56 63d7cb157983: Pulling fs layer 15:17:56 b116817d02f9: Pulling fs layer 15:17:56 745a02a5169b: Pulling fs layer 15:17:56 00ac8860ef70: Waiting 15:17:56 63d7cb157983: Waiting 15:17:56 b116817d02f9: Waiting 15:17:56 745a02a5169b: Waiting 15:17:57 18c013af1878: Download complete 15:17:57 a4357932f1b6: Verifying Checksum 15:17:57 a4357932f1b6: Download complete 15:17:57 63d7cb157983: Verifying Checksum 15:17:57 63d7cb157983: Download complete 15:17:57 b116817d02f9: Download complete 15:17:57 5f621e34cdf4: Verifying Checksum 15:17:57 5f621e34cdf4: Download complete 15:17:58 5f621e34cdf4: Pull complete 15:17:59 a4357932f1b6: Pull complete 15:17:59 18c013af1878: Pull complete 15:18:00 745a02a5169b: Download complete 15:18:01 00ac8860ef70: Verifying Checksum 15:18:01 00ac8860ef70: Download complete 15:18:11 00ac8860ef70: Pull complete 15:18:11 63d7cb157983: Pull complete 15:18:11 b116817d02f9: Pull complete 15:18:15 745a02a5169b: Pull complete 15:18:15 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 15:18:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 15:18:15 ---> b7e6874047d6 15:18:15 Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 15:18:15 latest: Pulling from library/docker 15:18:15 2914792bc417: Pulling fs layer 15:18:15 756c677dae0e: Pulling fs layer 15:18:15 318712088e33: Pulling fs layer 15:18:15 be4ea4215e87: Pulling fs layer 15:18:15 0afbccbf4e53: Pulling fs layer 15:18:15 3b11151c2bc8: Pulling fs layer 15:18:15 46a6a033d54e: Pulling fs layer 15:18:15 0afbccbf4e53: Waiting 15:18:15 3b11151c2bc8: Waiting 15:18:15 46a6a033d54e: Waiting 15:18:15 be4ea4215e87: Waiting 15:18:15 318712088e33: Verifying Checksum 15:18:15 318712088e33: Download complete 15:18:15 756c677dae0e: Verifying Checksum 15:18:15 756c677dae0e: Download complete 15:18:16 2914792bc417: Download complete 15:18:16 0afbccbf4e53: Download complete 15:18:16 3b11151c2bc8: Verifying Checksum 15:18:16 3b11151c2bc8: Download complete 15:18:16 46a6a033d54e: Verifying Checksum 15:18:16 46a6a033d54e: Download complete 15:18:16 2914792bc417: Pull complete 15:18:17 756c677dae0e: Pull complete 15:18:18 318712088e33: Pull complete 15:18:18 be4ea4215e87: Verifying Checksum 15:18:18 be4ea4215e87: Download complete 15:18:21 be4ea4215e87: Pull complete 15:18:21 0afbccbf4e53: Pull complete 15:18:22 3b11151c2bc8: Pull complete 15:18:22 46a6a033d54e: Pull complete 15:18:22 Digest: sha256:74df197ad4646763e1954829231c54b5e4c362a7bdc5c5198d2b59ab5ace06ba 15:18:22 Status: Downloaded newer image for docker:latest 15:18:29 ---> 089f3d5fcaa7 15:18:29 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:18:29 ---> Running in 008310ce4f03 15:18:29 Removing intermediate container 008310ce4f03 15:18:29 ---> fbe180e6894f 15:18:29 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 15:18:29 ---> Running in 21d709bc241c 15:18:30 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 15:18:30 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 15:18:31 (1/5) Installing libsodium (1.0.18-r0) 15:18:31 (2/5) Installing libzmq (4.3.3-r0) 15:18:31 (3/5) Installing pkgconf (1.7.2-r0) 15:18:31 (4/5) Installing libsodium-dev (1.0.18-r0) 15:18:31 (5/5) Installing zeromq-dev (4.3.3-r0) 15:18:31 Executing busybox-1.31.1-r19.trigger 15:18:31 OK: 144 MiB in 44 packages 15:18:33 Removing intermediate container 21d709bc241c 15:18:33 ---> 94f1af7d0b82 15:18:33 Step 6/8 : WORKDIR /build 15:18:33 ---> Running in 90a187f7c509 15:18:33 Removing intermediate container 90a187f7c509 15:18:33 ---> 6bed4914d2f0 15:18:33 Step 7/8 : COPY go.mod . 15:18:34 ---> 1495f01381e2 15:18:34 Step 8/8 : RUN go mod download 15:18:34 ---> Running in a1a51779ff5a 15:19:01 Removing intermediate container a1a51779ff5a 15:19:01 ---> 70de4a1a18d4 15:19:01 Successfully built 70de4a1a18d4 15:19:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 15:19:01 + docker inspect -f . ci-base-image-arm64 15:19:01 . [Pipeline] withDockerContainer 15:19:02 prd-ubuntu18.04-docker-arm64-4c-16g-26297 does not seem to be running inside a container 15:19:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/5 -v /w/workspace/app-functions-sdk-go/5:/w/workspace/app-functions-sdk-go/5:rw,z -v /w/workspace/app-functions-sdk-go/5@tmp:/w/workspace/app-functions-sdk-go/5@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 15:19:03 $ docker top 664b8c22d6ad779dbdb7e5b1fe947d647c2da1d99554df8cf1151aa191e5d622 -eo pid,comm [Pipeline] { [Pipeline] sh 15:19:11 + go version 15:19:11 go version go1.15.5 linux/arm64 [Pipeline] } 15:19:11 $ docker stop --time=1 664b8c22d6ad779dbdb7e5b1fe947d647c2da1d99554df8cf1151aa191e5d622 15:19:13 $ docker rm -f 664b8c22d6ad779dbdb7e5b1fe947d647c2da1d99554df8cf1151aa191e5d622 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:19:14 + docker inspect -f . ci-base-image-arm64 15:19:14 . [Pipeline] withDockerContainer 15:19:14 prd-ubuntu18.04-docker-arm64-4c-16g-26297 does not seem to be running inside a container 15:19:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/5 -v /w/workspace/app-functions-sdk-go/5:/w/workspace/app-functions-sdk-go/5:rw,z -v /w/workspace/app-functions-sdk-go/5@tmp:/w/workspace/app-functions-sdk-go/5@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 15:19:16 $ docker top e5accf9fb0e3ac9e1c17d664369900e77004a63bcc450db59010562546330259 -eo pid,comm [Pipeline] { [Pipeline] sh 15:19:17 + make test 15:19:17 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:19:19 ? github.com/edgexfoundry/app-functions-sdk-go [no test files] 15:19:36 Running on prd-centos7-docker-4c-2g-26298 in /w/workspace/undry_app-functions-sdk-go_hanoi [Pipeline] { [Pipeline] ws 15:19:36 Running in /w/workspace/app-functions-sdk-go/5 [Pipeline] { [Pipeline] checkout 15:19:39 using credential edgex-jenkins-ssh 15:19:39 Cloning the remote Git repository 15:19:39 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 15:19:39 > git init /w/workspace/app-functions-sdk-go/5 # timeout=10 15:19:39 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 15:19:39 > git --version # timeout=10 15:19:39 > git --version # 'git version 2.24.3' 15:19:39 using GIT_SSH to set credentials SSH Credentials for GitHub 15:19:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:19:41 ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.057s coverage: 86.2% of statements 15:19:42 Checking out Revision cbc22c6f1cbc49b021d3a08aab8f436f7e991a32 (hanoi) 15:19:41 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 15:19:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:19:41 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 15:19:41 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 15:19:41 using GIT_SSH to set credentials SSH Credentials for GitHub 15:19:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/hanoi:refs/remotes/origin/hanoi # timeout=10 15:19:42 > git config core.sparsecheckout # timeout=10 15:19:42 > git checkout -f cbc22c6f1cbc49b021d3a08aab8f436f7e991a32 # timeout=10 15:19:46 Commit message: "feat: Hanoi: Add template for creating new App Service (#679)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:19:47 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 15:19:48 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 15:19:48 + sudo service docker restart 15:19:48 + true 15:19:48 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo 15:19:49 ========================================================= 15:19:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 15:19:49 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:19:50 + 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 . 15:19:50 Sending build context to Docker daemon 19.31MB 15:19:50 Step 1/8 : ARG BASE=golang:1.15-alpine 15:19:50 Step 2/8 : FROM ${BASE} 15:19:50 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 15:19:50 188c0c94c7c5: Pulling fs layer 15:19:50 0ef7d3d256c8: Pulling fs layer 15:19:50 de9db76c5a1d: Pulling fs layer 15:19:50 bca2f99d35d6: Pulling fs layer 15:19:50 93359f2a8cfa: Pulling fs layer 15:19:50 7c6f9722023f: Pulling fs layer 15:19:50 a35cf1a2eb13: Pulling fs layer 15:19:50 93359f2a8cfa: Waiting 15:19:50 7c6f9722023f: Waiting 15:19:50 a35cf1a2eb13: Waiting 15:19:50 bca2f99d35d6: Waiting 15:19:50 de9db76c5a1d: Verifying Checksum 15:19:50 de9db76c5a1d: Download complete 15:19:50 0ef7d3d256c8: Verifying Checksum 15:19:50 0ef7d3d256c8: Download complete 15:19:51 93359f2a8cfa: Verifying Checksum 15:19:51 93359f2a8cfa: Download complete 15:19:51 7c6f9722023f: Verifying Checksum 15:19:51 7c6f9722023f: Download complete 15:19:51 188c0c94c7c5: Verifying Checksum 15:19:51 188c0c94c7c5: Download complete 15:19:51 188c0c94c7c5: Pull complete 15:19:51 0ef7d3d256c8: Pull complete 15:19:51 de9db76c5a1d: Pull complete 15:19:53 a35cf1a2eb13: Verifying Checksum 15:19:53 a35cf1a2eb13: Download complete 15:19:54 bca2f99d35d6: Verifying Checksum 15:19:54 bca2f99d35d6: Download complete 15:19:59 bca2f99d35d6: Pull complete 15:19:59 93359f2a8cfa: Pull complete 15:19:59 7c6f9722023f: Pull complete 15:20:04 a35cf1a2eb13: Pull complete 15:20:04 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 15:20:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 15:20:04 ---> a62c8e92a672 15:20:04 Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 15:20:04 latest: Pulling from library/docker 15:20:04 4c0d98bf9879: Pulling fs layer 15:20:04 e2f804d31884: Pulling fs layer 15:20:04 1a73bd8bacd2: Pulling fs layer 15:20:04 b102489fa576: Pulling fs layer 15:20:04 db0085121e3c: Pulling fs layer 15:20:04 9b35ed1592a3: Pulling fs layer 15:20:04 88fabd309798: Pulling fs layer 15:20:04 db0085121e3c: Waiting 15:20:04 88fabd309798: Waiting 15:20:04 9b35ed1592a3: Waiting 15:20:04 b102489fa576: Waiting 15:20:04 1a73bd8bacd2: Download complete 15:20:04 4c0d98bf9879: Download complete 15:20:04 db0085121e3c: Download complete 15:20:04 e2f804d31884: Verifying Checksum 15:20:04 e2f804d31884: Download complete 15:20:04 9b35ed1592a3: Verifying Checksum 15:20:04 9b35ed1592a3: Download complete 15:20:04 88fabd309798: Verifying Checksum 15:20:04 88fabd309798: Download complete 15:20:04 4c0d98bf9879: Pull complete 15:20:04 e2f804d31884: Pull complete 15:20:04 1a73bd8bacd2: Pull complete 15:20:05 b102489fa576: Verifying Checksum 15:20:05 b102489fa576: Download complete 15:20:08 b102489fa576: Pull complete 15:20:08 db0085121e3c: Pull complete 15:20:08 9b35ed1592a3: Pull complete 15:20:08 88fabd309798: Pull complete 15:20:08 Digest: sha256:74df197ad4646763e1954829231c54b5e4c362a7bdc5c5198d2b59ab5ace06ba 15:20:08 Status: Downloaded newer image for docker:latest 15:20:10 ---> 0e61d3e3b8cc 15:20:10 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:20:10 ---> Running in c1575cb85825 15:20:10 Removing intermediate container c1575cb85825 15:20:10 ---> b8a04e503c57 15:20:10 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 15:20:10 ---> Running in f9bd61776f9c 15:20:11 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 15:20:12 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 15:20:12 (1/5) Installing libsodium (1.0.18-r0) 15:20:12 (2/5) Installing libzmq (4.3.3-r0) 15:20:12 (3/5) Installing pkgconf (1.7.2-r0) 15:20:12 (4/5) Installing libsodium-dev (1.0.18-r0) 15:20:12 (5/5) Installing zeromq-dev (4.3.3-r0) 15:20:13 Executing busybox-1.31.1-r19.trigger 15:20:13 OK: 167 MiB in 44 packages 15:20:13 Removing intermediate container f9bd61776f9c 15:20:13 ---> 6940278a2714 15:20:13 Step 6/8 : WORKDIR /build 15:20:14 ---> Running in ac62fa800f64 15:20:14 Removing intermediate container ac62fa800f64 15:20:14 ---> 80e9bf8d7d32 15:20:14 Step 7/8 : COPY go.mod . 15:20:14 ---> 6a8b8e037d00 15:20:14 Step 8/8 : RUN go mod download 15:20:14 ---> Running in b9e030eb8151 15:20:20 ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.063s coverage: 52.0% of statements 15:20:20 ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] 15:20:20 ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] 15:20:20 ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.095s coverage: 54.7% of statements 15:20:20 ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] 15:20:20 ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.061s coverage: 69.1% of statements 15:20:30 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.444s coverage: 61.6% of statements 15:20:30 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.015s coverage: 89.5% of statements 15:20:30 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.015s coverage: 100.0% of statements 15:20:30 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.038s coverage: 100.0% of statements 15:20:30 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.012s coverage: 100.0% of statements 15:20:30 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.012s coverage: 100.0% of statements 15:20:30 ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] 15:20:30 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] 15:20:30 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] 15:20:30 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] 15:20:30 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] 15:20:30 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] 15:20:30 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] 15:20:30 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.012s coverage: 96.6% of statements 15:20:30 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] 15:20:30 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.011s coverage: 97.7% of statements 15:20:30 ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] 15:20:30 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] 15:20:30 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.022s coverage: 8.8% of statements 15:20:31 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.961s coverage: 75.0% of statements 15:20:31 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] 15:20:31 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.043s coverage: 89.7% of statements 15:20:31 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.026s coverage: 88.9% of statements 15:20:31 ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.035s coverage: 80.5% of statements 15:20:31 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.025s coverage: 71.7% of statements 15:20:41 Removing intermediate container b9e030eb8151 15:20:41 ---> ee97b9de0a0e 15:20:41 Successfully built ee97b9de0a0e 15:20:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 15:20:41 + docker inspect -f . ci-base-image-x86_64 15:20:41 . [Pipeline] withDockerContainer 15:20:41 prd-centos7-docker-4c-2g-26298 does not seem to be running inside a container 15:20:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/5 -v /w/workspace/app-functions-sdk-go/5:/w/workspace/app-functions-sdk-go/5:rw,z -v /w/workspace/app-functions-sdk-go/5@tmp:/w/workspace/app-functions-sdk-go/5@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-x86_64 cat 15:20:42 $ docker top 7645cbacdd8c6b4ce0d98a5f7d96c0c5b6a0f5484f200235e474a09c2e2163e9 -eo pid,comm [Pipeline] { [Pipeline] sh 15:20:43 + go version 15:20:43 go version go1.15.5 linux/amd64 [Pipeline] } 15:20:43 $ docker stop --time=1 7645cbacdd8c6b4ce0d98a5f7d96c0c5b6a0f5484f200235e474a09c2e2163e9 15:20:44 $ docker rm -f 7645cbacdd8c6b4ce0d98a5f7d96c0c5b6a0f5484f200235e474a09c2e2163e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:20:45 + docker inspect -f . ci-base-image-x86_64 15:20:45 . [Pipeline] withDockerContainer 15:20:45 prd-centos7-docker-4c-2g-26298 does not seem to be running inside a container 15:20:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/5 -v /w/workspace/app-functions-sdk-go/5:/w/workspace/app-functions-sdk-go/5:rw,z -v /w/workspace/app-functions-sdk-go/5@tmp:/w/workspace/app-functions-sdk-go/5@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-x86_64 cat 15:20:46 $ docker top 643acb54dee5b1152084a5727398fd82b5697b27aef7b08aa6cb548efcc49565 -eo pid,comm [Pipeline] { [Pipeline] sh 15:20:47 + make test 15:20:47 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:20:49 ? github.com/edgexfoundry/app-functions-sdk-go [no test files] 15:20:57 ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.026s coverage: 86.2% of statements 15:20:58 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.062s coverage: 71.0% of statements 15:20:58 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.013s coverage: 94.4% of statements 15:20:58 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:21:11 gofmt -l . 15:21:11 [ "`gofmt -l .`" = "" ] 15:21:11 ./bin/test-go-mod-tidy.sh [Pipeline] } 15:21:11 $ docker stop --time=1 e5accf9fb0e3ac9e1c17d664369900e77004a63bcc450db59010562546330259 15:21:13 $ docker rm -f e5accf9fb0e3ac9e1c17d664369900e77004a63bcc450db59010562546330259 [Pipeline] // withDockerContainer [Pipeline] sh 15:21:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:21:15 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] } 15:21:16 ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.047s coverage: 52.0% of statements 15:21:16 ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] 15:21:16 ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] 15:21:16 ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.071s coverage: 54.7% of statements 15:21:16 ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] 15:21:16 ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.025s coverage: 69.1% of statements 15:21:28 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.424s coverage: 61.6% of statements 15:21:28 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.006s coverage: 89.5% of statements 15:21:28 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.005s coverage: 100.0% of statements 15:21:28 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.017s coverage: 100.0% of statements 15:21:28 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.005s coverage: 100.0% of statements 15:21:28 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.007s coverage: 100.0% of statements 15:21:28 ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] 15:21:28 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] 15:21:28 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] 15:21:28 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] 15:21:28 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] 15:21:28 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] 15:21:28 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo [no test files] 15:21:28 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/mongo/models 0.007s coverage: 96.6% of statements 15:21:28 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] 15:21:28 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.009s coverage: 97.7% of statements 15:21:28 ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] 15:21:28 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] 15:21:28 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.010s coverage: 8.8% of statements 15:21:28 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.920s coverage: 75.0% of statements 15:21:28 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] 15:21:28 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.015s coverage: 89.7% of statements 15:21:28 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.012s coverage: 88.9% of statements 15:21:28 ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.012s coverage: 80.5% of statements 15:21:28 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.008s coverage: 71.7% of statements 15:21:46 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.052s coverage: 71.0% of statements 15:21:46 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.007s coverage: 94.4% of statements 15:21:46 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:21:48 gofmt -l . 15:21:48 [ "`gofmt -l .`" = "" ] 15:21:48 ./bin/test-go-mod-tidy.sh [Pipeline] } 15:21:49 $ docker stop --time=1 643acb54dee5b1152084a5727398fd82b5697b27aef7b08aa6cb548efcc49565 15:21:51 $ docker rm -f 643acb54dee5b1152084a5727398fd82b5697b27aef7b08aa6cb548efcc49565 [Pipeline] // withDockerContainer [Pipeline] sh 15:21:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:21:51 Warning: overwriting stash ‘coverage-report’ 15:21:52 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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 15:21:54 provisioning config files... 15:21:54 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/undry_app-functions-sdk-go_hanoi@tmp/config3771152285358226352tmp [Pipeline] { [Pipeline] sh 15:21:54 + set +x 15:21:54 + curl -s https://codecov.io/bash 15:21:54 + bash -s -- 15:21:54 15:21:54 _____ _ 15:21:54 / ____| | | 15:21:54 | | ___ __| | ___ ___ _____ __ 15:21:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:21:54 | |___| (_) | (_| | __/ (_| (_) \ V / 15:21:54 \_____\___/ \__,_|\___|\___\___/ \_/ 15:21:54 Bash-20210129-7c25fce 15:21:54 15:21:54 15:21:54 ==> git version 2.24.3 found 15:21:54 ==> 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 15:21:54 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 15:21:54 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 15:21:54 ==> Jenkins CI detected. 15:21:54 project root: . 15:21:54 --> token set from env 15:21:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:21:54 ==> Running gcov in . (disable via -X gcov) 15:21:54 ==> Python coveragepy not found 15:21:54 ==> Searching for coverage reports in: 15:21:54 + . 15:21:54 -> Found 1 reports 15:21:54 ==> Detecting git/mercurial file structure 15:21:54 ==> Reading reports 15:21:54 + ./coverage.out bytes=90550 15:21:54 ==> Appending adjustments 15:21:54 https://docs.codecov.io/docs/fixing-reports 15:21:55 + Found adjustments 15:21:55 ==> Gzipping contents 15:21:55 16K /tmp/codecov.oqcQza.gz 15:21:55 ==> Uploading reports 15:21:55 url: https://codecov.io 15:21:55 query: branch=hanoi&commit=cbc22c6f1cbc49b021d3a08aab8f436f7e991a32&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fhanoi%2F5%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:21:55 -> Pinging Codecov 15:21:55 https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=hanoi&commit=cbc22c6f1cbc49b021d3a08aab8f436f7e991a32&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fhanoi%2F5%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:21:56 -> Uploading to 15:21:56 https://storage.googleapis.com/codecov/v4/raw/2021-02-12/3D8B5DFFC46A037C893635FACE044666/cbc22c6f1cbc49b021d3a08aab8f436f7e991a32/9ed2ebdd-66f8-4a66-9705-55d8afab90e8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210212%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210212T152155Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b262c8ebecfa45a18efddc0b79bb06f99c92c4df6efadc948387f1bebe2c831f 15:21:56 % Total % Received % Xferd Average Speed Time Time Time Current 15:21:56 Dload Upload Total Spent Left Speed 15:21:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16262 0 0 100 16262 0 33047 --:--:-- --:--:-- --:--:-- 33120 15:21:56 -> View reports at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/cbc22c6f1cbc49b021d3a08aab8f436f7e991a32 [Pipeline] } 15:21:56 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 15:21:57 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 15:21:57 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:21:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:21:57 15:21:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 15:21:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:21:57 1.410.4: Pulling from edgex-devops/edgex-snyk-go 15:21:57 188c0c94c7c5: Pulling fs layer 15:21:57 0ef7d3d256c8: Pulling fs layer 15:21:57 de9db76c5a1d: Pulling fs layer 15:21:57 0eba1c9be4d2: Pulling fs layer 15:21:57 0d57e429df01: Pulling fs layer 15:21:57 4e4be7b47b0d: Pulling fs layer 15:21:57 e1f770b5df2f: Pulling fs layer 15:21:57 85a0685a4137: Pulling fs layer 15:21:57 0d57e429df01: Waiting 15:21:57 4e4be7b47b0d: Waiting 15:21:57 e1f770b5df2f: Waiting 15:21:57 85a0685a4137: Waiting 15:21:57 0eba1c9be4d2: Waiting 15:21:57 de9db76c5a1d: Verifying Checksum 15:21:57 de9db76c5a1d: Download complete 15:21:57 0ef7d3d256c8: Verifying Checksum 15:21:57 0ef7d3d256c8: Download complete 15:21:57 0d57e429df01: Verifying Checksum 15:21:57 0d57e429df01: Download complete 15:21:57 4e4be7b47b0d: Verifying Checksum 15:21:57 4e4be7b47b0d: Download complete 15:21:57 188c0c94c7c5: Download complete 15:21:58 188c0c94c7c5: Pull complete 15:21:58 0ef7d3d256c8: Pull complete 15:21:58 de9db76c5a1d: Pull complete 15:22:00 e1f770b5df2f: Verifying Checksum 15:22:00 e1f770b5df2f: Download complete 15:22:02 0eba1c9be4d2: Verifying Checksum 15:22:02 0eba1c9be4d2: Download complete 15:22:02 85a0685a4137: Verifying Checksum 15:22:02 85a0685a4137: Download complete 15:22:08 0eba1c9be4d2: Pull complete 15:22:08 0d57e429df01: Pull complete 15:22:08 4e4be7b47b0d: Pull complete 15:22:10 e1f770b5df2f: Pull complete 15:22:18 85a0685a4137: Pull complete 15:22:18 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 15:22:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:22:18 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 15:22:18 prd-centos7-docker-4c-2g-26288 does not seem to be running inside a container 15:22:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/undry_app-functions-sdk-go_hanoi -v /w/workspace/undry_app-functions-sdk-go_hanoi:/w/workspace/undry_app-functions-sdk-go_hanoi:rw,z -v /w/workspace/undry_app-functions-sdk-go_hanoi@tmp:/w/workspace/undry_app-functions-sdk-go_hanoi@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 15:22:20 $ docker top 21343140be526ec9e7d96d37a6bb0c74833df86c414d81d054eec4c6b0c94f29 -eo pid,comm [Pipeline] { [Pipeline] echo 15:22:20 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 15:22:20 + set -o pipefail 15:22:20 + snyk monitor '--org=edgex-jenkins' 15:22:39 15:22:39 Monitoring /w/workspace/undry_app-functions-sdk-go_hanoi (github.com/edgexfoundry/app-functions-sdk-go)... 15:22:39 15:22:39 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/84a89414-c83d-4daa-8ff9-7ceae658ecfc/history/cd386c4c-579d-4d29-9d15-841677e1319c 15:22:39 15:22:39 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 15:22:39 15:22:39 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:22:39 15:22:39 [Pipeline] } 15:22:39 $ docker stop --time=1 21343140be526ec9e7d96d37a6bb0c74833df86c414d81d054eec4c6b0c94f29 15:22:41 $ docker rm -f 21343140be526ec9e7d96d37a6bb0c74833df86c414d81d054eec4c6b0c94f29 [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 15:22:42 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:22:42 provisioning config files... 15:22:42 copy managed file [swaggerhub-api-key] to file:/w/workspace/undry_app-functions-sdk-go_hanoi@tmp/config100961806560606041tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:22:43 --> edgex-publish-swagger.sh 15:22:43 === Publish openapi/v2 API === 15:22:43 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 15:22:43 [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/undry_app-functions-sdk-go_hanoi/openapi/v2/app-functions-sdk.yaml] 15:22:43 % Total % Received % Xferd Average Speed Time Time Time Current 15:22:43 Dload Upload Total Spent Left Speed 15:22:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13026 0 0 100 13026 0 10896 0:00:01 0:00:01 --:--:-- 10909 100 13026 0 0 100 13026 0 10893 0:00:01 0:00:01 --:--:-- 10900 15:22:44 15:22:44 [Pipeline] } 15:22:44 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 15:22:45 + git log --format=format:%s -1 cbc22c6f1cbc49b021d3a08aab8f436f7e991a32 [Pipeline] isUnix [Pipeline] sh 15:22:46 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:22:46 . [Pipeline] withDockerContainer 15:22:46 prd-centos7-docker-4c-2g-26288 does not seem to be running inside a container 15:22:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_app-functions-sdk-go_hanoi -v /w/workspace/undry_app-functions-sdk-go_hanoi:/w/workspace/undry_app-functions-sdk-go_hanoi:rw,z -v /w/workspace/undry_app-functions-sdk-go_hanoi@tmp:/w/workspace/undry_app-functions-sdk-go_hanoi@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 15:22:47 $ docker top de2834398b0e66534ca766b485e7f8bbaa0e57ff686e5b1e887ef502605c4214 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:22:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:22:47 [ssh-agent] Looking for ssh-agent implementation... 15:22:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:22:47 $ docker exec de2834398b0e66534ca766b485e7f8bbaa0e57ff686e5b1e887ef502605c4214 ssh-agent 15:22:47 SSH_AUTH_SOCK=/tmp/ssh-i1Q6wND52c9T/agent.11 15:22:47 SSH_AGENT_PID=16 15:22:47 Running ssh-add (command line suppressed) 15:22:47 Identity added: /w/workspace/undry_app-functions-sdk-go_hanoi@tmp/private_key_5856065289933476177.key (/w/workspace/undry_app-functions-sdk-go_hanoi@tmp/private_key_5856065289933476177.key) 15:22:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:22:48 + git semver tag 15:22:48 # -> Open(): unable to determine branch for HEAD 15:22:48 # $GIT_DIR = /w/workspace/undry_app-functions-sdk-go_hanoi/.git 15:22:48 # $GIT_WORK_TREE = /w/workspace/undry_app-functions-sdk-go_hanoi 15:22:48 # $SEMVER_REMOTE_NAME = origin 15:22:48 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:22:48 # $SEMVER_USER_NAME = edgex-jenkins 15:22:48 # $SEMVER_BRANCH = hanoi 15:22:48 # $SEMVER_DIR = /w/workspace/undry_app-functions-sdk-go_hanoi/.semver 15:22:48 # cbc22c6f1cbc49b021d3a08aab8f436f7e991a32 HEAD 15:22:48 # -> Force: false 15:22:48 # ded7146a1239cc5f82b2b081350479d5547ea4bf refs/tags/v1.3.2-dev.1 [Pipeline] } 15:22:48 $ docker exec --env ******** --env ******** de2834398b0e66534ca766b485e7f8bbaa0e57ff686e5b1e887ef502605c4214 ssh-agent -k 15:22:48 unset SSH_AUTH_SOCK; 15:22:48 unset SSH_AGENT_PID; 15:22:48 echo Agent pid 16 killed; 15:22:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:22:49 + git semver [Pipeline] } 15:22:49 $ docker stop --time=1 de2834398b0e66534ca766b485e7f8bbaa0e57ff686e5b1e887ef502605c4214 15:22:50 $ docker rm -f de2834398b0e66534ca766b485e7f8bbaa0e57ff686e5b1e887ef502605c4214 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 15:22:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:22:51 15:22:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 15:22:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:22:51 0.23.1-centos7: Pulling from edgex-lftools 15:22:51 ab5ef0e58194: Pulling fs layer 15:22:51 9712f1f96733: Pulling fs layer 15:22:51 63f879dbbcfc: Pulling fs layer 15:22:51 0d9ebad4ef96: Pulling fs layer 15:22:51 e9a5061849ea: Pulling fs layer 15:22:51 d747dcd14b5f: Pulling fs layer 15:22:51 2de7ff778b66: Pulling fs layer 15:22:51 e9a5061849ea: Waiting 15:22:51 d747dcd14b5f: Waiting 15:22:51 2de7ff778b66: Waiting 15:22:51 0d9ebad4ef96: Waiting 15:22:51 9712f1f96733: Verifying Checksum 15:22:51 9712f1f96733: Download complete 15:22:53 63f879dbbcfc: Verifying Checksum 15:22:53 63f879dbbcfc: Download complete 15:22:53 e9a5061849ea: Verifying Checksum 15:22:53 e9a5061849ea: Download complete 15:22:53 d747dcd14b5f: Download complete 15:22:54 2de7ff778b66: Verifying Checksum 15:22:54 2de7ff778b66: Download complete 15:22:54 0d9ebad4ef96: Verifying Checksum 15:22:54 0d9ebad4ef96: Download complete 15:22:54 ab5ef0e58194: Verifying Checksum 15:22:54 ab5ef0e58194: Download complete 15:23:00 ab5ef0e58194: Pull complete 15:23:00 9712f1f96733: Pull complete 15:23:02 63f879dbbcfc: Pull complete 15:23:09 0d9ebad4ef96: Pull complete 15:23:12 e9a5061849ea: Pull complete 15:23:12 d747dcd14b5f: Pull complete 15:23:15 2de7ff778b66: Pull complete 15:23:15 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:23:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:23:15 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 15:23:15 prd-centos7-docker-4c-2g-26288 does not seem to be running inside a container 15:23:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_app-functions-sdk-go_hanoi -v /w/workspace/undry_app-functions-sdk-go_hanoi:/w/workspace/undry_app-functions-sdk-go_hanoi:rw,z -v /w/workspace/undry_app-functions-sdk-go_hanoi@tmp:/w/workspace/undry_app-functions-sdk-go_hanoi@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 15:23:19 $ docker top 0d93a76b86d54a144c2bf8acd3a8cc264ab635ac1f58b26d8afedd2922a3a538 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:23:19 provisioning config files... 15:23:19 copy managed file [sigul-config] to file:/w/workspace/undry_app-functions-sdk-go_hanoi@tmp/config5581117119285066952tmp 15:23:19 copy managed file [sigul-password] to file:/w/workspace/undry_app-functions-sdk-go_hanoi@tmp/config2711390936921679272tmp 15:23:19 copy managed file [sigul-pki] to file:/w/workspace/undry_app-functions-sdk-go_hanoi@tmp/config8052749209809403618tmp [Pipeline] { [Pipeline] echo 15:23:19 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:23:20 ---> sigul-configuration.sh 15:23:20 gpg: directory `/root/.gnupg' created 15:23:20 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:23:20 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:23:20 gpg: keyring `/root/.gnupg/secring.gpg' created 15:23:20 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:23:20 gpg: CAST5 encrypted data 15:23:20 gpg: encrypted with 1 passphrase 15:23:20 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:23:20 + mkdir /home/jenkins 15:23:20 + mkdir /home/jenkins/sigul [Pipeline] sh 15:23:21 + 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 15:23:21 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:23:21 ---> sigul-install.sh 15:23:27 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 15:23:28 + git tag --list 15:23:28 v0.1.0 15:23:28 v0.1.1 15:23:28 v1.0.0 15:23:28 v1.1.0 15:23:28 v1.2.0 15:23:28 v1.3.0 15:23:28 v1.3.1 15:23:28 v1.3.1-dev.1 15:23:28 v1.3.2-dev.1 15:23:28 v2.0.0-dev.1 15:23:28 v2.0.0-dev.10 15:23:28 v2.0.0-dev.11 15:23:28 v2.0.0-dev.2 15:23:28 v2.0.0-dev.3 15:23:28 v2.0.0-dev.4 15:23:28 v2.0.0-dev.5 15:23:28 v2.0.0-dev.6 15:23:28 v2.0.0-dev.7 15:23:28 v2.0.0-dev.8 15:23:28 v2.0.0-dev.9 [Pipeline] sh 15:23:28 + lftools sign git-tag v1.3.2-dev.1 15:23:29 Signing Git tag with Sigul... 15:23:29 Signing v1.3.2-dev.1 [Pipeline] echo 15:23:30 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:23:31 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:23:31 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:23:31 $ docker stop --time=1 0d93a76b86d54a144c2bf8acd3a8cc264ab635ac1f58b26d8afedd2922a3a538 15:23:33 $ docker rm -f 0d93a76b86d54a144c2bf8acd3a8cc264ab635ac1f58b26d8afedd2922a3a538 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 15:23:34 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:23:34 . [Pipeline] withDockerContainer 15:23:34 prd-centos7-docker-4c-2g-26288 does not seem to be running inside a container 15:23:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_app-functions-sdk-go_hanoi -v /w/workspace/undry_app-functions-sdk-go_hanoi:/w/workspace/undry_app-functions-sdk-go_hanoi:rw,z -v /w/workspace/undry_app-functions-sdk-go_hanoi@tmp:/w/workspace/undry_app-functions-sdk-go_hanoi@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 15:23:35 $ docker top 2e986dda8c80f71949053555b1b447abb2d9d299b18a4db40ab268882390af87 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:23:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:23:35 [ssh-agent] Looking for ssh-agent implementation... 15:23:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:23:35 $ docker exec 2e986dda8c80f71949053555b1b447abb2d9d299b18a4db40ab268882390af87 ssh-agent 15:23:35 SSH_AUTH_SOCK=/tmp/ssh-9SMDkhdAwzdw/agent.12 15:23:35 SSH_AGENT_PID=18 15:23:35 Running ssh-add (command line suppressed) 15:23:36 Identity added: /w/workspace/undry_app-functions-sdk-go_hanoi@tmp/private_key_7405413111514922902.key (/w/workspace/undry_app-functions-sdk-go_hanoi@tmp/private_key_7405413111514922902.key) 15:23:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:23:36 + git semver bump pre 15:23:36 # -> Open(): unable to determine branch for HEAD 15:23:36 # $GIT_DIR = /w/workspace/undry_app-functions-sdk-go_hanoi/.git 15:23:36 # $GIT_WORK_TREE = /w/workspace/undry_app-functions-sdk-go_hanoi 15:23:36 # $SEMVER_REMOTE_NAME = origin 15:23:36 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:23:36 # $SEMVER_USER_NAME = edgex-jenkins 15:23:36 # $SEMVER_BRANCH = hanoi 15:23:36 # $SEMVER_DIR = /w/workspace/undry_app-functions-sdk-go_hanoi/.semver 15:23:36 1.3.2-dev.2 [Pipeline] } 15:23:36 $ docker exec --env ******** --env ******** 2e986dda8c80f71949053555b1b447abb2d9d299b18a4db40ab268882390af87 ssh-agent -k 15:23:36 unset SSH_AUTH_SOCK; 15:23:36 unset SSH_AGENT_PID; 15:23:36 echo Agent pid 18 killed; 15:23:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:23:37 + git semver [Pipeline] } 15:23:37 $ docker stop --time=1 2e986dda8c80f71949053555b1b447abb2d9d299b18a4db40ab268882390af87 15:23:38 $ docker rm -f 2e986dda8c80f71949053555b1b447abb2d9d299b18a4db40ab268882390af87 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 15:23:39 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:23:39 . [Pipeline] withDockerContainer 15:23:39 prd-centos7-docker-4c-2g-26288 does not seem to be running inside a container 15:23:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_app-functions-sdk-go_hanoi -v /w/workspace/undry_app-functions-sdk-go_hanoi:/w/workspace/undry_app-functions-sdk-go_hanoi:rw,z -v /w/workspace/undry_app-functions-sdk-go_hanoi@tmp:/w/workspace/undry_app-functions-sdk-go_hanoi@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 15:23:39 $ docker top 86e58a630b28fbfa99f9601517fa3a58186bdf3741899edc2a63fd1cae92423e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:23:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:23:40 [ssh-agent] Looking for ssh-agent implementation... 15:23:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:23:40 $ docker exec 86e58a630b28fbfa99f9601517fa3a58186bdf3741899edc2a63fd1cae92423e ssh-agent 15:23:40 SSH_AUTH_SOCK=/tmp/ssh-bpBlt703JMK5/agent.11 15:23:40 SSH_AGENT_PID=16 15:23:40 Running ssh-add (command line suppressed) 15:23:40 Identity added: /w/workspace/undry_app-functions-sdk-go_hanoi@tmp/private_key_3668116815048533972.key (/w/workspace/undry_app-functions-sdk-go_hanoi@tmp/private_key_3668116815048533972.key) 15:23:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:23:41 + git semver push 15:23:41 # -> Open(): unable to determine branch for HEAD 15:23:41 # $GIT_DIR = /w/workspace/undry_app-functions-sdk-go_hanoi/.git 15:23:41 # $GIT_WORK_TREE = /w/workspace/undry_app-functions-sdk-go_hanoi 15:23:41 # $SEMVER_REMOTE_NAME = origin 15:23:41 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:23:41 # $SEMVER_USER_NAME = edgex-jenkins 15:23:41 # $SEMVER_BRANCH = hanoi 15:23:41 # $SEMVER_DIR = /w/workspace/undry_app-functions-sdk-go_hanoi/.semver [Pipeline] } 15:23:47 $ docker exec --env ******** --env ******** 86e58a630b28fbfa99f9601517fa3a58186bdf3741899edc2a63fd1cae92423e ssh-agent -k 15:23:48 unset SSH_AUTH_SOCK; 15:23:48 unset SSH_AGENT_PID; 15:23:48 echo Agent pid 16 killed; 15:23:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:23:48 + git semver [Pipeline] } 15:23:48 $ docker stop --time=1 86e58a630b28fbfa99f9601517fa3a58186bdf3741899edc2a63fd1cae92423e 15:23:50 $ docker rm -f 86e58a630b28fbfa99f9601517fa3a58186bdf3741899edc2a63fd1cae92423e [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 15:23:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:23:52 ---> package-listing.sh 15:23:52 ++ facter osfamily 15:23:52 ++ tr '[:upper:]' '[:lower:]' 15:23:52 + OS_FAMILY=redhat 15:23:52 + workspace=/w/workspace/undry_app-functions-sdk-go_hanoi 15:23:52 + START_PACKAGES=/tmp/packages_start.txt 15:23:52 + END_PACKAGES=/tmp/packages_end.txt 15:23:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:23:52 + PACKAGES=/tmp/packages_start.txt 15:23:52 + '[' /w/workspace/undry_app-functions-sdk-go_hanoi ']' 15:23:52 + PACKAGES=/tmp/packages_end.txt 15:23:52 + case "${OS_FAMILY}" in 15:23:52 + rpm -qa 15:23:52 + sort 15:23:58 + '[' -f /tmp/packages_start.txt ']' 15:23:58 + '[' -f /tmp/packages_end.txt ']' 15:23:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:23:58 + '[' /w/workspace/undry_app-functions-sdk-go_hanoi ']' 15:23:58 + mkdir -p /w/workspace/undry_app-functions-sdk-go_hanoi/archives/ 15:23:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_app-functions-sdk-go_hanoi/archives/ [Pipeline] echo 15:23:58 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/undry_app-functions-sdk-go_hanoi/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:23:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 15:23:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:23:58 15:23:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 15:23:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:23:58 alpine: Pulling from edgex-lftools-log-publisher 15:23:58 df20fa9351a1: Pulling fs layer 15:23:58 36b3adc4ff6f: Pulling fs layer 15:23:58 8ad3a11d3b57: Pulling fs layer 15:23:58 46f8f816bc3b: Pulling fs layer 15:23:58 93b61091891f: Pulling fs layer 15:23:58 93b9cdb0e59b: Pulling fs layer 15:23:58 5e14af77c1be: Pulling fs layer 15:23:58 01666e4c0597: Pulling fs layer 15:23:58 aa168da1d23b: Pulling fs layer 15:23:58 93b61091891f: Waiting 15:23:58 93b9cdb0e59b: Waiting 15:23:58 5e14af77c1be: Waiting 15:23:58 01666e4c0597: Waiting 15:23:58 aa168da1d23b: Waiting 15:23:58 46f8f816bc3b: Waiting 15:23:58 36b3adc4ff6f: Download complete 15:23:58 46f8f816bc3b: Verifying Checksum 15:23:58 46f8f816bc3b: Download complete 15:23:59 df20fa9351a1: Verifying Checksum 15:23:59 93b9cdb0e59b: Verifying Checksum 15:23:59 93b9cdb0e59b: Download complete 15:23:59 93b61091891f: Verifying Checksum 15:23:59 93b61091891f: Download complete 15:23:59 8ad3a11d3b57: Verifying Checksum 15:23:59 8ad3a11d3b57: Download complete 15:23:59 5e14af77c1be: Verifying Checksum 15:23:59 5e14af77c1be: Download complete 15:23:59 01666e4c0597: Verifying Checksum 15:23:59 01666e4c0597: Download complete 15:23:59 df20fa9351a1: Pull complete 15:24:00 36b3adc4ff6f: Pull complete 15:24:01 8ad3a11d3b57: Pull complete 15:24:01 46f8f816bc3b: Pull complete 15:24:02 aa168da1d23b: Verifying Checksum 15:24:02 aa168da1d23b: Download complete 15:24:02 93b61091891f: Pull complete 15:24:02 93b9cdb0e59b: Pull complete 15:24:02 5e14af77c1be: Pull complete 15:24:02 01666e4c0597: Pull complete 15:24:10 aa168da1d23b: Pull complete 15:24:10 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 15:24:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:24:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 15:24:10 prd-centos7-docker-4c-2g-26288 does not seem to be running inside a container 15:24:10 $ 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/undry_app-functions-sdk-go_hanoi/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_app-functions-sdk-go_hanoi -v /w/workspace/undry_app-functions-sdk-go_hanoi:/w/workspace/undry_app-functions-sdk-go_hanoi:rw,z -v /w/workspace/undry_app-functions-sdk-go_hanoi@tmp:/w/workspace/undry_app-functions-sdk-go_hanoi@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 15:24:14 $ docker top b9ac2da540843dc8e455af382bcb3f9f853a3b5568262b671b249498d9491f53 -eo pid,comm [Pipeline] { [Pipeline] sh 15:24:14 + touch /tmp/pre-build-complete [Pipeline] sh 15:24:15 + mkdir -p /var/log/sa [Pipeline] sh 15:24:15 + ls /var/log/sa-host 15:24:15 + sadf -c /var/log/sa-host/sa12 15:24:15 file_magic: OK 15:24:15 HZ: Using current value: 100 15:24:15 file_header: OK 15:24:15 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 15:24:15 Statistics: 15:24:15 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...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...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...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...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...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...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...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...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...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...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 15:24:15 File successfully converted to sysstat format version 12.2.1 15:24:15 + sadf -c /var/log/sa-host/sa23 15:24:15 file_magic: OK 15:24:15 HZ: Using current value: 100 15:24:15 file_header: OK 15:24:15 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 15:24:15 Statistics: 15:24:15 Hnuu...uuuununununu... 15:24:15 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:24:16 provisioning config files... 15:24:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_app-functions-sdk-go_hanoi@tmp/config8036296115452086554tmp [Pipeline] { [Pipeline] echo 15:24:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:24:16 ---> create-netrc.sh [Pipeline] } 15:24:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 15:24:16 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 15:24:16 ---> python-tools-install.sh [Pipeline] echo 15:24:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:24:17 ---> sudo-logs.sh 15:24:17 Archiving 'sudo' log.. [Pipeline] echo 15:24:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:24:17 ---> job-cost.sh 15:24:17 lf-activate-venv: SKIPPING 15:24:17 INFO: No Stack... 15:24:18 INFO: Retrieving Pricing Info for: v1-standard-2 15:24:19 INFO: Archiving Costs [Pipeline] echo 15:24:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:24:19 ---> logs-deploy.sh 15:24:19 lf-activate-venv: SKIPPING 15:24:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/hanoi/5 15:24:19 INFO: archiving workspace using pattern(s): 15:24:21 Archives upload complete. 15:24:21 INFO: archiving logs to Nexus 15:24:22 ---> uname -a: 15:24:22 Linux prd-centos7-docker-4c-2g-26288.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 15:24:22 15:24:22 15:24:22 ---> lscpu: 15:24:22 Architecture: x86_64 15:24:22 CPU op-mode(s): 32-bit, 64-bit 15:24:22 Byte Order: Little Endian 15:24:22 Address sizes: 40 bits physical, 48 bits virtual 15:24:22 CPU(s): 4 15:24:22 On-line CPU(s) list: 0-3 15:24:22 Thread(s) per core: 1 15:24:22 Core(s) per socket: 1 15:24:22 Socket(s): 4 15:24:22 NUMA node(s): 1 15:24:22 Vendor ID: GenuineIntel 15:24:22 CPU family: 6 15:24:22 Model: 44 15:24:22 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 15:24:22 Stepping: 1 15:24:22 CPU MHz: 2933.436 15:24:22 BogoMIPS: 5866.87 15:24:22 Virtualization: VT-x 15:24:22 Hypervisor vendor: KVM 15:24:22 Virtualization type: full 15:24:22 L1d cache: 128 KiB 15:24:22 L1i cache: 128 KiB 15:24:22 L2 cache: 16 MiB 15:24:22 L3 cache: 64 MiB 15:24:22 NUMA node0 CPU(s): 0-3 15:24:22 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 15:24:22 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 15:24:22 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 15:24:22 Vulnerability Meltdown: Mitigation; PTI 15:24:22 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 15:24:22 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 15:24:22 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 15:24:22 Vulnerability Srbds: Not affected 15:24:22 Vulnerability Tsx async abort: Not affected 15:24:22 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 15:24:22 15:24:22 15:24:22 ---> nproc: 15:24:22 4 15:24:22 15:24:22 15:24:22 ---> df -h: 15:24:22 Filesystem Size Used Available Use% Mounted on 15:24:22 overlay 50.0G 8.2G 41.8G 16% / 15:24:22 tmpfs 64.0M 0 64.0M 0% /dev 15:24:22 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 15:24:22 shm 64.0M 0 64.0M 0% /dev/shm 15:24:22 /dev/vda1 50.0G 8.2G 41.8G 16% /facter-os 15:24:22 /dev/vda1 50.0G 8.2G 41.8G 16% /etc/resolv.conf 15:24:22 /dev/vda1 50.0G 8.2G 41.8G 16% /etc/hostname 15:24:22 /dev/vda1 50.0G 8.2G 41.8G 16% /etc/hosts 15:24:22 /dev/vda1 50.0G 8.2G 41.8G 16% /var/log/auth.log 15:24:22 /dev/vda1 50.0G 8.2G 41.8G 16% /w/workspace/undry_app-functions-sdk-go_hanoi 15:24:22 /dev/vda1 50.0G 8.2G 41.8G 16% /run/cloud-init/result.json 15:24:22 /dev/vda1 50.0G 8.2G 41.8G 16% /w/workspace/undry_app-functions-sdk-go_hanoi@tmp 15:24:22 /dev/vda1 50.0G 8.2G 41.8G 16% /var/log/sa-host 15:24:22 /dev/vda1 50.0G 8.2G 41.8G 16% /var/log/secure 15:24:22 15:24:22 15:24:22 ---> free -m: 15:24:22 total used free shared buff/cache available 15:24:22 Mem: 1837 835 150 0 851 941 15:24:22 Swap: 1023 3 1020 15:24:22 15:24:22 15:24:22 ---> ip addr: 15:24:22 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 15:24:22 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 15:24:22 inet 127.0.0.1/8 scope host lo 15:24:22 valid_lft forever preferred_lft forever 15:24:22 inet6 ::1/128 scope host 15:24:22 valid_lft forever preferred_lft forever 15:24:22 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 15:24:22 link/ether fa:16:3e:1f:bd:d2 brd ff:ff:ff:ff:ff:ff 15:24:22 inet 10.30.122.51/23 brd 10.30.123.255 scope global dynamic eth0 15:24:22 valid_lft 78092sec preferred_lft 78092sec 15:24:22 inet6 fe80::f816:3eff:fe1f:bdd2/64 scope link 15:24:22 valid_lft forever preferred_lft forever 15:24:22 3: docker0: mtu 1500 qdisc noqueue state DOWN 15:24:22 link/ether 02:42:89:5d:3a:c1 brd ff:ff:ff:ff:ff:ff 15:24:22 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 15:24:22 valid_lft forever preferred_lft forever 15:24:22 inet6 fe80::42:89ff:fe5d:3ac1/64 scope link 15:24:22 valid_lft forever preferred_lft forever 15:24:22 15:24:22