Started by user Ernesto Ojeda 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 ernestojeda for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from e741b2a411ecc9c8824b4f811649eccd3458966f+aa508a3e66e4a281fa0c2e3029608a5edd05d007 (cd761cd40c0404e5f64fdbdb3e6d2ab74797ec17) 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-ssh7464860186371665936.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c141c1271097dc03ad291c2451e310eaf98cdd06 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-ssh6175881136390302429.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 c141c1271097dc03ad291c2451e310eaf98cdd06 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-964/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-964/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5929568365295859866.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c141c1271097dc03ad291c2451e310eaf98cdd06 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c141c1271097dc03ad291c2451e310eaf98cdd06 # timeout=10 Commit message: "Merge pull request #355 from ernestojeda/error-check-post-build" > 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-ssh214017502826140860.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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-964/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-964/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7380253914589508380.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 ‘prd-centos7-docker-4c-2g-185’ is offline Running on prd-centos7-docker-4c-2g-230 in /w/workspace/ndry_app-functions-sdk-go_PR-964 [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-964 # 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-964@tmp/jenkins-gitclient-ssh8663805399173089106.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/main commit aa508a3e66e4a281fa0c2e3029608a5edd05d007 into PR head commit e741b2a411ecc9c8824b4f811649eccd3458966f Merge succeeded, producing e741b2a411ecc9c8824b4f811649eccd3458966f Checking out Revision e741b2a411ecc9c8824b4f811649eccd3458966f (PR-964) > 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-964@tmp/jenkins-gitclient-ssh6631340479238783900.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/964/head:refs/remotes/origin/PR-964 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e741b2a411ecc9c8824b4f811649eccd3458966f # 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-964@tmp/jenkins-gitclient-ssh5801592235157529066.key > git merge aa508a3e66e4a281fa0c2e3029608a5edd05d007 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e741b2a411ecc9c8824b4f811649eccd3458966f # timeout=10 Commit message: "ci: update app-service-template for LTS" > git rev-list --no-walk e741b2a411ecc9c8824b4f811649eccd3458966f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-06T18:23:40.603Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-06T18:23:40.705Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-06T18:23:40.732Z] ========================================================= [2021-10-06T18:23:40.732Z] EdgeX Global Pipelines Version Info [2021-10-06T18:23:40.732Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-06T18:23:42.072Z] ------------------- [2021-10-06T18:23:42.072Z] stable info: [2021-10-06T18:23:42.072Z] ------------------- [2021-10-06T18:23:42.072Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-06T18:23:42.072Z] Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 [2021-10-06T18:23:42.072Z] Message: update stable to v1.0.206 [2021-10-06T18:23:42.668Z] ------------------- [2021-10-06T18:23:42.669Z] experimental info: [2021-10-06T18:23:42.669Z] ------------------- [2021-10-06T18:23:42.669Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-06T18:23:42.669Z] Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 [2021-10-06T18:23:42.669Z] Message: update experimental to v1.0.206 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-06T18:23:42.816Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-10-06T18:23:42.840Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-10-06T18:23:42.863Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-06T18:23:42.892Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-06T18:23:42.915Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-06T18:23:42.938Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-06T18:23:42.960Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-10-06T18:23:42.982Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-06T18:23:43.005Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-10-06T18:23:43.034Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-06T18:23:43.057Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-06T18:23:43.079Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-06T18:23:43.109Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2021-10-06T18:23:43.132Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-06T18:23:43.154Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-06T18:23:43.179Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-10-06T18:23:43.202Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-10-06T18:23:43.226Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-06T18:23:43.250Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-06T18:23:43.279Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-06T18:23:43.302Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-06T18:23:43.325Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-10-06T18:23:43.353Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-10-06T18:23:43.382Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-06T18:23:43.411Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-06T18:23:43.439Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-10-06T18:23:43.472Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-06T18:23:43.496Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-964 [Pipeline] echo [2021-10-06T18:23:43.518Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-964 [Pipeline] echo [2021-10-06T18:23:43.541Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-964 [Pipeline] echo [2021-10-06T18:23:43.577Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e741b2a411ecc9c8824b4f811649eccd3458966f [Pipeline] echo [2021-10-06T18:23:43.601Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e741b2a [Pipeline] echo [2021-10-06T18:23:43.624Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-06T18:23:44.165Z] + git log --format=format:%s -1 e741b2a411ecc9c8824b4f811649eccd3458966f [Pipeline] echo [2021-10-06T18:23:44.239Z] GIT_COMMIT: e741b2a411ecc9c8824b4f811649eccd3458966f, Commit Message: ci: update app-service-template for LTS [Pipeline] echo [2021-10-06T18:23:44.252Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-06T18:23:44.820Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-06T18:23:44.820Z] [2021-10-06T18:23:44.820Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-06T18:23:45.164Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-06T18:23:51.013Z] latest: Pulling from edgex-devops/git-semver [2021-10-06T18:23:51.013Z] 31603596830f: Pulling fs layer [2021-10-06T18:23:51.013Z] 04fac38145f0: Pulling fs layer [2021-10-06T18:23:51.013Z] 701f6daf10bf: Pulling fs layer [2021-10-06T18:23:51.013Z] 24f72da36158: Pulling fs layer [2021-10-06T18:23:51.013Z] 24f72da36158: Waiting [2021-10-06T18:23:51.013Z] 04fac38145f0: Verifying Checksum [2021-10-06T18:23:51.013Z] 04fac38145f0: Download complete [2021-10-06T18:23:51.013Z] 31603596830f: Verifying Checksum [2021-10-06T18:23:51.013Z] 31603596830f: Download complete [2021-10-06T18:23:51.013Z] 24f72da36158: Verifying Checksum [2021-10-06T18:23:51.013Z] 24f72da36158: Download complete [2021-10-06T18:23:51.013Z] 701f6daf10bf: Verifying Checksum [2021-10-06T18:23:51.013Z] 701f6daf10bf: Download complete [2021-10-06T18:23:51.013Z] 31603596830f: Pull complete [2021-10-06T18:23:51.013Z] 04fac38145f0: Pull complete [2021-10-06T18:23:51.288Z] 701f6daf10bf: Pull complete [2021-10-06T18:23:51.562Z] 24f72da36158: Pull complete [2021-10-06T18:23:51.562Z] Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 [2021-10-06T18:23:51.562Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-06T18:23:51.562Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-06T18:23:51.687Z] prd-centos7-docker-4c-2g-230 does not seem to be running inside a container [2021-10-06T18:23:51.777Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-964 -v /w/workspace/ndry_app-functions-sdk-go_PR-964:/w/workspace/ndry_app-functions-sdk-go_PR-964:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-964@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-964@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-10-06T18:23:52.474Z] $ docker top 2cf4a418bf7bc607024436e86d8dbab60e868d76cb7f0792395e98f4bbec7c13 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-06T18:23:52.600Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-06T18:23:52.600Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-06T18:23:52.717Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-06T18:23:52.719Z] $ docker exec 2cf4a418bf7bc607024436e86d8dbab60e868d76cb7f0792395e98f4bbec7c13 ssh-agent [2021-10-06T18:23:52.811Z] SSH_AUTH_SOCK=/tmp/ssh-MGtzgYek5sxB/agent.15 [2021-10-06T18:23:52.811Z] SSH_AGENT_PID=21 [2021-10-06T18:23:52.830Z] Running ssh-add (command line suppressed) [2021-10-06T18:23:52.924Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-964@tmp/private_key_2881645528142377125.key (/w/workspace/ndry_app-functions-sdk-go_PR-964@tmp/private_key_2881645528142377125.key) [2021-10-06T18:23:52.949Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-06T18:23:53.283Z] + git tag --points-at HEAD [Pipeline] } [2021-10-06T18:23:53.306Z] $ docker exec --env ******** --env ******** 2cf4a418bf7bc607024436e86d8dbab60e868d76cb7f0792395e98f4bbec7c13 ssh-agent -k [2021-10-06T18:23:53.392Z] unset SSH_AUTH_SOCK; [2021-10-06T18:23:53.392Z] unset SSH_AGENT_PID; [2021-10-06T18:23:53.392Z] echo Agent pid 21 killed; [2021-10-06T18:23:53.415Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-06T18:23:53.457Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-06T18:23:53.457Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-06T18:23:53.566Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-06T18:23:53.570Z] $ docker exec 2cf4a418bf7bc607024436e86d8dbab60e868d76cb7f0792395e98f4bbec7c13 ssh-agent [2021-10-06T18:23:53.705Z] SSH_AUTH_SOCK=/tmp/ssh-b2Q2qjOsBBMt/agent.57 [2021-10-06T18:23:53.705Z] SSH_AGENT_PID=64 [2021-10-06T18:23:53.720Z] Running ssh-add (command line suppressed) [2021-10-06T18:23:53.814Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-964@tmp/private_key_3128265142287868135.key (/w/workspace/ndry_app-functions-sdk-go_PR-964@tmp/private_key_3128265142287868135.key) [2021-10-06T18:23:53.842Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-06T18:23:54.172Z] + git semver init [2021-10-06T18:23:54.172Z] # -> Open(): unable to determine branch for HEAD [2021-10-06T18:23:54.172Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-964/.git [2021-10-06T18:23:54.172Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-964 [2021-10-06T18:23:54.172Z] # $SEMVER_REMOTE_NAME = origin [2021-10-06T18:23:54.172Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-06T18:23:54.172Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-06T18:23:54.172Z] # $SEMVER_BRANCH = PR-964 [2021-10-06T18:23:54.172Z] # $SEMVER_TEMP = /tmp/semver-652150701 [2021-10-06T18:23:54.172Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-10-06T18:23:56.788Z] # '/tmp/semver-652150701' -> '/w/workspace/ndry_app-functions-sdk-go_PR-964/.semver' [2021-10-06T18:23:56.788Z] # -> Force: false [2021-10-06T18:23:56.788Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-964/.semver [Pipeline] } [2021-10-06T18:23:56.802Z] $ docker exec --env ******** --env ******** 2cf4a418bf7bc607024436e86d8dbab60e868d76cb7f0792395e98f4bbec7c13 ssh-agent -k [2021-10-06T18:23:56.897Z] unset SSH_AUTH_SOCK; [2021-10-06T18:23:56.898Z] unset SSH_AGENT_PID; [2021-10-06T18:23:56.898Z] echo Agent pid 64 killed; [2021-10-06T18:23:56.918Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-06T18:23:57.315Z] + git semver [Pipeline] } [2021-10-06T18:23:57.342Z] $ docker stop --time=1 2cf4a418bf7bc607024436e86d8dbab60e868d76cb7f0792395e98f4bbec7c13 [2021-10-06T18:23:58.649Z] $ docker rm -f 2cf4a418bf7bc607024436e86d8dbab60e868d76cb7f0792395e98f4bbec7c13 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-06T18:23:59.040Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-06T18:23:59.831Z] Stashed 1 file(s) [Pipeline] echo [2021-10-06T18:23:59.835Z] [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-10-06T18:24:15.062Z] Still waiting to schedule task [2021-10-06T18:24:15.062Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-10-06T18:24:15.064Z] Still waiting to schedule task [2021-10-06T18:24:15.064Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-10-06T18:28:14.488Z] Running on prd-centos7-docker-4c-2g-237 in /w/workspace/ndry_app-functions-sdk-go_PR-964 [Pipeline] { [Pipeline] ws [2021-10-06T18:28:14.507Z] Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-10-06T18:28:14.787Z] The recommended git tool is: git [2021-10-06T18:28:19.149Z] using credential edgex-jenkins-ssh [2021-10-06T18:28:19.164Z] Cloning the remote Git repository [2021-10-06T18:28:19.188Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-10-06T18:28:19.269Z] > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 [2021-10-06T18:28:19.314Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-10-06T18:28:19.315Z] > git --version # timeout=10 [2021-10-06T18:28:19.321Z] > git --version # 'git version 2.24.4' [2021-10-06T18:28:19.321Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-06T18:28:19.366Z] [INFO] Currently running in a labeled security context [2021-10-06T18:28:19.366Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-06T18:28:19.366Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/3@tmp/jenkins-gitclient-ssh1658254627868111780.key [2021-10-06T18:28:19.375Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-06T18:28:21.841Z] Merging remotes/origin/main commit aa508a3e66e4a281fa0c2e3029608a5edd05d007 into PR head commit e741b2a411ecc9c8824b4f811649eccd3458966f [2021-10-06T18:28:21.972Z] Merge succeeded, producing e741b2a411ecc9c8824b4f811649eccd3458966f [2021-10-06T18:28:21.972Z] Checking out Revision e741b2a411ecc9c8824b4f811649eccd3458966f (PR-964) [2021-10-06T18:28:21.187Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-10-06T18:28:21.199Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-06T18:28:21.211Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-10-06T18:28:21.233Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-10-06T18:28:21.233Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-06T18:28:21.235Z] [INFO] Currently running in a labeled security context [2021-10-06T18:28:21.235Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-06T18:28:21.236Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/3@tmp/jenkins-gitclient-ssh4306505174038751731.key [2021-10-06T18:28:21.243Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/964/head:refs/remotes/origin/PR-964 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-06T18:28:21.849Z] > git config core.sparsecheckout # timeout=10 [2021-10-06T18:28:21.859Z] > git checkout -f e741b2a411ecc9c8824b4f811649eccd3458966f # timeout=10 [2021-10-06T18:28:21.923Z] > git remote # timeout=10 [2021-10-06T18:28:21.928Z] > git config --get remote.origin.url # timeout=10 [2021-10-06T18:28:21.933Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-06T18:28:21.934Z] [INFO] Currently running in a labeled security context [2021-10-06T18:28:21.934Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-06T18:28:21.934Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/3@tmp/jenkins-gitclient-ssh815366496141257292.key [2021-10-06T18:28:21.938Z] > git merge aa508a3e66e4a281fa0c2e3029608a5edd05d007 # timeout=10 [2021-10-06T18:28:21.948Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-06T18:28:21.969Z] > git config core.sparsecheckout # timeout=10 [2021-10-06T18:28:21.979Z] > git checkout -f e741b2a411ecc9c8824b4f811649eccd3458966f # timeout=10 [2021-10-06T18:28:26.281Z] Commit message: "ci: update app-service-template for LTS" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2021-10-06T18:28:27.009Z] ========================================================= [2021-10-06T18:28:27.009Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-06T18:28:27.009Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-10-06T18:28:27.521Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-06T18:28:37.665Z] Error response from daemon: Get "https://nexus3.edgexfoundry.org:10003/v2/": net/http: TLS handshake timeout [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-06T18:28:38.728Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-06T18:28:38.728Z] [2021-10-06T18:28:38.728Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-06T18:28:39.163Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-06T18:28:44.751Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-06T18:28:44.751Z] b4d181a07f80: Pulling fs layer [2021-10-06T18:28:44.751Z] a1111a8f2ec3: Pulling fs layer [2021-10-06T18:28:44.751Z] ed53099fbce6: Pulling fs layer [2021-10-06T18:28:44.751Z] dc539afda2c1: Pulling fs layer [2021-10-06T18:28:44.751Z] 77bc0d833cb6: Pulling fs layer [2021-10-06T18:28:44.751Z] 9065ff56babe: Pulling fs layer [2021-10-06T18:28:44.751Z] d287ab97295c: Pulling fs layer [2021-10-06T18:28:44.751Z] 77bc0d833cb6: Waiting [2021-10-06T18:28:44.751Z] 9065ff56babe: Waiting [2021-10-06T18:28:44.751Z] d287ab97295c: Waiting [2021-10-06T18:28:44.751Z] dc539afda2c1: Waiting [2021-10-06T18:28:44.751Z] a1111a8f2ec3: Verifying Checksum [2021-10-06T18:28:44.751Z] a1111a8f2ec3: Download complete [2021-10-06T18:28:44.751Z] dc539afda2c1: Verifying Checksum [2021-10-06T18:28:44.751Z] dc539afda2c1: Download complete [2021-10-06T18:28:44.751Z] ed53099fbce6: Verifying Checksum [2021-10-06T18:28:44.751Z] ed53099fbce6: Download complete [2021-10-06T18:28:44.751Z] 9065ff56babe: Verifying Checksum [2021-10-06T18:28:44.751Z] 9065ff56babe: Download complete [2021-10-06T18:28:44.751Z] 77bc0d833cb6: Verifying Checksum [2021-10-06T18:28:44.751Z] 77bc0d833cb6: Download complete [2021-10-06T18:28:45.020Z] b4d181a07f80: Verifying Checksum [2021-10-06T18:28:45.020Z] b4d181a07f80: Download complete [2021-10-06T18:28:46.465Z] b4d181a07f80: Pull complete [2021-10-06T18:28:46.744Z] a1111a8f2ec3: Pull complete [2021-10-06T18:28:47.037Z] d287ab97295c: Verifying Checksum [2021-10-06T18:28:47.037Z] d287ab97295c: Download complete [2021-10-06T18:28:47.340Z] ed53099fbce6: Pull complete [2021-10-06T18:28:47.340Z] dc539afda2c1: Pull complete [2021-10-06T18:28:47.635Z] 77bc0d833cb6: Pull complete [2021-10-06T18:28:47.931Z] 9065ff56babe: Pull complete [2021-10-06T18:28:53.685Z] d287ab97295c: Pull complete [2021-10-06T18:28:53.685Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-06T18:28:53.685Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-06T18:28:53.685Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-06T18:28:53.816Z] prd-centos7-docker-4c-2g-237 does not seem to be running inside a container [2021-10-06T18:28:53.927Z] $ 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/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-06T18:28:56.352Z] $ docker top c263aa30ed21c4389b32450a804176ab943eed169747220a7ed0f99b0a98f4fe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-06T18:28:56.867Z] ---> job-cost.sh [2021-10-06T18:28:56.868Z] lf-activate-venv: SKIPPING [2021-10-06T18:28:56.868Z] INFO: No Stack... [2021-10-06T18:28:57.140Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-06T18:28:57.730Z] INFO: Archiving Costs [Pipeline] sh [2021-10-06T18:28:58.084Z] + cat /w/workspace/app-functions-sdk-go/3/archives/cost.csv [2021-10-06T18:28:58.084Z] + cut -d, -f6 [Pipeline] lock [2021-10-06T18:28:58.135Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-964-3-stack-cost] [2021-10-06T18:28:58.149Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-964-3-stack-cost] did not exist. Created. [2021-10-06T18:28:58.149Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-964-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-06T18:28:58.520Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-06T18:28:58.850Z] Stashed 1 file(s) [Pipeline] } [2021-10-06T18:28:58.859Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-964-3-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-06T18:28:58.894Z] $ docker stop --time=1 c263aa30ed21c4389b32450a804176ab943eed169747220a7ed0f99b0a98f4fe [2021-10-06T18:29:00.055Z] $ docker rm -f c263aa30ed21c4389b32450a804176ab943eed169747220a7ed0f99b0a98f4fe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-06T18:29:00.850Z] Failed in branch amd64 [2021-10-06T18:29:19.806Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-236 in /w/workspace/ndry_app-functions-sdk-go_PR-964 [Pipeline] { [Pipeline] ws [2021-10-06T18:29:19.838Z] Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-10-06T18:29:20.176Z] The recommended git tool is: git [2021-10-06T18:29:30.792Z] using credential edgex-jenkins-ssh [2021-10-06T18:29:30.815Z] Cloning the remote Git repository [2021-10-06T18:29:30.871Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-10-06T18:29:30.999Z] > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 [2021-10-06T18:29:31.301Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-10-06T18:29:31.302Z] > git --version # timeout=10 [2021-10-06T18:29:31.324Z] > git --version # 'git version 2.17.1' [2021-10-06T18:29:31.326Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-06T18:29:31.436Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-06T18:29:34.711Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-10-06T18:29:34.726Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-06T18:29:34.760Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-10-06T18:29:34.798Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-10-06T18:29:34.798Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-06T18:29:34.811Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/964/head:refs/remotes/origin/PR-964 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-06T18:29:36.406Z] Merging remotes/origin/main commit aa508a3e66e4a281fa0c2e3029608a5edd05d007 into PR head commit e741b2a411ecc9c8824b4f811649eccd3458966f [2021-10-06T18:29:36.714Z] Merge succeeded, producing e741b2a411ecc9c8824b4f811649eccd3458966f [2021-10-06T18:29:36.715Z] Checking out Revision e741b2a411ecc9c8824b4f811649eccd3458966f (PR-964) [2021-10-06T18:29:36.438Z] > git config core.sparsecheckout # timeout=10 [2021-10-06T18:29:36.456Z] > git checkout -f e741b2a411ecc9c8824b4f811649eccd3458966f # timeout=10 [2021-10-06T18:29:36.611Z] > git remote # timeout=10 [2021-10-06T18:29:36.633Z] > git config --get remote.origin.url # timeout=10 [2021-10-06T18:29:36.646Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-06T18:29:36.658Z] > git merge aa508a3e66e4a281fa0c2e3029608a5edd05d007 # timeout=10 [2021-10-06T18:29:36.688Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-06T18:29:36.734Z] > git config core.sparsecheckout # timeout=10 [2021-10-06T18:29:36.744Z] > git checkout -f e741b2a411ecc9c8824b4f811649eccd3458966f # timeout=10 [2021-10-06T18:29:41.825Z] Commit message: "ci: update app-service-template for LTS" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2021-10-06T18:29:43.038Z] ========================================================= [2021-10-06T18:29:43.038Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-06T18:29:43.038Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-10-06T18:29:44.042Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-06T18:29:46.138Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-06T18:29:46.138Z] 552d1f2373af: Pulling fs layer [2021-10-06T18:29:46.138Z] ea3f2d53f512: Pulling fs layer [2021-10-06T18:29:46.138Z] 9e70ebbbe112: Pulling fs layer [2021-10-06T18:29:46.138Z] 7a9cfe048b4a: Pulling fs layer [2021-10-06T18:29:46.138Z] 72dc09318566: Pulling fs layer [2021-10-06T18:29:46.138Z] 8c702c4349fe: Pulling fs layer [2021-10-06T18:29:46.138Z] 9aa87de47cbb: Pulling fs layer [2021-10-06T18:29:46.138Z] 68d97f74340d: Pulling fs layer [2021-10-06T18:29:46.138Z] 7a9cfe048b4a: Waiting [2021-10-06T18:29:46.138Z] 8c702c4349fe: Waiting [2021-10-06T18:29:46.138Z] 9aa87de47cbb: Waiting [2021-10-06T18:29:46.138Z] 68d97f74340d: Waiting [2021-10-06T18:29:46.138Z] 72dc09318566: Waiting [2021-10-06T18:29:46.138Z] 9e70ebbbe112: Verifying Checksum [2021-10-06T18:29:46.138Z] 9e70ebbbe112: Download complete [2021-10-06T18:29:46.138Z] ea3f2d53f512: Download complete [2021-10-06T18:29:46.138Z] 72dc09318566: Verifying Checksum [2021-10-06T18:29:46.138Z] 72dc09318566: Download complete [2021-10-06T18:29:46.138Z] 8c702c4349fe: Verifying Checksum [2021-10-06T18:29:46.138Z] 8c702c4349fe: Download complete [2021-10-06T18:29:46.138Z] 552d1f2373af: Verifying Checksum [2021-10-06T18:29:46.138Z] 552d1f2373af: Download complete [2021-10-06T18:29:46.440Z] 9aa87de47cbb: Verifying Checksum [2021-10-06T18:29:46.440Z] 9aa87de47cbb: Download complete [2021-10-06T18:29:47.089Z] 552d1f2373af: Pull complete [2021-10-06T18:29:47.767Z] ea3f2d53f512: Pull complete [2021-10-06T18:29:48.280Z] 9e70ebbbe112: Pull complete [2021-10-06T18:30:01.334Z] 68d97f74340d: Download complete [2021-10-06T18:30:01.334Z] 7a9cfe048b4a: Verifying Checksum [2021-10-06T18:30:01.334Z] 7a9cfe048b4a: Download complete [2021-10-06T18:30:11.979Z] 7a9cfe048b4a: Pull complete [2021-10-06T18:30:11.979Z] 72dc09318566: Pull complete [2021-10-06T18:30:11.979Z] 8c702c4349fe: Pull complete [2021-10-06T18:30:11.979Z] 9aa87de47cbb: Pull complete [2021-10-06T18:30:17.767Z] 68d97f74340d: Pull complete [2021-10-06T18:30:18.099Z] Digest: sha256:9b6c52be4db9d7a78b8493d96040cedbcd78e66b6ec4ceed235a6b9a2fd17037 [2021-10-06T18:30:18.099Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-06T18:30:18.099Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh [2021-10-06T18:30:18.754Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-06T18:30:19.242Z] + docker inspect -f . ci-base-image-arm64 [2021-10-06T18:30:19.243Z] . [Pipeline] withDockerContainer [2021-10-06T18:30:19.546Z] prd-ubuntu18.04-docker-arm64-4c-16g-236 does not seem to be running inside a container [2021-10-06T18:30:19.757Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-06T18:30:26.120Z] $ docker top 55d0c61b16d5903db2c830a10f090c630aee24918417a1d9c2d03221b1ea5bf2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-06T18:30:27.287Z] + go version [2021-10-06T18:30:27.287Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-06T18:30:27.437Z] $ docker stop --time=1 55d0c61b16d5903db2c830a10f090c630aee24918417a1d9c2d03221b1ea5bf2 [2021-10-06T18:30:29.290Z] $ docker rm -f 55d0c61b16d5903db2c830a10f090c630aee24918417a1d9c2d03221b1ea5bf2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-06T18:30:30.238Z] + docker inspect -f . ci-base-image-arm64 [2021-10-06T18:30:30.238Z] . [Pipeline] withDockerContainer [2021-10-06T18:30:30.564Z] prd-ubuntu18.04-docker-arm64-4c-16g-236 does not seem to be running inside a container [2021-10-06T18:30:30.721Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-06T18:30:32.368Z] $ docker top 53f525195ee1229d4ad14d52ca664ba3d58656cfa296592e205d9bd9b17be717 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-06T18:30:33.660Z] + make test [2021-10-06T18:30:33.660Z] make -C ./app-service-template build [2021-10-06T18:30:33.660Z] make: make: Operation not permitted [2021-10-06T18:30:33.660Z] make: *** [Makefile:22: build] Error 127 [Pipeline] } [2021-10-06T18:30:33.711Z] $ docker stop --time=1 53f525195ee1229d4ad14d52ca664ba3d58656cfa296592e205d9bd9b17be717 [2021-10-06T18:30:35.767Z] $ docker rm -f 53f525195ee1229d4ad14d52ca664ba3d58656cfa296592e205d9bd9b17be717 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-06T18:30:37.066Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-06T18:30:37.066Z] [2021-10-06T18:30:37.066Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-06T18:30:37.578Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-06T18:30:37.870Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-06T18:30:37.870Z] 448f6bf000e3: Pulling fs layer [2021-10-06T18:30:37.870Z] f757da607395: Pulling fs layer [2021-10-06T18:30:37.870Z] 05883995daec: Pulling fs layer [2021-10-06T18:30:37.870Z] 8603b9c90790: Pulling fs layer [2021-10-06T18:30:37.870Z] 1560dd03e051: Pulling fs layer [2021-10-06T18:30:37.870Z] 27f5ce0e4adf: Pulling fs layer [2021-10-06T18:30:37.870Z] c2d8d7efcc4b: Pulling fs layer [2021-10-06T18:30:37.870Z] 1560dd03e051: Waiting [2021-10-06T18:30:37.870Z] 27f5ce0e4adf: Waiting [2021-10-06T18:30:37.870Z] c2d8d7efcc4b: Waiting [2021-10-06T18:30:37.870Z] 8603b9c90790: Waiting [2021-10-06T18:30:38.388Z] f757da607395: Verifying Checksum [2021-10-06T18:30:38.388Z] f757da607395: Download complete [2021-10-06T18:30:38.388Z] 8603b9c90790: Verifying Checksum [2021-10-06T18:30:38.388Z] 8603b9c90790: Download complete [2021-10-06T18:30:38.388Z] 1560dd03e051: Verifying Checksum [2021-10-06T18:30:38.388Z] 1560dd03e051: Download complete [2021-10-06T18:30:38.388Z] 27f5ce0e4adf: Download complete [2021-10-06T18:30:38.701Z] 05883995daec: Verifying Checksum [2021-10-06T18:30:38.701Z] 05883995daec: Download complete [2021-10-06T18:30:39.809Z] 448f6bf000e3: Verifying Checksum [2021-10-06T18:30:39.809Z] 448f6bf000e3: Download complete [2021-10-06T18:30:42.901Z] c2d8d7efcc4b: Verifying Checksum [2021-10-06T18:30:42.901Z] c2d8d7efcc4b: Download complete [2021-10-06T18:30:42.901Z] 448f6bf000e3: Pull complete [2021-10-06T18:30:43.580Z] f757da607395: Pull complete [2021-10-06T18:30:44.907Z] 05883995daec: Pull complete [2021-10-06T18:30:45.688Z] 8603b9c90790: Pull complete [2021-10-06T18:30:46.226Z] 1560dd03e051: Pull complete [2021-10-06T18:30:46.532Z] 27f5ce0e4adf: Pull complete [2021-10-06T18:31:02.231Z] c2d8d7efcc4b: Pull complete [2021-10-06T18:31:02.232Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-06T18:31:02.232Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-06T18:31:02.232Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-06T18:31:02.598Z] prd-ubuntu18.04-docker-arm64-4c-16g-236 does not seem to be running inside a container [2021-10-06T18:31:02.796Z] $ 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/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-06T18:31:08.393Z] $ docker top 1029e39fdf8ad1a88da784192ac7a5c2fd46c38a3e493bfce47c6cbae271c01d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-06T18:31:09.519Z] ---> job-cost.sh [2021-10-06T18:31:09.519Z] lf-activate-venv: SKIPPING [2021-10-06T18:31:09.519Z] INFO: No Stack... [2021-10-06T18:31:24.857Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-06T18:31:24.857Z] INFO: Archiving Costs [Pipeline] sh [2021-10-06T18:31:25.683Z] + cat /w/workspace/app-functions-sdk-go/3/archives/cost.csv [2021-10-06T18:31:25.683Z] + cut -d, -f6 [Pipeline] lock [2021-10-06T18:31:25.796Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-964-3-stack-cost] [2021-10-06T18:31:25.805Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-964-3-stack-cost] did not exist. Created. [2021-10-06T18:31:25.806Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-964-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-06T18:31:26.636Z] /w/workspace/app-functions-sdk-go/3@tmp/durable-29a3f0be/script.sh: 1: /w/workspace/app-functions-sdk-go/3@tmp/durable-29a3f0be/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-06T18:31:27.435Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-06T18:31:27.484Z] Warning: overwriting stash ‘stack-cost’ [2021-10-06T18:31:28.446Z] Stashed 1 file(s) [Pipeline] } [2021-10-06T18:31:28.460Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-964-3-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-06T18:31:28.496Z] $ docker stop --time=1 1029e39fdf8ad1a88da784192ac7a5c2fd46c38a3e493bfce47c6cbae271c01d [2021-10-06T18:31:30.171Z] $ docker rm -f 1029e39fdf8ad1a88da784192ac7a5c2fd46c38a3e493bfce47c6cbae271c01d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-06T18:31:30.776Z] Failed in branch arm64 [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-10-06T18:31:32.551Z] + '[' -d /w/workspace/ndry_app-functions-sdk-go_PR-964/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-06T18:31:33.121Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-06T18:31:33.492Z] ---> package-listing.sh [2021-10-06T18:31:33.492Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-06T18:31:33.492Z] ++ facter osfamily [2021-10-06T18:31:33.763Z] + OS_FAMILY=redhat [2021-10-06T18:31:33.763Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-964 [2021-10-06T18:31:33.763Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-06T18:31:33.763Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-06T18:31:33.763Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-06T18:31:33.763Z] + PACKAGES=/tmp/packages_start.txt [2021-10-06T18:31:33.763Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-964 ']' [2021-10-06T18:31:33.763Z] + PACKAGES=/tmp/packages_end.txt [2021-10-06T18:31:33.763Z] + case "${OS_FAMILY}" in [2021-10-06T18:31:33.763Z] + sort [2021-10-06T18:31:33.763Z] + rpm -qa [2021-10-06T18:31:34.357Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-06T18:31:34.357Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-06T18:31:34.357Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-06T18:31:34.357Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-964 ']' [2021-10-06T18:31:34.357Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-964/archives/ [2021-10-06T18:31:34.357Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-964/archives/ [Pipeline] echo [2021-10-06T18:31:34.375Z] 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-964/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-10-06T18:31:35.116Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-06T18:31:35.481Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-06T18:31:35.481Z] [2021-10-06T18:31:35.481Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-06T18:31:35.855Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-06T18:31:35.855Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-06T18:31:35.855Z] b4d181a07f80: Pulling fs layer [2021-10-06T18:31:35.855Z] a1111a8f2ec3: Pulling fs layer [2021-10-06T18:31:35.855Z] ed53099fbce6: Pulling fs layer [2021-10-06T18:31:35.855Z] dc539afda2c1: Pulling fs layer [2021-10-06T18:31:35.855Z] 77bc0d833cb6: Pulling fs layer [2021-10-06T18:31:35.855Z] 9065ff56babe: Pulling fs layer [2021-10-06T18:31:35.855Z] d287ab97295c: Pulling fs layer [2021-10-06T18:31:35.855Z] 77bc0d833cb6: Waiting [2021-10-06T18:31:35.855Z] 9065ff56babe: Waiting [2021-10-06T18:31:35.855Z] d287ab97295c: Waiting [2021-10-06T18:31:35.855Z] dc539afda2c1: Waiting [2021-10-06T18:31:36.445Z] a1111a8f2ec3: Verifying Checksum [2021-10-06T18:31:36.445Z] a1111a8f2ec3: Download complete [2021-10-06T18:31:36.445Z] dc539afda2c1: Verifying Checksum [2021-10-06T18:31:36.445Z] dc539afda2c1: Download complete [2021-10-06T18:31:36.445Z] ed53099fbce6: Verifying Checksum [2021-10-06T18:31:36.445Z] ed53099fbce6: Download complete [2021-10-06T18:31:36.445Z] 9065ff56babe: Verifying Checksum [2021-10-06T18:31:36.445Z] 9065ff56babe: Download complete [2021-10-06T18:31:36.445Z] 77bc0d833cb6: Verifying Checksum [2021-10-06T18:31:36.445Z] 77bc0d833cb6: Download complete [2021-10-06T18:31:38.408Z] b4d181a07f80: Verifying Checksum [2021-10-06T18:31:38.408Z] b4d181a07f80: Download complete [2021-10-06T18:31:40.057Z] b4d181a07f80: Pull complete [2021-10-06T18:31:40.057Z] a1111a8f2ec3: Pull complete [2021-10-06T18:31:40.651Z] d287ab97295c: Verifying Checksum [2021-10-06T18:31:40.651Z] d287ab97295c: Download complete [2021-10-06T18:31:40.921Z] ed53099fbce6: Pull complete [2021-10-06T18:31:40.921Z] dc539afda2c1: Pull complete [2021-10-06T18:31:41.200Z] 77bc0d833cb6: Pull complete [2021-10-06T18:31:41.200Z] 9065ff56babe: Pull complete [2021-10-06T18:31:46.720Z] d287ab97295c: Pull complete [2021-10-06T18:31:46.720Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-06T18:31:46.720Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-06T18:31:46.720Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-06T18:31:46.853Z] prd-centos7-docker-4c-2g-230 does not seem to be running inside a container [2021-10-06T18:31:46.956Z] $ 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-964/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-964 -v /w/workspace/ndry_app-functions-sdk-go_PR-964:/w/workspace/ndry_app-functions-sdk-go_PR-964:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-964@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-964@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-10-06T18:31:49.286Z] $ docker top 59f8e08dfa953b48f6971e174934961ff8ddcae68bdfc096b569bdbbcbfcef34 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-06T18:31:49.691Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-06T18:31:50.016Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-06T18:31:50.342Z] + ls /var/log/sa-host [2021-10-06T18:31:50.342Z] + sadf -c /var/log/sa-host/sa06 [2021-10-06T18:31:50.342Z] file_magic: OK [2021-10-06T18:31:50.342Z] HZ: Using current value: 100 [2021-10-06T18:31:50.342Z] file_header: OK [2021-10-06T18:31:50.342Z] 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-10-06T18:31:50.342Z] Statistics: [2021-10-06T18:31:50.342Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-06T18:31:50.342Z] File successfully converted to sysstat format version 12.0.3 [2021-10-06T18:31:50.342Z] + sadf -c /var/log/sa-host/sa30 [2021-10-06T18:31:50.342Z] file_magic: OK [2021-10-06T18:31:50.342Z] HZ: Using current value: 100 [2021-10-06T18:31:50.342Z] file_header: OK [2021-10-06T18:31:50.342Z] 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-10-06T18:31:50.342Z] Statistics: [2021-10-06T18:31:50.342Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-06T18:31:50.342Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-06T18:31:50.517Z] provisioning config files... [2021-10-06T18:31:50.545Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-964@tmp/config3350407021727655496tmp [Pipeline] { [Pipeline] echo [2021-10-06T18:31:50.576Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-06T18:31:50.907Z] ---> create-netrc.sh [Pipeline] } [2021-10-06T18:31:50.922Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-06T18:31:51.320Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-06T18:31:51.338Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-06T18:31:51.666Z] ---> sudo-logs.sh [2021-10-06T18:31:51.666Z] Archiving 'sudo' log.. [2021-10-06T18:31:51.666Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-230.novalocal: Name or service not known [2021-10-06T18:31:51.666Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-230.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-06T18:31:51.933Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-06T18:31:52.273Z] ---> job-cost.sh [2021-10-06T18:31:52.273Z] lf-activate-venv: SKIPPING [2021-10-06T18:31:52.273Z] DEBUG: total: 0.10999999940395355 [2021-10-06T18:31:52.273Z] INFO: Retrieving Stack Cost... [2021-10-06T18:31:57.854Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-06T18:31:58.138Z] INFO: Archiving Costs [Pipeline] echo [2021-10-06T18:31:58.176Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-06T18:31:58.552Z] ---> logs-deploy.sh [2021-10-06T18:31:58.552Z] lf-activate-venv: SKIPPING [2021-10-06T18:31:58.552Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-964/3 [2021-10-06T18:31:58.552Z] INFO: archiving workspace using pattern(s):