Pull request #892 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from 3794f80619d57abb19203c4c9eda28e25b163675+4c3c66c497cf52a3890b5e73c45d4dacb89714fe (c8f858a05aa14b83ca8b188369891144a34a521d) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8056644896140474896.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2902522424379851438.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-892/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-892/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1789633180480049164.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3183045676366182104.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-892/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-892/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3435209144066324618.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: app-functions-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-330 in /w/workspace/ndry_app-functions-sdk-go_PR-892 [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-892 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-892@tmp/jenkins-gitclient-ssh2782608544691735738.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 4c3c66c497cf52a3890b5e73c45d4dacb89714fe into PR head commit 3794f80619d57abb19203c4c9eda28e25b163675 Merge succeeded, producing 3794f80619d57abb19203c4c9eda28e25b163675 Checking out Revision 3794f80619d57abb19203c4c9eda28e25b163675 (PR-892) > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-892@tmp/jenkins-gitclient-ssh6756879791503115473.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/892/head:refs/remotes/origin/PR-892 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3794f80619d57abb19203c4c9eda28e25b163675 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-892@tmp/jenkins-gitclient-ssh6953669574017918552.key > git merge 4c3c66c497cf52a3890b5e73c45d4dacb89714fe # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3794f80619d57abb19203c4c9eda28e25b163675 # timeout=10 Commit message: "refactor: Addressed PR comments" First time build. Skipping changelog. > git rev-list --no-walk 141c1a1a31e390b5c4eac15c3b418ad5b60aedd2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:16:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:16:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:16:20 ========================================================= 22:16:20 EdgeX Global Pipelines Version Info 22:16:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:16:21 ------------------- 22:16:21 stable info: 22:16:21 ------------------- 22:16:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:16:21 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 22:16:21 Message: update stable to v1.0.195 22:16:22 ------------------- 22:16:22 experimental info: 22:16:22 ------------------- 22:16:22 Commited By: **** collab-it+edgex@linuxfoundation.org 22:16:22 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 22:16:22 Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:16:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 22:16:22 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 22:16:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:16:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:16:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:16:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 22:16:22 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 22:16:22 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 22:16:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:16:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:16:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:16:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 22:16:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:16:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:16:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 22:16:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:16:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:16:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:16:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:16:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:16:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:16:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 22:16:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:16:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:16:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 22:16:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:16:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-892 [Pipeline] echo 22:16:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-892 [Pipeline] echo 22:16:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-892 [Pipeline] echo 22:16:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3794f80619d57abb19203c4c9eda28e25b163675 [Pipeline] echo 22:16:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3794f80 [Pipeline] echo 22:16:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:16:23 + git log --format=format:%s -1 3794f80619d57abb19203c4c9eda28e25b163675 [Pipeline] echo 22:16:23 GIT_COMMIT: 3794f80619d57abb19203c4c9eda28e25b163675, Commit Message: refactor: Addressed PR comments [Pipeline] echo 22:16:23 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 22:16:24 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:16:24 22:16:24 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:16:25 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:16:25 latest: Pulling from edgex-devops/git-semver 22:16:25 31603596830f: Pulling fs layer 22:16:25 54011a49482f: Pulling fs layer 22:16:25 a6820b24f6d8: Pulling fs layer 22:16:25 f581987b2513: Pulling fs layer 22:16:25 f581987b2513: Waiting 22:16:25 54011a49482f: Verifying Checksum 22:16:25 54011a49482f: Download complete 22:16:25 31603596830f: Verifying Checksum 22:16:25 31603596830f: Download complete 22:16:25 f581987b2513: Verifying Checksum 22:16:25 f581987b2513: Download complete 22:16:25 a6820b24f6d8: Verifying Checksum 22:16:25 a6820b24f6d8: Download complete 22:16:25 31603596830f: Pull complete 22:16:25 54011a49482f: Pull complete 22:16:26 a6820b24f6d8: Pull complete 22:16:26 f581987b2513: Pull complete 22:16:26 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 22:16:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:16:26 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:16:26 prd-centos7-docker-4c-2g-330 does not seem to be running inside a container 22:16:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-892 -v /w/workspace/ndry_app-functions-sdk-go_PR-892:/w/workspace/ndry_app-functions-sdk-go_PR-892:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-892@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-892@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:16:27 $ docker top c4c8cabb479630312a823ad520a23428e9a663bb771968e57794759f45711b7b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:16:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:16:28 [ssh-agent] Looking for ssh-agent implementation... 22:16:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:16:28 $ docker exec c4c8cabb479630312a823ad520a23428e9a663bb771968e57794759f45711b7b ssh-agent 22:16:28 SSH_AUTH_SOCK=/tmp/ssh-dEDh2sbKiXA9/agent.14 22:16:28 SSH_AGENT_PID=20 22:16:28 Running ssh-add (command line suppressed) 22:16:28 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-892@tmp/private_key_8066273304832098392.key (/w/workspace/ndry_app-functions-sdk-go_PR-892@tmp/private_key_8066273304832098392.key) 22:16:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:16:28 + git tag --points-at HEAD [Pipeline] } 22:16:28 $ docker exec --env ******** --env ******** c4c8cabb479630312a823ad520a23428e9a663bb771968e57794759f45711b7b ssh-agent -k 22:16:28 unset SSH_AUTH_SOCK; 22:16:28 unset SSH_AGENT_PID; 22:16:28 echo Agent pid 20 killed; 22:16:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:16:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:16:29 [ssh-agent] Looking for ssh-agent implementation... 22:16:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:16:29 $ docker exec c4c8cabb479630312a823ad520a23428e9a663bb771968e57794759f45711b7b ssh-agent 22:16:29 SSH_AUTH_SOCK=/tmp/ssh-2cwxvYsgRNIq/agent.54 22:16:29 SSH_AGENT_PID=60 22:16:29 Running ssh-add (command line suppressed) 22:16:29 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-892@tmp/private_key_6444536187172256460.key (/w/workspace/ndry_app-functions-sdk-go_PR-892@tmp/private_key_6444536187172256460.key) 22:16:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:16:29 + git semver init 22:16:29 # -> Open(): unable to determine branch for HEAD 22:16:29 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-892/.git 22:16:29 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-892 22:16:29 # $SEMVER_REMOTE_NAME = origin 22:16:29 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:16:29 # $SEMVER_USER_NAME = edgex-jenkins 22:16:29 # $SEMVER_BRANCH = PR-892 22:16:29 # $SEMVER_TEMP = /tmp/semver-820527462 22:16:29 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 22:16:31 # '/tmp/semver-820527462' -> '/w/workspace/ndry_app-functions-sdk-go_PR-892/.semver' 22:16:31 # -> Force: false 22:16:31 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-892/.semver [Pipeline] } 22:16:31 $ docker exec --env ******** --env ******** c4c8cabb479630312a823ad520a23428e9a663bb771968e57794759f45711b7b ssh-agent -k 22:16:31 unset SSH_AUTH_SOCK; 22:16:31 unset SSH_AGENT_PID; 22:16:31 echo Agent pid 60 killed; 22:16:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:16:32 + git semver [Pipeline] } 22:16:32 $ docker stop --time=1 c4c8cabb479630312a823ad520a23428e9a663bb771968e57794759f45711b7b 22:16:33 $ docker rm -f c4c8cabb479630312a823ad520a23428e9a663bb771968e57794759f45711b7b [Pipeline] // withDockerContainer [Pipeline] sh 22:16:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:16:34 Stashed 1 file(s) [Pipeline] echo 22:16:34 [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 22:16:49 Still waiting to schedule task 22:16:49 Waiting for next available executor on ‘centos7-docker-4c-2g’ 22:16:49 Still waiting to schedule task 22:16:49 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 22:18:12 Running on prd-centos7-docker-4c-2g-332 in /w/workspace/ndry_app-functions-sdk-go_PR-892 [Pipeline] { [Pipeline] ws 22:18:12 Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout 22:18:12 The recommended git tool is: git 22:18:14 using credential edgex-jenkins-ssh 22:18:14 Cloning the remote Git repository 22:18:14 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 22:18:14 > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 22:18:14 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 22:18:14 > git --version # timeout=10 22:18:14 > git --version # 'git version 2.24.4' 22:18:14 using GIT_SSH to set credentials SSH Credentials for GitHub 22:18:14 [INFO] Currently running in a labeled security context 22:18:14 [INFO] Currently SELinux is 'enforcing' on the host 22:18:14 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/3@tmp/jenkins-gitclient-ssh8741406669438362487.key 22:18:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:18:16 Merging remotes/origin/master commit 4c3c66c497cf52a3890b5e73c45d4dacb89714fe into PR head commit 3794f80619d57abb19203c4c9eda28e25b163675 22:18:16 Merge succeeded, producing 3794f80619d57abb19203c4c9eda28e25b163675 22:18:16 Checking out Revision 3794f80619d57abb19203c4c9eda28e25b163675 (PR-892) 22:18:15 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 22:18:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:18:15 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 22:18:15 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 22:18:15 using GIT_SSH to set credentials SSH Credentials for GitHub 22:18:15 [INFO] Currently running in a labeled security context 22:18:15 [INFO] Currently SELinux is 'enforcing' on the host 22:18:15 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/3@tmp/jenkins-gitclient-ssh8413392147663952685.key 22:18:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/892/head:refs/remotes/origin/PR-892 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:18:16 > git config core.sparsecheckout # timeout=10 22:18:16 > git checkout -f 3794f80619d57abb19203c4c9eda28e25b163675 # timeout=10 22:18:16 > git remote # timeout=10 22:18:16 > git config --get remote.origin.url # timeout=10 22:18:16 using GIT_SSH to set credentials SSH Credentials for GitHub 22:18:16 [INFO] Currently running in a labeled security context 22:18:16 [INFO] Currently SELinux is 'enforcing' on the host 22:18:16 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/3@tmp/jenkins-gitclient-ssh4750479112415154305.key 22:18:16 > git merge 4c3c66c497cf52a3890b5e73c45d4dacb89714fe # timeout=10 22:18:16 > git rev-parse HEAD^{commit} # timeout=10 22:18:16 > git config core.sparsecheckout # timeout=10 22:18:16 > git checkout -f 3794f80619d57abb19203c4c9eda28e25b163675 # timeout=10 22:18:20 Commit message: "refactor: Addressed PR comments" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:18:21 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 22:18:21 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:18:21 + sudo service docker restart 22:18:21 + true 22:18:21 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo 22:18:40 ========================================================= 22:18:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 22:18:40 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:18:40 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 22:18:40 Sending build context to Docker daemon 19.96MB 22:18:40 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 22:18:40 Step 2/8 : FROM ${BASE} 22:18:40 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 22:18:40 540db60ca938: Pulling fs layer 22:18:40 adcc1eea9eea: Pulling fs layer 22:18:40 4c4ab2625f07: Pulling fs layer 22:18:40 0510c868ecb4: Pulling fs layer 22:18:40 afea3b2eda06: Pulling fs layer 22:18:40 7809a108b3ef: Pulling fs layer 22:18:40 f706445af74f: Pulling fs layer 22:18:40 0510c868ecb4: Waiting 22:18:40 afea3b2eda06: Waiting 22:18:40 7809a108b3ef: Waiting 22:18:40 f706445af74f: Waiting 22:18:40 4c4ab2625f07: Verifying Checksum 22:18:40 4c4ab2625f07: Download complete 22:18:40 adcc1eea9eea: Verifying Checksum 22:18:40 adcc1eea9eea: Download complete 22:18:40 afea3b2eda06: Verifying Checksum 22:18:40 afea3b2eda06: Download complete 22:18:40 7809a108b3ef: Verifying Checksum 22:18:40 7809a108b3ef: Download complete 22:18:40 540db60ca938: Verifying Checksum 22:18:40 540db60ca938: Download complete 22:18:41 540db60ca938: Pull complete 22:18:41 adcc1eea9eea: Pull complete 22:18:41 4c4ab2625f07: Pull complete 22:18:42 f706445af74f: Verifying Checksum 22:18:42 f706445af74f: Download complete 22:18:43 0510c868ecb4: Verifying Checksum 22:18:43 0510c868ecb4: Download complete 22:18:46 0510c868ecb4: Pull complete 22:18:46 afea3b2eda06: Pull complete 22:18:46 7809a108b3ef: Pull complete 22:18:48 f706445af74f: Pull complete 22:18:48 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 22:18:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 22:18:48 ---> b068be0155e3 22:18:48 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 22:18:48 20.10.0: Pulling from library/docker 22:18:48 05e7bc50f07f: Pulling fs layer 22:18:48 6db28d0fdbf6: Pulling fs layer 22:18:48 292df0bc6bf3: Pulling fs layer 22:18:48 2e060f4bd70b: Pulling fs layer 22:18:48 80e8d568a223: Pulling fs layer 22:18:48 8dc6ef1a942a: Pulling fs layer 22:18:48 2312dd95470a: Pulling fs layer 22:18:48 2e060f4bd70b: Waiting 22:18:48 80e8d568a223: Waiting 22:18:48 8dc6ef1a942a: Waiting 22:18:48 2312dd95470a: Waiting 22:18:48 292df0bc6bf3: Download complete 22:18:48 6db28d0fdbf6: Verifying Checksum 22:18:48 6db28d0fdbf6: Download complete 22:18:48 80e8d568a223: Verifying Checksum 22:18:48 80e8d568a223: Download complete 22:18:48 8dc6ef1a942a: Verifying Checksum 22:18:48 8dc6ef1a942a: Download complete 22:18:48 2312dd95470a: Verifying Checksum 22:18:48 2312dd95470a: Download complete 22:18:48 Running on prd-ubuntu18.04-docker-arm64-4c-16g-331 in /w/workspace/ndry_app-functions-sdk-go_PR-892 [Pipeline] { [Pipeline] ws 22:18:48 Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout 22:18:48 05e7bc50f07f: Verifying Checksum 22:18:48 05e7bc50f07f: Download complete 22:18:48 05e7bc50f07f: Pull complete 22:18:48 The recommended git tool is: git 22:18:48 6db28d0fdbf6: Pull complete 22:18:48 292df0bc6bf3: Pull complete 22:18:49 2e060f4bd70b: Verifying Checksum 22:18:49 2e060f4bd70b: Download complete 22:18:51 2e060f4bd70b: Pull complete 22:18:51 80e8d568a223: Pull complete 22:18:51 8dc6ef1a942a: Pull complete 22:18:51 2312dd95470a: Pull complete 22:18:51 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 22:18:51 Status: Downloaded newer image for docker:20.10.0 22:18:54 using credential edgex-jenkins-ssh 22:18:54 Cloning the remote Git repository 22:18:54 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 22:18:54 > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 22:18:54 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 22:18:54 > git --version # timeout=10 22:18:54 > git --version # 'git version 2.17.1' 22:18:54 using GIT_SSH to set credentials SSH Credentials for GitHub 22:18:54 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:18:54 ---> e2614ec15690 22:18:54 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 22:18:55 ---> Running in f67d4629273b 22:18:55 Removing intermediate container f67d4629273b 22:18:55 ---> 1c4b09cfb41b 22:18:55 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 22:18:55 ---> Running in 2487f7c9c0dc 22:18:55 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 22:18:56 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 22:18:56 (1/5) Installing libsodium (1.0.18-r0) 22:18:56 (2/5) Installing libzmq (4.3.3-r1) 22:18:56 (3/5) Installing pkgconf (1.7.3-r0) 22:18:57 (4/5) Installing libsodium-dev (1.0.18-r0) 22:18:57 (5/5) Installing zeromq-dev (4.3.3-r1) 22:18:57 Executing busybox-1.32.1-r6.trigger 22:18:57 OK: 150 MiB in 45 packages 22:18:57 Removing intermediate container 2487f7c9c0dc 22:18:57 ---> 2ee71401d221 22:18:57 Step 6/8 : WORKDIR /build 22:18:57 ---> Running in 9acd0a5b0706 22:18:57 Removing intermediate container 9acd0a5b0706 22:18:57 ---> 27049624ce35 22:18:57 Step 7/8 : COPY go.mod . 22:18:57 ---> 1db4f7a40ad9 22:18:57 Step 8/8 : RUN go mod download 22:18:57 ---> Running in 8c95e7cb7af9 22:18:58 Merging remotes/origin/master commit 4c3c66c497cf52a3890b5e73c45d4dacb89714fe into PR head commit 3794f80619d57abb19203c4c9eda28e25b163675 22:18:57 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 22:18:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:18:57 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 22:18:57 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 22:18:57 using GIT_SSH to set credentials SSH Credentials for GitHub 22:18:57 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/892/head:refs/remotes/origin/PR-892 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:18:58 > git config core.sparsecheckout # timeout=10 22:18:58 > git checkout -f 3794f80619d57abb19203c4c9eda28e25b163675 # timeout=10 22:18:58 > git remote # timeout=10 22:18:58 > git config --get remote.origin.url # timeout=10 22:18:58 Merge succeeded, producing 3794f80619d57abb19203c4c9eda28e25b163675 22:18:58 Checking out Revision 3794f80619d57abb19203c4c9eda28e25b163675 (PR-892) 22:18:58 using GIT_SSH to set credentials SSH Credentials for GitHub 22:18:58 > git merge 4c3c66c497cf52a3890b5e73c45d4dacb89714fe # timeout=10 22:18:58 > git rev-parse HEAD^{commit} # timeout=10 22:18:58 > git config core.sparsecheckout # timeout=10 22:18:58 > git checkout -f 3794f80619d57abb19203c4c9eda28e25b163675 # timeout=10 22:19:03 Commit message: "refactor: Addressed PR comments" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:19:04 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 22:19:05 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:19:05 + sudo service docker restart 22:19:05 + true 22:19:12 Removing intermediate container 8c95e7cb7af9 22:19:12 ---> 18fe0e2ba2aa 22:19:12 Successfully built 18fe0e2ba2aa 22:19:12 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:19:13 + docker inspect -f . ci-base-image-x86_64 22:19:13 . [Pipeline] withDockerContainer 22:19:13 prd-centos7-docker-4c-2g-332 does not seem to be running inside a container 22:19:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:19:13 $ docker top 14a954594460823280e9b5858e15cf31fa26c17b55b43c6541590f90fdfd6e65 -eo pid,comm [Pipeline] { [Pipeline] sh 22:19:14 + go version 22:19:14 go version go1.16.3 linux/amd64 [Pipeline] } 22:19:14 $ docker stop --time=1 14a954594460823280e9b5858e15cf31fa26c17b55b43c6541590f90fdfd6e65 22:19:15 $ docker rm -f 14a954594460823280e9b5858e15cf31fa26c17b55b43c6541590f90fdfd6e65 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:19:15 + docker inspect -f . ci-base-image-x86_64 22:19:15 . [Pipeline] withDockerContainer 22:19:15 prd-centos7-docker-4c-2g-332 does not seem to be running inside a container 22:19:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:19:16 $ docker top 61101eac3fe7a64bda35ea274642439478cedb916d2b39034993b245f3cc5311 -eo pid,comm [Pipeline] { [Pipeline] sh 22:19:16 + go mod tidy [Pipeline] sh 22:19:17 + make test 22:19:17 make -C ./app-service-template build 22:19:17 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/3/app-service-template' 22:19:17 go mod tidy 22:19:17 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.52 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [Pipeline] unstash [Pipeline] echo 22:19:24 ========================================================= 22:19:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 22:19:24 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:19:24 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 22:19:25 Sending build context to Docker daemon 19.96MB 22:19:25 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 22:19:25 Step 2/8 : FROM ${BASE} 22:19:26 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:19:26 595b0fe564bb: Pulling fs layer 22:19:26 3088b5b3c5c0: Pulling fs layer 22:19:26 5b7225fbf94c: Pulling fs layer 22:19:26 ba82ee9f976e: Pulling fs layer 22:19:26 506bd15cee9f: Pulling fs layer 22:19:26 75a0a4a0db45: Pulling fs layer 22:19:26 618dc40b7e24: Pulling fs layer 22:19:26 ba82ee9f976e: Waiting 22:19:26 506bd15cee9f: Waiting 22:19:26 75a0a4a0db45: Waiting 22:19:26 618dc40b7e24: Waiting 22:19:26 5b7225fbf94c: Verifying Checksum 22:19:26 5b7225fbf94c: Download complete 22:19:26 3088b5b3c5c0: Verifying Checksum 22:19:26 3088b5b3c5c0: Download complete 22:19:26 506bd15cee9f: Verifying Checksum 22:19:26 506bd15cee9f: Download complete 22:19:26 595b0fe564bb: Verifying Checksum 22:19:26 595b0fe564bb: Download complete 22:19:26 75a0a4a0db45: Verifying Checksum 22:19:26 75a0a4a0db45: Download complete 22:19:26 595b0fe564bb: Pull complete 22:19:27 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/3/app-service-template' 22:19:27 make -C ./app-service-template test 22:19:27 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/3/app-service-template' 22:19:27 go mod tidy 22:19:27 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 22:19:27 3088b5b3c5c0: Pull complete 22:19:28 5b7225fbf94c: Pull complete 22:19:28 618dc40b7e24: Verifying Checksum 22:19:28 618dc40b7e24: Download complete 22:19:29 ba82ee9f976e: Download complete 22:19:35 ok new-app-service 0.011s coverage: 47.8% of statements 22:19:35 ? new-app-service/config [no test files] 22:19:35 ok new-app-service/functions 0.008s 22:19:35 CGO_ENABLED=1 go vet ./... 22:19:39 ba82ee9f976e: Pull complete 22:19:40 506bd15cee9f: Pull complete 22:19:40 75a0a4a0db45: Pull complete 22:19:42 gofmt -l . 22:19:42 [ "`gofmt -l .`" = "" ] 22:19:42 ./bin/test-attribution-txt.sh 22:19:42 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/3/app-service-template' 22:19:42 go mod tidy 22:19:42 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:19:43 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 22:19:44 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.028s coverage: 62.8% of statements 22:19:44 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.008s coverage: 96.5% of statements 22:19:44 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 22:19:44 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.013s coverage: 61.8% of statements 22:19:44 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 22:19:44 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.006s 22:19:45 618dc40b7e24: Pull complete 22:19:45 Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 22:19:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 22:19:45 ---> a36622ca3599 22:19:45 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 22:19:45 20.10.0: Pulling from library/docker 22:19:45 a3cc7d3b244e: Pulling fs layer 22:19:45 02a3295e0d61: Pulling fs layer 22:19:45 0f4f2e6d8100: Pulling fs layer 22:19:45 330b718f631f: Pulling fs layer 22:19:45 a93816041522: Pulling fs layer 22:19:45 bdb6da89ff94: Pulling fs layer 22:19:45 2a70c0c122f4: Pulling fs layer 22:19:45 330b718f631f: Waiting 22:19:45 a93816041522: Waiting 22:19:45 bdb6da89ff94: Waiting 22:19:45 2a70c0c122f4: Waiting 22:19:45 0f4f2e6d8100: Verifying Checksum 22:19:45 0f4f2e6d8100: Download complete 22:19:45 02a3295e0d61: Verifying Checksum 22:19:45 02a3295e0d61: Download complete 22:19:45 a3cc7d3b244e: Verifying Checksum 22:19:45 a3cc7d3b244e: Download complete 22:19:45 a93816041522: Verifying Checksum 22:19:45 a93816041522: Download complete 22:19:45 bdb6da89ff94: Verifying Checksum 22:19:45 bdb6da89ff94: Download complete 22:19:45 2a70c0c122f4: Verifying Checksum 22:19:45 2a70c0c122f4: Download complete 22:19:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.021s coverage: 74.5% of statements 22:19:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 22:19:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 22:19:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 22:19:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 22:19:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 22:19:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 22:19:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.006s coverage: 97.1% of statements 22:19:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 22:19:45 a3cc7d3b244e: Pull complete 22:19:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.005s coverage: 10.5% of statements 22:19:46 02a3295e0d61: Pull complete 22:19:46 330b718f631f: Download complete 22:19:46 0f4f2e6d8100: Pull complete 22:19:49 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.756s coverage: 76.9% of statements 22:19:49 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 22:19:49 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.006s coverage: 12.5% of statements 22:19:49 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.010s coverage: 27.3% of statements 22:19:49 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 22:19:49 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 22:19:49 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.006s coverage: 51.4% of statements 22:19:51 330b718f631f: Pull complete 22:19:51 a93816041522: Pull complete 22:19:51 bdb6da89ff94: Pull complete 22:19:51 2a70c0c122f4: Pull complete 22:19:51 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 22:19:51 Status: Downloaded newer image for docker:20.10.0 22:19:57 ---> 15ee3b536735 22:19:57 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 22:19:57 ---> Running in 9bb90beda12a 22:19:57 Removing intermediate container 9bb90beda12a 22:19:57 ---> 86513c948f57 22:19:57 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 22:19:57 ---> Running in f6adc1bed673 22:19:59 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 22:20:00 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 22:20:01 (1/5) Installing libsodium (1.0.18-r0) 22:20:01 (2/5) Installing libzmq (4.3.3-r1) 22:20:01 (3/5) Installing pkgconf (1.7.3-r0) 22:20:01 (4/5) Installing libsodium-dev (1.0.18-r0) 22:20:01 (5/5) Installing zeromq-dev (4.3.3-r1) 22:20:01 Executing busybox-1.32.1-r6.trigger 22:20:01 OK: 139 MiB in 45 packages 22:20:05 Removing intermediate container f6adc1bed673 22:20:05 ---> 0d027cc0d581 22:20:05 Step 6/8 : WORKDIR /build 22:20:05 ---> Running in af23e6e9cf2b 22:20:05 Removing intermediate container af23e6e9cf2b 22:20:05 ---> 5a4eb5b4553b 22:20:05 Step 7/8 : COPY go.mod . 22:20:06 ---> 90a025e3b08b 22:20:06 Step 8/8 : RUN go mod download 22:20:06 ---> Running in 845df2486361 22:20:15 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.037s coverage: 78.0% of statements 22:20:15 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.007s coverage: 94.4% of statements 22:20:15 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:20:15 gofmt -l . 22:20:15 internal/constants.go 22:20:15 pkg/transforms/compression_test.go 22:20:15 pkg/transforms/encryption_test.go 22:20:15 [ "`gofmt -l .`" = "" ] 22:20:15 make: *** [Makefile:32: test-sdk] Error 1 [Pipeline] } 22:20:15 $ docker stop --time=1 61101eac3fe7a64bda35ea274642439478cedb916d2b39034993b245f3cc5311 22:20:17 $ docker rm -f 61101eac3fe7a64bda35ea274642439478cedb916d2b39034993b245f3cc5311 [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 [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 22:20:18 ---> job-cost.sh 22:20:18 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Z8pr 22:20:28 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 22:20:32 Removing intermediate container 845df2486361 22:20:32 ---> f492ecc6646e 22:20:32 Successfully built f492ecc6646e 22:20:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:20:33 + docker inspect -f . ci-base-image-arm64 22:20:33 . [Pipeline] withDockerContainer 22:20:33 prd-ubuntu18.04-docker-arm64-4c-16g-331 does not seem to be running inside a container 22:20:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:20:35 $ docker top 65ebad8b3f190dc1ded98ef933b7005e4645fd2b5859776738a573cd1b2f4953 -eo pid,comm [Pipeline] { [Pipeline] sh 22:20:36 + go version 22:20:36 go version go1.16.5 linux/arm64 [Pipeline] } 22:20:36 $ docker stop --time=1 65ebad8b3f190dc1ded98ef933b7005e4645fd2b5859776738a573cd1b2f4953 22:20:38 $ docker rm -f 65ebad8b3f190dc1ded98ef933b7005e4645fd2b5859776738a573cd1b2f4953 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:20:39 + docker inspect -f . ci-base-image-arm64 22:20:39 . [Pipeline] withDockerContainer 22:20:39 prd-ubuntu18.04-docker-arm64-4c-16g-331 does not seem to be running inside a container 22:20:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:20:41 $ docker top 8d77face08cb2b32cb1055856be3cd3d0db3b59d168123bf6d190965c83e3136 -eo pid,comm [Pipeline] { [Pipeline] sh 22:20:42 + go mod tidy [Pipeline] sh 22:20:43 lf-activate-venv(): INFO: Adding /tmp/venv-Z8pr/bin to PATH 22:20:43 INFO: No Stack... 22:20:43 INFO: Retrieving Pricing Info for: v3-standard-2 22:20:43 INFO: Archiving Costs [Pipeline] sh 22:20:43 + make test 22:20:43 make -C ./app-service-template build 22:20:43 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/3/app-service-template' 22:20:43 go mod tidy 22:20:43 + cut -d, -f6 22:20:43 + cat /w/workspace/app-functions-sdk-go/3/archives/cost.csv [Pipeline] lock 22:20:43 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-892-3-stack-cost] 22:20:43 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-892-3-stack-cost] did not exist. Created. 22:20:43 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-892-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:20:43 + echo total: 0.05999999865889549 [Pipeline] stash 22:20:44 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.52 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service 22:20:44 Stashed 1 file(s) [Pipeline] } 22:20:44 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-892-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:20:44 Failed in branch amd64 22:21:23 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/3/app-service-template' 22:21:23 make -C ./app-service-template test 22:21:23 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/3/app-service-template' 22:21:23 go mod tidy 22:21:23 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 22:21:49 ok new-app-service 0.049s coverage: 47.8% of statements 22:21:49 ? new-app-service/config [no test files] 22:21:49 ok new-app-service/functions 0.041s 22:21:49 CGO_ENABLED=1 go vet ./... 22:22:16 gofmt -l . 22:22:16 [ "`gofmt -l .`" = "" ] 22:22:16 ./bin/test-attribution-txt.sh 22:22:18 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/3/app-service-template' 22:22:18 go mod tidy 22:22:19 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:22:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 22:22:28 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.077s coverage: 62.8% of statements 22:22:28 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.053s coverage: 96.5% of statements 22:22:28 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 22:22:28 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.097s coverage: 61.8% of statements 22:22:28 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 22:22:28 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.036s 22:22:29 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.144s coverage: 74.5% of statements 22:22:29 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 22:22:29 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 22:22:29 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 22:22:29 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 22:22:29 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 22:22:29 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 22:22:29 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.014s coverage: 97.1% of statements 22:22:29 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 22:22:29 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.056s coverage: 10.5% of statements 22:22:36 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.897s coverage: 76.9% of statements 22:22:36 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 22:22:36 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.033s coverage: 12.5% of statements 22:22:36 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.071s coverage: 27.3% of statements 22:22:36 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 22:22:36 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 22:22:36 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.041s coverage: 51.4% of statements 22:23:03 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.106s coverage: 78.0% of statements 22:23:03 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.030s coverage: 94.4% of statements 22:23:03 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:23:05 gofmt -l . 22:23:05 internal/constants.go 22:23:05 pkg/transforms/compression_test.go 22:23:05 pkg/transforms/encryption_test.go 22:23:05 [ "`gofmt -l .`" = "" ] 22:23:06 make: *** [Makefile:32: test-sdk] Error 1 [Pipeline] } 22:23:06 $ docker stop --time=1 8d77face08cb2b32cb1055856be3cd3d0db3b59d168123bf6d190965c83e3136 22:23:08 $ docker rm -f 8d77face08cb2b32cb1055856be3cd3d0db3b59d168123bf6d190965c83e3136 [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] libraryResource [Pipeline] sh 22:23:09 ---> job-cost.sh 22:23:09 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-1PbY 22:24:06 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 22:26:13 lf-activate-venv(): INFO: Adding /tmp/venv-1PbY/bin to PATH 22:26:13 INFO: No Stack... 22:26:13 INFO: Retrieving Pricing Info for: v2-standard-4 22:26:13 INFO: Archiving Costs [Pipeline] sh 22:26:13 + cat /w/workspace/app-functions-sdk-go/3/archives/cost.csv 22:26:13 + cut -d, -f6 [Pipeline] lock 22:26:13 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-892-3-stack-cost] 22:26:13 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-892-3-stack-cost] did not exist. Created. 22:26:13 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-892-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:26:14 /w/workspace/app-functions-sdk-go/3@tmp/durable-47f5a6f5/script.sh: 1: /w/workspace/app-functions-sdk-go/3@tmp/durable-47f5a6f5/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 22:26:14 + echo total: 0.18000000715255737 [Pipeline] stash 22:26:14 Warning: overwriting stash ‘stack-cost’ 22:26:15 Stashed 1 file(s) [Pipeline] } 22:26:15 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-892-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:26:15 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] libraryResource [Pipeline] sh 22:26:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:26:17 ---> package-listing.sh 22:26:17 ++ facter osfamily 22:26:17 ++ tr '[:upper:]' '[:lower:]' 22:26:17 + OS_FAMILY=redhat 22:26:17 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-892 22:26:17 + START_PACKAGES=/tmp/packages_start.txt 22:26:17 + END_PACKAGES=/tmp/packages_end.txt 22:26:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:26:17 + PACKAGES=/tmp/packages_start.txt 22:26:17 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-892 ']' 22:26:17 + PACKAGES=/tmp/packages_end.txt 22:26:17 + case "${OS_FAMILY}" in 22:26:17 + sort 22:26:17 + rpm -qa 22:26:18 + '[' -f /tmp/packages_start.txt ']' 22:26:18 + '[' -f /tmp/packages_end.txt ']' 22:26:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:26:18 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-892 ']' 22:26:18 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-892/archives/ 22:26:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-892/archives/ [Pipeline] echo 22:26:18 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-892/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:26:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:26:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:26:19 22:26:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 22:26:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:26:19 alpine: Pulling from edgex-lftools-log-publisher 22:26:19 df20fa9351a1: Pulling fs layer 22:26:19 36b3adc4ff6f: Pulling fs layer 22:26:19 8ad3a11d3b57: Pulling fs layer 22:26:19 46f8f816bc3b: Pulling fs layer 22:26:19 93b61091891f: Pulling fs layer 22:26:19 93b9cdb0e59b: Pulling fs layer 22:26:19 5e14af77c1be: Pulling fs layer 22:26:19 01666e4c0597: Pulling fs layer 22:26:19 aa168da1d23b: Pulling fs layer 22:26:19 46f8f816bc3b: Waiting 22:26:19 93b61091891f: Waiting 22:26:19 93b9cdb0e59b: Waiting 22:26:19 5e14af77c1be: Waiting 22:26:19 01666e4c0597: Waiting 22:26:19 aa168da1d23b: Waiting 22:26:19 36b3adc4ff6f: Verifying Checksum 22:26:19 36b3adc4ff6f: Download complete 22:26:19 46f8f816bc3b: Verifying Checksum 22:26:19 46f8f816bc3b: Download complete 22:26:19 df20fa9351a1: Verifying Checksum 22:26:19 df20fa9351a1: Download complete 22:26:19 93b9cdb0e59b: Verifying Checksum 22:26:19 93b9cdb0e59b: Download complete 22:26:19 93b61091891f: Verifying Checksum 22:26:19 93b61091891f: Download complete 22:26:19 5e14af77c1be: Verifying Checksum 22:26:19 5e14af77c1be: Download complete 22:26:19 01666e4c0597: Verifying Checksum 22:26:19 01666e4c0597: Download complete 22:26:19 df20fa9351a1: Pull complete 22:26:20 8ad3a11d3b57: Verifying Checksum 22:26:20 8ad3a11d3b57: Download complete 22:26:20 36b3adc4ff6f: Pull complete 22:26:21 8ad3a11d3b57: Pull complete 22:26:21 46f8f816bc3b: Pull complete 22:26:21 93b61091891f: Pull complete 22:26:21 93b9cdb0e59b: Pull complete 22:26:21 5e14af77c1be: Pull complete 22:26:21 aa168da1d23b: Verifying Checksum 22:26:21 aa168da1d23b: Download complete 22:26:21 01666e4c0597: Pull complete 22:26:25 aa168da1d23b: Pull complete 22:26:26 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 22:26:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:26:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 22:26:26 prd-centos7-docker-4c-2g-330 does not seem to be running inside a container 22:26:26 $ 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-892/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-892 -v /w/workspace/ndry_app-functions-sdk-go_PR-892:/w/workspace/ndry_app-functions-sdk-go_PR-892:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-892@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-892@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 22:26:28 $ docker top e0b43ca52325a9325518dc7534c7ac0b0102e790dee30c996f2fa8f0d8501f3b -eo pid,comm [Pipeline] { [Pipeline] sh 22:26:29 + touch /tmp/pre-build-complete [Pipeline] sh 22:26:29 + mkdir -p /var/log/sa [Pipeline] sh 22:26:29 + ls /var/log/sa-host 22:26:29 + sadf -c /var/log/sa-host/sa05 22:26:29 file_magic: OK 22:26:29 HZ: Using current value: 100 22:26:29 file_header: OK 22:26:29 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 22:26:29 Statistics: 22:26:29 Hnuu...uuuununununu...Hnuu...uuuununununu... 22:26:29 File successfully converted to sysstat format version 12.2.1 22:26:29 + sadf -c /var/log/sa-host/sa10 22:26:29 file_magic: OK 22:26:29 HZ: Using current value: 100 22:26:29 file_header: OK 22:26:29 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 22:26:29 Statistics: 22:26:29 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 22:26:29 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:26:30 provisioning config files... 22:26:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-892@tmp/config3736190088573834270tmp [Pipeline] { [Pipeline] echo 22:26:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:26:30 ---> create-netrc.sh [Pipeline] } 22:26:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:26:30 ---> python-tools-install.sh [Pipeline] echo 22:26:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:26:31 ---> sudo-logs.sh 22:26:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:26:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:26:31 ---> job-cost.sh 22:26:31 lf-activate-venv: SKIPPING 22:26:31 DEBUG: total: 0.18000000715255737 22:26:31 INFO: Retrieving Stack Cost... 22:26:32 INFO: Retrieving Pricing Info for: v3-standard-2 22:26:32 INFO: Archiving Costs [Pipeline] echo 22:26:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:26:33 ---> logs-deploy.sh 22:26:33 lf-activate-venv: SKIPPING 22:26:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-892/3 22:26:33 INFO: archiving workspace using pattern(s): 22:26:34 Archives upload complete. 22:26:34 INFO: archiving logs to Nexus