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 32cf42863b46163303411bbb852fcf4d51070a2e+4c3c66c497cf52a3890b5e73c45d4dacb89714fe (a50cf320863963067f6827e61486187ba2453070) 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-ssh866009762483264776.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-ssh5468556545965924481.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-ssh7611321062915936924.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-ssh1473083231219198940.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-ssh2099846202957646721.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-349 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-ssh2426898504950404420.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 32cf42863b46163303411bbb852fcf4d51070a2e Merge succeeded, producing 32cf42863b46163303411bbb852fcf4d51070a2e Checking out Revision 32cf42863b46163303411bbb852fcf4d51070a2e (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-ssh9124966381414069143.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 32cf42863b46163303411bbb852fcf4d51070a2e # 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-ssh4165963838425803155.key > git merge 4c3c66c497cf52a3890b5e73c45d4dacb89714fe # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 32cf42863b46163303411bbb852fcf4d51070a2e # timeout=10 Commit message: "refactor: Fmt files and rename constants.go to constant.go for IDE issue." > git rev-list --no-walk 3794f80619d57abb19203c4c9eda28e25b163675 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:23:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:23:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:23:24 ========================================================= 22:23:24 EdgeX Global Pipelines Version Info 22:23:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:23:25 ------------------- 22:23:25 stable info: 22:23:25 ------------------- 22:23:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:23:25 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 22:23:25 Message: update stable to v1.0.195 22:23:26 ------------------- 22:23:26 experimental info: 22:23:26 ------------------- 22:23:26 Commited By: **** collab-it+edgex@linuxfoundation.org 22:23:26 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 22:23:26 Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:23:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 22:23:26 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 22:23:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:23:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:23:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:23:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 22:23:26 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 22:23:26 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 22:23:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:23:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:23:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:23:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 22:23:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:23:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:23:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 22:23:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:23:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:23:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:23:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:23:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:23:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:23:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 22:23:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:23:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:23:26 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 22:23:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:23:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-892 [Pipeline] echo 22:23:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-892 [Pipeline] echo 22:23:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-892 [Pipeline] echo 22:23:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 32cf42863b46163303411bbb852fcf4d51070a2e [Pipeline] echo 22:23:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 32cf428 [Pipeline] echo 22:23:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:23:27 + git log --format=format:%s -1 32cf42863b46163303411bbb852fcf4d51070a2e [Pipeline] echo 22:23:27 GIT_COMMIT: 32cf42863b46163303411bbb852fcf4d51070a2e, Commit Message: refactor: Fmt files and rename constants.go to constant.go for IDE issue. [Pipeline] echo 22:23:27 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 22:23:28 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:23:28 22:23:28 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:23:28 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:23:28 latest: Pulling from edgex-devops/git-semver 22:23:28 31603596830f: Pulling fs layer 22:23:28 54011a49482f: Pulling fs layer 22:23:28 a6820b24f6d8: Pulling fs layer 22:23:28 f581987b2513: Pulling fs layer 22:23:28 f581987b2513: Waiting 22:23:28 54011a49482f: Verifying Checksum 22:23:28 54011a49482f: Download complete 22:23:29 31603596830f: Verifying Checksum 22:23:29 31603596830f: Download complete 22:23:29 f581987b2513: Verifying Checksum 22:23:29 f581987b2513: Download complete 22:23:29 a6820b24f6d8: Verifying Checksum 22:23:29 a6820b24f6d8: Download complete 22:23:29 31603596830f: Pull complete 22:23:29 54011a49482f: Pull complete 22:23:30 a6820b24f6d8: Pull complete 22:23:30 f581987b2513: Pull complete 22:23:30 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 22:23:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:23:30 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:23:30 prd-centos7-docker-4c-2g-349 does not seem to be running inside a container 22:23:30 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:23:31 $ docker top 3b6fba836953bf9f6d6c45febe1fae15cbd3516d858f0e5d82bd2ecb852985d1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:23:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:23:31 [ssh-agent] Looking for ssh-agent implementation... 22:23:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:23:31 $ docker exec 3b6fba836953bf9f6d6c45febe1fae15cbd3516d858f0e5d82bd2ecb852985d1 ssh-agent 22:23:32 SSH_AUTH_SOCK=/tmp/ssh-bAqcMQWzHmY8/agent.14 22:23:32 SSH_AGENT_PID=21 22:23:32 Running ssh-add (command line suppressed) 22:23:32 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-892@tmp/private_key_478004759529249101.key (/w/workspace/ndry_app-functions-sdk-go_PR-892@tmp/private_key_478004759529249101.key) 22:23:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:23:32 + git tag --points-at HEAD [Pipeline] } 22:23:32 $ docker exec --env ******** --env ******** 3b6fba836953bf9f6d6c45febe1fae15cbd3516d858f0e5d82bd2ecb852985d1 ssh-agent -k 22:23:32 unset SSH_AUTH_SOCK; 22:23:32 unset SSH_AGENT_PID; 22:23:32 echo Agent pid 21 killed; 22:23:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:23:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:23:32 [ssh-agent] Looking for ssh-agent implementation... 22:23:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:23:32 $ docker exec 3b6fba836953bf9f6d6c45febe1fae15cbd3516d858f0e5d82bd2ecb852985d1 ssh-agent 22:23:33 SSH_AUTH_SOCK=/tmp/ssh-GeNIwFC8yl3S/agent.54 22:23:33 SSH_AGENT_PID=61 22:23:33 Running ssh-add (command line suppressed) 22:23:33 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-892@tmp/private_key_4195253386773601956.key (/w/workspace/ndry_app-functions-sdk-go_PR-892@tmp/private_key_4195253386773601956.key) 22:23:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:23:33 + git semver init 22:23:33 # -> Open(): unable to determine branch for HEAD 22:23:33 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-892/.git 22:23:33 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-892 22:23:33 # $SEMVER_REMOTE_NAME = origin 22:23:33 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:23:33 # $SEMVER_USER_NAME = edgex-jenkins 22:23:33 # $SEMVER_BRANCH = PR-892 22:23:33 # $SEMVER_TEMP = /tmp/semver-942247241 22:23:33 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 22:23:35 # '/tmp/semver-942247241' -> '/w/workspace/ndry_app-functions-sdk-go_PR-892/.semver' 22:23:35 # -> Force: false 22:23:35 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-892/.semver [Pipeline] } 22:23:35 $ docker exec --env ******** --env ******** 3b6fba836953bf9f6d6c45febe1fae15cbd3516d858f0e5d82bd2ecb852985d1 ssh-agent -k 22:23:35 unset SSH_AUTH_SOCK; 22:23:35 unset SSH_AGENT_PID; 22:23:35 echo Agent pid 61 killed; 22:23:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:23:35 + git semver [Pipeline] } 22:23:35 $ docker stop --time=1 3b6fba836953bf9f6d6c45febe1fae15cbd3516d858f0e5d82bd2ecb852985d1 22:23:37 $ docker rm -f 3b6fba836953bf9f6d6c45febe1fae15cbd3516d858f0e5d82bd2ecb852985d1 [Pipeline] // withDockerContainer [Pipeline] sh 22:23:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:23:37 Stashed 1 file(s) [Pipeline] echo 22:23:37 [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:23:53 Still waiting to schedule task 22:23:53 Waiting for next available executor on ‘centos7-docker-4c-2g’ 22:23:53 Still waiting to schedule task 22:23:53 ‘prd-centos7-docker-4c-2g-332’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ 22:23:53 ‘prd-centos7-docker-4c-2g-338’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ 22:23:53 ‘prd-centos7-docker-4c-2g-340’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ 22:23:53 ‘prd-centos7-docker-4c-2g-341’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ 22:23:53 ‘prd-centos7-docker-4c-2g-343’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ 22:23:53 ‘prd-centos7-docker-4c-2g-344’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ 22:23:53 ‘prd-centos7-docker-4c-2g-346’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ 22:23:53 ‘prd-ubuntu18.04-docker-arm64-4c-16g-351’ is offline 22:25:05 Running on prd-ubuntu18.04-docker-arm64-4c-16g-354 in /w/workspace/ndry_app-functions-sdk-go_PR-892 [Pipeline] { [Pipeline] ws 22:25:05 Running in /w/workspace/app-functions-sdk-go/4 [Pipeline] { [Pipeline] checkout 22:25:05 The recommended git tool is: git 22:25:10 using credential edgex-jenkins-ssh 22:25:11 Cloning the remote Git repository 22:25:11 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 22:25:11 > git init /w/workspace/app-functions-sdk-go/4 # timeout=10 22:25:11 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 22:25:11 > git --version # timeout=10 22:25:11 > git --version # 'git version 2.17.1' 22:25:11 using GIT_SSH to set credentials SSH Credentials for GitHub 22:25:11 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:25:15 Running on prd-centos7-docker-4c-2g-355 in /w/workspace/ndry_app-functions-sdk-go_PR-892 [Pipeline] { [Pipeline] ws 22:25:15 Running in /w/workspace/app-functions-sdk-go/4 [Pipeline] { 22:25:15 Merging remotes/origin/master commit 4c3c66c497cf52a3890b5e73c45d4dacb89714fe into PR head commit 32cf42863b46163303411bbb852fcf4d51070a2e [Pipeline] checkout 22:25:14 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 22:25:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:25:14 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 22:25:14 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 22:25:14 using GIT_SSH to set credentials SSH Credentials for GitHub 22:25:14 > 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:25:15 > git config core.sparsecheckout # timeout=10 22:25:15 The recommended git tool is: git 22:25:15 Merge succeeded, producing 32cf42863b46163303411bbb852fcf4d51070a2e 22:25:15 Checking out Revision 32cf42863b46163303411bbb852fcf4d51070a2e (PR-892) 22:25:15 > git checkout -f 32cf42863b46163303411bbb852fcf4d51070a2e # timeout=10 22:25:15 > git remote # timeout=10 22:25:15 > git config --get remote.origin.url # timeout=10 22:25:15 using GIT_SSH to set credentials SSH Credentials for GitHub 22:25:15 > git merge 4c3c66c497cf52a3890b5e73c45d4dacb89714fe # timeout=10 22:25:15 > git rev-parse HEAD^{commit} # timeout=10 22:25:15 > git config core.sparsecheckout # timeout=10 22:25:15 > git checkout -f 32cf42863b46163303411bbb852fcf4d51070a2e # timeout=10 22:25:17 using credential edgex-jenkins-ssh 22:25:17 Cloning the remote Git repository 22:25:18 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 22:25:18 > git init /w/workspace/app-functions-sdk-go/4 # timeout=10 22:25:18 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 22:25:18 > git --version # timeout=10 22:25:18 > git --version # 'git version 2.24.4' 22:25:18 using GIT_SSH to set credentials SSH Credentials for GitHub 22:25:18 [INFO] Currently running in a labeled security context 22:25:18 [INFO] Currently SELinux is 'enforcing' on the host 22:25:18 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/4@tmp/jenkins-gitclient-ssh2838236759444816822.key 22:25:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:25:19 Commit message: "refactor: Fmt files and rename constants.go to constant.go for IDE issue." 22:25:20 Merging remotes/origin/master commit 4c3c66c497cf52a3890b5e73c45d4dacb89714fe into PR head commit 32cf42863b46163303411bbb852fcf4d51070a2e 22:25:20 Merge succeeded, producing 32cf42863b46163303411bbb852fcf4d51070a2e 22:25:20 Checking out Revision 32cf42863b46163303411bbb852fcf4d51070a2e (PR-892) 22:25:19 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 22:25:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:25:19 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 22:25:19 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 22:25:19 using GIT_SSH to set credentials SSH Credentials for GitHub 22:25:19 [INFO] Currently running in a labeled security context 22:25:19 [INFO] Currently SELinux is 'enforcing' on the host 22:25:19 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/4@tmp/jenkins-gitclient-ssh7562681184882680984.key 22:25:19 > 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:25:20 > git config core.sparsecheckout # timeout=10 22:25:20 > git checkout -f 32cf42863b46163303411bbb852fcf4d51070a2e # timeout=10 22:25:20 > git remote # timeout=10 22:25:20 > git config --get remote.origin.url # timeout=10 22:25:20 using GIT_SSH to set credentials SSH Credentials for GitHub 22:25:20 [INFO] Currently running in a labeled security context 22:25:20 [INFO] Currently SELinux is 'enforcing' on the host 22:25:20 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/4@tmp/jenkins-gitclient-ssh1845331277287912475.key 22:25:20 > git merge 4c3c66c497cf52a3890b5e73c45d4dacb89714fe # timeout=10 22:25:20 > git rev-parse HEAD^{commit} # timeout=10 22:25:20 > git config core.sparsecheckout # timeout=10 22:25:20 > git checkout -f 32cf42863b46163303411bbb852fcf4d51070a2e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:25:21 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 22:25:21 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:25:22 + sudo service docker restart 22:25:22 + true 22:25:23 Commit message: "refactor: Fmt files and rename constants.go to constant.go for IDE issue." [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:25:24 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 22:25:25 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:25:25 + sudo service docker restart 22:25:25 + true 22:25:25 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo 22:25:40 ========================================================= 22:25:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 22:25:40 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:25:41 + 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:25:42 Sending build context to Docker daemon 19.97MB 22:25:42 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 22:25:42 Step 2/8 : FROM ${BASE} 22:25:42 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:25:42 595b0fe564bb: Pulling fs layer 22:25:42 3088b5b3c5c0: Pulling fs layer 22:25:42 5b7225fbf94c: Pulling fs layer 22:25:42 ba82ee9f976e: Pulling fs layer 22:25:42 506bd15cee9f: Pulling fs layer 22:25:42 75a0a4a0db45: Pulling fs layer 22:25:42 618dc40b7e24: Pulling fs layer 22:25:42 ba82ee9f976e: Waiting 22:25:42 506bd15cee9f: Waiting 22:25:42 75a0a4a0db45: Waiting 22:25:42 618dc40b7e24: Waiting 22:25:43 5b7225fbf94c: Verifying Checksum 22:25:43 5b7225fbf94c: Download complete 22:25:43 3088b5b3c5c0: Verifying Checksum 22:25:43 3088b5b3c5c0: Download complete 22:25:43 506bd15cee9f: Verifying Checksum 22:25:43 506bd15cee9f: Download complete 22:25:43 75a0a4a0db45: Verifying Checksum 22:25:43 75a0a4a0db45: Download complete 22:25:43 595b0fe564bb: Download complete [Pipeline] unstash 22:25:43 595b0fe564bb: Pull complete [Pipeline] echo 22:25:43 ========================================================= 22:25:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 22:25:43 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:25:44 + 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:25:44 Sending build context to Docker daemon 19.97MB 22:25:44 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 22:25:44 Step 2/8 : FROM ${BASE} 22:25:44 3088b5b3c5c0: Pull complete 22:25:45 5b7225fbf94c: Pull complete 22:25:45 618dc40b7e24: Verifying Checksum 22:25:45 618dc40b7e24: Download complete 22:25:45 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 22:25:45 540db60ca938: Pulling fs layer 22:25:45 adcc1eea9eea: Pulling fs layer 22:25:45 4c4ab2625f07: Pulling fs layer 22:25:45 0510c868ecb4: Pulling fs layer 22:25:45 afea3b2eda06: Pulling fs layer 22:25:45 7809a108b3ef: Pulling fs layer 22:25:45 f706445af74f: Pulling fs layer 22:25:45 0510c868ecb4: Waiting 22:25:45 afea3b2eda06: Waiting 22:25:45 7809a108b3ef: Waiting 22:25:45 f706445af74f: Waiting 22:25:45 4c4ab2625f07: Verifying Checksum 22:25:45 4c4ab2625f07: Download complete 22:25:45 adcc1eea9eea: Verifying Checksum 22:25:45 adcc1eea9eea: Download complete 22:25:45 afea3b2eda06: Verifying Checksum 22:25:45 afea3b2eda06: Download complete 22:25:45 7809a108b3ef: Verifying Checksum 22:25:45 7809a108b3ef: Download complete 22:25:45 540db60ca938: Verifying Checksum 22:25:45 540db60ca938: Download complete 22:25:45 540db60ca938: Pull complete 22:25:46 adcc1eea9eea: Pull complete 22:25:46 4c4ab2625f07: Pull complete 22:25:47 ba82ee9f976e: Verifying Checksum 22:25:47 ba82ee9f976e: Download complete 22:25:47 f706445af74f: Verifying Checksum 22:25:47 f706445af74f: Download complete 22:25:48 0510c868ecb4: Verifying Checksum 22:25:48 0510c868ecb4: Download complete 22:25:51 0510c868ecb4: Pull complete 22:25:51 afea3b2eda06: Pull complete 22:25:51 7809a108b3ef: Pull complete 22:25:52 f706445af74f: Pull complete 22:25:52 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 22:25:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 22:25:52 ---> b068be0155e3 22:25:52 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 22:25:52 20.10.0: Pulling from library/docker 22:25:52 05e7bc50f07f: Pulling fs layer 22:25:52 6db28d0fdbf6: Pulling fs layer 22:25:52 292df0bc6bf3: Pulling fs layer 22:25:52 2e060f4bd70b: Pulling fs layer 22:25:52 80e8d568a223: Pulling fs layer 22:25:52 8dc6ef1a942a: Pulling fs layer 22:25:52 2312dd95470a: Pulling fs layer 22:25:52 2e060f4bd70b: Waiting 22:25:52 80e8d568a223: Waiting 22:25:52 8dc6ef1a942a: Waiting 22:25:52 2312dd95470a: Waiting 22:25:52 292df0bc6bf3: Verifying Checksum 22:25:52 292df0bc6bf3: Download complete 22:25:52 6db28d0fdbf6: Verifying Checksum 22:25:52 6db28d0fdbf6: Download complete 22:25:52 80e8d568a223: Verifying Checksum 22:25:52 80e8d568a223: Download complete 22:25:52 05e7bc50f07f: Verifying Checksum 22:25:52 05e7bc50f07f: Download complete 22:25:52 8dc6ef1a942a: Verifying Checksum 22:25:52 8dc6ef1a942a: Download complete 22:25:52 2312dd95470a: Verifying Checksum 22:25:52 2312dd95470a: Download complete 22:25:53 05e7bc50f07f: Pull complete 22:25:53 6db28d0fdbf6: Pull complete 22:25:53 292df0bc6bf3: Pull complete 22:25:54 2e060f4bd70b: Verifying Checksum 22:25:54 2e060f4bd70b: Download complete 22:25:55 2e060f4bd70b: Pull complete 22:25:55 80e8d568a223: Pull complete 22:25:55 8dc6ef1a942a: Pull complete 22:25:55 2312dd95470a: Pull complete 22:25:55 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 22:25:55 Status: Downloaded newer image for docker:20.10.0 22:25:57 ba82ee9f976e: Pull complete 22:25:57 506bd15cee9f: Pull complete 22:25:58 75a0a4a0db45: Pull complete 22:25:59 ---> cdcc14e92954 22:25:59 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 22:25:59 ---> Running in 058ef896b351 22:25:59 Removing intermediate container 058ef896b351 22:25:59 ---> 51638e48e929 22:25:59 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 22:25:59 ---> Running in 63fa59ac97c8 22:25:59 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 22:25:59 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 22:26:00 (1/5) Installing libsodium (1.0.18-r0) 22:26:00 (2/5) Installing libzmq (4.3.3-r1) 22:26:00 (3/5) Installing pkgconf (1.7.3-r0) 22:26:00 (4/5) Installing libsodium-dev (1.0.18-r0) 22:26:00 (5/5) Installing zeromq-dev (4.3.3-r1) 22:26:00 Executing busybox-1.32.1-r6.trigger 22:26:00 OK: 150 MiB in 45 packages 22:26:01 Removing intermediate container 63fa59ac97c8 22:26:01 ---> 01841ce308b0 22:26:01 Step 6/8 : WORKDIR /build 22:26:01 ---> Running in 4aaf63383de0 22:26:01 Removing intermediate container 4aaf63383de0 22:26:01 ---> 66c8090546f8 22:26:01 Step 7/8 : COPY go.mod . 22:26:01 618dc40b7e24: Pull complete 22:26:01 Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 22:26:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 22:26:01 ---> a36622ca3599 22:26:01 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 22:26:01 ---> e82a35d60176 22:26:01 Step 8/8 : RUN go mod download 22:26:01 ---> Running in afe8cfb5ecc2 22:26:01 20.10.0: Pulling from library/docker 22:26:01 a3cc7d3b244e: Pulling fs layer 22:26:01 02a3295e0d61: Pulling fs layer 22:26:01 0f4f2e6d8100: Pulling fs layer 22:26:01 330b718f631f: Pulling fs layer 22:26:01 a93816041522: Pulling fs layer 22:26:01 bdb6da89ff94: Pulling fs layer 22:26:01 2a70c0c122f4: Pulling fs layer 22:26:01 330b718f631f: Waiting 22:26:01 a93816041522: Waiting 22:26:01 bdb6da89ff94: Waiting 22:26:01 2a70c0c122f4: Waiting 22:26:01 0f4f2e6d8100: Verifying Checksum 22:26:01 0f4f2e6d8100: Download complete 22:26:01 a3cc7d3b244e: Verifying Checksum 22:26:01 a3cc7d3b244e: Download complete 22:26:01 02a3295e0d61: Verifying Checksum 22:26:01 02a3295e0d61: Download complete 22:26:01 a93816041522: Verifying Checksum 22:26:01 a93816041522: Download complete 22:26:01 bdb6da89ff94: Verifying Checksum 22:26:01 bdb6da89ff94: Download complete 22:26:01 2a70c0c122f4: Verifying Checksum 22:26:01 2a70c0c122f4: Download complete 22:26:02 a3cc7d3b244e: Pull complete 22:26:03 02a3295e0d61: Pull complete 22:26:03 0f4f2e6d8100: Pull complete 22:26:03 330b718f631f: Download complete 22:26:08 330b718f631f: Pull complete 22:26:08 a93816041522: Pull complete 22:26:08 bdb6da89ff94: Pull complete 22:26:08 2a70c0c122f4: Pull complete 22:26:08 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 22:26:09 Status: Downloaded newer image for docker:20.10.0 22:26:13 Removing intermediate container afe8cfb5ecc2 22:26:13 ---> f8436790fbe2 22:26:13 Successfully built f8436790fbe2 22:26:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:26:14 + docker inspect -f . ci-base-image-x86_64 22:26:14 . [Pipeline] withDockerContainer 22:26:14 prd-centos7-docker-4c-2g-355 does not seem to be running inside a container 22:26:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:26:14 ---> 9bd3e42521a4 22:26:14 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 22:26:14 ---> Running in 3855bf1ca341 22:26:14 $ docker top d8146af9c44475b03b9a30bb0e7b4845eafbb23a9db8ca38c3363667fa1dcfae -eo pid,comm [Pipeline] { [Pipeline] sh 22:26:14 + go version 22:26:14 go version go1.16.3 linux/amd64 [Pipeline] } 22:26:14 $ docker stop --time=1 d8146af9c44475b03b9a30bb0e7b4845eafbb23a9db8ca38c3363667fa1dcfae 22:26:15 Removing intermediate container 3855bf1ca341 22:26:15 ---> 72e2d0bc700f 22:26:15 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 22:26:15 ---> Running in 56ff9b8862f9 22:26:16 $ docker rm -f d8146af9c44475b03b9a30bb0e7b4845eafbb23a9db8ca38c3363667fa1dcfae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:26:16 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 22:26:16 + docker inspect -f . ci-base-image-x86_64 22:26:16 . [Pipeline] withDockerContainer 22:26:16 prd-centos7-docker-4c-2g-355 does not seem to be running inside a container 22:26:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:26:17 $ docker top 5f8836bf5396f0603cdeda71ce75b204597e14d02c0d54e0a714dd5e255b1a53 -eo pid,comm [Pipeline] { [Pipeline] sh 22:26:17 + go mod tidy 22:26:17 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [Pipeline] sh 22:26:18 + make test 22:26:18 make -C ./app-service-template build 22:26:18 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/4/app-service-template' 22:26:18 go mod tidy 22:26:18 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:26:18 (1/5) Installing libsodium (1.0.18-r0) 22:26:18 (2/5) Installing libzmq (4.3.3-r1) 22:26:18 (3/5) Installing pkgconf (1.7.3-r0) 22:26:18 (4/5) Installing libsodium-dev (1.0.18-r0) 22:26:18 (5/5) Installing zeromq-dev (4.3.3-r1) 22:26:18 Executing busybox-1.32.1-r6.trigger 22:26:18 OK: 139 MiB in 45 packages 22:26:20 Removing intermediate container 56ff9b8862f9 22:26:20 ---> dacf3d6296df 22:26:20 Step 6/8 : WORKDIR /build 22:26:20 ---> Running in 7c0bf6d59ae2 22:26:20 Removing intermediate container 7c0bf6d59ae2 22:26:20 ---> e61869e1bf5b 22:26:20 Step 7/8 : COPY go.mod . 22:26:21 ---> ac29b1ea7242 22:26:21 Step 8/8 : RUN go mod download 22:26:21 ---> Running in 72142d310fef 22:26:28 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/4/app-service-template' 22:26:28 make -C ./app-service-template test 22:26:28 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/4/app-service-template' 22:26:28 go mod tidy 22:26:28 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 22:26:37 ok new-app-service 0.007s coverage: 47.8% of statements 22:26:37 ? new-app-service/config [no test files] 22:26:37 ok new-app-service/functions 0.007s 22:26:37 CGO_ENABLED=1 go vet ./... 22:26:43 gofmt -l . 22:26:43 [ "`gofmt -l .`" = "" ] 22:26:43 ./bin/test-attribution-txt.sh 22:26:43 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/4/app-service-template' 22:26:43 go mod tidy 22:26:43 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:26:44 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 22:26:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.009s coverage: 62.8% of statements 22:26:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.007s coverage: 96.5% of statements 22:26:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 22:26:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.011s coverage: 61.8% of statements 22:26:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 22:26:46 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.023s 22:26:46 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.021s coverage: 74.5% of statements 22:26:46 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 22:26:46 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 22:26:46 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 22:26:46 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 22:26:46 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 22:26:46 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 22:26:46 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.007s coverage: 97.1% of statements 22:26:46 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 22:26:46 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.009s coverage: 10.5% of statements 22:26:48 Removing intermediate container 72142d310fef 22:26:48 ---> 09210cf83135 22:26:48 Successfully built 09210cf83135 22:26:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:26:48 + docker inspect -f . ci-base-image-arm64 22:26:48 . [Pipeline] withDockerContainer 22:26:49 prd-ubuntu18.04-docker-arm64-4c-16g-354 does not seem to be running inside a container 22:26:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:26:50 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.729s coverage: 76.9% of statements 22:26:50 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 22:26:50 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.005s coverage: 12.5% of statements 22:26:50 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.009s coverage: 27.3% of statements 22:26:50 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 22:26:50 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 22:26:50 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.006s coverage: 51.4% of statements 22:26:50 $ docker top d5cd98e277413836b4fc34325d2a509e5e6ac1bf1eb686de42d7d3c7df216093 -eo pid,comm [Pipeline] { [Pipeline] sh 22:26:51 + go version 22:26:51 go version go1.16.5 linux/arm64 [Pipeline] } 22:26:51 $ docker stop --time=1 d5cd98e277413836b4fc34325d2a509e5e6ac1bf1eb686de42d7d3c7df216093 22:26:53 $ docker rm -f d5cd98e277413836b4fc34325d2a509e5e6ac1bf1eb686de42d7d3c7df216093 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:26:54 + docker inspect -f . ci-base-image-arm64 22:26:54 . [Pipeline] withDockerContainer 22:26:54 prd-ubuntu18.04-docker-arm64-4c-16g-354 does not seem to be running inside a container 22:26:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:26:56 $ docker top f9fa9637680616c02077945a9dc95588473ee4daa341127869cf670abe565a8c -eo pid,comm [Pipeline] { [Pipeline] sh 22:26:57 + go mod tidy [Pipeline] sh 22:26:58 + make test 22:26:58 make -C ./app-service-template build 22:26:58 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/4/app-service-template' 22:26:58 go mod tidy 22:26:59 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:27:16 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.022s coverage: 78.0% of statements 22:27:16 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.010s coverage: 94.4% of statements 22:27:16 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:27:16 gofmt -l . 22:27:16 pkg/transforms/encryption_test.go 22:27:16 [ "`gofmt -l .`" = "" ] 22:27:16 make: *** [Makefile:32: test-sdk] Error 1 [Pipeline] } 22:27:16 $ docker stop --time=1 5f8836bf5396f0603cdeda71ce75b204597e14d02c0d54e0a714dd5e255b1a53 22:27:18 $ docker rm -f 5f8836bf5396f0603cdeda71ce75b204597e14d02c0d54e0a714dd5e255b1a53 [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:27:18 ---> job-cost.sh 22:27:18 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-6lLK 22:27:27 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 22:27:38 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/4/app-service-template' 22:27:38 make -C ./app-service-template test 22:27:38 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/4/app-service-template' 22:27:38 go mod tidy 22:27:38 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 22:27:42 lf-activate-venv(): INFO: Adding /tmp/venv-6lLK/bin to PATH 22:27:42 INFO: No Stack... 22:27:42 INFO: Retrieving Pricing Info for: v3-standard-2 22:27:42 INFO: Archiving Costs [Pipeline] sh 22:27:42 + cat /w/workspace/app-functions-sdk-go/4/archives/cost.csv 22:27:42 + cut -d, -f6 [Pipeline] lock 22:27:42 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-892-4-stack-cost] 22:27:42 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-892-4-stack-cost] did not exist. Created. 22:27:42 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-892-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:27:42 + echo total: 0.05999999865889549 [Pipeline] stash 22:27:43 Stashed 1 file(s) [Pipeline] } 22:27:43 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-892-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:27:43 Failed in branch amd64 22:28:05 ok new-app-service 0.042s coverage: 47.8% of statements 22:28:05 ? new-app-service/config [no test files] 22:28:05 ok new-app-service/functions 0.037s 22:28:05 CGO_ENABLED=1 go vet ./... 22:28:31 gofmt -l . 22:28:31 [ "`gofmt -l .`" = "" ] 22:28:31 ./bin/test-attribution-txt.sh 22:28:32 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/4/app-service-template' 22:28:32 go mod tidy 22:28:32 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:28:34 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 22:28:42 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.088s coverage: 62.8% of statements 22:28:42 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.067s coverage: 96.5% of statements 22:28:42 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 22:28:42 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.119s coverage: 61.8% of statements 22:28:42 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 22:28:42 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.068s 22:28:42 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.094s coverage: 74.5% of statements 22:28:42 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 22:28:42 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 22:28:42 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 22:28:42 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 22:28:42 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 22:28:42 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 22:28:42 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.026s coverage: 97.1% of statements 22:28:42 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 22:28:43 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.070s coverage: 10.5% of statements 22:28:49 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.876s coverage: 76.9% of statements 22:28:49 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 22:28:49 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.040s coverage: 12.5% of statements 22:28:49 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.061s coverage: 27.3% of statements 22:28:49 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 22:28:49 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 22:28:49 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.049s coverage: 51.4% of statements 22:29:16 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.111s coverage: 78.0% of statements 22:29:16 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.036s coverage: 94.4% of statements 22:29:16 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:29:20 gofmt -l . 22:29:20 pkg/transforms/encryption_test.go 22:29:20 [ "`gofmt -l .`" = "" ] 22:29:20 make: *** [Makefile:32: test-sdk] Error 1 [Pipeline] } 22:29:20 $ docker stop --time=1 f9fa9637680616c02077945a9dc95588473ee4daa341127869cf670abe565a8c 22:29:22 $ docker rm -f f9fa9637680616c02077945a9dc95588473ee4daa341127869cf670abe565a8c [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:29:24 ---> job-cost.sh 22:29:24 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-39hT 22:30:11 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 22:31:48 lf-activate-venv(): INFO: Adding /tmp/venv-39hT/bin to PATH 22:31:48 INFO: No Stack... 22:31:48 INFO: Retrieving Pricing Info for: v2-standard-4 22:31:48 INFO: Archiving Costs [Pipeline] sh 22:31:48 + cut -d, -f6 22:31:48 + cat /w/workspace/app-functions-sdk-go/4/archives/cost.csv [Pipeline] lock 22:31:48 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-892-4-stack-cost] 22:31:48 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-892-4-stack-cost] did not exist. Created. 22:31:48 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-892-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:31:48 /w/workspace/app-functions-sdk-go/4@tmp/durable-5b84ab77/script.sh: 1: /w/workspace/app-functions-sdk-go/4@tmp/durable-5b84ab77/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 22:31:49 + echo total: 0.18000000715255737 [Pipeline] stash 22:31:49 Warning: overwriting stash ‘stack-cost’ 22:31:49 Stashed 1 file(s) [Pipeline] } 22:31:49 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-892-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:31:50 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:31:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:31:52 ---> package-listing.sh 22:31:52 ++ tr '[:upper:]' '[:lower:]' 22:31:52 ++ facter osfamily 22:31:52 + OS_FAMILY=redhat 22:31:52 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-892 22:31:52 + START_PACKAGES=/tmp/packages_start.txt 22:31:52 + END_PACKAGES=/tmp/packages_end.txt 22:31:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:31:52 + PACKAGES=/tmp/packages_start.txt 22:31:52 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-892 ']' 22:31:52 + PACKAGES=/tmp/packages_end.txt 22:31:52 + case "${OS_FAMILY}" in 22:31:52 + rpm -qa 22:31:52 + sort 22:31:53 + '[' -f /tmp/packages_start.txt ']' 22:31:53 + '[' -f /tmp/packages_end.txt ']' 22:31:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:31:53 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-892 ']' 22:31:53 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-892/archives/ 22:31:53 + 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:31:53 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:31:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:31:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:31:54 22:31:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 22:31:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:31:54 alpine: Pulling from edgex-lftools-log-publisher 22:31:54 df20fa9351a1: Pulling fs layer 22:31:54 36b3adc4ff6f: Pulling fs layer 22:31:54 8ad3a11d3b57: Pulling fs layer 22:31:54 46f8f816bc3b: Pulling fs layer 22:31:54 93b61091891f: Pulling fs layer 22:31:54 93b9cdb0e59b: Pulling fs layer 22:31:54 5e14af77c1be: Pulling fs layer 22:31:54 01666e4c0597: Pulling fs layer 22:31:54 aa168da1d23b: Pulling fs layer 22:31:54 93b61091891f: Waiting 22:31:54 93b9cdb0e59b: Waiting 22:31:54 5e14af77c1be: Waiting 22:31:54 01666e4c0597: Waiting 22:31:54 aa168da1d23b: Waiting 22:31:54 46f8f816bc3b: Waiting 22:31:54 36b3adc4ff6f: Verifying Checksum 22:31:54 36b3adc4ff6f: Download complete 22:31:54 46f8f816bc3b: Verifying Checksum 22:31:54 46f8f816bc3b: Download complete 22:31:54 df20fa9351a1: Verifying Checksum 22:31:54 df20fa9351a1: Download complete 22:31:54 93b9cdb0e59b: Verifying Checksum 22:31:54 93b9cdb0e59b: Download complete 22:31:54 5e14af77c1be: Verifying Checksum 22:31:54 5e14af77c1be: Download complete 22:31:54 93b61091891f: Verifying Checksum 22:31:54 93b61091891f: Download complete 22:31:54 01666e4c0597: Verifying Checksum 22:31:54 01666e4c0597: Download complete 22:31:54 8ad3a11d3b57: Verifying Checksum 22:31:54 8ad3a11d3b57: Download complete 22:31:54 df20fa9351a1: Pull complete 22:31:55 36b3adc4ff6f: Pull complete 22:31:55 8ad3a11d3b57: Pull complete 22:31:55 46f8f816bc3b: Pull complete 22:31:56 93b61091891f: Pull complete 22:31:56 93b9cdb0e59b: Pull complete 22:31:56 5e14af77c1be: Pull complete 22:31:56 01666e4c0597: Pull complete 22:31:56 aa168da1d23b: Verifying Checksum 22:31:56 aa168da1d23b: Download complete 22:32:01 aa168da1d23b: Pull complete 22:32:01 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 22:32:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:32:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 22:32:01 prd-centos7-docker-4c-2g-349 does not seem to be running inside a container 22:32:01 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 22:32:03 $ docker top 8067401cf2432292c7277c01c360ad4d0a8ec8c63eb2cf44e44e872e6076bc76 -eo pid,comm [Pipeline] { [Pipeline] sh 22:32:03 + touch /tmp/pre-build-complete [Pipeline] sh 22:32:04 + mkdir -p /var/log/sa [Pipeline] sh 22:32:04 + ls /var/log/sa-host 22:32:04 + sadf -c /var/log/sa-host/sa05 22:32:04 file_magic: OK 22:32:04 HZ: Using current value: 100 22:32:04 file_header: OK 22:32:04 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:32:04 Statistics: 22:32:04 Hnuu...uuuununununu...Hnuu...uuuununununu... 22:32:04 File successfully converted to sysstat format version 12.2.1 22:32:04 + sadf -c /var/log/sa-host/sa10 22:32:04 file_magic: OK 22:32:04 HZ: Using current value: 100 22:32:04 file_header: OK 22:32:04 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:32:04 Statistics: 22:32:04 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 22:32:04 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:32:04 provisioning config files... 22:32:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-892@tmp/config8367754487129415668tmp [Pipeline] { [Pipeline] echo 22:32:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:32:04 ---> create-netrc.sh [Pipeline] } 22:32:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:32:05 ---> python-tools-install.sh [Pipeline] echo 22:32:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:32:05 ---> sudo-logs.sh 22:32:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:32:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:32:06 ---> job-cost.sh 22:32:06 lf-activate-venv: SKIPPING 22:32:06 DEBUG: total: 0.18000000715255737 22:32:06 INFO: Retrieving Stack Cost... 22:32:06 INFO: Retrieving Pricing Info for: v3-standard-2 22:32:07 INFO: Archiving Costs [Pipeline] echo 22:32:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:32:07 ---> logs-deploy.sh 22:32:07 lf-activate-venv: SKIPPING 22:32:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-892/4 22:32:07 INFO: archiving workspace using pattern(s): 22:32:08 Archives upload complete. 22:32:08 INFO: archiving logs to Nexus