Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8988a2ee85d0537658b5f1d2210b8353ce33fb00 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-ssh2801460979839051865.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 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-ssh8187615573068436887.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 d6bf42d899a6140169a1fadeb6f44df9cdc48750 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-ssh1188610181748099950.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d6bf42d899a6140169a1fadeb6f44df9cdc48750 # timeout=10 Commit message: "Merge pull request #360 from ernestojeda/fix-alpine-3-14-seccomp-issue" > 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-ssh6412358364504456554.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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-ssh8492781037801702490.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 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 ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2077 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-ssh1746246269907004903.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 8988a2ee85d0537658b5f1d2210b8353ce33fb00 (main) > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8988a2ee85d0537658b5f1d2210b8353ce33fb00 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2 (#987)" > git rev-list --no-walk 2f5b3cfff2215b17675705b36faaa65a6d69223d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-26T18:16:07.552Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-26T18:16:07.583Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-26T18:16:07.596Z] ========================================================= [2021-10-26T18:16:07.596Z] EdgeX Global Pipelines Version Info [2021-10-26T18:16:07.596Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-26T18:16:08.759Z] ------------------- [2021-10-26T18:16:08.759Z] stable info: [2021-10-26T18:16:08.759Z] ------------------- [2021-10-26T18:16:08.759Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-26T18:16:08.759Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-26T18:16:08.759Z] Message: update stable to v1.0.210 [2021-10-26T18:16:09.335Z] ------------------- [2021-10-26T18:16:09.335Z] experimental info: [2021-10-26T18:16:09.335Z] ------------------- [2021-10-26T18:16:09.335Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-26T18:16:09.335Z] Commit SHA: 6722a7c1c8ebe94597741d4fbba21f45702e0c7d [2021-10-26T18:16:09.335Z] Message: testing jakarta lts changes [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-26T18:16:09.421Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-10-26T18:16:09.431Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-10-26T18:16:09.442Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-26T18:16:09.452Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-26T18:16:09.462Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-26T18:16:09.472Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-26T18:16:09.482Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-26T18:16:09.492Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-10-26T18:16:09.505Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-26T18:16:09.514Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-26T18:16:09.525Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-26T18:16:09.542Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2021-10-26T18:16:09.554Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-26T18:16:09.566Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-26T18:16:09.581Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-10-26T18:16:09.596Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-10-26T18:16:09.611Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-26T18:16:09.621Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-26T18:16:09.631Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-26T18:16:09.646Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-26T18:16:09.657Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-10-26T18:16:09.670Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-10-26T18:16:09.679Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-26T18:16:09.692Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-26T18:16:09.703Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-10-26T18:16:09.718Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-26T18:16:09.727Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-10-26T18:16:09.740Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-10-26T18:16:09.750Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-10-26T18:16:09.764Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8988a2ee85d0537658b5f1d2210b8353ce33fb00 [Pipeline] echo [2021-10-26T18:16:09.777Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8988a2e [Pipeline] echo [2021-10-26T18:16:09.793Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-26T18:16:10.208Z] + git log --format=format:%s -1 8988a2ee85d0537658b5f1d2210b8353ce33fb00 [Pipeline] echo [2021-10-26T18:16:10.243Z] GIT_COMMIT: 8988a2ee85d0537658b5f1d2210b8353ce33fb00, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-registry/v2 (#987) [Pipeline] echo [2021-10-26T18:16:10.250Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-26T18:16:10.700Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-26T18:16:10.700Z] [2021-10-26T18:16:10.700Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-26T18:16:11.037Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-26T18:16:11.037Z] latest: Pulling from edgex-devops/git-semver [2021-10-26T18:16:11.037Z] a0d0a0d46f8b: Pulling fs layer [2021-10-26T18:16:11.037Z] 3e5f54012d9b: Pulling fs layer [2021-10-26T18:16:11.037Z] 4c7163046ea9: Pulling fs layer [2021-10-26T18:16:11.037Z] 0c2d73faf560: Pulling fs layer [2021-10-26T18:16:11.037Z] 0c2d73faf560: Waiting [2021-10-26T18:16:11.037Z] 3e5f54012d9b: Verifying Checksum [2021-10-26T18:16:11.037Z] 3e5f54012d9b: Download complete [2021-10-26T18:16:11.037Z] a0d0a0d46f8b: Verifying Checksum [2021-10-26T18:16:11.037Z] a0d0a0d46f8b: Download complete [2021-10-26T18:16:11.314Z] 4c7163046ea9: Verifying Checksum [2021-10-26T18:16:11.314Z] 4c7163046ea9: Download complete [2021-10-26T18:16:11.314Z] 0c2d73faf560: Verifying Checksum [2021-10-26T18:16:11.314Z] 0c2d73faf560: Download complete [2021-10-26T18:16:11.314Z] a0d0a0d46f8b: Pull complete [2021-10-26T18:16:11.314Z] 3e5f54012d9b: Pull complete [2021-10-26T18:16:11.578Z] 4c7163046ea9: Pull complete [2021-10-26T18:16:11.840Z] 0c2d73faf560: Pull complete [2021-10-26T18:16:11.840Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-26T18:16:11.840Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-26T18:16:11.840Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-26T18:16:11.923Z] prd-centos7-docker-4c-2g-2077 does not seem to be running inside a container [2021-10-26T18:16:11.974Z] $ 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-10-26T18:16:12.794Z] $ docker top 7c69d2e8972301d5e50ac4ed07ccb14b8b6c61fd267abd364a6ffebf033a3b7d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-26T18:16:12.891Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-26T18:16:12.891Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-26T18:16:12.999Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-26T18:16:13.002Z] $ docker exec 7c69d2e8972301d5e50ac4ed07ccb14b8b6c61fd267abd364a6ffebf033a3b7d ssh-agent [2021-10-26T18:16:13.112Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmepJah/agent.14 [2021-10-26T18:16:13.112Z] SSH_AGENT_PID=21 [2021-10-26T18:16:13.119Z] Running ssh-add (command line suppressed) [2021-10-26T18:16:13.219Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_3335101773596496799.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_3335101773596496799.key) [2021-10-26T18:16:13.233Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-26T18:16:13.527Z] + git tag --points-at HEAD [Pipeline] } [2021-10-26T18:16:13.540Z] $ docker exec --env ******** --env ******** 7c69d2e8972301d5e50ac4ed07ccb14b8b6c61fd267abd364a6ffebf033a3b7d ssh-agent -k [2021-10-26T18:16:13.637Z] unset SSH_AUTH_SOCK; [2021-10-26T18:16:13.637Z] unset SSH_AGENT_PID; [2021-10-26T18:16:13.637Z] echo Agent pid 21 killed; [2021-10-26T18:16:13.645Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-26T18:16:13.670Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-26T18:16:13.670Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-26T18:16:13.770Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-26T18:16:13.774Z] $ docker exec 7c69d2e8972301d5e50ac4ed07ccb14b8b6c61fd267abd364a6ffebf033a3b7d ssh-agent [2021-10-26T18:16:13.881Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPKfifC/agent.55 [2021-10-26T18:16:13.881Z] SSH_AGENT_PID=61 [2021-10-26T18:16:13.886Z] Running ssh-add (command line suppressed) [2021-10-26T18:16:13.980Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_1400353946191187342.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_1400353946191187342.key) [2021-10-26T18:16:13.992Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-26T18:16:14.282Z] + git semver init [2021-10-26T18:16:14.282Z] # -> Open(): unable to determine branch for HEAD [2021-10-26T18:16:14.282Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2021-10-26T18:16:14.282Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2021-10-26T18:16:14.282Z] # $SEMVER_REMOTE_NAME = origin [2021-10-26T18:16:14.282Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-26T18:16:14.282Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-26T18:16:14.282Z] # $SEMVER_BRANCH = main [2021-10-26T18:16:14.282Z] # $SEMVER_TEMP = /tmp/semver-246078532 [2021-10-26T18:16:14.282Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-10-26T18:16:16.840Z] # '/tmp/semver-246078532' -> '/w/workspace/oundry_app-functions-sdk-go_main/.semver' [2021-10-26T18:16:16.840Z] # -> Force: false [2021-10-26T18:16:16.840Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [Pipeline] } [2021-10-26T18:16:16.852Z] $ docker exec --env ******** --env ******** 7c69d2e8972301d5e50ac4ed07ccb14b8b6c61fd267abd364a6ffebf033a3b7d ssh-agent -k [2021-10-26T18:16:16.943Z] unset SSH_AUTH_SOCK; [2021-10-26T18:16:16.944Z] unset SSH_AGENT_PID; [2021-10-26T18:16:16.944Z] echo Agent pid 61 killed; [2021-10-26T18:16:16.955Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-26T18:16:17.265Z] + git semver [Pipeline] } [2021-10-26T18:16:17.277Z] $ docker stop --time=1 7c69d2e8972301d5e50ac4ed07ccb14b8b6c61fd267abd364a6ffebf033a3b7d [2021-10-26T18:16:18.629Z] $ docker rm -f 7c69d2e8972301d5e50ac4ed07ccb14b8b6c61fd267abd364a6ffebf033a3b7d [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-26T18:16:18.980Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-26T18:16:19.216Z] Stashed 1 file(s) [Pipeline] echo [2021-10-26T18:16:19.219Z] [edgeXSemver]: initialized semver on version 2.0.2-dev.33 [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-10-26T18:16:34.374Z] Still waiting to schedule task [2021-10-26T18:16:34.374Z] ‘prd-centos7-docker-4c-2g-2079’ is offline [2021-10-26T18:16:34.374Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1765’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-10-26T18:16:34.374Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1917’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-10-26T18:16:34.376Z] Still waiting to schedule task [2021-10-26T18:16:34.376Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-10-26T18:17:25.012Z] Running on prd-centos7-docker-4c-2g-2083 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws [2021-10-26T18:17:25.025Z] Running in /w/workspace/app-functions-sdk-go/46 [Pipeline] { [Pipeline] checkout [2021-10-26T18:17:25.137Z] The recommended git tool is: git [2021-10-26T18:17:27.220Z] using credential edgex-jenkins-ssh [2021-10-26T18:17:27.234Z] Cloning the remote Git repository [2021-10-26T18:17:27.255Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-10-26T18:17:27.318Z] > git init /w/workspace/app-functions-sdk-go/46 # timeout=10 [2021-10-26T18:17:27.346Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-10-26T18:17:27.347Z] > git --version # timeout=10 [2021-10-26T18:17:27.358Z] > git --version # 'git version 2.24.4' [2021-10-26T18:17:27.359Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-26T18:17:27.386Z] [INFO] Currently running in a labeled security context [2021-10-26T18:17:27.386Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-26T18:17:27.386Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/46@tmp/jenkins-gitclient-ssh7993267082929066339.key [2021-10-26T18:17:27.410Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-26T18:17:29.002Z] Avoid second fetch [2021-10-26T18:17:29.003Z] Checking out Revision 8988a2ee85d0537658b5f1d2210b8353ce33fb00 (main) [2021-10-26T18:17:28.985Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-10-26T18:17:28.995Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-26T18:17:29.014Z] > git config core.sparsecheckout # timeout=10 [2021-10-26T18:17:29.021Z] > git checkout -f 8988a2ee85d0537658b5f1d2210b8353ce33fb00 # timeout=10 [2021-10-26T18:17:32.613Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2 (#987)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2021-10-26T18:17:33.192Z] ========================================================= [2021-10-26T18:17:33.192Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-26T18:17:33.192Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-10-26T18:17:33.575Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-26T18:17:33.575Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-26T18:17:33.575Z] a0d0a0d46f8b: Pulling fs layer [2021-10-26T18:17:33.575Z] 31adcdaf11c8: Pulling fs layer [2021-10-26T18:17:33.575Z] b8b176561691: Pulling fs layer [2021-10-26T18:17:33.575Z] 4527c011a84f: Pulling fs layer [2021-10-26T18:17:33.575Z] 5d74067f8e1e: Pulling fs layer [2021-10-26T18:17:33.575Z] e0aca202a116: Pulling fs layer [2021-10-26T18:17:33.575Z] 3a43be97a3b4: Pulling fs layer [2021-10-26T18:17:33.575Z] 34cad66bf833: Pulling fs layer [2021-10-26T18:17:33.575Z] b4e3c513aaa6: Pulling fs layer [2021-10-26T18:17:33.575Z] e0aca202a116: Waiting [2021-10-26T18:17:33.575Z] 3a43be97a3b4: Waiting [2021-10-26T18:17:33.575Z] 34cad66bf833: Waiting [2021-10-26T18:17:33.575Z] b4e3c513aaa6: Waiting [2021-10-26T18:17:33.575Z] 4527c011a84f: Waiting [2021-10-26T18:17:33.575Z] 5d74067f8e1e: Waiting [2021-10-26T18:17:33.575Z] b8b176561691: Verifying Checksum [2021-10-26T18:17:33.575Z] b8b176561691: Download complete [2021-10-26T18:17:33.575Z] 31adcdaf11c8: Verifying Checksum [2021-10-26T18:17:33.575Z] 31adcdaf11c8: Download complete [2021-10-26T18:17:33.575Z] 5d74067f8e1e: Verifying Checksum [2021-10-26T18:17:33.575Z] 5d74067f8e1e: Download complete [2021-10-26T18:17:33.575Z] e0aca202a116: Verifying Checksum [2021-10-26T18:17:33.575Z] e0aca202a116: Download complete [2021-10-26T18:17:33.575Z] 3a43be97a3b4: Verifying Checksum [2021-10-26T18:17:33.575Z] 3a43be97a3b4: Download complete [2021-10-26T18:17:33.575Z] a0d0a0d46f8b: Verifying Checksum [2021-10-26T18:17:33.575Z] a0d0a0d46f8b: Download complete [2021-10-26T18:17:33.864Z] 34cad66bf833: Verifying Checksum [2021-10-26T18:17:33.864Z] 34cad66bf833: Download complete [2021-10-26T18:17:34.142Z] 4527c011a84f: Verifying Checksum [2021-10-26T18:17:34.142Z] 4527c011a84f: Download complete [2021-10-26T18:17:34.142Z] b4e3c513aaa6: Verifying Checksum [2021-10-26T18:17:34.142Z] b4e3c513aaa6: Download complete [2021-10-26T18:17:34.404Z] a0d0a0d46f8b: Pull complete [2021-10-26T18:17:34.404Z] 31adcdaf11c8: Pull complete [2021-10-26T18:17:34.404Z] b8b176561691: Pull complete [2021-10-26T18:17:38.664Z] 4527c011a84f: Pull complete [2021-10-26T18:17:38.664Z] 5d74067f8e1e: Pull complete [2021-10-26T18:17:38.664Z] e0aca202a116: Pull complete [2021-10-26T18:17:38.664Z] 3a43be97a3b4: Pull complete [2021-10-26T18:17:38.664Z] 34cad66bf833: Pull complete [2021-10-26T18:17:40.603Z] b4e3c513aaa6: Pull complete [2021-10-26T18:17:40.603Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-10-26T18:17:40.603Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-26T18:17:40.603Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh [2021-10-26T18:17:40.920Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh [2021-10-26T18:17:41.220Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-26T18:17:41.220Z] . [Pipeline] withDockerContainer [2021-10-26T18:17:41.287Z] prd-centos7-docker-4c-2g-2083 does not seem to be running inside a container [2021-10-26T18:17:41.329Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/46 -v /w/workspace/app-functions-sdk-go/46:/w/workspace/app-functions-sdk-go/46:rw,z -v /w/workspace/app-functions-sdk-go/46@tmp:/w/workspace/app-functions-sdk-go/46@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-10-26T18:17:43.881Z] $ docker top c1a5e3806c9f70b29996f490f3546a67ea1a7182657489ce36322c96be906f1c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-26T18:17:44.248Z] + go version [2021-10-26T18:17:44.248Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-26T18:17:44.263Z] $ docker stop --time=1 c1a5e3806c9f70b29996f490f3546a67ea1a7182657489ce36322c96be906f1c [2021-10-26T18:17:45.428Z] $ docker rm -f c1a5e3806c9f70b29996f490f3546a67ea1a7182657489ce36322c96be906f1c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-26T18:17:45.929Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-26T18:17:45.929Z] . [Pipeline] withDockerContainer [2021-10-26T18:17:45.989Z] prd-centos7-docker-4c-2g-2083 does not seem to be running inside a container [2021-10-26T18:17:46.022Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/46 -v /w/workspace/app-functions-sdk-go/46:/w/workspace/app-functions-sdk-go/46:rw,z -v /w/workspace/app-functions-sdk-go/46@tmp:/w/workspace/app-functions-sdk-go/46@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-10-26T18:17:46.356Z] $ docker top c6504e81214af8bcb74cdb973affd83451ff6c44ee0f62305e895b3225ce0ee3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-26T18:17:46.720Z] + make test [2021-10-26T18:17:46.720Z] make -C ./app-service-template build [2021-10-26T18:17:46.720Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/46/app-service-template' [2021-10-26T18:17:46.720Z] go mod tidy [2021-10-26T18:17:48.108Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.1-dev.23 [2021-10-26T18:17:48.108Z] go: downloading github.com/google/uuid v1.3.0 [2021-10-26T18:17:48.108Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-10-26T18:17:48.108Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.1-dev.14 [2021-10-26T18:17:48.108Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.2-dev.6 [2021-10-26T18:17:48.108Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.1-dev.9 [2021-10-26T18:17:48.108Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2021-10-26T18:17:48.108Z] go: downloading github.com/go-kit/kit v0.11.0 [2021-10-26T18:17:48.108Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2021-10-26T18:17:48.108Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-10-26T18:17:48.108Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-10-26T18:17:48.375Z] go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2021-10-26T18:17:48.375Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-10-26T18:17:48.375Z] go: downloading github.com/stretchr/objx v0.1.1 [2021-10-26T18:17:48.375Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-10-26T18:17:48.375Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2021-10-26T18:17:48.375Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.1-dev.5 [2021-10-26T18:17:48.375Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.1-dev.7 [2021-10-26T18:17:48.375Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2021-10-26T18:17:48.375Z] go: downloading github.com/leodido/go-urn v1.2.1 [2021-10-26T18:17:48.375Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2021-10-26T18:17:48.647Z] go: downloading golang.org/x/text v0.3.6 [2021-10-26T18:17:48.647Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-10-26T18:17:48.647Z] go: downloading github.com/go-playground/locales v0.14.0 [2021-10-26T18:17:49.609Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2021-10-26T18:17:49.609Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2021-10-26T18:17:49.609Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-10-26T18:17:49.609Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-10-26T18:17:49.609Z] go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 [2021-10-26T18:17:49.609Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2021-10-26T18:17:49.609Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-10-26T18:17:49.609Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2021-10-26T18:17:49.609Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2021-10-26T18:17:49.609Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-10-26T18:17:49.609Z] go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 [2021-10-26T18:17:49.871Z] go: downloading github.com/kr/pretty v0.3.0 [2021-10-26T18:17:49.871Z] go: downloading github.com/x448/float16 v0.8.4 [2021-10-26T18:17:49.871Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-10-26T18:17:49.871Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-10-26T18:17:49.871Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-10-26T18:17:49.871Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-10-26T18:17:49.871Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-10-26T18:17:49.871Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-10-26T18:17:49.871Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2021-10-26T18:17:49.871Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-10-26T18:17:49.871Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-10-26T18:17:49.871Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-10-26T18:17:49.871Z] go: downloading github.com/kr/text v0.2.0 [2021-10-26T18:17:49.871Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2021-10-26T18:17:49.871Z] go: downloading github.com/fatih/color v1.9.0 [2021-10-26T18:17:50.134Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-10-26T18:17:50.134Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-10-26T18:17:50.134Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-10-26T18:17:50.134Z] go: downloading github.com/pkg/errors v0.9.1 [2021-10-26T18:17:50.134Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-10-26T18:17:50.134Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-10-26T18:17:50.134Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2021-10-26T18:17:50.134Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2021-10-26T18:17:50.134Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-10-26T18:17:50.134Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-10-26T18:17:50.134Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-10-26T18:17:50.134Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-10-26T18:17:50.134Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-10-26T18:17:50.134Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-10-26T18:17:50.134Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2021-10-26T18:17:50.134Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2021-10-26T18:17:50.134Z] go: downloading github.com/miekg/dns v1.1.26 [2021-10-26T18:17:50.134Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-10-26T18:17:50.134Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2021-10-26T18:17:50.397Z] go: downloading github.com/onsi/gomega v1.7.0 [2021-10-26T18:17:50.397Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-10-26T18:17:50.397Z] go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c [2021-10-26T18:17:50.397Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2021-10-26T18:17:50.397Z] go: downloading github.com/hpcloud/tail v1.0.0 [2021-10-26T18:17:50.397Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2021-10-26T18:17:50.397Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2021-10-26T18:17:50.397Z] go: downloading github.com/golang/protobuf v1.5.2 [2021-10-26T18:17:50.397Z] go: downloading github.com/fsnotify/fsnotify v1.4.7 [2021-10-26T18:17:50.397Z] go: downloading google.golang.org/protobuf v1.27.1 [2021-10-26T18:17:50.664Z] go: downloading github.com/google/go-cmp v0.5.5 [2021-10-26T18:17:50.664Z] go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 [2021-10-26T18:17:50.925Z] 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-10-26T18:18:03.211Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/46/app-service-template' [2021-10-26T18:18:03.211Z] make -C ./app-service-template test [2021-10-26T18:18:03.211Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/46/app-service-template' [2021-10-26T18:18:03.211Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-10-26T18:18:11.414Z] ok new-app-service 0.014s coverage: 48.1% of statements [2021-10-26T18:18:11.414Z] ? new-app-service/config [no test files] [2021-10-26T18:18:11.414Z] ok new-app-service/functions 0.007s [2021-10-26T18:18:11.414Z] CGO_ENABLED=1 go vet ./... [2021-10-26T18:18:18.066Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-26T18:18:18.066Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-26T18:18:18.066Z] ./bin/test-attribution-txt.sh [2021-10-26T18:18:18.329Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/46/app-service-template' [2021-10-26T18:18:18.329Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-10-26T18:18:18.913Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-10-26T18:18:20.319Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.012s coverage: 67.0% of statements [2021-10-26T18:18:20.319Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app/mocks [no test files] [2021-10-26T18:18:20.319Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.014s coverage: 93.7% of statements [2021-10-26T18:18:20.319Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-10-26T18:18:20.901Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.019s coverage: 61.8% of statements [2021-10-26T18:18:20.901Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-10-26T18:18:20.901Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.011s [2021-10-26T18:18:22.294Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.074s coverage: 75.7% of statements [2021-10-26T18:18:22.294Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-10-26T18:18:22.294Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-10-26T18:18:22.294Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-10-26T18:18:22.294Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-10-26T18:18:22.294Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-10-26T18:18:22.294Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-10-26T18:18:22.294Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.042s coverage: 97.3% of statements [2021-10-26T18:18:22.294Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-10-26T18:18:22.556Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.007s coverage: 10.5% of statements [2021-10-26T18:18:25.881Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.038s coverage: 77.0% of statements [2021-10-26T18:18:25.881Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-10-26T18:18:25.881Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.008s coverage: 14.9% of statements [2021-10-26T18:18:25.881Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.009s coverage: 27.3% of statements [2021-10-26T18:18:25.881Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-10-26T18:18:25.881Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-10-26T18:18:25.881Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.007s coverage: 51.4% of statements [2021-10-26T18:18:52.461Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.046s coverage: 78.7% of statements [2021-10-26T18:18:52.462Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.005s coverage: 94.4% of statements [2021-10-26T18:18:52.462Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-10-26T18:18:52.462Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-26T18:18:52.462Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] } [2021-10-26T18:19:04.776Z] $ docker stop --time=1 c6504e81214af8bcb74cdb973affd83451ff6c44ee0f62305e895b3225ce0ee3 [2021-10-26T18:19:06.099Z] $ docker rm -f c6504e81214af8bcb74cdb973affd83451ff6c44ee0f62305e895b3225ce0ee3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-26T18:19:06.784Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-26T18:19:06.981Z] 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-10-26T18:19:07.790Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-26T18:19:07.790Z] [2021-10-26T18:19:07.790Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-26T18:19:08.096Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-26T18:19:08.096Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-26T18:19:08.096Z] b4d181a07f80: Pulling fs layer [2021-10-26T18:19:08.096Z] a1111a8f2ec3: Pulling fs layer [2021-10-26T18:19:08.096Z] ed53099fbce6: Pulling fs layer [2021-10-26T18:19:08.096Z] dc539afda2c1: Pulling fs layer [2021-10-26T18:19:08.096Z] 77bc0d833cb6: Pulling fs layer [2021-10-26T18:19:08.096Z] 9065ff56babe: Pulling fs layer [2021-10-26T18:19:08.096Z] d287ab97295c: Pulling fs layer [2021-10-26T18:19:08.096Z] dc539afda2c1: Waiting [2021-10-26T18:19:08.096Z] 77bc0d833cb6: Waiting [2021-10-26T18:19:08.096Z] d287ab97295c: Waiting [2021-10-26T18:19:08.096Z] 9065ff56babe: Waiting [2021-10-26T18:19:08.096Z] a1111a8f2ec3: Verifying Checksum [2021-10-26T18:19:08.096Z] a1111a8f2ec3: Download complete [2021-10-26T18:19:08.096Z] dc539afda2c1: Verifying Checksum [2021-10-26T18:19:08.096Z] dc539afda2c1: Download complete [2021-10-26T18:19:08.096Z] ed53099fbce6: Verifying Checksum [2021-10-26T18:19:08.096Z] ed53099fbce6: Download complete [2021-10-26T18:19:08.368Z] 9065ff56babe: Verifying Checksum [2021-10-26T18:19:08.368Z] 9065ff56babe: Download complete [2021-10-26T18:19:08.368Z] 77bc0d833cb6: Verifying Checksum [2021-10-26T18:19:08.368Z] 77bc0d833cb6: Download complete [2021-10-26T18:19:08.368Z] b4d181a07f80: Verifying Checksum [2021-10-26T18:19:08.368Z] b4d181a07f80: Download complete [2021-10-26T18:19:08.959Z] d287ab97295c: Verifying Checksum [2021-10-26T18:19:08.959Z] d287ab97295c: Download complete [2021-10-26T18:19:09.549Z] b4d181a07f80: Pull complete [2021-10-26T18:19:09.808Z] a1111a8f2ec3: Pull complete [2021-10-26T18:19:10.390Z] ed53099fbce6: Pull complete [2021-10-26T18:19:10.390Z] dc539afda2c1: Pull complete [2021-10-26T18:19:10.410Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2086 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws [2021-10-26T18:19:10.424Z] Running in /w/workspace/app-functions-sdk-go/46 [Pipeline] { [Pipeline] checkout [2021-10-26T18:19:10.623Z] The recommended git tool is: git [2021-10-26T18:19:10.650Z] 77bc0d833cb6: Pull complete [2021-10-26T18:19:10.911Z] 9065ff56babe: Pull complete [2021-10-26T18:19:16.222Z] d287ab97295c: Pull complete [2021-10-26T18:19:16.222Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-26T18:19:16.222Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-26T18:19:16.222Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-26T18:19:16.276Z] prd-centos7-docker-4c-2g-2083 does not seem to be running inside a container [2021-10-26T18:19:16.330Z] $ 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/46 -v /w/workspace/app-functions-sdk-go/46:/w/workspace/app-functions-sdk-go/46:rw,z -v /w/workspace/app-functions-sdk-go/46@tmp:/w/workspace/app-functions-sdk-go/46@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-10-26T18:19:17.160Z] using credential edgex-jenkins-ssh [2021-10-26T18:19:17.182Z] Cloning the remote Git repository [2021-10-26T18:19:17.277Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-10-26T18:19:17.394Z] > git init /w/workspace/app-functions-sdk-go/46 # timeout=10 [2021-10-26T18:19:17.487Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-10-26T18:19:17.488Z] > git --version # timeout=10 [2021-10-26T18:19:17.514Z] > git --version # 'git version 2.17.1' [2021-10-26T18:19:17.516Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-26T18:19:17.610Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-26T18:19:18.852Z] $ docker top 173fda67df5062bf9acfd2b0761a5e3ea7097d7e7ef19e3cab487713da9997f5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-26T18:19:19.244Z] ---> job-cost.sh [2021-10-26T18:19:19.244Z] lf-activate-venv: SKIPPING [2021-10-26T18:19:19.244Z] INFO: No Stack... [2021-10-26T18:19:19.505Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-26T18:19:20.075Z] INFO: Archiving Costs [Pipeline] sh [2021-10-26T18:19:20.366Z] + cat /w/workspace/app-functions-sdk-go/46/archives/cost.csv [2021-10-26T18:19:20.366Z] + cut -d, -f6 [Pipeline] lock [2021-10-26T18:19:20.397Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-46-stack-cost] [2021-10-26T18:19:20.405Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-46-stack-cost] did not exist. Created. [2021-10-26T18:19:20.406Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-46-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-26T18:19:20.713Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-26T18:19:20.750Z] Stashed 1 file(s) [Pipeline] } [2021-10-26T18:19:20.757Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-46-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-26T18:19:20.774Z] $ docker stop --time=1 173fda67df5062bf9acfd2b0761a5e3ea7097d7e7ef19e3cab487713da9997f5 [2021-10-26T18:19:20.995Z] Avoid second fetch [2021-10-26T18:19:20.996Z] Checking out Revision 8988a2ee85d0537658b5f1d2210b8353ce33fb00 (main) [2021-10-26T18:19:21.950Z] $ docker rm -f 173fda67df5062bf9acfd2b0761a5e3ea7097d7e7ef19e3cab487713da9997f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-26T18:19:20.946Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-10-26T18:19:20.973Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-26T18:19:21.022Z] > git config core.sparsecheckout # timeout=10 [2021-10-26T18:19:21.041Z] > git checkout -f 8988a2ee85d0537658b5f1d2210b8353ce33fb00 # timeout=10 [2021-10-26T18:19:25.570Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2 (#987)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-26T18:19:26.598Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-10-26T18:19:26.598Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-26T18:19:26.598Z] Dload Upload Total Spent Left Speed [2021-10-26T18:19:26.598Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 124k 0 --:--:-- --:--:-- --:--:-- 124k [Pipeline] sh [2021-10-26T18:19:27.068Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-10-26T18:19:27.437Z] + sudo tee /etc/docker/daemon.new [2021-10-26T18:19:27.437Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-10-26T18:19:27.437Z] { [2021-10-26T18:19:27.437Z] "registry-mirrors": [ [2021-10-26T18:19:27.437Z] "https://nexus3.edgexfoundry.org:10001" [2021-10-26T18:19:27.437Z] ], [2021-10-26T18:19:27.437Z] "bip": "10.250.0.254/24", [2021-10-26T18:19:27.437Z] "hosts": [ [2021-10-26T18:19:27.437Z] "tcp://0.0.0.0:5555", [2021-10-26T18:19:27.437Z] "unix:///var/run/docker.sock" [2021-10-26T18:19:27.437Z] ], [2021-10-26T18:19:27.437Z] "mtu": 1458, [2021-10-26T18:19:27.437Z] "selinux-enabled": true, [2021-10-26T18:19:27.437Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-10-26T18:19:27.437Z] } [Pipeline] sh [2021-10-26T18:19:27.807Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-10-26T18:19:28.169Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2021-10-26T18:19:46.836Z] ========================================================= [2021-10-26T18:19:46.836Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-26T18:19:46.836Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-10-26T18:19:47.279Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-26T18:19:48.277Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-26T18:19:48.277Z] 552d1f2373af: Pulling fs layer [2021-10-26T18:19:48.277Z] ea3f2d53f512: Pulling fs layer [2021-10-26T18:19:48.277Z] 9e70ebbbe112: Pulling fs layer [2021-10-26T18:19:48.277Z] 7a9cfe048b4a: Pulling fs layer [2021-10-26T18:19:48.277Z] 72dc09318566: Pulling fs layer [2021-10-26T18:19:48.277Z] f4f7b4309257: Pulling fs layer [2021-10-26T18:19:48.277Z] 0ac9a79272e3: Pulling fs layer [2021-10-26T18:19:48.277Z] b78e95d17946: Pulling fs layer [2021-10-26T18:19:48.277Z] 72dc09318566: Waiting [2021-10-26T18:19:48.277Z] f4f7b4309257: Waiting [2021-10-26T18:19:48.277Z] 0ac9a79272e3: Waiting [2021-10-26T18:19:48.277Z] b78e95d17946: Waiting [2021-10-26T18:19:48.277Z] 9e70ebbbe112: Verifying Checksum [2021-10-26T18:19:48.277Z] 9e70ebbbe112: Download complete [2021-10-26T18:19:48.277Z] ea3f2d53f512: Verifying Checksum [2021-10-26T18:19:48.277Z] ea3f2d53f512: Download complete [2021-10-26T18:19:48.277Z] 72dc09318566: Verifying Checksum [2021-10-26T18:19:48.277Z] 72dc09318566: Download complete [2021-10-26T18:19:48.277Z] f4f7b4309257: Verifying Checksum [2021-10-26T18:19:48.277Z] f4f7b4309257: Download complete [2021-10-26T18:19:48.277Z] 0ac9a79272e3: Verifying Checksum [2021-10-26T18:19:48.277Z] 0ac9a79272e3: Download complete [2021-10-26T18:19:48.558Z] 552d1f2373af: Verifying Checksum [2021-10-26T18:19:48.558Z] 552d1f2373af: Download complete [2021-10-26T18:19:49.558Z] 552d1f2373af: Pull complete [2021-10-26T18:19:50.171Z] ea3f2d53f512: Pull complete [2021-10-26T18:19:50.454Z] 9e70ebbbe112: Pull complete [2021-10-26T18:19:50.733Z] b78e95d17946: Verifying Checksum [2021-10-26T18:19:50.733Z] b78e95d17946: Download complete [2021-10-26T18:19:51.014Z] 7a9cfe048b4a: Verifying Checksum [2021-10-26T18:19:51.014Z] 7a9cfe048b4a: Download complete [2021-10-26T18:20:03.438Z] 7a9cfe048b4a: Pull complete [2021-10-26T18:20:03.438Z] 72dc09318566: Pull complete [2021-10-26T18:20:03.438Z] f4f7b4309257: Pull complete [2021-10-26T18:20:03.438Z] 0ac9a79272e3: Pull complete [2021-10-26T18:20:08.854Z] b78e95d17946: Pull complete [2021-10-26T18:20:08.854Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-10-26T18:20:08.854Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-26T18:20:08.854Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh [2021-10-26T18:20:09.212Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-26T18:20:09.569Z] + docker inspect -f . ci-base-image-arm64 [2021-10-26T18:20:09.569Z] . [Pipeline] withDockerContainer [2021-10-26T18:20:09.829Z] prd-ubuntu18.04-docker-arm64-4c-16g-2086 does not seem to be running inside a container [2021-10-26T18:20:09.932Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/46 -v /w/workspace/app-functions-sdk-go/46:/w/workspace/app-functions-sdk-go/46:rw,z -v /w/workspace/app-functions-sdk-go/46@tmp:/w/workspace/app-functions-sdk-go/46@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-26T18:20:13.645Z] $ docker top e0ed067ef751fabf0a733ab0fc47f408d3e129c3f71654bca6600f5782d71bb8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-26T18:20:14.649Z] + go version [2021-10-26T18:20:14.649Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-26T18:20:14.886Z] $ docker stop --time=1 e0ed067ef751fabf0a733ab0fc47f408d3e129c3f71654bca6600f5782d71bb8 [2021-10-26T18:20:16.795Z] $ docker rm -f e0ed067ef751fabf0a733ab0fc47f408d3e129c3f71654bca6600f5782d71bb8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-26T18:20:17.602Z] + docker inspect -f . ci-base-image-arm64 [2021-10-26T18:20:17.602Z] . [Pipeline] withDockerContainer [2021-10-26T18:20:17.891Z] prd-ubuntu18.04-docker-arm64-4c-16g-2086 does not seem to be running inside a container [2021-10-26T18:20:17.990Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/46 -v /w/workspace/app-functions-sdk-go/46:/w/workspace/app-functions-sdk-go/46:rw,z -v /w/workspace/app-functions-sdk-go/46@tmp:/w/workspace/app-functions-sdk-go/46@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-26T18:20:19.690Z] $ docker top f33e8736e8aebd5481f8bc53abbe3ae302d54c129c0ecbd00f1b3006ac3d79f3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-26T18:20:20.740Z] + make test [2021-10-26T18:20:20.740Z] make -C ./app-service-template build [2021-10-26T18:20:20.740Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/46/app-service-template' [2021-10-26T18:20:20.740Z] go mod tidy [2021-10-26T18:20:23.379Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.1-dev.23 [2021-10-26T18:20:23.380Z] go: downloading github.com/google/uuid v1.3.0 [2021-10-26T18:20:23.380Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-10-26T18:20:23.380Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.1-dev.14 [2021-10-26T18:20:23.380Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.2-dev.6 [2021-10-26T18:20:23.380Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.1-dev.9 [2021-10-26T18:20:23.380Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-10-26T18:20:23.380Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-10-26T18:20:23.380Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2021-10-26T18:20:23.380Z] go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2021-10-26T18:20:23.380Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-10-26T18:20:23.380Z] go: downloading github.com/stretchr/objx v0.1.1 [2021-10-26T18:20:23.380Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2021-10-26T18:20:23.380Z] go: downloading github.com/go-kit/kit v0.11.0 [2021-10-26T18:20:23.658Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-10-26T18:20:23.658Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2021-10-26T18:20:23.658Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.1-dev.5 [2021-10-26T18:20:23.658Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.1-dev.7 [2021-10-26T18:20:23.658Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2021-10-26T18:20:23.658Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2021-10-26T18:20:23.658Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-10-26T18:20:23.958Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-10-26T18:20:23.958Z] go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 [2021-10-26T18:20:23.958Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2021-10-26T18:20:23.958Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-10-26T18:20:23.958Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2021-10-26T18:20:23.958Z] go: downloading github.com/leodido/go-urn v1.2.1 [2021-10-26T18:20:23.958Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2021-10-26T18:20:23.958Z] go: downloading golang.org/x/text v0.3.6 [2021-10-26T18:20:24.563Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-10-26T18:20:24.563Z] go: downloading github.com/go-playground/locales v0.14.0 [2021-10-26T18:20:28.006Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2021-10-26T18:20:28.006Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-10-26T18:20:28.006Z] go: downloading github.com/kr/pretty v0.3.0 [2021-10-26T18:20:28.006Z] go: downloading github.com/x448/float16 v0.8.4 [2021-10-26T18:20:28.006Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-10-26T18:20:28.006Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2021-10-26T18:20:28.006Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-10-26T18:20:28.006Z] go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 [2021-10-26T18:20:28.006Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-10-26T18:20:28.006Z] go: downloading github.com/kr/text v0.2.0 [2021-10-26T18:20:28.006Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2021-10-26T18:20:28.006Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2021-10-26T18:20:28.006Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-10-26T18:20:28.006Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-10-26T18:20:28.006Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-10-26T18:20:28.006Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-10-26T18:20:28.006Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-10-26T18:20:28.006Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-10-26T18:20:28.006Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-10-26T18:20:28.006Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2021-10-26T18:20:28.283Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-10-26T18:20:28.283Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-10-26T18:20:28.283Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2021-10-26T18:20:28.560Z] go: downloading github.com/onsi/gomega v1.7.0 [2021-10-26T18:20:28.560Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-10-26T18:20:28.560Z] go: downloading github.com/fatih/color v1.9.0 [2021-10-26T18:20:28.560Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-10-26T18:20:28.560Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-10-26T18:20:28.560Z] go: downloading github.com/pkg/errors v0.9.1 [2021-10-26T18:20:28.837Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-10-26T18:20:28.837Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-10-26T18:20:28.837Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2021-10-26T18:20:28.837Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-10-26T18:20:28.837Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-10-26T18:20:28.837Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-10-26T18:20:28.837Z] go: downloading github.com/hpcloud/tail v1.0.0 [2021-10-26T18:20:28.837Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2021-10-26T18:20:28.837Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2021-10-26T18:20:29.115Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2021-10-26T18:20:29.115Z] go: downloading github.com/miekg/dns v1.1.26 [2021-10-26T18:20:29.115Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-10-26T18:20:29.115Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-10-26T18:20:29.115Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2021-10-26T18:20:29.115Z] go: downloading github.com/golang/protobuf v1.5.2 [2021-10-26T18:20:29.115Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2021-10-26T18:20:29.115Z] go: downloading github.com/fsnotify/fsnotify v1.4.7 [2021-10-26T18:20:29.115Z] go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c [2021-10-26T18:20:29.391Z] go: downloading google.golang.org/protobuf v1.27.1 [2021-10-26T18:20:29.992Z] go: downloading github.com/google/go-cmp v0.5.5 [2021-10-26T18:20:30.270Z] go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 [2021-10-26T18:20:30.548Z] 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-10-26T18:21:17.655Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/46/app-service-template' [2021-10-26T18:21:17.655Z] make -C ./app-service-template test [2021-10-26T18:21:17.655Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/46/app-service-template' [2021-10-26T18:21:17.655Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-10-26T18:21:56.757Z] ok new-app-service 0.065s coverage: 48.1% of statements [2021-10-26T18:21:56.757Z] ? new-app-service/config [no test files] [2021-10-26T18:21:56.757Z] ok new-app-service/functions 0.054s [2021-10-26T18:21:56.757Z] CGO_ENABLED=1 go vet ./... [2021-10-26T18:22:29.164Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-26T18:22:29.164Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-26T18:22:29.164Z] ./bin/test-attribution-txt.sh [2021-10-26T18:22:30.614Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/46/app-service-template' [2021-10-26T18:22:30.614Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-10-26T18:22:32.632Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-10-26T18:22:45.089Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.139s coverage: 67.0% of statements [2021-10-26T18:22:45.089Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app/mocks [no test files] [2021-10-26T18:22:45.089Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.148s coverage: 93.7% of statements [2021-10-26T18:22:45.089Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-10-26T18:22:45.089Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.104s coverage: 61.8% of statements [2021-10-26T18:22:45.089Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-10-26T18:22:45.089Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.115s [2021-10-26T18:22:45.089Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.127s coverage: 75.7% of statements [2021-10-26T18:22:45.089Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-10-26T18:22:45.089Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-10-26T18:22:45.089Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-10-26T18:22:45.089Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-10-26T18:22:45.089Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-10-26T18:22:45.089Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-10-26T18:22:45.089Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.012s coverage: 97.3% of statements [2021-10-26T18:22:45.089Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-10-26T18:22:45.382Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.052s coverage: 10.5% of statements [2021-10-26T18:22:53.761Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.186s coverage: 77.0% of statements [2021-10-26T18:22:53.761Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-10-26T18:22:53.761Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.065s coverage: 14.9% of statements [2021-10-26T18:22:53.761Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.052s coverage: 27.3% of statements [2021-10-26T18:22:53.761Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-10-26T18:22:53.761Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-10-26T18:22:53.761Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.058s coverage: 51.4% of statements [2021-10-26T18:23:20.595Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.141s coverage: 78.7% of statements [2021-10-26T18:23:20.595Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.050s coverage: 94.4% of statements [2021-10-26T18:23:20.595Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-10-26T18:23:24.019Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-26T18:23:24.615Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-26T18:23:25.602Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [Pipeline] } [2021-10-26T18:23:25.631Z] $ docker stop --time=1 f33e8736e8aebd5481f8bc53abbe3ae302d54c129c0ecbd00f1b3006ac3d79f3 [2021-10-26T18:23:27.678Z] $ docker rm -f f33e8736e8aebd5481f8bc53abbe3ae302d54c129c0ecbd00f1b3006ac3d79f3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-26T18:23:30.879Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-26T18:23:30.901Z] Warning: overwriting stash ‘coverage-report’ [2021-10-26T18:23:31.657Z] 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-10-26T18:23:32.374Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-26T18:23:32.648Z] [2021-10-26T18:23:32.648Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-26T18:23:33.003Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-26T18:23:33.290Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-26T18:23:33.290Z] 448f6bf000e3: Pulling fs layer [2021-10-26T18:23:33.290Z] f757da607395: Pulling fs layer [2021-10-26T18:23:33.290Z] 05883995daec: Pulling fs layer [2021-10-26T18:23:33.290Z] 8603b9c90790: Pulling fs layer [2021-10-26T18:23:33.290Z] 1560dd03e051: Pulling fs layer [2021-10-26T18:23:33.290Z] 27f5ce0e4adf: Pulling fs layer [2021-10-26T18:23:33.290Z] c2d8d7efcc4b: Pulling fs layer [2021-10-26T18:23:33.290Z] 1560dd03e051: Waiting [2021-10-26T18:23:33.290Z] 27f5ce0e4adf: Waiting [2021-10-26T18:23:33.290Z] c2d8d7efcc4b: Waiting [2021-10-26T18:23:33.290Z] 8603b9c90790: Waiting [2021-10-26T18:23:33.570Z] f757da607395: Verifying Checksum [2021-10-26T18:23:33.570Z] f757da607395: Download complete [2021-10-26T18:23:33.570Z] 8603b9c90790: Verifying Checksum [2021-10-26T18:23:33.570Z] 8603b9c90790: Download complete [2021-10-26T18:23:33.570Z] 1560dd03e051: Verifying Checksum [2021-10-26T18:23:33.570Z] 1560dd03e051: Download complete [2021-10-26T18:23:33.570Z] 05883995daec: Verifying Checksum [2021-10-26T18:23:33.570Z] 05883995daec: Download complete [2021-10-26T18:23:33.570Z] 27f5ce0e4adf: Download complete [2021-10-26T18:23:33.850Z] 448f6bf000e3: Verifying Checksum [2021-10-26T18:23:33.850Z] 448f6bf000e3: Download complete [2021-10-26T18:23:37.272Z] c2d8d7efcc4b: Verifying Checksum [2021-10-26T18:23:37.272Z] c2d8d7efcc4b: Download complete [2021-10-26T18:23:37.873Z] 448f6bf000e3: Pull complete [2021-10-26T18:23:38.471Z] f757da607395: Pull complete [2021-10-26T18:23:39.914Z] 05883995daec: Pull complete [2021-10-26T18:23:40.195Z] 8603b9c90790: Pull complete [2021-10-26T18:23:41.645Z] 1560dd03e051: Pull complete [2021-10-26T18:23:41.923Z] 27f5ce0e4adf: Pull complete [2021-10-26T18:24:00.364Z] c2d8d7efcc4b: Pull complete [2021-10-26T18:24:00.364Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-26T18:24:00.364Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-26T18:24:00.364Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-26T18:24:00.678Z] prd-ubuntu18.04-docker-arm64-4c-16g-2086 does not seem to be running inside a container [2021-10-26T18:24:00.781Z] $ 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/46 -v /w/workspace/app-functions-sdk-go/46:/w/workspace/app-functions-sdk-go/46:rw,z -v /w/workspace/app-functions-sdk-go/46@tmp:/w/workspace/app-functions-sdk-go/46@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:arm64 cat [2021-10-26T18:24:04.173Z] $ docker top 2942d3ab1947520d6ce04fc697f221d549d5df669db5295c4d9f0e0518c78f10 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-26T18:24:05.200Z] ---> job-cost.sh [2021-10-26T18:24:05.200Z] lf-activate-venv: SKIPPING [2021-10-26T18:24:05.200Z] INFO: No Stack... [2021-10-26T18:24:05.473Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-26T18:24:06.069Z] INFO: Archiving Costs [Pipeline] sh [2021-10-26T18:24:06.731Z] + cat /w/workspace/app-functions-sdk-go/46/archives/cost.csv [2021-10-26T18:24:06.731Z] + cut -d, -f6 [Pipeline] lock [2021-10-26T18:24:06.794Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-46-stack-cost] [2021-10-26T18:24:06.799Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-46-stack-cost] did not exist. Created. [2021-10-26T18:24:06.799Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-46-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-26T18:24:07.483Z] /w/workspace/app-functions-sdk-go/46@tmp/durable-e6a126ca/script.sh: 1: /w/workspace/app-functions-sdk-go/46@tmp/durable-e6a126ca/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-26T18:24:08.156Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-26T18:24:08.176Z] Warning: overwriting stash ‘stack-cost’ [2021-10-26T18:24:08.247Z] Stashed 1 file(s) [Pipeline] } [2021-10-26T18:24:08.257Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-46-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-26T18:24:08.276Z] $ docker stop --time=1 2942d3ab1947520d6ce04fc697f221d549d5df669db5295c4d9f0e0518c78f10 [2021-10-26T18:24:09.863Z] $ docker rm -f 2942d3ab1947520d6ce04fc697f221d549d5df669db5295c4d9f0e0518c78f10 [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-10-26T18:24:10.509Z] provisioning config files... [2021-10-26T18:24:10.520Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config7540070263024253002tmp [Pipeline] { [Pipeline] sh [2021-10-26T18:24:10.832Z] + set +x [2021-10-26T18:24:10.832Z] + bash -s -- [2021-10-26T18:24:10.832Z] + curl -s https://codecov.io/bash [2021-10-26T18:24:10.832Z] [2021-10-26T18:24:10.832Z] _____ _ [2021-10-26T18:24:10.832Z] / ____| | | [2021-10-26T18:24:10.832Z] | | ___ __| | ___ ___ _____ __ [2021-10-26T18:24:10.832Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-10-26T18:24:10.832Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-10-26T18:24:10.832Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-10-26T18:24:10.832Z] Bash-1.0.6 [2021-10-26T18:24:10.832Z] [2021-10-26T18:24:10.832Z] [2021-10-26T18:24:10.832Z] ==> git version 2.24.4 found [2021-10-26T18:24:10.832Z] ==> 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-10-26T18:24:10.832Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-10-26T18:24:10.832Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-10-26T18:24:10.832Z] ==> Jenkins CI detected. [2021-10-26T18:24:10.832Z] current dir:  /w/workspace/oundry_app-functions-sdk-go_main [2021-10-26T18:24:10.832Z] project root: . [2021-10-26T18:24:10.832Z] --> token set from env [2021-10-26T18:24:10.832Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-10-26T18:24:10.832Z] ==> Running gcov in . (disable via -X gcov) [2021-10-26T18:24:10.832Z] ==> Python coveragepy not found [2021-10-26T18:24:10.832Z] ==> Searching for coverage reports in: [2021-10-26T18:24:10.832Z] + . [2021-10-26T18:24:10.832Z] -> Found 2 reports [2021-10-26T18:24:10.832Z] ==> Detecting git/mercurial file structure [2021-10-26T18:24:10.832Z] ==> Reading reports [2021-10-26T18:24:10.832Z] + ./app-service-template/coverage.out bytes=1219 [2021-10-26T18:24:10.832Z] + ./coverage.out bytes=101648 [2021-10-26T18:24:10.832Z] ==> Appending adjustments [2021-10-26T18:24:10.832Z] https://docs.codecov.io/docs/fixing-reports [2021-10-26T18:24:11.405Z] + Found adjustments [2021-10-26T18:24:11.405Z] ==> Gzipping contents [2021-10-26T18:24:11.405Z] 20K /tmp/codecov.5XJZ8T.gz [2021-10-26T18:24:11.405Z] ==> Uploading reports [2021-10-26T18:24:11.405Z] url: https://codecov.io [2021-10-26T18:24:11.405Z] query: branch=main&commit=8988a2ee85d0537658b5f1d2210b8353ce33fb00&build=46&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F46%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-10-26T18:24:11.405Z] -> Pinging Codecov [2021-10-26T18:24:11.405Z] 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=8988a2ee85d0537658b5f1d2210b8353ce33fb00&build=46&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F46%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-10-26T18:24:11.667Z] -> Uploading to [2021-10-26T18:24:11.667Z] https://storage.googleapis.com/codecov/v4/raw/2021-10-26/3D8B5DFFC46A037C893635FACE044666/8988a2ee85d0537658b5f1d2210b8353ce33fb00/4570dd6e-314c-4e80-90fe-5c98a828353e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211026T182411Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ee4ee40596673aac556f43cb1a5a0ef602f8f4e5dff44e6849569844b75a34ca [2021-10-26T18:24:11.667Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-26T18:24:11.667Z] Dload Upload Total Spent Left Speed [2021-10-26T18:24:11.931Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17793 0 0 100 17793 0 60723 --:--:-- --:--:-- --:--:-- 60934 [2021-10-26T18:24:11.931Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/8988a2ee85d0537658b5f1d2210b8353ce33fb00 [Pipeline] } [2021-10-26T18:24:11.944Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-10-26T18:24:12.143Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-10-26T18:24:12.152Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-26T18:24:12.457Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-26T18:24:12.457Z] [2021-10-26T18:24:12.457Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-10-26T18:24:12.767Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-26T18:24:12.767Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-10-26T18:24:12.767Z] 188c0c94c7c5: Pulling fs layer [2021-10-26T18:24:12.767Z] 0ef7d3d256c8: Pulling fs layer [2021-10-26T18:24:12.767Z] de9db76c5a1d: Pulling fs layer [2021-10-26T18:24:12.767Z] 0eba1c9be4d2: Pulling fs layer [2021-10-26T18:24:12.767Z] 0d57e429df01: Pulling fs layer [2021-10-26T18:24:12.767Z] 4e4be7b47b0d: Pulling fs layer [2021-10-26T18:24:12.767Z] e1f770b5df2f: Pulling fs layer [2021-10-26T18:24:12.767Z] 85a0685a4137: Pulling fs layer [2021-10-26T18:24:12.767Z] 4e4be7b47b0d: Waiting [2021-10-26T18:24:12.767Z] e1f770b5df2f: Waiting [2021-10-26T18:24:12.767Z] 85a0685a4137: Waiting [2021-10-26T18:24:12.767Z] 0d57e429df01: Waiting [2021-10-26T18:24:12.767Z] 0eba1c9be4d2: Waiting [2021-10-26T18:24:12.767Z] de9db76c5a1d: Verifying Checksum [2021-10-26T18:24:12.767Z] de9db76c5a1d: Download complete [2021-10-26T18:24:12.767Z] 0ef7d3d256c8: Verifying Checksum [2021-10-26T18:24:12.767Z] 0ef7d3d256c8: Download complete [2021-10-26T18:24:12.767Z] 0d57e429df01: Verifying Checksum [2021-10-26T18:24:12.767Z] 0d57e429df01: Download complete [2021-10-26T18:24:12.767Z] 4e4be7b47b0d: Verifying Checksum [2021-10-26T18:24:12.767Z] 4e4be7b47b0d: Download complete [2021-10-26T18:24:12.767Z] 188c0c94c7c5: Verifying Checksum [2021-10-26T18:24:12.767Z] 188c0c94c7c5: Download complete [2021-10-26T18:24:13.035Z] e1f770b5df2f: Verifying Checksum [2021-10-26T18:24:13.035Z] e1f770b5df2f: Download complete [2021-10-26T18:24:13.311Z] 0eba1c9be4d2: Verifying Checksum [2021-10-26T18:24:13.311Z] 0eba1c9be4d2: Download complete [2021-10-26T18:24:13.311Z] 188c0c94c7c5: Pull complete [2021-10-26T18:24:13.581Z] 0ef7d3d256c8: Pull complete [2021-10-26T18:24:13.581Z] 85a0685a4137: Verifying Checksum [2021-10-26T18:24:13.581Z] 85a0685a4137: Download complete [2021-10-26T18:24:13.581Z] de9db76c5a1d: Pull complete [2021-10-26T18:24:17.830Z] 0eba1c9be4d2: Pull complete [2021-10-26T18:24:17.830Z] 0d57e429df01: Pull complete [2021-10-26T18:24:17.830Z] 4e4be7b47b0d: Pull complete [2021-10-26T18:24:17.830Z] e1f770b5df2f: Pull complete [2021-10-26T18:24:21.166Z] 85a0685a4137: Pull complete [2021-10-26T18:24:21.166Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-10-26T18:24:21.166Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-26T18:24:21.166Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-10-26T18:24:21.236Z] prd-centos7-docker-4c-2g-2077 does not seem to be running inside a container [2021-10-26T18:24:21.281Z] $ 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-10-26T18:24:24.061Z] $ docker top 17c970c124b72fd67179d920f988d11835177ead2fcf80cbf3d6ce00c01301ec -eo pid,comm [Pipeline] { [Pipeline] echo [2021-10-26T18:24:24.133Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-10-26T18:24:24.433Z] + set -o pipefail [2021-10-26T18:24:24.433Z] + snyk monitor '--org=edgex-jenkins' [2021-10-26T18:24:29.751Z] [2021-10-26T18:24:29.751Z] Monitoring /w/workspace/oundry_app-functions-sdk-go_main (github.com/edgexfoundry/app-functions-sdk-go/v2)... [2021-10-26T18:24:29.751Z] [2021-10-26T18:24:29.751Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/a71397f3-c638-48e2-a251-9c0e01a42908 [2021-10-26T18:24:29.751Z] [2021-10-26T18:24:29.751Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-10-26T18:24:29.751Z] [2021-10-26T18:24:29.751Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-10-26T18:24:29.751Z] [2021-10-26T18:24:29.751Z] [Pipeline] } [2021-10-26T18:24:29.761Z] $ docker stop --time=1 17c970c124b72fd67179d920f988d11835177ead2fcf80cbf3d6ce00c01301ec [2021-10-26T18:24:31.562Z] $ docker rm -f 17c970c124b72fd67179d920f988d11835177ead2fcf80cbf3d6ce00c01301ec [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-10-26T18:24:32.036Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-26T18:24:32.043Z] provisioning config files... [2021-10-26T18:24:32.051Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config7577548109110941760tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-26T18:24:32.359Z] --> edgex-publish-swagger.sh [2021-10-26T18:24:32.359Z] === Publish openapi/v2 API === [2021-10-26T18:24:32.359Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-10-26T18:24:32.359Z] [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/oundry_app-functions-sdk-go_main/openapi/v2/app-functions-sdk.yaml] [2021-10-26T18:24:32.359Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-26T18:24:32.359Z] Dload Upload Total Spent Left Speed [2021-10-26T18:24:33.194Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 13054 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13054 0 0 100 13054 0 12218 0:00:01 0:00:01 --:--:-- 12222 [2021-10-26T18:24:33.194Z] [2021-10-26T18:24:33.194Z] [Pipeline] } [2021-10-26T18:24:33.204Z] 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-10-26T18:24:33.642Z] + git log --format=format:%s -1 8988a2ee85d0537658b5f1d2210b8353ce33fb00 [Pipeline] isUnix [Pipeline] sh [2021-10-26T18:24:33.950Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-26T18:24:33.950Z] . [Pipeline] withDockerContainer [2021-10-26T18:24:34.015Z] prd-centos7-docker-4c-2g-2077 does not seem to be running inside a container [2021-10-26T18:24:34.054Z] $ 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-10-26T18:24:34.406Z] $ docker top 78fed84383f9e4f4fe7f71960231faf46bfd92a7521e79e810cc32c84a168454 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-26T18:24:34.509Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-26T18:24:34.509Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-26T18:24:34.607Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-26T18:24:34.609Z] $ docker exec 78fed84383f9e4f4fe7f71960231faf46bfd92a7521e79e810cc32c84a168454 ssh-agent [2021-10-26T18:24:34.711Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKAaKnM/agent.13 [2021-10-26T18:24:34.711Z] SSH_AGENT_PID=19 [2021-10-26T18:24:34.717Z] Running ssh-add (command line suppressed) [2021-10-26T18:24:34.813Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_526874426760817679.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_526874426760817679.key) [2021-10-26T18:24:34.824Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-26T18:24:35.115Z] + git semver tag [2021-10-26T18:24:35.115Z] # -> Open(): unable to determine branch for HEAD [2021-10-26T18:24:35.115Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2021-10-26T18:24:35.115Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2021-10-26T18:24:35.115Z] # $SEMVER_REMOTE_NAME = origin [2021-10-26T18:24:35.115Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-26T18:24:35.115Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-26T18:24:35.115Z] # $SEMVER_BRANCH = main [2021-10-26T18:24:35.115Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [2021-10-26T18:24:35.115Z] # 8988a2ee85d0537658b5f1d2210b8353ce33fb00 HEAD [2021-10-26T18:24:35.115Z] # -> Force: false [2021-10-26T18:24:35.115Z] # 2ff29c692b5518476b27a1cd746153ad3888b3c9 refs/tags/v2.0.2-dev.33 [Pipeline] } [2021-10-26T18:24:35.127Z] $ docker exec --env ******** --env ******** 78fed84383f9e4f4fe7f71960231faf46bfd92a7521e79e810cc32c84a168454 ssh-agent -k [2021-10-26T18:24:35.211Z] unset SSH_AUTH_SOCK; [2021-10-26T18:24:35.211Z] unset SSH_AGENT_PID; [2021-10-26T18:24:35.211Z] echo Agent pid 19 killed; [2021-10-26T18:24:35.219Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-26T18:24:35.532Z] + git semver [Pipeline] } [2021-10-26T18:24:35.545Z] $ docker stop --time=1 78fed84383f9e4f4fe7f71960231faf46bfd92a7521e79e810cc32c84a168454 [2021-10-26T18:24:36.725Z] $ docker rm -f 78fed84383f9e4f4fe7f71960231faf46bfd92a7521e79e810cc32c84a168454 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-10-26T18:24:37.117Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-26T18:24:37.117Z] [2021-10-26T18:24:37.117Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-10-26T18:24:37.414Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-26T18:24:37.414Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-10-26T18:24:37.414Z] ab5ef0e58194: Pulling fs layer [2021-10-26T18:24:37.414Z] 9712f1f96733: Pulling fs layer [2021-10-26T18:24:37.414Z] 63f879dbbcfc: Pulling fs layer [2021-10-26T18:24:37.414Z] 0d9ebad4ef96: Pulling fs layer [2021-10-26T18:24:37.414Z] e9a5061849ea: Pulling fs layer [2021-10-26T18:24:37.414Z] d747dcd14b5f: Pulling fs layer [2021-10-26T18:24:37.414Z] 2de7ff778b66: Pulling fs layer [2021-10-26T18:24:37.414Z] 0d9ebad4ef96: Waiting [2021-10-26T18:24:37.414Z] d747dcd14b5f: Waiting [2021-10-26T18:24:37.414Z] 2de7ff778b66: Waiting [2021-10-26T18:24:37.414Z] e9a5061849ea: Waiting [2021-10-26T18:24:37.414Z] 9712f1f96733: Verifying Checksum [2021-10-26T18:24:37.414Z] 9712f1f96733: Download complete [2021-10-26T18:24:37.679Z] 0d9ebad4ef96: Verifying Checksum [2021-10-26T18:24:37.679Z] 0d9ebad4ef96: Download complete [2021-10-26T18:24:37.939Z] 63f879dbbcfc: Verifying Checksum [2021-10-26T18:24:37.939Z] 63f879dbbcfc: Download complete [2021-10-26T18:24:37.939Z] ab5ef0e58194: Verifying Checksum [2021-10-26T18:24:37.939Z] ab5ef0e58194: Download complete [2021-10-26T18:24:37.939Z] d747dcd14b5f: Verifying Checksum [2021-10-26T18:24:37.939Z] d747dcd14b5f: Download complete [2021-10-26T18:24:37.939Z] e9a5061849ea: Verifying Checksum [2021-10-26T18:24:37.939Z] e9a5061849ea: Download complete [2021-10-26T18:24:37.939Z] 2de7ff778b66: Verifying Checksum [2021-10-26T18:24:37.939Z] 2de7ff778b66: Download complete [2021-10-26T18:24:41.280Z] ab5ef0e58194: Pull complete [2021-10-26T18:24:41.280Z] 9712f1f96733: Pull complete [2021-10-26T18:24:41.553Z] 63f879dbbcfc: Pull complete [2021-10-26T18:24:45.798Z] 0d9ebad4ef96: Pull complete [2021-10-26T18:24:46.066Z] e9a5061849ea: Pull complete [2021-10-26T18:24:46.066Z] d747dcd14b5f: Pull complete [2021-10-26T18:24:47.014Z] 2de7ff778b66: Pull complete [2021-10-26T18:24:47.274Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-10-26T18:24:47.274Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-26T18:24:47.275Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-10-26T18:24:47.338Z] prd-centos7-docker-4c-2g-2077 does not seem to be running inside a container [2021-10-26T18:24:47.374Z] $ 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-10-26T18:24:51.417Z] $ docker top 1e76f1ea805f652f5cc14c75f63fd95b4b5c9fd47c5a578e3eaf2a631953f5f5 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-10-26T18:24:51.492Z] provisioning config files... [2021-10-26T18:24:51.503Z] copy managed file [sigul-config] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config8391132417551621026tmp [2021-10-26T18:24:51.515Z] copy managed file [sigul-password] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config4451193525504314931tmp [2021-10-26T18:24:51.526Z] copy managed file [sigul-pki] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config4335999326838440137tmp [Pipeline] { [Pipeline] echo [2021-10-26T18:24:51.543Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-26T18:24:51.840Z] ---> sigul-configuration.sh [2021-10-26T18:24:51.841Z] gpg: directory `/root/.gnupg' created [2021-10-26T18:24:51.841Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-10-26T18:24:51.841Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-10-26T18:24:51.841Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-10-26T18:24:51.841Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-10-26T18:24:51.841Z] gpg: CAST5 encrypted data [2021-10-26T18:24:51.841Z] gpg: encrypted with 1 passphrase [2021-10-26T18:24:51.841Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-10-26T18:24:52.132Z] + mkdir /home/jenkins [2021-10-26T18:24:52.132Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-10-26T18:24:52.431Z] + 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-10-26T18:24:52.442Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-26T18:24:52.738Z] ---> sigul-install.sh [2021-10-26T18:24:52.738Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-10-26T18:24:53.034Z] + git tag --list [2021-10-26T18:24:53.034Z] v0.1.0 [2021-10-26T18:24:53.034Z] v0.1.1 [2021-10-26T18:24:53.034Z] v1.0.0 [2021-10-26T18:24:53.034Z] v1.1.0 [2021-10-26T18:24:53.034Z] v1.2.0 [2021-10-26T18:24:53.034Z] v1.3.0 [2021-10-26T18:24:53.034Z] v1.3.1 [2021-10-26T18:24:53.034Z] v2.0.0 [2021-10-26T18:24:53.034Z] v2.0.1 [2021-10-26T18:24:53.034Z] v2.0.1-dev.1 [2021-10-26T18:24:53.034Z] v2.0.1-dev.2 [2021-10-26T18:24:53.034Z] v2.0.1-dev.3 [2021-10-26T18:24:53.034Z] v2.0.1-dev.4 [2021-10-26T18:24:53.034Z] v2.0.1-dev.5 [2021-10-26T18:24:53.034Z] v2.0.1-dev.6 [2021-10-26T18:24:53.034Z] v2.0.1-dev.7 [2021-10-26T18:24:53.034Z] v2.0.2-dev.1 [2021-10-26T18:24:53.034Z] v2.0.2-dev.10 [2021-10-26T18:24:53.034Z] v2.0.2-dev.11 [2021-10-26T18:24:53.034Z] v2.0.2-dev.12 [2021-10-26T18:24:53.034Z] v2.0.2-dev.13 [2021-10-26T18:24:53.034Z] v2.0.2-dev.14 [2021-10-26T18:24:53.034Z] v2.0.2-dev.15 [2021-10-26T18:24:53.034Z] v2.0.2-dev.16 [2021-10-26T18:24:53.034Z] v2.0.2-dev.17 [2021-10-26T18:24:53.034Z] v2.0.2-dev.18 [2021-10-26T18:24:53.034Z] v2.0.2-dev.19 [2021-10-26T18:24:53.034Z] v2.0.2-dev.2 [2021-10-26T18:24:53.034Z] v2.0.2-dev.20 [2021-10-26T18:24:53.034Z] v2.0.2-dev.21 [2021-10-26T18:24:53.034Z] v2.0.2-dev.22 [2021-10-26T18:24:53.034Z] v2.0.2-dev.23 [2021-10-26T18:24:53.034Z] v2.0.2-dev.24 [2021-10-26T18:24:53.034Z] v2.0.2-dev.25 [2021-10-26T18:24:53.034Z] v2.0.2-dev.26 [2021-10-26T18:24:53.034Z] v2.0.2-dev.27 [2021-10-26T18:24:53.034Z] v2.0.2-dev.28 [2021-10-26T18:24:53.034Z] v2.0.2-dev.29 [2021-10-26T18:24:53.034Z] v2.0.2-dev.3 [2021-10-26T18:24:53.034Z] v2.0.2-dev.30 [2021-10-26T18:24:53.034Z] v2.0.2-dev.31 [2021-10-26T18:24:53.034Z] v2.0.2-dev.32 [2021-10-26T18:24:53.034Z] v2.0.2-dev.33 [2021-10-26T18:24:53.034Z] v2.0.2-dev.4 [2021-10-26T18:24:53.034Z] v2.0.2-dev.5 [2021-10-26T18:24:53.034Z] v2.0.2-dev.6 [2021-10-26T18:24:53.034Z] v2.0.2-dev.7 [2021-10-26T18:24:53.034Z] v2.0.2-dev.8 [2021-10-26T18:24:53.034Z] v2.0.2-dev.9 [Pipeline] sh [2021-10-26T18:24:53.333Z] + lftools sign git-tag v2.0.2-dev.33 [2021-10-26T18:24:53.907Z] Signing Git tag with Sigul... [2021-10-26T18:24:53.907Z] Signing v2.0.2-dev.33 [Pipeline] echo [2021-10-26T18:24:54.860Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-26T18:24:55.153Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-10-26T18:24:55.161Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-10-26T18:24:55.180Z] $ docker stop --time=1 1e76f1ea805f652f5cc14c75f63fd95b4b5c9fd47c5a578e3eaf2a631953f5f5 [2021-10-26T18:24:56.475Z] $ docker rm -f 1e76f1ea805f652f5cc14c75f63fd95b4b5c9fd47c5a578e3eaf2a631953f5f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-10-26T18:24:57.057Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-26T18:24:57.057Z] . [Pipeline] withDockerContainer [2021-10-26T18:24:57.119Z] prd-centos7-docker-4c-2g-2077 does not seem to be running inside a container [2021-10-26T18:24:57.159Z] $ 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-10-26T18:24:57.604Z] $ docker top 266ca8afd64b2f678bd3087261a0e11681491278492195567f90748e7a3497ff -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-26T18:24:57.703Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-26T18:24:57.703Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-26T18:24:57.829Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-26T18:24:57.832Z] $ docker exec 266ca8afd64b2f678bd3087261a0e11681491278492195567f90748e7a3497ff ssh-agent [2021-10-26T18:24:57.977Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBephmc/agent.13 [2021-10-26T18:24:57.977Z] SSH_AGENT_PID=19 [2021-10-26T18:24:57.982Z] Running ssh-add (command line suppressed) [2021-10-26T18:24:58.090Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_8933416983209489217.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_8933416983209489217.key) [2021-10-26T18:24:58.109Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-26T18:24:58.406Z] + git semver bump pre [2021-10-26T18:24:58.406Z] # -> Open(): unable to determine branch for HEAD [2021-10-26T18:24:58.406Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2021-10-26T18:24:58.406Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2021-10-26T18:24:58.406Z] # $SEMVER_REMOTE_NAME = origin [2021-10-26T18:24:58.406Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-26T18:24:58.406Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-26T18:24:58.406Z] # $SEMVER_BRANCH = main [2021-10-26T18:24:58.406Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [2021-10-26T18:24:58.406Z] 2.0.2-dev.34 [Pipeline] } [2021-10-26T18:24:58.415Z] $ docker exec --env ******** --env ******** 266ca8afd64b2f678bd3087261a0e11681491278492195567f90748e7a3497ff ssh-agent -k [2021-10-26T18:24:58.512Z] unset SSH_AUTH_SOCK; [2021-10-26T18:24:58.513Z] unset SSH_AGENT_PID; [2021-10-26T18:24:58.513Z] echo Agent pid 19 killed; [2021-10-26T18:24:58.525Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-26T18:24:58.837Z] + git semver [Pipeline] } [2021-10-26T18:24:58.849Z] $ docker stop --time=1 266ca8afd64b2f678bd3087261a0e11681491278492195567f90748e7a3497ff [2021-10-26T18:25:00.860Z] $ docker rm -f 266ca8afd64b2f678bd3087261a0e11681491278492195567f90748e7a3497ff [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-10-26T18:25:01.229Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-26T18:25:01.229Z] . [Pipeline] withDockerContainer [2021-10-26T18:25:01.288Z] prd-centos7-docker-4c-2g-2077 does not seem to be running inside a container [2021-10-26T18:25:01.402Z] $ 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-10-26T18:25:02.523Z] $ docker top f167083e384032f93456178920ea384f071e120f9795893e731db459b48a44c6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-26T18:25:02.663Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-26T18:25:02.663Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-26T18:25:02.784Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-26T18:25:02.786Z] $ docker exec f167083e384032f93456178920ea384f071e120f9795893e731db459b48a44c6 ssh-agent [2021-10-26T18:25:02.884Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJhcnmI/agent.14 [2021-10-26T18:25:02.884Z] SSH_AGENT_PID=21 [2021-10-26T18:25:02.890Z] Running ssh-add (command line suppressed) [2021-10-26T18:25:02.971Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7214290183140017323.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7214290183140017323.key) [2021-10-26T18:25:02.990Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-26T18:25:03.279Z] + git semver push [2021-10-26T18:25:03.279Z] # -> Open(): unable to determine branch for HEAD [2021-10-26T18:25:03.279Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2021-10-26T18:25:03.279Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2021-10-26T18:25:03.279Z] # $SEMVER_REMOTE_NAME = origin [2021-10-26T18:25:03.279Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-26T18:25:03.279Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-26T18:25:03.279Z] # $SEMVER_BRANCH = main [2021-10-26T18:25:03.279Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [Pipeline] } [2021-10-26T18:25:05.827Z] $ docker exec --env ******** --env ******** f167083e384032f93456178920ea384f071e120f9795893e731db459b48a44c6 ssh-agent -k [2021-10-26T18:25:05.914Z] unset SSH_AUTH_SOCK; [2021-10-26T18:25:05.914Z] unset SSH_AGENT_PID; [2021-10-26T18:25:05.914Z] echo Agent pid 21 killed; [2021-10-26T18:25:05.924Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-26T18:25:06.239Z] + git semver [Pipeline] } [2021-10-26T18:25:06.252Z] $ docker stop --time=1 f167083e384032f93456178920ea384f071e120f9795893e731db459b48a44c6 [2021-10-26T18:25:07.464Z] $ docker rm -f f167083e384032f93456178920ea384f071e120f9795893e731db459b48a44c6 [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-10-26T18:25:08.219Z] + '[' -d /w/workspace/oundry_app-functions-sdk-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-26T18:25:08.539Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-26T18:25:09.095Z] ---> package-listing.sh [2021-10-26T18:25:09.095Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-26T18:25:09.095Z] ++ facter osfamily [2021-10-26T18:25:09.356Z] + OS_FAMILY=redhat [2021-10-26T18:25:09.356Z] + workspace=/w/workspace/oundry_app-functions-sdk-go_main [2021-10-26T18:25:09.356Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-26T18:25:09.356Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-26T18:25:09.356Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-26T18:25:09.356Z] + PACKAGES=/tmp/packages_start.txt [2021-10-26T18:25:09.356Z] + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' [2021-10-26T18:25:09.356Z] + PACKAGES=/tmp/packages_end.txt [2021-10-26T18:25:09.356Z] + case "${OS_FAMILY}" in [2021-10-26T18:25:09.356Z] + sort [2021-10-26T18:25:09.356Z] + rpm -qa [2021-10-26T18:25:10.299Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-26T18:25:10.299Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-26T18:25:10.299Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-26T18:25:10.299Z] + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' [2021-10-26T18:25:10.299Z] + mkdir -p /w/workspace/oundry_app-functions-sdk-go_main/archives/ [2021-10-26T18:25:10.299Z] + 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-10-26T18:25:10.309Z] 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-10-26T18:25:10.592Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-26T18:25:11.145Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-26T18:25:11.145Z] [2021-10-26T18:25:11.145Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-26T18:25:11.443Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-26T18:25:11.443Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-26T18:25:11.443Z] b4d181a07f80: Pulling fs layer [2021-10-26T18:25:11.443Z] a1111a8f2ec3: Pulling fs layer [2021-10-26T18:25:11.443Z] ed53099fbce6: Pulling fs layer [2021-10-26T18:25:11.443Z] dc539afda2c1: Pulling fs layer [2021-10-26T18:25:11.443Z] 77bc0d833cb6: Pulling fs layer [2021-10-26T18:25:11.443Z] 9065ff56babe: Pulling fs layer [2021-10-26T18:25:11.443Z] d287ab97295c: Pulling fs layer [2021-10-26T18:25:11.443Z] dc539afda2c1: Waiting [2021-10-26T18:25:11.443Z] 77bc0d833cb6: Waiting [2021-10-26T18:25:11.443Z] 9065ff56babe: Waiting [2021-10-26T18:25:11.443Z] d287ab97295c: Waiting [2021-10-26T18:25:11.443Z] a1111a8f2ec3: Verifying Checksum [2021-10-26T18:25:11.443Z] a1111a8f2ec3: Download complete [2021-10-26T18:25:11.443Z] dc539afda2c1: Verifying Checksum [2021-10-26T18:25:11.443Z] dc539afda2c1: Download complete [2021-10-26T18:25:11.702Z] ed53099fbce6: Verifying Checksum [2021-10-26T18:25:11.702Z] ed53099fbce6: Download complete [2021-10-26T18:25:11.702Z] 9065ff56babe: Verifying Checksum [2021-10-26T18:25:11.702Z] 9065ff56babe: Download complete [2021-10-26T18:25:11.702Z] 77bc0d833cb6: Verifying Checksum [2021-10-26T18:25:11.702Z] 77bc0d833cb6: Download complete [2021-10-26T18:25:11.702Z] b4d181a07f80: Verifying Checksum [2021-10-26T18:25:11.702Z] b4d181a07f80: Download complete [2021-10-26T18:25:12.280Z] d287ab97295c: Verifying Checksum [2021-10-26T18:25:12.280Z] d287ab97295c: Download complete [2021-10-26T18:25:13.235Z] b4d181a07f80: Pull complete [2021-10-26T18:25:13.235Z] a1111a8f2ec3: Pull complete [2021-10-26T18:25:13.809Z] ed53099fbce6: Pull complete [2021-10-26T18:25:13.809Z] dc539afda2c1: Pull complete [2021-10-26T18:25:14.069Z] 77bc0d833cb6: Pull complete [2021-10-26T18:25:14.334Z] 9065ff56babe: Pull complete [2021-10-26T18:25:19.655Z] d287ab97295c: Pull complete [2021-10-26T18:25:19.655Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-26T18:25:19.655Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-26T18:25:19.655Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-26T18:25:19.712Z] prd-centos7-docker-4c-2g-2077 does not seem to be running inside a container [2021-10-26T18:25:19.747Z] $ 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-10-26T18:25:23.840Z] $ docker top 6d6bf053b5c2d9871da244859534107dc3040b38550511fb0a5d84503d4591b3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-26T18:25:24.187Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-26T18:25:24.489Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-26T18:25:24.792Z] + ls /var/log/sa-host [2021-10-26T18:25:24.792Z] + sadf -c /var/log/sa-host/sa26 [2021-10-26T18:25:24.792Z] file_magic: OK [2021-10-26T18:25:24.792Z] HZ: Using current value: 100 [2021-10-26T18:25:24.792Z] file_header: OK [2021-10-26T18:25:24.792Z] 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-10-26T18:25:24.792Z] Statistics: [2021-10-26T18:25:24.792Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-26T18:25:24.792Z] File successfully converted to sysstat format version 12.0.3 [2021-10-26T18:25:24.792Z] + sadf -c /var/log/sa-host/sa30 [2021-10-26T18:25:24.792Z] file_magic: OK [2021-10-26T18:25:24.792Z] HZ: Using current value: 100 [2021-10-26T18:25:24.792Z] file_header: OK [2021-10-26T18:25:24.792Z] 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-10-26T18:25:24.792Z] Statistics: [2021-10-26T18:25:24.792Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-26T18:25:24.792Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-26T18:25:24.870Z] provisioning config files... [2021-10-26T18:25:24.882Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config6135418435046416026tmp [Pipeline] { [Pipeline] echo [2021-10-26T18:25:24.898Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-26T18:25:25.183Z] ---> create-netrc.sh [Pipeline] } [2021-10-26T18:25:25.191Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-26T18:25:25.509Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-26T18:25:25.517Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-26T18:25:25.803Z] ---> sudo-logs.sh [2021-10-26T18:25:25.803Z] Archiving 'sudo' log.. [2021-10-26T18:25:25.803Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2077.novalocal: Name or service not known [2021-10-26T18:25:25.803Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2077.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-26T18:25:25.824Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-26T18:25:26.143Z] ---> job-cost.sh [2021-10-26T18:25:26.143Z] lf-activate-venv: SKIPPING [2021-10-26T18:25:26.143Z] DEBUG: total: 0.10999999940395355 [2021-10-26T18:25:26.143Z] INFO: Retrieving Stack Cost... [2021-10-26T18:25:26.401Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-26T18:25:26.660Z] INFO: Archiving Costs [Pipeline] echo [2021-10-26T18:25:26.671Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-26T18:25:26.959Z] ---> logs-deploy.sh [2021-10-26T18:25:26.959Z] lf-activate-venv: SKIPPING [2021-10-26T18:25:26.959Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/main/46 [2021-10-26T18:25:26.959Z] INFO: archiving workspace using pattern(s): [2021-10-26T18:25:27.528Z] Archives upload complete. [2021-10-26T18:25:27.789Z] INFO: archiving logs to Nexus