Pull request #897 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 c7e4593b2a32525ca6f78364afe587c2e7251fc8+d07bca608e99190f2a843fee86b469a806ac6110 (91687ecced1c222b57d0edefca7808103d0d7247) 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-ssh6170603680702074816.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b 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-ssh8253097354559152725.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 f4a1163c6b2b14014f487cca778b157dcbc6cc6b 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-897/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-897/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6619223649608553618.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f4a1163c6b2b14014f487cca778b157dcbc6cc6b # timeout=10 Commit message: "Merge pull request #339 from ernestojeda/disable-snaps-temp" > 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-ssh3868738938796291355.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-897/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-897/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh9221526867918711643.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: app-functions-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1507’ Running on prd-centos7-docker-4c-2g-1510 in /w/workspace/ndry_app-functions-sdk-go_PR-897 [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-897 # 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-897@tmp/jenkins-gitclient-ssh1781558568095947420.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 d07bca608e99190f2a843fee86b469a806ac6110 into PR head commit c7e4593b2a32525ca6f78364afe587c2e7251fc8 Merge succeeded, producing c7e4593b2a32525ca6f78364afe587c2e7251fc8 Checking out Revision c7e4593b2a32525ca6f78364afe587c2e7251fc8 (PR-897) > 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-897@tmp/jenkins-gitclient-ssh8141357261600428411.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/897/head:refs/remotes/origin/PR-897 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c7e4593b2a32525ca6f78364afe587c2e7251fc8 # 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-897@tmp/jenkins-gitclient-ssh4444089422370331820.key > git merge d07bca608e99190f2a843fee86b469a806ac6110 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c7e4593b2a32525ca6f78364afe587c2e7251fc8 # timeout=10 Commit message: "feat(sdk): Use Default Topic Formatting for Triggers" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-15T18:22:28.985Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-15T18:22:29.083Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-15T18:22:29.114Z] ========================================================= [2021-06-15T18:22:29.114Z] EdgeX Global Pipelines Version Info [2021-06-15T18:22:29.114Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 6cf1f43dfee3af36d33fd18e7be4d781902879ca # timeout=10 [2021-06-15T18:22:31.058Z] ------------------- [2021-06-15T18:22:31.058Z] stable info: [2021-06-15T18:22:31.058Z] ------------------- [2021-06-15T18:22:31.058Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-15T18:22:31.058Z] Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b [2021-06-15T18:22:31.058Z] Message: update stable to v1.0.194 [2021-06-15T18:22:31.635Z] ------------------- [2021-06-15T18:22:31.635Z] experimental info: [2021-06-15T18:22:31.635Z] ------------------- [2021-06-15T18:22:31.635Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-15T18:22:31.635Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-15T18:22:31.635Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-15T18:22:31.754Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-06-15T18:22:31.779Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-06-15T18:22:31.803Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-15T18:22:31.827Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-15T18:22:31.850Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-15T18:22:31.874Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-15T18:22:31.898Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-15T18:22:31.924Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-15T18:22:31.949Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-15T18:22:31.973Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-15T18:22:31.998Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-15T18:22:32.021Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2021-06-15T18:22:32.046Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-15T18:22:32.070Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-15T18:22:32.094Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-06-15T18:22:32.119Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-15T18:22:32.147Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-15T18:22:32.171Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-15T18:22:32.196Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-15T18:22:32.220Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-15T18:22:32.246Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-15T18:22:32.274Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-06-15T18:22:32.297Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-15T18:22:32.320Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-15T18:22:32.344Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-06-15T18:22:32.370Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-15T18:22:32.394Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-897 [Pipeline] echo [2021-06-15T18:22:32.418Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-897 [Pipeline] echo [2021-06-15T18:22:32.443Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-897 [Pipeline] echo [2021-06-15T18:22:32.471Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c7e4593b2a32525ca6f78364afe587c2e7251fc8 [Pipeline] echo [2021-06-15T18:22:32.499Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c7e4593 [Pipeline] echo [2021-06-15T18:22:34.291Z] [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-15T18:22:34.843Z] + git log --format=format:%s -1 c7e4593b2a32525ca6f78364afe587c2e7251fc8 [Pipeline] echo [2021-06-15T18:22:34.898Z] GIT_COMMIT: c7e4593b2a32525ca6f78364afe587c2e7251fc8, Commit Message: feat(sdk): Use Default Topic Formatting for Triggers [Pipeline] echo [2021-06-15T18:22:34.912Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-15T18:22:35.757Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-15T18:22:36.019Z] [2021-06-15T18:22:36.019Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-15T18:22:36.336Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-15T18:22:36.599Z] latest: Pulling from edgex-devops/git-semver [2021-06-15T18:22:36.599Z] 31603596830f: Pulling fs layer [2021-06-15T18:22:36.599Z] 54011a49482f: Pulling fs layer [2021-06-15T18:22:36.599Z] a6820b24f6d8: Pulling fs layer [2021-06-15T18:22:36.599Z] f581987b2513: Pulling fs layer [2021-06-15T18:22:36.599Z] f581987b2513: Waiting [2021-06-15T18:22:36.599Z] 54011a49482f: Download complete [2021-06-15T18:22:36.866Z] 31603596830f: Download complete [2021-06-15T18:22:36.866Z] f581987b2513: Verifying Checksum [2021-06-15T18:22:36.866Z] f581987b2513: Download complete [2021-06-15T18:22:36.866Z] a6820b24f6d8: Verifying Checksum [2021-06-15T18:22:36.866Z] a6820b24f6d8: Download complete [2021-06-15T18:22:36.866Z] 31603596830f: Pull complete [2021-06-15T18:22:37.130Z] 54011a49482f: Pull complete [2021-06-15T18:22:38.079Z] a6820b24f6d8: Pull complete [2021-06-15T18:22:38.079Z] f581987b2513: Pull complete [2021-06-15T18:22:38.341Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-15T18:22:38.341Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-15T18:22:38.605Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-15T18:22:38.957Z] prd-centos7-docker-4c-2g-1510 does not seem to be running inside a container [2021-06-15T18:22:38.994Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-897 -v /w/workspace/ndry_app-functions-sdk-go_PR-897:/w/workspace/ndry_app-functions-sdk-go_PR-897:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-897@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-897@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-15T18:22:42.314Z] $ docker top 57d93af9612951f724ecb4a67724a90a51098c4a990385bb6a447cd4f10e9304 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-15T18:22:42.455Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-15T18:22:42.455Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-15T18:22:42.566Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-15T18:22:42.568Z] $ docker exec 57d93af9612951f724ecb4a67724a90a51098c4a990385bb6a447cd4f10e9304 ssh-agent [2021-06-15T18:22:42.692Z] SSH_AUTH_SOCK=/tmp/ssh-Z0WDO5ZGPbq8/agent.14 [2021-06-15T18:22:42.692Z] SSH_AGENT_PID=21 [2021-06-15T18:22:42.701Z] Running ssh-add (command line suppressed) [2021-06-15T18:22:42.808Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-897@tmp/private_key_1399242338044840099.key (/w/workspace/ndry_app-functions-sdk-go_PR-897@tmp/private_key_1399242338044840099.key) [2021-06-15T18:22:42.826Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-15T18:22:43.138Z] + git tag --points-at HEAD [Pipeline] } [2021-06-15T18:22:43.150Z] $ docker exec --env ******** --env ******** 57d93af9612951f724ecb4a67724a90a51098c4a990385bb6a447cd4f10e9304 ssh-agent -k [2021-06-15T18:22:43.248Z] unset SSH_AUTH_SOCK; [2021-06-15T18:22:43.249Z] unset SSH_AGENT_PID; [2021-06-15T18:22:43.249Z] echo Agent pid 21 killed; [2021-06-15T18:22:43.263Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-15T18:22:43.303Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-15T18:22:43.303Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-15T18:22:43.415Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-15T18:22:43.417Z] $ docker exec 57d93af9612951f724ecb4a67724a90a51098c4a990385bb6a447cd4f10e9304 ssh-agent [2021-06-15T18:22:43.527Z] SSH_AUTH_SOCK=/tmp/ssh-zVlVI7swy9Nc/agent.53 [2021-06-15T18:22:43.527Z] SSH_AGENT_PID=59 [2021-06-15T18:22:43.532Z] Running ssh-add (command line suppressed) [2021-06-15T18:22:43.657Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-897@tmp/private_key_6663779483013633973.key (/w/workspace/ndry_app-functions-sdk-go_PR-897@tmp/private_key_6663779483013633973.key) [2021-06-15T18:22:43.673Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-15T18:22:43.971Z] + git semver init [2021-06-15T18:22:43.971Z] # -> Open(): unable to determine branch for HEAD [2021-06-15T18:22:43.971Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-897/.git [2021-06-15T18:22:43.971Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-897 [2021-06-15T18:22:43.971Z] # $SEMVER_REMOTE_NAME = origin [2021-06-15T18:22:43.971Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-15T18:22:43.971Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-15T18:22:43.971Z] # $SEMVER_BRANCH = PR-897 [2021-06-15T18:22:43.971Z] # $SEMVER_TEMP = /tmp/semver-834921625 [2021-06-15T18:22:43.971Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-06-15T18:22:45.912Z] # '/tmp/semver-834921625' -> '/w/workspace/ndry_app-functions-sdk-go_PR-897/.semver' [2021-06-15T18:22:45.912Z] # -> Force: false [2021-06-15T18:22:45.912Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-897/.semver [Pipeline] } [2021-06-15T18:22:45.923Z] $ docker exec --env ******** --env ******** 57d93af9612951f724ecb4a67724a90a51098c4a990385bb6a447cd4f10e9304 ssh-agent -k [2021-06-15T18:22:46.013Z] unset SSH_AUTH_SOCK; [2021-06-15T18:22:46.014Z] unset SSH_AGENT_PID; [2021-06-15T18:22:46.014Z] echo Agent pid 59 killed; [2021-06-15T18:22:46.028Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-15T18:22:46.371Z] + git semver [Pipeline] } [2021-06-15T18:22:46.387Z] $ docker stop --time=1 57d93af9612951f724ecb4a67724a90a51098c4a990385bb6a447cd4f10e9304 [2021-06-15T18:22:48.722Z] $ docker rm -f 57d93af9612951f724ecb4a67724a90a51098c4a990385bb6a447cd4f10e9304 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-15T18:22:49.127Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-15T18:22:49.419Z] Stashed 1 file(s) [Pipeline] echo [2021-06-15T18:22:49.423Z] [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-15T18:23:04.714Z] Still waiting to schedule task [2021-06-15T18:23:04.714Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-15T18:23:04.763Z] Still waiting to schedule task [2021-06-15T18:23:04.764Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1508’ [2021-06-15T18:24:30.815Z] Running on prd-centos7-docker-4c-2g-1511 in /w/workspace/ndry_app-functions-sdk-go_PR-897 [Pipeline] { [Pipeline] ws [2021-06-15T18:24:30.838Z] Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-06-15T18:24:30.962Z] The recommended git tool is: git [2021-06-15T18:24:33.352Z] using credential edgex-jenkins-ssh [2021-06-15T18:24:33.367Z] Cloning the remote Git repository [2021-06-15T18:24:33.492Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-15T18:24:33.553Z] > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 [2021-06-15T18:24:33.575Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-15T18:24:33.576Z] > git --version # timeout=10 [2021-06-15T18:24:33.582Z] > git --version # 'git version 2.24.4' [2021-06-15T18:24:33.582Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-15T18:24:33.603Z] [INFO] Currently running in a labeled security context [2021-06-15T18:24:33.603Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-15T18:24:33.603Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/3@tmp/jenkins-gitclient-ssh5259125060778197387.key [2021-06-15T18:24:33.613Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-15T18:24:35.488Z] Merging remotes/origin/master commit d07bca608e99190f2a843fee86b469a806ac6110 into PR head commit c7e4593b2a32525ca6f78364afe587c2e7251fc8 [2021-06-15T18:24:35.575Z] Merge succeeded, producing c7e4593b2a32525ca6f78364afe587c2e7251fc8 [2021-06-15T18:24:35.576Z] Checking out Revision c7e4593b2a32525ca6f78364afe587c2e7251fc8 (PR-897) [2021-06-15T18:24:34.921Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-06-15T18:24:34.935Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-15T18:24:34.949Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-06-15T18:24:34.958Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-15T18:24:34.959Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-15T18:24:34.960Z] [INFO] Currently running in a labeled security context [2021-06-15T18:24:34.960Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-15T18:24:34.960Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/3@tmp/jenkins-gitclient-ssh4914972538826753252.key [2021-06-15T18:24:34.969Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/897/head:refs/remotes/origin/PR-897 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-15T18:24:35.491Z] > git config core.sparsecheckout # timeout=10 [2021-06-15T18:24:35.498Z] > git checkout -f c7e4593b2a32525ca6f78364afe587c2e7251fc8 # timeout=10 [2021-06-15T18:24:35.538Z] > git remote # timeout=10 [2021-06-15T18:24:35.542Z] > git config --get remote.origin.url # timeout=10 [2021-06-15T18:24:35.546Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-15T18:24:35.547Z] [INFO] Currently running in a labeled security context [2021-06-15T18:24:35.547Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-15T18:24:35.547Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/3@tmp/jenkins-gitclient-ssh3958640337912236286.key [2021-06-15T18:24:35.554Z] > git merge d07bca608e99190f2a843fee86b469a806ac6110 # timeout=10 [2021-06-15T18:24:35.562Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-15T18:24:35.574Z] > git config core.sparsecheckout # timeout=10 [2021-06-15T18:24:35.579Z] > git checkout -f c7e4593b2a32525ca6f78364afe587c2e7251fc8 # timeout=10 [2021-06-15T18:24:39.266Z] Commit message: "feat(sdk): Use Default Topic Formatting for Triggers" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-15T18:24:40.304Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-15T18:24:40.630Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-15T18:24:40.931Z] + sudo service docker restart [2021-06-15T18:24:40.931Z] + true [2021-06-15T18:24:40.931Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-06-15T18:24:59.208Z] ========================================================= [2021-06-15T18:24:59.209Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-15T18:24:59.209Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-15T18:24:59.538Z] + 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-15T18:24:59.803Z] Sending build context to Docker daemon 19.86MB [2021-06-15T18:24:59.803Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-15T18:24:59.803Z] Step 2/8 : FROM ${BASE} [2021-06-15T18:25:00.067Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-15T18:25:00.067Z] 540db60ca938: Pulling fs layer [2021-06-15T18:25:00.067Z] adcc1eea9eea: Pulling fs layer [2021-06-15T18:25:00.067Z] 4c4ab2625f07: Pulling fs layer [2021-06-15T18:25:00.067Z] 0510c868ecb4: Pulling fs layer [2021-06-15T18:25:00.067Z] afea3b2eda06: Pulling fs layer [2021-06-15T18:25:00.067Z] 7809a108b3ef: Pulling fs layer [2021-06-15T18:25:00.067Z] f706445af74f: Pulling fs layer [2021-06-15T18:25:00.067Z] 0510c868ecb4: Waiting [2021-06-15T18:25:00.067Z] afea3b2eda06: Waiting [2021-06-15T18:25:00.067Z] 7809a108b3ef: Waiting [2021-06-15T18:25:00.067Z] f706445af74f: Waiting [2021-06-15T18:25:00.067Z] 4c4ab2625f07: Verifying Checksum [2021-06-15T18:25:00.067Z] 4c4ab2625f07: Download complete [2021-06-15T18:25:00.067Z] adcc1eea9eea: Verifying Checksum [2021-06-15T18:25:00.067Z] adcc1eea9eea: Download complete [2021-06-15T18:25:00.067Z] afea3b2eda06: Verifying Checksum [2021-06-15T18:25:00.067Z] afea3b2eda06: Download complete [2021-06-15T18:25:00.331Z] 7809a108b3ef: Download complete [2021-06-15T18:25:00.331Z] 540db60ca938: Verifying Checksum [2021-06-15T18:25:00.331Z] 540db60ca938: Download complete [2021-06-15T18:25:00.592Z] 540db60ca938: Pull complete [2021-06-15T18:25:00.592Z] adcc1eea9eea: Pull complete [2021-06-15T18:25:00.592Z] 4c4ab2625f07: Pull complete [2021-06-15T18:25:02.514Z] f706445af74f: Verifying Checksum [2021-06-15T18:25:02.514Z] f706445af74f: Download complete [2021-06-15T18:25:02.514Z] 0510c868ecb4: Verifying Checksum [2021-06-15T18:25:02.514Z] 0510c868ecb4: Download complete [2021-06-15T18:25:05.843Z] 0510c868ecb4: Pull complete [2021-06-15T18:25:05.843Z] afea3b2eda06: Pull complete [2021-06-15T18:25:05.843Z] 7809a108b3ef: Pull complete [2021-06-15T18:25:07.251Z] f706445af74f: Pull complete [2021-06-15T18:25:07.251Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-15T18:25:07.251Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-15T18:25:07.513Z] ---> b068be0155e3 [2021-06-15T18:25:07.513Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-06-15T18:25:07.513Z] 20.10.0: Pulling from library/docker [2021-06-15T18:25:07.513Z] 05e7bc50f07f: Pulling fs layer [2021-06-15T18:25:07.513Z] 6db28d0fdbf6: Pulling fs layer [2021-06-15T18:25:07.513Z] 292df0bc6bf3: Pulling fs layer [2021-06-15T18:25:07.513Z] 2e060f4bd70b: Pulling fs layer [2021-06-15T18:25:07.513Z] 80e8d568a223: Pulling fs layer [2021-06-15T18:25:07.513Z] 8dc6ef1a942a: Pulling fs layer [2021-06-15T18:25:07.513Z] 2312dd95470a: Pulling fs layer [2021-06-15T18:25:07.513Z] 2e060f4bd70b: Waiting [2021-06-15T18:25:07.513Z] 80e8d568a223: Waiting [2021-06-15T18:25:07.513Z] 8dc6ef1a942a: Waiting [2021-06-15T18:25:07.513Z] 2312dd95470a: Waiting [2021-06-15T18:25:07.513Z] 292df0bc6bf3: Verifying Checksum [2021-06-15T18:25:07.513Z] 292df0bc6bf3: Download complete [2021-06-15T18:25:07.513Z] 6db28d0fdbf6: Verifying Checksum [2021-06-15T18:25:07.513Z] 6db28d0fdbf6: Download complete [2021-06-15T18:25:07.513Z] 05e7bc50f07f: Verifying Checksum [2021-06-15T18:25:07.513Z] 05e7bc50f07f: Download complete [2021-06-15T18:25:07.513Z] 80e8d568a223: Verifying Checksum [2021-06-15T18:25:07.513Z] 80e8d568a223: Download complete [2021-06-15T18:25:07.513Z] 8dc6ef1a942a: Verifying Checksum [2021-06-15T18:25:07.513Z] 8dc6ef1a942a: Download complete [2021-06-15T18:25:07.513Z] 2312dd95470a: Verifying Checksum [2021-06-15T18:25:07.513Z] 2312dd95470a: Download complete [2021-06-15T18:25:07.778Z] 05e7bc50f07f: Pull complete [2021-06-15T18:25:08.040Z] 6db28d0fdbf6: Pull complete [2021-06-15T18:25:08.040Z] 292df0bc6bf3: Pull complete [2021-06-15T18:25:08.623Z] 2e060f4bd70b: Verifying Checksum [2021-06-15T18:25:08.623Z] 2e060f4bd70b: Download complete [2021-06-15T18:25:10.578Z] 2e060f4bd70b: Pull complete [2021-06-15T18:25:10.578Z] 80e8d568a223: Pull complete [2021-06-15T18:25:10.578Z] 8dc6ef1a942a: Pull complete [2021-06-15T18:25:10.578Z] 2312dd95470a: Pull complete [2021-06-15T18:25:10.578Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-06-15T18:25:10.578Z] Status: Downloaded newer image for docker:20.10.0 [2021-06-15T18:25:13.145Z] ---> c17a778cff0b [2021-06-15T18:25:13.145Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-15T18:25:13.145Z] ---> Running in ff98a54e90fa [2021-06-15T18:25:13.145Z] Removing intermediate container ff98a54e90fa [2021-06-15T18:25:13.145Z] ---> 4cf0bc491adc [2021-06-15T18:25:13.145Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-06-15T18:25:13.145Z] ---> Running in 4f8658265e96 [2021-06-15T18:25:13.718Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-15T18:25:14.297Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-15T18:25:14.872Z] (1/5) Installing libsodium (1.0.18-r0) [2021-06-15T18:25:14.872Z] (2/5) Installing libzmq (4.3.3-r1) [2021-06-15T18:25:14.872Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-06-15T18:25:15.137Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-06-15T18:25:15.137Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-06-15T18:25:15.401Z] Executing busybox-1.32.1-r6.trigger [2021-06-15T18:25:15.401Z] OK: 150 MiB in 45 packages [2021-06-15T18:25:15.663Z] Removing intermediate container 4f8658265e96 [2021-06-15T18:25:15.663Z] ---> 60cb56eb57c3 [2021-06-15T18:25:15.663Z] Step 6/8 : WORKDIR /build [2021-06-15T18:25:15.663Z] ---> Running in 288e24d075c8 [2021-06-15T18:25:15.663Z] Removing intermediate container 288e24d075c8 [2021-06-15T18:25:15.663Z] ---> 95882a9f2ddb [2021-06-15T18:25:15.663Z] Step 7/8 : COPY go.mod . [2021-06-15T18:25:15.931Z] ---> 0f927621f721 [2021-06-15T18:25:15.931Z] Step 8/8 : RUN go mod download [2021-06-15T18:25:15.931Z] ---> Running in 68d6c13e31e1 [2021-06-15T18:25:26.918Z] Removing intermediate container 68d6c13e31e1 [2021-06-15T18:25:26.918Z] ---> 31050df53b4c [2021-06-15T18:25:26.918Z] Successfully built 31050df53b4c [2021-06-15T18:25:26.918Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-15T18:25:27.258Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-15T18:25:27.258Z] . [Pipeline] withDockerContainer [2021-06-15T18:25:27.329Z] prd-centos7-docker-4c-2g-1511 does not seem to be running inside a container [2021-06-15T18:25:27.367Z] $ 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-15T18:25:27.719Z] $ docker top 41cae5c44f5a1b3d0729d5afe5d9d92ffb84144fc0113ac0e8a0c636bf39a45c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-15T18:25:28.120Z] + go version [2021-06-15T18:25:28.120Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-15T18:25:28.145Z] $ docker stop --time=1 41cae5c44f5a1b3d0729d5afe5d9d92ffb84144fc0113ac0e8a0c636bf39a45c [2021-06-15T18:25:29.332Z] $ docker rm -f 41cae5c44f5a1b3d0729d5afe5d9d92ffb84144fc0113ac0e8a0c636bf39a45c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-15T18:25:29.923Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-15T18:25:29.923Z] . [Pipeline] withDockerContainer [2021-06-15T18:25:30.004Z] prd-centos7-docker-4c-2g-1511 does not seem to be running inside a container [2021-06-15T18:25:30.047Z] $ 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-15T18:25:30.441Z] $ docker top 4eb654786fba26a7ba9b8e498a464d4c5430e9fa3a9d18969cce0557d2abfa20 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-15T18:25:30.830Z] + go mod tidy [Pipeline] sh [2021-06-15T18:25:31.396Z] + make test [2021-06-15T18:25:31.396Z] make -C ./app-service-template build [2021-06-15T18:25:31.396Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-06-15T18:25:31.396Z] go mod tidy [2021-06-15T18:25:31.676Z] 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-15T18:25:41.737Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-06-15T18:25:41.737Z] make -C ./app-service-template test [2021-06-15T18:25:41.737Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-06-15T18:25:41.737Z] go mod tidy [2021-06-15T18:25:41.737Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-06-15T18:25:49.923Z] ok new-app-service 0.016s coverage: 47.8% of statements [2021-06-15T18:25:49.923Z] ? new-app-service/config [no test files] [2021-06-15T18:25:49.923Z] ok new-app-service/functions 0.007s [2021-06-15T18:25:49.923Z] CGO_ENABLED=1 go vet ./... [2021-06-15T18:25:56.566Z] gofmt -l . [2021-06-15T18:25:56.566Z] [ "`gofmt -l .`" = "" ] [2021-06-15T18:25:56.566Z] ./bin/test-attribution-txt.sh [2021-06-15T18:25:56.566Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-06-15T18:25:56.566Z] go mod tidy [2021-06-15T18:25:56.566Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-06-15T18:25:56.835Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-06-15T18:25:58.236Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.009s coverage: 63.3% of statements [2021-06-15T18:25:58.513Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.008s coverage: 96.5% of statements [2021-06-15T18:25:58.513Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-06-15T18:25:58.782Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.011s coverage: 61.8% of statements [2021-06-15T18:25:58.782Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-06-15T18:25:59.048Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.005s [2021-06-15T18:25:59.319Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.030s coverage: 74.5% of statements [2021-06-15T18:25:59.319Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-06-15T18:25:59.319Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-06-15T18:25:59.319Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-06-15T18:25:59.319Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-06-15T18:25:59.319Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-06-15T18:25:59.319Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-06-15T18:25:59.319Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.009s coverage: 97.1% of statements [2021-06-15T18:25:59.319Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-06-15T18:25:59.933Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.005s coverage: 10.5% of statements [2021-06-15T18:26:03.260Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.765s coverage: 76.1% of statements [2021-06-15T18:26:03.260Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-06-15T18:26:03.260Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.010s coverage: 12.5% of statements [2021-06-15T18:26:03.260Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.007s coverage: 27.3% of statements [2021-06-15T18:26:03.260Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-06-15T18:26:03.260Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-06-15T18:26:03.260Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.009s coverage: 51.4% of statements [2021-06-15T18:26:30.198Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.041s coverage: 78.0% of statements [2021-06-15T18:26:30.198Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.007s coverage: 94.4% of statements [2021-06-15T18:26:30.198Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-15T18:26:30.198Z] gofmt -l . [2021-06-15T18:26:30.198Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-06-15T18:26:30.220Z] $ docker stop --time=1 4eb654786fba26a7ba9b8e498a464d4c5430e9fa3a9d18969cce0557d2abfa20 [2021-06-15T18:26:31.479Z] $ docker rm -f 4eb654786fba26a7ba9b8e498a464d4c5430e9fa3a9d18969cce0557d2abfa20 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-15T18:26:31.922Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-15T18:26:32.136Z] 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-15T18:26:33.002Z] ---> job-cost.sh [2021-06-15T18:26:33.002Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-wNoD [2021-06-15T18:26:37.571Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1513 in /w/workspace/ndry_app-functions-sdk-go_PR-897 [Pipeline] { [Pipeline] ws [2021-06-15T18:26:37.596Z] Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-06-15T18:26:37.792Z] The recommended git tool is: git [2021-06-15T18:26:41.174Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-15T18:26:43.021Z] using credential edgex-jenkins-ssh [2021-06-15T18:26:43.041Z] Cloning the remote Git repository [2021-06-15T18:26:43.099Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-15T18:26:43.209Z] > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 [2021-06-15T18:26:43.302Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-15T18:26:43.303Z] > git --version # timeout=10 [2021-06-15T18:26:43.324Z] > git --version # 'git version 2.17.1' [2021-06-15T18:26:43.326Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-15T18:26:43.442Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-15T18:26:46.506Z] ERROR: Exception: [2021-06-15T18:26:46.506Z] Traceback (most recent call last): [2021-06-15T18:26:46.506Z] File "/tmp/venv-wNoD/lib64/python3.6/site-packages/pip/_vendor/urllib3/response.py", line 438, in _error_catcher [2021-06-15T18:26:46.506Z] yield [2021-06-15T18:26:46.506Z] File "/tmp/venv-wNoD/lib64/python3.6/site-packages/pip/_vendor/urllib3/response.py", line 519, in read [2021-06-15T18:26:46.506Z] data = self._fp.read(amt) if not fp_closed else b"" [2021-06-15T18:26:46.506Z] File "/tmp/venv-wNoD/lib64/python3.6/site-packages/pip/_vendor/cachecontrol/filewrapper.py", line 62, in read [2021-06-15T18:26:46.506Z] data = self.__fp.read(amt) [2021-06-15T18:26:46.506Z] File "/usr/lib64/python3.6/http/client.py", line 459, in read [2021-06-15T18:26:46.506Z] n = self.readinto(b) [2021-06-15T18:26:46.506Z] File "/usr/lib64/python3.6/http/client.py", line 503, in readinto [2021-06-15T18:26:46.506Z] n = self.fp.readinto(b) [2021-06-15T18:26:46.506Z] File "/usr/lib64/python3.6/socket.py", line 586, in readinto [2021-06-15T18:26:46.506Z] return self._sock.recv_into(b) [2021-06-15T18:26:46.506Z] File "/usr/lib64/python3.6/ssl.py", line 971, in recv_into [2021-06-15T18:26:46.506Z] return self.read(nbytes, buffer) [2021-06-15T18:26:46.506Z] File "/usr/lib64/python3.6/ssl.py", line 833, in read [2021-06-15T18:26:46.506Z] return self._sslobj.read(len, buffer) [2021-06-15T18:26:46.506Z] File "/usr/lib64/python3.6/ssl.py", line 590, in read [2021-06-15T18:26:46.506Z] v = self._sslobj.read(len, buffer) [2021-06-15T18:26:46.506Z] ConnectionResetError: [Errno 104] Connection reset by peer [2021-06-15T18:26:46.507Z] [2021-06-15T18:26:46.507Z] During handling of the above exception, another exception occurred: [2021-06-15T18:26:46.507Z] [2021-06-15T18:26:46.507Z] Traceback (most recent call last): [2021-06-15T18:26:46.507Z] File "/tmp/venv-wNoD/lib64/python3.6/site-packages/pip/_internal/cli/base_command.py", line 180, in _main [2021-06-15T18:26:46.507Z] status = self.run(options, args) [2021-06-15T18:26:46.507Z] File "/tmp/venv-wNoD/lib64/python3.6/site-packages/pip/_internal/cli/req_command.py", line 204, in wrapper [2021-06-15T18:26:46.507Z] return func(self, options, args) [2021-06-15T18:26:46.507Z] File "/tmp/venv-wNoD/lib64/python3.6/site-packages/pip/_internal/commands/install.py", line 319, in run [2021-06-15T18:26:46.507Z] reqs, check_supported_wheels=not options.target_dir [2021-06-15T18:26:46.507Z] File "/tmp/venv-wNoD/lib64/python3.6/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 128, in resolve [2021-06-15T18:26:46.507Z] requirements, max_rounds=try_to_avoid_resolution_too_deep [2021-06-15T18:26:46.507Z] File "/tmp/venv-wNoD/lib64/python3.6/site-packages/pip/_vendor/resolvelib/resolvers.py", line 473, in resolve [2021-06-15T18:26:46.507Z] state = resolution.resolve(requirements, max_rounds=max_rounds) [2021-06-15T18:26:46.507Z] File "/tmp/venv-wNoD/lib64/python3.6/site-packages/pip/_vendor/resolvelib/resolvers.py", line 367, in resolve [2021-06-15T18:26:46.507Z] failure_causes = self._attempt_to_pin_criterion(name) [2021-06-15T18:26:46.507Z] File "/tmp/venv-wNoD/lib64/python3.6/site-packages/pip/_vendor/resolvelib/resolvers.py", line 213, in _attempt_to_pin_criterion [2021-06-15T18:26:46.507Z] criteria = self._get_criteria_to_update(candidate) [2021-06-15T18:26:46.507Z] File "/tmp/venv-wNoD/lib64/python3.6/site-packages/pip/_vendor/resolvelib/resolvers.py", line 203, in _get_criteria_to_update [2021-06-15T18:26:46.507Z] name, crit = self._merge_into_criterion(r, parent=candidate) [2021-06-15T18:26:46.507Z] File "/tmp/venv-wNoD/lib64/python3.6/site-packages/pip/_vendor/resolvelib/resolvers.py", line 172, in _merge_into_criterion [2021-06-15T18:26:46.507Z] if not criterion.candidates: [2021-06-15T18:26:46.507Z] File "/tmp/venv-wNoD/lib64/python3.6/site-packages/pip/_vendor/resolvelib/structs.py", line 139, in __bool__ [2021-06-15T18:26:46.507Z] return bool(self._sequence) [2021-06-15T18:26:46.507Z] File "/tmp/venv-wNoD/lib64/python3.6/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in __bool__ [2021-06-15T18:26:46.507Z] return any(self) [2021-06-15T18:26:46.507Z] File "/tmp/venv-wNoD/lib64/python3.6/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 129, in [2021-06-15T18:26:46.507Z] return (c for c in iterator if id(c) not in self._incompatible_ids) [2021-06-15T18:26:46.507Z] File "/tmp/venv-wNoD/lib64/python3.6/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 33, in _iter_built [2021-06-15T18:26:46.507Z] candidate = func() [2021-06-15T18:26:46.507Z] File "/tmp/venv-wNoD/lib64/python3.6/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 205, in _make_candidate_from_link [2021-06-15T18:26:46.507Z] version=version, [2021-06-15T18:26:46.507Z] File "/tmp/venv-wNoD/lib64/python3.6/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 312, in __init__ [2021-06-15T18:26:46.507Z] version=version, [2021-06-15T18:26:46.507Z] File "/tmp/venv-wNoD/lib64/python3.6/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 151, in __init__ [2021-06-15T18:26:46.507Z] self.dist = self._prepare() [2021-06-15T18:26:46.507Z] File "/tmp/venv-wNoD/lib64/python3.6/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 234, in _prepare [2021-06-15T18:26:46.507Z] dist = self._prepare_distribution() [2021-06-15T18:26:46.507Z] File "/tmp/venv-wNoD/lib64/python3.6/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 318, in _prepare_distribution [2021-06-15T18:26:46.507Z] self._ireq, parallel_builds=True [2021-06-15T18:26:46.507Z] File "/tmp/venv-wNoD/lib64/python3.6/site-packages/pip/_internal/operations/prepare.py", line 508, in prepare_linked_requirement [2021-06-15T18:26:46.507Z] return self._prepare_linked_requirement(req, parallel_builds) [2021-06-15T18:26:46.507Z] File "/tmp/venv-wNoD/lib64/python3.6/site-packages/pip/_internal/operations/prepare.py", line 552, in _prepare_linked_requirement [2021-06-15T18:26:46.507Z] self.download_dir, hashes [2021-06-15T18:26:46.507Z] File "/tmp/venv-wNoD/lib64/python3.6/site-packages/pip/_internal/operations/prepare.py", line 243, in unpack_url [2021-06-15T18:26:46.507Z] hashes=hashes, [2021-06-15T18:26:46.507Z] File "/tmp/venv-wNoD/lib64/python3.6/site-packages/pip/_internal/operations/prepare.py", line 102, in get_http_url [2021-06-15T18:26:46.507Z] from_path, content_type = download(link, temp_dir.path) [2021-06-15T18:26:46.507Z] File "/tmp/venv-wNoD/lib64/python3.6/site-packages/pip/_internal/network/download.py", line 157, in __call__ [2021-06-15T18:26:46.507Z] for chunk in chunks: [2021-06-15T18:26:46.507Z] File "/tmp/venv-wNoD/lib64/python3.6/site-packages/pip/_internal/network/utils.py", line 86, in response_chunks [2021-06-15T18:26:46.507Z] decode_content=False, [2021-06-15T18:26:46.507Z] File "/tmp/venv-wNoD/lib64/python3.6/site-packages/pip/_vendor/urllib3/response.py", line 576, in stream [2021-06-15T18:26:46.507Z] data = self.read(amt=amt, decode_content=decode_content) [2021-06-15T18:26:46.507Z] File "/tmp/venv-wNoD/lib64/python3.6/site-packages/pip/_vendor/urllib3/response.py", line 541, in read [2021-06-15T18:26:46.507Z] raise IncompleteRead(self._fp_bytes_read, self.length_remaining) [2021-06-15T18:26:46.507Z] File "/usr/lib64/python3.6/contextlib.py", line 99, in __exit__ [2021-06-15T18:26:46.507Z] self.gen.throw(type, value, traceback) [2021-06-15T18:26:46.507Z] File "/tmp/venv-wNoD/lib64/python3.6/site-packages/pip/_vendor/urllib3/response.py", line 455, in _error_catcher [2021-06-15T18:26:46.507Z] raise ProtocolError("Connection broken: %r" % e, e) [2021-06-15T18:26:46.507Z] pip._vendor.urllib3.exceptions.ProtocolError: ("Connection broken: ConnectionResetError(104, 'Connection reset by peer')", ConnectionResetError(104, 'Connection reset by peer')) Error when executing always post condition: hudson.AbortException: script returned exit code 1 at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.handleExit(DurableTaskStep.java:659) at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.check(DurableTaskStep.java:605) at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.run(DurableTaskStep.java:549) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-15T18:26:46.770Z] Failed in branch amd64 [2021-06-15T18:26:47.315Z] Merging remotes/origin/master commit d07bca608e99190f2a843fee86b469a806ac6110 into PR head commit c7e4593b2a32525ca6f78364afe587c2e7251fc8 [2021-06-15T18:26:46.573Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-06-15T18:26:46.588Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-15T18:26:46.617Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-06-15T18:26:46.657Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-15T18:26:46.658Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-15T18:26:46.671Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/897/head:refs/remotes/origin/PR-897 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-15T18:26:47.347Z] > git config core.sparsecheckout # timeout=10 [2021-06-15T18:26:47.364Z] > git checkout -f c7e4593b2a32525ca6f78364afe587c2e7251fc8 # timeout=10 [2021-06-15T18:26:50.716Z] Merge succeeded, producing c7e4593b2a32525ca6f78364afe587c2e7251fc8 [2021-06-15T18:26:50.716Z] Checking out Revision c7e4593b2a32525ca6f78364afe587c2e7251fc8 (PR-897) [2021-06-15T18:26:50.641Z] > git remote # timeout=10 [2021-06-15T18:26:50.660Z] > git config --get remote.origin.url # timeout=10 [2021-06-15T18:26:50.672Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-15T18:26:50.683Z] > git merge d07bca608e99190f2a843fee86b469a806ac6110 # timeout=10 [2021-06-15T18:26:50.703Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-15T18:26:50.726Z] > git config core.sparsecheckout # timeout=10 [2021-06-15T18:26:50.742Z] > git checkout -f c7e4593b2a32525ca6f78364afe587c2e7251fc8 # timeout=10 [2021-06-15T18:26:55.000Z] Commit message: "feat(sdk): Use Default Topic Formatting for Triggers" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-15T18:26:56.357Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-15T18:26:56.773Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-15T18:26:57.116Z] + sudo service docker restart [2021-06-15T18:26:57.116Z] + true [Pipeline] unstash [Pipeline] echo [2021-06-15T18:27:15.693Z] ========================================================= [2021-06-15T18:27:15.693Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-15T18:27:15.693Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-15T18:27:16.063Z] + 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-15T18:27:17.045Z] Sending build context to Docker daemon 19.86MB [2021-06-15T18:27:17.320Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-15T18:27:17.320Z] Step 2/8 : FROM ${BASE} [2021-06-15T18:27:17.596Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-15T18:27:17.596Z] 595b0fe564bb: Pulling fs layer [2021-06-15T18:27:17.596Z] 3088b5b3c5c0: Pulling fs layer [2021-06-15T18:27:17.596Z] 5b7225fbf94c: Pulling fs layer [2021-06-15T18:27:17.596Z] ba82ee9f976e: Pulling fs layer [2021-06-15T18:27:17.596Z] 506bd15cee9f: Pulling fs layer [2021-06-15T18:27:17.596Z] 75a0a4a0db45: Pulling fs layer [2021-06-15T18:27:17.596Z] 618dc40b7e24: Pulling fs layer [2021-06-15T18:27:17.596Z] ba82ee9f976e: Waiting [2021-06-15T18:27:17.596Z] 506bd15cee9f: Waiting [2021-06-15T18:27:17.596Z] 75a0a4a0db45: Waiting [2021-06-15T18:27:17.596Z] 618dc40b7e24: Waiting [2021-06-15T18:27:17.596Z] 5b7225fbf94c: Verifying Checksum [2021-06-15T18:27:17.596Z] 5b7225fbf94c: Download complete [2021-06-15T18:27:17.596Z] 3088b5b3c5c0: Verifying Checksum [2021-06-15T18:27:17.596Z] 3088b5b3c5c0: Download complete [2021-06-15T18:27:17.875Z] 506bd15cee9f: Download complete [2021-06-15T18:27:17.876Z] 75a0a4a0db45: Verifying Checksum [2021-06-15T18:27:17.876Z] 75a0a4a0db45: Download complete [2021-06-15T18:27:17.876Z] 595b0fe564bb: Verifying Checksum [2021-06-15T18:27:17.876Z] 595b0fe564bb: Download complete [2021-06-15T18:27:18.488Z] 595b0fe564bb: Pull complete [2021-06-15T18:27:19.489Z] 3088b5b3c5c0: Pull complete [2021-06-15T18:27:19.768Z] 5b7225fbf94c: Pull complete [2021-06-15T18:27:20.370Z] 618dc40b7e24: Verifying Checksum [2021-06-15T18:27:20.370Z] 618dc40b7e24: Download complete [2021-06-15T18:27:20.966Z] ba82ee9f976e: Verifying Checksum [2021-06-15T18:27:20.966Z] ba82ee9f976e: Download complete [2021-06-15T18:27:31.134Z] ba82ee9f976e: Pull complete [2021-06-15T18:27:31.408Z] 506bd15cee9f: Pull complete [2021-06-15T18:27:32.017Z] 75a0a4a0db45: Pull complete [2021-06-15T18:27:35.420Z] 618dc40b7e24: Pull complete [2021-06-15T18:27:35.420Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-15T18:27:35.420Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-15T18:27:35.420Z] ---> a36622ca3599 [2021-06-15T18:27:35.420Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-06-15T18:27:35.696Z] 20.10.0: Pulling from library/docker [2021-06-15T18:27:35.696Z] a3cc7d3b244e: Pulling fs layer [2021-06-15T18:27:35.696Z] 02a3295e0d61: Pulling fs layer [2021-06-15T18:27:35.696Z] 0f4f2e6d8100: Pulling fs layer [2021-06-15T18:27:35.696Z] 330b718f631f: Pulling fs layer [2021-06-15T18:27:35.696Z] a93816041522: Pulling fs layer [2021-06-15T18:27:35.696Z] bdb6da89ff94: Pulling fs layer [2021-06-15T18:27:35.696Z] 2a70c0c122f4: Pulling fs layer [2021-06-15T18:27:35.696Z] a93816041522: Waiting [2021-06-15T18:27:35.696Z] bdb6da89ff94: Waiting [2021-06-15T18:27:35.696Z] 2a70c0c122f4: Waiting [2021-06-15T18:27:35.696Z] 330b718f631f: Waiting [2021-06-15T18:27:35.696Z] 0f4f2e6d8100: Download complete [2021-06-15T18:27:35.974Z] 02a3295e0d61: Download complete [2021-06-15T18:27:35.974Z] a3cc7d3b244e: Download complete [2021-06-15T18:27:35.974Z] a93816041522: Verifying Checksum [2021-06-15T18:27:35.974Z] a93816041522: Download complete [2021-06-15T18:27:35.974Z] 2a70c0c122f4: Verifying Checksum [2021-06-15T18:27:35.974Z] 2a70c0c122f4: Download complete [2021-06-15T18:27:35.974Z] bdb6da89ff94: Verifying Checksum [2021-06-15T18:27:35.974Z] bdb6da89ff94: Download complete [2021-06-15T18:27:36.587Z] a3cc7d3b244e: Pull complete [2021-06-15T18:27:37.571Z] 02a3295e0d61: Pull complete [2021-06-15T18:27:37.571Z] 330b718f631f: Verifying Checksum [2021-06-15T18:27:37.571Z] 330b718f631f: Download complete [2021-06-15T18:27:37.848Z] 0f4f2e6d8100: Pull complete [2021-06-15T18:27:42.162Z] 330b718f631f: Pull complete [2021-06-15T18:27:42.162Z] a93816041522: Pull complete [2021-06-15T18:27:42.162Z] bdb6da89ff94: Pull complete [2021-06-15T18:27:42.763Z] 2a70c0c122f4: Pull complete [2021-06-15T18:27:42.763Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-06-15T18:27:42.763Z] Status: Downloaded newer image for docker:20.10.0 [2021-06-15T18:27:48.159Z] ---> 3eee9a7a27a1 [2021-06-15T18:27:48.159Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-15T18:27:48.159Z] ---> Running in 3ecc1c6a977e [2021-06-15T18:27:48.159Z] Removing intermediate container 3ecc1c6a977e [2021-06-15T18:27:48.159Z] ---> 8969a59a3cd2 [2021-06-15T18:27:48.159Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-06-15T18:27:48.433Z] ---> Running in 7b9c4f656f57 [2021-06-15T18:27:49.867Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-15T18:27:50.841Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-15T18:27:51.434Z] (1/5) Installing libsodium (1.0.18-r0) [2021-06-15T18:27:51.707Z] (2/5) Installing libzmq (4.3.3-r1) [2021-06-15T18:27:51.707Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-06-15T18:27:51.707Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-06-15T18:27:51.983Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-06-15T18:27:51.983Z] Executing busybox-1.32.1-r6.trigger [2021-06-15T18:27:51.983Z] OK: 139 MiB in 45 packages [2021-06-15T18:27:53.419Z] Removing intermediate container 7b9c4f656f57 [2021-06-15T18:27:53.419Z] ---> eabf85f26881 [2021-06-15T18:27:53.419Z] Step 6/8 : WORKDIR /build [2021-06-15T18:27:53.419Z] ---> Running in adc4a4af7adb [2021-06-15T18:27:54.015Z] Removing intermediate container adc4a4af7adb [2021-06-15T18:27:54.015Z] ---> 4bf2fa447f79 [2021-06-15T18:27:54.015Z] Step 7/8 : COPY go.mod . [2021-06-15T18:27:54.611Z] ---> 6375e6762f19 [2021-06-15T18:27:54.611Z] Step 8/8 : RUN go mod download [2021-06-15T18:27:54.891Z] ---> Running in c8ee9acc6516 [2021-06-15T18:28:21.701Z] Removing intermediate container c8ee9acc6516 [2021-06-15T18:28:21.701Z] ---> f5079ebdb54a [2021-06-15T18:28:21.701Z] Successfully built f5079ebdb54a [2021-06-15T18:28:21.701Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-15T18:28:22.052Z] + docker inspect -f . ci-base-image-arm64 [2021-06-15T18:28:22.052Z] . [Pipeline] withDockerContainer [2021-06-15T18:28:22.476Z] prd-ubuntu18.04-docker-arm64-4c-16g-1513 does not seem to be running inside a container [2021-06-15T18:28:22.604Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-15T18:28:24.235Z] $ docker top 9ec2420199e05ebd504acf494f3e1f2b138bb92a847aebe4cca634b6310fb288 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-15T18:28:25.256Z] + go version [2021-06-15T18:28:25.256Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-15T18:28:25.279Z] $ docker stop --time=1 9ec2420199e05ebd504acf494f3e1f2b138bb92a847aebe4cca634b6310fb288 [2021-06-15T18:28:27.118Z] $ docker rm -f 9ec2420199e05ebd504acf494f3e1f2b138bb92a847aebe4cca634b6310fb288 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-15T18:28:27.877Z] + docker inspect -f . ci-base-image-arm64 [2021-06-15T18:28:27.877Z] . [Pipeline] withDockerContainer [2021-06-15T18:28:28.135Z] prd-ubuntu18.04-docker-arm64-4c-16g-1513 does not seem to be running inside a container [2021-06-15T18:28:28.213Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-15T18:28:29.822Z] $ docker top 74e6ad9e439d96ee2302a8de1ec05d3a2f4beef3a29d79dd11db7faa6e5c9b0a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-15T18:28:30.771Z] + go mod tidy [Pipeline] sh [2021-06-15T18:28:32.053Z] + make test [2021-06-15T18:28:32.053Z] make -C ./app-service-template build [2021-06-15T18:28:32.053Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-06-15T18:28:32.053Z] go mod tidy [2021-06-15T18:28:32.654Z] 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-15T18:29:11.717Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-06-15T18:29:11.717Z] make -C ./app-service-template test [2021-06-15T18:29:11.717Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-06-15T18:29:11.717Z] go mod tidy [2021-06-15T18:29:11.717Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-06-15T18:29:38.571Z] ok new-app-service 0.042s coverage: 47.8% of statements [2021-06-15T18:29:38.571Z] ? new-app-service/config [no test files] [2021-06-15T18:29:38.571Z] ok new-app-service/functions 0.042s [2021-06-15T18:29:38.571Z] CGO_ENABLED=1 go vet ./... [2021-06-15T18:30:10.942Z] gofmt -l . [2021-06-15T18:30:10.942Z] [ "`gofmt -l .`" = "" ] [2021-06-15T18:30:10.942Z] ./bin/test-attribution-txt.sh [2021-06-15T18:30:10.942Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-06-15T18:30:10.942Z] go mod tidy [2021-06-15T18:30:10.942Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-06-15T18:30:10.942Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-06-15T18:30:19.260Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.093s coverage: 63.3% of statements [2021-06-15T18:30:19.260Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.085s coverage: 96.5% of statements [2021-06-15T18:30:19.260Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-06-15T18:30:19.260Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.108s coverage: 61.8% of statements [2021-06-15T18:30:19.260Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-06-15T18:30:19.260Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.032s [2021-06-15T18:30:19.260Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.088s coverage: 74.5% of statements [2021-06-15T18:30:19.260Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-06-15T18:30:19.260Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-06-15T18:30:19.260Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-06-15T18:30:19.260Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-06-15T18:30:19.260Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-06-15T18:30:19.260Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-06-15T18:30:19.260Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.022s coverage: 97.1% of statements [2021-06-15T18:30:19.260Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-06-15T18:30:20.258Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.064s coverage: 10.5% of statements [2021-06-15T18:30:27.004Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.818s coverage: 76.1% of statements [2021-06-15T18:30:27.004Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-06-15T18:30:27.004Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.038s coverage: 12.5% of statements [2021-06-15T18:30:27.004Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.090s coverage: 27.3% of statements [2021-06-15T18:30:27.004Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-06-15T18:30:27.004Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-06-15T18:30:27.004Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.050s coverage: 51.4% of statements [2021-06-15T18:30:50.656Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.121s coverage: 78.0% of statements [2021-06-15T18:30:50.656Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.033s coverage: 94.4% of statements [2021-06-15T18:30:50.656Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-15T18:30:56.066Z] gofmt -l . [2021-06-15T18:30:56.066Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-06-15T18:30:56.091Z] $ docker stop --time=1 74e6ad9e439d96ee2302a8de1ec05d3a2f4beef3a29d79dd11db7faa6e5c9b0a [2021-06-15T18:30:58.056Z] $ docker rm -f 74e6ad9e439d96ee2302a8de1ec05d3a2f4beef3a29d79dd11db7faa6e5c9b0a [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-15T18:30:58.916Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-15T18:30:58.938Z] Warning: overwriting stash ‘coverage-report’ [2021-06-15T18:30:59.517Z] 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-15T18:31:00.197Z] ---> job-cost.sh [2021-06-15T18:31:00.197Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-n5SZ [2021-06-15T18:31:39.161Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-15T18:33:00.901Z] lf-activate-venv(): INFO: Adding /tmp/venv-n5SZ/bin to PATH [2021-06-15T18:33:00.901Z] INFO: No Stack... [2021-06-15T18:33:02.333Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-15T18:33:02.604Z] INFO: Archiving Costs [Pipeline] sh [2021-06-15T18:33:02.946Z] + cut -d, -f6 [2021-06-15T18:33:02.946Z] + cat /w/workspace/app-functions-sdk-go/3/archives/cost.csv [Pipeline] lock [2021-06-15T18:33:03.012Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-897-3-stack-cost] [2021-06-15T18:33:03.020Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-897-3-stack-cost] did not exist. Created. [2021-06-15T18:33:03.020Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-897-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-15T18:33:03.378Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-15T18:33:03.572Z] Stashed 1 file(s) [Pipeline] } [2021-06-15T18:33:03.585Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-897-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) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-06-15T18:33:05.482Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-15T18:33:05.834Z] ---> package-listing.sh [2021-06-15T18:33:05.834Z] ++ facter osfamily [2021-06-15T18:33:05.834Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-15T18:33:06.101Z] + OS_FAMILY=redhat [2021-06-15T18:33:06.101Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-897 [2021-06-15T18:33:06.101Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-15T18:33:06.101Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-15T18:33:06.101Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-15T18:33:06.101Z] + PACKAGES=/tmp/packages_start.txt [2021-06-15T18:33:06.101Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-897 ']' [2021-06-15T18:33:06.101Z] + PACKAGES=/tmp/packages_end.txt [2021-06-15T18:33:06.101Z] + case "${OS_FAMILY}" in [2021-06-15T18:33:06.101Z] + sort [2021-06-15T18:33:06.101Z] + rpm -qa [2021-06-15T18:33:06.673Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-15T18:33:06.673Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-15T18:33:06.673Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-15T18:33:06.673Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-897 ']' [2021-06-15T18:33:06.673Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-897/archives/ [2021-06-15T18:33:06.673Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-897/archives/ [Pipeline] echo [2021-06-15T18:33:06.687Z] 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-897/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-15T18:33:06.975Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-15T18:33:07.548Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-15T18:33:07.548Z] [2021-06-15T18:33:07.548Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-15T18:33:07.862Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-15T18:33:07.862Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-15T18:33:07.862Z] df20fa9351a1: Pulling fs layer [2021-06-15T18:33:07.862Z] 36b3adc4ff6f: Pulling fs layer [2021-06-15T18:33:07.862Z] 8ad3a11d3b57: Pulling fs layer [2021-06-15T18:33:07.862Z] 46f8f816bc3b: Pulling fs layer [2021-06-15T18:33:07.862Z] 93b61091891f: Pulling fs layer [2021-06-15T18:33:07.862Z] 93b9cdb0e59b: Pulling fs layer [2021-06-15T18:33:07.862Z] 5e14af77c1be: Pulling fs layer [2021-06-15T18:33:07.862Z] 01666e4c0597: Pulling fs layer [2021-06-15T18:33:07.862Z] aa168da1d23b: Pulling fs layer [2021-06-15T18:33:07.862Z] 46f8f816bc3b: Waiting [2021-06-15T18:33:07.862Z] 93b61091891f: Waiting [2021-06-15T18:33:07.862Z] 5e14af77c1be: Waiting [2021-06-15T18:33:07.862Z] 93b9cdb0e59b: Waiting [2021-06-15T18:33:07.862Z] 01666e4c0597: Waiting [2021-06-15T18:33:07.862Z] aa168da1d23b: Waiting [2021-06-15T18:33:07.862Z] 36b3adc4ff6f: Download complete [2021-06-15T18:33:07.862Z] 46f8f816bc3b: Verifying Checksum [2021-06-15T18:33:07.862Z] 46f8f816bc3b: Download complete [2021-06-15T18:33:08.125Z] df20fa9351a1: Verifying Checksum [2021-06-15T18:33:08.125Z] df20fa9351a1: Download complete [2021-06-15T18:33:08.125Z] 93b9cdb0e59b: Verifying Checksum [2021-06-15T18:33:08.125Z] 93b9cdb0e59b: Download complete [2021-06-15T18:33:08.125Z] 93b61091891f: Verifying Checksum [2021-06-15T18:33:08.125Z] 93b61091891f: Download complete [2021-06-15T18:33:08.125Z] 01666e4c0597: Verifying Checksum [2021-06-15T18:33:08.125Z] 01666e4c0597: Download complete [2021-06-15T18:33:08.125Z] 5e14af77c1be: Verifying Checksum [2021-06-15T18:33:08.125Z] 5e14af77c1be: Download complete [2021-06-15T18:33:08.125Z] 8ad3a11d3b57: Verifying Checksum [2021-06-15T18:33:08.125Z] 8ad3a11d3b57: Download complete [2021-06-15T18:33:08.125Z] df20fa9351a1: Pull complete [2021-06-15T18:33:08.386Z] 36b3adc4ff6f: Pull complete [2021-06-15T18:33:08.972Z] 8ad3a11d3b57: Pull complete [2021-06-15T18:33:08.972Z] 46f8f816bc3b: Pull complete [2021-06-15T18:33:09.231Z] 93b61091891f: Pull complete [2021-06-15T18:33:09.493Z] 93b9cdb0e59b: Pull complete [2021-06-15T18:33:09.493Z] 5e14af77c1be: Pull complete [2021-06-15T18:33:09.758Z] 01666e4c0597: Pull complete [2021-06-15T18:33:09.758Z] aa168da1d23b: Verifying Checksum [2021-06-15T18:33:09.758Z] aa168da1d23b: Download complete [2021-06-15T18:33:13.998Z] aa168da1d23b: Pull complete [2021-06-15T18:33:13.998Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-15T18:33:13.998Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-15T18:33:13.998Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-15T18:33:14.070Z] prd-centos7-docker-4c-2g-1510 does not seem to be running inside a container [2021-06-15T18:33:14.111Z] $ 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-897/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-897 -v /w/workspace/ndry_app-functions-sdk-go_PR-897:/w/workspace/ndry_app-functions-sdk-go_PR-897:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-897@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-897@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-15T18:33:16.115Z] $ docker top afa5522d3201bbad4f3dcbcb52f087dc3d4ecb951891d9dee0b66d5c4f9127bb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-15T18:33:16.492Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-15T18:33:16.792Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-15T18:33:17.088Z] + ls /var/log/sa-host [2021-06-15T18:33:17.088Z] + sadf -c /var/log/sa-host/sa05 [2021-06-15T18:33:17.088Z] file_magic: OK [2021-06-15T18:33:17.088Z] HZ: Using current value: 100 [2021-06-15T18:33:17.088Z] file_header: OK [2021-06-15T18:33:17.088Z] 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-15T18:33:17.088Z] Statistics: [2021-06-15T18:33:17.088Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-15T18:33:17.088Z] File successfully converted to sysstat format version 12.2.1 [2021-06-15T18:33:17.088Z] + sadf -c /var/log/sa-host/sa15 [2021-06-15T18:33:17.088Z] file_magic: OK [2021-06-15T18:33:17.088Z] HZ: Using current value: 100 [2021-06-15T18:33:17.088Z] file_header: OK [2021-06-15T18:33:17.088Z] 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-15T18:33:17.088Z] Statistics: [2021-06-15T18:33:17.088Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-15T18:33:17.088Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-15T18:33:17.280Z] provisioning config files... [2021-06-15T18:33:17.294Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-897@tmp/config3517090742342421911tmp [Pipeline] { [Pipeline] echo [2021-06-15T18:33:17.320Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-15T18:33:17.622Z] ---> create-netrc.sh [Pipeline] } [2021-06-15T18:33:17.640Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-15T18:33:18.028Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-15T18:33:18.041Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-15T18:33:18.340Z] ---> sudo-logs.sh [2021-06-15T18:33:18.340Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-15T18:33:18.383Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-15T18:33:18.691Z] ---> job-cost.sh [2021-06-15T18:33:18.692Z] lf-activate-venv: SKIPPING [2021-06-15T18:33:18.692Z] DEBUG: total: 0.18000000715255737 [2021-06-15T18:33:18.692Z] INFO: Retrieving Stack Cost... [2021-06-15T18:33:19.635Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-15T18:33:19.894Z] INFO: Archiving Costs [Pipeline] echo [2021-06-15T18:33:19.908Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-15T18:33:20.213Z] ---> logs-deploy.sh [2021-06-15T18:33:20.213Z] lf-activate-venv: SKIPPING [2021-06-15T18:33:20.213Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-897/3 [2021-06-15T18:33:20.213Z] INFO: archiving workspace using pattern(s): [2021-06-15T18:33:21.164Z] Archives upload complete. [2021-06-15T18:33:21.164Z] INFO: archiving logs to Nexus