Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from db11a9be6c8646c0b785f5875b2d439dd0a6ea71 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 5a4b2863d981ac6c14e44fa4f963a690d64f08cf 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 5a4b2863d981ac6c14e44fa4f963a690d64f08cf 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 5a4b2863d981ac6c14e44fa4f963a690d64f08cf (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 5a4b2863d981ac6c14e44fa4f963a690d64f08cf # timeout=10 Commit message: "Merge pull request #318 from MightyNerdEric/parallelCostCapture" > 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-27372 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision db11a9be6c8646c0b785f5875b2d439dd0a6ea71 (master) > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f db11a9be6c8646c0b785f5875b2d439dd0a6ea71 # timeout=10 Commit message: "fix: Errors in dynamic pipeline updates allow previous pipeline to run, hiding the errors (#711)" > git rev-list --no-walk d1027b02cdf130d6310b3582fd617e9b459e6d86 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:02:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:02:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:02:37 ========================================================= 19:02:37 EdgeX Global Pipelines Version Info 19:02:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:02:39 ------------------- 19:02:39 stable info: 19:02:39 ------------------- 19:02:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:02:39 Commit SHA: 5a4b2863d981ac6c14e44fa4f963a690d64f08cf 19:02:39 Message: update stable to v1.0.181 19:02:40 ------------------- 19:02:40 experimental info: 19:02:40 ------------------- 19:02:40 Commited By: **** collab-it+edgex@linuxfoundation.org 19:02:40 Commit SHA: 5a4b2863d981ac6c14e44fa4f963a690d64f08cf 19:02:40 Message: update experimental to v1.0.181 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:02:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 19:02:40 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 19:02:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:02:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:02:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:02:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 19:02:41 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 19:02:41 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 19:02:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:02:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:02:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:02:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 19:02:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:02:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:02:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 19:02:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 19:02:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:02:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:02:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:02:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:02:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 19:02:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 19:02:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:02:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:02:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 19:02:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 19:02:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 19:02:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 19:02:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = db11a9be6c8646c0b785f5875b2d439dd0a6ea71 [Pipeline] echo 19:02:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = db11a9b [Pipeline] echo 19:02:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:02:44 + git log --format=format:%s -1 db11a9be6c8646c0b785f5875b2d439dd0a6ea71 [Pipeline] echo 19:02:44 GIT_COMMIT: db11a9be6c8646c0b785f5875b2d439dd0a6ea71, Commit Message: fix: Errors in dynamic pipeline updates allow previous pipeline to run, hiding the errors (#711) [Pipeline] echo 19:02:44 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 19:02:45 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:02:45 19:02:45 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 19:02:45 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:02:45 latest: Pulling from edgex-devops/git-semver 19:02:45 31603596830f: Pulling fs layer 19:02:45 2a8b12db71e7: Pulling fs layer 19:02:45 6ca5941a6612: Pulling fs layer 19:02:45 ecc8261a40a4: Pulling fs layer 19:02:45 ecc8261a40a4: Waiting 19:02:45 2a8b12db71e7: Verifying Checksum 19:02:45 2a8b12db71e7: Download complete 19:02:45 31603596830f: Download complete 19:02:45 ecc8261a40a4: Verifying Checksum 19:02:45 ecc8261a40a4: Download complete 19:02:45 6ca5941a6612: Verifying Checksum 19:02:45 6ca5941a6612: Download complete 19:02:45 31603596830f: Pull complete 19:02:45 2a8b12db71e7: Pull complete 19:02:46 6ca5941a6612: Pull complete 19:02:46 ecc8261a40a4: Pull complete 19:02:46 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 19:02:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:02:46 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 19:02:47 prd-centos7-docker-4c-2g-27372 does not seem to be running inside a container 19:02:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 19:02:48 $ docker top 4a65139363e99f4ac1b754d567d792de2f721b9ead3f5ef6f500df8185f39e29 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:02:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:02:49 [ssh-agent] Looking for ssh-agent implementation... 19:02:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:02:49 $ docker exec 4a65139363e99f4ac1b754d567d792de2f721b9ead3f5ef6f500df8185f39e29 ssh-agent 19:02:49 SSH_AUTH_SOCK=/tmp/ssh-2bY8ePICPoiy/agent.12 19:02:49 SSH_AGENT_PID=18 19:02:49 Running ssh-add (command line suppressed) 19:02:49 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_6973432948560887640.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_6973432948560887640.key) 19:02:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:02:50 + git tag --points-at HEAD [Pipeline] } 19:02:50 $ docker exec --env ******** --env ******** 4a65139363e99f4ac1b754d567d792de2f721b9ead3f5ef6f500df8185f39e29 ssh-agent -k 19:02:50 unset SSH_AUTH_SOCK; 19:02:50 unset SSH_AGENT_PID; 19:02:50 echo Agent pid 18 killed; 19:02:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:02:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:02:50 [ssh-agent] Looking for ssh-agent implementation... 19:02:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:02:50 $ docker exec 4a65139363e99f4ac1b754d567d792de2f721b9ead3f5ef6f500df8185f39e29 ssh-agent 19:02:51 SSH_AUTH_SOCK=/tmp/ssh-5ILpf8Ipvjwa/agent.49 19:02:51 SSH_AGENT_PID=54 19:02:51 Running ssh-add (command line suppressed) 19:02:51 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4534719045047710950.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4534719045047710950.key) 19:02:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:02:51 + git semver init 19:02:51 # -> Open(): unable to determine branch for HEAD 19:02:51 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git 19:02:51 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master 19:02:51 # $SEMVER_REMOTE_NAME = origin 19:02:51 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 19:02:51 # $SEMVER_USER_NAME = edgex-jenkins 19:02:51 # $SEMVER_BRANCH = master 19:02:51 # $SEMVER_TEMP = /tmp/semver-152046670 19:02:51 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 19:02:54 # '/tmp/semver-152046670' -> '/w/workspace/ndry_app-functions-sdk-go_master/.semver' 19:02:54 # -> Force: false 19:02:54 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } 19:02:54 $ docker exec --env ******** --env ******** 4a65139363e99f4ac1b754d567d792de2f721b9ead3f5ef6f500df8185f39e29 ssh-agent -k 19:02:54 unset SSH_AUTH_SOCK; 19:02:54 unset SSH_AGENT_PID; 19:02:54 echo Agent pid 54 killed; 19:02:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:02:55 + git semver [Pipeline] } 19:02:55 $ docker stop --time=1 4a65139363e99f4ac1b754d567d792de2f721b9ead3f5ef6f500df8185f39e29 19:02:56 $ docker rm -f 4a65139363e99f4ac1b754d567d792de2f721b9ead3f5ef6f500df8185f39e29 [Pipeline] // withDockerContainer [Pipeline] sh 19:02:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:02:57 Stashed 1 file(s) [Pipeline] echo 19:02:57 [edgeXSemver]: initialized semver on version 2.0.0-dev.19 [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 19:03:13 Still waiting to schedule task 19:03:13 Waiting for next available executor on ‘centos7-docker-4c-2g’ 19:03:13 Still waiting to schedule task 19:03:13 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 19:04:57 Running on prd-centos7-docker-4c-2g-27373 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws 19:04:57 Running in /w/workspace/app-functions-sdk-go/186 [Pipeline] { [Pipeline] checkout 19:05:01 Running on prd-ubuntu18.04-docker-arm64-4c-16g-27374 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws 19:05:01 Running in /w/workspace/app-functions-sdk-go/186 [Pipeline] { [Pipeline] checkout 19:05:07 using credential edgex-jenkins-ssh 19:05:07 Cloning the remote Git repository 19:05:07 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 19:05:08 > git init /w/workspace/app-functions-sdk-go/186 # timeout=10 19:05:08 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 19:05:08 > git --version # timeout=10 19:05:08 > git --version # 'git version 2.17.1' 19:05:08 using GIT_SSH to set credentials SSH Credentials for GitHub 19:05:08 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:05:11 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 19:05:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:05:11 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 19:05:11 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 19:05:11 using GIT_SSH to set credentials SSH Credentials for GitHub 19:05:11 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 19:05:11 Checking out Revision db11a9be6c8646c0b785f5875b2d439dd0a6ea71 (master) 19:05:11 > git config core.sparsecheckout # timeout=10 19:05:11 > git checkout -f db11a9be6c8646c0b785f5875b2d439dd0a6ea71 # timeout=10 19:05:16 Commit message: "fix: Errors in dynamic pipeline updates allow previous pipeline to run, hiding the errors (#711)" 19:05:16 using credential edgex-jenkins-ssh 19:05:16 Cloning the remote Git repository [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:05:16 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 19:05:18 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 19:05:18 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 19:05:17 > git init /w/workspace/app-functions-sdk-go/186 # timeout=10 19:05:17 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 19:05:17 > git --version # timeout=10 19:05:17 > git --version # 'git version 2.24.3' 19:05:17 using GIT_SSH to set credentials SSH Credentials for GitHub 19:05:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:05:19 + sudo service docker restart 19:05:19 + true [Pipeline] unstash [Pipeline] echo 19:05:22 ========================================================= 19:05:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 19:05:22 ========================================================= [Pipeline] isUnix [Pipeline] sh 19:05:21 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 19:05:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:05:22 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 19:05:22 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 19:05:22 using GIT_SSH to set credentials SSH Credentials for GitHub 19:05:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 19:05:23 Checking out Revision db11a9be6c8646c0b785f5875b2d439dd0a6ea71 (master) 19:05:23 + 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 . 19:05:24 Sending build context to Docker daemon 19.24MB 19:05:24 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 19:05:24 Step 2/8 : FROM ${BASE} 19:05:24 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:05:24 5f621e34cdf4: Pulling fs layer 19:05:24 a4357932f1b6: Pulling fs layer 19:05:24 18c013af1878: Pulling fs layer 19:05:24 00ac8860ef70: Pulling fs layer 19:05:24 63d7cb157983: Pulling fs layer 19:05:24 b116817d02f9: Pulling fs layer 19:05:24 745a02a5169b: Pulling fs layer 19:05:24 00ac8860ef70: Waiting 19:05:24 63d7cb157983: Waiting 19:05:24 b116817d02f9: Waiting 19:05:24 745a02a5169b: Waiting 19:05:24 18c013af1878: Verifying Checksum 19:05:24 18c013af1878: Download complete 19:05:24 a4357932f1b6: Verifying Checksum 19:05:24 a4357932f1b6: Download complete 19:05:24 63d7cb157983: Verifying Checksum 19:05:24 63d7cb157983: Download complete 19:05:24 b116817d02f9: Verifying Checksum 19:05:24 b116817d02f9: Download complete 19:05:23 > git config core.sparsecheckout # timeout=10 19:05:23 > git checkout -f db11a9be6c8646c0b785f5875b2d439dd0a6ea71 # timeout=10 19:05:25 5f621e34cdf4: Verifying Checksum 19:05:25 5f621e34cdf4: Download complete 19:05:25 5f621e34cdf4: Pull complete 19:05:26 a4357932f1b6: Pull complete 19:05:26 18c013af1878: Pull complete 19:05:28 745a02a5169b: Verifying Checksum 19:05:28 745a02a5169b: Download complete 19:05:29 Commit message: "fix: Errors in dynamic pipeline updates allow previous pipeline to run, hiding the errors (#711)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:05:29 00ac8860ef70: Verifying Checksum 19:05:29 00ac8860ef70: Download complete 19:05:32 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 19:05:33 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 19:05:33 + true 19:05:33 + sudo service docker restart 19:05:33 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo 19:05:37 ========================================================= 19:05:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 19:05:37 ========================================================= [Pipeline] isUnix [Pipeline] sh 19:05:38 + 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 . 19:05:40 Sending build context to Docker daemon 19.24MB 19:05:40 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 19:05:40 Step 2/8 : FROM ${BASE} 19:05:40 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 19:05:40 188c0c94c7c5: Pulling fs layer 19:05:40 0ef7d3d256c8: Pulling fs layer 19:05:40 de9db76c5a1d: Pulling fs layer 19:05:40 bca2f99d35d6: Pulling fs layer 19:05:40 93359f2a8cfa: Pulling fs layer 19:05:40 7c6f9722023f: Pulling fs layer 19:05:40 a35cf1a2eb13: Pulling fs layer 19:05:40 bca2f99d35d6: Waiting 19:05:40 7c6f9722023f: Waiting 19:05:40 93359f2a8cfa: Waiting 19:05:40 a35cf1a2eb13: Waiting 19:05:40 de9db76c5a1d: Verifying Checksum 19:05:40 de9db76c5a1d: Download complete 19:05:41 0ef7d3d256c8: Download complete 19:05:41 93359f2a8cfa: Verifying Checksum 19:05:41 93359f2a8cfa: Download complete 19:05:41 7c6f9722023f: Download complete 19:05:41 188c0c94c7c5: Verifying Checksum 19:05:41 188c0c94c7c5: Download complete 19:05:42 188c0c94c7c5: Pull complete 19:05:42 00ac8860ef70: Pull complete 19:05:42 63d7cb157983: Pull complete 19:05:42 b116817d02f9: Pull complete 19:05:43 0ef7d3d256c8: Pull complete 19:05:43 de9db76c5a1d: Pull complete 19:05:45 745a02a5169b: Pull complete 19:05:45 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 19:05:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 19:05:45 ---> b7e6874047d6 19:05:45 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 19:05:45 20.10.0: Pulling from library/docker 19:05:45 a3cc7d3b244e: Pulling fs layer 19:05:45 02a3295e0d61: Pulling fs layer 19:05:45 0f4f2e6d8100: Pulling fs layer 19:05:45 330b718f631f: Pulling fs layer 19:05:45 a93816041522: Pulling fs layer 19:05:45 bdb6da89ff94: Pulling fs layer 19:05:45 2a70c0c122f4: Pulling fs layer 19:05:45 330b718f631f: Waiting 19:05:45 a93816041522: Waiting 19:05:45 bdb6da89ff94: Waiting 19:05:45 2a70c0c122f4: Waiting 19:05:45 0f4f2e6d8100: Download complete 19:05:45 02a3295e0d61: Download complete 19:05:45 a93816041522: Verifying Checksum 19:05:45 a93816041522: Download complete 19:05:45 a3cc7d3b244e: Verifying Checksum 19:05:45 a3cc7d3b244e: Download complete 19:05:45 bdb6da89ff94: Verifying Checksum 19:05:45 bdb6da89ff94: Download complete 19:05:45 2a70c0c122f4: Verifying Checksum 19:05:45 2a70c0c122f4: Download complete 19:05:46 a3cc7d3b244e: Pull complete 19:05:47 02a3295e0d61: Pull complete 19:05:47 0f4f2e6d8100: Pull complete 19:05:47 330b718f631f: Download complete 19:05:51 330b718f631f: Pull complete 19:05:51 a93816041522: Pull complete 19:05:51 bdb6da89ff94: Pull complete 19:05:52 2a70c0c122f4: Pull complete 19:05:52 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 19:05:52 Status: Downloaded newer image for docker:20.10.0 19:05:52 a35cf1a2eb13: Verifying Checksum 19:05:52 a35cf1a2eb13: Download complete 19:05:56 bca2f99d35d6: Verifying Checksum 19:05:56 bca2f99d35d6: Download complete 19:05:58 ---> 2fedc507a474 19:05:58 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 19:05:58 ---> Running in 361f8e8af63e 19:05:58 Removing intermediate container 361f8e8af63e 19:05:58 ---> d5eedefa62a3 19:05:58 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 19:05:58 ---> Running in 62d42dcc32c1 19:06:00 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 19:06:01 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 19:06:02 (1/5) Installing libsodium (1.0.18-r0) 19:06:02 (2/5) Installing libzmq (4.3.3-r0) 19:06:02 (3/5) Installing pkgconf (1.7.2-r0) 19:06:02 (4/5) Installing libsodium-dev (1.0.18-r0) 19:06:02 (5/5) Installing zeromq-dev (4.3.3-r0) 19:06:02 Executing busybox-1.31.1-r19.trigger 19:06:03 OK: 144 MiB in 44 packages 19:06:04 Removing intermediate container 62d42dcc32c1 19:06:04 ---> 83955aeea56d 19:06:04 Step 6/8 : WORKDIR /build 19:06:04 ---> Running in a99740236c9e 19:06:04 Removing intermediate container a99740236c9e 19:06:04 ---> 531cafbb5ef1 19:06:04 Step 7/8 : COPY go.mod . 19:06:05 ---> b63d8bf11273 19:06:05 Step 8/8 : RUN go mod download 19:06:05 ---> Running in 777a5c7cc939 19:06:15 bca2f99d35d6: Pull complete 19:06:15 93359f2a8cfa: Pull complete 19:06:15 7c6f9722023f: Pull complete 19:06:23 a35cf1a2eb13: Pull complete 19:06:23 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 19:06:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 19:06:23 ---> a62c8e92a672 19:06:23 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 19:06:23 20.10.0: Pulling from library/docker 19:06:23 05e7bc50f07f: Pulling fs layer 19:06:23 6db28d0fdbf6: Pulling fs layer 19:06:23 292df0bc6bf3: Pulling fs layer 19:06:23 2e060f4bd70b: Pulling fs layer 19:06:23 80e8d568a223: Pulling fs layer 19:06:23 8dc6ef1a942a: Pulling fs layer 19:06:23 2312dd95470a: Pulling fs layer 19:06:23 80e8d568a223: Waiting 19:06:23 8dc6ef1a942a: Waiting 19:06:23 2312dd95470a: Waiting 19:06:23 2e060f4bd70b: Waiting 19:06:23 292df0bc6bf3: Verifying Checksum 19:06:23 292df0bc6bf3: Download complete 19:06:23 6db28d0fdbf6: Download complete 19:06:24 80e8d568a223: Verifying Checksum 19:06:24 80e8d568a223: Download complete 19:06:24 8dc6ef1a942a: Verifying Checksum 19:06:24 8dc6ef1a942a: Download complete 19:06:24 2312dd95470a: Verifying Checksum 19:06:24 2312dd95470a: Download complete 19:06:24 05e7bc50f07f: Verifying Checksum 19:06:24 05e7bc50f07f: Download complete 19:06:26 05e7bc50f07f: Pull complete 19:06:28 6db28d0fdbf6: Pull complete 19:06:28 292df0bc6bf3: Pull complete 19:06:32 Removing intermediate container 777a5c7cc939 19:06:32 ---> df5304d29be7 19:06:32 Successfully built df5304d29be7 19:06:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 19:06:33 + docker inspect -f . ci-base-image-arm64 19:06:33 . [Pipeline] withDockerContainer 19:06:33 2e060f4bd70b: Download complete 19:06:33 prd-ubuntu18.04-docker-arm64-4c-16g-27374 does not seem to be running inside a container 19:06:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/186 -v /w/workspace/app-functions-sdk-go/186:/w/workspace/app-functions-sdk-go/186:rw,z -v /w/workspace/app-functions-sdk-go/186@tmp:/w/workspace/app-functions-sdk-go/186@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:06:35 $ docker top 253d7b740711a3c1f17c900a1d134184f90bc7262fc166c56b4072c5896e5d4a -eo pid,comm [Pipeline] { [Pipeline] sh 19:06:36 + go version 19:06:36 go version go1.15.5 linux/arm64 [Pipeline] } 19:06:36 $ docker stop --time=1 253d7b740711a3c1f17c900a1d134184f90bc7262fc166c56b4072c5896e5d4a 19:06:38 $ docker rm -f 253d7b740711a3c1f17c900a1d134184f90bc7262fc166c56b4072c5896e5d4a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:06:39 + docker inspect -f . ci-base-image-arm64 19:06:39 . [Pipeline] withDockerContainer 19:06:39 prd-ubuntu18.04-docker-arm64-4c-16g-27374 does not seem to be running inside a container 19:06:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/186 -v /w/workspace/app-functions-sdk-go/186:/w/workspace/app-functions-sdk-go/186:rw,z -v /w/workspace/app-functions-sdk-go/186@tmp:/w/workspace/app-functions-sdk-go/186@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:06:41 $ docker top b3e3d828bb41e37b909231a8a76d46d4f6ade30b7c9a264ff7efe2bf7b4756f1 -eo pid,comm 19:06:41 2e060f4bd70b: Pull complete 19:06:41 80e8d568a223: Pull complete 19:06:41 8dc6ef1a942a: Pull complete 19:06:41 2312dd95470a: Pull complete 19:06:41 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 19:06:41 Status: Downloaded newer image for docker:20.10.0 [Pipeline] { [Pipeline] sh 19:06:42 + make test 19:06:42 make -C ./app-service-template build 19:06:42 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/186/app-service-template' 19:06:42 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion= -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service 19:06:43 ---> 7cdecae428c0 19:06:43 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 19:06:43 ---> Running in ace085854a36 19:06:44 Removing intermediate container ace085854a36 19:06:44 ---> f07653c74c8f 19:06:44 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 19:06:44 ---> Running in 8e45bf9cb207 19:06:45 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 19:06:45 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 19:06:47 (1/5) Installing libsodium (1.0.18-r0) 19:06:47 (2/5) Installing libzmq (4.3.3-r0) 19:06:47 (3/5) Installing pkgconf (1.7.2-r0) 19:06:48 (4/5) Installing libsodium-dev (1.0.18-r0) 19:06:48 (5/5) Installing zeromq-dev (4.3.3-r0) 19:06:48 Executing busybox-1.31.1-r19.trigger 19:06:48 OK: 167 MiB in 44 packages 19:06:49 Removing intermediate container 8e45bf9cb207 19:06:49 ---> 0e72d71ed3fa 19:06:49 Step 6/8 : WORKDIR /build 19:06:49 ---> Running in 66ac9e277466 19:06:49 Removing intermediate container 66ac9e277466 19:06:49 ---> c37cc35d8fe4 19:06:49 Step 7/8 : COPY go.mod . 19:06:50 ---> 9591d4f63c48 19:06:50 Step 8/8 : RUN go mod download 19:06:50 ---> Running in c8cee5ff5fa0 19:07:15 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/186/app-service-template' 19:07:15 make -C ./app-service-template test 19:07:15 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/186/app-service-template' 19:07:15 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 19:07:33 ? new-app-service [no test files] 19:07:35 ok new-app-service/functions 0.023s coverage: 75.8% of statements 19:07:35 CGO_ENABLED=1 go vet ./... 19:07:38 Removing intermediate container c8cee5ff5fa0 19:07:38 ---> 4f3d7dd8f795 19:07:38 Successfully built 4f3d7dd8f795 19:07:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 19:07:39 + docker inspect -f . ci-base-image-x86_64 19:07:39 . [Pipeline] withDockerContainer 19:07:40 prd-centos7-docker-4c-2g-27373 does not seem to be running inside a container 19:07:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/186 -v /w/workspace/app-functions-sdk-go/186:/w/workspace/app-functions-sdk-go/186:rw,z -v /w/workspace/app-functions-sdk-go/186@tmp:/w/workspace/app-functions-sdk-go/186@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:07:44 $ docker top 5ff643564fa5e9ac0a0048e2f18215682e14c68d87f881880231782313b76e18 -eo pid,comm [Pipeline] { [Pipeline] sh 19:07:45 + go version 19:07:45 go version go1.15.5 linux/amd64 [Pipeline] } 19:07:45 $ docker stop --time=1 5ff643564fa5e9ac0a0048e2f18215682e14c68d87f881880231782313b76e18 19:07:45 gofmt -l . 19:07:45 [ "`gofmt -l .`" = "" ] 19:07:45 ./bin/test-go-mod-tidy.sh 19:07:45 ./bin/test-attribution-txt.sh 19:07:46 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/186/app-service-template' 19:07:46 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 19:07:47 ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] 19:07:47 $ docker rm -f 5ff643564fa5e9ac0a0048e2f18215682e14c68d87f881880231782313b76e18 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:07:49 + docker inspect -f . ci-base-image-x86_64 19:07:50 . [Pipeline] withDockerContainer 19:07:50 prd-centos7-docker-4c-2g-27373 does not seem to be running inside a container 19:07:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/186 -v /w/workspace/app-functions-sdk-go/186:/w/workspace/app-functions-sdk-go/186:rw,z -v /w/workspace/app-functions-sdk-go/186@tmp:/w/workspace/app-functions-sdk-go/186@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:07:51 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.042s coverage: 82.6% of statements 19:07:53 $ docker top 3148d0e40cc48bb67b6e0332602663664d14fd0aa567fcfb4c2ee5cbf9ea04db -eo pid,comm [Pipeline] { [Pipeline] sh 19:07:55 + make test 19:07:55 make -C ./app-service-template build 19:07:55 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/186/app-service-template' 19:07:55 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion= -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service 19:07:57 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.093s coverage: 52.4% of statements 19:07:57 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 19:07:57 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 19:07:57 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.067s coverage: 61.5% of statements 19:07:57 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 19:07:57 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.105s coverage: 75.6% of statements 19:07:57 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 19:07:57 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 19:07:57 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 19:07:57 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 19:07:57 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 19:07:57 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 19:07:57 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.022s coverage: 97.0% of statements 19:07:57 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 19:07:57 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.047s coverage: 8.8% of statements 19:08:13 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 13.867s coverage: 77.5% of statements 19:08:13 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 19:08:13 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.076s coverage: 87.9% of statements 19:08:13 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.057s coverage: 80.5% of statements 19:08:13 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.051s coverage: 71.7% of statements 19:08:28 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.078s coverage: 82.7% of statements 19:08:28 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.050s coverage: 94.4% of statements 19:08:28 CGO_ENABLED=1 GO111MODULE=on go vet ./... 19:08:32 gofmt -l . 19:08:32 [ "`gofmt -l .`" = "" ] 19:08:32 ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } 19:08:32 $ docker stop --time=1 b3e3d828bb41e37b909231a8a76d46d4f6ade30b7c9a264ff7efe2bf7b4756f1 19:08:34 $ docker rm -f b3e3d828bb41e37b909231a8a76d46d4f6ade30b7c9a264ff7efe2bf7b4756f1 [Pipeline] // withDockerContainer [Pipeline] sh 19:08:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:08:36 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 19:08:37 ---> job-cost.sh 19:08:37 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-W3WZ 19:08:47 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/186/app-service-template' 19:08:47 make -C ./app-service-template test 19:08:47 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/186/app-service-template' 19:08:47 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 19:09:08 ? new-app-service [no test files] 19:09:09 ok new-app-service/functions 0.020s coverage: 75.8% of statements 19:09:09 CGO_ENABLED=1 go vet ./... 19:09:16 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 19:09:20 gofmt -l . 19:09:20 [ "`gofmt -l .`" = "" ] 19:09:20 ./bin/test-go-mod-tidy.sh 19:09:21 ./bin/test-attribution-txt.sh 19:09:24 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/186/app-service-template' 19:09:24 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 19:09:26 ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] 19:09:29 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.198s coverage: 82.6% of statements 19:09:35 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.114s coverage: 52.4% of statements 19:09:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 19:09:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 19:09:35 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.114s coverage: 61.5% of statements 19:09:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 19:09:40 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 5.178s coverage: 75.6% of statements 19:09:40 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 19:09:40 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 19:09:40 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 19:09:40 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 19:09:40 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 19:09:40 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 19:09:40 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.107s coverage: 97.0% of statements 19:09:40 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 19:09:40 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.016s coverage: 8.8% of statements 19:09:51 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 14.048s coverage: 77.5% of statements 19:09:51 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 19:09:51 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.158s coverage: 87.9% of statements 19:09:51 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.098s coverage: 80.5% of statements 19:09:51 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.078s coverage: 71.7% of statements 19:10:08 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.163s coverage: 82.7% of statements 19:10:08 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.009s coverage: 94.4% of statements 19:10:08 CGO_ENABLED=1 GO111MODULE=on go vet ./... 19:10:14 gofmt -l . 19:10:14 [ "`gofmt -l .`" = "" ] 19:10:14 ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } 19:10:16 $ docker stop --time=1 3148d0e40cc48bb67b6e0332602663664d14fd0aa567fcfb4c2ee5cbf9ea04db 19:10:19 $ docker rm -f 3148d0e40cc48bb67b6e0332602663664d14fd0aa567fcfb4c2ee5cbf9ea04db [Pipeline] // withDockerContainer [Pipeline] sh 19:10:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:10:21 Warning: overwriting stash ‘coverage-report’ 19:10:24 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 19:10:25 ---> job-cost.sh 19:10:25 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-TNA2 19:11:07 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 19:11:24 lf-activate-venv(): INFO: Adding /tmp/venv-W3WZ/bin to PATH 19:11:24 INFO: No Stack... 19:11:24 INFO: Retrieving Pricing Info for: lf-standard-4 19:11:24 INFO: Archiving Costs [Pipeline] sh 19:11:25 + + cat /w/workspace/app-functions-sdk-go/186/archives/cost.csv 19:11:25 cut -d, -f6 [Pipeline] lock 19:11:25 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-186-stack-cost] 19:11:25 Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-186-stack-cost] did not exist. Created. 19:11:25 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-186-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:11:26 + echo total: 0.20999999344348907 [Pipeline] stash 19:11:26 Stashed 1 file(s) [Pipeline] } 19:11:26 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-186-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 19:11:57 lf-activate-venv(): INFO: Adding /tmp/venv-TNA2/bin to PATH 19:11:57 INFO: No Stack... 19:11:57 INFO: Retrieving Pricing Info for: v1-standard-2 19:11:58 INFO: Archiving Costs [Pipeline] sh 19:11:59 + cut -d, -f6 19:11:59 + cat /w/workspace/app-functions-sdk-go/186/archives/cost.csv [Pipeline] lock 19:11:59 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-186-stack-cost] 19:11:59 Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-186-stack-cost] did not exist. Created. 19:11:59 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-186-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:12:00 /w/workspace/app-functions-sdk-go/186@tmp/durable-08b95d69/script.sh: line 1: unexpected EOF while looking for matching `'' [Pipeline] sh 19:12:00 + echo total: 0.029999999329447746 [Pipeline] stash 19:12:00 Warning: overwriting stash ‘stack-cost’ 19:12:01 Stashed 1 file(s) [Pipeline] } 19:12:01 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-186-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 19:12:02 provisioning config files... 19:12:02 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config978508830118512922tmp [Pipeline] { [Pipeline] sh 19:12:03 + set +x 19:12:03 + curl -s https://codecov.io/bash 19:12:03 + bash -s -- 19:12:03 19:12:03 _____ _ 19:12:03 / ____| | | 19:12:03 | | ___ __| | ___ ___ _____ __ 19:12:03 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:12:03 | |___| (_) | (_| | __/ (_| (_) \ V / 19:12:03 \_____\___/ \__,_|\___|\___\___/ \_/ 19:12:03 Bash-20210129-7c25fce 19:12:03 19:12:03 19:12:03 ==> git version 2.24.3 found 19:12:03 ==> 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 19:12:03 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 19:12:03 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 19:12:03 ==> Jenkins CI detected. 19:12:03 project root: . 19:12:03 --> token set from env 19:12:03 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:12:03 ==> Running gcov in . (disable via -X gcov) 19:12:03 ==> Python coveragepy not found 19:12:03 ==> Searching for coverage reports in: 19:12:03 + . 19:12:03 -> Found 2 reports 19:12:03 ==> Detecting git/mercurial file structure 19:12:03 ==> Reading reports 19:12:03 + ./app-service-template/coverage.out bytes=1148 19:12:03 + ./coverage.out bytes=82794 19:12:03 ==> Appending adjustments 19:12:03 https://docs.codecov.io/docs/fixing-reports 19:12:04 + Found adjustments 19:12:04 ==> Gzipping contents 19:12:04 16K /tmp/codecov.eZdzAo.gz 19:12:04 ==> Uploading reports 19:12:04 url: https://codecov.io 19:12:04 query: branch=master&commit=db11a9be6c8646c0b785f5875b2d439dd0a6ea71&build=186&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F186%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 19:12:04 -> Pinging Codecov 19:12:04 https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=master&commit=db11a9be6c8646c0b785f5875b2d439dd0a6ea71&build=186&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F186%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 19:12:05 -> Uploading to 19:12:05 https://storage.googleapis.com/codecov/v4/raw/2021-02-23/3D8B5DFFC46A037C893635FACE044666/db11a9be6c8646c0b785f5875b2d439dd0a6ea71/1e9d39fa-d0ea-4171-ac0e-74479798af00.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210223%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210223T191205Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9e5cccd8e8f61fbeb2a7ea27b51e9166aba736c8f564f25ac73a9dbc7e87b093 19:12:05 % Total % Received % Xferd Average Speed Time Time Time Current 19:12:05 Dload Upload Total Spent Left Speed 19:12:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14473 0 0 100 14473 0 25838 --:--:-- --:--:-- --:--:-- 25844 100 14473 0 0 100 14473 0 25829 --:--:-- --:--:-- --:--:-- 25798 19:12:05 -> View reports at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/db11a9be6c8646c0b785f5875b2d439dd0a6ea71 [Pipeline] } 19:12:05 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 19:12:06 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 19:12:07 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:12:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:12:07 19:12:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 19:12:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:12:07 1.410.4: Pulling from edgex-devops/edgex-snyk-go 19:12:07 188c0c94c7c5: Pulling fs layer 19:12:07 0ef7d3d256c8: Pulling fs layer 19:12:07 de9db76c5a1d: Pulling fs layer 19:12:07 0eba1c9be4d2: Pulling fs layer 19:12:07 0d57e429df01: Pulling fs layer 19:12:07 4e4be7b47b0d: Pulling fs layer 19:12:07 e1f770b5df2f: Pulling fs layer 19:12:07 85a0685a4137: Pulling fs layer 19:12:07 0d57e429df01: Waiting 19:12:07 4e4be7b47b0d: Waiting 19:12:07 e1f770b5df2f: Waiting 19:12:07 85a0685a4137: Waiting 19:12:07 0eba1c9be4d2: Waiting 19:12:07 de9db76c5a1d: Verifying Checksum 19:12:07 de9db76c5a1d: Download complete 19:12:07 0ef7d3d256c8: Download complete 19:12:07 0d57e429df01: Verifying Checksum 19:12:07 0d57e429df01: Download complete 19:12:07 4e4be7b47b0d: Verifying Checksum 19:12:07 4e4be7b47b0d: Download complete 19:12:08 188c0c94c7c5: Verifying Checksum 19:12:08 188c0c94c7c5: Pull complete 19:12:09 0ef7d3d256c8: Pull complete 19:12:09 de9db76c5a1d: Pull complete 19:12:09 e1f770b5df2f: Verifying Checksum 19:12:12 0eba1c9be4d2: Verifying Checksum 19:12:12 0eba1c9be4d2: Download complete 19:12:14 85a0685a4137: Verifying Checksum 19:12:14 85a0685a4137: Download complete 19:12:17 0eba1c9be4d2: Pull complete 19:12:17 0d57e429df01: Pull complete 19:12:17 4e4be7b47b0d: Pull complete 19:12:23 e1f770b5df2f: Pull complete 19:12:29 85a0685a4137: Pull complete 19:12:29 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 19:12:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:12:29 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 19:12:29 prd-centos7-docker-4c-2g-27372 does not seem to be running inside a container 19:12:29 $ 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 19:12:30 $ docker top 423b7b65a52fa27d61b1a15e1a5fae9da249f13a11f015d5ea7cfb81798de91b -eo pid,comm [Pipeline] { [Pipeline] echo 19:12:30 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 19:12:31 + set -o pipefail 19:12:31 + snyk monitor '--org=edgex-jenkins' 19:12:41 19:12:41 Monitoring /w/workspace/ndry_app-functions-sdk-go_master (github.com/edgexfoundry/app-functions-sdk-go/v2)... 19:12:41 19:12:41 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/7f0dc4a9-0ec6-48fe-b4d0-21857dbc4ac7 19:12:41 19:12:41 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 19:12:41 19:12:41 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 19:12:41 19:12:41 19:12:41 You have reached your monthly limit of 300 private tests for your edgex-jenkins org. 19:12:41 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 19:12:41 $ docker stop --time=1 423b7b65a52fa27d61b1a15e1a5fae9da249f13a11f015d5ea7cfb81798de91b 19:12:44 $ docker rm -f 423b7b65a52fa27d61b1a15e1a5fae9da249f13a11f015d5ea7cfb81798de91b [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 19:12:45 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:12:45 provisioning config files... 19:12:45 copy managed file [swaggerhub-api-key] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config1004012764516129773tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:12:45 --> edgex-publish-swagger.sh 19:12:45 === Publish openapi/v2 API === 19:12:45 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 19:12:45 [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/ndry_app-functions-sdk-go_master/openapi/v2/app-functions-sdk.yaml] 19:12:45 % Total % Received % Xferd Average Speed Time Time Time Current 19:12:45 Dload Upload Total Spent Left Speed 19:12:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13052 0 0 100 13052 0 10311 0:00:01 0:00:01 --:--:-- 10325 100 13052 0 0 100 13052 0 10249 0:00:01 0:00:01 --:--:-- 10261 19:12:47 19:12:47 [Pipeline] } 19:12:47 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 19:12:47 + git log --format=format:%s -1 db11a9be6c8646c0b785f5875b2d439dd0a6ea71 [Pipeline] isUnix [Pipeline] sh 19:12:48 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:12:48 . [Pipeline] withDockerContainer 19:12:48 prd-centos7-docker-4c-2g-27372 does not seem to be running inside a container 19:12:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 19:12:48 $ docker top 793ee0aebb6a0b5d9d939cd9139190be936f014aebd0c372ba0734907d52fe96 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:12:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:12:49 [ssh-agent] Looking for ssh-agent implementation... 19:12:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:12:49 $ docker exec 793ee0aebb6a0b5d9d939cd9139190be936f014aebd0c372ba0734907d52fe96 ssh-agent 19:12:49 SSH_AUTH_SOCK=/tmp/ssh-YCsOqkzhHyNj/agent.11 19:12:49 SSH_AGENT_PID=16 19:12:49 Running ssh-add (command line suppressed) 19:12:49 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_1814422261670049530.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_1814422261670049530.key) 19:12:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:12:50 + git semver tag 19:12:50 # -> Open(): unable to determine branch for HEAD 19:12:50 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git 19:12:50 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master 19:12:50 # $SEMVER_REMOTE_NAME = origin 19:12:50 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 19:12:50 # $SEMVER_USER_NAME = edgex-jenkins 19:12:50 # $SEMVER_BRANCH = master 19:12:50 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver 19:12:50 # db11a9be6c8646c0b785f5875b2d439dd0a6ea71 HEAD 19:12:50 # -> Force: false 19:12:50 # e1c33363765946516b60661ebcd2afdaf6c7c39a refs/tags/v2.0.0-dev.19 [Pipeline] } 19:12:50 $ docker exec --env ******** --env ******** 793ee0aebb6a0b5d9d939cd9139190be936f014aebd0c372ba0734907d52fe96 ssh-agent -k 19:12:50 unset SSH_AUTH_SOCK; 19:12:50 unset SSH_AGENT_PID; 19:12:50 echo Agent pid 16 killed; 19:12:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:12:51 + git semver [Pipeline] } 19:12:51 $ docker stop --time=1 793ee0aebb6a0b5d9d939cd9139190be936f014aebd0c372ba0734907d52fe96 19:12:52 $ docker rm -f 793ee0aebb6a0b5d9d939cd9139190be936f014aebd0c372ba0734907d52fe96 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 19:12:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:12:53 19:12:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 19:12:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:12:53 0.23.1-centos7: Pulling from edgex-lftools 19:12:53 ab5ef0e58194: Pulling fs layer 19:12:53 9712f1f96733: Pulling fs layer 19:12:53 63f879dbbcfc: Pulling fs layer 19:12:53 0d9ebad4ef96: Pulling fs layer 19:12:53 e9a5061849ea: Pulling fs layer 19:12:53 d747dcd14b5f: Pulling fs layer 19:12:53 2de7ff778b66: Pulling fs layer 19:12:53 e9a5061849ea: Waiting 19:12:53 d747dcd14b5f: Waiting 19:12:53 2de7ff778b66: Waiting 19:12:53 0d9ebad4ef96: Waiting 19:12:53 9712f1f96733: Verifying Checksum 19:12:53 9712f1f96733: Download complete 19:12:55 63f879dbbcfc: Verifying Checksum 19:12:55 63f879dbbcfc: Download complete 19:12:55 e9a5061849ea: Verifying Checksum 19:12:55 e9a5061849ea: Download complete 19:12:55 d747dcd14b5f: Download complete 19:12:56 2de7ff778b66: Verifying Checksum 19:12:56 2de7ff778b66: Download complete 19:12:56 0d9ebad4ef96: Verifying Checksum 19:12:56 0d9ebad4ef96: Download complete 19:12:56 ab5ef0e58194: Verifying Checksum 19:12:56 ab5ef0e58194: Download complete 19:13:00 ab5ef0e58194: Pull complete 19:13:00 9712f1f96733: Pull complete 19:13:03 63f879dbbcfc: Pull complete 19:13:09 0d9ebad4ef96: Pull complete 19:13:11 e9a5061849ea: Pull complete 19:13:11 d747dcd14b5f: Pull complete 19:13:13 2de7ff778b66: Pull complete 19:13:13 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 19:13:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:13:13 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 19:13:13 prd-centos7-docker-4c-2g-27372 does not seem to be running inside a container 19:13:13 $ 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 19:13:17 $ docker top 72dfd091db324df5c15554d2e6e1090be7579bb5cff0f7e2d37d6a0a18b904af -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 19:13:18 provisioning config files... 19:13:18 copy managed file [sigul-config] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config5357258203094658544tmp 19:13:18 copy managed file [sigul-password] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config7694032087835812144tmp 19:13:18 copy managed file [sigul-pki] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config4478895827421207113tmp [Pipeline] { [Pipeline] echo 19:13:18 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 19:13:18 ---> sigul-configuration.sh 19:13:18 gpg: directory `/root/.gnupg' created 19:13:18 gpg: new configuration file `/root/.gnupg/gpg.conf' created 19:13:18 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 19:13:18 gpg: keyring `/root/.gnupg/secring.gpg' created 19:13:18 gpg: keyring `/root/.gnupg/pubring.gpg' created 19:13:18 gpg: CAST5 encrypted data 19:13:18 gpg: encrypted with 1 passphrase 19:13:18 gpg: WARNING: message was not integrity protected [Pipeline] sh 19:13:19 + mkdir /home/jenkins 19:13:19 + mkdir /home/jenkins/sigul [Pipeline] sh 19:13:19 + 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 19:13:19 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 19:13:19 ---> sigul-install.sh 19:13:26 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 19:13:26 + git tag --list 19:13:26 v0.1.0 19:13:26 v0.1.1 19:13:26 v1.0.0 19:13:26 v1.1.0 19:13:26 v1.2.0 19:13:26 v1.3.0 19:13:26 v1.3.1 19:13:26 v1.3.1-dev.1 19:13:26 v1.3.2-dev.1 19:13:26 v2.0.0-dev.1 19:13:26 v2.0.0-dev.10 19:13:26 v2.0.0-dev.11 19:13:26 v2.0.0-dev.12 19:13:26 v2.0.0-dev.13 19:13:26 v2.0.0-dev.14 19:13:26 v2.0.0-dev.15 19:13:26 v2.0.0-dev.16 19:13:26 v2.0.0-dev.17 19:13:26 v2.0.0-dev.18 19:13:26 v2.0.0-dev.19 19:13:26 v2.0.0-dev.2 19:13:26 v2.0.0-dev.3 19:13:26 v2.0.0-dev.4 19:13:26 v2.0.0-dev.5 19:13:26 v2.0.0-dev.6 19:13:26 v2.0.0-dev.7 19:13:26 v2.0.0-dev.8 19:13:26 v2.0.0-dev.9 [Pipeline] sh 19:13:26 + lftools sign git-tag v2.0.0-dev.19 19:13:28 Signing Git tag with Sigul... 19:13:28 Signing v2.0.0-dev.19 [Pipeline] echo 19:13:29 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 19:13:29 ---> sigul-configuration-cleanup.sh [Pipeline] } 19:13:29 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 19:13:29 $ docker stop --time=1 72dfd091db324df5c15554d2e6e1090be7579bb5cff0f7e2d37d6a0a18b904af 19:13:31 $ docker rm -f 72dfd091db324df5c15554d2e6e1090be7579bb5cff0f7e2d37d6a0a18b904af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 19:13:32 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:13:32 . [Pipeline] withDockerContainer 19:13:32 prd-centos7-docker-4c-2g-27372 does not seem to be running inside a container 19:13:32 $ 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 19:13:33 $ docker top 6c1164fa8b3a5aca764b32b865fadb34445535242682367bca4676d080e5119b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:13:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:13:33 [ssh-agent] Looking for ssh-agent implementation... 19:13:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:13:33 $ docker exec 6c1164fa8b3a5aca764b32b865fadb34445535242682367bca4676d080e5119b ssh-agent 19:13:34 SSH_AUTH_SOCK=/tmp/ssh-6cL27cOQlnY1/agent.11 19:13:34 SSH_AGENT_PID=17 19:13:34 Running ssh-add (command line suppressed) 19:13:34 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_3950608122571126106.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_3950608122571126106.key) 19:13:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:13:34 + git semver bump pre 19:13:34 # -> Open(): unable to determine branch for HEAD 19:13:34 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git 19:13:34 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master 19:13:34 # $SEMVER_REMOTE_NAME = origin 19:13:34 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 19:13:34 # $SEMVER_USER_NAME = edgex-jenkins 19:13:34 # $SEMVER_BRANCH = master 19:13:34 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver 19:13:34 2.0.0-dev.20 [Pipeline] } 19:13:34 $ docker exec --env ******** --env ******** 6c1164fa8b3a5aca764b32b865fadb34445535242682367bca4676d080e5119b ssh-agent -k 19:13:34 unset SSH_AUTH_SOCK; 19:13:34 unset SSH_AGENT_PID; 19:13:34 echo Agent pid 17 killed; 19:13:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:13:35 + git semver [Pipeline] } 19:13:35 $ docker stop --time=1 6c1164fa8b3a5aca764b32b865fadb34445535242682367bca4676d080e5119b 19:13:36 $ docker rm -f 6c1164fa8b3a5aca764b32b865fadb34445535242682367bca4676d080e5119b [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 19:13:37 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:13:37 . [Pipeline] withDockerContainer 19:13:37 prd-centos7-docker-4c-2g-27372 does not seem to be running inside a container 19:13: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 19:13:37 $ docker top e68249b35c8e9a305080b75083751d1e6e63496a7477d5ae64013def5d4a21a1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:13:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:13:38 [ssh-agent] Looking for ssh-agent implementation... 19:13:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:13:38 $ docker exec e68249b35c8e9a305080b75083751d1e6e63496a7477d5ae64013def5d4a21a1 ssh-agent 19:13:38 SSH_AUTH_SOCK=/tmp/ssh-D51v22IUBr4l/agent.11 19:13:38 SSH_AGENT_PID=17 19:13:38 Running ssh-add (command line suppressed) 19:13:38 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_8026453085295497307.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_8026453085295497307.key) 19:13:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:13:39 + git semver push 19:13:39 # -> Open(): unable to determine branch for HEAD 19:13:39 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git 19:13:39 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master 19:13:39 # $SEMVER_REMOTE_NAME = origin 19:13:39 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 19:13:39 # $SEMVER_USER_NAME = edgex-jenkins 19:13:39 # $SEMVER_BRANCH = master 19:13:39 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } 19:13:47 $ docker exec --env ******** --env ******** e68249b35c8e9a305080b75083751d1e6e63496a7477d5ae64013def5d4a21a1 ssh-agent -k 19:13:47 unset SSH_AUTH_SOCK; 19:13:47 unset SSH_AGENT_PID; 19:13:47 echo Agent pid 17 killed; 19:13:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:13:47 + git semver [Pipeline] } 19:13:47 $ docker stop --time=1 e68249b35c8e9a305080b75083751d1e6e63496a7477d5ae64013def5d4a21a1 19:13:49 $ docker rm -f e68249b35c8e9a305080b75083751d1e6e63496a7477d5ae64013def5d4a21a1 [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 19:13:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:13:51 ---> package-listing.sh 19:13:51 ++ facter osfamily 19:13:51 ++ tr '[:upper:]' '[:lower:]' 19:13:51 + OS_FAMILY=redhat 19:13:51 + workspace=/w/workspace/ndry_app-functions-sdk-go_master 19:13:51 + START_PACKAGES=/tmp/packages_start.txt 19:13:51 + END_PACKAGES=/tmp/packages_end.txt 19:13:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:13:51 + PACKAGES=/tmp/packages_start.txt 19:13:51 + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' 19:13:51 + PACKAGES=/tmp/packages_end.txt 19:13:51 + case "${OS_FAMILY}" in 19:13:51 + rpm -qa 19:13:51 + sort 19:13:56 + '[' -f /tmp/packages_start.txt ']' 19:13:56 + '[' -f /tmp/packages_end.txt ']' 19:13:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:13:56 + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' 19:13:56 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_master/archives/ 19:13:56 + 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 19:13:56 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 19:13:57 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 19:13:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:13:57 19:13:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 19:13:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:13:57 alpine: Pulling from edgex-lftools-log-publisher 19:13:57 df20fa9351a1: Pulling fs layer 19:13:57 36b3adc4ff6f: Pulling fs layer 19:13:57 8ad3a11d3b57: Pulling fs layer 19:13:57 46f8f816bc3b: Pulling fs layer 19:13:57 93b61091891f: Pulling fs layer 19:13:57 93b9cdb0e59b: Pulling fs layer 19:13:57 5e14af77c1be: Pulling fs layer 19:13:57 01666e4c0597: Pulling fs layer 19:13:57 aa168da1d23b: Pulling fs layer 19:13:57 93b61091891f: Waiting 19:13:57 46f8f816bc3b: Waiting 19:13:57 93b9cdb0e59b: Waiting 19:13:57 5e14af77c1be: Waiting 19:13:57 01666e4c0597: Waiting 19:13:57 aa168da1d23b: Waiting 19:13:57 36b3adc4ff6f: Verifying Checksum 19:13:57 36b3adc4ff6f: Download complete 19:13:57 46f8f816bc3b: Verifying Checksum 19:13:57 46f8f816bc3b: Download complete 19:13:57 df20fa9351a1: Verifying Checksum 19:13:57 df20fa9351a1: Download complete 19:13:57 93b9cdb0e59b: Verifying Checksum 19:13:57 93b9cdb0e59b: Download complete 19:13:58 5e14af77c1be: Verifying Checksum 19:13:58 5e14af77c1be: Download complete 19:13:58 93b61091891f: Verifying Checksum 19:13:58 93b61091891f: Download complete 19:13:58 01666e4c0597: Verifying Checksum 19:13:58 01666e4c0597: Download complete 19:13:58 8ad3a11d3b57: Verifying Checksum 19:13:58 8ad3a11d3b57: Download complete 19:13:58 df20fa9351a1: Pull complete 19:13:58 36b3adc4ff6f: Pull complete 19:14:00 8ad3a11d3b57: Pull complete 19:14:00 aa168da1d23b: Verifying Checksum 19:14:00 aa168da1d23b: Download complete 19:14:00 46f8f816bc3b: Pull complete 19:14:00 93b61091891f: Pull complete 19:14:00 93b9cdb0e59b: Pull complete 19:14:01 5e14af77c1be: Pull complete 19:14:01 01666e4c0597: Pull complete 19:14:07 aa168da1d23b: Pull complete 19:14:07 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 19:14:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:14:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 19:14:07 prd-centos7-docker-4c-2g-27372 does not seem to be running inside a container 19:14:07 $ 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 19:14:10 $ docker top 896a198cac21a9c8e83a3834e702ef5b4e54479d5b3b5a4fedd63eb0f3c5effb -eo pid,comm [Pipeline] { [Pipeline] sh 19:14:11 + touch /tmp/pre-build-complete [Pipeline] sh 19:14:11 + mkdir -p /var/log/sa [Pipeline] sh 19:14:11 + ls /var/log/sa-host 19:14:11 + sadf -c /var/log/sa-host/sa23 19:14:11 file_magic: OK 19:14:11 HZ: Using current value: 100 19:14:11 file_header: OK 19:14:11 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 19:14:11 Statistics: 19:14:11 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 19:14:11 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:14:12 provisioning config files... 19:14:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config8697153945156520973tmp [Pipeline] { [Pipeline] echo 19:14:12 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:14:12 ---> create-netrc.sh [Pipeline] } 19:14:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 19:14:12 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 19:14:13 ---> python-tools-install.sh [Pipeline] echo 19:14:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:14:13 ---> sudo-logs.sh 19:14:13 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:14:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:14:13 ---> job-cost.sh 19:14:13 lf-activate-venv: SKIPPING 19:14:13 DEBUG: total: 0.029999999329447746 19:14:13 INFO: Retrieving Stack Cost... 19:14:14 INFO: Retrieving Pricing Info for: v1-standard-2 19:14:15 INFO: Archiving Costs [Pipeline] echo 19:14:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:14:15 ---> logs-deploy.sh 19:14:15 lf-activate-venv: SKIPPING 19:14:15 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/master/186 19:14:15 INFO: archiving workspace using pattern(s): 19:14:16 Archives upload complete. 19:14:17 INFO: archiving logs to Nexus