Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 83c633e0233ae448cbb5e6a8cef38b01a51a199b 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4783533545438958771.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 144eb70ba3d470a427e699408e811d3f535e987a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6171411511319553702.key > 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 144eb70ba3d470a427e699408e811d3f535e987a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/main/workspace@libs/edgex-global-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7448317734473950909.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 144eb70ba3d470a427e699408e811d3f535e987a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 144eb70ba3d470a427e699408e811d3f535e987a # timeout=10 Commit message: "Merge pull request #341 from ernestojeda/master-2-main" > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5272927940953246409.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/main/workspace@libs/lf-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7776915371338093100.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > 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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: app-functions-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-2989 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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/oundry_app-functions-sdk-go_main # 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.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/oundry_app-functions-sdk-go_main@tmp/jenkins-gitclient-ssh8781545578845823700.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 83c633e0233ae448cbb5e6a8cef38b01a51a199b (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f 83c633e0233ae448cbb5e6a8cef38b01a51a199b # timeout=10 Commit message: "fix: Change logging of CorrelationID to use proper function call (#924)" > git rev-list --no-walk 76558247ef558a621c6cde6dc216633300cc3d0c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-07-15T21:59:24.542Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-07-15T21:59:24.635Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-15T21:59:24.660Z] ========================================================= [2021-07-15T21:59:24.660Z] EdgeX Global Pipelines Version Info [2021-07-15T21:59:24.660Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-07-15T21:59:25.977Z] ------------------- [2021-07-15T21:59:25.978Z] stable info: [2021-07-15T21:59:25.978Z] ------------------- [2021-07-15T21:59:25.978Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-07-15T21:59:25.978Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-15T21:59:25.978Z] Message: update stable to v1.0.196 [2021-07-15T21:59:26.581Z] ------------------- [2021-07-15T21:59:26.581Z] experimental info: [2021-07-15T21:59:26.581Z] ------------------- [2021-07-15T21:59:26.581Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-07-15T21:59:26.581Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-15T21:59:26.581Z] Message: update experimental to v1.0.196 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-07-15T21:59:26.730Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-07-15T21:59:26.752Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-07-15T21:59:26.774Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-07-15T21:59:26.795Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-07-15T21:59:26.817Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-07-15T21:59:26.839Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-07-15T21:59:26.860Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-07-15T21:59:26.883Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-07-15T21:59:26.905Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-07-15T21:59:26.927Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-07-15T21:59:26.952Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-07-15T21:59:26.976Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2021-07-15T21:59:26.997Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-07-15T21:59:27.020Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-07-15T21:59:27.042Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-07-15T21:59:27.064Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-07-15T21:59:27.085Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-07-15T21:59:27.106Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-07-15T21:59:27.130Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-07-15T21:59:27.181Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-07-15T21:59:27.204Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-07-15T21:59:27.225Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-07-15T21:59:27.246Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-07-15T21:59:27.276Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-07-15T21:59:27.296Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-07-15T21:59:27.318Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-07-15T21:59:27.339Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-07-15T21:59:27.361Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-07-15T21:59:27.382Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-07-15T21:59:27.404Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 83c633e0233ae448cbb5e6a8cef38b01a51a199b [Pipeline] echo [2021-07-15T21:59:27.424Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 83c633e [Pipeline] echo [2021-07-15T21:59:27.448Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-15T21:59:27.950Z] + git log --format=format:%s -1 83c633e0233ae448cbb5e6a8cef38b01a51a199b [Pipeline] echo [2021-07-15T21:59:28.005Z] GIT_COMMIT: 83c633e0233ae448cbb5e6a8cef38b01a51a199b, Commit Message: fix: Change logging of CorrelationID to use proper function call (#924) [Pipeline] echo [2021-07-15T21:59:28.017Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-07-15T21:59:29.123Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-15T21:59:29.123Z] [2021-07-15T21:59:29.123Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-07-15T21:59:29.465Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-15T21:59:29.466Z] latest: Pulling from edgex-devops/git-semver [2021-07-15T21:59:29.466Z] 31603596830f: Pulling fs layer [2021-07-15T21:59:29.466Z] b6dc333f4379: Pulling fs layer [2021-07-15T21:59:29.466Z] 3d9ef1400e77: Pulling fs layer [2021-07-15T21:59:29.466Z] fd332fbdc1db: Pulling fs layer [2021-07-15T21:59:29.466Z] fd332fbdc1db: Waiting [2021-07-15T21:59:29.466Z] b6dc333f4379: Verifying Checksum [2021-07-15T21:59:29.466Z] b6dc333f4379: Download complete [2021-07-15T21:59:29.947Z] 31603596830f: Verifying Checksum [2021-07-15T21:59:29.947Z] 31603596830f: Download complete [2021-07-15T21:59:29.947Z] 31603596830f: Pull complete [2021-07-15T21:59:29.947Z] b6dc333f4379: Pull complete [2021-07-15T21:59:29.947Z] fd332fbdc1db: Verifying Checksum [2021-07-15T21:59:29.947Z] fd332fbdc1db: Download complete [2021-07-15T21:59:29.947Z] 3d9ef1400e77: Verifying Checksum [2021-07-15T21:59:29.947Z] 3d9ef1400e77: Download complete [2021-07-15T21:59:30.547Z] 3d9ef1400e77: Pull complete [2021-07-15T21:59:30.825Z] fd332fbdc1db: Pull complete [2021-07-15T21:59:30.825Z] Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 [2021-07-15T21:59:30.825Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-15T21:59:30.825Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-07-15T21:59:30.919Z] prd-centos7-docker-4c-2g-2989 does not seem to be running inside a container [2021-07-15T21:59:30.989Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-15T21:59:31.698Z] $ docker top 0135ddc642d3987a02fb543d74ff04d8407a538e4775145b79030dc262db3f9f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-15T21:59:31.836Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-15T21:59:31.836Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-15T21:59:31.939Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-15T21:59:31.943Z] $ docker exec 0135ddc642d3987a02fb543d74ff04d8407a538e4775145b79030dc262db3f9f ssh-agent [2021-07-15T21:59:32.040Z] SSH_AUTH_SOCK=/tmp/ssh-wMIKfieVHa4R/agent.14 [2021-07-15T21:59:32.040Z] SSH_AGENT_PID=20 [2021-07-15T21:59:32.053Z] Running ssh-add (command line suppressed) [2021-07-15T21:59:32.150Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_1089661908031779042.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_1089661908031779042.key) [2021-07-15T21:59:32.174Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-15T21:59:32.498Z] + git tag --points-at HEAD [Pipeline] } [2021-07-15T21:59:32.520Z] $ docker exec --env ******** --env ******** 0135ddc642d3987a02fb543d74ff04d8407a538e4775145b79030dc262db3f9f ssh-agent -k [2021-07-15T21:59:32.606Z] unset SSH_AUTH_SOCK; [2021-07-15T21:59:32.606Z] unset SSH_AGENT_PID; [2021-07-15T21:59:32.606Z] echo Agent pid 20 killed; [2021-07-15T21:59:32.627Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-07-15T21:59:32.694Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-15T21:59:32.694Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-15T21:59:32.814Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-15T21:59:32.815Z] $ docker exec 0135ddc642d3987a02fb543d74ff04d8407a538e4775145b79030dc262db3f9f ssh-agent [2021-07-15T21:59:32.926Z] SSH_AUTH_SOCK=/tmp/ssh-XPRrNCEl2ZiD/agent.52 [2021-07-15T21:59:32.926Z] SSH_AGENT_PID=59 [2021-07-15T21:59:32.936Z] Running ssh-add (command line suppressed) [2021-07-15T21:59:33.040Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_1403029457042634541.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_1403029457042634541.key) [2021-07-15T21:59:33.066Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-15T21:59:33.394Z] + git semver init [2021-07-15T21:59:33.394Z] # -> Open(): unable to determine branch for HEAD [2021-07-15T21:59:33.394Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2021-07-15T21:59:33.394Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2021-07-15T21:59:33.394Z] # $SEMVER_REMOTE_NAME = origin [2021-07-15T21:59:33.394Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-15T21:59:33.394Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-15T21:59:33.394Z] # $SEMVER_BRANCH = main [2021-07-15T21:59:33.394Z] # $SEMVER_TEMP = /tmp/semver-475378981 [2021-07-15T21:59:33.394Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-07-15T21:59:35.372Z] # '/tmp/semver-475378981' -> '/w/workspace/oundry_app-functions-sdk-go_main/.semver' [2021-07-15T21:59:35.372Z] # -> Force: false [2021-07-15T21:59:35.372Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [Pipeline] } [2021-07-15T21:59:35.387Z] $ docker exec --env ******** --env ******** 0135ddc642d3987a02fb543d74ff04d8407a538e4775145b79030dc262db3f9f ssh-agent -k [2021-07-15T21:59:35.483Z] unset SSH_AUTH_SOCK; [2021-07-15T21:59:35.483Z] unset SSH_AGENT_PID; [2021-07-15T21:59:35.483Z] echo Agent pid 59 killed; [2021-07-15T21:59:35.506Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-15T21:59:35.870Z] + git semver [Pipeline] } [2021-07-15T21:59:35.891Z] $ docker stop --time=1 0135ddc642d3987a02fb543d74ff04d8407a538e4775145b79030dc262db3f9f [2021-07-15T21:59:37.197Z] $ docker rm -f 0135ddc642d3987a02fb543d74ff04d8407a538e4775145b79030dc262db3f9f [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-15T21:59:37.603Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-07-15T21:59:37.972Z] Stashed 1 file(s) [Pipeline] echo [2021-07-15T21:59:37.977Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.4 [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 [2021-07-15T21:59:53.245Z] Still waiting to schedule task [2021-07-15T21:59:53.246Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-07-15T21:59:53.248Z] Still waiting to schedule task [2021-07-15T21:59:53.249Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-07-15T22:01:56.438Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2990 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws [2021-07-15T22:01:56.464Z] Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-07-15T22:01:56.689Z] The recommended git tool is: git [2021-07-15T22:02:02.621Z] using credential edgex-jenkins-ssh [2021-07-15T22:02:02.680Z] Cloning the remote Git repository [2021-07-15T22:02:02.735Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-07-15T22:02:02.938Z] > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 [2021-07-15T22:02:03.086Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-07-15T22:02:03.086Z] > git --version # timeout=10 [2021-07-15T22:02:03.132Z] > git --version # 'git version 2.17.1' [2021-07-15T22:02:03.133Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-15T22:02:03.264Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-15T22:02:06.580Z] Avoid second fetch [2021-07-15T22:02:06.580Z] Checking out Revision 83c633e0233ae448cbb5e6a8cef38b01a51a199b (main) [2021-07-15T22:02:06.528Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-07-15T22:02:06.551Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-15T22:02:06.593Z] > git config core.sparsecheckout # timeout=10 [2021-07-15T22:02:06.608Z] > git checkout -f 83c633e0233ae448cbb5e6a8cef38b01a51a199b # timeout=10 [2021-07-15T22:02:11.031Z] Commit message: "fix: Change logging of CorrelationID to use proper function call (#924)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-15T22:02:12.259Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-07-15T22:02:12.673Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-15T22:02:13.023Z] + + sudo servicetrue docker [2021-07-15T22:02:13.023Z] restart [2021-07-15T22:02:21.997Z] Running on prd-centos7-docker-4c-2g-2991 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws [2021-07-15T22:02:22.025Z] Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-07-15T22:02:22.159Z] The recommended git tool is: git [2021-07-15T22:02:25.170Z] using credential edgex-jenkins-ssh [2021-07-15T22:02:25.198Z] Cloning the remote Git repository [2021-07-15T22:02:24.518Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-07-15T22:02:24.588Z] > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 [2021-07-15T22:02:24.620Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-07-15T22:02:24.621Z] > git --version # timeout=10 [2021-07-15T22:02:24.626Z] > git --version # 'git version 2.24.4' [2021-07-15T22:02:24.627Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-15T22:02:24.652Z] [INFO] Currently running in a labeled security context [2021-07-15T22:02:24.652Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-15T22:02:24.652Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/3@tmp/jenkins-gitclient-ssh6517106968930323789.key [2021-07-15T22:02:24.662Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-15T22:02:26.678Z] Avoid second fetch [2021-07-15T22:02:26.678Z] Checking out Revision 83c633e0233ae448cbb5e6a8cef38b01a51a199b (main) [2021-07-15T22:02:26.037Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-07-15T22:02:26.049Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-15T22:02:26.074Z] > git config core.sparsecheckout # timeout=10 [2021-07-15T22:02:26.083Z] > git checkout -f 83c633e0233ae448cbb5e6a8cef38b01a51a199b # timeout=10 [2021-07-15T22:02:30.516Z] Commit message: "fix: Change logging of CorrelationID to use proper function call (#924)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-15T22:02:31.427Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] unstash [Pipeline] sh [Pipeline] echo [2021-07-15T22:02:31.808Z] ========================================================= [2021-07-15T22:02:31.808Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-07-15T22:02:31.808Z] ========================================================= [2021-07-15T22:02:31.810Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] isUnix [Pipeline] sh [Pipeline] sh [2021-07-15T22:02:32.189Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-07-15T22:02:32.241Z] + sudo service docker restart [2021-07-15T22:02:32.241Z] + true [2021-07-15T22:02:32.241Z] Redirecting to /bin/systemctl restart docker.service [2021-07-15T22:02:33.186Z] Sending build context to Docker daemon 19.73MB [2021-07-15T22:02:33.186Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-07-15T22:02:33.186Z] Step 2/8 : FROM ${BASE} [2021-07-15T22:02:33.782Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-07-15T22:02:33.783Z] 595b0fe564bb: Pulling fs layer [2021-07-15T22:02:33.783Z] 24495759ef45: Pulling fs layer [2021-07-15T22:02:33.783Z] d148012ef14d: Pulling fs layer [2021-07-15T22:02:33.783Z] cb65c68fc2e2: Pulling fs layer [2021-07-15T22:02:33.783Z] 093eec477d81: Pulling fs layer [2021-07-15T22:02:33.783Z] a6d5b2bbb924: Pulling fs layer [2021-07-15T22:02:33.783Z] 2446dc1eb7d3: Pulling fs layer [2021-07-15T22:02:33.783Z] 596795e73e0f: Pulling fs layer [2021-07-15T22:02:33.783Z] 093eec477d81: Waiting [2021-07-15T22:02:33.783Z] a6d5b2bbb924: Waiting [2021-07-15T22:02:33.783Z] 2446dc1eb7d3: Waiting [2021-07-15T22:02:33.783Z] 596795e73e0f: Waiting [2021-07-15T22:02:33.783Z] cb65c68fc2e2: Waiting [2021-07-15T22:02:34.057Z] d148012ef14d: Verifying Checksum [2021-07-15T22:02:34.057Z] d148012ef14d: Download complete [2021-07-15T22:02:34.057Z] 24495759ef45: Verifying Checksum [2021-07-15T22:02:34.057Z] 24495759ef45: Download complete [2021-07-15T22:02:34.057Z] 093eec477d81: Verifying Checksum [2021-07-15T22:02:34.057Z] 093eec477d81: Download complete [2021-07-15T22:02:34.057Z] a6d5b2bbb924: Verifying Checksum [2021-07-15T22:02:34.057Z] a6d5b2bbb924: Download complete [2021-07-15T22:02:34.057Z] 2446dc1eb7d3: Verifying Checksum [2021-07-15T22:02:34.057Z] 2446dc1eb7d3: Download complete [2021-07-15T22:02:34.057Z] 595b0fe564bb: Verifying Checksum [2021-07-15T22:02:34.057Z] 595b0fe564bb: Download complete [2021-07-15T22:02:35.049Z] 595b0fe564bb: Pull complete [2021-07-15T22:02:35.654Z] 24495759ef45: Pull complete [2021-07-15T22:02:35.936Z] d148012ef14d: Pull complete [2021-07-15T22:02:36.548Z] 596795e73e0f: Verifying Checksum [2021-07-15T22:02:36.548Z] 596795e73e0f: Download complete [2021-07-15T22:02:37.988Z] cb65c68fc2e2: Verifying Checksum [2021-07-15T22:02:37.988Z] cb65c68fc2e2: Download complete [2021-07-15T22:02:48.204Z] cb65c68fc2e2: Pull complete [2021-07-15T22:02:48.204Z] 093eec477d81: Pull complete [2021-07-15T22:02:48.481Z] a6d5b2bbb924: Pull complete [2021-07-15T22:02:48.759Z] 2446dc1eb7d3: Pull complete [Pipeline] unstash [Pipeline] echo [2021-07-15T22:02:50.683Z] ========================================================= [2021-07-15T22:02:50.683Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-07-15T22:02:50.683Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-15T22:02:51.022Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-07-15T22:02:51.294Z] Sending build context to Docker daemon 19.73MB [2021-07-15T22:02:51.294Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-07-15T22:02:51.294Z] Step 2/8 : FROM ${BASE} [2021-07-15T22:02:51.294Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-07-15T22:02:51.294Z] 540db60ca938: Pulling fs layer [2021-07-15T22:02:51.294Z] adcc1eea9eea: Pulling fs layer [2021-07-15T22:02:51.294Z] 4c4ab2625f07: Pulling fs layer [2021-07-15T22:02:51.294Z] 0773c198feca: Pulling fs layer [2021-07-15T22:02:51.294Z] 345f892a5656: Pulling fs layer [2021-07-15T22:02:51.294Z] 4796506630df: Pulling fs layer [2021-07-15T22:02:51.294Z] cc55df3e53f1: Pulling fs layer [2021-07-15T22:02:51.294Z] 4d027b6c602c: Pulling fs layer [2021-07-15T22:02:51.294Z] 449e75d2c14e: Pulling fs layer [2021-07-15T22:02:51.294Z] 0773c198feca: Waiting [2021-07-15T22:02:51.294Z] 345f892a5656: Waiting [2021-07-15T22:02:51.294Z] 4796506630df: Waiting [2021-07-15T22:02:51.294Z] cc55df3e53f1: Waiting [2021-07-15T22:02:51.294Z] 4d027b6c602c: Waiting [2021-07-15T22:02:51.294Z] 449e75d2c14e: Waiting [2021-07-15T22:02:51.569Z] 4c4ab2625f07: Verifying Checksum [2021-07-15T22:02:51.569Z] 4c4ab2625f07: Download complete [2021-07-15T22:02:51.569Z] adcc1eea9eea: Verifying Checksum [2021-07-15T22:02:51.569Z] adcc1eea9eea: Download complete [2021-07-15T22:02:51.569Z] 345f892a5656: Verifying Checksum [2021-07-15T22:02:51.569Z] 345f892a5656: Download complete [2021-07-15T22:02:51.569Z] 4796506630df: Verifying Checksum [2021-07-15T22:02:51.569Z] 4796506630df: Download complete [2021-07-15T22:02:51.569Z] cc55df3e53f1: Verifying Checksum [2021-07-15T22:02:51.569Z] cc55df3e53f1: Download complete [2021-07-15T22:02:51.569Z] 540db60ca938: Verifying Checksum [2021-07-15T22:02:51.569Z] 540db60ca938: Download complete [2021-07-15T22:02:51.837Z] 540db60ca938: Pull complete [2021-07-15T22:02:51.837Z] adcc1eea9eea: Pull complete [2021-07-15T22:02:52.106Z] 4d027b6c602c: Verifying Checksum [2021-07-15T22:02:52.106Z] 4d027b6c602c: Download complete [2021-07-15T22:02:52.106Z] 4c4ab2625f07: Pull complete [2021-07-15T22:02:53.092Z] 596795e73e0f: Pull complete [2021-07-15T22:02:53.092Z] Digest: sha256:8fdc37217a1dd7593ea05f088b02ef5bfb3cd8d6ab6705c4f2c080891875b7a0 [2021-07-15T22:02:53.092Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-07-15T22:02:53.092Z] ---> d9e956139c92 [2021-07-15T22:02:53.092Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-07-15T22:02:53.092Z] 20.10.0: Pulling from library/docker [2021-07-15T22:02:53.092Z] a3cc7d3b244e: Pulling fs layer [2021-07-15T22:02:53.092Z] 02a3295e0d61: Pulling fs layer [2021-07-15T22:02:53.092Z] 0f4f2e6d8100: Pulling fs layer [2021-07-15T22:02:53.092Z] 330b718f631f: Pulling fs layer [2021-07-15T22:02:53.092Z] a93816041522: Pulling fs layer [2021-07-15T22:02:53.092Z] bdb6da89ff94: Pulling fs layer [2021-07-15T22:02:53.092Z] 2a70c0c122f4: Pulling fs layer [2021-07-15T22:02:53.092Z] a93816041522: Waiting [2021-07-15T22:02:53.092Z] bdb6da89ff94: Waiting [2021-07-15T22:02:53.092Z] 330b718f631f: Waiting [2021-07-15T22:02:53.092Z] 0f4f2e6d8100: Download complete [2021-07-15T22:02:53.367Z] a3cc7d3b244e: Verifying Checksum [2021-07-15T22:02:53.367Z] a3cc7d3b244e: Download complete [2021-07-15T22:02:53.367Z] 02a3295e0d61: Verifying Checksum [2021-07-15T22:02:53.367Z] 02a3295e0d61: Download complete [2021-07-15T22:02:53.367Z] a93816041522: Verifying Checksum [2021-07-15T22:02:53.367Z] a93816041522: Download complete [2021-07-15T22:02:53.367Z] bdb6da89ff94: Verifying Checksum [2021-07-15T22:02:53.367Z] bdb6da89ff94: Download complete [2021-07-15T22:02:53.367Z] 2a70c0c122f4: Verifying Checksum [2021-07-15T22:02:53.367Z] 2a70c0c122f4: Download complete [2021-07-15T22:02:53.970Z] a3cc7d3b244e: Pull complete [2021-07-15T22:02:54.955Z] 02a3295e0d61: Pull complete [2021-07-15T22:02:55.230Z] 0f4f2e6d8100: Pull complete [2021-07-15T22:02:55.830Z] 330b718f631f: Verifying Checksum [2021-07-15T22:02:55.830Z] 330b718f631f: Download complete [2021-07-15T22:02:57.479Z] 449e75d2c14e: Verifying Checksum [2021-07-15T22:02:57.479Z] 449e75d2c14e: Download complete [2021-07-15T22:02:58.140Z] 0773c198feca: Verifying Checksum [2021-07-15T22:02:58.140Z] 0773c198feca: Download complete [2021-07-15T22:02:59.384Z] 330b718f631f: Pull complete [2021-07-15T22:02:59.713Z] a93816041522: Pull complete [2021-07-15T22:03:00.329Z] bdb6da89ff94: Pull complete [2021-07-15T22:03:00.638Z] 2a70c0c122f4: Pull complete [2021-07-15T22:03:00.638Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-07-15T22:03:00.638Z] Status: Downloaded newer image for docker:20.10.0 [2021-07-15T22:03:00.871Z] 0773c198feca: Pull complete [2021-07-15T22:03:01.146Z] 345f892a5656: Pull complete [2021-07-15T22:03:01.146Z] 4796506630df: Pull complete [2021-07-15T22:03:01.146Z] cc55df3e53f1: Pull complete [2021-07-15T22:03:01.424Z] 4d027b6c602c: Pull complete [2021-07-15T22:03:02.910Z] 449e75d2c14e: Pull complete [2021-07-15T22:03:02.910Z] Digest: sha256:a2fa0993ec4462abfc92311096d2e43e803cda49eb027de246ea451416b7a8a8 [2021-07-15T22:03:02.910Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-07-15T22:03:02.910Z] ---> 0d28375d9b5b [2021-07-15T22:03:02.910Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-07-15T22:03:02.910Z] 20.10.0: Pulling from library/docker [2021-07-15T22:03:03.181Z] 05e7bc50f07f: Pulling fs layer [2021-07-15T22:03:03.181Z] 6db28d0fdbf6: Pulling fs layer [2021-07-15T22:03:03.181Z] 292df0bc6bf3: Pulling fs layer [2021-07-15T22:03:03.181Z] 2e060f4bd70b: Pulling fs layer [2021-07-15T22:03:03.181Z] 80e8d568a223: Pulling fs layer [2021-07-15T22:03:03.181Z] 8dc6ef1a942a: Pulling fs layer [2021-07-15T22:03:03.181Z] 2312dd95470a: Pulling fs layer [2021-07-15T22:03:03.181Z] 80e8d568a223: Waiting [2021-07-15T22:03:03.181Z] 8dc6ef1a942a: Waiting [2021-07-15T22:03:03.181Z] 2312dd95470a: Waiting [2021-07-15T22:03:03.181Z] 2e060f4bd70b: Waiting [2021-07-15T22:03:03.181Z] 292df0bc6bf3: Verifying Checksum [2021-07-15T22:03:03.181Z] 292df0bc6bf3: Download complete [2021-07-15T22:03:03.181Z] 6db28d0fdbf6: Verifying Checksum [2021-07-15T22:03:03.181Z] 6db28d0fdbf6: Download complete [2021-07-15T22:03:03.457Z] 80e8d568a223: Verifying Checksum [2021-07-15T22:03:03.458Z] 80e8d568a223: Download complete [2021-07-15T22:03:03.458Z] 8dc6ef1a942a: Verifying Checksum [2021-07-15T22:03:03.458Z] 8dc6ef1a942a: Download complete [2021-07-15T22:03:03.458Z] 2312dd95470a: Verifying Checksum [2021-07-15T22:03:03.458Z] 2312dd95470a: Download complete [2021-07-15T22:03:03.458Z] 05e7bc50f07f: Verifying Checksum [2021-07-15T22:03:03.458Z] 05e7bc50f07f: Download complete [2021-07-15T22:03:03.728Z] 05e7bc50f07f: Pull complete [2021-07-15T22:03:03.728Z] 6db28d0fdbf6: Pull complete [2021-07-15T22:03:03.997Z] 292df0bc6bf3: Pull complete [2021-07-15T22:03:06.587Z] 2e060f4bd70b: Verifying Checksum [2021-07-15T22:03:06.587Z] 2e060f4bd70b: Download complete [2021-07-15T22:03:07.417Z] ---> 4e761585e05e [2021-07-15T22:03:07.417Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-07-15T22:03:07.694Z] ---> Running in b96d7dcd3926 [2021-07-15T22:03:07.968Z] Removing intermediate container b96d7dcd3926 [2021-07-15T22:03:07.968Z] ---> 8023876174db [2021-07-15T22:03:07.968Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-07-15T22:03:08.004Z] 2e060f4bd70b: Pull complete [2021-07-15T22:03:08.004Z] 80e8d568a223: Pull complete [2021-07-15T22:03:08.004Z] 8dc6ef1a942a: Pull complete [2021-07-15T22:03:08.004Z] 2312dd95470a: Pull complete [2021-07-15T22:03:08.004Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-07-15T22:03:08.004Z] Status: Downloaded newer image for docker:20.10.0 [2021-07-15T22:03:08.243Z] ---> Running in cfd235111293 [2021-07-15T22:03:09.693Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-15T22:03:10.602Z] ---> 7304aa06e887 [2021-07-15T22:03:10.602Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-07-15T22:03:10.602Z] ---> Running in df1e8fa652fb [2021-07-15T22:03:10.602Z] Removing intermediate container df1e8fa652fb [2021-07-15T22:03:10.602Z] ---> ee146396c1e2 [2021-07-15T22:03:10.602Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-07-15T22:03:10.602Z] ---> Running in a7fdd609b85c [2021-07-15T22:03:10.602Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-15T22:03:10.681Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-15T22:03:11.279Z] (1/5) Installing libsodium (1.0.18-r0) [2021-07-15T22:03:11.553Z] (2/5) Installing libzmq (4.3.3-r1) [2021-07-15T22:03:11.553Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-07-15T22:03:11.553Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-07-15T22:03:11.567Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-15T22:03:11.826Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-07-15T22:03:11.826Z] Executing busybox-1.32.1-r6.trigger [2021-07-15T22:03:11.826Z] OK: 139 MiB in 45 packages [2021-07-15T22:03:11.835Z] (1/5) Installing libsodium (1.0.18-r0) [2021-07-15T22:03:12.105Z] (2/5) Installing libzmq (4.3.3-r1) [2021-07-15T22:03:12.105Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-07-15T22:03:12.105Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-07-15T22:03:12.372Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-07-15T22:03:12.372Z] Executing busybox-1.32.1-r6.trigger [2021-07-15T22:03:12.372Z] OK: 150 MiB in 45 packages [2021-07-15T22:03:12.641Z] Removing intermediate container a7fdd609b85c [2021-07-15T22:03:12.641Z] ---> 89c0f65a028c [2021-07-15T22:03:12.641Z] Step 6/8 : WORKDIR /build [2021-07-15T22:03:12.641Z] ---> Running in 3c1bb9be8029 [2021-07-15T22:03:12.641Z] Removing intermediate container 3c1bb9be8029 [2021-07-15T22:03:12.641Z] ---> 21add2db7567 [2021-07-15T22:03:12.641Z] Step 7/8 : COPY go.mod . [2021-07-15T22:03:12.915Z] ---> 9c0076cfaeae [2021-07-15T22:03:12.915Z] Step 8/8 : RUN go mod download [2021-07-15T22:03:12.915Z] ---> Running in 889553dd04b8 [2021-07-15T22:03:13.282Z] Removing intermediate container cfd235111293 [2021-07-15T22:03:13.282Z] ---> 8ad7880bdac3 [2021-07-15T22:03:13.282Z] Step 6/8 : WORKDIR /build [2021-07-15T22:03:13.565Z] ---> Running in df155c12f937 [2021-07-15T22:03:14.164Z] Removing intermediate container df155c12f937 [2021-07-15T22:03:14.164Z] ---> e4d9222298c8 [2021-07-15T22:03:14.164Z] Step 7/8 : COPY go.mod . [2021-07-15T22:03:14.766Z] ---> 20acb7a22184 [2021-07-15T22:03:14.766Z] Step 8/8 : RUN go mod download [2021-07-15T22:03:15.044Z] ---> Running in 3a60c261d2dd [2021-07-15T22:03:23.041Z] Removing intermediate container 889553dd04b8 [2021-07-15T22:03:23.042Z] ---> 23c98dde54ff [2021-07-15T22:03:23.042Z] Successfully built 23c98dde54ff [2021-07-15T22:03:23.042Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-15T22:03:23.403Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-15T22:03:23.403Z] . [Pipeline] withDockerContainer [2021-07-15T22:03:23.524Z] prd-centos7-docker-4c-2g-2991 does not seem to be running inside a container [2021-07-15T22:03:23.607Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@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 ******** -e ******** ci-base-image-x86_64 cat [2021-07-15T22:03:24.054Z] $ docker top ae562bc356685898101dbb93bc4b7d28894b4e0fee76a81d282e38b11b10b72b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-15T22:03:24.468Z] + go version [2021-07-15T22:03:24.468Z] go version go1.16.5 linux/amd64 [Pipeline] } [2021-07-15T22:03:24.484Z] $ docker stop --time=1 ae562bc356685898101dbb93bc4b7d28894b4e0fee76a81d282e38b11b10b72b [2021-07-15T22:03:25.686Z] $ docker rm -f ae562bc356685898101dbb93bc4b7d28894b4e0fee76a81d282e38b11b10b72b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-15T22:03:26.291Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-15T22:03:26.291Z] . [Pipeline] withDockerContainer [2021-07-15T22:03:26.391Z] prd-centos7-docker-4c-2g-2991 does not seem to be running inside a container [2021-07-15T22:03:26.459Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@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 ******** -e ******** ci-base-image-x86_64 cat [2021-07-15T22:03:26.820Z] $ docker top 1e30d7a884b44b755844dcea149a478673b76e91d44f257a45a97a6b031dd464 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-15T22:03:27.257Z] + go mod tidy [Pipeline] sh [2021-07-15T22:03:27.867Z] + make test [2021-07-15T22:03:27.867Z] make -C ./app-service-template build [2021-07-15T22:03:27.867Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-07-15T22:03:27.867Z] go mod tidy [2021-07-15T22:03:28.144Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-07-15T22:03:38.295Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-07-15T22:03:38.295Z] make -C ./app-service-template test [2021-07-15T22:03:38.295Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-07-15T22:03:38.295Z] go mod tidy [2021-07-15T22:03:38.295Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-07-15T22:03:41.891Z] Removing intermediate container 3a60c261d2dd [2021-07-15T22:03:41.891Z] ---> d13766fe9dc6 [2021-07-15T22:03:41.891Z] Successfully built d13766fe9dc6 [2021-07-15T22:03:41.891Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-15T22:03:42.238Z] + docker inspect -f . ci-base-image-arm64 [2021-07-15T22:03:42.238Z] . [Pipeline] withDockerContainer [2021-07-15T22:03:42.511Z] prd-ubuntu18.04-docker-arm64-4c-16g-2990 does not seem to be running inside a container [2021-07-15T22:03:42.606Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-07-15T22:03:44.375Z] $ docker top 8565fda266f301333a3b10b8c7b93778c8d5ddd246eb3c938e277a75e669e553 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-15T22:03:45.382Z] + go version [2021-07-15T22:03:45.382Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-07-15T22:03:45.404Z] $ docker stop --time=1 8565fda266f301333a3b10b8c7b93778c8d5ddd246eb3c938e277a75e669e553 [2021-07-15T22:03:46.654Z] ok new-app-service 0.015s coverage: 47.8% of statements [2021-07-15T22:03:46.654Z] ? new-app-service/config [no test files] [2021-07-15T22:03:46.654Z] ok new-app-service/functions 0.007s [2021-07-15T22:03:46.654Z] CGO_ENABLED=1 go vet ./... [2021-07-15T22:03:47.292Z] $ docker rm -f 8565fda266f301333a3b10b8c7b93778c8d5ddd246eb3c938e277a75e669e553 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-15T22:03:48.120Z] + docker inspect -f . ci-base-image-arm64 [2021-07-15T22:03:48.120Z] . [Pipeline] withDockerContainer [2021-07-15T22:03:48.396Z] prd-ubuntu18.04-docker-arm64-4c-16g-2990 does not seem to be running inside a container [2021-07-15T22:03:48.496Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-07-15T22:03:50.163Z] $ docker top 88be66e859592b173d71f0ac778ccb6db9bfc58734bfda7d698f569ec4214b3c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-15T22:03:51.147Z] + go mod tidy [Pipeline] sh [2021-07-15T22:03:52.424Z] + make test [2021-07-15T22:03:52.424Z] make -C ./app-service-template build [2021-07-15T22:03:52.424Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-07-15T22:03:52.424Z] go mod tidy [2021-07-15T22:03:53.113Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-07-15T22:03:54.934Z] gofmt -l . [2021-07-15T22:03:54.934Z] [ "`gofmt -l .`" = "" ] [2021-07-15T22:03:54.934Z] ./bin/test-attribution-txt.sh [2021-07-15T22:03:54.934Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-07-15T22:03:54.934Z] go mod tidy [2021-07-15T22:03:54.934Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-07-15T22:03:54.934Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-07-15T22:03:55.915Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.013s coverage: 63.6% of statements [2021-07-15T22:03:56.505Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.008s coverage: 96.5% of statements [2021-07-15T22:03:56.505Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-07-15T22:03:56.789Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.015s coverage: 61.8% of statements [2021-07-15T22:03:56.789Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-07-15T22:03:57.072Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.008s [2021-07-15T22:03:57.675Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.054s coverage: 74.5% of statements [2021-07-15T22:03:57.675Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-07-15T22:03:57.675Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-07-15T22:03:57.675Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-07-15T22:03:57.675Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-07-15T22:03:57.675Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-07-15T22:03:57.675Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-07-15T22:03:57.675Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.008s coverage: 97.1% of statements [2021-07-15T22:03:57.675Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-07-15T22:03:57.954Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.007s coverage: 10.5% of statements [2021-07-15T22:04:01.362Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.747s coverage: 76.1% of statements [2021-07-15T22:04:01.362Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-07-15T22:04:01.362Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.012s coverage: 12.5% of statements [2021-07-15T22:04:01.362Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.009s coverage: 27.3% of statements [2021-07-15T22:04:01.362Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-07-15T22:04:01.362Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-07-15T22:04:01.362Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.007s coverage: 51.4% of statements [2021-07-15T22:04:28.407Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.058s coverage: 78.0% of statements [2021-07-15T22:04:28.407Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.010s coverage: 94.4% of statements [2021-07-15T22:04:28.407Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-07-15T22:04:28.407Z] gofmt -l . [2021-07-15T22:04:28.407Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-07-15T22:04:28.420Z] $ docker stop --time=1 1e30d7a884b44b755844dcea149a478673b76e91d44f257a45a97a6b031dd464 [2021-07-15T22:04:29.674Z] $ docker rm -f 1e30d7a884b44b755844dcea149a478673b76e91d44f257a45a97a6b031dd464 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-15T22:04:30.138Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-15T22:04:30.459Z] 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 [2021-07-15T22:04:31.539Z] ---> job-cost.sh [2021-07-15T22:04:31.539Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-zfU8 [2021-07-15T22:04:32.211Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-07-15T22:04:32.211Z] make -C ./app-service-template test [2021-07-15T22:04:32.211Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-07-15T22:04:32.211Z] go mod tidy [2021-07-15T22:04:32.211Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-07-15T22:04:41.758Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-07-15T22:04:54.185Z] lf-activate-venv(): INFO: Adding /tmp/venv-zfU8/bin to PATH [2021-07-15T22:04:54.185Z] INFO: No Stack... [2021-07-15T22:04:54.777Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-15T22:04:55.368Z] INFO: Archiving Costs [Pipeline] sh [2021-07-15T22:04:55.709Z] + cat /w/workspace/app-functions-sdk-go/3/archives/cost.csv [2021-07-15T22:04:55.709Z] + cut -d, -f6 [Pipeline] lock [2021-07-15T22:04:55.755Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-3-stack-cost] [2021-07-15T22:04:55.764Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-3-stack-cost] did not exist. Created. [2021-07-15T22:04:55.764Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-15T22:04:56.126Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-07-15T22:04:56.215Z] Stashed 1 file(s) [Pipeline] } [2021-07-15T22:04:56.231Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-07-15T22:05:05.027Z] ok new-app-service 0.044s coverage: 47.8% of statements [2021-07-15T22:05:05.027Z] ? new-app-service/config [no test files] [2021-07-15T22:05:05.027Z] ok new-app-service/functions 0.038s [2021-07-15T22:05:05.027Z] CGO_ENABLED=1 go vet ./... [2021-07-15T22:05:32.046Z] gofmt -l . [2021-07-15T22:05:32.046Z] [ "`gofmt -l .`" = "" ] [2021-07-15T22:05:32.046Z] ./bin/test-attribution-txt.sh [2021-07-15T22:05:32.046Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-07-15T22:05:32.046Z] go mod tidy [2021-07-15T22:05:32.046Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-07-15T22:05:32.046Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-07-15T22:05:40.378Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.094s coverage: 63.6% of statements [2021-07-15T22:05:40.378Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.059s coverage: 96.5% of statements [2021-07-15T22:05:40.378Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-07-15T22:05:40.378Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.114s coverage: 61.8% of statements [2021-07-15T22:05:40.378Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-07-15T22:05:40.378Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.060s [2021-07-15T22:05:40.654Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.067s coverage: 74.5% of statements [2021-07-15T22:05:40.654Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-07-15T22:05:40.654Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-07-15T22:05:40.654Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-07-15T22:05:40.654Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-07-15T22:05:40.654Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-07-15T22:05:40.654Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-07-15T22:05:40.654Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.023s coverage: 97.1% of statements [2021-07-15T22:05:40.654Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-07-15T22:05:41.641Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.057s coverage: 10.5% of statements [2021-07-15T22:05:48.465Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.891s coverage: 76.1% of statements [2021-07-15T22:05:48.465Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-07-15T22:05:48.465Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.066s coverage: 12.5% of statements [2021-07-15T22:05:48.465Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.121s coverage: 27.3% of statements [2021-07-15T22:05:48.465Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-07-15T22:05:48.465Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-07-15T22:05:48.465Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.053s coverage: 51.4% of statements [2021-07-15T22:06:15.325Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.111s coverage: 78.0% of statements [2021-07-15T22:06:15.325Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.032s coverage: 94.4% of statements [2021-07-15T22:06:15.325Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-07-15T22:06:18.000Z] gofmt -l . [2021-07-15T22:06:18.000Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-07-15T22:06:18.375Z] $ docker stop --time=1 88be66e859592b173d71f0ac778ccb6db9bfc58734bfda7d698f569ec4214b3c [2021-07-15T22:06:20.431Z] $ docker rm -f 88be66e859592b173d71f0ac778ccb6db9bfc58734bfda7d698f569ec4214b3c [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-15T22:06:21.368Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-15T22:06:21.402Z] Warning: overwriting stash ‘coverage-report’ [2021-07-15T22:06:21.979Z] 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 [2021-07-15T22:06:22.649Z] ---> job-cost.sh [2021-07-15T22:06:22.649Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-yKx6 [2021-07-15T22:07:01.639Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-07-15T22:08:38.559Z] lf-activate-venv(): INFO: Adding /tmp/venv-yKx6/bin to PATH [2021-07-15T22:08:38.559Z] INFO: No Stack... [2021-07-15T22:08:38.559Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-07-15T22:08:38.559Z] INFO: Archiving Costs [Pipeline] sh [2021-07-15T22:08:38.918Z] + cat /w/workspace/app-functions-sdk-go/3/archives/cost.csv [2021-07-15T22:08:38.919Z] + cut -d, -f6 [Pipeline] lock [2021-07-15T22:08:38.989Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-3-stack-cost] [2021-07-15T22:08:39.000Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-3-stack-cost] did not exist. Created. [2021-07-15T22:08:39.000Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-15T22:08:39.371Z] /w/workspace/app-functions-sdk-go/3@tmp/durable-876f0007/script.sh: 1: /w/workspace/app-functions-sdk-go/3@tmp/durable-876f0007/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-07-15T22:08:39.721Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-07-15T22:08:39.754Z] Warning: overwriting stash ‘stack-cost’ [2021-07-15T22:08:39.921Z] Stashed 1 file(s) [Pipeline] } [2021-07-15T22:08:39.943Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-3-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] configFileProvider [2021-07-15T22:08:41.041Z] provisioning config files... [2021-07-15T22:08:41.056Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config1318136885511779169tmp [Pipeline] { [Pipeline] sh [2021-07-15T22:08:41.396Z] + set +x [2021-07-15T22:08:41.396Z] + bash -s -- [2021-07-15T22:08:41.396Z] + curl -s https://codecov.io/bash [2021-07-15T22:08:41.396Z] [2021-07-15T22:08:41.396Z] _____ _ [2021-07-15T22:08:41.396Z] / ____| | | [2021-07-15T22:08:41.396Z] | | ___ __| | ___ ___ _____ __ [2021-07-15T22:08:41.396Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-07-15T22:08:41.396Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-07-15T22:08:41.396Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-07-15T22:08:41.396Z] Bash-1.0.5 [2021-07-15T22:08:41.396Z] [2021-07-15T22:08:41.396Z] [2021-07-15T22:08:41.396Z] ==> git version 2.24.4 found [2021-07-15T22:08:41.396Z] ==> 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 [2021-07-15T22:08:41.396Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-07-15T22:08:41.396Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-07-15T22:08:41.396Z] ==> Jenkins CI detected. [2021-07-15T22:08:41.396Z] project root: . [2021-07-15T22:08:41.396Z] --> token set from env [2021-07-15T22:08:41.396Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-07-15T22:08:41.666Z] ==> Running gcov in . (disable via -X gcov) [2021-07-15T22:08:41.666Z] ==> Python coveragepy not found [2021-07-15T22:08:41.666Z] ==> Searching for coverage reports in: [2021-07-15T22:08:41.666Z] + . [2021-07-15T22:08:41.666Z] -> Found 2 reports [2021-07-15T22:08:41.666Z] ==> Detecting git/mercurial file structure [2021-07-15T22:08:41.666Z] ==> Reading reports [2021-07-15T22:08:41.666Z] + ./app-service-template/coverage.out bytes=1055 [2021-07-15T22:08:41.666Z] + ./coverage.out bytes=95181 [2021-07-15T22:08:41.666Z] ==> Appending adjustments [2021-07-15T22:08:41.666Z] https://docs.codecov.io/docs/fixing-reports [2021-07-15T22:08:41.935Z] + Found adjustments [2021-07-15T22:08:41.935Z] ==> Gzipping contents [2021-07-15T22:08:41.935Z] 20K /tmp/codecov.ioqFLb.gz [2021-07-15T22:08:41.935Z] ==> Uploading reports [2021-07-15T22:08:41.935Z] url: https://codecov.io [2021-07-15T22:08:41.935Z] query: branch=main&commit=83c633e0233ae448cbb5e6a8cef38b01a51a199b&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-07-15T22:08:41.935Z] -> Pinging Codecov [2021-07-15T22:08:41.935Z] https://codecov.io/upload/v4?package=bash-1.0.5&token=&package=bash-1.0.5&token=17ebf437-e483-4174-b11b-49c3772ebb45&branch=main&commit=83c633e0233ae448cbb5e6a8cef38b01a51a199b&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-07-15T22:08:42.523Z] -> Uploading to [2021-07-15T22:08:42.523Z] https://storage.googleapis.com/codecov/v4/raw/2021-07-15/3D8B5DFFC46A037C893635FACE044666/83c633e0233ae448cbb5e6a8cef38b01a51a199b/07c11f19-2412-4aaa-b9f0-be62c83ff405.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210715%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210715T220842Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a912f286600d9579c472adcbf53d281b09d9c32a6aa9597c83e7c3d4ba2bb50f [2021-07-15T22:08:42.523Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-07-15T22:08:42.523Z] Dload Upload Total Spent Left Speed [2021-07-15T22:08:42.794Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16445 0 0 100 16445 0 46399 --:--:-- --:--:-- --:--:-- 46323 [2021-07-15T22:08:42.794Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/83c633e0233ae448cbb5e6a8cef38b01a51a199b [Pipeline] } [2021-07-15T22:08:42.811Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-07-15T22:08:43.599Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-07-15T22:08:43.623Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-15T22:08:43.963Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-07-15T22:08:43.963Z] [2021-07-15T22:08:43.964Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-07-15T22:08:44.295Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-07-15T22:08:44.295Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-07-15T22:08:44.295Z] 188c0c94c7c5: Pulling fs layer [2021-07-15T22:08:44.295Z] 0ef7d3d256c8: Pulling fs layer [2021-07-15T22:08:44.295Z] de9db76c5a1d: Pulling fs layer [2021-07-15T22:08:44.295Z] 0eba1c9be4d2: Pulling fs layer [2021-07-15T22:08:44.295Z] 0d57e429df01: Pulling fs layer [2021-07-15T22:08:44.295Z] 4e4be7b47b0d: Pulling fs layer [2021-07-15T22:08:44.295Z] e1f770b5df2f: Pulling fs layer [2021-07-15T22:08:44.295Z] 85a0685a4137: Pulling fs layer [2021-07-15T22:08:44.295Z] 4e4be7b47b0d: Waiting [2021-07-15T22:08:44.295Z] e1f770b5df2f: Waiting [2021-07-15T22:08:44.295Z] 85a0685a4137: Waiting [2021-07-15T22:08:44.295Z] 0eba1c9be4d2: Waiting [2021-07-15T22:08:44.295Z] 0d57e429df01: Waiting [2021-07-15T22:08:44.593Z] de9db76c5a1d: Verifying Checksum [2021-07-15T22:08:44.593Z] de9db76c5a1d: Download complete [2021-07-15T22:08:44.593Z] 0ef7d3d256c8: Verifying Checksum [2021-07-15T22:08:44.593Z] 0ef7d3d256c8: Download complete [2021-07-15T22:08:44.593Z] 0d57e429df01: Verifying Checksum [2021-07-15T22:08:44.593Z] 0d57e429df01: Download complete [2021-07-15T22:08:44.593Z] 4e4be7b47b0d: Verifying Checksum [2021-07-15T22:08:44.593Z] 4e4be7b47b0d: Download complete [2021-07-15T22:08:44.593Z] 188c0c94c7c5: Verifying Checksum [2021-07-15T22:08:44.593Z] 188c0c94c7c5: Download complete [2021-07-15T22:08:44.860Z] 188c0c94c7c5: Pull complete [2021-07-15T22:08:44.860Z] 0ef7d3d256c8: Pull complete [2021-07-15T22:08:44.860Z] de9db76c5a1d: Pull complete [2021-07-15T22:08:46.812Z] e1f770b5df2f: Verifying Checksum [2021-07-15T22:08:46.812Z] e1f770b5df2f: Download complete [2021-07-15T22:08:51.079Z] 0eba1c9be4d2: Verifying Checksum [2021-07-15T22:08:51.079Z] 0eba1c9be4d2: Download complete [2021-07-15T22:08:51.079Z] 85a0685a4137: Verifying Checksum [2021-07-15T22:08:51.079Z] 85a0685a4137: Download complete [2021-07-15T22:08:53.806Z] 0eba1c9be4d2: Pull complete [2021-07-15T22:08:53.806Z] 0d57e429df01: Pull complete [2021-07-15T22:08:53.806Z] 4e4be7b47b0d: Pull complete [2021-07-15T22:08:54.395Z] e1f770b5df2f: Pull complete [2021-07-15T22:08:57.774Z] 85a0685a4137: Pull complete [2021-07-15T22:08:57.774Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-07-15T22:08:57.774Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-07-15T22:08:57.774Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-07-15T22:08:57.875Z] prd-centos7-docker-4c-2g-2989 does not seem to be running inside a container [2021-07-15T22:08:57.949Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-07-15T22:09:00.034Z] $ docker top d1b22a5ae27b6e98fb93f7cd51f8335648aee21d1b269ba46bff946835fad525 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-07-15T22:09:00.140Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-07-15T22:09:00.464Z] + set -o pipefail [2021-07-15T22:09:00.464Z] + snyk monitor '--org=edgex-jenkins' [2021-07-15T22:09:07.145Z] [2021-07-15T22:09:07.145Z] Monitoring /w/workspace/oundry_app-functions-sdk-go_main (github.com/edgexfoundry/app-functions-sdk-go/v2)... [2021-07-15T22:09:07.145Z] [2021-07-15T22:09:07.145Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/d48da0eb-b6a6-4dc9-a2f0-bb8d7430ebf7 [2021-07-15T22:09:07.145Z] [2021-07-15T22:09:07.145Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-07-15T22:09:07.145Z] [2021-07-15T22:09:07.145Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-07-15T22:09:07.145Z] [2021-07-15T22:09:07.145Z] [Pipeline] } [2021-07-15T22:09:07.162Z] $ docker stop --time=1 d1b22a5ae27b6e98fb93f7cd51f8335648aee21d1b269ba46bff946835fad525 [2021-07-15T22:09:09.094Z] $ docker rm -f d1b22a5ae27b6e98fb93f7cd51f8335648aee21d1b269ba46bff946835fad525 [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 [2021-07-15T22:09:09.753Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-15T22:09:09.771Z] provisioning config files... [2021-07-15T22:09:09.802Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config7119294753452226414tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-15T22:09:10.168Z] --> edgex-publish-swagger.sh [2021-07-15T22:09:10.168Z] === Publish openapi/v2 API === [2021-07-15T22:09:10.168Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-07-15T22:09:10.168Z] [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/oundry_app-functions-sdk-go_main/openapi/v2/app-functions-sdk.yaml] [2021-07-15T22:09:10.168Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-07-15T22:09:10.168Z] Dload Upload Total Spent Left Speed [2021-07-15T22:09:11.716Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13054 0 0 100 13054 0 10837 0:00:01 0:00:01 --:--:-- 10842 100 13054 0 0 100 13054 0 7935 0:00:01 0:00:01 --:--:-- 7935 100 13054 0 0 100 13054 0 7934 0:00:01 0:00:01 --:--:-- 7935 [2021-07-15T22:09:11.716Z] [2021-07-15T22:09:11.716Z] [Pipeline] } [2021-07-15T22:09:11.729Z] 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 [2021-07-15T22:09:12.287Z] + git log --format=format:%s -1 83c633e0233ae448cbb5e6a8cef38b01a51a199b [Pipeline] isUnix [Pipeline] sh [2021-07-15T22:09:12.625Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-15T22:09:12.626Z] . [Pipeline] withDockerContainer [2021-07-15T22:09:12.722Z] prd-centos7-docker-4c-2g-2989 does not seem to be running inside a container [2021-07-15T22:09:12.786Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@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:10004/edgex-devops/git-semver:latest cat [2021-07-15T22:09:13.248Z] $ docker top 8a4cfe5a1bd88d25e0469fd15358a06972c64b3b70aea3f355c6572c1628c2b8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-15T22:09:13.413Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-15T22:09:13.413Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-15T22:09:13.550Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-15T22:09:13.551Z] $ docker exec 8a4cfe5a1bd88d25e0469fd15358a06972c64b3b70aea3f355c6572c1628c2b8 ssh-agent [2021-07-15T22:09:13.690Z] SSH_AUTH_SOCK=/tmp/ssh-pQEqXgaDnUhu/agent.14 [2021-07-15T22:09:13.690Z] SSH_AGENT_PID=21 [2021-07-15T22:09:13.701Z] Running ssh-add (command line suppressed) [2021-07-15T22:09:13.812Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_6714660667259438765.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_6714660667259438765.key) [2021-07-15T22:09:13.839Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-15T22:09:14.169Z] + git semver tag [2021-07-15T22:09:14.169Z] # -> Open(): unable to determine branch for HEAD [2021-07-15T22:09:14.169Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2021-07-15T22:09:14.169Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2021-07-15T22:09:14.169Z] # $SEMVER_REMOTE_NAME = origin [2021-07-15T22:09:14.169Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-15T22:09:14.169Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-15T22:09:14.169Z] # $SEMVER_BRANCH = main [2021-07-15T22:09:14.169Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [2021-07-15T22:09:14.169Z] # 83c633e0233ae448cbb5e6a8cef38b01a51a199b HEAD [2021-07-15T22:09:14.169Z] # -> Force: false [2021-07-15T22:09:14.169Z] # ac762925e5a0026ca1c1e98d0147d6b214e216f5 refs/tags/v2.0.1-dev.4 [Pipeline] } [2021-07-15T22:09:14.180Z] $ docker exec --env ******** --env ******** 8a4cfe5a1bd88d25e0469fd15358a06972c64b3b70aea3f355c6572c1628c2b8 ssh-agent -k [2021-07-15T22:09:14.291Z] unset SSH_AUTH_SOCK; [2021-07-15T22:09:14.291Z] unset SSH_AGENT_PID; [2021-07-15T22:09:14.291Z] echo Agent pid 21 killed; [2021-07-15T22:09:14.316Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-15T22:09:14.676Z] + git semver [Pipeline] } [2021-07-15T22:09:14.693Z] $ docker stop --time=1 8a4cfe5a1bd88d25e0469fd15358a06972c64b3b70aea3f355c6572c1628c2b8 [2021-07-15T22:09:15.921Z] $ docker rm -f 8a4cfe5a1bd88d25e0469fd15358a06972c64b3b70aea3f355c6572c1628c2b8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-07-15T22:09:16.515Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-07-15T22:09:16.515Z] [2021-07-15T22:09:16.515Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-07-15T22:09:16.888Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-07-15T22:09:16.889Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-07-15T22:09:16.889Z] ab5ef0e58194: Pulling fs layer [2021-07-15T22:09:16.889Z] 9712f1f96733: Pulling fs layer [2021-07-15T22:09:16.889Z] 63f879dbbcfc: Pulling fs layer [2021-07-15T22:09:16.889Z] 0d9ebad4ef96: Pulling fs layer [2021-07-15T22:09:16.889Z] e9a5061849ea: Pulling fs layer [2021-07-15T22:09:16.889Z] d747dcd14b5f: Pulling fs layer [2021-07-15T22:09:16.889Z] 2de7ff778b66: Pulling fs layer [2021-07-15T22:09:16.889Z] 0d9ebad4ef96: Waiting [2021-07-15T22:09:16.889Z] e9a5061849ea: Waiting [2021-07-15T22:09:16.889Z] d747dcd14b5f: Waiting [2021-07-15T22:09:16.889Z] 2de7ff778b66: Waiting [2021-07-15T22:09:16.889Z] 9712f1f96733: Verifying Checksum [2021-07-15T22:09:16.889Z] 9712f1f96733: Download complete [2021-07-15T22:09:19.495Z] 63f879dbbcfc: Verifying Checksum [2021-07-15T22:09:19.495Z] 63f879dbbcfc: Download complete [2021-07-15T22:09:20.461Z] 0d9ebad4ef96: Verifying Checksum [2021-07-15T22:09:20.461Z] 0d9ebad4ef96: Download complete [2021-07-15T22:09:20.461Z] d747dcd14b5f: Verifying Checksum [2021-07-15T22:09:20.461Z] d747dcd14b5f: Download complete [2021-07-15T22:09:20.737Z] e9a5061849ea: Verifying Checksum [2021-07-15T22:09:20.737Z] e9a5061849ea: Download complete [2021-07-15T22:09:20.737Z] ab5ef0e58194: Download complete [2021-07-15T22:09:21.006Z] 2de7ff778b66: Verifying Checksum [2021-07-15T22:09:21.006Z] 2de7ff778b66: Download complete [2021-07-15T22:09:23.617Z] ab5ef0e58194: Pull complete [2021-07-15T22:09:23.617Z] 9712f1f96733: Pull complete [2021-07-15T22:09:24.613Z] 63f879dbbcfc: Pull complete [2021-07-15T22:09:28.007Z] 0d9ebad4ef96: Pull complete [2021-07-15T22:09:28.279Z] e9a5061849ea: Pull complete [2021-07-15T22:09:28.279Z] d747dcd14b5f: Pull complete [2021-07-15T22:09:29.715Z] 2de7ff778b66: Pull complete [2021-07-15T22:09:29.715Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-07-15T22:09:29.715Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-07-15T22:09:29.715Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-07-15T22:09:29.824Z] prd-centos7-docker-4c-2g-2989 does not seem to be running inside a container [2021-07-15T22:09:29.906Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@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-lftools:0.23.1-centos7 cat [2021-07-15T22:09:33.079Z] $ docker top 361afc5f7771bb103b66afdeeb9ca1c43ee00704f6b5333be37e70375573099b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-07-15T22:09:33.199Z] provisioning config files... [2021-07-15T22:09:33.212Z] copy managed file [sigul-config] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config8864751342705019917tmp [2021-07-15T22:09:33.235Z] copy managed file [sigul-password] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config8281859558920200909tmp [2021-07-15T22:09:33.273Z] copy managed file [sigul-pki] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config5015635592647463099tmp [Pipeline] { [Pipeline] echo [2021-07-15T22:09:33.302Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-15T22:09:33.625Z] ---> sigul-configuration.sh [2021-07-15T22:09:33.625Z] gpg: directory `/root/.gnupg' created [2021-07-15T22:09:33.625Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-07-15T22:09:33.626Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-07-15T22:09:33.626Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-07-15T22:09:33.626Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-07-15T22:09:33.626Z] gpg: CAST5 encrypted data [2021-07-15T22:09:33.626Z] gpg: encrypted with 1 passphrase [2021-07-15T22:09:33.626Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-07-15T22:09:33.964Z] + mkdir /home/jenkins [2021-07-15T22:09:33.964Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-07-15T22:09:34.323Z] + 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 [2021-07-15T22:09:34.338Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-15T22:09:34.659Z] ---> sigul-install.sh [2021-07-15T22:09:41.319Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-07-15T22:09:41.640Z] + git tag --list [2021-07-15T22:09:41.640Z] v0.1.0 [2021-07-15T22:09:41.640Z] v0.1.1 [2021-07-15T22:09:41.640Z] v1.0.0 [2021-07-15T22:09:41.640Z] v1.1.0 [2021-07-15T22:09:41.640Z] v1.2.0 [2021-07-15T22:09:41.640Z] v1.3.0 [2021-07-15T22:09:41.640Z] v1.3.1 [2021-07-15T22:09:41.640Z] v2.0.0 [2021-07-15T22:09:41.640Z] v2.0.1-dev.1 [2021-07-15T22:09:41.640Z] v2.0.1-dev.2 [2021-07-15T22:09:41.640Z] v2.0.1-dev.3 [2021-07-15T22:09:41.640Z] v2.0.1-dev.4 [Pipeline] sh [2021-07-15T22:09:41.958Z] + lftools sign git-tag v2.0.1-dev.4 [2021-07-15T22:09:42.546Z] Signing Git tag with Sigul... [2021-07-15T22:09:42.546Z] Signing v2.0.1-dev.4 [Pipeline] echo [2021-07-15T22:09:43.527Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-15T22:09:43.843Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-07-15T22:09:43.861Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-07-15T22:09:43.892Z] $ docker stop --time=1 361afc5f7771bb103b66afdeeb9ca1c43ee00704f6b5333be37e70375573099b [2021-07-15T22:09:45.409Z] $ docker rm -f 361afc5f7771bb103b66afdeeb9ca1c43ee00704f6b5333be37e70375573099b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-07-15T22:09:46.162Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-15T22:09:46.162Z] . [Pipeline] withDockerContainer [2021-07-15T22:09:46.269Z] prd-centos7-docker-4c-2g-2989 does not seem to be running inside a container [2021-07-15T22:09:46.338Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@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:10004/edgex-devops/git-semver:latest cat [2021-07-15T22:09:46.800Z] $ docker top 6a2d70401a9a92f2c599cbda547bb055f6f56758a80eee47da7bb7cb9c460eea -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-15T22:09:46.984Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-15T22:09:46.984Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-15T22:09:47.126Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-15T22:09:47.124Z] $ docker exec 6a2d70401a9a92f2c599cbda547bb055f6f56758a80eee47da7bb7cb9c460eea ssh-agent [2021-07-15T22:09:47.268Z] SSH_AUTH_SOCK=/tmp/ssh-yf6QiYngAJhi/agent.14 [2021-07-15T22:09:47.268Z] SSH_AGENT_PID=21 [2021-07-15T22:09:47.277Z] Running ssh-add (command line suppressed) [2021-07-15T22:09:47.390Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_4573245343617174297.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_4573245343617174297.key) [2021-07-15T22:09:47.418Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-15T22:09:47.732Z] + git semver bump pre [2021-07-15T22:09:47.732Z] # -> Open(): unable to determine branch for HEAD [2021-07-15T22:09:47.732Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2021-07-15T22:09:47.732Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2021-07-15T22:09:47.732Z] # $SEMVER_REMOTE_NAME = origin [2021-07-15T22:09:47.732Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-15T22:09:47.732Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-15T22:09:47.732Z] # $SEMVER_BRANCH = main [2021-07-15T22:09:47.732Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [2021-07-15T22:09:47.732Z] 2.0.1-dev.5 [Pipeline] } [2021-07-15T22:09:47.745Z] $ docker exec --env ******** --env ******** 6a2d70401a9a92f2c599cbda547bb055f6f56758a80eee47da7bb7cb9c460eea ssh-agent -k [2021-07-15T22:09:47.862Z] unset SSH_AUTH_SOCK; [2021-07-15T22:09:47.862Z] unset SSH_AGENT_PID; [2021-07-15T22:09:47.862Z] echo Agent pid 21 killed; [2021-07-15T22:09:47.890Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-15T22:09:48.246Z] + git semver [Pipeline] } [2021-07-15T22:09:48.267Z] $ docker stop --time=1 6a2d70401a9a92f2c599cbda547bb055f6f56758a80eee47da7bb7cb9c460eea [2021-07-15T22:09:49.496Z] $ docker rm -f 6a2d70401a9a92f2c599cbda547bb055f6f56758a80eee47da7bb7cb9c460eea [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-07-15T22:09:49.969Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-15T22:09:49.969Z] . [Pipeline] withDockerContainer [2021-07-15T22:09:50.495Z] prd-centos7-docker-4c-2g-2989 does not seem to be running inside a container [2021-07-15T22:09:50.637Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@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:10004/edgex-devops/git-semver:latest cat [2021-07-15T22:09:51.076Z] $ docker top d06aad9fd62330a338c3b498ccc71f9b37e82542324f2708c419611548c71993 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-15T22:09:51.214Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-15T22:09:51.214Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-15T22:09:51.348Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-15T22:09:51.347Z] $ docker exec d06aad9fd62330a338c3b498ccc71f9b37e82542324f2708c419611548c71993 ssh-agent [2021-07-15T22:09:51.478Z] SSH_AUTH_SOCK=/tmp/ssh-GWiRBw9dNzn6/agent.13 [2021-07-15T22:09:51.478Z] SSH_AGENT_PID=20 [2021-07-15T22:09:51.487Z] Running ssh-add (command line suppressed) [2021-07-15T22:09:51.599Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_4690663079848318338.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_4690663079848318338.key) [2021-07-15T22:09:51.633Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-15T22:09:51.972Z] + git semver push [2021-07-15T22:09:51.973Z] # -> Open(): unable to determine branch for HEAD [2021-07-15T22:09:51.973Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2021-07-15T22:09:51.973Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2021-07-15T22:09:51.973Z] # $SEMVER_REMOTE_NAME = origin [2021-07-15T22:09:51.973Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-15T22:09:51.973Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-15T22:09:51.973Z] # $SEMVER_BRANCH = main [2021-07-15T22:09:51.973Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [Pipeline] } [2021-07-15T22:09:57.339Z] $ docker exec --env ******** --env ******** d06aad9fd62330a338c3b498ccc71f9b37e82542324f2708c419611548c71993 ssh-agent -k [2021-07-15T22:09:57.446Z] unset SSH_AUTH_SOCK; [2021-07-15T22:09:57.448Z] unset SSH_AGENT_PID; [2021-07-15T22:09:57.448Z] echo Agent pid 20 killed; [2021-07-15T22:09:57.471Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-15T22:09:57.821Z] + git semver [Pipeline] } [2021-07-15T22:09:57.838Z] $ docker stop --time=1 d06aad9fd62330a338c3b498ccc71f9b37e82542324f2708c419611548c71993 [2021-07-15T22:09:59.024Z] $ docker rm -f d06aad9fd62330a338c3b498ccc71f9b37e82542324f2708c419611548c71993 [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 [2021-07-15T22:10:00.464Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-15T22:10:01.055Z] ---> package-listing.sh [2021-07-15T22:10:01.055Z] ++ tr '[:upper:]' '[:lower:]' [2021-07-15T22:10:01.055Z] ++ facter osfamily [2021-07-15T22:10:01.324Z] + OS_FAMILY=redhat [2021-07-15T22:10:01.324Z] + workspace=/w/workspace/oundry_app-functions-sdk-go_main [2021-07-15T22:10:01.324Z] + START_PACKAGES=/tmp/packages_start.txt [2021-07-15T22:10:01.324Z] + END_PACKAGES=/tmp/packages_end.txt [2021-07-15T22:10:01.324Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-07-15T22:10:01.324Z] + PACKAGES=/tmp/packages_start.txt [2021-07-15T22:10:01.324Z] + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' [2021-07-15T22:10:01.324Z] + PACKAGES=/tmp/packages_end.txt [2021-07-15T22:10:01.324Z] + case "${OS_FAMILY}" in [2021-07-15T22:10:01.324Z] + sort [2021-07-15T22:10:01.324Z] + rpm -qa [2021-07-15T22:10:01.908Z] + '[' -f /tmp/packages_start.txt ']' [2021-07-15T22:10:01.908Z] + '[' -f /tmp/packages_end.txt ']' [2021-07-15T22:10:01.908Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-07-15T22:10:01.908Z] + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' [2021-07-15T22:10:01.908Z] + mkdir -p /w/workspace/oundry_app-functions-sdk-go_main/archives/ [2021-07-15T22:10:01.908Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_app-functions-sdk-go_main/archives/ [Pipeline] echo [2021-07-15T22:10:01.930Z] 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/oundry_app-functions-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-07-15T22:10:02.236Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-07-15T22:10:02.826Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-15T22:10:02.827Z] [2021-07-15T22:10:02.827Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-07-15T22:10:03.163Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-15T22:10:03.163Z] alpine: Pulling from edgex-lftools-log-publisher [2021-07-15T22:10:03.163Z] 5843afab3874: Pulling fs layer [2021-07-15T22:10:03.163Z] 2dfaacf7024e: Pulling fs layer [2021-07-15T22:10:03.163Z] 2dbba127c6aa: Pulling fs layer [2021-07-15T22:10:03.163Z] 1a467efa2204: Pulling fs layer [2021-07-15T22:10:03.163Z] 865369a531d5: Pulling fs layer [2021-07-15T22:10:03.163Z] 2dc3bafdbf1c: Pulling fs layer [2021-07-15T22:10:03.163Z] 9ac237eaa80d: Pulling fs layer [2021-07-15T22:10:03.163Z] 6bcad4ecc5c2: Pulling fs layer [2021-07-15T22:10:03.163Z] 7074353bde3e: Pulling fs layer [2021-07-15T22:10:03.163Z] 2dc3bafdbf1c: Waiting [2021-07-15T22:10:03.163Z] 9ac237eaa80d: Waiting [2021-07-15T22:10:03.163Z] 6bcad4ecc5c2: Waiting [2021-07-15T22:10:03.163Z] 7074353bde3e: Waiting [2021-07-15T22:10:03.163Z] 1a467efa2204: Waiting [2021-07-15T22:10:03.163Z] 865369a531d5: Waiting [2021-07-15T22:10:03.163Z] 2dfaacf7024e: Verifying Checksum [2021-07-15T22:10:03.163Z] 2dfaacf7024e: Download complete [2021-07-15T22:10:03.432Z] 1a467efa2204: Verifying Checksum [2021-07-15T22:10:03.432Z] 1a467efa2204: Download complete [2021-07-15T22:10:03.432Z] 5843afab3874: Verifying Checksum [2021-07-15T22:10:03.432Z] 5843afab3874: Download complete [2021-07-15T22:10:03.432Z] 2dc3bafdbf1c: Verifying Checksum [2021-07-15T22:10:03.432Z] 2dc3bafdbf1c: Download complete [2021-07-15T22:10:03.432Z] 9ac237eaa80d: Verifying Checksum [2021-07-15T22:10:03.432Z] 9ac237eaa80d: Download complete [2021-07-15T22:10:03.703Z] 865369a531d5: Verifying Checksum [2021-07-15T22:10:03.703Z] 865369a531d5: Download complete [2021-07-15T22:10:03.703Z] 6bcad4ecc5c2: Verifying Checksum [2021-07-15T22:10:03.703Z] 6bcad4ecc5c2: Download complete [2021-07-15T22:10:03.703Z] 5843afab3874: Pull complete [2021-07-15T22:10:03.968Z] 2dfaacf7024e: Pull complete [2021-07-15T22:10:04.238Z] 2dbba127c6aa: Verifying Checksum [2021-07-15T22:10:04.238Z] 2dbba127c6aa: Download complete [2021-07-15T22:10:04.821Z] 2dbba127c6aa: Pull complete [2021-07-15T22:10:04.821Z] 1a467efa2204: Pull complete [2021-07-15T22:10:04.821Z] 865369a531d5: Pull complete [2021-07-15T22:10:05.088Z] 2dc3bafdbf1c: Pull complete [2021-07-15T22:10:05.088Z] 9ac237eaa80d: Pull complete [2021-07-15T22:10:05.088Z] 6bcad4ecc5c2: Pull complete [2021-07-15T22:10:07.666Z] 7074353bde3e: Verifying Checksum [2021-07-15T22:10:07.666Z] 7074353bde3e: Download complete [2021-07-15T22:10:12.117Z] 7074353bde3e: Pull complete [2021-07-15T22:10:12.117Z] Digest: sha256:2a5174b1bc71a2b706ed38de5c718fca755e8a1691f7904ed9ba2ee036070238 [2021-07-15T22:10:12.117Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-15T22:10:12.117Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-07-15T22:10:12.220Z] prd-centos7-docker-4c-2g-2989 does not seem to be running inside a container [2021-07-15T22:10:12.390Z] $ 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/oundry_app-functions-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@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-lftools-log-publisher:alpine cat [2021-07-15T22:10:14.172Z] $ docker top a5e7e15451af67c5ffa723cbff7a1b16a38629c2f32da1451aefaba12c3f47b5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-15T22:10:14.587Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-07-15T22:10:14.901Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-07-15T22:10:15.220Z] + ls /var/log/sa-host [2021-07-15T22:10:15.220Z] + sadf -c /var/log/sa-host/sa05 [2021-07-15T22:10:15.220Z] file_magic: OK [2021-07-15T22:10:15.220Z] HZ: Using current value: 100 [2021-07-15T22:10:15.220Z] file_header: OK [2021-07-15T22:10:15.220Z] 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 [2021-07-15T22:10:15.220Z] Statistics: [2021-07-15T22:10:15.220Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-15T22:10:15.220Z] File successfully converted to sysstat format version 12.5.4 [2021-07-15T22:10:15.220Z] + sadf -c /var/log/sa-host/sa15 [2021-07-15T22:10:15.220Z] file_magic: OK [2021-07-15T22:10:15.220Z] HZ: Using current value: 100 [2021-07-15T22:10:15.220Z] file_header: OK [2021-07-15T22:10:15.220Z] 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 [2021-07-15T22:10:15.220Z] Statistics: [2021-07-15T22:10:15.220Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-15T22:10:15.220Z] File successfully converted to sysstat format version 12.5.4 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-15T22:10:15.975Z] provisioning config files... [2021-07-15T22:10:15.997Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config9020536054838646925tmp [Pipeline] { [Pipeline] echo [2021-07-15T22:10:16.021Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-15T22:10:16.333Z] ---> create-netrc.sh [Pipeline] } [2021-07-15T22:10:16.346Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-07-15T22:10:16.753Z] ---> python-tools-install.sh [Pipeline] echo [2021-07-15T22:10:16.767Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-15T22:10:17.086Z] ---> sudo-logs.sh [2021-07-15T22:10:17.086Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-07-15T22:10:17.125Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-15T22:10:17.441Z] ---> job-cost.sh [2021-07-15T22:10:17.441Z] lf-activate-venv: SKIPPING [2021-07-15T22:10:17.441Z] DEBUG: total: 0.18000000715255737 [2021-07-15T22:10:17.441Z] INFO: Retrieving Stack Cost... [2021-07-15T22:10:18.405Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-15T22:10:18.673Z] INFO: Archiving Costs [Pipeline] echo [2021-07-15T22:10:18.691Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-15T22:10:19.015Z] ---> logs-deploy.sh [2021-07-15T22:10:19.015Z] lf-activate-venv: SKIPPING [2021-07-15T22:10:19.015Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/main/3 [2021-07-15T22:10:19.015Z] INFO: archiving workspace using pattern(s): [2021-07-15T22:10:19.603Z] Archives upload complete. [2021-07-15T22:10:19.870Z] INFO: archiving logs to Nexus