Pull request #941 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 AlexCuse for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from 38ed098d78d4ee73855d1d0b0aac841c32073645+262cc6aa5531b14f4b25fa45b49e9ec6b31b4cbe (1a8a06dd3840200d7f76761c8f50869ae63d15c4) 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-ssh1443558354878629969.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-ssh3044509587900880054.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-941/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-941/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7366442006764514249.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-ssh8858795069355450676.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 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-941/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-941/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1288479301100936126.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > 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 ‘prd-centos7-docker-4c-2g-1621’ Running on prd-centos7-docker-4c-2g-1629 in /w/workspace/ndry_app-functions-sdk-go_PR-941 [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-941 # 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-941@tmp/jenkins-gitclient-ssh7861052007075155326.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 262cc6aa5531b14f4b25fa45b49e9ec6b31b4cbe into PR head commit 38ed098d78d4ee73855d1d0b0aac841c32073645 > 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-941@tmp/jenkins-gitclient-ssh3330353369317849664.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/941/head:refs/remotes/origin/PR-941 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 Merge succeeded, producing 38ed098d78d4ee73855d1d0b0aac841c32073645 Checking out Revision 38ed098d78d4ee73855d1d0b0aac841c32073645 (PR-941) > git checkout -f 38ed098d78d4ee73855d1d0b0aac841c32073645 # 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-941@tmp/jenkins-gitclient-ssh5666316363567838774.key > git merge 262cc6aa5531b14f4b25fa45b49e9ec6b31b4cbe # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 38ed098d78d4ee73855d1d0b0aac841c32073645 # timeout=10 Commit message: "feat(sdk): Custom Trigger Multi-Pipeline Support Change service.defaultTriggerMessageProcessor to use default pipeline if configured or attempt to use topic matching logic." First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:17:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:17:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:17:39 ========================================================= 01:17:39 EdgeX Global Pipelines Version Info 01:17:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:17:40 ------------------- 01:17:40 stable info: 01:17:40 ------------------- 01:17:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:17:40 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 01:17:40 Message: update stable to v1.0.205 01:17:41 ------------------- 01:17:41 experimental info: 01:17:41 ------------------- 01:17:41 Commited By: **** collab-it+edgex@linuxfoundation.org 01:17:41 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 01:17:41 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:17:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 01:17:41 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 01:17:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:17:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:17:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:17:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 01:17:41 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 01:17:41 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 01:17:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:17:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:17:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:17:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:17:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 01:17:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:17:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:17:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 01:17:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 01:17:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:17:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:17:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:17:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:17:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 01:17:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 01:17:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:17:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:17:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 01:17:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:17:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-941 [Pipeline] echo 01:17:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-941 [Pipeline] echo 01:17:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-941 [Pipeline] echo 01:17:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 38ed098d78d4ee73855d1d0b0aac841c32073645 [Pipeline] echo 01:17:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 38ed098 [Pipeline] echo 01:17:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:17:43 + git log --format=format:%s -1 38ed098d78d4ee73855d1d0b0aac841c32073645 [Pipeline] echo 01:17:43 GIT_COMMIT: 38ed098d78d4ee73855d1d0b0aac841c32073645, Commit Message: feat(sdk): Custom Trigger Multi-Pipeline Support Change service.defaultTriggerMessageProcessor to use default pipeline if configured or attempt to use topic matching logic. [Pipeline] echo 01:17:43 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 01:17:45 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:17:45 01:17:45 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 01:17:45 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:17:46 latest: Pulling from edgex-devops/git-semver 01:17:46 31603596830f: Pulling fs layer 01:17:46 04fac38145f0: Pulling fs layer 01:17:46 701f6daf10bf: Pulling fs layer 01:17:46 24f72da36158: Pulling fs layer 01:17:46 24f72da36158: Waiting 01:17:46 04fac38145f0: Verifying Checksum 01:17:46 04fac38145f0: Download complete 01:17:46 31603596830f: Verifying Checksum 01:17:46 31603596830f: Download complete 01:17:46 31603596830f: Pull complete 01:17:46 04fac38145f0: Pull complete 01:17:46 24f72da36158: Verifying Checksum 01:17:46 24f72da36158: Download complete 01:17:46 701f6daf10bf: Verifying Checksum 01:17:46 701f6daf10bf: Download complete 01:17:46 701f6daf10bf: Pull complete 01:17:47 24f72da36158: Pull complete 01:17:47 Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 01:17:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:17:47 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 01:17:47 prd-centos7-docker-4c-2g-1629 does not seem to be running inside a container 01:17:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-941 -v /w/workspace/ndry_app-functions-sdk-go_PR-941:/w/workspace/ndry_app-functions-sdk-go_PR-941:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-941@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-941@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:17:48 $ docker top b5b8e2c9c10a6a8284f119221f12463b34614cc134fd7f338bee2ada8b036362 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:17:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:17:48 [ssh-agent] Looking for ssh-agent implementation... 01:17:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:17:48 $ docker exec b5b8e2c9c10a6a8284f119221f12463b34614cc134fd7f338bee2ada8b036362 ssh-agent 01:17:48 SSH_AUTH_SOCK=/tmp/ssh-fv2UwCWwWRJK/agent.15 01:17:48 SSH_AGENT_PID=21 01:17:48 Running ssh-add (command line suppressed) 01:17:48 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-941@tmp/private_key_4515883792139267042.key (/w/workspace/ndry_app-functions-sdk-go_PR-941@tmp/private_key_4515883792139267042.key) 01:17:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:17:49 + git tag --points-at HEAD [Pipeline] } 01:17:49 $ docker exec --env ******** --env ******** b5b8e2c9c10a6a8284f119221f12463b34614cc134fd7f338bee2ada8b036362 ssh-agent -k 01:17:49 unset SSH_AUTH_SOCK; 01:17:49 unset SSH_AGENT_PID; 01:17:49 echo Agent pid 21 killed; 01:17:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:17:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:17:49 [ssh-agent] Looking for ssh-agent implementation... 01:17:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:17:49 $ docker exec b5b8e2c9c10a6a8284f119221f12463b34614cc134fd7f338bee2ada8b036362 ssh-agent 01:17:49 SSH_AUTH_SOCK=/tmp/ssh-qVKeTa6zfgZm/agent.53 01:17:49 SSH_AGENT_PID=60 01:17:49 Running ssh-add (command line suppressed) 01:17:49 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-941@tmp/private_key_3315349184370169735.key (/w/workspace/ndry_app-functions-sdk-go_PR-941@tmp/private_key_3315349184370169735.key) 01:17:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:17:49 + git semver init 01:17:49 # -> Open(): unable to determine branch for HEAD 01:17:49 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-941/.git 01:17:49 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-941 01:17:49 # $SEMVER_REMOTE_NAME = origin 01:17:49 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:17:49 # $SEMVER_USER_NAME = edgex-jenkins 01:17:49 # $SEMVER_BRANCH = PR-941 01:17:49 # $SEMVER_TEMP = /tmp/semver-062389483 01:17:49 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 01:17:52 # '/tmp/semver-062389483' -> '/w/workspace/ndry_app-functions-sdk-go_PR-941/.semver' 01:17:52 # -> Force: false 01:17:52 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-941/.semver [Pipeline] } 01:17:52 $ docker exec --env ******** --env ******** b5b8e2c9c10a6a8284f119221f12463b34614cc134fd7f338bee2ada8b036362 ssh-agent -k 01:17:52 unset SSH_AUTH_SOCK; 01:17:52 unset SSH_AGENT_PID; 01:17:52 echo Agent pid 60 killed; 01:17:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:17:53 + git semver [Pipeline] } 01:17:53 $ docker stop --time=1 b5b8e2c9c10a6a8284f119221f12463b34614cc134fd7f338bee2ada8b036362 01:17:54 $ docker rm -f b5b8e2c9c10a6a8284f119221f12463b34614cc134fd7f338bee2ada8b036362 [Pipeline] // withDockerContainer [Pipeline] sh 01:17:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:17:55 Stashed 1 file(s) [Pipeline] echo 01:17:55 [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 01:18:10 Still waiting to schedule task 01:18:10 Waiting for next available executor on ‘centos7-docker-4c-2g’ 01:18:10 Still waiting to schedule task 01:18:10 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1625’ 01:21:34 Running on prd-centos7-docker-4c-2g-1631 in /w/workspace/ndry_app-functions-sdk-go_PR-941 [Pipeline] { [Pipeline] ws 01:21:34 Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout 01:21:34 The recommended git tool is: git 01:21:37 using credential edgex-jenkins-ssh 01:21:37 Cloning the remote Git repository 01:21:37 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 01:21:39 > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 01:21:39 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 01:21:39 > git --version # timeout=10 01:21:39 > git --version # 'git version 2.24.4' 01:21:39 using GIT_SSH to set credentials SSH Credentials for GitHub 01:21:39 [INFO] Currently running in a labeled security context 01:21:39 [INFO] Currently SELinux is 'enforcing' on the host 01:21:39 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/3@tmp/jenkins-gitclient-ssh8744094576442630760.key 01:21:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:21:41 Merging remotes/origin/main commit 262cc6aa5531b14f4b25fa45b49e9ec6b31b4cbe into PR head commit 38ed098d78d4ee73855d1d0b0aac841c32073645 01:21:41 Merge succeeded, producing 38ed098d78d4ee73855d1d0b0aac841c32073645 01:21:41 Checking out Revision 38ed098d78d4ee73855d1d0b0aac841c32073645 (PR-941) 01:21:40 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 01:21:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:21:40 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 01:21:40 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 01:21:40 using GIT_SSH to set credentials SSH Credentials for GitHub 01:21:40 [INFO] Currently running in a labeled security context 01:21:40 [INFO] Currently SELinux is 'enforcing' on the host 01:21:40 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/3@tmp/jenkins-gitclient-ssh6120254996778459612.key 01:21:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/941/head:refs/remotes/origin/PR-941 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:21:41 > git config core.sparsecheckout # timeout=10 01:21:41 > git checkout -f 38ed098d78d4ee73855d1d0b0aac841c32073645 # timeout=10 01:21:41 > git remote # timeout=10 01:21:41 > git config --get remote.origin.url # timeout=10 01:21:41 using GIT_SSH to set credentials SSH Credentials for GitHub 01:21:41 [INFO] Currently running in a labeled security context 01:21:41 [INFO] Currently SELinux is 'enforcing' on the host 01:21:41 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/3@tmp/jenkins-gitclient-ssh208757986928340465.key 01:21:41 > git merge 262cc6aa5531b14f4b25fa45b49e9ec6b31b4cbe # timeout=10 01:21:41 > git rev-parse HEAD^{commit} # timeout=10 01:21:41 > git config core.sparsecheckout # timeout=10 01:21:41 > git checkout -f 38ed098d78d4ee73855d1d0b0aac841c32073645 # timeout=10 01:21:45 Commit message: "feat(sdk): Custom Trigger Multi-Pipeline Support Change service.defaultTriggerMessageProcessor to use default pipeline if configured or attempt to use topic matching logic." [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 01:21:45 ========================================================= 01:21:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 01:21:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 01:21:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 01:21:46 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 01:21:46 540db60ca938: Pulling fs layer 01:21:46 adcc1eea9eea: Pulling fs layer 01:21:46 4c4ab2625f07: Pulling fs layer 01:21:46 db62176df00c: Pulling fs layer 01:21:46 3b30891b0d05: Pulling fs layer 01:21:46 06b49ca38bd5: Pulling fs layer 01:21:46 c788192a36de: Pulling fs layer 01:21:46 a77e37c0d609: Pulling fs layer 01:21:46 c3185cebc471: Pulling fs layer 01:21:46 db62176df00c: Waiting 01:21:46 3b30891b0d05: Waiting 01:21:46 06b49ca38bd5: Waiting 01:21:46 c788192a36de: Waiting 01:21:46 a77e37c0d609: Waiting 01:21:46 c3185cebc471: Waiting 01:21:46 4c4ab2625f07: Download complete 01:21:46 adcc1eea9eea: Verifying Checksum 01:21:46 adcc1eea9eea: Download complete 01:21:46 3b30891b0d05: Verifying Checksum 01:21:46 3b30891b0d05: Download complete 01:21:46 06b49ca38bd5: Verifying Checksum 01:21:46 06b49ca38bd5: Download complete 01:21:46 c788192a36de: Verifying Checksum 01:21:46 c788192a36de: Download complete 01:21:46 540db60ca938: Verifying Checksum 01:21:46 540db60ca938: Download complete 01:21:46 540db60ca938: Pull complete 01:21:46 adcc1eea9eea: Pull complete 01:21:46 4c4ab2625f07: Pull complete 01:21:47 a77e37c0d609: Verifying Checksum 01:21:47 a77e37c0d609: Download complete 01:21:50 c3185cebc471: Verifying Checksum 01:21:50 c3185cebc471: Download complete 01:21:50 db62176df00c: Verifying Checksum 01:21:50 db62176df00c: Download complete 01:21:54 db62176df00c: Pull complete 01:21:54 3b30891b0d05: Pull complete 01:21:54 06b49ca38bd5: Pull complete 01:21:54 c788192a36de: Pull complete 01:21:54 a77e37c0d609: Pull complete 01:21:56 c3185cebc471: Pull complete 01:21:56 Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd 01:21:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 01:21:56 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh 01:21:56 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 01:21:56 + docker inspect -f . ci-base-image-x86_64 01:21:56 . [Pipeline] withDockerContainer 01:21:57 prd-centos7-docker-4c-2g-1631 does not seem to be running inside a container 01:21:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:21:59 $ docker top 028273f5607e37deb4e89cdaabbc57132bfba40d6d93e9f0c7ba97e068519c41 -eo pid,comm [Pipeline] { [Pipeline] sh 01:21:59 + go version 01:21:59 go version go1.16.6 linux/amd64 [Pipeline] } 01:21:59 $ docker stop --time=1 028273f5607e37deb4e89cdaabbc57132bfba40d6d93e9f0c7ba97e068519c41 01:22:01 $ docker rm -f 028273f5607e37deb4e89cdaabbc57132bfba40d6d93e9f0c7ba97e068519c41 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:22:01 + docker inspect -f . ci-base-image-x86_64 01:22:01 . [Pipeline] withDockerContainer 01:22:01 prd-centos7-docker-4c-2g-1631 does not seem to be running inside a container 01:22:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:22:02 $ docker top b50ba39fc101448f4cebbc33df01a1a5b876b812b6974b3704d1f6fdc144e9c6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:22:02 + make test 01:22:02 make -C ./app-service-template build 01:22:02 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/3/app-service-template' 01:22:02 go mod tidy 01:22:07 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 01:22:07 go: downloading github.com/google/uuid v1.3.0 01:22:07 go: downloading github.com/stretchr/testify v1.7.0 01:22:08 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 01:22:08 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 01:22:08 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 01:22:09 go: downloading github.com/go-playground/validator/v10 v10.6.1 01:22:09 go: downloading github.com/go-kit/kit v0.9.0 01:22:09 go: downloading gopkg.in/yaml.v2 v2.4.0 01:22:09 go: downloading github.com/davecgh/go-spew v1.1.1 01:22:09 go: downloading github.com/pmezard/go-difflib v1.0.0 01:22:09 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 01:22:09 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 01:22:09 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 01:22:09 go: downloading github.com/stretchr/objx v0.1.0 01:22:09 go: downloading github.com/gorilla/mux v1.8.0 01:22:09 go: downloading github.com/hashicorp/go-multierror v1.1.0 01:22:09 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 01:22:10 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 01:22:10 go: downloading github.com/go-playground/universal-translator v0.17.0 01:22:10 go: downloading github.com/leodido/go-urn v1.2.0 01:22:10 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 01:22:10 go: downloading golang.org/x/text v0.3.2 01:22:10 go: downloading github.com/go-playground/assert/v2 v2.0.1 01:22:10 go: downloading github.com/go-playground/locales v0.13.0 01:22:12 go: downloading github.com/go-logfmt/logfmt v0.4.0 01:22:12 go: downloading github.com/go-stack/stack v1.8.0 01:22:12 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 01:22:12 go: downloading github.com/mitchellh/copystructure v1.0.0 01:22:12 go: downloading github.com/gorilla/websocket v1.4.2 01:22:12 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 01:22:12 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 01:22:12 go: downloading github.com/pelletier/go-toml v1.9.2 01:22:13 go: downloading github.com/hashicorp/consul/api v1.8.1 01:22:13 go: downloading github.com/hashicorp/errwrap v1.0.0 01:22:13 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 01:22:13 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 01:22:13 go: downloading github.com/mitchellh/reflectwalk v1.0.0 01:22:13 go: downloading github.com/kr/pretty v0.2.0 01:22:14 go: downloading github.com/x448/float16 v0.8.4 01:22:14 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 01:22:14 go: downloading github.com/hashicorp/go-hclog v0.12.0 01:22:14 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 01:22:15 go: downloading github.com/hashicorp/serf v0.9.5 01:22:15 go: downloading github.com/mitchellh/mapstructure v1.1.2 01:22:15 go: downloading github.com/hashicorp/consul/sdk v0.7.0 01:22:15 go: downloading github.com/hashicorp/go-uuid v1.0.1 01:22:15 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 01:22:15 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 01:22:15 go: downloading github.com/kr/text v0.1.0 01:22:15 go: downloading github.com/fatih/color v1.9.0 01:22:16 go: downloading github.com/mattn/go-colorable v0.1.6 01:22:16 go: downloading github.com/mattn/go-isatty v0.0.12 01:22:16 go: downloading github.com/mitchellh/go-homedir v1.1.0 01:22:16 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 01:22:16 go: downloading github.com/pkg/errors v0.8.1 01:22:16 go: downloading github.com/hashicorp/go-msgpack v0.5.3 01:22:16 go: downloading github.com/hashicorp/memberlist v0.2.2 01:22:17 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 01:22:17 go: downloading github.com/go-redis/redis/v7 v7.3.0 01:22:17 go: downloading github.com/pebbe/zmq4 v1.2.7 01:22:17 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 01:22:17 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 01:22:17 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 01:22:17 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 01:22:17 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 01:22:17 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 01:22:18 go: downloading github.com/miekg/dns v1.1.26 01:22:18 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 01:22:18 go: downloading github.com/onsi/ginkgo v1.10.1 01:22:18 go: downloading github.com/onsi/gomega v1.7.0 01:22:18 go: downloading github.com/hashicorp/golang-lru v0.5.0 01:22:19 go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 01:22:19 go: downloading github.com/hpcloud/tail v1.0.0 01:22:19 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 01:22:19 go: downloading gopkg.in/fsnotify.v1 v1.4.7 01:22:19 go: downloading github.com/golang/protobuf v1.3.2 01:22:19 go: downloading github.com/fsnotify/fsnotify v1.4.7 01:22:19 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 01:22:28 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1630 in /w/workspace/ndry_app-functions-sdk-go_PR-941 [Pipeline] { [Pipeline] ws 01:22:30 Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout 01:22:30 The recommended git tool is: git 01:22:32 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/3/app-service-template' 01:22:32 make -C ./app-service-template test 01:22:32 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/3/app-service-template' 01:22:32 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 01:22:36 using credential edgex-jenkins-ssh 01:22:36 Cloning the remote Git repository 01:22:36 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 01:22:36 > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 01:22:36 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 01:22:36 > git --version # timeout=10 01:22:36 > git --version # 'git version 2.17.1' 01:22:36 using GIT_SSH to set credentials SSH Credentials for GitHub 01:22:36 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:22:40 ok new-app-service 0.007s coverage: 48.1% of statements 01:22:40 ? new-app-service/config [no test files] 01:22:40 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 01:22:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:22:40 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 01:22:40 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 01:22:40 using GIT_SSH to set credentials SSH Credentials for GitHub 01:22:40 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/941/head:refs/remotes/origin/PR-941 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:22:41 ok new-app-service/functions 0.007s 01:22:41 CGO_ENABLED=1 go vet ./... 01:22:41 Merging remotes/origin/main commit 262cc6aa5531b14f4b25fa45b49e9ec6b31b4cbe into PR head commit 38ed098d78d4ee73855d1d0b0aac841c32073645 01:22:41 Merge succeeded, producing 38ed098d78d4ee73855d1d0b0aac841c32073645 01:22:41 Checking out Revision 38ed098d78d4ee73855d1d0b0aac841c32073645 (PR-941) 01:22:41 > git config core.sparsecheckout # timeout=10 01:22:41 > git checkout -f 38ed098d78d4ee73855d1d0b0aac841c32073645 # timeout=10 01:22:41 > git remote # timeout=10 01:22:41 > git config --get remote.origin.url # timeout=10 01:22:41 using GIT_SSH to set credentials SSH Credentials for GitHub 01:22:41 > git merge 262cc6aa5531b14f4b25fa45b49e9ec6b31b4cbe # timeout=10 01:22:41 > git rev-parse HEAD^{commit} # timeout=10 01:22:41 > git config core.sparsecheckout # timeout=10 01:22:41 > git checkout -f 38ed098d78d4ee73855d1d0b0aac841c32073645 # timeout=10 01:22:45 Commit message: "feat(sdk): Custom Trigger Multi-Pipeline Support Change service.defaultTriggerMessageProcessor to use default pipeline if configured or attempt to use topic matching logic." [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 01:22:46 ========================================================= 01:22:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 01:22:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 01:22:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 01:22:49 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:22:49 595b0fe564bb: Pulling fs layer 01:22:49 24495759ef45: Pulling fs layer 01:22:49 d148012ef14d: Pulling fs layer 01:22:49 e90a11edd702: Pulling fs layer 01:22:49 d77568369979: Pulling fs layer 01:22:49 fc1c9f9a7f3b: Pulling fs layer 01:22:49 170f2ba95c9a: Pulling fs layer 01:22:49 97ac5df62f85: Pulling fs layer 01:22:49 d77568369979: Waiting 01:22:49 170f2ba95c9a: Waiting 01:22:49 97ac5df62f85: Waiting 01:22:49 e90a11edd702: Waiting 01:22:49 fc1c9f9a7f3b: Waiting 01:22:49 d148012ef14d: Download complete 01:22:49 24495759ef45: Verifying Checksum 01:22:49 24495759ef45: Download complete 01:22:49 d77568369979: Verifying Checksum 01:22:49 d77568369979: Download complete 01:22:49 fc1c9f9a7f3b: Verifying Checksum 01:22:49 fc1c9f9a7f3b: Download complete 01:22:49 170f2ba95c9a: Verifying Checksum 01:22:49 170f2ba95c9a: Download complete 01:22:49 595b0fe564bb: Download complete 01:22:49 gofmt -l . 01:22:49 [ "`gofmt -l .`" = "" ] 01:22:49 ./bin/test-attribution-txt.sh 01:22:49 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/3/app-service-template' 01:22:49 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:22:49 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 01:22:50 595b0fe564bb: Pull complete 01:22:50 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.013s coverage: 63.3% of statements 01:22:50 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.008s coverage: 93.2% of statements 01:22:50 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 01:22:50 24495759ef45: Pull complete 01:22:50 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.020s coverage: 61.8% of statements 01:22:50 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 01:22:50 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.008s 01:22:51 d148012ef14d: Pull complete 01:22:51 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.074s coverage: 75.2% of statements 01:22:51 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 01:22:51 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 01:22:51 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 01:22:51 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 01:22:51 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 01:22:51 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 01:22:51 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.004s coverage: 97.3% of statements 01:22:51 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 01:22:51 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.009s coverage: 10.5% of statements 01:22:52 97ac5df62f85: Verifying Checksum 01:22:52 97ac5df62f85: Download complete 01:22:53 e90a11edd702: Verifying Checksum 01:22:53 e90a11edd702: Download complete 01:22:55 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.060s coverage: 77.0% of statements 01:22:55 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 01:22:55 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.013s coverage: 12.5% of statements 01:22:55 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.013s coverage: 27.3% of statements 01:22:55 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 01:22:55 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 01:22:55 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.007s coverage: 51.4% of statements 01:23:05 e90a11edd702: Pull complete 01:23:05 d77568369979: Pull complete 01:23:05 fc1c9f9a7f3b: Pull complete 01:23:05 170f2ba95c9a: Pull complete 01:23:11 97ac5df62f85: Pull complete 01:23:11 Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 01:23:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 01:23:11 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh 01:23:11 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 01:23:11 + docker inspect -f . ci-base-image-arm64 01:23:11 . [Pipeline] withDockerContainer 01:23:12 prd-ubuntu18.04-docker-arm64-4c-16g-1630 does not seem to be running inside a container 01:23:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:23:19 $ docker top 87b29975b59a55776d814623e6941781bf72d0c9fc763e53d386ad1486c33576 -eo pid,comm [Pipeline] { [Pipeline] sh 01:23:20 + go version 01:23:20 go version go1.16.6 linux/arm64 [Pipeline] } 01:23:20 $ docker stop --time=1 87b29975b59a55776d814623e6941781bf72d0c9fc763e53d386ad1486c33576 01:23:22 $ docker rm -f 87b29975b59a55776d814623e6941781bf72d0c9fc763e53d386ad1486c33576 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:23:22 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.024s coverage: 77.3% of statements 01:23:22 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.007s coverage: 94.4% of statements 01:23:22 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:23:22 gofmt -l . 01:23:22 [ "`gofmt -l .`" = "" ] [Pipeline] } 01:23:22 $ docker stop --time=1 b50ba39fc101448f4cebbc33df01a1a5b876b812b6974b3704d1f6fdc144e9c6 01:23:22 + docker inspect -f . ci-base-image-arm64 01:23:22 . 01:23:23 $ docker rm -f b50ba39fc101448f4cebbc33df01a1a5b876b812b6974b3704d1f6fdc144e9c6 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withDockerContainer 01:23:24 + sudo chown -R jenkins:jenkins . 01:23:24 prd-ubuntu18.04-docker-arm64-4c-16g-1630 does not seem to be running inside a container 01:23:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:23:26 $ docker top c9cf02bf76d940bf818b53b5ae218c9c5a8ed70a0414ff684d4afab052ed03d4 -eo pid,comm [Pipeline] { [Pipeline] stash [Pipeline] fileExists [Pipeline] sh 01:23:28 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 01:23:29 + make test 01:23:29 make -C ./app-service-template build 01:23:29 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/3/app-service-template' 01:23:29 go mod tidy 01:23:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:23:29 01:23:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 01:23:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:23:30 latest: Pulling from edgex-lftools-log-publisher 01:23:30 b4d181a07f80: Pulling fs layer 01:23:30 a1111a8f2ec3: Pulling fs layer 01:23:30 ed53099fbce6: Pulling fs layer 01:23:30 dc539afda2c1: Pulling fs layer 01:23:30 77bc0d833cb6: Pulling fs layer 01:23:30 9065ff56babe: Pulling fs layer 01:23:30 d287ab97295c: Pulling fs layer 01:23:30 77bc0d833cb6: Waiting 01:23:30 9065ff56babe: Waiting 01:23:30 d287ab97295c: Waiting 01:23:30 dc539afda2c1: Waiting 01:23:30 a1111a8f2ec3: Verifying Checksum 01:23:30 a1111a8f2ec3: Download complete 01:23:30 dc539afda2c1: Verifying Checksum 01:23:30 dc539afda2c1: Download complete 01:23:30 77bc0d833cb6: Verifying Checksum 01:23:30 77bc0d833cb6: Download complete 01:23:30 9065ff56babe: Verifying Checksum 01:23:30 9065ff56babe: Download complete 01:23:30 ed53099fbce6: Verifying Checksum 01:23:30 ed53099fbce6: Download complete 01:23:31 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 01:23:31 go: downloading github.com/google/uuid v1.3.0 01:23:31 go: downloading github.com/stretchr/testify v1.7.0 01:23:31 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 01:23:31 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 01:23:31 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 01:23:31 go: downloading github.com/davecgh/go-spew v1.1.1 01:23:31 go: downloading github.com/pmezard/go-difflib v1.0.0 01:23:31 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 01:23:31 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 01:23:31 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 01:23:31 go: downloading github.com/stretchr/objx v0.1.0 01:23:31 go: downloading github.com/go-playground/validator/v10 v10.6.1 01:23:31 go: downloading github.com/go-kit/kit v0.9.0 01:23:31 go: downloading gopkg.in/yaml.v2 v2.4.0 01:23:31 b4d181a07f80: Verifying Checksum 01:23:31 b4d181a07f80: Download complete 01:23:31 go: downloading github.com/gorilla/mux v1.8.0 01:23:31 go: downloading github.com/hashicorp/go-multierror v1.1.0 01:23:31 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 01:23:31 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 01:23:31 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 01:23:31 go: downloading github.com/mitchellh/copystructure v1.0.0 01:23:31 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 01:23:31 go: downloading github.com/gorilla/websocket v1.4.2 01:23:31 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 01:23:31 go: downloading github.com/hashicorp/consul/api v1.8.1 01:23:32 go: downloading github.com/pelletier/go-toml v1.9.2 01:23:32 go: downloading github.com/go-playground/universal-translator v0.17.0 01:23:32 go: downloading github.com/leodido/go-urn v1.2.0 01:23:32 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 01:23:32 go: downloading golang.org/x/text v0.3.2 01:23:32 b4d181a07f80: Pull complete 01:23:32 go: downloading github.com/go-playground/assert/v2 v2.0.1 01:23:32 go: downloading github.com/go-playground/locales v0.13.0 01:23:32 a1111a8f2ec3: Pull complete 01:23:33 ed53099fbce6: Pull complete 01:23:33 dc539afda2c1: Pull complete 01:23:33 77bc0d833cb6: Pull complete 01:23:33 9065ff56babe: Pull complete 01:23:35 d287ab97295c: Verifying Checksum 01:23:35 d287ab97295c: Download complete 01:23:36 go: downloading github.com/hashicorp/errwrap v1.0.0 01:23:36 go: downloading github.com/mitchellh/reflectwalk v1.0.0 01:23:36 go: downloading github.com/kr/pretty v0.2.0 01:23:36 go: downloading github.com/x448/float16 v0.8.4 01:23:36 go: downloading github.com/go-logfmt/logfmt v0.4.0 01:23:36 go: downloading github.com/go-stack/stack v1.8.0 01:23:36 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 01:23:36 go: downloading github.com/hashicorp/go-hclog v0.12.0 01:23:36 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 01:23:36 go: downloading github.com/hashicorp/serf v0.9.5 01:23:36 go: downloading github.com/mitchellh/mapstructure v1.1.2 01:23:36 go: downloading github.com/hashicorp/consul/sdk v0.7.0 01:23:36 go: downloading github.com/hashicorp/go-uuid v1.0.1 01:23:36 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 01:23:36 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 01:23:36 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 01:23:36 go: downloading github.com/kr/text v0.1.0 01:23:36 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 01:23:36 go: downloading github.com/mitchellh/go-homedir v1.1.0 01:23:36 go: downloading github.com/fatih/color v1.9.0 01:23:36 go: downloading github.com/mattn/go-colorable v0.1.6 01:23:36 go: downloading github.com/mattn/go-isatty v0.0.12 01:23:36 go: downloading github.com/pkg/errors v0.8.1 01:23:36 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 01:23:36 go: downloading github.com/go-redis/redis/v7 v7.3.0 01:23:36 go: downloading github.com/pebbe/zmq4 v1.2.7 01:23:36 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 01:23:36 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 01:23:36 go: downloading github.com/hashicorp/go-msgpack v0.5.3 01:23:37 go: downloading github.com/hashicorp/memberlist v0.2.2 01:23:37 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 01:23:37 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 01:23:37 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 01:23:37 go: downloading github.com/onsi/ginkgo v1.10.1 01:23:37 go: downloading github.com/onsi/gomega v1.7.0 01:23:37 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 01:23:37 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 01:23:37 go: downloading github.com/miekg/dns v1.1.26 01:23:37 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 01:23:37 go: downloading github.com/hashicorp/golang-lru v0.5.0 01:23:37 go: downloading github.com/hpcloud/tail v1.0.0 01:23:37 go: downloading github.com/golang/protobuf v1.3.2 01:23:37 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 01:23:37 go: downloading gopkg.in/fsnotify.v1 v1.4.7 01:23:37 go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 01:23:37 go: downloading github.com/fsnotify/fsnotify v1.4.7 01:23:37 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 01:23:39 d287ab97295c: Pull complete 01:23:39 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 01:23:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:23:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 01:23:39 prd-centos7-docker-4c-2g-1631 does not seem to be running inside a container 01:23:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:23:42 $ docker top e0a9c5d5281ee1e3e503f83db706c6982ec2b8741674c0e0f006ad2aa3c0dfe7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:23:42 ---> job-cost.sh 01:23:42 lf-activate-venv: SKIPPING 01:23:42 INFO: No Stack... 01:23:43 INFO: Retrieving Pricing Info for: v3-standard-2 01:23:44 INFO: Archiving Costs [Pipeline] sh 01:23:44 + cat /w/workspace/app-functions-sdk-go/3/archives/cost.csv 01:23:44 + cut -d, -f6 [Pipeline] lock 01:23:44 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-941-3-stack-cost] 01:23:44 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-941-3-stack-cost] did not exist. Created. 01:23:44 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-941-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:23:44 + echo total: 0.05999999865889549 [Pipeline] stash 01:23:44 Stashed 1 file(s) [Pipeline] } 01:23:44 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-941-3-stack-cost] [Pipeline] // lock [Pipeline] } 01:23:44 $ docker stop --time=1 e0a9c5d5281ee1e3e503f83db706c6982ec2b8741674c0e0f006ad2aa3c0dfe7 01:23:46 $ docker rm -f e0a9c5d5281ee1e3e503f83db706c6982ec2b8741674c0e0f006ad2aa3c0dfe7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 01:24:16 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/3/app-service-template' 01:24:16 make -C ./app-service-template test 01:24:16 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/3/app-service-template' 01:24:16 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 01:24:49 ok new-app-service 0.041s coverage: 48.1% of statements 01:24:49 ? new-app-service/config [no test files] 01:24:49 ok new-app-service/functions 0.037s 01:24:49 CGO_ENABLED=1 go vet ./... 01:25:12 gofmt -l . 01:25:12 [ "`gofmt -l .`" = "" ] 01:25:12 ./bin/test-attribution-txt.sh 01:25:13 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/3/app-service-template' 01:25:13 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:25:14 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 01:25:22 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.094s coverage: 63.3% of statements 01:25:22 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.078s coverage: 93.2% of statements 01:25:22 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 01:25:22 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.114s coverage: 61.8% of statements 01:25:22 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 01:25:22 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.065s 01:25:23 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.196s coverage: 75.2% of statements 01:25:23 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 01:25:23 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 01:25:23 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 01:25:23 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 01:25:23 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 01:25:23 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 01:25:23 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.037s coverage: 97.3% of statements 01:25:23 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 01:25:23 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.055s coverage: 10.5% of statements 01:25:31 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.184s coverage: 77.0% of statements 01:25:31 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 01:25:31 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.059s coverage: 12.5% of statements 01:25:31 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.045s coverage: 27.3% of statements 01:25:31 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 01:25:31 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 01:25:31 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.062s coverage: 51.4% of statements 01:25:58 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.108s coverage: 77.3% of statements 01:25:58 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.040s coverage: 94.4% of statements 01:25:58 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:25:59 gofmt -l . 01:25:59 [ "`gofmt -l .`" = "" ] [Pipeline] } 01:26:00 $ docker stop --time=1 c9cf02bf76d940bf818b53b5ae218c9c5a8ed70a0414ff684d4afab052ed03d4 01:26:02 $ docker rm -f c9cf02bf76d940bf818b53b5ae218c9c5a8ed70a0414ff684d4afab052ed03d4 [Pipeline] // withDockerContainer [Pipeline] sh 01:26:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:26:04 Warning: overwriting stash ‘coverage-report’ 01:26:05 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 01:26:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:26:06 01:26:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 01:26:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:26:07 arm64: Pulling from edgex-lftools-log-publisher 01:26:07 448f6bf000e3: Pulling fs layer 01:26:07 f757da607395: Pulling fs layer 01:26:07 05883995daec: Pulling fs layer 01:26:07 8603b9c90790: Pulling fs layer 01:26:07 1560dd03e051: Pulling fs layer 01:26:07 27f5ce0e4adf: Pulling fs layer 01:26:07 c2d8d7efcc4b: Pulling fs layer 01:26:07 8603b9c90790: Waiting 01:26:07 1560dd03e051: Waiting 01:26:07 27f5ce0e4adf: Waiting 01:26:07 c2d8d7efcc4b: Waiting 01:26:07 f757da607395: Verifying Checksum 01:26:07 f757da607395: Download complete 01:26:07 8603b9c90790: Verifying Checksum 01:26:07 8603b9c90790: Download complete 01:26:07 1560dd03e051: Verifying Checksum 01:26:07 1560dd03e051: Download complete 01:26:07 05883995daec: Verifying Checksum 01:26:07 05883995daec: Download complete 01:26:07 27f5ce0e4adf: Verifying Checksum 01:26:07 27f5ce0e4adf: Download complete 01:26:08 448f6bf000e3: Verifying Checksum 01:26:08 448f6bf000e3: Download complete 01:26:12 c2d8d7efcc4b: Verifying Checksum 01:26:12 c2d8d7efcc4b: Download complete 01:26:12 448f6bf000e3: Pull complete 01:26:13 f757da607395: Pull complete 01:26:14 05883995daec: Pull complete 01:26:14 8603b9c90790: Pull complete 01:26:15 1560dd03e051: Pull complete 01:26:16 27f5ce0e4adf: Pull complete 01:26:31 c2d8d7efcc4b: Pull complete 01:26:31 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 01:26:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:26:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 01:26:31 prd-ubuntu18.04-docker-arm64-4c-16g-1630 does not seem to be running inside a container 01:26:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:26:36 $ docker top 07ca84a842578bc1e7c5ec54866dc4c0c0f59e260697af1edfa84a719f21c891 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:26:37 ---> job-cost.sh 01:26:37 lf-activate-venv: SKIPPING 01:26:37 INFO: No Stack... 01:26:38 INFO: Retrieving Pricing Info for: v3-standard-4 01:26:39 INFO: Archiving Costs [Pipeline] sh 01:26:39 + cat /w/workspace/app-functions-sdk-go/3/archives/cost.csv 01:26:39 + cut -d, -f6 [Pipeline] lock 01:26:39 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-941-3-stack-cost] 01:26:39 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-941-3-stack-cost] did not exist. Created. 01:26:39 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-941-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:26:40 /w/workspace/app-functions-sdk-go/3@tmp/durable-cf16cba9/script.sh: 1: /w/workspace/app-functions-sdk-go/3@tmp/durable-cf16cba9/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 01:26:41 + echo total: 0.10999999940395355 [Pipeline] stash 01:26:41 Warning: overwriting stash ‘stack-cost’ 01:26:41 Stashed 1 file(s) [Pipeline] } 01:26:41 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-941-3-stack-cost] [Pipeline] // lock [Pipeline] } 01:26:41 $ docker stop --time=1 07ca84a842578bc1e7c5ec54866dc4c0c0f59e260697af1edfa84a719f21c891 01:26:43 $ docker rm -f 07ca84a842578bc1e7c5ec54866dc4c0c0f59e260697af1edfa84a719f21c891 [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 01:26:46 provisioning config files... 01:26:46 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-941@tmp/config4658895167718783013tmp [Pipeline] { [Pipeline] sh 01:26:47 + set +x 01:26:47 + curl -s https://codecov.io/bash 01:26:47 + bash -s -- 01:26:47 01:26:47 _____ _ 01:26:47 / ____| | | 01:26:47 | | ___ __| | ___ ___ _____ __ 01:26:47 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:26:47 | |___| (_) | (_| | __/ (_| (_) \ V / 01:26:47 \_____\___/ \__,_|\___|\___\___/ \_/ 01:26:47 Bash-1.0.6 01:26:47 01:26:47 01:26:47 ==> git version 2.24.4 found 01:26:47 ==> 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 01:26:47 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 01:26:47 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 01:26:47 ==> Jenkins CI detected. 01:26:47 current dir:  /w/workspace/ndry_app-functions-sdk-go_PR-941 01:26:47 project root: . 01:26:47 --> token set from env 01:26:47 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:26:47 ==> Running gcov in . (disable via -X gcov) 01:26:47 ==> Python coveragepy not found 01:26:47 ==> Searching for coverage reports in: 01:26:47 + . 01:26:47 -> Found 2 reports 01:26:47 ==> Detecting git/mercurial file structure 01:26:47 ==> Reading reports 01:26:47 + ./app-service-template/coverage.out bytes=1219 01:26:47 + ./coverage.out bytes=101686 01:26:47 ==> Appending adjustments 01:26:47 https://docs.codecov.io/docs/fixing-reports 01:26:47 + Found adjustments 01:26:47 ==> Gzipping contents 01:26:47 20K /tmp/codecov.O0hCXe.gz 01:26:47 ==> Uploading reports 01:26:47 url: https://codecov.io 01:26:47 query: branch=PR-941&commit=38ed098d78d4ee73855d1d0b0aac841c32073645&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-941%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=941&job=&cmd_args= 01:26:47 -> Pinging Codecov 01:26:47 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=17ebf437-e483-4174-b11b-49c3772ebb45&branch=PR-941&commit=38ed098d78d4ee73855d1d0b0aac841c32073645&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-941%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=941&job=&cmd_args= 01:26:48 -> Uploading to 01:26:48 https://storage.googleapis.com/codecov/v4/raw/2021-09-09/3D8B5DFFC46A037C893635FACE044666/38ed098d78d4ee73855d1d0b0aac841c32073645/4382d641-912c-4559-b46b-b9a587652011.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210909%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210909T012647Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=71fa802d96ebd6576359f31325edb66b078905fd72b412e521c95adf87a2d797 01:26:48 % Total % Received % Xferd Average Speed Time Time Time Current 01:26:48 Dload Upload Total Spent Left Speed 01:26:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17578 0 0 100 17578 0 46245 --:--:-- --:--:-- --:--:-- 46379 01:26:48 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/38ed098d78d4ee73855d1d0b0aac841c32073645 [Pipeline] } 01:26:48 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 01:26:50 + '[' -d /w/workspace/ndry_app-functions-sdk-go_PR-941/archives ']' [Pipeline] libraryResource [Pipeline] sh 01:26:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:26:51 ---> package-listing.sh 01:26:51 ++ facter osfamily 01:26:51 ++ tr '[:upper:]' '[:lower:]' 01:26:51 + OS_FAMILY=redhat 01:26:51 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-941 01:26:51 + START_PACKAGES=/tmp/packages_start.txt 01:26:51 + END_PACKAGES=/tmp/packages_end.txt 01:26:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:26:51 + PACKAGES=/tmp/packages_start.txt 01:26:51 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-941 ']' 01:26:51 + PACKAGES=/tmp/packages_end.txt 01:26:51 + case "${OS_FAMILY}" in 01:26:51 + rpm -qa 01:26:51 + sort 01:26:52 + '[' -f /tmp/packages_start.txt ']' 01:26:52 + '[' -f /tmp/packages_end.txt ']' 01:26:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:26:52 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-941 ']' 01:26:52 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-941/archives/ 01:26:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-941/archives/ [Pipeline] echo 01:26:52 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-941/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:26:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 01:26:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:26:53 01:26:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 01:26:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:26:53 latest: Pulling from edgex-lftools-log-publisher 01:26:53 b4d181a07f80: Pulling fs layer 01:26:53 a1111a8f2ec3: Pulling fs layer 01:26:53 ed53099fbce6: Pulling fs layer 01:26:53 dc539afda2c1: Pulling fs layer 01:26:53 77bc0d833cb6: Pulling fs layer 01:26:53 9065ff56babe: Pulling fs layer 01:26:53 d287ab97295c: Pulling fs layer 01:26:53 dc539afda2c1: Waiting 01:26:53 77bc0d833cb6: Waiting 01:26:53 9065ff56babe: Waiting 01:26:53 d287ab97295c: Waiting 01:26:53 a1111a8f2ec3: Verifying Checksum 01:26:53 a1111a8f2ec3: Download complete 01:26:53 dc539afda2c1: Verifying Checksum 01:26:53 dc539afda2c1: Download complete 01:26:53 77bc0d833cb6: Verifying Checksum 01:26:53 77bc0d833cb6: Download complete 01:26:53 9065ff56babe: Verifying Checksum 01:26:53 9065ff56babe: Download complete 01:26:53 ed53099fbce6: Verifying Checksum 01:26:53 ed53099fbce6: Download complete 01:26:54 b4d181a07f80: Verifying Checksum 01:26:54 b4d181a07f80: Download complete 01:26:55 b4d181a07f80: Pull complete 01:26:55 a1111a8f2ec3: Pull complete 01:26:56 ed53099fbce6: Pull complete 01:26:56 dc539afda2c1: Pull complete 01:26:56 77bc0d833cb6: Pull complete 01:26:56 9065ff56babe: Pull complete 01:26:58 d287ab97295c: Verifying Checksum 01:26:58 d287ab97295c: Download complete 01:27:02 d287ab97295c: Pull complete 01:27:02 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 01:27:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:27:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 01:27:02 prd-centos7-docker-4c-2g-1629 does not seem to be running inside a container 01:27:02 $ 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-941/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-941 -v /w/workspace/ndry_app-functions-sdk-go_PR-941:/w/workspace/ndry_app-functions-sdk-go_PR-941:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-941@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-941@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:27:05 $ docker top ad9f42d0c9cd153df7bb2434367e468cf93572534438da68501ffe037b8491db -eo pid,comm [Pipeline] { [Pipeline] sh 01:27:05 + touch /tmp/pre-build-complete [Pipeline] sh 01:27:05 + mkdir -p /var/log/sysstat [Pipeline] sh 01:27:06 + ls /var/log/sa-host 01:27:06 + sadf -c /var/log/sa-host/sa05 01:27:06 file_magic: OK 01:27:06 HZ: Using current value: 100 01:27:06 file_header: OK 01:27:06 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 01:27:06 Statistics: 01:27:06 Hnuu...uuuununununu...Hnuu...uuuununununu... 01:27:06 File successfully converted to sysstat format version 12.0.3 01:27:06 + sadf -c /var/log/sa-host/sa09 01:27:06 file_magic: OK 01:27:06 HZ: Using current value: 100 01:27:06 file_header: OK 01:27:06 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 01:27:06 Statistics: 01:27:06 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 01:27:06 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:27:08 provisioning config files... 01:27:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-941@tmp/config7038578129974677021tmp [Pipeline] { [Pipeline] echo 01:27:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:27:09 ---> create-netrc.sh [Pipeline] } 01:27:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:27:09 ---> python-tools-install.sh [Pipeline] echo 01:27:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:27:10 ---> sudo-logs.sh 01:27:10 Archiving 'sudo' log.. 01:27:10 sudo: unable to resolve host prd-centos7-docker-4c-2g-1629.vexxhost.local: Name or service not known 01:27:10 sudo: unable to resolve host prd-centos7-docker-4c-2g-1629.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 01:27:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:27:10 ---> job-cost.sh 01:27:10 lf-activate-venv: SKIPPING 01:27:10 DEBUG: total: 0.10999999940395355 01:27:10 INFO: Retrieving Stack Cost... 01:27:11 INFO: Retrieving Pricing Info for: v3-standard-2 01:27:11 INFO: Archiving Costs [Pipeline] echo 01:27:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:27:11 ---> logs-deploy.sh 01:27:11 lf-activate-venv: SKIPPING 01:27:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-941/3 01:27:11 INFO: archiving workspace using pattern(s): 01:27:12 Archives upload complete. 01:27:12 INFO: archiving logs to Nexus 01:27:13 ---> uname -a: 01:27:13 Linux prd-centos7-docker-4c-2g-1629.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 01:27:13 01:27:13 01:27:13 ---> lscpu: 01:27:13 Architecture: x86_64 01:27:13 CPU op-mode(s): 32-bit, 64-bit 01:27:13 Byte Order: Little Endian 01:27:13 Address sizes: 40 bits physical, 48 bits virtual 01:27:13 CPU(s): 2 01:27:13 On-line CPU(s) list: 0,1 01:27:13 Thread(s) per core: 1 01:27:13 Core(s) per socket: 1 01:27:13 Socket(s): 2 01:27:13 NUMA node(s): 1 01:27:13 Vendor ID: AuthenticAMD 01:27:13 CPU family: 23 01:27:13 Model: 49 01:27:13 Model name: AMD EPYC-Rome Processor 01:27:13 Stepping: 0 01:27:13 CPU MHz: 2799.998 01:27:13 BogoMIPS: 5599.99 01:27:13 Virtualization: AMD-V 01:27:13 Hypervisor vendor: KVM 01:27:13 Virtualization type: full 01:27:13 L1d cache: 32K 01:27:13 L1i cache: 32K 01:27:13 L2 cache: 512K 01:27:13 L3 cache: 16384K 01:27:13 NUMA node0 CPU(s): 0,1 01:27:13 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 01:27:13 01:27:13 01:27:13 ---> nproc: 01:27:13 2 01:27:13 01:27:13 01:27:13 ---> df -h: 01:27:13 Filesystem Size Used Avail Use% Mounted on 01:27:13 overlay 40G 7.7G 33G 20% / 01:27:13 tmpfs 64M 0 64M 0% /dev 01:27:13 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 01:27:13 shm 64M 0 64M 0% /dev/shm 01:27:13 /dev/vda1 40G 7.7G 33G 20% /facter-os 01:27:13 01:27:13 01:27:13 ---> sar -b -r -n DEV: 01:27:13 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 09/09/21 _x86_64_ (2 CPU) 01:27:13 01:27:13 01:16:56 LINUX RESTART (2 CPU) 01:27:13 01:27:13 01:18:01 tps rtps wtps bread/s bwrtn/s 01:27:13 01:19:01 1.65 0.00 1.65 0.00 33.68 01:27:13 01:20:01 0.38 0.00 0.38 0.00 5.98 01:27:13 01:21:01 0.40 0.00 0.40 0.00 5.73 01:27:13 01:22:01 0.17 0.00 0.17 0.00 1.92 01:27:13 01:23:01 0.37 0.00 0.37 0.00 5.16 01:27:13 01:24:01 0.25 0.00 0.25 0.00 2.60 01:27:13 01:25:01 0.18 0.00 0.18 0.00 2.03 01:27:13 01:26:01 0.28 0.00 0.28 0.00 3.50 01:27:13 01:27:01 9.47 0.15 9.32 13.98 493.37 01:27:13 Average: 1.46 0.02 1.45 1.55 61.58 01:27:13 01:27:13 01:18:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 01:27:13 01:19:01 5450388 0 786868 9.82 2620 1769056 1205460 13.31 581904 1578032 20 01:27:13 01:20:01 5450548 0 786700 9.82 2620 1769064 1205460 13.31 582352 1577536 8 01:27:13 01:21:01 5449096 0 788148 9.84 2620 1769068 1205676 13.31 583688 1577536 8 01:27:13 01:22:01 5448892 0 788344 9.84 2620 1769076 1205604 13.31 583708 1578368 16 01:27:13 01:23:01 5445812 0 791420 9.88 2620 1769080 1205616 13.31 582404 1582360 8 01:27:13 01:24:01 5445072 0 792156 9.89 2620 1769084 1205460 13.31 582668 1582364 8 01:27:13 01:25:01 5436768 0 800456 9.99 2620 1769088 1205460 13.31 591184 1582360 16 01:27:13 01:26:01 5433444 0 803776 10.04 2620 1769092 1205460 13.31 594416 1582360 8 01:27:13 01:27:01 4685800 0 975904 12.19 2620 2344608 1604724 17.72 922692 1917024 574552 01:27:13 Average: 5360647 0 812641 10.15 2620 1833024 1249880 13.80 622780 1617549 63849 01:27:13 01:27:13 01:18:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 01:27:13 01:19:01 eth0 0.10 0.10 0.01 0.03 0.00 0.00 0.00 0.00 01:27:13 01:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:27:13 01:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:27:13 01:20:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 01:27:13 01:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:27:13 01:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:27:13 01:21:01 eth0 4.00 1.65 3.04 0.11 0.00 0.00 0.00 0.00 01:27:13 01:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:27:13 01:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:27:13 01:22:01 eth0 1.12 0.33 0.34 0.20 0.00 0.00 0.00 0.00 01:27:13 01:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:27:13 01:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:27:13 01:23:01 eth0 0.77 0.47 0.41 0.27 0.00 0.00 0.00 0.00 01:27:13 01:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:27:13 01:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:27:13 01:24:01 eth0 0.08 0.07 0.01 0.01 0.00 0.00 0.00 0.00 01:27:13 01:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:27:13 01:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:27:13 01:25:01 eth0 0.03 0.02 0.00 0.00 0.00 0.00 0.00 0.00 01:27:13 01:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:27:13 01:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:27:13 01:26:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 01:27:13 01:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:27:13 01:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:27:13 01:27:01 eth0 386.10 251.71 2615.28 23.61 0.00 0.00 0.00 0.00 01:27:13 01:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:27:13 01:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:27:13 Average: eth0 43.62 28.29 291.17 2.69 0.00 0.00 0.00 0.00 01:27:13 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:27:13 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:27:13 01:27:13 01:27:13 ---> sar -P ALL: 01:27:13 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 09/09/21 _x86_64_ (2 CPU) 01:27:13 01:27:13 01:16:56 LINUX RESTART (2 CPU) 01:27:13 01:27:13 01:18:01 CPU %user %nice %system %iowait %steal %idle 01:27:13 01:19:01 all 0.24 0.00 0.08 0.00 0.02 99.67 01:27:13 01:19:01 0 0.13 0.00 0.08 0.00 0.02 99.77 01:27:13 01:19:01 1 0.35 0.00 0.07 0.00 0.02 99.57 01:27:13 01:20:01 all 0.32 0.00 0.19 0.00 0.01 99.48 01:27:13 01:20:01 0 0.10 0.00 0.18 0.00 0.00 99.72 01:27:13 01:20:01 1 0.53 0.00 0.20 0.00 0.02 99.25 01:27:13 01:21:01 all 0.14 0.00 0.07 0.00 0.03 99.77 01:27:13 01:21:01 0 0.08 0.00 0.08 0.00 0.03 99.80 01:27:13 01:21:01 1 0.20 0.00 0.05 0.00 0.02 99.73 01:27:13 01:22:01 all 0.26 0.00 0.06 0.00 0.01 99.67 01:27:13 01:22:01 0 0.15 0.00 0.07 0.00 0.02 99.77 01:27:13 01:22:01 1 0.37 0.00 0.05 0.00 0.00 99.58 01:27:13 01:23:01 all 0.23 0.00 0.07 0.00 0.02 99.69 01:27:13 01:23:01 0 0.38 0.00 0.08 0.00 0.02 99.52 01:27:13 01:23:01 1 0.07 0.00 0.05 0.00 0.02 99.87 01:27:13 01:24:01 all 0.18 0.00 0.05 0.00 0.02 99.76 01:27:13 01:24:01 0 0.32 0.00 0.07 0.00 0.02 99.60 01:27:13 01:24:01 1 0.03 0.00 0.03 0.00 0.02 99.92 01:27:13 01:25:01 all 0.22 0.00 0.04 0.00 0.01 99.73 01:27:13 01:25:01 0 0.37 0.00 0.05 0.00 0.02 99.57 01:27:13 01:25:01 1 0.07 0.00 0.03 0.00 0.00 99.90 01:27:13 01:26:01 all 0.17 0.00 0.05 0.00 0.02 99.77 01:27:13 01:26:01 0 0.30 0.00 0.05 0.00 0.00 99.65 01:27:13 01:26:01 1 0.03 0.00 0.05 0.00 0.03 99.88 01:27:13 01:27:01 all 7.46 0.00 2.72 0.03 0.05 89.74 01:27:13 01:27:01 0 8.16 0.00 2.96 0.03 0.05 88.79 01:27:13 01:27:01 1 6.76 0.00 2.47 0.03 0.05 90.68 01:27:13 Average: all 1.01 0.00 0.36 0.00 0.02 98.60 01:27:13 Average: 0 1.10 0.00 0.40 0.00 0.02 98.48 01:27:13 Average: 1 0.93 0.00 0.33 0.00 0.02 98.72 01:27:13 01:27:13 01:27:13