Pull request #870 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 655776c9701f5806e69d7aa73bd3de213c2a39a6+d2e4f3e2bdbd5f40c338278fc0e0cf5ff6dfa2a4 (2cc4c454fb4379a9cce94460804806efb26fbc30) 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-ssh876427781034773352.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 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-ssh5043789430012687575.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 9d0281235b943b7ad605f650702698f9078b2862 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-870/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-870/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh910357511569171210.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > 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-ssh658733092988861071.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a 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-870/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-870/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4000290065700983745.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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-914 in /w/workspace/ndry_app-functions-sdk-go_PR-870 [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-870 # 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-870@tmp/jenkins-gitclient-ssh108580546159764285.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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-870@tmp/jenkins-gitclient-ssh2719004762611624420.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/870/head:refs/remotes/origin/PR-870 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit d2e4f3e2bdbd5f40c338278fc0e0cf5ff6dfa2a4 into PR head commit 655776c9701f5806e69d7aa73bd3de213c2a39a6 Merge succeeded, producing 655776c9701f5806e69d7aa73bd3de213c2a39a6 Checking out Revision 655776c9701f5806e69d7aa73bd3de213c2a39a6 (PR-870) > git config core.sparsecheckout # timeout=10 > git checkout -f 655776c9701f5806e69d7aa73bd3de213c2a39a6 # 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-870@tmp/jenkins-gitclient-ssh1904341720858523782.key > git merge d2e4f3e2bdbd5f40c338278fc0e0cf5ff6dfa2a4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 655776c9701f5806e69d7aa73bd3de213c2a39a6 # timeout=10 Commit message: "fix: Fix incorrect error message and remove obsolete code" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:39:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:39:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:39:30 ========================================================= 20:39:30 EdgeX Global Pipelines Version Info 20:39:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:39:31 ------------------- 20:39:31 stable info: 20:39:31 ------------------- 20:39:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:39:31 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 20:39:31 Message: update stable to v1.0.192 20:39:32 ------------------- 20:39:32 experimental info: 20:39:32 ------------------- 20:39:32 Commited By: **** collab-it+edgex@linuxfoundation.org 20:39:32 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 20:39:32 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:39:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 20:39:32 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 20:39:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:39:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:39:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:39:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 20:39:32 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 20:39:32 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 20:39:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:39:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:39:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:39:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 20:39:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:39:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:39:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 20:39:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 20:39:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:39:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:39:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:39:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:39:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 20:39:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 20:39:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:39:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:39:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 20:39:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:39:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-870 [Pipeline] echo 20:39:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-870 [Pipeline] echo 20:39:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-870 [Pipeline] echo 20:39:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 655776c9701f5806e69d7aa73bd3de213c2a39a6 [Pipeline] echo 20:39:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 655776c [Pipeline] echo 20:39:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:39:33 + git log --format=format:%s -1 655776c9701f5806e69d7aa73bd3de213c2a39a6 [Pipeline] echo 20:39:33 GIT_COMMIT: 655776c9701f5806e69d7aa73bd3de213c2a39a6, Commit Message: fix: Fix incorrect error message and remove obsolete code [Pipeline] echo 20:39:33 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 20:39:34 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:39:34 20:39:34 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:39:34 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:39:34 latest: Pulling from edgex-devops/git-semver 20:39:34 31603596830f: Pulling fs layer 20:39:34 54011a49482f: Pulling fs layer 20:39:34 a6820b24f6d8: Pulling fs layer 20:39:34 f581987b2513: Pulling fs layer 20:39:34 f581987b2513: Waiting 20:39:34 54011a49482f: Verifying Checksum 20:39:34 54011a49482f: Download complete 20:39:34 31603596830f: Verifying Checksum 20:39:34 31603596830f: Download complete 20:39:34 f581987b2513: Verifying Checksum 20:39:34 f581987b2513: Download complete 20:39:35 a6820b24f6d8: Download complete 20:39:35 31603596830f: Pull complete 20:39:35 54011a49482f: Pull complete 20:39:35 a6820b24f6d8: Pull complete 20:39:36 f581987b2513: Pull complete 20:39:36 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 20:39:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:39:36 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:39:36 prd-centos7-docker-4c-2g-914 does not seem to be running inside a container 20:39:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-870 -v /w/workspace/ndry_app-functions-sdk-go_PR-870:/w/workspace/ndry_app-functions-sdk-go_PR-870:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-870@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-870@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:39:37 $ docker top 4d6605c7530103899540baeaa58b420eb3ace686c4090fc02bdf71c161247a6b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:39:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:39:37 [ssh-agent] Looking for ssh-agent implementation... 20:39:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:39:37 $ docker exec 4d6605c7530103899540baeaa58b420eb3ace686c4090fc02bdf71c161247a6b ssh-agent 20:39:38 SSH_AUTH_SOCK=/tmp/ssh-POHDvCJQ6JS6/agent.14 20:39:38 SSH_AGENT_PID=21 20:39:38 Running ssh-add (command line suppressed) 20:39:38 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-870@tmp/private_key_4272816482454914505.key (/w/workspace/ndry_app-functions-sdk-go_PR-870@tmp/private_key_4272816482454914505.key) 20:39:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:39:38 + git tag --points-at HEAD [Pipeline] } 20:39:38 $ docker exec --env ******** --env ******** 4d6605c7530103899540baeaa58b420eb3ace686c4090fc02bdf71c161247a6b ssh-agent -k 20:39:38 unset SSH_AUTH_SOCK; 20:39:38 unset SSH_AGENT_PID; 20:39:38 echo Agent pid 21 killed; 20:39:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:39:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:39:38 [ssh-agent] Looking for ssh-agent implementation... 20:39:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:39:38 $ docker exec 4d6605c7530103899540baeaa58b420eb3ace686c4090fc02bdf71c161247a6b ssh-agent 20:39:38 SSH_AUTH_SOCK=/tmp/ssh-kRnXUYBfVSH1/agent.57 20:39:38 SSH_AGENT_PID=63 20:39:38 Running ssh-add (command line suppressed) 20:39:38 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-870@tmp/private_key_3865374155167453343.key (/w/workspace/ndry_app-functions-sdk-go_PR-870@tmp/private_key_3865374155167453343.key) 20:39:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:39:39 + git semver init 20:39:39 # -> Open(): unable to determine branch for HEAD 20:39:39 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-870/.git 20:39:39 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-870 20:39:39 # $SEMVER_REMOTE_NAME = origin 20:39:39 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:39:39 # $SEMVER_USER_NAME = edgex-jenkins 20:39:39 # $SEMVER_BRANCH = PR-870 20:39:39 # $SEMVER_TEMP = /tmp/semver-614394113 20:39:39 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 20:39:42 # '/tmp/semver-614394113' -> '/w/workspace/ndry_app-functions-sdk-go_PR-870/.semver' 20:39:42 # -> Force: false 20:39:42 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-870/.semver [Pipeline] } 20:39:42 $ docker exec --env ******** --env ******** 4d6605c7530103899540baeaa58b420eb3ace686c4090fc02bdf71c161247a6b ssh-agent -k 20:39:42 unset SSH_AUTH_SOCK; 20:39:42 unset SSH_AGENT_PID; 20:39:42 echo Agent pid 63 killed; 20:39:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:39:43 + git semver [Pipeline] } 20:39:43 $ docker stop --time=1 4d6605c7530103899540baeaa58b420eb3ace686c4090fc02bdf71c161247a6b 20:39:44 $ docker rm -f 4d6605c7530103899540baeaa58b420eb3ace686c4090fc02bdf71c161247a6b [Pipeline] // withDockerContainer [Pipeline] sh 20:39:44 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:39:45 Stashed 1 file(s) [Pipeline] echo 20:39:45 [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 20:40:00 Still waiting to schedule task 20:40:00 Waiting for next available executor on ‘centos7-docker-4c-2g’ 20:40:00 Still waiting to schedule task 20:40:00 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 20:42:42 Running on prd-ubuntu18.04-docker-arm64-4c-16g-917 in /w/workspace/ndry_app-functions-sdk-go_PR-870 [Pipeline] { [Pipeline] ws 20:42:42 Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout 20:42:42 The recommended git tool is: git 20:42:47 using credential edgex-jenkins-ssh 20:42:47 Cloning the remote Git repository 20:42:47 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 20:42:47 > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 20:42:47 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 20:42:47 > git --version # timeout=10 20:42:47 > git --version # 'git version 2.17.1' 20:42:47 using GIT_SSH to set credentials SSH Credentials for GitHub 20:42:47 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:42:50 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 20:42:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:42:51 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 20:42:51 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 20:42:51 using GIT_SSH to set credentials SSH Credentials for GitHub 20:42:51 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/870/head:refs/remotes/origin/PR-870 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:42:51 Merging remotes/origin/master commit d2e4f3e2bdbd5f40c338278fc0e0cf5ff6dfa2a4 into PR head commit 655776c9701f5806e69d7aa73bd3de213c2a39a6 20:42:51 Merge succeeded, producing 655776c9701f5806e69d7aa73bd3de213c2a39a6 20:42:51 Checking out Revision 655776c9701f5806e69d7aa73bd3de213c2a39a6 (PR-870) 20:42:51 > git config core.sparsecheckout # timeout=10 20:42:51 > git checkout -f 655776c9701f5806e69d7aa73bd3de213c2a39a6 # timeout=10 20:42:51 > git remote # timeout=10 20:42:51 > git config --get remote.origin.url # timeout=10 20:42:51 using GIT_SSH to set credentials SSH Credentials for GitHub 20:42:51 > git merge d2e4f3e2bdbd5f40c338278fc0e0cf5ff6dfa2a4 # timeout=10 20:42:51 > git rev-parse HEAD^{commit} # timeout=10 20:42:51 > git config core.sparsecheckout # timeout=10 20:42:51 > git checkout -f 655776c9701f5806e69d7aa73bd3de213c2a39a6 # timeout=10 20:42:56 Commit message: "fix: Fix incorrect error message and remove obsolete code" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:42:57 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 20:42:57 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 20:42:58 + sudo service docker restart 20:42:58 + true [Pipeline] unstash [Pipeline] echo 20:43:16 ========================================================= 20:43:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 20:43:16 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:43:17 + 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 . 20:43:18 Sending build context to Docker daemon 19.64MB 20:43:18 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 20:43:18 Step 2/8 : FROM ${BASE} 20:43:18 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:43:18 595b0fe564bb: Pulling fs layer 20:43:18 7186ed65a4f7: Pulling fs layer 20:43:18 316046926c0a: Pulling fs layer 20:43:18 4ebd0625c992: Pulling fs layer 20:43:18 207e8628e3a3: Pulling fs layer 20:43:18 c791037a9be2: Pulling fs layer 20:43:18 ffd874e62e21: Pulling fs layer 20:43:18 207e8628e3a3: Waiting 20:43:18 c791037a9be2: Waiting 20:43:18 ffd874e62e21: Waiting 20:43:18 4ebd0625c992: Waiting 20:43:18 316046926c0a: Verifying Checksum 20:43:18 316046926c0a: Download complete 20:43:18 7186ed65a4f7: Download complete 20:43:18 207e8628e3a3: Verifying Checksum 20:43:18 207e8628e3a3: Download complete 20:43:18 c791037a9be2: Download complete 20:43:18 595b0fe564bb: Verifying Checksum 20:43:18 595b0fe564bb: Download complete 20:43:19 595b0fe564bb: Pull complete 20:43:20 7186ed65a4f7: Pull complete 20:43:20 316046926c0a: Pull complete 20:43:21 ffd874e62e21: Download complete 20:43:23 4ebd0625c992: Download complete 20:43:27 Running on prd-centos7-docker-4c-2g-918 in /w/workspace/ndry_app-functions-sdk-go_PR-870 [Pipeline] { [Pipeline] ws 20:43:27 Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout 20:43:27 The recommended git tool is: git 20:43:29 using credential edgex-jenkins-ssh 20:43:29 Cloning the remote Git repository 20:43:29 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 20:43:29 > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 20:43:29 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 20:43:29 > git --version # timeout=10 20:43:29 > git --version # 'git version 2.24.4' 20:43:29 using GIT_SSH to set credentials SSH Credentials for GitHub 20:43:29 [INFO] Currently running in a labeled security context 20:43:29 [INFO] Currently SELinux is 'enforcing' on the host 20:43:29 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/2@tmp/jenkins-gitclient-ssh6437802337639901305.key 20:43:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:43:31 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 20:43:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:43:31 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 20:43:31 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 20:43:31 using GIT_SSH to set credentials SSH Credentials for GitHub 20:43:31 [INFO] Currently running in a labeled security context 20:43:31 [INFO] Currently SELinux is 'enforcing' on the host 20:43:31 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/2@tmp/jenkins-gitclient-ssh8133019190121469908.key 20:43:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/870/head:refs/remotes/origin/PR-870 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:43:32 Merging remotes/origin/master commit d2e4f3e2bdbd5f40c338278fc0e0cf5ff6dfa2a4 into PR head commit 655776c9701f5806e69d7aa73bd3de213c2a39a6 20:43:32 Merge succeeded, producing 655776c9701f5806e69d7aa73bd3de213c2a39a6 20:43:32 Checking out Revision 655776c9701f5806e69d7aa73bd3de213c2a39a6 (PR-870) 20:43:31 > git config core.sparsecheckout # timeout=10 20:43:31 > git checkout -f 655776c9701f5806e69d7aa73bd3de213c2a39a6 # timeout=10 20:43:31 > git remote # timeout=10 20:43:31 > git config --get remote.origin.url # timeout=10 20:43:31 using GIT_SSH to set credentials SSH Credentials for GitHub 20:43:31 [INFO] Currently running in a labeled security context 20:43:31 [INFO] Currently SELinux is 'enforcing' on the host 20:43:31 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/2@tmp/jenkins-gitclient-ssh904313030270006953.key 20:43:31 > git merge d2e4f3e2bdbd5f40c338278fc0e0cf5ff6dfa2a4 # timeout=10 20:43:31 > git rev-parse HEAD^{commit} # timeout=10 20:43:31 > git config core.sparsecheckout # timeout=10 20:43:31 > git checkout -f 655776c9701f5806e69d7aa73bd3de213c2a39a6 # timeout=10 20:43:33 4ebd0625c992: Pull complete 20:43:33 207e8628e3a3: Pull complete 20:43:33 c791037a9be2: Pull complete 20:43:35 Commit message: "fix: Fix incorrect error message and remove obsolete code" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:43:36 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 20:43:37 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 20:43:37 + sudo service docker restart 20:43:37 + true 20:43:37 Redirecting to /bin/systemctl restart docker.service 20:43:37 ffd874e62e21: Pull complete 20:43:37 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 20:43:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 20:43:37 ---> cfc18b08335c 20:43:37 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 20:43:37 20.10.0: Pulling from library/docker 20:43:37 a3cc7d3b244e: Pulling fs layer 20:43:37 02a3295e0d61: Pulling fs layer 20:43:37 0f4f2e6d8100: Pulling fs layer 20:43:37 330b718f631f: Pulling fs layer 20:43:37 a93816041522: Pulling fs layer 20:43:37 bdb6da89ff94: Pulling fs layer 20:43:37 2a70c0c122f4: Pulling fs layer 20:43:37 330b718f631f: Waiting 20:43:37 a93816041522: Waiting 20:43:37 bdb6da89ff94: Waiting 20:43:37 2a70c0c122f4: Waiting 20:43:37 0f4f2e6d8100: Verifying Checksum 20:43:37 0f4f2e6d8100: Download complete 20:43:37 02a3295e0d61: Verifying Checksum 20:43:37 02a3295e0d61: Download complete 20:43:37 a3cc7d3b244e: Verifying Checksum 20:43:37 a3cc7d3b244e: Download complete 20:43:37 a93816041522: Download complete 20:43:37 bdb6da89ff94: Verifying Checksum 20:43:37 2a70c0c122f4: Download complete 20:43:37 bdb6da89ff94: Download complete 20:43:38 a3cc7d3b244e: Pull complete 20:43:39 02a3295e0d61: Pull complete 20:43:39 330b718f631f: Verifying Checksum 20:43:39 330b718f631f: Download complete 20:43:39 0f4f2e6d8100: Pull complete 20:43:42 330b718f631f: Pull complete 20:43:43 a93816041522: Pull complete 20:43:43 bdb6da89ff94: Pull complete 20:43:43 2a70c0c122f4: Pull complete 20:43:43 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 20:43:43 Status: Downloaded newer image for docker:20.10.0 20:43:49 ---> 320cd6258db4 20:43:49 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:43:49 ---> Running in a198a94e4b70 20:43:49 Removing intermediate container a198a94e4b70 20:43:49 ---> 0694e3d697bc 20:43:49 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 20:43:49 ---> Running in 543fabc5a2ec 20:43:51 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 20:43:52 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 20:43:52 (1/5) Installing libsodium (1.0.18-r0) 20:43:53 (2/5) Installing libzmq (4.3.3-r1) 20:43:53 (3/5) Installing pkgconf (1.7.3-r0) 20:43:53 (4/5) Installing libsodium-dev (1.0.18-r0) 20:43:53 (5/5) Installing zeromq-dev (4.3.3-r1) 20:43:53 Executing busybox-1.32.1-r6.trigger 20:43:53 OK: 139 MiB in 45 packages 20:43:54 Removing intermediate container 543fabc5a2ec 20:43:54 ---> 3c08281220a8 20:43:54 Step 6/8 : WORKDIR /build 20:43:54 ---> Running in 36b70756163e 20:43:55 Removing intermediate container 36b70756163e 20:43:55 ---> dc64b722d30f 20:43:55 Step 7/8 : COPY go.mod . [Pipeline] unstash [Pipeline] echo 20:43:55 ========================================================= 20:43:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 20:43:55 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:43:56 + 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 . 20:43:56 Sending build context to Docker daemon 19.64MB 20:43:56 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 20:43:56 Step 2/8 : FROM ${BASE} 20:43:56 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 20:43:56 540db60ca938: Pulling fs layer 20:43:56 adcc1eea9eea: Pulling fs layer 20:43:56 4c4ab2625f07: Pulling fs layer 20:43:56 0510c868ecb4: Pulling fs layer 20:43:56 afea3b2eda06: Pulling fs layer 20:43:56 7809a108b3ef: Pulling fs layer 20:43:56 f706445af74f: Pulling fs layer 20:43:56 0510c868ecb4: Waiting 20:43:56 afea3b2eda06: Waiting 20:43:56 7809a108b3ef: Waiting 20:43:56 f706445af74f: Waiting 20:43:56 4c4ab2625f07: Verifying Checksum 20:43:56 4c4ab2625f07: Download complete 20:43:56 ---> 53564c9b3821 20:43:56 Step 8/8 : RUN go mod download 20:43:56 ---> Running in bd78720f53bf 20:43:56 adcc1eea9eea: Verifying Checksum 20:43:56 adcc1eea9eea: Download complete 20:43:56 afea3b2eda06: Verifying Checksum 20:43:56 afea3b2eda06: Download complete 20:43:56 7809a108b3ef: Verifying Checksum 20:43:56 7809a108b3ef: Download complete 20:43:56 540db60ca938: Verifying Checksum 20:43:56 540db60ca938: Download complete 20:43:56 540db60ca938: Pull complete 20:43:56 adcc1eea9eea: Pull complete 20:43:57 4c4ab2625f07: Pull complete 20:43:58 f706445af74f: Verifying Checksum 20:43:58 f706445af74f: Download complete 20:43:58 0510c868ecb4: Verifying Checksum 20:43:58 0510c868ecb4: Download complete 20:44:02 0510c868ecb4: Pull complete 20:44:02 afea3b2eda06: Pull complete 20:44:02 7809a108b3ef: Pull complete 20:44:03 f706445af74f: Pull complete 20:44:03 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 20:44:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 20:44:03 ---> b068be0155e3 20:44:03 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 20:44:03 20.10.0: Pulling from library/docker 20:44:03 05e7bc50f07f: Pulling fs layer 20:44:03 6db28d0fdbf6: Pulling fs layer 20:44:03 292df0bc6bf3: Pulling fs layer 20:44:03 2e060f4bd70b: Pulling fs layer 20:44:03 80e8d568a223: Pulling fs layer 20:44:03 8dc6ef1a942a: Pulling fs layer 20:44:03 2312dd95470a: Pulling fs layer 20:44:03 80e8d568a223: Waiting 20:44:03 8dc6ef1a942a: Waiting 20:44:03 2312dd95470a: Waiting 20:44:03 2e060f4bd70b: Waiting 20:44:03 292df0bc6bf3: Download complete 20:44:03 6db28d0fdbf6: Verifying Checksum 20:44:03 6db28d0fdbf6: Download complete 20:44:03 05e7bc50f07f: Verifying Checksum 20:44:03 05e7bc50f07f: Download complete 20:44:03 80e8d568a223: Verifying Checksum 20:44:03 80e8d568a223: Download complete 20:44:03 8dc6ef1a942a: Verifying Checksum 20:44:03 8dc6ef1a942a: Download complete 20:44:03 2312dd95470a: Verifying Checksum 20:44:03 2312dd95470a: Download complete 20:44:03 05e7bc50f07f: Pull complete 20:44:04 6db28d0fdbf6: Pull complete 20:44:04 292df0bc6bf3: Pull complete 20:44:04 2e060f4bd70b: Verifying Checksum 20:44:04 2e060f4bd70b: Download complete 20:44:06 2e060f4bd70b: Pull complete 20:44:07 80e8d568a223: Pull complete 20:44:07 8dc6ef1a942a: Pull complete 20:44:07 2312dd95470a: Pull complete 20:44:07 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 20:44:07 Status: Downloaded newer image for docker:20.10.0 20:44:10 ---> 29c910cfa53f 20:44:10 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:44:10 ---> Running in 117463f6c9da 20:44:10 Removing intermediate container 117463f6c9da 20:44:10 ---> 95b7b7d7744c 20:44:10 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 20:44:10 ---> Running in 173dcaf029ca 20:44:10 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 20:44:11 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 20:44:11 (1/5) Installing libsodium (1.0.18-r0) 20:44:11 (2/5) Installing libzmq (4.3.3-r1) 20:44:12 (3/5) Installing pkgconf (1.7.3-r0) 20:44:12 (4/5) Installing libsodium-dev (1.0.18-r0) 20:44:12 (5/5) Installing zeromq-dev (4.3.3-r1) 20:44:12 Executing busybox-1.32.1-r6.trigger 20:44:12 OK: 150 MiB in 45 packages 20:44:12 Removing intermediate container 173dcaf029ca 20:44:12 ---> b93a1bfe0ea5 20:44:12 Step 6/8 : WORKDIR /build 20:44:12 ---> Running in cd948185bcb1 20:44:12 Removing intermediate container cd948185bcb1 20:44:12 ---> 6a4aa512db2a 20:44:12 Step 7/8 : COPY go.mod . 20:44:12 ---> 556b247d7cd5 20:44:12 Step 8/8 : RUN go mod download 20:44:12 ---> Running in c4e141231231 20:44:23 Removing intermediate container bd78720f53bf 20:44:23 ---> b51295ca924b 20:44:23 Successfully built b51295ca924b 20:44:23 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:44:23 + docker inspect -f . ci-base-image-arm64 20:44:23 . [Pipeline] withDockerContainer 20:44:23 prd-ubuntu18.04-docker-arm64-4c-16g-917 does not seem to be running inside a container 20:44:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@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 ******** ci-base-image-arm64 cat 20:44:25 Removing intermediate container c4e141231231 20:44:25 ---> 2aea6704f49a 20:44:25 Successfully built 2aea6704f49a 20:44:25 Successfully tagged ci-base-image-x86_64:latest 20:44:25 $ docker top 708933e5c2fa5358ab515b62689513ac1cf124ca04732098db1a0f48c473ed2c -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 20:44:26 + docker inspect -f . ci-base-image-x86_64 20:44:26 . [Pipeline] withDockerContainer 20:44:26 prd-centos7-docker-4c-2g-918 does not seem to be running inside a container 20:44:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@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 ******** ci-base-image-x86_64 cat 20:44:26 + go version 20:44:26 go version go1.16.3 linux/arm64 20:44:26 $ docker top b5a7d079e8f004fa813bdac8b7a6e19586f9f3f8006f06da5276e05cd14c385d -eo pid,comm [Pipeline] { [Pipeline] } 20:44:26 $ docker stop --time=1 708933e5c2fa5358ab515b62689513ac1cf124ca04732098db1a0f48c473ed2c 20:44:28 $ docker rm -f 708933e5c2fa5358ab515b62689513ac1cf124ca04732098db1a0f48c473ed2c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:44:29 + go version 20:44:29 go version go1.16.3 linux/amd64 [Pipeline] } 20:44:29 $ docker stop --time=1 b5a7d079e8f004fa813bdac8b7a6e19586f9f3f8006f06da5276e05cd14c385d 20:44:29 + docker inspect -f . ci-base-image-arm64 20:44:29 . 20:44:30 $ docker rm -f b5a7d079e8f004fa813bdac8b7a6e19586f9f3f8006f06da5276e05cd14c385d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withDockerContainer 20:44:30 prd-ubuntu18.04-docker-arm64-4c-16g-917 does not seem to be running inside a container 20:44:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@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 ******** ci-base-image-arm64 cat 20:44:32 $ docker top 25b7d260fcd25c31a1bd9cda7947a2b345fa7f7e0711f7aa85aa1589184a917f -eo pid,comm [Pipeline] { [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:44:33 + docker inspect -f . ci-base-image-x86_64 20:44:33 . [Pipeline] withDockerContainer 20:44:33 prd-centos7-docker-4c-2g-918 does not seem to be running inside a container 20:44:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@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 ******** ci-base-image-x86_64 cat 20:44:33 + go mod tidy 20:44:33 $ docker top 6aa3a428b456af743ed7aaa09e4371f306b16da461537ec14fbbee13aada681a -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 20:44:34 + go mod tidy [Pipeline] sh 20:44:34 + make test 20:44:34 make -C ./app-service-template build 20:44:34 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 20:44:34 go mod tidy 20:44:35 + make test 20:44:35 make -C ./app-service-template build 20:44:35 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 20:44:35 go mod tidy 20:44:35 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 20:44:35 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 20:44:45 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 20:44:45 make -C ./app-service-template test 20:44:45 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 20:44:45 go mod tidy 20:44:45 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 20:44:53 ok new-app-service 0.013s coverage: 47.8% of statements 20:44:53 ? new-app-service/config [no test files] 20:44:53 ok new-app-service/functions 0.007s 20:44:53 CGO_ENABLED=1 go vet ./... 20:45:00 gofmt -l . 20:45:00 [ "`gofmt -l .`" = "" ] 20:45:00 ./bin/test-attribution-txt.sh 20:45:00 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 20:45:00 go mod tidy 20:45:00 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:45:00 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 20:45:02 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.009s coverage: 56.6% of statements 20:45:02 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.013s coverage: 93.8% of statements 20:45:02 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 20:45:02 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.010s coverage: 61.5% of statements 20:45:02 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 20:45:02 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.015s 20:45:03 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.029s coverage: 76.1% of statements 20:45:03 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 20:45:03 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 20:45:03 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 20:45:03 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 20:45:03 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 20:45:03 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 20:45:03 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.009s coverage: 97.1% of statements 20:45:03 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 20:45:03 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.007s coverage: 10.5% of statements 20:45:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.738s coverage: 76.9% of statements 20:45:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 20:45:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.006s coverage: 12.5% of statements 20:45:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.008s coverage: 27.3% of statements 20:45:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 20:45:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 20:45:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.008s coverage: 51.4% of statements 20:45:14 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 20:45:14 make -C ./app-service-template test 20:45:14 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 20:45:14 go mod tidy 20:45:14 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 20:45:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.035s coverage: 79.9% of statements 20:45:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.007s coverage: 94.4% of statements 20:45:33 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:45:33 gofmt -l . 20:45:33 [ "`gofmt -l .`" = "" ] [Pipeline] } 20:45:33 $ docker stop --time=1 6aa3a428b456af743ed7aaa09e4371f306b16da461537ec14fbbee13aada681a 20:45:34 $ docker rm -f 6aa3a428b456af743ed7aaa09e4371f306b16da461537ec14fbbee13aada681a [Pipeline] // withDockerContainer [Pipeline] sh 20:45:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:45:35 Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 20:45:35 ---> job-cost.sh 20:45:35 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-hu9g 20:45:41 ok new-app-service 0.045s coverage: 47.8% of statements 20:45:41 ? new-app-service/config [no test files] 20:45:41 ok new-app-service/functions 0.043s 20:45:41 CGO_ENABLED=1 go vet ./... 20:45:45 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 20:45:58 lf-activate-venv(): INFO: Adding /tmp/venv-hu9g/bin to PATH 20:45:58 INFO: No Stack... 20:45:58 INFO: Retrieving Pricing Info for: v3-standard-2 20:45:59 INFO: Archiving Costs [Pipeline] sh 20:45:59 + cat /w/workspace/app-functions-sdk-go/2/archives/cost.csv 20:45:59 + cut -d, -f6 [Pipeline] lock 20:45:59 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-870-2-stack-cost] 20:45:59 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-870-2-stack-cost] did not exist. Created. 20:45:59 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-870-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:45:59 + echo total: 0.05999999865889549 [Pipeline] stash 20:45:59 Stashed 1 file(s) [Pipeline] } 20:45:59 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-870-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:46:08 gofmt -l . 20:46:08 [ "`gofmt -l .`" = "" ] 20:46:08 ./bin/test-attribution-txt.sh 20:46:09 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 20:46:09 go mod tidy 20:46:09 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:46:11 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 20:46:19 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.089s coverage: 56.6% of statements 20:46:19 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.052s coverage: 93.8% of statements 20:46:19 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 20:46:19 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.085s coverage: 61.5% of statements 20:46:19 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 20:46:19 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.050s 20:46:19 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.103s coverage: 76.1% of statements 20:46:19 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 20:46:19 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 20:46:19 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 20:46:19 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 20:46:19 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 20:46:19 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 20:46:19 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.015s coverage: 97.1% of statements 20:46:19 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 20:46:19 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.036s coverage: 10.5% of statements 20:46:26 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.823s coverage: 76.9% of statements 20:46:26 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 20:46:26 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.034s coverage: 12.5% of statements 20:46:26 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.073s coverage: 27.3% of statements 20:46:26 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 20:46:26 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 20:46:26 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.087s coverage: 51.4% of statements 20:46:53 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.106s coverage: 79.9% of statements 20:46:53 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.048s coverage: 94.4% of statements 20:46:53 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:46:55 gofmt -l . 20:46:55 [ "`gofmt -l .`" = "" ] [Pipeline] } 20:46:55 $ docker stop --time=1 25b7d260fcd25c31a1bd9cda7947a2b345fa7f7e0711f7aa85aa1589184a917f 20:46:57 $ docker rm -f 25b7d260fcd25c31a1bd9cda7947a2b345fa7f7e0711f7aa85aa1589184a917f [Pipeline] // withDockerContainer [Pipeline] sh 20:46:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:46:58 Warning: overwriting stash ‘coverage-report’ 20:46:59 Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 20:46:59 ---> job-cost.sh 20:46:59 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Xmug 20:47:38 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 20:49:00 lf-activate-venv(): INFO: Adding /tmp/venv-Xmug/bin to PATH 20:49:00 INFO: No Stack... 20:49:00 INFO: Retrieving Pricing Info for: v2-standard-4 20:49:01 INFO: Archiving Costs [Pipeline] sh 20:49:01 + cat /w/workspace/app-functions-sdk-go/2/archives/cost.csv 20:49:01 + cut -d, -f6 [Pipeline] lock 20:49:01 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-870-2-stack-cost] 20:49:01 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-870-2-stack-cost] did not exist. Created. 20:49:01 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-870-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:49:01 /w/workspace/app-functions-sdk-go/2@tmp/durable-efb23524/script.sh: 1: /w/workspace/app-functions-sdk-go/2@tmp/durable-efb23524/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 20:49:02 + echo total: 0.18000000715255737 [Pipeline] stash 20:49:02 Warning: overwriting stash ‘stack-cost’ 20:49:02 Stashed 1 file(s) [Pipeline] } 20:49:02 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-870-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 20:49:02 provisioning config files... 20:49:02 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-870@tmp/config7260279872154882185tmp [Pipeline] { [Pipeline] sh 20:49:03 + set +x 20:49:03 + curl -s https://codecov.io/bash 20:49:03 + bash -s -- 20:49:03 20:49:03 _____ _ 20:49:03 / ____| | | 20:49:03 | | ___ __| | ___ ___ _____ __ 20:49:03 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:49:03 | |___| (_) | (_| | __/ (_| (_) \ V / 20:49:03 \_____\___/ \__,_|\___|\___\___/ \_/ 20:49:03 Bash-1.0.3 20:49:03 20:49:03 20:49:03 ==> git version 2.24.4 found 20:49:03 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 20:49:03 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 20:49:03 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 20:49:03 ==> Jenkins CI detected. 20:49:03 project root: . 20:49:03 --> token set from env 20:49:03 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:49:03 ==> Running gcov in . (disable via -X gcov) 20:49:03 ==> Python coveragepy not found 20:49:03 ==> Searching for coverage reports in: 20:49:03 + . 20:49:03 -> Found 2 reports 20:49:03 ==> Detecting git/mercurial file structure 20:49:03 ==> Reading reports 20:49:03 + ./app-service-template/coverage.out bytes=1055 20:49:03 + ./coverage.out bytes=88671 20:49:03 ==> Appending adjustments 20:49:03 https://docs.codecov.io/docs/fixing-reports 20:49:03 + Found adjustments 20:49:03 ==> Gzipping contents 20:49:03 16K /tmp/codecov.ZIu2CW.gz 20:49:03 ==> Uploading reports 20:49:03 url: https://codecov.io 20:49:03 query: branch=PR-870&commit=655776c9701f5806e69d7aa73bd3de213c2a39a6&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-870%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=870&job=&cmd_args= 20:49:03 -> Pinging Codecov 20:49:03 https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-870&commit=655776c9701f5806e69d7aa73bd3de213c2a39a6&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-870%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=870&job=&cmd_args= 20:49:04 -> Uploading to 20:49:04 https://storage.googleapis.com/codecov/v4/raw/2021-05-28/3D8B5DFFC46A037C893635FACE044666/655776c9701f5806e69d7aa73bd3de213c2a39a6/a632b961-95dc-4600-9721-b88be3b48a9d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210528%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210528T204904Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2ca5fc407fa7af9f54bd4434317fb8b562965b67a20f4b3313b4a5ba70e88836 20:49:04 % Total % Received % Xferd Average Speed Time Time Time Current 20:49:04 Dload Upload Total Spent Left Speed 20:49:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15538 0 0 100 15538 0 39851 --:--:-- --:--:-- --:--:-- 39943 20:49:04 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/655776c9701f5806e69d7aa73bd3de213c2a39a6 [Pipeline] } 20:49:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 20:49:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:49:06 ---> package-listing.sh 20:49:06 ++ facter osfamily 20:49:06 ++ tr '[:upper:]' '[:lower:]' 20:49:06 + OS_FAMILY=redhat 20:49:06 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-870 20:49:06 + START_PACKAGES=/tmp/packages_start.txt 20:49:06 + END_PACKAGES=/tmp/packages_end.txt 20:49:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:49:06 + PACKAGES=/tmp/packages_start.txt 20:49:06 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-870 ']' 20:49:06 + PACKAGES=/tmp/packages_end.txt 20:49:06 + case "${OS_FAMILY}" in 20:49:06 + sort 20:49:06 + rpm -qa 20:49:07 + '[' -f /tmp/packages_start.txt ']' 20:49:07 + '[' -f /tmp/packages_end.txt ']' 20:49:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:49:07 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-870 ']' 20:49:07 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-870/archives/ 20:49:07 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-870/archives/ [Pipeline] echo 20:49:07 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-870/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:49:07 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:49:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:49:07 20:49:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 20:49:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:49:08 alpine: Pulling from edgex-lftools-log-publisher 20:49:08 df20fa9351a1: Pulling fs layer 20:49:08 36b3adc4ff6f: Pulling fs layer 20:49:08 8ad3a11d3b57: Pulling fs layer 20:49:08 46f8f816bc3b: Pulling fs layer 20:49:08 93b61091891f: Pulling fs layer 20:49:08 93b9cdb0e59b: Pulling fs layer 20:49:08 5e14af77c1be: Pulling fs layer 20:49:08 01666e4c0597: Pulling fs layer 20:49:08 aa168da1d23b: Pulling fs layer 20:49:08 46f8f816bc3b: Waiting 20:49:08 93b61091891f: Waiting 20:49:08 93b9cdb0e59b: Waiting 20:49:08 5e14af77c1be: Waiting 20:49:08 01666e4c0597: Waiting 20:49:08 aa168da1d23b: Waiting 20:49:08 36b3adc4ff6f: Verifying Checksum 20:49:08 36b3adc4ff6f: Download complete 20:49:08 46f8f816bc3b: Verifying Checksum 20:49:08 46f8f816bc3b: Download complete 20:49:08 df20fa9351a1: Verifying Checksum 20:49:08 df20fa9351a1: Download complete 20:49:08 93b9cdb0e59b: Verifying Checksum 20:49:08 93b9cdb0e59b: Download complete 20:49:08 5e14af77c1be: Verifying Checksum 20:49:08 5e14af77c1be: Download complete 20:49:08 93b61091891f: Verifying Checksum 20:49:08 93b61091891f: Download complete 20:49:08 01666e4c0597: Verifying Checksum 20:49:08 01666e4c0597: Download complete 20:49:08 8ad3a11d3b57: Verifying Checksum 20:49:08 8ad3a11d3b57: Download complete 20:49:08 df20fa9351a1: Pull complete 20:49:08 36b3adc4ff6f: Pull complete 20:49:09 8ad3a11d3b57: Pull complete 20:49:09 46f8f816bc3b: Pull complete 20:49:09 93b61091891f: Pull complete 20:49:09 93b9cdb0e59b: Pull complete 20:49:10 5e14af77c1be: Pull complete 20:49:10 aa168da1d23b: Verifying Checksum 20:49:10 aa168da1d23b: Download complete 20:49:10 01666e4c0597: Pull complete 20:49:15 aa168da1d23b: Pull complete 20:49:15 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 20:49:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:49:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 20:49:15 prd-centos7-docker-4c-2g-914 does not seem to be running inside a container 20:49:15 $ 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-870/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-870 -v /w/workspace/ndry_app-functions-sdk-go_PR-870:/w/workspace/ndry_app-functions-sdk-go_PR-870:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-870@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-870@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:10003/edgex-lftools-log-publisher:alpine cat 20:49:18 $ docker top bf621480e1a1d6d4735a474a80d2f0c96fb314ea506cd09e171bae3808c3b733 -eo pid,comm [Pipeline] { [Pipeline] sh 20:49:18 + touch /tmp/pre-build-complete [Pipeline] sh 20:49:19 + mkdir -p /var/log/sa [Pipeline] sh 20:49:19 + ls /var/log/sa-host 20:49:19 + sadf -c /var/log/sa-host/sa05 20:49:19 file_magic: OK 20:49:19 HZ: Using current value: 100 20:49:19 file_header: OK 20:49:19 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 20:49:19 Statistics: 20:49:19 Hnuu...uuuununununu...Hnuu...uuuununununu... 20:49:19 File successfully converted to sysstat format version 12.2.1 20:49:19 + sadf -c /var/log/sa-host/sa28 20:49:19 file_magic: OK 20:49:19 HZ: Using current value: 100 20:49:19 file_header: OK 20:49:19 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 20:49:19 Statistics: 20:49:19 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 20:49:19 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:49:19 provisioning config files... 20:49:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-870@tmp/config1393952716269103677tmp [Pipeline] { [Pipeline] echo 20:49:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:49:20 ---> create-netrc.sh [Pipeline] } 20:49:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 20:49:20 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 20:49:20 ---> python-tools-install.sh [Pipeline] echo 20:49:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:49:20 ---> sudo-logs.sh 20:49:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:49:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:49:21 ---> job-cost.sh 20:49:21 lf-activate-venv: SKIPPING 20:49:21 DEBUG: total: 0.18000000715255737 20:49:21 INFO: Retrieving Stack Cost... 20:49:23 INFO: Retrieving Pricing Info for: v3-standard-2 20:49:23 INFO: Archiving Costs [Pipeline] echo 20:49:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:49:24 ---> logs-deploy.sh 20:49:24 lf-activate-venv: SKIPPING 20:49:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-870/2 20:49:24 INFO: archiving workspace using pattern(s): 20:49:25 Archives upload complete. 20:49:25 INFO: archiving logs to Nexus