Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from c52b117200eeab03bf93edd622bea4d2ee6b8beb 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-functions-sdk-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-33200 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision c52b117200eeab03bf93edd622bea4d2ee6b8beb (master) > 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 c52b117200eeab03bf93edd622bea4d2ee6b8beb # timeout=10 Commit message: "refactor: Replace file based with use of Secret Provider to get Access Tokens (#784)" > git rev-list --no-walk 1798f22c4beb2284959a60107cdee2587c045e25 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:19:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:19:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:19:40 ========================================================= 22:19:40 EdgeX Global Pipelines Version Info 22:19:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:19:44 ------------------- 22:19:44 stable info: 22:19:44 ------------------- 22:19:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:19:44 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 22:19:44 Message: update stable to v1.0.186 22:19:46 ------------------- 22:19:46 experimental info: 22:19:46 ------------------- 22:19:46 Commited By: **** collab-it+edgex@linuxfoundation.org 22:19:46 Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 22:19:46 Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:19:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 22:19:48 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 22:19:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:19:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:19:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:19:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 22:19:49 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 22:19:49 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 22:19:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:19:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:19:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:19:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 22:19:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:19:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:19:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 22:19:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:19:50 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:19:50 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:19:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:19:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:19:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:19:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 22:19:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:19:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:19:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 22:19:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:19:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 22:19:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 22:19:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 22:19:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c52b117200eeab03bf93edd622bea4d2ee6b8beb [Pipeline] echo 22:19:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c52b117 [Pipeline] echo 22:19:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:19:52 + git log --format=format:%s -1 c52b117200eeab03bf93edd622bea4d2ee6b8beb [Pipeline] echo 22:19:53 GIT_COMMIT: c52b117200eeab03bf93edd622bea4d2ee6b8beb, Commit Message: refactor: Replace file based with use of Secret Provider to get Access Tokens (#784) [Pipeline] echo 22:19:53 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 22:19:54 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:19:55 22:19:55 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:19:55 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:19:55 latest: Pulling from edgex-devops/git-semver 22:19:55 31603596830f: Pulling fs layer 22:19:55 2a8b12db71e7: Pulling fs layer 22:19:55 6ca5941a6612: Pulling fs layer 22:19:55 ecc8261a40a4: Pulling fs layer 22:19:55 ecc8261a40a4: Waiting 22:19:55 2a8b12db71e7: Verifying Checksum 22:19:55 2a8b12db71e7: Download complete 22:19:56 31603596830f: Verifying Checksum 22:19:56 31603596830f: Download complete 22:19:56 ecc8261a40a4: Verifying Checksum 22:19:56 ecc8261a40a4: Download complete 22:19:57 6ca5941a6612: Verifying Checksum 22:19:57 6ca5941a6612: Download complete 22:19:57 31603596830f: Pull complete 22:19:57 2a8b12db71e7: Pull complete 22:19:59 6ca5941a6612: Pull complete 22:19:59 ecc8261a40a4: Pull complete 22:19:59 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 22:19:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:19:59 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:20:00 prd-centos7-docker-4c-2g-33200 does not seem to be running inside a container 22:20:00 $ 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 22:20:04 $ docker top e48914e26e16da31c92fbfef5dec07eb1edf24ec5387cd9af846ef8a216b33b6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:20:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:20:04 [ssh-agent] Looking for ssh-agent implementation... 22:20:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:20:05 $ docker exec e48914e26e16da31c92fbfef5dec07eb1edf24ec5387cd9af846ef8a216b33b6 ssh-agent 22:20:05 SSH_AUTH_SOCK=/tmp/ssh-WJ0LNA8Ua8ue/agent.11 22:20:05 SSH_AGENT_PID=17 22:20:05 Running ssh-add (command line suppressed) 22:20:05 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_463272963567106019.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_463272963567106019.key) 22:20:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:20:07 + git tag --points-at HEAD [Pipeline] } 22:20:07 $ docker exec --env ******** --env ******** e48914e26e16da31c92fbfef5dec07eb1edf24ec5387cd9af846ef8a216b33b6 ssh-agent -k 22:20:07 unset SSH_AUTH_SOCK; 22:20:07 unset SSH_AGENT_PID; 22:20:07 echo Agent pid 17 killed; 22:20:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:20:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:20:08 [ssh-agent] Looking for ssh-agent implementation... 22:20:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:20:08 $ docker exec e48914e26e16da31c92fbfef5dec07eb1edf24ec5387cd9af846ef8a216b33b6 ssh-agent 22:20:09 SSH_AUTH_SOCK=/tmp/ssh-6VhTM1qEK6It/agent.45 22:20:09 SSH_AGENT_PID=50 22:20:09 Running ssh-add (command line suppressed) 22:20:09 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_5148189684192824417.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_5148189684192824417.key) 22:20:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:20:10 + git semver init 22:20:10 # -> Open(): unable to determine branch for HEAD 22:20:10 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git 22:20:10 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master 22:20:10 # $SEMVER_REMOTE_NAME = origin 22:20:10 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:20:10 # $SEMVER_USER_NAME = edgex-jenkins 22:20:10 # $SEMVER_BRANCH = master 22:20:10 # $SEMVER_TEMP = /tmp/semver-404803698 22:20:10 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 22:20:18 # '/tmp/semver-404803698' -> '/w/workspace/ndry_app-functions-sdk-go_master/.semver' 22:20:18 # -> Force: false 22:20:18 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } 22:20:18 $ docker exec --env ******** --env ******** e48914e26e16da31c92fbfef5dec07eb1edf24ec5387cd9af846ef8a216b33b6 ssh-agent -k 22:20:19 unset SSH_AUTH_SOCK; 22:20:19 unset SSH_AGENT_PID; 22:20:19 echo Agent pid 50 killed; 22:20:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:20:20 + git semver [Pipeline] } 22:20:20 $ docker stop --time=1 e48914e26e16da31c92fbfef5dec07eb1edf24ec5387cd9af846ef8a216b33b6 22:20:21 $ docker rm -f e48914e26e16da31c92fbfef5dec07eb1edf24ec5387cd9af846ef8a216b33b6 [Pipeline] // withDockerContainer [Pipeline] sh 22:20:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:20:23 Stashed 1 file(s) [Pipeline] echo 22:20:23 [edgeXSemver]: initialized semver on version 2.0.0-dev.43 [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 22:20:39 Still waiting to schedule task 22:20:39 Waiting for next available executor on ‘centos7-docker-4c-2g’ 22:20:39 Still waiting to schedule task 22:20:39 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 22:22:29 Running on prd-ubuntu18.04-docker-arm64-4c-16g-33201 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws 22:22:29 Running in /w/workspace/app-functions-sdk-go/212 [Pipeline] { [Pipeline] checkout 22:22:34 using credential edgex-jenkins-ssh 22:22:34 Cloning the remote Git repository 22:22:34 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 22:22:34 > git init /w/workspace/app-functions-sdk-go/212 # timeout=10 22:22:34 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 22:22:34 > git --version # timeout=10 22:22:34 > git --version # 'git version 2.17.1' 22:22:34 using GIT_SSH to set credentials SSH Credentials for GitHub 22:22:34 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:22:37 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 22:22:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:22:38 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 22:22:38 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 22:22:38 using GIT_SSH to set credentials SSH Credentials for GitHub 22:22:38 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 22:22:38 Checking out Revision c52b117200eeab03bf93edd622bea4d2ee6b8beb (master) 22:22:38 > git config core.sparsecheckout # timeout=10 22:22:38 > git checkout -f c52b117200eeab03bf93edd622bea4d2ee6b8beb # timeout=10 22:22:43 Commit message: "refactor: Replace file based with use of Secret Provider to get Access Tokens (#784)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:22:45 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 22:22:45 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:22:45 + true 22:22:45 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 22:22:48 ========================================================= 22:22:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 22:22:48 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:22:48 + 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 . 22:22:49 Sending build context to Docker daemon 19.44MB 22:22:49 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 22:22:49 Step 2/8 : FROM ${BASE} 22:22:50 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:22:50 5f621e34cdf4: Pulling fs layer 22:22:50 a4357932f1b6: Pulling fs layer 22:22:50 18c013af1878: Pulling fs layer 22:22:50 00ac8860ef70: Pulling fs layer 22:22:50 63d7cb157983: Pulling fs layer 22:22:50 b116817d02f9: Pulling fs layer 22:22:50 745a02a5169b: Pulling fs layer 22:22:50 63d7cb157983: Waiting 22:22:50 745a02a5169b: Waiting 22:22:50 b116817d02f9: Waiting 22:22:50 00ac8860ef70: Waiting 22:22:50 18c013af1878: Verifying Checksum 22:22:50 18c013af1878: Download complete 22:22:50 a4357932f1b6: Verifying Checksum 22:22:50 a4357932f1b6: Download complete 22:22:50 63d7cb157983: Verifying Checksum 22:22:50 63d7cb157983: Download complete 22:22:50 5f621e34cdf4: Verifying Checksum 22:22:50 5f621e34cdf4: Download complete 22:22:50 b116817d02f9: Verifying Checksum 22:22:50 b116817d02f9: Download complete 22:22:51 5f621e34cdf4: Pull complete 22:22:52 a4357932f1b6: Pull complete 22:22:52 18c013af1878: Pull complete 22:22:53 745a02a5169b: Verifying Checksum 22:22:53 745a02a5169b: Download complete 22:22:54 00ac8860ef70: Verifying Checksum 22:22:54 00ac8860ef70: Download complete 22:23:04 00ac8860ef70: Pull complete 22:23:04 63d7cb157983: Pull complete 22:23:04 b116817d02f9: Pull complete 22:23:09 745a02a5169b: Pull complete 22:23:09 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 22:23:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 22:23:09 ---> b7e6874047d6 22:23:09 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 22:23:09 20.10.0: Pulling from library/docker 22:23:09 a3cc7d3b244e: Pulling fs layer 22:23:09 02a3295e0d61: Pulling fs layer 22:23:09 0f4f2e6d8100: Pulling fs layer 22:23:09 330b718f631f: Pulling fs layer 22:23:09 a93816041522: Pulling fs layer 22:23:09 bdb6da89ff94: Pulling fs layer 22:23:09 2a70c0c122f4: Pulling fs layer 22:23:09 330b718f631f: Waiting 22:23:09 a93816041522: Waiting 22:23:09 bdb6da89ff94: Waiting 22:23:09 2a70c0c122f4: Waiting 22:23:09 0f4f2e6d8100: Verifying Checksum 22:23:09 0f4f2e6d8100: Download complete 22:23:09 a3cc7d3b244e: Verifying Checksum 22:23:09 02a3295e0d61: Verifying Checksum 22:23:09 a93816041522: Download complete 22:23:09 bdb6da89ff94: Verifying Checksum 22:23:09 bdb6da89ff94: Download complete 22:23:09 2a70c0c122f4: Verifying Checksum 22:23:09 2a70c0c122f4: Download complete 22:23:09 a3cc7d3b244e: Pull complete 22:23:10 02a3295e0d61: Pull complete 22:23:10 330b718f631f: Verifying Checksum 22:23:10 330b718f631f: Download complete 22:23:10 0f4f2e6d8100: Pull complete 22:23:13 330b718f631f: Pull complete 22:23:14 a93816041522: Pull complete 22:23:14 bdb6da89ff94: Pull complete 22:23:15 2a70c0c122f4: Pull complete 22:23:15 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 22:23:15 Status: Downloaded newer image for docker:20.10.0 22:23:21 ---> 5ff0b6e60cb7 22:23:21 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 22:23:21 ---> Running in 7a7e2ceec8d8 22:23:21 Removing intermediate container 7a7e2ceec8d8 22:23:21 ---> 0d4fd53f9044 22:23:21 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 22:23:22 ---> Running in b81f9cccdc2f 22:23:23 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 22:23:24 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:23:24 (1/5) Installing libsodium (1.0.18-r0) 22:23:24 (2/5) Installing libzmq (4.3.3-r0) 22:23:24 (3/5) Installing pkgconf (1.7.2-r0) 22:23:25 (4/5) Installing libsodium-dev (1.0.18-r0) 22:23:25 (5/5) Installing zeromq-dev (4.3.3-r0) 22:23:25 Executing busybox-1.31.1-r19.trigger 22:23:25 OK: 144 MiB in 44 packages 22:23:26 Removing intermediate container b81f9cccdc2f 22:23:26 ---> a322013c355b 22:23:26 Step 6/8 : WORKDIR /build 22:23:26 ---> Running in d61f72f4336c 22:23:27 Removing intermediate container d61f72f4336c 22:23:27 ---> e99040fe293b 22:23:27 Step 7/8 : COPY go.mod . 22:23:27 ---> da8f45cbd49c 22:23:27 Step 8/8 : RUN go mod download 22:23:27 ---> Running in 7f4de3e0adec 22:23:41 Running on prd-centos7-docker-4c-2g-33202 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws 22:23:41 Running in /w/workspace/app-functions-sdk-go/212 [Pipeline] { [Pipeline] checkout 22:23:54 Removing intermediate container 7f4de3e0adec 22:23:54 ---> e3ee21b63f8b 22:23:54 Successfully built e3ee21b63f8b 22:23:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:23:55 + docker inspect -f . ci-base-image-arm64 22:23:55 . [Pipeline] withDockerContainer 22:23:55 using credential edgex-jenkins-ssh 22:23:55 prd-ubuntu18.04-docker-arm64-4c-16g-33201 does not seem to be running inside a container 22:23:55 Cloning the remote Git repository 22:23:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/212 -v /w/workspace/app-functions-sdk-go/212:/w/workspace/app-functions-sdk-go/212:rw,z -v /w/workspace/app-functions-sdk-go/212@tmp:/w/workspace/app-functions-sdk-go/212@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 22:23:55 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 22:23:55 > git init /w/workspace/app-functions-sdk-go/212 # timeout=10 22:23:55 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 22:23:55 > git --version # timeout=10 22:23:55 > git --version # 'git version 2.24.3' 22:23:55 using GIT_SSH to set credentials SSH Credentials for GitHub 22:23:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:23:57 $ docker top 65d8205a0ee21c0e904afce178fa7310fca6410f5a3ba7f493ceb75f5e5f7ffe -eo pid,comm [Pipeline] { [Pipeline] sh 22:23:58 + go version 22:23:58 go version go1.15.5 linux/arm64 [Pipeline] } 22:23:58 $ docker stop --time=1 65d8205a0ee21c0e904afce178fa7310fca6410f5a3ba7f493ceb75f5e5f7ffe 22:23:59 Checking out Revision c52b117200eeab03bf93edd622bea4d2ee6b8beb (master) 22:23:58 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 22:23:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:23:58 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 22:23:58 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 22:23:58 using GIT_SSH to set credentials SSH Credentials for GitHub 22:23:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 22:23:59 > git config core.sparsecheckout # timeout=10 22:23:59 > git checkout -f c52b117200eeab03bf93edd622bea4d2ee6b8beb # timeout=10 22:24:00 $ docker rm -f 65d8205a0ee21c0e904afce178fa7310fca6410f5a3ba7f493ceb75f5e5f7ffe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:24:01 + docker inspect -f . ci-base-image-arm64 22:24:01 . [Pipeline] withDockerContainer 22:24:01 prd-ubuntu18.04-docker-arm64-4c-16g-33201 does not seem to be running inside a container 22:24:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/212 -v /w/workspace/app-functions-sdk-go/212:/w/workspace/app-functions-sdk-go/212:rw,z -v /w/workspace/app-functions-sdk-go/212@tmp:/w/workspace/app-functions-sdk-go/212@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 22:24:02 $ docker top dae8ed506e4671f664e646b34f18704e93531e3af2fff7bb300e8543bad937ff -eo pid,comm [Pipeline] { [Pipeline] sh 22:24:04 + make test 22:24:04 make -C ./app-service-template build 22:24:04 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/212/app-service-template' 22:24:04 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 22:24:04 Commit message: "refactor: Replace file based with use of Secret Provider to get Access Tokens (#784)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:24:07 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 22:24:07 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:24:08 + sudo service docker restart 22:24:08 + true 22:24:08 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo 22:24:10 ========================================================= 22:24:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 22:24:10 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:24:11 + 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 . 22:24:13 Sending build context to Docker daemon 19.45MB 22:24:13 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 22:24:13 Step 2/8 : FROM ${BASE} 22:24:13 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 22:24:13 188c0c94c7c5: Pulling fs layer 22:24:13 0ef7d3d256c8: Pulling fs layer 22:24:13 de9db76c5a1d: Pulling fs layer 22:24:13 bca2f99d35d6: Pulling fs layer 22:24:13 93359f2a8cfa: Pulling fs layer 22:24:13 7c6f9722023f: Pulling fs layer 22:24:13 a35cf1a2eb13: Pulling fs layer 22:24:13 bca2f99d35d6: Waiting 22:24:13 93359f2a8cfa: Waiting 22:24:13 7c6f9722023f: Waiting 22:24:13 a35cf1a2eb13: Waiting 22:24:13 de9db76c5a1d: Verifying Checksum 22:24:13 de9db76c5a1d: Download complete 22:24:13 0ef7d3d256c8: Verifying Checksum 22:24:13 0ef7d3d256c8: Download complete 22:24:13 93359f2a8cfa: Verifying Checksum 22:24:13 93359f2a8cfa: Download complete 22:24:13 7c6f9722023f: Verifying Checksum 22:24:13 7c6f9722023f: Download complete 22:24:14 188c0c94c7c5: Verifying Checksum 22:24:14 188c0c94c7c5: Download complete 22:24:14 188c0c94c7c5: Pull complete 22:24:15 0ef7d3d256c8: Pull complete 22:24:15 de9db76c5a1d: Pull complete 22:24:20 a35cf1a2eb13: Verifying Checksum 22:24:20 a35cf1a2eb13: Download complete 22:24:21 bca2f99d35d6: Verifying Checksum 22:24:21 bca2f99d35d6: Download complete 22:24:36 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/212/app-service-template' 22:24:36 make -C ./app-service-template test 22:24:36 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/212/app-service-template' 22:24:36 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 22:24:39 bca2f99d35d6: Pull complete 22:24:39 93359f2a8cfa: Pull complete 22:24:39 7c6f9722023f: Pull complete 22:24:48 a35cf1a2eb13: Pull complete 22:24:48 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 22:24:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 22:24:48 ---> a62c8e92a672 22:24:48 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 22:24:48 20.10.0: Pulling from library/docker 22:24:48 05e7bc50f07f: Pulling fs layer 22:24:48 6db28d0fdbf6: Pulling fs layer 22:24:48 292df0bc6bf3: Pulling fs layer 22:24:48 2e060f4bd70b: Pulling fs layer 22:24:48 80e8d568a223: Pulling fs layer 22:24:48 8dc6ef1a942a: Pulling fs layer 22:24:48 2312dd95470a: Pulling fs layer 22:24:48 80e8d568a223: Waiting 22:24:48 8dc6ef1a942a: Waiting 22:24:48 2312dd95470a: Waiting 22:24:48 2e060f4bd70b: Waiting 22:24:48 292df0bc6bf3: Verifying Checksum 22:24:48 292df0bc6bf3: Download complete 22:24:48 6db28d0fdbf6: Verifying Checksum 22:24:48 6db28d0fdbf6: Download complete 22:24:48 80e8d568a223: Verifying Checksum 22:24:48 80e8d568a223: Download complete 22:24:48 05e7bc50f07f: Download complete 22:24:48 8dc6ef1a942a: Verifying Checksum 22:24:48 8dc6ef1a942a: Download complete 22:24:48 2312dd95470a: Verifying Checksum 22:24:48 2312dd95470a: Download complete 22:24:49 05e7bc50f07f: Pull complete 22:24:50 6db28d0fdbf6: Pull complete 22:24:50 292df0bc6bf3: Pull complete 22:24:52 2e060f4bd70b: Verifying Checksum 22:24:52 2e060f4bd70b: Download complete 22:25:01 2e060f4bd70b: Pull complete 22:25:01 80e8d568a223: Pull complete 22:25:01 8dc6ef1a942a: Pull complete 22:25:01 2312dd95470a: Pull complete 22:25:01 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 22:25:01 Status: Downloaded newer image for docker:20.10.0 22:25:03 ok new-app-service 0.035s coverage: 47.8% of statements 22:25:03 ? new-app-service/config [no test files] 22:25:03 ok new-app-service/functions 0.029s 22:25:03 CGO_ENABLED=1 go vet ./... 22:25:03 ---> 88168796a45b 22:25:03 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 22:25:04 ---> Running in 862eafae55d0 22:25:04 Removing intermediate container 862eafae55d0 22:25:04 ---> 603c52c9eddd 22:25:04 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 22:25:04 ---> Running in 69a1ed8b38ac 22:25:06 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:25:07 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:25:07 (1/5) Installing libsodium (1.0.18-r0) 22:25:07 (2/5) Installing libzmq (4.3.3-r0) 22:25:07 (3/5) Installing pkgconf (1.7.2-r0) 22:25:07 (4/5) Installing libsodium-dev (1.0.18-r0) 22:25:08 (5/5) Installing zeromq-dev (4.3.3-r0) 22:25:08 Executing busybox-1.31.1-r19.trigger 22:25:08 OK: 167 MiB in 44 packages 22:25:09 Removing intermediate container 69a1ed8b38ac 22:25:09 ---> fcc51da3e2b7 22:25:09 Step 6/8 : WORKDIR /build 22:25:09 ---> Running in 3fb029e1efe2 22:25:10 Removing intermediate container 3fb029e1efe2 22:25:10 ---> f06bb4f90b8c 22:25:10 Step 7/8 : COPY go.mod . 22:25:10 ---> f78b2fb812c4 22:25:10 Step 8/8 : RUN go mod download 22:25:10 ---> Running in 76f3d19bfe56 22:25:11 gofmt -l . 22:25:11 [ "`gofmt -l .`" = "" ] 22:25:11 ./bin/test-go-mod-tidy.sh 22:25:12 ./bin/test-attribution-txt.sh 22:25:13 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/212/app-service-template' 22:25:13 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:25:14 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 22:25:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.063s coverage: 55.8% of statements 22:25:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.063s coverage: 92.5% of statements 22:25:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 22:25:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.115s coverage: 61.5% of statements 22:25:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 22:25:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.033s 22:25:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.102s coverage: 75.4% of statements 22:25:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 22:25:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 22:25:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 22:25:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 22:25:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 22:25:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 22:25:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.015s coverage: 97.0% of statements 22:25:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 22:25:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.028s coverage: 10.5% of statements 22:25:32 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.828s coverage: 78.4% of statements 22:25:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 22:25:32 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.027s coverage: 18.4% of statements 22:25:32 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.042s coverage: 27.3% of statements 22:25:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 22:25:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 22:25:32 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.052s coverage: 71.7% of statements 22:25:43 Removing intermediate container 76f3d19bfe56 22:25:43 ---> 1c317b718487 22:25:43 Successfully built 1c317b718487 22:25:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:25:44 + docker inspect -f . ci-base-image-x86_64 22:25:44 . [Pipeline] withDockerContainer 22:25:45 prd-centos7-docker-4c-2g-33202 does not seem to be running inside a container 22:25:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/212 -v /w/workspace/app-functions-sdk-go/212:/w/workspace/app-functions-sdk-go/212:rw,z -v /w/workspace/app-functions-sdk-go/212@tmp:/w/workspace/app-functions-sdk-go/212@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 22:25:47 $ docker top 2d1e30054a34ac73f07cef8da2b79c18693b2767c1bb6f9b7fc9cb592f1608e7 -eo pid,comm [Pipeline] { [Pipeline] sh 22:25:48 + go version 22:25:48 go version go1.15.5 linux/amd64 [Pipeline] } 22:25:48 $ docker stop --time=1 2d1e30054a34ac73f07cef8da2b79c18693b2767c1bb6f9b7fc9cb592f1608e7 22:25:51 $ docker rm -f 2d1e30054a34ac73f07cef8da2b79c18693b2767c1bb6f9b7fc9cb592f1608e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:25:52 + docker inspect -f . ci-base-image-x86_64 22:25:52 . [Pipeline] withDockerContainer 22:25:52 prd-centos7-docker-4c-2g-33202 does not seem to be running inside a container 22:25:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/212 -v /w/workspace/app-functions-sdk-go/212:/w/workspace/app-functions-sdk-go/212:rw,z -v /w/workspace/app-functions-sdk-go/212@tmp:/w/workspace/app-functions-sdk-go/212@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 22:25:54 $ docker top ab1a6e40c442ce4c6fec0d36b427ba2bfe9a97a001b838780a6d9f92bdad8eb6 -eo pid,comm [Pipeline] { [Pipeline] sh 22:25:56 + make test 22:25:56 make -C ./app-service-template build 22:25:56 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/212/app-service-template' 22:25:56 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 22:25:59 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.087s coverage: 81.9% of statements 22:25:59 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.024s coverage: 94.4% of statements 22:25:59 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:26:00 gofmt -l . 22:26:00 [ "`gofmt -l .`" = "" ] 22:26:00 ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } 22:26:01 $ docker stop --time=1 dae8ed506e4671f664e646b34f18704e93531e3af2fff7bb300e8543bad937ff 22:26:03 $ docker rm -f dae8ed506e4671f664e646b34f18704e93531e3af2fff7bb300e8543bad937ff [Pipeline] // withDockerContainer [Pipeline] sh 22:26:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:26:05 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 22:26:06 ---> job-cost.sh 22:26:06 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-2Qff 22:26:23 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/212/app-service-template' 22:26:23 make -C ./app-service-template test 22:26:23 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/212/app-service-template' 22:26:23 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 22:26:45 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 22:26:46 ok new-app-service 0.132s coverage: 47.8% of statements 22:26:46 ? new-app-service/config [no test files] 22:26:46 ok new-app-service/functions 0.034s 22:26:46 CGO_ENABLED=1 go vet ./... 22:26:57 gofmt -l . 22:26:57 [ "`gofmt -l .`" = "" ] 22:26:57 ./bin/test-go-mod-tidy.sh 22:26:58 ./bin/test-attribution-txt.sh 22:27:00 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/212/app-service-template' 22:27:00 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:27:03 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 22:27:10 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.022s coverage: 55.8% of statements 22:27:10 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.075s coverage: 92.5% of statements 22:27:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 22:27:10 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.167s coverage: 61.5% of statements 22:27:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 22:27:10 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.034s 22:27:10 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.099s coverage: 75.4% of statements 22:27:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 22:27:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 22:27:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 22:27:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 22:27:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 22:27:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 22:27:10 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.019s coverage: 97.0% of statements 22:27:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 22:27:10 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.043s coverage: 10.5% of statements 22:27:16 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.092s coverage: 78.4% of statements 22:27:16 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 22:27:16 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.023s coverage: 18.4% of statements 22:27:16 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.041s coverage: 27.3% of statements 22:27:16 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 22:27:16 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 22:27:16 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.173s coverage: 71.7% of statements 22:27:43 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.264s coverage: 81.9% of statements 22:27:43 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.032s coverage: 94.4% of statements 22:27:43 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:27:45 gofmt -l . 22:27:45 [ "`gofmt -l .`" = "" ] 22:27:45 ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } 22:27:46 $ docker stop --time=1 ab1a6e40c442ce4c6fec0d36b427ba2bfe9a97a001b838780a6d9f92bdad8eb6 22:27:49 $ docker rm -f ab1a6e40c442ce4c6fec0d36b427ba2bfe9a97a001b838780a6d9f92bdad8eb6 [Pipeline] // withDockerContainer [Pipeline] sh 22:27:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:27:50 Warning: overwriting stash ‘coverage-report’ 22:27:51 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 22:27:53 ---> job-cost.sh 22:27:53 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-GmBD 22:28:20 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 22:28:22 lf-activate-venv(): INFO: Adding /tmp/venv-2Qff/bin to PATH 22:28:22 INFO: No Stack... 22:28:22 INFO: Retrieving Pricing Info for: lf-standard-4 22:28:22 INFO: Archiving Costs [Pipeline] sh 22:28:22 + + cut -d,cat -f6 /w/workspace/app-functions-sdk-go/212/archives/cost.csv 22:28:22 [Pipeline] lock 22:28:22 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-212-stack-cost] 22:28:22 Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-212-stack-cost] did not exist. Created. 22:28:22 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-212-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:28:22 + echo total: 0.20999999344348907 [Pipeline] stash 22:28:23 Stashed 1 file(s) [Pipeline] } 22:28:23 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-212-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:29:07 lf-activate-venv(): INFO: Adding /tmp/venv-GmBD/bin to PATH 22:29:07 INFO: No Stack... 22:29:07 INFO: Retrieving Pricing Info for: v1-standard-2 22:29:07 INFO: Archiving Costs [Pipeline] sh 22:29:07 + cat /w/workspace/app-functions-sdk-go/212/archives/cost.csv 22:29:07 + cut -d, -f6 [Pipeline] lock 22:29:08 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-212-stack-cost] 22:29:08 Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-212-stack-cost] did not exist. Created. 22:29:08 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-212-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:29:08 /w/workspace/app-functions-sdk-go/212@tmp/durable-1a139213/script.sh: line 1: unexpected EOF while looking for matching `'' [Pipeline] sh 22:29:09 + echo total: 0.029999999329447746 [Pipeline] stash 22:29:09 Warning: overwriting stash ‘stack-cost’ 22:29:09 Stashed 1 file(s) [Pipeline] } 22:29:09 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-212-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 22:29:11 provisioning config files... 22:29:11 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config5943347883619106659tmp [Pipeline] { [Pipeline] sh 22:29:12 + set +x 22:29:12 + curl -s https://codecov.io/bash 22:29:12 + bash -s -- 22:29:12 22:29:12 _____ _ 22:29:12 / ____| | | 22:29:12 | | ___ __| | ___ ___ _____ __ 22:29:12 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:29:12 | |___| (_) | (_| | __/ (_| (_) \ V / 22:29:12 \_____\___/ \__,_|\___|\___\___/ \_/ 22:29:12 Bash-20210309-2b87ace 22:29:12 22:29:12 22:29:12 ==> git version 2.24.3 found 22:29:12 ==> 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 22:29:12 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 22:29:12 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 22:29:12 ==> Jenkins CI detected. 22:29:12 project root: . 22:29:12 --> token set from env 22:29:12 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:29:12 ==> Running gcov in . (disable via -X gcov) 22:29:12 ==> Python coveragepy not found 22:29:12 ==> Searching for coverage reports in: 22:29:12 + . 22:29:12 -> Found 2 reports 22:29:12 ==> Detecting git/mercurial file structure 22:29:12 ==> Reading reports 22:29:12 + ./app-service-template/coverage.out bytes=1055 22:29:12 + ./coverage.out bytes=86827 22:29:12 ==> Appending adjustments 22:29:12 https://docs.codecov.io/docs/fixing-reports 22:29:13 + Found adjustments 22:29:13 ==> Gzipping contents 22:29:13 16K /tmp/codecov.tnxHDY.gz 22:29:13 ==> Uploading reports 22:29:13 url: https://codecov.io 22:29:13 query: branch=master&commit=c52b117200eeab03bf93edd622bea4d2ee6b8beb&build=212&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F212%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:29:13 -> Pinging Codecov 22:29:13 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=master&commit=c52b117200eeab03bf93edd622bea4d2ee6b8beb&build=212&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F212%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:29:14 -> Uploading to 22:29:14 https://storage.googleapis.com/codecov/v4/raw/2021-04-07/3D8B5DFFC46A037C893635FACE044666/c52b117200eeab03bf93edd622bea4d2ee6b8beb/8fb0e70c-d007-4456-8b84-b0c970d6350a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210407%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210407T222914Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=32170fb4218a6f34b7381a953fb54cc265057802a7e2e04e51487b0cf6ca524a 22:29:14 % Total % Received % Xferd Average Speed Time Time Time Current 22:29:14 Dload Upload Total Spent Left Speed 22:29:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15280 0 0 100 15280 0 26947 --:--:-- --:--:-- --:--:-- 26996 22:29:15 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/c52b117200eeab03bf93edd622bea4d2ee6b8beb [Pipeline] } 22:29:15 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:29:16 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:29:16 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:29:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:29:16 22:29:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 22:29:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:29:17 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:29:17 188c0c94c7c5: Pulling fs layer 22:29:17 0ef7d3d256c8: Pulling fs layer 22:29:17 de9db76c5a1d: Pulling fs layer 22:29:17 0eba1c9be4d2: Pulling fs layer 22:29:17 0d57e429df01: Pulling fs layer 22:29:17 4e4be7b47b0d: Pulling fs layer 22:29:17 e1f770b5df2f: Pulling fs layer 22:29:17 85a0685a4137: Pulling fs layer 22:29:17 0eba1c9be4d2: Waiting 22:29:17 0d57e429df01: Waiting 22:29:17 4e4be7b47b0d: Waiting 22:29:17 e1f770b5df2f: Waiting 22:29:17 85a0685a4137: Waiting 22:29:17 de9db76c5a1d: Verifying Checksum 22:29:17 de9db76c5a1d: Download complete 22:29:17 0ef7d3d256c8: Verifying Checksum 22:29:17 0ef7d3d256c8: Download complete 22:29:17 0d57e429df01: Verifying Checksum 22:29:17 0d57e429df01: Download complete 22:29:17 4e4be7b47b0d: Verifying Checksum 22:29:17 4e4be7b47b0d: Download complete 22:29:17 188c0c94c7c5: Download complete 22:29:18 188c0c94c7c5: Pull complete 22:29:19 0ef7d3d256c8: Pull complete 22:29:19 de9db76c5a1d: Pull complete 22:29:21 e1f770b5df2f: Verifying Checksum 22:29:21 e1f770b5df2f: Download complete 22:29:30 85a0685a4137: Verifying Checksum 22:29:30 85a0685a4137: Download complete 22:29:30 0eba1c9be4d2: Verifying Checksum 22:29:30 0eba1c9be4d2: Download complete 22:29:48 0eba1c9be4d2: Pull complete 22:29:48 0d57e429df01: Pull complete 22:29:48 4e4be7b47b0d: Pull complete 22:29:50 e1f770b5df2f: Pull complete 22:30:08 85a0685a4137: Pull complete 22:30:08 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 22:30:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:30:08 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 22:30:09 prd-centos7-docker-4c-2g-33200 does not seem to be running inside a container 22:30:09 $ 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 22:30:11 $ docker top 9f7861a27048eada88e10f2036480b8d1e0b2f5f1d70f2d41cbe4043a136d23a -eo pid,comm [Pipeline] { [Pipeline] echo 22:30:11 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 22:30:12 + set -o pipefail 22:30:12 + snyk monitor '--org=edgex-jenkins' 22:30:28 22:30:28 Monitoring /w/workspace/ndry_app-functions-sdk-go_master (github.com/edgexfoundry/app-functions-sdk-go/v2)... 22:30:28 22:30:28 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/91949516-6729-4d8f-a09c-357584cc006a 22:30:28 22:30:28 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 22:30:28 22:30:28 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:30:28 22:30:28 22:30:28 You are approaching your monthly limit of 300 private tests for your edgex-jenkins org. 22:30:28 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 22:30:28 $ docker stop --time=1 9f7861a27048eada88e10f2036480b8d1e0b2f5f1d70f2d41cbe4043a136d23a 22:30:31 $ docker rm -f 9f7861a27048eada88e10f2036480b8d1e0b2f5f1d70f2d41cbe4043a136d23a [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 22:30:34 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:30:34 provisioning config files... 22:30:34 copy managed file [swaggerhub-api-key] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config795152040279551835tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:30:34 --> edgex-publish-swagger.sh 22:30:34 === Publish openapi/v2 API === 22:30:34 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 22:30:34 [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/ndry_app-functions-sdk-go_master/openapi/v2/app-functions-sdk.yaml] 22:30:34 % Total % Received % Xferd Average Speed Time Time Time Current 22:30:34 Dload Upload Total Spent Left Speed 22:30:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13052 0 0 100 13052 0 12903 0:00:01 0:00:01 --:--:-- 12922 22:30:35 22:30:35 [Pipeline] } 22:30:35 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 22:30:36 + git log --format=format:%s -1 c52b117200eeab03bf93edd622bea4d2ee6b8beb [Pipeline] isUnix [Pipeline] sh 22:30:37 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:30:37 . [Pipeline] withDockerContainer 22:30:37 prd-centos7-docker-4c-2g-33200 does not seem to be running inside a container 22:30:37 $ 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 22:30:38 $ docker top 1ab037e8a71132bee115eb81cc0de9f8b172e5ca95a1b3fcbc8fdd91d5cfc68c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:30:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:30:39 [ssh-agent] Looking for ssh-agent implementation... 22:30:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:30:39 $ docker exec 1ab037e8a71132bee115eb81cc0de9f8b172e5ca95a1b3fcbc8fdd91d5cfc68c ssh-agent 22:30:40 SSH_AUTH_SOCK=/tmp/ssh-9q5byvyVToUR/agent.12 22:30:40 SSH_AGENT_PID=17 22:30:40 Running ssh-add (command line suppressed) 22:30:41 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_8048468612534601223.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_8048468612534601223.key) 22:30:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:30:42 + git semver tag 22:30:42 # -> Open(): unable to determine branch for HEAD 22:30:42 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git 22:30:42 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master 22:30:42 # $SEMVER_REMOTE_NAME = origin 22:30:42 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:30:42 # $SEMVER_USER_NAME = edgex-jenkins 22:30:42 # $SEMVER_BRANCH = master 22:30:42 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver 22:30:42 # c52b117200eeab03bf93edd622bea4d2ee6b8beb HEAD 22:30:42 # -> Force: false 22:30:42 # c45f2b5c33cc118057e7d5be0ce24aead0f4cb71 refs/tags/v2.0.0-dev.43 [Pipeline] } 22:30:42 $ docker exec --env ******** --env ******** 1ab037e8a71132bee115eb81cc0de9f8b172e5ca95a1b3fcbc8fdd91d5cfc68c ssh-agent -k 22:30:43 unset SSH_AUTH_SOCK; 22:30:43 unset SSH_AGENT_PID; 22:30:43 echo Agent pid 17 killed; 22:30:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:30:44 + git semver [Pipeline] } 22:30:44 $ docker stop --time=1 1ab037e8a71132bee115eb81cc0de9f8b172e5ca95a1b3fcbc8fdd91d5cfc68c 22:30:47 $ docker rm -f 1ab037e8a71132bee115eb81cc0de9f8b172e5ca95a1b3fcbc8fdd91d5cfc68c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 22:30:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:30:49 22:30:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 22:30:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:30:49 0.23.1-centos7: Pulling from edgex-lftools 22:30:49 ab5ef0e58194: Pulling fs layer 22:30:49 9712f1f96733: Pulling fs layer 22:30:49 63f879dbbcfc: Pulling fs layer 22:30:49 0d9ebad4ef96: Pulling fs layer 22:30:49 e9a5061849ea: Pulling fs layer 22:30:49 d747dcd14b5f: Pulling fs layer 22:30:49 2de7ff778b66: Pulling fs layer 22:30:49 0d9ebad4ef96: Waiting 22:30:49 e9a5061849ea: Waiting 22:30:49 d747dcd14b5f: Waiting 22:30:49 2de7ff778b66: Waiting 22:30:49 9712f1f96733: Verifying Checksum 22:30:49 9712f1f96733: Download complete 22:30:55 63f879dbbcfc: Verifying Checksum 22:30:55 63f879dbbcfc: Download complete 22:30:56 e9a5061849ea: Verifying Checksum 22:30:56 e9a5061849ea: Download complete 22:30:56 d747dcd14b5f: Verifying Checksum 22:30:56 d747dcd14b5f: Download complete 22:30:57 2de7ff778b66: Verifying Checksum 22:30:57 2de7ff778b66: Download complete 22:30:57 0d9ebad4ef96: Verifying Checksum 22:30:57 0d9ebad4ef96: Download complete 22:30:58 ab5ef0e58194: Verifying Checksum 22:30:58 ab5ef0e58194: Download complete 22:31:12 ab5ef0e58194: Pull complete 22:31:12 9712f1f96733: Pull complete 22:31:14 63f879dbbcfc: Pull complete 22:31:30 0d9ebad4ef96: Pull complete 22:31:34 e9a5061849ea: Pull complete 22:31:34 d747dcd14b5f: Pull complete 22:31:38 2de7ff778b66: Pull complete 22:31:38 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:31:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:31:38 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 22:31:38 prd-centos7-docker-4c-2g-33200 does not seem to be running inside a container 22:31:38 $ 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 22:31:42 $ docker top 78a784db64670554f19d9e05774de6feed7a047d0305b2ccf42e49ba6e5ebfeb -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:31:43 provisioning config files... 22:31:43 copy managed file [sigul-config] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config3411086589174077947tmp 22:31:43 copy managed file [sigul-password] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config8426201048425962776tmp 22:31:43 copy managed file [sigul-pki] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config1117020211033789964tmp [Pipeline] { [Pipeline] echo 22:31:43 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:31:44 ---> sigul-configuration.sh 22:31:44 gpg: directory `/root/.gnupg' created 22:31:44 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:31:44 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:31:44 gpg: keyring `/root/.gnupg/secring.gpg' created 22:31:44 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:31:44 gpg: CAST5 encrypted data 22:31:45 gpg: encrypted with 1 passphrase 22:31:45 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:31:46 + mkdir /home/jenkins 22:31:46 + mkdir /home/jenkins/sigul [Pipeline] sh 22:31:46 + 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 22:31:47 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:31:47 ---> sigul-install.sh 22:31:57 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 22:31:58 + git tag --list 22:31:58 v0.1.0 22:31:58 v0.1.1 22:31:58 v1.0.0 22:31:58 v1.1.0 22:31:58 v1.2.0 22:31:58 v1.3.0 22:31:58 v1.3.1 22:31:58 v1.3.1-dev.1 22:31:58 v1.3.2-dev.1 22:31:58 v2.0.0-dev.1 22:31:58 v2.0.0-dev.10 22:31:58 v2.0.0-dev.11 22:31:58 v2.0.0-dev.12 22:31:58 v2.0.0-dev.13 22:31:58 v2.0.0-dev.14 22:31:58 v2.0.0-dev.15 22:31:58 v2.0.0-dev.16 22:31:58 v2.0.0-dev.17 22:31:58 v2.0.0-dev.18 22:31:58 v2.0.0-dev.19 22:31:58 v2.0.0-dev.2 22:31:58 v2.0.0-dev.20 22:31:58 v2.0.0-dev.21 22:31:58 v2.0.0-dev.22 22:31:58 v2.0.0-dev.23 22:31:58 v2.0.0-dev.24 22:31:58 v2.0.0-dev.25 22:31:58 v2.0.0-dev.26 22:31:58 v2.0.0-dev.27 22:31:58 v2.0.0-dev.28 22:31:58 v2.0.0-dev.29 22:31:58 v2.0.0-dev.3 22:31:58 v2.0.0-dev.30 22:31:58 v2.0.0-dev.31 22:31:58 v2.0.0-dev.32 22:31:58 v2.0.0-dev.33 22:31:58 v2.0.0-dev.34 22:31:58 v2.0.0-dev.35 22:31:58 v2.0.0-dev.36 22:31:58 v2.0.0-dev.37 22:31:58 v2.0.0-dev.38 22:31:58 v2.0.0-dev.39 22:31:58 v2.0.0-dev.4 22:31:58 v2.0.0-dev.40 22:31:58 v2.0.0-dev.41 22:31:58 v2.0.0-dev.42 22:31:58 v2.0.0-dev.43 22:31:58 v2.0.0-dev.5 22:31:58 v2.0.0-dev.6 22:31:58 v2.0.0-dev.7 22:31:58 v2.0.0-dev.8 22:31:58 v2.0.0-dev.9 [Pipeline] sh 22:31:59 + lftools sign git-tag v2.0.0-dev.43 22:32:01 Signing Git tag with Sigul... 22:32:01 Signing v2.0.0-dev.43 [Pipeline] echo 22:32:03 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:32:04 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:32:04 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:32:04 $ docker stop --time=1 78a784db64670554f19d9e05774de6feed7a047d0305b2ccf42e49ba6e5ebfeb 22:32:06 $ docker rm -f 78a784db64670554f19d9e05774de6feed7a047d0305b2ccf42e49ba6e5ebfeb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 22:32:08 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:32:08 . [Pipeline] withDockerContainer 22:32:09 prd-centos7-docker-4c-2g-33200 does not seem to be running inside a container 22:32:09 $ 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 22:32:11 $ docker top e88d2d65ac4c48e8ebafd8f5ef80c87a4e0d6f64247eec33153b9ced369678c5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:32:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:32:12 [ssh-agent] Looking for ssh-agent implementation... 22:32:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:32:13 $ docker exec e88d2d65ac4c48e8ebafd8f5ef80c87a4e0d6f64247eec33153b9ced369678c5 ssh-agent 22:32:13 SSH_AUTH_SOCK=/tmp/ssh-wkeyjrIIto9Z/agent.12 22:32:13 SSH_AGENT_PID=17 22:32:13 Running ssh-add (command line suppressed) 22:32:14 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_5550570574287839464.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_5550570574287839464.key) 22:32:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:32:15 + git semver bump pre 22:32:15 # -> Open(): unable to determine branch for HEAD 22:32:15 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git 22:32:15 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master 22:32:15 # $SEMVER_REMOTE_NAME = origin 22:32:15 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:32:15 # $SEMVER_USER_NAME = edgex-jenkins 22:32:15 # $SEMVER_BRANCH = master 22:32:15 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver 22:32:15 2.0.0-dev.44 [Pipeline] } 22:32:15 $ docker exec --env ******** --env ******** e88d2d65ac4c48e8ebafd8f5ef80c87a4e0d6f64247eec33153b9ced369678c5 ssh-agent -k 22:32:16 unset SSH_AUTH_SOCK; 22:32:16 unset SSH_AGENT_PID; 22:32:16 echo Agent pid 17 killed; 22:32:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:32:17 + git semver [Pipeline] } 22:32:17 $ docker stop --time=1 e88d2d65ac4c48e8ebafd8f5ef80c87a4e0d6f64247eec33153b9ced369678c5 22:32:19 $ docker rm -f e88d2d65ac4c48e8ebafd8f5ef80c87a4e0d6f64247eec33153b9ced369678c5 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 22:32:20 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:32:21 . [Pipeline] withDockerContainer 22:32:21 prd-centos7-docker-4c-2g-33200 does not seem to be running inside a container 22:32:21 $ 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 22:32:23 $ docker top dfbb0144ee875a24ae128a9713eb2742872cde34d19ef0da3df033d4b70b1f05 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:32:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:32:24 [ssh-agent] Looking for ssh-agent implementation... 22:32:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:32:25 $ docker exec dfbb0144ee875a24ae128a9713eb2742872cde34d19ef0da3df033d4b70b1f05 ssh-agent 22:32:25 SSH_AUTH_SOCK=/tmp/ssh-IZlFkRHQ2ln8/agent.11 22:32:25 SSH_AGENT_PID=17 22:32:25 Running ssh-add (command line suppressed) 22:32:26 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4617492087084924632.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4617492087084924632.key) 22:32:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:32:26 + git semver push 22:32:26 # -> Open(): unable to determine branch for HEAD 22:32:26 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git 22:32:26 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master 22:32:26 # $SEMVER_REMOTE_NAME = origin 22:32:26 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:32:26 # $SEMVER_USER_NAME = edgex-jenkins 22:32:26 # $SEMVER_BRANCH = master 22:32:26 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } 22:32:33 $ docker exec --env ******** --env ******** dfbb0144ee875a24ae128a9713eb2742872cde34d19ef0da3df033d4b70b1f05 ssh-agent -k 22:32:34 unset SSH_AUTH_SOCK; 22:32:34 unset SSH_AGENT_PID; 22:32:34 echo Agent pid 17 killed; 22:32:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:32:35 + git semver [Pipeline] } 22:32:35 $ docker stop --time=1 dfbb0144ee875a24ae128a9713eb2742872cde34d19ef0da3df033d4b70b1f05 22:32:38 $ docker rm -f dfbb0144ee875a24ae128a9713eb2742872cde34d19ef0da3df033d4b70b1f05 [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 22:32:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:32:41 ---> package-listing.sh 22:32:41 ++ facter osfamily 22:32:41 ++ tr '[:upper:]' '[:lower:]' 22:32:41 + OS_FAMILY=redhat 22:32:41 + workspace=/w/workspace/ndry_app-functions-sdk-go_master 22:32:41 + START_PACKAGES=/tmp/packages_start.txt 22:32:41 + END_PACKAGES=/tmp/packages_end.txt 22:32:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:32:41 + PACKAGES=/tmp/packages_start.txt 22:32:41 + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' 22:32:41 + PACKAGES=/tmp/packages_end.txt 22:32:41 + case "${OS_FAMILY}" in 22:32:41 + sort 22:32:41 + rpm -qa 22:32:50 + '[' -f /tmp/packages_start.txt ']' 22:32:50 + '[' -f /tmp/packages_end.txt ']' 22:32:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:32:50 + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' 22:32:50 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_master/archives/ 22:32:50 + 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 22:32:50 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 22:32:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:32:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:32:51 22:32:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 22:32:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:32:52 alpine: Pulling from edgex-lftools-log-publisher 22:32:52 df20fa9351a1: Pulling fs layer 22:32:52 36b3adc4ff6f: Pulling fs layer 22:32:52 8ad3a11d3b57: Pulling fs layer 22:32:52 46f8f816bc3b: Pulling fs layer 22:32:52 93b61091891f: Pulling fs layer 22:32:52 93b9cdb0e59b: Pulling fs layer 22:32:52 5e14af77c1be: Pulling fs layer 22:32:52 01666e4c0597: Pulling fs layer 22:32:52 aa168da1d23b: Pulling fs layer 22:32:52 46f8f816bc3b: Waiting 22:32:52 93b61091891f: Waiting 22:32:52 93b9cdb0e59b: Waiting 22:32:52 5e14af77c1be: Waiting 22:32:52 01666e4c0597: Waiting 22:32:52 aa168da1d23b: Waiting 22:32:52 36b3adc4ff6f: Download complete 22:32:52 46f8f816bc3b: Verifying Checksum 22:32:52 46f8f816bc3b: Download complete 22:32:52 df20fa9351a1: Verifying Checksum 22:32:52 df20fa9351a1: Download complete 22:32:52 93b9cdb0e59b: Verifying Checksum 22:32:52 93b9cdb0e59b: Download complete 22:32:52 5e14af77c1be: Verifying Checksum 22:32:52 5e14af77c1be: Download complete 22:32:52 01666e4c0597: Verifying Checksum 22:32:52 01666e4c0597: Download complete 22:32:52 93b61091891f: Verifying Checksum 22:32:52 93b61091891f: Download complete 22:32:53 df20fa9351a1: Pull complete 22:32:54 8ad3a11d3b57: Verifying Checksum 22:32:54 8ad3a11d3b57: Download complete 22:32:54 36b3adc4ff6f: Pull complete 22:32:57 8ad3a11d3b57: Pull complete 22:32:57 46f8f816bc3b: Pull complete 22:32:59 93b61091891f: Pull complete 22:33:00 93b9cdb0e59b: Pull complete 22:33:01 5e14af77c1be: Pull complete 22:33:01 01666e4c0597: Pull complete 22:33:01 aa168da1d23b: Verifying Checksum 22:33:01 aa168da1d23b: Download complete 22:33:25 aa168da1d23b: Pull complete 22:33:25 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 22:33:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:33:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 22:33:25 prd-centos7-docker-4c-2g-33200 does not seem to be running inside a container 22:33:26 $ 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 22:33:29 $ docker top 8c9a9b9bb6ee73a58e8fe158b473d29bb0423ee3cd1ee30acd0e68c4b05a6e66 -eo pid,comm [Pipeline] { [Pipeline] sh 22:33:30 + touch /tmp/pre-build-complete [Pipeline] sh 22:33:31 + mkdir -p /var/log/sa [Pipeline] sh 22:33:32 + ls /var/log/sa-host 22:33:32 + sadf -c /var/log/sa-host/sa07 22:33:32 file_magic: OK 22:33:32 HZ: Using current value: 100 22:33:32 file_header: OK 22:33:32 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 22:33:32 Statistics: 22:33:32 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... 22:33:32 File successfully converted to sysstat format version 12.2.1 22:33:32 + sadf -c /var/log/sa-host/sa23 22:33:32 file_magic: OK 22:33:32 HZ: Using current value: 100 22:33:32 file_header: OK 22:33:32 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 22:33:32 Statistics: 22:33:32 Hnuu...uuuununununu... 22:33:32 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:33:32 provisioning config files... 22:33:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config2679886730113068836tmp [Pipeline] { [Pipeline] echo 22:33:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:33:34 ---> create-netrc.sh [Pipeline] } 22:33:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 22:33:34 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 22:33:36 ---> python-tools-install.sh [Pipeline] echo 22:33:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:33:36 ---> sudo-logs.sh 22:33:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:33:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:33:38 ---> job-cost.sh 22:33:38 lf-activate-venv: SKIPPING 22:33:38 DEBUG: total: 0.029999999329447746 22:33:38 INFO: Retrieving Stack Cost... 22:33:39 INFO: Retrieving Pricing Info for: v1-standard-2 22:33:40 INFO: Archiving Costs [Pipeline] echo 22:33:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:33:42 ---> logs-deploy.sh 22:33:42 lf-activate-venv: SKIPPING 22:33:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/master/212 22:33:42 INFO: archiving workspace using pattern(s): 22:33:44 Archives upload complete. 22:33:44 INFO: archiving logs to Nexus