Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5b39ffbcbe47cfdbd6e7f27eea3a95ad74b4ef3b 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-ssh1276987455704513719.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4413103830016528835.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3543190690427303913.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 # timeout=10 Commit message: "Merge pull request #353 from ernestojeda/go-mod-tidy-change" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5306526007924009998.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4577944258908967220.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-functions-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-407’ is offline Running on prd-centos7-docker-4c-2g-409 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-ssh3349164536035003492.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Avoid second fetch Checking out Revision 5b39ffbcbe47cfdbd6e7f27eea3a95ad74b4ef3b (main) > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5b39ffbcbe47cfdbd6e7f27eea3a95ad74b4ef3b # timeout=10 Commit message: "build(deps): bump github.com/google/uuid from 1.2.0 to 1.3.0 (#921)" > git rev-list --no-walk e5a08eac5f2241cb5719840b89bd863ed6eb1544 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-08-20T18:48:15.582Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-08-20T18:48:15.670Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-08-20T18:48:15.700Z] ========================================================= [2021-08-20T18:48:15.700Z] EdgeX Global Pipelines Version Info [2021-08-20T18:48:15.700Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-08-20T18:48:17.020Z] ------------------- [2021-08-20T18:48:17.020Z] stable info: [2021-08-20T18:48:17.020Z] ------------------- [2021-08-20T18:48:17.020Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-08-20T18:48:17.020Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-20T18:48:17.020Z] Message: update stable to v1.0.205 [2021-08-20T18:48:17.609Z] ------------------- [2021-08-20T18:48:17.609Z] experimental info: [2021-08-20T18:48:17.609Z] ------------------- [2021-08-20T18:48:17.609Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-08-20T18:48:17.609Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-20T18:48:17.609Z] Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-08-20T18:48:17.751Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-08-20T18:48:17.776Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-08-20T18:48:17.800Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-08-20T18:48:17.824Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-08-20T18:48:17.848Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-08-20T18:48:17.872Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-08-20T18:48:17.896Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-08-20T18:48:17.919Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-08-20T18:48:17.943Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-08-20T18:48:17.967Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-08-20T18:48:17.990Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-08-20T18:48:18.013Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-08-20T18:48:18.036Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2021-08-20T18:48:18.059Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-08-20T18:48:18.082Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-08-20T18:48:18.114Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-08-20T18:48:18.146Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-08-20T18:48:18.178Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-08-20T18:48:18.202Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-08-20T18:48:18.226Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-08-20T18:48:18.250Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-08-20T18:48:18.276Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-08-20T18:48:18.301Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-08-20T18:48:18.326Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-08-20T18:48:18.352Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-08-20T18:48:18.385Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-08-20T18:48:18.421Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-08-20T18:48:18.446Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-08-20T18:48:18.472Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-08-20T18:48:18.504Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-08-20T18:48:18.531Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5b39ffbcbe47cfdbd6e7f27eea3a95ad74b4ef3b [Pipeline] echo [2021-08-20T18:48:18.570Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5b39ffb [Pipeline] echo [2021-08-20T18:48:18.612Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-08-20T18:48:19.124Z] + git log --format=format:%s -1 5b39ffbcbe47cfdbd6e7f27eea3a95ad74b4ef3b [Pipeline] echo [2021-08-20T18:48:19.188Z] GIT_COMMIT: 5b39ffbcbe47cfdbd6e7f27eea3a95ad74b4ef3b, Commit Message: build(deps): bump github.com/google/uuid from 1.2.0 to 1.3.0 (#921) [Pipeline] echo [2021-08-20T18:48:19.210Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-08-20T18:48:20.191Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-20T18:48:20.191Z] [2021-08-20T18:48:20.191Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-08-20T18:48:20.538Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-20T18:48:20.812Z] latest: Pulling from edgex-devops/git-semver [2021-08-20T18:48:20.812Z] 31603596830f: Pulling fs layer [2021-08-20T18:48:20.812Z] 04fac38145f0: Pulling fs layer [2021-08-20T18:48:20.812Z] 701f6daf10bf: Pulling fs layer [2021-08-20T18:48:20.812Z] 24f72da36158: Pulling fs layer [2021-08-20T18:48:20.812Z] 24f72da36158: Waiting [2021-08-20T18:48:20.812Z] 04fac38145f0: Verifying Checksum [2021-08-20T18:48:20.812Z] 04fac38145f0: Download complete [2021-08-20T18:48:21.084Z] 31603596830f: Verifying Checksum [2021-08-20T18:48:21.084Z] 31603596830f: Download complete [2021-08-20T18:48:21.084Z] 31603596830f: Pull complete [2021-08-20T18:48:21.361Z] 04fac38145f0: Pull complete [2021-08-20T18:48:21.361Z] 24f72da36158: Verifying Checksum [2021-08-20T18:48:21.361Z] 24f72da36158: Download complete [2021-08-20T18:48:21.641Z] 701f6daf10bf: Verifying Checksum [2021-08-20T18:48:21.641Z] 701f6daf10bf: Download complete [2021-08-20T18:48:22.239Z] 701f6daf10bf: Pull complete [2021-08-20T18:48:22.239Z] 24f72da36158: Pull complete [2021-08-20T18:48:22.239Z] Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 [2021-08-20T18:48:22.239Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-20T18:48:22.239Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-08-20T18:48:22.351Z] prd-centos7-docker-4c-2g-409 does not seem to be running inside a container [2021-08-20T18:48:22.443Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-08-20T18:48:23.352Z] $ docker top da7a36f1ba007918f54ccadb20a2d0d14c959ee7cb51ed48e0aa5a3dec00e9f2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-20T18:48:23.504Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-20T18:48:23.504Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-20T18:48:23.635Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-20T18:48:23.640Z] $ docker exec da7a36f1ba007918f54ccadb20a2d0d14c959ee7cb51ed48e0aa5a3dec00e9f2 ssh-agent [2021-08-20T18:48:23.777Z] SSH_AUTH_SOCK=/tmp/ssh-zJ5o0ZuWrNyw/agent.15 [2021-08-20T18:48:23.777Z] SSH_AGENT_PID=22 [2021-08-20T18:48:23.802Z] Running ssh-add (command line suppressed) [2021-08-20T18:48:23.902Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_5206532924346897134.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_5206532924346897134.key) [2021-08-20T18:48:23.930Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-20T18:48:24.256Z] + git tag --points-at HEAD [Pipeline] } [2021-08-20T18:48:24.292Z] $ docker exec --env ******** --env ******** da7a36f1ba007918f54ccadb20a2d0d14c959ee7cb51ed48e0aa5a3dec00e9f2 ssh-agent -k [2021-08-20T18:48:24.395Z] unset SSH_AUTH_SOCK; [2021-08-20T18:48:24.395Z] unset SSH_AGENT_PID; [2021-08-20T18:48:24.396Z] echo Agent pid 22 killed; [2021-08-20T18:48:24.422Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-08-20T18:48:24.463Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-20T18:48:24.463Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-20T18:48:24.632Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-20T18:48:24.639Z] $ docker exec da7a36f1ba007918f54ccadb20a2d0d14c959ee7cb51ed48e0aa5a3dec00e9f2 ssh-agent [2021-08-20T18:48:24.783Z] SSH_AUTH_SOCK=/tmp/ssh-CSztkJStnWFB/agent.54 [2021-08-20T18:48:24.783Z] SSH_AGENT_PID=60 [2021-08-20T18:48:24.797Z] Running ssh-add (command line suppressed) [2021-08-20T18:48:24.915Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_4235243855431306522.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_4235243855431306522.key) [2021-08-20T18:48:24.946Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-20T18:48:25.272Z] + git semver init [2021-08-20T18:48:25.272Z] # -> Open(): unable to determine branch for HEAD [2021-08-20T18:48:25.272Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2021-08-20T18:48:25.272Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2021-08-20T18:48:25.272Z] # $SEMVER_REMOTE_NAME = origin [2021-08-20T18:48:25.272Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-20T18:48:25.272Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-20T18:48:25.272Z] # $SEMVER_BRANCH = main [2021-08-20T18:48:25.272Z] # $SEMVER_TEMP = /tmp/semver-578943424 [2021-08-20T18:48:25.272Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-08-20T18:48:37.681Z] # '/tmp/semver-578943424' -> '/w/workspace/oundry_app-functions-sdk-go_main/.semver' [2021-08-20T18:48:37.681Z] # -> Force: false [2021-08-20T18:48:37.681Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [Pipeline] } [2021-08-20T18:48:37.700Z] $ docker exec --env ******** --env ******** da7a36f1ba007918f54ccadb20a2d0d14c959ee7cb51ed48e0aa5a3dec00e9f2 ssh-agent -k [2021-08-20T18:48:37.811Z] unset SSH_AUTH_SOCK; [2021-08-20T18:48:37.812Z] unset SSH_AGENT_PID; [2021-08-20T18:48:37.812Z] echo Agent pid 60 killed; [2021-08-20T18:48:37.833Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-20T18:48:38.189Z] + git semver [Pipeline] } [2021-08-20T18:48:38.209Z] $ docker stop --time=1 da7a36f1ba007918f54ccadb20a2d0d14c959ee7cb51ed48e0aa5a3dec00e9f2 [2021-08-20T18:48:39.565Z] $ docker rm -f da7a36f1ba007918f54ccadb20a2d0d14c959ee7cb51ed48e0aa5a3dec00e9f2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-20T18:48:39.951Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-08-20T18:48:40.331Z] Stashed 1 file(s) [Pipeline] echo [2021-08-20T18:48:40.336Z] [edgeXSemver]: initialized semver on version 2.0.2-dev.5 [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-08-20T18:48:55.641Z] Still waiting to schedule task [2021-08-20T18:48:55.642Z] ‘prd-centos7-docker-4c-2g-407’ is offline [2021-08-20T18:48:55.642Z] ‘prd-centos7-docker-4c-2g-410’ is offline [2021-08-20T18:48:55.644Z] Still waiting to schedule task [2021-08-20T18:48:55.644Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-08-20T18:50:15.872Z] Running on prd-centos7-docker-4c-2g-412 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws [2021-08-20T18:50:15.893Z] Running in /w/workspace/app-functions-sdk-go/15 [Pipeline] { [Pipeline] checkout [2021-08-20T18:50:16.009Z] The recommended git tool is: git [2021-08-20T18:50:19.158Z] using credential edgex-jenkins-ssh [2021-08-20T18:50:19.173Z] Cloning the remote Git repository [2021-08-20T18:50:18.439Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-08-20T18:50:18.517Z] > git init /w/workspace/app-functions-sdk-go/15 # timeout=10 [2021-08-20T18:50:18.565Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-08-20T18:50:18.565Z] > git --version # timeout=10 [2021-08-20T18:50:18.579Z] > git --version # 'git version 2.24.4' [2021-08-20T18:50:18.579Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-20T18:50:18.610Z] [INFO] Currently running in a labeled security context [2021-08-20T18:50:18.610Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-20T18:50:18.611Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/15@tmp/jenkins-gitclient-ssh3240592687501158404.key [2021-08-20T18:50:18.623Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-20T18:50:20.889Z] Avoid second fetch [2021-08-20T18:50:20.890Z] Checking out Revision 5b39ffbcbe47cfdbd6e7f27eea3a95ad74b4ef3b (main) [2021-08-20T18:50:20.256Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-08-20T18:50:20.265Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-20T18:50:20.286Z] > git config core.sparsecheckout # timeout=10 [2021-08-20T18:50:20.295Z] > git checkout -f 5b39ffbcbe47cfdbd6e7f27eea3a95ad74b4ef3b # timeout=10 [2021-08-20T18:50:24.646Z] Commit message: "build(deps): bump github.com/google/uuid from 1.2.0 to 1.3.0 (#921)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2021-08-20T18:50:25.343Z] ========================================================= [2021-08-20T18:50:25.343Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-08-20T18:50:25.343Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-08-20T18:50:25.784Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-08-20T18:50:25.784Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-08-20T18:50:25.784Z] 540db60ca938: Pulling fs layer [2021-08-20T18:50:25.784Z] adcc1eea9eea: Pulling fs layer [2021-08-20T18:50:25.784Z] 4c4ab2625f07: Pulling fs layer [2021-08-20T18:50:25.784Z] db62176df00c: Pulling fs layer [2021-08-20T18:50:25.784Z] 3b30891b0d05: Pulling fs layer [2021-08-20T18:50:25.784Z] 06b49ca38bd5: Pulling fs layer [2021-08-20T18:50:25.784Z] c788192a36de: Pulling fs layer [2021-08-20T18:50:25.784Z] a77e37c0d609: Pulling fs layer [2021-08-20T18:50:25.784Z] c3185cebc471: Pulling fs layer [2021-08-20T18:50:25.784Z] db62176df00c: Waiting [2021-08-20T18:50:25.784Z] 3b30891b0d05: Waiting [2021-08-20T18:50:25.784Z] 06b49ca38bd5: Waiting [2021-08-20T18:50:25.784Z] c788192a36de: Waiting [2021-08-20T18:50:25.784Z] a77e37c0d609: Waiting [2021-08-20T18:50:25.784Z] c3185cebc471: Waiting [2021-08-20T18:50:25.784Z] 4c4ab2625f07: Verifying Checksum [2021-08-20T18:50:25.784Z] 4c4ab2625f07: Download complete [2021-08-20T18:50:26.056Z] adcc1eea9eea: Verifying Checksum [2021-08-20T18:50:26.056Z] adcc1eea9eea: Download complete [2021-08-20T18:50:26.056Z] 3b30891b0d05: Verifying Checksum [2021-08-20T18:50:26.056Z] 3b30891b0d05: Download complete [2021-08-20T18:50:26.056Z] 06b49ca38bd5: Verifying Checksum [2021-08-20T18:50:26.056Z] 06b49ca38bd5: Download complete [2021-08-20T18:50:26.056Z] c788192a36de: Verifying Checksum [2021-08-20T18:50:26.056Z] c788192a36de: Download complete [2021-08-20T18:50:26.056Z] 540db60ca938: Verifying Checksum [2021-08-20T18:50:26.056Z] 540db60ca938: Download complete [2021-08-20T18:50:26.327Z] 540db60ca938: Pull complete [2021-08-20T18:50:26.327Z] adcc1eea9eea: Pull complete [2021-08-20T18:50:26.327Z] 4c4ab2625f07: Pull complete [2021-08-20T18:50:27.284Z] a77e37c0d609: Verifying Checksum [2021-08-20T18:50:27.284Z] a77e37c0d609: Download complete [2021-08-20T18:50:30.626Z] c3185cebc471: Verifying Checksum [2021-08-20T18:50:30.626Z] c3185cebc471: Download complete [2021-08-20T18:50:30.892Z] db62176df00c: Verifying Checksum [2021-08-20T18:50:30.892Z] db62176df00c: Download complete [2021-08-20T18:50:35.180Z] db62176df00c: Pull complete [2021-08-20T18:50:35.180Z] 3b30891b0d05: Pull complete [2021-08-20T18:50:35.180Z] 06b49ca38bd5: Pull complete [2021-08-20T18:50:35.180Z] c788192a36de: Pull complete [2021-08-20T18:50:35.180Z] a77e37c0d609: Pull complete [2021-08-20T18:50:37.126Z] c3185cebc471: Pull complete [2021-08-20T18:50:37.127Z] Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd [2021-08-20T18:50:37.127Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-08-20T18:50:37.127Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh [2021-08-20T18:50:37.484Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh [2021-08-20T18:50:37.810Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-20T18:50:37.810Z] . [Pipeline] withDockerContainer [2021-08-20T18:50:37.901Z] prd-centos7-docker-4c-2g-412 does not seem to be running inside a container [2021-08-20T18:50:37.962Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/15 -v /w/workspace/app-functions-sdk-go/15:/w/workspace/app-functions-sdk-go/15:rw,z -v /w/workspace/app-functions-sdk-go/15@tmp:/w/workspace/app-functions-sdk-go/15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-08-20T18:50:39.999Z] $ docker top e30a08d2b7e86c6467e256f086bfdda3a60c078f309aa986979b7ab64750c9d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-20T18:50:40.385Z] + go version [2021-08-20T18:50:40.385Z] go version go1.16.6 linux/amd64 [Pipeline] } [2021-08-20T18:50:40.402Z] $ docker stop --time=1 e30a08d2b7e86c6467e256f086bfdda3a60c078f309aa986979b7ab64750c9d6 [2021-08-20T18:50:41.586Z] $ docker rm -f e30a08d2b7e86c6467e256f086bfdda3a60c078f309aa986979b7ab64750c9d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-20T18:50:42.199Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-20T18:50:42.199Z] . [Pipeline] withDockerContainer [2021-08-20T18:50:42.284Z] prd-centos7-docker-4c-2g-412 does not seem to be running inside a container [2021-08-20T18:50:42.353Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/15 -v /w/workspace/app-functions-sdk-go/15:/w/workspace/app-functions-sdk-go/15:rw,z -v /w/workspace/app-functions-sdk-go/15@tmp:/w/workspace/app-functions-sdk-go/15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-08-20T18:50:42.701Z] $ docker top b250e037e42f9259c3a13e4f6e79c7e9a98612556fc0bc8c822d0b0a44686633 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-08-20T18:50:43.125Z] + make test [2021-08-20T18:50:43.126Z] make -C ./app-service-template build [2021-08-20T18:50:43.126Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/15/app-service-template' [2021-08-20T18:50:43.126Z] go mod tidy [2021-08-20T18:50:44.088Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 [2021-08-20T18:50:44.358Z] go: downloading github.com/google/uuid v1.3.0 [2021-08-20T18:50:44.358Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-08-20T18:50:44.625Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 [2021-08-20T18:50:44.625Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 [2021-08-20T18:50:44.625Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 [2021-08-20T18:50:44.625Z] go: downloading github.com/go-playground/validator/v10 v10.6.1 [2021-08-20T18:50:44.625Z] go: downloading github.com/go-kit/kit v0.9.0 [2021-08-20T18:50:44.896Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2021-08-20T18:50:44.896Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-08-20T18:50:44.896Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-08-20T18:50:44.896Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2021-08-20T18:50:45.164Z] go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2021-08-20T18:50:45.164Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-08-20T18:50:45.164Z] go: downloading github.com/stretchr/objx v0.1.0 [2021-08-20T18:50:45.164Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-08-20T18:50:45.164Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 [2021-08-20T18:50:45.164Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 [2021-08-20T18:50:45.164Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2021-08-20T18:50:45.432Z] go: downloading github.com/leodido/go-urn v1.2.0 [2021-08-20T18:50:45.699Z] go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 [2021-08-20T18:50:45.964Z] go: downloading golang.org/x/text v0.3.2 [2021-08-20T18:50:46.230Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-08-20T18:50:46.230Z] go: downloading github.com/go-playground/locales v0.13.0 [2021-08-20T18:50:48.812Z] go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2021-08-20T18:50:48.812Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2021-08-20T18:50:49.078Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-08-20T18:50:49.078Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-08-20T18:50:49.078Z] go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 [2021-08-20T18:50:49.347Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2021-08-20T18:50:49.347Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-08-20T18:50:49.347Z] go: downloading github.com/pelletier/go-toml v1.9.2 [2021-08-20T18:50:49.613Z] go: downloading github.com/hashicorp/consul/api v1.8.1 [2021-08-20T18:50:49.613Z] go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd [2021-08-20T18:50:50.195Z] go: downloading github.com/kr/pretty v0.2.0 [2021-08-20T18:50:50.195Z] go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2021-08-20T18:50:50.461Z] go: downloading github.com/x448/float16 v0.8.4 [2021-08-20T18:50:50.461Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-08-20T18:50:50.461Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-08-20T18:50:50.461Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-08-20T18:50:50.461Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-08-20T18:50:50.461Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-08-20T18:50:50.461Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-08-20T18:50:50.461Z] go: downloading github.com/hashicorp/consul/sdk v0.7.0 [2021-08-20T18:50:50.731Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-08-20T18:50:50.731Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-08-20T18:50:50.731Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-08-20T18:50:50.731Z] go: downloading github.com/kr/text v0.1.0 [2021-08-20T18:50:50.731Z] go: downloading github.com/fatih/color v1.9.0 [2021-08-20T18:50:50.731Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-08-20T18:50:50.731Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-08-20T18:50:50.731Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-08-20T18:50:50.998Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-08-20T18:50:50.998Z] go: downloading github.com/pkg/errors v0.8.1 [2021-08-20T18:50:50.998Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-08-20T18:50:50.998Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2021-08-20T18:50:50.998Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2021-08-20T18:50:50.998Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-08-20T18:50:50.998Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-08-20T18:50:51.267Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-08-20T18:50:51.267Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-08-20T18:50:51.267Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-08-20T18:50:51.267Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-08-20T18:50:51.533Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2021-08-20T18:50:51.803Z] go: downloading github.com/onsi/gomega v1.7.0 [2021-08-20T18:50:52.068Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-08-20T18:50:52.068Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2021-08-20T18:50:52.068Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2021-08-20T18:50:52.333Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2021-08-20T18:50:52.333Z] go: downloading github.com/miekg/dns v1.1.26 [2021-08-20T18:50:52.599Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-08-20T18:50:52.864Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-08-20T18:50:52.864Z] go: downloading github.com/hpcloud/tail v1.0.0 [2021-08-20T18:50:53.129Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2021-08-20T18:50:53.129Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2021-08-20T18:50:53.129Z] go: downloading github.com/golang/protobuf v1.3.2 [2021-08-20T18:50:53.397Z] go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 [2021-08-20T18:50:53.397Z] go: downloading github.com/fsnotify/fsnotify v1.4.7 [2021-08-20T18:50:53.666Z] 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-08-20T18:51:06.056Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/15/app-service-template' [2021-08-20T18:51:06.056Z] make -C ./app-service-template test [2021-08-20T18:51:06.056Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/15/app-service-template' [2021-08-20T18:51:06.056Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-08-20T18:51:09.412Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-411 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws [2021-08-20T18:51:09.430Z] Running in /w/workspace/app-functions-sdk-go/15 [Pipeline] { [Pipeline] checkout [2021-08-20T18:51:09.683Z] The recommended git tool is: git [2021-08-20T18:51:14.382Z] ok new-app-service 0.017s coverage: 47.8% of statements [2021-08-20T18:51:14.382Z] ? new-app-service/config [no test files] [2021-08-20T18:51:14.382Z] ok new-app-service/functions 0.007s [2021-08-20T18:51:14.382Z] CGO_ENABLED=1 go vet ./... [2021-08-20T18:51:14.574Z] using credential edgex-jenkins-ssh [2021-08-20T18:51:14.594Z] Cloning the remote Git repository [2021-08-20T18:51:14.673Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-08-20T18:51:14.794Z] > git init /w/workspace/app-functions-sdk-go/15 # timeout=10 [2021-08-20T18:51:14.854Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-08-20T18:51:14.855Z] > git --version # timeout=10 [2021-08-20T18:51:14.874Z] > git --version # 'git version 2.17.1' [2021-08-20T18:51:14.875Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-20T18:51:14.973Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-20T18:51:18.342Z] Avoid second fetch [2021-08-20T18:51:18.343Z] Checking out Revision 5b39ffbcbe47cfdbd6e7f27eea3a95ad74b4ef3b (main) [2021-08-20T18:51:18.299Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-08-20T18:51:18.324Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-20T18:51:18.364Z] > git config core.sparsecheckout # timeout=10 [2021-08-20T18:51:18.377Z] > git checkout -f 5b39ffbcbe47cfdbd6e7f27eea3a95ad74b4ef3b # timeout=10 [2021-08-20T18:51:21.072Z] gofmt -l . [2021-08-20T18:51:21.072Z] [ "`gofmt -l .`" = "" ] [2021-08-20T18:51:21.072Z] ./bin/test-attribution-txt.sh [2021-08-20T18:51:21.072Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/15/app-service-template' [2021-08-20T18:51:21.072Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-08-20T18:51:21.659Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-08-20T18:51:22.587Z] Commit message: "build(deps): bump github.com/google/uuid from 1.2.0 to 1.3.0 (#921)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2021-08-20T18:51:23.072Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.009s coverage: 63.6% of statements [2021-08-20T18:51:23.072Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.021s coverage: 96.5% of statements [2021-08-20T18:51:23.072Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [Pipeline] echo [2021-08-20T18:51:23.293Z] ========================================================= [2021-08-20T18:51:23.293Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-08-20T18:51:23.293Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-08-20T18:51:23.667Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.010s coverage: 61.8% of statements [2021-08-20T18:51:23.667Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-08-20T18:51:23.667Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.019s [2021-08-20T18:51:23.832Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-08-20T18:51:24.258Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.045s coverage: 74.5% of statements [2021-08-20T18:51:24.258Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-08-20T18:51:24.258Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-08-20T18:51:24.258Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-08-20T18:51:24.258Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-08-20T18:51:24.258Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-08-20T18:51:24.258Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-08-20T18:51:24.258Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.003s coverage: 97.1% of statements [2021-08-20T18:51:24.258Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-08-20T18:51:24.529Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.015s coverage: 10.5% of statements [2021-08-20T18:51:25.813Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-08-20T18:51:25.813Z] 595b0fe564bb: Pulling fs layer [2021-08-20T18:51:25.813Z] 24495759ef45: Pulling fs layer [2021-08-20T18:51:25.813Z] d148012ef14d: Pulling fs layer [2021-08-20T18:51:25.813Z] e90a11edd702: Pulling fs layer [2021-08-20T18:51:25.813Z] d77568369979: Pulling fs layer [2021-08-20T18:51:25.813Z] fc1c9f9a7f3b: Pulling fs layer [2021-08-20T18:51:25.813Z] 170f2ba95c9a: Pulling fs layer [2021-08-20T18:51:25.813Z] 97ac5df62f85: Pulling fs layer [2021-08-20T18:51:25.813Z] d77568369979: Waiting [2021-08-20T18:51:25.813Z] fc1c9f9a7f3b: Waiting [2021-08-20T18:51:25.813Z] 170f2ba95c9a: Waiting [2021-08-20T18:51:25.813Z] 97ac5df62f85: Waiting [2021-08-20T18:51:25.813Z] e90a11edd702: Waiting [2021-08-20T18:51:25.813Z] d148012ef14d: Verifying Checksum [2021-08-20T18:51:25.813Z] d148012ef14d: Download complete [2021-08-20T18:51:25.813Z] 24495759ef45: Verifying Checksum [2021-08-20T18:51:25.813Z] 24495759ef45: Download complete [2021-08-20T18:51:25.813Z] d77568369979: Verifying Checksum [2021-08-20T18:51:25.813Z] d77568369979: Download complete [2021-08-20T18:51:25.813Z] fc1c9f9a7f3b: Verifying Checksum [2021-08-20T18:51:25.813Z] 170f2ba95c9a: Download complete [2021-08-20T18:51:25.813Z] 595b0fe564bb: Verifying Checksum [2021-08-20T18:51:25.813Z] 595b0fe564bb: Download complete [2021-08-20T18:51:26.414Z] 595b0fe564bb: Pull complete [2021-08-20T18:51:27.018Z] 24495759ef45: Pull complete [2021-08-20T18:51:27.614Z] d148012ef14d: Pull complete [2021-08-20T18:51:27.882Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.737s coverage: 76.1% of statements [2021-08-20T18:51:27.882Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-08-20T18:51:27.882Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.006s coverage: 12.5% of statements [2021-08-20T18:51:27.882Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.012s coverage: 27.3% of statements [2021-08-20T18:51:27.882Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-08-20T18:51:27.882Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-08-20T18:51:27.882Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.006s coverage: 51.4% of statements [2021-08-20T18:51:30.238Z] 97ac5df62f85: Verifying Checksum [2021-08-20T18:51:30.238Z] 97ac5df62f85: Download complete [2021-08-20T18:51:30.238Z] e90a11edd702: Verifying Checksum [2021-08-20T18:51:30.238Z] e90a11edd702: Download complete [2021-08-20T18:51:42.746Z] e90a11edd702: Pull complete [2021-08-20T18:51:42.746Z] d77568369979: Pull complete [2021-08-20T18:51:42.746Z] fc1c9f9a7f3b: Pull complete [2021-08-20T18:51:42.746Z] 170f2ba95c9a: Pull complete [2021-08-20T18:51:48.162Z] 97ac5df62f85: Pull complete [2021-08-20T18:51:48.162Z] Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 [2021-08-20T18:51:48.162Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-08-20T18:51:48.162Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh [2021-08-20T18:51:48.575Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh [2021-08-20T18:51:48.919Z] + docker inspect -f . ci-base-image-arm64 [2021-08-20T18:51:48.919Z] . [Pipeline] withDockerContainer [2021-08-20T18:51:49.187Z] prd-ubuntu18.04-docker-arm64-4c-16g-411 does not seem to be running inside a container [2021-08-20T18:51:49.287Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/15 -v /w/workspace/app-functions-sdk-go/15:/w/workspace/app-functions-sdk-go/15:rw,z -v /w/workspace/app-functions-sdk-go/15@tmp:/w/workspace/app-functions-sdk-go/15@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-08-20T18:51:54.002Z] $ docker top f9b29bfe1638cc3a3ac40b4e08b929f0cd5a7f190c6cd30f62cb4bfafc9dbce3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-20T18:51:54.567Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.063s coverage: 78.1% of statements [2021-08-20T18:51:54.567Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.006s coverage: 94.4% of statements [2021-08-20T18:51:54.567Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-08-20T18:51:54.567Z] gofmt -l . [2021-08-20T18:51:54.567Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-08-20T18:51:54.585Z] $ docker stop --time=1 b250e037e42f9259c3a13e4f6e79c7e9a98612556fc0bc8c822d0b0a44686633 [2021-08-20T18:51:54.999Z] + go version [2021-08-20T18:51:54.999Z] go version go1.16.6 linux/arm64 [2021-08-20T18:51:55.849Z] $ docker rm -f b250e037e42f9259c3a13e4f6e79c7e9a98612556fc0bc8c822d0b0a44686633 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] } [2021-08-20T18:51:56.200Z] $ docker stop --time=1 f9b29bfe1638cc3a3ac40b4e08b929f0cd5a7f190c6cd30f62cb4bfafc9dbce3 [2021-08-20T18:51:56.454Z] + sudo chown -R jenkins:jenkins . [2021-08-20T18:51:58.160Z] $ docker rm -f f9b29bfe1638cc3a3ac40b4e08b929f0cd5a7f190c6cd30f62cb4bfafc9dbce3 [Pipeline] // withDockerContainer [Pipeline] stash [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-20T18:51:58.656Z] Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [2021-08-20T18:51:58.974Z] + docker inspect -f . ci-base-image-arm64 [2021-08-20T18:51:58.974Z] . [Pipeline] // stage [Pipeline] withDockerContainer [2021-08-20T18:51:59.360Z] prd-ubuntu18.04-docker-arm64-4c-16g-411 does not seem to be running inside a container [2021-08-20T18:51:59.440Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/15 -v /w/workspace/app-functions-sdk-go/15:/w/workspace/app-functions-sdk-go/15:rw,z -v /w/workspace/app-functions-sdk-go/15@tmp:/w/workspace/app-functions-sdk-go/15@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-08-20T18:52:01.054Z] $ docker top 619eb12634b2b07250e31cc2f3bc62e625e36d7998c9cdf295ebc5291e24165b -eo pid,comm [Pipeline] { [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] fileExists [Pipeline] sh 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-08-20T18:52:01.973Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-20T18:52:01.973Z] [2021-08-20T18:52:01.973Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [2021-08-20T18:52:02.002Z] + make test [2021-08-20T18:52:02.002Z] make -C ./app-service-template build [2021-08-20T18:52:02.002Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/15/app-service-template' [2021-08-20T18:52:02.002Z] go mod tidy [Pipeline] sh [2021-08-20T18:52:02.306Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-20T18:52:02.306Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-20T18:52:02.306Z] b4d181a07f80: Pulling fs layer [2021-08-20T18:52:02.306Z] a1111a8f2ec3: Pulling fs layer [2021-08-20T18:52:02.306Z] ed53099fbce6: Pulling fs layer [2021-08-20T18:52:02.306Z] dc539afda2c1: Pulling fs layer [2021-08-20T18:52:02.306Z] 77bc0d833cb6: Pulling fs layer [2021-08-20T18:52:02.306Z] 9065ff56babe: Pulling fs layer [2021-08-20T18:52:02.306Z] d287ab97295c: Pulling fs layer [2021-08-20T18:52:02.306Z] dc539afda2c1: Waiting [2021-08-20T18:52:02.306Z] 77bc0d833cb6: Waiting [2021-08-20T18:52:02.306Z] 9065ff56babe: Waiting [2021-08-20T18:52:02.306Z] d287ab97295c: Waiting [2021-08-20T18:52:02.575Z] a1111a8f2ec3: Verifying Checksum [2021-08-20T18:52:02.575Z] a1111a8f2ec3: Download complete [2021-08-20T18:52:02.575Z] dc539afda2c1: Verifying Checksum [2021-08-20T18:52:02.575Z] dc539afda2c1: Download complete [2021-08-20T18:52:02.842Z] 77bc0d833cb6: Verifying Checksum [2021-08-20T18:52:02.842Z] 77bc0d833cb6: Download complete [2021-08-20T18:52:02.842Z] 9065ff56babe: Verifying Checksum [2021-08-20T18:52:02.842Z] 9065ff56babe: Download complete [2021-08-20T18:52:03.109Z] ed53099fbce6: Verifying Checksum [2021-08-20T18:52:03.109Z] ed53099fbce6: Download complete [2021-08-20T18:52:03.439Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 [2021-08-20T18:52:03.439Z] go: downloading github.com/google/uuid v1.3.0 [2021-08-20T18:52:03.439Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-08-20T18:52:03.439Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 [2021-08-20T18:52:03.439Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 [2021-08-20T18:52:03.439Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 [2021-08-20T18:52:03.715Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-08-20T18:52:03.715Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-08-20T18:52:03.715Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2021-08-20T18:52:03.715Z] go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2021-08-20T18:52:03.715Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-08-20T18:52:03.715Z] go: downloading github.com/stretchr/objx v0.1.0 [2021-08-20T18:52:03.715Z] go: downloading github.com/go-playground/validator/v10 v10.6.1 [2021-08-20T18:52:03.995Z] go: downloading github.com/go-kit/kit v0.9.0 [2021-08-20T18:52:03.995Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2021-08-20T18:52:03.995Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-08-20T18:52:03.995Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 [2021-08-20T18:52:03.995Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 [2021-08-20T18:52:03.995Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2021-08-20T18:52:03.995Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-08-20T18:52:04.069Z] b4d181a07f80: Verifying Checksum [2021-08-20T18:52:04.069Z] b4d181a07f80: Download complete [2021-08-20T18:52:04.268Z] go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2021-08-20T18:52:04.268Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-08-20T18:52:04.268Z] go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 [2021-08-20T18:52:04.268Z] go: downloading github.com/hashicorp/consul/api v1.8.1 [2021-08-20T18:52:04.268Z] go: downloading github.com/pelletier/go-toml v1.9.2 [2021-08-20T18:52:04.268Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2021-08-20T18:52:04.548Z] go: downloading github.com/leodido/go-urn v1.2.0 [2021-08-20T18:52:04.548Z] go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 [2021-08-20T18:52:04.548Z] go: downloading golang.org/x/text v0.3.2 [2021-08-20T18:52:04.825Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-08-20T18:52:05.049Z] b4d181a07f80: Pull complete [2021-08-20T18:52:05.100Z] go: downloading github.com/go-playground/locales v0.13.0 [2021-08-20T18:52:05.329Z] a1111a8f2ec3: Pull complete [2021-08-20T18:52:05.914Z] ed53099fbce6: Pull complete [2021-08-20T18:52:05.914Z] dc539afda2c1: Pull complete [2021-08-20T18:52:06.496Z] 77bc0d833cb6: Pull complete [2021-08-20T18:52:06.496Z] 9065ff56babe: Pull complete [2021-08-20T18:52:07.751Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-08-20T18:52:07.751Z] go: downloading github.com/x448/float16 v0.8.4 [2021-08-20T18:52:07.751Z] go: downloading github.com/kr/pretty v0.2.0 [2021-08-20T18:52:07.751Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2021-08-20T18:52:07.751Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-08-20T18:52:07.751Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-08-20T18:52:07.751Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-08-20T18:52:07.751Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-08-20T18:52:07.751Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-08-20T18:52:07.751Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-08-20T18:52:08.024Z] go: downloading github.com/hashicorp/consul/sdk v0.7.0 [2021-08-20T18:52:08.024Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-08-20T18:52:08.024Z] go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd [2021-08-20T18:52:08.024Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-08-20T18:52:08.024Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-08-20T18:52:08.024Z] go: downloading github.com/kr/text v0.1.0 [2021-08-20T18:52:08.303Z] go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2021-08-20T18:52:08.303Z] go: downloading github.com/fatih/color v1.9.0 [2021-08-20T18:52:08.303Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-08-20T18:52:08.303Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-08-20T18:52:08.303Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-08-20T18:52:08.303Z] go: downloading github.com/pkg/errors v0.8.1 [2021-08-20T18:52:08.303Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2021-08-20T18:52:08.303Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-08-20T18:52:08.303Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-08-20T18:52:08.303Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-08-20T18:52:08.438Z] d287ab97295c: Verifying Checksum [2021-08-20T18:52:08.438Z] d287ab97295c: Download complete [2021-08-20T18:52:08.583Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-08-20T18:52:08.583Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-08-20T18:52:08.583Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2021-08-20T18:52:08.583Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-08-20T18:52:08.583Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2021-08-20T18:52:08.583Z] go: downloading github.com/onsi/gomega v1.7.0 [2021-08-20T18:52:08.864Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-08-20T18:52:08.864Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-08-20T18:52:08.864Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2021-08-20T18:52:08.864Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2021-08-20T18:52:08.864Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2021-08-20T18:52:08.864Z] go: downloading github.com/miekg/dns v1.1.26 [2021-08-20T18:52:08.864Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-08-20T18:52:08.864Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-08-20T18:52:09.140Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-08-20T18:52:09.140Z] go: downloading github.com/hpcloud/tail v1.0.0 [2021-08-20T18:52:09.140Z] go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 [2021-08-20T18:52:09.140Z] go: downloading github.com/golang/protobuf v1.3.2 [2021-08-20T18:52:09.140Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2021-08-20T18:52:09.140Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2021-08-20T18:52:09.140Z] go: downloading github.com/fsnotify/fsnotify v1.4.7 [2021-08-20T18:52:09.415Z] 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-08-20T18:52:13.823Z] d287ab97295c: Pull complete [2021-08-20T18:52:13.823Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-20T18:52:13.823Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-20T18:52:13.823Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-20T18:52:13.907Z] prd-centos7-docker-4c-2g-412 does not seem to be running inside a container [2021-08-20T18:52:13.964Z] $ 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/15 -v /w/workspace/app-functions-sdk-go/15:/w/workspace/app-functions-sdk-go/15:rw,z -v /w/workspace/app-functions-sdk-go/15@tmp:/w/workspace/app-functions-sdk-go/15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-08-20T18:52:16.843Z] $ docker top 523162ac3a2d9008519a31589c91696333dd4dd5f3f251efbf7b30276f0305a2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-20T18:52:17.302Z] ---> job-cost.sh [2021-08-20T18:52:17.302Z] lf-activate-venv: SKIPPING [2021-08-20T18:52:17.302Z] INFO: No Stack... [2021-08-20T18:52:18.262Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-20T18:52:18.527Z] INFO: Archiving Costs [Pipeline] sh [2021-08-20T18:52:18.845Z] + cat /w/workspace/app-functions-sdk-go/15/archives/cost.csv [2021-08-20T18:52:18.845Z] + cut -d, -f6 [Pipeline] lock [2021-08-20T18:52:18.886Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-15-stack-cost] [2021-08-20T18:52:18.900Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-15-stack-cost] did not exist. Created. [2021-08-20T18:52:18.900Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-20T18:52:19.241Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-08-20T18:52:19.280Z] Stashed 1 file(s) [Pipeline] } [2021-08-20T18:52:19.292Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-15-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-20T18:52:19.318Z] $ docker stop --time=1 523162ac3a2d9008519a31589c91696333dd4dd5f3f251efbf7b30276f0305a2 [2021-08-20T18:52:20.455Z] $ docker rm -f 523162ac3a2d9008519a31589c91696333dd4dd5f3f251efbf7b30276f0305a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-08-20T18:52:48.487Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/15/app-service-template' [2021-08-20T18:52:48.487Z] make -C ./app-service-template test [2021-08-20T18:52:48.487Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/15/app-service-template' [2021-08-20T18:52:48.487Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-08-20T18:53:15.311Z] ok new-app-service 0.046s coverage: 47.8% of statements [2021-08-20T18:53:15.311Z] ? new-app-service/config [no test files] [2021-08-20T18:53:15.311Z] ok new-app-service/functions 0.053s [2021-08-20T18:53:15.311Z] CGO_ENABLED=1 go vet ./... [2021-08-20T18:53:42.159Z] gofmt -l . [2021-08-20T18:53:42.159Z] [ "`gofmt -l .`" = "" ] [2021-08-20T18:53:42.159Z] ./bin/test-attribution-txt.sh [2021-08-20T18:53:42.159Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/15/app-service-template' [2021-08-20T18:53:42.159Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-08-20T18:53:42.159Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-08-20T18:53:50.483Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.117s coverage: 63.6% of statements [2021-08-20T18:53:50.483Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.064s coverage: 96.5% of statements [2021-08-20T18:53:50.484Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-08-20T18:53:50.484Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.103s coverage: 61.8% of statements [2021-08-20T18:53:50.484Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-08-20T18:53:50.484Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.052s [2021-08-20T18:53:50.484Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.088s coverage: 74.5% of statements [2021-08-20T18:53:50.484Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-08-20T18:53:50.484Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-08-20T18:53:50.484Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-08-20T18:53:50.484Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-08-20T18:53:50.484Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-08-20T18:53:50.484Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-08-20T18:53:50.484Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.020s coverage: 97.1% of statements [2021-08-20T18:53:50.484Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-08-20T18:53:51.101Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.036s coverage: 10.5% of statements [2021-08-20T18:53:57.849Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.805s coverage: 76.1% of statements [2021-08-20T18:53:57.849Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-08-20T18:53:57.849Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.043s coverage: 12.5% of statements [2021-08-20T18:53:57.849Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.088s coverage: 27.3% of statements [2021-08-20T18:53:57.849Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-08-20T18:53:57.849Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-08-20T18:53:57.849Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.044s coverage: 51.4% of statements [2021-08-20T18:54:24.790Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.146s coverage: 78.1% of statements [2021-08-20T18:54:24.790Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.034s coverage: 94.4% of statements [2021-08-20T18:54:24.790Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-08-20T18:54:26.866Z] gofmt -l . [2021-08-20T18:54:27.142Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-08-20T18:54:27.799Z] $ docker stop --time=1 619eb12634b2b07250e31cc2f3bc62e625e36d7998c9cdf295ebc5291e24165b [2021-08-20T18:54:29.884Z] $ docker rm -f 619eb12634b2b07250e31cc2f3bc62e625e36d7998c9cdf295ebc5291e24165b [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-20T18:54:32.186Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-08-20T18:54:32.222Z] Warning: overwriting stash ‘coverage-report’ [2021-08-20T18:54:32.885Z] 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-08-20T18:54:33.671Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-20T18:54:33.949Z] [2021-08-20T18:54:33.949Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-08-20T18:54:34.311Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-20T18:54:34.605Z] arm64: Pulling from edgex-lftools-log-publisher [2021-08-20T18:54:34.605Z] 448f6bf000e3: Pulling fs layer [2021-08-20T18:54:34.605Z] f757da607395: Pulling fs layer [2021-08-20T18:54:34.605Z] 05883995daec: Pulling fs layer [2021-08-20T18:54:34.605Z] 8603b9c90790: Pulling fs layer [2021-08-20T18:54:34.605Z] 1560dd03e051: Pulling fs layer [2021-08-20T18:54:34.605Z] 27f5ce0e4adf: Pulling fs layer [2021-08-20T18:54:34.605Z] c2d8d7efcc4b: Pulling fs layer [2021-08-20T18:54:34.605Z] 1560dd03e051: Waiting [2021-08-20T18:54:34.605Z] 27f5ce0e4adf: Waiting [2021-08-20T18:54:34.605Z] c2d8d7efcc4b: Waiting [2021-08-20T18:54:34.605Z] 8603b9c90790: Waiting [2021-08-20T18:54:34.881Z] f757da607395: Verifying Checksum [2021-08-20T18:54:34.881Z] f757da607395: Download complete [2021-08-20T18:54:35.160Z] 8603b9c90790: Verifying Checksum [2021-08-20T18:54:35.160Z] 8603b9c90790: Download complete [2021-08-20T18:54:35.160Z] 05883995daec: Verifying Checksum [2021-08-20T18:54:35.160Z] 05883995daec: Download complete [2021-08-20T18:54:35.160Z] 1560dd03e051: Verifying Checksum [2021-08-20T18:54:35.160Z] 1560dd03e051: Download complete [2021-08-20T18:54:35.160Z] 27f5ce0e4adf: Verifying Checksum [2021-08-20T18:54:35.160Z] 27f5ce0e4adf: Download complete [2021-08-20T18:54:36.633Z] 448f6bf000e3: Verifying Checksum [2021-08-20T18:54:36.633Z] 448f6bf000e3: Download complete [2021-08-20T18:54:40.222Z] c2d8d7efcc4b: Verifying Checksum [2021-08-20T18:54:40.222Z] c2d8d7efcc4b: Download complete [2021-08-20T18:54:40.222Z] 448f6bf000e3: Pull complete [2021-08-20T18:54:40.834Z] f757da607395: Pull complete [2021-08-20T18:54:42.356Z] 05883995daec: Pull complete [2021-08-20T18:54:42.637Z] 8603b9c90790: Pull complete [2021-08-20T18:54:43.633Z] 1560dd03e051: Pull complete [2021-08-20T18:54:44.237Z] 27f5ce0e4adf: Pull complete [2021-08-20T18:54:59.536Z] c2d8d7efcc4b: Pull complete [2021-08-20T18:54:59.536Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-08-20T18:54:59.536Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-20T18:54:59.536Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-08-20T18:54:59.854Z] prd-ubuntu18.04-docker-arm64-4c-16g-411 does not seem to be running inside a container [2021-08-20T18:54:59.949Z] $ 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/15 -v /w/workspace/app-functions-sdk-go/15:/w/workspace/app-functions-sdk-go/15:rw,z -v /w/workspace/app-functions-sdk-go/15@tmp:/w/workspace/app-functions-sdk-go/15@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-08-20T18:55:03.987Z] $ docker top 3ab880611e5c9823bc2107d573ccf856d1bc84f79e0d51f65dab412f8917bb0c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-20T18:55:04.998Z] ---> job-cost.sh [2021-08-20T18:55:04.998Z] lf-activate-venv: SKIPPING [2021-08-20T18:55:04.998Z] INFO: No Stack... [2021-08-20T18:55:05.979Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-08-20T18:55:06.254Z] INFO: Archiving Costs [Pipeline] sh [2021-08-20T18:55:06.990Z] + cat /w/workspace/app-functions-sdk-go/15/archives/cost.csv [2021-08-20T18:55:06.990Z] + cut -d, -f6 [Pipeline] lock [2021-08-20T18:55:07.086Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-15-stack-cost] [2021-08-20T18:55:07.105Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-15-stack-cost] did not exist. Created. [2021-08-20T18:55:07.105Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-20T18:55:07.813Z] /w/workspace/app-functions-sdk-go/15@tmp/durable-9920e935/script.sh: 1: /w/workspace/app-functions-sdk-go/15@tmp/durable-9920e935/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-08-20T18:55:08.493Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-08-20T18:55:08.526Z] Warning: overwriting stash ‘stack-cost’ [2021-08-20T18:55:08.592Z] Stashed 1 file(s) [Pipeline] } [2021-08-20T18:55:08.601Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-15-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-20T18:55:08.636Z] $ docker stop --time=1 3ab880611e5c9823bc2107d573ccf856d1bc84f79e0d51f65dab412f8917bb0c [2021-08-20T18:55:10.434Z] $ docker rm -f 3ab880611e5c9823bc2107d573ccf856d1bc84f79e0d51f65dab412f8917bb0c [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-08-20T18:55:11.465Z] provisioning config files... [2021-08-20T18:55:11.491Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config1324105831031867565tmp [Pipeline] { [Pipeline] sh [2021-08-20T18:55:11.868Z] + set +x [2021-08-20T18:55:11.868Z] + curl -s https://codecov.io/bash [2021-08-20T18:55:11.868Z] + bash -s -- [2021-08-20T18:55:11.868Z] [2021-08-20T18:55:11.868Z] _____ _ [2021-08-20T18:55:11.868Z] / ____| | | [2021-08-20T18:55:11.868Z] | | ___ __| | ___ ___ _____ __ [2021-08-20T18:55:11.868Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-08-20T18:55:11.868Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-08-20T18:55:11.868Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-08-20T18:55:11.868Z] Bash-1.0.6 [2021-08-20T18:55:11.868Z] [2021-08-20T18:55:11.868Z] [2021-08-20T18:55:11.868Z] ==> git version 2.24.4 found [2021-08-20T18:55:11.868Z] ==> 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-08-20T18:55:11.868Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-08-20T18:55:11.868Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-08-20T18:55:11.868Z] ==> Jenkins CI detected. [2021-08-20T18:55:11.868Z] current dir:  /w/workspace/oundry_app-functions-sdk-go_main [2021-08-20T18:55:11.868Z] project root: . [2021-08-20T18:55:11.868Z] --> token set from env [2021-08-20T18:55:11.869Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-08-20T18:55:12.144Z] ==> Running gcov in . (disable via -X gcov) [2021-08-20T18:55:12.144Z] ==> Python coveragepy not found [2021-08-20T18:55:12.144Z] ==> Searching for coverage reports in: [2021-08-20T18:55:12.144Z] + . [2021-08-20T18:55:12.144Z] -> Found 2 reports [2021-08-20T18:55:12.144Z] ==> Detecting git/mercurial file structure [2021-08-20T18:55:12.144Z] ==> Reading reports [2021-08-20T18:55:12.144Z] + ./app-service-template/coverage.out bytes=1055 [2021-08-20T18:55:12.144Z] + ./coverage.out bytes=95183 [2021-08-20T18:55:12.144Z] ==> Appending adjustments [2021-08-20T18:55:12.144Z] https://docs.codecov.io/docs/fixing-reports [2021-08-20T18:55:12.423Z] + Found adjustments [2021-08-20T18:55:12.423Z] ==> Gzipping contents [2021-08-20T18:55:12.423Z] 20K /tmp/codecov.uWodz4.gz [2021-08-20T18:55:12.423Z] ==> Uploading reports [2021-08-20T18:55:12.423Z] url: https://codecov.io [2021-08-20T18:55:12.423Z] query: branch=main&commit=5b39ffbcbe47cfdbd6e7f27eea3a95ad74b4ef3b&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F15%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-08-20T18:55:12.423Z] -> Pinging Codecov [2021-08-20T18:55:12.423Z] 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=5b39ffbcbe47cfdbd6e7f27eea3a95ad74b4ef3b&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F15%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-08-20T18:55:13.020Z] -> Uploading to [2021-08-20T18:55:13.020Z] https://storage.googleapis.com/codecov/v4/raw/2021-08-20/3D8B5DFFC46A037C893635FACE044666/5b39ffbcbe47cfdbd6e7f27eea3a95ad74b4ef3b/8d275d11-9c8a-4222-b0d6-b03a5adf5ead.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210820%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210820T185512Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f92f2719695493c18276122bfb0a6ff957ed81592b38de80ec26bd80066307c2 [2021-08-20T18:55:13.020Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-08-20T18:55:13.020Z] Dload Upload Total Spent Left Speed [2021-08-20T18:55:13.288Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16443 0 0 100 16443 0 42372 --:--:-- --:--:-- --:--:-- 42488 [2021-08-20T18:55:13.288Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/5b39ffbcbe47cfdbd6e7f27eea3a95ad74b4ef3b [Pipeline] } [2021-08-20T18:55:13.302Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-08-20T18:55:13.658Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-08-20T18:55:13.680Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-20T18:55:14.275Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-08-20T18:55:14.275Z] [2021-08-20T18:55:14.275Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-08-20T18:55:14.632Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-08-20T18:55:14.632Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-08-20T18:55:14.632Z] 188c0c94c7c5: Pulling fs layer [2021-08-20T18:55:14.632Z] 0ef7d3d256c8: Pulling fs layer [2021-08-20T18:55:14.632Z] de9db76c5a1d: Pulling fs layer [2021-08-20T18:55:14.632Z] 0eba1c9be4d2: Pulling fs layer [2021-08-20T18:55:14.632Z] 0d57e429df01: Pulling fs layer [2021-08-20T18:55:14.632Z] 4e4be7b47b0d: Pulling fs layer [2021-08-20T18:55:14.632Z] e1f770b5df2f: Pulling fs layer [2021-08-20T18:55:14.632Z] 85a0685a4137: Pulling fs layer [2021-08-20T18:55:14.632Z] 0d57e429df01: Waiting [2021-08-20T18:55:14.632Z] 4e4be7b47b0d: Waiting [2021-08-20T18:55:14.632Z] e1f770b5df2f: Waiting [2021-08-20T18:55:14.632Z] 85a0685a4137: Waiting [2021-08-20T18:55:14.632Z] 0eba1c9be4d2: Waiting [2021-08-20T18:55:14.632Z] de9db76c5a1d: Verifying Checksum [2021-08-20T18:55:14.632Z] de9db76c5a1d: Download complete [2021-08-20T18:55:14.632Z] 0ef7d3d256c8: Verifying Checksum [2021-08-20T18:55:14.632Z] 0ef7d3d256c8: Download complete [2021-08-20T18:55:14.632Z] 0d57e429df01: Verifying Checksum [2021-08-20T18:55:14.632Z] 0d57e429df01: Download complete [2021-08-20T18:55:14.632Z] 4e4be7b47b0d: Verifying Checksum [2021-08-20T18:55:14.632Z] 4e4be7b47b0d: Download complete [2021-08-20T18:55:14.914Z] 188c0c94c7c5: Verifying Checksum [2021-08-20T18:55:14.914Z] 188c0c94c7c5: Download complete [2021-08-20T18:55:15.419Z] 188c0c94c7c5: Pull complete [2021-08-20T18:55:15.419Z] 0ef7d3d256c8: Pull complete [2021-08-20T18:55:15.419Z] de9db76c5a1d: Pull complete [2021-08-20T18:55:16.413Z] e1f770b5df2f: Verifying Checksum [2021-08-20T18:55:16.413Z] e1f770b5df2f: Download complete [2021-08-20T18:55:23.555Z] 0eba1c9be4d2: Verifying Checksum [2021-08-20T18:55:23.555Z] 0eba1c9be4d2: Download complete [2021-08-20T18:55:24.630Z] 85a0685a4137: Verifying Checksum [2021-08-20T18:55:24.630Z] 85a0685a4137: Download complete [2021-08-20T18:55:27.471Z] 0eba1c9be4d2: Pull complete [2021-08-20T18:55:27.471Z] 0d57e429df01: Pull complete [2021-08-20T18:55:27.471Z] 4e4be7b47b0d: Pull complete [2021-08-20T18:55:28.136Z] e1f770b5df2f: Pull complete [2021-08-20T18:55:32.567Z] 85a0685a4137: Pull complete [2021-08-20T18:55:32.567Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-08-20T18:55:32.567Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-08-20T18:55:32.567Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-08-20T18:55:32.727Z] prd-centos7-docker-4c-2g-409 does not seem to be running inside a container [2021-08-20T18:55:32.859Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-08-20T18:55:34.993Z] $ docker top e6892a50bb54e458efc6e71c89e0d3ada41f89daa1a62735a16b1a5aa7fa2e7f -eo pid,comm [Pipeline] { [Pipeline] echo [2021-08-20T18:55:35.098Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-08-20T18:55:35.486Z] + set -o pipefail [2021-08-20T18:55:35.486Z] + snyk monitor '--org=edgex-jenkins' [2021-08-20T18:55:40.947Z] [2021-08-20T18:55:40.947Z] Monitoring /w/workspace/oundry_app-functions-sdk-go_main (github.com/edgexfoundry/app-functions-sdk-go/v2)... [2021-08-20T18:55:40.947Z] [2021-08-20T18:55:40.947Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/fa3fe776-7c12-4f13-9014-20be8bb949b7 [2021-08-20T18:55:40.947Z] [2021-08-20T18:55:40.947Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-08-20T18:55:40.947Z] [2021-08-20T18:55:40.947Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-08-20T18:55:40.947Z] [2021-08-20T18:55:40.947Z] [2021-08-20T18:55:40.947Z] You have reached your monthly limit of 200 private tests for your edgex-jenkins org. [2021-08-20T18:55:40.947Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2021-08-20T18:55:40.977Z] $ docker stop --time=1 e6892a50bb54e458efc6e71c89e0d3ada41f89daa1a62735a16b1a5aa7fa2e7f [2021-08-20T18:55:43.086Z] $ docker rm -f e6892a50bb54e458efc6e71c89e0d3ada41f89daa1a62735a16b1a5aa7fa2e7f [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-08-20T18:55:43.828Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-20T18:55:43.854Z] provisioning config files... [2021-08-20T18:55:43.854Z] not able to provide the file [ManagedFile: id=swaggerhub-api-key, targetLocation=null, variable=APIKEY], can't be resolved by any provider - maybe it got deleted by an administrator? [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] error [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-08-20T18:55:44.927Z] + '[' -d /w/workspace/oundry_app-functions-sdk-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-08-20T18:55:45.273Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-20T18:55:46.013Z] ---> package-listing.sh [2021-08-20T18:55:46.013Z] ++ tr '[:upper:]' '[:lower:]' [2021-08-20T18:55:46.013Z] ++ facter osfamily [2021-08-20T18:55:46.013Z] + OS_FAMILY=redhat [2021-08-20T18:55:46.013Z] + workspace=/w/workspace/oundry_app-functions-sdk-go_main [2021-08-20T18:55:46.013Z] + START_PACKAGES=/tmp/packages_start.txt [2021-08-20T18:55:46.013Z] + END_PACKAGES=/tmp/packages_end.txt [2021-08-20T18:55:46.013Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-08-20T18:55:46.013Z] + PACKAGES=/tmp/packages_start.txt [2021-08-20T18:55:46.013Z] + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' [2021-08-20T18:55:46.013Z] + PACKAGES=/tmp/packages_end.txt [2021-08-20T18:55:46.013Z] + case "${OS_FAMILY}" in [2021-08-20T18:55:46.013Z] + sort [2021-08-20T18:55:46.013Z] + rpm -qa [2021-08-20T18:55:47.004Z] + '[' -f /tmp/packages_start.txt ']' [2021-08-20T18:55:47.004Z] + '[' -f /tmp/packages_end.txt ']' [2021-08-20T18:55:47.004Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-08-20T18:55:47.004Z] + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' [2021-08-20T18:55:47.004Z] + mkdir -p /w/workspace/oundry_app-functions-sdk-go_main/archives/ [2021-08-20T18:55:47.004Z] + 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-08-20T18:55:47.033Z] 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-08-20T18:55:47.427Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-08-20T18:55:47.868Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-20T18:55:47.868Z] [2021-08-20T18:55:47.868Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-20T18:55:48.281Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-20T18:55:48.282Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-20T18:55:48.282Z] b4d181a07f80: Pulling fs layer [2021-08-20T18:55:48.282Z] a1111a8f2ec3: Pulling fs layer [2021-08-20T18:55:48.282Z] ed53099fbce6: Pulling fs layer [2021-08-20T18:55:48.282Z] dc539afda2c1: Pulling fs layer [2021-08-20T18:55:48.282Z] 77bc0d833cb6: Pulling fs layer [2021-08-20T18:55:48.282Z] 9065ff56babe: Pulling fs layer [2021-08-20T18:55:48.282Z] d287ab97295c: Pulling fs layer [2021-08-20T18:55:48.282Z] dc539afda2c1: Waiting [2021-08-20T18:55:48.282Z] 77bc0d833cb6: Waiting [2021-08-20T18:55:48.282Z] 9065ff56babe: Waiting [2021-08-20T18:55:48.282Z] d287ab97295c: Waiting [2021-08-20T18:55:48.884Z] a1111a8f2ec3: Verifying Checksum [2021-08-20T18:55:48.884Z] a1111a8f2ec3: Download complete [2021-08-20T18:55:48.884Z] dc539afda2c1: Verifying Checksum [2021-08-20T18:55:48.884Z] dc539afda2c1: Download complete [2021-08-20T18:55:49.474Z] 77bc0d833cb6: Verifying Checksum [2021-08-20T18:55:49.474Z] 77bc0d833cb6: Download complete [2021-08-20T18:55:49.474Z] 9065ff56babe: Verifying Checksum [2021-08-20T18:55:49.474Z] 9065ff56babe: Download complete [2021-08-20T18:55:49.745Z] ed53099fbce6: Verifying Checksum [2021-08-20T18:55:49.745Z] ed53099fbce6: Download complete [2021-08-20T18:55:51.202Z] b4d181a07f80: Verifying Checksum [2021-08-20T18:55:51.202Z] b4d181a07f80: Download complete [2021-08-20T18:55:52.197Z] b4d181a07f80: Pull complete [2021-08-20T18:55:52.525Z] a1111a8f2ec3: Pull complete [2021-08-20T18:55:53.152Z] ed53099fbce6: Pull complete [2021-08-20T18:55:53.152Z] dc539afda2c1: Pull complete [2021-08-20T18:55:53.496Z] 77bc0d833cb6: Pull complete [2021-08-20T18:55:53.496Z] 9065ff56babe: Pull complete [2021-08-20T18:55:57.987Z] d287ab97295c: Verifying Checksum [2021-08-20T18:55:57.987Z] d287ab97295c: Download complete [2021-08-20T18:56:02.295Z] d287ab97295c: Pull complete [2021-08-20T18:56:02.295Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-20T18:56:02.295Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-20T18:56:02.295Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-20T18:56:02.419Z] prd-centos7-docker-4c-2g-409 does not seem to be running inside a container [2021-08-20T18:56:02.521Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-08-20T18:56:04.751Z] $ docker top 3b1be2f1ad9a4fb2e4181996f4b7d87c2b7d980201f60f0bbcff1cde7083fa48 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-20T18:56:05.184Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-08-20T18:56:05.522Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-08-20T18:56:05.860Z] + ls /var/log/sa-host [2021-08-20T18:56:05.860Z] + sadf -c /var/log/sa-host/sa19 [2021-08-20T18:56:05.860Z] file_magic: OK [2021-08-20T18:56:05.860Z] HZ: Using current value: 100 [2021-08-20T18:56:05.860Z] file_header: OK [2021-08-20T18:56:05.860Z] 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-08-20T18:56:05.860Z] Statistics: [2021-08-20T18:56:05.860Z] Hnuu...uuuununununu... [2021-08-20T18:56:05.860Z] File successfully converted to sysstat format version 12.0.3 [2021-08-20T18:56:05.860Z] + sadf -c /var/log/sa-host/sa20 [2021-08-20T18:56:05.860Z] file_magic: OK [2021-08-20T18:56:05.860Z] HZ: Using current value: 100 [2021-08-20T18:56:05.860Z] file_header: OK [2021-08-20T18:56:05.860Z] 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-08-20T18:56:05.860Z] Statistics: [2021-08-20T18:56:05.860Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-20T18:56:05.860Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-20T18:56:06.049Z] provisioning config files... [2021-08-20T18:56:06.070Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config2820764571954234727tmp [Pipeline] { [Pipeline] echo [2021-08-20T18:56:06.099Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-20T18:56:06.438Z] ---> create-netrc.sh [Pipeline] } [2021-08-20T18:56:06.465Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-08-20T18:56:06.916Z] ---> python-tools-install.sh [Pipeline] echo [2021-08-20T18:56:06.936Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-20T18:56:07.271Z] ---> sudo-logs.sh [2021-08-20T18:56:07.271Z] Archiving 'sudo' log.. [2021-08-20T18:56:07.271Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-409.vexxhost.local: Name or service not known [2021-08-20T18:56:07.271Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-409.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-08-20T18:56:07.325Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-20T18:56:07.680Z] ---> job-cost.sh [2021-08-20T18:56:07.681Z] lf-activate-venv: SKIPPING [2021-08-20T18:56:07.681Z] DEBUG: total: 0.10999999940395355 [2021-08-20T18:56:07.681Z] INFO: Retrieving Stack Cost... [2021-08-20T18:56:08.666Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-20T18:56:08.938Z] INFO: Archiving Costs [Pipeline] echo [2021-08-20T18:56:08.966Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-20T18:56:09.309Z] ---> logs-deploy.sh [2021-08-20T18:56:09.309Z] lf-activate-venv: SKIPPING [2021-08-20T18:56:09.309Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/main/15 [2021-08-20T18:56:09.309Z] INFO: archiving workspace using pattern(s): [2021-08-20T18:56:09.905Z] Archives upload complete. [2021-08-20T18:56:10.177Z] INFO: archiving logs to Nexus