Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 042dfbc200e9a033131772982770329148424ff7 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-ssh343890671027670820.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-ssh2370154365374322416.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-ssh488557267554630658.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-ssh7341551014482766222.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-ssh200125907141986444.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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-345 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-ssh1162870891972012354.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 042dfbc200e9a033131772982770329148424ff7 (main) > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 042dfbc200e9a033131772982770329148424ff7 # timeout=10 Commit message: "build: Commit go.sum and remove go mod tidy calls (#932)" > git rev-list --no-walk e024694d0ac57f533a66fdb94cb56f34c948cce2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-08-11T16:12:31.731Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-08-11T16:12:31.828Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-08-11T16:12:31.857Z] ========================================================= [2021-08-11T16:12:31.857Z] EdgeX Global Pipelines Version Info [2021-08-11T16:12:31.857Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-08-11T16:12:33.111Z] ------------------- [2021-08-11T16:12:33.111Z] stable info: [2021-08-11T16:12:33.111Z] ------------------- [2021-08-11T16:12:33.111Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-08-11T16:12:33.111Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-11T16:12:33.111Z] Message: update stable to v1.0.205 [2021-08-11T16:12:33.708Z] ------------------- [2021-08-11T16:12:33.708Z] experimental info: [2021-08-11T16:12:33.708Z] ------------------- [2021-08-11T16:12:33.708Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-08-11T16:12:33.708Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-11T16:12:33.708Z] Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-08-11T16:12:33.836Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-08-11T16:12:33.861Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-08-11T16:12:33.886Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-08-11T16:12:33.910Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-08-11T16:12:33.934Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-08-11T16:12:33.959Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-08-11T16:12:33.985Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-08-11T16:12:34.010Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-08-11T16:12:34.035Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-08-11T16:12:34.060Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-08-11T16:12:34.085Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-08-11T16:12:34.110Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-08-11T16:12:34.134Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2021-08-11T16:12:34.158Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-08-11T16:12:34.183Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-08-11T16:12:34.208Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-08-11T16:12:34.233Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-08-11T16:12:34.257Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-08-11T16:12:34.282Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-08-11T16:12:34.307Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-08-11T16:12:34.332Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-08-11T16:12:34.356Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-08-11T16:12:34.381Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-08-11T16:12:34.405Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-08-11T16:12:34.431Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-08-11T16:12:34.455Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-08-11T16:12:34.480Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-08-11T16:12:34.504Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-08-11T16:12:34.528Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-08-11T16:12:34.552Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-08-11T16:12:34.577Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 042dfbc200e9a033131772982770329148424ff7 [Pipeline] echo [2021-08-11T16:12:34.601Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 042dfbc [Pipeline] echo [2021-08-11T16:12:34.626Z] [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-11T16:12:35.063Z] + git log --format=format:%s -1 042dfbc200e9a033131772982770329148424ff7 [Pipeline] echo [2021-08-11T16:12:35.135Z] GIT_COMMIT: 042dfbc200e9a033131772982770329148424ff7, Commit Message: build: Commit go.sum and remove go mod tidy calls (#932) [Pipeline] echo [2021-08-11T16:12:35.149Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-08-11T16:12:35.723Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-11T16:12:35.723Z] [2021-08-11T16:12:35.723Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-08-11T16:12:36.066Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-11T16:12:36.066Z] latest: Pulling from edgex-devops/git-semver [2021-08-11T16:12:36.066Z] 31603596830f: Pulling fs layer [2021-08-11T16:12:36.066Z] d4622e32a9a9: Pulling fs layer [2021-08-11T16:12:36.066Z] 1030fce36090: Pulling fs layer [2021-08-11T16:12:36.066Z] 6c6cb7e1b49b: Pulling fs layer [2021-08-11T16:12:36.066Z] 6c6cb7e1b49b: Waiting [2021-08-11T16:12:36.066Z] d4622e32a9a9: Verifying Checksum [2021-08-11T16:12:36.066Z] d4622e32a9a9: Download complete [2021-08-11T16:12:36.651Z] 31603596830f: Verifying Checksum [2021-08-11T16:12:36.651Z] 31603596830f: Download complete [2021-08-11T16:12:36.651Z] 6c6cb7e1b49b: Verifying Checksum [2021-08-11T16:12:36.651Z] 6c6cb7e1b49b: Download complete [2021-08-11T16:12:36.651Z] 31603596830f: Pull complete [2021-08-11T16:12:36.651Z] d4622e32a9a9: Pull complete [2021-08-11T16:12:36.919Z] 1030fce36090: Verifying Checksum [2021-08-11T16:12:36.919Z] 1030fce36090: Download complete [2021-08-11T16:12:37.198Z] 1030fce36090: Pull complete [2021-08-11T16:12:37.469Z] 6c6cb7e1b49b: Pull complete [2021-08-11T16:12:37.469Z] Digest: sha256:98b6084a185347f7b64647794a0a4774a411b925a780a33b3032b91fe10e00ab [2021-08-11T16:12:37.469Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-11T16:12:37.469Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-08-11T16:12:37.568Z] prd-centos7-docker-4c-2g-345 does not seem to be running inside a container [2021-08-11T16:12:37.631Z] $ 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-11T16:12:38.328Z] $ docker top e45c33f79af27407d5185f69d823d9b339712daa374c3fe63a85d7f739de2523 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-11T16:12:38.462Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-11T16:12:38.462Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-11T16:12:38.573Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-11T16:12:38.571Z] $ docker exec e45c33f79af27407d5185f69d823d9b339712daa374c3fe63a85d7f739de2523 ssh-agent [2021-08-11T16:12:38.679Z] SSH_AUTH_SOCK=/tmp/ssh-vLJaW9bXOXAm/agent.14 [2021-08-11T16:12:38.679Z] SSH_AGENT_PID=20 [2021-08-11T16:12:38.691Z] Running ssh-add (command line suppressed) [2021-08-11T16:12:38.785Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_1912646080589770130.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_1912646080589770130.key) [2021-08-11T16:12:38.813Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-11T16:12:39.125Z] + git tag --points-at HEAD [Pipeline] } [2021-08-11T16:12:39.142Z] $ docker exec --env ******** --env ******** e45c33f79af27407d5185f69d823d9b339712daa374c3fe63a85d7f739de2523 ssh-agent -k [2021-08-11T16:12:39.227Z] unset SSH_AUTH_SOCK; [2021-08-11T16:12:39.228Z] unset SSH_AGENT_PID; [2021-08-11T16:12:39.228Z] echo Agent pid 20 killed; [2021-08-11T16:12:39.253Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-08-11T16:12:39.297Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-11T16:12:39.297Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-11T16:12:39.408Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-11T16:12:39.407Z] $ docker exec e45c33f79af27407d5185f69d823d9b339712daa374c3fe63a85d7f739de2523 ssh-agent [2021-08-11T16:12:39.518Z] SSH_AUTH_SOCK=/tmp/ssh-jF5RL9a7auna/agent.55 [2021-08-11T16:12:39.518Z] SSH_AGENT_PID=61 [2021-08-11T16:12:39.527Z] Running ssh-add (command line suppressed) [2021-08-11T16:12:39.623Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_5722355685124664430.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_5722355685124664430.key) [2021-08-11T16:12:39.647Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-11T16:12:39.979Z] + git semver init [2021-08-11T16:12:39.979Z] # -> Open(): unable to determine branch for HEAD [2021-08-11T16:12:39.979Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2021-08-11T16:12:39.979Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2021-08-11T16:12:39.979Z] # $SEMVER_REMOTE_NAME = origin [2021-08-11T16:12:39.979Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-11T16:12:39.979Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-11T16:12:39.979Z] # $SEMVER_BRANCH = main [2021-08-11T16:12:39.979Z] # $SEMVER_TEMP = /tmp/semver-550639165 [2021-08-11T16:12:39.979Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-08-11T16:12:41.949Z] # '/tmp/semver-550639165' -> '/w/workspace/oundry_app-functions-sdk-go_main/.semver' [2021-08-11T16:12:41.949Z] # -> Force: false [2021-08-11T16:12:41.949Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [Pipeline] } [2021-08-11T16:12:41.962Z] $ docker exec --env ******** --env ******** e45c33f79af27407d5185f69d823d9b339712daa374c3fe63a85d7f739de2523 ssh-agent -k [2021-08-11T16:12:42.076Z] unset SSH_AUTH_SOCK; [2021-08-11T16:12:42.077Z] unset SSH_AGENT_PID; [2021-08-11T16:12:42.077Z] echo Agent pid 61 killed; [2021-08-11T16:12:42.100Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-11T16:12:42.455Z] + git semver [Pipeline] } [2021-08-11T16:12:42.473Z] $ docker stop --time=1 e45c33f79af27407d5185f69d823d9b339712daa374c3fe63a85d7f739de2523 [2021-08-11T16:12:43.818Z] $ docker rm -f e45c33f79af27407d5185f69d823d9b339712daa374c3fe63a85d7f739de2523 [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-11T16:12:44.214Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-08-11T16:12:44.560Z] Stashed 1 file(s) [Pipeline] echo [2021-08-11T16:12:44.563Z] [edgeXSemver]: initialized semver on version 2.0.2-dev.2 [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-11T16:12:59.727Z] Still waiting to schedule task [2021-08-11T16:12:59.728Z] ‘prd-centos7-blackbox-4c-2g-2297’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-08-11T16:12:59.728Z] ‘prd-centos7-blackbox-4c-2g-2298’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-08-11T16:12:59.728Z] ‘prd-centos7-blackbox-4c-2g-2299’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-08-11T16:12:59.728Z] ‘prd-centos7-docker-4c-2g-347’ is offline [2021-08-11T16:12:59.728Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-105’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-08-11T16:12:59.730Z] Still waiting to schedule task [2021-08-11T16:12:59.730Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-105’ is offline [2021-08-11T16:14:15.894Z] Running on prd-centos7-docker-4c-2g-350 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws [2021-08-11T16:14:15.913Z] Running in /w/workspace/app-functions-sdk-go/11 [Pipeline] { [Pipeline] checkout [2021-08-11T16:14:16.022Z] The recommended git tool is: git [2021-08-11T16:14:18.674Z] using credential edgex-jenkins-ssh [2021-08-11T16:14:18.687Z] Cloning the remote Git repository [2021-08-11T16:14:18.308Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-08-11T16:14:18.381Z] > git init /w/workspace/app-functions-sdk-go/11 # timeout=10 [2021-08-11T16:14:18.415Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-08-11T16:14:18.416Z] > git --version # timeout=10 [2021-08-11T16:14:18.423Z] > git --version # 'git version 2.24.4' [2021-08-11T16:14:18.427Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-11T16:14:18.458Z] [INFO] Currently running in a labeled security context [2021-08-11T16:14:18.458Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-11T16:14:18.459Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/11@tmp/jenkins-gitclient-ssh2588096448984865034.key [2021-08-11T16:14:18.470Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-11T16:14:21.246Z] Avoid second fetch [2021-08-11T16:14:21.247Z] Checking out Revision 042dfbc200e9a033131772982770329148424ff7 (main) [2021-08-11T16:14:21.028Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-08-11T16:14:21.039Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-11T16:14:21.070Z] > git config core.sparsecheckout # timeout=10 [2021-08-11T16:14:21.086Z] > git checkout -f 042dfbc200e9a033131772982770329148424ff7 # timeout=10 [2021-08-11T16:14:24.888Z] Commit message: "build: Commit go.sum and remove go mod tidy calls (#932)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2021-08-11T16:14:26.739Z] ========================================================= [2021-08-11T16:14:26.739Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-08-11T16:14:26.739Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-08-11T16:14:27.161Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-08-11T16:14:27.161Z] Sending build context to Docker daemon 19.82MB [2021-08-11T16:14:27.161Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-08-11T16:14:27.161Z] Step 2/8 : FROM ${BASE} [2021-08-11T16:14:27.448Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-08-11T16:14:27.448Z] 540db60ca938: Pulling fs layer [2021-08-11T16:14:27.448Z] adcc1eea9eea: Pulling fs layer [2021-08-11T16:14:27.448Z] 4c4ab2625f07: Pulling fs layer [2021-08-11T16:14:27.448Z] db62176df00c: Pulling fs layer [2021-08-11T16:14:27.448Z] 3b30891b0d05: Pulling fs layer [2021-08-11T16:14:27.448Z] 06b49ca38bd5: Pulling fs layer [2021-08-11T16:14:27.448Z] c788192a36de: Pulling fs layer [2021-08-11T16:14:27.448Z] a77e37c0d609: Pulling fs layer [2021-08-11T16:14:27.448Z] c3185cebc471: Pulling fs layer [2021-08-11T16:14:27.448Z] 06b49ca38bd5: Waiting [2021-08-11T16:14:27.448Z] c788192a36de: Waiting [2021-08-11T16:14:27.448Z] a77e37c0d609: Waiting [2021-08-11T16:14:27.448Z] c3185cebc471: Waiting [2021-08-11T16:14:27.448Z] db62176df00c: Waiting [2021-08-11T16:14:27.448Z] 3b30891b0d05: Waiting [2021-08-11T16:14:27.448Z] 4c4ab2625f07: Verifying Checksum [2021-08-11T16:14:27.448Z] 4c4ab2625f07: Download complete [2021-08-11T16:14:27.448Z] adcc1eea9eea: Verifying Checksum [2021-08-11T16:14:27.448Z] adcc1eea9eea: Download complete [2021-08-11T16:14:27.448Z] 3b30891b0d05: Verifying Checksum [2021-08-11T16:14:27.448Z] 3b30891b0d05: Download complete [2021-08-11T16:14:27.448Z] 06b49ca38bd5: Verifying Checksum [2021-08-11T16:14:27.448Z] 06b49ca38bd5: Download complete [2021-08-11T16:14:27.448Z] c788192a36de: Verifying Checksum [2021-08-11T16:14:27.448Z] c788192a36de: Download complete [2021-08-11T16:14:27.715Z] 540db60ca938: Verifying Checksum [2021-08-11T16:14:27.715Z] 540db60ca938: Download complete [2021-08-11T16:14:27.982Z] 540db60ca938: Pull complete [2021-08-11T16:14:27.982Z] adcc1eea9eea: Pull complete [2021-08-11T16:14:27.982Z] 4c4ab2625f07: Pull complete [2021-08-11T16:14:28.248Z] a77e37c0d609: Verifying Checksum [2021-08-11T16:14:28.248Z] a77e37c0d609: Download complete [2021-08-11T16:14:31.583Z] c3185cebc471: Verifying Checksum [2021-08-11T16:14:31.583Z] c3185cebc471: Download complete [2021-08-11T16:14:31.852Z] db62176df00c: Verifying Checksum [2021-08-11T16:14:31.852Z] db62176df00c: Download complete [2021-08-11T16:14:35.228Z] db62176df00c: Pull complete [2021-08-11T16:14:35.228Z] 3b30891b0d05: Pull complete [2021-08-11T16:14:35.228Z] 06b49ca38bd5: Pull complete [2021-08-11T16:14:35.228Z] c788192a36de: Pull complete [2021-08-11T16:14:35.228Z] a77e37c0d609: Pull complete [2021-08-11T16:14:37.818Z] c3185cebc471: Pull complete [2021-08-11T16:14:37.818Z] Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd [2021-08-11T16:14:37.818Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-08-11T16:14:37.818Z] ---> 031687cdd783 [2021-08-11T16:14:37.818Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-08-11T16:14:37.818Z] 20.10.0: Pulling from library/docker [2021-08-11T16:14:37.818Z] 05e7bc50f07f: Pulling fs layer [2021-08-11T16:14:37.818Z] 6db28d0fdbf6: Pulling fs layer [2021-08-11T16:14:37.818Z] 292df0bc6bf3: Pulling fs layer [2021-08-11T16:14:37.818Z] 2e060f4bd70b: Pulling fs layer [2021-08-11T16:14:37.818Z] 80e8d568a223: Pulling fs layer [2021-08-11T16:14:37.818Z] 8dc6ef1a942a: Pulling fs layer [2021-08-11T16:14:37.818Z] 2312dd95470a: Pulling fs layer [2021-08-11T16:14:37.818Z] 80e8d568a223: Waiting [2021-08-11T16:14:37.818Z] 8dc6ef1a942a: Waiting [2021-08-11T16:14:37.818Z] 2312dd95470a: Waiting [2021-08-11T16:14:37.818Z] 2e060f4bd70b: Waiting [2021-08-11T16:14:37.818Z] 292df0bc6bf3: Verifying Checksum [2021-08-11T16:14:37.818Z] 292df0bc6bf3: Download complete [2021-08-11T16:14:38.087Z] 05e7bc50f07f: Verifying Checksum [2021-08-11T16:14:38.087Z] 05e7bc50f07f: Download complete [2021-08-11T16:14:38.087Z] 6db28d0fdbf6: Verifying Checksum [2021-08-11T16:14:38.087Z] 6db28d0fdbf6: Download complete [2021-08-11T16:14:38.087Z] 80e8d568a223: Verifying Checksum [2021-08-11T16:14:38.087Z] 80e8d568a223: Download complete [2021-08-11T16:14:38.087Z] 8dc6ef1a942a: Verifying Checksum [2021-08-11T16:14:38.087Z] 8dc6ef1a942a: Download complete [2021-08-11T16:14:38.087Z] 2312dd95470a: Verifying Checksum [2021-08-11T16:14:38.087Z] 2312dd95470a: Download complete [2021-08-11T16:14:38.360Z] 05e7bc50f07f: Pull complete [2021-08-11T16:14:38.360Z] 6db28d0fdbf6: Pull complete [2021-08-11T16:14:38.360Z] 292df0bc6bf3: Pull complete [2021-08-11T16:14:41.704Z] 2e060f4bd70b: Download complete [2021-08-11T16:14:43.118Z] 2e060f4bd70b: Pull complete [2021-08-11T16:14:43.387Z] 80e8d568a223: Pull complete [2021-08-11T16:14:43.387Z] 8dc6ef1a942a: Pull complete [2021-08-11T16:14:43.387Z] 2312dd95470a: Pull complete [2021-08-11T16:14:43.387Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-08-11T16:14:43.387Z] Status: Downloaded newer image for docker:20.10.0 [2021-08-11T16:14:45.972Z] ---> 53a11ddf9650 [2021-08-11T16:14:45.972Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-08-11T16:14:45.972Z] ---> Running in 2d0f158b70a3 [2021-08-11T16:14:45.972Z] Removing intermediate container 2d0f158b70a3 [2021-08-11T16:14:45.972Z] ---> 224e0e1c2051 [2021-08-11T16:14:45.972Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-08-11T16:14:45.972Z] ---> Running in 0115b552ca9e [2021-08-11T16:14:45.972Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-08-11T16:14:46.931Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-08-11T16:14:47.888Z] OK: 219 MiB in 52 packages [2021-08-11T16:14:47.888Z] Removing intermediate container 0115b552ca9e [2021-08-11T16:14:47.888Z] ---> 1896ce6be8ed [2021-08-11T16:14:47.888Z] Step 6/8 : WORKDIR /build [2021-08-11T16:14:47.888Z] ---> Running in 40bb326a887c [2021-08-11T16:14:48.160Z] Removing intermediate container 40bb326a887c [2021-08-11T16:14:48.160Z] ---> 29017e813bcb [2021-08-11T16:14:48.160Z] Step 7/8 : COPY go.mod . [2021-08-11T16:14:48.160Z] ---> ba46da50ee40 [2021-08-11T16:14:48.160Z] Step 8/8 : RUN go mod download [2021-08-11T16:14:48.160Z] ---> Running in 99230aa92f1c [2021-08-11T16:14:58.249Z] Removing intermediate container 99230aa92f1c [2021-08-11T16:14:58.249Z] ---> e4eb83bcee57 [2021-08-11T16:14:58.249Z] Successfully built e4eb83bcee57 [2021-08-11T16:14:58.249Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-08-11T16:14:58.607Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-11T16:14:58.607Z] . [Pipeline] withDockerContainer [2021-08-11T16:14:58.712Z] prd-centos7-docker-4c-2g-350 does not seem to be running inside a container [2021-08-11T16:14:58.779Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/11 -v /w/workspace/app-functions-sdk-go/11:/w/workspace/app-functions-sdk-go/11:rw,z -v /w/workspace/app-functions-sdk-go/11@tmp:/w/workspace/app-functions-sdk-go/11@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-11T16:14:59.176Z] $ docker top 93b7ddad9fa773adcded3f740d74bffa6383597ee87b3884e005e842424a7a7b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-11T16:14:59.589Z] + go version [2021-08-11T16:14:59.590Z] go version go1.16.6 linux/amd64 [Pipeline] } [2021-08-11T16:14:59.603Z] $ docker stop --time=1 93b7ddad9fa773adcded3f740d74bffa6383597ee87b3884e005e842424a7a7b [2021-08-11T16:15:00.793Z] $ docker rm -f 93b7ddad9fa773adcded3f740d74bffa6383597ee87b3884e005e842424a7a7b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-11T16:15:01.269Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-11T16:15:01.269Z] . [Pipeline] withDockerContainer [2021-08-11T16:15:01.360Z] prd-centos7-docker-4c-2g-350 does not seem to be running inside a container [2021-08-11T16:15:01.417Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/11 -v /w/workspace/app-functions-sdk-go/11:/w/workspace/app-functions-sdk-go/11:rw,z -v /w/workspace/app-functions-sdk-go/11@tmp:/w/workspace/app-functions-sdk-go/11@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-11T16:15:01.765Z] $ docker top ba36e21adbcd753c18e07350a6c06db97923d6a65d8fb9037b011172166120c6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-08-11T16:15:02.194Z] + make test [2021-08-11T16:15:02.194Z] make -C ./app-service-template build [2021-08-11T16:15:02.194Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/11/app-service-template' [2021-08-11T16:15:02.194Z] 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-11T16:15:12.353Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/11/app-service-template' [2021-08-11T16:15:12.353Z] make -C ./app-service-template test [2021-08-11T16:15:12.353Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/11/app-service-template' [2021-08-11T16:15:12.353Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-08-11T16:15:20.651Z] ok new-app-service 0.012s coverage: 47.8% of statements [2021-08-11T16:15:20.651Z] ? new-app-service/config [no test files] [2021-08-11T16:15:20.651Z] ok new-app-service/functions 0.007s [2021-08-11T16:15:20.651Z] CGO_ENABLED=1 go vet ./... [2021-08-11T16:15:27.319Z] gofmt -l . [2021-08-11T16:15:27.319Z] [ "`gofmt -l .`" = "" ] [2021-08-11T16:15:27.319Z] ./bin/test-attribution-txt.sh [2021-08-11T16:15:27.319Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/11/app-service-template' [2021-08-11T16:15:27.319Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-08-11T16:15:27.319Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-08-11T16:15:28.739Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.012s coverage: 63.6% of statements [2021-08-11T16:15:29.023Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.007s coverage: 96.5% of statements [2021-08-11T16:15:29.023Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-08-11T16:15:29.023Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.016s coverage: 61.8% of statements [2021-08-11T16:15:29.023Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-08-11T16:15:29.293Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.006s [2021-08-11T16:15:29.878Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.043s coverage: 74.5% of statements [2021-08-11T16:15:29.878Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-08-11T16:15:29.878Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-08-11T16:15:29.878Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-08-11T16:15:29.878Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-08-11T16:15:29.878Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-08-11T16:15:29.878Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-08-11T16:15:29.878Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.013s coverage: 97.1% of statements [2021-08-11T16:15:29.878Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-08-11T16:15:30.147Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.008s coverage: 10.5% of statements [2021-08-11T16:15:33.499Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.728s coverage: 76.1% of statements [2021-08-11T16:15:33.499Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-08-11T16:15:33.499Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.006s coverage: 12.5% of statements [2021-08-11T16:15:33.499Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.007s coverage: 27.3% of statements [2021-08-11T16:15:33.499Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-08-11T16:15:33.499Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-08-11T16:15:33.499Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.008s coverage: 51.4% of statements [2021-08-11T16:15:45.678Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-351 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws [2021-08-11T16:15:45.696Z] Running in /w/workspace/app-functions-sdk-go/11 [Pipeline] { [Pipeline] checkout [2021-08-11T16:15:45.921Z] The recommended git tool is: git [2021-08-11T16:15:51.779Z] using credential edgex-jenkins-ssh [2021-08-11T16:15:51.799Z] Cloning the remote Git repository [2021-08-11T16:15:51.903Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-08-11T16:15:52.034Z] > git init /w/workspace/app-functions-sdk-go/11 # timeout=10 [2021-08-11T16:15:52.170Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-08-11T16:15:52.171Z] > git --version # timeout=10 [2021-08-11T16:15:52.196Z] > git --version # 'git version 2.17.1' [2021-08-11T16:15:52.198Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-11T16:15:52.303Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-11T16:15:55.891Z] Avoid second fetch [2021-08-11T16:15:55.891Z] Checking out Revision 042dfbc200e9a033131772982770329148424ff7 (main) [2021-08-11T16:15:55.843Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-08-11T16:15:55.871Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-11T16:15:55.923Z] > git config core.sparsecheckout # timeout=10 [2021-08-11T16:15:55.951Z] > git checkout -f 042dfbc200e9a033131772982770329148424ff7 # timeout=10 [2021-08-11T16:16:00.178Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.058s coverage: 78.1% of statements [2021-08-11T16:16:00.178Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.007s coverage: 94.4% of statements [2021-08-11T16:16:00.178Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-08-11T16:16:00.178Z] gofmt -l . [2021-08-11T16:16:00.178Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-08-11T16:16:00.197Z] $ docker stop --time=1 ba36e21adbcd753c18e07350a6c06db97923d6a65d8fb9037b011172166120c6 [2021-08-11T16:16:00.464Z] Commit message: "build: Commit go.sum and remove go mod tidy calls (#932)" [2021-08-11T16:16:01.458Z] $ docker rm -f ba36e21adbcd753c18e07350a6c06db97923d6a65d8fb9037b011172166120c6 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2021-08-11T16:16:01.876Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [Pipeline] echo [2021-08-11T16:16:02.029Z] ========================================================= [2021-08-11T16:16:02.029Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-08-11T16:16:02.029Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-08-11T16:16:02.143Z] Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-11T16:16:02.582Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-08-11T16:16:02.772Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-11T16:16:02.773Z] [2021-08-11T16:16:02.773Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-11T16:16:03.113Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-11T16:16:03.114Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-11T16:16:03.114Z] b4d181a07f80: Pulling fs layer [2021-08-11T16:16:03.114Z] a1111a8f2ec3: Pulling fs layer [2021-08-11T16:16:03.114Z] ed53099fbce6: Pulling fs layer [2021-08-11T16:16:03.114Z] dc539afda2c1: Pulling fs layer [2021-08-11T16:16:03.114Z] 77bc0d833cb6: Pulling fs layer [2021-08-11T16:16:03.114Z] 9065ff56babe: Pulling fs layer [2021-08-11T16:16:03.114Z] d287ab97295c: Pulling fs layer [2021-08-11T16:16:03.114Z] 77bc0d833cb6: Waiting [2021-08-11T16:16:03.114Z] 9065ff56babe: Waiting [2021-08-11T16:16:03.114Z] d287ab97295c: Waiting [2021-08-11T16:16:03.114Z] dc539afda2c1: Waiting [2021-08-11T16:16:03.575Z] Sending build context to Docker daemon 19.82MB [2021-08-11T16:16:03.576Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-08-11T16:16:03.576Z] Step 2/8 : FROM ${BASE} [2021-08-11T16:16:03.708Z] a1111a8f2ec3: Verifying Checksum [2021-08-11T16:16:03.708Z] a1111a8f2ec3: Download complete [2021-08-11T16:16:03.708Z] dc539afda2c1: Verifying Checksum [2021-08-11T16:16:03.708Z] dc539afda2c1: Download complete [2021-08-11T16:16:03.708Z] 77bc0d833cb6: Verifying Checksum [2021-08-11T16:16:03.708Z] 77bc0d833cb6: Download complete [2021-08-11T16:16:03.708Z] 9065ff56babe: Verifying Checksum [2021-08-11T16:16:03.708Z] 9065ff56babe: Download complete [2021-08-11T16:16:03.974Z] ed53099fbce6: Verifying Checksum [2021-08-11T16:16:03.974Z] ed53099fbce6: Download complete [2021-08-11T16:16:04.561Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-08-11T16:16:04.561Z] 595b0fe564bb: Pulling fs layer [2021-08-11T16:16:04.561Z] 24495759ef45: Pulling fs layer [2021-08-11T16:16:04.561Z] d148012ef14d: Pulling fs layer [2021-08-11T16:16:04.561Z] e90a11edd702: Pulling fs layer [2021-08-11T16:16:04.561Z] d77568369979: Pulling fs layer [2021-08-11T16:16:04.561Z] fc1c9f9a7f3b: Pulling fs layer [2021-08-11T16:16:04.561Z] 170f2ba95c9a: Pulling fs layer [2021-08-11T16:16:04.561Z] 97ac5df62f85: Pulling fs layer [2021-08-11T16:16:04.561Z] e90a11edd702: Waiting [2021-08-11T16:16:04.561Z] d77568369979: Waiting [2021-08-11T16:16:04.561Z] fc1c9f9a7f3b: Waiting [2021-08-11T16:16:04.561Z] 170f2ba95c9a: Waiting [2021-08-11T16:16:04.561Z] 97ac5df62f85: Waiting [2021-08-11T16:16:04.561Z] d148012ef14d: Download complete [2021-08-11T16:16:04.561Z] 24495759ef45: Verifying Checksum [2021-08-11T16:16:04.561Z] 24495759ef45: Download complete [2021-08-11T16:16:04.561Z] d77568369979: Verifying Checksum [2021-08-11T16:16:04.839Z] fc1c9f9a7f3b: Verifying Checksum [2021-08-11T16:16:04.839Z] fc1c9f9a7f3b: Download complete [2021-08-11T16:16:04.839Z] 595b0fe564bb: Verifying Checksum [2021-08-11T16:16:04.839Z] 595b0fe564bb: Download complete [2021-08-11T16:16:04.839Z] 170f2ba95c9a: Verifying Checksum [2021-08-11T16:16:04.839Z] 170f2ba95c9a: Download complete [2021-08-11T16:16:04.933Z] b4d181a07f80: Verifying Checksum [2021-08-11T16:16:04.933Z] b4d181a07f80: Download complete [2021-08-11T16:16:05.446Z] 595b0fe564bb: Pull complete [2021-08-11T16:16:05.901Z] b4d181a07f80: Pull complete [2021-08-11T16:16:05.901Z] a1111a8f2ec3: Pull complete [2021-08-11T16:16:06.453Z] 24495759ef45: Pull complete [2021-08-11T16:16:06.484Z] ed53099fbce6: Pull complete [2021-08-11T16:16:06.484Z] dc539afda2c1: Pull complete [2021-08-11T16:16:06.750Z] 77bc0d833cb6: Pull complete [2021-08-11T16:16:06.750Z] 9065ff56babe: Pull complete [2021-08-11T16:16:07.077Z] d148012ef14d: Pull complete [2021-08-11T16:16:09.715Z] 97ac5df62f85: Verifying Checksum [2021-08-11T16:16:09.716Z] 97ac5df62f85: Download complete [2021-08-11T16:16:09.716Z] e90a11edd702: Verifying Checksum [2021-08-11T16:16:09.716Z] e90a11edd702: Download complete [2021-08-11T16:16:12.104Z] d287ab97295c: Verifying Checksum [2021-08-11T16:16:12.104Z] d287ab97295c: Download complete [2021-08-11T16:16:15.465Z] d287ab97295c: Pull complete [2021-08-11T16:16:15.465Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-11T16:16:15.465Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-11T16:16:15.465Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-11T16:16:15.557Z] prd-centos7-docker-4c-2g-350 does not seem to be running inside a container [2021-08-11T16:16:15.606Z] $ 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/11 -v /w/workspace/app-functions-sdk-go/11:/w/workspace/app-functions-sdk-go/11:rw,z -v /w/workspace/app-functions-sdk-go/11@tmp:/w/workspace/app-functions-sdk-go/11@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-11T16:16:17.952Z] $ docker top c12aecf4614544fd4773cde7be96856461f9cc355f0c47537edb1af67500bbf4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-11T16:16:18.452Z] ---> job-cost.sh [2021-08-11T16:16:18.452Z] lf-activate-venv: SKIPPING [2021-08-11T16:16:18.452Z] INFO: No Stack... [2021-08-11T16:16:19.411Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-11T16:16:19.677Z] INFO: Archiving Costs [Pipeline] sh [2021-08-11T16:16:19.960Z] e90a11edd702: Pull complete [2021-08-11T16:16:19.960Z] d77568369979: Pull complete [2021-08-11T16:16:20.000Z] + cat /w/workspace/app-functions-sdk-go/11/archives/cost.csv [2021-08-11T16:16:20.000Z] + cut -d, -f6 [Pipeline] lock [2021-08-11T16:16:20.039Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-11-stack-cost] [2021-08-11T16:16:20.049Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-11-stack-cost] did not exist. Created. [2021-08-11T16:16:20.049Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-11T16:16:20.390Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-08-11T16:16:20.437Z] Stashed 1 file(s) [Pipeline] } [2021-08-11T16:16:20.452Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-11-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-11T16:16:20.477Z] $ docker stop --time=1 c12aecf4614544fd4773cde7be96856461f9cc355f0c47537edb1af67500bbf4 [2021-08-11T16:16:20.563Z] fc1c9f9a7f3b: Pull complete [2021-08-11T16:16:20.840Z] 170f2ba95c9a: Pull complete [2021-08-11T16:16:21.621Z] $ docker rm -f c12aecf4614544fd4773cde7be96856461f9cc355f0c47537edb1af67500bbf4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-08-11T16:16:27.591Z] 97ac5df62f85: Pull complete [2021-08-11T16:16:27.591Z] Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 [2021-08-11T16:16:27.591Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-08-11T16:16:27.591Z] ---> 04bc70af865f [2021-08-11T16:16:27.591Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-08-11T16:16:27.591Z] 20.10.0: Pulling from library/docker [2021-08-11T16:16:27.591Z] a3cc7d3b244e: Pulling fs layer [2021-08-11T16:16:27.591Z] 02a3295e0d61: Pulling fs layer [2021-08-11T16:16:27.591Z] 0f4f2e6d8100: Pulling fs layer [2021-08-11T16:16:27.591Z] 330b718f631f: Pulling fs layer [2021-08-11T16:16:27.591Z] a93816041522: Pulling fs layer [2021-08-11T16:16:27.591Z] bdb6da89ff94: Pulling fs layer [2021-08-11T16:16:27.591Z] 2a70c0c122f4: Pulling fs layer [2021-08-11T16:16:27.591Z] 330b718f631f: Waiting [2021-08-11T16:16:27.591Z] a93816041522: Waiting [2021-08-11T16:16:27.591Z] bdb6da89ff94: Waiting [2021-08-11T16:16:27.591Z] 2a70c0c122f4: Waiting [2021-08-11T16:16:27.591Z] 0f4f2e6d8100: Verifying Checksum [2021-08-11T16:16:27.591Z] 0f4f2e6d8100: Download complete [2021-08-11T16:16:27.591Z] 02a3295e0d61: Verifying Checksum [2021-08-11T16:16:27.591Z] 02a3295e0d61: Download complete [2021-08-11T16:16:27.591Z] a3cc7d3b244e: Verifying Checksum [2021-08-11T16:16:27.591Z] a3cc7d3b244e: Download complete [2021-08-11T16:16:27.591Z] a93816041522: Verifying Checksum [2021-08-11T16:16:27.591Z] a93816041522: Download complete [2021-08-11T16:16:27.591Z] bdb6da89ff94: Verifying Checksum [2021-08-11T16:16:27.591Z] bdb6da89ff94: Download complete [2021-08-11T16:16:27.591Z] 2a70c0c122f4: Verifying Checksum [2021-08-11T16:16:27.591Z] 2a70c0c122f4: Download complete [2021-08-11T16:16:28.196Z] a3cc7d3b244e: Pull complete [2021-08-11T16:16:29.208Z] 02a3295e0d61: Pull complete [2021-08-11T16:16:29.483Z] 330b718f631f: Verifying Checksum [2021-08-11T16:16:29.483Z] 330b718f631f: Download complete [2021-08-11T16:16:29.483Z] 0f4f2e6d8100: Pull complete [2021-08-11T16:16:33.836Z] 330b718f631f: Pull complete [2021-08-11T16:16:33.836Z] a93816041522: Pull complete [2021-08-11T16:16:34.440Z] bdb6da89ff94: Pull complete [2021-08-11T16:16:35.041Z] 2a70c0c122f4: Pull complete [2021-08-11T16:16:35.041Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-08-11T16:16:35.041Z] Status: Downloaded newer image for docker:20.10.0 [2021-08-11T16:16:45.250Z] ---> 928d582ea91c [2021-08-11T16:16:45.250Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-08-11T16:16:45.250Z] ---> Running in 64c4035e11a9 [2021-08-11T16:16:45.250Z] Removing intermediate container 64c4035e11a9 [2021-08-11T16:16:45.250Z] ---> f94a18c26761 [2021-08-11T16:16:45.250Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-08-11T16:16:45.250Z] ---> Running in b05e474b9146 [2021-08-11T16:16:46.233Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-08-11T16:16:47.666Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-08-11T16:16:48.264Z] OK: 218 MiB in 52 packages [2021-08-11T16:16:49.703Z] Removing intermediate container b05e474b9146 [2021-08-11T16:16:49.703Z] ---> 75d5a421dff9 [2021-08-11T16:16:49.703Z] Step 6/8 : WORKDIR /build [2021-08-11T16:16:49.977Z] ---> Running in 4c052da8dd9d [2021-08-11T16:16:50.585Z] Removing intermediate container 4c052da8dd9d [2021-08-11T16:16:50.585Z] ---> 894f7bbd9b81 [2021-08-11T16:16:50.585Z] Step 7/8 : COPY go.mod . [2021-08-11T16:16:51.570Z] ---> eb21ade1556a [2021-08-11T16:16:51.570Z] Step 8/8 : RUN go mod download [2021-08-11T16:16:51.845Z] ---> Running in d705a5eeacc1 [2021-08-11T16:17:24.231Z] Removing intermediate container d705a5eeacc1 [2021-08-11T16:17:24.231Z] ---> 56e0710ad5da [2021-08-11T16:17:24.231Z] Successfully built 56e0710ad5da [2021-08-11T16:17:24.231Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-08-11T16:17:24.658Z] + docker inspect -f . ci-base-image-arm64 [2021-08-11T16:17:24.658Z] . [Pipeline] withDockerContainer [2021-08-11T16:17:24.949Z] prd-ubuntu18.04-docker-arm64-4c-16g-351 does not seem to be running inside a container [2021-08-11T16:17:25.063Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/11 -v /w/workspace/app-functions-sdk-go/11:/w/workspace/app-functions-sdk-go/11:rw,z -v /w/workspace/app-functions-sdk-go/11@tmp:/w/workspace/app-functions-sdk-go/11@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-11T16:17:26.945Z] $ docker top 516f63662ed2c852fdffba7bd0f4ce0f86a49f888ccb737162c6b86951b0125e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-11T16:17:27.990Z] + go version [2021-08-11T16:17:27.990Z] go version go1.16.6 linux/arm64 [Pipeline] } [2021-08-11T16:17:28.015Z] $ docker stop --time=1 516f63662ed2c852fdffba7bd0f4ce0f86a49f888ccb737162c6b86951b0125e [2021-08-11T16:17:29.969Z] $ docker rm -f 516f63662ed2c852fdffba7bd0f4ce0f86a49f888ccb737162c6b86951b0125e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-11T16:17:30.722Z] + docker inspect -f . ci-base-image-arm64 [2021-08-11T16:17:30.723Z] . [Pipeline] withDockerContainer [2021-08-11T16:17:31.000Z] prd-ubuntu18.04-docker-arm64-4c-16g-351 does not seem to be running inside a container [2021-08-11T16:17:31.087Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/11 -v /w/workspace/app-functions-sdk-go/11:/w/workspace/app-functions-sdk-go/11:rw,z -v /w/workspace/app-functions-sdk-go/11@tmp:/w/workspace/app-functions-sdk-go/11@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-11T16:17:32.852Z] $ docker top 7822aa9de6d6921fff08bc490469e0c3eb0aad4c20bdb5fc4147e320246ede1e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-08-11T16:17:33.869Z] + make test [2021-08-11T16:17:33.869Z] make -C ./app-service-template build [2021-08-11T16:17:33.869Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/11/app-service-template' [2021-08-11T16:17:33.869Z] 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-11T16:18:12.958Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/11/app-service-template' [2021-08-11T16:18:12.958Z] make -C ./app-service-template test [2021-08-11T16:18:12.958Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/11/app-service-template' [2021-08-11T16:18:12.958Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-08-11T16:18:45.389Z] ok new-app-service 0.047s coverage: 47.8% of statements [2021-08-11T16:18:45.389Z] ? new-app-service/config [no test files] [2021-08-11T16:18:45.389Z] ok new-app-service/functions 0.039s [2021-08-11T16:18:45.389Z] CGO_ENABLED=1 go vet ./... [2021-08-11T16:19:12.181Z] gofmt -l . [2021-08-11T16:19:12.181Z] [ "`gofmt -l .`" = "" ] [2021-08-11T16:19:12.181Z] ./bin/test-attribution-txt.sh [2021-08-11T16:19:12.181Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/11/app-service-template' [2021-08-11T16:19:12.181Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-08-11T16:19:12.181Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-08-11T16:19:20.488Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.129s coverage: 63.6% of statements [2021-08-11T16:19:20.488Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.053s coverage: 96.5% of statements [2021-08-11T16:19:20.488Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-08-11T16:19:20.488Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.108s coverage: 61.8% of statements [2021-08-11T16:19:20.488Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-08-11T16:19:20.488Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.031s [2021-08-11T16:19:20.766Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.097s coverage: 74.5% of statements [2021-08-11T16:19:20.766Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-08-11T16:19:20.766Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-08-11T16:19:20.766Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-08-11T16:19:20.766Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-08-11T16:19:20.766Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-08-11T16:19:20.766Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-08-11T16:19:20.766Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.017s coverage: 97.1% of statements [2021-08-11T16:19:20.766Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-08-11T16:19:20.766Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.044s coverage: 10.5% of statements [2021-08-11T16:19:27.494Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.871s coverage: 76.1% of statements [2021-08-11T16:19:27.494Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-08-11T16:19:27.494Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.125s coverage: 12.5% of statements [2021-08-11T16:19:27.494Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.041s coverage: 27.3% of statements [2021-08-11T16:19:27.494Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-08-11T16:19:27.494Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-08-11T16:19:27.494Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.036s coverage: 51.4% of statements [2021-08-11T16:19:54.262Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.115s coverage: 78.1% of statements [2021-08-11T16:19:54.262Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.037s coverage: 94.4% of statements [2021-08-11T16:19:54.262Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-08-11T16:19:57.668Z] gofmt -l . [2021-08-11T16:19:57.940Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-08-11T16:19:58.562Z] $ docker stop --time=1 7822aa9de6d6921fff08bc490469e0c3eb0aad4c20bdb5fc4147e320246ede1e [2021-08-11T16:20:00.875Z] $ docker rm -f 7822aa9de6d6921fff08bc490469e0c3eb0aad4c20bdb5fc4147e320246ede1e [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-11T16:20:01.926Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-08-11T16:20:01.962Z] Warning: overwriting stash ‘coverage-report’ [2021-08-11T16:20:02.594Z] 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-11T16:20:03.147Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-11T16:20:03.423Z] [2021-08-11T16:20:03.423Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-08-11T16:20:03.794Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-11T16:20:04.069Z] arm64: Pulling from edgex-lftools-log-publisher [2021-08-11T16:20:04.069Z] 448f6bf000e3: Pulling fs layer [2021-08-11T16:20:04.069Z] f757da607395: Pulling fs layer [2021-08-11T16:20:04.069Z] 05883995daec: Pulling fs layer [2021-08-11T16:20:04.069Z] 8603b9c90790: Pulling fs layer [2021-08-11T16:20:04.069Z] 1560dd03e051: Pulling fs layer [2021-08-11T16:20:04.069Z] 27f5ce0e4adf: Pulling fs layer [2021-08-11T16:20:04.069Z] c2d8d7efcc4b: Pulling fs layer [2021-08-11T16:20:04.069Z] 8603b9c90790: Waiting [2021-08-11T16:20:04.069Z] 1560dd03e051: Waiting [2021-08-11T16:20:04.069Z] 27f5ce0e4adf: Waiting [2021-08-11T16:20:04.069Z] c2d8d7efcc4b: Waiting [2021-08-11T16:20:04.668Z] f757da607395: Verifying Checksum [2021-08-11T16:20:04.668Z] 8603b9c90790: Verifying Checksum [2021-08-11T16:20:04.668Z] 8603b9c90790: Download complete [2021-08-11T16:20:05.267Z] 05883995daec: Verifying Checksum [2021-08-11T16:20:05.267Z] 05883995daec: Download complete [2021-08-11T16:20:05.267Z] 27f5ce0e4adf: Download complete [2021-08-11T16:20:06.247Z] 1560dd03e051: Download complete [2021-08-11T16:20:06.524Z] 448f6bf000e3: Download complete [2021-08-11T16:20:09.924Z] c2d8d7efcc4b: Verifying Checksum [2021-08-11T16:20:09.924Z] c2d8d7efcc4b: Download complete [2021-08-11T16:20:10.201Z] 448f6bf000e3: Pull complete [2021-08-11T16:20:10.801Z] f757da607395: Pull complete [2021-08-11T16:20:12.786Z] 05883995daec: Pull complete [2021-08-11T16:20:12.786Z] 8603b9c90790: Pull complete [2021-08-11T16:20:14.226Z] 1560dd03e051: Pull complete [2021-08-11T16:20:14.505Z] 27f5ce0e4adf: Pull complete [2021-08-11T16:20:29.627Z] c2d8d7efcc4b: Pull complete [2021-08-11T16:20:29.627Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-08-11T16:20:29.627Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-11T16:20:29.627Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-08-11T16:20:29.899Z] prd-ubuntu18.04-docker-arm64-4c-16g-351 does not seem to be running inside a container [2021-08-11T16:20:29.993Z] $ 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/11 -v /w/workspace/app-functions-sdk-go/11:/w/workspace/app-functions-sdk-go/11:rw,z -v /w/workspace/app-functions-sdk-go/11@tmp:/w/workspace/app-functions-sdk-go/11@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-11T16:20:35.909Z] $ docker top e11707aa8c046b57dfdcb3c3f968cf61365b7f561d54274e83617d92defc985b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-11T16:20:36.836Z] ---> job-cost.sh [2021-08-11T16:20:36.836Z] lf-activate-venv: SKIPPING [2021-08-11T16:20:36.836Z] INFO: No Stack... [2021-08-11T16:20:38.801Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-08-11T16:20:39.072Z] INFO: Archiving Costs [Pipeline] sh [2021-08-11T16:20:39.730Z] + cat /w/workspace/app-functions-sdk-go/11/archives/cost.csv [2021-08-11T16:20:39.730Z] + cut -d, -f6 [Pipeline] lock [2021-08-11T16:20:39.794Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-11-stack-cost] [2021-08-11T16:20:39.801Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-11-stack-cost] did not exist. Created. [2021-08-11T16:20:39.801Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-11T16:20:40.485Z] /w/workspace/app-functions-sdk-go/11@tmp/durable-1a2599ad/script.sh: 1: /w/workspace/app-functions-sdk-go/11@tmp/durable-1a2599ad/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-08-11T16:20:41.222Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-08-11T16:20:41.255Z] Warning: overwriting stash ‘stack-cost’ [2021-08-11T16:20:41.348Z] Stashed 1 file(s) [Pipeline] } [2021-08-11T16:20:41.360Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-11-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-11T16:20:41.387Z] $ docker stop --time=1 e11707aa8c046b57dfdcb3c3f968cf61365b7f561d54274e83617d92defc985b [2021-08-11T16:20:43.247Z] $ docker rm -f e11707aa8c046b57dfdcb3c3f968cf61365b7f561d54274e83617d92defc985b [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-11T16:20:43.938Z] provisioning config files... [2021-08-11T16:20:43.952Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config7856506174368910201tmp [Pipeline] { [Pipeline] sh [2021-08-11T16:20:44.278Z] + set +x [2021-08-11T16:20:44.278Z] + curl -s https://codecov.io/bash [2021-08-11T16:20:44.278Z] + bash -s -- [2021-08-11T16:20:44.278Z] [2021-08-11T16:20:44.278Z] _____ _ [2021-08-11T16:20:44.278Z] / ____| | | [2021-08-11T16:20:44.278Z] | | ___ __| | ___ ___ _____ __ [2021-08-11T16:20:44.278Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-08-11T16:20:44.278Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-08-11T16:20:44.278Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-08-11T16:20:44.278Z] Bash-1.0.6 [2021-08-11T16:20:44.278Z] [2021-08-11T16:20:44.278Z] [2021-08-11T16:20:44.278Z] ==> git version 2.24.4 found [2021-08-11T16:20:44.278Z] ==> 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-11T16:20:44.278Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-08-11T16:20:44.278Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-08-11T16:20:44.278Z] ==> Jenkins CI detected. [2021-08-11T16:20:44.278Z] current dir:  /w/workspace/oundry_app-functions-sdk-go_main [2021-08-11T16:20:44.278Z] project root: . [2021-08-11T16:20:44.278Z] --> token set from env [2021-08-11T16:20:44.278Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-08-11T16:20:44.278Z] ==> Running gcov in . (disable via -X gcov) [2021-08-11T16:20:44.278Z] ==> Python coveragepy not found [2021-08-11T16:20:44.278Z] ==> Searching for coverage reports in: [2021-08-11T16:20:44.278Z] + . [2021-08-11T16:20:44.278Z] -> Found 2 reports [2021-08-11T16:20:44.278Z] ==> Detecting git/mercurial file structure [2021-08-11T16:20:44.548Z] ==> Reading reports [2021-08-11T16:20:44.548Z] + ./app-service-template/coverage.out bytes=1055 [2021-08-11T16:20:44.548Z] + ./coverage.out bytes=95183 [2021-08-11T16:20:44.548Z] ==> Appending adjustments [2021-08-11T16:20:44.548Z] https://docs.codecov.io/docs/fixing-reports [2021-08-11T16:20:44.814Z] + Found adjustments [2021-08-11T16:20:44.814Z] ==> Gzipping contents [2021-08-11T16:20:44.814Z] 20K /tmp/codecov.mmBJRG.gz [2021-08-11T16:20:44.814Z] ==> Uploading reports [2021-08-11T16:20:44.814Z] url: https://codecov.io [2021-08-11T16:20:44.814Z] query: branch=main&commit=042dfbc200e9a033131772982770329148424ff7&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F11%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-08-11T16:20:44.814Z] -> Pinging Codecov [2021-08-11T16:20:44.814Z] 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=042dfbc200e9a033131772982770329148424ff7&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F11%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-08-11T16:20:45.079Z] -> Uploading to [2021-08-11T16:20:45.079Z] https://storage.googleapis.com/codecov/v4/raw/2021-08-11/3D8B5DFFC46A037C893635FACE044666/042dfbc200e9a033131772982770329148424ff7/89bb6e73-18d3-4725-a9d2-5abbdc0c84fd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210811%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210811T162044Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3b5d414d0c8673fe755f962fb0b3f3328916fe18aed9f76dfc6a2d3d3bf7b506 [2021-08-11T16:20:45.079Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-08-11T16:20:45.079Z] Dload Upload Total Spent Left Speed [2021-08-11T16:20:45.662Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16458 0 0 100 16458 0 38748 --:--:-- --:--:-- --:--:-- 38816 [2021-08-11T16:20:45.662Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/042dfbc200e9a033131772982770329148424ff7 [Pipeline] } [2021-08-11T16:20:45.674Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-08-11T16:20:45.924Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-08-11T16:20:45.953Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-11T16:20:46.290Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-08-11T16:20:46.290Z] [2021-08-11T16:20:46.290Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-08-11T16:20:46.646Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-08-11T16:20:46.646Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-08-11T16:20:46.646Z] 188c0c94c7c5: Pulling fs layer [2021-08-11T16:20:46.646Z] 0ef7d3d256c8: Pulling fs layer [2021-08-11T16:20:46.646Z] de9db76c5a1d: Pulling fs layer [2021-08-11T16:20:46.646Z] 0eba1c9be4d2: Pulling fs layer [2021-08-11T16:20:46.646Z] 0d57e429df01: Pulling fs layer [2021-08-11T16:20:46.646Z] 4e4be7b47b0d: Pulling fs layer [2021-08-11T16:20:46.646Z] e1f770b5df2f: Pulling fs layer [2021-08-11T16:20:46.646Z] 85a0685a4137: Pulling fs layer [2021-08-11T16:20:46.646Z] 0d57e429df01: Waiting [2021-08-11T16:20:46.646Z] 4e4be7b47b0d: Waiting [2021-08-11T16:20:46.646Z] e1f770b5df2f: Waiting [2021-08-11T16:20:46.646Z] 85a0685a4137: Waiting [2021-08-11T16:20:46.646Z] 0eba1c9be4d2: Waiting [2021-08-11T16:20:46.646Z] de9db76c5a1d: Verifying Checksum [2021-08-11T16:20:46.646Z] de9db76c5a1d: Download complete [2021-08-11T16:20:46.646Z] 0ef7d3d256c8: Verifying Checksum [2021-08-11T16:20:46.646Z] 0ef7d3d256c8: Download complete [2021-08-11T16:20:46.912Z] 0d57e429df01: Verifying Checksum [2021-08-11T16:20:46.912Z] 0d57e429df01: Download complete [2021-08-11T16:20:46.912Z] 4e4be7b47b0d: Verifying Checksum [2021-08-11T16:20:46.912Z] 4e4be7b47b0d: Download complete [2021-08-11T16:20:46.912Z] 188c0c94c7c5: Verifying Checksum [2021-08-11T16:20:46.912Z] 188c0c94c7c5: Download complete [2021-08-11T16:20:47.189Z] 188c0c94c7c5: Pull complete [2021-08-11T16:20:47.189Z] 0ef7d3d256c8: Pull complete [2021-08-11T16:20:47.189Z] de9db76c5a1d: Pull complete [2021-08-11T16:20:48.377Z] e1f770b5df2f: Verifying Checksum [2021-08-11T16:20:48.377Z] e1f770b5df2f: Download complete [2021-08-11T16:20:53.715Z] 0eba1c9be4d2: Verifying Checksum [2021-08-11T16:20:53.715Z] 0eba1c9be4d2: Download complete [2021-08-11T16:20:53.985Z] 85a0685a4137: Verifying Checksum [2021-08-11T16:20:53.985Z] 85a0685a4137: Download complete [2021-08-11T16:20:56.574Z] 0eba1c9be4d2: Pull complete [2021-08-11T16:20:56.574Z] 0d57e429df01: Pull complete [2021-08-11T16:20:56.574Z] 4e4be7b47b0d: Pull complete [2021-08-11T16:20:56.841Z] e1f770b5df2f: Pull complete [2021-08-11T16:21:00.210Z] 85a0685a4137: Pull complete [2021-08-11T16:21:00.210Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-08-11T16:21:00.210Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-08-11T16:21:00.210Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-08-11T16:21:00.294Z] prd-centos7-docker-4c-2g-345 does not seem to be running inside a container [2021-08-11T16:21:00.356Z] $ 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-11T16:21:02.138Z] $ docker top 15876aecbdf7580384a33a8e45047b7d6b34db5391fc595ad1ffdc907150c15d -eo pid,comm [Pipeline] { [Pipeline] echo [2021-08-11T16:21:02.248Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-08-11T16:21:02.565Z] + set -o pipefail [2021-08-11T16:21:02.565Z] + snyk monitor '--org=edgex-jenkins' [2021-08-11T16:21:06.834Z] [2021-08-11T16:21:06.834Z] Monitoring /w/workspace/oundry_app-functions-sdk-go_main (github.com/edgexfoundry/app-functions-sdk-go/v2)... [2021-08-11T16:21:06.834Z] [2021-08-11T16:21:06.834Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/29ce630e-1e0a-4e1f-9388-1f5825a405b0 [2021-08-11T16:21:06.834Z] [2021-08-11T16:21:06.834Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-08-11T16:21:06.834Z] [2021-08-11T16:21:06.834Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-08-11T16:21:06.834Z] [2021-08-11T16:21:06.834Z] [Pipeline] } [2021-08-11T16:21:07.113Z] $ docker stop --time=1 15876aecbdf7580384a33a8e45047b7d6b34db5391fc595ad1ffdc907150c15d [2021-08-11T16:21:09.053Z] $ docker rm -f 15876aecbdf7580384a33a8e45047b7d6b34db5391fc595ad1ffdc907150c15d [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-11T16:21:09.554Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-11T16:21:09.576Z] provisioning config files... [2021-08-11T16:21:09.589Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config2560315878563524064tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-11T16:21:09.956Z] --> edgex-publish-swagger.sh [2021-08-11T16:21:09.956Z] === Publish openapi/v2 API === [2021-08-11T16:21:09.956Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-08-11T16:21:09.956Z] [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/oundry_app-functions-sdk-go_main/openapi/v2/app-functions-sdk.yaml] [2021-08-11T16:21:09.956Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-08-11T16:21:09.956Z] Dload Upload Total Spent Left Speed [2021-08-11T16:21:10.920Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13054 0 0 100 13054 0 11100 0:00:01 0:00:01 --:--:-- 11109 100 13054 0 0 100 13054 0 11039 0:00:01 0:00:01 --:--:-- 11053 [2021-08-11T16:21:10.920Z] [2021-08-11T16:21:10.920Z] [Pipeline] } [2021-08-11T16:21:10.932Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-11T16:21:11.415Z] + git log --format=format:%s -1 042dfbc200e9a033131772982770329148424ff7 [Pipeline] isUnix [Pipeline] sh [2021-08-11T16:21:11.749Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-11T16:21:11.749Z] . [Pipeline] withDockerContainer [2021-08-11T16:21:11.835Z] prd-centos7-docker-4c-2g-345 does not seem to be running inside a container [2021-08-11T16:21:11.901Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-08-11T16:21:12.268Z] $ docker top 5a3729c906a3f4643e2b53b9e89093003c4c50886a3b27eaee1b32e03597aba1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-11T16:21:12.416Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-11T16:21:12.416Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-11T16:21:12.534Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-11T16:21:12.533Z] $ docker exec 5a3729c906a3f4643e2b53b9e89093003c4c50886a3b27eaee1b32e03597aba1 ssh-agent [2021-08-11T16:21:12.656Z] SSH_AUTH_SOCK=/tmp/ssh-hbm9t1DvbR6p/agent.15 [2021-08-11T16:21:12.656Z] SSH_AGENT_PID=21 [2021-08-11T16:21:12.665Z] Running ssh-add (command line suppressed) [2021-08-11T16:21:12.758Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7726422570444055274.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7726422570444055274.key) [2021-08-11T16:21:12.788Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-11T16:21:13.109Z] + git semver tag [2021-08-11T16:21:13.109Z] # -> Open(): unable to determine branch for HEAD [2021-08-11T16:21:13.109Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2021-08-11T16:21:13.109Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2021-08-11T16:21:13.109Z] # $SEMVER_REMOTE_NAME = origin [2021-08-11T16:21:13.109Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-11T16:21:13.109Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-11T16:21:13.109Z] # $SEMVER_BRANCH = main [2021-08-11T16:21:13.109Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [2021-08-11T16:21:13.109Z] # 042dfbc200e9a033131772982770329148424ff7 HEAD [2021-08-11T16:21:13.109Z] # -> Force: false [2021-08-11T16:21:13.109Z] # ed565689997bc6e16ba6cad64c825b29c486f5d0 refs/tags/v2.0.2-dev.2 [Pipeline] } [2021-08-11T16:21:13.119Z] $ docker exec --env ******** --env ******** 5a3729c906a3f4643e2b53b9e89093003c4c50886a3b27eaee1b32e03597aba1 ssh-agent -k [2021-08-11T16:21:13.208Z] unset SSH_AUTH_SOCK; [2021-08-11T16:21:13.209Z] unset SSH_AGENT_PID; [2021-08-11T16:21:13.209Z] echo Agent pid 21 killed; [2021-08-11T16:21:13.234Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-11T16:21:13.592Z] + git semver [Pipeline] } [2021-08-11T16:21:13.612Z] $ docker stop --time=1 5a3729c906a3f4643e2b53b9e89093003c4c50886a3b27eaee1b32e03597aba1 [2021-08-11T16:21:14.808Z] $ docker rm -f 5a3729c906a3f4643e2b53b9e89093003c4c50886a3b27eaee1b32e03597aba1 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-08-11T16:21:15.483Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-08-11T16:21:15.483Z] [2021-08-11T16:21:15.483Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-08-11T16:21:15.811Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-08-11T16:21:15.811Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-08-11T16:21:15.811Z] ab5ef0e58194: Pulling fs layer [2021-08-11T16:21:15.811Z] 9712f1f96733: Pulling fs layer [2021-08-11T16:21:15.811Z] 63f879dbbcfc: Pulling fs layer [2021-08-11T16:21:15.811Z] 0d9ebad4ef96: Pulling fs layer [2021-08-11T16:21:15.811Z] e9a5061849ea: Pulling fs layer [2021-08-11T16:21:15.811Z] d747dcd14b5f: Pulling fs layer [2021-08-11T16:21:15.811Z] 2de7ff778b66: Pulling fs layer [2021-08-11T16:21:15.811Z] 0d9ebad4ef96: Waiting [2021-08-11T16:21:15.811Z] e9a5061849ea: Waiting [2021-08-11T16:21:15.811Z] d747dcd14b5f: Waiting [2021-08-11T16:21:15.811Z] 2de7ff778b66: Waiting [2021-08-11T16:21:15.811Z] 9712f1f96733: Verifying Checksum [2021-08-11T16:21:15.811Z] 9712f1f96733: Download complete [2021-08-11T16:21:21.156Z] 63f879dbbcfc: Verifying Checksum [2021-08-11T16:21:21.156Z] 63f879dbbcfc: Download complete [2021-08-11T16:21:21.738Z] e9a5061849ea: Verifying Checksum [2021-08-11T16:21:21.738Z] e9a5061849ea: Download complete [2021-08-11T16:21:21.738Z] d747dcd14b5f: Verifying Checksum [2021-08-11T16:21:21.738Z] d747dcd14b5f: Download complete [2021-08-11T16:21:22.711Z] 2de7ff778b66: Verifying Checksum [2021-08-11T16:21:22.711Z] 2de7ff778b66: Download complete [2021-08-11T16:21:22.974Z] 0d9ebad4ef96: Verifying Checksum [2021-08-11T16:21:22.974Z] 0d9ebad4ef96: Download complete [2021-08-11T16:21:23.564Z] ab5ef0e58194: Verifying Checksum [2021-08-11T16:21:23.564Z] ab5ef0e58194: Download complete [2021-08-11T16:21:26.152Z] ab5ef0e58194: Pull complete [2021-08-11T16:21:26.152Z] 9712f1f96733: Pull complete [2021-08-11T16:21:26.732Z] 63f879dbbcfc: Pull complete [2021-08-11T16:21:30.128Z] 0d9ebad4ef96: Pull complete [2021-08-11T16:21:30.402Z] e9a5061849ea: Pull complete [2021-08-11T16:21:30.402Z] d747dcd14b5f: Pull complete [2021-08-11T16:21:31.373Z] 2de7ff778b66: Pull complete [2021-08-11T16:21:31.373Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-08-11T16:21:31.373Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-08-11T16:21:31.373Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-08-11T16:21:31.468Z] prd-centos7-docker-4c-2g-345 does not seem to be running inside a container [2021-08-11T16:21:31.526Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-08-11T16:21:34.540Z] $ docker top 70a7eb0c63d8ac9d193600af8878300709cab31ce9170c7fcab6cd9ca7cbf50e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-08-11T16:21:34.658Z] provisioning config files... [2021-08-11T16:21:34.674Z] copy managed file [sigul-config] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config2180299094722790959tmp [2021-08-11T16:21:34.695Z] copy managed file [sigul-password] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config9080763156720266812tmp [2021-08-11T16:21:34.720Z] copy managed file [sigul-pki] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config4862050349767013558tmp [Pipeline] { [Pipeline] echo [2021-08-11T16:21:34.747Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-11T16:21:35.057Z] ---> sigul-configuration.sh [2021-08-11T16:21:35.057Z] gpg: directory `/root/.gnupg' created [2021-08-11T16:21:35.057Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-08-11T16:21:35.057Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-08-11T16:21:35.057Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-08-11T16:21:35.057Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-08-11T16:21:35.057Z] gpg: CAST5 encrypted data [2021-08-11T16:21:35.057Z] gpg: encrypted with 1 passphrase [2021-08-11T16:21:35.057Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-08-11T16:21:35.369Z] + mkdir /home/jenkins [2021-08-11T16:21:35.369Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-08-11T16:21:35.684Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-08-11T16:21:35.699Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-11T16:21:36.006Z] ---> sigul-install.sh [2021-08-11T16:21:36.006Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-08-11T16:21:36.344Z] + git tag --list [2021-08-11T16:21:36.344Z] v0.1.0 [2021-08-11T16:21:36.344Z] v0.1.1 [2021-08-11T16:21:36.344Z] v1.0.0 [2021-08-11T16:21:36.344Z] v1.1.0 [2021-08-11T16:21:36.344Z] v1.2.0 [2021-08-11T16:21:36.344Z] v1.3.0 [2021-08-11T16:21:36.344Z] v1.3.1 [2021-08-11T16:21:36.344Z] v2.0.0 [2021-08-11T16:21:36.344Z] v2.0.1 [2021-08-11T16:21:36.344Z] v2.0.1-dev.1 [2021-08-11T16:21:36.344Z] v2.0.1-dev.2 [2021-08-11T16:21:36.344Z] v2.0.1-dev.3 [2021-08-11T16:21:36.344Z] v2.0.1-dev.4 [2021-08-11T16:21:36.344Z] v2.0.1-dev.5 [2021-08-11T16:21:36.344Z] v2.0.1-dev.6 [2021-08-11T16:21:36.344Z] v2.0.1-dev.7 [2021-08-11T16:21:36.344Z] v2.0.2-dev.1 [2021-08-11T16:21:36.344Z] v2.0.2-dev.2 [Pipeline] sh [2021-08-11T16:21:36.662Z] + lftools sign git-tag v2.0.2-dev.2 [2021-08-11T16:21:37.246Z] Signing Git tag with Sigul... [2021-08-11T16:21:37.246Z] Signing v2.0.2-dev.2 [Pipeline] echo [2021-08-11T16:21:38.271Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-11T16:21:38.581Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-08-11T16:21:38.593Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-08-11T16:21:38.620Z] $ docker stop --time=1 70a7eb0c63d8ac9d193600af8878300709cab31ce9170c7fcab6cd9ca7cbf50e [2021-08-11T16:21:39.814Z] $ docker rm -f 70a7eb0c63d8ac9d193600af8878300709cab31ce9170c7fcab6cd9ca7cbf50e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-08-11T16:21:40.304Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-11T16:21:40.304Z] . [Pipeline] withDockerContainer [2021-08-11T16:21:40.397Z] prd-centos7-docker-4c-2g-345 does not seem to be running inside a container [2021-08-11T16:21:40.453Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-08-11T16:21:40.829Z] $ docker top 76c2e0f7a00f68fc386399c00511b63ffe850d6baa0532921657a5adbe7d5a07 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-11T16:21:40.974Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-11T16:21:40.974Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-11T16:21:41.094Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-11T16:21:41.091Z] $ docker exec 76c2e0f7a00f68fc386399c00511b63ffe850d6baa0532921657a5adbe7d5a07 ssh-agent [2021-08-11T16:21:41.231Z] SSH_AUTH_SOCK=/tmp/ssh-DMKXzJqcZK4M/agent.13 [2021-08-11T16:21:41.231Z] SSH_AGENT_PID=20 [2021-08-11T16:21:41.239Z] Running ssh-add (command line suppressed) [2021-08-11T16:21:41.349Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7387919512750190102.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7387919512750190102.key) [2021-08-11T16:21:41.373Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-11T16:21:41.695Z] + git semver bump pre [2021-08-11T16:21:41.695Z] # -> Open(): unable to determine branch for HEAD [2021-08-11T16:21:41.695Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2021-08-11T16:21:41.695Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2021-08-11T16:21:41.695Z] # $SEMVER_REMOTE_NAME = origin [2021-08-11T16:21:41.695Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-11T16:21:41.695Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-11T16:21:41.695Z] # $SEMVER_BRANCH = main [2021-08-11T16:21:41.695Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [2021-08-11T16:21:41.695Z] 2.0.2-dev.3 [Pipeline] } [2021-08-11T16:21:41.704Z] $ docker exec --env ******** --env ******** 76c2e0f7a00f68fc386399c00511b63ffe850d6baa0532921657a5adbe7d5a07 ssh-agent -k [2021-08-11T16:21:41.799Z] unset SSH_AUTH_SOCK; [2021-08-11T16:21:41.799Z] unset SSH_AGENT_PID; [2021-08-11T16:21:41.800Z] echo Agent pid 20 killed; [2021-08-11T16:21:41.822Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-11T16:21:42.175Z] + git semver [Pipeline] } [2021-08-11T16:21:42.190Z] $ docker stop --time=1 76c2e0f7a00f68fc386399c00511b63ffe850d6baa0532921657a5adbe7d5a07 [2021-08-11T16:21:43.403Z] $ docker rm -f 76c2e0f7a00f68fc386399c00511b63ffe850d6baa0532921657a5adbe7d5a07 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-08-11T16:21:43.904Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-11T16:21:43.904Z] . [Pipeline] withDockerContainer [2021-08-11T16:21:44.282Z] prd-centos7-docker-4c-2g-345 does not seem to be running inside a container [2021-08-11T16:21:44.340Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-08-11T16:21:44.700Z] $ docker top da84fed60dade8654a20a6df1f47c091c29f2ae3a5b037c1d47d387fd9b8fd96 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-11T16:21:44.843Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-11T16:21:44.843Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-11T16:21:44.957Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-11T16:21:44.954Z] $ docker exec da84fed60dade8654a20a6df1f47c091c29f2ae3a5b037c1d47d387fd9b8fd96 ssh-agent [2021-08-11T16:21:45.077Z] SSH_AUTH_SOCK=/tmp/ssh-ahQWP6PnNLRq/agent.14 [2021-08-11T16:21:45.077Z] SSH_AGENT_PID=20 [2021-08-11T16:21:45.086Z] Running ssh-add (command line suppressed) [2021-08-11T16:21:45.177Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_194742175348634586.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_194742175348634586.key) [2021-08-11T16:21:45.204Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-11T16:21:45.524Z] + git semver push [2021-08-11T16:21:45.524Z] # -> Open(): unable to determine branch for HEAD [2021-08-11T16:21:45.524Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2021-08-11T16:21:45.524Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2021-08-11T16:21:45.524Z] # $SEMVER_REMOTE_NAME = origin [2021-08-11T16:21:45.524Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-11T16:21:45.524Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-11T16:21:45.524Z] # $SEMVER_BRANCH = main [2021-08-11T16:21:45.524Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [Pipeline] } [2021-08-11T16:21:47.471Z] $ docker exec --env ******** --env ******** da84fed60dade8654a20a6df1f47c091c29f2ae3a5b037c1d47d387fd9b8fd96 ssh-agent -k [2021-08-11T16:21:47.570Z] unset SSH_AUTH_SOCK; [2021-08-11T16:21:47.570Z] unset SSH_AGENT_PID; [2021-08-11T16:21:47.570Z] echo Agent pid 20 killed; [2021-08-11T16:21:47.592Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-11T16:21:47.940Z] + git semver [Pipeline] } [2021-08-11T16:21:47.957Z] $ docker stop --time=1 da84fed60dade8654a20a6df1f47c091c29f2ae3a5b037c1d47d387fd9b8fd96 [2021-08-11T16:21:49.162Z] $ docker rm -f da84fed60dade8654a20a6df1f47c091c29f2ae3a5b037c1d47d387fd9b8fd96 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-08-11T16:21:49.846Z] + '[' -d /w/workspace/oundry_app-functions-sdk-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-08-11T16:21:50.172Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-11T16:21:50.773Z] ---> package-listing.sh [2021-08-11T16:21:50.773Z] ++ facter osfamily [2021-08-11T16:21:50.773Z] ++ tr '[:upper:]' '[:lower:]' [2021-08-11T16:21:51.042Z] + OS_FAMILY=redhat [2021-08-11T16:21:51.042Z] + workspace=/w/workspace/oundry_app-functions-sdk-go_main [2021-08-11T16:21:51.042Z] + START_PACKAGES=/tmp/packages_start.txt [2021-08-11T16:21:51.042Z] + END_PACKAGES=/tmp/packages_end.txt [2021-08-11T16:21:51.042Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-08-11T16:21:51.042Z] + PACKAGES=/tmp/packages_start.txt [2021-08-11T16:21:51.042Z] + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' [2021-08-11T16:21:51.042Z] + PACKAGES=/tmp/packages_end.txt [2021-08-11T16:21:51.042Z] + case "${OS_FAMILY}" in [2021-08-11T16:21:51.042Z] + sort [2021-08-11T16:21:51.042Z] + rpm -qa [2021-08-11T16:21:51.625Z] + '[' -f /tmp/packages_start.txt ']' [2021-08-11T16:21:51.625Z] + '[' -f /tmp/packages_end.txt ']' [2021-08-11T16:21:51.625Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-08-11T16:21:51.625Z] + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' [2021-08-11T16:21:51.625Z] + mkdir -p /w/workspace/oundry_app-functions-sdk-go_main/archives/ [2021-08-11T16:21:51.625Z] + 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-11T16:21:51.640Z] 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-11T16:21:51.939Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-08-11T16:21:52.520Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-11T16:21:52.520Z] [2021-08-11T16:21:52.520Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-11T16:21:52.850Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-11T16:21:52.850Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-11T16:21:52.850Z] b4d181a07f80: Pulling fs layer [2021-08-11T16:21:52.850Z] a1111a8f2ec3: Pulling fs layer [2021-08-11T16:21:52.850Z] ed53099fbce6: Pulling fs layer [2021-08-11T16:21:52.850Z] dc539afda2c1: Pulling fs layer [2021-08-11T16:21:52.850Z] 77bc0d833cb6: Pulling fs layer [2021-08-11T16:21:52.850Z] 9065ff56babe: Pulling fs layer [2021-08-11T16:21:52.850Z] d287ab97295c: Pulling fs layer [2021-08-11T16:21:52.850Z] 77bc0d833cb6: Waiting [2021-08-11T16:21:52.850Z] 9065ff56babe: Waiting [2021-08-11T16:21:52.850Z] d287ab97295c: Waiting [2021-08-11T16:21:52.850Z] dc539afda2c1: Waiting [2021-08-11T16:21:53.118Z] a1111a8f2ec3: Verifying Checksum [2021-08-11T16:21:53.118Z] a1111a8f2ec3: Download complete [2021-08-11T16:21:53.383Z] dc539afda2c1: Verifying Checksum [2021-08-11T16:21:53.383Z] dc539afda2c1: Download complete [2021-08-11T16:21:53.383Z] ed53099fbce6: Verifying Checksum [2021-08-11T16:21:53.383Z] ed53099fbce6: Download complete [2021-08-11T16:21:53.383Z] 9065ff56babe: Download complete [2021-08-11T16:21:53.648Z] 77bc0d833cb6: Verifying Checksum [2021-08-11T16:21:53.648Z] 77bc0d833cb6: Download complete [2021-08-11T16:21:54.229Z] b4d181a07f80: Verifying Checksum [2021-08-11T16:21:54.229Z] b4d181a07f80: Download complete [2021-08-11T16:21:55.645Z] b4d181a07f80: Pull complete [2021-08-11T16:21:55.645Z] a1111a8f2ec3: Pull complete [2021-08-11T16:21:56.230Z] ed53099fbce6: Pull complete [2021-08-11T16:21:56.230Z] dc539afda2c1: Pull complete [2021-08-11T16:21:56.230Z] 77bc0d833cb6: Pull complete [2021-08-11T16:21:56.497Z] 9065ff56babe: Pull complete [2021-08-11T16:21:57.910Z] d287ab97295c: Verifying Checksum [2021-08-11T16:21:57.910Z] d287ab97295c: Download complete [2021-08-11T16:22:02.180Z] d287ab97295c: Pull complete [2021-08-11T16:22:02.180Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-11T16:22:02.180Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-11T16:22:02.180Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-11T16:22:02.272Z] prd-centos7-docker-4c-2g-345 does not seem to be running inside a container [2021-08-11T16:22:02.329Z] $ 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-11T16:22:04.555Z] $ docker top 3bb0f08a1901a7a311ec56af2f19482ebea2466b25c72749b79bb0411b76868c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-11T16:22:04.994Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-08-11T16:22:05.316Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-08-11T16:22:05.654Z] + ls /var/log/sa-host [2021-08-11T16:22:05.654Z] + sadf -c /var/log/sa-host/sa05 [2021-08-11T16:22:05.654Z] file_magic: OK [2021-08-11T16:22:05.654Z] HZ: Using current value: 100 [2021-08-11T16:22:05.654Z] file_header: OK [2021-08-11T16:22:05.654Z] 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-11T16:22:05.654Z] Statistics: [2021-08-11T16:22:05.654Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-11T16:22:05.654Z] File successfully converted to sysstat format version 12.0.3 [2021-08-11T16:22:05.654Z] + sadf -c /var/log/sa-host/sa11 [2021-08-11T16:22:05.654Z] file_magic: OK [2021-08-11T16:22:05.654Z] HZ: Using current value: 100 [2021-08-11T16:22:05.654Z] file_header: OK [2021-08-11T16:22:05.654Z] 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-11T16:22:05.654Z] Statistics: [2021-08-11T16:22:05.654Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-11T16:22:05.654Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-11T16:22:05.815Z] provisioning config files... [2021-08-11T16:22:05.832Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config873520168660264275tmp [Pipeline] { [Pipeline] echo [2021-08-11T16:22:05.857Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-11T16:22:06.166Z] ---> create-netrc.sh [Pipeline] } [2021-08-11T16:22:06.178Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-08-11T16:22:06.589Z] ---> python-tools-install.sh [Pipeline] echo [2021-08-11T16:22:06.604Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-11T16:22:06.923Z] ---> sudo-logs.sh [2021-08-11T16:22:06.923Z] Archiving 'sudo' log.. [2021-08-11T16:22:06.923Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-345.vexxhost.local: Name or service not known [2021-08-11T16:22:06.923Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-345.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-08-11T16:22:06.953Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-11T16:22:07.264Z] ---> job-cost.sh [2021-08-11T16:22:07.264Z] lf-activate-venv: SKIPPING [2021-08-11T16:22:07.264Z] DEBUG: total: 0.18000000715255737 [2021-08-11T16:22:07.264Z] INFO: Retrieving Stack Cost... [2021-08-11T16:22:09.847Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-11T16:22:09.847Z] INFO: Archiving Costs [Pipeline] echo [2021-08-11T16:22:09.864Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-11T16:22:10.174Z] ---> logs-deploy.sh [2021-08-11T16:22:10.174Z] lf-activate-venv: SKIPPING [2021-08-11T16:22:10.174Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/main/11 [2021-08-11T16:22:10.174Z] INFO: archiving workspace using pattern(s): [2021-08-11T16:22:11.135Z] Archives upload complete. [2021-08-11T16:22:11.135Z] INFO: archiving logs to Nexus [2021-08-11T16:22:11.718Z] ---> uname -a: [2021-08-11T16:22:11.718Z] Linux prd-centos7-docker-4c-2g-345.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 GNU/Linux [2021-08-11T16:22:11.718Z] [2021-08-11T16:22:11.718Z] [2021-08-11T16:22:11.718Z] ---> lscpu: [2021-08-11T16:22:11.718Z] Architecture: x86_64 [2021-08-11T16:22:11.718Z] CPU op-mode(s): 32-bit, 64-bit [2021-08-11T16:22:11.718Z] Byte Order: Little Endian [2021-08-11T16:22:11.718Z] Address sizes: 40 bits physical, 48 bits virtual [2021-08-11T16:22:11.718Z] CPU(s): 2 [2021-08-11T16:22:11.718Z] On-line CPU(s) list: 0,1 [2021-08-11T16:22:11.718Z] Thread(s) per core: 1 [2021-08-11T16:22:11.718Z] Core(s) per socket: 1 [2021-08-11T16:22:11.718Z] Socket(s): 2 [2021-08-11T16:22:11.718Z] NUMA node(s): 1 [2021-08-11T16:22:11.718Z] Vendor ID: AuthenticAMD [2021-08-11T16:22:11.718Z] CPU family: 23 [2021-08-11T16:22:11.718Z] Model: 49 [2021-08-11T16:22:11.718Z] Model name: AMD EPYC-Rome Processor [2021-08-11T16:22:11.718Z] Stepping: 0 [2021-08-11T16:22:11.718Z] CPU MHz: 2799.998 [2021-08-11T16:22:11.718Z] BogoMIPS: 5599.99 [2021-08-11T16:22:11.718Z] Virtualization: AMD-V [2021-08-11T16:22:11.718Z] Hypervisor vendor: KVM [2021-08-11T16:22:11.718Z] Virtualization type: full [2021-08-11T16:22:11.718Z] L1d cache: 32K [2021-08-11T16:22:11.718Z] L1i cache: 32K [2021-08-11T16:22:11.718Z] L2 cache: 512K [2021-08-11T16:22:11.718Z] L3 cache: 16384K [2021-08-11T16:22:11.718Z] NUMA node0 CPU(s): 0,1 [2021-08-11T16:22:11.718Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities [2021-08-11T16:22:11.718Z] [2021-08-11T16:22:11.718Z] [2021-08-11T16:22:11.718Z] ---> nproc: [2021-08-11T16:22:11.718Z] 2 [2021-08-11T16:22:11.718Z] [2021-08-11T16:22:11.718Z] [2021-08-11T16:22:11.718Z] ---> df -h: [2021-08-11T16:22:11.718Z] Filesystem Size Used Avail Use% Mounted on [2021-08-11T16:22:11.718Z] overlay 40G 9.0G 32G 23% / [2021-08-11T16:22:11.718Z] tmpfs 64M 0 64M 0% /dev [2021-08-11T16:22:11.718Z] tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup [2021-08-11T16:22:11.718Z] shm 64M 0 64M 0% /dev/shm [2021-08-11T16:22:11.718Z] /dev/vda1 40G 9.0G 32G 23% /facter-os [2021-08-11T16:22:11.718Z] [2021-08-11T16:22:11.718Z] [2021-08-11T16:22:11.718Z] ---> sar -b -r -n DEV: [2021-08-11T16:22:11.718Z] Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 08/11/21 _x86_64_ (2 CPU) [2021-08-11T16:22:11.718Z] [2021-08-11T16:22:11.718Z] 16:11:52 LINUX RESTART (2 CPU) [2021-08-11T16:22:11.718Z] [2021-08-11T16:22:11.718Z] 16:13:01 tps rtps wtps bread/s bwrtn/s [2021-08-11T16:22:11.718Z] 16:14:01 0.82 0.00 0.82 0.00 17.97 [2021-08-11T16:22:11.718Z] 16:15:01 0.27 0.00 0.27 0.00 3.48 [2021-08-11T16:22:11.718Z] 16:16:01 0.27 0.00 0.27 0.00 2.98 [2021-08-11T16:22:11.718Z] 16:17:01 0.23 0.00 0.23 0.00 3.73 [2021-08-11T16:22:11.718Z] 16:18:01 0.32 0.00 0.32 0.00 4.15 [2021-08-11T16:22:11.718Z] 16:19:01 0.18 0.00 0.18 0.00 2.05 [2021-08-11T16:22:11.718Z] 16:20:01 0.33 0.00 0.33 0.00 6.10 [2021-08-11T16:22:11.718Z] 16:21:01 70.12 0.03 70.09 3.73 29065.71 [2021-08-11T16:22:11.718Z] 16:22:02 150.55 0.12 150.43 10.26 28132.07 [2021-08-11T16:22:11.718Z] Average: 24.80 0.02 24.78 1.55 6361.62 [2021-08-11T16:22:11.718Z] [2021-08-11T16:22:11.718Z] 16:13:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2021-08-11T16:22:11.718Z] 16:14:01 5427028 0 810576 10.12 2620 1768708 1257552 13.88 599160 1582768 12 [2021-08-11T16:22:11.718Z] 16:15:01 5432984 0 804612 10.05 2620 1768716 1217460 13.44 601444 1575484 8 [2021-08-11T16:22:11.718Z] 16:16:01 5430680 0 806916 10.08 2620 1768716 1205076 13.30 604100 1575484 16 [2021-08-11T16:22:11.718Z] 16:17:01 5430688 0 806900 10.08 2620 1768724 1205212 13.31 597844 1582260 8 [2021-08-11T16:22:11.718Z] 16:18:01 5427604 0 809980 10.11 2620 1768728 1205200 13.31 600572 1582260 8 [2021-08-11T16:22:11.718Z] 16:19:01 5429140 0 808440 10.09 2620 1768732 1204972 13.30 599308 1582260 8 [2021-08-11T16:22:11.718Z] 16:20:01 5426080 0 811492 10.13 2620 1768740 1205236 13.31 602028 1582260 8 [2021-08-11T16:22:11.718Z] 16:21:01 4551544 0 967868 12.08 2620 2486900 1790088 19.76 731928 2242292 132 [2021-08-11T16:22:11.718Z] 16:22:02 3145212 0 1279972 15.98 2620 3581128 1619640 17.88 1117364 3053964 488420 [2021-08-11T16:22:11.718Z] Average: 5077884 0 878528 10.97 2620 2049899 1323382 14.61 672639 1817670 54291 [2021-08-11T16:22:11.718Z] [2021-08-11T16:22:11.718Z] 16:13:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2021-08-11T16:22:11.718Z] 16:14:01 eth0 3.80 1.40 3.57 0.46 0.00 0.00 0.00 0.00 [2021-08-11T16:22:11.718Z] 16:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-08-11T16:22:11.718Z] 16:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-08-11T16:22:11.718Z] 16:15:01 eth0 1.20 0.30 0.33 0.20 0.00 0.00 0.00 0.00 [2021-08-11T16:22:11.718Z] 16:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-08-11T16:22:11.718Z] 16:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-08-11T16:22:11.718Z] 16:16:01 eth0 0.95 0.43 0.33 0.21 0.00 0.00 0.00 0.00 [2021-08-11T16:22:11.718Z] 16:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-08-11T16:22:11.718Z] 16:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-08-11T16:22:11.718Z] 16:17:01 eth0 1.18 0.32 0.34 0.20 0.00 0.00 0.00 0.00 [2021-08-11T16:22:11.718Z] 16:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-08-11T16:22:11.718Z] 16:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-08-11T16:22:11.718Z] 16:18:01 eth0 1.30 0.48 0.45 0.27 0.00 0.00 0.00 0.00 [2021-08-11T16:22:11.718Z] 16:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-08-11T16:22:11.718Z] 16:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-08-11T16:22:11.718Z] 16:19:01 eth0 0.30 0.08 0.03 0.01 0.00 0.00 0.00 0.00 [2021-08-11T16:22:11.718Z] 16:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-08-11T16:22:11.718Z] 16:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-08-11T16:22:11.718Z] 16:20:01 eth0 1.10 0.28 0.31 0.20 0.00 0.00 0.00 0.00 [2021-08-11T16:22:11.718Z] 16:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-08-11T16:22:11.718Z] 16:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-08-11T16:22:11.718Z] 16:21:01 eth0 665.75 442.33 4095.44 35.73 0.00 0.00 0.00 0.00 [2021-08-11T16:22:11.718Z] 16:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-08-11T16:22:11.718Z] 16:21:01 veth7353c3d 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-08-11T16:22:11.718Z] 16:21:01 vethf03833d 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-08-11T16:22:11.718Z] 16:22:02 eth0 1213.60 829.15 6272.25 170.46 0.00 0.00 0.00 0.00 [2021-08-11T16:22:11.718Z] 16:22:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-08-11T16:22:11.718Z] 16:22:02 docker0 185.58 174.13 16.01 683.70 0.00 0.00 0.00 0.00 [2021-08-11T16:22:11.718Z] Average: eth0 209.97 141.69 1152.91 23.09 0.00 0.00 0.00 0.00 [2021-08-11T16:22:11.718Z] Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-08-11T16:22:11.719Z] Average: docker0 7.31 9.67 0.60 41.22 0.00 0.00 0.00 0.00 [2021-08-11T16:22:11.719Z] [2021-08-11T16:22:11.719Z] [2021-08-11T16:22:11.719Z] ---> sar -P ALL: [2021-08-11T16:22:11.719Z] Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 08/11/21 _x86_64_ (2 CPU) [2021-08-11T16:22:11.719Z] [2021-08-11T16:22:11.719Z] 16:11:52 LINUX RESTART (2 CPU) [2021-08-11T16:22:11.719Z] [2021-08-11T16:22:11.719Z] 16:13:01 CPU %user %nice %system %iowait %steal %idle [2021-08-11T16:22:11.719Z] 16:14:01 all 0.22 0.00 0.07 0.00 0.03 99.69 [2021-08-11T16:22:11.719Z] 16:14:01 0 0.08 0.00 0.07 0.00 0.03 99.82 [2021-08-11T16:22:11.719Z] 16:14:01 1 0.35 0.00 0.07 0.00 0.02 99.57 [2021-08-11T16:22:11.719Z] 16:15:01 all 0.23 0.00 0.08 0.00 0.02 99.68 [2021-08-11T16:22:11.719Z] 16:15:01 0 0.07 0.00 0.08 0.00 0.02 99.83 [2021-08-11T16:22:11.719Z] 16:15:01 1 0.38 0.00 0.07 0.00 0.02 99.53 [2021-08-11T16:22:11.719Z] 16:16:01 all 0.19 0.00 0.05 0.00 0.02 99.74 [2021-08-11T16:22:11.719Z] 16:16:01 0 0.32 0.00 0.08 0.00 0.02 99.58 [2021-08-11T16:22:11.719Z] 16:16:01 1 0.07 0.00 0.02 0.00 0.02 99.90 [2021-08-11T16:22:11.719Z] 16:17:01 all 0.09 0.00 0.07 0.00 0.02 99.82 [2021-08-11T16:22:11.719Z] 16:17:01 0 0.12 0.00 0.10 0.00 0.03 99.75 [2021-08-11T16:22:11.719Z] 16:17:01 1 0.07 0.00 0.03 0.00 0.00 99.90 [2021-08-11T16:22:11.719Z] 16:18:01 all 0.16 0.00 0.07 0.00 0.03 99.75 [2021-08-11T16:22:11.719Z] 16:18:01 0 0.05 0.00 0.08 0.00 0.03 99.83 [2021-08-11T16:22:11.719Z] 16:18:01 1 0.27 0.00 0.05 0.00 0.02 99.67 [2021-08-11T16:22:11.719Z] 16:19:01 all 0.13 0.00 0.04 0.00 0.02 99.81 [2021-08-11T16:22:11.719Z] 16:19:01 0 0.08 0.00 0.07 0.00 0.02 99.83 [2021-08-11T16:22:11.719Z] 16:19:01 1 0.18 0.00 0.02 0.00 0.02 99.78 [2021-08-11T16:22:11.719Z] 16:20:01 all 0.20 0.00 0.08 0.00 0.03 99.70 [2021-08-11T16:22:11.719Z] 16:20:01 0 0.20 0.00 0.08 0.00 0.02 99.70 [2021-08-11T16:22:11.719Z] 16:20:01 1 0.20 0.00 0.07 0.00 0.03 99.70 [2021-08-11T16:22:11.719Z] 16:21:01 all 8.09 0.00 3.60 0.48 0.05 87.78 [2021-08-11T16:22:11.719Z] 16:21:01 0 8.01 0.00 3.78 0.34 0.05 87.82 [2021-08-11T16:22:11.719Z] 16:21:01 1 8.17 0.00 3.42 0.61 0.05 87.75 [2021-08-11T16:22:11.719Z] 16:22:02 all 23.43 0.00 10.61 1.10 0.09 64.77 [2021-08-11T16:22:11.719Z] 16:22:02 0 21.91 0.00 10.61 1.10 0.09 66.29 [2021-08-11T16:22:11.719Z] 16:22:02 1 24.93 0.00 10.60 1.10 0.09 63.27 [2021-08-11T16:22:11.719Z] Average: all 3.48 0.00 1.56 0.17 0.03 94.77 [2021-08-11T16:22:11.719Z] Average: 0 3.27 0.00 1.58 0.15 0.03 94.96 [2021-08-11T16:22:11.719Z] Average: 1 3.69 0.00 1.53 0.18 0.03 94.57 [2021-08-11T16:22:11.719Z] [2021-08-11T16:22:11.719Z] [2021-08-11T16:22:11.719Z]