Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 7e0294b946f3983e3ded7d58e302651817d82cb7 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-functions-sdk-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-28549 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 7e0294b946f3983e3ded7d58e302651817d82cb7 (master) > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7e0294b946f3983e3ded7d58e302651817d82cb7 # timeout=10 Commit message: "refactor: Remove V1 API code and swagger (#730)" > git rev-list --no-walk 4a1f060505acd7d76a29fd8599ca962e4b127f4d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:42:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:42:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:42:38 ========================================================= 20:42:38 EdgeX Global Pipelines Version Info 20:42:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:42:39 ------------------- 20:42:39 stable info: 20:42:39 ------------------- 20:42:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:42:39 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 20:42:39 Message: update stable to v1.0.184 20:42:40 ------------------- 20:42:40 experimental info: 20:42:40 ------------------- 20:42:40 Commited By: **** collab-it+edgex@linuxfoundation.org 20:42:40 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 20:42:40 Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:42:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 20:42:41 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 20:42:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:42:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:42:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:42:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 20:42:41 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 20:42:41 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 20:42:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:42:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:42:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:42:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 20:42:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:42:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:42:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 20:42:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 20:42:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:42:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:42:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:42:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:42:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 20:42:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 20:42:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:42:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:42:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 20:42:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:42:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 20:42:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 20:42:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 20:42:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7e0294b946f3983e3ded7d58e302651817d82cb7 [Pipeline] echo 20:42:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7e0294b [Pipeline] echo 20:42:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:42:45 + git log --format=format:%s -1 7e0294b946f3983e3ded7d58e302651817d82cb7 [Pipeline] echo 20:42:45 GIT_COMMIT: 7e0294b946f3983e3ded7d58e302651817d82cb7, Commit Message: refactor: Remove V1 API code and swagger (#730) [Pipeline] echo 20:42:45 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 20:42:46 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:42:46 20:42:46 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:42:46 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:42:46 latest: Pulling from edgex-devops/git-semver 20:42:46 31603596830f: Pulling fs layer 20:42:46 2a8b12db71e7: Pulling fs layer 20:42:46 6ca5941a6612: Pulling fs layer 20:42:46 ecc8261a40a4: Pulling fs layer 20:42:46 ecc8261a40a4: Waiting 20:42:46 2a8b12db71e7: Verifying Checksum 20:42:46 2a8b12db71e7: Download complete 20:42:47 31603596830f: Verifying Checksum 20:42:47 31603596830f: Download complete 20:42:47 ecc8261a40a4: Verifying Checksum 20:42:47 ecc8261a40a4: Download complete 20:42:47 6ca5941a6612: Verifying Checksum 20:42:47 6ca5941a6612: Download complete 20:42:47 31603596830f: Pull complete 20:42:47 2a8b12db71e7: Pull complete 20:42:48 6ca5941a6612: Pull complete 20:42:48 ecc8261a40a4: Pull complete 20:42:48 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 20:42:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:42:48 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:42:48 prd-centos7-docker-4c-2g-28549 does not seem to be running inside a container 20:42:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:42:51 $ docker top 92b0cfb09f2ae200a2b00b1bddd0a98e2a0fe3254d0651c3e3a246d33699bcb5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:42:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:42:52 [ssh-agent] Looking for ssh-agent implementation... 20:42:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:42:52 $ docker exec 92b0cfb09f2ae200a2b00b1bddd0a98e2a0fe3254d0651c3e3a246d33699bcb5 ssh-agent 20:42:52 SSH_AUTH_SOCK=/tmp/ssh-mN8UWHY1CN9c/agent.11 20:42:52 SSH_AGENT_PID=17 20:42:52 Running ssh-add (command line suppressed) 20:42:52 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_449596877569851349.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_449596877569851349.key) 20:42:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:42:53 + git tag --points-at HEAD [Pipeline] } 20:42:53 $ docker exec --env ******** --env ******** 92b0cfb09f2ae200a2b00b1bddd0a98e2a0fe3254d0651c3e3a246d33699bcb5 ssh-agent -k 20:42:53 unset SSH_AUTH_SOCK; 20:42:53 unset SSH_AGENT_PID; 20:42:53 echo Agent pid 17 killed; 20:42:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:42:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:42:53 [ssh-agent] Looking for ssh-agent implementation... 20:42:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:42:53 $ docker exec 92b0cfb09f2ae200a2b00b1bddd0a98e2a0fe3254d0651c3e3a246d33699bcb5 ssh-agent 20:42:53 SSH_AUTH_SOCK=/tmp/ssh-0IEjk3XKZkpN/agent.47 20:42:53 SSH_AGENT_PID=53 20:42:53 Running ssh-add (command line suppressed) 20:42:53 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_7652299078413871863.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_7652299078413871863.key) 20:42:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:42:54 + git semver init 20:42:54 # -> Open(): unable to determine branch for HEAD 20:42:54 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git 20:42:54 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master 20:42:54 # $SEMVER_REMOTE_NAME = origin 20:42:54 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:42:54 # $SEMVER_USER_NAME = edgex-jenkins 20:42:54 # $SEMVER_BRANCH = master 20:42:54 # $SEMVER_TEMP = /tmp/semver-293794129 20:42:54 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 20:42:56 # '/tmp/semver-293794129' -> '/w/workspace/ndry_app-functions-sdk-go_master/.semver' 20:42:56 # -> Force: false 20:42:56 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } 20:42:56 $ docker exec --env ******** --env ******** 92b0cfb09f2ae200a2b00b1bddd0a98e2a0fe3254d0651c3e3a246d33699bcb5 ssh-agent -k 20:42:57 unset SSH_AUTH_SOCK; 20:42:57 unset SSH_AGENT_PID; 20:42:57 echo Agent pid 53 killed; 20:42:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:42:57 + git semver [Pipeline] } 20:42:57 $ docker stop --time=1 92b0cfb09f2ae200a2b00b1bddd0a98e2a0fe3254d0651c3e3a246d33699bcb5 20:42:58 $ docker rm -f 92b0cfb09f2ae200a2b00b1bddd0a98e2a0fe3254d0651c3e3a246d33699bcb5 [Pipeline] // withDockerContainer [Pipeline] sh 20:42:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:43:00 Stashed 1 file(s) [Pipeline] echo 20:43:00 [edgeXSemver]: initialized semver on version 2.0.0-dev.26 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 20:43:15 Still waiting to schedule task 20:43:15 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-28549’ 20:43:15 Still waiting to schedule task 20:43:15 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 20:44:59 Running on prd-ubuntu18.04-docker-arm64-4c-16g-28550 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws 20:44:59 Running in /w/workspace/app-functions-sdk-go/193 [Pipeline] { [Pipeline] checkout 20:45:04 using credential edgex-jenkins-ssh 20:45:04 Cloning the remote Git repository 20:45:04 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 20:45:05 > git init /w/workspace/app-functions-sdk-go/193 # timeout=10 20:45:05 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 20:45:05 > git --version # timeout=10 20:45:05 > git --version # 'git version 2.17.1' 20:45:05 using GIT_SSH to set credentials SSH Credentials for GitHub 20:45:05 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:45:08 Checking out Revision 7e0294b946f3983e3ded7d58e302651817d82cb7 (master) 20:45:08 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 20:45:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:45:08 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 20:45:08 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 20:45:08 using GIT_SSH to set credentials SSH Credentials for GitHub 20:45:08 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 20:45:08 > git config core.sparsecheckout # timeout=10 20:45:08 > git checkout -f 7e0294b946f3983e3ded7d58e302651817d82cb7 # timeout=10 20:45:13 Commit message: "refactor: Remove V1 API code and swagger (#730)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:45:15 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 20:45:15 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 20:45:16 + sudo service docker restart 20:45:16 + true [Pipeline] unstash [Pipeline] echo 20:45:19 ========================================================= 20:45:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 20:45:19 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:45:19 + 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 . 20:45:20 Sending build context to Docker daemon 19.25MB 20:45:20 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 20:45:20 Step 2/8 : FROM ${BASE} 20:45:21 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:45:21 5f621e34cdf4: Pulling fs layer 20:45:21 a4357932f1b6: Pulling fs layer 20:45:21 18c013af1878: Pulling fs layer 20:45:21 00ac8860ef70: Pulling fs layer 20:45:21 63d7cb157983: Pulling fs layer 20:45:21 b116817d02f9: Pulling fs layer 20:45:21 745a02a5169b: Pulling fs layer 20:45:21 63d7cb157983: Waiting 20:45:21 745a02a5169b: Waiting 20:45:21 00ac8860ef70: Waiting 20:45:21 b116817d02f9: Waiting 20:45:21 18c013af1878: Verifying Checksum 20:45:21 18c013af1878: Download complete 20:45:21 a4357932f1b6: Download complete 20:45:21 63d7cb157983: Verifying Checksum 20:45:21 63d7cb157983: Download complete 20:45:21 b116817d02f9: Verifying Checksum 20:45:21 b116817d02f9: Download complete 20:45:21 5f621e34cdf4: Verifying Checksum 20:45:21 5f621e34cdf4: Download complete 20:45:21 5f621e34cdf4: Pull complete 20:45:22 a4357932f1b6: Pull complete 20:45:22 18c013af1878: Pull complete 20:45:23 745a02a5169b: Verifying Checksum 20:45:23 745a02a5169b: Download complete 20:45:24 00ac8860ef70: Verifying Checksum 20:45:24 00ac8860ef70: Download complete 20:45:35 00ac8860ef70: Pull complete 20:45:35 63d7cb157983: Pull complete 20:45:35 b116817d02f9: Pull complete 20:45:39 745a02a5169b: Pull complete 20:45:39 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 20:45:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 20:45:39 ---> b7e6874047d6 20:45:39 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 20:45:39 20.10.0: Pulling from library/docker 20:45:39 a3cc7d3b244e: Pulling fs layer 20:45:39 02a3295e0d61: Pulling fs layer 20:45:39 0f4f2e6d8100: Pulling fs layer 20:45:39 330b718f631f: Pulling fs layer 20:45:39 a93816041522: Pulling fs layer 20:45:39 bdb6da89ff94: Pulling fs layer 20:45:39 2a70c0c122f4: Pulling fs layer 20:45:39 a93816041522: Waiting 20:45:39 bdb6da89ff94: Waiting 20:45:39 2a70c0c122f4: Waiting 20:45:39 330b718f631f: Waiting 20:45:39 0f4f2e6d8100: Verifying Checksum 20:45:39 0f4f2e6d8100: Download complete 20:45:39 a3cc7d3b244e: Verifying Checksum 20:45:39 a3cc7d3b244e: Download complete 20:45:39 a93816041522: Verifying Checksum 20:45:39 a93816041522: Download complete 20:45:39 02a3295e0d61: Verifying Checksum 20:45:39 02a3295e0d61: Download complete 20:45:39 2a70c0c122f4: Verifying Checksum 20:45:39 bdb6da89ff94: Verifying Checksum 20:45:39 bdb6da89ff94: Download complete 20:45:39 2a70c0c122f4: Download complete 20:45:40 a3cc7d3b244e: Pull complete 20:45:40 02a3295e0d61: Pull complete 20:45:40 Running on prd-centos7-docker-4c-2g-28551 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws 20:45:40 Running in /w/workspace/app-functions-sdk-go/193 [Pipeline] { [Pipeline] checkout 20:45:40 330b718f631f: Download complete 20:45:41 0f4f2e6d8100: Pull complete 20:45:43 using credential edgex-jenkins-ssh 20:45:43 Cloning the remote Git repository 20:45:43 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 20:45:43 > git init /w/workspace/app-functions-sdk-go/193 # timeout=10 20:45:43 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 20:45:43 > git --version # timeout=10 20:45:43 > git --version # 'git version 2.24.3' 20:45:43 using GIT_SSH to set credentials SSH Credentials for GitHub 20:45:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:45:45 Checking out Revision 7e0294b946f3983e3ded7d58e302651817d82cb7 (master) 20:45:45 330b718f631f: Pull complete 20:45:45 a93816041522: Pull complete 20:45:45 bdb6da89ff94: Pull complete 20:45:44 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 20:45:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:45:44 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 20:45:45 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 20:45:45 using GIT_SSH to set credentials SSH Credentials for GitHub 20:45:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 20:45:45 > git config core.sparsecheckout # timeout=10 20:45:45 > git checkout -f 7e0294b946f3983e3ded7d58e302651817d82cb7 # timeout=10 20:45:46 2a70c0c122f4: Pull complete 20:45:46 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 20:45:46 Status: Downloaded newer image for docker:20.10.0 20:45:49 Commit message: "refactor: Remove V1 API code and swagger (#730)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:45:50 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 20:45:50 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 20:45:50 + sudo service docker restart 20:45:50 + true 20:45:50 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo 20:45:52 ========================================================= 20:45:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 20:45:52 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:45:52 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 20:45:52 ---> ddfdf00077e3 20:45:52 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:45:52 ---> Running in 565f986f559d 20:45:52 Removing intermediate container 565f986f559d 20:45:52 ---> d0ccf2e85b61 20:45:52 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 20:45:52 Sending build context to Docker daemon 19.25MB 20:45:52 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 20:45:52 Step 2/8 : FROM ${BASE} 20:45:52 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 20:45:52 188c0c94c7c5: Pulling fs layer 20:45:52 0ef7d3d256c8: Pulling fs layer 20:45:52 de9db76c5a1d: Pulling fs layer 20:45:52 bca2f99d35d6: Pulling fs layer 20:45:52 93359f2a8cfa: Pulling fs layer 20:45:52 7c6f9722023f: Pulling fs layer 20:45:52 a35cf1a2eb13: Pulling fs layer 20:45:52 bca2f99d35d6: Waiting 20:45:52 a35cf1a2eb13: Waiting 20:45:52 7c6f9722023f: Waiting 20:45:52 93359f2a8cfa: Waiting 20:45:52 de9db76c5a1d: Verifying Checksum 20:45:52 de9db76c5a1d: Download complete 20:45:52 0ef7d3d256c8: Verifying Checksum 20:45:52 0ef7d3d256c8: Download complete 20:45:53 ---> Running in c7c7d4e6f714 20:45:53 93359f2a8cfa: Verifying Checksum 20:45:53 93359f2a8cfa: Download complete 20:45:53 7c6f9722023f: Download complete 20:45:53 188c0c94c7c5: Verifying Checksum 20:45:53 188c0c94c7c5: Download complete 20:45:53 188c0c94c7c5: Pull complete 20:45:53 0ef7d3d256c8: Pull complete 20:45:53 de9db76c5a1d: Pull complete 20:45:54 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 20:45:55 a35cf1a2eb13: Verifying Checksum 20:45:55 a35cf1a2eb13: Download complete 20:45:55 bca2f99d35d6: Verifying Checksum 20:45:55 bca2f99d35d6: Download complete 20:45:55 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 20:45:57 (1/5) Installing libsodium (1.0.18-r0) 20:45:57 (2/5) Installing libzmq (4.3.3-r0) 20:45:58 (3/5) Installing pkgconf (1.7.2-r0) 20:45:58 (4/5) Installing libsodium-dev (1.0.18-r0) 20:45:58 (5/5) Installing zeromq-dev (4.3.3-r0) 20:45:58 Executing busybox-1.31.1-r19.trigger 20:45:58 OK: 144 MiB in 44 packages 20:46:00 Removing intermediate container c7c7d4e6f714 20:46:00 ---> 041065a92aa0 20:46:00 Step 6/8 : WORKDIR /build 20:46:00 ---> Running in ca4915124464 20:46:00 bca2f99d35d6: Pull complete 20:46:00 93359f2a8cfa: Pull complete 20:46:00 Removing intermediate container ca4915124464 20:46:00 ---> aa0f793be32a 20:46:00 Step 7/8 : COPY go.mod . 20:46:01 7c6f9722023f: Pull complete 20:46:01 ---> a33a6a3709a7 20:46:01 Step 8/8 : RUN go mod download 20:46:01 ---> Running in bd33cf9ea875 20:46:06 a35cf1a2eb13: Pull complete 20:46:06 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 20:46:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 20:46:06 ---> a62c8e92a672 20:46:06 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 20:46:06 20.10.0: Pulling from library/docker 20:46:06 05e7bc50f07f: Pulling fs layer 20:46:06 6db28d0fdbf6: Pulling fs layer 20:46:06 292df0bc6bf3: Pulling fs layer 20:46:06 2e060f4bd70b: Pulling fs layer 20:46:06 2e060f4bd70b: Waiting 20:46:06 80e8d568a223: Pulling fs layer 20:46:06 8dc6ef1a942a: Pulling fs layer 20:46:06 80e8d568a223: Waiting 20:46:06 8dc6ef1a942a: Waiting 20:46:06 2312dd95470a: Pulling fs layer 20:46:06 2312dd95470a: Waiting 20:46:06 292df0bc6bf3: Verifying Checksum 20:46:06 292df0bc6bf3: Download complete 20:46:06 05e7bc50f07f: Verifying Checksum 20:46:06 05e7bc50f07f: Download complete 20:46:06 6db28d0fdbf6: Verifying Checksum 20:46:06 6db28d0fdbf6: Download complete 20:46:06 80e8d568a223: Verifying Checksum 20:46:06 80e8d568a223: Download complete 20:46:06 8dc6ef1a942a: Verifying Checksum 20:46:06 8dc6ef1a942a: Download complete 20:46:06 2312dd95470a: Verifying Checksum 20:46:06 2312dd95470a: Download complete 20:46:06 05e7bc50f07f: Pull complete 20:46:06 6db28d0fdbf6: Pull complete 20:46:06 292df0bc6bf3: Pull complete 20:46:07 2e060f4bd70b: Verifying Checksum 20:46:07 2e060f4bd70b: Download complete 20:46:09 2e060f4bd70b: Pull complete 20:46:10 80e8d568a223: Pull complete 20:46:10 8dc6ef1a942a: Pull complete 20:46:10 2312dd95470a: Pull complete 20:46:10 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 20:46:10 Status: Downloaded newer image for docker:20.10.0 20:46:11 ---> 75c1bdcb6120 20:46:11 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:46:11 ---> Running in 285941ef4626 20:46:11 Removing intermediate container 285941ef4626 20:46:11 ---> 5bd9f6bfc3b5 20:46:11 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 20:46:11 ---> Running in 87b68095c35e 20:46:12 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 20:46:14 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 20:46:16 (1/5) Installing libsodium (1.0.18-r0) 20:46:16 (2/5) Installing libzmq (4.3.3-r0) 20:46:16 (3/5) Installing pkgconf (1.7.2-r0) 20:46:16 (4/5) Installing libsodium-dev (1.0.18-r0) 20:46:16 (5/5) Installing zeromq-dev (4.3.3-r0) 20:46:16 Executing busybox-1.31.1-r19.trigger 20:46:16 OK: 167 MiB in 44 packages 20:46:17 Removing intermediate container 87b68095c35e 20:46:17 ---> f0886fcb62ea 20:46:17 Step 6/8 : WORKDIR /build 20:46:17 ---> Running in 680a5ecb49ed 20:46:17 Removing intermediate container 680a5ecb49ed 20:46:17 ---> 076c9d127f50 20:46:17 Step 7/8 : COPY go.mod . 20:46:18 ---> 0776db5dc087 20:46:18 Step 8/8 : RUN go mod download 20:46:18 ---> Running in 6b5241f81737 20:46:28 Removing intermediate container bd33cf9ea875 20:46:28 ---> 23eb1b24e28a 20:46:28 Successfully built 23eb1b24e28a 20:46:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:46:29 + docker inspect -f . ci-base-image-arm64 20:46:29 . [Pipeline] withDockerContainer 20:46:29 prd-ubuntu18.04-docker-arm64-4c-16g-28550 does not seem to be running inside a container 20:46:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/193 -v /w/workspace/app-functions-sdk-go/193:/w/workspace/app-functions-sdk-go/193:rw,z -v /w/workspace/app-functions-sdk-go/193@tmp:/w/workspace/app-functions-sdk-go/193@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:46:31 $ docker top b129943e623c0d6c886015d37a29401dd4627f5294e4ff5354a321f775cb119d -eo pid,comm [Pipeline] { [Pipeline] sh 20:46:32 + go version 20:46:32 go version go1.15.5 linux/arm64 [Pipeline] } 20:46:32 $ docker stop --time=1 b129943e623c0d6c886015d37a29401dd4627f5294e4ff5354a321f775cb119d 20:46:34 $ docker rm -f b129943e623c0d6c886015d37a29401dd4627f5294e4ff5354a321f775cb119d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:46:35 + docker inspect -f . ci-base-image-arm64 20:46:35 . [Pipeline] withDockerContainer 20:46:35 prd-ubuntu18.04-docker-arm64-4c-16g-28550 does not seem to be running inside a container 20:46:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/193 -v /w/workspace/app-functions-sdk-go/193:/w/workspace/app-functions-sdk-go/193:rw,z -v /w/workspace/app-functions-sdk-go/193@tmp:/w/workspace/app-functions-sdk-go/193@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:46:37 $ docker top 8ac4eff36f0842dca9db905ce58c36693aceb6fabf9403017941f1d6afcacbb7 -eo pid,comm [Pipeline] { [Pipeline] sh 20:46:39 + make test 20:46:39 make -C ./app-service-template build 20:46:39 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/193/app-service-template' 20:46:39 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.14 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service 20:46:44 Removing intermediate container 6b5241f81737 20:46:44 ---> 5f2a79216eb9 20:46:44 Successfully built 5f2a79216eb9 20:46:44 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:46:45 + docker inspect -f . ci-base-image-x86_64 20:46:45 . [Pipeline] withDockerContainer 20:46:45 prd-centos7-docker-4c-2g-28551 does not seem to be running inside a container 20:46:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/193 -v /w/workspace/app-functions-sdk-go/193:/w/workspace/app-functions-sdk-go/193:rw,z -v /w/workspace/app-functions-sdk-go/193@tmp:/w/workspace/app-functions-sdk-go/193@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:46:46 $ docker top f7623764957ea67d82ae8e89b410e7b713e3a4a26f8f5c360b6ea6bfb2f5146f -eo pid,comm [Pipeline] { [Pipeline] sh 20:46:46 + go version 20:46:46 go version go1.15.5 linux/amd64 [Pipeline] } 20:46:46 $ docker stop --time=1 f7623764957ea67d82ae8e89b410e7b713e3a4a26f8f5c360b6ea6bfb2f5146f 20:46:48 $ docker rm -f f7623764957ea67d82ae8e89b410e7b713e3a4a26f8f5c360b6ea6bfb2f5146f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:46:48 + docker inspect -f . ci-base-image-x86_64 20:46:48 . [Pipeline] withDockerContainer 20:46:49 prd-centos7-docker-4c-2g-28551 does not seem to be running inside a container 20:46:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/193 -v /w/workspace/app-functions-sdk-go/193:/w/workspace/app-functions-sdk-go/193:rw,z -v /w/workspace/app-functions-sdk-go/193@tmp:/w/workspace/app-functions-sdk-go/193@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:46:49 $ docker top 694ce9ffebd6c13b730a820477cc0554b983b01c7dfac347072946a123589edb -eo pid,comm [Pipeline] { [Pipeline] sh 20:46:50 + make test 20:46:50 make -C ./app-service-template build 20:46:50 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/193/app-service-template' 20:46:50 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.14 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service 20:47:05 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/193/app-service-template' 20:47:05 make -C ./app-service-template test 20:47:05 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/193/app-service-template' 20:47:05 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 20:47:11 ? new-app-service [no test files] 20:47:11 ok new-app-service/functions 0.012s coverage: 75.8% of statements 20:47:11 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/193/app-service-template' 20:47:11 make -C ./app-service-template test 20:47:11 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/193/app-service-template' 20:47:11 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 20:47:11 CGO_ENABLED=1 go vet ./... 20:47:15 gofmt -l . 20:47:15 [ "`gofmt -l .`" = "" ] 20:47:15 ./bin/test-go-mod-tidy.sh 20:47:15 ./bin/test-attribution-txt.sh 20:47:15 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/193/app-service-template' 20:47:15 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:47:17 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.022s coverage: 82.6% of statements 20:47:18 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.027s coverage: 56.4% of statements 20:47:18 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 20:47:18 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 20:47:18 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.035s coverage: 61.5% of statements 20:47:18 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 20:47:18 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.038s coverage: 86.5% of statements 20:47:19 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.050s coverage: 75.6% of statements 20:47:19 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 20:47:19 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 20:47:19 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 20:47:19 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 20:47:19 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 20:47:19 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 20:47:19 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.022s coverage: 97.0% of statements 20:47:19 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 20:47:19 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.015s coverage: 9.1% of statements 20:47:29 ? new-app-service [no test files] 20:47:30 ok new-app-service/functions 0.025s coverage: 75.8% of statements 20:47:31 CGO_ENABLED=1 go vet ./... 20:47:34 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 13.826s coverage: 77.5% of statements 20:47:34 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 20:47:34 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.016s coverage: 20.0% of statements 20:47:34 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.023s coverage: 71.7% of statements 20:47:41 gofmt -l . 20:47:41 [ "`gofmt -l .`" = "" ] 20:47:41 ./bin/test-go-mod-tidy.sh 20:47:41 ./bin/test-attribution-txt.sh 20:47:42 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/193/app-service-template' 20:47:42 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:47:46 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.043s coverage: 82.8% of statements 20:47:46 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.009s coverage: 94.4% of statements 20:47:46 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:47:47 gofmt -l . 20:47:47 [ "`gofmt -l .`" = "" ] 20:47:47 ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } 20:47:47 $ docker stop --time=1 694ce9ffebd6c13b730a820477cc0554b983b01c7dfac347072946a123589edb 20:47:47 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.047s coverage: 82.6% of statements 20:47:49 $ docker rm -f 694ce9ffebd6c13b730a820477cc0554b983b01c7dfac347072946a123589edb [Pipeline] // withDockerContainer [Pipeline] sh 20:47:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:47:50 Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 20:47:51 ---> job-cost.sh 20:47:51 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-vJ4m 20:47:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.085s coverage: 56.4% of statements 20:47:52 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 20:47:52 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 20:47:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.104s coverage: 61.5% of statements 20:47:52 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 20:47:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.077s coverage: 86.5% of statements 20:47:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.094s coverage: 75.6% of statements 20:47:52 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 20:47:52 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 20:47:52 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 20:47:52 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 20:47:52 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 20:47:52 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 20:47:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.074s coverage: 97.0% of statements 20:47:52 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 20:47:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.069s coverage: 9.1% of statements 20:48:06 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 20:48:11 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 13.866s coverage: 77.5% of statements 20:48:11 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 20:48:11 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.030s coverage: 20.0% of statements 20:48:11 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.030s coverage: 71.7% of statements 20:48:23 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.078s coverage: 82.8% of statements 20:48:23 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.023s coverage: 94.4% of statements 20:48:23 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:48:25 gofmt -l . 20:48:26 [ "`gofmt -l .`" = "" ] 20:48:26 ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } 20:48:27 $ docker stop --time=1 8ac4eff36f0842dca9db905ce58c36693aceb6fabf9403017941f1d6afcacbb7 20:48:29 $ docker rm -f 8ac4eff36f0842dca9db905ce58c36693aceb6fabf9403017941f1d6afcacbb7 [Pipeline] // withDockerContainer [Pipeline] sh 20:48:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:48:30 Warning: overwriting stash ‘coverage-report’ 20:48:31 Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 20:48:32 ---> job-cost.sh 20:48:32 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-jj3a 20:48:38 lf-activate-venv(): INFO: Adding /tmp/venv-vJ4m/bin to PATH 20:48:38 INFO: No Stack... 20:48:38 INFO: Retrieving Pricing Info for: v1-standard-2 20:48:38 INFO: Archiving Costs [Pipeline] sh 20:48:39 + cut -d, -f6 20:48:39 + cat /w/workspace/app-functions-sdk-go/193/archives/cost.csv [Pipeline] lock 20:48:39 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-193-stack-cost] 20:48:39 Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-193-stack-cost] did not exist. Created. 20:48:39 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-193-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:48:39 + echo total: 0.029999999329447746 [Pipeline] stash 20:48:39 Stashed 1 file(s) [Pipeline] } 20:48:39 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-193-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:49:11 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 20:51:18 lf-activate-venv(): INFO: Adding /tmp/venv-jj3a/bin to PATH 20:51:18 INFO: No Stack... 20:51:18 INFO: Retrieving Pricing Info for: lf-standard-4 20:51:18 INFO: Archiving Costs [Pipeline] sh 20:51:18 + cat /w/workspace/app-functions-sdk-go/193/archives/cost.csv 20:51:18 + cut -d, -f6 [Pipeline] lock 20:51:18 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-193-stack-cost] 20:51:18 Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-193-stack-cost] did not exist. Created. 20:51:18 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-193-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:51:18 /w/workspace/app-functions-sdk-go/193@tmp/durable-c7400b74/script.sh: 1: /w/workspace/app-functions-sdk-go/193@tmp/durable-c7400b74/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 20:51:19 + echo total: 0.20999999344348907 [Pipeline] stash 20:51:19 Warning: overwriting stash ‘stack-cost’ 20:51:19 Stashed 1 file(s) [Pipeline] } 20:51:19 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-193-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 20:51:21 provisioning config files... 20:51:21 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config706926499534757465tmp [Pipeline] { [Pipeline] sh 20:51:21 + set +x 20:51:21 + curl -s https://codecov.io/bash 20:51:21 + bash -s -- 20:51:21 20:51:21 _____ _ 20:51:21 / ____| | | 20:51:21 | | ___ __| | ___ ___ _____ __ 20:51:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:51:21 | |___| (_) | (_| | __/ (_| (_) \ V / 20:51:21 \_____\___/ \__,_|\___|\___\___/ \_/ 20:51:21 Bash-20210226-7100762 20:51:21 20:51:21 20:51:21 ==> git version 2.24.3 found 20:51:21 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 20:51:21 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 20:51:21 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 20:51:21 ==> Jenkins CI detected. 20:51:21 project root: . 20:51:21 --> token set from env 20:51:21 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:51:21 ==> Running gcov in . (disable via -X gcov) 20:51:21 ==> Python coveragepy not found 20:51:21 ==> Searching for coverage reports in: 20:51:21 + . 20:51:21 -> Found 2 reports 20:51:21 ==> Detecting git/mercurial file structure 20:51:21 ==> Reading reports 20:51:21 + ./app-service-template/coverage.out bytes=1148 20:51:21 + ./coverage.out bytes=81855 20:51:21 ==> Appending adjustments 20:51:21 https://docs.codecov.io/docs/fixing-reports 20:51:22 + Found adjustments 20:51:22 ==> Gzipping contents 20:51:22 16K /tmp/codecov.fdT1aE.gz 20:51:22 ==> Uploading reports 20:51:22 url: https://codecov.io 20:51:22 query: branch=master&commit=7e0294b946f3983e3ded7d58e302651817d82cb7&build=193&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F193%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:51:22 -> Pinging Codecov 20:51:22 https://codecov.io/upload/v4?package=bash-20210226-7100762&token=secret&branch=master&commit=7e0294b946f3983e3ded7d58e302651817d82cb7&build=193&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F193%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:51:22 -> Uploading to 20:51:22 https://storage.googleapis.com/codecov/v4/raw/2021-03-04/3D8B5DFFC46A037C893635FACE044666/7e0294b946f3983e3ded7d58e302651817d82cb7/b87146fa-3542-475c-834b-b7139f033016.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210304%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210304T205122Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a57f48df19e51d9cf739f2712ff8316ddc75b22f15cbb5969105241a35d9048c 20:51:22 % Total % Received % Xferd Average Speed Time Time Time Current 20:51:22 Dload Upload Total Spent Left Speed 20:51:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14074 0 0 100 14074 0 28539 --:--:-- --:--:-- --:--:-- 28547 20:51:23 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/7e0294b946f3983e3ded7d58e302651817d82cb7 [Pipeline] } 20:51:23 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 20:51:24 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 20:51:24 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:51:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:51:24 20:51:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 20:51:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:51:24 1.410.4: Pulling from edgex-devops/edgex-snyk-go 20:51:24 188c0c94c7c5: Pulling fs layer 20:51:24 0ef7d3d256c8: Pulling fs layer 20:51:24 de9db76c5a1d: Pulling fs layer 20:51:24 0eba1c9be4d2: Pulling fs layer 20:51:24 0d57e429df01: Pulling fs layer 20:51:24 4e4be7b47b0d: Pulling fs layer 20:51:24 e1f770b5df2f: Pulling fs layer 20:51:24 85a0685a4137: Pulling fs layer 20:51:24 4e4be7b47b0d: Waiting 20:51:24 e1f770b5df2f: Waiting 20:51:24 85a0685a4137: Waiting 20:51:24 0d57e429df01: Waiting 20:51:24 0eba1c9be4d2: Waiting 20:51:24 de9db76c5a1d: Verifying Checksum 20:51:24 de9db76c5a1d: Download complete 20:51:24 0ef7d3d256c8: Download complete 20:51:24 0d57e429df01: Download complete 20:51:24 4e4be7b47b0d: Verifying Checksum 20:51:24 4e4be7b47b0d: Download complete 20:51:24 188c0c94c7c5: Download complete 20:51:25 188c0c94c7c5: Pull complete 20:51:25 0ef7d3d256c8: Pull complete 20:51:25 de9db76c5a1d: Pull complete 20:51:27 e1f770b5df2f: Verifying Checksum 20:51:27 e1f770b5df2f: Download complete 20:51:28 0eba1c9be4d2: Verifying Checksum 20:51:28 0eba1c9be4d2: Download complete 20:51:29 85a0685a4137: Verifying Checksum 20:51:29 85a0685a4137: Download complete 20:51:33 0eba1c9be4d2: Pull complete 20:51:33 0d57e429df01: Pull complete 20:51:33 4e4be7b47b0d: Pull complete 20:51:36 e1f770b5df2f: Pull complete 20:51:46 85a0685a4137: Pull complete 20:51:46 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 20:51:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:51:46 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 20:51:46 prd-centos7-docker-4c-2g-28549 does not seem to be running inside a container 20:51:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 20:51:47 $ docker top beb3eaa9cc093c88f97bf1423c8332a4b564d069303eb0197cc96a85b9fc1401 -eo pid,comm [Pipeline] { [Pipeline] echo 20:51:48 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 20:51:48 + set -o pipefail 20:51:48 + snyk monitor '--org=edgex-jenkins' 20:51:54 20:51:54 Monitoring /w/workspace/ndry_app-functions-sdk-go_master (github.com/edgexfoundry/app-functions-sdk-go/v2)... 20:51:54 20:51:54 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/67c77ea7-4cea-4ebe-835b-bdb6b637c86c 20:51:54 20:51:54 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 20:51:54 20:51:54 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 20:51:54 20:51:54 [Pipeline] } 20:51:54 $ docker stop --time=1 beb3eaa9cc093c88f97bf1423c8332a4b564d069303eb0197cc96a85b9fc1401 20:51:57 $ docker rm -f beb3eaa9cc093c88f97bf1423c8332a4b564d069303eb0197cc96a85b9fc1401 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 20:51:59 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:51:59 provisioning config files... 20:51:59 copy managed file [swaggerhub-api-key] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config1572155495043812470tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:51:59 --> edgex-publish-swagger.sh 20:51:59 === Publish openapi/v2 API === 20:51:59 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 20:51:59 [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/ndry_app-functions-sdk-go_master/openapi/v2/app-functions-sdk.yaml] 20:51:59 % Total % Received % Xferd Average Speed Time Time Time Current 20:51:59 Dload Upload Total Spent Left Speed 20:52:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13052 0 0 100 13052 0 10595 0:00:01 0:00:01 --:--:-- 10602 100 13052 0 0 100 13052 0 8576 0:00:01 0:00:01 --:--:-- 8575 100 13052 0 0 100 13052 0 8574 0:00:01 0:00:01 --:--:-- 8575 20:52:00 20:52:00 [Pipeline] } 20:52:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:52:01 + git log --format=format:%s -1 7e0294b946f3983e3ded7d58e302651817d82cb7 [Pipeline] isUnix [Pipeline] sh 20:52:02 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:52:02 . [Pipeline] withDockerContainer 20:52:02 prd-centos7-docker-4c-2g-28549 does not seem to be running inside a container 20:52:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:52:03 $ docker top 8106737b84a7cf412c092ef5d86a603ec4db0e7db07c63914560888a2f832dba -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:52:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:52:03 [ssh-agent] Looking for ssh-agent implementation... 20:52:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:52:03 $ docker exec 8106737b84a7cf412c092ef5d86a603ec4db0e7db07c63914560888a2f832dba ssh-agent 20:52:03 SSH_AUTH_SOCK=/tmp/ssh-nQoNkUjAv54X/agent.11 20:52:03 SSH_AGENT_PID=16 20:52:03 Running ssh-add (command line suppressed) 20:52:03 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_3692608004985288953.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_3692608004985288953.key) 20:52:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:52:04 + git semver tag 20:52:04 # -> Open(): unable to determine branch for HEAD 20:52:04 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git 20:52:04 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master 20:52:04 # $SEMVER_REMOTE_NAME = origin 20:52:04 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:52:04 # $SEMVER_USER_NAME = edgex-jenkins 20:52:04 # $SEMVER_BRANCH = master 20:52:04 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver 20:52:04 # 7e0294b946f3983e3ded7d58e302651817d82cb7 HEAD 20:52:04 # -> Force: false 20:52:04 # b40cb55e3a492ac48e567c4e96264b98c9310b4e refs/tags/v2.0.0-dev.26 [Pipeline] } 20:52:04 $ docker exec --env ******** --env ******** 8106737b84a7cf412c092ef5d86a603ec4db0e7db07c63914560888a2f832dba ssh-agent -k 20:52:04 unset SSH_AUTH_SOCK; 20:52:04 unset SSH_AGENT_PID; 20:52:04 echo Agent pid 16 killed; 20:52:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:52:04 + git semver [Pipeline] } 20:52:04 $ docker stop --time=1 8106737b84a7cf412c092ef5d86a603ec4db0e7db07c63914560888a2f832dba 20:52:06 $ docker rm -f 8106737b84a7cf412c092ef5d86a603ec4db0e7db07c63914560888a2f832dba [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 20:52:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:52:06 20:52:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 20:52:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:52:07 0.23.1-centos7: Pulling from edgex-lftools 20:52:07 ab5ef0e58194: Pulling fs layer 20:52:07 9712f1f96733: Pulling fs layer 20:52:07 63f879dbbcfc: Pulling fs layer 20:52:07 0d9ebad4ef96: Pulling fs layer 20:52:07 e9a5061849ea: Pulling fs layer 20:52:07 d747dcd14b5f: Pulling fs layer 20:52:07 2de7ff778b66: Pulling fs layer 20:52:07 0d9ebad4ef96: Waiting 20:52:07 e9a5061849ea: Waiting 20:52:07 d747dcd14b5f: Waiting 20:52:07 2de7ff778b66: Waiting 20:52:07 9712f1f96733: Verifying Checksum 20:52:07 9712f1f96733: Download complete 20:52:08 63f879dbbcfc: Verifying Checksum 20:52:08 63f879dbbcfc: Download complete 20:52:08 e9a5061849ea: Download complete 20:52:08 d747dcd14b5f: Verifying Checksum 20:52:08 d747dcd14b5f: Download complete 20:52:09 2de7ff778b66: Verifying Checksum 20:52:09 2de7ff778b66: Download complete 20:52:09 ab5ef0e58194: Verifying Checksum 20:52:09 ab5ef0e58194: Download complete 20:52:09 0d9ebad4ef96: Verifying Checksum 20:52:09 0d9ebad4ef96: Download complete 20:52:13 ab5ef0e58194: Pull complete 20:52:13 9712f1f96733: Pull complete 20:52:17 63f879dbbcfc: Pull complete 20:52:22 0d9ebad4ef96: Pull complete 20:52:23 e9a5061849ea: Pull complete 20:52:23 d747dcd14b5f: Pull complete 20:52:26 2de7ff778b66: Pull complete 20:52:26 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 20:52:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:52:26 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 20:52:26 prd-centos7-docker-4c-2g-28549 does not seem to be running inside a container 20:52:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 20:52:30 $ docker top 245efa59147690b0b7d876d79ed631adf98130b086896ac69925cfc38421dd78 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 20:52:30 provisioning config files... 20:52:30 copy managed file [sigul-config] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config4653780879136384390tmp 20:52:30 copy managed file [sigul-password] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config4598342480528609353tmp 20:52:30 copy managed file [sigul-pki] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config250171650265842311tmp [Pipeline] { [Pipeline] echo 20:52:30 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 20:52:31 ---> sigul-configuration.sh 20:52:31 gpg: directory `/root/.gnupg' created 20:52:31 gpg: new configuration file `/root/.gnupg/gpg.conf' created 20:52:31 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 20:52:31 gpg: keyring `/root/.gnupg/secring.gpg' created 20:52:31 gpg: keyring `/root/.gnupg/pubring.gpg' created 20:52:31 gpg: CAST5 encrypted data 20:52:31 gpg: encrypted with 1 passphrase 20:52:31 gpg: WARNING: message was not integrity protected [Pipeline] sh 20:52:31 + mkdir /home/jenkins 20:52:31 + mkdir /home/jenkins/sigul [Pipeline] sh 20:52:31 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 20:52:32 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 20:52:32 ---> sigul-install.sh 20:52:38 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 20:52:39 + git tag --list 20:52:39 v0.1.0 20:52:39 v0.1.1 20:52:39 v1.0.0 20:52:39 v1.1.0 20:52:39 v1.2.0 20:52:39 v1.3.0 20:52:39 v1.3.1 20:52:39 v1.3.1-dev.1 20:52:39 v1.3.2-dev.1 20:52:39 v2.0.0-dev.1 20:52:39 v2.0.0-dev.10 20:52:39 v2.0.0-dev.11 20:52:39 v2.0.0-dev.12 20:52:39 v2.0.0-dev.13 20:52:39 v2.0.0-dev.14 20:52:39 v2.0.0-dev.15 20:52:39 v2.0.0-dev.16 20:52:39 v2.0.0-dev.17 20:52:39 v2.0.0-dev.18 20:52:39 v2.0.0-dev.19 20:52:39 v2.0.0-dev.2 20:52:39 v2.0.0-dev.20 20:52:39 v2.0.0-dev.21 20:52:39 v2.0.0-dev.22 20:52:39 v2.0.0-dev.23 20:52:39 v2.0.0-dev.24 20:52:39 v2.0.0-dev.25 20:52:39 v2.0.0-dev.26 20:52:39 v2.0.0-dev.3 20:52:39 v2.0.0-dev.4 20:52:39 v2.0.0-dev.5 20:52:39 v2.0.0-dev.6 20:52:39 v2.0.0-dev.7 20:52:39 v2.0.0-dev.8 20:52:39 v2.0.0-dev.9 [Pipeline] sh 20:52:39 + lftools sign git-tag v2.0.0-dev.26 20:52:40 Signing Git tag with Sigul... 20:52:40 Signing v2.0.0-dev.26 [Pipeline] echo 20:52:41 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 20:52:42 ---> sigul-configuration-cleanup.sh [Pipeline] } 20:52:42 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 20:52:42 $ docker stop --time=1 245efa59147690b0b7d876d79ed631adf98130b086896ac69925cfc38421dd78 20:52:44 $ docker rm -f 245efa59147690b0b7d876d79ed631adf98130b086896ac69925cfc38421dd78 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 20:52:45 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:52:45 . [Pipeline] withDockerContainer 20:52:45 prd-centos7-docker-4c-2g-28549 does not seem to be running inside a container 20:52:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:52:46 $ docker top c37783f83086d2f9685187d798c736f6a4937c36551623d7fbed7e41e0c3254b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:52:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:52:46 [ssh-agent] Looking for ssh-agent implementation... 20:52:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:52:46 $ docker exec c37783f83086d2f9685187d798c736f6a4937c36551623d7fbed7e41e0c3254b ssh-agent 20:52:46 SSH_AUTH_SOCK=/tmp/ssh-qjI3RaBLXYQw/agent.12 20:52:46 SSH_AGENT_PID=18 20:52:46 Running ssh-add (command line suppressed) 20:52:46 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4030621103418198505.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4030621103418198505.key) 20:52:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:52:47 + git semver bump pre 20:52:47 # -> Open(): unable to determine branch for HEAD 20:52:47 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git 20:52:47 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master 20:52:47 # $SEMVER_REMOTE_NAME = origin 20:52:47 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:52:47 # $SEMVER_USER_NAME = edgex-jenkins 20:52:47 # $SEMVER_BRANCH = master 20:52:47 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver 20:52:47 2.0.0-dev.27 [Pipeline] } 20:52:47 $ docker exec --env ******** --env ******** c37783f83086d2f9685187d798c736f6a4937c36551623d7fbed7e41e0c3254b ssh-agent -k 20:52:47 unset SSH_AUTH_SOCK; 20:52:47 unset SSH_AGENT_PID; 20:52:47 echo Agent pid 18 killed; 20:52:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:52:47 + git semver [Pipeline] } 20:52:48 $ docker stop --time=1 c37783f83086d2f9685187d798c736f6a4937c36551623d7fbed7e41e0c3254b 20:52:49 $ docker rm -f c37783f83086d2f9685187d798c736f6a4937c36551623d7fbed7e41e0c3254b [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 20:52:49 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:52:49 . [Pipeline] withDockerContainer 20:52:50 prd-centos7-docker-4c-2g-28549 does not seem to be running inside a container 20:52:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:52:50 $ docker top 6e6e8092279adc27bb6c758c2b18deec3f0f1be0c1d7eb7f814c5fa573ae4361 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:52:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:52:51 [ssh-agent] Looking for ssh-agent implementation... 20:52:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:52:51 $ docker exec 6e6e8092279adc27bb6c758c2b18deec3f0f1be0c1d7eb7f814c5fa573ae4361 ssh-agent 20:52:51 SSH_AUTH_SOCK=/tmp/ssh-SqTruf9OmmHz/agent.12 20:52:51 SSH_AGENT_PID=17 20:52:51 Running ssh-add (command line suppressed) 20:52:51 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_1526558212669835774.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_1526558212669835774.key) 20:52:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:52:52 + git semver push 20:52:52 # -> Open(): unable to determine branch for HEAD 20:52:52 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git 20:52:52 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master 20:52:52 # $SEMVER_REMOTE_NAME = origin 20:52:52 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:52:52 # $SEMVER_USER_NAME = edgex-jenkins 20:52:52 # $SEMVER_BRANCH = master 20:52:52 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } 20:52:56 $ docker exec --env ******** --env ******** 6e6e8092279adc27bb6c758c2b18deec3f0f1be0c1d7eb7f814c5fa573ae4361 ssh-agent -k 20:52:56 unset SSH_AUTH_SOCK; 20:52:56 unset SSH_AGENT_PID; 20:52:56 echo Agent pid 17 killed; 20:52:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:52:56 + git semver [Pipeline] } 20:52:56 $ docker stop --time=1 6e6e8092279adc27bb6c758c2b18deec3f0f1be0c1d7eb7f814c5fa573ae4361 20:52:58 $ docker rm -f 6e6e8092279adc27bb6c758c2b18deec3f0f1be0c1d7eb7f814c5fa573ae4361 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 20:53:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:53:00 ---> package-listing.sh 20:53:00 ++ facter osfamily 20:53:00 ++ tr '[:upper:]' '[:lower:]' 20:53:00 + OS_FAMILY=redhat 20:53:00 + workspace=/w/workspace/ndry_app-functions-sdk-go_master 20:53:00 + START_PACKAGES=/tmp/packages_start.txt 20:53:00 + END_PACKAGES=/tmp/packages_end.txt 20:53:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:53:00 + PACKAGES=/tmp/packages_start.txt 20:53:00 + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' 20:53:00 + PACKAGES=/tmp/packages_end.txt 20:53:00 + case "${OS_FAMILY}" in 20:53:00 + rpm -qa 20:53:00 + sort 20:53:05 + '[' -f /tmp/packages_start.txt ']' 20:53:05 + '[' -f /tmp/packages_end.txt ']' 20:53:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:53:05 + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' 20:53:05 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_master/archives/ 20:53:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_master/archives/ [Pipeline] echo 20:53:05 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:53:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:53:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:53:06 20:53:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 20:53:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:53:06 alpine: Pulling from edgex-lftools-log-publisher 20:53:06 df20fa9351a1: Pulling fs layer 20:53:06 36b3adc4ff6f: Pulling fs layer 20:53:06 8ad3a11d3b57: Pulling fs layer 20:53:06 46f8f816bc3b: Pulling fs layer 20:53:06 93b61091891f: Pulling fs layer 20:53:06 93b9cdb0e59b: Pulling fs layer 20:53:06 5e14af77c1be: Pulling fs layer 20:53:06 01666e4c0597: Pulling fs layer 20:53:06 aa168da1d23b: Pulling fs layer 20:53:06 46f8f816bc3b: Waiting 20:53:06 93b61091891f: Waiting 20:53:06 93b9cdb0e59b: Waiting 20:53:06 5e14af77c1be: Waiting 20:53:06 01666e4c0597: Waiting 20:53:06 aa168da1d23b: Waiting 20:53:06 36b3adc4ff6f: Verifying Checksum 20:53:06 36b3adc4ff6f: Download complete 20:53:06 46f8f816bc3b: Verifying Checksum 20:53:06 46f8f816bc3b: Download complete 20:53:06 df20fa9351a1: Verifying Checksum 20:53:06 df20fa9351a1: Download complete 20:53:06 93b9cdb0e59b: Verifying Checksum 20:53:06 93b9cdb0e59b: Download complete 20:53:06 93b61091891f: Verifying Checksum 20:53:06 93b61091891f: Download complete 20:53:07 5e14af77c1be: Download complete 20:53:07 01666e4c0597: Verifying Checksum 20:53:07 01666e4c0597: Download complete 20:53:07 8ad3a11d3b57: Verifying Checksum 20:53:07 8ad3a11d3b57: Download complete 20:53:07 df20fa9351a1: Pull complete 20:53:07 36b3adc4ff6f: Pull complete 20:53:09 8ad3a11d3b57: Pull complete 20:53:09 aa168da1d23b: Verifying Checksum 20:53:09 aa168da1d23b: Download complete 20:53:09 46f8f816bc3b: Pull complete 20:53:09 93b61091891f: Pull complete 20:53:09 93b9cdb0e59b: Pull complete 20:53:10 5e14af77c1be: Pull complete 20:53:10 01666e4c0597: Pull complete 20:53:18 aa168da1d23b: Pull complete 20:53:18 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 20:53:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:53:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 20:53:18 prd-centos7-docker-4c-2g-28549 does not seem to be running inside a container 20:53:18 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 20:53:21 $ docker top 4315b2ba839555a338df86c56b15c1ea1d8d5a930cb357defe773a10b4ab9baa -eo pid,comm [Pipeline] { [Pipeline] sh 20:53:21 + touch /tmp/pre-build-complete [Pipeline] sh 20:53:22 + mkdir -p /var/log/sa [Pipeline] sh 20:53:22 + ls /var/log/sa-host 20:53:22 + sadf -c /var/log/sa-host/sa04 20:53:22 file_magic: OK 20:53:22 HZ: Using current value: 100 20:53:22 file_header: OK 20:53:22 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 20:53:22 Statistics: 20:53:22 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 20:53:22 File successfully converted to sysstat format version 12.2.1 20:53:22 + sadf -c /var/log/sa-host/sa23 20:53:22 file_magic: OK 20:53:22 HZ: Using current value: 100 20:53:22 file_header: OK 20:53:22 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 20:53:22 Statistics: 20:53:22 Hnuu...uuuununununu... 20:53:22 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:53:23 provisioning config files... 20:53:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config5970999508786815439tmp [Pipeline] { [Pipeline] echo 20:53:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:53:23 ---> create-netrc.sh [Pipeline] } 20:53:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 20:53:23 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 20:53:23 ---> python-tools-install.sh [Pipeline] echo 20:53:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:53:24 ---> sudo-logs.sh 20:53:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:53:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:53:24 ---> job-cost.sh 20:53:24 lf-activate-venv: SKIPPING 20:53:24 DEBUG: total: 0.20999999344348907 20:53:24 INFO: Retrieving Stack Cost... 20:53:26 INFO: Retrieving Pricing Info for: v1-standard-2 20:53:26 INFO: Archiving Costs [Pipeline] echo 20:53:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:53:26 ---> logs-deploy.sh 20:53:26 lf-activate-venv: SKIPPING 20:53:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/master/193 20:53:26 INFO: archiving workspace using pattern(s): 20:53:28 Archives upload complete. 20:53:28 INFO: archiving logs to Nexus