Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 76558247ef558a621c6cde6dc216633300cc3d0c 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-ssh6241372808029031719.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-ssh5008758681745257552.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-ssh3612429720599473426.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-ssh4765276816637555050.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-ssh6932037391724799467.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 Waiting for next available executor Running on prd-centos7-docker-4c-2g-25 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-ssh1192007057376495189.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 76558247ef558a621c6cde6dc216633300cc3d0c (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 76558247ef558a621c6cde6dc216633300cc3d0c # timeout=10 Commit message: "fix: Change V2 Swagger API version to 2.0.0 (#918)" > git rev-list --no-walk b10469f13584187c4bd7f7cff58f5aa0259e83b1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-07-13T22:24:31.800Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-07-13T22:24:31.916Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-13T22:24:31.943Z] ========================================================= [2021-07-13T22:24:31.943Z] EdgeX Global Pipelines Version Info [2021-07-13T22:24:31.943Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-07-13T22:24:33.193Z] ------------------- [2021-07-13T22:24:33.193Z] stable info: [2021-07-13T22:24:33.193Z] ------------------- [2021-07-13T22:24:33.193Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-07-13T22:24:33.193Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-13T22:24:33.193Z] Message: update stable to v1.0.196 [2021-07-13T22:24:33.776Z] ------------------- [2021-07-13T22:24:33.776Z] experimental info: [2021-07-13T22:24:33.776Z] ------------------- [2021-07-13T22:24:33.776Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-07-13T22:24:33.776Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-13T22:24:33.776Z] Message: update experimental to v1.0.196 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-07-13T22:24:33.907Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-07-13T22:24:33.930Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-07-13T22:24:33.952Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-07-13T22:24:33.976Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-07-13T22:24:33.998Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-07-13T22:24:34.020Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-07-13T22:24:34.042Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-07-13T22:24:34.064Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-07-13T22:24:34.086Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-07-13T22:24:34.109Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-07-13T22:24:34.143Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-07-13T22:24:34.177Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2021-07-13T22:24:34.199Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-07-13T22:24:34.222Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-07-13T22:24:34.244Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-07-13T22:24:34.267Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-07-13T22:24:34.290Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-07-13T22:24:34.313Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-07-13T22:24:34.335Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-07-13T22:24:34.356Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-07-13T22:24:34.377Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-07-13T22:24:34.399Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-07-13T22:24:34.421Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-07-13T22:24:34.443Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-07-13T22:24:34.468Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-07-13T22:24:34.491Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-07-13T22:24:34.513Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-07-13T22:24:34.536Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-07-13T22:24:34.558Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-07-13T22:24:34.581Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 76558247ef558a621c6cde6dc216633300cc3d0c [Pipeline] echo [2021-07-13T22:24:34.603Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7655824 [Pipeline] echo [2021-07-13T22:24:34.624Z] [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-13T22:24:35.109Z] + git log --format=format:%s -1 76558247ef558a621c6cde6dc216633300cc3d0c [Pipeline] echo [2021-07-13T22:24:35.148Z] GIT_COMMIT: 76558247ef558a621c6cde6dc216633300cc3d0c, Commit Message: fix: Change V2 Swagger API version to 2.0.0 (#918) [Pipeline] echo [2021-07-13T22:24:35.162Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-07-13T22:24:35.904Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-13T22:24:35.904Z] [2021-07-13T22:24:35.904Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-07-13T22:24:36.228Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-13T22:24:36.228Z] latest: Pulling from edgex-devops/git-semver [2021-07-13T22:24:36.228Z] 31603596830f: Pulling fs layer [2021-07-13T22:24:36.228Z] b6dc333f4379: Pulling fs layer [2021-07-13T22:24:36.228Z] 3d9ef1400e77: Pulling fs layer [2021-07-13T22:24:36.228Z] fd332fbdc1db: Pulling fs layer [2021-07-13T22:24:36.228Z] fd332fbdc1db: Waiting [2021-07-13T22:24:36.228Z] b6dc333f4379: Verifying Checksum [2021-07-13T22:24:36.228Z] b6dc333f4379: Download complete [2021-07-13T22:24:36.514Z] 31603596830f: Verifying Checksum [2021-07-13T22:24:36.514Z] 31603596830f: Download complete [2021-07-13T22:24:36.514Z] fd332fbdc1db: Verifying Checksum [2021-07-13T22:24:36.514Z] fd332fbdc1db: Download complete [2021-07-13T22:24:36.514Z] 3d9ef1400e77: Verifying Checksum [2021-07-13T22:24:36.514Z] 3d9ef1400e77: Download complete [2021-07-13T22:24:36.777Z] 31603596830f: Pull complete [2021-07-13T22:24:36.777Z] b6dc333f4379: Pull complete [2021-07-13T22:24:37.359Z] 3d9ef1400e77: Pull complete [2021-07-13T22:24:37.620Z] fd332fbdc1db: Pull complete [2021-07-13T22:24:37.620Z] Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 [2021-07-13T22:24:37.620Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-13T22:24:37.620Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-07-13T22:24:37.712Z] prd-centos7-docker-4c-2g-25 does not seem to be running inside a container [2021-07-13T22:24:37.756Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-13T22:24:38.673Z] $ docker top b3c52296229ee4d162fd0c01f34b06ad218f6c4c8be025087af77c9b55c927b5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-13T22:24:38.843Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-13T22:24:38.843Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-13T22:24:38.978Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-13T22:24:38.981Z] $ docker exec b3c52296229ee4d162fd0c01f34b06ad218f6c4c8be025087af77c9b55c927b5 ssh-agent [2021-07-13T22:24:39.116Z] SSH_AUTH_SOCK=/tmp/ssh-LOlQlRbcwJC2/agent.13 [2021-07-13T22:24:39.116Z] SSH_AGENT_PID=19 [2021-07-13T22:24:39.128Z] Running ssh-add (command line suppressed) [2021-07-13T22:24:39.259Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_176345438561311523.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_176345438561311523.key) [2021-07-13T22:24:39.280Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-13T22:24:39.591Z] + git tag --points-at HEAD [Pipeline] } [2021-07-13T22:24:39.603Z] $ docker exec --env ******** --env ******** b3c52296229ee4d162fd0c01f34b06ad218f6c4c8be025087af77c9b55c927b5 ssh-agent -k [2021-07-13T22:24:39.722Z] unset SSH_AUTH_SOCK; [2021-07-13T22:24:39.722Z] unset SSH_AGENT_PID; [2021-07-13T22:24:39.722Z] echo Agent pid 19 killed; [2021-07-13T22:24:39.736Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-07-13T22:24:39.791Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-13T22:24:39.791Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-13T22:24:39.933Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-13T22:24:39.933Z] $ docker exec b3c52296229ee4d162fd0c01f34b06ad218f6c4c8be025087af77c9b55c927b5 ssh-agent [2021-07-13T22:24:40.054Z] SSH_AUTH_SOCK=/tmp/ssh-0Ebxwt7wdsG1/agent.53 [2021-07-13T22:24:40.054Z] SSH_AGENT_PID=60 [2021-07-13T22:24:40.060Z] Running ssh-add (command line suppressed) [2021-07-13T22:24:40.158Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_4092772299595281760.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_4092772299595281760.key) [2021-07-13T22:24:40.178Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-13T22:24:40.482Z] + git semver init [2021-07-13T22:24:40.482Z] # -> Open(): unable to determine branch for HEAD [2021-07-13T22:24:40.482Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2021-07-13T22:24:40.482Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2021-07-13T22:24:40.482Z] # $SEMVER_REMOTE_NAME = origin [2021-07-13T22:24:40.482Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-13T22:24:40.482Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-13T22:24:40.482Z] # $SEMVER_BRANCH = main [2021-07-13T22:24:40.482Z] # $SEMVER_TEMP = /tmp/semver-243724935 [2021-07-13T22:24:40.482Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-07-13T22:24:42.403Z] # '/tmp/semver-243724935' -> '/w/workspace/oundry_app-functions-sdk-go_main/.semver' [2021-07-13T22:24:42.403Z] # -> Force: false [2021-07-13T22:24:42.403Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [Pipeline] } [2021-07-13T22:24:42.414Z] $ docker exec --env ******** --env ******** b3c52296229ee4d162fd0c01f34b06ad218f6c4c8be025087af77c9b55c927b5 ssh-agent -k [2021-07-13T22:24:42.501Z] unset SSH_AUTH_SOCK; [2021-07-13T22:24:42.502Z] unset SSH_AGENT_PID; [2021-07-13T22:24:42.502Z] echo Agent pid 60 killed; [2021-07-13T22:24:42.516Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-13T22:24:42.874Z] + git semver [Pipeline] } [2021-07-13T22:24:42.887Z] $ docker stop --time=1 b3c52296229ee4d162fd0c01f34b06ad218f6c4c8be025087af77c9b55c927b5 [2021-07-13T22:24:44.187Z] $ docker rm -f b3c52296229ee4d162fd0c01f34b06ad218f6c4c8be025087af77c9b55c927b5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-13T22:24:44.558Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-07-13T22:24:44.818Z] Stashed 1 file(s) [Pipeline] echo [2021-07-13T22:24:44.823Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.3 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-07-13T22:25:00.131Z] Still waiting to schedule task [2021-07-13T22:25:00.131Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-25’ [2021-07-13T22:25:00.134Z] Still waiting to schedule task [2021-07-13T22:25:00.134Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-07-13T22:27:02.818Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-26 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws [2021-07-13T22:27:02.836Z] Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-07-13T22:27:03.012Z] The recommended git tool is: git [2021-07-13T22:27:07.885Z] using credential edgex-jenkins-ssh [2021-07-13T22:27:07.904Z] Cloning the remote Git repository [2021-07-13T22:27:07.949Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-07-13T22:27:08.095Z] > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 [2021-07-13T22:27:08.246Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-07-13T22:27:08.248Z] > git --version # timeout=10 [2021-07-13T22:27:08.289Z] > git --version # 'git version 2.17.1' [2021-07-13T22:27:08.291Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-13T22:27:08.386Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-13T22:27:11.463Z] Avoid second fetch [2021-07-13T22:27:11.463Z] Checking out Revision 76558247ef558a621c6cde6dc216633300cc3d0c (main) [2021-07-13T22:27:11.420Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-07-13T22:27:11.443Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-13T22:27:11.480Z] > git config core.sparsecheckout # timeout=10 [2021-07-13T22:27:11.497Z] > git checkout -f 76558247ef558a621c6cde6dc216633300cc3d0c # timeout=10 [2021-07-13T22:27:15.696Z] Commit message: "fix: Change V2 Swagger API version to 2.0.0 (#918)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-13T22:27:16.704Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-07-13T22:27:17.132Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-13T22:27:17.480Z] + sudo service docker restart [2021-07-13T22:27:17.480Z] + true [2021-07-13T22:27:17.950Z] Running on prd-centos7-docker-4c-2g-28 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws [2021-07-13T22:27:17.966Z] Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-07-13T22:27:18.179Z] The recommended git tool is: git [2021-07-13T22:27:20.596Z] using credential edgex-jenkins-ssh [2021-07-13T22:27:20.610Z] Cloning the remote Git repository [2021-07-13T22:27:20.597Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-07-13T22:27:20.668Z] > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 [2021-07-13T22:27:20.703Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-07-13T22:27:20.703Z] > git --version # timeout=10 [2021-07-13T22:27:20.708Z] > git --version # 'git version 2.24.4' [2021-07-13T22:27:20.709Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-13T22:27:20.734Z] [INFO] Currently running in a labeled security context [2021-07-13T22:27:20.735Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-13T22:27:20.735Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/2@tmp/jenkins-gitclient-ssh622333628791868241.key [2021-07-13T22:27:20.756Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-13T22:27:22.074Z] Avoid second fetch [2021-07-13T22:27:22.075Z] Checking out Revision 76558247ef558a621c6cde6dc216633300cc3d0c (main) [2021-07-13T22:27:22.048Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-07-13T22:27:22.058Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-13T22:27:22.076Z] > git config core.sparsecheckout # timeout=10 [2021-07-13T22:27:22.085Z] > git checkout -f 76558247ef558a621c6cde6dc216633300cc3d0c # timeout=10 [2021-07-13T22:27:25.769Z] Commit message: "fix: Change V2 Swagger API version to 2.0.0 (#918)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-13T22:27:26.685Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-07-13T22:27:27.019Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-13T22:27:27.326Z] + sudo service docker restart [2021-07-13T22:27:27.326Z] + true [2021-07-13T22:27:27.326Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-07-13T22:27:36.181Z] ========================================================= [2021-07-13T22:27:36.182Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-07-13T22:27:36.182Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-13T22:27:36.535Z] + 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-13T22:27:37.514Z] Sending build context to Docker daemon 19.74MB [2021-07-13T22:27:37.514Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-07-13T22:27:37.514Z] Step 2/8 : FROM ${BASE} [2021-07-13T22:27:38.111Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-07-13T22:27:38.111Z] 595b0fe564bb: Pulling fs layer [2021-07-13T22:27:38.111Z] 24495759ef45: Pulling fs layer [2021-07-13T22:27:38.111Z] d148012ef14d: Pulling fs layer [2021-07-13T22:27:38.111Z] cb65c68fc2e2: Pulling fs layer [2021-07-13T22:27:38.111Z] 093eec477d81: Pulling fs layer [2021-07-13T22:27:38.111Z] 20fd20ab2234: Pulling fs layer [2021-07-13T22:27:38.111Z] 43245461236d: Pulling fs layer [2021-07-13T22:27:38.111Z] 5a37c24eccbd: Pulling fs layer [2021-07-13T22:27:38.111Z] 20fd20ab2234: Waiting [2021-07-13T22:27:38.111Z] 43245461236d: Waiting [2021-07-13T22:27:38.111Z] 5a37c24eccbd: Waiting [2021-07-13T22:27:38.111Z] 093eec477d81: Waiting [2021-07-13T22:27:38.111Z] cb65c68fc2e2: Waiting [2021-07-13T22:27:38.111Z] d148012ef14d: Verifying Checksum [2021-07-13T22:27:38.111Z] d148012ef14d: Download complete [2021-07-13T22:27:38.111Z] 24495759ef45: Download complete [2021-07-13T22:27:38.111Z] 20fd20ab2234: Download complete [2021-07-13T22:27:38.111Z] 595b0fe564bb: Download complete [2021-07-13T22:27:38.111Z] 43245461236d: Verifying Checksum [2021-07-13T22:27:38.111Z] 43245461236d: Download complete [2021-07-13T22:27:38.708Z] 595b0fe564bb: Pull complete [2021-07-13T22:27:39.310Z] 24495759ef45: Pull complete [2021-07-13T22:27:39.909Z] d148012ef14d: Pull complete [2021-07-13T22:27:40.895Z] 5a37c24eccbd: Verifying Checksum [2021-07-13T22:27:40.895Z] 5a37c24eccbd: Download complete [2021-07-13T22:27:42.425Z] cb65c68fc2e2: Verifying Checksum [2021-07-13T22:27:42.425Z] cb65c68fc2e2: Download complete [Pipeline] unstash [Pipeline] echo [2021-07-13T22:27:45.626Z] ========================================================= [2021-07-13T22:27:45.626Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-07-13T22:27:45.626Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-13T22:27:45.945Z] + 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-13T22:27:46.214Z] Sending build context to Docker daemon 19.74MB [2021-07-13T22:27:46.214Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-07-13T22:27:46.214Z] Step 2/8 : FROM ${BASE} [2021-07-13T22:27:46.214Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-07-13T22:27:46.214Z] 540db60ca938: Pulling fs layer [2021-07-13T22:27:46.214Z] adcc1eea9eea: Pulling fs layer [2021-07-13T22:27:46.214Z] 4c4ab2625f07: Pulling fs layer [2021-07-13T22:27:46.214Z] 0773c198feca: Pulling fs layer [2021-07-13T22:27:46.214Z] 345f892a5656: Pulling fs layer [2021-07-13T22:27:46.214Z] 9ac62484cfdc: Pulling fs layer [2021-07-13T22:27:46.214Z] 5ac4037533be: Pulling fs layer [2021-07-13T22:27:46.214Z] dc6bda0758c5: Pulling fs layer [2021-07-13T22:27:46.214Z] 345f892a5656: Waiting [2021-07-13T22:27:46.214Z] 9ac62484cfdc: Waiting [2021-07-13T22:27:46.214Z] 5ac4037533be: Waiting [2021-07-13T22:27:46.214Z] dc6bda0758c5: Waiting [2021-07-13T22:27:46.214Z] 0773c198feca: Waiting [2021-07-13T22:27:46.214Z] 4c4ab2625f07: Verifying Checksum [2021-07-13T22:27:46.214Z] 4c4ab2625f07: Download complete [2021-07-13T22:27:46.214Z] adcc1eea9eea: Verifying Checksum [2021-07-13T22:27:46.214Z] adcc1eea9eea: Download complete [2021-07-13T22:27:46.214Z] 345f892a5656: Verifying Checksum [2021-07-13T22:27:46.214Z] 345f892a5656: Download complete [2021-07-13T22:27:46.214Z] 9ac62484cfdc: Verifying Checksum [2021-07-13T22:27:46.214Z] 9ac62484cfdc: Download complete [2021-07-13T22:27:46.474Z] 540db60ca938: Verifying Checksum [2021-07-13T22:27:46.474Z] 540db60ca938: Download complete [2021-07-13T22:27:46.474Z] 5ac4037533be: Verifying Checksum [2021-07-13T22:27:46.474Z] 5ac4037533be: Download complete [2021-07-13T22:27:46.474Z] 540db60ca938: Pull complete [2021-07-13T22:27:46.737Z] adcc1eea9eea: Pull complete [2021-07-13T22:27:46.737Z] 4c4ab2625f07: Pull complete [2021-07-13T22:27:48.656Z] dc6bda0758c5: Verifying Checksum [2021-07-13T22:27:48.656Z] dc6bda0758c5: Download complete [2021-07-13T22:27:48.656Z] 0773c198feca: Verifying Checksum [2021-07-13T22:27:48.656Z] 0773c198feca: Download complete [2021-07-13T22:27:52.621Z] cb65c68fc2e2: Pull complete [2021-07-13T22:27:52.896Z] 093eec477d81: Pull complete [2021-07-13T22:27:52.896Z] 0773c198feca: Pull complete [2021-07-13T22:27:52.896Z] 345f892a5656: Pull complete [2021-07-13T22:27:52.896Z] 9ac62484cfdc: Pull complete [2021-07-13T22:27:52.896Z] 5ac4037533be: Pull complete [2021-07-13T22:27:53.173Z] 20fd20ab2234: Pull complete [2021-07-13T22:27:53.447Z] 43245461236d: Pull complete [2021-07-13T22:27:54.299Z] dc6bda0758c5: Pull complete [2021-07-13T22:27:54.299Z] Digest: sha256:693441261ed0de8fcf303aa2a0eae3a43e217b849db77d7793b1d2a0399e3ec4 [2021-07-13T22:27:54.299Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-07-13T22:27:54.299Z] ---> eb58bd16d52e [2021-07-13T22:27:54.299Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-07-13T22:27:54.299Z] 20.10.0: Pulling from library/docker [2021-07-13T22:27:54.299Z] 05e7bc50f07f: Pulling fs layer [2021-07-13T22:27:54.299Z] 6db28d0fdbf6: Pulling fs layer [2021-07-13T22:27:54.299Z] 292df0bc6bf3: Pulling fs layer [2021-07-13T22:27:54.299Z] 2e060f4bd70b: Pulling fs layer [2021-07-13T22:27:54.299Z] 80e8d568a223: Pulling fs layer [2021-07-13T22:27:54.299Z] 8dc6ef1a942a: Pulling fs layer [2021-07-13T22:27:54.299Z] 2312dd95470a: Pulling fs layer [2021-07-13T22:27:54.299Z] 2e060f4bd70b: Waiting [2021-07-13T22:27:54.299Z] 80e8d568a223: Waiting [2021-07-13T22:27:54.299Z] 8dc6ef1a942a: Waiting [2021-07-13T22:27:54.299Z] 2312dd95470a: Waiting [2021-07-13T22:27:54.299Z] 292df0bc6bf3: Download complete [2021-07-13T22:27:54.561Z] 6db28d0fdbf6: Verifying Checksum [2021-07-13T22:27:54.561Z] 6db28d0fdbf6: Download complete [2021-07-13T22:27:54.561Z] 80e8d568a223: Verifying Checksum [2021-07-13T22:27:54.561Z] 80e8d568a223: Download complete [2021-07-13T22:27:54.561Z] 8dc6ef1a942a: Verifying Checksum [2021-07-13T22:27:54.561Z] 8dc6ef1a942a: Download complete [2021-07-13T22:27:54.561Z] 2312dd95470a: Verifying Checksum [2021-07-13T22:27:54.561Z] 2312dd95470a: Download complete [2021-07-13T22:27:54.561Z] 05e7bc50f07f: Verifying Checksum [2021-07-13T22:27:54.561Z] 05e7bc50f07f: Download complete [2021-07-13T22:27:54.832Z] 05e7bc50f07f: Pull complete [2021-07-13T22:27:55.095Z] 6db28d0fdbf6: Pull complete [2021-07-13T22:27:55.095Z] 292df0bc6bf3: Pull complete [2021-07-13T22:27:56.047Z] 2e060f4bd70b: Verifying Checksum [2021-07-13T22:27:56.047Z] 2e060f4bd70b: Download complete [2021-07-13T22:27:57.765Z] 5a37c24eccbd: Pull complete [2021-07-13T22:27:57.765Z] Digest: sha256:1f93be31992c0c85398b36ba92fe0466778821d351774b6a75e3069a3cd419d7 [2021-07-13T22:27:57.765Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-07-13T22:27:57.765Z] ---> 274d7007c78b [2021-07-13T22:27:57.765Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-07-13T22:27:58.039Z] 20.10.0: Pulling from library/docker [2021-07-13T22:27:58.039Z] a3cc7d3b244e: Pulling fs layer [2021-07-13T22:27:58.039Z] 02a3295e0d61: Pulling fs layer [2021-07-13T22:27:58.039Z] 0f4f2e6d8100: Pulling fs layer [2021-07-13T22:27:58.039Z] 330b718f631f: Pulling fs layer [2021-07-13T22:27:58.039Z] a93816041522: Pulling fs layer [2021-07-13T22:27:58.039Z] bdb6da89ff94: Pulling fs layer [2021-07-13T22:27:58.039Z] 2a70c0c122f4: Pulling fs layer [2021-07-13T22:27:58.039Z] 330b718f631f: Waiting [2021-07-13T22:27:58.039Z] a93816041522: Waiting [2021-07-13T22:27:58.039Z] bdb6da89ff94: Waiting [2021-07-13T22:27:58.039Z] 2a70c0c122f4: Waiting [2021-07-13T22:27:58.039Z] 0f4f2e6d8100: Verifying Checksum [2021-07-13T22:27:58.039Z] 0f4f2e6d8100: Download complete [2021-07-13T22:27:58.039Z] a3cc7d3b244e: Verifying Checksum [2021-07-13T22:27:58.039Z] a3cc7d3b244e: Download complete [2021-07-13T22:27:58.039Z] 02a3295e0d61: Download complete [2021-07-13T22:27:58.039Z] a93816041522: Download complete [2021-07-13T22:27:58.316Z] bdb6da89ff94: Verifying Checksum [2021-07-13T22:27:58.316Z] bdb6da89ff94: Download complete [2021-07-13T22:27:58.316Z] 2a70c0c122f4: Verifying Checksum [2021-07-13T22:27:58.316Z] 2a70c0c122f4: Download complete [2021-07-13T22:27:58.632Z] 2e060f4bd70b: Pull complete [2021-07-13T22:27:58.632Z] 80e8d568a223: Pull complete [2021-07-13T22:27:58.895Z] 8dc6ef1a942a: Pull complete [2021-07-13T22:27:58.895Z] 2312dd95470a: Pull complete [2021-07-13T22:27:58.895Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-07-13T22:27:58.895Z] Status: Downloaded newer image for docker:20.10.0 [2021-07-13T22:27:58.917Z] a3cc7d3b244e: Pull complete [2021-07-13T22:27:59.532Z] 02a3295e0d61: Pull complete [2021-07-13T22:27:59.809Z] 330b718f631f: Verifying Checksum [2021-07-13T22:27:59.809Z] 330b718f631f: Download complete [2021-07-13T22:27:59.809Z] 0f4f2e6d8100: Pull complete [2021-07-13T22:28:04.133Z] 330b718f631f: Pull complete [2021-07-13T22:28:04.133Z] a93816041522: Pull complete [2021-07-13T22:28:04.408Z] bdb6da89ff94: Pull complete [2021-07-13T22:28:04.682Z] 2a70c0c122f4: Pull complete [2021-07-13T22:28:04.977Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-07-13T22:28:04.977Z] Status: Downloaded newer image for docker:20.10.0 [2021-07-13T22:28:07.063Z] ---> 748ad2404cce [2021-07-13T22:28:07.063Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-07-13T22:28:07.335Z] ---> Running in 4ff565fe9090 [2021-07-13T22:28:07.335Z] Removing intermediate container 4ff565fe9090 [2021-07-13T22:28:07.335Z] ---> fd858234a3b0 [2021-07-13T22:28:07.335Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-07-13T22:28:07.335Z] ---> Running in 4e01dbf9e7cd [2021-07-13T22:28:07.912Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-13T22:28:08.866Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-13T22:28:09.128Z] (1/5) Installing libsodium (1.0.18-r0) [2021-07-13T22:28:09.388Z] (2/5) Installing libzmq (4.3.3-r1) [2021-07-13T22:28:09.388Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-07-13T22:28:09.651Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-07-13T22:28:09.651Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-07-13T22:28:09.651Z] Executing busybox-1.32.1-r6.trigger [2021-07-13T22:28:09.651Z] OK: 150 MiB in 45 packages [2021-07-13T22:28:10.429Z] ---> a8604ced8f99 [2021-07-13T22:28:10.429Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-07-13T22:28:10.429Z] ---> Running in 2103176d40e7 [2021-07-13T22:28:10.602Z] Removing intermediate container 4e01dbf9e7cd [2021-07-13T22:28:10.602Z] ---> 46ebe30b175a [2021-07-13T22:28:10.602Z] Step 6/8 : WORKDIR /build [2021-07-13T22:28:10.602Z] ---> Running in 37399f872708 [2021-07-13T22:28:10.602Z] Removing intermediate container 37399f872708 [2021-07-13T22:28:10.602Z] ---> b4367fcc85c9 [2021-07-13T22:28:10.602Z] Step 7/8 : COPY go.mod . [2021-07-13T22:28:10.702Z] Removing intermediate container 2103176d40e7 [2021-07-13T22:28:10.702Z] ---> 49b4c090796f [2021-07-13T22:28:10.702Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-07-13T22:28:10.702Z] ---> Running in 9603d7513132 [2021-07-13T22:28:10.869Z] ---> 9433f197cacc [2021-07-13T22:28:10.869Z] Step 8/8 : RUN go mod download [2021-07-13T22:28:10.869Z] ---> Running in be42aa83f2e4 [2021-07-13T22:28:12.138Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-13T22:28:13.120Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-13T22:28:14.555Z] (1/5) Installing libsodium (1.0.18-r0) [2021-07-13T22:28:14.555Z] (2/5) Installing libzmq (4.3.3-r1) [2021-07-13T22:28:14.555Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-07-13T22:28:14.555Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-07-13T22:28:14.555Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-07-13T22:28:14.826Z] Executing busybox-1.32.1-r6.trigger [2021-07-13T22:28:14.826Z] OK: 139 MiB in 45 packages [2021-07-13T22:28:16.260Z] Removing intermediate container 9603d7513132 [2021-07-13T22:28:16.260Z] ---> 47532da0b7e0 [2021-07-13T22:28:16.260Z] Step 6/8 : WORKDIR /build [2021-07-13T22:28:16.260Z] ---> Running in 6c84a18b0ab4 [2021-07-13T22:28:16.532Z] Removing intermediate container 6c84a18b0ab4 [2021-07-13T22:28:16.532Z] ---> d4207505e27a [2021-07-13T22:28:16.532Z] Step 7/8 : COPY go.mod . [2021-07-13T22:28:17.522Z] ---> 8d9661e47609 [2021-07-13T22:28:17.522Z] Step 8/8 : RUN go mod download [2021-07-13T22:28:17.522Z] ---> Running in 63a23eb72dc6 [2021-07-13T22:28:32.868Z] Removing intermediate container be42aa83f2e4 [2021-07-13T22:28:32.868Z] ---> 845ad5554745 [2021-07-13T22:28:32.868Z] Successfully built 845ad5554745 [2021-07-13T22:28:32.868Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-13T22:28:33.181Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-13T22:28:33.182Z] . [Pipeline] withDockerContainer [2021-07-13T22:28:33.271Z] prd-centos7-docker-4c-2g-28 does not seem to be running inside a container [2021-07-13T22:28:33.313Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@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-x86_64 cat [2021-07-13T22:28:34.187Z] $ docker top 4db1346de374db56dbef51ad15eb07aa1e207cd20f38874bbe8138c28f1a7a09 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-13T22:28:34.565Z] + go version [2021-07-13T22:28:34.565Z] go version go1.16.5 linux/amd64 [Pipeline] } [2021-07-13T22:28:34.578Z] $ docker stop --time=1 4db1346de374db56dbef51ad15eb07aa1e207cd20f38874bbe8138c28f1a7a09 [2021-07-13T22:28:35.835Z] $ docker rm -f 4db1346de374db56dbef51ad15eb07aa1e207cd20f38874bbe8138c28f1a7a09 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-13T22:28:36.439Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-13T22:28:36.439Z] . [Pipeline] withDockerContainer [2021-07-13T22:28:36.515Z] prd-centos7-docker-4c-2g-28 does not seem to be running inside a container [2021-07-13T22:28:36.556Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@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-x86_64 cat [2021-07-13T22:28:37.179Z] $ docker top 8093e652b308e189c6138037e819d219a6d590bf39327cd1a31a9d07a3c10eee -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-13T22:28:37.571Z] + go mod tidy [Pipeline] sh [2021-07-13T22:28:38.143Z] + make test [2021-07-13T22:28:38.143Z] make -C ./app-service-template build [2021-07-13T22:28:38.143Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-07-13T22:28:38.143Z] go mod tidy [2021-07-13T22:28:38.413Z] 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-13T22:28:44.366Z] Removing intermediate container 63a23eb72dc6 [2021-07-13T22:28:44.366Z] ---> a6df2b72f71d [2021-07-13T22:28:44.366Z] Successfully built a6df2b72f71d [2021-07-13T22:28:44.366Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-13T22:28:44.720Z] + docker inspect -f . ci-base-image-arm64 [2021-07-13T22:28:44.720Z] . [Pipeline] withDockerContainer [2021-07-13T22:28:44.966Z] prd-ubuntu18.04-docker-arm64-4c-16g-26 does not seem to be running inside a container [2021-07-13T22:28:45.054Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@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-arm64 cat [2021-07-13T22:28:46.687Z] $ docker top 79f8ed48a1179e6a2456aa22a25296935484cf228e5c402799b2a652648e278a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-13T22:28:47.699Z] + go version [2021-07-13T22:28:47.699Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-07-13T22:28:47.719Z] $ docker stop --time=1 79f8ed48a1179e6a2456aa22a25296935484cf228e5c402799b2a652648e278a [2021-07-13T22:28:49.613Z] $ docker rm -f 79f8ed48a1179e6a2456aa22a25296935484cf228e5c402799b2a652648e278a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-13T22:28:50.482Z] + docker inspect -f . ci-base-image-arm64 [2021-07-13T22:28:50.482Z] . [Pipeline] withDockerContainer [2021-07-13T22:28:50.722Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-07-13T22:28:50.722Z] make -C ./app-service-template test [2021-07-13T22:28:50.722Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-07-13T22:28:50.722Z] go mod tidy [2021-07-13T22:28:50.722Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-07-13T22:28:50.745Z] prd-ubuntu18.04-docker-arm64-4c-16g-26 does not seem to be running inside a container [2021-07-13T22:28:50.822Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@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-arm64 cat [2021-07-13T22:28:52.455Z] $ docker top 47f3322da4682cad4cf5d74a8141691d613d598e4549ae20092c84b50aebb684 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-13T22:28:53.454Z] + go mod tidy [Pipeline] sh [2021-07-13T22:28:54.712Z] + make test [2021-07-13T22:28:54.712Z] make -C ./app-service-template build [2021-07-13T22:28:54.712Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-07-13T22:28:54.712Z] go mod tidy [2021-07-13T22:28:55.312Z] 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-13T22:28:58.925Z] ok new-app-service 0.017s coverage: 47.8% of statements [2021-07-13T22:28:58.925Z] ? new-app-service/config [no test files] [2021-07-13T22:28:59.202Z] ok new-app-service/functions 0.008s [2021-07-13T22:28:59.202Z] CGO_ENABLED=1 go vet ./... [2021-07-13T22:29:05.860Z] gofmt -l . [2021-07-13T22:29:05.860Z] [ "`gofmt -l .`" = "" ] [2021-07-13T22:29:05.860Z] ./bin/test-attribution-txt.sh [2021-07-13T22:29:06.436Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-07-13T22:29:06.436Z] go mod tidy [2021-07-13T22:29:06.705Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-07-13T22:29:06.974Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-07-13T22:29:08.449Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.010s coverage: 63.6% of statements [2021-07-13T22:29:08.724Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.013s coverage: 96.5% of statements [2021-07-13T22:29:08.724Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-07-13T22:29:08.990Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.010s coverage: 61.8% of statements [2021-07-13T22:29:08.990Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-07-13T22:29:09.258Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.017s [2021-07-13T22:29:09.839Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.034s coverage: 74.5% of statements [2021-07-13T22:29:09.839Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-07-13T22:29:09.839Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-07-13T22:29:09.839Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-07-13T22:29:09.839Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-07-13T22:29:09.839Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-07-13T22:29:09.839Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-07-13T22:29:09.839Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.006s coverage: 97.1% of statements [2021-07-13T22:29:09.839Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-07-13T22:29:10.100Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.009s coverage: 10.5% of statements [2021-07-13T22:29:13.427Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.734s coverage: 76.1% of statements [2021-07-13T22:29:13.427Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-07-13T22:29:13.427Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.006s coverage: 12.5% of statements [2021-07-13T22:29:13.427Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.010s coverage: 27.3% of statements [2021-07-13T22:29:13.427Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-07-13T22:29:13.427Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-07-13T22:29:13.427Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.006s coverage: 51.4% of statements [2021-07-13T22:29:34.376Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-07-13T22:29:34.376Z] make -C ./app-service-template test [2021-07-13T22:29:34.376Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-07-13T22:29:34.376Z] go mod tidy [2021-07-13T22:29:34.376Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-07-13T22:29:40.024Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.037s coverage: 78.0% of statements [2021-07-13T22:29:40.024Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.005s coverage: 94.4% of statements [2021-07-13T22:29:40.024Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-07-13T22:29:40.024Z] gofmt -l . [2021-07-13T22:29:40.024Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-07-13T22:29:40.038Z] $ docker stop --time=1 8093e652b308e189c6138037e819d219a6d590bf39327cd1a31a9d07a3c10eee [2021-07-13T22:29:41.602Z] $ docker rm -f 8093e652b308e189c6138037e819d219a6d590bf39327cd1a31a9d07a3c10eee [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-13T22:29:42.028Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-13T22:29:42.277Z] 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-13T22:29:43.521Z] ---> job-cost.sh [2021-07-13T22:29:43.521Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-360R [2021-07-13T22:29:55.779Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-07-13T22:30:01.215Z] ok new-app-service 0.042s coverage: 47.8% of statements [2021-07-13T22:30:01.215Z] ? new-app-service/config [no test files] [2021-07-13T22:30:01.215Z] ok new-app-service/functions 0.045s [2021-07-13T22:30:01.215Z] CGO_ENABLED=1 go vet ./... [2021-07-13T22:30:10.760Z] lf-activate-venv(): INFO: Adding /tmp/venv-360R/bin to PATH [2021-07-13T22:30:10.760Z] INFO: No Stack... [2021-07-13T22:30:10.760Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-13T22:30:10.760Z] INFO: Archiving Costs [Pipeline] sh [2021-07-13T22:30:11.067Z] + cat /w/workspace/app-functions-sdk-go/2/archives/cost.csv [2021-07-13T22:30:11.067Z] + cut -d, -f6 [Pipeline] lock [2021-07-13T22:30:11.098Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-2-stack-cost] [2021-07-13T22:30:11.108Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-2-stack-cost] did not exist. Created. [2021-07-13T22:30:11.108Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-13T22:30:11.459Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-07-13T22:30:11.527Z] Stashed 1 file(s) [Pipeline] } [2021-07-13T22:30:11.540Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-07-13T22:30:28.042Z] gofmt -l . [2021-07-13T22:30:28.042Z] [ "`gofmt -l .`" = "" ] [2021-07-13T22:30:28.042Z] ./bin/test-attribution-txt.sh [2021-07-13T22:30:29.053Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-07-13T22:30:29.053Z] go mod tidy [2021-07-13T22:30:29.652Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-07-13T22:30:31.094Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-07-13T22:30:39.420Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.193s coverage: 63.6% of statements [2021-07-13T22:30:39.420Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.090s coverage: 96.5% of statements [2021-07-13T22:30:39.420Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-07-13T22:30:39.420Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.072s coverage: 61.8% of statements [2021-07-13T22:30:39.420Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-07-13T22:30:39.420Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.048s [2021-07-13T22:30:40.020Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.081s coverage: 74.5% of statements [2021-07-13T22:30:40.020Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-07-13T22:30:40.020Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-07-13T22:30:40.020Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-07-13T22:30:40.020Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-07-13T22:30:40.020Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-07-13T22:30:40.020Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-07-13T22:30:40.020Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.030s coverage: 97.1% of statements [2021-07-13T22:30:40.020Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-07-13T22:30:40.020Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.037s coverage: 10.5% of statements [2021-07-13T22:30:46.741Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.853s coverage: 76.1% of statements [2021-07-13T22:30:46.742Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-07-13T22:30:46.742Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.053s coverage: 12.5% of statements [2021-07-13T22:30:46.742Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.036s coverage: 27.3% of statements [2021-07-13T22:30:46.742Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-07-13T22:30:46.742Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-07-13T22:30:46.742Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.047s coverage: 51.4% of statements [2021-07-13T22:31:13.506Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.122s coverage: 78.0% of statements [2021-07-13T22:31:13.506Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.035s coverage: 94.4% of statements [2021-07-13T22:31:13.506Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-07-13T22:31:15.512Z] gofmt -l . [2021-07-13T22:31:16.109Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-07-13T22:31:16.405Z] $ docker stop --time=1 47f3322da4682cad4cf5d74a8141691d613d598e4549ae20092c84b50aebb684 [2021-07-13T22:31:18.416Z] $ docker rm -f 47f3322da4682cad4cf5d74a8141691d613d598e4549ae20092c84b50aebb684 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-13T22:31:19.386Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-13T22:31:19.424Z] Warning: overwriting stash ‘coverage-report’ [2021-07-13T22:31:20.375Z] 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-13T22:31:21.260Z] ---> job-cost.sh [2021-07-13T22:31:21.260Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-6erw [2021-07-13T22:32:09.640Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-07-13T22:34:01.442Z] lf-activate-venv(): INFO: Adding /tmp/venv-6erw/bin to PATH [2021-07-13T22:34:01.442Z] INFO: No Stack... [2021-07-13T22:34:01.442Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-07-13T22:34:01.442Z] INFO: Archiving Costs [Pipeline] sh [2021-07-13T22:34:01.785Z] + cut -d, -f6 [2021-07-13T22:34:01.786Z] + cat /w/workspace/app-functions-sdk-go/2/archives/cost.csv [Pipeline] lock [2021-07-13T22:34:01.849Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-2-stack-cost] [2021-07-13T22:34:01.858Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-2-stack-cost] did not exist. Created. [2021-07-13T22:34:01.859Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-13T22:34:02.229Z] /w/workspace/app-functions-sdk-go/2@tmp/durable-61894749/script.sh: 1: /w/workspace/app-functions-sdk-go/2@tmp/durable-61894749/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-07-13T22:34:02.574Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-07-13T22:34:02.596Z] Warning: overwriting stash ‘stack-cost’ [2021-07-13T22:34:02.756Z] Stashed 1 file(s) [Pipeline] } [2021-07-13T22:34:02.767Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-2-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-13T22:34:03.611Z] provisioning config files... [2021-07-13T22:34:03.624Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config7975437792500535365tmp [Pipeline] { [Pipeline] sh [2021-07-13T22:34:03.948Z] + set +x [2021-07-13T22:34:03.948Z] + bash -s -- [2021-07-13T22:34:03.948Z] + curl -s https://codecov.io/bash [2021-07-13T22:34:03.948Z] [2021-07-13T22:34:03.948Z] _____ _ [2021-07-13T22:34:03.948Z] / ____| | | [2021-07-13T22:34:03.948Z] | | ___ __| | ___ ___ _____ __ [2021-07-13T22:34:03.948Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-07-13T22:34:03.948Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-07-13T22:34:03.948Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-07-13T22:34:03.948Z] Bash-1.0.4 [2021-07-13T22:34:03.948Z] [2021-07-13T22:34:03.948Z] [2021-07-13T22:34:04.210Z] ==> git version 2.24.4 found [2021-07-13T22:34:04.210Z] ==> 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-13T22:34:04.210Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-07-13T22:34:04.210Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-07-13T22:34:04.210Z] ==> Jenkins CI detected. [2021-07-13T22:34:04.210Z] project root: . [2021-07-13T22:34:04.210Z] --> token set from env [2021-07-13T22:34:04.210Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-07-13T22:34:04.210Z] ==> Running gcov in . (disable via -X gcov) [2021-07-13T22:34:04.210Z] ==> Python coveragepy not found [2021-07-13T22:34:04.210Z] ==> Searching for coverage reports in: [2021-07-13T22:34:04.210Z] + . [2021-07-13T22:34:04.210Z] -> Found 2 reports [2021-07-13T22:34:04.210Z] ==> Detecting git/mercurial file structure [2021-07-13T22:34:04.210Z] ==> Reading reports [2021-07-13T22:34:04.210Z] + ./app-service-template/coverage.out bytes=1055 [2021-07-13T22:34:04.210Z] + ./coverage.out bytes=95181 [2021-07-13T22:34:04.210Z] ==> Appending adjustments [2021-07-13T22:34:04.210Z] https://docs.codecov.io/docs/fixing-reports [2021-07-13T22:34:04.475Z] + Found adjustments [2021-07-13T22:34:04.475Z] ==> Gzipping contents [2021-07-13T22:34:04.475Z] 20K /tmp/codecov.T3NfpG.gz [2021-07-13T22:34:04.475Z] ==> Uploading reports [2021-07-13T22:34:04.475Z] url: https://codecov.io [2021-07-13T22:34:04.475Z] query: branch=main&commit=76558247ef558a621c6cde6dc216633300cc3d0c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-07-13T22:34:04.475Z] -> Pinging Codecov [2021-07-13T22:34:04.475Z] https://codecov.io/upload/v4?package=bash-1.0.4&branch=main&commit=76558247ef558a621c6cde6dc216633300cc3d0c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-07-13T22:34:05.048Z] -> Uploading to [2021-07-13T22:34:05.048Z] https://storage.googleapis.com/codecov/v4/raw/2021-07-13/3D8B5DFFC46A037C893635FACE044666/76558247ef558a621c6cde6dc216633300cc3d0c/1fb44c2f-e8b3-411d-910a-026f07759687.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210713%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210713T223404Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=069df90aebbb0b146de62ad971cdb6827e3a1a22f16ad2dd924716ebfe6052b0 [2021-07-13T22:34:05.048Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-07-13T22:34:05.048Z] Dload Upload Total Spent Left Speed [2021-07-13T22:34:05.622Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16468 0 0 100 16468 0 36339 --:--:-- --:--:-- --:--:-- 36353 [2021-07-13T22:34:05.622Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/76558247ef558a621c6cde6dc216633300cc3d0c [Pipeline] } [2021-07-13T22:34:05.634Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-07-13T22:34:06.505Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-07-13T22:34:06.528Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-13T22:34:06.849Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-07-13T22:34:06.849Z] [2021-07-13T22:34:06.849Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-07-13T22:34:07.166Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-07-13T22:34:07.166Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-07-13T22:34:07.166Z] 188c0c94c7c5: Pulling fs layer [2021-07-13T22:34:07.166Z] 0ef7d3d256c8: Pulling fs layer [2021-07-13T22:34:07.166Z] de9db76c5a1d: Pulling fs layer [2021-07-13T22:34:07.166Z] 0eba1c9be4d2: Pulling fs layer [2021-07-13T22:34:07.166Z] 0d57e429df01: Pulling fs layer [2021-07-13T22:34:07.166Z] 4e4be7b47b0d: Pulling fs layer [2021-07-13T22:34:07.166Z] e1f770b5df2f: Pulling fs layer [2021-07-13T22:34:07.166Z] 85a0685a4137: Pulling fs layer [2021-07-13T22:34:07.166Z] 0eba1c9be4d2: Waiting [2021-07-13T22:34:07.166Z] 0d57e429df01: Waiting [2021-07-13T22:34:07.166Z] 4e4be7b47b0d: Waiting [2021-07-13T22:34:07.166Z] e1f770b5df2f: Waiting [2021-07-13T22:34:07.166Z] 85a0685a4137: Waiting [2021-07-13T22:34:07.166Z] de9db76c5a1d: Download complete [2021-07-13T22:34:07.166Z] 0ef7d3d256c8: Verifying Checksum [2021-07-13T22:34:07.166Z] 0ef7d3d256c8: Download complete [2021-07-13T22:34:07.431Z] 0d57e429df01: Verifying Checksum [2021-07-13T22:34:07.431Z] 0d57e429df01: Download complete [2021-07-13T22:34:07.431Z] 188c0c94c7c5: Verifying Checksum [2021-07-13T22:34:07.431Z] 188c0c94c7c5: Download complete [2021-07-13T22:34:07.431Z] 4e4be7b47b0d: Verifying Checksum [2021-07-13T22:34:07.431Z] 4e4be7b47b0d: Download complete [2021-07-13T22:34:07.431Z] 188c0c94c7c5: Pull complete [2021-07-13T22:34:07.698Z] 0ef7d3d256c8: Pull complete [2021-07-13T22:34:07.698Z] de9db76c5a1d: Pull complete [2021-07-13T22:34:09.091Z] e1f770b5df2f: Verifying Checksum [2021-07-13T22:34:09.091Z] e1f770b5df2f: Download complete [2021-07-13T22:34:10.490Z] 0eba1c9be4d2: Verifying Checksum [2021-07-13T22:34:10.491Z] 0eba1c9be4d2: Download complete [2021-07-13T22:34:11.086Z] 85a0685a4137: Verifying Checksum [2021-07-13T22:34:11.086Z] 85a0685a4137: Download complete [2021-07-13T22:34:14.420Z] 0eba1c9be4d2: Pull complete [2021-07-13T22:34:14.420Z] 0d57e429df01: Pull complete [2021-07-13T22:34:14.420Z] 4e4be7b47b0d: Pull complete [2021-07-13T22:34:14.683Z] e1f770b5df2f: Pull complete [2021-07-13T22:34:18.934Z] 85a0685a4137: Pull complete [2021-07-13T22:34:18.934Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-07-13T22:34:18.934Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-07-13T22:34:18.934Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-07-13T22:34:19.025Z] prd-centos7-docker-4c-2g-25 does not seem to be running inside a container [2021-07-13T22:34:19.077Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-07-13T22:34:22.703Z] $ docker top c6ff669ecfff0808f205a58e7b240ffd60f21430d69547ed564394d552ece805 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-07-13T22:34:22.817Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-07-13T22:34:23.131Z] + set -o pipefail [2021-07-13T22:34:23.131Z] + snyk monitor '--org=edgex-jenkins' [2021-07-13T22:34:41.605Z] [2021-07-13T22:34:41.605Z] Monitoring /w/workspace/oundry_app-functions-sdk-go_main (github.com/edgexfoundry/app-functions-sdk-go/v2)... [2021-07-13T22:34:41.605Z] [2021-07-13T22:34:41.605Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/d713d5e5-67bf-4a57-8bd7-8a8e89d5f8c2 [2021-07-13T22:34:41.605Z] [2021-07-13T22:34:41.605Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-07-13T22:34:41.605Z] [2021-07-13T22:34:41.605Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-07-13T22:34:41.605Z] [2021-07-13T22:34:41.605Z] [Pipeline] } [2021-07-13T22:34:41.616Z] $ docker stop --time=1 c6ff669ecfff0808f205a58e7b240ffd60f21430d69547ed564394d552ece805 [2021-07-13T22:34:43.921Z] $ docker rm -f c6ff669ecfff0808f205a58e7b240ffd60f21430d69547ed564394d552ece805 [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-13T22:34:45.086Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-13T22:34:45.108Z] provisioning config files... [2021-07-13T22:34:45.123Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config5698488477146255076tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-13T22:34:45.464Z] --> edgex-publish-swagger.sh [2021-07-13T22:34:45.464Z] === Publish openapi/v2 API === [2021-07-13T22:34:45.464Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-07-13T22:34:45.464Z] [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/oundry_app-functions-sdk-go_main/openapi/v2/app-functions-sdk.yaml] [2021-07-13T22:34:45.464Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-07-13T22:34:45.464Z] Dload Upload Total Spent Left Speed [2021-07-13T22:34:46.933Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13054 0 0 100 13054 0 9908 0:00:01 0:00:01 --:--:-- 9904 100 13054 0 0 100 13054 0 8561 0:00:01 0:00:01 --:--:-- 8560 [2021-07-13T22:34:46.933Z] [2021-07-13T22:34:46.933Z] [Pipeline] } [2021-07-13T22:34:46.943Z] 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-13T22:34:47.468Z] + git log --format=format:%s -1 76558247ef558a621c6cde6dc216633300cc3d0c [Pipeline] isUnix [Pipeline] sh [2021-07-13T22:34:47.782Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-13T22:34:47.782Z] . [Pipeline] withDockerContainer [2021-07-13T22:34:47.866Z] prd-centos7-docker-4c-2g-25 does not seem to be running inside a container [2021-07-13T22:34:47.908Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-13T22:34:48.320Z] $ docker top d85b1f80c12ac2fc18f85365b42ce1af7f64c1848a9c5a5dcfe711046e202adf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-13T22:34:48.452Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-13T22:34:48.452Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-13T22:34:48.579Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-13T22:34:48.579Z] $ docker exec d85b1f80c12ac2fc18f85365b42ce1af7f64c1848a9c5a5dcfe711046e202adf ssh-agent [2021-07-13T22:34:48.699Z] SSH_AUTH_SOCK=/tmp/ssh-MjrJ6YNzMC7W/agent.14 [2021-07-13T22:34:48.699Z] SSH_AGENT_PID=20 [2021-07-13T22:34:48.707Z] Running ssh-add (command line suppressed) [2021-07-13T22:34:48.827Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7619260872488859364.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7619260872488859364.key) [2021-07-13T22:34:48.847Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-13T22:34:49.154Z] + git semver tag [2021-07-13T22:34:49.154Z] # -> Open(): unable to determine branch for HEAD [2021-07-13T22:34:49.154Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2021-07-13T22:34:49.154Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2021-07-13T22:34:49.154Z] # $SEMVER_REMOTE_NAME = origin [2021-07-13T22:34:49.154Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-13T22:34:49.154Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-13T22:34:49.154Z] # $SEMVER_BRANCH = main [2021-07-13T22:34:49.154Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [2021-07-13T22:34:49.154Z] # 76558247ef558a621c6cde6dc216633300cc3d0c HEAD [2021-07-13T22:34:49.154Z] # -> Force: false [2021-07-13T22:34:49.154Z] # 2e919581995668aeb5393b4f116661def2fc8207 refs/tags/v2.0.1-dev.3 [Pipeline] } [2021-07-13T22:34:49.163Z] $ docker exec --env ******** --env ******** d85b1f80c12ac2fc18f85365b42ce1af7f64c1848a9c5a5dcfe711046e202adf ssh-agent -k [2021-07-13T22:34:49.290Z] unset SSH_AUTH_SOCK; [2021-07-13T22:34:49.290Z] unset SSH_AGENT_PID; [2021-07-13T22:34:49.290Z] echo Agent pid 20 killed; [2021-07-13T22:34:49.307Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-13T22:34:49.649Z] + git semver [Pipeline] } [2021-07-13T22:34:49.663Z] $ docker stop --time=1 d85b1f80c12ac2fc18f85365b42ce1af7f64c1848a9c5a5dcfe711046e202adf [2021-07-13T22:34:50.880Z] $ docker rm -f d85b1f80c12ac2fc18f85365b42ce1af7f64c1848a9c5a5dcfe711046e202adf [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-07-13T22:34:51.375Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-07-13T22:34:51.375Z] [2021-07-13T22:34:51.375Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-07-13T22:34:51.686Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-07-13T22:34:51.686Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-07-13T22:34:51.686Z] ab5ef0e58194: Pulling fs layer [2021-07-13T22:34:51.686Z] 9712f1f96733: Pulling fs layer [2021-07-13T22:34:51.686Z] 63f879dbbcfc: Pulling fs layer [2021-07-13T22:34:51.686Z] 0d9ebad4ef96: Pulling fs layer [2021-07-13T22:34:51.686Z] e9a5061849ea: Pulling fs layer [2021-07-13T22:34:51.686Z] d747dcd14b5f: Pulling fs layer [2021-07-13T22:34:51.686Z] 2de7ff778b66: Pulling fs layer [2021-07-13T22:34:51.686Z] e9a5061849ea: Waiting [2021-07-13T22:34:51.686Z] d747dcd14b5f: Waiting [2021-07-13T22:34:51.686Z] 2de7ff778b66: Waiting [2021-07-13T22:34:51.686Z] 0d9ebad4ef96: Waiting [2021-07-13T22:34:51.686Z] 9712f1f96733: Verifying Checksum [2021-07-13T22:34:51.686Z] 9712f1f96733: Download complete [2021-07-13T22:34:52.636Z] 63f879dbbcfc: Verifying Checksum [2021-07-13T22:34:52.636Z] 63f879dbbcfc: Download complete [2021-07-13T22:34:52.899Z] e9a5061849ea: Verifying Checksum [2021-07-13T22:34:52.899Z] e9a5061849ea: Download complete [2021-07-13T22:34:53.161Z] d747dcd14b5f: Verifying Checksum [2021-07-13T22:34:53.161Z] d747dcd14b5f: Download complete [2021-07-13T22:34:53.426Z] 0d9ebad4ef96: Verifying Checksum [2021-07-13T22:34:53.426Z] 0d9ebad4ef96: Download complete [2021-07-13T22:34:53.698Z] 2de7ff778b66: Verifying Checksum [2021-07-13T22:34:53.698Z] 2de7ff778b66: Download complete [2021-07-13T22:34:53.972Z] ab5ef0e58194: Verifying Checksum [2021-07-13T22:34:53.972Z] ab5ef0e58194: Download complete [2021-07-13T22:34:57.349Z] ab5ef0e58194: Pull complete [2021-07-13T22:34:57.349Z] 9712f1f96733: Pull complete [2021-07-13T22:34:58.323Z] 63f879dbbcfc: Pull complete [2021-07-13T22:35:02.614Z] 0d9ebad4ef96: Pull complete [2021-07-13T22:35:02.886Z] e9a5061849ea: Pull complete [2021-07-13T22:35:02.886Z] d747dcd14b5f: Pull complete [2021-07-13T22:35:04.286Z] 2de7ff778b66: Pull complete [2021-07-13T22:35:04.286Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-07-13T22:35:04.286Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-07-13T22:35:04.286Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-07-13T22:35:04.387Z] prd-centos7-docker-4c-2g-25 does not seem to be running inside a container [2021-07-13T22:35:04.436Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-07-13T22:35:07.973Z] $ docker top 2eccff3dded2220eb7ef58f781c28a47fb8f97cdebe41e5ceb9626c6755e50e1 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-07-13T22:35:08.084Z] provisioning config files... [2021-07-13T22:35:08.094Z] copy managed file [sigul-config] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config7197695251625474082tmp [2021-07-13T22:35:08.108Z] copy managed file [sigul-password] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config4386504735275427923tmp [2021-07-13T22:35:08.120Z] copy managed file [sigul-pki] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config983253103570487730tmp [Pipeline] { [Pipeline] echo [2021-07-13T22:35:08.140Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-13T22:35:08.438Z] ---> sigul-configuration.sh [2021-07-13T22:35:08.438Z] gpg: directory `/root/.gnupg' created [2021-07-13T22:35:08.438Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-07-13T22:35:08.439Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-07-13T22:35:08.439Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-07-13T22:35:08.439Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-07-13T22:35:08.439Z] gpg: CAST5 encrypted data [2021-07-13T22:35:08.439Z] gpg: encrypted with 1 passphrase [2021-07-13T22:35:08.439Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-07-13T22:35:08.736Z] + mkdir /home/jenkins [2021-07-13T22:35:08.736Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-07-13T22:35:09.030Z] + 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-13T22:35:09.040Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-13T22:35:09.342Z] ---> sigul-install.sh [2021-07-13T22:35:14.661Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-07-13T22:35:14.971Z] + git tag --list [2021-07-13T22:35:14.971Z] v0.1.0 [2021-07-13T22:35:14.971Z] v0.1.1 [2021-07-13T22:35:14.971Z] v1.0.0 [2021-07-13T22:35:14.971Z] v1.1.0 [2021-07-13T22:35:14.971Z] v1.2.0 [2021-07-13T22:35:14.971Z] v1.3.0 [2021-07-13T22:35:14.971Z] v1.3.1 [2021-07-13T22:35:14.971Z] v2.0.0 [2021-07-13T22:35:14.971Z] v2.0.1-dev.1 [2021-07-13T22:35:14.971Z] v2.0.1-dev.2 [2021-07-13T22:35:14.971Z] v2.0.1-dev.3 [Pipeline] sh [2021-07-13T22:35:15.282Z] + lftools sign git-tag v2.0.1-dev.3 [2021-07-13T22:35:15.859Z] Signing Git tag with Sigul... [2021-07-13T22:35:15.859Z] Signing v2.0.1-dev.3 [Pipeline] echo [2021-07-13T22:35:16.816Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-13T22:35:17.122Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-07-13T22:35:17.133Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-07-13T22:35:17.159Z] $ docker stop --time=1 2eccff3dded2220eb7ef58f781c28a47fb8f97cdebe41e5ceb9626c6755e50e1 [2021-07-13T22:35:18.810Z] $ docker rm -f 2eccff3dded2220eb7ef58f781c28a47fb8f97cdebe41e5ceb9626c6755e50e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-07-13T22:35:19.500Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-13T22:35:19.500Z] . [Pipeline] withDockerContainer [2021-07-13T22:35:19.596Z] prd-centos7-docker-4c-2g-25 does not seem to be running inside a container [2021-07-13T22:35:19.638Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-13T22:35:20.126Z] $ docker top 8023afcc9277c9daecca12cf159202437ccd9bd4756bb97e1d901224cafe7e72 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-13T22:35:20.276Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-13T22:35:20.276Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-13T22:35:20.423Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-13T22:35:20.423Z] $ docker exec 8023afcc9277c9daecca12cf159202437ccd9bd4756bb97e1d901224cafe7e72 ssh-agent [2021-07-13T22:35:20.556Z] SSH_AUTH_SOCK=/tmp/ssh-Yzrac1o47EUy/agent.13 [2021-07-13T22:35:20.556Z] SSH_AGENT_PID=19 [2021-07-13T22:35:20.563Z] Running ssh-add (command line suppressed) [2021-07-13T22:35:20.691Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_5890976553427077496.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_5890976553427077496.key) [2021-07-13T22:35:20.716Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-13T22:35:21.033Z] + git semver bump pre [2021-07-13T22:35:21.034Z] # -> Open(): unable to determine branch for HEAD [2021-07-13T22:35:21.034Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2021-07-13T22:35:21.034Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2021-07-13T22:35:21.034Z] # $SEMVER_REMOTE_NAME = origin [2021-07-13T22:35:21.034Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-13T22:35:21.034Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-13T22:35:21.034Z] # $SEMVER_BRANCH = main [2021-07-13T22:35:21.034Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [2021-07-13T22:35:21.034Z] 2.0.1-dev.4 [Pipeline] } [2021-07-13T22:35:21.044Z] $ docker exec --env ******** --env ******** 8023afcc9277c9daecca12cf159202437ccd9bd4756bb97e1d901224cafe7e72 ssh-agent -k [2021-07-13T22:35:21.177Z] unset SSH_AUTH_SOCK; [2021-07-13T22:35:21.178Z] unset SSH_AGENT_PID; [2021-07-13T22:35:21.178Z] echo Agent pid 19 killed; [2021-07-13T22:35:21.193Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-13T22:35:21.548Z] + git semver [Pipeline] } [2021-07-13T22:35:21.563Z] $ docker stop --time=1 8023afcc9277c9daecca12cf159202437ccd9bd4756bb97e1d901224cafe7e72 [2021-07-13T22:35:22.808Z] $ docker rm -f 8023afcc9277c9daecca12cf159202437ccd9bd4756bb97e1d901224cafe7e72 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-07-13T22:35:23.227Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-13T22:35:23.227Z] . [Pipeline] withDockerContainer [2021-07-13T22:35:23.321Z] prd-centos7-docker-4c-2g-25 does not seem to be running inside a container [2021-07-13T22:35:23.362Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-13T22:35:23.814Z] $ docker top 2fd754bee1690521044068af82ccec3937594ceadde138abe69bad28543ebe5d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-13T22:35:23.967Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-13T22:35:23.967Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-13T22:35:24.099Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-13T22:35:24.099Z] $ docker exec 2fd754bee1690521044068af82ccec3937594ceadde138abe69bad28543ebe5d ssh-agent [2021-07-13T22:35:24.244Z] SSH_AUTH_SOCK=/tmp/ssh-Y7JfJefeWx4J/agent.13 [2021-07-13T22:35:24.244Z] SSH_AGENT_PID=19 [2021-07-13T22:35:24.250Z] Running ssh-add (command line suppressed) [2021-07-13T22:35:24.374Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_4020638260729106987.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_4020638260729106987.key) [2021-07-13T22:35:24.404Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-13T22:35:24.709Z] + git semver push [2021-07-13T22:35:24.709Z] # -> Open(): unable to determine branch for HEAD [2021-07-13T22:35:24.709Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2021-07-13T22:35:24.709Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2021-07-13T22:35:24.709Z] # $SEMVER_REMOTE_NAME = origin [2021-07-13T22:35:24.709Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-13T22:35:24.709Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-13T22:35:24.709Z] # $SEMVER_BRANCH = main [2021-07-13T22:35:24.709Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [Pipeline] } [2021-07-13T22:35:31.315Z] $ docker exec --env ******** --env ******** 2fd754bee1690521044068af82ccec3937594ceadde138abe69bad28543ebe5d ssh-agent -k [2021-07-13T22:35:31.443Z] unset SSH_AUTH_SOCK; [2021-07-13T22:35:31.444Z] unset SSH_AGENT_PID; [2021-07-13T22:35:31.444Z] echo Agent pid 19 killed; [2021-07-13T22:35:31.463Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-13T22:35:31.810Z] + git semver [Pipeline] } [2021-07-13T22:35:31.826Z] $ docker stop --time=1 2fd754bee1690521044068af82ccec3937594ceadde138abe69bad28543ebe5d [2021-07-13T22:35:33.075Z] $ docker rm -f 2fd754bee1690521044068af82ccec3937594ceadde138abe69bad28543ebe5d [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-13T22:35:34.702Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-13T22:35:35.283Z] ---> package-listing.sh [2021-07-13T22:35:35.283Z] ++ facter osfamily [2021-07-13T22:35:35.283Z] ++ tr '[:upper:]' '[:lower:]' [2021-07-13T22:35:35.546Z] + OS_FAMILY=redhat [2021-07-13T22:35:35.546Z] + workspace=/w/workspace/oundry_app-functions-sdk-go_main [2021-07-13T22:35:35.546Z] + START_PACKAGES=/tmp/packages_start.txt [2021-07-13T22:35:35.546Z] + END_PACKAGES=/tmp/packages_end.txt [2021-07-13T22:35:35.546Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-07-13T22:35:35.546Z] + PACKAGES=/tmp/packages_start.txt [2021-07-13T22:35:35.546Z] + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' [2021-07-13T22:35:35.546Z] + PACKAGES=/tmp/packages_end.txt [2021-07-13T22:35:35.546Z] + case "${OS_FAMILY}" in [2021-07-13T22:35:35.546Z] + rpm -qa [2021-07-13T22:35:35.546Z] + sort [2021-07-13T22:35:36.496Z] + '[' -f /tmp/packages_start.txt ']' [2021-07-13T22:35:36.496Z] + '[' -f /tmp/packages_end.txt ']' [2021-07-13T22:35:36.497Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-07-13T22:35:36.497Z] + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' [2021-07-13T22:35:36.497Z] + mkdir -p /w/workspace/oundry_app-functions-sdk-go_main/archives/ [2021-07-13T22:35:36.497Z] + 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-13T22:35:36.512Z] 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-13T22:35:36.803Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-07-13T22:35:37.392Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-13T22:35:37.392Z] [2021-07-13T22:35:37.392Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-07-13T22:35:37.721Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-13T22:35:37.721Z] alpine: Pulling from edgex-lftools-log-publisher [2021-07-13T22:35:37.721Z] df20fa9351a1: Pulling fs layer [2021-07-13T22:35:37.721Z] 36b3adc4ff6f: Pulling fs layer [2021-07-13T22:35:37.721Z] 8ad3a11d3b57: Pulling fs layer [2021-07-13T22:35:37.721Z] 46f8f816bc3b: Pulling fs layer [2021-07-13T22:35:37.721Z] 93b61091891f: Pulling fs layer [2021-07-13T22:35:37.721Z] 93b9cdb0e59b: Pulling fs layer [2021-07-13T22:35:37.721Z] 5e14af77c1be: Pulling fs layer [2021-07-13T22:35:37.721Z] 01666e4c0597: Pulling fs layer [2021-07-13T22:35:37.721Z] aa168da1d23b: Pulling fs layer [2021-07-13T22:35:37.721Z] 46f8f816bc3b: Waiting [2021-07-13T22:35:37.721Z] 93b61091891f: Waiting [2021-07-13T22:35:37.721Z] 93b9cdb0e59b: Waiting [2021-07-13T22:35:37.721Z] 5e14af77c1be: Waiting [2021-07-13T22:35:37.721Z] 01666e4c0597: Waiting [2021-07-13T22:35:37.721Z] aa168da1d23b: Waiting [2021-07-13T22:35:37.721Z] 36b3adc4ff6f: Verifying Checksum [2021-07-13T22:35:37.721Z] 36b3adc4ff6f: Download complete [2021-07-13T22:35:37.721Z] 46f8f816bc3b: Verifying Checksum [2021-07-13T22:35:37.721Z] 46f8f816bc3b: Download complete [2021-07-13T22:35:37.721Z] df20fa9351a1: Verifying Checksum [2021-07-13T22:35:37.721Z] df20fa9351a1: Download complete [2021-07-13T22:35:37.721Z] 93b9cdb0e59b: Verifying Checksum [2021-07-13T22:35:37.721Z] 93b9cdb0e59b: Download complete [2021-07-13T22:35:37.996Z] 5e14af77c1be: Verifying Checksum [2021-07-13T22:35:37.996Z] 5e14af77c1be: Download complete [2021-07-13T22:35:37.996Z] 93b61091891f: Verifying Checksum [2021-07-13T22:35:37.996Z] 93b61091891f: Download complete [2021-07-13T22:35:37.996Z] 01666e4c0597: Verifying Checksum [2021-07-13T22:35:37.996Z] 01666e4c0597: Download complete [2021-07-13T22:35:37.996Z] df20fa9351a1: Pull complete [2021-07-13T22:35:38.261Z] 8ad3a11d3b57: Verifying Checksum [2021-07-13T22:35:38.261Z] 8ad3a11d3b57: Download complete [2021-07-13T22:35:38.261Z] 36b3adc4ff6f: Pull complete [2021-07-13T22:35:38.838Z] 8ad3a11d3b57: Pull complete [2021-07-13T22:35:38.838Z] 46f8f816bc3b: Pull complete [2021-07-13T22:35:39.100Z] 93b61091891f: Pull complete [2021-07-13T22:35:39.100Z] 93b9cdb0e59b: Pull complete [2021-07-13T22:35:39.361Z] 5e14af77c1be: Pull complete [2021-07-13T22:35:39.361Z] 01666e4c0597: Pull complete [2021-07-13T22:35:39.943Z] aa168da1d23b: Verifying Checksum [2021-07-13T22:35:39.943Z] aa168da1d23b: Download complete [2021-07-13T22:35:45.292Z] aa168da1d23b: Pull complete [2021-07-13T22:35:45.292Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-07-13T22:35:45.292Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-13T22:35:45.292Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-07-13T22:35:45.375Z] prd-centos7-docker-4c-2g-25 does not seem to be running inside a container [2021-07-13T22:35:45.420Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-07-13T22:35:47.522Z] $ docker top e262ef97dc67cf83c0b4888d55ec6770eddb77c9d8b5af3867503c2080561c75 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-13T22:35:47.921Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-07-13T22:35:48.230Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-07-13T22:35:48.532Z] + ls /var/log/sa-host [2021-07-13T22:35:48.532Z] + sadf -c /var/log/sa-host/sa05 [2021-07-13T22:35:48.532Z] file_magic: OK [2021-07-13T22:35:48.532Z] HZ: Using current value: 100 [2021-07-13T22:35:48.532Z] file_header: OK [2021-07-13T22:35:48.532Z] 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-13T22:35:48.532Z] Statistics: [2021-07-13T22:35:48.532Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-13T22:35:48.532Z] File successfully converted to sysstat format version 12.2.1 [2021-07-13T22:35:48.532Z] + sadf -c /var/log/sa-host/sa13 [2021-07-13T22:35:48.532Z] file_magic: OK [2021-07-13T22:35:48.532Z] HZ: Using current value: 100 [2021-07-13T22:35:48.532Z] file_header: OK [2021-07-13T22:35:48.532Z] 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-13T22:35:48.532Z] Statistics: [2021-07-13T22:35:48.532Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-13T22:35:48.532Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-13T22:35:49.293Z] provisioning config files... [2021-07-13T22:35:49.321Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config4168527286935999842tmp [Pipeline] { [Pipeline] echo [2021-07-13T22:35:49.347Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-13T22:35:49.650Z] ---> create-netrc.sh [Pipeline] } [2021-07-13T22:35:49.665Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-07-13T22:35:50.074Z] ---> python-tools-install.sh [Pipeline] echo [2021-07-13T22:35:50.086Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-13T22:35:50.389Z] ---> sudo-logs.sh [2021-07-13T22:35:50.389Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-07-13T22:35:50.425Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-13T22:35:50.741Z] ---> job-cost.sh [2021-07-13T22:35:50.741Z] lf-activate-venv: SKIPPING [2021-07-13T22:35:50.741Z] DEBUG: total: 0.18000000715255737 [2021-07-13T22:35:50.741Z] INFO: Retrieving Stack Cost... [2021-07-13T22:35:51.949Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-13T22:35:52.212Z] INFO: Archiving Costs [Pipeline] echo [2021-07-13T22:35:52.225Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-13T22:35:52.537Z] ---> logs-deploy.sh [2021-07-13T22:35:52.537Z] lf-activate-venv: SKIPPING [2021-07-13T22:35:52.537Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/main/2 [2021-07-13T22:35:52.537Z] INFO: archiving workspace using pattern(s): [2021-07-13T22:35:53.486Z] Archives upload complete. [2021-07-13T22:35:53.749Z] INFO: archiving logs to Nexus