Pull request #944 updated Connecting to https://api.github.com using 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 7f66fc11735c51978d8347ed7c33cfc12431b095+18ff6e1b21abe9b172b032eb3d702546a95b1a7c (7b70abc8043ef3aea62ab4b8219f67a231a82731) 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1371627042392108430.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1999646232032968923.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 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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-944/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-944/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8134328082026990083.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 # timeout=10 Commit message: "Merge pull request #353 from ernestojeda/go-mod-tidy-change" > 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5992768857276735973.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 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-944/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-944/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh464045024376197975.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > 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_BUILD_IMAGE_TARGET: builder 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-2044’ Running on prd-centos7-docker-4c-2g-2047 in /w/workspace/ndry_app-functions-sdk-go_PR-944 [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-944 # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-944@tmp/jenkins-gitclient-ssh3732963071798775333.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 18ff6e1b21abe9b172b032eb3d702546a95b1a7c into PR head commit 7f66fc11735c51978d8347ed7c33cfc12431b095 Merge succeeded, producing 7f66fc11735c51978d8347ed7c33cfc12431b095 Checking out Revision 7f66fc11735c51978d8347ed7c33cfc12431b095 (PR-944) > 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-944@tmp/jenkins-gitclient-ssh8088902158036838407.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/944/head:refs/remotes/origin/PR-944 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7f66fc11735c51978d8347ed7c33cfc12431b095 # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-944@tmp/jenkins-gitclient-ssh1664461697109723242.key > git merge 18ff6e1b21abe9b172b032eb3d702546a95b1a7c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7f66fc11735c51978d8347ed7c33cfc12431b095 # timeout=10 Commit message: "fix(sdk): Correct Custom Trigger Pipeline Selection Allow topic pipeline config for custom triggers & check length of transforms in default pipeline as it will be empty if not set (this is needed for ASC)" First time build. Skipping changelog. > git rev-list --no-walk 3100d688fe5efc93858d0d0b9469e5b7195c8f9b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-09-10T23:14:12.652Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-09-10T23:14:12.756Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-09-10T23:14:12.810Z] ========================================================= [2021-09-10T23:14:12.810Z] EdgeX Global Pipelines Version Info [2021-09-10T23:14:12.810Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-09-10T23:14:15.012Z] ------------------- [2021-09-10T23:14:15.012Z] stable info: [2021-09-10T23:14:15.012Z] ------------------- [2021-09-10T23:14:15.012Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-09-10T23:14:15.012Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-09-10T23:14:15.012Z] Message: update stable to v1.0.205 [2021-09-10T23:14:15.012Z] ------------------- [2021-09-10T23:14:15.012Z] experimental info: [2021-09-10T23:14:15.012Z] ------------------- [2021-09-10T23:14:15.012Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-09-10T23:14:15.012Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-09-10T23:14:15.012Z] Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-09-10T23:14:15.173Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-09-10T23:14:15.214Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-09-10T23:14:15.253Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-09-10T23:14:15.290Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-09-10T23:14:15.329Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-09-10T23:14:15.371Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-09-10T23:14:15.412Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-09-10T23:14:15.452Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-09-10T23:14:15.507Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-09-10T23:14:15.546Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-09-10T23:14:17.247Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-09-10T23:14:17.285Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-09-10T23:14:17.323Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2021-09-10T23:14:17.363Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-09-10T23:14:17.402Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-09-10T23:14:17.440Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-09-10T23:14:17.479Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-09-10T23:14:17.518Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-09-10T23:14:17.557Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-09-10T23:14:17.598Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-09-10T23:14:17.637Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-09-10T23:14:17.677Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-09-10T23:14:17.717Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-09-10T23:14:17.756Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-09-10T23:14:17.805Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-09-10T23:14:19.486Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-09-10T23:14:19.526Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-09-10T23:14:19.564Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-944 [Pipeline] echo [2021-09-10T23:14:19.603Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-944 [Pipeline] echo [2021-09-10T23:14:19.647Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-944 [Pipeline] echo [2021-09-10T23:14:19.684Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7f66fc11735c51978d8347ed7c33cfc12431b095 [Pipeline] echo [2021-09-10T23:14:19.723Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7f66fc1 [Pipeline] echo [2021-09-10T23:14:19.760Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-09-10T23:14:20.283Z] + git log --format=format:%s -1 7f66fc11735c51978d8347ed7c33cfc12431b095 [Pipeline] echo [2021-09-10T23:14:20.329Z] GIT_COMMIT: 7f66fc11735c51978d8347ed7c33cfc12431b095, Commit Message: fix(sdk): Correct Custom Trigger Pipeline Selection Allow topic pipeline config for custom triggers & check length of transforms in default pipeline as it will be empty if not set (this is needed for ASC) [Pipeline] echo [2021-09-10T23:14:20.354Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-09-10T23:14:24.320Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-10T23:14:24.320Z] [2021-09-10T23:14:24.320Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-09-10T23:14:24.664Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-10T23:14:24.664Z] latest: Pulling from edgex-devops/git-semver [2021-09-10T23:14:24.664Z] 31603596830f: Pulling fs layer [2021-09-10T23:14:24.664Z] 04fac38145f0: Pulling fs layer [2021-09-10T23:14:24.664Z] 701f6daf10bf: Pulling fs layer [2021-09-10T23:14:24.664Z] 24f72da36158: Pulling fs layer [2021-09-10T23:14:24.664Z] 24f72da36158: Waiting [2021-09-10T23:14:24.664Z] 04fac38145f0: Verifying Checksum [2021-09-10T23:14:24.664Z] 04fac38145f0: Download complete [2021-09-10T23:14:24.934Z] 31603596830f: Verifying Checksum [2021-09-10T23:14:24.934Z] 31603596830f: Download complete [2021-09-10T23:14:25.202Z] 24f72da36158: Verifying Checksum [2021-09-10T23:14:25.202Z] 24f72da36158: Download complete [2021-09-10T23:14:25.202Z] 31603596830f: Pull complete [2021-09-10T23:14:25.202Z] 701f6daf10bf: Verifying Checksum [2021-09-10T23:14:25.202Z] 701f6daf10bf: Download complete [2021-09-10T23:14:25.202Z] 04fac38145f0: Pull complete [2021-09-10T23:14:25.799Z] 701f6daf10bf: Pull complete [2021-09-10T23:14:26.068Z] 24f72da36158: Pull complete [2021-09-10T23:14:26.068Z] Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 [2021-09-10T23:14:26.068Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-10T23:14:26.068Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-09-10T23:14:26.158Z] prd-centos7-docker-4c-2g-2047 does not seem to be running inside a container [2021-09-10T23:14:26.218Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-944 -v /w/workspace/ndry_app-functions-sdk-go_PR-944:/w/workspace/ndry_app-functions-sdk-go_PR-944:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-944@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-944@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:10004/edgex-devops/git-semver:latest cat [2021-09-10T23:14:26.910Z] $ docker top d385ddce1c2159b67e59543db60122625b93ad6b15486c86d0138ef5b130fd99 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-09-10T23:14:27.061Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-09-10T23:14:27.061Z] [ssh-agent] Looking for ssh-agent implementation... [2021-09-10T23:14:27.170Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-09-10T23:14:27.172Z] $ docker exec d385ddce1c2159b67e59543db60122625b93ad6b15486c86d0138ef5b130fd99 ssh-agent [2021-09-10T23:14:27.285Z] SSH_AUTH_SOCK=/tmp/ssh-roRF5TRPjO78/agent.13 [2021-09-10T23:14:27.285Z] SSH_AGENT_PID=18 [2021-09-10T23:14:27.299Z] Running ssh-add (command line suppressed) [2021-09-10T23:14:27.397Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-944@tmp/private_key_35088822653857492.key (/w/workspace/ndry_app-functions-sdk-go_PR-944@tmp/private_key_35088822653857492.key) [2021-09-10T23:14:27.418Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-09-10T23:14:27.746Z] + git tag --points-at HEAD [Pipeline] } [2021-09-10T23:14:27.765Z] $ docker exec --env ******** --env ******** d385ddce1c2159b67e59543db60122625b93ad6b15486c86d0138ef5b130fd99 ssh-agent -k [2021-09-10T23:14:27.856Z] unset SSH_AUTH_SOCK; [2021-09-10T23:14:27.856Z] unset SSH_AGENT_PID; [2021-09-10T23:14:27.856Z] echo Agent pid 18 killed; [2021-09-10T23:14:27.872Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-09-10T23:14:29.647Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-09-10T23:14:29.647Z] [ssh-agent] Looking for ssh-agent implementation... [2021-09-10T23:14:29.771Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-09-10T23:14:29.774Z] $ docker exec d385ddce1c2159b67e59543db60122625b93ad6b15486c86d0138ef5b130fd99 ssh-agent [2021-09-10T23:14:29.906Z] SSH_AUTH_SOCK=/tmp/ssh-psIdph84w6Qw/agent.53 [2021-09-10T23:14:29.906Z] SSH_AGENT_PID=60 [2021-09-10T23:14:29.913Z] Running ssh-add (command line suppressed) [2021-09-10T23:14:30.018Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-944@tmp/private_key_9064940871952432292.key (/w/workspace/ndry_app-functions-sdk-go_PR-944@tmp/private_key_9064940871952432292.key) [2021-09-10T23:14:30.038Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-09-10T23:14:30.357Z] + git semver init [2021-09-10T23:14:30.357Z] # -> Open(): unable to determine branch for HEAD [2021-09-10T23:14:30.357Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-944/.git [2021-09-10T23:14:30.357Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-944 [2021-09-10T23:14:30.357Z] # $SEMVER_REMOTE_NAME = origin [2021-09-10T23:14:30.357Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-09-10T23:14:30.357Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-09-10T23:14:30.357Z] # $SEMVER_BRANCH = PR-944 [2021-09-10T23:14:30.357Z] # $SEMVER_TEMP = /tmp/semver-154704603 [2021-09-10T23:14:30.358Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-09-10T23:14:32.299Z] # '/tmp/semver-154704603' -> '/w/workspace/ndry_app-functions-sdk-go_PR-944/.semver' [2021-09-10T23:14:32.299Z] # -> Force: false [2021-09-10T23:14:32.299Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-944/.semver [Pipeline] } [2021-09-10T23:14:32.313Z] $ docker exec --env ******** --env ******** d385ddce1c2159b67e59543db60122625b93ad6b15486c86d0138ef5b130fd99 ssh-agent -k [2021-09-10T23:14:32.407Z] unset SSH_AUTH_SOCK; [2021-09-10T23:14:32.409Z] unset SSH_AGENT_PID; [2021-09-10T23:14:32.409Z] echo Agent pid 60 killed; [2021-09-10T23:14:32.421Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-09-10T23:14:32.893Z] + git semver [Pipeline] } [2021-09-10T23:14:32.913Z] $ docker stop --time=1 d385ddce1c2159b67e59543db60122625b93ad6b15486c86d0138ef5b130fd99 [2021-09-10T23:14:34.232Z] $ docker rm -f d385ddce1c2159b67e59543db60122625b93ad6b15486c86d0138ef5b130fd99 [Pipeline] // withDockerContainer [Pipeline] sh [2021-09-10T23:14:36.429Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-09-10T23:14:36.765Z] Stashed 1 file(s) [Pipeline] echo [2021-09-10T23:14:36.769Z] [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-09-10T23:14:52.171Z] Still waiting to schedule task [2021-09-10T23:14:52.172Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2047’ [2021-09-10T23:14:52.174Z] Still waiting to schedule task [2021-09-10T23:14:52.175Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-09-10T23:17:15.947Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2048 in /w/workspace/ndry_app-functions-sdk-go_PR-944 [Pipeline] { [Pipeline] ws [2021-09-10T23:17:15.972Z] Running in /w/workspace/app-functions-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-09-10T23:17:16.166Z] The recommended git tool is: git [2021-09-10T23:17:26.101Z] using credential edgex-jenkins-ssh [2021-09-10T23:17:26.121Z] Cloning the remote Git repository [2021-09-10T23:17:26.169Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-09-10T23:17:27.928Z] > git init /w/workspace/app-functions-sdk-go/4 # timeout=10 [2021-09-10T23:17:28.008Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-09-10T23:17:28.009Z] > git --version # timeout=10 [2021-09-10T23:17:28.029Z] > git --version # 'git version 2.17.1' [2021-09-10T23:17:28.031Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-10T23:17:28.135Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-10T23:17:32.328Z] Merging remotes/origin/main commit 18ff6e1b21abe9b172b032eb3d702546a95b1a7c into PR head commit 7f66fc11735c51978d8347ed7c33cfc12431b095 [2021-09-10T23:17:32.552Z] Merge succeeded, producing 7f66fc11735c51978d8347ed7c33cfc12431b095 [2021-09-10T23:17:32.552Z] Checking out Revision 7f66fc11735c51978d8347ed7c33cfc12431b095 (PR-944) [2021-09-10T23:17:31.594Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-09-10T23:17:31.613Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-10T23:17:31.634Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-09-10T23:17:31.666Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-09-10T23:17:31.667Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-10T23:17:31.681Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/944/head:refs/remotes/origin/PR-944 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-09-10T23:17:32.345Z] > git config core.sparsecheckout # timeout=10 [2021-09-10T23:17:32.362Z] > git checkout -f 7f66fc11735c51978d8347ed7c33cfc12431b095 # timeout=10 [2021-09-10T23:17:32.465Z] > git remote # timeout=10 [2021-09-10T23:17:32.493Z] > git config --get remote.origin.url # timeout=10 [2021-09-10T23:17:32.505Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-10T23:17:32.516Z] > git merge 18ff6e1b21abe9b172b032eb3d702546a95b1a7c # timeout=10 [2021-09-10T23:17:32.537Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-09-10T23:17:32.557Z] > git config core.sparsecheckout # timeout=10 [2021-09-10T23:17:32.571Z] > git checkout -f 7f66fc11735c51978d8347ed7c33cfc12431b095 # timeout=10 [2021-09-10T23:17:36.792Z] Commit message: "fix(sdk): Correct Custom Trigger Pipeline Selection Allow topic pipeline config for custom triggers & check length of transforms in default pipeline as it will be empty if not set (this is needed for ASC)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2021-09-10T23:17:37.512Z] ========================================================= [2021-09-10T23:17:37.512Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-09-10T23:17:37.513Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-09-10T23:17:39.805Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-09-10T23:17:41.787Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-09-10T23:17:41.787Z] 595b0fe564bb: Pulling fs layer [2021-09-10T23:17:41.787Z] 24495759ef45: Pulling fs layer [2021-09-10T23:17:41.787Z] d148012ef14d: Pulling fs layer [2021-09-10T23:17:41.787Z] e90a11edd702: Pulling fs layer [2021-09-10T23:17:41.787Z] d77568369979: Pulling fs layer [2021-09-10T23:17:41.787Z] fc1c9f9a7f3b: Pulling fs layer [2021-09-10T23:17:41.787Z] 170f2ba95c9a: Pulling fs layer [2021-09-10T23:17:41.787Z] 97ac5df62f85: Pulling fs layer [2021-09-10T23:17:41.787Z] fc1c9f9a7f3b: Waiting [2021-09-10T23:17:41.787Z] e90a11edd702: Waiting [2021-09-10T23:17:41.787Z] d77568369979: Waiting [2021-09-10T23:17:41.787Z] 170f2ba95c9a: Waiting [2021-09-10T23:17:41.787Z] 97ac5df62f85: Waiting [2021-09-10T23:17:41.787Z] d148012ef14d: Verifying Checksum [2021-09-10T23:17:41.787Z] d148012ef14d: Download complete [2021-09-10T23:17:41.787Z] 24495759ef45: Download complete [2021-09-10T23:17:41.787Z] d77568369979: Download complete [2021-09-10T23:17:41.787Z] fc1c9f9a7f3b: Download complete [2021-09-10T23:17:41.787Z] 595b0fe564bb: Verifying Checksum [2021-09-10T23:17:41.787Z] 595b0fe564bb: Download complete [2021-09-10T23:17:41.787Z] 170f2ba95c9a: Verifying Checksum [2021-09-10T23:17:41.787Z] 170f2ba95c9a: Download complete [2021-09-10T23:17:42.384Z] 595b0fe564bb: Pull complete [2021-09-10T23:17:42.985Z] 24495759ef45: Pull complete [2021-09-10T23:17:44.719Z] d148012ef14d: Pull complete [2021-09-10T23:17:46.860Z] 97ac5df62f85: Verifying Checksum [2021-09-10T23:17:46.860Z] 97ac5df62f85: Download complete [2021-09-10T23:17:46.860Z] e90a11edd702: Verifying Checksum [2021-09-10T23:17:46.860Z] e90a11edd702: Download complete [2021-09-10T23:17:50.034Z] Running on prd-centos7-docker-4c-2g-2049 in /w/workspace/ndry_app-functions-sdk-go_PR-944 [Pipeline] { [Pipeline] ws [2021-09-10T23:17:50.058Z] Running in /w/workspace/app-functions-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-09-10T23:17:51.945Z] The recommended git tool is: git [2021-09-10T23:17:56.635Z] e90a11edd702: Pull complete [2021-09-10T23:17:56.635Z] d77568369979: Pull complete [2021-09-10T23:17:56.635Z] fc1c9f9a7f3b: Pull complete [2021-09-10T23:17:57.238Z] 170f2ba95c9a: Pull complete [2021-09-10T23:17:59.937Z] using credential edgex-jenkins-ssh [2021-09-10T23:17:59.952Z] Cloning the remote Git repository [2021-09-10T23:17:59.985Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-09-10T23:18:00.052Z] > git init /w/workspace/app-functions-sdk-go/4 # timeout=10 [2021-09-10T23:18:00.087Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-09-10T23:18:00.087Z] > git --version # timeout=10 [2021-09-10T23:18:00.095Z] > git --version # 'git version 2.24.4' [2021-09-10T23:18:00.095Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-10T23:18:00.126Z] [INFO] Currently running in a labeled security context [2021-09-10T23:18:00.126Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-09-10T23:18:00.127Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/4@tmp/jenkins-gitclient-ssh7782753910977556717.key [2021-09-10T23:18:00.148Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-10T23:18:03.273Z] Merging remotes/origin/main commit 18ff6e1b21abe9b172b032eb3d702546a95b1a7c into PR head commit 7f66fc11735c51978d8347ed7c33cfc12431b095 [2021-09-10T23:18:03.274Z] 97ac5df62f85: Pull complete [2021-09-10T23:18:03.274Z] Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 [2021-09-10T23:18:03.274Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-09-10T23:18:03.274Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-09-10T23:18:02.673Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-09-10T23:18:02.684Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-10T23:18:02.698Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-09-10T23:18:02.712Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-09-10T23:18:02.713Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-10T23:18:02.717Z] [INFO] Currently running in a labeled security context [2021-09-10T23:18:02.717Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-09-10T23:18:02.717Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/4@tmp/jenkins-gitclient-ssh5505874583300073219.key [2021-09-10T23:18:02.725Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/944/head:refs/remotes/origin/PR-944 +refs/heads/main:refs/remotes/origin/main # timeout=10 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [2021-09-10T23:18:03.287Z] > git config core.sparsecheckout # timeout=10 [2021-09-10T23:18:03.294Z] > git checkout -f 7f66fc11735c51978d8347ed7c33cfc12431b095 # timeout=10 [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] } [2021-09-10T23:18:05.274Z] Failed in branch amd64 [2021-09-10T23:18:05.450Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh [2021-09-10T23:18:06.075Z] + docker inspect -f . ci-base-image-arm64 [2021-09-10T23:18:06.076Z] . [Pipeline] withDockerContainer [2021-09-10T23:18:06.342Z] prd-ubuntu18.04-docker-arm64-4c-16g-2048 does not seem to be running inside a container [2021-09-10T23:18:06.432Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-09-10T23:18:12.351Z] $ docker top 36b2e4cd78d91e30396bbbbc688e2e06f37a9cb6ab1ba22f42cdc6f161f85582 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-09-10T23:18:17.209Z] + go version [2021-09-10T23:18:17.209Z] go version go1.16.6 linux/arm64 [Pipeline] } [2021-09-10T23:18:17.230Z] $ docker stop --time=1 36b2e4cd78d91e30396bbbbc688e2e06f37a9cb6ab1ba22f42cdc6f161f85582 [2021-09-10T23:18:19.284Z] $ docker rm -f 36b2e4cd78d91e30396bbbbc688e2e06f37a9cb6ab1ba22f42cdc6f161f85582 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-09-10T23:18:22.894Z] + docker inspect -f . ci-base-image-arm64 [2021-09-10T23:18:22.894Z] . [Pipeline] withDockerContainer [2021-09-10T23:18:23.115Z] prd-ubuntu18.04-docker-arm64-4c-16g-2048 does not seem to be running inside a container [2021-09-10T23:18:23.195Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-09-10T23:18:25.177Z] $ docker top ccc36bebd7bbdf0e8e419b0ea227e5e79294ba143b587cb7f655d5d44e2f1804 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-09-10T23:18:27.458Z] + make test [2021-09-10T23:18:27.458Z] make -C ./app-service-template build [2021-09-10T23:18:27.458Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/4/app-service-template' [2021-09-10T23:18:27.458Z] go mod tidy [2021-09-10T23:18:27.458Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 [2021-09-10T23:18:27.458Z] go: downloading github.com/google/uuid v1.3.0 [2021-09-10T23:18:27.458Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-09-10T23:18:27.458Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 [2021-09-10T23:18:27.458Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 [2021-09-10T23:18:27.458Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 [2021-09-10T23:18:29.160Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-09-10T23:18:29.160Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-09-10T23:18:29.160Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2021-09-10T23:18:29.160Z] go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2021-09-10T23:18:29.160Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-09-10T23:18:29.160Z] go: downloading github.com/stretchr/objx v0.1.0 [2021-09-10T23:18:29.160Z] go: downloading github.com/go-kit/kit v0.9.0 [2021-09-10T23:18:29.160Z] go: downloading github.com/go-playground/validator/v10 v10.6.1 [2021-09-10T23:18:29.160Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2021-09-10T23:18:29.160Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-09-10T23:18:29.160Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2021-09-10T23:18:29.160Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 [2021-09-10T23:18:29.160Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 [2021-09-10T23:18:29.160Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2021-09-10T23:18:29.160Z] go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2021-09-10T23:18:29.160Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-09-10T23:18:29.160Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-09-10T23:18:29.160Z] go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 [2021-09-10T23:18:29.160Z] go: downloading github.com/pelletier/go-toml v1.9.2 [2021-09-10T23:18:29.160Z] go: downloading github.com/hashicorp/consul/api v1.8.1 [2021-09-10T23:18:29.160Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2021-09-10T23:18:29.160Z] go: downloading github.com/leodido/go-urn v1.2.0 [2021-09-10T23:18:29.160Z] go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 [2021-09-10T23:18:29.160Z] go: downloading golang.org/x/text v0.3.2 [2021-09-10T23:18:29.160Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-09-10T23:18:29.160Z] go: downloading github.com/go-playground/locales v0.13.0 [2021-09-10T23:18:32.926Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-09-10T23:18:32.926Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2021-09-10T23:18:32.926Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-09-10T23:18:32.926Z] go: downloading github.com/kr/pretty v0.2.0 [2021-09-10T23:18:32.926Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-09-10T23:18:32.926Z] go: downloading github.com/x448/float16 v0.8.4 [2021-09-10T23:18:32.926Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-09-10T23:18:32.926Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-09-10T23:18:32.926Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-09-10T23:18:32.926Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-09-10T23:18:32.926Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-09-10T23:18:32.926Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-09-10T23:18:32.926Z] go: downloading github.com/hashicorp/consul/sdk v0.7.0 [2021-09-10T23:18:32.926Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-09-10T23:18:32.926Z] go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd [2021-09-10T23:18:32.926Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-09-10T23:18:32.926Z] go: downloading github.com/kr/text v0.1.0 [2021-09-10T23:18:32.926Z] go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2021-09-10T23:18:32.926Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2021-09-10T23:18:32.926Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-09-10T23:18:32.926Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-09-10T23:18:32.926Z] go: downloading github.com/fatih/color v1.9.0 [2021-09-10T23:18:32.926Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-09-10T23:18:32.926Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-09-10T23:18:32.926Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-09-10T23:18:32.926Z] go: downloading github.com/pkg/errors v0.8.1 [2021-09-10T23:18:32.926Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-09-10T23:18:32.926Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-09-10T23:18:32.926Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-09-10T23:18:32.926Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2021-09-10T23:18:32.926Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2021-09-10T23:18:32.926Z] go: downloading github.com/onsi/gomega v1.7.0 [2021-09-10T23:18:32.926Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-09-10T23:18:32.926Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-09-10T23:18:32.926Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-09-10T23:18:32.926Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2021-09-10T23:18:32.926Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2021-09-10T23:18:32.927Z] go: downloading github.com/miekg/dns v1.1.26 [2021-09-10T23:18:34.861Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-09-10T23:18:34.861Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-09-10T23:18:34.861Z] go: downloading github.com/hpcloud/tail v1.0.0 [2021-09-10T23:18:34.861Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2021-09-10T23:18:34.861Z] go: downloading github.com/golang/protobuf v1.3.2 [2021-09-10T23:18:34.861Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2021-09-10T23:18:34.861Z] go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 [2021-09-10T23:18:34.861Z] go: downloading github.com/fsnotify/fsnotify v1.4.7 [2021-09-10T23:18:34.861Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.1 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-09-10T23:19:09.399Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/4/app-service-template' [2021-09-10T23:19:09.399Z] make -C ./app-service-template test [2021-09-10T23:19:09.399Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/4/app-service-template' [2021-09-10T23:19:09.399Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-09-10T23:19:41.932Z] ok new-app-service 0.042s coverage: 48.1% of statements [2021-09-10T23:19:41.932Z] ? new-app-service/config [no test files] [2021-09-10T23:19:41.932Z] ok new-app-service/functions 0.040s [2021-09-10T23:19:41.932Z] CGO_ENABLED=1 go vet ./... [2021-09-10T23:20:08.788Z] gofmt -l . [2021-09-10T23:20:08.788Z] [ "`gofmt -l .`" = "" ] [2021-09-10T23:20:08.788Z] ./bin/test-attribution-txt.sh [2021-09-10T23:20:08.788Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/4/app-service-template' [2021-09-10T23:20:08.788Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-09-10T23:20:08.788Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-09-10T23:20:17.342Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.101s coverage: 62.7% of statements [2021-09-10T23:20:17.342Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.114s coverage: 93.2% of statements [2021-09-10T23:20:17.342Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-09-10T23:20:17.342Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.081s coverage: 61.8% of statements [2021-09-10T23:20:17.342Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-09-10T23:20:17.342Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.034s [2021-09-10T23:20:17.621Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.214s coverage: 75.2% of statements [2021-09-10T23:20:17.621Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-09-10T23:20:17.621Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-09-10T23:20:17.621Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-09-10T23:20:17.621Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-09-10T23:20:17.621Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-09-10T23:20:17.621Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-09-10T23:20:17.621Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.011s coverage: 97.3% of statements [2021-09-10T23:20:17.621Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-09-10T23:20:17.621Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.080s coverage: 10.5% of statements [2021-09-10T23:20:24.348Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.206s coverage: 77.0% of statements [2021-09-10T23:20:24.348Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-09-10T23:20:24.348Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.054s coverage: 12.5% of statements [2021-09-10T23:20:24.348Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.092s coverage: 27.3% of statements [2021-09-10T23:20:24.348Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-09-10T23:20:24.348Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-09-10T23:20:24.348Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.039s coverage: 51.4% of statements [2021-09-10T23:20:51.988Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.117s coverage: 77.3% of statements [2021-09-10T23:20:51.988Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.033s coverage: 94.4% of statements [2021-09-10T23:20:51.988Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-09-10T23:20:52.971Z] gofmt -l . [2021-09-10T23:20:53.566Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-09-10T23:20:53.856Z] $ docker stop --time=1 ccc36bebd7bbdf0e8e419b0ea227e5e79294ba143b587cb7f655d5d44e2f1804 [2021-09-10T23:20:55.971Z] $ docker rm -f ccc36bebd7bbdf0e8e419b0ea227e5e79294ba143b587cb7f655d5d44e2f1804 [Pipeline] // withDockerContainer [Pipeline] sh [2021-09-10T23:20:58.227Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-09-10T23:21:00.825Z] 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] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-09-10T23:21:03.318Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-09-10T23:21:03.590Z] [2021-09-10T23:21:03.590Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-09-10T23:21:03.959Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-09-10T23:21:04.234Z] arm64: Pulling from edgex-lftools-log-publisher [2021-09-10T23:21:04.234Z] 448f6bf000e3: Pulling fs layer [2021-09-10T23:21:04.234Z] f757da607395: Pulling fs layer [2021-09-10T23:21:04.234Z] 05883995daec: Pulling fs layer [2021-09-10T23:21:04.234Z] 8603b9c90790: Pulling fs layer [2021-09-10T23:21:04.234Z] 1560dd03e051: Pulling fs layer [2021-09-10T23:21:04.234Z] 27f5ce0e4adf: Pulling fs layer [2021-09-10T23:21:04.234Z] c2d8d7efcc4b: Pulling fs layer [2021-09-10T23:21:04.234Z] 1560dd03e051: Waiting [2021-09-10T23:21:04.234Z] 27f5ce0e4adf: Waiting [2021-09-10T23:21:04.234Z] c2d8d7efcc4b: Waiting [2021-09-10T23:21:04.234Z] 8603b9c90790: Waiting [2021-09-10T23:21:04.510Z] f757da607395: Verifying Checksum [2021-09-10T23:21:04.510Z] f757da607395: Download complete [2021-09-10T23:21:04.510Z] 8603b9c90790: Verifying Checksum [2021-09-10T23:21:04.510Z] 8603b9c90790: Download complete [2021-09-10T23:21:04.510Z] 1560dd03e051: Verifying Checksum [2021-09-10T23:21:04.510Z] 1560dd03e051: Download complete [2021-09-10T23:21:04.784Z] 27f5ce0e4adf: Verifying Checksum [2021-09-10T23:21:04.784Z] 27f5ce0e4adf: Download complete [2021-09-10T23:21:05.056Z] 05883995daec: Verifying Checksum [2021-09-10T23:21:05.056Z] 05883995daec: Download complete [2021-09-10T23:21:05.652Z] 448f6bf000e3: Verifying Checksum [2021-09-10T23:21:05.652Z] 448f6bf000e3: Download complete [2021-09-10T23:21:08.980Z] c2d8d7efcc4b: Verifying Checksum [2021-09-10T23:21:08.980Z] c2d8d7efcc4b: Download complete [2021-09-10T23:21:09.252Z] 448f6bf000e3: Pull complete [2021-09-10T23:21:09.851Z] f757da607395: Pull complete [2021-09-10T23:21:11.833Z] 05883995daec: Pull complete [2021-09-10T23:21:11.833Z] 8603b9c90790: Pull complete [2021-09-10T23:21:12.813Z] 1560dd03e051: Pull complete [2021-09-10T23:21:13.089Z] 27f5ce0e4adf: Pull complete [2021-09-10T23:21:27.583Z] c2d8d7efcc4b: Pull complete [2021-09-10T23:21:27.583Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-09-10T23:21:27.583Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-09-10T23:21:27.583Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-09-10T23:21:27.846Z] prd-ubuntu18.04-docker-arm64-4c-16g-2048 does not seem to be running inside a container [2021-09-10T23:21:29.648Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-09-10T23:21:34.412Z] $ docker top 88782709802a6fb3493014f6ed3691a13d586a4423ab8b566561a5d0ee0319e1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-10T23:21:40.290Z] ---> job-cost.sh [2021-09-10T23:21:40.290Z] lf-activate-venv: SKIPPING [2021-09-10T23:21:40.290Z] INFO: No Stack... [2021-09-10T23:21:42.874Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-09-10T23:21:42.874Z] INFO: Archiving Costs [Pipeline] sh [2021-09-10T23:21:43.532Z] + cat /w/workspace/app-functions-sdk-go/4/archives/cost.csv [2021-09-10T23:21:43.532Z] + cut -d, -f6 [Pipeline] lock [2021-09-10T23:21:43.596Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-944-4-stack-cost] [2021-09-10T23:21:43.604Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-944-4-stack-cost] did not exist. Created. [2021-09-10T23:21:43.604Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-944-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-09-10T23:21:46.027Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-09-10T23:21:46.107Z] Stashed 1 file(s) [Pipeline] } [2021-09-10T23:21:46.116Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-944-4-stack-cost] [Pipeline] // lock [Pipeline] } [2021-09-10T23:21:46.147Z] $ docker stop --time=1 88782709802a6fb3493014f6ed3691a13d586a4423ab8b566561a5d0ee0319e1 [2021-09-10T23:21:47.812Z] $ docker rm -f 88782709802a6fb3493014f6ed3691a13d586a4423ab8b566561a5d0ee0319e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [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] sh [2021-09-10T23:21:57.773Z] + '[' -d /w/workspace/ndry_app-functions-sdk-go_PR-944/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-09-10T23:21:59.646Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-10T23:21:59.963Z] ---> package-listing.sh [2021-09-10T23:21:59.963Z] ++ facter osfamily [2021-09-10T23:21:59.963Z] ++ tr '[:upper:]' '[:lower:]' [2021-09-10T23:22:00.229Z] + OS_FAMILY=redhat [2021-09-10T23:22:00.229Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-944 [2021-09-10T23:22:00.229Z] + START_PACKAGES=/tmp/packages_start.txt [2021-09-10T23:22:00.229Z] + END_PACKAGES=/tmp/packages_end.txt [2021-09-10T23:22:00.229Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-09-10T23:22:00.229Z] + PACKAGES=/tmp/packages_start.txt [2021-09-10T23:22:00.229Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-944 ']' [2021-09-10T23:22:00.229Z] + PACKAGES=/tmp/packages_end.txt [2021-09-10T23:22:00.229Z] + case "${OS_FAMILY}" in [2021-09-10T23:22:00.229Z] + rpm -qa [2021-09-10T23:22:00.229Z] + sort [2021-09-10T23:22:00.809Z] + '[' -f /tmp/packages_start.txt ']' [2021-09-10T23:22:00.809Z] + '[' -f /tmp/packages_end.txt ']' [2021-09-10T23:22:00.809Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-09-10T23:22:00.809Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-944 ']' [2021-09-10T23:22:00.809Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-944/archives/ [2021-09-10T23:22:00.809Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-944/archives/ [Pipeline] echo [2021-09-10T23:22:00.826Z] 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-944/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-09-10T23:22:01.134Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-09-10T23:22:03.273Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-10T23:22:03.273Z] [2021-09-10T23:22:03.273Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-09-10T23:22:03.603Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-10T23:22:03.603Z] latest: Pulling from edgex-lftools-log-publisher [2021-09-10T23:22:03.603Z] b4d181a07f80: Pulling fs layer [2021-09-10T23:22:03.603Z] a1111a8f2ec3: Pulling fs layer [2021-09-10T23:22:03.603Z] ed53099fbce6: Pulling fs layer [2021-09-10T23:22:03.603Z] dc539afda2c1: Pulling fs layer [2021-09-10T23:22:03.603Z] 77bc0d833cb6: Pulling fs layer [2021-09-10T23:22:03.603Z] 9065ff56babe: Pulling fs layer [2021-09-10T23:22:03.603Z] d287ab97295c: Pulling fs layer [2021-09-10T23:22:03.603Z] 77bc0d833cb6: Waiting [2021-09-10T23:22:03.603Z] 9065ff56babe: Waiting [2021-09-10T23:22:03.603Z] d287ab97295c: Waiting [2021-09-10T23:22:03.603Z] dc539afda2c1: Waiting [2021-09-10T23:22:03.867Z] a1111a8f2ec3: Verifying Checksum [2021-09-10T23:22:03.867Z] a1111a8f2ec3: Download complete [2021-09-10T23:22:03.867Z] dc539afda2c1: Verifying Checksum [2021-09-10T23:22:03.867Z] dc539afda2c1: Download complete [2021-09-10T23:22:04.130Z] 77bc0d833cb6: Verifying Checksum [2021-09-10T23:22:04.130Z] 77bc0d833cb6: Download complete [2021-09-10T23:22:04.130Z] 9065ff56babe: Verifying Checksum [2021-09-10T23:22:04.130Z] 9065ff56babe: Download complete [2021-09-10T23:22:04.130Z] ed53099fbce6: Verifying Checksum [2021-09-10T23:22:04.130Z] ed53099fbce6: Download complete [2021-09-10T23:22:06.029Z] b4d181a07f80: Verifying Checksum [2021-09-10T23:22:06.029Z] b4d181a07f80: Download complete [2021-09-10T23:22:07.923Z] b4d181a07f80: Pull complete [2021-09-10T23:22:07.923Z] a1111a8f2ec3: Pull complete [2021-09-10T23:22:07.923Z] ed53099fbce6: Pull complete [2021-09-10T23:22:07.923Z] dc539afda2c1: Pull complete [2021-09-10T23:22:07.923Z] 77bc0d833cb6: Pull complete [2021-09-10T23:22:07.923Z] 9065ff56babe: Pull complete [2021-09-10T23:22:07.923Z] d287ab97295c: Verifying Checksum [2021-09-10T23:22:07.923Z] d287ab97295c: Download complete [2021-09-10T23:22:13.349Z] d287ab97295c: Pull complete [2021-09-10T23:22:13.349Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-09-10T23:22:13.349Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-10T23:22:13.349Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-09-10T23:22:15.220Z] prd-centos7-docker-4c-2g-2047 does not seem to be running inside a container [2021-09-10T23:22:15.275Z] $ 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-944/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-944 -v /w/workspace/ndry_app-functions-sdk-go_PR-944:/w/workspace/ndry_app-functions-sdk-go_PR-944:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-944@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-944@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-09-10T23:22:18.823Z] $ docker top 846a9858181a8b3bcd11f9c5fae24f38f16e63aaa0511e43be2563140b565285 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-09-10T23:22:22.428Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-09-10T23:22:24.294Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-09-10T23:22:26.095Z] + ls /var/log/sa-host [2021-09-10T23:22:26.095Z] + sadf -c /var/log/sa-host/sa05 [2021-09-10T23:22:26.095Z] file_magic: OK [2021-09-10T23:22:26.095Z] HZ: Using current value: 100 [2021-09-10T23:22:26.095Z] file_header: OK [2021-09-10T23:22:26.095Z] 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-09-10T23:22:26.095Z] Statistics: [2021-09-10T23:22:26.095Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-09-10T23:22:26.095Z] File successfully converted to sysstat format version 12.0.3 [2021-09-10T23:22:26.095Z] + sadf -c /var/log/sa-host/sa10 [2021-09-10T23:22:26.095Z] file_magic: OK [2021-09-10T23:22:26.095Z] HZ: Using current value: 100 [2021-09-10T23:22:26.095Z] file_header: OK [2021-09-10T23:22:26.095Z] 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-09-10T23:22:26.095Z] Statistics: [2021-09-10T23:22:26.095Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-09-10T23:22:26.095Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-09-10T23:22:27.989Z] provisioning config files... [2021-09-10T23:22:29.733Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-944@tmp/config2265345517400119774tmp [Pipeline] { [Pipeline] echo [2021-09-10T23:22:29.789Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-10T23:22:31.512Z] ---> create-netrc.sh [Pipeline] } [2021-09-10T23:22:31.524Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-09-10T23:22:35.133Z] ---> python-tools-install.sh [Pipeline] echo [2021-09-10T23:22:35.148Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-10T23:22:37.011Z] ---> sudo-logs.sh [2021-09-10T23:22:37.011Z] Archiving 'sudo' log.. [2021-09-10T23:22:37.011Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2047.vexxhost.local: Name or service not known [2021-09-10T23:22:37.011Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2047.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-09-10T23:22:37.081Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-10T23:22:40.555Z] ---> job-cost.sh [2021-09-10T23:22:40.555Z] lf-activate-venv: SKIPPING [2021-09-10T23:22:40.555Z] DEBUG: total: 0.10999999940395355 [2021-09-10T23:22:40.555Z] INFO: Retrieving Stack Cost... [2021-09-10T23:22:40.555Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-09-10T23:22:40.555Z] INFO: Archiving Costs [Pipeline] echo [2021-09-10T23:22:40.572Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh