Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3697d040d6e871f9c915a9724719d570c095482d 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-ssh721443391690986233.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f1d79d91c36788821211008368c3015072ca53ca 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-ssh3899129817546753642.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 f1d79d91c36788821211008368c3015072ca53ca 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-ssh5704922808515330030.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f1d79d91c36788821211008368c3015072ca53ca (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f1d79d91c36788821211008368c3015072ca53ca # timeout=10 Commit message: "Merge pull request #358 from ernestojeda/update-get-head-tags" > 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-ssh7716295456777190099.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-ssh9174518821368297203.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 ‘prd-centos7-blackbox-4c-2g-223’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-centos7-docker-4c-2g-477’ is offline ‘prd-centos7-docker-4c-2g-700’ is offline ‘prd-centos7-docker-4c-2g-703’ is offline ‘prd-ubuntu18.04-docker-8c-8g-697’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-706 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-ssh5965217950834849979.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 3697d040d6e871f9c915a9724719d570c095482d (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 3697d040d6e871f9c915a9724719d570c095482d # timeout=10 Commit message: "fix(context): update AppFunctionContext mock (#966)" > git rev-list --no-walk 1d599202cd64a06a276f3b3191668ff2dfc96df6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-12T14:46:58.469Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-12T14:46:58.516Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-12T14:46:58.531Z] ========================================================= [2021-10-12T14:46:58.531Z] EdgeX Global Pipelines Version Info [2021-10-12T14:46:58.531Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-12T14:46:59.687Z] ------------------- [2021-10-12T14:46:59.687Z] stable info: [2021-10-12T14:46:59.687Z] ------------------- [2021-10-12T14:46:59.687Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-12T14:46:59.687Z] Commit SHA: f1d79d91c36788821211008368c3015072ca53ca [2021-10-12T14:46:59.687Z] Message: update stable to v1.0.209 [2021-10-12T14:47:00.262Z] ------------------- [2021-10-12T14:47:00.262Z] experimental info: [2021-10-12T14:47:00.262Z] ------------------- [2021-10-12T14:47:00.262Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-12T14:47:00.262Z] Commit SHA: f1d79d91c36788821211008368c3015072ca53ca [2021-10-12T14:47:00.262Z] Message: update experimental to v1.0.209 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-12T14:47:00.341Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-10-12T14:47:00.352Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-10-12T14:47:00.363Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-12T14:47:00.373Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-12T14:47:00.385Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-12T14:47:00.394Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-12T14:47:00.408Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-12T14:47:00.421Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-10-12T14:47:00.430Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-12T14:47:00.439Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-12T14:47:00.449Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-12T14:47:00.459Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2021-10-12T14:47:00.469Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-12T14:47:00.480Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-12T14:47:00.490Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-10-12T14:47:00.500Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-10-12T14:47:00.509Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-12T14:47:00.519Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-12T14:47:00.529Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-12T14:47:00.541Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-12T14:47:00.551Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-10-12T14:47:00.561Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-10-12T14:47:00.571Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-12T14:47:00.581Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-12T14:47:00.595Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-10-12T14:47:00.610Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-12T14:47:00.623Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-10-12T14:47:00.633Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-10-12T14:47:00.646Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-10-12T14:47:00.656Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3697d040d6e871f9c915a9724719d570c095482d [Pipeline] echo [2021-10-12T14:47:00.667Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3697d04 [Pipeline] echo [2021-10-12T14:47:00.677Z] [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-12T14:47:01.104Z] + git log --format=format:%s -1 3697d040d6e871f9c915a9724719d570c095482d [Pipeline] echo [2021-10-12T14:47:01.145Z] GIT_COMMIT: 3697d040d6e871f9c915a9724719d570c095482d, Commit Message: fix(context): update AppFunctionContext mock (#966) [Pipeline] echo [2021-10-12T14:47:01.155Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-12T14:47:01.581Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-12T14:47:01.581Z] [2021-10-12T14:47:01.581Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-12T14:47:01.911Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-12T14:47:01.911Z] latest: Pulling from edgex-devops/git-semver [2021-10-12T14:47:01.911Z] a0d0a0d46f8b: Pulling fs layer [2021-10-12T14:47:01.911Z] 3e5f54012d9b: Pulling fs layer [2021-10-12T14:47:01.911Z] 4c7163046ea9: Pulling fs layer [2021-10-12T14:47:01.911Z] 0c2d73faf560: Pulling fs layer [2021-10-12T14:47:01.911Z] 0c2d73faf560: Waiting [2021-10-12T14:47:01.911Z] 3e5f54012d9b: Verifying Checksum [2021-10-12T14:47:01.911Z] 3e5f54012d9b: Download complete [2021-10-12T14:47:01.911Z] a0d0a0d46f8b: Verifying Checksum [2021-10-12T14:47:01.911Z] a0d0a0d46f8b: Download complete [2021-10-12T14:47:02.181Z] 0c2d73faf560: Verifying Checksum [2021-10-12T14:47:02.181Z] 0c2d73faf560: Download complete [2021-10-12T14:47:02.181Z] 4c7163046ea9: Verifying Checksum [2021-10-12T14:47:02.181Z] 4c7163046ea9: Download complete [2021-10-12T14:47:02.181Z] a0d0a0d46f8b: Pull complete [2021-10-12T14:47:02.181Z] 3e5f54012d9b: Pull complete [2021-10-12T14:47:02.755Z] 4c7163046ea9: Pull complete [2021-10-12T14:47:02.755Z] 0c2d73faf560: Pull complete [2021-10-12T14:47:02.755Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-12T14:47:02.755Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-12T14:47:02.755Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-12T14:47:02.843Z] prd-centos7-docker-4c-2g-706 does not seem to be running inside a container [2021-10-12T14:47:02.794Z] $ 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-12T14:47:03.459Z] $ docker top fb1a473c7df475b2bb0d5c5149d5c568d880998bd3987db6e9ba668f30f81915 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-12T14:47:03.628Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-12T14:47:03.628Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-12T14:47:03.759Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-12T14:47:03.729Z] $ docker exec fb1a473c7df475b2bb0d5c5149d5c568d880998bd3987db6e9ba668f30f81915 ssh-agent [2021-10-12T14:47:03.906Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcHkbdA/agent.13 [2021-10-12T14:47:03.906Z] SSH_AGENT_PID=19 [2021-10-12T14:47:03.914Z] Running ssh-add (command line suppressed) [2021-10-12T14:47:03.995Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_6192081042583013023.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_6192081042583013023.key) [2021-10-12T14:47:04.026Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-12T14:47:04.324Z] + git tag --points-at HEAD [Pipeline] } [2021-10-12T14:47:04.338Z] $ docker exec --env ******** --env ******** fb1a473c7df475b2bb0d5c5149d5c568d880998bd3987db6e9ba668f30f81915 ssh-agent -k [2021-10-12T14:47:04.447Z] unset SSH_AUTH_SOCK; [2021-10-12T14:47:04.447Z] unset SSH_AGENT_PID; [2021-10-12T14:47:04.447Z] echo Agent pid 19 killed; [2021-10-12T14:47:04.460Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-12T14:47:04.486Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-12T14:47:04.486Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-12T14:47:04.597Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-12T14:47:04.599Z] $ docker exec fb1a473c7df475b2bb0d5c5149d5c568d880998bd3987db6e9ba668f30f81915 ssh-agent [2021-10-12T14:47:04.716Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJLeaIE/agent.54 [2021-10-12T14:47:04.716Z] SSH_AGENT_PID=61 [2021-10-12T14:47:04.721Z] Running ssh-add (command line suppressed) [2021-10-12T14:47:04.817Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7929942022630756864.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7929942022630756864.key) [2021-10-12T14:47:04.832Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-12T14:47:05.139Z] + git semver init [2021-10-12T14:47:05.139Z] # -> Open(): unable to determine branch for HEAD [2021-10-12T14:47:05.139Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2021-10-12T14:47:05.139Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2021-10-12T14:47:05.139Z] # $SEMVER_REMOTE_NAME = origin [2021-10-12T14:47:05.139Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-12T14:47:05.139Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-12T14:47:05.139Z] # $SEMVER_BRANCH = main [2021-10-12T14:47:05.139Z] # $SEMVER_TEMP = /tmp/semver-066256814 [2021-10-12T14:47:05.139Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-10-12T14:47:07.699Z] # '/tmp/semver-066256814' -> '/w/workspace/oundry_app-functions-sdk-go_main/.semver' [2021-10-12T14:47:07.699Z] # -> Force: false [2021-10-12T14:47:07.699Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [Pipeline] } [2021-10-12T14:47:07.707Z] $ docker exec --env ******** --env ******** fb1a473c7df475b2bb0d5c5149d5c568d880998bd3987db6e9ba668f30f81915 ssh-agent -k [2021-10-12T14:47:07.802Z] unset SSH_AUTH_SOCK; [2021-10-12T14:47:07.803Z] unset SSH_AGENT_PID; [2021-10-12T14:47:07.803Z] echo Agent pid 61 killed; [2021-10-12T14:47:07.811Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-12T14:47:08.145Z] + git semver [Pipeline] } [2021-10-12T14:47:08.157Z] $ docker stop --time=1 fb1a473c7df475b2bb0d5c5149d5c568d880998bd3987db6e9ba668f30f81915 [2021-10-12T14:47:09.477Z] $ docker rm -f fb1a473c7df475b2bb0d5c5149d5c568d880998bd3987db6e9ba668f30f81915 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-12T14:47:09.847Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-12T14:47:10.073Z] Stashed 1 file(s) [Pipeline] echo [2021-10-12T14:47:10.077Z] [edgeXSemver]: initialized semver on version 2.0.2-dev.23 [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-12T14:47:25.265Z] Still waiting to schedule task [2021-10-12T14:47:25.265Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-10-12T14:47:25.267Z] Still waiting to schedule task [2021-10-12T14:47:25.267Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-10-12T14:49:13.445Z] Running on prd-centos7-docker-4c-2g-712 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws [2021-10-12T14:49:13.452Z] Running in /w/workspace/app-functions-sdk-go/36 [Pipeline] { [Pipeline] checkout [2021-10-12T14:49:13.529Z] The recommended git tool is: git [2021-10-12T14:49:15.581Z] using credential edgex-jenkins-ssh [2021-10-12T14:49:15.592Z] Cloning the remote Git repository [2021-10-12T14:49:14.729Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-10-12T14:49:14.786Z] > git init /w/workspace/app-functions-sdk-go/36 # timeout=10 [2021-10-12T14:49:14.821Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-10-12T14:49:14.821Z] > git --version # timeout=10 [2021-10-12T14:49:14.829Z] > git --version # 'git version 2.24.4' [2021-10-12T14:49:14.829Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-12T14:49:14.854Z] [INFO] Currently running in a labeled security context [2021-10-12T14:49:14.854Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-12T14:49:14.854Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/36@tmp/jenkins-gitclient-ssh1096854435561167756.key [2021-10-12T14:49:14.873Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-12T14:49:17.053Z] Avoid second fetch [2021-10-12T14:49:17.053Z] Checking out Revision 3697d040d6e871f9c915a9724719d570c095482d (main) [2021-10-12T14:49:16.155Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-10-12T14:49:16.165Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-12T14:49:16.182Z] > git config core.sparsecheckout # timeout=10 [2021-10-12T14:49:16.190Z] > git checkout -f 3697d040d6e871f9c915a9724719d570c095482d # timeout=10 [2021-10-12T14:49:20.661Z] Commit message: "fix(context): update AppFunctionContext mock (#966)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2021-10-12T14:49:21.262Z] ========================================================= [2021-10-12T14:49:21.262Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-12T14:49:21.262Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-10-12T14:49:21.642Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-12T14:49:21.642Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-12T14:49:21.642Z] 4e9f2cdf4387: Pulling fs layer [2021-10-12T14:49:21.642Z] 57d31006c564: Pulling fs layer [2021-10-12T14:49:21.642Z] bd5ccded8296: Pulling fs layer [2021-10-12T14:49:21.642Z] 304dd3a0f381: Pulling fs layer [2021-10-12T14:49:21.642Z] d37cda54a23b: Pulling fs layer [2021-10-12T14:49:21.642Z] bae75c0f2455: Pulling fs layer [2021-10-12T14:49:21.642Z] 806579b3d29a: Pulling fs layer [2021-10-12T14:49:21.642Z] c77eb801bf70: Pulling fs layer [2021-10-12T14:49:21.642Z] 6d0567d44e1a: Pulling fs layer [2021-10-12T14:49:21.642Z] 304dd3a0f381: Waiting [2021-10-12T14:49:21.642Z] d37cda54a23b: Waiting [2021-10-12T14:49:21.642Z] bae75c0f2455: Waiting [2021-10-12T14:49:21.642Z] 806579b3d29a: Waiting [2021-10-12T14:49:21.642Z] c77eb801bf70: Waiting [2021-10-12T14:49:21.642Z] 6d0567d44e1a: Waiting [2021-10-12T14:49:21.642Z] bd5ccded8296: Verifying Checksum [2021-10-12T14:49:21.642Z] bd5ccded8296: Download complete [2021-10-12T14:49:21.642Z] 57d31006c564: Verifying Checksum [2021-10-12T14:49:21.642Z] 57d31006c564: Download complete [2021-10-12T14:49:21.642Z] d37cda54a23b: Verifying Checksum [2021-10-12T14:49:21.642Z] d37cda54a23b: Download complete [2021-10-12T14:49:21.903Z] bae75c0f2455: Verifying Checksum [2021-10-12T14:49:21.903Z] bae75c0f2455: Download complete [2021-10-12T14:49:21.903Z] 806579b3d29a: Verifying Checksum [2021-10-12T14:49:21.903Z] 806579b3d29a: Download complete [2021-10-12T14:49:21.903Z] 4e9f2cdf4387: Verifying Checksum [2021-10-12T14:49:21.903Z] 4e9f2cdf4387: Download complete [2021-10-12T14:49:21.903Z] c77eb801bf70: Verifying Checksum [2021-10-12T14:49:21.903Z] c77eb801bf70: Download complete [2021-10-12T14:49:22.170Z] 4e9f2cdf4387: Pull complete [2021-10-12T14:49:22.433Z] 304dd3a0f381: Verifying Checksum [2021-10-12T14:49:22.433Z] 304dd3a0f381: Download complete [2021-10-12T14:49:22.433Z] 6d0567d44e1a: Verifying Checksum [2021-10-12T14:49:22.433Z] 6d0567d44e1a: Download complete [2021-10-12T14:49:22.433Z] 57d31006c564: Pull complete [2021-10-12T14:49:22.433Z] bd5ccded8296: Pull complete [2021-10-12T14:49:26.674Z] 304dd3a0f381: Pull complete [2021-10-12T14:49:26.674Z] d37cda54a23b: Pull complete [2021-10-12T14:49:26.674Z] bae75c0f2455: Pull complete [2021-10-12T14:49:26.674Z] 806579b3d29a: Pull complete [2021-10-12T14:49:26.674Z] c77eb801bf70: Pull complete [2021-10-12T14:49:28.622Z] 6d0567d44e1a: Pull complete [2021-10-12T14:49:28.622Z] Digest: sha256:53f76eca38b35ad9f985c2fb57ce55683e6a223a937aed0adb215e74043799cd [2021-10-12T14:49:28.622Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-12T14:49:28.622Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh [2021-10-12T14:49:28.946Z] + 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-12T14:49:29.248Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-12T14:49:29.248Z] . [Pipeline] withDockerContainer [2021-10-12T14:49:29.323Z] prd-centos7-docker-4c-2g-712 does not seem to be running inside a container [2021-10-12T14:49:29.101Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/36 -v /w/workspace/app-functions-sdk-go/36:/w/workspace/app-functions-sdk-go/36:rw,z -v /w/workspace/app-functions-sdk-go/36@tmp:/w/workspace/app-functions-sdk-go/36@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-12T14:49:31.467Z] $ docker top 71f0448415c91a1d714e5cb80180b81b0efa215beb986f49e035382947784259 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-12T14:49:31.919Z] + go version [2021-10-12T14:49:31.919Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-12T14:49:31.889Z] $ docker stop --time=1 71f0448415c91a1d714e5cb80180b81b0efa215beb986f49e035382947784259 [2021-10-12T14:49:33.079Z] $ docker rm -f 71f0448415c91a1d714e5cb80180b81b0efa215beb986f49e035382947784259 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-12T14:49:33.584Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-12T14:49:33.585Z] . [Pipeline] withDockerContainer [2021-10-12T14:49:33.658Z] prd-centos7-docker-4c-2g-712 does not seem to be running inside a container [2021-10-12T14:49:33.705Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/36 -v /w/workspace/app-functions-sdk-go/36:/w/workspace/app-functions-sdk-go/36:rw,z -v /w/workspace/app-functions-sdk-go/36@tmp:/w/workspace/app-functions-sdk-go/36@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-12T14:49:34.084Z] $ docker top a55cc1c93b35076e906ccfdd6a655e5156340d68894ef9a16b36890b6644995a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-12T14:49:34.439Z] + make test [2021-10-12T14:49:34.440Z] make -C ./app-service-template build [2021-10-12T14:49:34.440Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/36/app-service-template' [2021-10-12T14:49:34.440Z] 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-12T14:49:34.701Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 [2021-10-12T14:49:34.701Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 [2021-10-12T14:49:34.701Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 [2021-10-12T14:49:34.701Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 [2021-10-12T14:49:34.969Z] go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2021-10-12T14:49:34.969Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-10-12T14:49:34.969Z] go: downloading github.com/go-kit/kit v0.9.0 [2021-10-12T14:49:34.969Z] go: downloading github.com/google/uuid v1.3.0 [2021-10-12T14:49:34.969Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-10-12T14:49:34.969Z] go: downloading github.com/go-playground/validator/v10 v10.6.1 [2021-10-12T14:49:34.969Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2021-10-12T14:49:34.969Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-10-12T14:49:34.969Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2021-10-12T14:49:34.969Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 [2021-10-12T14:49:34.969Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 [2021-10-12T14:49:35.232Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-10-12T14:49:35.232Z] go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 [2021-10-12T14:49:35.232Z] go: downloading github.com/pelletier/go-toml v1.9.2 [2021-10-12T14:49:35.232Z] go: downloading github.com/hashicorp/consul/api v1.8.1 [2021-10-12T14:49:35.232Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-10-12T14:49:35.232Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2021-10-12T14:49:35.232Z] go: downloading github.com/x448/float16 v0.8.4 [2021-10-12T14:49:35.232Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2021-10-12T14:49:35.232Z] go: downloading github.com/leodido/go-urn v1.2.0 [2021-10-12T14:49:35.497Z] go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 [2021-10-12T14:49:35.497Z] go: downloading golang.org/x/text v0.3.2 [2021-10-12T14:49:35.497Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-10-12T14:49:35.497Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-10-12T14:49:35.498Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-10-12T14:49:35.498Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-10-12T14:49:35.788Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-10-12T14:49:35.788Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-10-12T14:49:35.788Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-10-12T14:49:35.788Z] go: downloading github.com/go-playground/locales v0.13.0 [2021-10-12T14:49:36.369Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-10-12T14:49:36.369Z] go: downloading github.com/fatih/color v1.9.0 [2021-10-12T14:49:36.369Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-10-12T14:49:36.369Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-10-12T14:49:36.369Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2021-10-12T14:49:36.369Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-10-12T14:49:36.369Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-10-12T14:49:36.369Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-10-12T14:49:36.369Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-10-12T14:49:36.369Z] go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd [2021-10-12T14:49:36.631Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-10-12T14:49:36.632Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-10-12T14:49:46.698Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/36/app-service-template' [2021-10-12T14:49:46.698Z] make -C ./app-service-template test [2021-10-12T14:49:46.698Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/36/app-service-template' [2021-10-12T14:49:46.698Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-10-12T14:49:46.698Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-10-12T14:49:46.974Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-10-12T14:49:46.974Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-10-12T14:49:46.974Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2021-10-12T14:49:46.974Z] go: downloading github.com/stretchr/objx v0.1.0 [2021-10-12T14:49:55.193Z] ok new-app-service 0.014s coverage: 48.1% of statements [2021-10-12T14:49:55.193Z] ? new-app-service/config [no test files] [2021-10-12T14:49:55.460Z] ok new-app-service/functions 0.007s [2021-10-12T14:49:55.460Z] CGO_ENABLED=1 go vet ./... [2021-10-12T14:50:03.667Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-12T14:50:03.667Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-12T14:50:03.667Z] ./bin/test-attribution-txt.sh [2021-10-12T14:50:03.667Z] go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2021-10-12T14:50:03.667Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-10-12T14:50:03.667Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/36/app-service-template' [2021-10-12T14:50:03.667Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-10-12T14:50:03.667Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-10-12T14:50:04.625Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.016s coverage: 67.5% of statements [2021-10-12T14:50:04.625Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app/mocks [no test files] [2021-10-12T14:50:04.891Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.014s coverage: 93.7% of statements [2021-10-12T14:50:04.891Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-10-12T14:50:05.156Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.010s coverage: 61.8% of statements [2021-10-12T14:50:05.156Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-10-12T14:50:05.422Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.007s [2021-10-12T14:50:06.013Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.041s coverage: 75.7% of statements [2021-10-12T14:50:06.013Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-10-12T14:50:06.013Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-10-12T14:50:06.013Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-10-12T14:50:06.013Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-10-12T14:50:06.013Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-10-12T14:50:06.013Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-10-12T14:50:06.013Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.014s coverage: 97.3% of statements [2021-10-12T14:50:06.013Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-10-12T14:50:06.279Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.005s coverage: 10.5% of statements [2021-10-12T14:50:10.505Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.064s coverage: 77.0% of statements [2021-10-12T14:50:10.505Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-10-12T14:50:10.505Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.007s coverage: 12.5% of statements [2021-10-12T14:50:10.505Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.007s coverage: 27.3% of statements [2021-10-12T14:50:10.505Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-10-12T14:50:10.505Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-10-12T14:50:10.505Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.009s coverage: 51.4% of statements [2021-10-12T14:50:37.095Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.024s coverage: 77.3% of statements [2021-10-12T14:50:37.095Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.006s coverage: 94.4% of statements [2021-10-12T14:50:37.095Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-10-12T14:50:37.095Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-12T14:50:37.095Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] } [2021-10-12T14:50:37.106Z] $ docker stop --time=1 a55cc1c93b35076e906ccfdd6a655e5156340d68894ef9a16b36890b6644995a [2021-10-12T14:50:38.359Z] $ docker rm -f a55cc1c93b35076e906ccfdd6a655e5156340d68894ef9a16b36890b6644995a [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-12T14:50:38.952Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-12T14:50:39.141Z] 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-12T14:50:39.989Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-12T14:50:39.989Z] [2021-10-12T14:50:39.989Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-12T14:50:40.300Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-12T14:50:40.300Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-12T14:50:40.300Z] b4d181a07f80: Pulling fs layer [2021-10-12T14:50:40.300Z] a1111a8f2ec3: Pulling fs layer [2021-10-12T14:50:40.300Z] ed53099fbce6: Pulling fs layer [2021-10-12T14:50:40.300Z] dc539afda2c1: Pulling fs layer [2021-10-12T14:50:40.300Z] 77bc0d833cb6: Pulling fs layer [2021-10-12T14:50:40.300Z] 9065ff56babe: Pulling fs layer [2021-10-12T14:50:40.300Z] d287ab97295c: Pulling fs layer [2021-10-12T14:50:40.300Z] dc539afda2c1: Waiting [2021-10-12T14:50:40.300Z] 77bc0d833cb6: Waiting [2021-10-12T14:50:40.300Z] 9065ff56babe: Waiting [2021-10-12T14:50:40.300Z] d287ab97295c: Waiting [2021-10-12T14:50:40.300Z] a1111a8f2ec3: Verifying Checksum [2021-10-12T14:50:40.300Z] a1111a8f2ec3: Download complete [2021-10-12T14:50:40.300Z] dc539afda2c1: Verifying Checksum [2021-10-12T14:50:40.300Z] dc539afda2c1: Download complete [2021-10-12T14:50:40.300Z] 77bc0d833cb6: Verifying Checksum [2021-10-12T14:50:40.300Z] 77bc0d833cb6: Download complete [2021-10-12T14:50:40.565Z] ed53099fbce6: Verifying Checksum [2021-10-12T14:50:40.565Z] ed53099fbce6: Download complete [2021-10-12T14:50:40.565Z] 9065ff56babe: Verifying Checksum [2021-10-12T14:50:40.565Z] 9065ff56babe: Download complete [2021-10-12T14:50:40.565Z] b4d181a07f80: Verifying Checksum [2021-10-12T14:50:40.565Z] b4d181a07f80: Download complete [2021-10-12T14:50:41.153Z] d287ab97295c: Verifying Checksum [2021-10-12T14:50:41.153Z] d287ab97295c: Download complete [2021-10-12T14:50:41.743Z] b4d181a07f80: Pull complete [2021-10-12T14:50:42.015Z] a1111a8f2ec3: Pull complete [2021-10-12T14:50:42.599Z] ed53099fbce6: Pull complete [2021-10-12T14:50:42.599Z] dc539afda2c1: Pull complete [2021-10-12T14:50:42.870Z] 77bc0d833cb6: Pull complete [2021-10-12T14:50:42.870Z] 9065ff56babe: Pull complete [2021-10-12T14:50:48.188Z] d287ab97295c: Pull complete [2021-10-12T14:50:48.188Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-12T14:50:48.188Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-12T14:50:48.188Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-12T14:50:48.257Z] prd-centos7-docker-4c-2g-712 does not seem to be running inside a container [2021-10-12T14:50:48.294Z] $ 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/36 -v /w/workspace/app-functions-sdk-go/36:/w/workspace/app-functions-sdk-go/36:rw,z -v /w/workspace/app-functions-sdk-go/36@tmp:/w/workspace/app-functions-sdk-go/36@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-12T14:50:50.490Z] $ docker top 4beccf77f4976db9637ccb5b614c26131e807e04dd39258265d8f57f032a82d6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-12T14:50:50.916Z] ---> job-cost.sh [2021-10-12T14:50:50.916Z] lf-activate-venv: SKIPPING [2021-10-12T14:50:50.916Z] INFO: No Stack... [2021-10-12T14:51:03.152Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-713 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws [2021-10-12T14:51:03.164Z] Running in /w/workspace/app-functions-sdk-go/36 [Pipeline] { [Pipeline] checkout [2021-10-12T14:51:03.479Z] The recommended git tool is: git [2021-10-12T14:51:09.049Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-12T14:51:09.049Z] INFO: Archiving Costs [Pipeline] sh [2021-10-12T14:51:09.356Z] + cat /w/workspace/app-functions-sdk-go/36/archives/cost.csv [2021-10-12T14:51:09.356Z] + cut -d, -f6 [Pipeline] lock [2021-10-12T14:51:09.387Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-36-stack-cost] [2021-10-12T14:51:09.398Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-36-stack-cost] did not exist. Created. [2021-10-12T14:51:09.398Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-36-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-12T14:51:09.709Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-12T14:51:09.752Z] Stashed 1 file(s) [Pipeline] } [2021-10-12T14:51:09.759Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-36-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-12T14:51:09.775Z] $ docker stop --time=1 4beccf77f4976db9637ccb5b614c26131e807e04dd39258265d8f57f032a82d6 [2021-10-12T14:51:09.971Z] using credential edgex-jenkins-ssh [2021-10-12T14:51:09.993Z] Cloning the remote Git repository [2021-10-12T14:51:10.920Z] $ docker rm -f 4beccf77f4976db9637ccb5b614c26131e807e04dd39258265d8f57f032a82d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [2021-10-12T14:51:10.060Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-10-12T14:51:10.174Z] > git init /w/workspace/app-functions-sdk-go/36 # timeout=10 [2021-10-12T14:51:10.268Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-10-12T14:51:10.269Z] > git --version # timeout=10 [2021-10-12T14:51:10.287Z] > git --version # 'git version 2.17.1' [2021-10-12T14:51:10.289Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-12T14:51:10.425Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] // stage [Pipeline] } [2021-10-12T14:51:14.060Z] Avoid second fetch [2021-10-12T14:51:14.060Z] Checking out Revision 3697d040d6e871f9c915a9724719d570c095482d (main) [2021-10-12T14:51:14.019Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-10-12T14:51:14.041Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-12T14:51:14.081Z] > git config core.sparsecheckout # timeout=10 [2021-10-12T14:51:14.095Z] > git checkout -f 3697d040d6e871f9c915a9724719d570c095482d # timeout=10 [2021-10-12T14:51:18.608Z] Commit message: "fix(context): update AppFunctionContext mock (#966)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2021-10-12T14:51:19.462Z] ========================================================= [2021-10-12T14:51:19.462Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-12T14:51:19.462Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-10-12T14:51:20.048Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-12T14:51:21.509Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-12T14:51:21.509Z] bbf911997326: Pulling fs layer [2021-10-12T14:51:21.509Z] 58ec367f63d7: Pulling fs layer [2021-10-12T14:51:21.509Z] 1b4a6ffa7d45: Pulling fs layer [2021-10-12T14:51:21.509Z] fc5181fea5dc: Pulling fs layer [2021-10-12T14:51:21.509Z] 9c418107303f: Pulling fs layer [2021-10-12T14:51:21.509Z] 284eca6f2348: Pulling fs layer [2021-10-12T14:51:21.509Z] 842844d905b1: Pulling fs layer [2021-10-12T14:51:21.509Z] 901a3a57568e: Pulling fs layer [2021-10-12T14:51:21.509Z] fc5181fea5dc: Waiting [2021-10-12T14:51:21.509Z] 9c418107303f: Waiting [2021-10-12T14:51:21.509Z] 284eca6f2348: Waiting [2021-10-12T14:51:21.509Z] 842844d905b1: Waiting [2021-10-12T14:51:21.509Z] 901a3a57568e: Waiting [2021-10-12T14:51:21.509Z] 1b4a6ffa7d45: Verifying Checksum [2021-10-12T14:51:21.509Z] 1b4a6ffa7d45: Download complete [2021-10-12T14:51:21.509Z] 58ec367f63d7: Verifying Checksum [2021-10-12T14:51:21.509Z] 58ec367f63d7: Download complete [2021-10-12T14:51:21.509Z] 9c418107303f: Verifying Checksum [2021-10-12T14:51:21.509Z] 9c418107303f: Download complete [2021-10-12T14:51:21.509Z] 284eca6f2348: Verifying Checksum [2021-10-12T14:51:21.509Z] 284eca6f2348: Download complete [2021-10-12T14:51:21.795Z] 842844d905b1: Verifying Checksum [2021-10-12T14:51:21.795Z] 842844d905b1: Download complete [2021-10-12T14:51:21.795Z] bbf911997326: Verifying Checksum [2021-10-12T14:51:21.795Z] bbf911997326: Download complete [2021-10-12T14:51:22.808Z] bbf911997326: Pull complete [2021-10-12T14:51:23.425Z] 58ec367f63d7: Pull complete [2021-10-12T14:51:23.706Z] 1b4a6ffa7d45: Pull complete [2021-10-12T14:51:23.706Z] 901a3a57568e: Verifying Checksum [2021-10-12T14:51:23.706Z] 901a3a57568e: Download complete [2021-10-12T14:51:24.322Z] fc5181fea5dc: Verifying Checksum [2021-10-12T14:51:24.322Z] fc5181fea5dc: Download complete [2021-10-12T14:51:34.742Z] fc5181fea5dc: Pull complete [2021-10-12T14:51:35.023Z] 9c418107303f: Pull complete [2021-10-12T14:51:35.305Z] 284eca6f2348: Pull complete [2021-10-12T14:51:35.917Z] 842844d905b1: Pull complete [2021-10-12T14:51:41.390Z] 901a3a57568e: Pull complete [2021-10-12T14:51:41.390Z] Digest: sha256:92108203400274521d8db92c8dd03fc26ad1e7e27843eaecabaf975bf4a1b1e7 [2021-10-12T14:51:41.390Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-12T14:51:41.390Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh [2021-10-12T14:51:41.813Z] + 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-12T14:51:42.183Z] + docker inspect -f . ci-base-image-arm64 [2021-10-12T14:51:42.183Z] . [Pipeline] withDockerContainer [2021-10-12T14:51:42.427Z] prd-ubuntu18.04-docker-arm64-4c-16g-713 does not seem to be running inside a container [2021-10-12T14:51:42.541Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/36 -v /w/workspace/app-functions-sdk-go/36:/w/workspace/app-functions-sdk-go/36:rw,z -v /w/workspace/app-functions-sdk-go/36@tmp:/w/workspace/app-functions-sdk-go/36@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-12T14:51:48.906Z] $ docker top dcb92eb802c22a39464e5d36141d6c00c17dd6f7e10873a3f08df0637cee2ee1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-12T14:51:49.901Z] + go version [2021-10-12T14:51:49.901Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-12T14:51:49.929Z] $ docker stop --time=1 dcb92eb802c22a39464e5d36141d6c00c17dd6f7e10873a3f08df0637cee2ee1 [2021-10-12T14:51:51.722Z] $ docker rm -f dcb92eb802c22a39464e5d36141d6c00c17dd6f7e10873a3f08df0637cee2ee1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-12T14:51:52.518Z] + docker inspect -f . ci-base-image-arm64 [2021-10-12T14:51:52.518Z] . [Pipeline] withDockerContainer [2021-10-12T14:51:52.759Z] prd-ubuntu18.04-docker-arm64-4c-16g-713 does not seem to be running inside a container [2021-10-12T14:51:52.861Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/36 -v /w/workspace/app-functions-sdk-go/36:/w/workspace/app-functions-sdk-go/36:rw,z -v /w/workspace/app-functions-sdk-go/36@tmp:/w/workspace/app-functions-sdk-go/36@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-12T14:51:54.527Z] $ docker top a83eed6be095816fa54eb542b9c91fc06cc0d63c8108f76b64fcc1ee75d2cac9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-12T14:51:55.508Z] + make test [2021-10-12T14:51:55.508Z] make -C ./app-service-template build [2021-10-12T14:51:55.508Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/36/app-service-template' [2021-10-12T14:51:55.508Z] 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-12T14:51:56.508Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 [2021-10-12T14:51:56.508Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 [2021-10-12T14:51:56.792Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 [2021-10-12T14:51:56.792Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 [2021-10-12T14:51:56.792Z] go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2021-10-12T14:51:56.792Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-10-12T14:51:56.792Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-10-12T14:51:56.792Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2021-10-12T14:51:57.069Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 [2021-10-12T14:51:57.069Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 [2021-10-12T14:51:57.069Z] go: downloading github.com/go-kit/kit v0.9.0 [2021-10-12T14:51:57.069Z] go: downloading github.com/google/uuid v1.3.0 [2021-10-12T14:51:57.069Z] go: downloading github.com/go-playground/validator/v10 v10.6.1 [2021-10-12T14:51:57.069Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2021-10-12T14:51:57.069Z] go: downloading github.com/pelletier/go-toml v1.9.2 [2021-10-12T14:51:57.352Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-10-12T14:51:57.352Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-10-12T14:51:57.352Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-10-12T14:51:57.636Z] go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 [2021-10-12T14:51:57.636Z] go: downloading github.com/hashicorp/consul/api v1.8.1 [2021-10-12T14:51:57.636Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-10-12T14:51:57.636Z] go: downloading github.com/x448/float16 v0.8.4 [2021-10-12T14:51:57.636Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2021-10-12T14:51:57.636Z] go: downloading github.com/leodido/go-urn v1.2.0 [2021-10-12T14:51:57.925Z] go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 [2021-10-12T14:51:57.925Z] go: downloading golang.org/x/text v0.3.2 [2021-10-12T14:51:58.202Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-10-12T14:51:58.202Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-10-12T14:51:58.484Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2021-10-12T14:51:58.484Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2021-10-12T14:51:58.484Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-10-12T14:51:58.765Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-10-12T14:51:58.765Z] go: downloading github.com/go-playground/locales v0.13.0 [2021-10-12T14:51:58.765Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-10-12T14:51:58.765Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-10-12T14:51:58.765Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-10-12T14:51:58.765Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-10-12T14:51:59.044Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-10-12T14:51:59.044Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-10-12T14:51:59.044Z] go: downloading github.com/fatih/color v1.9.0 [2021-10-12T14:51:59.044Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-10-12T14:51:59.044Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-10-12T14:51:59.322Z] go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd [2021-10-12T14:51:59.322Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-10-12T14:51:59.322Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-10-12T14:51:59.322Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-10-12T14:52:38.735Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/36/app-service-template' [2021-10-12T14:52:38.735Z] make -C ./app-service-template test [2021-10-12T14:52:38.735Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/36/app-service-template' [2021-10-12T14:52:38.735Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-10-12T14:52:38.735Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-10-12T14:52:38.735Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-10-12T14:52:38.735Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-10-12T14:52:38.735Z] go: downloading github.com/stretchr/objx v0.1.0 [2021-10-12T14:52:38.735Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2021-10-12T14:53:11.190Z] ok new-app-service 0.044s coverage: 48.1% of statements [2021-10-12T14:53:11.190Z] ? new-app-service/config [no test files] [2021-10-12T14:53:11.190Z] ok new-app-service/functions 0.037s [2021-10-12T14:53:11.190Z] CGO_ENABLED=1 go vet ./... [2021-10-12T14:53:38.055Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-12T14:53:38.055Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-12T14:53:38.055Z] ./bin/test-attribution-txt.sh [2021-10-12T14:53:38.055Z] go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2021-10-12T14:53:38.055Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-10-12T14:53:38.055Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/36/app-service-template' [2021-10-12T14:53:38.055Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-10-12T14:53:38.055Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-10-12T14:53:46.431Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.195s coverage: 67.5% of statements [2021-10-12T14:53:46.431Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app/mocks [no test files] [2021-10-12T14:53:46.431Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.118s coverage: 93.7% of statements [2021-10-12T14:53:46.431Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-10-12T14:53:46.431Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.071s coverage: 61.8% of statements [2021-10-12T14:53:46.431Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-10-12T14:53:46.431Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.035s [2021-10-12T14:53:46.715Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.124s coverage: 75.7% of statements [2021-10-12T14:53:46.715Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-10-12T14:53:46.715Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-10-12T14:53:46.715Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-10-12T14:53:46.715Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-10-12T14:53:46.715Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-10-12T14:53:46.715Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-10-12T14:53:46.715Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.046s coverage: 97.3% of statements [2021-10-12T14:53:46.715Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-10-12T14:53:46.715Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.136s coverage: 10.5% of statements [2021-10-12T14:53:55.068Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.158s coverage: 77.0% of statements [2021-10-12T14:53:55.068Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-10-12T14:53:55.068Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.035s coverage: 12.5% of statements [2021-10-12T14:53:55.068Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.088s coverage: 27.3% of statements [2021-10-12T14:53:55.068Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-10-12T14:53:55.068Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-10-12T14:53:55.068Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.039s coverage: 51.4% of statements [2021-10-12T14:54:21.955Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.110s coverage: 77.3% of statements [2021-10-12T14:54:21.955Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.032s coverage: 94.4% of statements [2021-10-12T14:54:21.955Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-10-12T14:54:23.426Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-12T14:54:24.028Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] } [2021-10-12T14:54:24.648Z] $ docker stop --time=1 a83eed6be095816fa54eb542b9c91fc06cc0d63c8108f76b64fcc1ee75d2cac9 [2021-10-12T14:54:26.724Z] $ docker rm -f a83eed6be095816fa54eb542b9c91fc06cc0d63c8108f76b64fcc1ee75d2cac9 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-12T14:54:28.967Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-12T14:54:28.992Z] Warning: overwriting stash ‘coverage-report’ [2021-10-12T14:54:29.714Z] 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-12T14:54:30.422Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-12T14:54:30.700Z] [2021-10-12T14:54:30.700Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-12T14:54:31.073Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-12T14:54:31.356Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-12T14:54:31.356Z] 448f6bf000e3: Pulling fs layer [2021-10-12T14:54:31.356Z] f757da607395: Pulling fs layer [2021-10-12T14:54:31.356Z] 05883995daec: Pulling fs layer [2021-10-12T14:54:31.356Z] 8603b9c90790: Pulling fs layer [2021-10-12T14:54:31.356Z] 1560dd03e051: Pulling fs layer [2021-10-12T14:54:31.356Z] 27f5ce0e4adf: Pulling fs layer [2021-10-12T14:54:31.356Z] c2d8d7efcc4b: Pulling fs layer [2021-10-12T14:54:31.356Z] 8603b9c90790: Waiting [2021-10-12T14:54:31.356Z] 1560dd03e051: Waiting [2021-10-12T14:54:31.356Z] 27f5ce0e4adf: Waiting [2021-10-12T14:54:31.356Z] c2d8d7efcc4b: Waiting [2021-10-12T14:54:31.642Z] f757da607395: Verifying Checksum [2021-10-12T14:54:31.642Z] f757da607395: Download complete [2021-10-12T14:54:31.642Z] 8603b9c90790: Verifying Checksum [2021-10-12T14:54:31.642Z] 8603b9c90790: Download complete [2021-10-12T14:54:31.642Z] 1560dd03e051: Verifying Checksum [2021-10-12T14:54:31.642Z] 1560dd03e051: Download complete [2021-10-12T14:54:31.923Z] 27f5ce0e4adf: Verifying Checksum [2021-10-12T14:54:31.923Z] 27f5ce0e4adf: Download complete [2021-10-12T14:54:31.923Z] 05883995daec: Verifying Checksum [2021-10-12T14:54:31.923Z] 05883995daec: Download complete [2021-10-12T14:54:32.202Z] 448f6bf000e3: Verifying Checksum [2021-10-12T14:54:32.202Z] 448f6bf000e3: Download complete [2021-10-12T14:54:34.858Z] c2d8d7efcc4b: Verifying Checksum [2021-10-12T14:54:34.858Z] c2d8d7efcc4b: Download complete [2021-10-12T14:54:35.851Z] 448f6bf000e3: Pull complete [2021-10-12T14:54:36.461Z] f757da607395: Pull complete [2021-10-12T14:54:38.478Z] 05883995daec: Pull complete [2021-10-12T14:54:38.478Z] 8603b9c90790: Pull complete [2021-10-12T14:54:39.473Z] 1560dd03e051: Pull complete [2021-10-12T14:54:39.752Z] 27f5ce0e4adf: Pull complete [2021-10-12T14:54:54.950Z] c2d8d7efcc4b: Pull complete [2021-10-12T14:54:55.227Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-12T14:54:55.228Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-12T14:54:55.228Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-12T14:54:55.509Z] prd-ubuntu18.04-docker-arm64-4c-16g-713 does not seem to be running inside a container [2021-10-12T14:54:55.615Z] $ 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/36 -v /w/workspace/app-functions-sdk-go/36:/w/workspace/app-functions-sdk-go/36:rw,z -v /w/workspace/app-functions-sdk-go/36@tmp:/w/workspace/app-functions-sdk-go/36@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-12T14:54:57.904Z] $ docker top 2dba0b52ee210c7fc4c6490e3cf6420c849a08955c85846ada9688493ed2e756 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-12T14:54:58.962Z] ---> job-cost.sh [2021-10-12T14:54:58.963Z] lf-activate-venv: SKIPPING [2021-10-12T14:54:58.963Z] INFO: No Stack... [2021-10-12T14:54:59.245Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-12T14:54:59.850Z] INFO: Archiving Costs [Pipeline] sh [2021-10-12T14:55:00.539Z] + cut -d, -f6 [2021-10-12T14:55:00.539Z] + cat /w/workspace/app-functions-sdk-go/36/archives/cost.csv [Pipeline] lock [2021-10-12T14:55:00.612Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-36-stack-cost] [2021-10-12T14:55:00.617Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-36-stack-cost] did not exist. Created. [2021-10-12T14:55:00.617Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-36-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-12T14:55:01.313Z] /w/workspace/app-functions-sdk-go/36@tmp/durable-66cde905/script.sh: 1: /w/workspace/app-functions-sdk-go/36@tmp/durable-66cde905/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-12T14:55:02.012Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-12T14:55:02.041Z] Warning: overwriting stash ‘stack-cost’ [2021-10-12T14:55:02.110Z] Stashed 1 file(s) [Pipeline] } [2021-10-12T14:55:02.118Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-36-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-12T14:55:02.131Z] $ docker stop --time=1 2dba0b52ee210c7fc4c6490e3cf6420c849a08955c85846ada9688493ed2e756 [2021-10-12T14:55:03.863Z] $ docker rm -f 2dba0b52ee210c7fc4c6490e3cf6420c849a08955c85846ada9688493ed2e756 [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-12T14:55:04.633Z] provisioning config files... [2021-10-12T14:55:04.646Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config5691283308635200769tmp [Pipeline] { [Pipeline] sh [2021-10-12T14:55:04.962Z] + set +x [2021-10-12T14:55:04.962Z] + curl -s https://codecov.io/bash [2021-10-12T14:55:04.962Z] + bash -s -- [2021-10-12T14:55:04.962Z] [2021-10-12T14:55:04.962Z] _____ _ [2021-10-12T14:55:04.962Z] / ____| | | [2021-10-12T14:55:04.962Z] | | ___ __| | ___ ___ _____ __ [2021-10-12T14:55:04.962Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-10-12T14:55:04.962Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-10-12T14:55:04.962Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-10-12T14:55:04.962Z] Bash-1.0.6 [2021-10-12T14:55:04.962Z] [2021-10-12T14:55:04.962Z] [2021-10-12T14:55:04.962Z] ==> git version 2.24.4 found [2021-10-12T14:55:04.962Z] ==> 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-12T14:55:04.962Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-10-12T14:55:04.962Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-10-12T14:55:04.962Z] ==> Jenkins CI detected. [2021-10-12T14:55:04.962Z] current dir:  /w/workspace/oundry_app-functions-sdk-go_main [2021-10-12T14:55:04.962Z] project root: . [2021-10-12T14:55:04.962Z] --> token set from env [2021-10-12T14:55:04.962Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-10-12T14:55:04.962Z] ==> Running gcov in . (disable via -X gcov) [2021-10-12T14:55:04.962Z] ==> Python coveragepy not found [2021-10-12T14:55:04.962Z] ==> Searching for coverage reports in: [2021-10-12T14:55:04.962Z] + . [2021-10-12T14:55:04.962Z] -> Found 2 reports [2021-10-12T14:55:04.962Z] ==> Detecting git/mercurial file structure [2021-10-12T14:55:05.228Z] ==> Reading reports [2021-10-12T14:55:05.228Z] + ./app-service-template/coverage.out bytes=1219 [2021-10-12T14:55:05.228Z] + ./coverage.out bytes=101380 [2021-10-12T14:55:05.228Z] ==> Appending adjustments [2021-10-12T14:55:05.228Z] https://docs.codecov.io/docs/fixing-reports [2021-10-12T14:55:05.505Z] + Found adjustments [2021-10-12T14:55:05.505Z] ==> Gzipping contents [2021-10-12T14:55:05.505Z] 20K /tmp/codecov.GMuq9x.gz [2021-10-12T14:55:05.505Z] ==> Uploading reports [2021-10-12T14:55:05.505Z] url: https://codecov.io [2021-10-12T14:55:05.505Z] query: branch=main&commit=3697d040d6e871f9c915a9724719d570c095482d&build=36&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F36%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-10-12T14:55:05.505Z] -> Pinging Codecov [2021-10-12T14:55:05.505Z] 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=3697d040d6e871f9c915a9724719d570c095482d&build=36&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F36%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-10-12T14:55:06.076Z] -> Uploading to [2021-10-12T14:55:06.076Z] https://storage.googleapis.com/codecov/v4/raw/2021-10-12/3D8B5DFFC46A037C893635FACE044666/3697d040d6e871f9c915a9724719d570c095482d/a22e3041-fa7c-4d82-b413-5699a7c652db.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211012%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211012T145505Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=146cc62172f38f85103e098834032daa3899531ee9b043197b01df4a6d5a41b3 [2021-10-12T14:55:06.076Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-12T14:55:06.076Z] Dload Upload Total Spent Left Speed [2021-10-12T14:55:06.337Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17694 0 0 100 17694 0 59753 --:--:-- --:--:-- --:--:-- 59979 [2021-10-12T14:55:06.337Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/3697d040d6e871f9c915a9724719d570c095482d [Pipeline] } [2021-10-12T14:55:06.344Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-10-12T14:55:06.561Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-10-12T14:55:06.572Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-12T14:55:06.879Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-12T14:55:06.879Z] [2021-10-12T14:55:06.879Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-10-12T14:55:07.187Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-12T14:55:07.187Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-10-12T14:55:07.187Z] 188c0c94c7c5: Pulling fs layer [2021-10-12T14:55:07.187Z] 0ef7d3d256c8: Pulling fs layer [2021-10-12T14:55:07.187Z] de9db76c5a1d: Pulling fs layer [2021-10-12T14:55:07.187Z] 0eba1c9be4d2: Pulling fs layer [2021-10-12T14:55:07.187Z] 0d57e429df01: Pulling fs layer [2021-10-12T14:55:07.187Z] 4e4be7b47b0d: Pulling fs layer [2021-10-12T14:55:07.187Z] e1f770b5df2f: Pulling fs layer [2021-10-12T14:55:07.187Z] 85a0685a4137: Pulling fs layer [2021-10-12T14:55:07.187Z] 0eba1c9be4d2: Waiting [2021-10-12T14:55:07.187Z] 0d57e429df01: Waiting [2021-10-12T14:55:07.187Z] 4e4be7b47b0d: Waiting [2021-10-12T14:55:07.187Z] e1f770b5df2f: Waiting [2021-10-12T14:55:07.187Z] 85a0685a4137: Waiting [2021-10-12T14:55:07.187Z] de9db76c5a1d: Verifying Checksum [2021-10-12T14:55:07.187Z] de9db76c5a1d: Download complete [2021-10-12T14:55:07.187Z] 0ef7d3d256c8: Verifying Checksum [2021-10-12T14:55:07.187Z] 0ef7d3d256c8: Download complete [2021-10-12T14:55:07.187Z] 0d57e429df01: Verifying Checksum [2021-10-12T14:55:07.187Z] 0d57e429df01: Download complete [2021-10-12T14:55:07.187Z] 4e4be7b47b0d: Verifying Checksum [2021-10-12T14:55:07.187Z] 4e4be7b47b0d: Download complete [2021-10-12T14:55:07.187Z] 188c0c94c7c5: Verifying Checksum [2021-10-12T14:55:07.187Z] 188c0c94c7c5: Download complete [2021-10-12T14:55:07.450Z] e1f770b5df2f: Verifying Checksum [2021-10-12T14:55:07.450Z] e1f770b5df2f: Download complete [2021-10-12T14:55:07.721Z] 188c0c94c7c5: Pull complete [2021-10-12T14:55:07.722Z] 0ef7d3d256c8: Pull complete [2021-10-12T14:55:07.722Z] de9db76c5a1d: Pull complete [2021-10-12T14:55:08.012Z] 0eba1c9be4d2: Verifying Checksum [2021-10-12T14:55:08.012Z] 0eba1c9be4d2: Download complete [2021-10-12T14:55:08.277Z] 85a0685a4137: Verifying Checksum [2021-10-12T14:55:08.277Z] 85a0685a4137: Download complete [2021-10-12T14:55:12.527Z] 0eba1c9be4d2: Pull complete [2021-10-12T14:55:12.527Z] 0d57e429df01: Pull complete [2021-10-12T14:55:12.527Z] 4e4be7b47b0d: Pull complete [2021-10-12T14:55:12.787Z] e1f770b5df2f: Pull complete [2021-10-12T14:55:17.028Z] 85a0685a4137: Pull complete [2021-10-12T14:55:17.028Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-10-12T14:55:17.028Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-12T14:55:17.028Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-10-12T14:55:17.101Z] prd-centos7-docker-4c-2g-706 does not seem to be running inside a container [2021-10-12T14:55:17.150Z] $ 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-12T14:55:18.952Z] $ docker top 78ed9ae17a86d67358a6795ecb0d9e337d457a0e963fbde81558399b00f20d77 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-10-12T14:55:19.054Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-10-12T14:55:19.349Z] + set -o pipefail [2021-10-12T14:55:19.349Z] + snyk monitor '--org=edgex-jenkins' [2021-10-12T14:55:23.581Z] [2021-10-12T14:55:23.581Z] Monitoring /w/workspace/oundry_app-functions-sdk-go_main (github.com/edgexfoundry/app-functions-sdk-go/v2)... [2021-10-12T14:55:23.581Z] [2021-10-12T14:55:23.581Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/fb0fb458-9dd1-43dc-88d2-f9f9a52b4332 [2021-10-12T14:55:23.581Z] [2021-10-12T14:55:23.581Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-10-12T14:55:23.581Z] [2021-10-12T14:55:23.581Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-10-12T14:55:23.581Z] [2021-10-12T14:55:23.581Z] [2021-10-12T14:55:23.581Z] You have reached your monthly limit of 200 private tests for your edgex-jenkins org. [2021-10-12T14:55:23.581Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2021-10-12T14:55:23.592Z] $ docker stop --time=1 78ed9ae17a86d67358a6795ecb0d9e337d457a0e963fbde81558399b00f20d77 [2021-10-12T14:55:25.383Z] $ docker rm -f 78ed9ae17a86d67358a6795ecb0d9e337d457a0e963fbde81558399b00f20d77 [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-12T14:55:25.901Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-12T14:55:25.908Z] provisioning config files... [2021-10-12T14:55:25.916Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config8464611510492027681tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-12T14:55:26.233Z] --> edgex-publish-swagger.sh [2021-10-12T14:55:26.233Z] === Publish openapi/v2 API === [2021-10-12T14:55:26.233Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-10-12T14:55:26.233Z] [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/oundry_app-functions-sdk-go_main/openapi/v2/app-functions-sdk.yaml] [2021-10-12T14:55:26.233Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-12T14:55:26.233Z] Dload Upload Total Spent Left Speed [2021-10-12T14:55:27.176Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13054 0 0 100 13054 0 12057 0:00:01 0:00:01 --:--:-- 12064 100 13054 0 0 100 13054 0 12056 0:00:01 0:00:01 --:--:-- 12064 [2021-10-12T14:55:27.176Z] [2021-10-12T14:55:27.176Z] [Pipeline] } [2021-10-12T14:55:27.185Z] 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-12T14:55:27.641Z] + git log --format=format:%s -1 3697d040d6e871f9c915a9724719d570c095482d [Pipeline] isUnix [Pipeline] sh [2021-10-12T14:55:27.945Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-12T14:55:27.945Z] . [Pipeline] withDockerContainer [2021-10-12T14:55:28.019Z] prd-centos7-docker-4c-2g-706 does not seem to be running inside a container [2021-10-12T14:55:28.053Z] $ 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-12T14:55:28.469Z] $ docker top f04c1350d1fe4c3665c10d7977a3df4faccbfb931abc408dd728c2216a258573 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-12T14:55:28.571Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-12T14:55:28.571Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-12T14:55:28.696Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-12T14:55:28.697Z] $ docker exec f04c1350d1fe4c3665c10d7977a3df4faccbfb931abc408dd728c2216a258573 ssh-agent [2021-10-12T14:55:28.816Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAgnMlM/agent.14 [2021-10-12T14:55:28.816Z] SSH_AGENT_PID=21 [2021-10-12T14:55:28.822Z] Running ssh-add (command line suppressed) [2021-10-12T14:55:28.928Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7730167837340775644.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7730167837340775644.key) [2021-10-12T14:55:28.946Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-12T14:55:29.246Z] + git semver tag [2021-10-12T14:55:29.246Z] # -> Open(): unable to determine branch for HEAD [2021-10-12T14:55:29.246Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2021-10-12T14:55:29.246Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2021-10-12T14:55:29.246Z] # $SEMVER_REMOTE_NAME = origin [2021-10-12T14:55:29.246Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-12T14:55:29.246Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-12T14:55:29.246Z] # $SEMVER_BRANCH = main [2021-10-12T14:55:29.246Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [2021-10-12T14:55:29.246Z] # 3697d040d6e871f9c915a9724719d570c095482d HEAD [2021-10-12T14:55:29.246Z] # -> Force: false [2021-10-12T14:55:29.246Z] # d8de01d38a68cf6a16dd9374b375ffab40922be3 refs/tags/v2.0.2-dev.23 [Pipeline] } [2021-10-12T14:55:29.256Z] $ docker exec --env ******** --env ******** f04c1350d1fe4c3665c10d7977a3df4faccbfb931abc408dd728c2216a258573 ssh-agent -k [2021-10-12T14:55:29.361Z] unset SSH_AUTH_SOCK; [2021-10-12T14:55:29.361Z] unset SSH_AGENT_PID; [2021-10-12T14:55:29.361Z] echo Agent pid 21 killed; [2021-10-12T14:55:29.371Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-12T14:55:29.684Z] + git semver [Pipeline] } [2021-10-12T14:55:29.704Z] $ docker stop --time=1 f04c1350d1fe4c3665c10d7977a3df4faccbfb931abc408dd728c2216a258573 [2021-10-12T14:55:30.919Z] $ docker rm -f f04c1350d1fe4c3665c10d7977a3df4faccbfb931abc408dd728c2216a258573 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-10-12T14:55:31.311Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-12T14:55:31.311Z] [2021-10-12T14:55:31.311Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-10-12T14:55:31.618Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-12T14:55:31.618Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-10-12T14:55:31.618Z] ab5ef0e58194: Pulling fs layer [2021-10-12T14:55:31.618Z] 9712f1f96733: Pulling fs layer [2021-10-12T14:55:31.618Z] 63f879dbbcfc: Pulling fs layer [2021-10-12T14:55:31.618Z] 0d9ebad4ef96: Pulling fs layer [2021-10-12T14:55:31.618Z] e9a5061849ea: Pulling fs layer [2021-10-12T14:55:31.618Z] d747dcd14b5f: Pulling fs layer [2021-10-12T14:55:31.618Z] 2de7ff778b66: Pulling fs layer [2021-10-12T14:55:31.618Z] 0d9ebad4ef96: Waiting [2021-10-12T14:55:31.618Z] e9a5061849ea: Waiting [2021-10-12T14:55:31.618Z] d747dcd14b5f: Waiting [2021-10-12T14:55:31.618Z] 2de7ff778b66: Waiting [2021-10-12T14:55:31.618Z] 9712f1f96733: Verifying Checksum [2021-10-12T14:55:31.618Z] 9712f1f96733: Download complete [2021-10-12T14:55:32.198Z] 63f879dbbcfc: Verifying Checksum [2021-10-12T14:55:32.198Z] 63f879dbbcfc: Download complete [2021-10-12T14:55:32.198Z] ab5ef0e58194: Verifying Checksum [2021-10-12T14:55:32.198Z] ab5ef0e58194: Download complete [2021-10-12T14:55:32.198Z] d747dcd14b5f: Verifying Checksum [2021-10-12T14:55:32.198Z] d747dcd14b5f: Download complete [2021-10-12T14:55:32.198Z] 0d9ebad4ef96: Verifying Checksum [2021-10-12T14:55:32.198Z] 0d9ebad4ef96: Download complete [2021-10-12T14:55:32.198Z] e9a5061849ea: Verifying Checksum [2021-10-12T14:55:32.198Z] e9a5061849ea: Download complete [2021-10-12T14:55:32.467Z] 2de7ff778b66: Verifying Checksum [2021-10-12T14:55:32.467Z] 2de7ff778b66: Download complete [2021-10-12T14:55:35.804Z] ab5ef0e58194: Pull complete [2021-10-12T14:55:35.804Z] 9712f1f96733: Pull complete [2021-10-12T14:55:36.377Z] 63f879dbbcfc: Pull complete [2021-10-12T14:55:40.610Z] 0d9ebad4ef96: Pull complete [2021-10-12T14:55:41.192Z] e9a5061849ea: Pull complete [2021-10-12T14:55:41.192Z] d747dcd14b5f: Pull complete [2021-10-12T14:55:42.590Z] 2de7ff778b66: Pull complete [2021-10-12T14:55:42.590Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-10-12T14:55:42.590Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-12T14:55:42.590Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-10-12T14:55:42.667Z] prd-centos7-docker-4c-2g-706 does not seem to be running inside a container [2021-10-12T14:55:42.707Z] $ 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-12T14:55:45.843Z] $ docker top f9ebb9023684c38de218d2213a57e9b7a0354eb8f39074eb80f59665d3d5c878 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-10-12T14:55:45.937Z] provisioning config files... [2021-10-12T14:55:45.948Z] copy managed file [sigul-config] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config1943952161547743611tmp [2021-10-12T14:55:45.968Z] copy managed file [sigul-password] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config4030011642320396774tmp [2021-10-12T14:55:45.982Z] copy managed file [sigul-pki] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config4166471481706147170tmp [Pipeline] { [Pipeline] echo [2021-10-12T14:55:45.998Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-12T14:55:46.296Z] ---> sigul-configuration.sh [2021-10-12T14:55:46.296Z] gpg: directory `/root/.gnupg' created [2021-10-12T14:55:46.296Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-10-12T14:55:46.296Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-10-12T14:55:46.296Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-10-12T14:55:46.296Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-10-12T14:55:46.296Z] gpg: CAST5 encrypted data [2021-10-12T14:55:46.296Z] gpg: encrypted with 1 passphrase [2021-10-12T14:55:46.296Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-10-12T14:55:46.594Z] + mkdir /home/jenkins [2021-10-12T14:55:46.594Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-10-12T14:55:46.893Z] + 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-12T14:55:46.903Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-12T14:55:47.192Z] ---> sigul-install.sh [2021-10-12T14:55:47.192Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-10-12T14:55:47.485Z] + git tag --list [2021-10-12T14:55:47.485Z] v0.1.0 [2021-10-12T14:55:47.485Z] v0.1.1 [2021-10-12T14:55:47.485Z] v1.0.0 [2021-10-12T14:55:47.485Z] v1.1.0 [2021-10-12T14:55:47.485Z] v1.2.0 [2021-10-12T14:55:47.485Z] v1.3.0 [2021-10-12T14:55:47.485Z] v1.3.1 [2021-10-12T14:55:47.485Z] v2.0.0 [2021-10-12T14:55:47.485Z] v2.0.1 [2021-10-12T14:55:47.485Z] v2.0.1-dev.1 [2021-10-12T14:55:47.485Z] v2.0.1-dev.2 [2021-10-12T14:55:47.485Z] v2.0.1-dev.3 [2021-10-12T14:55:47.485Z] v2.0.1-dev.4 [2021-10-12T14:55:47.485Z] v2.0.1-dev.5 [2021-10-12T14:55:47.485Z] v2.0.1-dev.6 [2021-10-12T14:55:47.485Z] v2.0.1-dev.7 [2021-10-12T14:55:47.485Z] v2.0.2-dev.1 [2021-10-12T14:55:47.485Z] v2.0.2-dev.10 [2021-10-12T14:55:47.485Z] v2.0.2-dev.11 [2021-10-12T14:55:47.485Z] v2.0.2-dev.12 [2021-10-12T14:55:47.485Z] v2.0.2-dev.13 [2021-10-12T14:55:47.485Z] v2.0.2-dev.14 [2021-10-12T14:55:47.485Z] v2.0.2-dev.15 [2021-10-12T14:55:47.485Z] v2.0.2-dev.16 [2021-10-12T14:55:47.485Z] v2.0.2-dev.17 [2021-10-12T14:55:47.485Z] v2.0.2-dev.18 [2021-10-12T14:55:47.485Z] v2.0.2-dev.19 [2021-10-12T14:55:47.485Z] v2.0.2-dev.2 [2021-10-12T14:55:47.485Z] v2.0.2-dev.20 [2021-10-12T14:55:47.485Z] v2.0.2-dev.21 [2021-10-12T14:55:47.485Z] v2.0.2-dev.22 [2021-10-12T14:55:47.485Z] v2.0.2-dev.23 [2021-10-12T14:55:47.485Z] v2.0.2-dev.3 [2021-10-12T14:55:47.485Z] v2.0.2-dev.4 [2021-10-12T14:55:47.485Z] v2.0.2-dev.5 [2021-10-12T14:55:47.485Z] v2.0.2-dev.6 [2021-10-12T14:55:47.485Z] v2.0.2-dev.7 [2021-10-12T14:55:47.485Z] v2.0.2-dev.8 [2021-10-12T14:55:47.485Z] v2.0.2-dev.9 [Pipeline] sh [2021-10-12T14:55:47.783Z] + lftools sign git-tag v2.0.2-dev.23 [2021-10-12T14:55:48.354Z] Signing Git tag with Sigul... [2021-10-12T14:55:48.354Z] Signing v2.0.2-dev.23 [Pipeline] echo [2021-10-12T14:55:49.742Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-12T14:55:50.039Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-10-12T14:55:50.046Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-10-12T14:55:50.062Z] $ docker stop --time=1 f9ebb9023684c38de218d2213a57e9b7a0354eb8f39074eb80f59665d3d5c878 [2021-10-12T14:55:51.260Z] $ docker rm -f f9ebb9023684c38de218d2213a57e9b7a0354eb8f39074eb80f59665d3d5c878 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-10-12T14:55:51.802Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-12T14:55:51.802Z] . [Pipeline] withDockerContainer [2021-10-12T14:55:51.866Z] prd-centos7-docker-4c-2g-706 does not seem to be running inside a container [2021-10-12T14:55:51.908Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-12T14:55:52.232Z] $ docker top 8730fcdba01c88b851616e62f861510048af872e5cbc88f92713f400f990546d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-12T14:55:52.325Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-12T14:55:52.325Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-12T14:55:52.434Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-12T14:55:52.434Z] $ docker exec 8730fcdba01c88b851616e62f861510048af872e5cbc88f92713f400f990546d ssh-agent [2021-10-12T14:55:52.533Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLCoODI/agent.14 [2021-10-12T14:55:52.533Z] SSH_AGENT_PID=20 [2021-10-12T14:55:52.538Z] Running ssh-add (command line suppressed) [2021-10-12T14:55:52.636Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7353476870187321955.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7353476870187321955.key) [2021-10-12T14:55:52.652Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-12T14:55:52.949Z] + git semver bump pre [2021-10-12T14:55:52.949Z] # -> Open(): unable to determine branch for HEAD [2021-10-12T14:55:52.949Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2021-10-12T14:55:52.949Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2021-10-12T14:55:52.949Z] # $SEMVER_REMOTE_NAME = origin [2021-10-12T14:55:52.949Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-12T14:55:52.949Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-12T14:55:52.949Z] # $SEMVER_BRANCH = main [2021-10-12T14:55:52.949Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [2021-10-12T14:55:52.949Z] 2.0.2-dev.24 [Pipeline] } [2021-10-12T14:55:52.960Z] $ docker exec --env ******** --env ******** 8730fcdba01c88b851616e62f861510048af872e5cbc88f92713f400f990546d ssh-agent -k [2021-10-12T14:55:53.056Z] unset SSH_AUTH_SOCK; [2021-10-12T14:55:53.056Z] unset SSH_AGENT_PID; [2021-10-12T14:55:53.056Z] echo Agent pid 20 killed; [2021-10-12T14:55:53.067Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-12T14:55:53.370Z] + git semver [Pipeline] } [2021-10-12T14:55:53.382Z] $ docker stop --time=1 8730fcdba01c88b851616e62f861510048af872e5cbc88f92713f400f990546d [2021-10-12T14:55:54.564Z] $ docker rm -f 8730fcdba01c88b851616e62f861510048af872e5cbc88f92713f400f990546d [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-10-12T14:55:54.918Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-12T14:55:54.918Z] . [Pipeline] withDockerContainer [2021-10-12T14:55:54.987Z] prd-centos7-docker-4c-2g-706 does not seem to be running inside a container [2021-10-12T14:55:55.038Z] $ 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-12T14:55:55.409Z] $ docker top 7c6d8020fbb6094de249336054c38080c1d1c02b137b9649847e39f90c3fcbc8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-12T14:55:55.517Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-12T14:55:55.517Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-12T14:55:55.630Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-12T14:55:55.631Z] $ docker exec 7c6d8020fbb6094de249336054c38080c1d1c02b137b9649847e39f90c3fcbc8 ssh-agent [2021-10-12T14:55:55.752Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXaLeNgp/agent.14 [2021-10-12T14:55:55.752Z] SSH_AGENT_PID=21 [2021-10-12T14:55:55.757Z] Running ssh-add (command line suppressed) [2021-10-12T14:55:55.852Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_5932714023144119970.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_5932714023144119970.key) [2021-10-12T14:55:55.865Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-12T14:55:56.156Z] + git semver push [2021-10-12T14:55:56.156Z] # -> Open(): unable to determine branch for HEAD [2021-10-12T14:55:56.156Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2021-10-12T14:55:56.156Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2021-10-12T14:55:56.156Z] # $SEMVER_REMOTE_NAME = origin [2021-10-12T14:55:56.156Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-12T14:55:56.156Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-12T14:55:56.156Z] # $SEMVER_BRANCH = main [2021-10-12T14:55:56.156Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [Pipeline] } [2021-10-12T14:55:58.708Z] $ docker exec --env ******** --env ******** 7c6d8020fbb6094de249336054c38080c1d1c02b137b9649847e39f90c3fcbc8 ssh-agent -k [2021-10-12T14:55:58.807Z] unset SSH_AUTH_SOCK; [2021-10-12T14:55:58.807Z] unset SSH_AGENT_PID; [2021-10-12T14:55:58.807Z] echo Agent pid 21 killed; [2021-10-12T14:55:58.830Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-12T14:55:59.294Z] + git semver [Pipeline] } [2021-10-12T14:55:59.351Z] $ docker stop --time=1 7c6d8020fbb6094de249336054c38080c1d1c02b137b9649847e39f90c3fcbc8 [2021-10-12T14:56:00.560Z] $ docker rm -f 7c6d8020fbb6094de249336054c38080c1d1c02b137b9649847e39f90c3fcbc8 [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-12T14:56:01.381Z] + '[' -d /w/workspace/oundry_app-functions-sdk-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-12T14:56:01.692Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-12T14:56:02.258Z] ---> package-listing.sh [2021-10-12T14:56:02.258Z] ++ facter osfamily [2021-10-12T14:56:02.258Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-12T14:56:02.519Z] + OS_FAMILY=redhat [2021-10-12T14:56:02.519Z] + workspace=/w/workspace/oundry_app-functions-sdk-go_main [2021-10-12T14:56:02.519Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-12T14:56:02.519Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-12T14:56:02.519Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-12T14:56:02.519Z] + PACKAGES=/tmp/packages_start.txt [2021-10-12T14:56:02.519Z] + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' [2021-10-12T14:56:02.519Z] + PACKAGES=/tmp/packages_end.txt [2021-10-12T14:56:02.519Z] + case "${OS_FAMILY}" in [2021-10-12T14:56:02.519Z] + sort [2021-10-12T14:56:02.519Z] + rpm -qa [2021-10-12T14:56:03.090Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-12T14:56:03.090Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-12T14:56:03.090Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-12T14:56:03.090Z] + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' [2021-10-12T14:56:03.090Z] + mkdir -p /w/workspace/oundry_app-functions-sdk-go_main/archives/ [2021-10-12T14:56:03.090Z] + 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-12T14:56:03.101Z] 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-12T14:56:03.385Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-12T14:56:03.948Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-12T14:56:03.948Z] [2021-10-12T14:56:03.948Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-12T14:56:04.246Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-12T14:56:04.246Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-12T14:56:04.246Z] b4d181a07f80: Pulling fs layer [2021-10-12T14:56:04.246Z] a1111a8f2ec3: Pulling fs layer [2021-10-12T14:56:04.246Z] ed53099fbce6: Pulling fs layer [2021-10-12T14:56:04.246Z] dc539afda2c1: Pulling fs layer [2021-10-12T14:56:04.246Z] 77bc0d833cb6: Pulling fs layer [2021-10-12T14:56:04.246Z] 9065ff56babe: Pulling fs layer [2021-10-12T14:56:04.246Z] d287ab97295c: Pulling fs layer [2021-10-12T14:56:04.246Z] 77bc0d833cb6: Waiting [2021-10-12T14:56:04.246Z] 9065ff56babe: Waiting [2021-10-12T14:56:04.246Z] d287ab97295c: Waiting [2021-10-12T14:56:04.246Z] dc539afda2c1: Waiting [2021-10-12T14:56:04.246Z] a1111a8f2ec3: Verifying Checksum [2021-10-12T14:56:04.246Z] a1111a8f2ec3: Download complete [2021-10-12T14:56:04.246Z] dc539afda2c1: Verifying Checksum [2021-10-12T14:56:04.246Z] dc539afda2c1: Download complete [2021-10-12T14:56:04.246Z] ed53099fbce6: Verifying Checksum [2021-10-12T14:56:04.246Z] ed53099fbce6: Download complete [2021-10-12T14:56:04.509Z] 9065ff56babe: Verifying Checksum [2021-10-12T14:56:04.509Z] 9065ff56babe: Download complete [2021-10-12T14:56:04.509Z] b4d181a07f80: Verifying Checksum [2021-10-12T14:56:04.509Z] b4d181a07f80: Download complete [2021-10-12T14:56:04.509Z] 77bc0d833cb6: Verifying Checksum [2021-10-12T14:56:04.509Z] 77bc0d833cb6: Download complete [2021-10-12T14:56:05.100Z] d287ab97295c: Verifying Checksum [2021-10-12T14:56:05.100Z] d287ab97295c: Download complete [2021-10-12T14:56:06.053Z] b4d181a07f80: Pull complete [2021-10-12T14:56:06.053Z] a1111a8f2ec3: Pull complete [2021-10-12T14:56:06.630Z] ed53099fbce6: Pull complete [2021-10-12T14:56:06.630Z] dc539afda2c1: Pull complete [2021-10-12T14:56:06.892Z] 77bc0d833cb6: Pull complete [2021-10-12T14:56:07.160Z] 9065ff56babe: Pull complete [2021-10-12T14:56:12.465Z] d287ab97295c: Pull complete [2021-10-12T14:56:12.465Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-12T14:56:12.465Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-12T14:56:12.465Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-12T14:56:12.536Z] prd-centos7-docker-4c-2g-706 does not seem to be running inside a container [2021-10-12T14:56:12.573Z] $ 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-12T14:56:14.685Z] $ docker top 79aa11c8022a3286057e87ae40bae54583e984ccbccb916b1ec3189001e7f6c7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-12T14:56:15.055Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-12T14:56:15.348Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-12T14:56:15.634Z] + ls /var/log/sa-host [2021-10-12T14:56:15.634Z] + sadf -c /var/log/sa-host/sa12 [2021-10-12T14:56:15.634Z] file_magic: OK [2021-10-12T14:56:15.634Z] HZ: Using current value: 100 [2021-10-12T14:56:15.634Z] file_header: OK [2021-10-12T14:56:15.634Z] 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-12T14:56:15.634Z] Statistics: [2021-10-12T14:56:15.634Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-12T14:56:15.634Z] File successfully converted to sysstat format version 12.0.3 [2021-10-12T14:56:15.634Z] + sadf -c /var/log/sa-host/sa30 [2021-10-12T14:56:15.634Z] file_magic: OK [2021-10-12T14:56:15.634Z] HZ: Using current value: 100 [2021-10-12T14:56:15.634Z] file_header: OK [2021-10-12T14:56:15.634Z] 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-12T14:56:15.634Z] Statistics: [2021-10-12T14:56:15.634Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-12T14:56:15.634Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-12T14:56:15.709Z] provisioning config files... [2021-10-12T14:56:15.718Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config5092736048994527649tmp [Pipeline] { [Pipeline] echo [2021-10-12T14:56:15.732Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-12T14:56:16.021Z] ---> create-netrc.sh [Pipeline] } [2021-10-12T14:56:16.028Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-12T14:56:16.361Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-12T14:56:16.371Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-12T14:56:16.662Z] ---> sudo-logs.sh [2021-10-12T14:56:16.662Z] Archiving 'sudo' log.. [2021-10-12T14:56:16.662Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-706.novalocal: Name or service not known [2021-10-12T14:56:16.662Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-706.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-12T14:56:16.682Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-12T14:56:16.968Z] ---> job-cost.sh [2021-10-12T14:56:16.968Z] lf-activate-venv: SKIPPING [2021-10-12T14:56:16.968Z] DEBUG: total: 0.10999999940395355 [2021-10-12T14:56:16.968Z] INFO: Retrieving Stack Cost... [2021-10-12T14:56:17.228Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-12T14:56:17.487Z] INFO: Archiving Costs [Pipeline] echo [2021-10-12T14:56:17.499Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-12T14:56:17.788Z] ---> logs-deploy.sh [2021-10-12T14:56:17.788Z] lf-activate-venv: SKIPPING [2021-10-12T14:56:17.788Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/main/36 [2021-10-12T14:56:17.788Z] INFO: archiving workspace using pattern(s): [2021-10-12T14:56:18.739Z] Archives upload complete. [2021-10-12T14:56:18.739Z] INFO: archiving logs to Nexus