Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 78327a46572e967a5a0e34662e53080e530e38da Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-functions-sdk-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-21752 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision 78327a46572e967a5a0e34662e53080e530e38da (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 78327a46572e967a5a0e34662e53080e530e38da # timeout=10 Commit message: "refactor: Refactor V2 API /secrets to be singular /secret (#648)" > git rev-list --no-walk bbd9394e1bf3f068737f7a414770326546535454 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:57:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:57:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:57:55 ========================================================= 23:57:55 EdgeX Global Pipelines Version Info 23:57:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:57:58 ------------------- 23:57:58 stable info: 23:57:58 ------------------- 23:57:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:57:58 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 23:57:58 Message: update stable to v1.0.179 23:58:00 ------------------- 23:58:00 experimental info: 23:58:00 ------------------- 23:58:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:58:00 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 23:58:00 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:58:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 23:58:00 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 23:58:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:58:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:58:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:58:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 23:58:01 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 23:58:01 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 23:58:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:58:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:58:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:58:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 23:58:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:58:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:58:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 23:58:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 23:58:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:58:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:58:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:58:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:58:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:58:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 23:58:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:58:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:58:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 23:58:02 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 23:58:03 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 23:58:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 23:58:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 23:58:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 23:58:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 78327a46572e967a5a0e34662e53080e530e38da [Pipeline] echo 23:58:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 78327a4 [Pipeline] echo 23:58:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:58:04 + git log --format=format:%s -1 78327a46572e967a5a0e34662e53080e530e38da [Pipeline] echo 23:58:04 GIT_COMMIT: 78327a46572e967a5a0e34662e53080e530e38da, Commit Message: refactor: Refactor V2 API /secrets to be singular /secret (#648) [Pipeline] echo 23:58:04 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 23:58:05 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:58:06 23:58:06 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:58:07 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:58:07 latest: Pulling from edgex-devops/git-semver 23:58:07 31603596830f: Pulling fs layer 23:58:07 2a8b12db71e7: Pulling fs layer 23:58:07 6ca5941a6612: Pulling fs layer 23:58:07 ecc8261a40a4: Pulling fs layer 23:58:07 ecc8261a40a4: Waiting 23:58:07 2a8b12db71e7: Verifying Checksum 23:58:07 2a8b12db71e7: Download complete 23:58:08 31603596830f: Verifying Checksum 23:58:08 31603596830f: Download complete 23:58:08 ecc8261a40a4: Verifying Checksum 23:58:08 ecc8261a40a4: Download complete 23:58:08 6ca5941a6612: Verifying Checksum 23:58:08 6ca5941a6612: Download complete 23:58:09 31603596830f: Pull complete 23:58:09 2a8b12db71e7: Pull complete 23:58:11 6ca5941a6612: Pull complete 23:58:12 ecc8261a40a4: Pull complete 23:58:12 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 23:58:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:58:13 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:58:13 prd-centos7-docker-4c-2g-21752 does not seem to be running inside a container 23:58:13 $ 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 23:58:17 $ docker top ee7887612754efa0719c5ac5e741a14c68afabe62c3408c87098c1f29cc6a9d4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:58:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:58:18 [ssh-agent] Looking for ssh-agent implementation... 23:58:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:58:18 $ docker exec ee7887612754efa0719c5ac5e741a14c68afabe62c3408c87098c1f29cc6a9d4 ssh-agent 23:58:19 SSH_AUTH_SOCK=/tmp/ssh-hNZyPz1XB74y/agent.12 23:58:19 SSH_AGENT_PID=18 23:58:19 Running ssh-add (command line suppressed) 23:58:19 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_6639585557709061124.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_6639585557709061124.key) 23:58:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:58:20 + git tag --points-at HEAD [Pipeline] } 23:58:20 $ docker exec --env ******** --env ******** ee7887612754efa0719c5ac5e741a14c68afabe62c3408c87098c1f29cc6a9d4 ssh-agent -k 23:58:20 unset SSH_AUTH_SOCK; 23:58:20 unset SSH_AGENT_PID; 23:58:20 echo Agent pid 18 killed; 23:58:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:58:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:58:20 [ssh-agent] Looking for ssh-agent implementation... 23:58:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:58:21 $ docker exec ee7887612754efa0719c5ac5e741a14c68afabe62c3408c87098c1f29cc6a9d4 ssh-agent 23:58:21 SSH_AUTH_SOCK=/tmp/ssh-2ZEOhtYjujP9/agent.46 23:58:21 SSH_AGENT_PID=51 23:58:21 Running ssh-add (command line suppressed) 23:58:21 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_7642522196192368890.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_7642522196192368890.key) 23:58:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:58:22 + git semver init 23:58:22 # -> Open(): unable to determine branch for HEAD 23:58:22 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git 23:58:22 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master 23:58:22 # $SEMVER_REMOTE_NAME = origin 23:58:22 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:58:22 # $SEMVER_USER_NAME = edgex-jenkins 23:58:22 # $SEMVER_BRANCH = master 23:58:22 # $SEMVER_TEMP = /tmp/semver-926731676 23:58:22 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 23:58:27 # '/tmp/semver-926731676' -> '/w/workspace/ndry_app-functions-sdk-go_master/.semver' 23:58:27 # -> Force: false 23:58:27 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } 23:58:27 $ docker exec --env ******** --env ******** ee7887612754efa0719c5ac5e741a14c68afabe62c3408c87098c1f29cc6a9d4 ssh-agent -k 23:58:27 unset SSH_AUTH_SOCK; 23:58:27 unset SSH_AGENT_PID; 23:58:27 echo Agent pid 51 killed; 23:58:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:58:28 + git semver [Pipeline] } 23:58:28 $ docker stop --time=1 ee7887612754efa0719c5ac5e741a14c68afabe62c3408c87098c1f29cc6a9d4 23:58:30 $ docker rm -f ee7887612754efa0719c5ac5e741a14c68afabe62c3408c87098c1f29cc6a9d4 [Pipeline] // withDockerContainer [Pipeline] sh 23:58:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:58:32 Stashed 1 file(s) [Pipeline] echo 23:58:32 [edgeXSemver]: initialized semver on version 2.0.0-dev.3 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 23:58:47 Still waiting to schedule task 23:58:47 ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-21747’ is offline; ‘prd-centos7-docker-4c-2g-21751’ is offline; ‘prd-centos7-docker-4c-2g-21754’ is offline; ‘prd-centos7-docker-4c-2g-21756’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-21750’ doesn’t have label ‘centos7-docker-4c-2g’ 23:58:47 Still waiting to schedule task 23:58:47 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 00:01:30 Running on prd-centos7-docker-4c-2g-21760 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws 00:01:30 Running in /w/workspace/app-functions-sdk-go/170 [Pipeline] { [Pipeline] checkout 00:01:33 using credential edgex-jenkins-ssh 00:01:33 Cloning the remote Git repository 00:01:33 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 00:01:33 > git init /w/workspace/app-functions-sdk-go/170 # timeout=10 00:01:33 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:01:33 > git --version # timeout=10 00:01:33 > git --version # 'git version 2.24.3' 00:01:33 using GIT_SSH to set credentials SSH Credentials for GitHub 00:01:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:01:35 Checking out Revision 78327a46572e967a5a0e34662e53080e530e38da (master) 00:01:35 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:01:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:01:35 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:01:35 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:01:35 using GIT_SSH to set credentials SSH Credentials for GitHub 00:01:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 00:01:35 > git config core.sparsecheckout # timeout=10 00:01:35 > git checkout -f 78327a46572e967a5a0e34662e53080e530e38da # timeout=10 00:01:37 Running on prd-ubuntu18.04-docker-arm64-4c-16g-21759 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws 00:01:37 Running in /w/workspace/app-functions-sdk-go/170 [Pipeline] { [Pipeline] checkout 00:01:39 Commit message: "refactor: Refactor V2 API /secrets to be singular /secret (#648)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:01:41 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 00:01:41 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:01:41 + sudo service docker restart 00:01:41 + true 00:01:41 Redirecting to /bin/systemctl restart docker.service 00:01:42 using credential edgex-jenkins-ssh 00:01:42 Cloning the remote Git repository 00:01:42 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 00:01:42 > git init /w/workspace/app-functions-sdk-go/170 # timeout=10 00:01:42 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:01:42 > git --version # timeout=10 00:01:42 > git --version # 'git version 2.17.1' 00:01:42 using GIT_SSH to set credentials SSH Credentials for GitHub 00:01:43 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] unstash [Pipeline] echo 00:01:43 ========================================================= 00:01:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 00:01:43 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:01:44 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 00:01:44 Sending build context to Docker daemon 19.01MB 00:01:44 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 00:01:44 Step 2/8 : FROM ${BASE} 00:01:44 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 00:01:44 188c0c94c7c5: Pulling fs layer 00:01:44 0ef7d3d256c8: Pulling fs layer 00:01:44 de9db76c5a1d: Pulling fs layer 00:01:44 bca2f99d35d6: Pulling fs layer 00:01:44 93359f2a8cfa: Pulling fs layer 00:01:44 7c6f9722023f: Pulling fs layer 00:01:44 a35cf1a2eb13: Pulling fs layer 00:01:44 93359f2a8cfa: Waiting 00:01:44 7c6f9722023f: Waiting 00:01:44 a35cf1a2eb13: Waiting 00:01:44 bca2f99d35d6: Waiting 00:01:44 0ef7d3d256c8: Download complete 00:01:44 93359f2a8cfa: Verifying Checksum 00:01:44 93359f2a8cfa: Download complete 00:01:45 7c6f9722023f: Verifying Checksum 00:01:45 7c6f9722023f: Download complete 00:01:45 188c0c94c7c5: Verifying Checksum 00:01:45 188c0c94c7c5: Download complete 00:01:45 188c0c94c7c5: Pull complete 00:01:45 0ef7d3d256c8: Pull complete 00:01:45 de9db76c5a1d: Pull complete 00:01:45 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:01:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:01:45 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:01:46 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:01:46 using GIT_SSH to set credentials SSH Credentials for GitHub 00:01:46 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 00:01:46 Checking out Revision 78327a46572e967a5a0e34662e53080e530e38da (master) 00:01:47 a35cf1a2eb13: Verifying Checksum 00:01:47 a35cf1a2eb13: Download complete 00:01:46 > git config core.sparsecheckout # timeout=10 00:01:46 > git checkout -f 78327a46572e967a5a0e34662e53080e530e38da # timeout=10 00:01:48 bca2f99d35d6: Verifying Checksum 00:01:48 bca2f99d35d6: Download complete 00:01:51 Commit message: "refactor: Refactor V2 API /secrets to be singular /secret (#648)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:01:52 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 00:01:53 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:01:53 + true 00:01:53 + sudo service docker restart 00:01:53 bca2f99d35d6: Pull complete 00:01:54 93359f2a8cfa: Pull complete 00:01:54 7c6f9722023f: Pull complete [Pipeline] unstash [Pipeline] echo 00:01:56 ========================================================= 00:01:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 00:01:56 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:01:56 + 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 . 00:01:57 Sending build context to Docker daemon 19.01MB 00:01:57 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 00:01:57 Step 2/8 : FROM ${BASE} 00:01:58 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:01:58 5f621e34cdf4: Pulling fs layer 00:01:58 a4357932f1b6: Pulling fs layer 00:01:58 18c013af1878: Pulling fs layer 00:01:58 00ac8860ef70: Pulling fs layer 00:01:58 63d7cb157983: Pulling fs layer 00:01:58 b116817d02f9: Pulling fs layer 00:01:58 745a02a5169b: Pulling fs layer 00:01:58 00ac8860ef70: Waiting 00:01:58 63d7cb157983: Waiting 00:01:58 b116817d02f9: Waiting 00:01:58 745a02a5169b: Waiting 00:01:58 18c013af1878: Verifying Checksum 00:01:58 18c013af1878: Download complete 00:01:58 a4357932f1b6: Verifying Checksum 00:01:58 a4357932f1b6: Download complete 00:01:58 63d7cb157983: Verifying Checksum 00:01:58 63d7cb157983: Download complete 00:01:58 b116817d02f9: Verifying Checksum 00:01:58 b116817d02f9: Download complete 00:01:58 5f621e34cdf4: Verifying Checksum 00:01:58 5f621e34cdf4: Download complete 00:01:59 5f621e34cdf4: Pull complete 00:01:59 a4357932f1b6: Pull complete 00:01:59 18c013af1878: Pull complete 00:02:00 745a02a5169b: Verifying Checksum 00:02:00 745a02a5169b: Download complete 00:02:00 a35cf1a2eb13: Pull complete 00:02:00 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 00:02:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 00:02:00 ---> a62c8e92a672 00:02:00 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 00:02:00 20.10.0: Pulling from library/docker 00:02:00 05e7bc50f07f: Pulling fs layer 00:02:00 6db28d0fdbf6: Pulling fs layer 00:02:00 292df0bc6bf3: Pulling fs layer 00:02:00 2e060f4bd70b: Pulling fs layer 00:02:00 80e8d568a223: Pulling fs layer 00:02:00 8dc6ef1a942a: Pulling fs layer 00:02:00 2312dd95470a: Pulling fs layer 00:02:00 8dc6ef1a942a: Waiting 00:02:00 2312dd95470a: Waiting 00:02:00 2e060f4bd70b: Waiting 00:02:00 80e8d568a223: Waiting 00:02:00 292df0bc6bf3: Verifying Checksum 00:02:00 292df0bc6bf3: Download complete 00:02:01 6db28d0fdbf6: Verifying Checksum 00:02:01 6db28d0fdbf6: Download complete 00:02:01 80e8d568a223: Verifying Checksum 00:02:01 80e8d568a223: Download complete 00:02:01 05e7bc50f07f: Verifying Checksum 00:02:01 05e7bc50f07f: Download complete 00:02:01 2312dd95470a: Verifying Checksum 00:02:01 2312dd95470a: Download complete 00:02:01 05e7bc50f07f: Pull complete 00:02:01 6db28d0fdbf6: Pull complete 00:02:01 00ac8860ef70: Verifying Checksum 00:02:01 00ac8860ef70: Download complete 00:02:01 292df0bc6bf3: Pull complete 00:02:02 8dc6ef1a942a: Verifying Checksum 00:02:02 8dc6ef1a942a: Download complete 00:02:02 2e060f4bd70b: Download complete 00:02:06 2e060f4bd70b: Pull complete 00:02:06 80e8d568a223: Pull complete 00:02:06 8dc6ef1a942a: Pull complete 00:02:06 2312dd95470a: Pull complete 00:02:06 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 00:02:06 Status: Downloaded newer image for docker:20.10.0 00:02:07 ---> 98703d73b0ff 00:02:07 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:02:07 ---> Running in 1601fb548a80 00:02:07 Removing intermediate container 1601fb548a80 00:02:07 ---> e50d83f20612 00:02:07 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 00:02:07 ---> Running in 01de886d057d 00:02:08 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:02:09 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:02:10 (1/5) Installing libsodium (1.0.18-r0) 00:02:10 (2/5) Installing libzmq (4.3.3-r0) 00:02:10 (3/5) Installing pkgconf (1.7.2-r0) 00:02:10 (4/5) Installing libsodium-dev (1.0.18-r0) 00:02:11 (5/5) Installing zeromq-dev (4.3.3-r0) 00:02:11 Executing busybox-1.31.1-r19.trigger 00:02:11 OK: 167 MiB in 44 packages 00:02:11 00ac8860ef70: Pull complete 00:02:12 Removing intermediate container 01de886d057d 00:02:12 ---> 1730f409522d 00:02:12 Step 6/8 : WORKDIR /build 00:02:12 ---> Running in 4a7696f5a7b5 00:02:12 Removing intermediate container 4a7696f5a7b5 00:02:12 ---> 994d809d0408 00:02:12 Step 7/8 : COPY go.mod . 00:02:12 63d7cb157983: Pull complete 00:02:12 ---> 6df0cf0bd857 00:02:12 Step 8/8 : RUN go mod download 00:02:12 ---> Running in 966e9175da43 00:02:12 b116817d02f9: Pull complete 00:02:17 745a02a5169b: Pull complete 00:02:17 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 00:02:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 00:02:17 ---> b7e6874047d6 00:02:17 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 00:02:17 20.10.0: Pulling from library/docker 00:02:17 a3cc7d3b244e: Pulling fs layer 00:02:17 02a3295e0d61: Pulling fs layer 00:02:17 0f4f2e6d8100: Pulling fs layer 00:02:17 330b718f631f: Pulling fs layer 00:02:17 a93816041522: Pulling fs layer 00:02:17 bdb6da89ff94: Pulling fs layer 00:02:17 2a70c0c122f4: Pulling fs layer 00:02:17 330b718f631f: Waiting 00:02:17 a93816041522: Waiting 00:02:17 bdb6da89ff94: Waiting 00:02:17 2a70c0c122f4: Waiting 00:02:17 0f4f2e6d8100: Verifying Checksum 00:02:17 0f4f2e6d8100: Download complete 00:02:17 02a3295e0d61: Verifying Checksum 00:02:17 02a3295e0d61: Download complete 00:02:17 a93816041522: Verifying Checksum 00:02:17 a93816041522: Download complete 00:02:17 bdb6da89ff94: Verifying Checksum 00:02:17 bdb6da89ff94: Download complete 00:02:17 a3cc7d3b244e: Verifying Checksum 00:02:17 a3cc7d3b244e: Download complete 00:02:17 2a70c0c122f4: Verifying Checksum 00:02:17 2a70c0c122f4: Download complete 00:02:17 a3cc7d3b244e: Pull complete 00:02:18 02a3295e0d61: Pull complete 00:02:18 330b718f631f: Verifying Checksum 00:02:18 330b718f631f: Download complete 00:02:18 0f4f2e6d8100: Pull complete 00:02:22 330b718f631f: Pull complete 00:02:22 a93816041522: Pull complete 00:02:22 bdb6da89ff94: Pull complete 00:02:23 2a70c0c122f4: Pull complete 00:02:23 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 00:02:23 Status: Downloaded newer image for docker:20.10.0 00:02:29 ---> 1b99bef7b3f4 00:02:29 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:02:29 ---> Running in 74c88dc9361d 00:02:29 Removing intermediate container 74c88dc9361d 00:02:29 ---> b1f95e60cfd4 00:02:29 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 00:02:29 ---> Running in f2e2485c2381 00:02:30 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:02:31 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:02:32 (1/5) Installing libsodium (1.0.18-r0) 00:02:33 (2/5) Installing libzmq (4.3.3-r0) 00:02:33 (3/5) Installing pkgconf (1.7.2-r0) 00:02:33 (4/5) Installing libsodium-dev (1.0.18-r0) 00:02:33 (5/5) Installing zeromq-dev (4.3.3-r0) 00:02:33 Executing busybox-1.31.1-r19.trigger 00:02:33 OK: 144 MiB in 44 packages 00:02:35 Removing intermediate container f2e2485c2381 00:02:35 ---> dd684a39915c 00:02:35 Step 6/8 : WORKDIR /build 00:02:35 ---> Running in 319a083c3cfd 00:02:35 Removing intermediate container 319a083c3cfd 00:02:35 ---> 7d07071625ce 00:02:35 Step 7/8 : COPY go.mod . 00:02:36 ---> 49b4c1fc2047 00:02:36 Step 8/8 : RUN go mod download 00:02:36 ---> Running in ad5532192bb6 00:02:39 Removing intermediate container 966e9175da43 00:02:39 ---> 91416acaa71e 00:02:39 Successfully built 91416acaa71e 00:02:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:02:39 + docker inspect -f . ci-base-image-x86_64 00:02:40 . [Pipeline] withDockerContainer 00:02:40 prd-centos7-docker-4c-2g-21760 does not seem to be running inside a container 00:02:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/170 -v /w/workspace/app-functions-sdk-go/170:/w/workspace/app-functions-sdk-go/170:rw,z -v /w/workspace/app-functions-sdk-go/170@tmp:/w/workspace/app-functions-sdk-go/170@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 ******** -e ******** ci-base-image-x86_64 cat 00:02:41 $ docker top 87ee22984fb8fdb85b3d0bbfe1f68763e813e6aa4fe16593b1d23f0ca03ef540 -eo pid,comm [Pipeline] { [Pipeline] sh 00:02:41 + go version 00:02:41 go version go1.15.5 linux/amd64 [Pipeline] } 00:02:41 $ docker stop --time=1 87ee22984fb8fdb85b3d0bbfe1f68763e813e6aa4fe16593b1d23f0ca03ef540 00:02:43 $ docker rm -f 87ee22984fb8fdb85b3d0bbfe1f68763e813e6aa4fe16593b1d23f0ca03ef540 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:02:43 + docker inspect -f . ci-base-image-x86_64 00:02:43 . [Pipeline] withDockerContainer 00:02:43 prd-centos7-docker-4c-2g-21760 does not seem to be running inside a container 00:02:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/170 -v /w/workspace/app-functions-sdk-go/170:/w/workspace/app-functions-sdk-go/170:rw,z -v /w/workspace/app-functions-sdk-go/170@tmp:/w/workspace/app-functions-sdk-go/170@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 ******** -e ******** ci-base-image-x86_64 cat 00:02:44 $ docker top a9f229cd2d77cc2e2a85de8a5807df81ea2385a13a83f90572d7a6a33296daec -eo pid,comm [Pipeline] { [Pipeline] sh 00:02:45 + make test 00:02:45 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:02:46 ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] 00:02:54 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.055s coverage: 81.0% of statements 00:03:03 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.025s coverage: 48.6% of statements 00:03:03 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 00:03:03 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 00:03:03 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.073s coverage: 61.5% of statements 00:03:03 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 00:03:03 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.027s coverage: 67.7% of statements 00:03:03 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 00:03:03 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 00:03:03 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 00:03:03 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 00:03:03 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 00:03:03 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 00:03:03 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.031s coverage: 97.0% of statements 00:03:03 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 00:03:03 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.030s coverage: 8.8% of statements 00:03:03 Removing intermediate container ad5532192bb6 00:03:03 ---> 7545e56af20c 00:03:03 Successfully built 7545e56af20c 00:03:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:03:03 + docker inspect -f . ci-base-image-arm64 00:03:03 . [Pipeline] withDockerContainer 00:03:04 prd-ubuntu18.04-docker-arm64-4c-16g-21759 does not seem to be running inside a container 00:03:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/170 -v /w/workspace/app-functions-sdk-go/170:/w/workspace/app-functions-sdk-go/170:rw,z -v /w/workspace/app-functions-sdk-go/170@tmp:/w/workspace/app-functions-sdk-go/170@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 00:03:05 $ docker top 8893ea25916ec84c955a9e3181146a03568ea9397c553e3f2bd23e562c08974d -eo pid,comm [Pipeline] { [Pipeline] sh 00:03:06 + go version 00:03:06 go version go1.15.5 linux/arm64 [Pipeline] } 00:03:06 $ docker stop --time=1 8893ea25916ec84c955a9e3181146a03568ea9397c553e3f2bd23e562c08974d 00:03:08 $ docker rm -f 8893ea25916ec84c955a9e3181146a03568ea9397c553e3f2bd23e562c08974d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:03:09 + docker inspect -f . ci-base-image-arm64 00:03:09 . [Pipeline] withDockerContainer 00:03:09 prd-ubuntu18.04-docker-arm64-4c-16g-21759 does not seem to be running inside a container 00:03:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/170 -v /w/workspace/app-functions-sdk-go/170:/w/workspace/app-functions-sdk-go/170:rw,z -v /w/workspace/app-functions-sdk-go/170@tmp:/w/workspace/app-functions-sdk-go/170@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 00:03:11 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 7.235s coverage: 75.4% of statements 00:03:11 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 00:03:11 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.012s coverage: 87.9% of statements 00:03:11 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.021s coverage: 80.5% of statements 00:03:11 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.041s coverage: 71.7% of statements 00:03:11 $ docker top b4cbabc3113c35517ddb0d56b542d5f94c9f221062312b0dd32bc223763096ee -eo pid,comm [Pipeline] { [Pipeline] sh 00:03:12 + make test 00:03:12 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:03:13 ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] 00:03:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.040s coverage: 81.4% of statements 00:03:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.006s coverage: 94.4% of statements 00:03:33 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:03:33 gofmt -l . 00:03:33 [ "`gofmt -l .`" = "" ] 00:03:33 ./bin/test-go-mod-tidy.sh [Pipeline] } 00:03:34 $ docker stop --time=1 a9f229cd2d77cc2e2a85de8a5807df81ea2385a13a83f90572d7a6a33296daec 00:03:36 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.033s coverage: 81.0% of statements 00:03:36 $ docker rm -f a9f229cd2d77cc2e2a85de8a5807df81ea2385a13a83f90572d7a6a33296daec [Pipeline] // withDockerContainer [Pipeline] sh 00:03:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:03:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:03:58 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.054s coverage: 48.6% of statements 00:03:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 00:03:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 00:03:58 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.072s coverage: 61.5% of statements 00:03:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 00:03:58 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.041s coverage: 67.7% of statements 00:03:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 00:03:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 00:03:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 00:03:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 00:03:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 00:03:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 00:03:58 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.010s coverage: 97.0% of statements 00:03:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 00:03:58 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.030s coverage: 8.8% of statements 00:04:08 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 7.333s coverage: 75.4% of statements 00:04:08 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 00:04:08 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.058s coverage: 87.9% of statements 00:04:08 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.075s coverage: 80.5% of statements 00:04:08 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.024s coverage: 71.7% of statements 00:04:30 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.058s coverage: 81.4% of statements 00:04:30 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.013s coverage: 94.4% of statements 00:04:30 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:04:39 gofmt -l . 00:04:39 [ "`gofmt -l .`" = "" ] 00:04:39 ./bin/test-go-mod-tidy.sh [Pipeline] } 00:04:39 $ docker stop --time=1 b4cbabc3113c35517ddb0d56b542d5f94c9f221062312b0dd32bc223763096ee 00:04:41 $ docker rm -f b4cbabc3113c35517ddb0d56b542d5f94c9f221062312b0dd32bc223763096ee [Pipeline] // withDockerContainer [Pipeline] sh 00:04:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:04:42 Warning: overwriting stash ‘coverage-report’ 00:04:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [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 00:04:44 provisioning config files... 00:04:44 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config5830793757719135747tmp [Pipeline] { [Pipeline] sh 00:04:45 + set +x 00:04:45 + bash -s -- 00:04:45 + curl -s https://codecov.io/bash 00:04:45 00:04:45 _____ _ 00:04:45 / ____| | | 00:04:45 | | ___ __| | ___ ___ _____ __ 00:04:45 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:04:45 | |___| (_) | (_| | __/ (_| (_) \ V / 00:04:45 \_____\___/ \__,_|\___|\___\___/ \_/ 00:04:45 Bash-20210115-cec3c92 00:04:45 00:04:45 00:04:45 ==> git version 2.24.3 found 00:04:45 ==> 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 00:04:45 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 00:04:45 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 00:04:45 ==> Jenkins CI detected. 00:04:45 project root: . 00:04:45 --> token set from env 00:04:45 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:04:45 ==> Running gcov in . (disable via -X gcov) 00:04:45 ==> Python coveragepy not found 00:04:45 ==> Searching for coverage reports in: 00:04:45 + . 00:04:45 -> Found 1 reports 00:04:45 ==> Detecting git/mercurial file structure 00:04:46 ==> Reading reports 00:04:46 + ./coverage.out bytes=74114 00:04:46 ==> Appending adjustments 00:04:46 https://docs.codecov.io/docs/fixing-reports 00:04:46 + Found adjustments 00:04:46 ==> Gzipping contents 00:04:46 16K /tmp/codecov.0i5C7Z.gz 00:04:46 ==> Uploading reports 00:04:46 url: https://codecov.io 00:04:46 query: branch=master&commit=78327a46572e967a5a0e34662e53080e530e38da&build=170&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F170%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:04:46 -> Pinging Codecov 00:04:46 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=master&commit=78327a46572e967a5a0e34662e53080e530e38da&build=170&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F170%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:04:47 -> Uploading to 00:04:47 https://storage.googleapis.com/codecov/v4/raw/2021-01-21/3D8B5DFFC46A037C893635FACE044666/78327a46572e967a5a0e34662e53080e530e38da/d984d29a-6809-4c7e-a33b-a492987204c2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210121%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210121T000447Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=74364871cb259f16bf104aac28134a412dbfc5a8bff73be08935a9faf2d8c627 00:04:47 % Total % Received % Xferd Average Speed Time Time Time Current 00:04:47 Dload Upload Total Spent Left Speed 00:04:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12845 0 0 100 12845 0 24676 --:--:-- --:--:-- --:--:-- 24654 100 12845 0 0 100 12845 0 24653 --:--:-- --:--:-- --:--:-- 24654 00:04:47 -> View reports at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/78327a46572e967a5a0e34662e53080e530e38da [Pipeline] } 00:04:47 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:04:48 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:04:48 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:04:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:04:49 00:04:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 00:04:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:04:50 1.410.4: Pulling from edgex-devops/edgex-snyk-go 00:04:50 188c0c94c7c5: Pulling fs layer 00:04:50 0ef7d3d256c8: Pulling fs layer 00:04:50 de9db76c5a1d: Pulling fs layer 00:04:50 0eba1c9be4d2: Pulling fs layer 00:04:50 0d57e429df01: Pulling fs layer 00:04:50 4e4be7b47b0d: Pulling fs layer 00:04:50 e1f770b5df2f: Pulling fs layer 00:04:50 85a0685a4137: Pulling fs layer 00:04:50 0eba1c9be4d2: Waiting 00:04:50 0d57e429df01: Waiting 00:04:50 85a0685a4137: Waiting 00:04:50 4e4be7b47b0d: Waiting 00:04:50 e1f770b5df2f: Waiting 00:04:50 de9db76c5a1d: Verifying Checksum 00:04:50 de9db76c5a1d: Download complete 00:04:50 0ef7d3d256c8: Verifying Checksum 00:04:50 0ef7d3d256c8: Download complete 00:04:50 0d57e429df01: Verifying Checksum 00:04:50 0d57e429df01: Download complete 00:04:50 4e4be7b47b0d: Verifying Checksum 00:04:50 4e4be7b47b0d: Download complete 00:04:50 188c0c94c7c5: Verifying Checksum 00:04:50 188c0c94c7c5: Download complete 00:04:51 188c0c94c7c5: Pull complete 00:04:52 0ef7d3d256c8: Pull complete 00:04:52 de9db76c5a1d: Pull complete 00:04:53 e1f770b5df2f: Verifying Checksum 00:04:53 e1f770b5df2f: Download complete 00:04:57 0eba1c9be4d2: Verifying Checksum 00:04:57 0eba1c9be4d2: Download complete 00:04:59 85a0685a4137: Verifying Checksum 00:04:59 85a0685a4137: Download complete 00:05:11 0eba1c9be4d2: Pull complete 00:05:11 0d57e429df01: Pull complete 00:05:11 4e4be7b47b0d: Pull complete 00:05:13 e1f770b5df2f: Pull complete 00:05:25 85a0685a4137: Pull complete 00:05:25 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 00:05:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:05:25 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 00:05:26 prd-centos7-docker-4c-2g-21752 does not seem to be running inside a container 00:05:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 00:05:27 $ docker top ec796acedd74f40a35278c2aa8a195d519e45b2e23d4c31d396fdfed4a151419 -eo pid,comm [Pipeline] { [Pipeline] echo 00:05:28 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 00:05:28 + set -o pipefail 00:05:28 + snyk monitor '--org=edgex-jenkins' 00:05:41 00:05:41 Monitoring /w/workspace/ndry_app-functions-sdk-go_master (github.com/edgexfoundry/app-functions-sdk-go/v2)... 00:05:41 00:05:41 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/9a4831de-0b71-4b13-868a-9424cd6bca21 00:05:41 00:05:41 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:05:41 00:05:41 [Pipeline] } 00:05:41 $ docker stop --time=1 ec796acedd74f40a35278c2aa8a195d519e45b2e23d4c31d396fdfed4a151419 00:05:44 $ docker rm -f ec796acedd74f40a35278c2aa8a195d519e45b2e23d4c31d396fdfed4a151419 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 00:05:46 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:05:46 provisioning config files... 00:05:46 copy managed file [swaggerhub-api-key] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config5953888840282466895tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:05:47 --> edgex-publish-swagger.sh 00:05:47 === Publish openapi/v2 API === 00:05:47 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 00:05:47 [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/ndry_app-functions-sdk-go_master/openapi/v2/app-functions-sdk.yaml] 00:05:47 % Total % Received % Xferd Average Speed Time Time Time Current 00:05:47 Dload Upload Total Spent Left Speed 00:05:48 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 9764 0:00:01 0:00:01 --:--:-- 9769 100 13052 0 0 100 13052 0 9762 0:00:01 0:00:01 --:--:-- 9769 00:05:48 00:05:48 [Pipeline] } 00:05:48 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 00:05:49 + git log --format=format:%s -1 78327a46572e967a5a0e34662e53080e530e38da [Pipeline] isUnix [Pipeline] sh 00:05:50 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:05:50 . [Pipeline] withDockerContainer 00:05:50 prd-centos7-docker-4c-2g-21752 does not seem to be running inside a container 00:05:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:05:54 $ docker top 7fbd44f2cd69bcacdbbd8d1f8129bab228ebe1cda3c2d8285bfc9e8b228c32e8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:05:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:05:55 [ssh-agent] Looking for ssh-agent implementation... 00:05:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:05:56 $ docker exec 7fbd44f2cd69bcacdbbd8d1f8129bab228ebe1cda3c2d8285bfc9e8b228c32e8 ssh-agent 00:05:56 SSH_AUTH_SOCK=/tmp/ssh-QjDbryI8jTLO/agent.11 00:05:56 SSH_AGENT_PID=16 00:05:56 Running ssh-add (command line suppressed) 00:05:57 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_15241615992759934.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_15241615992759934.key) 00:05:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:05:58 + git semver tag 00:05:58 # -> Open(): unable to determine branch for HEAD 00:05:58 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git 00:05:58 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master 00:05:58 # $SEMVER_REMOTE_NAME = origin 00:05:58 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:05:58 # $SEMVER_USER_NAME = edgex-jenkins 00:05:58 # $SEMVER_BRANCH = master 00:05:58 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver 00:05:58 # 78327a46572e967a5a0e34662e53080e530e38da HEAD 00:05:58 # -> Force: false 00:05:58 # e93e4fe5797889ecf85aa76fb3c8dc55cc2af82d refs/tags/v2.0.0-dev.3 [Pipeline] } 00:05:58 $ docker exec --env ******** --env ******** 7fbd44f2cd69bcacdbbd8d1f8129bab228ebe1cda3c2d8285bfc9e8b228c32e8 ssh-agent -k 00:05:59 unset SSH_AUTH_SOCK; 00:05:59 unset SSH_AGENT_PID; 00:05:59 echo Agent pid 16 killed; 00:05:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:05:59 + git semver [Pipeline] } 00:06:00 $ docker stop --time=1 7fbd44f2cd69bcacdbbd8d1f8129bab228ebe1cda3c2d8285bfc9e8b228c32e8 00:06:02 $ docker rm -f 7fbd44f2cd69bcacdbbd8d1f8129bab228ebe1cda3c2d8285bfc9e8b228c32e8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 00:06:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:06:04 00:06:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 00:06:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:06:05 0.23.1-centos7: Pulling from edgex-lftools 00:06:05 ab5ef0e58194: Pulling fs layer 00:06:05 9712f1f96733: Pulling fs layer 00:06:05 63f879dbbcfc: Pulling fs layer 00:06:05 0d9ebad4ef96: Pulling fs layer 00:06:05 e9a5061849ea: Pulling fs layer 00:06:05 d747dcd14b5f: Pulling fs layer 00:06:05 2de7ff778b66: Pulling fs layer 00:06:05 0d9ebad4ef96: Waiting 00:06:05 e9a5061849ea: Waiting 00:06:05 d747dcd14b5f: Waiting 00:06:05 2de7ff778b66: Waiting 00:06:05 9712f1f96733: Verifying Checksum 00:06:05 9712f1f96733: Download complete 00:06:10 63f879dbbcfc: Verifying Checksum 00:06:10 63f879dbbcfc: Download complete 00:06:11 e9a5061849ea: Verifying Checksum 00:06:11 e9a5061849ea: Download complete 00:06:11 d747dcd14b5f: Verifying Checksum 00:06:11 d747dcd14b5f: Download complete 00:06:13 2de7ff778b66: Verifying Checksum 00:06:13 2de7ff778b66: Download complete 00:06:16 0d9ebad4ef96: Verifying Checksum 00:06:16 0d9ebad4ef96: Download complete 00:06:16 ab5ef0e58194: Verifying Checksum 00:06:16 ab5ef0e58194: Download complete 00:06:29 ab5ef0e58194: Pull complete 00:06:29 9712f1f96733: Pull complete 00:06:33 63f879dbbcfc: Pull complete 00:06:43 0d9ebad4ef96: Pull complete 00:06:46 e9a5061849ea: Pull complete 00:06:46 d747dcd14b5f: Pull complete 00:06:49 2de7ff778b66: Pull complete 00:06:49 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:06:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:06:49 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 00:06:50 prd-centos7-docker-4c-2g-21752 does not seem to be running inside a container 00:06:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 00:06:54 $ docker top ac801bd5dd07812918144d03c3efc6eb6e32dfbf5f3e919e72fa1b8dc74c448b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:06:54 provisioning config files... 00:06:54 copy managed file [sigul-config] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config4483610712903589399tmp 00:06:54 copy managed file [sigul-password] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config1708704196195447885tmp 00:06:54 copy managed file [sigul-pki] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config5645268383992696673tmp [Pipeline] { [Pipeline] echo 00:06:55 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:06:55 ---> sigul-configuration.sh 00:06:55 gpg: directory `/root/.gnupg' created 00:06:55 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:06:55 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:06:55 gpg: keyring `/root/.gnupg/secring.gpg' created 00:06:55 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:06:55 gpg: CAST5 encrypted data 00:06:55 gpg: encrypted with 1 passphrase 00:06:55 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:06:56 + mkdir /home/jenkins 00:06:56 + mkdir /home/jenkins/sigul [Pipeline] sh 00:06:56 + 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 00:06:56 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:06:57 ---> sigul-install.sh 00:07:10 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 00:07:10 + git tag --list 00:07:10 v0.1.0 00:07:10 v0.1.1 00:07:10 v1.0.0 00:07:10 v1.1.0 00:07:10 v1.2.0 00:07:10 v1.3.0 00:07:10 v2.0.0-dev.1 00:07:10 v2.0.0-dev.2 00:07:10 v2.0.0-dev.3 [Pipeline] sh 00:07:11 + lftools sign git-tag v2.0.0-dev.3 00:07:13 Signing Git tag with Sigul... 00:07:13 Signing v2.0.0-dev.3 [Pipeline] echo 00:07:15 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:07:16 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:07:16 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:07:16 $ docker stop --time=1 ac801bd5dd07812918144d03c3efc6eb6e32dfbf5f3e919e72fa1b8dc74c448b 00:07:19 $ docker rm -f ac801bd5dd07812918144d03c3efc6eb6e32dfbf5f3e919e72fa1b8dc74c448b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 00:07:20 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:07:20 . [Pipeline] withDockerContainer 00:07:20 prd-centos7-docker-4c-2g-21752 does not seem to be running inside a container 00:07: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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:07:22 $ docker top 2a95be78b34f96638b270e2a28e3617357a96b43d378fdf1d5c0b81929e8d1e1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:07:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:07:23 [ssh-agent] Looking for ssh-agent implementation... 00:07:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:07:23 $ docker exec 2a95be78b34f96638b270e2a28e3617357a96b43d378fdf1d5c0b81929e8d1e1 ssh-agent 00:07:24 SSH_AUTH_SOCK=/tmp/ssh-2rk62zNnEuYt/agent.11 00:07:24 SSH_AGENT_PID=16 00:07:24 Running ssh-add (command line suppressed) 00:07:24 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_6290143028482169912.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_6290143028482169912.key) 00:07:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:07:25 + git semver bump pre 00:07:25 # -> Open(): unable to determine branch for HEAD 00:07:25 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git 00:07:25 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master 00:07:25 # $SEMVER_REMOTE_NAME = origin 00:07:25 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:07:25 # $SEMVER_USER_NAME = edgex-jenkins 00:07:25 # $SEMVER_BRANCH = master 00:07:25 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver 00:07:25 2.0.0-dev.4 [Pipeline] } 00:07:25 $ docker exec --env ******** --env ******** 2a95be78b34f96638b270e2a28e3617357a96b43d378fdf1d5c0b81929e8d1e1 ssh-agent -k 00:07:26 unset SSH_AUTH_SOCK; 00:07:26 unset SSH_AGENT_PID; 00:07:26 echo Agent pid 16 killed; 00:07:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:07:27 + git semver [Pipeline] } 00:07:27 $ docker stop --time=1 2a95be78b34f96638b270e2a28e3617357a96b43d378fdf1d5c0b81929e8d1e1 00:07:29 $ docker rm -f 2a95be78b34f96638b270e2a28e3617357a96b43d378fdf1d5c0b81929e8d1e1 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 00:07:30 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:07:30 . [Pipeline] withDockerContainer 00:07:30 prd-centos7-docker-4c-2g-21752 does not seem to be running inside a container 00:07:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:07:34 $ docker top 3a5e7e2bb30c92c48c1cd0c1571343bac54097a3eeade5d1df2af07eff8a5702 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:07:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:07:35 [ssh-agent] Looking for ssh-agent implementation... 00:07:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:07:35 $ docker exec 3a5e7e2bb30c92c48c1cd0c1571343bac54097a3eeade5d1df2af07eff8a5702 ssh-agent 00:07:36 SSH_AUTH_SOCK=/tmp/ssh-qIBbR3X7bIwK/agent.11 00:07:36 SSH_AGENT_PID=16 00:07:36 Running ssh-add (command line suppressed) 00:07:36 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_1067662227550152235.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_1067662227550152235.key) 00:07:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:07:37 + git semver push 00:07:37 # -> Open(): unable to determine branch for HEAD 00:07:37 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git 00:07:37 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master 00:07:37 # $SEMVER_REMOTE_NAME = origin 00:07:37 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:07:37 # $SEMVER_USER_NAME = edgex-jenkins 00:07:37 # $SEMVER_BRANCH = master 00:07:37 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } 00:07:46 $ docker exec --env ******** --env ******** 3a5e7e2bb30c92c48c1cd0c1571343bac54097a3eeade5d1df2af07eff8a5702 ssh-agent -k 00:07:46 unset SSH_AUTH_SOCK; 00:07:46 unset SSH_AGENT_PID; 00:07:46 echo Agent pid 16 killed; 00:07:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:07:47 + git semver [Pipeline] } 00:07:47 $ docker stop --time=1 3a5e7e2bb30c92c48c1cd0c1571343bac54097a3eeade5d1df2af07eff8a5702 00:07:49 $ docker rm -f 3a5e7e2bb30c92c48c1cd0c1571343bac54097a3eeade5d1df2af07eff8a5702 [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 00:07:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:07:53 ---> package-listing.sh 00:07:53 ++ facter osfamily 00:07:53 ++ tr '[:upper:]' '[:lower:]' 00:07:53 + OS_FAMILY=redhat 00:07:53 + workspace=/w/workspace/ndry_app-functions-sdk-go_master 00:07:53 + START_PACKAGES=/tmp/packages_start.txt 00:07:53 + END_PACKAGES=/tmp/packages_end.txt 00:07:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:07:53 + PACKAGES=/tmp/packages_start.txt 00:07:53 + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' 00:07:53 + PACKAGES=/tmp/packages_end.txt 00:07:53 + case "${OS_FAMILY}" in 00:07:53 + rpm -qa 00:07:53 + sort 00:08:00 + '[' -f /tmp/packages_start.txt ']' 00:08:00 + '[' -f /tmp/packages_end.txt ']' 00:08:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:08:00 + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' 00:08:00 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_master/archives/ 00:08:00 + 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 00:08:00 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 00:08:00 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:08:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:08:02 00:08:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 00:08:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:08:03 alpine: Pulling from edgex-lftools-log-publisher 00:08:03 df20fa9351a1: Pulling fs layer 00:08:03 36b3adc4ff6f: Pulling fs layer 00:08:03 8ad3a11d3b57: Pulling fs layer 00:08:03 46f8f816bc3b: Pulling fs layer 00:08:03 93b61091891f: Pulling fs layer 00:08:03 93b9cdb0e59b: Pulling fs layer 00:08:03 5e14af77c1be: Pulling fs layer 00:08:03 01666e4c0597: Pulling fs layer 00:08:03 aa168da1d23b: Pulling fs layer 00:08:03 46f8f816bc3b: Waiting 00:08:03 93b61091891f: Waiting 00:08:03 93b9cdb0e59b: Waiting 00:08:03 5e14af77c1be: Waiting 00:08:03 01666e4c0597: Waiting 00:08:03 aa168da1d23b: Waiting 00:08:03 36b3adc4ff6f: Verifying Checksum 00:08:03 36b3adc4ff6f: Download complete 00:08:03 46f8f816bc3b: Verifying Checksum 00:08:03 46f8f816bc3b: Download complete 00:08:03 df20fa9351a1: Verifying Checksum 00:08:03 df20fa9351a1: Download complete 00:08:04 93b9cdb0e59b: Verifying Checksum 00:08:04 93b9cdb0e59b: Download complete 00:08:04 5e14af77c1be: Verifying Checksum 00:08:04 5e14af77c1be: Download complete 00:08:04 01666e4c0597: Download complete 00:08:04 93b61091891f: Verifying Checksum 00:08:04 93b61091891f: Download complete 00:08:05 df20fa9351a1: Pull complete 00:08:06 36b3adc4ff6f: Pull complete 00:08:08 8ad3a11d3b57: Verifying Checksum 00:08:08 8ad3a11d3b57: Download complete 00:08:10 8ad3a11d3b57: Pull complete 00:08:11 46f8f816bc3b: Pull complete 00:08:12 93b61091891f: Pull complete 00:08:12 93b9cdb0e59b: Pull complete 00:08:13 5e14af77c1be: Pull complete 00:08:15 01666e4c0597: Pull complete 00:08:22 aa168da1d23b: Verifying Checksum 00:08:22 aa168da1d23b: Download complete 00:08:41 aa168da1d23b: Pull complete 00:08:41 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 00:08:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:08:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 00:08:42 prd-centos7-docker-4c-2g-21752 does not seem to be running inside a container 00:08:42 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 00:08:47 $ docker top 366108c8e6d194892b6f1635991aa50c72499f012d94f8d677ff0bfa4fdca3aa -eo pid,comm [Pipeline] { [Pipeline] sh 00:08:47 + touch /tmp/pre-build-complete [Pipeline] sh 00:08:48 + mkdir -p /var/log/sa [Pipeline] sh 00:08:48 + ls /var/log/sa-host 00:08:48 + sadf -c /var/log/sa-host/sa20 00:08:48 file_magic: OK 00:08:48 HZ: Using current value: 100 00:08:48 file_header: OK 00:08:48 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 00:08:48 Statistics: 00:08:48 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:08:48 File successfully converted to sysstat format version 12.2.1 00:08:48 + sadf -c /var/log/sa-host/sa21 00:08:48 file_magic: OK 00:08:48 HZ: Using current value: 100 00:08:48 file_header: OK 00:08:48 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 00:08:48 Statistics: 00:08:48 Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:08:48 File successfully converted to sysstat format version 12.2.1 00:08:48 + sadf -c /var/log/sa-host/sa23 00:08:48 file_magic: OK 00:08:48 HZ: Using current value: 100 00:08:48 file_header: OK 00:08:48 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 00:08:48 Statistics: 00:08:48 Hnuu...uuuununununu... 00:08:48 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:08:49 provisioning config files... 00:08:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config6424668186638741355tmp [Pipeline] { [Pipeline] echo 00:08:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:08:50 ---> create-netrc.sh [Pipeline] } 00:08:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 00:08:50 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 00:08:51 ---> python-tools-install.sh [Pipeline] echo 00:08:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:08:52 ---> sudo-logs.sh 00:08:52 Archiving 'sudo' log.. [Pipeline] echo 00:08:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:08:53 ---> job-cost.sh 00:08:54 lf-activate-venv: SKIPPING 00:08:54 INFO: No Stack... 00:08:55 INFO: Retrieving Pricing Info for: v1-standard-2 00:08:56 INFO: Archiving Costs [Pipeline] echo 00:08:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:08:56 ---> logs-deploy.sh 00:08:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/master/170 00:08:56 INFO: archiving workspace using pattern(s): 00:09:00 Archives upload complete. 00:09:00 INFO: archiving logs to Nexus