Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a082b2dad36e6c0ca2a100859279ca83a0af4f9e 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-ssh3423590149621019953.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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-ssh8352899259182599534.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 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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-ssh1064978711759092676.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 # timeout=10 Commit message: "Merge pull request #353 from ernestojeda/go-mod-tidy-change" > 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-ssh6645961345180147502.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-ssh6669480481704970041.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_BUILD_IMAGE_TARGET: builder 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 on ‘prd-centos7-docker-4c-2g-1955’ Running on prd-centos7-docker-4c-2g-1961 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-ssh2718395037144713204.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision a082b2dad36e6c0ca2a100859279ca83a0af4f9e (main) > git config core.sparsecheckout # timeout=10 > git checkout -f a082b2dad36e6c0ca2a100859279ca83a0af4f9e # timeout=10 Commit message: "fix: Update docs links in README to 2.0 version of links (#943)" > git rev-list --no-walk 262cc6aa5531b14f4b25fa45b49e9ec6b31b4cbe # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-09-10T15:19:24.294Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-09-10T15:19:24.388Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-09-10T15:19:26.094Z] ========================================================= [2021-09-10T15:19:26.094Z] EdgeX Global Pipelines Version Info [2021-09-10T15:19:26.094Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-09-10T15:19:27.346Z] ------------------- [2021-09-10T15:19:27.346Z] stable info: [2021-09-10T15:19:27.346Z] ------------------- [2021-09-10T15:19:27.346Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-09-10T15:19:27.346Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-09-10T15:19:27.346Z] Message: update stable to v1.0.205 [2021-09-10T15:19:27.941Z] ------------------- [2021-09-10T15:19:27.941Z] experimental info: [2021-09-10T15:19:27.941Z] ------------------- [2021-09-10T15:19:27.941Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-09-10T15:19:27.941Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-09-10T15:19:27.941Z] Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-09-10T15:19:28.088Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-09-10T15:19:28.114Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-09-10T15:19:28.139Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-09-10T15:19:28.165Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-09-10T15:19:28.190Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-09-10T15:19:28.215Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-09-10T15:19:28.241Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-09-10T15:19:28.266Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-09-10T15:19:28.293Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-09-10T15:19:28.327Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-09-10T15:19:28.351Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-09-10T15:19:28.375Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-09-10T15:19:28.398Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2021-09-10T15:19:28.422Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-09-10T15:19:28.445Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-09-10T15:19:28.469Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-09-10T15:19:28.492Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-09-10T15:19:28.517Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-09-10T15:19:28.542Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-09-10T15:19:28.567Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-09-10T15:19:30.200Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-09-10T15:19:30.228Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-09-10T15:19:30.253Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-09-10T15:19:30.278Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-09-10T15:19:30.304Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-09-10T15:19:30.332Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-09-10T15:19:30.359Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-09-10T15:19:30.384Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-09-10T15:19:30.410Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-09-10T15:19:30.437Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-09-10T15:19:30.463Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a082b2dad36e6c0ca2a100859279ca83a0af4f9e [Pipeline] echo [2021-09-10T15:19:30.489Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a082b2d [Pipeline] echo [2021-09-10T15:19:30.526Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-09-10T15:19:32.642Z] + git log --format=format:%s -1 a082b2dad36e6c0ca2a100859279ca83a0af4f9e [Pipeline] echo [2021-09-10T15:19:32.702Z] GIT_COMMIT: a082b2dad36e6c0ca2a100859279ca83a0af4f9e, Commit Message: fix: Update docs links in README to 2.0 version of links (#943) [Pipeline] echo [2021-09-10T15:19:32.717Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-09-10T15:19:35.292Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-10T15:19:35.292Z] [2021-09-10T15:19:35.292Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-09-10T15:19:38.804Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-10T15:19:38.804Z] latest: Pulling from edgex-devops/git-semver [2021-09-10T15:19:38.804Z] 31603596830f: Pulling fs layer [2021-09-10T15:19:38.804Z] 04fac38145f0: Pulling fs layer [2021-09-10T15:19:38.804Z] 701f6daf10bf: Pulling fs layer [2021-09-10T15:19:38.804Z] 24f72da36158: Pulling fs layer [2021-09-10T15:19:38.804Z] 24f72da36158: Waiting [2021-09-10T15:19:38.804Z] 04fac38145f0: Verifying Checksum [2021-09-10T15:19:38.804Z] 04fac38145f0: Download complete [2021-09-10T15:19:38.804Z] 31603596830f: Verifying Checksum [2021-09-10T15:19:38.804Z] 31603596830f: Download complete [2021-09-10T15:19:38.804Z] 31603596830f: Pull complete [2021-09-10T15:19:38.804Z] 24f72da36158: Verifying Checksum [2021-09-10T15:19:38.804Z] 24f72da36158: Download complete [2021-09-10T15:19:38.804Z] 04fac38145f0: Pull complete [2021-09-10T15:19:38.804Z] 701f6daf10bf: Verifying Checksum [2021-09-10T15:19:38.804Z] 701f6daf10bf: Download complete [2021-09-10T15:19:38.804Z] 701f6daf10bf: Pull complete [2021-09-10T15:19:38.804Z] 24f72da36158: Pull complete [2021-09-10T15:19:38.804Z] Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 [2021-09-10T15:19:38.804Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-10T15:19:38.804Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-09-10T15:19:38.894Z] prd-centos7-docker-4c-2g-1961 does not seem to be running inside a container [2021-09-10T15:19:38.949Z] $ 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-09-10T15:19:39.699Z] $ docker top 0b441cf796ba0591ff4baf7f94c7da60e4b3f1511011c59803975dcb9a85b511 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-09-10T15:19:39.830Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-09-10T15:19:39.830Z] [ssh-agent] Looking for ssh-agent implementation... [2021-09-10T15:19:39.937Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-09-10T15:19:39.939Z] $ docker exec 0b441cf796ba0591ff4baf7f94c7da60e4b3f1511011c59803975dcb9a85b511 ssh-agent [2021-09-10T15:19:40.046Z] SSH_AUTH_SOCK=/tmp/ssh-y3U6yCOfqdj8/agent.14 [2021-09-10T15:19:40.046Z] SSH_AGENT_PID=20 [2021-09-10T15:19:40.059Z] Running ssh-add (command line suppressed) [2021-09-10T15:19:40.157Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_1060935994996468750.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_1060935994996468750.key) [2021-09-10T15:19:40.178Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-09-10T15:19:40.489Z] + git tag --points-at HEAD [Pipeline] } [2021-09-10T15:19:40.511Z] $ docker exec --env ******** --env ******** 0b441cf796ba0591ff4baf7f94c7da60e4b3f1511011c59803975dcb9a85b511 ssh-agent -k [2021-09-10T15:19:40.608Z] unset SSH_AUTH_SOCK; [2021-09-10T15:19:40.608Z] unset SSH_AGENT_PID; [2021-09-10T15:19:40.608Z] echo Agent pid 20 killed; [2021-09-10T15:19:40.623Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-09-10T15:19:40.667Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-09-10T15:19:40.667Z] [ssh-agent] Looking for ssh-agent implementation... [2021-09-10T15:19:40.779Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-09-10T15:19:40.782Z] $ docker exec 0b441cf796ba0591ff4baf7f94c7da60e4b3f1511011c59803975dcb9a85b511 ssh-agent [2021-09-10T15:19:40.892Z] SSH_AUTH_SOCK=/tmp/ssh-uqFOtTYx5x3h/agent.53 [2021-09-10T15:19:40.892Z] SSH_AGENT_PID=59 [2021-09-10T15:19:40.901Z] Running ssh-add (command line suppressed) [2021-09-10T15:19:41.002Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_2539902759348886818.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_2539902759348886818.key) [2021-09-10T15:19:41.022Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-09-10T15:19:41.336Z] + git semver init [2021-09-10T15:19:41.336Z] # -> Open(): unable to determine branch for HEAD [2021-09-10T15:19:41.336Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2021-09-10T15:19:41.336Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2021-09-10T15:19:41.336Z] # $SEMVER_REMOTE_NAME = origin [2021-09-10T15:19:41.336Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-09-10T15:19:41.336Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-09-10T15:19:41.336Z] # $SEMVER_BRANCH = main [2021-09-10T15:19:41.336Z] # $SEMVER_TEMP = /tmp/semver-855314383 [2021-09-10T15:19:41.336Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-09-10T15:19:43.932Z] # '/tmp/semver-855314383' -> '/w/workspace/oundry_app-functions-sdk-go_main/.semver' [2021-09-10T15:19:43.932Z] # -> Force: false [2021-09-10T15:19:43.932Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [Pipeline] } [2021-09-10T15:19:43.946Z] $ docker exec --env ******** --env ******** 0b441cf796ba0591ff4baf7f94c7da60e4b3f1511011c59803975dcb9a85b511 ssh-agent -k [2021-09-10T15:19:44.056Z] unset SSH_AUTH_SOCK; [2021-09-10T15:19:44.058Z] unset SSH_AGENT_PID; [2021-09-10T15:19:44.058Z] echo Agent pid 59 killed; [2021-09-10T15:19:44.070Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-09-10T15:19:44.412Z] + git semver [Pipeline] } [2021-09-10T15:19:44.432Z] $ docker stop --time=1 0b441cf796ba0591ff4baf7f94c7da60e4b3f1511011c59803975dcb9a85b511 [2021-09-10T15:19:45.761Z] $ docker rm -f 0b441cf796ba0591ff4baf7f94c7da60e4b3f1511011c59803975dcb9a85b511 [Pipeline] // withDockerContainer [Pipeline] sh [2021-09-10T15:19:47.861Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-09-10T15:19:48.180Z] Stashed 1 file(s) [Pipeline] echo [2021-09-10T15:19:48.183Z] [edgeXSemver]: initialized semver on version 2.0.2-dev.8 [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-09-10T15:20:03.443Z] Still waiting to schedule task [2021-09-10T15:20:03.443Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-09-10T15:20:03.446Z] Still waiting to schedule task [2021-09-10T15:20:03.446Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-09-10T15:22:36.678Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1964 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws [2021-09-10T15:22:36.699Z] Running in /w/workspace/app-functions-sdk-go/20 [Pipeline] { [Pipeline] checkout [2021-09-10T15:22:36.943Z] The recommended git tool is: git [2021-09-10T15:22:45.663Z] using credential edgex-jenkins-ssh [2021-09-10T15:22:45.692Z] Cloning the remote Git repository [2021-09-10T15:22:45.757Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-09-10T15:22:45.877Z] > git init /w/workspace/app-functions-sdk-go/20 # timeout=10 [2021-09-10T15:22:45.956Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-09-10T15:22:45.957Z] > git --version # timeout=10 [2021-09-10T15:22:45.978Z] > git --version # 'git version 2.17.1' [2021-09-10T15:22:45.980Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-10T15:22:46.077Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-10T15:22:50.349Z] Avoid second fetch [2021-09-10T15:22:50.349Z] Checking out Revision a082b2dad36e6c0ca2a100859279ca83a0af4f9e (main) [2021-09-10T15:22:50.307Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-09-10T15:22:50.323Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-10T15:22:50.369Z] > git config core.sparsecheckout # timeout=10 [2021-09-10T15:22:50.382Z] > git checkout -f a082b2dad36e6c0ca2a100859279ca83a0af4f9e # timeout=10 [2021-09-10T15:22:54.745Z] Commit message: "fix: Update docs links in README to 2.0 version of links (#943)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2021-09-10T15:22:55.544Z] ========================================================= [2021-09-10T15:22:55.544Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-09-10T15:22:55.544Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-09-10T15:22:56.103Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-09-10T15:22:58.094Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-09-10T15:22:58.094Z] 595b0fe564bb: Pulling fs layer [2021-09-10T15:22:58.094Z] 24495759ef45: Pulling fs layer [2021-09-10T15:22:58.094Z] d148012ef14d: Pulling fs layer [2021-09-10T15:22:58.094Z] e90a11edd702: Pulling fs layer [2021-09-10T15:22:58.094Z] d77568369979: Pulling fs layer [2021-09-10T15:22:58.094Z] e90a11edd702: Waiting [2021-09-10T15:22:58.094Z] fc1c9f9a7f3b: Pulling fs layer [2021-09-10T15:22:58.094Z] 170f2ba95c9a: Pulling fs layer [2021-09-10T15:22:58.094Z] 97ac5df62f85: Pulling fs layer [2021-09-10T15:22:58.094Z] d77568369979: Waiting [2021-09-10T15:22:58.094Z] fc1c9f9a7f3b: Waiting [2021-09-10T15:22:58.094Z] 170f2ba95c9a: Waiting [2021-09-10T15:22:58.094Z] 97ac5df62f85: Waiting [2021-09-10T15:22:58.094Z] d148012ef14d: Verifying Checksum [2021-09-10T15:22:58.094Z] d148012ef14d: Download complete [2021-09-10T15:22:58.094Z] 24495759ef45: Verifying Checksum [2021-09-10T15:22:58.094Z] 24495759ef45: Download complete [2021-09-10T15:22:58.094Z] d77568369979: Verifying Checksum [2021-09-10T15:22:58.094Z] d77568369979: Download complete [2021-09-10T15:22:58.094Z] fc1c9f9a7f3b: Verifying Checksum [2021-09-10T15:22:58.094Z] fc1c9f9a7f3b: Download complete [2021-09-10T15:22:58.094Z] 595b0fe564bb: Download complete [2021-09-10T15:22:58.094Z] 170f2ba95c9a: Download complete [2021-09-10T15:22:58.700Z] 595b0fe564bb: Pull complete [2021-09-10T15:22:59.326Z] 24495759ef45: Pull complete [2021-09-10T15:22:59.927Z] d148012ef14d: Pull complete [2021-09-10T15:23:01.379Z] 97ac5df62f85: Verifying Checksum [2021-09-10T15:23:01.379Z] 97ac5df62f85: Download complete [2021-09-10T15:23:01.654Z] e90a11edd702: Verifying Checksum [2021-09-10T15:23:01.654Z] e90a11edd702: Download complete [2021-09-10T15:23:11.746Z] e90a11edd702: Pull complete [2021-09-10T15:23:12.022Z] d77568369979: Pull complete [2021-09-10T15:23:12.621Z] fc1c9f9a7f3b: Pull complete [2021-09-10T15:23:12.896Z] 170f2ba95c9a: Pull complete [2021-09-10T15:23:19.651Z] 97ac5df62f85: Pull complete [2021-09-10T15:23:19.651Z] Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 [2021-09-10T15:23:19.651Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-09-10T15:23:19.651Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh [2021-09-10T15:23:20.052Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh [2021-09-10T15:23:20.405Z] + docker inspect -f . ci-base-image-arm64 [2021-09-10T15:23:20.406Z] . [Pipeline] withDockerContainer [2021-09-10T15:23:20.640Z] prd-ubuntu18.04-docker-arm64-4c-16g-1964 does not seem to be running inside a container [2021-09-10T15:23:20.740Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/20 -v /w/workspace/app-functions-sdk-go/20:/w/workspace/app-functions-sdk-go/20:rw,z -v /w/workspace/app-functions-sdk-go/20@tmp:/w/workspace/app-functions-sdk-go/20@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 ******** -e ******** ci-base-image-arm64 cat [2021-09-10T15:23:28.492Z] $ docker top adad29285c8d7ce39d6d8ed71d152d9146310f2bc809c1729cf9d8a21924ee48 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-09-10T15:23:29.439Z] + go version [2021-09-10T15:23:29.439Z] go version go1.16.6 linux/arm64 [Pipeline] } [2021-09-10T15:23:29.462Z] $ docker stop --time=1 adad29285c8d7ce39d6d8ed71d152d9146310f2bc809c1729cf9d8a21924ee48 [2021-09-10T15:23:31.556Z] $ docker rm -f adad29285c8d7ce39d6d8ed71d152d9146310f2bc809c1729cf9d8a21924ee48 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-09-10T15:23:32.356Z] + docker inspect -f . ci-base-image-arm64 [2021-09-10T15:23:32.356Z] . [Pipeline] withDockerContainer [2021-09-10T15:23:32.616Z] prd-ubuntu18.04-docker-arm64-4c-16g-1964 does not seem to be running inside a container [2021-09-10T15:23:32.693Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/20 -v /w/workspace/app-functions-sdk-go/20:/w/workspace/app-functions-sdk-go/20:rw,z -v /w/workspace/app-functions-sdk-go/20@tmp:/w/workspace/app-functions-sdk-go/20@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 ******** -e ******** ci-base-image-arm64 cat [2021-09-10T15:23:34.512Z] $ docker top 8870a9df08b54a73706cea11b07caec6f67ec88f5dc28f4e69e38b4d6740e0ff -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-09-10T15:23:35.495Z] + make test [2021-09-10T15:23:35.496Z] make -C ./app-service-template build [2021-09-10T15:23:35.496Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/20/app-service-template' [2021-09-10T15:23:35.496Z] go mod tidy [2021-09-10T15:23:43.764Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 [2021-09-10T15:23:43.764Z] go: downloading github.com/google/uuid v1.3.0 [2021-09-10T15:23:43.764Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-09-10T15:23:43.764Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 [2021-09-10T15:23:43.764Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 [2021-09-10T15:23:43.764Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 [2021-09-10T15:23:44.040Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-09-10T15:23:44.040Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-09-10T15:23:44.040Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2021-09-10T15:23:44.040Z] go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2021-09-10T15:23:44.316Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-09-10T15:23:44.625Z] go: downloading github.com/stretchr/objx v0.1.0 [2021-09-10T15:23:44.625Z] go: downloading github.com/go-playground/validator/v10 v10.6.1 [2021-09-10T15:23:44.625Z] go: downloading github.com/go-kit/kit v0.9.0 [2021-09-10T15:23:44.925Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2021-09-10T15:23:45.217Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-09-10T15:23:45.217Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 [2021-09-10T15:23:45.494Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 [2021-09-10T15:23:45.494Z] go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2021-09-10T15:23:45.494Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2021-09-10T15:23:45.770Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-09-10T15:23:46.044Z] go: downloading github.com/pelletier/go-toml v1.9.2 [2021-09-10T15:23:46.044Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-09-10T15:23:46.044Z] go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 [2021-09-10T15:23:46.044Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2021-09-10T15:23:46.641Z] go: downloading github.com/leodido/go-urn v1.2.0 [2021-09-10T15:23:46.641Z] go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 [2021-09-10T15:23:46.641Z] go: downloading golang.org/x/text v0.3.2 [2021-09-10T15:23:47.622Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-09-10T15:23:47.622Z] go: downloading github.com/go-playground/locales v0.13.0 [2021-09-10T15:23:50.244Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2021-09-10T15:23:50.528Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-09-10T15:23:50.802Z] go: downloading github.com/hashicorp/consul/api v1.8.1 [2021-09-10T15:23:51.408Z] go: downloading github.com/kr/pretty v0.2.0 [2021-09-10T15:23:52.004Z] go: downloading github.com/x448/float16 v0.8.4 [2021-09-10T15:23:52.004Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-09-10T15:23:52.004Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-09-10T15:23:52.004Z] go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd [2021-09-10T15:23:52.282Z] go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2021-09-10T15:23:52.282Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-09-10T15:23:52.282Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-09-10T15:23:52.282Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-09-10T15:23:52.282Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-09-10T15:23:52.556Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-09-10T15:23:52.556Z] go: downloading github.com/hashicorp/consul/sdk v0.7.0 [2021-09-10T15:23:52.830Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-09-10T15:23:53.103Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-09-10T15:23:53.103Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2021-09-10T15:23:53.103Z] go: downloading github.com/kr/text v0.1.0 [2021-09-10T15:23:53.375Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-09-10T15:23:53.375Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-09-10T15:23:53.375Z] go: downloading github.com/fatih/color v1.9.0 [2021-09-10T15:23:53.648Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-09-10T15:23:54.247Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-09-10T15:23:54.247Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-09-10T15:23:54.248Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-09-10T15:23:54.248Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-09-10T15:23:54.248Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2021-09-10T15:23:54.248Z] go: downloading github.com/pkg/errors v0.8.1 [2021-09-10T15:23:54.520Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-09-10T15:23:54.520Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2021-09-10T15:23:54.793Z] go: downloading github.com/onsi/gomega v1.7.0 [2021-09-10T15:23:55.068Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-09-10T15:23:55.068Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-09-10T15:23:55.068Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-09-10T15:23:55.342Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2021-09-10T15:23:55.342Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2021-09-10T15:23:55.342Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2021-09-10T15:23:55.342Z] go: downloading github.com/miekg/dns v1.1.26 [2021-09-10T15:23:55.342Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-09-10T15:23:55.614Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-09-10T15:23:55.886Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-09-10T15:23:55.886Z] go: downloading github.com/hpcloud/tail v1.0.0 [2021-09-10T15:23:56.165Z] go: downloading github.com/golang/protobuf v1.3.2 [2021-09-10T15:23:56.165Z] go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 [2021-09-10T15:23:56.165Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2021-09-10T15:23:56.165Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2021-09-10T15:23:56.441Z] go: downloading github.com/fsnotify/fsnotify v1.4.7 [2021-09-10T15:23:56.715Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.1 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-09-10T15:24:37.250Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/20/app-service-template' [2021-09-10T15:24:37.250Z] make -C ./app-service-template test [2021-09-10T15:24:37.250Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/20/app-service-template' [2021-09-10T15:24:37.250Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-09-10T15:25:04.083Z] ok new-app-service 0.043s coverage: 48.1% of statements [2021-09-10T15:25:04.083Z] ? new-app-service/config [no test files] [2021-09-10T15:25:04.083Z] ok new-app-service/functions 0.042s [2021-09-10T15:25:04.083Z] CGO_ENABLED=1 go vet ./... [2021-09-10T15:25:30.893Z] gofmt -l . [2021-09-10T15:25:30.893Z] [ "`gofmt -l .`" = "" ] [2021-09-10T15:25:30.893Z] ./bin/test-attribution-txt.sh [2021-09-10T15:25:32.328Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/20/app-service-template' [2021-09-10T15:25:32.328Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-09-10T15:25:33.776Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-09-10T15:25:42.121Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.090s coverage: 65.4% of statements [2021-09-10T15:25:42.121Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.089s coverage: 93.2% of statements [2021-09-10T15:25:42.121Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-09-10T15:25:42.121Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.103s coverage: 61.8% of statements [2021-09-10T15:25:42.121Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-09-10T15:25:42.121Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.070s [2021-09-10T15:25:42.725Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.158s coverage: 75.2% of statements [2021-09-10T15:25:42.725Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-09-10T15:25:42.725Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-09-10T15:25:42.725Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-09-10T15:25:42.725Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-09-10T15:25:42.725Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-09-10T15:25:42.725Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-09-10T15:25:42.725Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.020s coverage: 97.3% of statements [2021-09-10T15:25:42.725Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-09-10T15:25:42.725Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.039s coverage: 10.5% of statements [2021-09-10T15:25:51.041Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.152s coverage: 77.0% of statements [2021-09-10T15:25:51.041Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-09-10T15:25:51.041Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.100s coverage: 12.5% of statements [2021-09-10T15:25:51.041Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.107s coverage: 27.3% of statements [2021-09-10T15:25:51.041Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-09-10T15:25:51.041Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-09-10T15:25:51.041Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.036s coverage: 51.4% of statements [2021-09-10T15:26:17.932Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.116s coverage: 77.3% of statements [2021-09-10T15:26:17.932Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.036s coverage: 94.4% of statements [2021-09-10T15:26:17.932Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-09-10T15:26:19.403Z] gofmt -l . [2021-09-10T15:26:20.005Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-09-10T15:26:20.301Z] $ docker stop --time=1 8870a9df08b54a73706cea11b07caec6f67ec88f5dc28f4e69e38b4d6740e0ff [2021-09-10T15:26:22.441Z] $ docker rm -f 8870a9df08b54a73706cea11b07caec6f67ec88f5dc28f4e69e38b4d6740e0ff [2021-09-10T15:26:23.621Z] Running on prd-centos7-docker-4c-2g-1962 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] ws [2021-09-10T15:26:26.293Z] Running in /w/workspace/app-functions-sdk-go/20 [Pipeline] { [2021-09-10T15:26:26.313Z] + sudo chown -R jenkins:jenkins . [Pipeline] checkout [Pipeline] stash [2021-09-10T15:26:26.524Z] The recommended git tool is: git [2021-09-10T15:26:27.060Z] 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] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-09-10T15:26:27.831Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-09-10T15:26:27.831Z] [2021-09-10T15:26:27.831Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-09-10T15:26:28.469Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-09-10T15:26:30.362Z] arm64: Pulling from edgex-lftools-log-publisher [2021-09-10T15:26:30.362Z] 448f6bf000e3: Pulling fs layer [2021-09-10T15:26:30.362Z] f757da607395: Pulling fs layer [2021-09-10T15:26:30.362Z] 05883995daec: Pulling fs layer [2021-09-10T15:26:30.362Z] 8603b9c90790: Pulling fs layer [2021-09-10T15:26:30.362Z] 1560dd03e051: Pulling fs layer [2021-09-10T15:26:30.362Z] 27f5ce0e4adf: Pulling fs layer [2021-09-10T15:26:30.362Z] c2d8d7efcc4b: Pulling fs layer [2021-09-10T15:26:30.362Z] 1560dd03e051: Waiting [2021-09-10T15:26:30.362Z] 27f5ce0e4adf: Waiting [2021-09-10T15:26:30.362Z] 8603b9c90790: Waiting [2021-09-10T15:26:30.362Z] c2d8d7efcc4b: Waiting [2021-09-10T15:26:30.362Z] f757da607395: Verifying Checksum [2021-09-10T15:26:30.362Z] f757da607395: Download complete [2021-09-10T15:26:30.362Z] 8603b9c90790: Verifying Checksum [2021-09-10T15:26:30.362Z] 8603b9c90790: Download complete [2021-09-10T15:26:30.362Z] 1560dd03e051: Verifying Checksum [2021-09-10T15:26:30.362Z] 1560dd03e051: Download complete [2021-09-10T15:26:30.362Z] 27f5ce0e4adf: Download complete [2021-09-10T15:26:30.362Z] 05883995daec: Verifying Checksum [2021-09-10T15:26:30.362Z] 05883995daec: Download complete [2021-09-10T15:26:30.634Z] 448f6bf000e3: Verifying Checksum [2021-09-10T15:26:30.634Z] 448f6bf000e3: Download complete [2021-09-10T15:26:30.841Z] using credential edgex-jenkins-ssh [2021-09-10T15:26:30.861Z] Cloning the remote Git repository [2021-09-10T15:26:30.881Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-09-10T15:26:30.955Z] > git init /w/workspace/app-functions-sdk-go/20 # timeout=10 [2021-09-10T15:26:30.987Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-09-10T15:26:30.987Z] > git --version # timeout=10 [2021-09-10T15:26:30.996Z] > git --version # 'git version 2.24.4' [2021-09-10T15:26:30.996Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-10T15:26:31.027Z] [INFO] Currently running in a labeled security context [2021-09-10T15:26:31.027Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-09-10T15:26:31.027Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/20@tmp/jenkins-gitclient-ssh679487551163257572.key [2021-09-10T15:26:31.046Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-10T15:26:33.245Z] c2d8d7efcc4b: Verifying Checksum [2021-09-10T15:26:33.245Z] c2d8d7efcc4b: Download complete [2021-09-10T15:26:33.839Z] 448f6bf000e3: Pull complete [2021-09-10T15:26:34.432Z] f757da607395: Pull complete [2021-09-10T15:26:35.071Z] Avoid second fetch [2021-09-10T15:26:35.072Z] Checking out Revision a082b2dad36e6c0ca2a100859279ca83a0af4f9e (main) [2021-09-10T15:26:35.866Z] 05883995daec: Pull complete [2021-09-10T15:26:35.045Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-09-10T15:26:35.055Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-10T15:26:35.080Z] > git config core.sparsecheckout # timeout=10 [2021-09-10T15:26:35.088Z] > git checkout -f a082b2dad36e6c0ca2a100859279ca83a0af4f9e # timeout=10 [2021-09-10T15:26:36.465Z] 8603b9c90790: Pull complete [2021-09-10T15:26:37.445Z] 1560dd03e051: Pull complete [2021-09-10T15:26:37.718Z] 27f5ce0e4adf: Pull complete [2021-09-10T15:26:38.865Z] Commit message: "fix: Update docs links in README to 2.0 version of links (#943)" [2021-09-10T15:26:39.455Z] [2021-09-10T15:26:39.455Z] GitHub has been notified of this commit’s build result [2021-09-10T15:26:39.455Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2021-09-10T15:26:39.718Z] ========================================================= [2021-09-10T15:26:39.718Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-09-10T15:26:39.718Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-09-10T15:26:40.174Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-09-10T15:26:40.174Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-09-10T15:26:40.174Z] 540db60ca938: Pulling fs layer [2021-09-10T15:26:40.174Z] adcc1eea9eea: Pulling fs layer [2021-09-10T15:26:40.174Z] 4c4ab2625f07: Pulling fs layer [2021-09-10T15:26:40.174Z] db62176df00c: Pulling fs layer [2021-09-10T15:26:40.174Z] 3b30891b0d05: Pulling fs layer [2021-09-10T15:26:40.174Z] 06b49ca38bd5: Pulling fs layer [2021-09-10T15:26:40.174Z] c788192a36de: Pulling fs layer [2021-09-10T15:26:40.174Z] a77e37c0d609: Pulling fs layer [2021-09-10T15:26:40.174Z] c3185cebc471: Pulling fs layer [2021-09-10T15:26:40.174Z] db62176df00c: Waiting [2021-09-10T15:26:40.174Z] 3b30891b0d05: Waiting [2021-09-10T15:26:40.174Z] 06b49ca38bd5: Waiting [2021-09-10T15:26:40.174Z] c788192a36de: Waiting [2021-09-10T15:26:40.174Z] a77e37c0d609: Waiting [2021-09-10T15:26:40.174Z] c3185cebc471: Waiting [2021-09-10T15:26:40.174Z] 4c4ab2625f07: Verifying Checksum [2021-09-10T15:26:40.174Z] 4c4ab2625f07: Download complete [2021-09-10T15:26:40.445Z] adcc1eea9eea: Verifying Checksum [2021-09-10T15:26:40.445Z] adcc1eea9eea: Download complete [2021-09-10T15:26:40.445Z] 3b30891b0d05: Verifying Checksum [2021-09-10T15:26:40.445Z] 3b30891b0d05: Download complete [2021-09-10T15:26:40.445Z] 06b49ca38bd5: Verifying Checksum [2021-09-10T15:26:40.445Z] 06b49ca38bd5: Download complete [2021-09-10T15:26:40.445Z] c788192a36de: Verifying Checksum [2021-09-10T15:26:40.445Z] c788192a36de: Download complete [2021-09-10T15:26:40.445Z] 540db60ca938: Verifying Checksum [2021-09-10T15:26:40.710Z] 540db60ca938: Pull complete [2021-09-10T15:26:40.710Z] adcc1eea9eea: Pull complete [2021-09-10T15:26:40.710Z] 4c4ab2625f07: Pull complete [2021-09-10T15:26:40.976Z] a77e37c0d609: Verifying Checksum [2021-09-10T15:26:40.976Z] a77e37c0d609: Download complete [2021-09-10T15:26:44.326Z] c3185cebc471: Verifying Checksum [2021-09-10T15:26:44.326Z] c3185cebc471: Download complete [2021-09-10T15:26:44.595Z] db62176df00c: Verifying Checksum [2021-09-10T15:26:44.595Z] db62176df00c: Download complete [2021-09-10T15:26:47.961Z] db62176df00c: Pull complete [2021-09-10T15:26:48.234Z] 3b30891b0d05: Pull complete [2021-09-10T15:26:48.234Z] 06b49ca38bd5: Pull complete [2021-09-10T15:26:48.234Z] c788192a36de: Pull complete [2021-09-10T15:26:48.505Z] a77e37c0d609: Pull complete [2021-09-10T15:26:50.472Z] c3185cebc471: Pull complete [2021-09-10T15:26:50.472Z] Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd [2021-09-10T15:26:50.472Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-09-10T15:26:50.472Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh [2021-09-10T15:26:50.836Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh [2021-09-10T15:26:51.162Z] + docker inspect -f . ci-base-image-x86_64 [2021-09-10T15:26:51.162Z] . [Pipeline] withDockerContainer [2021-09-10T15:26:51.254Z] prd-centos7-docker-4c-2g-1962 does not seem to be running inside a container [2021-09-10T15:26:51.314Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/20 -v /w/workspace/app-functions-sdk-go/20:/w/workspace/app-functions-sdk-go/20:rw,z -v /w/workspace/app-functions-sdk-go/20@tmp:/w/workspace/app-functions-sdk-go/20@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-09-10T15:26:53.395Z] c2d8d7efcc4b: Pull complete [2021-09-10T15:26:53.395Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-09-10T15:26:53.395Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-09-10T15:26:53.395Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-09-10T15:26:54.399Z] $ docker top 5c70a40969e9dfd55592aced65636b945efa0530460b6a563b6c9ad1287791ef -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer [2021-09-10T15:26:54.757Z] prd-ubuntu18.04-docker-arm64-4c-16g-1964 does not seem to be running inside a container [2021-09-10T15:26:54.855Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-functions-sdk-go/20 -v /w/workspace/app-functions-sdk-go/20:/w/workspace/app-functions-sdk-go/20:rw,z -v /w/workspace/app-functions-sdk-go/20@tmp:/w/workspace/app-functions-sdk-go/20@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-09-10T15:26:59.151Z] $ docker top e768a717b523121fad7e810b54541fb5f8d32bd00f96ff2a23d095be73380e13 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh [2021-09-10T15:26:59.793Z] + go version [2021-09-10T15:26:59.793Z] go version go1.16.6 linux/amd64 [Pipeline] } [2021-09-10T15:26:59.807Z] $ docker stop --time=1 5c70a40969e9dfd55592aced65636b945efa0530460b6a563b6c9ad1287791ef [2021-09-10T15:27:00.273Z] ---> job-cost.sh [2021-09-10T15:27:00.273Z] lf-activate-venv: SKIPPING [2021-09-10T15:27:00.273Z] INFO: No Stack... [2021-09-10T15:27:00.993Z] $ docker rm -f 5c70a40969e9dfd55592aced65636b945efa0530460b6a563b6c9ad1287791ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2021-09-10T15:27:01.270Z] INFO: Retrieving Pricing Info for: v3-standard-4 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-09-10T15:27:01.544Z] INFO: Archiving Costs [Pipeline] sh [2021-09-10T15:27:01.638Z] + docker inspect -f . ci-base-image-x86_64 [2021-09-10T15:27:01.638Z] . [Pipeline] withDockerContainer [2021-09-10T15:27:01.725Z] prd-centos7-docker-4c-2g-1962 does not seem to be running inside a container [2021-09-10T15:27:01.785Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/20 -v /w/workspace/app-functions-sdk-go/20:/w/workspace/app-functions-sdk-go/20:rw,z -v /w/workspace/app-functions-sdk-go/20@tmp:/w/workspace/app-functions-sdk-go/20@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-09-10T15:27:02.159Z] $ docker top 382502c9f2429476f767e38a4dcf931ee9e400678786906963be23477df9d381 -eo pid,comm [2021-09-10T15:27:02.202Z] + cat /w/workspace/app-functions-sdk-go/20/archives/cost.csv [2021-09-10T15:27:02.202Z] + cut -d, -f6 [Pipeline] { [Pipeline] fileExists [Pipeline] lock [2021-09-10T15:27:02.269Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-20-stack-cost] [2021-09-10T15:27:02.292Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-20-stack-cost] did not exist. Created. [2021-09-10T15:27:02.292Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-20-stack-cost] [Pipeline] { [Pipeline] sh [Pipeline] unstash [Pipeline] sh [2021-09-10T15:27:04.125Z] + make test [2021-09-10T15:27:04.125Z] make -C ./app-service-template build [2021-09-10T15:27:04.125Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/20/app-service-template' [2021-09-10T15:27:04.125Z] go mod tidy [2021-09-10T15:27:04.125Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 [2021-09-10T15:27:04.125Z] go: downloading github.com/google/uuid v1.3.0 [2021-09-10T15:27:04.125Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-09-10T15:27:04.125Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 [2021-09-10T15:27:04.125Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 [2021-09-10T15:27:04.125Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 [2021-09-10T15:27:04.125Z] go: downloading github.com/go-playground/validator/v10 v10.6.1 [2021-09-10T15:27:04.125Z] go: downloading github.com/go-kit/kit v0.9.0 [2021-09-10T15:27:04.125Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2021-09-10T15:27:04.125Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-09-10T15:27:04.125Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-09-10T15:27:04.125Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2021-09-10T15:27:04.125Z] go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2021-09-10T15:27:04.125Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-09-10T15:27:04.125Z] go: downloading github.com/stretchr/objx v0.1.0 [2021-09-10T15:27:04.125Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-09-10T15:27:04.125Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 [2021-09-10T15:27:04.125Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 [2021-09-10T15:27:04.125Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2021-09-10T15:27:04.125Z] go: downloading github.com/leodido/go-urn v1.2.0 [2021-09-10T15:27:04.125Z] go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 [2021-09-10T15:27:04.125Z] go: downloading golang.org/x/text v0.3.2 [2021-09-10T15:27:04.125Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-09-10T15:27:04.125Z] go: downloading github.com/go-playground/locales v0.13.0 [2021-09-10T15:27:04.127Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-09-10T15:27:04.211Z] Stashed 1 file(s) [Pipeline] } [2021-09-10T15:27:04.223Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-20-stack-cost] [Pipeline] // lock [Pipeline] } [2021-09-10T15:27:04.251Z] $ docker stop --time=1 e768a717b523121fad7e810b54541fb5f8d32bd00f96ff2a23d095be73380e13 [2021-09-10T15:27:05.112Z] go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2021-09-10T15:27:05.112Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2021-09-10T15:27:05.112Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-09-10T15:27:05.112Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-09-10T15:27:05.112Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2021-09-10T15:27:05.112Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-09-10T15:27:05.112Z] go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 [2021-09-10T15:27:05.112Z] go: downloading github.com/pelletier/go-toml v1.9.2 [2021-09-10T15:27:05.112Z] go: downloading github.com/hashicorp/consul/api v1.8.1 [2021-09-10T15:27:05.379Z] go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd [2021-09-10T15:27:05.379Z] go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2021-09-10T15:27:05.379Z] go: downloading github.com/kr/pretty v0.2.0 [2021-09-10T15:27:05.379Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-09-10T15:27:05.379Z] go: downloading github.com/x448/float16 v0.8.4 [2021-09-10T15:27:05.379Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-09-10T15:27:05.379Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-09-10T15:27:05.654Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-09-10T15:27:05.654Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-09-10T15:27:05.654Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-09-10T15:27:05.654Z] go: downloading github.com/hashicorp/consul/sdk v0.7.0 [2021-09-10T15:27:05.654Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-09-10T15:27:05.654Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-09-10T15:27:05.654Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-09-10T15:27:05.654Z] go: downloading github.com/kr/text v0.1.0 [2021-09-10T15:27:05.654Z] go: downloading github.com/fatih/color v1.9.0 [2021-09-10T15:27:05.654Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-09-10T15:27:05.654Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-09-10T15:27:05.654Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-09-10T15:27:05.654Z] go: downloading github.com/pkg/errors v0.8.1 [2021-09-10T15:27:05.654Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-09-10T15:27:05.654Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-09-10T15:27:05.654Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2021-09-10T15:27:05.654Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2021-09-10T15:27:05.932Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-09-10T15:27:05.932Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-09-10T15:27:05.932Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-09-10T15:27:05.932Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-09-10T15:27:05.932Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-09-10T15:27:05.932Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-09-10T15:27:05.932Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2021-09-10T15:27:05.932Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2021-09-10T15:27:05.932Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2021-09-10T15:27:05.932Z] go: downloading github.com/miekg/dns v1.1.26 [2021-09-10T15:27:05.932Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-09-10T15:27:05.932Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2021-09-10T15:27:05.932Z] go: downloading github.com/onsi/gomega v1.7.0 [2021-09-10T15:27:05.996Z] $ docker rm -f e768a717b523121fad7e810b54541fb5f8d32bd00f96ff2a23d095be73380e13 [2021-09-10T15:27:06.202Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-09-10T15:27:06.202Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-09-10T15:27:06.202Z] go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 [2021-09-10T15:27:06.202Z] go: downloading github.com/hpcloud/tail v1.0.0 [2021-09-10T15:27:06.202Z] go: downloading github.com/golang/protobuf v1.3.2 [2021-09-10T15:27:06.202Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2021-09-10T15:27:06.202Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2021-09-10T15:27:06.202Z] go: downloading github.com/fsnotify/fsnotify v1.4.7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [2021-09-10T15:27:06.468Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.1 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [Pipeline] // stage [Pipeline] } [2021-09-10T15:27:18.869Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/20/app-service-template' [2021-09-10T15:27:18.870Z] make -C ./app-service-template test [2021-09-10T15:27:18.870Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/20/app-service-template' [2021-09-10T15:27:18.870Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-09-10T15:27:27.159Z] ok new-app-service 0.012s coverage: 48.1% of statements [2021-09-10T15:27:27.159Z] ? new-app-service/config [no test files] [2021-09-10T15:27:27.159Z] ok new-app-service/functions 0.008s [2021-09-10T15:27:27.159Z] CGO_ENABLED=1 go vet ./... [2021-09-10T15:27:33.830Z] gofmt -l . [2021-09-10T15:27:33.830Z] [ "`gofmt -l .`" = "" ] [2021-09-10T15:27:33.830Z] ./bin/test-attribution-txt.sh [2021-09-10T15:27:33.830Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/20/app-service-template' [2021-09-10T15:27:33.830Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-09-10T15:27:34.119Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-09-10T15:27:35.136Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.010s coverage: 65.4% of statements [2021-09-10T15:27:35.427Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.014s coverage: 93.2% of statements [2021-09-10T15:27:35.427Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-09-10T15:27:36.023Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.015s coverage: 61.8% of statements [2021-09-10T15:27:36.024Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-09-10T15:27:36.024Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.008s [2021-09-10T15:27:36.613Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.056s coverage: 75.2% of statements [2021-09-10T15:27:36.613Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-09-10T15:27:36.613Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-09-10T15:27:36.613Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-09-10T15:27:36.613Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-09-10T15:27:36.613Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-09-10T15:27:36.613Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-09-10T15:27:36.613Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.007s coverage: 97.3% of statements [2021-09-10T15:27:36.613Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-09-10T15:27:36.886Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.007s coverage: 10.5% of statements [2021-09-10T15:27:41.150Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.050s coverage: 77.0% of statements [2021-09-10T15:27:41.150Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-09-10T15:27:41.150Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.007s coverage: 12.5% of statements [2021-09-10T15:27:41.150Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.010s coverage: 27.3% of statements [2021-09-10T15:27:41.150Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-09-10T15:27:41.150Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-09-10T15:27:41.150Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.008s coverage: 51.4% of statements [2021-09-10T15:28:07.874Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.021s coverage: 77.3% of statements [2021-09-10T15:28:07.874Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.005s coverage: 94.4% of statements [2021-09-10T15:28:07.874Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-09-10T15:28:07.874Z] gofmt -l . [2021-09-10T15:28:07.874Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-09-10T15:28:07.888Z] $ docker stop --time=1 382502c9f2429476f767e38a4dcf931ee9e400678786906963be23477df9d381 [2021-09-10T15:28:09.171Z] $ docker rm -f 382502c9f2429476f767e38a4dcf931ee9e400678786906963be23477df9d381 [Pipeline] // withDockerContainer [Pipeline] sh [2021-09-10T15:28:09.848Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-09-10T15:28:09.883Z] Warning: overwriting stash ‘coverage-report’ [2021-09-10T15:28:10.131Z] 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] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-09-10T15:28:11.049Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-10T15:28:11.049Z] [2021-09-10T15:28:11.049Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-09-10T15:28:11.378Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-10T15:28:11.378Z] latest: Pulling from edgex-lftools-log-publisher [2021-09-10T15:28:11.378Z] b4d181a07f80: Pulling fs layer [2021-09-10T15:28:11.378Z] a1111a8f2ec3: Pulling fs layer [2021-09-10T15:28:11.378Z] ed53099fbce6: Pulling fs layer [2021-09-10T15:28:11.378Z] dc539afda2c1: Pulling fs layer [2021-09-10T15:28:11.378Z] 77bc0d833cb6: Pulling fs layer [2021-09-10T15:28:11.378Z] 9065ff56babe: Pulling fs layer [2021-09-10T15:28:11.378Z] d287ab97295c: Pulling fs layer [2021-09-10T15:28:11.378Z] dc539afda2c1: Waiting [2021-09-10T15:28:11.378Z] 77bc0d833cb6: Waiting [2021-09-10T15:28:11.378Z] 9065ff56babe: Waiting [2021-09-10T15:28:11.378Z] d287ab97295c: Waiting [2021-09-10T15:28:11.653Z] a1111a8f2ec3: Verifying Checksum [2021-09-10T15:28:11.653Z] a1111a8f2ec3: Download complete [2021-09-10T15:28:11.653Z] dc539afda2c1: Verifying Checksum [2021-09-10T15:28:11.653Z] dc539afda2c1: Download complete [2021-09-10T15:28:11.919Z] 77bc0d833cb6: Verifying Checksum [2021-09-10T15:28:11.919Z] 77bc0d833cb6: Download complete [2021-09-10T15:28:11.919Z] 9065ff56babe: Verifying Checksum [2021-09-10T15:28:11.919Z] 9065ff56babe: Download complete [2021-09-10T15:28:11.919Z] ed53099fbce6: Verifying Checksum [2021-09-10T15:28:11.919Z] ed53099fbce6: Download complete [2021-09-10T15:28:12.882Z] b4d181a07f80: Verifying Checksum [2021-09-10T15:28:12.882Z] b4d181a07f80: Download complete [2021-09-10T15:28:13.852Z] b4d181a07f80: Pull complete [2021-09-10T15:28:14.125Z] a1111a8f2ec3: Pull complete [2021-09-10T15:28:14.392Z] ed53099fbce6: Pull complete [2021-09-10T15:28:14.662Z] dc539afda2c1: Pull complete [2021-09-10T15:28:14.933Z] 77bc0d833cb6: Pull complete [2021-09-10T15:28:14.933Z] 9065ff56babe: Pull complete [2021-09-10T15:28:16.340Z] d287ab97295c: Verifying Checksum [2021-09-10T15:28:16.340Z] d287ab97295c: Download complete [2021-09-10T15:28:20.630Z] d287ab97295c: Pull complete [2021-09-10T15:28:20.630Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-09-10T15:28:20.630Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-10T15:28:20.630Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-09-10T15:28:20.726Z] prd-centos7-docker-4c-2g-1962 does not seem to be running inside a container [2021-09-10T15:28:20.787Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-functions-sdk-go/20 -v /w/workspace/app-functions-sdk-go/20:/w/workspace/app-functions-sdk-go/20:rw,z -v /w/workspace/app-functions-sdk-go/20@tmp:/w/workspace/app-functions-sdk-go/20@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-lftools-log-publisher:latest cat [2021-09-10T15:28:23.245Z] $ docker top 7a6ddb7babb41f26907fe2f247cc40e314c22e04fb51de8d019f29a384bf91ac -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-10T15:28:25.679Z] ---> job-cost.sh [2021-09-10T15:28:25.679Z] lf-activate-venv: SKIPPING [2021-09-10T15:28:25.679Z] INFO: No Stack... [2021-09-10T15:28:26.638Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-09-10T15:28:26.903Z] INFO: Archiving Costs [Pipeline] sh [2021-09-10T15:28:27.225Z] + cat /w/workspace/app-functions-sdk-go/20/archives/cost.csv [2021-09-10T15:28:27.225Z] + cut -d, -f6 [Pipeline] lock [2021-09-10T15:28:27.264Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-20-stack-cost] [2021-09-10T15:28:27.274Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-20-stack-cost] did not exist. Created. [2021-09-10T15:28:27.274Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-09-10T15:28:27.621Z] /w/workspace/app-functions-sdk-go/20@tmp/durable-dab8382e/script.sh: 1: /w/workspace/app-functions-sdk-go/20@tmp/durable-dab8382e/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-09-10T15:28:27.942Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-09-10T15:28:27.961Z] Warning: overwriting stash ‘stack-cost’ [2021-09-10T15:28:27.992Z] Stashed 1 file(s) [Pipeline] } [2021-09-10T15:28:28.013Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-20-stack-cost] [Pipeline] // lock [Pipeline] } [2021-09-10T15:28:28.041Z] $ docker stop --time=1 7a6ddb7babb41f26907fe2f247cc40e314c22e04fb51de8d019f29a384bf91ac [2021-09-10T15:28:29.199Z] $ docker rm -f 7a6ddb7babb41f26907fe2f247cc40e314c22e04fb51de8d019f29a384bf91ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [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-09-10T15:28:30.006Z] provisioning config files... [2021-09-10T15:28:30.028Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config2697959566803743107tmp [Pipeline] { [Pipeline] sh [2021-09-10T15:28:30.367Z] + set +x [2021-09-10T15:28:30.367Z] + bash -s -- [2021-09-10T15:28:30.367Z] + curl -s https://codecov.io/bash [2021-09-10T15:28:30.367Z] [2021-09-10T15:28:30.367Z] _____ _ [2021-09-10T15:28:30.367Z] / ____| | | [2021-09-10T15:28:30.367Z] | | ___ __| | ___ ___ _____ __ [2021-09-10T15:28:30.367Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-09-10T15:28:30.367Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-09-10T15:28:30.367Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-09-10T15:28:30.367Z] Bash-1.0.6 [2021-09-10T15:28:30.367Z] [2021-09-10T15:28:30.367Z] [2021-09-10T15:28:30.367Z] ==> git version 2.24.4 found [2021-09-10T15:28:30.367Z] ==> 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-09-10T15:28:30.367Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-09-10T15:28:30.367Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-09-10T15:28:30.367Z] ==> Jenkins CI detected. [2021-09-10T15:28:30.367Z] current dir:  /w/workspace/oundry_app-functions-sdk-go_main [2021-09-10T15:28:30.367Z] project root: . [2021-09-10T15:28:30.367Z] --> token set from env [2021-09-10T15:28:30.640Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-09-10T15:28:30.640Z] ==> Running gcov in . (disable via -X gcov) [2021-09-10T15:28:30.640Z] ==> Python coveragepy not found [2021-09-10T15:28:30.640Z] ==> Searching for coverage reports in: [2021-09-10T15:28:30.640Z] + . [2021-09-10T15:28:30.640Z] -> Found 2 reports [2021-09-10T15:28:30.640Z] ==> Detecting git/mercurial file structure [2021-09-10T15:28:30.640Z] ==> Reading reports [2021-09-10T15:28:30.640Z] + ./app-service-template/coverage.out bytes=1219 [2021-09-10T15:28:30.640Z] + ./coverage.out bytes=100525 [2021-09-10T15:28:30.640Z] ==> Appending adjustments [2021-09-10T15:28:30.640Z] https://docs.codecov.io/docs/fixing-reports [2021-09-10T15:28:30.915Z] + Found adjustments [2021-09-10T15:28:30.915Z] ==> Gzipping contents [2021-09-10T15:28:30.915Z] 20K /tmp/codecov.6WeZ3Z.gz [2021-09-10T15:28:30.915Z] ==> Uploading reports [2021-09-10T15:28:30.915Z] url: https://codecov.io [2021-09-10T15:28:30.915Z] query: branch=main&commit=a082b2dad36e6c0ca2a100859279ca83a0af4f9e&build=20&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F20%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-09-10T15:28:30.915Z] -> Pinging Codecov [2021-09-10T15:28:30.915Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=17ebf437-e483-4174-b11b-49c3772ebb45&branch=main&commit=a082b2dad36e6c0ca2a100859279ca83a0af4f9e&build=20&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F20%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-09-10T15:28:31.500Z] -> Uploading to [2021-09-10T15:28:31.500Z] https://storage.googleapis.com/codecov/v4/raw/2021-09-10/3D8B5DFFC46A037C893635FACE044666/a082b2dad36e6c0ca2a100859279ca83a0af4f9e/f3906519-11c7-43af-8e25-004ce3233fbf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210910%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210910T152831Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3120da790ab47b127d8be58c070235f4567292808e6f9f69f6329304cd583f64 [2021-09-10T15:28:31.500Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-09-10T15:28:31.500Z] Dload Upload Total Spent Left Speed [2021-09-10T15:28:31.766Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 17545 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17545 0 0 100 17545 0 47100 --:--:-- --:--:-- --:--:-- 47037 [2021-09-10T15:28:31.766Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/a082b2dad36e6c0ca2a100859279ca83a0af4f9e [Pipeline] } [2021-09-10T15:28:31.780Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-09-10T15:28:34.561Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-09-10T15:28:34.581Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-09-10T15:28:34.916Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-09-10T15:28:34.916Z] [2021-09-10T15:28:34.916Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-09-10T15:28:35.256Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-09-10T15:28:35.256Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-09-10T15:28:35.256Z] 188c0c94c7c5: Pulling fs layer [2021-09-10T15:28:35.256Z] 0ef7d3d256c8: Pulling fs layer [2021-09-10T15:28:35.256Z] de9db76c5a1d: Pulling fs layer [2021-09-10T15:28:35.256Z] 0eba1c9be4d2: Pulling fs layer [2021-09-10T15:28:35.256Z] 0d57e429df01: Pulling fs layer [2021-09-10T15:28:35.256Z] 4e4be7b47b0d: Pulling fs layer [2021-09-10T15:28:35.256Z] e1f770b5df2f: Pulling fs layer [2021-09-10T15:28:35.256Z] 85a0685a4137: Pulling fs layer [2021-09-10T15:28:35.256Z] 0eba1c9be4d2: Waiting [2021-09-10T15:28:35.256Z] 0d57e429df01: Waiting [2021-09-10T15:28:35.256Z] 4e4be7b47b0d: Waiting [2021-09-10T15:28:35.256Z] e1f770b5df2f: Waiting [2021-09-10T15:28:35.256Z] 85a0685a4137: Waiting [2021-09-10T15:28:35.256Z] de9db76c5a1d: Download complete [2021-09-10T15:28:35.256Z] 0ef7d3d256c8: Verifying Checksum [2021-09-10T15:28:35.256Z] 0ef7d3d256c8: Download complete [2021-09-10T15:28:35.256Z] 0d57e429df01: Verifying Checksum [2021-09-10T15:28:35.256Z] 0d57e429df01: Download complete [2021-09-10T15:28:35.256Z] 4e4be7b47b0d: Verifying Checksum [2021-09-10T15:28:35.256Z] 4e4be7b47b0d: Download complete [2021-09-10T15:28:35.531Z] 188c0c94c7c5: Verifying Checksum [2021-09-10T15:28:35.531Z] 188c0c94c7c5: Download complete [2021-09-10T15:28:35.531Z] 188c0c94c7c5: Pull complete [2021-09-10T15:28:35.798Z] 0ef7d3d256c8: Pull complete [2021-09-10T15:28:35.798Z] de9db76c5a1d: Pull complete [2021-09-10T15:28:36.757Z] e1f770b5df2f: Verifying Checksum [2021-09-10T15:28:36.757Z] e1f770b5df2f: Download complete [2021-09-10T15:28:40.110Z] 0eba1c9be4d2: Verifying Checksum [2021-09-10T15:28:40.110Z] 0eba1c9be4d2: Download complete [2021-09-10T15:28:40.697Z] 85a0685a4137: Verifying Checksum [2021-09-10T15:28:40.697Z] 85a0685a4137: Download complete [2021-09-10T15:28:43.310Z] 0eba1c9be4d2: Pull complete [2021-09-10T15:28:43.310Z] 0d57e429df01: Pull complete [2021-09-10T15:28:43.310Z] 4e4be7b47b0d: Pull complete [2021-09-10T15:28:43.574Z] e1f770b5df2f: Pull complete [2021-09-10T15:28:47.020Z] 85a0685a4137: Pull complete [2021-09-10T15:28:47.020Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-09-10T15:28:47.020Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-09-10T15:28:47.020Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-09-10T15:28:47.109Z] prd-centos7-docker-4c-2g-1961 does not seem to be running inside a container [2021-09-10T15:28:47.164Z] $ 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-09-10T15:28:49.194Z] $ docker top 64b9715c52c3a42385aafab9dd57877e1efbcc1358de6cfc6d21e3bf26297092 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-09-10T15:28:49.293Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-09-10T15:28:49.591Z] + set -o pipefail [2021-09-10T15:28:49.591Z] + snyk monitor '--org=edgex-jenkins' [2021-09-10T15:28:53.862Z] [2021-09-10T15:28:53.862Z] Monitoring /w/workspace/oundry_app-functions-sdk-go_main (github.com/edgexfoundry/app-functions-sdk-go/v2)... [2021-09-10T15:28:53.862Z] [2021-09-10T15:28:53.862Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/39d2c83d-8e36-4c13-9c4f-c439a20e1426 [2021-09-10T15:28:53.862Z] [2021-09-10T15:28:53.862Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-09-10T15:28:53.862Z] [2021-09-10T15:28:53.862Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-09-10T15:28:53.862Z] [2021-09-10T15:28:54.128Z] [Pipeline] } [2021-09-10T15:28:54.145Z] $ docker stop --time=1 64b9715c52c3a42385aafab9dd57877e1efbcc1358de6cfc6d21e3bf26297092 [2021-09-10T15:28:56.111Z] $ docker rm -f 64b9715c52c3a42385aafab9dd57877e1efbcc1358de6cfc6d21e3bf26297092 [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-09-10T15:28:56.783Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-09-10T15:28:56.806Z] provisioning config files... [2021-09-10T15:28:56.819Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config7835896918433721057tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-10T15:28:57.150Z] --> edgex-publish-swagger.sh [2021-09-10T15:28:57.150Z] === Publish openapi/v2 API === [2021-09-10T15:28:57.150Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-09-10T15:28:57.150Z] [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/oundry_app-functions-sdk-go_main/openapi/v2/app-functions-sdk.yaml] [2021-09-10T15:28:57.150Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-09-10T15:28:57.150Z] Dload Upload Total Spent Left Speed [2021-09-10T15:28:59.135Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13054 0 0 100 13054 0 10618 0:00:01 0:00:01 --:--:-- 10630 100 13054 0 0 100 13054 0 5872 0:00:02 0:00:02 --:--:-- 5874 100 13054 0 0 100 13054 0 5871 0:00:02 0:00:02 --:--:-- 5874 [2021-09-10T15:28:59.135Z] [2021-09-10T15:28:59.135Z] [Pipeline] } [2021-09-10T15:28:59.147Z] 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-09-10T15:28:59.672Z] + git log --format=format:%s -1 a082b2dad36e6c0ca2a100859279ca83a0af4f9e [Pipeline] isUnix [Pipeline] sh [2021-09-10T15:29:00.016Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-10T15:29:00.016Z] . [Pipeline] withDockerContainer [2021-09-10T15:29:00.100Z] prd-centos7-docker-4c-2g-1961 does not seem to be running inside a container [2021-09-10T15:29:00.151Z] $ 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-09-10T15:29:00.520Z] $ docker top a622b880370c4599221f21ad4edd4a04729e41f82fc36f51f3346a03b62df36d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-09-10T15:29:00.658Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-09-10T15:29:00.659Z] [ssh-agent] Looking for ssh-agent implementation... [2021-09-10T15:29:00.783Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-09-10T15:29:00.785Z] $ docker exec a622b880370c4599221f21ad4edd4a04729e41f82fc36f51f3346a03b62df36d ssh-agent [2021-09-10T15:29:00.892Z] SSH_AUTH_SOCK=/tmp/ssh-6OpJCtYU3EA9/agent.14 [2021-09-10T15:29:00.892Z] SSH_AGENT_PID=20 [2021-09-10T15:29:00.901Z] Running ssh-add (command line suppressed) [2021-09-10T15:29:00.988Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_66631387793460436.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_66631387793460436.key) [2021-09-10T15:29:01.010Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-09-10T15:29:01.327Z] + git semver tag [2021-09-10T15:29:01.327Z] # -> Open(): unable to determine branch for HEAD [2021-09-10T15:29:01.327Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2021-09-10T15:29:01.327Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2021-09-10T15:29:01.327Z] # $SEMVER_REMOTE_NAME = origin [2021-09-10T15:29:01.327Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-09-10T15:29:01.327Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-09-10T15:29:01.327Z] # $SEMVER_BRANCH = main [2021-09-10T15:29:01.327Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [2021-09-10T15:29:01.327Z] # a082b2dad36e6c0ca2a100859279ca83a0af4f9e HEAD [2021-09-10T15:29:01.327Z] # -> Force: false [2021-09-10T15:29:01.327Z] # 816859127f813b32f878ea98d8ef0ec665411eb5 refs/tags/v2.0.2-dev.8 [Pipeline] } [2021-09-10T15:29:01.433Z] $ docker exec --env ******** --env ******** a622b880370c4599221f21ad4edd4a04729e41f82fc36f51f3346a03b62df36d ssh-agent -k [2021-09-10T15:29:01.535Z] unset SSH_AUTH_SOCK; [2021-09-10T15:29:01.535Z] unset SSH_AGENT_PID; [2021-09-10T15:29:01.535Z] echo Agent pid 20 killed; [2021-09-10T15:29:01.553Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-09-10T15:29:01.910Z] + git semver [Pipeline] } [2021-09-10T15:29:01.930Z] $ docker stop --time=1 a622b880370c4599221f21ad4edd4a04729e41f82fc36f51f3346a03b62df36d [2021-09-10T15:29:03.129Z] $ docker rm -f a622b880370c4599221f21ad4edd4a04729e41f82fc36f51f3346a03b62df36d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-09-10T15:29:03.613Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-09-10T15:29:03.613Z] [2021-09-10T15:29:03.613Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-09-10T15:29:03.945Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-09-10T15:29:03.945Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-09-10T15:29:03.945Z] ab5ef0e58194: Pulling fs layer [2021-09-10T15:29:03.945Z] 9712f1f96733: Pulling fs layer [2021-09-10T15:29:03.945Z] 63f879dbbcfc: Pulling fs layer [2021-09-10T15:29:03.945Z] 0d9ebad4ef96: Pulling fs layer [2021-09-10T15:29:03.945Z] e9a5061849ea: Pulling fs layer [2021-09-10T15:29:03.945Z] d747dcd14b5f: Pulling fs layer [2021-09-10T15:29:03.945Z] 2de7ff778b66: Pulling fs layer [2021-09-10T15:29:03.945Z] e9a5061849ea: Waiting [2021-09-10T15:29:03.945Z] d747dcd14b5f: Waiting [2021-09-10T15:29:03.945Z] 2de7ff778b66: Waiting [2021-09-10T15:29:03.945Z] 0d9ebad4ef96: Waiting [2021-09-10T15:29:03.945Z] 9712f1f96733: Verifying Checksum [2021-09-10T15:29:03.945Z] 9712f1f96733: Download complete [2021-09-10T15:29:06.535Z] 63f879dbbcfc: Verifying Checksum [2021-09-10T15:29:06.535Z] 63f879dbbcfc: Download complete [2021-09-10T15:29:06.535Z] e9a5061849ea: Verifying Checksum [2021-09-10T15:29:06.535Z] e9a5061849ea: Download complete [2021-09-10T15:29:06.535Z] d747dcd14b5f: Verifying Checksum [2021-09-10T15:29:06.535Z] d747dcd14b5f: Download complete [2021-09-10T15:29:07.116Z] 2de7ff778b66: Verifying Checksum [2021-09-10T15:29:07.116Z] 2de7ff778b66: Download complete [2021-09-10T15:29:07.381Z] 0d9ebad4ef96: Verifying Checksum [2021-09-10T15:29:07.381Z] 0d9ebad4ef96: Download complete [2021-09-10T15:29:07.652Z] ab5ef0e58194: Verifying Checksum [2021-09-10T15:29:07.652Z] ab5ef0e58194: Download complete [2021-09-10T15:29:10.015Z] ab5ef0e58194: Pull complete [2021-09-10T15:29:10.015Z] 9712f1f96733: Pull complete [2021-09-10T15:29:10.992Z] 63f879dbbcfc: Pull complete [2021-09-10T15:29:14.370Z] 0d9ebad4ef96: Pull complete [2021-09-10T15:29:14.370Z] e9a5061849ea: Pull complete [2021-09-10T15:29:14.370Z] d747dcd14b5f: Pull complete [2021-09-10T15:29:15.341Z] 2de7ff778b66: Pull complete [2021-09-10T15:29:15.341Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-09-10T15:29:15.341Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-09-10T15:29:15.341Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-09-10T15:29:15.431Z] prd-centos7-docker-4c-2g-1961 does not seem to be running inside a container [2021-09-10T15:29:15.495Z] $ 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-09-10T15:29:18.561Z] $ docker top 1ef56299c994aa7c07627af0906f31c9f0ba9d561ce6a0e74e492cddcb57d8c6 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-09-10T15:29:18.672Z] provisioning config files... [2021-09-10T15:29:18.693Z] copy managed file [sigul-config] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config6458808357702440392tmp [2021-09-10T15:29:18.720Z] copy managed file [sigul-password] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config8219770945998599322tmp [2021-09-10T15:29:18.740Z] copy managed file [sigul-pki] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config7037838271111305511tmp [Pipeline] { [Pipeline] echo [2021-09-10T15:29:18.769Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-10T15:29:19.088Z] ---> sigul-configuration.sh [2021-09-10T15:29:19.089Z] gpg: directory `/root/.gnupg' created [2021-09-10T15:29:19.089Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-09-10T15:29:19.089Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-09-10T15:29:19.089Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-09-10T15:29:19.089Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-09-10T15:29:19.089Z] gpg: CAST5 encrypted data [2021-09-10T15:29:19.089Z] gpg: encrypted with 1 passphrase [2021-09-10T15:29:19.089Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-09-10T15:29:19.407Z] + mkdir /home/jenkins [2021-09-10T15:29:19.407Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-09-10T15:29:19.814Z] + 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-09-10T15:29:19.838Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-10T15:29:20.156Z] ---> sigul-install.sh [2021-09-10T15:29:20.156Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-09-10T15:29:20.472Z] + git tag --list [2021-09-10T15:29:20.472Z] v0.1.0 [2021-09-10T15:29:20.472Z] v0.1.1 [2021-09-10T15:29:20.472Z] v1.0.0 [2021-09-10T15:29:20.472Z] v1.1.0 [2021-09-10T15:29:20.472Z] v1.2.0 [2021-09-10T15:29:20.472Z] v1.3.0 [2021-09-10T15:29:20.472Z] v1.3.1 [2021-09-10T15:29:20.472Z] v2.0.0 [2021-09-10T15:29:20.472Z] v2.0.1 [2021-09-10T15:29:20.472Z] v2.0.1-dev.1 [2021-09-10T15:29:20.472Z] v2.0.1-dev.2 [2021-09-10T15:29:20.472Z] v2.0.1-dev.3 [2021-09-10T15:29:20.472Z] v2.0.1-dev.4 [2021-09-10T15:29:20.472Z] v2.0.1-dev.5 [2021-09-10T15:29:20.472Z] v2.0.1-dev.6 [2021-09-10T15:29:20.472Z] v2.0.1-dev.7 [2021-09-10T15:29:20.472Z] v2.0.2-dev.1 [2021-09-10T15:29:20.472Z] v2.0.2-dev.2 [2021-09-10T15:29:20.472Z] v2.0.2-dev.3 [2021-09-10T15:29:20.472Z] v2.0.2-dev.4 [2021-09-10T15:29:20.472Z] v2.0.2-dev.5 [2021-09-10T15:29:20.472Z] v2.0.2-dev.6 [2021-09-10T15:29:20.472Z] v2.0.2-dev.7 [2021-09-10T15:29:20.472Z] v2.0.2-dev.8 [Pipeline] sh [2021-09-10T15:29:20.788Z] + lftools sign git-tag v2.0.2-dev.8 [2021-09-10T15:29:21.373Z] Signing Git tag with Sigul... [2021-09-10T15:29:21.373Z] Signing v2.0.2-dev.8 [Pipeline] echo [2021-09-10T15:29:21.970Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-10T15:29:22.282Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-09-10T15:29:22.296Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-09-10T15:29:22.329Z] $ docker stop --time=1 1ef56299c994aa7c07627af0906f31c9f0ba9d561ce6a0e74e492cddcb57d8c6 [2021-09-10T15:29:23.525Z] $ docker rm -f 1ef56299c994aa7c07627af0906f31c9f0ba9d561ce6a0e74e492cddcb57d8c6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-09-10T15:29:24.279Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-10T15:29:24.279Z] . [Pipeline] withDockerContainer [2021-09-10T15:29:24.370Z] prd-centos7-docker-4c-2g-1961 does not seem to be running inside a container [2021-09-10T15:29:24.431Z] $ 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-09-10T15:29:24.811Z] $ docker top ca254e2d3d4d9f3d0a0ebf695768e66998a89fe43aabf7437318a7733c9a6b9e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-09-10T15:29:24.942Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-09-10T15:29:24.942Z] [ssh-agent] Looking for ssh-agent implementation... [2021-09-10T15:29:25.060Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-09-10T15:29:25.064Z] $ docker exec ca254e2d3d4d9f3d0a0ebf695768e66998a89fe43aabf7437318a7733c9a6b9e ssh-agent [2021-09-10T15:29:25.175Z] SSH_AUTH_SOCK=/tmp/ssh-6B9MZBD9DXbo/agent.13 [2021-09-10T15:29:25.175Z] SSH_AGENT_PID=20 [2021-09-10T15:29:25.186Z] Running ssh-add (command line suppressed) [2021-09-10T15:29:25.284Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_2330864595800329314.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_2330864595800329314.key) [2021-09-10T15:29:25.307Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-09-10T15:29:25.630Z] + git semver bump pre [2021-09-10T15:29:25.630Z] # -> Open(): unable to determine branch for HEAD [2021-09-10T15:29:25.630Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2021-09-10T15:29:25.630Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2021-09-10T15:29:25.630Z] # $SEMVER_REMOTE_NAME = origin [2021-09-10T15:29:25.630Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-09-10T15:29:25.630Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-09-10T15:29:25.630Z] # $SEMVER_BRANCH = main [2021-09-10T15:29:25.630Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [2021-09-10T15:29:25.630Z] 2.0.2-dev.9 [Pipeline] } [2021-09-10T15:29:25.644Z] $ docker exec --env ******** --env ******** ca254e2d3d4d9f3d0a0ebf695768e66998a89fe43aabf7437318a7733c9a6b9e ssh-agent -k [2021-09-10T15:29:25.739Z] unset SSH_AUTH_SOCK; [2021-09-10T15:29:25.739Z] unset SSH_AGENT_PID; [2021-09-10T15:29:25.739Z] echo Agent pid 20 killed; [2021-09-10T15:29:25.758Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-09-10T15:29:26.135Z] + git semver [Pipeline] } [2021-09-10T15:29:26.154Z] $ docker stop --time=1 ca254e2d3d4d9f3d0a0ebf695768e66998a89fe43aabf7437318a7733c9a6b9e [2021-09-10T15:29:27.343Z] $ docker rm -f ca254e2d3d4d9f3d0a0ebf695768e66998a89fe43aabf7437318a7733c9a6b9e [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-09-10T15:29:27.794Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-10T15:29:27.794Z] . [Pipeline] withDockerContainer [2021-09-10T15:29:27.884Z] prd-centos7-docker-4c-2g-1961 does not seem to be running inside a container [2021-09-10T15:29:29.649Z] $ 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-09-10T15:29:30.000Z] $ docker top 81e9a169745eb14dd7ab21b74c8919bef73b57e430640b2fa38330e814be65f8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-09-10T15:29:30.140Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-09-10T15:29:30.140Z] [ssh-agent] Looking for ssh-agent implementation... [2021-09-10T15:29:30.263Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-09-10T15:29:30.265Z] $ docker exec 81e9a169745eb14dd7ab21b74c8919bef73b57e430640b2fa38330e814be65f8 ssh-agent [2021-09-10T15:29:30.380Z] SSH_AUTH_SOCK=/tmp/ssh-ac4X9IaNzb5A/agent.13 [2021-09-10T15:29:30.380Z] SSH_AGENT_PID=20 [2021-09-10T15:29:30.389Z] Running ssh-add (command line suppressed) [2021-09-10T15:29:30.494Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_1841265272127646641.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_1841265272127646641.key) [2021-09-10T15:29:30.517Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-09-10T15:29:30.833Z] + git semver push [2021-09-10T15:29:30.833Z] # -> Open(): unable to determine branch for HEAD [2021-09-10T15:29:30.833Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2021-09-10T15:29:30.833Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2021-09-10T15:29:30.833Z] # $SEMVER_REMOTE_NAME = origin [2021-09-10T15:29:30.833Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-09-10T15:29:30.833Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-09-10T15:29:30.833Z] # $SEMVER_BRANCH = main [2021-09-10T15:29:30.833Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [Pipeline] } [2021-09-10T15:29:32.787Z] $ docker exec --env ******** --env ******** 81e9a169745eb14dd7ab21b74c8919bef73b57e430640b2fa38330e814be65f8 ssh-agent -k [2021-09-10T15:29:32.882Z] unset SSH_AUTH_SOCK; [2021-09-10T15:29:32.883Z] unset SSH_AGENT_PID; [2021-09-10T15:29:32.883Z] echo Agent pid 20 killed; [2021-09-10T15:29:32.901Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-09-10T15:29:33.264Z] + git semver [Pipeline] } [2021-09-10T15:29:33.283Z] $ docker stop --time=1 81e9a169745eb14dd7ab21b74c8919bef73b57e430640b2fa38330e814be65f8 [2021-09-10T15:29:34.470Z] $ docker rm -f 81e9a169745eb14dd7ab21b74c8919bef73b57e430640b2fa38330e814be65f8 [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] sh [2021-09-10T15:29:35.410Z] + '[' -d /w/workspace/oundry_app-functions-sdk-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-09-10T15:29:35.735Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-10T15:29:36.532Z] ---> package-listing.sh [2021-09-10T15:29:36.532Z] ++ tr '[:upper:]' '[:lower:]' [2021-09-10T15:29:36.532Z] ++ facter osfamily [2021-09-10T15:29:36.797Z] + OS_FAMILY=redhat [2021-09-10T15:29:36.797Z] + workspace=/w/workspace/oundry_app-functions-sdk-go_main [2021-09-10T15:29:36.797Z] + START_PACKAGES=/tmp/packages_start.txt [2021-09-10T15:29:36.797Z] + END_PACKAGES=/tmp/packages_end.txt [2021-09-10T15:29:36.797Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-09-10T15:29:36.797Z] + PACKAGES=/tmp/packages_start.txt [2021-09-10T15:29:36.797Z] + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' [2021-09-10T15:29:36.797Z] + PACKAGES=/tmp/packages_end.txt [2021-09-10T15:29:36.797Z] + case "${OS_FAMILY}" in [2021-09-10T15:29:36.797Z] + rpm -qa [2021-09-10T15:29:36.797Z] + sort [2021-09-10T15:29:37.404Z] + '[' -f /tmp/packages_start.txt ']' [2021-09-10T15:29:37.404Z] + '[' -f /tmp/packages_end.txt ']' [2021-09-10T15:29:37.404Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-09-10T15:29:37.404Z] + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' [2021-09-10T15:29:37.404Z] + mkdir -p /w/workspace/oundry_app-functions-sdk-go_main/archives/ [2021-09-10T15:29:37.404Z] + 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-09-10T15:29:37.421Z] 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-09-10T15:29:37.721Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-09-10T15:29:38.370Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-10T15:29:38.370Z] [2021-09-10T15:29:38.370Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-09-10T15:29:38.697Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-10T15:29:38.697Z] latest: Pulling from edgex-lftools-log-publisher [2021-09-10T15:29:38.697Z] b4d181a07f80: Pulling fs layer [2021-09-10T15:29:38.697Z] a1111a8f2ec3: Pulling fs layer [2021-09-10T15:29:38.697Z] ed53099fbce6: Pulling fs layer [2021-09-10T15:29:38.697Z] dc539afda2c1: Pulling fs layer [2021-09-10T15:29:38.697Z] 77bc0d833cb6: Pulling fs layer [2021-09-10T15:29:38.697Z] 9065ff56babe: Pulling fs layer [2021-09-10T15:29:38.697Z] d287ab97295c: Pulling fs layer [2021-09-10T15:29:38.697Z] 77bc0d833cb6: Waiting [2021-09-10T15:29:38.697Z] 9065ff56babe: Waiting [2021-09-10T15:29:38.697Z] d287ab97295c: Waiting [2021-09-10T15:29:38.697Z] dc539afda2c1: Waiting [2021-09-10T15:29:38.964Z] a1111a8f2ec3: Verifying Checksum [2021-09-10T15:29:38.964Z] a1111a8f2ec3: Download complete [2021-09-10T15:29:38.964Z] dc539afda2c1: Verifying Checksum [2021-09-10T15:29:38.964Z] dc539afda2c1: Download complete [2021-09-10T15:29:39.231Z] 77bc0d833cb6: Verifying Checksum [2021-09-10T15:29:39.231Z] 77bc0d833cb6: Download complete [2021-09-10T15:29:39.231Z] ed53099fbce6: Verifying Checksum [2021-09-10T15:29:39.231Z] ed53099fbce6: Download complete [2021-09-10T15:29:39.231Z] 9065ff56babe: Verifying Checksum [2021-09-10T15:29:39.231Z] 9065ff56babe: Download complete [2021-09-10T15:29:40.199Z] b4d181a07f80: Verifying Checksum [2021-09-10T15:29:40.199Z] b4d181a07f80: Download complete [2021-09-10T15:29:41.171Z] b4d181a07f80: Pull complete [2021-09-10T15:29:41.437Z] a1111a8f2ec3: Pull complete [2021-09-10T15:29:41.706Z] ed53099fbce6: Pull complete [2021-09-10T15:29:41.706Z] dc539afda2c1: Pull complete [2021-09-10T15:29:41.974Z] 77bc0d833cb6: Pull complete [2021-09-10T15:29:42.246Z] 9065ff56babe: Pull complete [2021-09-10T15:29:43.656Z] d287ab97295c: Verifying Checksum [2021-09-10T15:29:43.656Z] d287ab97295c: Download complete [2021-09-10T15:29:47.934Z] d287ab97295c: Pull complete [2021-09-10T15:29:47.934Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-09-10T15:29:47.934Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-10T15:29:47.934Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-09-10T15:29:48.028Z] prd-centos7-docker-4c-2g-1961 does not seem to be running inside a container [2021-09-10T15:29:48.086Z] $ 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:latest cat [2021-09-10T15:29:50.436Z] $ docker top 6f0da22ea252898e449446e230adb041f8db009b4c550e54282c3d3315cdde32 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-09-10T15:29:50.831Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-09-10T15:29:51.146Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-09-10T15:29:51.459Z] + ls /var/log/sa-host [2021-09-10T15:29:51.459Z] + sadf -c /var/log/sa-host/sa05 [2021-09-10T15:29:51.459Z] file_magic: OK [2021-09-10T15:29:51.459Z] HZ: Using current value: 100 [2021-09-10T15:29:51.459Z] file_header: OK [2021-09-10T15:29:51.459Z] 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-09-10T15:29:51.459Z] Statistics: [2021-09-10T15:29:51.459Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-09-10T15:29:51.459Z] File successfully converted to sysstat format version 12.0.3 [2021-09-10T15:29:51.459Z] + sadf -c /var/log/sa-host/sa10 [2021-09-10T15:29:51.459Z] file_magic: OK [2021-09-10T15:29:51.459Z] HZ: Using current value: 100 [2021-09-10T15:29:51.459Z] file_header: OK [2021-09-10T15:29:51.459Z] 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-09-10T15:29:51.459Z] Statistics: [2021-09-10T15:29:51.459Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-09-10T15:29:51.459Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-09-10T15:29:53.303Z] provisioning config files... [2021-09-10T15:29:53.317Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config149514983190931012tmp [Pipeline] { [Pipeline] echo [2021-09-10T15:29:53.348Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-10T15:29:53.661Z] ---> create-netrc.sh [Pipeline] } [2021-09-10T15:29:53.674Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-09-10T15:29:54.089Z] ---> python-tools-install.sh [Pipeline] echo [2021-09-10T15:29:54.103Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-10T15:29:54.412Z] ---> sudo-logs.sh [2021-09-10T15:29:54.412Z] Archiving 'sudo' log.. [2021-09-10T15:29:54.412Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1961.vexxhost.local: Name or service not known [2021-09-10T15:29:54.412Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1961.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-09-10T15:29:54.446Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-10T15:29:54.758Z] ---> job-cost.sh [2021-09-10T15:29:54.758Z] lf-activate-venv: SKIPPING [2021-09-10T15:29:54.758Z] DEBUG: total: 0.05999999865889549 [2021-09-10T15:29:54.758Z] INFO: Retrieving Stack Cost... [2021-09-10T15:29:55.341Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-09-10T15:29:55.924Z] INFO: Archiving Costs [Pipeline] echo [2021-09-10T15:29:55.943Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-10T15:29:56.255Z] ---> logs-deploy.sh [2021-09-10T15:29:56.255Z] lf-activate-venv: SKIPPING [2021-09-10T15:29:56.255Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/main/20 [2021-09-10T15:29:56.255Z] INFO: archiving workspace using pattern(s): [2021-09-10T15:29:56.841Z] Archives upload complete. [2021-09-10T15:29:57.106Z] INFO: archiving logs to Nexus