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 6612e6b2953e51b49c56650bcb81d5c00d8bd63e+e5a015aadf82674317b1b80edf4b00daa11f50d1 (b925e48a25142b850b6194e32f57070480d445d9) 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-ssh3430173398369901978.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-ssh7986578493004261019.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-ssh7075901505742086972.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-ssh7157066500066140119.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-ssh6100652620752296678.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-133 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-ssh264485481134133203.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > 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-ssh4124124120714512197.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 Merging remotes/origin/master commit e5a015aadf82674317b1b80edf4b00daa11f50d1 into PR head commit 6612e6b2953e51b49c56650bcb81d5c00d8bd63e Merge succeeded, producing 6612e6b2953e51b49c56650bcb81d5c00d8bd63e Checking out Revision 6612e6b2953e51b49c56650bcb81d5c00d8bd63e (PR-877) > git config core.sparsecheckout # timeout=10 > git checkout -f 6612e6b2953e51b49c56650bcb81d5c00d8bd63e # 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-ssh3168922370833672263.key > git merge e5a015aadf82674317b1b80edf4b00daa11f50d1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6612e6b2953e51b49c56650bcb81d5c00d8bd63e # timeout=10 Commit message: "feat(sdk): Add ApplyValues to Context" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-02T20:16:51.396Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-02T20:16:51.486Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-02T20:16:51.520Z] ========================================================= [2021-06-02T20:16:51.520Z] EdgeX Global Pipelines Version Info [2021-06-02T20:16:51.520Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 0c9f835a37836674ca781b1a60fdc90635d5e1b7 # timeout=10 [2021-06-02T20:16:53.010Z] ------------------- [2021-06-02T20:16:53.010Z] stable info: [2021-06-02T20:16:53.010Z] ------------------- [2021-06-02T20:16:53.010Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-02T20:16:53.010Z] Commit SHA: c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [2021-06-02T20:16:53.010Z] Message: update stable to v1.0.193 [2021-06-02T20:16:53.591Z] ------------------- [2021-06-02T20:16:53.591Z] experimental info: [2021-06-02T20:16:53.591Z] ------------------- [2021-06-02T20:16:53.591Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-02T20:16:53.591Z] Commit SHA: c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [2021-06-02T20:16:53.591Z] Message: update experimental to v1.0.193 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-02T20:16:53.704Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-06-02T20:16:53.727Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-06-02T20:16:53.749Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-02T20:16:53.772Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-02T20:16:53.794Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-02T20:16:53.816Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-02T20:16:53.838Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-02T20:16:53.860Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-02T20:16:53.884Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-02T20:16:53.909Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-02T20:16:53.933Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-02T20:16:53.959Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2021-06-02T20:16:53.982Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-02T20:16:54.006Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-02T20:16:54.028Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-06-02T20:16:54.081Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-02T20:16:54.113Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-02T20:16:54.147Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-02T20:16:54.183Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-02T20:16:54.206Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-02T20:16:54.229Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-02T20:16:54.253Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-06-02T20:16:54.276Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-02T20:16:54.300Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-02T20:16:54.324Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-06-02T20:16:54.348Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-02T20:16:54.372Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-877 [Pipeline] echo [2021-06-02T20:16:54.396Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-877 [Pipeline] echo [2021-06-02T20:16:54.421Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-877 [Pipeline] echo [2021-06-02T20:16:54.445Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6612e6b2953e51b49c56650bcb81d5c00d8bd63e [Pipeline] echo [2021-06-02T20:16:54.468Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6612e6b [Pipeline] echo [2021-06-02T20:16:54.521Z] [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:16:54.997Z] + git log --format=format:%s -1 6612e6b2953e51b49c56650bcb81d5c00d8bd63e [Pipeline] echo [2021-06-02T20:16:55.037Z] GIT_COMMIT: 6612e6b2953e51b49c56650bcb81d5c00d8bd63e, Commit Message: feat(sdk): Add ApplyValues to Context [Pipeline] echo [2021-06-02T20:16:55.051Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-02T20:16:55.629Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-02T20:16:55.893Z] [2021-06-02T20:16:55.893Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-02T20:16:56.206Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-02T20:16:56.206Z] latest: Pulling from edgex-devops/git-semver [2021-06-02T20:16:56.206Z] 31603596830f: Pulling fs layer [2021-06-02T20:16:56.206Z] 54011a49482f: Pulling fs layer [2021-06-02T20:16:56.206Z] a6820b24f6d8: Pulling fs layer [2021-06-02T20:16:56.206Z] f581987b2513: Pulling fs layer [2021-06-02T20:16:56.206Z] f581987b2513: Waiting [2021-06-02T20:16:56.206Z] 54011a49482f: Verifying Checksum [2021-06-02T20:16:56.206Z] 54011a49482f: Download complete [2021-06-02T20:16:56.468Z] 31603596830f: Verifying Checksum [2021-06-02T20:16:56.469Z] 31603596830f: Download complete [2021-06-02T20:16:56.469Z] f581987b2513: Verifying Checksum [2021-06-02T20:16:56.469Z] f581987b2513: Download complete [2021-06-02T20:16:56.469Z] 31603596830f: Pull complete [2021-06-02T20:16:56.469Z] a6820b24f6d8: Verifying Checksum [2021-06-02T20:16:56.469Z] a6820b24f6d8: Download complete [2021-06-02T20:16:56.736Z] 54011a49482f: Pull complete [2021-06-02T20:16:57.312Z] a6820b24f6d8: Pull complete [2021-06-02T20:16:57.573Z] f581987b2513: Pull complete [2021-06-02T20:16:57.573Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-02T20:16:57.573Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-02T20:16:57.573Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-02T20:16:57.655Z] prd-centos7-docker-4c-2g-133 does not seem to be running inside a container [2021-06-02T20:16:57.696Z] $ 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:16:58.699Z] $ docker top be108875fefde52d91f4217cfd40f30dd8aee3eb9b502936098730882cfceaec -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-02T20:16:58.835Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-02T20:16:58.835Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-02T20:16:58.953Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-02T20:16:58.952Z] $ docker exec be108875fefde52d91f4217cfd40f30dd8aee3eb9b502936098730882cfceaec ssh-agent [2021-06-02T20:16:59.066Z] SSH_AUTH_SOCK=/tmp/ssh-PBFqXs1bhjsv/agent.13 [2021-06-02T20:16:59.066Z] SSH_AGENT_PID=19 [2021-06-02T20:16:59.074Z] Running ssh-add (command line suppressed) [2021-06-02T20:16:59.173Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-877@tmp/private_key_45750860315742993.key (/w/workspace/ndry_app-functions-sdk-go_PR-877@tmp/private_key_45750860315742993.key) [2021-06-02T20:16:59.192Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-02T20:16:59.500Z] + git tag --points-at HEAD [Pipeline] } [2021-06-02T20:16:59.510Z] $ docker exec --env ******** --env ******** be108875fefde52d91f4217cfd40f30dd8aee3eb9b502936098730882cfceaec ssh-agent -k [2021-06-02T20:16:59.615Z] unset SSH_AUTH_SOCK; [2021-06-02T20:16:59.615Z] unset SSH_AGENT_PID; [2021-06-02T20:16:59.615Z] echo Agent pid 19 killed; [2021-06-02T20:16:59.629Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-02T20:16:59.678Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-02T20:16:59.678Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-02T20:16:59.796Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-02T20:16:59.795Z] $ docker exec be108875fefde52d91f4217cfd40f30dd8aee3eb9b502936098730882cfceaec ssh-agent [2021-06-02T20:16:59.904Z] SSH_AUTH_SOCK=/tmp/ssh-8DRqFRXiVqA5/agent.54 [2021-06-02T20:16:59.904Z] SSH_AGENT_PID=60 [2021-06-02T20:16:59.909Z] Running ssh-add (command line suppressed) [2021-06-02T20:16:59.992Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-877@tmp/private_key_4055163298881045770.key (/w/workspace/ndry_app-functions-sdk-go_PR-877@tmp/private_key_4055163298881045770.key) [2021-06-02T20:17:00.011Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-02T20:17:00.322Z] + git semver init [2021-06-02T20:17:00.322Z] # -> Open(): unable to determine branch for HEAD [2021-06-02T20:17:00.322Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-877/.git [2021-06-02T20:17:00.322Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-877 [2021-06-02T20:17:00.322Z] # $SEMVER_REMOTE_NAME = origin [2021-06-02T20:17:00.322Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-02T20:17:00.322Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-02T20:17:00.322Z] # $SEMVER_BRANCH = PR-877 [2021-06-02T20:17:00.322Z] # $SEMVER_TEMP = /tmp/semver-465356871 [2021-06-02T20:17:00.322Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-06-02T20:17:02.254Z] # '/tmp/semver-465356871' -> '/w/workspace/ndry_app-functions-sdk-go_PR-877/.semver' [2021-06-02T20:17:02.254Z] # -> Force: false [2021-06-02T20:17:02.254Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-877/.semver [Pipeline] } [2021-06-02T20:17:02.259Z] $ docker exec --env ******** --env ******** be108875fefde52d91f4217cfd40f30dd8aee3eb9b502936098730882cfceaec ssh-agent -k [2021-06-02T20:17:02.376Z] unset SSH_AUTH_SOCK; [2021-06-02T20:17:02.377Z] unset SSH_AGENT_PID; [2021-06-02T20:17:02.377Z] echo Agent pid 60 killed; [2021-06-02T20:17:02.394Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-02T20:17:02.738Z] + git semver [Pipeline] } [2021-06-02T20:17:02.749Z] $ docker stop --time=1 be108875fefde52d91f4217cfd40f30dd8aee3eb9b502936098730882cfceaec [2021-06-02T20:17:04.218Z] $ docker rm -f be108875fefde52d91f4217cfd40f30dd8aee3eb9b502936098730882cfceaec [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-02T20:17:04.622Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-02T20:17:04.903Z] Stashed 1 file(s) [Pipeline] echo [2021-06-02T20:17:04.907Z] [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:17:20.198Z] Still waiting to schedule task [2021-06-02T20:17:20.199Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-02T20:17:20.200Z] Still waiting to schedule task [2021-06-02T20:17:20.201Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-131’ is offline [2021-06-02T20:18:35.183Z] Running on prd-centos7-docker-4c-2g-136 in /w/workspace/ndry_app-functions-sdk-go_PR-877 [Pipeline] { [Pipeline] ws [2021-06-02T20:18:35.201Z] Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-06-02T20:18:35.316Z] The recommended git tool is: git [2021-06-02T20:18:37.722Z] using credential edgex-jenkins-ssh [2021-06-02T20:18:37.739Z] Cloning the remote Git repository [2021-06-02T20:18:37.756Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-02T20:18:37.824Z] > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 [2021-06-02T20:18:37.856Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-02T20:18:37.856Z] > git --version # timeout=10 [2021-06-02T20:18:37.863Z] > git --version # 'git version 2.24.4' [2021-06-02T20:18:37.863Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-02T20:18:37.889Z] [INFO] Currently running in a labeled security context [2021-06-02T20:18:37.889Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-02T20:18:37.889Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/2@tmp/jenkins-gitclient-ssh3292436658915700544.key [2021-06-02T20:18:37.922Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-02T20:18:39.705Z] Merging remotes/origin/master commit e5a015aadf82674317b1b80edf4b00daa11f50d1 into PR head commit 6612e6b2953e51b49c56650bcb81d5c00d8bd63e [2021-06-02T20:18:39.821Z] Merge succeeded, producing 6612e6b2953e51b49c56650bcb81d5c00d8bd63e [2021-06-02T20:18:39.821Z] Checking out Revision 6612e6b2953e51b49c56650bcb81d5c00d8bd63e (PR-877) [2021-06-02T20:18:39.084Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-06-02T20:18:39.097Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-02T20:18:39.111Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-06-02T20:18:39.123Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-02T20:18:39.123Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-02T20:18:39.124Z] [INFO] Currently running in a labeled security context [2021-06-02T20:18:39.124Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-02T20:18:39.125Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/2@tmp/jenkins-gitclient-ssh3152398909480958901.key [2021-06-02T20:18:39.138Z] > 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:18:39.711Z] > git config core.sparsecheckout # timeout=10 [2021-06-02T20:18:39.722Z] > git checkout -f 6612e6b2953e51b49c56650bcb81d5c00d8bd63e # timeout=10 [2021-06-02T20:18:39.764Z] > git remote # timeout=10 [2021-06-02T20:18:39.778Z] > git config --get remote.origin.url # timeout=10 [2021-06-02T20:18:39.789Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-02T20:18:39.790Z] [INFO] Currently running in a labeled security context [2021-06-02T20:18:39.790Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-02T20:18:39.790Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/2@tmp/jenkins-gitclient-ssh4321068971213278319.key [2021-06-02T20:18:39.796Z] > git merge e5a015aadf82674317b1b80edf4b00daa11f50d1 # timeout=10 [2021-06-02T20:18:39.804Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-02T20:18:39.819Z] > git config core.sparsecheckout # timeout=10 [2021-06-02T20:18:39.825Z] > git checkout -f 6612e6b2953e51b49c56650bcb81d5c00d8bd63e # timeout=10 [2021-06-02T20:18:43.412Z] Commit message: "feat(sdk): Add ApplyValues to Context" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-02T20:18:44.503Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-02T20:18:44.823Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-02T20:18:45.124Z] + true [2021-06-02T20:18:45.124Z] + sudo service docker restart [2021-06-02T20:18:45.124Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-06-02T20:19:03.421Z] ========================================================= [2021-06-02T20:19:03.421Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-02T20:19:03.421Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-02T20:19:03.736Z] + 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:19:04.001Z] Sending build context to Docker daemon 19.68MB [2021-06-02T20:19:04.001Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-02T20:19:04.001Z] Step 2/8 : FROM ${BASE} [2021-06-02T20:19:04.264Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-02T20:19:04.264Z] 540db60ca938: Pulling fs layer [2021-06-02T20:19:04.264Z] adcc1eea9eea: Pulling fs layer [2021-06-02T20:19:04.264Z] 4c4ab2625f07: Pulling fs layer [2021-06-02T20:19:04.264Z] 0510c868ecb4: Pulling fs layer [2021-06-02T20:19:04.264Z] afea3b2eda06: Pulling fs layer [2021-06-02T20:19:04.264Z] 7809a108b3ef: Pulling fs layer [2021-06-02T20:19:04.264Z] f706445af74f: Pulling fs layer [2021-06-02T20:19:04.264Z] afea3b2eda06: Waiting [2021-06-02T20:19:04.264Z] 7809a108b3ef: Waiting [2021-06-02T20:19:04.264Z] f706445af74f: Waiting [2021-06-02T20:19:04.264Z] 0510c868ecb4: Waiting [2021-06-02T20:19:04.264Z] 4c4ab2625f07: Verifying Checksum [2021-06-02T20:19:04.264Z] 4c4ab2625f07: Download complete [2021-06-02T20:19:04.264Z] adcc1eea9eea: Verifying Checksum [2021-06-02T20:19:04.264Z] adcc1eea9eea: Download complete [2021-06-02T20:19:04.264Z] afea3b2eda06: Verifying Checksum [2021-06-02T20:19:04.264Z] afea3b2eda06: Download complete [2021-06-02T20:19:04.264Z] 7809a108b3ef: Verifying Checksum [2021-06-02T20:19:04.264Z] 7809a108b3ef: Download complete [2021-06-02T20:19:04.264Z] 540db60ca938: Verifying Checksum [2021-06-02T20:19:04.264Z] 540db60ca938: Download complete [2021-06-02T20:19:04.552Z] 540db60ca938: Pull complete [2021-06-02T20:19:04.552Z] adcc1eea9eea: Pull complete [2021-06-02T20:19:04.813Z] 4c4ab2625f07: Pull complete [2021-06-02T20:19:06.200Z] f706445af74f: Verifying Checksum [2021-06-02T20:19:06.200Z] f706445af74f: Download complete [2021-06-02T20:19:06.466Z] 0510c868ecb4: Download complete [2021-06-02T20:19:10.734Z] 0510c868ecb4: Pull complete [2021-06-02T20:19:10.734Z] afea3b2eda06: Pull complete [2021-06-02T20:19:10.734Z] 7809a108b3ef: Pull complete [2021-06-02T20:19:12.137Z] f706445af74f: Pull complete [2021-06-02T20:19:12.137Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-02T20:19:12.137Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-02T20:19:12.137Z] ---> b068be0155e3 [2021-06-02T20:19:12.137Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-06-02T20:19:12.137Z] 20.10.0: Pulling from library/docker [2021-06-02T20:19:12.137Z] 05e7bc50f07f: Pulling fs layer [2021-06-02T20:19:12.137Z] 6db28d0fdbf6: Pulling fs layer [2021-06-02T20:19:12.137Z] 292df0bc6bf3: Pulling fs layer [2021-06-02T20:19:12.137Z] 2e060f4bd70b: Pulling fs layer [2021-06-02T20:19:12.137Z] 80e8d568a223: Pulling fs layer [2021-06-02T20:19:12.137Z] 8dc6ef1a942a: Pulling fs layer [2021-06-02T20:19:12.137Z] 2312dd95470a: Pulling fs layer [2021-06-02T20:19:12.137Z] 2e060f4bd70b: Waiting [2021-06-02T20:19:12.137Z] 80e8d568a223: Waiting [2021-06-02T20:19:12.137Z] 8dc6ef1a942a: Waiting [2021-06-02T20:19:12.137Z] 2312dd95470a: Waiting [2021-06-02T20:19:12.137Z] 292df0bc6bf3: Verifying Checksum [2021-06-02T20:19:12.137Z] 292df0bc6bf3: Download complete [2021-06-02T20:19:12.137Z] 6db28d0fdbf6: Verifying Checksum [2021-06-02T20:19:12.137Z] 6db28d0fdbf6: Download complete [2021-06-02T20:19:12.137Z] 05e7bc50f07f: Verifying Checksum [2021-06-02T20:19:12.137Z] 05e7bc50f07f: Download complete [2021-06-02T20:19:12.137Z] 80e8d568a223: Verifying Checksum [2021-06-02T20:19:12.137Z] 80e8d568a223: Download complete [2021-06-02T20:19:12.407Z] 2312dd95470a: Verifying Checksum [2021-06-02T20:19:12.407Z] 2312dd95470a: Download complete [2021-06-02T20:19:12.407Z] 8dc6ef1a942a: Verifying Checksum [2021-06-02T20:19:12.407Z] 8dc6ef1a942a: Download complete [2021-06-02T20:19:12.407Z] 05e7bc50f07f: Pull complete [2021-06-02T20:19:12.670Z] 6db28d0fdbf6: Pull complete [2021-06-02T20:19:12.670Z] 292df0bc6bf3: Pull complete [2021-06-02T20:19:13.268Z] 2e060f4bd70b: Verifying Checksum [2021-06-02T20:19:13.268Z] 2e060f4bd70b: Download complete [2021-06-02T20:19:15.226Z] 2e060f4bd70b: Pull complete [2021-06-02T20:19:15.226Z] 80e8d568a223: Pull complete [2021-06-02T20:19:15.493Z] 8dc6ef1a942a: Pull complete [2021-06-02T20:19:15.493Z] 2312dd95470a: Pull complete [2021-06-02T20:19:15.493Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-06-02T20:19:15.493Z] Status: Downloaded newer image for docker:20.10.0 [2021-06-02T20:19:18.825Z] ---> d6d6de4567db [2021-06-02T20:19:18.825Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-02T20:19:18.825Z] ---> Running in 5c6f6aad604d [2021-06-02T20:19:18.825Z] Removing intermediate container 5c6f6aad604d [2021-06-02T20:19:18.825Z] ---> 62274d02f77b [2021-06-02T20:19:18.825Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-06-02T20:19:18.825Z] ---> Running in 193de66b97c4 [2021-06-02T20:19:18.825Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-02T20:19:19.769Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-02T20:19:20.033Z] (1/5) Installing libsodium (1.0.18-r0) [2021-06-02T20:19:20.295Z] (2/5) Installing libzmq (4.3.3-r1) [2021-06-02T20:19:20.295Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-06-02T20:19:20.295Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-06-02T20:19:20.563Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-06-02T20:19:20.563Z] Executing busybox-1.32.1-r6.trigger [2021-06-02T20:19:20.563Z] OK: 150 MiB in 45 packages [2021-06-02T20:19:20.828Z] Removing intermediate container 193de66b97c4 [2021-06-02T20:19:20.828Z] ---> 3fd5029d83ef [2021-06-02T20:19:20.828Z] Step 6/8 : WORKDIR /build [2021-06-02T20:19:20.828Z] ---> Running in 74c2d1f9e52a [2021-06-02T20:19:21.093Z] Removing intermediate container 74c2d1f9e52a [2021-06-02T20:19:21.093Z] ---> 65fbb2aebc63 [2021-06-02T20:19:21.093Z] Step 7/8 : COPY go.mod . [2021-06-02T20:19:21.093Z] ---> 45743cbc99f0 [2021-06-02T20:19:21.093Z] Step 8/8 : RUN go mod download [2021-06-02T20:19:21.353Z] ---> Running in a04bae4f7b3d [2021-06-02T20:19:23.111Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-135 in /w/workspace/ndry_app-functions-sdk-go_PR-877 [Pipeline] { [Pipeline] ws [2021-06-02T20:19:23.130Z] Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-06-02T20:19:23.335Z] The recommended git tool is: git [2021-06-02T20:19:28.853Z] using credential edgex-jenkins-ssh [2021-06-02T20:19:28.884Z] Cloning the remote Git repository [2021-06-02T20:19:29.005Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-02T20:19:29.135Z] > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 [2021-06-02T20:19:29.235Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-02T20:19:29.236Z] > git --version # timeout=10 [2021-06-02T20:19:29.291Z] > git --version # 'git version 2.17.1' [2021-06-02T20:19:29.293Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-02T20:19:29.402Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-02T20:19:33.317Z] Merging remotes/origin/master commit e5a015aadf82674317b1b80edf4b00daa11f50d1 into PR head commit 6612e6b2953e51b49c56650bcb81d5c00d8bd63e [2021-06-02T20:19:32.547Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-06-02T20:19:32.568Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-02T20:19:32.596Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-06-02T20:19:32.645Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-02T20:19:32.646Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-02T20:19:32.658Z] > 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:19:33.330Z] > git config core.sparsecheckout # timeout=10 [2021-06-02T20:19:33.355Z] > git checkout -f 6612e6b2953e51b49c56650bcb81d5c00d8bd63e # timeout=10 [2021-06-02T20:19:33.543Z] Merge succeeded, producing 6612e6b2953e51b49c56650bcb81d5c00d8bd63e [2021-06-02T20:19:33.544Z] Checking out Revision 6612e6b2953e51b49c56650bcb81d5c00d8bd63e (PR-877) [2021-06-02T20:19:33.607Z] Removing intermediate container a04bae4f7b3d [2021-06-02T20:19:33.607Z] ---> beb13b0343ab [2021-06-02T20:19:33.607Z] Successfully built beb13b0343ab [2021-06-02T20:19:33.607Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-02T20:19:33.947Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-02T20:19:33.947Z] . [Pipeline] withDockerContainer [2021-06-02T20:19:34.036Z] prd-centos7-docker-4c-2g-136 does not seem to be running inside a container [2021-06-02T20:19:34.095Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@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 ******** ci-base-image-x86_64 cat [2021-06-02T20:19:34.538Z] $ docker top 4217f808b02f792bdb5556c12572da77506c38a139e7e7e1e15e23d795266c14 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-02T20:19:33.461Z] > git remote # timeout=10 [2021-06-02T20:19:33.477Z] > git config --get remote.origin.url # timeout=10 [2021-06-02T20:19:33.488Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-02T20:19:33.499Z] > git merge e5a015aadf82674317b1b80edf4b00daa11f50d1 # timeout=10 [2021-06-02T20:19:33.525Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-02T20:19:33.544Z] > git config core.sparsecheckout # timeout=10 [2021-06-02T20:19:33.554Z] > git checkout -f 6612e6b2953e51b49c56650bcb81d5c00d8bd63e # timeout=10 [2021-06-02T20:19:34.949Z] + go version [2021-06-02T20:19:34.949Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-02T20:19:34.957Z] $ docker stop --time=1 4217f808b02f792bdb5556c12572da77506c38a139e7e7e1e15e23d795266c14 [2021-06-02T20:19:36.172Z] $ docker rm -f 4217f808b02f792bdb5556c12572da77506c38a139e7e7e1e15e23d795266c14 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-02T20:19:36.738Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-02T20:19:36.738Z] . [Pipeline] withDockerContainer [2021-06-02T20:19:36.833Z] prd-centos7-docker-4c-2g-136 does not seem to be running inside a container [2021-06-02T20:19:36.875Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@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 ******** ci-base-image-x86_64 cat [2021-06-02T20:19:37.266Z] $ docker top 81ce732de6fd09d623da5b46184f7c1cfb89dd63f4551ef2ae5d88a5fccd7c9e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-02T20:19:37.673Z] + go mod tidy [2021-06-02T20:19:37.864Z] Commit message: "feat(sdk): Add ApplyValues to Context" [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2021-06-02T20:19:38.236Z] + make test [2021-06-02T20:19:38.236Z] make -C ./app-service-template build [2021-06-02T20:19:38.236Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-06-02T20:19:38.236Z] go mod tidy [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-02T20:19:38.506Z] 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:19:39.149Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-02T20:19:39.588Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-02T20:19:39.937Z] + sudo service docker restart [2021-06-02T20:19:39.937Z] + true [2021-06-02T20:19:50.808Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-06-02T20:19:50.808Z] make -C ./app-service-template test [2021-06-02T20:19:50.808Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-06-02T20:19:50.808Z] go mod tidy [2021-06-02T20:19:50.808Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [Pipeline] unstash [Pipeline] echo [2021-06-02T20:19:58.517Z] ========================================================= [2021-06-02T20:19:58.517Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-02T20:19:58.517Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-02T20:19:59.064Z] ok new-app-service 0.010s coverage: 47.8% of statements [2021-06-02T20:19:59.064Z] ? new-app-service/config [no test files] [2021-06-02T20:19:59.090Z] + 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:19:59.328Z] ok new-app-service/functions 0.010s [2021-06-02T20:19:59.328Z] CGO_ENABLED=1 go vet ./... [2021-06-02T20:20:00.077Z] Sending build context to Docker daemon 19.68MB [2021-06-02T20:20:00.350Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-02T20:20:00.350Z] Step 2/8 : FROM ${BASE} [2021-06-02T20:20:00.625Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-02T20:20:00.625Z] 595b0fe564bb: Pulling fs layer [2021-06-02T20:20:00.625Z] 7186ed65a4f7: Pulling fs layer [2021-06-02T20:20:00.625Z] 316046926c0a: Pulling fs layer [2021-06-02T20:20:00.625Z] 4ebd0625c992: Pulling fs layer [2021-06-02T20:20:00.625Z] 207e8628e3a3: Pulling fs layer [2021-06-02T20:20:00.625Z] c791037a9be2: Pulling fs layer [2021-06-02T20:20:00.625Z] ffd874e62e21: Pulling fs layer [2021-06-02T20:20:00.625Z] 4ebd0625c992: Waiting [2021-06-02T20:20:00.625Z] c791037a9be2: Waiting [2021-06-02T20:20:00.625Z] 207e8628e3a3: Waiting [2021-06-02T20:20:00.625Z] ffd874e62e21: Waiting [2021-06-02T20:20:00.625Z] 316046926c0a: Verifying Checksum [2021-06-02T20:20:00.625Z] 316046926c0a: Download complete [2021-06-02T20:20:00.625Z] 7186ed65a4f7: Verifying Checksum [2021-06-02T20:20:00.625Z] 7186ed65a4f7: Download complete [2021-06-02T20:20:00.902Z] 207e8628e3a3: Verifying Checksum [2021-06-02T20:20:00.902Z] 207e8628e3a3: Download complete [2021-06-02T20:20:00.902Z] c791037a9be2: Download complete [2021-06-02T20:20:00.902Z] 595b0fe564bb: Download complete [2021-06-02T20:20:01.509Z] 595b0fe564bb: Pull complete [2021-06-02T20:20:02.122Z] 7186ed65a4f7: Pull complete [2021-06-02T20:20:02.727Z] 316046926c0a: Pull complete [2021-06-02T20:20:03.337Z] ffd874e62e21: Verifying Checksum [2021-06-02T20:20:03.337Z] ffd874e62e21: Download complete [2021-06-02T20:20:04.777Z] 4ebd0625c992: Verifying Checksum [2021-06-02T20:20:04.777Z] 4ebd0625c992: Download complete [2021-06-02T20:20:07.506Z] gofmt -l . [2021-06-02T20:20:07.506Z] [ "`gofmt -l .`" = "" ] [2021-06-02T20:20:07.506Z] ./bin/test-attribution-txt.sh [2021-06-02T20:20:07.506Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-06-02T20:20:07.506Z] go mod tidy [2021-06-02T20:20:07.767Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-06-02T20:20:08.356Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-06-02T20:20:09.777Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.013s coverage: 58.4% of statements [2021-06-02T20:20:09.777Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.012s coverage: 93.5% of statements [2021-06-02T20:20:09.777Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-06-02T20:20:10.047Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.019s coverage: 61.5% of statements [2021-06-02T20:20:10.047Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-06-02T20:20:10.047Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.011s [2021-06-02T20:20:10.636Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.030s coverage: 76.1% of statements [2021-06-02T20:20:10.636Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-06-02T20:20:10.636Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-06-02T20:20:10.636Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-06-02T20:20:10.636Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-06-02T20:20:10.636Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-06-02T20:20:10.636Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-06-02T20:20:10.636Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.004s coverage: 97.1% of statements [2021-06-02T20:20:10.636Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-06-02T20:20:10.905Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.010s coverage: 10.5% of statements [2021-06-02T20:20:14.246Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.760s coverage: 76.9% of statements [2021-06-02T20:20:14.246Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-06-02T20:20:14.246Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.008s coverage: 12.5% of statements [2021-06-02T20:20:14.246Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.011s coverage: 27.3% of statements [2021-06-02T20:20:14.246Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-06-02T20:20:14.246Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-06-02T20:20:14.246Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.007s coverage: 51.4% of statements [2021-06-02T20:20:14.945Z] 4ebd0625c992: Pull complete [2021-06-02T20:20:15.220Z] 207e8628e3a3: Pull complete [2021-06-02T20:20:15.495Z] c791037a9be2: Pull complete [2021-06-02T20:20:19.834Z] ffd874e62e21: Pull complete [2021-06-02T20:20:19.834Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-06-02T20:20:19.834Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-02T20:20:19.834Z] ---> cfc18b08335c [2021-06-02T20:20:19.834Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-06-02T20:20:19.834Z] 20.10.0: Pulling from library/docker [2021-06-02T20:20:19.834Z] a3cc7d3b244e: Pulling fs layer [2021-06-02T20:20:19.834Z] 02a3295e0d61: Pulling fs layer [2021-06-02T20:20:19.834Z] 0f4f2e6d8100: Pulling fs layer [2021-06-02T20:20:19.834Z] 330b718f631f: Pulling fs layer [2021-06-02T20:20:19.834Z] a93816041522: Pulling fs layer [2021-06-02T20:20:19.834Z] bdb6da89ff94: Pulling fs layer [2021-06-02T20:20:19.834Z] 2a70c0c122f4: Pulling fs layer [2021-06-02T20:20:19.834Z] 330b718f631f: Waiting [2021-06-02T20:20:19.834Z] a93816041522: Waiting [2021-06-02T20:20:19.834Z] bdb6da89ff94: Waiting [2021-06-02T20:20:19.834Z] 2a70c0c122f4: Waiting [2021-06-02T20:20:19.834Z] 0f4f2e6d8100: Verifying Checksum [2021-06-02T20:20:19.834Z] 0f4f2e6d8100: Download complete [2021-06-02T20:20:19.834Z] 02a3295e0d61: Download complete [2021-06-02T20:20:19.834Z] a3cc7d3b244e: Verifying Checksum [2021-06-02T20:20:19.834Z] a3cc7d3b244e: Download complete [2021-06-02T20:20:19.834Z] a93816041522: Verifying Checksum [2021-06-02T20:20:19.834Z] a93816041522: Download complete [2021-06-02T20:20:19.834Z] bdb6da89ff94: Verifying Checksum [2021-06-02T20:20:19.834Z] bdb6da89ff94: Download complete [2021-06-02T20:20:19.834Z] 2a70c0c122f4: Verifying Checksum [2021-06-02T20:20:19.834Z] 2a70c0c122f4: Download complete [2021-06-02T20:20:20.434Z] a3cc7d3b244e: Pull complete [2021-06-02T20:20:21.419Z] 02a3295e0d61: Pull complete [2021-06-02T20:20:21.707Z] 330b718f631f: Verifying Checksum [2021-06-02T20:20:21.707Z] 330b718f631f: Download complete [2021-06-02T20:20:21.707Z] 0f4f2e6d8100: Pull complete [2021-06-02T20:20:26.026Z] 330b718f631f: Pull complete [2021-06-02T20:20:26.026Z] a93816041522: Pull complete [2021-06-02T20:20:26.301Z] bdb6da89ff94: Pull complete [2021-06-02T20:20:26.575Z] 2a70c0c122f4: Pull complete [2021-06-02T20:20:26.848Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-06-02T20:20:26.848Z] Status: Downloaded newer image for docker:20.10.0 [2021-06-02T20:20:32.272Z] ---> 0ce89d0741a7 [2021-06-02T20:20:32.272Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-02T20:20:32.272Z] ---> Running in a5c49dd8a70d [2021-06-02T20:20:32.545Z] Removing intermediate container a5c49dd8a70d [2021-06-02T20:20:32.545Z] ---> 2e996b6d4fef [2021-06-02T20:20:32.545Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-06-02T20:20:32.817Z] ---> Running in 66c2930007b2 [2021-06-02T20:20:34.268Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-02T20:20:35.246Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-02T20:20:35.846Z] (1/5) Installing libsodium (1.0.18-r0) [2021-06-02T20:20:35.846Z] (2/5) Installing libzmq (4.3.3-r1) [2021-06-02T20:20:36.118Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-06-02T20:20:36.118Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-06-02T20:20:36.118Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-06-02T20:20:36.392Z] Executing busybox-1.32.1-r6.trigger [2021-06-02T20:20:36.392Z] OK: 139 MiB in 45 packages [2021-06-02T20:20:37.835Z] Removing intermediate container 66c2930007b2 [2021-06-02T20:20:37.835Z] ---> 4b80485ebd37 [2021-06-02T20:20:37.835Z] Step 6/8 : WORKDIR /build [2021-06-02T20:20:37.835Z] ---> Running in 0e101420bc89 [2021-06-02T20:20:38.113Z] Removing intermediate container 0e101420bc89 [2021-06-02T20:20:38.113Z] ---> 9ea7cb328771 [2021-06-02T20:20:38.113Z] Step 7/8 : COPY go.mod . [2021-06-02T20:20:39.100Z] ---> e09255998931 [2021-06-02T20:20:39.100Z] Step 8/8 : RUN go mod download [2021-06-02T20:20:39.100Z] ---> Running in ebc5f999deb4 [2021-06-02T20:20:40.857Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.058s coverage: 79.6% of statements [2021-06-02T20:20:40.857Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.009s coverage: 94.4% of statements [2021-06-02T20:20:40.857Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-02T20:20:40.857Z] gofmt -l . [2021-06-02T20:20:40.857Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-06-02T20:20:40.867Z] $ docker stop --time=1 81ce732de6fd09d623da5b46184f7c1cfb89dd63f4551ef2ae5d88a5fccd7c9e [2021-06-02T20:20:42.162Z] $ docker rm -f 81ce732de6fd09d623da5b46184f7c1cfb89dd63f4551ef2ae5d88a5fccd7c9e [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-02T20:20:42.630Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-02T20:20:42.898Z] 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:20:43.961Z] ---> job-cost.sh [2021-06-02T20:20:43.962Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-BxKX [2021-06-02T20:20:53.990Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-02T20:21:05.909Z] Removing intermediate container ebc5f999deb4 [2021-06-02T20:21:05.909Z] ---> 25a770b5ceb3 [2021-06-02T20:21:05.909Z] Successfully built 25a770b5ceb3 [2021-06-02T20:21:05.909Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-02T20:21:06.254Z] + docker inspect -f . ci-base-image-arm64 [2021-06-02T20:21:06.254Z] . [Pipeline] withDockerContainer [2021-06-02T20:21:06.303Z] lf-activate-venv(): INFO: Adding /tmp/venv-BxKX/bin to PATH [2021-06-02T20:21:06.303Z] INFO: No Stack... [2021-06-02T20:21:06.525Z] prd-ubuntu18.04-docker-arm64-4c-16g-135 does not seem to be running inside a container [2021-06-02T20:21:06.564Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-02T20:21:06.606Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@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:21:07.140Z] INFO: Archiving Costs [2021-06-02T20:21:08.232Z] $ docker top 35080b9f4c79b4731ab64c65a792bde67125cee178cbd023c9f81a6a2a28ddcb -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-06-02T20:21:08.868Z] + cat /w/workspace/app-functions-sdk-go/2/archives/cost.csv [2021-06-02T20:21:08.868Z] + cut -d, -f6 [Pipeline] lock [2021-06-02T20:21:08.897Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-877-2-stack-cost] [2021-06-02T20:21:08.916Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-877-2-stack-cost] did not exist. Created. [2021-06-02T20:21:08.917Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-877-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-02T20:21:09.250Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-02T20:21:09.272Z] + go version [2021-06-02T20:21:09.272Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-06-02T20:21:09.290Z] $ docker stop --time=1 35080b9f4c79b4731ab64c65a792bde67125cee178cbd023c9f81a6a2a28ddcb [2021-06-02T20:21:09.331Z] Stashed 1 file(s) [2021-06-02T20:21:11.069Z] $ docker rm -f 35080b9f4c79b4731ab64c65a792bde67125cee178cbd023c9f81a6a2a28ddcb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2021-06-02T20:21:11.309Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-877-2-stack-cost] [Pipeline] // script [Pipeline] // lock [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-02T20:21:11.970Z] + docker inspect -f . ci-base-image-arm64 [2021-06-02T20:21:11.970Z] . [Pipeline] withDockerContainer [2021-06-02T20:21:12.204Z] prd-ubuntu18.04-docker-arm64-4c-16g-135 does not seem to be running inside a container [2021-06-02T20:21:12.293Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@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:21:13.924Z] $ docker top d0a2bf762a2b2f4438fc456717e59adf1d3b614e370ba7463ca542880d5cb697 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-02T20:21:15.170Z] + go mod tidy [Pipeline] sh [2021-06-02T20:21:16.588Z] + make test [2021-06-02T20:21:16.588Z] make -C ./app-service-template build [2021-06-02T20:21:16.588Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-06-02T20:21:16.588Z] go mod tidy [2021-06-02T20:21:17.185Z] 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:21:56.257Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-06-02T20:21:56.257Z] make -C ./app-service-template test [2021-06-02T20:21:56.257Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-06-02T20:21:56.257Z] go mod tidy [2021-06-02T20:21:56.257Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-06-02T20:22:23.133Z] ok new-app-service 0.043s coverage: 47.8% of statements [2021-06-02T20:22:23.133Z] ? new-app-service/config [no test files] [2021-06-02T20:22:23.133Z] ok new-app-service/functions 0.040s [2021-06-02T20:22:23.133Z] CGO_ENABLED=1 go vet ./... [2021-06-02T20:22:49.960Z] gofmt -l . [2021-06-02T20:22:50.235Z] [ "`gofmt -l .`" = "" ] [2021-06-02T20:22:50.235Z] ./bin/test-attribution-txt.sh [2021-06-02T20:22:52.227Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-06-02T20:22:52.227Z] go mod tidy [2021-06-02T20:22:52.502Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-06-02T20:22:53.939Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-06-02T20:23:02.275Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.157s coverage: 58.4% of statements [2021-06-02T20:23:02.275Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.088s coverage: 93.5% of statements [2021-06-02T20:23:02.275Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-06-02T20:23:02.275Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.084s coverage: 61.5% of statements [2021-06-02T20:23:02.275Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-06-02T20:23:02.275Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.036s [2021-06-02T20:23:02.275Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.072s coverage: 76.1% of statements [2021-06-02T20:23:02.275Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-06-02T20:23:02.275Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-06-02T20:23:02.275Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-06-02T20:23:02.275Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-06-02T20:23:02.275Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-06-02T20:23:02.275Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-06-02T20:23:02.275Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.020s coverage: 97.1% of statements [2021-06-02T20:23:02.275Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-06-02T20:23:02.275Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.059s coverage: 10.5% of statements [2021-06-02T20:23:09.016Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.815s coverage: 76.9% of statements [2021-06-02T20:23:09.016Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-06-02T20:23:09.016Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.033s coverage: 12.5% of statements [2021-06-02T20:23:09.016Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.052s coverage: 27.3% of statements [2021-06-02T20:23:09.016Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-06-02T20:23:09.016Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-06-02T20:23:09.016Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.044s coverage: 51.4% of statements [2021-06-02T20:23:35.783Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.114s coverage: 79.6% of statements [2021-06-02T20:23:35.783Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.032s coverage: 94.4% of statements [2021-06-02T20:23:35.783Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-02T20:23:37.803Z] gofmt -l . [2021-06-02T20:23:38.075Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-06-02T20:23:38.366Z] $ docker stop --time=1 d0a2bf762a2b2f4438fc456717e59adf1d3b614e370ba7463ca542880d5cb697 [2021-06-02T20:23:40.310Z] $ docker rm -f d0a2bf762a2b2f4438fc456717e59adf1d3b614e370ba7463ca542880d5cb697 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-02T20:23:41.236Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-02T20:23:41.281Z] Warning: overwriting stash ‘coverage-report’ [2021-06-02T20:23:41.930Z] 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:23:42.667Z] ---> job-cost.sh [2021-06-02T20:23:42.667Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-vRKS [2021-06-02T20:24:21.630Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-02T20:25:43.390Z] lf-activate-venv(): INFO: Adding /tmp/venv-vRKS/bin to PATH [2021-06-02T20:25:43.390Z] INFO: No Stack... [2021-06-02T20:25:43.662Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-02T20:25:44.255Z] INFO: Archiving Costs [Pipeline] sh [2021-06-02T20:25:44.596Z] + + cut -d, -f6 [2021-06-02T20:25:44.596Z] cat /w/workspace/app-functions-sdk-go/2/archives/cost.csv [Pipeline] lock [2021-06-02T20:25:44.663Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-877-2-stack-cost] [2021-06-02T20:25:44.673Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-877-2-stack-cost] did not exist. Created. [2021-06-02T20:25:44.673Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-877-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-02T20:25:45.044Z] /w/workspace/app-functions-sdk-go/2@tmp/durable-6b09db06/script.sh: 1: /w/workspace/app-functions-sdk-go/2@tmp/durable-6b09db06/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-02T20:25:45.384Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-02T20:25:45.405Z] Warning: overwriting stash ‘stack-cost’ [2021-06-02T20:25:45.557Z] Stashed 1 file(s) [Pipeline] } [2021-06-02T20:25:45.575Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-877-2-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:25:46.347Z] provisioning config files... [2021-06-02T20:25:46.362Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-877@tmp/config7053798562549829003tmp [Pipeline] { [Pipeline] sh [2021-06-02T20:25:46.694Z] + set +x [2021-06-02T20:25:46.694Z] + curl -s https://codecov.io/bash [2021-06-02T20:25:46.694Z] + bash -s -- [2021-06-02T20:25:46.694Z] [2021-06-02T20:25:46.694Z] _____ _ [2021-06-02T20:25:46.694Z] / ____| | | [2021-06-02T20:25:46.694Z] | | ___ __| | ___ ___ _____ __ [2021-06-02T20:25:46.694Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-02T20:25:46.694Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-02T20:25:46.694Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-02T20:25:46.694Z] Bash-1.0.3 [2021-06-02T20:25:46.694Z] [2021-06-02T20:25:46.694Z] [2021-06-02T20:25:46.694Z] ==> git version 2.24.4 found [2021-06-02T20:25:46.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:25:46.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:25:46.694Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-02T20:25:46.694Z] ==> Jenkins CI detected. [2021-06-02T20:25:46.694Z] project root: . [2021-06-02T20:25:46.694Z] --> token set from env [2021-06-02T20:25:46.694Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-02T20:25:46.960Z] ==> Running gcov in . (disable via -X gcov) [2021-06-02T20:25:46.960Z] ==> Python coveragepy not found [2021-06-02T20:25:46.960Z] ==> Searching for coverage reports in: [2021-06-02T20:25:46.960Z] + . [2021-06-02T20:25:46.960Z] -> Found 2 reports [2021-06-02T20:25:46.960Z] ==> Detecting git/mercurial file structure [2021-06-02T20:25:46.960Z] ==> Reading reports [2021-06-02T20:25:46.960Z] + ./app-service-template/coverage.out bytes=1055 [2021-06-02T20:25:46.960Z] + ./coverage.out bytes=92085 [2021-06-02T20:25:46.960Z] ==> Appending adjustments [2021-06-02T20:25:46.960Z] https://docs.codecov.io/docs/fixing-reports [2021-06-02T20:25:47.227Z] + Found adjustments [2021-06-02T20:25:47.227Z] ==> Gzipping contents [2021-06-02T20:25:47.227Z] 16K /tmp/codecov.qDA1p6.gz [2021-06-02T20:25:47.227Z] ==> Uploading reports [2021-06-02T20:25:47.227Z] url: https://codecov.io [2021-06-02T20:25:47.227Z] query: branch=PR-877&commit=6612e6b2953e51b49c56650bcb81d5c00d8bd63e&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-877%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=877&job=&cmd_args= [2021-06-02T20:25:47.227Z] -> Pinging Codecov [2021-06-02T20:25:47.227Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-877&commit=6612e6b2953e51b49c56650bcb81d5c00d8bd63e&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-877%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=877&job=&cmd_args= [2021-06-02T20:25:47.803Z] -> Uploading to [2021-06-02T20:25:47.803Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-02/3D8B5DFFC46A037C893635FACE044666/6612e6b2953e51b49c56650bcb81d5c00d8bd63e/567ca3ba-1c7a-4de2-8d8f-1dd90d9c5c8b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210602%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210602T202547Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2a9c1fdc945dfd03804c0eb62a52fe187c6d80ff8eb38d07be2aad33f996db24 [2021-06-02T20:25:47.803Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-02T20:25:47.803Z] Dload Upload Total Spent Left Speed [2021-06-02T20:25:48.379Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16040 0 0 100 16040 0 31652 --:--:-- --:--:-- --:--:-- 31699 [2021-06-02T20:25:48.379Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/6612e6b2953e51b49c56650bcb81d5c00d8bd63e [Pipeline] } [2021-06-02T20:25:48.388Z] 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:25:49.860Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-02T20:25:50.450Z] ---> package-listing.sh [2021-06-02T20:25:50.450Z] ++ facter osfamily [2021-06-02T20:25:50.450Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-02T20:25:50.714Z] + OS_FAMILY=redhat [2021-06-02T20:25:50.714Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-877 [2021-06-02T20:25:50.714Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-02T20:25:50.714Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-02T20:25:50.714Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-02T20:25:50.714Z] + PACKAGES=/tmp/packages_start.txt [2021-06-02T20:25:50.714Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-877 ']' [2021-06-02T20:25:50.714Z] + PACKAGES=/tmp/packages_end.txt [2021-06-02T20:25:50.714Z] + case "${OS_FAMILY}" in [2021-06-02T20:25:50.714Z] + sort [2021-06-02T20:25:50.714Z] + rpm -qa [2021-06-02T20:25:51.287Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-02T20:25:51.287Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-02T20:25:51.287Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-02T20:25:51.287Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-877 ']' [2021-06-02T20:25:51.287Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-877/archives/ [2021-06-02T20:25:51.287Z] + 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:25:51.299Z] 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:25:51.588Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-02T20:25:52.157Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-02T20:25:52.157Z] [2021-06-02T20:25:52.157Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-02T20:25:52.481Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-02T20:25:52.481Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-02T20:25:52.481Z] df20fa9351a1: Pulling fs layer [2021-06-02T20:25:52.481Z] 36b3adc4ff6f: Pulling fs layer [2021-06-02T20:25:52.481Z] 8ad3a11d3b57: Pulling fs layer [2021-06-02T20:25:52.481Z] 46f8f816bc3b: Pulling fs layer [2021-06-02T20:25:52.481Z] 93b61091891f: Pulling fs layer [2021-06-02T20:25:52.481Z] 93b9cdb0e59b: Pulling fs layer [2021-06-02T20:25:52.481Z] 5e14af77c1be: Pulling fs layer [2021-06-02T20:25:52.481Z] 01666e4c0597: Pulling fs layer [2021-06-02T20:25:52.481Z] aa168da1d23b: Pulling fs layer [2021-06-02T20:25:52.481Z] 93b61091891f: Waiting [2021-06-02T20:25:52.481Z] 93b9cdb0e59b: Waiting [2021-06-02T20:25:52.481Z] 5e14af77c1be: Waiting [2021-06-02T20:25:52.481Z] 01666e4c0597: Waiting [2021-06-02T20:25:52.481Z] aa168da1d23b: Waiting [2021-06-02T20:25:52.481Z] 46f8f816bc3b: Waiting [2021-06-02T20:25:52.481Z] 36b3adc4ff6f: Verifying Checksum [2021-06-02T20:25:52.481Z] 36b3adc4ff6f: Download complete [2021-06-02T20:25:52.481Z] 46f8f816bc3b: Verifying Checksum [2021-06-02T20:25:52.481Z] 46f8f816bc3b: Download complete [2021-06-02T20:25:52.481Z] df20fa9351a1: Verifying Checksum [2021-06-02T20:25:52.481Z] df20fa9351a1: Download complete [2021-06-02T20:25:52.744Z] 93b9cdb0e59b: Verifying Checksum [2021-06-02T20:25:52.744Z] 93b9cdb0e59b: Download complete [2021-06-02T20:25:52.744Z] 5e14af77c1be: Verifying Checksum [2021-06-02T20:25:52.744Z] 5e14af77c1be: Download complete [2021-06-02T20:25:52.744Z] 93b61091891f: Verifying Checksum [2021-06-02T20:25:52.744Z] 93b61091891f: Download complete [2021-06-02T20:25:52.744Z] 01666e4c0597: Verifying Checksum [2021-06-02T20:25:52.744Z] 01666e4c0597: Download complete [2021-06-02T20:25:52.744Z] df20fa9351a1: Pull complete [2021-06-02T20:25:53.009Z] 36b3adc4ff6f: Pull complete [2021-06-02T20:25:53.009Z] 8ad3a11d3b57: Verifying Checksum [2021-06-02T20:25:53.009Z] 8ad3a11d3b57: Download complete [2021-06-02T20:25:53.594Z] 8ad3a11d3b57: Pull complete [2021-06-02T20:25:53.594Z] 46f8f816bc3b: Pull complete [2021-06-02T20:25:53.857Z] 93b61091891f: Pull complete [2021-06-02T20:25:54.131Z] 93b9cdb0e59b: Pull complete [2021-06-02T20:25:54.131Z] 5e14af77c1be: Pull complete [2021-06-02T20:25:54.131Z] 01666e4c0597: Pull complete [2021-06-02T20:25:54.711Z] aa168da1d23b: Verifying Checksum [2021-06-02T20:25:54.711Z] aa168da1d23b: Download complete [2021-06-02T20:25:58.954Z] aa168da1d23b: Pull complete [2021-06-02T20:25:58.954Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-02T20:25:58.954Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-02T20:25:58.954Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-02T20:25:59.027Z] prd-centos7-docker-4c-2g-133 does not seem to be running inside a container [2021-06-02T20:25:59.060Z] $ 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:26:01.480Z] $ docker top 296a8b0a8b39814b754e50c7171c2f677c389e20444824f146f08f44dcc77524 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-02T20:26:01.878Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-02T20:26:02.181Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-02T20:26:02.477Z] + ls /var/log/sa-host [2021-06-02T20:26:02.477Z] + sadf -c /var/log/sa-host/sa02 [2021-06-02T20:26:02.477Z] file_magic: OK [2021-06-02T20:26:02.477Z] HZ: Using current value: 100 [2021-06-02T20:26:02.477Z] file_header: OK [2021-06-02T20:26:02.477Z] 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:26:02.477Z] Statistics: [2021-06-02T20:26:02.477Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-02T20:26:02.477Z] File successfully converted to sysstat format version 12.2.1 [2021-06-02T20:26:02.477Z] + sadf -c /var/log/sa-host/sa05 [2021-06-02T20:26:02.477Z] file_magic: OK [2021-06-02T20:26:02.477Z] HZ: Using current value: 100 [2021-06-02T20:26:02.477Z] file_header: OK [2021-06-02T20:26:02.477Z] 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:26:02.477Z] Statistics: [2021-06-02T20:26:02.477Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-02T20:26:02.477Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-02T20:26:02.656Z] provisioning config files... [2021-06-02T20:26:02.670Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-877@tmp/config2191219750501595854tmp [Pipeline] { [Pipeline] echo [2021-06-02T20:26:02.691Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-02T20:26:02.988Z] ---> create-netrc.sh [Pipeline] } [2021-06-02T20:26:02.996Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-06-02T20:26:03.024Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-02T20:26:03.331Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-02T20:26:03.343Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-02T20:26:03.650Z] ---> sudo-logs.sh [2021-06-02T20:26:03.650Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-02T20:26:03.689Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-02T20:26:03.986Z] ---> job-cost.sh [2021-06-02T20:26:03.986Z] lf-activate-venv: SKIPPING [2021-06-02T20:26:03.986Z] DEBUG: total: 0.18000000715255737 [2021-06-02T20:26:03.986Z] INFO: Retrieving Stack Cost... [2021-06-02T20:26:04.929Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-02T20:26:05.189Z] INFO: Archiving Costs [Pipeline] echo [2021-06-02T20:26:05.201Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-02T20:26:05.499Z] ---> logs-deploy.sh [2021-06-02T20:26:05.499Z] lf-activate-venv: SKIPPING [2021-06-02T20:26:05.499Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-877/2 [2021-06-02T20:26:05.499Z] INFO: archiving workspace using pattern(s): [2021-06-02T20:26:06.443Z] Archives upload complete. [2021-06-02T20:26:06.443Z] INFO: archiving logs to Nexus