Pull request #892 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from 3794f80619d57abb19203c4c9eda28e25b163675+4c3c66c497cf52a3890b5e73c45d4dacb89714fe (c8f858a05aa14b83ca8b188369891144a34a521d) 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8056644896140474896.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2902522424379851438.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 6a41506d72e8e131afc862d141935157bee59f41 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/PR-892/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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-892/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1789633180480049164.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3183045676366182104.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd 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/PR-892/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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-892/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3435209144066324618.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > 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_IMAGE_NAME: app-functions-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-330 in /w/workspace/ndry_app-functions-sdk-go_PR-892 [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/ndry_app-functions-sdk-go_PR-892 # 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-892@tmp/jenkins-gitclient-ssh2782608544691735738.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 4c3c66c497cf52a3890b5e73c45d4dacb89714fe into PR head commit 3794f80619d57abb19203c4c9eda28e25b163675 Merge succeeded, producing 3794f80619d57abb19203c4c9eda28e25b163675 Checking out Revision 3794f80619d57abb19203c4c9eda28e25b163675 (PR-892) > 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 remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-892@tmp/jenkins-gitclient-ssh6756879791503115473.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/892/head:refs/remotes/origin/PR-892 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3794f80619d57abb19203c4c9eda28e25b163675 # timeout=10 > git remote # timeout=10 > 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-892@tmp/jenkins-gitclient-ssh6953669574017918552.key > git merge 4c3c66c497cf52a3890b5e73c45d4dacb89714fe # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3794f80619d57abb19203c4c9eda28e25b163675 # timeout=10 Commit message: "refactor: Addressed PR comments" First time build. Skipping changelog. > git rev-list --no-walk 141c1a1a31e390b5c4eac15c3b418ad5b60aedd2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-10T22:16:20.085Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-10T22:16:20.182Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-10T22:16:20.212Z] ========================================================= [2021-06-10T22:16:20.212Z] EdgeX Global Pipelines Version Info [2021-06-10T22:16:20.212Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-10T22:16:21.747Z] ------------------- [2021-06-10T22:16:21.747Z] stable info: [2021-06-10T22:16:21.747Z] ------------------- [2021-06-10T22:16:21.747Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-10T22:16:21.747Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-10T22:16:21.747Z] Message: update stable to v1.0.195 [2021-06-10T22:16:22.324Z] ------------------- [2021-06-10T22:16:22.324Z] experimental info: [2021-06-10T22:16:22.324Z] ------------------- [2021-06-10T22:16:22.324Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-10T22:16:22.324Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-10T22:16:22.324Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-10T22:16:22.455Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-06-10T22:16:22.482Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-06-10T22:16:22.507Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-10T22:16:22.532Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-10T22:16:22.557Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-10T22:16:22.584Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-10T22:16:22.609Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-10T22:16:22.633Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-10T22:16:22.657Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-10T22:16:22.682Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-10T22:16:22.707Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-10T22:16:22.732Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2021-06-10T22:16:22.757Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-10T22:16:22.782Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-10T22:16:22.806Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-06-10T22:16:22.831Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-10T22:16:22.856Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-10T22:16:22.882Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-10T22:16:22.910Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-10T22:16:22.942Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-10T22:16:22.967Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-10T22:16:23.000Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-06-10T22:16:23.051Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-10T22:16:23.076Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-10T22:16:23.102Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-06-10T22:16:23.128Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-10T22:16:23.158Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-892 [Pipeline] echo [2021-06-10T22:16:23.183Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-892 [Pipeline] echo [2021-06-10T22:16:23.208Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-892 [Pipeline] echo [2021-06-10T22:16:23.234Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3794f80619d57abb19203c4c9eda28e25b163675 [Pipeline] echo [2021-06-10T22:16:23.259Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3794f80 [Pipeline] echo [2021-06-10T22:16:23.284Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-10T22:16:23.808Z] + git log --format=format:%s -1 3794f80619d57abb19203c4c9eda28e25b163675 [Pipeline] echo [2021-06-10T22:16:23.849Z] GIT_COMMIT: 3794f80619d57abb19203c4c9eda28e25b163675, Commit Message: refactor: Addressed PR comments [Pipeline] echo [2021-06-10T22:16:23.863Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-10T22:16:24.483Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-10T22:16:24.747Z] [2021-06-10T22:16:24.747Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-10T22:16:25.067Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-10T22:16:25.067Z] latest: Pulling from edgex-devops/git-semver [2021-06-10T22:16:25.067Z] 31603596830f: Pulling fs layer [2021-06-10T22:16:25.067Z] 54011a49482f: Pulling fs layer [2021-06-10T22:16:25.067Z] a6820b24f6d8: Pulling fs layer [2021-06-10T22:16:25.067Z] f581987b2513: Pulling fs layer [2021-06-10T22:16:25.067Z] f581987b2513: Waiting [2021-06-10T22:16:25.067Z] 54011a49482f: Verifying Checksum [2021-06-10T22:16:25.067Z] 54011a49482f: Download complete [2021-06-10T22:16:25.337Z] 31603596830f: Verifying Checksum [2021-06-10T22:16:25.337Z] 31603596830f: Download complete [2021-06-10T22:16:25.337Z] f581987b2513: Verifying Checksum [2021-06-10T22:16:25.337Z] f581987b2513: Download complete [2021-06-10T22:16:25.337Z] a6820b24f6d8: Verifying Checksum [2021-06-10T22:16:25.337Z] a6820b24f6d8: Download complete [2021-06-10T22:16:25.605Z] 31603596830f: Pull complete [2021-06-10T22:16:25.606Z] 54011a49482f: Pull complete [2021-06-10T22:16:26.197Z] a6820b24f6d8: Pull complete [2021-06-10T22:16:26.472Z] f581987b2513: Pull complete [2021-06-10T22:16:26.473Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-10T22:16:26.473Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-10T22:16:26.473Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-10T22:16:26.583Z] prd-centos7-docker-4c-2g-330 does not seem to be running inside a container [2021-06-10T22:16:26.623Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-892 -v /w/workspace/ndry_app-functions-sdk-go_PR-892:/w/workspace/ndry_app-functions-sdk-go_PR-892:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-892@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-892@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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-10T22:16:27.948Z] $ docker top c4c8cabb479630312a823ad520a23428e9a663bb771968e57794759f45711b7b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-10T22:16:28.104Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-10T22:16:28.104Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-10T22:16:28.235Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-10T22:16:28.234Z] $ docker exec c4c8cabb479630312a823ad520a23428e9a663bb771968e57794759f45711b7b ssh-agent [2021-06-10T22:16:28.361Z] SSH_AUTH_SOCK=/tmp/ssh-dEDh2sbKiXA9/agent.14 [2021-06-10T22:16:28.361Z] SSH_AGENT_PID=20 [2021-06-10T22:16:28.371Z] Running ssh-add (command line suppressed) [2021-06-10T22:16:28.488Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-892@tmp/private_key_8066273304832098392.key (/w/workspace/ndry_app-functions-sdk-go_PR-892@tmp/private_key_8066273304832098392.key) [2021-06-10T22:16:28.514Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-10T22:16:28.833Z] + git tag --points-at HEAD [Pipeline] } [2021-06-10T22:16:28.846Z] $ docker exec --env ******** --env ******** c4c8cabb479630312a823ad520a23428e9a663bb771968e57794759f45711b7b ssh-agent -k [2021-06-10T22:16:28.961Z] unset SSH_AUTH_SOCK; [2021-06-10T22:16:28.962Z] unset SSH_AGENT_PID; [2021-06-10T22:16:28.962Z] echo Agent pid 20 killed; [2021-06-10T22:16:28.977Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-10T22:16:29.038Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-10T22:16:29.038Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-10T22:16:29.161Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-10T22:16:29.159Z] $ docker exec c4c8cabb479630312a823ad520a23428e9a663bb771968e57794759f45711b7b ssh-agent [2021-06-10T22:16:29.290Z] SSH_AUTH_SOCK=/tmp/ssh-2cwxvYsgRNIq/agent.54 [2021-06-10T22:16:29.290Z] SSH_AGENT_PID=60 [2021-06-10T22:16:29.295Z] Running ssh-add (command line suppressed) [2021-06-10T22:16:29.397Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-892@tmp/private_key_6444536187172256460.key (/w/workspace/ndry_app-functions-sdk-go_PR-892@tmp/private_key_6444536187172256460.key) [2021-06-10T22:16:29.418Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-10T22:16:29.720Z] + git semver init [2021-06-10T22:16:29.721Z] # -> Open(): unable to determine branch for HEAD [2021-06-10T22:16:29.721Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-892/.git [2021-06-10T22:16:29.721Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-892 [2021-06-10T22:16:29.721Z] # $SEMVER_REMOTE_NAME = origin [2021-06-10T22:16:29.721Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-10T22:16:29.721Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-10T22:16:29.721Z] # $SEMVER_BRANCH = PR-892 [2021-06-10T22:16:29.721Z] # $SEMVER_TEMP = /tmp/semver-820527462 [2021-06-10T22:16:29.721Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-06-10T22:16:31.650Z] # '/tmp/semver-820527462' -> '/w/workspace/ndry_app-functions-sdk-go_PR-892/.semver' [2021-06-10T22:16:31.650Z] # -> Force: false [2021-06-10T22:16:31.650Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-892/.semver [Pipeline] } [2021-06-10T22:16:31.657Z] $ docker exec --env ******** --env ******** c4c8cabb479630312a823ad520a23428e9a663bb771968e57794759f45711b7b ssh-agent -k [2021-06-10T22:16:31.762Z] unset SSH_AUTH_SOCK; [2021-06-10T22:16:31.762Z] unset SSH_AGENT_PID; [2021-06-10T22:16:31.762Z] echo Agent pid 60 killed; [2021-06-10T22:16:31.781Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-10T22:16:32.125Z] + git semver [Pipeline] } [2021-06-10T22:16:32.137Z] $ docker stop --time=1 c4c8cabb479630312a823ad520a23428e9a663bb771968e57794759f45711b7b [2021-06-10T22:16:33.662Z] $ docker rm -f c4c8cabb479630312a823ad520a23428e9a663bb771968e57794759f45711b7b [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-10T22:16:34.044Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-10T22:16:34.360Z] Stashed 1 file(s) [Pipeline] echo [2021-06-10T22:16:34.364Z] [edgeXSemver]: initialized semver on version 0.0.0 [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-06-10T22:16:49.643Z] Still waiting to schedule task [2021-06-10T22:16:49.644Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-10T22:16:49.648Z] Still waiting to schedule task [2021-06-10T22:16:49.649Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-06-10T22:18:12.153Z] Running on prd-centos7-docker-4c-2g-332 in /w/workspace/ndry_app-functions-sdk-go_PR-892 [Pipeline] { [Pipeline] ws [2021-06-10T22:18:12.176Z] Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-06-10T22:18:12.287Z] The recommended git tool is: git [2021-06-10T22:18:14.689Z] using credential edgex-jenkins-ssh [2021-06-10T22:18:14.702Z] Cloning the remote Git repository [2021-06-10T22:18:14.408Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-10T22:18:14.489Z] > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 [2021-06-10T22:18:14.518Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-10T22:18:14.519Z] > git --version # timeout=10 [2021-06-10T22:18:14.528Z] > git --version # 'git version 2.24.4' [2021-06-10T22:18:14.529Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-10T22:18:14.555Z] [INFO] Currently running in a labeled security context [2021-06-10T22:18:14.555Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-10T22:18:14.555Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/3@tmp/jenkins-gitclient-ssh8741406669438362487.key [2021-06-10T22:18:14.564Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-10T22:18:16.557Z] Merging remotes/origin/master commit 4c3c66c497cf52a3890b5e73c45d4dacb89714fe into PR head commit 3794f80619d57abb19203c4c9eda28e25b163675 [2021-06-10T22:18:16.648Z] Merge succeeded, producing 3794f80619d57abb19203c4c9eda28e25b163675 [2021-06-10T22:18:16.649Z] Checking out Revision 3794f80619d57abb19203c4c9eda28e25b163675 (PR-892) [2021-06-10T22:18:15.843Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-06-10T22:18:15.850Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-10T22:18:15.860Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-06-10T22:18:15.873Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-10T22:18:15.873Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-10T22:18:15.874Z] [INFO] Currently running in a labeled security context [2021-06-10T22:18:15.874Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-10T22:18:15.874Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/3@tmp/jenkins-gitclient-ssh8413392147663952685.key [2021-06-10T22:18:15.880Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/892/head:refs/remotes/origin/PR-892 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-10T22:18:16.405Z] > git config core.sparsecheckout # timeout=10 [2021-06-10T22:18:16.418Z] > git checkout -f 3794f80619d57abb19203c4c9eda28e25b163675 # timeout=10 [2021-06-10T22:18:16.457Z] > git remote # timeout=10 [2021-06-10T22:18:16.466Z] > git config --get remote.origin.url # timeout=10 [2021-06-10T22:18:16.474Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-10T22:18:16.475Z] [INFO] Currently running in a labeled security context [2021-06-10T22:18:16.475Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-10T22:18:16.475Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/3@tmp/jenkins-gitclient-ssh4750479112415154305.key [2021-06-10T22:18:16.481Z] > git merge 4c3c66c497cf52a3890b5e73c45d4dacb89714fe # timeout=10 [2021-06-10T22:18:16.489Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-10T22:18:16.499Z] > git config core.sparsecheckout # timeout=10 [2021-06-10T22:18:16.503Z] > git checkout -f 3794f80619d57abb19203c4c9eda28e25b163675 # timeout=10 [2021-06-10T22:18:20.086Z] Commit message: "refactor: Addressed PR comments" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-10T22:18:21.183Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-10T22:18:21.508Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-10T22:18:21.803Z] + sudo service docker restart [2021-06-10T22:18:21.803Z] + true [2021-06-10T22:18:21.803Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-06-10T22:18:40.101Z] ========================================================= [2021-06-10T22:18:40.101Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-10T22:18:40.101Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-10T22:18:40.426Z] + 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-06-10T22:18:40.691Z] Sending build context to Docker daemon 19.96MB [2021-06-10T22:18:40.691Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-10T22:18:40.691Z] Step 2/8 : FROM ${BASE} [2021-06-10T22:18:40.955Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-10T22:18:40.955Z] 540db60ca938: Pulling fs layer [2021-06-10T22:18:40.955Z] adcc1eea9eea: Pulling fs layer [2021-06-10T22:18:40.955Z] 4c4ab2625f07: Pulling fs layer [2021-06-10T22:18:40.955Z] 0510c868ecb4: Pulling fs layer [2021-06-10T22:18:40.955Z] afea3b2eda06: Pulling fs layer [2021-06-10T22:18:40.955Z] 7809a108b3ef: Pulling fs layer [2021-06-10T22:18:40.955Z] f706445af74f: Pulling fs layer [2021-06-10T22:18:40.955Z] 0510c868ecb4: Waiting [2021-06-10T22:18:40.955Z] afea3b2eda06: Waiting [2021-06-10T22:18:40.955Z] 7809a108b3ef: Waiting [2021-06-10T22:18:40.955Z] f706445af74f: Waiting [2021-06-10T22:18:40.955Z] 4c4ab2625f07: Verifying Checksum [2021-06-10T22:18:40.955Z] 4c4ab2625f07: Download complete [2021-06-10T22:18:40.955Z] adcc1eea9eea: Verifying Checksum [2021-06-10T22:18:40.955Z] adcc1eea9eea: Download complete [2021-06-10T22:18:40.955Z] afea3b2eda06: Verifying Checksum [2021-06-10T22:18:40.955Z] afea3b2eda06: Download complete [2021-06-10T22:18:40.955Z] 7809a108b3ef: Verifying Checksum [2021-06-10T22:18:40.955Z] 7809a108b3ef: Download complete [2021-06-10T22:18:40.955Z] 540db60ca938: Verifying Checksum [2021-06-10T22:18:40.955Z] 540db60ca938: Download complete [2021-06-10T22:18:41.220Z] 540db60ca938: Pull complete [2021-06-10T22:18:41.220Z] adcc1eea9eea: Pull complete [2021-06-10T22:18:41.482Z] 4c4ab2625f07: Pull complete [2021-06-10T22:18:42.868Z] f706445af74f: Verifying Checksum [2021-06-10T22:18:42.868Z] f706445af74f: Download complete [2021-06-10T22:18:43.444Z] 0510c868ecb4: Verifying Checksum [2021-06-10T22:18:43.444Z] 0510c868ecb4: Download complete [2021-06-10T22:18:46.787Z] 0510c868ecb4: Pull complete [2021-06-10T22:18:46.787Z] afea3b2eda06: Pull complete [2021-06-10T22:18:46.787Z] 7809a108b3ef: Pull complete [2021-06-10T22:18:48.175Z] f706445af74f: Pull complete [2021-06-10T22:18:48.175Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-10T22:18:48.175Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-10T22:18:48.175Z] ---> b068be0155e3 [2021-06-10T22:18:48.175Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-06-10T22:18:48.175Z] 20.10.0: Pulling from library/docker [2021-06-10T22:18:48.175Z] 05e7bc50f07f: Pulling fs layer [2021-06-10T22:18:48.175Z] 6db28d0fdbf6: Pulling fs layer [2021-06-10T22:18:48.175Z] 292df0bc6bf3: Pulling fs layer [2021-06-10T22:18:48.175Z] 2e060f4bd70b: Pulling fs layer [2021-06-10T22:18:48.175Z] 80e8d568a223: Pulling fs layer [2021-06-10T22:18:48.175Z] 8dc6ef1a942a: Pulling fs layer [2021-06-10T22:18:48.175Z] 2312dd95470a: Pulling fs layer [2021-06-10T22:18:48.175Z] 2e060f4bd70b: Waiting [2021-06-10T22:18:48.175Z] 80e8d568a223: Waiting [2021-06-10T22:18:48.175Z] 8dc6ef1a942a: Waiting [2021-06-10T22:18:48.175Z] 2312dd95470a: Waiting [2021-06-10T22:18:48.175Z] 292df0bc6bf3: Download complete [2021-06-10T22:18:48.436Z] 6db28d0fdbf6: Verifying Checksum [2021-06-10T22:18:48.436Z] 6db28d0fdbf6: Download complete [2021-06-10T22:18:48.436Z] 80e8d568a223: Verifying Checksum [2021-06-10T22:18:48.436Z] 80e8d568a223: Download complete [2021-06-10T22:18:48.436Z] 8dc6ef1a942a: Verifying Checksum [2021-06-10T22:18:48.436Z] 8dc6ef1a942a: Download complete [2021-06-10T22:18:48.436Z] 2312dd95470a: Verifying Checksum [2021-06-10T22:18:48.436Z] 2312dd95470a: Download complete [2021-06-10T22:18:48.467Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-331 in /w/workspace/ndry_app-functions-sdk-go_PR-892 [Pipeline] { [Pipeline] ws [2021-06-10T22:18:48.485Z] Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-06-10T22:18:48.703Z] 05e7bc50f07f: Verifying Checksum [2021-06-10T22:18:48.703Z] 05e7bc50f07f: Download complete [2021-06-10T22:18:48.703Z] 05e7bc50f07f: Pull complete [2021-06-10T22:18:48.703Z] The recommended git tool is: git [2021-06-10T22:18:48.967Z] 6db28d0fdbf6: Pull complete [2021-06-10T22:18:48.967Z] 292df0bc6bf3: Pull complete [2021-06-10T22:18:49.552Z] 2e060f4bd70b: Verifying Checksum [2021-06-10T22:18:49.552Z] 2e060f4bd70b: Download complete [2021-06-10T22:18:51.498Z] 2e060f4bd70b: Pull complete [2021-06-10T22:18:51.499Z] 80e8d568a223: Pull complete [2021-06-10T22:18:51.499Z] 8dc6ef1a942a: Pull complete [2021-06-10T22:18:51.499Z] 2312dd95470a: Pull complete [2021-06-10T22:18:51.499Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-06-10T22:18:51.499Z] Status: Downloaded newer image for docker:20.10.0 [2021-06-10T22:18:54.370Z] using credential edgex-jenkins-ssh [2021-06-10T22:18:54.401Z] Cloning the remote Git repository [2021-06-10T22:18:54.439Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-10T22:18:54.558Z] > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 [2021-06-10T22:18:54.640Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-10T22:18:54.641Z] > git --version # timeout=10 [2021-06-10T22:18:54.655Z] > git --version # 'git version 2.17.1' [2021-06-10T22:18:54.657Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-10T22:18:54.729Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-10T22:18:54.828Z] ---> e2614ec15690 [2021-06-10T22:18:54.828Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-10T22:18:55.092Z] ---> Running in f67d4629273b [2021-06-10T22:18:55.092Z] Removing intermediate container f67d4629273b [2021-06-10T22:18:55.092Z] ---> 1c4b09cfb41b [2021-06-10T22:18:55.092Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-06-10T22:18:55.092Z] ---> Running in 2487f7c9c0dc [2021-06-10T22:18:55.675Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-10T22:18:56.249Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-10T22:18:56.823Z] (1/5) Installing libsodium (1.0.18-r0) [2021-06-10T22:18:56.824Z] (2/5) Installing libzmq (4.3.3-r1) [2021-06-10T22:18:56.824Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-06-10T22:18:57.089Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-06-10T22:18:57.089Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-06-10T22:18:57.089Z] Executing busybox-1.32.1-r6.trigger [2021-06-10T22:18:57.089Z] OK: 150 MiB in 45 packages [2021-06-10T22:18:57.350Z] Removing intermediate container 2487f7c9c0dc [2021-06-10T22:18:57.350Z] ---> 2ee71401d221 [2021-06-10T22:18:57.350Z] Step 6/8 : WORKDIR /build [2021-06-10T22:18:57.609Z] ---> Running in 9acd0a5b0706 [2021-06-10T22:18:57.609Z] Removing intermediate container 9acd0a5b0706 [2021-06-10T22:18:57.609Z] ---> 27049624ce35 [2021-06-10T22:18:57.609Z] Step 7/8 : COPY go.mod . [2021-06-10T22:18:57.609Z] ---> 1db4f7a40ad9 [2021-06-10T22:18:57.609Z] Step 8/8 : RUN go mod download [2021-06-10T22:18:57.873Z] ---> Running in 8c95e7cb7af9 [2021-06-10T22:18:58.664Z] Merging remotes/origin/master commit 4c3c66c497cf52a3890b5e73c45d4dacb89714fe into PR head commit 3794f80619d57abb19203c4c9eda28e25b163675 [2021-06-10T22:18:57.849Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-06-10T22:18:57.866Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-10T22:18:57.890Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-06-10T22:18:57.934Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-10T22:18:57.935Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-10T22:18:57.948Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/892/head:refs/remotes/origin/PR-892 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-10T22:18:58.675Z] > git config core.sparsecheckout # timeout=10 [2021-06-10T22:18:58.690Z] > git checkout -f 3794f80619d57abb19203c4c9eda28e25b163675 # timeout=10 [2021-06-10T22:18:58.803Z] > git remote # timeout=10 [2021-06-10T22:18:58.822Z] > git config --get remote.origin.url # timeout=10 [2021-06-10T22:18:58.914Z] Merge succeeded, producing 3794f80619d57abb19203c4c9eda28e25b163675 [2021-06-10T22:18:58.915Z] Checking out Revision 3794f80619d57abb19203c4c9eda28e25b163675 (PR-892) [2021-06-10T22:18:58.834Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-10T22:18:58.849Z] > git merge 4c3c66c497cf52a3890b5e73c45d4dacb89714fe # timeout=10 [2021-06-10T22:18:58.888Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-10T22:18:58.908Z] > git config core.sparsecheckout # timeout=10 [2021-06-10T22:18:58.921Z] > git checkout -f 3794f80619d57abb19203c4c9eda28e25b163675 # timeout=10 [2021-06-10T22:19:03.209Z] Commit message: "refactor: Addressed PR comments" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-10T22:19:04.801Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-10T22:19:05.213Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-10T22:19:05.556Z] + sudo service docker restart [2021-06-10T22:19:05.556Z] + true [2021-06-10T22:19:12.929Z] Removing intermediate container 8c95e7cb7af9 [2021-06-10T22:19:12.929Z] ---> 18fe0e2ba2aa [2021-06-10T22:19:12.929Z] Successfully built 18fe0e2ba2aa [2021-06-10T22:19:12.929Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-10T22:19:13.238Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-10T22:19:13.238Z] . [Pipeline] withDockerContainer [2021-06-10T22:19:13.326Z] prd-centos7-docker-4c-2g-332 does not seem to be running inside a container [2021-06-10T22:19:13.375Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-10T22:19:13.775Z] $ docker top 14a954594460823280e9b5858e15cf31fa26c17b55b43c6541590f90fdfd6e65 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-10T22:19:14.165Z] + go version [2021-06-10T22:19:14.165Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-10T22:19:14.174Z] $ docker stop --time=1 14a954594460823280e9b5858e15cf31fa26c17b55b43c6541590f90fdfd6e65 [2021-06-10T22:19:15.357Z] $ docker rm -f 14a954594460823280e9b5858e15cf31fa26c17b55b43c6541590f90fdfd6e65 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-10T22:19:15.877Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-10T22:19:15.878Z] . [Pipeline] withDockerContainer [2021-06-10T22:19:15.949Z] prd-centos7-docker-4c-2g-332 does not seem to be running inside a container [2021-06-10T22:19:15.986Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-10T22:19:16.351Z] $ docker top 61101eac3fe7a64bda35ea274642439478cedb916d2b39034993b245f3cc5311 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-10T22:19:16.742Z] + go mod tidy [Pipeline] sh [2021-06-10T22:19:17.304Z] + make test [2021-06-10T22:19:17.304Z] make -C ./app-service-template build [2021-06-10T22:19:17.304Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-06-10T22:19:17.304Z] go mod tidy [2021-06-10T22:19:17.574Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.52 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [Pipeline] unstash [Pipeline] echo [2021-06-10T22:19:24.149Z] ========================================================= [2021-06-10T22:19:24.149Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-10T22:19:24.149Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-10T22:19:24.494Z] + 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-06-10T22:19:25.478Z] Sending build context to Docker daemon 19.96MB [2021-06-10T22:19:25.755Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-10T22:19:25.755Z] Step 2/8 : FROM ${BASE} [2021-06-10T22:19:26.352Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-10T22:19:26.352Z] 595b0fe564bb: Pulling fs layer [2021-06-10T22:19:26.352Z] 3088b5b3c5c0: Pulling fs layer [2021-06-10T22:19:26.352Z] 5b7225fbf94c: Pulling fs layer [2021-06-10T22:19:26.352Z] ba82ee9f976e: Pulling fs layer [2021-06-10T22:19:26.352Z] 506bd15cee9f: Pulling fs layer [2021-06-10T22:19:26.352Z] 75a0a4a0db45: Pulling fs layer [2021-06-10T22:19:26.352Z] 618dc40b7e24: Pulling fs layer [2021-06-10T22:19:26.352Z] ba82ee9f976e: Waiting [2021-06-10T22:19:26.352Z] 506bd15cee9f: Waiting [2021-06-10T22:19:26.352Z] 75a0a4a0db45: Waiting [2021-06-10T22:19:26.352Z] 618dc40b7e24: Waiting [2021-06-10T22:19:26.352Z] 5b7225fbf94c: Verifying Checksum [2021-06-10T22:19:26.352Z] 5b7225fbf94c: Download complete [2021-06-10T22:19:26.352Z] 3088b5b3c5c0: Verifying Checksum [2021-06-10T22:19:26.352Z] 3088b5b3c5c0: Download complete [2021-06-10T22:19:26.352Z] 506bd15cee9f: Verifying Checksum [2021-06-10T22:19:26.352Z] 506bd15cee9f: Download complete [2021-06-10T22:19:26.352Z] 595b0fe564bb: Verifying Checksum [2021-06-10T22:19:26.352Z] 595b0fe564bb: Download complete [2021-06-10T22:19:26.352Z] 75a0a4a0db45: Verifying Checksum [2021-06-10T22:19:26.352Z] 75a0a4a0db45: Download complete [2021-06-10T22:19:26.967Z] 595b0fe564bb: Pull complete [2021-06-10T22:19:27.670Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-06-10T22:19:27.670Z] make -C ./app-service-template test [2021-06-10T22:19:27.670Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-06-10T22:19:27.670Z] go mod tidy [2021-06-10T22:19:27.670Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-06-10T22:19:27.957Z] 3088b5b3c5c0: Pull complete [2021-06-10T22:19:28.231Z] 5b7225fbf94c: Pull complete [2021-06-10T22:19:28.231Z] 618dc40b7e24: Verifying Checksum [2021-06-10T22:19:28.231Z] 618dc40b7e24: Download complete [2021-06-10T22:19:29.675Z] ba82ee9f976e: Download complete [2021-06-10T22:19:35.859Z] ok new-app-service 0.011s coverage: 47.8% of statements [2021-06-10T22:19:35.860Z] ? new-app-service/config [no test files] [2021-06-10T22:19:35.860Z] ok new-app-service/functions 0.008s [2021-06-10T22:19:35.860Z] CGO_ENABLED=1 go vet ./... [2021-06-10T22:19:39.862Z] ba82ee9f976e: Pull complete [2021-06-10T22:19:40.136Z] 506bd15cee9f: Pull complete [2021-06-10T22:19:40.735Z] 75a0a4a0db45: Pull complete [2021-06-10T22:19:42.480Z] gofmt -l . [2021-06-10T22:19:42.480Z] [ "`gofmt -l .`" = "" ] [2021-06-10T22:19:42.480Z] ./bin/test-attribution-txt.sh [2021-06-10T22:19:42.741Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-06-10T22:19:42.741Z] go mod tidy [2021-06-10T22:19:42.741Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-06-10T22:19:43.316Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-06-10T22:19:44.722Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.028s coverage: 62.8% of statements [2021-06-10T22:19:44.722Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.008s coverage: 96.5% of statements [2021-06-10T22:19:44.722Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-06-10T22:19:44.991Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.013s coverage: 61.8% of statements [2021-06-10T22:19:44.991Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-06-10T22:19:44.991Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.006s [2021-06-10T22:19:45.059Z] 618dc40b7e24: Pull complete [2021-06-10T22:19:45.059Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-10T22:19:45.059Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-10T22:19:45.059Z] ---> a36622ca3599 [2021-06-10T22:19:45.059Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-06-10T22:19:45.059Z] 20.10.0: Pulling from library/docker [2021-06-10T22:19:45.059Z] a3cc7d3b244e: Pulling fs layer [2021-06-10T22:19:45.059Z] 02a3295e0d61: Pulling fs layer [2021-06-10T22:19:45.059Z] 0f4f2e6d8100: Pulling fs layer [2021-06-10T22:19:45.059Z] 330b718f631f: Pulling fs layer [2021-06-10T22:19:45.059Z] a93816041522: Pulling fs layer [2021-06-10T22:19:45.059Z] bdb6da89ff94: Pulling fs layer [2021-06-10T22:19:45.059Z] 2a70c0c122f4: Pulling fs layer [2021-06-10T22:19:45.059Z] 330b718f631f: Waiting [2021-06-10T22:19:45.059Z] a93816041522: Waiting [2021-06-10T22:19:45.059Z] bdb6da89ff94: Waiting [2021-06-10T22:19:45.059Z] 2a70c0c122f4: Waiting [2021-06-10T22:19:45.059Z] 0f4f2e6d8100: Verifying Checksum [2021-06-10T22:19:45.059Z] 0f4f2e6d8100: Download complete [2021-06-10T22:19:45.059Z] 02a3295e0d61: Verifying Checksum [2021-06-10T22:19:45.059Z] 02a3295e0d61: Download complete [2021-06-10T22:19:45.059Z] a3cc7d3b244e: Verifying Checksum [2021-06-10T22:19:45.059Z] a3cc7d3b244e: Download complete [2021-06-10T22:19:45.059Z] a93816041522: Verifying Checksum [2021-06-10T22:19:45.059Z] a93816041522: Download complete [2021-06-10T22:19:45.059Z] bdb6da89ff94: Verifying Checksum [2021-06-10T22:19:45.059Z] bdb6da89ff94: Download complete [2021-06-10T22:19:45.059Z] 2a70c0c122f4: Verifying Checksum [2021-06-10T22:19:45.059Z] 2a70c0c122f4: Download complete [2021-06-10T22:19:45.571Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.021s coverage: 74.5% of statements [2021-06-10T22:19:45.571Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-06-10T22:19:45.571Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-06-10T22:19:45.571Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-06-10T22:19:45.571Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-06-10T22:19:45.571Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-06-10T22:19:45.571Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-06-10T22:19:45.571Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.006s coverage: 97.1% of statements [2021-06-10T22:19:45.571Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-06-10T22:19:45.661Z] a3cc7d3b244e: Pull complete [2021-06-10T22:19:45.830Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.005s coverage: 10.5% of statements [2021-06-10T22:19:46.260Z] 02a3295e0d61: Pull complete [2021-06-10T22:19:46.875Z] 330b718f631f: Download complete [2021-06-10T22:19:46.875Z] 0f4f2e6d8100: Pull complete [2021-06-10T22:19:49.175Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.756s coverage: 76.9% of statements [2021-06-10T22:19:49.175Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-06-10T22:19:49.175Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.006s coverage: 12.5% of statements [2021-06-10T22:19:49.175Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.010s coverage: 27.3% of statements [2021-06-10T22:19:49.175Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-06-10T22:19:49.175Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-06-10T22:19:49.175Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.006s coverage: 51.4% of statements [2021-06-10T22:19:51.227Z] 330b718f631f: Pull complete [2021-06-10T22:19:51.227Z] a93816041522: Pull complete [2021-06-10T22:19:51.502Z] bdb6da89ff94: Pull complete [2021-06-10T22:19:51.780Z] 2a70c0c122f4: Pull complete [2021-06-10T22:19:51.780Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-06-10T22:19:51.780Z] Status: Downloaded newer image for docker:20.10.0 [2021-06-10T22:19:57.428Z] ---> 15ee3b536735 [2021-06-10T22:19:57.428Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-10T22:19:57.428Z] ---> Running in 9bb90beda12a [2021-06-10T22:19:57.704Z] Removing intermediate container 9bb90beda12a [2021-06-10T22:19:57.704Z] ---> 86513c948f57 [2021-06-10T22:19:57.704Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-06-10T22:19:57.704Z] ---> Running in f6adc1bed673 [2021-06-10T22:19:59.159Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-10T22:20:00.589Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-10T22:20:01.182Z] (1/5) Installing libsodium (1.0.18-r0) [2021-06-10T22:20:01.182Z] (2/5) Installing libzmq (4.3.3-r1) [2021-06-10T22:20:01.182Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-06-10T22:20:01.454Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-06-10T22:20:01.454Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-06-10T22:20:01.454Z] Executing busybox-1.32.1-r6.trigger [2021-06-10T22:20:01.726Z] OK: 139 MiB in 45 packages [2021-06-10T22:20:05.120Z] Removing intermediate container f6adc1bed673 [2021-06-10T22:20:05.120Z] ---> 0d027cc0d581 [2021-06-10T22:20:05.120Z] Step 6/8 : WORKDIR /build [2021-06-10T22:20:05.120Z] ---> Running in af23e6e9cf2b [2021-06-10T22:20:05.120Z] Removing intermediate container af23e6e9cf2b [2021-06-10T22:20:05.120Z] ---> 5a4eb5b4553b [2021-06-10T22:20:05.120Z] Step 7/8 : COPY go.mod . [2021-06-10T22:20:06.103Z] ---> 90a025e3b08b [2021-06-10T22:20:06.103Z] Step 8/8 : RUN go mod download [2021-06-10T22:20:06.103Z] ---> Running in 845df2486361 [2021-06-10T22:20:15.830Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.037s coverage: 78.0% of statements [2021-06-10T22:20:15.830Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.007s coverage: 94.4% of statements [2021-06-10T22:20:15.830Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-10T22:20:15.830Z] gofmt -l . [2021-06-10T22:20:15.830Z] internal/constants.go [2021-06-10T22:20:15.830Z] pkg/transforms/compression_test.go [2021-06-10T22:20:15.830Z] pkg/transforms/encryption_test.go [2021-06-10T22:20:15.830Z] [ "`gofmt -l .`" = "" ] [2021-06-10T22:20:15.830Z] make: *** [Makefile:32: test-sdk] Error 1 [Pipeline] } [2021-06-10T22:20:15.843Z] $ docker stop --time=1 61101eac3fe7a64bda35ea274642439478cedb916d2b39034993b245f3cc5311 [2021-06-10T22:20:17.114Z] $ docker rm -f 61101eac3fe7a64bda35ea274642439478cedb916d2b39034993b245f3cc5311 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-10T22:20:18.260Z] ---> job-cost.sh [2021-06-10T22:20:18.260Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Z8pr [2021-06-10T22:20:28.320Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-10T22:20:32.962Z] Removing intermediate container 845df2486361 [2021-06-10T22:20:32.962Z] ---> f492ecc6646e [2021-06-10T22:20:32.962Z] Successfully built f492ecc6646e [2021-06-10T22:20:32.962Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-10T22:20:33.327Z] + docker inspect -f . ci-base-image-arm64 [2021-06-10T22:20:33.327Z] . [Pipeline] withDockerContainer [2021-06-10T22:20:33.593Z] prd-ubuntu18.04-docker-arm64-4c-16g-331 does not seem to be running inside a container [2021-06-10T22:20:33.661Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-10T22:20:35.362Z] $ docker top 65ebad8b3f190dc1ded98ef933b7005e4645fd2b5859776738a573cd1b2f4953 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-10T22:20:36.372Z] + go version [2021-06-10T22:20:36.372Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-10T22:20:36.387Z] $ docker stop --time=1 65ebad8b3f190dc1ded98ef933b7005e4645fd2b5859776738a573cd1b2f4953 [2021-06-10T22:20:38.276Z] $ docker rm -f 65ebad8b3f190dc1ded98ef933b7005e4645fd2b5859776738a573cd1b2f4953 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-10T22:20:39.068Z] + docker inspect -f . ci-base-image-arm64 [2021-06-10T22:20:39.068Z] . [Pipeline] withDockerContainer [2021-06-10T22:20:39.305Z] prd-ubuntu18.04-docker-arm64-4c-16g-331 does not seem to be running inside a container [2021-06-10T22:20:39.380Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-10T22:20:41.026Z] $ docker top 8d77face08cb2b32cb1055856be3cd3d0db3b59d168123bf6d190965c83e3136 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-10T22:20:42.104Z] + go mod tidy [Pipeline] sh [2021-06-10T22:20:43.265Z] lf-activate-venv(): INFO: Adding /tmp/venv-Z8pr/bin to PATH [2021-06-10T22:20:43.265Z] INFO: No Stack... [2021-06-10T22:20:43.265Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-10T22:20:43.265Z] INFO: Archiving Costs [Pipeline] sh [2021-06-10T22:20:43.419Z] + make test [2021-06-10T22:20:43.419Z] make -C ./app-service-template build [2021-06-10T22:20:43.419Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-06-10T22:20:43.419Z] go mod tidy [2021-06-10T22:20:43.569Z] + cut -d, -f6 [2021-06-10T22:20:43.570Z] + cat /w/workspace/app-functions-sdk-go/3/archives/cost.csv [Pipeline] lock [2021-06-10T22:20:43.602Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-892-3-stack-cost] [2021-06-10T22:20:43.613Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-892-3-stack-cost] did not exist. Created. [2021-06-10T22:20:43.613Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-892-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-10T22:20:43.973Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-10T22:20:44.035Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.52 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-06-10T22:20:44.201Z] Stashed 1 file(s) [Pipeline] } [2021-06-10T22:20:44.214Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-892-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-10T22:20:44.480Z] Failed in branch amd64 [2021-06-10T22:21:23.107Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-06-10T22:21:23.107Z] make -C ./app-service-template test [2021-06-10T22:21:23.107Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-06-10T22:21:23.107Z] go mod tidy [2021-06-10T22:21:23.107Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-06-10T22:21:49.953Z] ok new-app-service 0.049s coverage: 47.8% of statements [2021-06-10T22:21:49.953Z] ? new-app-service/config [no test files] [2021-06-10T22:21:49.953Z] ok new-app-service/functions 0.041s [2021-06-10T22:21:49.953Z] CGO_ENABLED=1 go vet ./... [2021-06-10T22:22:16.790Z] gofmt -l . [2021-06-10T22:22:16.790Z] [ "`gofmt -l .`" = "" ] [2021-06-10T22:22:16.790Z] ./bin/test-attribution-txt.sh [2021-06-10T22:22:18.772Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-06-10T22:22:18.772Z] go mod tidy [2021-06-10T22:22:19.057Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-06-10T22:22:20.501Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-06-10T22:22:28.858Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.077s coverage: 62.8% of statements [2021-06-10T22:22:28.858Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.053s coverage: 96.5% of statements [2021-06-10T22:22:28.858Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-06-10T22:22:28.858Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.097s coverage: 61.8% of statements [2021-06-10T22:22:28.858Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-06-10T22:22:28.858Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.036s [2021-06-10T22:22:29.847Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.144s coverage: 74.5% of statements [2021-06-10T22:22:29.847Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-06-10T22:22:29.847Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-06-10T22:22:29.847Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-06-10T22:22:29.847Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-06-10T22:22:29.847Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-06-10T22:22:29.847Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-06-10T22:22:29.847Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.014s coverage: 97.1% of statements [2021-06-10T22:22:29.847Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-06-10T22:22:29.847Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.056s coverage: 10.5% of statements [2021-06-10T22:22:36.546Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.897s coverage: 76.9% of statements [2021-06-10T22:22:36.546Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-06-10T22:22:36.546Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.033s coverage: 12.5% of statements [2021-06-10T22:22:36.546Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.071s coverage: 27.3% of statements [2021-06-10T22:22:36.546Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-06-10T22:22:36.546Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-06-10T22:22:36.546Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.041s coverage: 51.4% of statements [2021-06-10T22:23:03.328Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.106s coverage: 78.0% of statements [2021-06-10T22:23:03.328Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.030s coverage: 94.4% of statements [2021-06-10T22:23:03.328Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-10T22:23:05.623Z] gofmt -l . [2021-06-10T22:23:05.623Z] internal/constants.go [2021-06-10T22:23:05.623Z] pkg/transforms/compression_test.go [2021-06-10T22:23:05.623Z] pkg/transforms/encryption_test.go [2021-06-10T22:23:05.623Z] [ "`gofmt -l .`" = "" ] [2021-06-10T22:23:06.240Z] make: *** [Makefile:32: test-sdk] Error 1 [Pipeline] } [2021-06-10T22:23:06.252Z] $ docker stop --time=1 8d77face08cb2b32cb1055856be3cd3d0db3b59d168123bf6d190965c83e3136 [2021-06-10T22:23:08.510Z] $ docker rm -f 8d77face08cb2b32cb1055856be3cd3d0db3b59d168123bf6d190965c83e3136 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-10T22:23:09.875Z] ---> job-cost.sh [2021-06-10T22:23:09.875Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-1PbY [2021-06-10T22:24:06.536Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-10T22:26:13.397Z] lf-activate-venv(): INFO: Adding /tmp/venv-1PbY/bin to PATH [2021-06-10T22:26:13.397Z] INFO: No Stack... [2021-06-10T22:26:13.397Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-10T22:26:13.397Z] INFO: Archiving Costs [Pipeline] sh [2021-06-10T22:26:13.742Z] + cat /w/workspace/app-functions-sdk-go/3/archives/cost.csv [2021-06-10T22:26:13.742Z] + cut -d, -f6 [Pipeline] lock [2021-06-10T22:26:13.809Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-892-3-stack-cost] [2021-06-10T22:26:13.819Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-892-3-stack-cost] did not exist. Created. [2021-06-10T22:26:13.819Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-892-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-10T22:26:14.192Z] /w/workspace/app-functions-sdk-go/3@tmp/durable-47f5a6f5/script.sh: 1: /w/workspace/app-functions-sdk-go/3@tmp/durable-47f5a6f5/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-10T22:26:14.535Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-10T22:26:14.555Z] Warning: overwriting stash ‘stack-cost’ [2021-06-10T22:26:15.213Z] Stashed 1 file(s) [Pipeline] } [2021-06-10T22:26:15.236Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-892-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-10T22:26:15.504Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-06-10T22:26:16.968Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-10T22:26:17.544Z] ---> package-listing.sh [2021-06-10T22:26:17.544Z] ++ facter osfamily [2021-06-10T22:26:17.544Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-10T22:26:17.807Z] + OS_FAMILY=redhat [2021-06-10T22:26:17.807Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-892 [2021-06-10T22:26:17.807Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-10T22:26:17.807Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-10T22:26:17.807Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-10T22:26:17.808Z] + PACKAGES=/tmp/packages_start.txt [2021-06-10T22:26:17.808Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-892 ']' [2021-06-10T22:26:17.808Z] + PACKAGES=/tmp/packages_end.txt [2021-06-10T22:26:17.808Z] + case "${OS_FAMILY}" in [2021-06-10T22:26:17.808Z] + sort [2021-06-10T22:26:17.808Z] + rpm -qa [2021-06-10T22:26:18.381Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-10T22:26:18.381Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-10T22:26:18.381Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-10T22:26:18.381Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-892 ']' [2021-06-10T22:26:18.381Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-892/archives/ [2021-06-10T22:26:18.381Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-892/archives/ [Pipeline] echo [2021-06-10T22:26:18.411Z] 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/ndry_app-functions-sdk-go_PR-892/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-10T22:26:18.699Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-10T22:26:19.334Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-10T22:26:19.334Z] [2021-06-10T22:26:19.334Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-10T22:26:19.660Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-10T22:26:19.660Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-10T22:26:19.660Z] df20fa9351a1: Pulling fs layer [2021-06-10T22:26:19.660Z] 36b3adc4ff6f: Pulling fs layer [2021-06-10T22:26:19.660Z] 8ad3a11d3b57: Pulling fs layer [2021-06-10T22:26:19.660Z] 46f8f816bc3b: Pulling fs layer [2021-06-10T22:26:19.660Z] 93b61091891f: Pulling fs layer [2021-06-10T22:26:19.660Z] 93b9cdb0e59b: Pulling fs layer [2021-06-10T22:26:19.660Z] 5e14af77c1be: Pulling fs layer [2021-06-10T22:26:19.660Z] 01666e4c0597: Pulling fs layer [2021-06-10T22:26:19.660Z] aa168da1d23b: Pulling fs layer [2021-06-10T22:26:19.660Z] 46f8f816bc3b: Waiting [2021-06-10T22:26:19.660Z] 93b61091891f: Waiting [2021-06-10T22:26:19.660Z] 93b9cdb0e59b: Waiting [2021-06-10T22:26:19.660Z] 5e14af77c1be: Waiting [2021-06-10T22:26:19.660Z] 01666e4c0597: Waiting [2021-06-10T22:26:19.660Z] aa168da1d23b: Waiting [2021-06-10T22:26:19.660Z] 36b3adc4ff6f: Verifying Checksum [2021-06-10T22:26:19.660Z] 36b3adc4ff6f: Download complete [2021-06-10T22:26:19.660Z] 46f8f816bc3b: Verifying Checksum [2021-06-10T22:26:19.660Z] 46f8f816bc3b: Download complete [2021-06-10T22:26:19.925Z] df20fa9351a1: Verifying Checksum [2021-06-10T22:26:19.925Z] df20fa9351a1: Download complete [2021-06-10T22:26:19.925Z] 93b9cdb0e59b: Verifying Checksum [2021-06-10T22:26:19.925Z] 93b9cdb0e59b: Download complete [2021-06-10T22:26:19.925Z] 93b61091891f: Verifying Checksum [2021-06-10T22:26:19.925Z] 93b61091891f: Download complete [2021-06-10T22:26:19.925Z] 5e14af77c1be: Verifying Checksum [2021-06-10T22:26:19.925Z] 5e14af77c1be: Download complete [2021-06-10T22:26:19.925Z] 01666e4c0597: Verifying Checksum [2021-06-10T22:26:19.925Z] 01666e4c0597: Download complete [2021-06-10T22:26:19.925Z] df20fa9351a1: Pull complete [2021-06-10T22:26:20.193Z] 8ad3a11d3b57: Verifying Checksum [2021-06-10T22:26:20.193Z] 8ad3a11d3b57: Download complete [2021-06-10T22:26:20.193Z] 36b3adc4ff6f: Pull complete [2021-06-10T22:26:21.157Z] 8ad3a11d3b57: Pull complete [2021-06-10T22:26:21.157Z] 46f8f816bc3b: Pull complete [2021-06-10T22:26:21.429Z] 93b61091891f: Pull complete [2021-06-10T22:26:21.429Z] 93b9cdb0e59b: Pull complete [2021-06-10T22:26:21.712Z] 5e14af77c1be: Pull complete [2021-06-10T22:26:21.712Z] aa168da1d23b: Verifying Checksum [2021-06-10T22:26:21.712Z] aa168da1d23b: Download complete [2021-06-10T22:26:21.712Z] 01666e4c0597: Pull complete [2021-06-10T22:26:25.967Z] aa168da1d23b: Pull complete [2021-06-10T22:26:26.231Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-10T22:26:26.231Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-10T22:26:26.231Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-10T22:26:26.322Z] prd-centos7-docker-4c-2g-330 does not seem to be running inside a container [2021-06-10T22:26:26.361Z] $ 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/ndry_app-functions-sdk-go_PR-892/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ndry_app-functions-sdk-go_PR-892 -v /w/workspace/ndry_app-functions-sdk-go_PR-892:/w/workspace/ndry_app-functions-sdk-go_PR-892:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-892@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-892@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-10T22:26:28.928Z] $ docker top e0b43ca52325a9325518dc7534c7ac0b0102e790dee30c996f2fa8f0d8501f3b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-10T22:26:29.331Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-10T22:26:29.626Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-10T22:26:29.930Z] + ls /var/log/sa-host [2021-06-10T22:26:29.930Z] + sadf -c /var/log/sa-host/sa05 [2021-06-10T22:26:29.930Z] file_magic: OK [2021-06-10T22:26:29.930Z] HZ: Using current value: 100 [2021-06-10T22:26:29.930Z] file_header: OK [2021-06-10T22:26:29.930Z] 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-06-10T22:26:29.930Z] Statistics: [2021-06-10T22:26:29.930Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-10T22:26:29.930Z] File successfully converted to sysstat format version 12.2.1 [2021-06-10T22:26:29.930Z] + sadf -c /var/log/sa-host/sa10 [2021-06-10T22:26:29.930Z] file_magic: OK [2021-06-10T22:26:29.930Z] HZ: Using current value: 100 [2021-06-10T22:26:29.930Z] file_header: OK [2021-06-10T22:26:29.930Z] 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-06-10T22:26:29.930Z] Statistics: [2021-06-10T22:26:29.930Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-10T22:26:29.930Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-10T22:26:30.161Z] provisioning config files... [2021-06-10T22:26:30.176Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-892@tmp/config3736190088573834270tmp [Pipeline] { [Pipeline] echo [2021-06-10T22:26:30.206Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-10T22:26:30.505Z] ---> create-netrc.sh [Pipeline] } [2021-06-10T22:26:30.514Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-10T22:26:30.900Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-10T22:26:30.910Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-10T22:26:31.221Z] ---> sudo-logs.sh [2021-06-10T22:26:31.221Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-10T22:26:31.273Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-10T22:26:31.581Z] ---> job-cost.sh [2021-06-10T22:26:31.581Z] lf-activate-venv: SKIPPING [2021-06-10T22:26:31.581Z] DEBUG: total: 0.18000000715255737 [2021-06-10T22:26:31.581Z] INFO: Retrieving Stack Cost... [2021-06-10T22:26:32.169Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-10T22:26:32.742Z] INFO: Archiving Costs [Pipeline] echo [2021-06-10T22:26:32.757Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-10T22:26:33.059Z] ---> logs-deploy.sh [2021-06-10T22:26:33.059Z] lf-activate-venv: SKIPPING [2021-06-10T22:26:33.059Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-892/3 [2021-06-10T22:26:33.059Z] INFO: archiving workspace using pattern(s): [2021-06-10T22:26:34.008Z] Archives upload complete. [2021-06-10T22:26:34.008Z] INFO: archiving logs to Nexus