Pull request #877 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 AlexCuse for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from 51b9883b1e9de516453713838b412bb61812cfff+e5a015aadf82674317b1b80edf4b00daa11f50d1 (e04fea7c836bc87328edef2208b5998a648c739f) 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-ssh4356841063749740646.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 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-ssh8289319690070270420.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 c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 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-877/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-877/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3867753318246481219.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd # timeout=10 Commit message: "Merge pull request #338 from ernestojeda/add-latest-tag" > 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-ssh6215628894941019673.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a 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-877/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-877/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4827606704915166850.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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-134 in /w/workspace/ndry_app-functions-sdk-go_PR-877 [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-877 # 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-877@tmp/jenkins-gitclient-ssh9014043830725242905.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 e5a015aadf82674317b1b80edf4b00daa11f50d1 into PR head commit 51b9883b1e9de516453713838b412bb61812cfff Merge succeeded, producing 51b9883b1e9de516453713838b412bb61812cfff Checking out Revision 51b9883b1e9de516453713838b412bb61812cfff (PR-877) > 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-877@tmp/jenkins-gitclient-ssh1554764151433388281.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/877/head:refs/remotes/origin/PR-877 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 51b9883b1e9de516453713838b412bb61812cfff # 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-877@tmp/jenkins-gitclient-ssh2859313406977165796.key > git merge e5a015aadf82674317b1b80edf4b00daa11f50d1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 51b9883b1e9de516453713838b412bb61812cfff # timeout=10 Commit message: "feat(sdk): Add URL Formatting To HTTP Sender" > git rev-list --no-walk 6612e6b2953e51b49c56650bcb81d5c00d8bd63e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-02T20:17:46.061Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-02T20:17:46.170Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-02T20:17:46.198Z] ========================================================= [2021-06-02T20:17:46.198Z] EdgeX Global Pipelines Version Info [2021-06-02T20:17:46.198Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-02T20:17:47.664Z] ------------------- [2021-06-02T20:17:47.664Z] stable info: [2021-06-02T20:17:47.664Z] ------------------- [2021-06-02T20:17:47.664Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-02T20:17:47.664Z] Commit SHA: c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [2021-06-02T20:17:47.664Z] Message: update stable to v1.0.193 [2021-06-02T20:17:48.237Z] ------------------- [2021-06-02T20:17:48.237Z] experimental info: [2021-06-02T20:17:48.237Z] ------------------- [2021-06-02T20:17:48.237Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-02T20:17:48.237Z] Commit SHA: c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [2021-06-02T20:17:48.237Z] Message: update experimental to v1.0.193 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-02T20:17:48.355Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-06-02T20:17:48.378Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-06-02T20:17:48.401Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-02T20:17:48.427Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-02T20:17:48.462Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-02T20:17:48.490Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-02T20:17:48.512Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-02T20:17:48.535Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-02T20:17:48.557Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-02T20:17:48.579Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-02T20:17:48.601Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-02T20:17:48.623Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2021-06-02T20:17:48.645Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-02T20:17:48.667Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-02T20:17:48.689Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-06-02T20:17:48.712Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-02T20:17:48.734Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-02T20:17:48.756Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-02T20:17:48.778Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-02T20:17:48.806Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-02T20:17:48.831Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-02T20:17:48.855Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-06-02T20:17:48.917Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-02T20:17:48.940Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-02T20:17:48.962Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-06-02T20:17:48.985Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-02T20:17:49.007Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-877 [Pipeline] echo [2021-06-02T20:17:49.029Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-877 [Pipeline] echo [2021-06-02T20:17:49.050Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-877 [Pipeline] echo [2021-06-02T20:17:49.072Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 51b9883b1e9de516453713838b412bb61812cfff [Pipeline] echo [2021-06-02T20:17:49.101Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 51b9883 [Pipeline] echo [2021-06-02T20:17:49.123Z] [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-02T20:17:49.578Z] + git log --format=format:%s -1 51b9883b1e9de516453713838b412bb61812cfff [Pipeline] echo [2021-06-02T20:17:49.618Z] GIT_COMMIT: 51b9883b1e9de516453713838b412bb61812cfff, Commit Message: feat(sdk): Add URL Formatting To HTTP Sender [Pipeline] echo [2021-06-02T20:17:49.630Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-02T20:17:50.186Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-02T20:17:50.186Z] [2021-06-02T20:17:50.186Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-02T20:17:50.495Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-02T20:17:50.495Z] latest: Pulling from edgex-devops/git-semver [2021-06-02T20:17:50.495Z] 31603596830f: Pulling fs layer [2021-06-02T20:17:50.495Z] 54011a49482f: Pulling fs layer [2021-06-02T20:17:50.495Z] a6820b24f6d8: Pulling fs layer [2021-06-02T20:17:50.495Z] f581987b2513: Pulling fs layer [2021-06-02T20:17:50.495Z] f581987b2513: Waiting [2021-06-02T20:17:50.495Z] 54011a49482f: Verifying Checksum [2021-06-02T20:17:50.495Z] 54011a49482f: Download complete [2021-06-02T20:17:50.759Z] 31603596830f: Verifying Checksum [2021-06-02T20:17:50.759Z] 31603596830f: Download complete [2021-06-02T20:17:50.759Z] f581987b2513: Verifying Checksum [2021-06-02T20:17:50.759Z] f581987b2513: Download complete [2021-06-02T20:17:50.759Z] a6820b24f6d8: Verifying Checksum [2021-06-02T20:17:50.759Z] a6820b24f6d8: Download complete [2021-06-02T20:17:50.759Z] 31603596830f: Pull complete [2021-06-02T20:17:51.019Z] 54011a49482f: Pull complete [2021-06-02T20:17:51.592Z] a6820b24f6d8: Pull complete [2021-06-02T20:17:51.853Z] f581987b2513: Pull complete [2021-06-02T20:17:51.853Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-02T20:17:51.853Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-02T20:17:51.853Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-02T20:17:51.942Z] prd-centos7-docker-4c-2g-134 does not seem to be running inside a container [2021-06-02T20:17:51.983Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-877 -v /w/workspace/ndry_app-functions-sdk-go_PR-877:/w/workspace/ndry_app-functions-sdk-go_PR-877:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-877@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-877@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-02T20:17:53.122Z] $ docker top 0210cfd6f426b953523363a282e01d960733f3c095b7b893ae0a8b42ea3ae9b4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-02T20:17:53.248Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-02T20:17:53.249Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-02T20:17:53.367Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-02T20:17:53.367Z] $ docker exec 0210cfd6f426b953523363a282e01d960733f3c095b7b893ae0a8b42ea3ae9b4 ssh-agent [2021-06-02T20:17:53.484Z] SSH_AUTH_SOCK=/tmp/ssh-3ZDKxZ8OlTYS/agent.14 [2021-06-02T20:17:53.484Z] SSH_AGENT_PID=21 [2021-06-02T20:17:53.493Z] Running ssh-add (command line suppressed) [2021-06-02T20:17:53.581Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-877@tmp/private_key_7386913712390833522.key (/w/workspace/ndry_app-functions-sdk-go_PR-877@tmp/private_key_7386913712390833522.key) [2021-06-02T20:17:53.603Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-02T20:17:53.906Z] + git tag --points-at HEAD [Pipeline] } [2021-06-02T20:17:53.916Z] $ docker exec --env ******** --env ******** 0210cfd6f426b953523363a282e01d960733f3c095b7b893ae0a8b42ea3ae9b4 ssh-agent -k [2021-06-02T20:17:53.999Z] unset SSH_AUTH_SOCK; [2021-06-02T20:17:54.000Z] unset SSH_AGENT_PID; [2021-06-02T20:17:54.000Z] echo Agent pid 21 killed; [2021-06-02T20:17:54.014Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-02T20:17:54.061Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-02T20:17:54.061Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-02T20:17:54.166Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-02T20:17:54.165Z] $ docker exec 0210cfd6f426b953523363a282e01d960733f3c095b7b893ae0a8b42ea3ae9b4 ssh-agent [2021-06-02T20:17:54.271Z] SSH_AUTH_SOCK=/tmp/ssh-b8oYRnscST8v/agent.54 [2021-06-02T20:17:54.271Z] SSH_AGENT_PID=60 [2021-06-02T20:17:54.277Z] Running ssh-add (command line suppressed) [2021-06-02T20:17:54.375Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-877@tmp/private_key_7663432461306921653.key (/w/workspace/ndry_app-functions-sdk-go_PR-877@tmp/private_key_7663432461306921653.key) [2021-06-02T20:17:54.394Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-02T20:17:54.725Z] + git semver init [2021-06-02T20:17:54.726Z] # -> Open(): unable to determine branch for HEAD [2021-06-02T20:17:54.726Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-877/.git [2021-06-02T20:17:54.726Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-877 [2021-06-02T20:17:54.726Z] # $SEMVER_REMOTE_NAME = origin [2021-06-02T20:17:54.726Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-02T20:17:54.726Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-02T20:17:54.726Z] # $SEMVER_BRANCH = PR-877 [2021-06-02T20:17:54.726Z] # $SEMVER_TEMP = /tmp/semver-648855183 [2021-06-02T20:17:54.726Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-06-02T20:17:56.651Z] # '/tmp/semver-648855183' -> '/w/workspace/ndry_app-functions-sdk-go_PR-877/.semver' [2021-06-02T20:17:56.651Z] # -> Force: false [2021-06-02T20:17:56.651Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-877/.semver [Pipeline] } [2021-06-02T20:17:56.657Z] $ docker exec --env ******** --env ******** 0210cfd6f426b953523363a282e01d960733f3c095b7b893ae0a8b42ea3ae9b4 ssh-agent -k [2021-06-02T20:17:56.752Z] unset SSH_AUTH_SOCK; [2021-06-02T20:17:56.752Z] unset SSH_AGENT_PID; [2021-06-02T20:17:56.752Z] echo Agent pid 60 killed; [2021-06-02T20:17:56.769Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-02T20:17:57.111Z] + git semver [Pipeline] } [2021-06-02T20:17:57.121Z] $ docker stop --time=1 0210cfd6f426b953523363a282e01d960733f3c095b7b893ae0a8b42ea3ae9b4 [2021-06-02T20:17:58.549Z] $ docker rm -f 0210cfd6f426b953523363a282e01d960733f3c095b7b893ae0a8b42ea3ae9b4 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-02T20:17:58.923Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-02T20:17:59.197Z] Stashed 1 file(s) [Pipeline] echo [2021-06-02T20:17:59.201Z] [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-02T20:18:14.432Z] Still waiting to schedule task [2021-06-02T20:18:14.433Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-02T20:18:14.434Z] Still waiting to schedule task [2021-06-02T20:18:14.435Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-131’ is offline [2021-06-02T20:20:57.761Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-137 in /w/workspace/ndry_app-functions-sdk-go_PR-877 [Pipeline] { [Pipeline] ws [2021-06-02T20:20:57.781Z] Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-06-02T20:20:57.971Z] The recommended git tool is: git [2021-06-02T20:21:03.531Z] using credential edgex-jenkins-ssh [2021-06-02T20:21:03.566Z] Cloning the remote Git repository [2021-06-02T20:21:03.612Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-02T20:21:03.714Z] > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 [2021-06-02T20:21:03.782Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-02T20:21:03.783Z] > git --version # timeout=10 [2021-06-02T20:21:03.803Z] > git --version # 'git version 2.17.1' [2021-06-02T20:21:03.804Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-02T20:21:04.009Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-02T20:21:07.985Z] Merging remotes/origin/master commit e5a015aadf82674317b1b80edf4b00daa11f50d1 into PR head commit 51b9883b1e9de516453713838b412bb61812cfff [2021-06-02T20:21:07.241Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-06-02T20:21:07.259Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-02T20:21:07.288Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-06-02T20:21:07.326Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-02T20:21:07.327Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-02T20:21:07.338Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/877/head:refs/remotes/origin/PR-877 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-02T20:21:07.999Z] > git config core.sparsecheckout # timeout=10 [2021-06-02T20:21:08.018Z] > git checkout -f 51b9883b1e9de516453713838b412bb61812cfff # timeout=10 [2021-06-02T20:21:08.232Z] Merge succeeded, producing 51b9883b1e9de516453713838b412bb61812cfff [2021-06-02T20:21:08.233Z] Checking out Revision 51b9883b1e9de516453713838b412bb61812cfff (PR-877) [2021-06-02T20:21:08.134Z] > git remote # timeout=10 [2021-06-02T20:21:08.157Z] > git config --get remote.origin.url # timeout=10 [2021-06-02T20:21:08.175Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-02T20:21:08.187Z] > git merge e5a015aadf82674317b1b80edf4b00daa11f50d1 # timeout=10 [2021-06-02T20:21:08.210Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-02T20:21:08.234Z] > git config core.sparsecheckout # timeout=10 [2021-06-02T20:21:08.251Z] > git checkout -f 51b9883b1e9de516453713838b412bb61812cfff # timeout=10 [2021-06-02T20:21:12.461Z] Commit message: "feat(sdk): Add URL Formatting To HTTP Sender" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-02T20:21:13.736Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-02T20:21:14.173Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-02T20:21:14.531Z] + sudo service docker restart+ [2021-06-02T20:21:14.531Z] true [Pipeline] unstash [Pipeline] echo [2021-06-02T20:21:33.148Z] ========================================================= [2021-06-02T20:21:33.148Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-02T20:21:33.148Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-02T20:21:33.497Z] + 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-02T20:21:34.483Z] Sending build context to Docker daemon 19.68MB [2021-06-02T20:21:34.757Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-02T20:21:34.757Z] Step 2/8 : FROM ${BASE} [2021-06-02T20:21:35.032Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-02T20:21:35.032Z] 595b0fe564bb: Pulling fs layer [2021-06-02T20:21:35.032Z] 7186ed65a4f7: Pulling fs layer [2021-06-02T20:21:35.032Z] 316046926c0a: Pulling fs layer [2021-06-02T20:21:35.032Z] 4ebd0625c992: Pulling fs layer [2021-06-02T20:21:35.032Z] 207e8628e3a3: Pulling fs layer [2021-06-02T20:21:35.032Z] c791037a9be2: Pulling fs layer [2021-06-02T20:21:35.032Z] ffd874e62e21: Pulling fs layer [2021-06-02T20:21:35.032Z] 207e8628e3a3: Waiting [2021-06-02T20:21:35.032Z] c791037a9be2: Waiting [2021-06-02T20:21:35.032Z] 4ebd0625c992: Waiting [2021-06-02T20:21:35.032Z] ffd874e62e21: Waiting [2021-06-02T20:21:35.032Z] 316046926c0a: Download complete [2021-06-02T20:21:35.032Z] 7186ed65a4f7: Download complete [2021-06-02T20:21:35.309Z] 207e8628e3a3: Verifying Checksum [2021-06-02T20:21:35.309Z] 207e8628e3a3: Download complete [2021-06-02T20:21:35.309Z] c791037a9be2: Verifying Checksum [2021-06-02T20:21:35.309Z] c791037a9be2: Download complete [2021-06-02T20:21:35.309Z] 595b0fe564bb: Verifying Checksum [2021-06-02T20:21:35.309Z] 595b0fe564bb: Download complete [2021-06-02T20:21:35.931Z] 595b0fe564bb: Pull complete [2021-06-02T20:21:36.542Z] 7186ed65a4f7: Pull complete [2021-06-02T20:21:36.815Z] 316046926c0a: Pull complete [2021-06-02T20:21:37.804Z] ffd874e62e21: Verifying Checksum [2021-06-02T20:21:37.804Z] ffd874e62e21: Download complete [2021-06-02T20:21:39.239Z] 4ebd0625c992: Verifying Checksum [2021-06-02T20:21:39.239Z] 4ebd0625c992: Download complete [2021-06-02T20:21:49.395Z] 4ebd0625c992: Pull complete [2021-06-02T20:21:49.396Z] 207e8628e3a3: Pull complete [2021-06-02T20:21:49.669Z] c791037a9be2: Pull complete [2021-06-02T20:21:53.003Z] Running on prd-centos7-docker-4c-2g-138 in /w/workspace/ndry_app-functions-sdk-go_PR-877 [Pipeline] { [Pipeline] ws [2021-06-02T20:21:53.031Z] Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-06-02T20:21:53.079Z] ffd874e62e21: Pull complete [2021-06-02T20:21:53.137Z] The recommended git tool is: git [2021-06-02T20:21:53.352Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-06-02T20:21:53.352Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-02T20:21:53.352Z] ---> cfc18b08335c [2021-06-02T20:21:53.352Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-06-02T20:21:53.352Z] 20.10.0: Pulling from library/docker [2021-06-02T20:21:53.627Z] a3cc7d3b244e: Pulling fs layer [2021-06-02T20:21:53.627Z] 02a3295e0d61: Pulling fs layer [2021-06-02T20:21:53.627Z] 0f4f2e6d8100: Pulling fs layer [2021-06-02T20:21:53.627Z] 330b718f631f: Pulling fs layer [2021-06-02T20:21:53.627Z] a93816041522: Pulling fs layer [2021-06-02T20:21:53.627Z] bdb6da89ff94: Pulling fs layer [2021-06-02T20:21:53.627Z] 2a70c0c122f4: Pulling fs layer [2021-06-02T20:21:53.627Z] 330b718f631f: Waiting [2021-06-02T20:21:53.627Z] bdb6da89ff94: Waiting [2021-06-02T20:21:53.627Z] 2a70c0c122f4: Waiting [2021-06-02T20:21:53.627Z] 0f4f2e6d8100: Verifying Checksum [2021-06-02T20:21:53.627Z] 0f4f2e6d8100: Download complete [2021-06-02T20:21:53.627Z] 02a3295e0d61: Verifying Checksum [2021-06-02T20:21:53.627Z] 02a3295e0d61: Download complete [2021-06-02T20:21:53.627Z] a93816041522: Verifying Checksum [2021-06-02T20:21:53.627Z] a93816041522: Download complete [2021-06-02T20:21:53.627Z] a3cc7d3b244e: Verifying Checksum [2021-06-02T20:21:53.627Z] bdb6da89ff94: Verifying Checksum [2021-06-02T20:21:53.627Z] bdb6da89ff94: Download complete [2021-06-02T20:21:53.903Z] 2a70c0c122f4: Download complete [2021-06-02T20:21:54.181Z] a3cc7d3b244e: Pull complete [2021-06-02T20:21:55.178Z] 02a3295e0d61: Pull complete [2021-06-02T20:21:55.456Z] 0f4f2e6d8100: Pull complete [2021-06-02T20:21:55.547Z] using credential edgex-jenkins-ssh [2021-06-02T20:21:55.570Z] Cloning the remote Git repository [2021-06-02T20:21:55.732Z] 330b718f631f: Verifying Checksum [2021-06-02T20:21:55.732Z] 330b718f631f: Download complete [2021-06-02T20:21:55.796Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-02T20:21:55.858Z] > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 [2021-06-02T20:21:55.893Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-02T20:21:55.893Z] > git --version # timeout=10 [2021-06-02T20:21:55.905Z] > git --version # 'git version 2.24.4' [2021-06-02T20:21:55.905Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-02T20:21:55.930Z] [INFO] Currently running in a labeled security context [2021-06-02T20:21:55.930Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-02T20:21:55.930Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/3@tmp/jenkins-gitclient-ssh5029751725569453955.key [2021-06-02T20:21:55.964Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-02T20:21:57.595Z] Merging remotes/origin/master commit e5a015aadf82674317b1b80edf4b00daa11f50d1 into PR head commit 51b9883b1e9de516453713838b412bb61812cfff [2021-06-02T20:21:57.696Z] Merge succeeded, producing 51b9883b1e9de516453713838b412bb61812cfff [2021-06-02T20:21:57.697Z] Checking out Revision 51b9883b1e9de516453713838b412bb61812cfff (PR-877) [2021-06-02T20:21:57.226Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-06-02T20:21:57.232Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-02T20:21:57.241Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-06-02T20:21:57.255Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-02T20:21:57.255Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-02T20:21:57.256Z] [INFO] Currently running in a labeled security context [2021-06-02T20:21:57.256Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-02T20:21:57.256Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/3@tmp/jenkins-gitclient-ssh1892245122526433918.key [2021-06-02T20:21:57.267Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/877/head:refs/remotes/origin/PR-877 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-02T20:21:57.723Z] > git config core.sparsecheckout # timeout=10 [2021-06-02T20:21:57.733Z] > git checkout -f 51b9883b1e9de516453713838b412bb61812cfff # timeout=10 [2021-06-02T20:21:57.765Z] > git remote # timeout=10 [2021-06-02T20:21:57.771Z] > git config --get remote.origin.url # timeout=10 [2021-06-02T20:21:57.778Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-02T20:21:57.779Z] [INFO] Currently running in a labeled security context [2021-06-02T20:21:57.779Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-02T20:21:57.779Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/3@tmp/jenkins-gitclient-ssh1907007059539837989.key [2021-06-02T20:21:57.789Z] > git merge e5a015aadf82674317b1b80edf4b00daa11f50d1 # timeout=10 [2021-06-02T20:21:57.799Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-02T20:21:57.811Z] > git config core.sparsecheckout # timeout=10 [2021-06-02T20:21:57.818Z] > git checkout -f 51b9883b1e9de516453713838b412bb61812cfff # timeout=10 [2021-06-02T20:22:00.054Z] 330b718f631f: Pull complete [2021-06-02T20:22:00.054Z] a93816041522: Pull complete [2021-06-02T20:22:00.054Z] bdb6da89ff94: Pull complete [2021-06-02T20:22:00.652Z] 2a70c0c122f4: Pull complete [2021-06-02T20:22:00.652Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-06-02T20:22:00.652Z] Status: Downloaded newer image for docker:20.10.0 [2021-06-02T20:22:01.388Z] Commit message: "feat(sdk): Add URL Formatting To HTTP Sender" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-02T20:22:02.595Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-02T20:22:02.933Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-02T20:22:03.235Z] + sudo service docker restart [2021-06-02T20:22:03.235Z] + true [2021-06-02T20:22:03.235Z] Redirecting to /bin/systemctl restart docker.service [2021-06-02T20:22:06.062Z] ---> 810c313a3ac2 [2021-06-02T20:22:06.063Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-02T20:22:06.063Z] ---> Running in 4bc02cad50a9 [2021-06-02T20:22:06.063Z] Removing intermediate container 4bc02cad50a9 [2021-06-02T20:22:06.063Z] ---> aad959484eb4 [2021-06-02T20:22:06.063Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-06-02T20:22:06.063Z] ---> Running in 00839386c005 [2021-06-02T20:22:07.499Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-02T20:22:08.101Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-02T20:22:09.077Z] (1/5) Installing libsodium (1.0.18-r0) [2021-06-02T20:22:09.077Z] (2/5) Installing libzmq (4.3.3-r1) [2021-06-02T20:22:09.077Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-06-02T20:22:09.077Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-06-02T20:22:09.350Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-06-02T20:22:09.350Z] Executing busybox-1.32.1-r6.trigger [2021-06-02T20:22:09.350Z] OK: 139 MiB in 45 packages [2021-06-02T20:22:10.783Z] Removing intermediate container 00839386c005 [2021-06-02T20:22:10.784Z] ---> aaeaebe17b74 [2021-06-02T20:22:10.784Z] Step 6/8 : WORKDIR /build [2021-06-02T20:22:10.784Z] ---> Running in eb75d54bb91a [2021-06-02T20:22:11.382Z] Removing intermediate container eb75d54bb91a [2021-06-02T20:22:11.382Z] ---> b12934d93fcd [2021-06-02T20:22:11.382Z] Step 7/8 : COPY go.mod . [2021-06-02T20:22:11.979Z] ---> 5cebce71f977 [2021-06-02T20:22:11.979Z] Step 8/8 : RUN go mod download [2021-06-02T20:22:12.253Z] ---> Running in b3518dc4b403 [Pipeline] unstash [Pipeline] echo [2021-06-02T20:22:21.516Z] ========================================================= [2021-06-02T20:22:21.516Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-02T20:22:21.516Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-02T20:22:21.834Z] + 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-02T20:22:22.102Z] Sending build context to Docker daemon 19.69MB [2021-06-02T20:22:22.102Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-02T20:22:22.102Z] Step 2/8 : FROM ${BASE} [2021-06-02T20:22:22.102Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-02T20:22:22.102Z] 540db60ca938: Pulling fs layer [2021-06-02T20:22:22.102Z] adcc1eea9eea: Pulling fs layer [2021-06-02T20:22:22.102Z] 4c4ab2625f07: Pulling fs layer [2021-06-02T20:22:22.102Z] 0510c868ecb4: Pulling fs layer [2021-06-02T20:22:22.102Z] afea3b2eda06: Pulling fs layer [2021-06-02T20:22:22.102Z] 7809a108b3ef: Pulling fs layer [2021-06-02T20:22:22.102Z] f706445af74f: Pulling fs layer [2021-06-02T20:22:22.102Z] 0510c868ecb4: Waiting [2021-06-02T20:22:22.102Z] afea3b2eda06: Waiting [2021-06-02T20:22:22.102Z] 7809a108b3ef: Waiting [2021-06-02T20:22:22.102Z] f706445af74f: Waiting [2021-06-02T20:22:22.366Z] 4c4ab2625f07: Verifying Checksum [2021-06-02T20:22:22.366Z] 4c4ab2625f07: Download complete [2021-06-02T20:22:22.366Z] adcc1eea9eea: Verifying Checksum [2021-06-02T20:22:22.366Z] adcc1eea9eea: Download complete [2021-06-02T20:22:22.366Z] afea3b2eda06: Verifying Checksum [2021-06-02T20:22:22.366Z] afea3b2eda06: Download complete [2021-06-02T20:22:22.366Z] 540db60ca938: Verifying Checksum [2021-06-02T20:22:22.366Z] 540db60ca938: Download complete [2021-06-02T20:22:22.366Z] 7809a108b3ef: Verifying Checksum [2021-06-02T20:22:22.366Z] 7809a108b3ef: Download complete [2021-06-02T20:22:22.636Z] 540db60ca938: Pull complete [2021-06-02T20:22:22.898Z] adcc1eea9eea: Pull complete [2021-06-02T20:22:22.898Z] 4c4ab2625f07: Pull complete [2021-06-02T20:22:24.287Z] f706445af74f: Verifying Checksum [2021-06-02T20:22:24.287Z] f706445af74f: Download complete [2021-06-02T20:22:25.234Z] 0510c868ecb4: Download complete [2021-06-02T20:22:28.575Z] 0510c868ecb4: Pull complete [2021-06-02T20:22:28.575Z] afea3b2eda06: Pull complete [2021-06-02T20:22:28.575Z] 7809a108b3ef: Pull complete [2021-06-02T20:22:29.542Z] f706445af74f: Pull complete [2021-06-02T20:22:29.542Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-02T20:22:29.804Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-02T20:22:29.804Z] ---> b068be0155e3 [2021-06-02T20:22:29.804Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-06-02T20:22:29.804Z] 20.10.0: Pulling from library/docker [2021-06-02T20:22:29.804Z] 05e7bc50f07f: Pulling fs layer [2021-06-02T20:22:29.804Z] 6db28d0fdbf6: Pulling fs layer [2021-06-02T20:22:29.804Z] 292df0bc6bf3: Pulling fs layer [2021-06-02T20:22:29.804Z] 2e060f4bd70b: Pulling fs layer [2021-06-02T20:22:29.804Z] 80e8d568a223: Pulling fs layer [2021-06-02T20:22:29.804Z] 8dc6ef1a942a: Pulling fs layer [2021-06-02T20:22:29.804Z] 2312dd95470a: Pulling fs layer [2021-06-02T20:22:29.804Z] 80e8d568a223: Waiting [2021-06-02T20:22:29.804Z] 8dc6ef1a942a: Waiting [2021-06-02T20:22:29.804Z] 2312dd95470a: Waiting [2021-06-02T20:22:29.804Z] 2e060f4bd70b: Waiting [2021-06-02T20:22:29.804Z] 292df0bc6bf3: Verifying Checksum [2021-06-02T20:22:29.804Z] 292df0bc6bf3: Download complete [2021-06-02T20:22:29.804Z] 6db28d0fdbf6: Verifying Checksum [2021-06-02T20:22:29.804Z] 6db28d0fdbf6: Download complete [2021-06-02T20:22:29.804Z] 05e7bc50f07f: Verifying Checksum [2021-06-02T20:22:29.804Z] 05e7bc50f07f: Download complete [2021-06-02T20:22:29.804Z] 80e8d568a223: Verifying Checksum [2021-06-02T20:22:29.804Z] 80e8d568a223: Download complete [2021-06-02T20:22:30.075Z] 8dc6ef1a942a: Verifying Checksum [2021-06-02T20:22:30.075Z] 8dc6ef1a942a: Download complete [2021-06-02T20:22:30.075Z] 2312dd95470a: Verifying Checksum [2021-06-02T20:22:30.075Z] 2312dd95470a: Download complete [2021-06-02T20:22:30.075Z] 05e7bc50f07f: Pull complete [2021-06-02T20:22:30.335Z] 6db28d0fdbf6: Pull complete [2021-06-02T20:22:30.335Z] 292df0bc6bf3: Pull complete [2021-06-02T20:22:30.917Z] 2e060f4bd70b: Verifying Checksum [2021-06-02T20:22:30.917Z] 2e060f4bd70b: Download complete [2021-06-02T20:22:32.874Z] 2e060f4bd70b: Pull complete [2021-06-02T20:22:32.874Z] 80e8d568a223: Pull complete [2021-06-02T20:22:32.874Z] 8dc6ef1a942a: Pull complete [2021-06-02T20:22:32.874Z] 2312dd95470a: Pull complete [2021-06-02T20:22:32.874Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-06-02T20:22:32.874Z] Status: Downloaded newer image for docker:20.10.0 [2021-06-02T20:22:35.426Z] ---> ea52856e85cd [2021-06-02T20:22:35.426Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-02T20:22:35.426Z] ---> Running in 862ec86f7d38 [2021-06-02T20:22:35.426Z] Removing intermediate container 862ec86f7d38 [2021-06-02T20:22:35.426Z] ---> 9cf607cb9ae6 [2021-06-02T20:22:35.426Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-06-02T20:22:35.426Z] ---> Running in caddfccd0b06 [2021-06-02T20:22:35.691Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-02T20:22:36.633Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-02T20:22:37.207Z] (1/5) Installing libsodium (1.0.18-r0) [2021-06-02T20:22:37.207Z] (2/5) Installing libzmq (4.3.3-r1) [2021-06-02T20:22:37.207Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-06-02T20:22:37.207Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-06-02T20:22:37.467Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-06-02T20:22:37.467Z] Executing busybox-1.32.1-r6.trigger [2021-06-02T20:22:37.467Z] OK: 150 MiB in 45 packages [2021-06-02T20:22:37.733Z] Removing intermediate container caddfccd0b06 [2021-06-02T20:22:37.733Z] ---> 54d5b89b0855 [2021-06-02T20:22:37.733Z] Step 6/8 : WORKDIR /build [2021-06-02T20:22:37.733Z] ---> Running in b8039556f389 [2021-06-02T20:22:37.995Z] Removing intermediate container b8039556f389 [2021-06-02T20:22:37.995Z] ---> 36b80d3134c9 [2021-06-02T20:22:37.995Z] Step 7/8 : COPY go.mod . [2021-06-02T20:22:37.995Z] ---> 82cdaa17eb16 [2021-06-02T20:22:37.995Z] Step 8/8 : RUN go mod download [2021-06-02T20:22:37.995Z] ---> Running in a5de4e68cb6d [2021-06-02T20:22:39.051Z] Removing intermediate container b3518dc4b403 [2021-06-02T20:22:39.051Z] ---> 9a19d49a8b93 [2021-06-02T20:22:39.051Z] Successfully built 9a19d49a8b93 [2021-06-02T20:22:39.051Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-02T20:22:39.393Z] + docker inspect -f . ci-base-image-arm64 [2021-06-02T20:22:39.393Z] . [Pipeline] withDockerContainer [2021-06-02T20:22:39.817Z] prd-ubuntu18.04-docker-arm64-4c-16g-137 does not seem to be running inside a container [2021-06-02T20:22:39.926Z] $ 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-arm64 cat [2021-06-02T20:22:41.456Z] $ docker top 5f97b6a434190c3223370c68b90003f55d9d283a9c2c81fbdc83a93e5cd1ac75 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-02T20:22:42.453Z] + go version [2021-06-02T20:22:42.453Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-06-02T20:22:42.471Z] $ docker stop --time=1 5f97b6a434190c3223370c68b90003f55d9d283a9c2c81fbdc83a93e5cd1ac75 [2021-06-02T20:22:44.264Z] $ docker rm -f 5f97b6a434190c3223370c68b90003f55d9d283a9c2c81fbdc83a93e5cd1ac75 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-02T20:22:45.061Z] + docker inspect -f . ci-base-image-arm64 [2021-06-02T20:22:45.061Z] . [Pipeline] withDockerContainer [2021-06-02T20:22:45.291Z] prd-ubuntu18.04-docker-arm64-4c-16g-137 does not seem to be running inside a container [2021-06-02T20:22:45.376Z] $ 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-arm64 cat [2021-06-02T20:22:46.950Z] $ docker top 416bb0359f4282364c9b0e376d56acd763adeeb0df09055def57c220032c9534 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-02T20:22:47.944Z] + go mod tidy [2021-06-02T20:22:48.020Z] Removing intermediate container a5de4e68cb6d [2021-06-02T20:22:48.020Z] ---> 78fc0a6b57d1 [2021-06-02T20:22:48.020Z] Successfully built 78fc0a6b57d1 [2021-06-02T20:22:48.021Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [Pipeline] sh [2021-06-02T20:22:48.583Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-02T20:22:48.583Z] . [Pipeline] withDockerContainer [2021-06-02T20:22:48.709Z] prd-centos7-docker-4c-2g-138 does not seem to be running inside a container [2021-06-02T20:22:48.747Z] $ 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-02T20:22:49.154Z] $ docker top cb39c6298fd3dedee07aeaffab5bd4bf2b5f9f1a5f2c2fc9251a28eb575e8535 -eo pid,comm [2021-06-02T20:22:49.219Z] + make test [2021-06-02T20:22:49.219Z] make -C ./app-service-template build [2021-06-02T20:22:49.219Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-06-02T20:22:49.219Z] go mod tidy [Pipeline] { [Pipeline] sh [2021-06-02T20:22:49.538Z] + go version [2021-06-02T20:22:49.538Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-02T20:22:49.546Z] $ docker stop --time=1 cb39c6298fd3dedee07aeaffab5bd4bf2b5f9f1a5f2c2fc9251a28eb575e8535 [2021-06-02T20:22:49.822Z] 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-02T20:22:50.760Z] $ docker rm -f cb39c6298fd3dedee07aeaffab5bd4bf2b5f9f1a5f2c2fc9251a28eb575e8535 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-02T20:22:51.277Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-02T20:22:51.277Z] . [Pipeline] withDockerContainer [2021-06-02T20:22:51.353Z] prd-centos7-docker-4c-2g-138 does not seem to be running inside a container [2021-06-02T20:22:51.390Z] $ 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-02T20:22:51.748Z] $ docker top ef4c8a807bb8dd36b49f7d916b95c621b290b2001bc3b96b990e20bd5cd86c0f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-02T20:22:52.146Z] + go mod tidy [Pipeline] sh [2021-06-02T20:22:52.721Z] + make test [2021-06-02T20:22:52.721Z] make -C ./app-service-template build [2021-06-02T20:22:52.721Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-06-02T20:22:52.721Z] go mod tidy [2021-06-02T20:22:52.997Z] 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-02T20:23:03.116Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-06-02T20:23:03.116Z] make -C ./app-service-template test [2021-06-02T20:23:03.116Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-06-02T20:23:03.116Z] go mod tidy [2021-06-02T20:23:03.116Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-06-02T20:23:11.313Z] ok new-app-service 0.018s coverage: 47.8% of statements [2021-06-02T20:23:11.313Z] ? new-app-service/config [no test files] [2021-06-02T20:23:11.313Z] ok new-app-service/functions 0.007s [2021-06-02T20:23:11.313Z] CGO_ENABLED=1 go vet ./... [2021-06-02T20:23:17.940Z] gofmt -l . [2021-06-02T20:23:17.940Z] [ "`gofmt -l .`" = "" ] [2021-06-02T20:23:17.940Z] ./bin/test-attribution-txt.sh [2021-06-02T20:23:18.519Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-06-02T20:23:18.519Z] go mod tidy [2021-06-02T20:23:18.519Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-06-02T20:23:19.116Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-06-02T20:23:20.083Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.013s coverage: 58.4% of statements [2021-06-02T20:23:20.083Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.008s coverage: 93.5% of statements [2021-06-02T20:23:20.083Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-06-02T20:23:20.668Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.016s coverage: 61.5% of statements [2021-06-02T20:23:20.668Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-06-02T20:23:20.668Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.005s [2021-06-02T20:23:21.255Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.023s coverage: 76.1% of statements [2021-06-02T20:23:21.255Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-06-02T20:23:21.255Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-06-02T20:23:21.255Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-06-02T20:23:21.255Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-06-02T20:23:21.255Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-06-02T20:23:21.255Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-06-02T20:23:21.255Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.003s coverage: 97.1% of statements [2021-06-02T20:23:21.255Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-06-02T20:23:21.518Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.021s coverage: 10.5% of statements [2021-06-02T20:23:24.835Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.735s coverage: 76.9% of statements [2021-06-02T20:23:24.836Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-06-02T20:23:24.836Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.006s coverage: 12.5% of statements [2021-06-02T20:23:24.836Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.011s coverage: 27.3% of statements [2021-06-02T20:23:24.836Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-06-02T20:23:24.836Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-06-02T20:23:24.836Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.008s coverage: 51.4% of statements [2021-06-02T20:23:28.847Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-06-02T20:23:28.847Z] make -C ./app-service-template test [2021-06-02T20:23:28.847Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-06-02T20:23:28.847Z] go mod tidy [2021-06-02T20:23:28.847Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-06-02T20:23:51.429Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.028s coverage: 79.4% of statements [2021-06-02T20:23:51.429Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.008s coverage: 94.4% of statements [2021-06-02T20:23:51.429Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-02T20:23:51.429Z] gofmt -l . [2021-06-02T20:23:51.429Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-06-02T20:23:51.444Z] $ docker stop --time=1 ef4c8a807bb8dd36b49f7d916b95c621b290b2001bc3b96b990e20bd5cd86c0f [2021-06-02T20:23:52.654Z] $ docker rm -f ef4c8a807bb8dd36b49f7d916b95c621b290b2001bc3b96b990e20bd5cd86c0f [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-02T20:23:53.124Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-02T20:23:53.361Z] 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] libraryResource [Pipeline] sh [2021-06-02T20:23:54.235Z] ---> job-cost.sh [2021-06-02T20:23:54.235Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-2vpL [2021-06-02T20:23:55.695Z] ok new-app-service 0.041s coverage: 47.8% of statements [2021-06-02T20:23:55.695Z] ? new-app-service/config [no test files] [2021-06-02T20:23:55.695Z] ok new-app-service/functions 0.037s [2021-06-02T20:23:55.695Z] CGO_ENABLED=1 go vet ./... [2021-06-02T20:24:02.409Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-02T20:24:17.381Z] lf-activate-venv(): INFO: Adding /tmp/venv-2vpL/bin to PATH [2021-06-02T20:24:17.381Z] INFO: No Stack... [2021-06-02T20:24:17.381Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-02T20:24:17.381Z] INFO: Archiving Costs [Pipeline] sh [2021-06-02T20:24:17.680Z] + cat /w/workspace/app-functions-sdk-go/3/archives/cost.csv [2021-06-02T20:24:17.680Z] + cut -d, -f6 [Pipeline] lock [2021-06-02T20:24:17.710Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-877-3-stack-cost] [2021-06-02T20:24:17.719Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-877-3-stack-cost] did not exist. Created. [2021-06-02T20:24:17.719Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-877-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-02T20:24:18.048Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-02T20:24:18.119Z] Stashed 1 file(s) [Pipeline] } [2021-06-02T20:24:18.128Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-877-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-02T20:24:22.509Z] gofmt -l . [2021-06-02T20:24:22.509Z] [ "`gofmt -l .`" = "" ] [2021-06-02T20:24:22.509Z] ./bin/test-attribution-txt.sh [2021-06-02T20:24:23.508Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-06-02T20:24:23.508Z] go mod tidy [2021-06-02T20:24:24.109Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-06-02T20:24:25.552Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-06-02T20:24:33.884Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.070s coverage: 58.4% of statements [2021-06-02T20:24:33.884Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.055s coverage: 93.5% of statements [2021-06-02T20:24:33.884Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-06-02T20:24:33.884Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.160s coverage: 61.5% of statements [2021-06-02T20:24:33.884Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-06-02T20:24:33.884Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.032s [2021-06-02T20:24:33.884Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.087s coverage: 76.1% of statements [2021-06-02T20:24:33.884Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-06-02T20:24:33.884Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-06-02T20:24:33.884Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-06-02T20:24:33.884Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-06-02T20:24:33.884Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-06-02T20:24:33.884Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-06-02T20:24:33.884Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.023s coverage: 97.1% of statements [2021-06-02T20:24:33.884Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-06-02T20:24:33.884Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.075s coverage: 10.5% of statements [2021-06-02T20:24:40.640Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.869s coverage: 76.9% of statements [2021-06-02T20:24:40.640Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-06-02T20:24:40.640Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.047s coverage: 12.5% of statements [2021-06-02T20:24:40.640Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.062s coverage: 27.3% of statements [2021-06-02T20:24:40.640Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-06-02T20:24:40.640Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-06-02T20:24:40.640Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.038s coverage: 51.4% of statements [2021-06-02T20:25:07.409Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.114s coverage: 79.4% of statements [2021-06-02T20:25:07.409Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.035s coverage: 94.4% of statements [2021-06-02T20:25:07.409Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-02T20:25:09.393Z] gofmt -l . [2021-06-02T20:25:09.393Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-06-02T20:25:10.010Z] $ docker stop --time=1 416bb0359f4282364c9b0e376d56acd763adeeb0df09055def57c220032c9534 [2021-06-02T20:25:11.863Z] $ docker rm -f 416bb0359f4282364c9b0e376d56acd763adeeb0df09055def57c220032c9534 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-02T20:25:12.720Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-02T20:25:12.740Z] Warning: overwriting stash ‘coverage-report’ [2021-06-02T20:25:13.306Z] 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] libraryResource [Pipeline] sh [2021-06-02T20:25:14.018Z] ---> job-cost.sh [2021-06-02T20:25:14.018Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-acza [2021-06-02T20:25:52.998Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-02T20:27:14.736Z] lf-activate-venv(): INFO: Adding /tmp/venv-acza/bin to PATH [2021-06-02T20:27:14.736Z] INFO: No Stack... [2021-06-02T20:27:14.736Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-02T20:27:15.008Z] INFO: Archiving Costs [Pipeline] sh [2021-06-02T20:27:15.345Z] + cat /w/workspace/app-functions-sdk-go/3/archives/cost.csv [2021-06-02T20:27:15.345Z] + cut -d, -f6 [Pipeline] lock [2021-06-02T20:27:15.408Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-877-3-stack-cost] [2021-06-02T20:27:15.417Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-877-3-stack-cost] did not exist. Created. [2021-06-02T20:27:15.417Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-877-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-02T20:27:15.788Z] /w/workspace/app-functions-sdk-go/3@tmp/durable-1ce1e718/script.sh: 1: /w/workspace/app-functions-sdk-go/3@tmp/durable-1ce1e718/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-02T20:27:16.141Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-02T20:27:16.172Z] Warning: overwriting stash ‘stack-cost’ [2021-06-02T20:27:16.331Z] Stashed 1 file(s) [Pipeline] } [2021-06-02T20:27:16.366Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-877-3-stack-cost] [Pipeline] // lock [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-06-02T20:27:17.323Z] provisioning config files... [2021-06-02T20:27:17.336Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-877@tmp/config1713549236361452273tmp [Pipeline] { [Pipeline] sh [2021-06-02T20:27:17.694Z] + set +x [2021-06-02T20:27:17.694Z] + curl -s https://codecov.io/bash [2021-06-02T20:27:17.694Z] + bash -s -- [2021-06-02T20:27:17.694Z] [2021-06-02T20:27:17.694Z] _____ _ [2021-06-02T20:27:17.694Z] / ____| | | [2021-06-02T20:27:17.694Z] | | ___ __| | ___ ___ _____ __ [2021-06-02T20:27:17.694Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-02T20:27:17.694Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-02T20:27:17.694Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-02T20:27:17.694Z] Bash-1.0.3 [2021-06-02T20:27:17.694Z] [2021-06-02T20:27:17.694Z] [2021-06-02T20:27:17.694Z] ==> git version 2.24.4 found [2021-06-02T20:27:17.694Z] ==> 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-06-02T20:27:17.694Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-02T20:27:17.694Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-02T20:27:17.694Z] ==> Jenkins CI detected. [2021-06-02T20:27:17.694Z] project root: . [2021-06-02T20:27:17.694Z] --> token set from env [2021-06-02T20:27:17.694Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-02T20:27:17.694Z] ==> Running gcov in . (disable via -X gcov) [2021-06-02T20:27:17.694Z] ==> Python coveragepy not found [2021-06-02T20:27:17.694Z] ==> Searching for coverage reports in: [2021-06-02T20:27:17.694Z] + . [2021-06-02T20:27:17.694Z] -> Found 2 reports [2021-06-02T20:27:17.694Z] ==> Detecting git/mercurial file structure [2021-06-02T20:27:17.956Z] ==> Reading reports [2021-06-02T20:27:17.956Z] + ./app-service-template/coverage.out bytes=1055 [2021-06-02T20:27:17.956Z] + ./coverage.out bytes=92438 [2021-06-02T20:27:17.956Z] ==> Appending adjustments [2021-06-02T20:27:17.956Z] https://docs.codecov.io/docs/fixing-reports [2021-06-02T20:27:18.219Z] + Found adjustments [2021-06-02T20:27:18.219Z] ==> Gzipping contents [2021-06-02T20:27:18.219Z] 16K /tmp/codecov.aZM5JP.gz [2021-06-02T20:27:18.219Z] ==> Uploading reports [2021-06-02T20:27:18.219Z] url: https://codecov.io [2021-06-02T20:27:18.219Z] query: branch=PR-877&commit=51b9883b1e9de516453713838b412bb61812cfff&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-877%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=877&job=&cmd_args= [2021-06-02T20:27:18.219Z] -> Pinging Codecov [2021-06-02T20:27:18.219Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-877&commit=51b9883b1e9de516453713838b412bb61812cfff&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-877%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=877&job=&cmd_args= [2021-06-02T20:27:18.791Z] -> Uploading to [2021-06-02T20:27:18.791Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-02/3D8B5DFFC46A037C893635FACE044666/51b9883b1e9de516453713838b412bb61812cfff/0c5b98a4-0412-412a-b675-414c6622ca95.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210602%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210602T202718Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6026c26bf1fa9dfad51b003fcdcd2bd47cda0a0f123f0e605d2c45994b382ae1 [2021-06-02T20:27:18.791Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-02T20:27:18.791Z] Dload Upload Total Spent Left Speed [2021-06-02T20:27:19.052Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16105 0 0 100 16105 0 42055 --:--:-- --:--:-- --:--:-- 42159 [2021-06-02T20:27:19.052Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/51b9883b1e9de516453713838b412bb61812cfff [Pipeline] } [2021-06-02T20:27:19.062Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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] libraryResource [Pipeline] sh [2021-06-02T20:27:20.646Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-02T20:27:21.206Z] ---> package-listing.sh [2021-06-02T20:27:21.206Z] ++ facter osfamily [2021-06-02T20:27:21.206Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-02T20:27:21.474Z] + OS_FAMILY=redhat [2021-06-02T20:27:21.474Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-877 [2021-06-02T20:27:21.474Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-02T20:27:21.474Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-02T20:27:21.474Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-02T20:27:21.474Z] + PACKAGES=/tmp/packages_start.txt [2021-06-02T20:27:21.474Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-877 ']' [2021-06-02T20:27:21.474Z] + PACKAGES=/tmp/packages_end.txt [2021-06-02T20:27:21.474Z] + case "${OS_FAMILY}" in [2021-06-02T20:27:21.474Z] + rpm -qa [2021-06-02T20:27:21.474Z] + sort [2021-06-02T20:27:22.058Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-02T20:27:22.058Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-02T20:27:22.058Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-02T20:27:22.058Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-877 ']' [2021-06-02T20:27:22.058Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-877/archives/ [2021-06-02T20:27:22.058Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-877/archives/ [Pipeline] echo [2021-06-02T20:27:22.071Z] 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-877/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-02T20:27:22.360Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-02T20:27:22.924Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-02T20:27:22.924Z] [2021-06-02T20:27:22.924Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-02T20:27:23.236Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-02T20:27:23.237Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-02T20:27:23.237Z] df20fa9351a1: Pulling fs layer [2021-06-02T20:27:23.237Z] 36b3adc4ff6f: Pulling fs layer [2021-06-02T20:27:23.237Z] 8ad3a11d3b57: Pulling fs layer [2021-06-02T20:27:23.237Z] 46f8f816bc3b: Pulling fs layer [2021-06-02T20:27:23.237Z] 93b61091891f: Pulling fs layer [2021-06-02T20:27:23.237Z] 93b9cdb0e59b: Pulling fs layer [2021-06-02T20:27:23.237Z] 5e14af77c1be: Pulling fs layer [2021-06-02T20:27:23.237Z] 01666e4c0597: Pulling fs layer [2021-06-02T20:27:23.237Z] aa168da1d23b: Pulling fs layer [2021-06-02T20:27:23.237Z] 46f8f816bc3b: Waiting [2021-06-02T20:27:23.237Z] 93b61091891f: Waiting [2021-06-02T20:27:23.237Z] 01666e4c0597: Waiting [2021-06-02T20:27:23.237Z] 93b9cdb0e59b: Waiting [2021-06-02T20:27:23.237Z] 5e14af77c1be: Waiting [2021-06-02T20:27:23.237Z] aa168da1d23b: Waiting [2021-06-02T20:27:23.237Z] 36b3adc4ff6f: Verifying Checksum [2021-06-02T20:27:23.237Z] 36b3adc4ff6f: Download complete [2021-06-02T20:27:23.237Z] 46f8f816bc3b: Verifying Checksum [2021-06-02T20:27:23.237Z] 46f8f816bc3b: Download complete [2021-06-02T20:27:23.503Z] df20fa9351a1: Verifying Checksum [2021-06-02T20:27:23.503Z] df20fa9351a1: Download complete [2021-06-02T20:27:23.503Z] 93b9cdb0e59b: Verifying Checksum [2021-06-02T20:27:23.503Z] 93b9cdb0e59b: Download complete [2021-06-02T20:27:23.503Z] 5e14af77c1be: Verifying Checksum [2021-06-02T20:27:23.503Z] 5e14af77c1be: Download complete [2021-06-02T20:27:23.503Z] 93b61091891f: Verifying Checksum [2021-06-02T20:27:23.503Z] 93b61091891f: Download complete [2021-06-02T20:27:23.503Z] df20fa9351a1: Pull complete [2021-06-02T20:27:23.763Z] 01666e4c0597: Verifying Checksum [2021-06-02T20:27:23.763Z] 01666e4c0597: Download complete [2021-06-02T20:27:23.763Z] 36b3adc4ff6f: Pull complete [2021-06-02T20:27:24.026Z] 8ad3a11d3b57: Verifying Checksum [2021-06-02T20:27:24.026Z] 8ad3a11d3b57: Download complete [2021-06-02T20:27:24.601Z] 8ad3a11d3b57: Pull complete [2021-06-02T20:27:24.601Z] 46f8f816bc3b: Pull complete [2021-06-02T20:27:24.868Z] 93b61091891f: Pull complete [2021-06-02T20:27:25.133Z] 93b9cdb0e59b: Pull complete [2021-06-02T20:27:25.134Z] 5e14af77c1be: Pull complete [2021-06-02T20:27:25.393Z] 01666e4c0597: Pull complete [2021-06-02T20:27:25.653Z] aa168da1d23b: Verifying Checksum [2021-06-02T20:27:25.653Z] aa168da1d23b: Download complete [2021-06-02T20:27:29.873Z] aa168da1d23b: Pull complete [2021-06-02T20:27:29.873Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-02T20:27:29.873Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-02T20:27:29.873Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-02T20:27:29.952Z] prd-centos7-docker-4c-2g-134 does not seem to be running inside a container [2021-06-02T20:27:29.987Z] $ 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-877/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-877 -v /w/workspace/ndry_app-functions-sdk-go_PR-877:/w/workspace/ndry_app-functions-sdk-go_PR-877:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-877@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-877@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-02T20:27:32.280Z] $ docker top 7bb4727e0aae67c253ec655deebdc8d8004b194bf268ee39117a0aa30bbf1c3a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-02T20:27:32.659Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-02T20:27:32.958Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-02T20:27:33.260Z] + ls /var/log/sa-host [2021-06-02T20:27:33.260Z] + sadf -c /var/log/sa-host/sa02 [2021-06-02T20:27:33.260Z] file_magic: OK [2021-06-02T20:27:33.260Z] HZ: Using current value: 100 [2021-06-02T20:27:33.260Z] file_header: OK [2021-06-02T20:27:33.260Z] 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-02T20:27:33.260Z] Statistics: [2021-06-02T20:27:33.260Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-02T20:27:33.260Z] File successfully converted to sysstat format version 12.2.1 [2021-06-02T20:27:33.260Z] + sadf -c /var/log/sa-host/sa05 [2021-06-02T20:27:33.260Z] file_magic: OK [2021-06-02T20:27:33.260Z] HZ: Using current value: 100 [2021-06-02T20:27:33.260Z] file_header: OK [2021-06-02T20:27:33.260Z] 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-02T20:27:33.260Z] Statistics: [2021-06-02T20:27:33.260Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-02T20:27:33.260Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-02T20:27:33.460Z] provisioning config files... [2021-06-02T20:27:33.474Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-877@tmp/config5393042355167565530tmp [Pipeline] { [Pipeline] echo [2021-06-02T20:27:33.497Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-02T20:27:33.833Z] ---> create-netrc.sh [Pipeline] } [2021-06-02T20:27:33.841Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-06-02T20:27:33.868Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-02T20:27:34.166Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-02T20:27:34.176Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-02T20:27:34.471Z] ---> sudo-logs.sh [2021-06-02T20:27:34.472Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-02T20:27:34.502Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-02T20:27:34.804Z] ---> job-cost.sh [2021-06-02T20:27:34.804Z] lf-activate-venv: SKIPPING [2021-06-02T20:27:34.804Z] DEBUG: total: 0.18000000715255737 [2021-06-02T20:27:34.804Z] INFO: Retrieving Stack Cost... [2021-06-02T20:27:35.752Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-02T20:27:36.332Z] INFO: Archiving Costs [Pipeline] echo [2021-06-02T20:27:36.345Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-02T20:27:36.642Z] ---> logs-deploy.sh [2021-06-02T20:27:36.642Z] lf-activate-venv: SKIPPING [2021-06-02T20:27:36.642Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-877/3 [2021-06-02T20:27:36.642Z] INFO: archiving workspace using pattern(s): [2021-06-02T20:27:37.588Z] Archives upload complete. [2021-06-02T20:27:37.588Z] INFO: archiving logs to Nexus