Pull request #953 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from cbfbd6728e81cc28b2304a96a35c30e21fc3c3ce+be777dce5b114969bf676217563e399b5449f784 (65dea706104075a7d15d7f63c2f0ebad45b5bb57) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3322691127752391616.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7077296740730871626.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 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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-953/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-953/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1332396615790409929.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 # timeout=10 Commit message: "Merge pull request #353 from ernestojeda/go-mod-tidy-change" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3810325524605990276.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-953/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-953/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5905984585626660913.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-functions-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-745 in /w/workspace/ndry_app-functions-sdk-go_PR-953 [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-953 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-953@tmp/jenkins-gitclient-ssh4054470217514102935.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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-953@tmp/jenkins-gitclient-ssh2218599390581386750.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/953/head:refs/remotes/origin/PR-953 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit be777dce5b114969bf676217563e399b5449f784 into PR head commit cbfbd6728e81cc28b2304a96a35c30e21fc3c3ce Merge succeeded, producing cbfbd6728e81cc28b2304a96a35c30e21fc3c3ce Checking out Revision cbfbd6728e81cc28b2304a96a35c30e21fc3c3ce (PR-953) > git config core.sparsecheckout # timeout=10 > git checkout -f cbfbd6728e81cc28b2304a96a35c30e21fc3c3ce # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-953@tmp/jenkins-gitclient-ssh2021186741063203784.key > git merge be777dce5b114969bf676217563e399b5449f784 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cbfbd6728e81cc28b2304a96a35c30e21fc3c3ce # timeout=10 Commit message: "build: Update build image for app-template to be golang:1.16-alpine3.14" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:55:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:55:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:55:21 ========================================================= 23:55:21 EdgeX Global Pipelines Version Info 23:55:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:55:23 ------------------- 23:55:23 stable info: 23:55:23 ------------------- 23:55:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:55:23 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 23:55:23 Message: update stable to v1.0.205 23:55:23 ------------------- 23:55:23 experimental info: 23:55:23 ------------------- 23:55:23 Commited By: **** collab-it+edgex@linuxfoundation.org 23:55:23 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 23:55:23 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:55:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 23:55:23 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 23:55:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:55:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:55:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:55:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 23:55:24 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 23:55:24 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 23:55:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:55:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:55:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:55:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:55:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 23:55:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:55:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:55:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 23:55:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 23:55:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:55:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:55:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:55:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:55:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:55:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 23:55:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:55:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:55:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 23:55:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:55:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-953 [Pipeline] echo 23:55:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-953 [Pipeline] echo 23:55:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-953 [Pipeline] echo 23:55:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cbfbd6728e81cc28b2304a96a35c30e21fc3c3ce [Pipeline] echo 23:55:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cbfbd67 [Pipeline] echo 23:55:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:55:25 + git log --format=format:%s -1 cbfbd6728e81cc28b2304a96a35c30e21fc3c3ce [Pipeline] echo 23:55:25 GIT_COMMIT: cbfbd6728e81cc28b2304a96a35c30e21fc3c3ce, Commit Message: build: Update build image for app-template to be golang:1.16-alpine3.14 [Pipeline] echo 23:55:25 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 23:55:26 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:55:26 23:55:26 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:55:26 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:55:27 latest: Pulling from edgex-devops/git-semver 23:55:27 31603596830f: Pulling fs layer 23:55:27 04fac38145f0: Pulling fs layer 23:55:27 701f6daf10bf: Pulling fs layer 23:55:27 24f72da36158: Pulling fs layer 23:55:27 24f72da36158: Waiting 23:55:27 04fac38145f0: Verifying Checksum 23:55:27 04fac38145f0: Download complete 23:55:27 31603596830f: Verifying Checksum 23:55:27 31603596830f: Download complete 23:55:27 31603596830f: Pull complete 23:55:27 24f72da36158: Verifying Checksum 23:55:27 24f72da36158: Download complete 23:55:27 04fac38145f0: Pull complete 23:55:27 701f6daf10bf: Verifying Checksum 23:55:27 701f6daf10bf: Download complete 23:55:28 701f6daf10bf: Pull complete 23:55:28 24f72da36158: Pull complete 23:55:28 Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 23:55:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:55:28 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:55:28 prd-centos7-docker-4c-2g-745 does not seem to be running inside a container 23:55:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-953 -v /w/workspace/ndry_app-functions-sdk-go_PR-953:/w/workspace/ndry_app-functions-sdk-go_PR-953:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-953@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-953@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 23:55:29 $ docker top ad90460bab4c3551a0579f32138e9488f0ee4d5db744f1c76f5106a989f09c5d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:55:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:55:29 [ssh-agent] Looking for ssh-agent implementation... 23:55:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:55:29 $ docker exec ad90460bab4c3551a0579f32138e9488f0ee4d5db744f1c76f5106a989f09c5d ssh-agent 23:55:29 SSH_AUTH_SOCK=/tmp/ssh-j0muExZSBAfo/agent.13 23:55:29 SSH_AGENT_PID=20 23:55:29 Running ssh-add (command line suppressed) 23:55:29 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-953@tmp/private_key_3301786498182720383.key (/w/workspace/ndry_app-functions-sdk-go_PR-953@tmp/private_key_3301786498182720383.key) 23:55:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:55:30 + git tag --points-at HEAD [Pipeline] } 23:55:30 $ docker exec --env ******** --env ******** ad90460bab4c3551a0579f32138e9488f0ee4d5db744f1c76f5106a989f09c5d ssh-agent -k 23:55:30 unset SSH_AUTH_SOCK; 23:55:30 unset SSH_AGENT_PID; 23:55:30 echo Agent pid 20 killed; 23:55:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:55:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:55:30 [ssh-agent] Looking for ssh-agent implementation... 23:55:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:55:30 $ docker exec ad90460bab4c3551a0579f32138e9488f0ee4d5db744f1c76f5106a989f09c5d ssh-agent 23:55:30 SSH_AUTH_SOCK=/tmp/ssh-uKvRQWEXcmqM/agent.54 23:55:30 SSH_AGENT_PID=61 23:55:30 Running ssh-add (command line suppressed) 23:55:30 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-953@tmp/private_key_8248961507328824238.key (/w/workspace/ndry_app-functions-sdk-go_PR-953@tmp/private_key_8248961507328824238.key) 23:55:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:55:31 + git semver init 23:55:31 # -> Open(): unable to determine branch for HEAD 23:55:31 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-953/.git 23:55:31 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-953 23:55:31 # $SEMVER_REMOTE_NAME = origin 23:55:31 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:55:31 # $SEMVER_USER_NAME = edgex-jenkins 23:55:31 # $SEMVER_BRANCH = PR-953 23:55:31 # $SEMVER_TEMP = /tmp/semver-229166119 23:55:31 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 23:55:49 # '/tmp/semver-229166119' -> '/w/workspace/ndry_app-functions-sdk-go_PR-953/.semver' 23:55:49 # -> Force: false 23:55:49 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-953/.semver [Pipeline] } 23:55:49 $ docker exec --env ******** --env ******** ad90460bab4c3551a0579f32138e9488f0ee4d5db744f1c76f5106a989f09c5d ssh-agent -k 23:55:49 unset SSH_AUTH_SOCK; 23:55:49 unset SSH_AGENT_PID; 23:55:49 echo Agent pid 61 killed; 23:55:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:55:49 + git semver [Pipeline] } 23:55:49 $ docker stop --time=1 ad90460bab4c3551a0579f32138e9488f0ee4d5db744f1c76f5106a989f09c5d 23:55:51 $ docker rm -f ad90460bab4c3551a0579f32138e9488f0ee4d5db744f1c76f5106a989f09c5d [Pipeline] // withDockerContainer [Pipeline] sh 23:55:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:55:52 Stashed 1 file(s) [Pipeline] echo 23:55:52 [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 23:56:07 Still waiting to schedule task 23:56:07 Waiting for next available executor on ‘centos7-docker-4c-2g’ 23:56:07 Still waiting to schedule task 23:56:07 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 23:58:30 Running on prd-centos7-docker-4c-2g-747 in /w/workspace/ndry_app-functions-sdk-go_PR-953 [Pipeline] { [Pipeline] ws 23:58:30 Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout 23:58:30 The recommended git tool is: git 23:58:34 using credential edgex-jenkins-ssh 23:58:34 Cloning the remote Git repository 23:58:34 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 23:58:35 > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 23:58:35 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:58:35 > git --version # timeout=10 23:58:35 > git --version # 'git version 2.24.4' 23:58:35 using GIT_SSH to set credentials SSH Credentials for GitHub 23:58:35 [INFO] Currently running in a labeled security context 23:58:35 [INFO] Currently SELinux is 'enforcing' on the host 23:58:35 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/2@tmp/jenkins-gitclient-ssh8011088014502834452.key 23:58:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:59:06 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:59:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:59:06 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:59:06 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:59:06 using GIT_SSH to set credentials SSH Credentials for GitHub 23:59:06 [INFO] Currently running in a labeled security context 23:59:06 [INFO] Currently SELinux is 'enforcing' on the host 23:59:06 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/2@tmp/jenkins-gitclient-ssh4421374548739615063.key 23:59:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/953/head:refs/remotes/origin/PR-953 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:59:07 Merging remotes/origin/main commit be777dce5b114969bf676217563e399b5449f784 into PR head commit cbfbd6728e81cc28b2304a96a35c30e21fc3c3ce 23:59:07 Merge succeeded, producing cbfbd6728e81cc28b2304a96a35c30e21fc3c3ce 23:59:07 Checking out Revision cbfbd6728e81cc28b2304a96a35c30e21fc3c3ce (PR-953) 23:59:07 > git config core.sparsecheckout # timeout=10 23:59:07 > git checkout -f cbfbd6728e81cc28b2304a96a35c30e21fc3c3ce # timeout=10 23:59:07 > git remote # timeout=10 23:59:07 > git config --get remote.origin.url # timeout=10 23:59:07 using GIT_SSH to set credentials SSH Credentials for GitHub 23:59:07 [INFO] Currently running in a labeled security context 23:59:07 [INFO] Currently SELinux is 'enforcing' on the host 23:59:07 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/2@tmp/jenkins-gitclient-ssh4890948244854160108.key 23:59:07 > git merge be777dce5b114969bf676217563e399b5449f784 # timeout=10 23:59:07 > git rev-parse HEAD^{commit} # timeout=10 23:59:07 > git config core.sparsecheckout # timeout=10 23:59:07 > git checkout -f cbfbd6728e81cc28b2304a96a35c30e21fc3c3ce # timeout=10 23:59:12 Commit message: "build: Update build image for app-template to be golang:1.16-alpine3.14" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 23:59:13 ========================================================= 23:59:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 23:59:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 23:59:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 23:59:21 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 23:59:21 540db60ca938: Pulling fs layer 23:59:21 adcc1eea9eea: Pulling fs layer 23:59:21 4c4ab2625f07: Pulling fs layer 23:59:21 db62176df00c: Pulling fs layer 23:59:21 3b30891b0d05: Pulling fs layer 23:59:21 06b49ca38bd5: Pulling fs layer 23:59:21 c788192a36de: Pulling fs layer 23:59:21 a77e37c0d609: Pulling fs layer 23:59:21 c3185cebc471: Pulling fs layer 23:59:21 db62176df00c: Waiting 23:59:21 3b30891b0d05: Waiting 23:59:21 06b49ca38bd5: Waiting 23:59:21 c788192a36de: Waiting 23:59:21 a77e37c0d609: Waiting 23:59:21 c3185cebc471: Waiting 23:59:21 4c4ab2625f07: Verifying Checksum 23:59:21 4c4ab2625f07: Download complete 23:59:21 adcc1eea9eea: Verifying Checksum 23:59:21 adcc1eea9eea: Download complete 23:59:21 3b30891b0d05: Verifying Checksum 23:59:21 3b30891b0d05: Download complete 23:59:21 06b49ca38bd5: Verifying Checksum 23:59:21 06b49ca38bd5: Download complete 23:59:21 c788192a36de: Verifying Checksum 23:59:21 c788192a36de: Download complete 23:59:21 540db60ca938: Verifying Checksum 23:59:21 540db60ca938: Download complete 23:59:21 540db60ca938: Pull complete 23:59:21 adcc1eea9eea: Pull complete 23:59:21 4c4ab2625f07: Pull complete 23:59:21 a77e37c0d609: Verifying Checksum 23:59:21 a77e37c0d609: Download complete 23:59:25 c3185cebc471: Verifying Checksum 23:59:25 c3185cebc471: Download complete 23:59:26 db62176df00c: Verifying Checksum 23:59:26 db62176df00c: Download complete 23:59:28 Running on prd-ubuntu18.04-docker-arm64-4c-16g-746 in /w/workspace/ndry_app-functions-sdk-go_PR-953 [Pipeline] { [Pipeline] ws 23:59:28 Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout 23:59:29 The recommended git tool is: git 23:59:29 db62176df00c: Pull complete 23:59:29 3b30891b0d05: Pull complete 23:59:29 06b49ca38bd5: Pull complete 23:59:29 c788192a36de: Pull complete 23:59:29 a77e37c0d609: Pull complete 23:59:32 c3185cebc471: Pull complete 23:59:32 Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd 23:59:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 23:59:32 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh 23:59:32 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 23:59:33 + docker inspect -f . ci-base-image-x86_64 23:59:33 . [Pipeline] withDockerContainer 23:59:33 prd-centos7-docker-4c-2g-747 does not seem to be running inside a container 23:59: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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:59:34 using credential edgex-jenkins-ssh 23:59:34 Cloning the remote Git repository 23:59:35 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 23:59:35 > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 23:59:35 $ docker top 3fff0295679c2c3650c6d117bc48371a12b96fbec7a4c403aef6e327ed602e52 -eo pid,comm [Pipeline] { [Pipeline] sh 23:59:36 + go version 23:59:36 go version go1.16.6 linux/amd64 [Pipeline] } 23:59:36 $ docker stop --time=1 3fff0295679c2c3650c6d117bc48371a12b96fbec7a4c403aef6e327ed602e52 23:59:35 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:59:35 > git --version # timeout=10 23:59:35 > git --version # 'git version 2.17.1' 23:59:35 using GIT_SSH to set credentials SSH Credentials for GitHub 23:59:35 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:59:37 $ docker rm -f 3fff0295679c2c3650c6d117bc48371a12b96fbec7a4c403aef6e327ed602e52 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:59:38 + docker inspect -f . ci-base-image-x86_64 23:59:38 . [Pipeline] withDockerContainer 23:59:38 prd-centos7-docker-4c-2g-747 does not seem to be running inside a container 23:59:38 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:59:39 $ docker top d3edb3384a38c3286a309ad5205edb16920fbbf49e0586678911424b72b961ea -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:59:40 + make test 23:59:40 make -C ./app-service-template build 23:59:40 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 23:59:40 go mod tidy 23:59:44 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 23:59:44 go: downloading github.com/stretchr/testify v1.7.0 23:59:44 go: downloading github.com/google/uuid v1.3.0 23:59:44 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 23:59:44 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 23:59:44 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 23:59:44 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 23:59:44 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 23:59:44 go: downloading github.com/davecgh/go-spew v1.1.1 23:59:44 go: downloading github.com/pmezard/go-difflib v1.0.0 23:59:44 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 23:59:44 go: downloading github.com/stretchr/objx v0.1.0 23:59:44 go: downloading github.com/go-kit/kit v0.9.0 23:59:45 go: downloading gopkg.in/yaml.v2 v2.4.0 23:59:45 go: downloading github.com/go-playground/validator/v10 v10.6.1 23:59:45 go: downloading github.com/gorilla/mux v1.8.0 23:59:45 go: downloading github.com/hashicorp/go-multierror v1.1.1 23:59:45 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 23:59:45 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 23:59:45 go: downloading github.com/gorilla/websocket v1.4.2 23:59:45 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 23:59:45 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 23:59:46 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 23:59:46 go: downloading github.com/mitchellh/copystructure v1.0.0 23:59:46 go: downloading github.com/go-logfmt/logfmt v0.4.0 23:59:46 go: downloading github.com/go-stack/stack v1.8.0 23:59:46 go: downloading github.com/pelletier/go-toml v1.9.2 23:59:46 go: downloading github.com/go-playground/universal-translator v0.17.0 23:59:46 go: downloading github.com/leodido/go-urn v1.2.0 23:59:46 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 23:59:46 go: downloading golang.org/x/text v0.3.2 23:59:46 go: downloading github.com/go-playground/assert/v2 v2.0.1 23:59:46 go: downloading github.com/go-playground/locales v0.13.0 23:59:47 go: downloading github.com/hashicorp/consul/api v1.8.1 23:59:47 go: downloading github.com/hashicorp/errwrap v1.0.0 23:59:47 go: downloading github.com/kr/pretty v0.2.0 23:59:47 go: downloading github.com/mitchellh/reflectwalk v1.0.0 23:59:47 go: downloading github.com/x448/float16 v0.8.4 23:59:47 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 23:59:47 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 23:59:47 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 23:59:48 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 23:59:48 go: downloading github.com/kr/text v0.1.0 23:59:48 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 23:59:48 go: downloading github.com/hashicorp/go-hclog v0.12.0 23:59:48 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 23:59:48 go: downloading github.com/hashicorp/serf v0.9.5 23:59:48 go: downloading github.com/mitchellh/mapstructure v1.1.2 23:59:48 go: downloading github.com/hashicorp/consul/sdk v0.7.0 23:59:48 go: downloading github.com/hashicorp/go-uuid v1.0.1 23:59:48 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 23:59:48 go: downloading github.com/go-redis/redis/v7 v7.3.0 23:59:48 go: downloading github.com/pebbe/zmq4 v1.2.7 23:59:48 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 23:59:48 go: downloading github.com/fatih/color v1.9.0 23:59:48 go: downloading github.com/mattn/go-colorable v0.1.6 23:59:48 go: downloading github.com/mattn/go-isatty v0.0.12 23:59:48 go: downloading github.com/mitchellh/go-homedir v1.1.0 23:59:48 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 23:59:48 go: downloading github.com/pkg/errors v0.8.1 23:59:48 go: downloading github.com/hashicorp/go-msgpack v0.5.3 23:59:48 go: downloading github.com/hashicorp/memberlist v0.2.2 23:59:48 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 23:59:48 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 23:59:48 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 23:59:48 go: downloading github.com/onsi/ginkgo v1.10.1 23:59:48 go: downloading github.com/onsi/gomega v1.7.0 23:59:48 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 23:59:48 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 23:59:48 go: downloading github.com/miekg/dns v1.1.26 23:59:48 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 23:59:48 go: downloading github.com/hashicorp/golang-lru v0.5.0 23:59:48 go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 23:59:48 go: downloading github.com/hpcloud/tail v1.0.0 23:59:48 go: downloading github.com/golang/protobuf v1.3.2 23:59:49 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 23:59:49 go: downloading gopkg.in/fsnotify.v1 v1.4.7 23:59:49 go: downloading github.com/fsnotify/fsnotify v1.4.7 23:59:49 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.1 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service 23:59:57 Merging remotes/origin/main commit be777dce5b114969bf676217563e399b5449f784 into PR head commit cbfbd6728e81cc28b2304a96a35c30e21fc3c3ce 23:59:57 Merge succeeded, producing cbfbd6728e81cc28b2304a96a35c30e21fc3c3ce 23:59:57 Checking out Revision cbfbd6728e81cc28b2304a96a35c30e21fc3c3ce (PR-953) 23:59:56 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:59:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:59:56 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:59:56 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:59:56 using GIT_SSH to set credentials SSH Credentials for GitHub 23:59:56 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/953/head:refs/remotes/origin/PR-953 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:59:57 > git config core.sparsecheckout # timeout=10 23:59:57 > git checkout -f cbfbd6728e81cc28b2304a96a35c30e21fc3c3ce # timeout=10 23:59:57 > git remote # timeout=10 23:59:57 > git config --get remote.origin.url # timeout=10 23:59:57 using GIT_SSH to set credentials SSH Credentials for GitHub 23:59:57 > git merge be777dce5b114969bf676217563e399b5449f784 # timeout=10 23:59:57 > git rev-parse HEAD^{commit} # timeout=10 23:59:57 > git config core.sparsecheckout # timeout=10 23:59:57 > git checkout -f cbfbd6728e81cc28b2304a96a35c30e21fc3c3ce # timeout=10 00:00:01 Commit message: "build: Update build image for app-template to be golang:1.16-alpine3.14" 00:00:02 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 00:00:02 make -C ./app-service-template test 00:00:02 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 00:00:02 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 00:00:02 ========================================================= 00:00:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 00:00:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 00:00:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 00:00:08 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:00:08 595b0fe564bb: Pulling fs layer 00:00:08 24495759ef45: Pulling fs layer 00:00:08 d148012ef14d: Pulling fs layer 00:00:08 e90a11edd702: Pulling fs layer 00:00:08 d77568369979: Pulling fs layer 00:00:08 fc1c9f9a7f3b: Pulling fs layer 00:00:08 170f2ba95c9a: Pulling fs layer 00:00:08 97ac5df62f85: Pulling fs layer 00:00:08 e90a11edd702: Waiting 00:00:08 fc1c9f9a7f3b: Waiting 00:00:08 d77568369979: Waiting 00:00:08 170f2ba95c9a: Waiting 00:00:08 97ac5df62f85: Waiting 00:00:08 d148012ef14d: Verifying Checksum 00:00:08 d148012ef14d: Download complete 00:00:08 24495759ef45: Verifying Checksum 00:00:08 24495759ef45: Download complete 00:00:08 595b0fe564bb: Verifying Checksum 00:00:08 595b0fe564bb: Download complete 00:00:08 fc1c9f9a7f3b: Verifying Checksum 00:00:08 fc1c9f9a7f3b: Download complete 00:00:08 170f2ba95c9a: Download complete 00:00:08 d77568369979: Download complete 00:00:09 595b0fe564bb: Pull complete 00:00:10 24495759ef45: Pull complete 00:00:10 d148012ef14d: Pull complete 00:00:12 ok new-app-service 0.013s coverage: 48.1% of statements 00:00:12 ? new-app-service/config [no test files] 00:00:12 ok new-app-service/functions 0.009s 00:00:12 CGO_ENABLED=1 go vet ./... 00:00:12 97ac5df62f85: Verifying Checksum 00:00:12 97ac5df62f85: Download complete 00:00:14 e90a11edd702: Verifying Checksum 00:00:14 e90a11edd702: Download complete 00:00:19 gofmt -l . 00:00:19 [ "`gofmt -l .`" = "" ] 00:00:19 ./bin/test-attribution-txt.sh 00:00:19 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 00:00:19 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:00:19 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 00:00:21 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.012s coverage: 63.9% of statements 00:00:21 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.013s coverage: 93.7% of statements 00:00:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 00:00:21 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.016s coverage: 61.8% of statements 00:00:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 00:00:21 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.011s 00:00:24 e90a11edd702: Pull complete 00:00:24 d77568369979: Pull complete 00:00:25 fc1c9f9a7f3b: Pull complete 00:00:25 170f2ba95c9a: Pull complete 00:00:33 97ac5df62f85: Pull complete 00:00:33 Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 00:00:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 00:00:33 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh 00:00:34 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 00:00:34 + docker inspect -f . ci-base-image-arm64 00:00:34 . [Pipeline] withDockerContainer 00:00:35 prd-ubuntu18.04-docker-arm64-4c-16g-746 does not seem to be running inside a container 00:00:35 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:00:48 $ docker top 2e0c943c1b476a74e10045a15c0d1461b631f79498924629583d7b706a0b7413 -eo pid,comm [Pipeline] { [Pipeline] sh 00:00:49 + go version 00:00:49 go version go1.16.6 linux/arm64 [Pipeline] } 00:00:49 $ docker stop --time=1 2e0c943c1b476a74e10045a15c0d1461b631f79498924629583d7b706a0b7413 00:00:51 $ docker rm -f 2e0c943c1b476a74e10045a15c0d1461b631f79498924629583d7b706a0b7413 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:00:52 + docker inspect -f . ci-base-image-arm64 00:00:52 . [Pipeline] withDockerContainer 00:00:52 prd-ubuntu18.04-docker-arm64-4c-16g-746 does not seem to be running inside a container 00:00:52 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:00:54 $ docker top 330e4c81ec3323843b625bec5f0ffc8e52ac002e520bc3aa651a352c39edb3f9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:00:55 + make test 00:00:55 make -C ./app-service-template build 00:00:55 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 00:00:55 go mod tidy 00:00:56 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 00:00:56 go: downloading github.com/google/uuid v1.3.0 00:00:57 go: downloading github.com/stretchr/testify v1.7.0 00:00:57 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 00:00:57 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 00:00:57 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 00:00:57 go: downloading github.com/davecgh/go-spew v1.1.1 00:00:57 go: downloading github.com/pmezard/go-difflib v1.0.0 00:00:57 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 00:00:57 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 00:00:57 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 00:00:58 go: downloading github.com/stretchr/objx v0.1.0 00:00:58 go: downloading github.com/go-playground/validator/v10 v10.6.1 00:00:58 go: downloading github.com/go-kit/kit v0.9.0 00:00:58 go: downloading gopkg.in/yaml.v2 v2.4.0 00:00:58 go: downloading github.com/gorilla/mux v1.8.0 00:00:58 go: downloading github.com/hashicorp/go-multierror v1.1.1 00:00:58 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 00:00:58 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 00:00:58 go: downloading github.com/mitchellh/copystructure v1.0.0 00:00:58 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 00:00:58 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 00:00:58 go: downloading github.com/gorilla/websocket v1.4.2 00:00:58 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 00:00:58 go: downloading github.com/hashicorp/consul/api v1.8.1 00:00:58 go: downloading github.com/pelletier/go-toml v1.9.2 00:00:58 go: downloading github.com/hashicorp/errwrap v1.0.0 00:00:58 go: downloading github.com/go-playground/universal-translator v0.17.0 00:00:58 go: downloading github.com/leodido/go-urn v1.2.0 00:00:59 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 00:00:59 go: downloading golang.org/x/text v0.3.2 00:00:59 go: downloading github.com/go-playground/assert/v2 v2.0.1 00:00:59 go: downloading github.com/go-playground/locales v0.13.0 00:01:02 go: downloading github.com/mitchellh/reflectwalk v1.0.0 00:01:02 go: downloading github.com/kr/pretty v0.2.0 00:01:02 go: downloading github.com/x448/float16 v0.8.4 00:01:02 go: downloading github.com/go-logfmt/logfmt v0.4.0 00:01:03 go: downloading github.com/go-stack/stack v1.8.0 00:01:03 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 00:01:03 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 00:01:03 go: downloading github.com/hashicorp/go-hclog v0.12.0 00:01:03 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 00:01:03 go: downloading github.com/hashicorp/serf v0.9.5 00:01:03 go: downloading github.com/mitchellh/mapstructure v1.1.2 00:01:03 go: downloading github.com/hashicorp/consul/sdk v0.7.0 00:01:03 go: downloading github.com/hashicorp/go-uuid v1.0.1 00:01:03 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 00:01:03 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 00:01:04 go: downloading github.com/kr/text v0.1.0 00:01:04 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 00:01:04 go: downloading github.com/go-redis/redis/v7 v7.3.0 00:01:04 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 00:01:04 go: downloading github.com/pebbe/zmq4 v1.2.7 00:01:04 go: downloading github.com/fatih/color v1.9.0 00:01:04 go: downloading github.com/mattn/go-colorable v0.1.6 00:01:04 go: downloading github.com/mattn/go-isatty v0.0.12 00:01:04 go: downloading github.com/mitchellh/go-homedir v1.1.0 00:01:04 go: downloading github.com/pkg/errors v0.8.1 00:01:04 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 00:01:04 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 00:01:04 go: downloading github.com/hashicorp/go-msgpack v0.5.3 00:01:04 go: downloading github.com/hashicorp/memberlist v0.2.2 00:01:04 go: downloading github.com/onsi/ginkgo v1.10.1 00:01:05 go: downloading github.com/onsi/gomega v1.7.0 00:01:05 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 00:01:05 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 00:01:05 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 00:01:05 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 00:01:05 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 00:01:05 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 00:01:05 go: downloading github.com/miekg/dns v1.1.26 00:01:05 go: downloading github.com/hashicorp/golang-lru v0.5.0 00:01:05 go: downloading github.com/hpcloud/tail v1.0.0 00:01:05 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 00:01:05 go: downloading github.com/golang/protobuf v1.3.2 00:01:05 go: downloading gopkg.in/fsnotify.v1 v1.4.7 00:01:05 go: downloading github.com/fsnotify/fsnotify v1.4.7 00:01:05 go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 00:01:05 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.1 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service 00:01:08 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 45.174s coverage: 75.7% of statements 00:01:08 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 00:01:08 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 00:01:08 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 00:01:08 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 00:01:08 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 00:01:08 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 00:01:08 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.014s coverage: 97.3% of statements 00:01:08 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 00:01:08 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.007s coverage: 10.5% of statements 00:01:08 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.046s coverage: 77.0% of statements 00:01:08 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 00:01:08 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.007s coverage: 12.5% of statements 00:01:08 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.009s coverage: 27.3% of statements 00:01:08 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 00:01:08 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 00:01:08 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.010s coverage: 51.4% of statements 00:01:08 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.045s coverage: 77.3% of statements 00:01:08 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.007s coverage: 94.4% of statements 00:01:08 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:01:09 gofmt -l . 00:01:09 [ "`gofmt -l .`" = "" ] [Pipeline] } 00:01:09 $ docker stop --time=1 d3edb3384a38c3286a309ad5205edb16920fbbf49e0586678911424b72b961ea 00:01:10 $ docker rm -f d3edb3384a38c3286a309ad5205edb16920fbbf49e0586678911424b72b961ea [Pipeline] // withDockerContainer [Pipeline] sh 00:01:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:01:11 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] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:01:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:01:13 00:01:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 00:01:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:01:13 latest: Pulling from edgex-lftools-log-publisher 00:01:13 b4d181a07f80: Pulling fs layer 00:01:13 a1111a8f2ec3: Pulling fs layer 00:01:13 ed53099fbce6: Pulling fs layer 00:01:13 dc539afda2c1: Pulling fs layer 00:01:13 77bc0d833cb6: Pulling fs layer 00:01:13 9065ff56babe: Pulling fs layer 00:01:13 d287ab97295c: Pulling fs layer 00:01:13 dc539afda2c1: Waiting 00:01:13 77bc0d833cb6: Waiting 00:01:13 9065ff56babe: Waiting 00:01:13 d287ab97295c: Waiting 00:01:14 a1111a8f2ec3: Verifying Checksum 00:01:14 a1111a8f2ec3: Download complete 00:01:14 dc539afda2c1: Verifying Checksum 00:01:14 dc539afda2c1: Download complete 00:01:14 77bc0d833cb6: Verifying Checksum 00:01:14 77bc0d833cb6: Download complete 00:01:14 9065ff56babe: Verifying Checksum 00:01:14 9065ff56babe: Download complete 00:01:14 ed53099fbce6: Verifying Checksum 00:01:14 ed53099fbce6: Download complete 00:01:15 b4d181a07f80: Verifying Checksum 00:01:15 b4d181a07f80: Download complete 00:01:16 b4d181a07f80: Pull complete 00:01:16 a1111a8f2ec3: Pull complete 00:01:17 ed53099fbce6: Pull complete 00:01:17 dc539afda2c1: Pull complete 00:01:17 77bc0d833cb6: Pull complete 00:01:17 9065ff56babe: Pull complete 00:01:20 d287ab97295c: Verifying Checksum 00:01:20 d287ab97295c: Download complete 00:01:24 d287ab97295c: Pull complete 00:01:24 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 00:01:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:01:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 00:01:24 prd-centos7-docker-4c-2g-747 does not seem to be running inside a container 00:01:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-functions-sdk-go/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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:01:27 $ docker top 7d78f341c42153f8130918094df61b3bfbffd9c2f3ab4fea7f701e8019b7fcf9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:01:28 ---> job-cost.sh 00:01:28 lf-activate-venv: SKIPPING 00:01:28 INFO: No Stack... 00:01:29 INFO: Retrieving Pricing Info for: v3-standard-2 00:01:30 INFO: Archiving Costs [Pipeline] sh 00:01:30 + cat /w/workspace/app-functions-sdk-go/2/archives/cost.csv 00:01:30 + cut -d, -f6 [Pipeline] lock 00:01:30 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-953-2-stack-cost] 00:01:30 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-953-2-stack-cost] did not exist. Created. 00:01:30 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-953-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:01:31 + echo total: 0.05999999865889549 [Pipeline] stash 00:01:31 Stashed 1 file(s) [Pipeline] } 00:01:31 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-953-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:01:31 $ docker stop --time=1 7d78f341c42153f8130918094df61b3bfbffd9c2f3ab4fea7f701e8019b7fcf9 00:01:32 $ docker rm -f 7d78f341c42153f8130918094df61b3bfbffd9c2f3ab4fea7f701e8019b7fcf9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:01:44 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 00:01:44 make -C ./app-service-template test 00:01:44 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 00:01:44 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 00:02:17 ok new-app-service 0.045s coverage: 48.1% of statements 00:02:17 ? new-app-service/config [no test files] 00:02:17 ok new-app-service/functions 0.041s 00:02:17 CGO_ENABLED=1 go vet ./... 00:02:44 gofmt -l . 00:02:44 [ "`gofmt -l .`" = "" ] 00:02:44 ./bin/test-attribution-txt.sh 00:02:44 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 00:02:44 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:02:44 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 00:02:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.093s coverage: 63.9% of statements 00:02:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.054s coverage: 93.7% of statements 00:02:52 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 00:02:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.104s coverage: 61.8% of statements 00:02:52 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 00:02:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.078s 00:02:53 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.172s coverage: 75.7% of statements 00:02:53 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 00:02:53 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 00:02:53 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 00:02:53 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 00:02:53 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 00:02:53 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 00:02:53 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.015s coverage: 97.3% of statements 00:02:53 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 00:02:53 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.107s coverage: 10.5% of statements 00:02:59 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.143s coverage: 77.0% of statements 00:02:59 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 00:02:59 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.039s coverage: 12.5% of statements 00:02:59 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.070s coverage: 27.3% of statements 00:02:59 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 00:02:59 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 00:02:59 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.043s coverage: 51.4% of statements 00:03:26 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.112s coverage: 77.3% of statements 00:03:26 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.031s coverage: 94.4% of statements 00:03:26 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:03:29 gofmt -l . 00:03:29 [ "`gofmt -l .`" = "" ] [Pipeline] } 00:03:29 $ docker stop --time=1 330e4c81ec3323843b625bec5f0ffc8e52ac002e520bc3aa651a352c39edb3f9 00:03:31 $ docker rm -f 330e4c81ec3323843b625bec5f0ffc8e52ac002e520bc3aa651a352c39edb3f9 [Pipeline] // withDockerContainer [Pipeline] sh 00:03:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:03:34 Warning: overwriting stash ‘coverage-report’ 00:03:34 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] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:03:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:03:35 00:03:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 00:03:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:03:36 arm64: Pulling from edgex-lftools-log-publisher 00:03:36 448f6bf000e3: Pulling fs layer 00:03:36 f757da607395: Pulling fs layer 00:03:36 05883995daec: Pulling fs layer 00:03:36 8603b9c90790: Pulling fs layer 00:03:36 1560dd03e051: Pulling fs layer 00:03:36 27f5ce0e4adf: Pulling fs layer 00:03:36 c2d8d7efcc4b: Pulling fs layer 00:03:36 8603b9c90790: Waiting 00:03:36 1560dd03e051: Waiting 00:03:36 c2d8d7efcc4b: Waiting 00:03:36 27f5ce0e4adf: Waiting 00:03:36 f757da607395: Verifying Checksum 00:03:36 f757da607395: Download complete 00:03:36 8603b9c90790: Verifying Checksum 00:03:36 8603b9c90790: Download complete 00:03:36 1560dd03e051: Verifying Checksum 00:03:36 1560dd03e051: Download complete 00:03:36 27f5ce0e4adf: Verifying Checksum 00:03:36 27f5ce0e4adf: Download complete 00:03:37 05883995daec: Verifying Checksum 00:03:37 448f6bf000e3: Verifying Checksum 00:03:37 448f6bf000e3: Download complete 00:03:40 c2d8d7efcc4b: Verifying Checksum 00:03:40 c2d8d7efcc4b: Download complete 00:03:41 448f6bf000e3: Pull complete 00:03:42 f757da607395: Pull complete 00:03:43 05883995daec: Pull complete 00:03:43 8603b9c90790: Pull complete 00:03:44 1560dd03e051: Pull complete 00:03:45 27f5ce0e4adf: Pull complete 00:04:00 c2d8d7efcc4b: Pull complete 00:04:00 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 00:04:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:04:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 00:04:00 prd-ubuntu18.04-docker-arm64-4c-16g-746 does not seem to be running inside a container 00:04:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-functions-sdk-go/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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:04:16 $ docker top 3a6931b06c9fe76890979f4a684e56c93c681b5e0de5f687301b5da8d3264a85 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:04:17 ---> job-cost.sh 00:04:17 lf-activate-venv: SKIPPING 00:04:17 INFO: No Stack... 00:04:19 INFO: Retrieving Pricing Info for: v3-standard-4 00:04:19 INFO: Archiving Costs [Pipeline] sh 00:04:20 + cat /w/workspace/app-functions-sdk-go/2/archives/cost.csv 00:04:20 + cut -d, -f6 [Pipeline] lock 00:04:20 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-953-2-stack-cost] 00:04:20 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-953-2-stack-cost] did not exist. Created. 00:04:20 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-953-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:04:20 /w/workspace/app-functions-sdk-go/2@tmp/durable-72964164/script.sh: 1: /w/workspace/app-functions-sdk-go/2@tmp/durable-72964164/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 00:04:21 + echo total: 0.10999999940395355 [Pipeline] stash 00:04:21 Warning: overwriting stash ‘stack-cost’ 00:04:21 Stashed 1 file(s) [Pipeline] } 00:04:21 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-953-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:04:21 $ docker stop --time=1 3a6931b06c9fe76890979f4a684e56c93c681b5e0de5f687301b5da8d3264a85 00:04:23 $ docker rm -f 3a6931b06c9fe76890979f4a684e56c93c681b5e0de5f687301b5da8d3264a85 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [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 00:04:24 provisioning config files... 00:04:24 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-953@tmp/config2957163507378092326tmp [Pipeline] { [Pipeline] sh 00:04:25 + set +x 00:04:25 + curl -s https://codecov.io/bash 00:04:25 + bash -s -- 00:04:25 00:04:25 _____ _ 00:04:25 / ____| | | 00:04:25 | | ___ __| | ___ ___ _____ __ 00:04:25 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:04:25 | |___| (_) | (_| | __/ (_| (_) \ V / 00:04:25 \_____\___/ \__,_|\___|\___\___/ \_/ 00:04:25 Bash-1.0.6 00:04:25 00:04:25 00:04:25 ==> git version 2.24.4 found 00:04:25 ==> 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 00:04:25 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 00:04:25 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 00:04:25 ==> Jenkins CI detected. 00:04:25 current dir:  /w/workspace/ndry_app-functions-sdk-go_PR-953 00:04:25 project root: . 00:04:25 --> token set from env 00:04:25 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:04:25 ==> Running gcov in . (disable via -X gcov) 00:04:25 ==> Python coveragepy not found 00:04:25 ==> Searching for coverage reports in: 00:04:25 + . 00:04:25 -> Found 2 reports 00:04:25 ==> Detecting git/mercurial file structure 00:04:25 ==> Reading reports 00:04:25 + ./app-service-template/coverage.out bytes=1219 00:04:25 + ./coverage.out bytes=101685 00:04:25 ==> Appending adjustments 00:04:25 https://docs.codecov.io/docs/fixing-reports 00:04:26 + Found adjustments 00:04:26 ==> Gzipping contents 00:04:26 20K /tmp/codecov.ixAVw9.gz 00:04:26 ==> Uploading reports 00:04:26 url: https://codecov.io 00:04:26 query: branch=PR-953&commit=cbfbd6728e81cc28b2304a96a35c30e21fc3c3ce&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-953%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=953&job=&cmd_args= 00:04:26 -> Pinging Codecov 00:04:26 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=17ebf437-e483-4174-b11b-49c3772ebb45&branch=PR-953&commit=cbfbd6728e81cc28b2304a96a35c30e21fc3c3ce&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-953%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=953&job=&cmd_args= 00:04:34 -> Uploading to 00:04:34 https://storage.googleapis.com/codecov/v4/raw/2021-09-22/3D8B5DFFC46A037C893635FACE044666/cbfbd6728e81cc28b2304a96a35c30e21fc3c3ce/db42d82f-d0fb-49d9-a3d7-f59de7eac276.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210922%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210922T000433Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e813041f7da612c5732e67bcd3a47b58d68c441cb68c1e42ca836de5281af961 00:04:34 % Total % Received % Xferd Average Speed Time Time Time Current 00:04:34 Dload Upload Total Spent Left Speed 00:04:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17654 0 0 100 17654 0 43193 --:--:-- --:--:-- --:--:-- 43163 00:04:34 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/cbfbd6728e81cc28b2304a96a35c30e21fc3c3ce [Pipeline] } 00:04:34 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] sh 00:04:36 + '[' -d /w/workspace/ndry_app-functions-sdk-go_PR-953/archives ']' [Pipeline] libraryResource [Pipeline] sh 00:04:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:04:38 ---> package-listing.sh 00:04:38 ++ facter osfamily 00:04:38 ++ tr '[:upper:]' '[:lower:]' 00:04:38 + OS_FAMILY=redhat 00:04:38 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-953 00:04:38 + START_PACKAGES=/tmp/packages_start.txt 00:04:38 + END_PACKAGES=/tmp/packages_end.txt 00:04:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:04:38 + PACKAGES=/tmp/packages_start.txt 00:04:38 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-953 ']' 00:04:38 + PACKAGES=/tmp/packages_end.txt 00:04:38 + case "${OS_FAMILY}" in 00:04:38 + rpm -qa 00:04:38 + sort 00:04:39 + '[' -f /tmp/packages_start.txt ']' 00:04:39 + '[' -f /tmp/packages_end.txt ']' 00:04:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:04:39 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-953 ']' 00:04:39 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-953/archives/ 00:04:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-953/archives/ [Pipeline] echo 00:04:39 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-953/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:04:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:04:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:04:40 00:04:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 00:04:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:04:40 latest: Pulling from edgex-lftools-log-publisher 00:04:40 b4d181a07f80: Pulling fs layer 00:04:40 a1111a8f2ec3: Pulling fs layer 00:04:40 ed53099fbce6: Pulling fs layer 00:04:40 dc539afda2c1: Pulling fs layer 00:04:40 77bc0d833cb6: Pulling fs layer 00:04:40 9065ff56babe: Pulling fs layer 00:04:40 d287ab97295c: Pulling fs layer 00:04:40 77bc0d833cb6: Waiting 00:04:40 9065ff56babe: Waiting 00:04:40 dc539afda2c1: Waiting 00:04:40 d287ab97295c: Waiting 00:04:41 a1111a8f2ec3: Verifying Checksum 00:04:41 a1111a8f2ec3: Download complete 00:04:41 dc539afda2c1: Verifying Checksum 00:04:41 dc539afda2c1: Download complete 00:04:41 77bc0d833cb6: Verifying Checksum 00:04:41 77bc0d833cb6: Download complete 00:04:41 9065ff56babe: Verifying Checksum 00:04:41 9065ff56babe: Download complete 00:04:41 ed53099fbce6: Verifying Checksum 00:04:41 ed53099fbce6: Download complete 00:04:44 b4d181a07f80: Verifying Checksum 00:04:44 b4d181a07f80: Download complete 00:04:45 b4d181a07f80: Pull complete 00:04:45 a1111a8f2ec3: Pull complete 00:04:45 ed53099fbce6: Pull complete 00:04:45 dc539afda2c1: Pull complete 00:04:45 77bc0d833cb6: Pull complete 00:04:45 9065ff56babe: Pull complete 00:04:47 d287ab97295c: Verifying Checksum 00:04:47 d287ab97295c: Download complete 00:04:52 d287ab97295c: Pull complete 00:04:52 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 00:04:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:04:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 00:04:52 prd-centos7-docker-4c-2g-745 does not seem to be running inside a container 00:04:52 $ 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-953/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-953 -v /w/workspace/ndry_app-functions-sdk-go_PR-953:/w/workspace/ndry_app-functions-sdk-go_PR-953:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-953@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-953@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:04:55 $ docker top d482604025c0aceb88fba31c2a2a994f3b970033fbfba5b36cb88fecad4988e8 -eo pid,comm [Pipeline] { [Pipeline] sh 00:04:55 + touch /tmp/pre-build-complete [Pipeline] sh 00:04:56 + mkdir -p /var/log/sysstat [Pipeline] sh 00:04:56 + ls /var/log/sa-host 00:04:56 + sadf -c /var/log/sa-host/sa05 00:04:56 file_magic: OK 00:04:56 HZ: Using current value: 100 00:04:56 file_header: OK 00:04:56 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 00:04:56 Statistics: 00:04:56 Hnuu...uuuununununu...Hnuu...uuuununununu... 00:04:56 File successfully converted to sysstat format version 12.0.3 00:04:56 + sadf -c /var/log/sa-host/sa21 00:04:56 file_magic: OK 00:04:56 HZ: Using current value: 100 00:04:56 file_header: OK 00:04:56 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 00:04:56 Statistics: 00:04:56 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:04:56 File successfully converted to sysstat format version 12.0.3 00:04:56 + sadf -c /var/log/sa-host/sa22 00:04:56 file_magic: OK 00:04:56 HZ: Using current value: 100 00:04:56 file_header: OK 00:04:56 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 00:04:56 Statistics: 00:04:56 Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:04:56 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:04:57 provisioning config files... 00:04:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-953@tmp/config6567302905847119941tmp [Pipeline] { [Pipeline] echo 00:04:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:04:57 ---> create-netrc.sh [Pipeline] } 00:04:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:04:58 ---> python-tools-install.sh [Pipeline] echo 00:04:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:04:58 ---> sudo-logs.sh 00:04:58 Archiving 'sudo' log.. 00:04:59 sudo: unable to resolve host prd-centos7-docker-4c-2g-745.vexxhost.local: Name or service not known 00:04:59 sudo: unable to resolve host prd-centos7-docker-4c-2g-745.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 00:04:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:05:00 ---> job-cost.sh 00:05:00 lf-activate-venv: SKIPPING 00:05:00 DEBUG: total: 0.10999999940395355 00:05:00 INFO: Retrieving Stack Cost... 00:05:01 INFO: Retrieving Pricing Info for: v3-standard-2 00:05:01 INFO: Archiving Costs [Pipeline] echo 00:05:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:05:02 ---> logs-deploy.sh 00:05:02 lf-activate-venv: SKIPPING 00:05:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-953/2 00:05:02 INFO: archiving workspace using pattern(s): 00:05:03 Archives upload complete. 00:05:03 INFO: archiving logs to Nexus 00:05:03 ---> uname -a: 00:05:03 Linux prd-centos7-docker-4c-2g-745.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 GNU/Linux 00:05:03 00:05:03 00:05:03 ---> lscpu: 00:05:03 Architecture: x86_64 00:05:03 CPU op-mode(s): 32-bit, 64-bit 00:05:03 Byte Order: Little Endian 00:05:03 Address sizes: 40 bits physical, 48 bits virtual 00:05:03 CPU(s): 2 00:05:03 On-line CPU(s) list: 0,1 00:05:03 Thread(s) per core: 1 00:05:03 Core(s) per socket: 1 00:05:03 Socket(s): 2 00:05:03 NUMA node(s): 1 00:05:03 Vendor ID: AuthenticAMD 00:05:03 CPU family: 23 00:05:03 Model: 49 00:05:03 Model name: AMD EPYC-Rome Processor 00:05:03 Stepping: 0 00:05:03 CPU MHz: 2799.998 00:05:03 BogoMIPS: 5599.99 00:05:03 Virtualization: AMD-V 00:05:03 Hypervisor vendor: KVM 00:05:03 Virtualization type: full 00:05:03 L1d cache: 32K 00:05:03 L1i cache: 32K 00:05:03 L2 cache: 512K 00:05:03 L3 cache: 16384K 00:05:03 NUMA node0 CPU(s): 0,1 00:05:03 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 00:05:03 00:05:03 00:05:03 ---> nproc: 00:05:03 2 00:05:03 00:05:03 00:05:03 ---> df -h: 00:05:03 Filesystem Size Used Avail Use% Mounted on 00:05:03 overlay 40G 7.7G 33G 20% / 00:05:03 tmpfs 64M 0 64M 0% /dev 00:05:03 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 00:05:03 shm 64M 0 64M 0% /dev/shm 00:05:03 /dev/vda1 40G 7.7G 33G 20% /facter-os 00:05:03 00:05:03 00:05:03 ---> sar -b -r -n DEV: 00:05:03 Linux 3.10.0-1160.21.1.el7.x86_64 (prd-centos7-docker-4c-2g-745.vexxhost.local) 09/22/21 _x86_64_ (2 CPU) 00:05:03 00:05:03 00:00:01 tps rtps wtps bread/s bwrtn/s 00:05:03 00:01:01 0.43 0.02 0.42 0.13 6.06 00:05:03 00:02:01 0.40 0.10 0.30 1.73 5.70 00:05:03 00:03:01 0.23 0.00 0.23 0.00 2.98 00:05:03 00:04:01 0.23 0.00 0.23 0.00 1.78 00:05:03 Average: 0.32 0.03 0.30 0.47 4.13 00:05:03 00:05:03 00:00:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 00:05:03 00:01:01 5435644 0 801448 10.01 2620 1769228 1206796 13.32 587740 1586128 8 00:05:03 00:02:01 5436532 0 800432 9.99 2620 1769356 1204840 13.30 586892 1586188 8 00:05:03 00:03:01 5434972 0 801988 10.01 2620 1769360 1204756 13.30 588468 1586188 8 00:05:03 00:04:01 5432464 0 804492 10.04 2620 1769364 1204756 13.30 590876 1586188 20 00:05:03 Average: 5434903 0 802090 10.01 2620 1769327 1205287 13.31 588494 1586173 11 00:05:03 00:05:03 00:00:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 00:05:03 00:01:01 eth0 0.22 0.18 0.08 0.07 0.00 0.00 0.00 0.00 00:05:03 00:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:05:03 00:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:05:03 00:02:01 eth0 0.23 0.23 0.09 0.02 0.00 0.00 0.00 0.00 00:05:03 00:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:05:03 00:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:05:03 00:03:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 00:05:03 00:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:05:03 00:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:05:03 00:04:01 eth0 0.42 0.08 0.03 0.01 0.00 0.00 0.00 0.00 00:05:03 00:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:05:03 00:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:05:03 Average: eth0 0.24 0.15 0.05 0.03 0.00 0.00 0.00 0.00 00:05:03 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:05:03 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:05:03 00:05:03 00:05:03 ---> sar -P ALL: 00:05:03 Linux 3.10.0-1160.21.1.el7.x86_64 (prd-centos7-docker-4c-2g-745.vexxhost.local) 09/22/21 _x86_64_ (2 CPU) 00:05:03 00:05:03 00:00:01 CPU %user %nice %system %iowait %steal %idle 00:05:03 00:01:01 all 0.19 0.00 0.04 0.00 0.01 99.76 00:05:03 00:01:01 0 0.03 0.00 0.05 0.00 0.00 99.92 00:05:03 00:01:01 1 0.35 0.00 0.03 0.00 0.02 99.60 00:05:03 00:02:01 all 0.24 0.00 0.04 0.00 0.02 99.70 00:05:03 00:02:01 0 0.10 0.00 0.05 0.00 0.02 99.83 00:05:03 00:02:01 1 0.38 0.00 0.03 0.00 0.02 99.57 00:05:03 00:03:01 all 0.20 0.00 0.06 0.00 0.02 99.72 00:05:03 00:03:01 0 0.05 0.00 0.07 0.00 0.02 99.87 00:05:03 00:03:01 1 0.35 0.00 0.05 0.00 0.02 99.58 00:05:03 00:04:01 all 0.16 0.00 0.06 0.00 0.02 99.77 00:05:03 00:04:01 0 0.05 0.00 0.07 0.00 0.03 99.85 00:05:03 00:04:01 1 0.27 0.00 0.05 0.00 0.00 99.68 00:05:03 Average: all 0.20 0.00 0.05 0.00 0.01 99.74 00:05:03 Average: 0 0.06 0.00 0.06 0.00 0.02 99.87 00:05:03 Average: 1 0.34 0.00 0.04 0.00 0.01 99.61 00:05:03 00:05:03 00:05:03