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 18:23:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:23:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:23:40 ========================================================= 18:23:40 EdgeX Global Pipelines Version Info 18:23:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:23:42 ------------------- 18:23:42 stable info: 18:23:42 ------------------- 18:23:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:23:42 Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 18:23:42 Message: update stable to v1.0.206 18:23:42 ------------------- 18:23:42 experimental info: 18:23:42 ------------------- 18:23:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:23:42 Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 18:23:42 Message: update experimental to v1.0.206 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:23:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 18:23:42 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 18:23:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:23:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:23:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:23:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 18:23:42 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 18:23:42 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 18:23:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:23:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:23:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:23:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:23:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 18:23:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:23:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:23:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 18:23:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:23:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:23:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:23:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:23:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:23:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:23:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 18:23:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:23:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:23:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 18:23:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:23:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-964 [Pipeline] echo 18:23:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-964 [Pipeline] echo 18:23:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-964 [Pipeline] echo 18:23:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e741b2a411ecc9c8824b4f811649eccd3458966f [Pipeline] echo 18:23:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e741b2a [Pipeline] echo 18:23:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:23:44 + git log --format=format:%s -1 e741b2a411ecc9c8824b4f811649eccd3458966f [Pipeline] echo 18:23:44 GIT_COMMIT: e741b2a411ecc9c8824b4f811649eccd3458966f, Commit Message: ci: update app-service-template for LTS [Pipeline] echo 18:23:44 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 18:23:44 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:23:44 18:23:44 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:23:45 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:23:51 latest: Pulling from edgex-devops/git-semver 18:23:51 31603596830f: Pulling fs layer 18:23:51 04fac38145f0: Pulling fs layer 18:23:51 701f6daf10bf: Pulling fs layer 18:23:51 24f72da36158: Pulling fs layer 18:23:51 24f72da36158: Waiting 18:23:51 04fac38145f0: Verifying Checksum 18:23:51 04fac38145f0: Download complete 18:23:51 31603596830f: Verifying Checksum 18:23:51 31603596830f: Download complete 18:23:51 24f72da36158: Verifying Checksum 18:23:51 24f72da36158: Download complete 18:23:51 701f6daf10bf: Verifying Checksum 18:23:51 701f6daf10bf: Download complete 18:23:51 31603596830f: Pull complete 18:23:51 04fac38145f0: Pull complete 18:23:51 701f6daf10bf: Pull complete 18:23:51 24f72da36158: Pull complete 18:23:51 Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 18:23:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:23:51 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:23:51 prd-centos7-docker-4c-2g-230 does not seem to be running inside a container 18:23:51 $ 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 18:23:52 $ docker top 2cf4a418bf7bc607024436e86d8dbab60e868d76cb7f0792395e98f4bbec7c13 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:23:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:23:52 [ssh-agent] Looking for ssh-agent implementation... 18:23:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:23:52 $ docker exec 2cf4a418bf7bc607024436e86d8dbab60e868d76cb7f0792395e98f4bbec7c13 ssh-agent 18:23:52 SSH_AUTH_SOCK=/tmp/ssh-MGtzgYek5sxB/agent.15 18:23:52 SSH_AGENT_PID=21 18:23:52 Running ssh-add (command line suppressed) 18:23:52 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) 18:23:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:23:53 + git tag --points-at HEAD [Pipeline] } 18:23:53 $ docker exec --env ******** --env ******** 2cf4a418bf7bc607024436e86d8dbab60e868d76cb7f0792395e98f4bbec7c13 ssh-agent -k 18:23:53 unset SSH_AUTH_SOCK; 18:23:53 unset SSH_AGENT_PID; 18:23:53 echo Agent pid 21 killed; 18:23:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:23:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:23:53 [ssh-agent] Looking for ssh-agent implementation... 18:23:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:23:53 $ docker exec 2cf4a418bf7bc607024436e86d8dbab60e868d76cb7f0792395e98f4bbec7c13 ssh-agent 18:23:53 SSH_AUTH_SOCK=/tmp/ssh-b2Q2qjOsBBMt/agent.57 18:23:53 SSH_AGENT_PID=64 18:23:53 Running ssh-add (command line suppressed) 18:23:53 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) 18:23:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:23:54 + git semver init 18:23:54 # -> Open(): unable to determine branch for HEAD 18:23:54 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-964/.git 18:23:54 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-964 18:23:54 # $SEMVER_REMOTE_NAME = origin 18:23:54 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:23:54 # $SEMVER_USER_NAME = edgex-jenkins 18:23:54 # $SEMVER_BRANCH = PR-964 18:23:54 # $SEMVER_TEMP = /tmp/semver-652150701 18:23:54 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 18:23:56 # '/tmp/semver-652150701' -> '/w/workspace/ndry_app-functions-sdk-go_PR-964/.semver' 18:23:56 # -> Force: false 18:23:56 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-964/.semver [Pipeline] } 18:23:56 $ docker exec --env ******** --env ******** 2cf4a418bf7bc607024436e86d8dbab60e868d76cb7f0792395e98f4bbec7c13 ssh-agent -k 18:23:56 unset SSH_AUTH_SOCK; 18:23:56 unset SSH_AGENT_PID; 18:23:56 echo Agent pid 64 killed; 18:23:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:23:57 + git semver [Pipeline] } 18:23:57 $ docker stop --time=1 2cf4a418bf7bc607024436e86d8dbab60e868d76cb7f0792395e98f4bbec7c13 18:23:58 $ docker rm -f 2cf4a418bf7bc607024436e86d8dbab60e868d76cb7f0792395e98f4bbec7c13 [Pipeline] // withDockerContainer [Pipeline] sh 18:23:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:23:59 Stashed 1 file(s) [Pipeline] echo 18:23:59 [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 18:24:15 Still waiting to schedule task 18:24:15 Waiting for next available executor on ‘centos7-docker-4c-2g’ 18:24:15 Still waiting to schedule task 18:24:15 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 18:28:14 Running on prd-centos7-docker-4c-2g-237 in /w/workspace/ndry_app-functions-sdk-go_PR-964 [Pipeline] { [Pipeline] ws 18:28:14 Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout 18:28:14 The recommended git tool is: git 18:28:19 using credential edgex-jenkins-ssh 18:28:19 Cloning the remote Git repository 18:28:19 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 18:28:19 > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 18:28:19 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 18:28:19 > git --version # timeout=10 18:28:19 > git --version # 'git version 2.24.4' 18:28:19 using GIT_SSH to set credentials SSH Credentials for GitHub 18:28:19 [INFO] Currently running in a labeled security context 18:28:19 [INFO] Currently SELinux is 'enforcing' on the host 18:28:19 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/3@tmp/jenkins-gitclient-ssh1658254627868111780.key 18:28:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:28:21 Merging remotes/origin/main commit aa508a3e66e4a281fa0c2e3029608a5edd05d007 into PR head commit e741b2a411ecc9c8824b4f811649eccd3458966f 18:28:21 Merge succeeded, producing e741b2a411ecc9c8824b4f811649eccd3458966f 18:28:21 Checking out Revision e741b2a411ecc9c8824b4f811649eccd3458966f (PR-964) 18:28:21 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 18:28:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:28:21 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 18:28:21 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 18:28:21 using GIT_SSH to set credentials SSH Credentials for GitHub 18:28:21 [INFO] Currently running in a labeled security context 18:28:21 [INFO] Currently SELinux is 'enforcing' on the host 18:28:21 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/3@tmp/jenkins-gitclient-ssh4306505174038751731.key 18:28:21 > 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 18:28:21 > git config core.sparsecheckout # timeout=10 18:28:21 > git checkout -f e741b2a411ecc9c8824b4f811649eccd3458966f # timeout=10 18:28:21 > git remote # timeout=10 18:28:21 > git config --get remote.origin.url # timeout=10 18:28:21 using GIT_SSH to set credentials SSH Credentials for GitHub 18:28:21 [INFO] Currently running in a labeled security context 18:28:21 [INFO] Currently SELinux is 'enforcing' on the host 18:28:21 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/3@tmp/jenkins-gitclient-ssh815366496141257292.key 18:28:21 > git merge aa508a3e66e4a281fa0c2e3029608a5edd05d007 # timeout=10 18:28:21 > git rev-parse HEAD^{commit} # timeout=10 18:28:21 > git config core.sparsecheckout # timeout=10 18:28:21 > git checkout -f e741b2a411ecc9c8824b4f811649eccd3458966f # timeout=10 18:28:26 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 18:28:27 ========================================================= 18:28:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 18:28:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 18:28:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 18:28:37 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 18:28:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:28:38 18:28:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 18:28:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:28:44 latest: Pulling from edgex-lftools-log-publisher 18:28:44 b4d181a07f80: Pulling fs layer 18:28:44 a1111a8f2ec3: Pulling fs layer 18:28:44 ed53099fbce6: Pulling fs layer 18:28:44 dc539afda2c1: Pulling fs layer 18:28:44 77bc0d833cb6: Pulling fs layer 18:28:44 9065ff56babe: Pulling fs layer 18:28:44 d287ab97295c: Pulling fs layer 18:28:44 77bc0d833cb6: Waiting 18:28:44 9065ff56babe: Waiting 18:28:44 d287ab97295c: Waiting 18:28:44 dc539afda2c1: Waiting 18:28:44 a1111a8f2ec3: Verifying Checksum 18:28:44 a1111a8f2ec3: Download complete 18:28:44 dc539afda2c1: Verifying Checksum 18:28:44 dc539afda2c1: Download complete 18:28:44 ed53099fbce6: Verifying Checksum 18:28:44 ed53099fbce6: Download complete 18:28:44 9065ff56babe: Verifying Checksum 18:28:44 9065ff56babe: Download complete 18:28:44 77bc0d833cb6: Verifying Checksum 18:28:44 77bc0d833cb6: Download complete 18:28:45 b4d181a07f80: Verifying Checksum 18:28:45 b4d181a07f80: Download complete 18:28:46 b4d181a07f80: Pull complete 18:28:46 a1111a8f2ec3: Pull complete 18:28:47 d287ab97295c: Verifying Checksum 18:28:47 d287ab97295c: Download complete 18:28:47 ed53099fbce6: Pull complete 18:28:47 dc539afda2c1: Pull complete 18:28:47 77bc0d833cb6: Pull complete 18:28:47 9065ff56babe: Pull complete 18:28:53 d287ab97295c: Pull complete 18:28:53 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 18:28:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:28:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 18:28:53 prd-centos7-docker-4c-2g-237 does not seem to be running inside a container 18:28:53 $ 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 18:28:56 $ docker top c263aa30ed21c4389b32450a804176ab943eed169747220a7ed0f99b0a98f4fe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:28:56 ---> job-cost.sh 18:28:56 lf-activate-venv: SKIPPING 18:28:56 INFO: No Stack... 18:28:57 INFO: Retrieving Pricing Info for: v3-standard-2 18:28:57 INFO: Archiving Costs [Pipeline] sh 18:28:58 + cat /w/workspace/app-functions-sdk-go/3/archives/cost.csv 18:28:58 + cut -d, -f6 [Pipeline] lock 18:28:58 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-964-3-stack-cost] 18:28:58 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-964-3-stack-cost] did not exist. Created. 18:28:58 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-964-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:28:58 + echo total: 0.05999999865889549 [Pipeline] stash 18:28:58 Stashed 1 file(s) [Pipeline] } 18:28:58 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-964-3-stack-cost] [Pipeline] // lock [Pipeline] } 18:28:58 $ docker stop --time=1 c263aa30ed21c4389b32450a804176ab943eed169747220a7ed0f99b0a98f4fe 18:29:00 $ 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] } 18:29:00 Failed in branch amd64 18:29:19 Running on prd-ubuntu18.04-docker-arm64-4c-16g-236 in /w/workspace/ndry_app-functions-sdk-go_PR-964 [Pipeline] { [Pipeline] ws 18:29:19 Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout 18:29:20 The recommended git tool is: git 18:29:30 using credential edgex-jenkins-ssh 18:29:30 Cloning the remote Git repository 18:29:30 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 18:29:30 > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 18:29:31 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 18:29:31 > git --version # timeout=10 18:29:31 > git --version # 'git version 2.17.1' 18:29:31 using GIT_SSH to set credentials SSH Credentials for GitHub 18:29:31 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:29:34 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 18:29:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:29:34 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 18:29:34 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 18:29:34 using GIT_SSH to set credentials SSH Credentials for GitHub 18:29:34 > 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 18:29:36 Merging remotes/origin/main commit aa508a3e66e4a281fa0c2e3029608a5edd05d007 into PR head commit e741b2a411ecc9c8824b4f811649eccd3458966f 18:29:36 Merge succeeded, producing e741b2a411ecc9c8824b4f811649eccd3458966f 18:29:36 Checking out Revision e741b2a411ecc9c8824b4f811649eccd3458966f (PR-964) 18:29:36 > git config core.sparsecheckout # timeout=10 18:29:36 > git checkout -f e741b2a411ecc9c8824b4f811649eccd3458966f # timeout=10 18:29:36 > git remote # timeout=10 18:29:36 > git config --get remote.origin.url # timeout=10 18:29:36 using GIT_SSH to set credentials SSH Credentials for GitHub 18:29:36 > git merge aa508a3e66e4a281fa0c2e3029608a5edd05d007 # timeout=10 18:29:36 > git rev-parse HEAD^{commit} # timeout=10 18:29:36 > git config core.sparsecheckout # timeout=10 18:29:36 > git checkout -f e741b2a411ecc9c8824b4f811649eccd3458966f # timeout=10 18:29:41 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 18:29:43 ========================================================= 18:29:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 18:29:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 18:29:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 18:29:46 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:29:46 552d1f2373af: Pulling fs layer 18:29:46 ea3f2d53f512: Pulling fs layer 18:29:46 9e70ebbbe112: Pulling fs layer 18:29:46 7a9cfe048b4a: Pulling fs layer 18:29:46 72dc09318566: Pulling fs layer 18:29:46 8c702c4349fe: Pulling fs layer 18:29:46 9aa87de47cbb: Pulling fs layer 18:29:46 68d97f74340d: Pulling fs layer 18:29:46 7a9cfe048b4a: Waiting 18:29:46 8c702c4349fe: Waiting 18:29:46 9aa87de47cbb: Waiting 18:29:46 68d97f74340d: Waiting 18:29:46 72dc09318566: Waiting 18:29:46 9e70ebbbe112: Verifying Checksum 18:29:46 9e70ebbbe112: Download complete 18:29:46 ea3f2d53f512: Download complete 18:29:46 72dc09318566: Verifying Checksum 18:29:46 72dc09318566: Download complete 18:29:46 8c702c4349fe: Verifying Checksum 18:29:46 8c702c4349fe: Download complete 18:29:46 552d1f2373af: Verifying Checksum 18:29:46 552d1f2373af: Download complete 18:29:46 9aa87de47cbb: Verifying Checksum 18:29:46 9aa87de47cbb: Download complete 18:29:47 552d1f2373af: Pull complete 18:29:47 ea3f2d53f512: Pull complete 18:29:48 9e70ebbbe112: Pull complete 18:30:01 68d97f74340d: Download complete 18:30:01 7a9cfe048b4a: Verifying Checksum 18:30:01 7a9cfe048b4a: Download complete 18:30:11 7a9cfe048b4a: Pull complete 18:30:11 72dc09318566: Pull complete 18:30:11 8c702c4349fe: Pull complete 18:30:11 9aa87de47cbb: Pull complete 18:30:17 68d97f74340d: Pull complete 18:30:18 Digest: sha256:9b6c52be4db9d7a78b8493d96040cedbcd78e66b6ec4ceed235a6b9a2fd17037 18:30:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 18:30:18 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh 18:30:18 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 18:30:19 + docker inspect -f . ci-base-image-arm64 18:30:19 . [Pipeline] withDockerContainer 18:30:19 prd-ubuntu18.04-docker-arm64-4c-16g-236 does not seem to be running inside a container 18:30:19 $ 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 18:30:26 $ docker top 55d0c61b16d5903db2c830a10f090c630aee24918417a1d9c2d03221b1ea5bf2 -eo pid,comm [Pipeline] { [Pipeline] sh 18:30:27 + go version 18:30:27 go version go1.16.8 linux/arm64 [Pipeline] } 18:30:27 $ docker stop --time=1 55d0c61b16d5903db2c830a10f090c630aee24918417a1d9c2d03221b1ea5bf2 18:30:29 $ docker rm -f 55d0c61b16d5903db2c830a10f090c630aee24918417a1d9c2d03221b1ea5bf2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:30:30 + docker inspect -f . ci-base-image-arm64 18:30:30 . [Pipeline] withDockerContainer 18:30:30 prd-ubuntu18.04-docker-arm64-4c-16g-236 does not seem to be running inside a container 18:30:30 $ 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 18:30:32 $ docker top 53f525195ee1229d4ad14d52ca664ba3d58656cfa296592e205d9bd9b17be717 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:30:33 + make test 18:30:33 make -C ./app-service-template build 18:30:33 make: make: Operation not permitted 18:30:33 make: *** [Makefile:22: build] Error 127 [Pipeline] } 18:30:33 $ docker stop --time=1 53f525195ee1229d4ad14d52ca664ba3d58656cfa296592e205d9bd9b17be717 18:30:35 $ 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 18:30:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:30:37 18:30:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 18:30:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:30:37 arm64: Pulling from edgex-lftools-log-publisher 18:30:37 448f6bf000e3: Pulling fs layer 18:30:37 f757da607395: Pulling fs layer 18:30:37 05883995daec: Pulling fs layer 18:30:37 8603b9c90790: Pulling fs layer 18:30:37 1560dd03e051: Pulling fs layer 18:30:37 27f5ce0e4adf: Pulling fs layer 18:30:37 c2d8d7efcc4b: Pulling fs layer 18:30:37 1560dd03e051: Waiting 18:30:37 27f5ce0e4adf: Waiting 18:30:37 c2d8d7efcc4b: Waiting 18:30:37 8603b9c90790: Waiting 18:30:38 f757da607395: Verifying Checksum 18:30:38 f757da607395: Download complete 18:30:38 8603b9c90790: Verifying Checksum 18:30:38 8603b9c90790: Download complete 18:30:38 1560dd03e051: Verifying Checksum 18:30:38 1560dd03e051: Download complete 18:30:38 27f5ce0e4adf: Download complete 18:30:38 05883995daec: Verifying Checksum 18:30:38 05883995daec: Download complete 18:30:39 448f6bf000e3: Verifying Checksum 18:30:39 448f6bf000e3: Download complete 18:30:42 c2d8d7efcc4b: Verifying Checksum 18:30:42 c2d8d7efcc4b: Download complete 18:30:42 448f6bf000e3: Pull complete 18:30:43 f757da607395: Pull complete 18:30:44 05883995daec: Pull complete 18:30:45 8603b9c90790: Pull complete 18:30:46 1560dd03e051: Pull complete 18:30:46 27f5ce0e4adf: Pull complete 18:31:02 c2d8d7efcc4b: Pull complete 18:31:02 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 18:31:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:31:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 18:31:02 prd-ubuntu18.04-docker-arm64-4c-16g-236 does not seem to be running inside a container 18:31:02 $ 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 18:31:08 $ docker top 1029e39fdf8ad1a88da784192ac7a5c2fd46c38a3e493bfce47c6cbae271c01d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:31:09 ---> job-cost.sh 18:31:09 lf-activate-venv: SKIPPING 18:31:09 INFO: No Stack... 18:31:24 INFO: Retrieving Pricing Info for: v3-standard-4 18:31:24 INFO: Archiving Costs [Pipeline] sh 18:31:25 + cat /w/workspace/app-functions-sdk-go/3/archives/cost.csv 18:31:25 + cut -d, -f6 [Pipeline] lock 18:31:25 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-964-3-stack-cost] 18:31:25 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-964-3-stack-cost] did not exist. Created. 18:31:25 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-964-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:31:26 /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 18:31:27 + echo total: 0.10999999940395355 [Pipeline] stash 18:31:27 Warning: overwriting stash ‘stack-cost’ 18:31:28 Stashed 1 file(s) [Pipeline] } 18:31:28 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-964-3-stack-cost] [Pipeline] // lock [Pipeline] } 18:31:28 $ docker stop --time=1 1029e39fdf8ad1a88da784192ac7a5c2fd46c38a3e493bfce47c6cbae271c01d 18:31:30 $ 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] } 18:31:30 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 18:31:32 + '[' -d /w/workspace/ndry_app-functions-sdk-go_PR-964/archives ']' [Pipeline] libraryResource [Pipeline] sh 18:31:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:31:33 ---> package-listing.sh 18:31:33 ++ tr '[:upper:]' '[:lower:]' 18:31:33 ++ facter osfamily 18:31:33 + OS_FAMILY=redhat 18:31:33 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-964 18:31:33 + START_PACKAGES=/tmp/packages_start.txt 18:31:33 + END_PACKAGES=/tmp/packages_end.txt 18:31:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:31:33 + PACKAGES=/tmp/packages_start.txt 18:31:33 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-964 ']' 18:31:33 + PACKAGES=/tmp/packages_end.txt 18:31:33 + case "${OS_FAMILY}" in 18:31:33 + sort 18:31:33 + rpm -qa 18:31:34 + '[' -f /tmp/packages_start.txt ']' 18:31:34 + '[' -f /tmp/packages_end.txt ']' 18:31:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:31:34 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-964 ']' 18:31:34 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-964/archives/ 18:31:34 + 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 18:31:34 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 18:31:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 18:31:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:31:35 18:31:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 18:31:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:31:35 latest: Pulling from edgex-lftools-log-publisher 18:31:35 b4d181a07f80: Pulling fs layer 18:31:35 a1111a8f2ec3: Pulling fs layer 18:31:35 ed53099fbce6: Pulling fs layer 18:31:35 dc539afda2c1: Pulling fs layer 18:31:35 77bc0d833cb6: Pulling fs layer 18:31:35 9065ff56babe: Pulling fs layer 18:31:35 d287ab97295c: Pulling fs layer 18:31:35 77bc0d833cb6: Waiting 18:31:35 9065ff56babe: Waiting 18:31:35 d287ab97295c: Waiting 18:31:35 dc539afda2c1: Waiting 18:31:36 a1111a8f2ec3: Verifying Checksum 18:31:36 a1111a8f2ec3: Download complete 18:31:36 dc539afda2c1: Verifying Checksum 18:31:36 dc539afda2c1: Download complete 18:31:36 ed53099fbce6: Verifying Checksum 18:31:36 ed53099fbce6: Download complete 18:31:36 9065ff56babe: Verifying Checksum 18:31:36 9065ff56babe: Download complete 18:31:36 77bc0d833cb6: Verifying Checksum 18:31:36 77bc0d833cb6: Download complete 18:31:38 b4d181a07f80: Verifying Checksum 18:31:38 b4d181a07f80: Download complete 18:31:40 b4d181a07f80: Pull complete 18:31:40 a1111a8f2ec3: Pull complete 18:31:40 d287ab97295c: Verifying Checksum 18:31:40 d287ab97295c: Download complete 18:31:40 ed53099fbce6: Pull complete 18:31:40 dc539afda2c1: Pull complete 18:31:41 77bc0d833cb6: Pull complete 18:31:41 9065ff56babe: Pull complete 18:31:46 d287ab97295c: Pull complete 18:31:46 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 18:31:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:31:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 18:31:46 prd-centos7-docker-4c-2g-230 does not seem to be running inside a container 18:31:46 $ 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 18:31:49 $ docker top 59f8e08dfa953b48f6971e174934961ff8ddcae68bdfc096b569bdbbcbfcef34 -eo pid,comm [Pipeline] { [Pipeline] sh 18:31:49 + touch /tmp/pre-build-complete [Pipeline] sh 18:31:50 + mkdir -p /var/log/sysstat [Pipeline] sh 18:31:50 + ls /var/log/sa-host 18:31:50 + sadf -c /var/log/sa-host/sa06 18:31:50 file_magic: OK 18:31:50 HZ: Using current value: 100 18:31:50 file_header: OK 18:31:50 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 18:31:50 Statistics: 18:31:50 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 18:31:50 File successfully converted to sysstat format version 12.0.3 18:31:50 + sadf -c /var/log/sa-host/sa30 18:31:50 file_magic: OK 18:31:50 HZ: Using current value: 100 18:31:50 file_header: OK 18:31:50 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 18:31:50 Statistics: 18:31:50 Hnuu...uuuununununu...Hnuu...uuuununununu... 18:31:50 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:31:50 provisioning config files... 18:31:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-964@tmp/config3350407021727655496tmp [Pipeline] { [Pipeline] echo 18:31:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:31:50 ---> create-netrc.sh [Pipeline] } 18:31:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:31:51 ---> python-tools-install.sh [Pipeline] echo 18:31:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:31:51 ---> sudo-logs.sh 18:31:51 Archiving 'sudo' log.. 18:31:51 sudo: unable to resolve host prd-centos7-docker-4c-2g-230.novalocal: Name or service not known 18:31:51 sudo: unable to resolve host prd-centos7-docker-4c-2g-230.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 18:31:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:31:52 ---> job-cost.sh 18:31:52 lf-activate-venv: SKIPPING 18:31:52 DEBUG: total: 0.10999999940395355 18:31:52 INFO: Retrieving Stack Cost... 18:31:57 INFO: Retrieving Pricing Info for: v3-standard-2 18:31:58 INFO: Archiving Costs [Pipeline] echo 18:31:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:31:58 ---> logs-deploy.sh 18:31:58 lf-activate-venv: SKIPPING 18:31:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-964/3 18:31:58 INFO: archiving workspace using pattern(s):