Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 10760e8fca83416f09dd843ec1d7204548aa923f+8989f7cd139b0e9c60392c5a20f0d20cf402d924 (558e941242790e80010e24870a28f1a9c21675e6) 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-ssh2172581411823291061.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8621215264255209076.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-911/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-911/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh471908567630839007.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5814427699832786516.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee 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-911/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-911/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2680791430683742042.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > 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 ‘prd-centos7-docker-4c-2g-915’ is offline Running on prd-centos7-docker-4c-2g-1274 in /w/workspace/ndry_app-functions-sdk-go_PR-911 [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-911 # 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-911@tmp/jenkins-gitclient-ssh5294480613009397704.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 8989f7cd139b0e9c60392c5a20f0d20cf402d924 into PR head commit 10760e8fca83416f09dd843ec1d7204548aa923f > 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-911@tmp/jenkins-gitclient-ssh3450065392997848174.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/911/head:refs/remotes/origin/PR-911 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 10760e8fca83416f09dd843ec1d7204548aa923f # 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-911@tmp/jenkins-gitclient-ssh1851017431512439583.key > git merge 8989f7cd139b0e9c60392c5a20f0d20cf402d924 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 Merge succeeded, producing 874835eca79de0d24443625c0e24ff9acd842c28 Checking out Revision 874835eca79de0d24443625c0e24ff9acd842c28 (PR-911) > git config core.sparsecheckout # timeout=10 > git checkout -f 874835eca79de0d24443625c0e24ff9acd842c28 # timeout=10 Commit message: "Merge commit '8989f7cd139b0e9c60392c5a20f0d20cf402d924' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 5ec4d7920a85f645fe87ed05e957b285e9449c12 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-24T19:47:18.132Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-24T19:47:18.221Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-24T19:47:18.250Z] ========================================================= [2021-06-24T19:47:18.250Z] EdgeX Global Pipelines Version Info [2021-06-24T19:47:18.250Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-24T19:47:23.523Z] ------------------- [2021-06-24T19:47:23.524Z] stable info: [2021-06-24T19:47:23.524Z] ------------------- [2021-06-24T19:47:23.524Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-24T19:47:23.524Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-24T19:47:23.524Z] Message: update stable to v1.0.195 [2021-06-24T19:47:24.105Z] ------------------- [2021-06-24T19:47:24.105Z] experimental info: [2021-06-24T19:47:24.105Z] ------------------- [2021-06-24T19:47:24.105Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-24T19:47:24.105Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-24T19:47:24.105Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-24T19:47:24.303Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-06-24T19:47:24.327Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-06-24T19:47:24.352Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-24T19:47:24.377Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-24T19:47:24.402Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-24T19:47:24.428Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-24T19:47:24.454Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-24T19:47:24.479Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-24T19:47:24.504Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-24T19:47:24.530Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-24T19:47:24.555Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-24T19:47:24.581Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2021-06-24T19:47:24.605Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-24T19:47:24.631Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-24T19:47:24.658Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-06-24T19:47:24.682Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-24T19:47:24.709Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-24T19:47:24.735Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-24T19:47:24.761Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-24T19:47:24.786Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-24T19:47:24.810Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-24T19:47:24.835Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-06-24T19:47:24.860Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-24T19:47:24.886Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-24T19:47:24.910Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-06-24T19:47:24.936Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-24T19:47:24.960Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-911 [Pipeline] echo [2021-06-24T19:47:24.984Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-911 [Pipeline] echo [2021-06-24T19:47:25.007Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-911 [Pipeline] echo [2021-06-24T19:47:25.032Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 874835eca79de0d24443625c0e24ff9acd842c28 [Pipeline] echo [2021-06-24T19:47:25.084Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 874835e [Pipeline] echo [2021-06-24T19:47:25.109Z] [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-24T19:47:25.584Z] + git log --format=format:%s -1 874835eca79de0d24443625c0e24ff9acd842c28 [Pipeline] echo [2021-06-24T19:47:25.628Z] GIT_COMMIT: 874835eca79de0d24443625c0e24ff9acd842c28, Commit Message: Merge commit '8989f7cd139b0e9c60392c5a20f0d20cf402d924' into HEAD [Pipeline] echo [2021-06-24T19:47:25.643Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-24T19:47:26.276Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-24T19:47:26.539Z] [2021-06-24T19:47:26.539Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-24T19:47:26.856Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-24T19:47:27.119Z] latest: Pulling from edgex-devops/git-semver [2021-06-24T19:47:27.119Z] 31603596830f: Pulling fs layer [2021-06-24T19:47:27.119Z] 54011a49482f: Pulling fs layer [2021-06-24T19:47:27.119Z] a6820b24f6d8: Pulling fs layer [2021-06-24T19:47:27.119Z] f581987b2513: Pulling fs layer [2021-06-24T19:47:27.119Z] f581987b2513: Waiting [2021-06-24T19:47:27.119Z] 54011a49482f: Verifying Checksum [2021-06-24T19:47:27.119Z] 54011a49482f: Download complete [2021-06-24T19:47:27.119Z] 31603596830f: Verifying Checksum [2021-06-24T19:47:27.119Z] 31603596830f: Download complete [2021-06-24T19:47:27.119Z] f581987b2513: Verifying Checksum [2021-06-24T19:47:27.119Z] f581987b2513: Download complete [2021-06-24T19:47:27.391Z] a6820b24f6d8: Verifying Checksum [2021-06-24T19:47:27.391Z] a6820b24f6d8: Download complete [2021-06-24T19:47:27.391Z] 31603596830f: Pull complete [2021-06-24T19:47:27.391Z] 54011a49482f: Pull complete [2021-06-24T19:47:28.344Z] a6820b24f6d8: Pull complete [2021-06-24T19:47:28.344Z] f581987b2513: Pull complete [2021-06-24T19:47:28.344Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-24T19:47:28.344Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-24T19:47:28.344Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-24T19:47:28.419Z] prd-centos7-docker-4c-2g-1274 does not seem to be running inside a container [2021-06-24T19:47:28.477Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-911 -v /w/workspace/ndry_app-functions-sdk-go_PR-911:/w/workspace/ndry_app-functions-sdk-go_PR-911:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-911@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-911@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-24T19:47:29.608Z] $ docker top a9ad9222d253707e58f6e5e9f25b7ca140d00a6e79892c5152cc57adfe26e0cc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-24T19:47:29.744Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-24T19:47:29.744Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-24T19:47:29.859Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-24T19:47:29.859Z] $ docker exec a9ad9222d253707e58f6e5e9f25b7ca140d00a6e79892c5152cc57adfe26e0cc ssh-agent [2021-06-24T19:47:29.966Z] SSH_AUTH_SOCK=/tmp/ssh-FMN7WZScbzMl/agent.15 [2021-06-24T19:47:29.966Z] SSH_AGENT_PID=21 [2021-06-24T19:47:29.974Z] Running ssh-add (command line suppressed) [2021-06-24T19:47:30.075Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-911@tmp/private_key_2634331710815232211.key (/w/workspace/ndry_app-functions-sdk-go_PR-911@tmp/private_key_2634331710815232211.key) [2021-06-24T19:47:30.098Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-24T19:47:32.729Z] + git tag --points-at HEAD [Pipeline] } [2021-06-24T19:47:32.742Z] $ docker exec --env ******** --env ******** a9ad9222d253707e58f6e5e9f25b7ca140d00a6e79892c5152cc57adfe26e0cc ssh-agent -k [2021-06-24T19:47:32.834Z] unset SSH_AUTH_SOCK; [2021-06-24T19:47:32.835Z] unset SSH_AGENT_PID; [2021-06-24T19:47:32.835Z] echo Agent pid 21 killed; [2021-06-24T19:47:32.849Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-24T19:47:32.894Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-24T19:47:32.894Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-24T19:47:33.003Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-24T19:47:33.003Z] $ docker exec a9ad9222d253707e58f6e5e9f25b7ca140d00a6e79892c5152cc57adfe26e0cc ssh-agent [2021-06-24T19:47:33.123Z] SSH_AUTH_SOCK=/tmp/ssh-bJgwKxEzweU8/agent.54 [2021-06-24T19:47:33.123Z] SSH_AGENT_PID=60 [2021-06-24T19:47:33.129Z] Running ssh-add (command line suppressed) [2021-06-24T19:47:33.230Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-911@tmp/private_key_1439604211043343344.key (/w/workspace/ndry_app-functions-sdk-go_PR-911@tmp/private_key_1439604211043343344.key) [2021-06-24T19:47:33.250Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-24T19:47:33.556Z] + git semver init [2021-06-24T19:47:33.556Z] # -> Open(): unable to determine branch for HEAD [2021-06-24T19:47:33.556Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-911/.git [2021-06-24T19:47:33.556Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-911 [2021-06-24T19:47:33.556Z] # $SEMVER_REMOTE_NAME = origin [2021-06-24T19:47:33.556Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-24T19:47:33.556Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-24T19:47:33.556Z] # $SEMVER_BRANCH = PR-911 [2021-06-24T19:47:33.556Z] # $SEMVER_TEMP = /tmp/semver-171394988 [2021-06-24T19:47:33.556Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-06-24T19:47:35.493Z] # '/tmp/semver-171394988' -> '/w/workspace/ndry_app-functions-sdk-go_PR-911/.semver' [2021-06-24T19:47:35.493Z] # -> Force: false [2021-06-24T19:47:35.493Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-911/.semver [Pipeline] } [2021-06-24T19:47:35.515Z] $ docker exec --env ******** --env ******** a9ad9222d253707e58f6e5e9f25b7ca140d00a6e79892c5152cc57adfe26e0cc ssh-agent -k [2021-06-24T19:47:35.614Z] unset SSH_AUTH_SOCK; [2021-06-24T19:47:35.615Z] unset SSH_AGENT_PID; [2021-06-24T19:47:35.615Z] echo Agent pid 60 killed; [2021-06-24T19:47:35.631Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-24T19:47:35.990Z] + git semver [Pipeline] } [2021-06-24T19:47:36.002Z] $ docker stop --time=1 a9ad9222d253707e58f6e5e9f25b7ca140d00a6e79892c5152cc57adfe26e0cc [2021-06-24T19:47:37.368Z] $ docker rm -f a9ad9222d253707e58f6e5e9f25b7ca140d00a6e79892c5152cc57adfe26e0cc [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-24T19:47:37.743Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-24T19:47:38.016Z] Stashed 1 file(s) [Pipeline] echo [2021-06-24T19:47:38.020Z] [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-24T19:47:53.253Z] Still waiting to schedule task [2021-06-24T19:47:53.254Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-24T19:47:53.256Z] Still waiting to schedule task [2021-06-24T19:47:53.256Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1218’ is offline [2021-06-24T19:49:58.290Z] Running on prd-centos7-docker-4c-2g-1277 in /w/workspace/ndry_app-functions-sdk-go_PR-911 [Pipeline] { [Pipeline] ws [2021-06-24T19:49:58.312Z] Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-06-24T19:49:58.415Z] The recommended git tool is: git [2021-06-24T19:50:03.141Z] using credential edgex-jenkins-ssh [2021-06-24T19:50:03.159Z] Cloning the remote Git repository [2021-06-24T19:50:03.180Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-24T19:50:03.248Z] > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 [2021-06-24T19:50:03.280Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-24T19:50:03.280Z] > git --version # timeout=10 [2021-06-24T19:50:03.291Z] > git --version # 'git version 2.24.4' [2021-06-24T19:50:03.291Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-24T19:50:03.321Z] [INFO] Currently running in a labeled security context [2021-06-24T19:50:03.321Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-24T19:50:03.322Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/3@tmp/jenkins-gitclient-ssh5568203324055054871.key [2021-06-24T19:50:03.334Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-24T19:50:06.768Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-06-24T19:50:06.776Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-24T19:50:06.789Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-06-24T19:50:06.805Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-24T19:50:06.805Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-24T19:50:06.806Z] [INFO] Currently running in a labeled security context [2021-06-24T19:50:06.807Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-24T19:50:06.807Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/3@tmp/jenkins-gitclient-ssh617287706202819131.key [2021-06-24T19:50:06.813Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/911/head:refs/remotes/origin/PR-911 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-24T19:50:07.202Z] Merging remotes/origin/master commit 8989f7cd139b0e9c60392c5a20f0d20cf402d924 into PR head commit 10760e8fca83416f09dd843ec1d7204548aa923f [2021-06-24T19:50:07.328Z] Merge succeeded, producing 7c3cb0e91ec86bc0e60b60b37e7fafd1d26ec40b [2021-06-24T19:50:07.329Z] Checking out Revision 7c3cb0e91ec86bc0e60b60b37e7fafd1d26ec40b (PR-911) [2021-06-24T19:50:07.206Z] > git config core.sparsecheckout # timeout=10 [2021-06-24T19:50:07.221Z] > git checkout -f 10760e8fca83416f09dd843ec1d7204548aa923f # timeout=10 [2021-06-24T19:50:07.260Z] > git remote # timeout=10 [2021-06-24T19:50:07.271Z] > git config --get remote.origin.url # timeout=10 [2021-06-24T19:50:07.279Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-24T19:50:07.280Z] [INFO] Currently running in a labeled security context [2021-06-24T19:50:07.280Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-24T19:50:07.280Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/3@tmp/jenkins-gitclient-ssh8715938058742027702.key [2021-06-24T19:50:07.289Z] > git merge 8989f7cd139b0e9c60392c5a20f0d20cf402d924 # timeout=10 [2021-06-24T19:50:07.310Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-24T19:50:07.326Z] > git config core.sparsecheckout # timeout=10 [2021-06-24T19:50:07.341Z] > git checkout -f 7c3cb0e91ec86bc0e60b60b37e7fafd1d26ec40b # timeout=10 [2021-06-24T19:50:13.674Z] Commit message: "Merge commit '8989f7cd139b0e9c60392c5a20f0d20cf402d924' into HEAD" [2021-06-24T19:50:13.694Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-24T19:50:13.673Z] > git rev-list --no-walk 5ec4d7920a85f645fe87ed05e957b285e9449c12 # timeout=10 [2021-06-24T19:50:14.846Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-24T19:50:15.176Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-24T19:50:15.476Z] + true [2021-06-24T19:50:15.476Z] + sudo service docker restart [2021-06-24T19:50:15.476Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-06-24T19:50:33.777Z] ========================================================= [2021-06-24T19:50:33.777Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-24T19:50:33.777Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-24T19:50:34.093Z] + 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-24T19:50:34.355Z] Sending build context to Docker daemon 19.88MB [2021-06-24T19:50:34.355Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-24T19:50:34.355Z] Step 2/8 : FROM ${BASE} [2021-06-24T19:50:34.355Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-24T19:50:34.355Z] 540db60ca938: Pulling fs layer [2021-06-24T19:50:34.355Z] adcc1eea9eea: Pulling fs layer [2021-06-24T19:50:34.355Z] 4c4ab2625f07: Pulling fs layer [2021-06-24T19:50:34.355Z] 0510c868ecb4: Pulling fs layer [2021-06-24T19:50:34.355Z] afea3b2eda06: Pulling fs layer [2021-06-24T19:50:34.355Z] 7809a108b3ef: Pulling fs layer [2021-06-24T19:50:34.355Z] f706445af74f: Pulling fs layer [2021-06-24T19:50:34.355Z] afea3b2eda06: Waiting [2021-06-24T19:50:34.355Z] 7809a108b3ef: Waiting [2021-06-24T19:50:34.355Z] f706445af74f: Waiting [2021-06-24T19:50:34.355Z] 0510c868ecb4: Waiting [2021-06-24T19:50:34.355Z] 4c4ab2625f07: Verifying Checksum [2021-06-24T19:50:34.355Z] 4c4ab2625f07: Download complete [2021-06-24T19:50:34.620Z] adcc1eea9eea: Verifying Checksum [2021-06-24T19:50:34.620Z] adcc1eea9eea: Download complete [2021-06-24T19:50:34.620Z] afea3b2eda06: Verifying Checksum [2021-06-24T19:50:34.620Z] afea3b2eda06: Download complete [2021-06-24T19:50:34.620Z] 7809a108b3ef: Verifying Checksum [2021-06-24T19:50:34.620Z] 7809a108b3ef: Download complete [2021-06-24T19:50:34.620Z] 540db60ca938: Verifying Checksum [2021-06-24T19:50:34.620Z] 540db60ca938: Download complete [2021-06-24T19:50:34.620Z] 540db60ca938: Pull complete [2021-06-24T19:50:34.881Z] adcc1eea9eea: Pull complete [2021-06-24T19:50:34.881Z] 4c4ab2625f07: Pull complete [2021-06-24T19:50:36.274Z] f706445af74f: Verifying Checksum [2021-06-24T19:50:36.274Z] f706445af74f: Download complete [2021-06-24T19:50:36.538Z] 0510c868ecb4: Verifying Checksum [2021-06-24T19:50:36.538Z] 0510c868ecb4: Download complete [2021-06-24T19:50:39.884Z] 0510c868ecb4: Pull complete [2021-06-24T19:50:39.884Z] afea3b2eda06: Pull complete [2021-06-24T19:50:39.884Z] 7809a108b3ef: Pull complete [2021-06-24T19:50:41.295Z] f706445af74f: Pull complete [2021-06-24T19:50:41.295Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-24T19:50:41.295Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-24T19:50:41.295Z] ---> b068be0155e3 [2021-06-24T19:50:41.295Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-06-24T19:50:41.557Z] 20.10.0: Pulling from library/docker [2021-06-24T19:50:41.557Z] 05e7bc50f07f: Pulling fs layer [2021-06-24T19:50:41.557Z] 6db28d0fdbf6: Pulling fs layer [2021-06-24T19:50:41.557Z] 292df0bc6bf3: Pulling fs layer [2021-06-24T19:50:41.557Z] 2e060f4bd70b: Pulling fs layer [2021-06-24T19:50:41.557Z] 80e8d568a223: Pulling fs layer [2021-06-24T19:50:41.557Z] 8dc6ef1a942a: Pulling fs layer [2021-06-24T19:50:41.557Z] 2312dd95470a: Pulling fs layer [2021-06-24T19:50:41.557Z] 2e060f4bd70b: Waiting [2021-06-24T19:50:41.557Z] 80e8d568a223: Waiting [2021-06-24T19:50:41.557Z] 8dc6ef1a942a: Waiting [2021-06-24T19:50:41.557Z] 2312dd95470a: Waiting [2021-06-24T19:50:41.557Z] 292df0bc6bf3: Verifying Checksum [2021-06-24T19:50:41.557Z] 292df0bc6bf3: Download complete [2021-06-24T19:50:41.557Z] 6db28d0fdbf6: Verifying Checksum [2021-06-24T19:50:41.557Z] 6db28d0fdbf6: Download complete [2021-06-24T19:50:41.557Z] 05e7bc50f07f: Verifying Checksum [2021-06-24T19:50:41.557Z] 05e7bc50f07f: Download complete [2021-06-24T19:50:41.557Z] 8dc6ef1a942a: Verifying Checksum [2021-06-24T19:50:41.557Z] 8dc6ef1a942a: Download complete [2021-06-24T19:50:41.557Z] 80e8d568a223: Verifying Checksum [2021-06-24T19:50:41.557Z] 80e8d568a223: Download complete [2021-06-24T19:50:41.557Z] 2312dd95470a: Verifying Checksum [2021-06-24T19:50:41.557Z] 2312dd95470a: Download complete [2021-06-24T19:50:41.820Z] 05e7bc50f07f: Pull complete [2021-06-24T19:50:41.820Z] 6db28d0fdbf6: Pull complete [2021-06-24T19:50:42.083Z] 292df0bc6bf3: Pull complete [2021-06-24T19:50:42.344Z] 2e060f4bd70b: Verifying Checksum [2021-06-24T19:50:42.344Z] 2e060f4bd70b: Download complete [2021-06-24T19:50:47.637Z] 2e060f4bd70b: Pull complete [2021-06-24T19:50:47.637Z] 80e8d568a223: Pull complete [2021-06-24T19:50:47.637Z] 8dc6ef1a942a: Pull complete [2021-06-24T19:50:47.637Z] 2312dd95470a: Pull complete [2021-06-24T19:50:47.637Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-06-24T19:50:47.637Z] Status: Downloaded newer image for docker:20.10.0 [2021-06-24T19:50:47.637Z] ---> b84c51c18316 [2021-06-24T19:50:47.637Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-24T19:50:47.637Z] ---> Running in c0038bd9962d [2021-06-24T19:50:47.637Z] Removing intermediate container c0038bd9962d [2021-06-24T19:50:47.637Z] ---> 5ba3428572cc [2021-06-24T19:50:47.637Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-06-24T19:50:47.637Z] ---> Running in bc9595a3b5ed [2021-06-24T19:50:47.902Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-24T19:50:48.847Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-24T19:50:49.426Z] (1/5) Installing libsodium (1.0.18-r0) [2021-06-24T19:50:49.426Z] (2/5) Installing libzmq (4.3.3-r1) [2021-06-24T19:50:49.426Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-06-24T19:50:49.688Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-06-24T19:50:49.688Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-06-24T19:50:49.688Z] Executing busybox-1.32.1-r6.trigger [2021-06-24T19:50:49.688Z] OK: 150 MiB in 45 packages [2021-06-24T19:50:50.265Z] Removing intermediate container bc9595a3b5ed [2021-06-24T19:50:50.265Z] ---> 50a3d87cba82 [2021-06-24T19:50:50.265Z] Step 6/8 : WORKDIR /build [2021-06-24T19:50:50.265Z] ---> Running in d01c3a5e74e6 [2021-06-24T19:50:50.265Z] Removing intermediate container d01c3a5e74e6 [2021-06-24T19:50:50.265Z] ---> f1b9deaba614 [2021-06-24T19:50:50.265Z] Step 7/8 : COPY go.mod . [2021-06-24T19:50:50.265Z] ---> fe4fe255818e [2021-06-24T19:50:50.265Z] Step 8/8 : RUN go mod download [2021-06-24T19:50:50.533Z] ---> Running in 1b74bcd10715 [2021-06-24T19:51:02.809Z] Removing intermediate container 1b74bcd10715 [2021-06-24T19:51:02.809Z] ---> d802ecfbd2ce [2021-06-24T19:51:02.809Z] Successfully built d802ecfbd2ce [2021-06-24T19:51:02.809Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-24T19:51:03.021Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1278 in /w/workspace/ndry_app-functions-sdk-go_PR-911 [Pipeline] { [Pipeline] ws [2021-06-24T19:51:03.043Z] Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [2021-06-24T19:51:06.024Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-24T19:51:06.024Z] . [Pipeline] checkout [Pipeline] withDockerContainer [2021-06-24T19:51:06.137Z] prd-centos7-docker-4c-2g-1277 does not seem to be running inside a container [2021-06-24T19:51:06.178Z] $ 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 ******** ci-base-image-x86_64 cat [2021-06-24T19:51:06.570Z] The recommended git tool is: git [2021-06-24T19:51:06.604Z] $ docker top e88e863cc6dcf06c5607e881c83a4f43093e419679311370606ac89e2a2bb570 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-24T19:51:06.992Z] + go version [2021-06-24T19:51:06.992Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-24T19:51:07.000Z] $ docker stop --time=1 e88e863cc6dcf06c5607e881c83a4f43093e419679311370606ac89e2a2bb570 [2021-06-24T19:51:08.179Z] $ docker rm -f e88e863cc6dcf06c5607e881c83a4f43093e419679311370606ac89e2a2bb570 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-24T19:51:08.742Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-24T19:51:08.742Z] . [Pipeline] withDockerContainer [2021-06-24T19:51:08.818Z] prd-centos7-docker-4c-2g-1277 does not seem to be running inside a container [2021-06-24T19:51:08.862Z] $ 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 ******** ci-base-image-x86_64 cat [2021-06-24T19:51:09.248Z] $ docker top 8d48947949073a241fdb37d817f61e0c24457544fbfc40c842a4119cc3d048e0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-24T19:51:09.643Z] + go mod tidy [Pipeline] sh [2021-06-24T19:51:10.213Z] + make test [2021-06-24T19:51:10.213Z] make -C ./app-service-template build [2021-06-24T19:51:10.213Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-06-24T19:51:10.213Z] go mod tidy [2021-06-24T19:51:10.488Z] 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-24T19:51:11.640Z] using credential edgex-jenkins-ssh [2021-06-24T19:51:11.662Z] Cloning the remote Git repository [2021-06-24T19:51:11.727Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-24T19:51:11.947Z] > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 [2021-06-24T19:51:12.051Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-24T19:51:12.051Z] > git --version # timeout=10 [2021-06-24T19:51:12.086Z] > git --version # 'git version 2.17.1' [2021-06-24T19:51:12.087Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-24T19:51:12.223Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-24T19:51:15.236Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-06-24T19:51:15.257Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-24T19:51:17.459Z] Merging remotes/origin/master commit 8989f7cd139b0e9c60392c5a20f0d20cf402d924 into PR head commit 10760e8fca83416f09dd843ec1d7204548aa923f [2021-06-24T19:51:17.713Z] Merge succeeded, producing 92805b4a512c7618f7d6fb0fffd1a23cfe864fe9 [2021-06-24T19:51:17.714Z] Checking out Revision 92805b4a512c7618f7d6fb0fffd1a23cfe864fe9 (PR-911) [2021-06-24T19:51:16.893Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-06-24T19:51:16.934Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-24T19:51:16.934Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-24T19:51:16.949Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/911/head:refs/remotes/origin/PR-911 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-24T19:51:17.473Z] > git config core.sparsecheckout # timeout=10 [2021-06-24T19:51:17.487Z] > git checkout -f 10760e8fca83416f09dd843ec1d7204548aa923f # timeout=10 [2021-06-24T19:51:17.580Z] > git remote # timeout=10 [2021-06-24T19:51:17.596Z] > git config --get remote.origin.url # timeout=10 [2021-06-24T19:51:17.611Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-24T19:51:17.621Z] > git merge 8989f7cd139b0e9c60392c5a20f0d20cf402d924 # timeout=10 [2021-06-24T19:51:17.700Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-24T19:51:17.718Z] > git config core.sparsecheckout # timeout=10 [2021-06-24T19:51:17.729Z] > git checkout -f 92805b4a512c7618f7d6fb0fffd1a23cfe864fe9 # timeout=10 [2021-06-24T19:51:20.852Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-06-24T19:51:20.853Z] make -C ./app-service-template test [2021-06-24T19:51:20.853Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-06-24T19:51:20.853Z] go mod tidy [2021-06-24T19:51:20.853Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-06-24T19:51:21.938Z] Commit message: "Merge commit '8989f7cd139b0e9c60392c5a20f0d20cf402d924' into HEAD" [2021-06-24T19:51:21.962Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-24T19:51:21.944Z] > git rev-list --no-walk 5ec4d7920a85f645fe87ed05e957b285e9449c12 # timeout=10 [2021-06-24T19:51:23.351Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-24T19:51:23.754Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-24T19:51:24.102Z] + sudo service+ true [2021-06-24T19:51:24.102Z] docker restart [2021-06-24T19:51:29.055Z] ok new-app-service 0.008s coverage: 47.8% of statements [2021-06-24T19:51:29.055Z] ? new-app-service/config [no test files] [2021-06-24T19:51:29.055Z] ok new-app-service/functions 0.007s [2021-06-24T19:51:29.055Z] CGO_ENABLED=1 go vet ./... [2021-06-24T19:51:35.708Z] gofmt -l . [2021-06-24T19:51:35.708Z] [ "`gofmt -l .`" = "" ] [2021-06-24T19:51:35.708Z] ./bin/test-attribution-txt.sh [2021-06-24T19:51:35.708Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-06-24T19:51:35.708Z] go mod tidy [2021-06-24T19:51:35.708Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-06-24T19:51:35.708Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-06-24T19:51:37.115Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.012s coverage: 63.6% of statements [2021-06-24T19:51:37.115Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.020s coverage: 96.5% of statements [2021-06-24T19:51:37.115Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-06-24T19:51:37.691Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.011s coverage: 61.8% of statements [2021-06-24T19:51:37.691Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-06-24T19:51:37.691Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.005s [2021-06-24T19:51:38.290Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.023s coverage: 74.5% of statements [2021-06-24T19:51:38.290Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-06-24T19:51:38.290Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-06-24T19:51:38.290Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-06-24T19:51:38.290Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-06-24T19:51:38.290Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-06-24T19:51:38.290Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-06-24T19:51:38.290Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.010s coverage: 97.1% of statements [2021-06-24T19:51:38.290Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-06-24T19:51:38.557Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.010s coverage: 10.5% of statements [2021-06-24T19:51:43.714Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.733s coverage: 76.1% of statements [2021-06-24T19:51:43.714Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-06-24T19:51:43.714Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.010s coverage: 12.5% of statements [2021-06-24T19:51:43.714Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.010s coverage: 27.3% of statements [2021-06-24T19:51:43.714Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-06-24T19:51:43.714Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-06-24T19:51:43.714Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.007s coverage: 51.4% of statements [Pipeline] unstash [Pipeline] echo [2021-06-24T19:51:44.000Z] ========================================================= [2021-06-24T19:51:44.000Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-24T19:51:44.000Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-24T19:51:44.351Z] + 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-24T19:51:45.361Z] Sending build context to Docker daemon 19.89MB [2021-06-24T19:51:45.361Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-24T19:51:45.361Z] Step 2/8 : FROM ${BASE} [2021-06-24T19:51:45.965Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-24T19:51:45.965Z] 595b0fe564bb: Pulling fs layer [2021-06-24T19:51:45.965Z] 3088b5b3c5c0: Pulling fs layer [2021-06-24T19:51:45.965Z] 5b7225fbf94c: Pulling fs layer [2021-06-24T19:51:45.965Z] ba82ee9f976e: Pulling fs layer [2021-06-24T19:51:45.965Z] 506bd15cee9f: Pulling fs layer [2021-06-24T19:51:45.965Z] 75a0a4a0db45: Pulling fs layer [2021-06-24T19:51:45.965Z] 618dc40b7e24: Pulling fs layer [2021-06-24T19:51:45.965Z] ba82ee9f976e: Waiting [2021-06-24T19:51:45.965Z] 75a0a4a0db45: Waiting [2021-06-24T19:51:45.965Z] 506bd15cee9f: Waiting [2021-06-24T19:51:45.965Z] 618dc40b7e24: Waiting [2021-06-24T19:51:45.965Z] 5b7225fbf94c: Download complete [2021-06-24T19:51:45.965Z] 3088b5b3c5c0: Download complete [2021-06-24T19:51:45.965Z] 506bd15cee9f: Verifying Checksum [2021-06-24T19:51:45.965Z] 75a0a4a0db45: Verifying Checksum [2021-06-24T19:51:45.965Z] 75a0a4a0db45: Download complete [2021-06-24T19:51:45.965Z] 595b0fe564bb: Verifying Checksum [2021-06-24T19:51:45.965Z] 595b0fe564bb: Download complete [2021-06-24T19:51:46.564Z] 595b0fe564bb: Pull complete [2021-06-24T19:51:47.163Z] 3088b5b3c5c0: Pull complete [2021-06-24T19:51:47.766Z] 5b7225fbf94c: Pull complete [2021-06-24T19:51:48.765Z] 618dc40b7e24: Verifying Checksum [2021-06-24T19:51:48.765Z] 618dc40b7e24: Download complete [2021-06-24T19:51:49.760Z] ba82ee9f976e: Verifying Checksum [2021-06-24T19:52:02.201Z] ba82ee9f976e: Pull complete [2021-06-24T19:52:02.201Z] 506bd15cee9f: Pull complete [2021-06-24T19:52:02.201Z] 75a0a4a0db45: Pull complete [2021-06-24T19:52:04.191Z] 618dc40b7e24: Pull complete [2021-06-24T19:52:04.191Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-24T19:52:04.466Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-24T19:52:04.466Z] ---> a36622ca3599 [2021-06-24T19:52:04.466Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-06-24T19:52:04.466Z] 20.10.0: Pulling from library/docker [2021-06-24T19:52:04.466Z] a3cc7d3b244e: Pulling fs layer [2021-06-24T19:52:04.466Z] 02a3295e0d61: Pulling fs layer [2021-06-24T19:52:04.466Z] 0f4f2e6d8100: Pulling fs layer [2021-06-24T19:52:04.466Z] 330b718f631f: Pulling fs layer [2021-06-24T19:52:04.466Z] a93816041522: Pulling fs layer [2021-06-24T19:52:04.466Z] bdb6da89ff94: Pulling fs layer [2021-06-24T19:52:04.466Z] 2a70c0c122f4: Pulling fs layer [2021-06-24T19:52:04.741Z] a93816041522: Waiting [2021-06-24T19:52:04.741Z] bdb6da89ff94: Waiting [2021-06-24T19:52:04.741Z] 330b718f631f: Waiting [2021-06-24T19:52:04.741Z] 2a70c0c122f4: Waiting [2021-06-24T19:52:04.741Z] 02a3295e0d61: Download complete [2021-06-24T19:52:04.741Z] a3cc7d3b244e: Verifying Checksum [2021-06-24T19:52:04.741Z] a3cc7d3b244e: Download complete [2021-06-24T19:52:04.741Z] a93816041522: Verifying Checksum [2021-06-24T19:52:04.741Z] a93816041522: Download complete [2021-06-24T19:52:05.018Z] bdb6da89ff94: Verifying Checksum [2021-06-24T19:52:05.018Z] bdb6da89ff94: Download complete [2021-06-24T19:52:05.018Z] 2a70c0c122f4: Verifying Checksum [2021-06-24T19:52:05.018Z] 2a70c0c122f4: Download complete [2021-06-24T19:52:05.295Z] a3cc7d3b244e: Pull complete [2021-06-24T19:52:05.729Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.040s coverage: 78.0% of statements [2021-06-24T19:52:05.729Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.010s coverage: 94.4% of statements [2021-06-24T19:52:05.729Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-24T19:52:06.280Z] 02a3295e0d61: Pull complete [2021-06-24T19:52:06.554Z] 0f4f2e6d8100: Pull complete [2021-06-24T19:52:06.554Z] 330b718f631f: Verifying Checksum [2021-06-24T19:52:06.554Z] 330b718f631f: Download complete [2021-06-24T19:52:07.161Z] gofmt -l . [2021-06-24T19:52:07.162Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-06-24T19:52:07.174Z] $ docker stop --time=1 8d48947949073a241fdb37d817f61e0c24457544fbfc40c842a4119cc3d048e0 [2021-06-24T19:52:08.492Z] $ docker rm -f 8d48947949073a241fdb37d817f61e0c24457544fbfc40c842a4119cc3d048e0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-24T19:52:08.941Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-24T19:52:09.158Z] 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-24T19:52:09.959Z] 330b718f631f: Pull complete [2021-06-24T19:52:10.078Z] ---> job-cost.sh [2021-06-24T19:52:10.078Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-sX9w [2021-06-24T19:52:10.557Z] a93816041522: Pull complete [2021-06-24T19:52:10.836Z] bdb6da89ff94: Pull complete [2021-06-24T19:52:11.432Z] 2a70c0c122f4: Pull complete [2021-06-24T19:52:11.433Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-06-24T19:52:11.433Z] Status: Downloaded newer image for docker:20.10.0 [2021-06-24T19:52:16.881Z] ---> b45a0ccbe630 [2021-06-24T19:52:16.881Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-24T19:52:16.881Z] ---> Running in 540baefe151d [2021-06-24T19:52:16.881Z] Removing intermediate container 540baefe151d [2021-06-24T19:52:16.881Z] ---> 655518fefc56 [2021-06-24T19:52:16.881Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-06-24T19:52:17.152Z] ---> Running in 0a3807895455 [2021-06-24T19:52:18.257Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-24T19:52:18.584Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-24T19:52:19.563Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-24T19:52:20.169Z] (1/5) Installing libsodium (1.0.18-r0) [2021-06-24T19:52:20.440Z] (2/5) Installing libzmq (4.3.3-r1) [2021-06-24T19:52:20.440Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-06-24T19:52:20.440Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-06-24T19:52:20.715Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-06-24T19:52:20.715Z] Executing busybox-1.32.1-r6.trigger [2021-06-24T19:52:20.715Z] OK: 139 MiB in 45 packages [2021-06-24T19:52:22.154Z] Removing intermediate container 0a3807895455 [2021-06-24T19:52:22.154Z] ---> 3487a2160c77 [2021-06-24T19:52:22.154Z] Step 6/8 : WORKDIR /build [2021-06-24T19:52:22.154Z] ---> Running in 4dcd6b4026a9 [2021-06-24T19:52:22.757Z] Removing intermediate container 4dcd6b4026a9 [2021-06-24T19:52:22.757Z] ---> 30507fb4c4b6 [2021-06-24T19:52:22.757Z] Step 7/8 : COPY go.mod . [2021-06-24T19:52:23.358Z] ---> 5dc6e9e56151 [2021-06-24T19:52:23.358Z] Step 8/8 : RUN go mod download [2021-06-24T19:52:23.632Z] ---> Running in bd91f4eb9be3 [2021-06-24T19:52:32.660Z] lf-activate-venv(): INFO: Adding /tmp/venv-sX9w/bin to PATH [2021-06-24T19:52:32.660Z] INFO: No Stack... [2021-06-24T19:52:32.660Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-24T19:52:32.660Z] INFO: Archiving Costs [Pipeline] sh [2021-06-24T19:52:32.960Z] + cat /w/workspace/app-functions-sdk-go/3/archives/cost.csv [2021-06-24T19:52:32.960Z] + cut -d, -f6 [Pipeline] lock [2021-06-24T19:52:32.994Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-911-3-stack-cost] [2021-06-24T19:52:33.007Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-911-3-stack-cost] did not exist. Created. [2021-06-24T19:52:33.007Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-911-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-24T19:52:33.330Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-24T19:52:33.412Z] Stashed 1 file(s) [Pipeline] } [2021-06-24T19:52:33.423Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-911-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-24T19:52:48.763Z] Removing intermediate container bd91f4eb9be3 [2021-06-24T19:52:48.763Z] ---> 98751ea31dda [2021-06-24T19:52:48.763Z] Successfully built 98751ea31dda [2021-06-24T19:52:48.763Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-24T19:52:49.125Z] + docker inspect -f . ci-base-image-arm64 [2021-06-24T19:52:49.125Z] . [Pipeline] withDockerContainer [2021-06-24T19:52:49.364Z] prd-ubuntu18.04-docker-arm64-4c-16g-1278 does not seem to be running inside a container [2021-06-24T19:52:49.453Z] $ 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 ******** ci-base-image-arm64 cat [2021-06-24T19:52:51.080Z] $ docker top f2bdbf2675a5d3df1cb8e421b186a262292aed7e22ac1d2125e443417a13cbb2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-24T19:52:52.041Z] + go version [2021-06-24T19:52:52.041Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-24T19:52:52.066Z] $ docker stop --time=1 f2bdbf2675a5d3df1cb8e421b186a262292aed7e22ac1d2125e443417a13cbb2 [2021-06-24T19:52:53.917Z] $ docker rm -f f2bdbf2675a5d3df1cb8e421b186a262292aed7e22ac1d2125e443417a13cbb2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-24T19:52:54.708Z] + docker inspect -f . ci-base-image-arm64 [2021-06-24T19:52:54.708Z] . [Pipeline] withDockerContainer [2021-06-24T19:52:54.949Z] prd-ubuntu18.04-docker-arm64-4c-16g-1278 does not seem to be running inside a container [2021-06-24T19:52:55.037Z] $ 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 ******** ci-base-image-arm64 cat [2021-06-24T19:52:56.575Z] $ docker top 2f33ac7408d8cc47729c66a148beaa025b434e0db3281465394caa496a0df1d0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-24T19:53:01.076Z] + go mod tidy [Pipeline] sh [2021-06-24T19:53:01.745Z] + make test [2021-06-24T19:53:01.745Z] make -C ./app-service-template build [2021-06-24T19:53:01.745Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-06-24T19:53:01.745Z] go mod tidy [2021-06-24T19:53:02.348Z] 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-24T19:53:37.043Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-06-24T19:53:37.043Z] make -C ./app-service-template test [2021-06-24T19:53:37.043Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-06-24T19:53:37.043Z] go mod tidy [2021-06-24T19:53:37.043Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-06-24T19:54:08.277Z] ok new-app-service 0.042s coverage: 47.8% of statements [2021-06-24T19:54:08.277Z] ? new-app-service/config [no test files] [2021-06-24T19:54:08.277Z] ok new-app-service/functions 0.041s [2021-06-24T19:54:08.277Z] CGO_ENABLED=1 go vet ./... [2021-06-24T19:54:31.553Z] gofmt -l . [2021-06-24T19:54:31.553Z] [ "`gofmt -l .`" = "" ] [2021-06-24T19:54:31.553Z] ./bin/test-attribution-txt.sh [2021-06-24T19:54:32.532Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/3/app-service-template' [2021-06-24T19:54:32.532Z] go mod tidy [2021-06-24T19:54:32.809Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-06-24T19:54:36.711Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-06-24T19:54:42.304Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.184s coverage: 63.6% of statements [2021-06-24T19:54:42.304Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.058s coverage: 96.5% of statements [2021-06-24T19:54:42.304Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-06-24T19:54:42.304Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.121s coverage: 61.8% of statements [2021-06-24T19:54:42.304Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-06-24T19:54:42.304Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.034s [2021-06-24T19:54:43.299Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.134s coverage: 74.5% of statements [2021-06-24T19:54:43.299Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-06-24T19:54:43.300Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-06-24T19:54:43.300Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-06-24T19:54:43.300Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-06-24T19:54:43.300Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-06-24T19:54:43.300Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-06-24T19:54:43.300Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.057s coverage: 97.1% of statements [2021-06-24T19:54:43.300Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-06-24T19:54:43.300Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.040s coverage: 10.5% of statements [2021-06-24T19:54:51.336Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.843s coverage: 76.1% of statements [2021-06-24T19:54:51.336Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-06-24T19:54:51.336Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.041s coverage: 12.5% of statements [2021-06-24T19:54:51.336Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.039s coverage: 27.3% of statements [2021-06-24T19:54:51.336Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-06-24T19:54:51.336Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-06-24T19:54:51.336Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.041s coverage: 51.4% of statements [2021-06-24T19:55:16.223Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.121s coverage: 78.0% of statements [2021-06-24T19:55:16.223Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.032s coverage: 94.4% of statements [2021-06-24T19:55:16.223Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-24T19:55:19.506Z] gofmt -l . [2021-06-24T19:55:19.506Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-06-24T19:55:19.537Z] $ docker stop --time=1 2f33ac7408d8cc47729c66a148beaa025b434e0db3281465394caa496a0df1d0 [2021-06-24T19:55:22.800Z] $ docker rm -f 2f33ac7408d8cc47729c66a148beaa025b434e0db3281465394caa496a0df1d0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-24T19:55:23.731Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-24T19:55:26.118Z] Warning: overwriting stash ‘coverage-report’ [2021-06-24T19:55:26.887Z] 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-24T19:55:30.239Z] ---> job-cost.sh [2021-06-24T19:55:30.239Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-yEKz [2021-06-24T19:56:10.323Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-24T19:57:32.000Z] lf-activate-venv(): INFO: Adding /tmp/venv-yEKz/bin to PATH [2021-06-24T19:57:32.000Z] INFO: No Stack... [2021-06-24T19:57:32.000Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-24T19:57:32.000Z] INFO: Archiving Costs [Pipeline] sh [2021-06-24T19:57:32.446Z] + cat /w/workspace/app-functions-sdk-go/3/archives/cost.csv [2021-06-24T19:57:32.446Z] + cut -d, -f6 [Pipeline] lock [2021-06-24T19:57:32.551Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-911-3-stack-cost] [2021-06-24T19:57:32.659Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-911-3-stack-cost] did not exist. Created. [2021-06-24T19:57:32.659Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-911-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-24T19:57:33.069Z] /w/workspace/app-functions-sdk-go/3@tmp/durable-0953daf4/script.sh: 1: /w/workspace/app-functions-sdk-go/3@tmp/durable-0953daf4/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-24T19:57:35.775Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-24T19:57:35.820Z] Warning: overwriting stash ‘stack-cost’ [2021-06-24T19:57:35.977Z] Stashed 1 file(s) [Pipeline] } [2021-06-24T19:57:36.004Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-911-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-06-24T19:57:39.107Z] provisioning config files... [2021-06-24T19:57:39.126Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-911@tmp/config7477887126017043038tmp [Pipeline] { [Pipeline] sh [2021-06-24T19:57:39.462Z] + set +x [2021-06-24T19:57:39.462Z] + bash -s -- [2021-06-24T19:57:39.462Z] + curl -s https://codecov.io/bash [2021-06-24T19:57:39.462Z] [2021-06-24T19:57:39.462Z] _____ _ [2021-06-24T19:57:39.462Z] / ____| | | [2021-06-24T19:57:39.462Z] | | ___ __| | ___ ___ _____ __ [2021-06-24T19:57:39.462Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-24T19:57:39.462Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-24T19:57:39.462Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-24T19:57:39.462Z] Bash-1.0.3 [2021-06-24T19:57:39.462Z] [2021-06-24T19:57:39.462Z] [2021-06-24T19:57:39.462Z] ==> git version 2.24.4 found [2021-06-24T19:57:39.462Z] ==> 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-24T19:57:39.462Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-24T19:57:39.462Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-24T19:57:39.462Z] ==> Jenkins CI detected. [2021-06-24T19:57:39.462Z] project root: . [2021-06-24T19:57:39.462Z] --> token set from env [2021-06-24T19:57:39.462Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-24T19:57:39.462Z] ==> Running gcov in . (disable via -X gcov) [2021-06-24T19:57:39.462Z] ==> Python coveragepy not found [2021-06-24T19:57:39.462Z] ==> Searching for coverage reports in: [2021-06-24T19:57:39.462Z] + . [2021-06-24T19:57:39.738Z] -> Found 2 reports [2021-06-24T19:57:39.739Z] ==> Detecting git/mercurial file structure [2021-06-24T19:57:39.739Z] ==> Reading reports [2021-06-24T19:57:39.739Z] + ./app-service-template/coverage.out bytes=1055 [2021-06-24T19:57:39.739Z] + ./coverage.out bytes=95181 [2021-06-24T19:57:39.739Z] ==> Appending adjustments [2021-06-24T19:57:39.739Z] https://docs.codecov.io/docs/fixing-reports [2021-06-24T19:57:40.007Z] + Found adjustments [2021-06-24T19:57:40.007Z] ==> Gzipping contents [2021-06-24T19:57:40.007Z] 20K /tmp/codecov.fXBKbc.gz [2021-06-24T19:57:40.007Z] ==> Uploading reports [2021-06-24T19:57:40.007Z] url: https://codecov.io [2021-06-24T19:57:40.007Z] query: branch=PR-911&commit=874835eca79de0d24443625c0e24ff9acd842c28&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-911%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=911&job=&cmd_args= [2021-06-24T19:57:40.007Z] -> Pinging Codecov [2021-06-24T19:57:40.007Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-911&commit=874835eca79de0d24443625c0e24ff9acd842c28&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-911%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=911&job=&cmd_args= [2021-06-24T19:57:42.802Z] -> Uploading to [2021-06-24T19:57:42.802Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-24/3D8B5DFFC46A037C893635FACE044666/874835eca79de0d24443625c0e24ff9acd842c28/04a81981-f0bb-4c2f-81b4-a5ab01c9ca93.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210624%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210624T195740Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b28ba6beb5bec9348af2e6f6f68fd5497c973f11165c3d2730d9b9d4b874d505 [2021-06-24T19:57:42.802Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-24T19:57:42.802Z] Dload Upload Total Spent Left Speed [2021-06-24T19:57:42.802Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16873 0 0 100 16873 0 51320 --:--:-- --:--:-- --:--:-- 51442 [2021-06-24T19:57:42.802Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/874835eca79de0d24443625c0e24ff9acd842c28 [Pipeline] } [2021-06-24T19:57:42.819Z] 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-24T19:57:46.847Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T19:57:49.876Z] ---> package-listing.sh [2021-06-24T19:57:49.876Z] ++ facter osfamily [2021-06-24T19:57:49.876Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-24T19:57:50.146Z] + OS_FAMILY=redhat [2021-06-24T19:57:50.146Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-911 [2021-06-24T19:57:50.146Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-24T19:57:50.146Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-24T19:57:50.146Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-24T19:57:50.146Z] + PACKAGES=/tmp/packages_start.txt [2021-06-24T19:57:50.146Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-911 ']' [2021-06-24T19:57:50.146Z] + PACKAGES=/tmp/packages_end.txt [2021-06-24T19:57:50.146Z] + case "${OS_FAMILY}" in [2021-06-24T19:57:50.146Z] + sort [2021-06-24T19:57:50.146Z] + rpm -qa [2021-06-24T19:57:50.734Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-24T19:57:50.735Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-24T19:57:50.735Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-24T19:57:50.735Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-911 ']' [2021-06-24T19:57:50.735Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-911/archives/ [2021-06-24T19:57:50.735Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-911/archives/ [Pipeline] echo [2021-06-24T19:57:50.752Z] 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-911/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-24T19:57:53.536Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-24T19:57:54.150Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-24T19:57:54.150Z] [2021-06-24T19:57:54.150Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-24T19:57:56.799Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-24T19:57:56.799Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-24T19:57:56.799Z] df20fa9351a1: Pulling fs layer [2021-06-24T19:57:56.799Z] 36b3adc4ff6f: Pulling fs layer [2021-06-24T19:57:56.799Z] 8ad3a11d3b57: Pulling fs layer [2021-06-24T19:57:56.799Z] 46f8f816bc3b: Pulling fs layer [2021-06-24T19:57:56.799Z] 93b61091891f: Pulling fs layer [2021-06-24T19:57:56.799Z] 93b9cdb0e59b: Pulling fs layer [2021-06-24T19:57:56.799Z] 5e14af77c1be: Pulling fs layer [2021-06-24T19:57:56.799Z] 01666e4c0597: Pulling fs layer [2021-06-24T19:57:56.799Z] aa168da1d23b: Pulling fs layer [2021-06-24T19:57:56.799Z] 46f8f816bc3b: Waiting [2021-06-24T19:57:56.799Z] 93b61091891f: Waiting [2021-06-24T19:57:56.799Z] 93b9cdb0e59b: Waiting [2021-06-24T19:57:56.799Z] 5e14af77c1be: Waiting [2021-06-24T19:57:56.799Z] 01666e4c0597: Waiting [2021-06-24T19:57:56.799Z] aa168da1d23b: Waiting [2021-06-24T19:57:56.799Z] 36b3adc4ff6f: Verifying Checksum [2021-06-24T19:57:56.799Z] 36b3adc4ff6f: Download complete [2021-06-24T19:57:56.799Z] 46f8f816bc3b: Verifying Checksum [2021-06-24T19:57:56.799Z] 46f8f816bc3b: Download complete [2021-06-24T19:57:56.799Z] df20fa9351a1: Verifying Checksum [2021-06-24T19:57:56.799Z] df20fa9351a1: Download complete [2021-06-24T19:57:56.799Z] 93b9cdb0e59b: Verifying Checksum [2021-06-24T19:57:56.799Z] 93b9cdb0e59b: Download complete [2021-06-24T19:57:56.799Z] 5e14af77c1be: Verifying Checksum [2021-06-24T19:57:56.799Z] 5e14af77c1be: Download complete [2021-06-24T19:57:56.799Z] 93b61091891f: Verifying Checksum [2021-06-24T19:57:56.799Z] 93b61091891f: Download complete [2021-06-24T19:57:56.799Z] df20fa9351a1: Pull complete [2021-06-24T19:57:56.799Z] 8ad3a11d3b57: Verifying Checksum [2021-06-24T19:57:56.799Z] 8ad3a11d3b57: Download complete [2021-06-24T19:57:56.799Z] 01666e4c0597: Verifying Checksum [2021-06-24T19:57:56.799Z] 01666e4c0597: Download complete [2021-06-24T19:57:56.799Z] 36b3adc4ff6f: Pull complete [2021-06-24T19:57:56.799Z] 8ad3a11d3b57: Pull complete [2021-06-24T19:57:56.799Z] 46f8f816bc3b: Pull complete [2021-06-24T19:57:56.799Z] 93b61091891f: Pull complete [2021-06-24T19:57:56.799Z] 93b9cdb0e59b: Pull complete [2021-06-24T19:57:56.799Z] 5e14af77c1be: Pull complete [2021-06-24T19:57:56.799Z] 01666e4c0597: Pull complete [2021-06-24T19:57:56.799Z] aa168da1d23b: Verifying Checksum [2021-06-24T19:57:56.799Z] aa168da1d23b: Download complete [2021-06-24T19:58:00.946Z] aa168da1d23b: Pull complete [2021-06-24T19:58:00.946Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-24T19:58:00.946Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-24T19:58:00.946Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-24T19:58:01.035Z] prd-centos7-docker-4c-2g-1274 does not seem to be running inside a container [2021-06-24T19:58:01.081Z] $ 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-911/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-911 -v /w/workspace/ndry_app-functions-sdk-go_PR-911:/w/workspace/ndry_app-functions-sdk-go_PR-911:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-911@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-911@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:10003/edgex-lftools-log-publisher:alpine cat [2021-06-24T19:58:04.311Z] $ docker top 0d0e8ce4ebf0431eea424296ce23ddea1779b0ff15105b5d3172565a1c9d477a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-24T19:58:04.746Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-24T19:58:05.060Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-24T19:58:07.738Z] + ls /var/log/sa-host [2021-06-24T19:58:07.738Z] + sadf -c /var/log/sa-host/sa05 [2021-06-24T19:58:07.738Z] file_magic: OK [2021-06-24T19:58:07.738Z] HZ: Using current value: 100 [2021-06-24T19:58:07.738Z] file_header: OK [2021-06-24T19:58:07.738Z] 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-24T19:58:07.738Z] Statistics: [2021-06-24T19:58:07.738Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-24T19:58:07.738Z] File successfully converted to sysstat format version 12.2.1 [2021-06-24T19:58:07.738Z] + sadf -c /var/log/sa-host/sa24 [2021-06-24T19:58:07.738Z] file_magic: OK [2021-06-24T19:58:07.738Z] HZ: Using current value: 100 [2021-06-24T19:58:07.738Z] file_header: OK [2021-06-24T19:58:07.738Z] 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-24T19:58:07.738Z] Statistics: [2021-06-24T19:58:07.738Z] 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-24T19:58:07.738Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-24T19:58:07.980Z] provisioning config files... [2021-06-24T19:58:07.996Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-911@tmp/config9204105056528629043tmp [Pipeline] { [Pipeline] echo [2021-06-24T19:58:08.035Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T19:58:08.372Z] ---> create-netrc.sh [Pipeline] } [2021-06-24T19:58:08.382Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-24T19:58:11.114Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-24T19:58:11.133Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T19:58:11.451Z] ---> sudo-logs.sh [2021-06-24T19:58:11.451Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-24T19:58:11.512Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T19:58:11.847Z] ---> job-cost.sh [2021-06-24T19:58:11.847Z] lf-activate-venv: SKIPPING [2021-06-24T19:58:11.847Z] DEBUG: total: 0.18000000715255737 [2021-06-24T19:58:11.847Z] INFO: Retrieving Stack Cost... [2021-06-24T19:58:16.670Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-24T19:58:16.671Z] INFO: Archiving Costs [Pipeline] echo [2021-06-24T19:58:16.688Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T19:58:17.016Z] ---> logs-deploy.sh [2021-06-24T19:58:17.016Z] lf-activate-venv: SKIPPING [2021-06-24T19:58:17.016Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-911/3 [2021-06-24T19:58:17.016Z] INFO: archiving workspace using pattern(s):