Pull request #1047 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 FelixTing for edgexfoundry/app-functions-sdk-go Loading trusted files from base branch main at 18aea919e856cf66c43bd9a5ad63b0e8025cbed2 rather than 0cbca7626975c0e4f61f1b2dba7a3bf4bd268640 Obtained Jenkinsfile from 18aea919e856cf66c43bd9a5ad63b0e8025cbed2 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-ssh16734867486750111236.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-ssh12350368045874667702.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 efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-1047/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-1047/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh13157873802757137372.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > 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-ssh1686571871650832609.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1047/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-1047/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12002870579571684605.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-6181 in /w/workspace/dry_app-functions-sdk-go_PR-1047 [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/dry_app-functions-sdk-go_PR-1047 # 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/dry_app-functions-sdk-go_PR-1047@tmp/jenkins-gitclient-ssh4271596075305588892.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/dry_app-functions-sdk-go_PR-1047@tmp/jenkins-gitclient-ssh21435544581438368.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/1047/head:refs/remotes/origin/PR-1047 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 18aea919e856cf66c43bd9a5ad63b0e8025cbed2 into PR head commit 0cbca7626975c0e4f61f1b2dba7a3bf4bd268640 Merge succeeded, producing 0cbca7626975c0e4f61f1b2dba7a3bf4bd268640 Checking out Revision 0cbca7626975c0e4f61f1b2dba7a3bf4bd268640 (PR-1047) > git config core.sparsecheckout # timeout=10 > git checkout -f 0cbca7626975c0e4f61f1b2dba7a3bf4bd268640 # 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/dry_app-functions-sdk-go_PR-1047@tmp/jenkins-gitclient-ssh638692382483363137.key > git merge 18aea919e856cf66c43bd9a5ad63b0e8025cbed2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0cbca7626975c0e4f61f1b2dba7a3bf4bd268640 # timeout=10 Commit message: "fix: use a simple channel receive instead of `select` with a single case" > git rev-list --no-walk d11a6c155ffa96748f0b856e045fde6ba796ed55 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:01:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:01:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:01:33 ========================================================= 16:01:33 EdgeX Global Pipelines Version Info 16:01:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:01:34 ------------------- 16:01:34 stable info: 16:01:34 ------------------- 16:01:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:01:34 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 16:01:34 Message: update stable to v1.0.220 16:01:35 ------------------- 16:01:35 experimental info: 16:01:35 ------------------- 16:01:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:01:35 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 16:01:35 Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:01:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 16:01:35 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 16:01:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:01:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:01:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:01:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 16:01:35 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:01:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:01:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:01:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:01:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:01:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 16:01:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:01:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:01:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 16:01:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 16:01:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:01:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:01:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:01:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:01:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:01:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 16:01:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:01:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:01:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 16:01:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:01:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1047 [Pipeline] echo 16:01:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1047 [Pipeline] echo 16:01:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1047 [Pipeline] echo 16:01:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0cbca7626975c0e4f61f1b2dba7a3bf4bd268640 [Pipeline] echo 16:01:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0cbca76 [Pipeline] echo 16:01:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:01:36 + git rev-list -1 --merges 0cbca7626975c0e4f61f1b2dba7a3bf4bd268640~1..0cbca7626975c0e4f61f1b2dba7a3bf4bd268640 [Pipeline] echo 16:01:36 -----------> git rev-list -1 --merges 0cbca7626975c0e4f61f1b2dba7a3bf4bd268640~1..0cbca7626975c0e4f61f1b2dba7a3bf4bd268640 0cbca7626975c0e4f61f1b2dba7a3bf4bd268640 [false] [Pipeline] sh 16:01:36 + git log --format=format:%s -1 0cbca7626975c0e4f61f1b2dba7a3bf4bd268640 [Pipeline] echo 16:01:36 ========================================================= 16:01:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:01:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:01:36 + git log --format=format:%s -1 0cbca7626975c0e4f61f1b2dba7a3bf4bd268640 [Pipeline] echo 16:01:36 [semverPrep] GIT_COMMIT: 0cbca7626975c0e4f61f1b2dba7a3bf4bd268640, Commit Message: fix: use a simple channel receive instead of `select` with a single case [Pipeline] echo 16:01:36 [semverPrep] This is not a build commit. [Pipeline] sh 16:01:37 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 16:01:37 + grep -v github /etc/ssh/ssh_known_hosts 16:01:37 + '[' -e /tmp/ssh_known_hosts ']' 16:01:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:01:37 + sudo tee -a /etc/ssh/ssh_known_hosts 16:01:37 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 16:01:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 16:01:37 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:01:37 16:01:37 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:01:37 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:01:37 latest: Pulling from edgex-devops/git-semver 16:01:37 a0d0a0d46f8b: Pulling fs layer 16:01:37 3e5f54012d9b: Pulling fs layer 16:01:37 4c7163046ea9: Pulling fs layer 16:01:37 0c2d73faf560: Pulling fs layer 16:01:37 0c2d73faf560: Waiting 16:01:37 3e5f54012d9b: Verifying Checksum 16:01:37 3e5f54012d9b: Download complete 16:01:38 a0d0a0d46f8b: Verifying Checksum 16:01:38 a0d0a0d46f8b: Download complete 16:01:38 0c2d73faf560: Verifying Checksum 16:01:38 0c2d73faf560: Download complete 16:01:38 4c7163046ea9: Verifying Checksum 16:01:38 4c7163046ea9: Download complete 16:01:38 a0d0a0d46f8b: Pull complete 16:01:38 3e5f54012d9b: Pull complete 16:01:38 4c7163046ea9: Pull complete 16:01:38 0c2d73faf560: Pull complete 16:01:38 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 16:01:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:01:38 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:01:38 prd-centos7-docker-4c-2g-6181 does not seem to be running inside a container 16:01:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-functions-sdk-go_PR-1047 -v /w/workspace/dry_app-functions-sdk-go_PR-1047:/w/workspace/dry_app-functions-sdk-go_PR-1047:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1047@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1047@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:01:39 $ docker top 40793e5b3379e3ffdd6b2686ab7a08a7271329e7214ae6834319971878122a8f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:01:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:01:39 [ssh-agent] Looking for ssh-agent implementation... 16:01:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:01:40 $ docker exec 40793e5b3379e3ffdd6b2686ab7a08a7271329e7214ae6834319971878122a8f ssh-agent 16:01:40 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGGOAgF/agent.15 16:01:40 SSH_AGENT_PID=21 16:01:40 Running ssh-add (command line suppressed) 16:01:40 Identity added: /w/workspace/dry_app-functions-sdk-go_PR-1047@tmp/private_key_597929707568179195.key (/w/workspace/dry_app-functions-sdk-go_PR-1047@tmp/private_key_597929707568179195.key) 16:01:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:01:40 + git tag --points-at HEAD [Pipeline] } 16:01:40 $ docker exec --env ******** --env ******** 40793e5b3379e3ffdd6b2686ab7a08a7271329e7214ae6834319971878122a8f ssh-agent -k 16:01:40 unset SSH_AUTH_SOCK; 16:01:40 unset SSH_AGENT_PID; 16:01:40 echo Agent pid 21 killed; 16:01:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:01:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:01:40 [ssh-agent] Looking for ssh-agent implementation... 16:01:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:01:40 $ docker exec 40793e5b3379e3ffdd6b2686ab7a08a7271329e7214ae6834319971878122a8f ssh-agent 16:01:40 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPnekPc/agent.56 16:01:40 SSH_AGENT_PID=63 16:01:40 Running ssh-add (command line suppressed) 16:01:41 Identity added: /w/workspace/dry_app-functions-sdk-go_PR-1047@tmp/private_key_5361116652126861063.key (/w/workspace/dry_app-functions-sdk-go_PR-1047@tmp/private_key_5361116652126861063.key) 16:01:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:01:41 + git semver init 16:01:41 # -> Open(): unable to determine branch for HEAD 16:01:41 # $GIT_DIR = /w/workspace/dry_app-functions-sdk-go_PR-1047/.git 16:01:41 # $GIT_WORK_TREE = /w/workspace/dry_app-functions-sdk-go_PR-1047 16:01:41 # $SEMVER_REMOTE_NAME = origin 16:01:41 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:01:41 # $SEMVER_USER_NAME = edgex-jenkins 16:01:41 # $SEMVER_BRANCH = PR-1047 16:01:41 # $SEMVER_TEMP = /tmp/semver-096579064 16:01:41 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 16:01:43 # '/tmp/semver-096579064' -> '/w/workspace/dry_app-functions-sdk-go_PR-1047/.semver' 16:01:43 # -> Force: false 16:01:43 # $SEMVER_DIR = /w/workspace/dry_app-functions-sdk-go_PR-1047/.semver [Pipeline] } 16:01:43 $ docker exec --env ******** --env ******** 40793e5b3379e3ffdd6b2686ab7a08a7271329e7214ae6834319971878122a8f ssh-agent -k 16:01:44 unset SSH_AUTH_SOCK; 16:01:44 unset SSH_AGENT_PID; 16:01:44 echo Agent pid 63 killed; 16:01:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:01:44 + git semver [Pipeline] } 16:01:44 $ docker stop --time=1 40793e5b3379e3ffdd6b2686ab7a08a7271329e7214ae6834319971878122a8f 16:01:45 $ docker rm -f 40793e5b3379e3ffdd6b2686ab7a08a7271329e7214ae6834319971878122a8f [Pipeline] // withDockerContainer [Pipeline] sh 16:01:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:01:46 Stashed 1 file(s) [Pipeline] echo 16:01:46 [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] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 16:01:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:01:46 ========================================================= 16:01:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 16:01:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 16:01:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 16:01:46 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 16:01:46 59bf1c3509f3: Pulling fs layer 16:01:46 666ba61612fd: Pulling fs layer 16:01:46 8ed8ca486205: Pulling fs layer 16:01:46 4fe6c5a15a65: Pulling fs layer 16:01:46 22a0e8bec74d: Pulling fs layer 16:01:46 640e595b4fbd: Pulling fs layer 16:01:46 763cafe07f6e: Pulling fs layer 16:01:46 0c0b528cf693: Pulling fs layer 16:01:46 10935f4eaf8b: Pulling fs layer 16:01:46 4fe6c5a15a65: Waiting 16:01:46 22a0e8bec74d: Waiting 16:01:46 640e595b4fbd: Waiting 16:01:46 763cafe07f6e: Waiting 16:01:46 0c0b528cf693: Waiting 16:01:46 10935f4eaf8b: Waiting 16:01:46 8ed8ca486205: Verifying Checksum 16:01:46 8ed8ca486205: Download complete 16:01:46 666ba61612fd: Verifying Checksum 16:01:46 666ba61612fd: Download complete 16:01:46 22a0e8bec74d: Verifying Checksum 16:01:46 22a0e8bec74d: Download complete 16:01:46 640e595b4fbd: Verifying Checksum 16:01:46 640e595b4fbd: Download complete 16:01:46 763cafe07f6e: Verifying Checksum 16:01:46 763cafe07f6e: Download complete 16:01:46 59bf1c3509f3: Verifying Checksum 16:01:46 59bf1c3509f3: Download complete 16:01:47 0c0b528cf693: Verifying Checksum 16:01:47 0c0b528cf693: Download complete 16:01:47 59bf1c3509f3: Pull complete 16:01:47 4fe6c5a15a65: Verifying Checksum 16:01:47 4fe6c5a15a65: Download complete 16:01:47 10935f4eaf8b: Verifying Checksum 16:01:47 10935f4eaf8b: Download complete 16:01:47 666ba61612fd: Pull complete 16:01:47 8ed8ca486205: Pull complete 16:01:51 4fe6c5a15a65: Pull complete 16:01:51 22a0e8bec74d: Pull complete 16:01:51 640e595b4fbd: Pull complete 16:01:51 763cafe07f6e: Pull complete 16:01:51 0c0b528cf693: Pull complete 16:01:54 10935f4eaf8b: Pull complete 16:01:54 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 16:01:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 16:01:54 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] sh 16:01:54 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 16:01:55 + docker inspect -f . ci-base-image-x86_64 16:01:55 . [Pipeline] withDockerContainer 16:01:55 prd-centos7-docker-4c-2g-6181 does not seem to be running inside a container 16:01:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-functions-sdk-go_PR-1047 -v /w/workspace/dry_app-functions-sdk-go_PR-1047:/w/workspace/dry_app-functions-sdk-go_PR-1047:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1047@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1047@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:02:00 $ docker top dfef9b2eeaf2f159f903c9e4177acb36a7421d498ac78df61334e17b5b993dd9 -eo pid,comm [Pipeline] { [Pipeline] sh 16:02:00 + go version 16:02:00 go version go1.17.6 linux/amd64 [Pipeline] } 16:02:00 $ docker stop --time=1 dfef9b2eeaf2f159f903c9e4177acb36a7421d498ac78df61334e17b5b993dd9 16:02:01 Still waiting to schedule task 16:02:01 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 16:02:01 $ docker rm -f dfef9b2eeaf2f159f903c9e4177acb36a7421d498ac78df61334e17b5b993dd9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:02:02 + docker inspect -f . ci-base-image-x86_64 16:02:02 . [Pipeline] withDockerContainer 16:02:02 prd-centos7-docker-4c-2g-6181 does not seem to be running inside a container 16:02:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-functions-sdk-go_PR-1047 -v /w/workspace/dry_app-functions-sdk-go_PR-1047:/w/workspace/dry_app-functions-sdk-go_PR-1047:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1047@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1047@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:02:02 $ docker top d545d1a85e27e610e9bcd4d841ef24022e86b460ffc99f65e62e9a97e636964b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:02:02 + make test 16:02:02 make -C ./app-service-template build 16:02:02 make[1]: Entering directory '/w/workspace/dry_app-functions-sdk-go_PR-1047/app-service-template' 16:02:02 go mod tidy 16:02:02 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0-dev.9 16:02:03 go: downloading github.com/google/uuid v1.3.0 16:02:03 go: downloading github.com/stretchr/testify v1.7.0 16:02:03 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.1-dev.28 16:02:03 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0-dev.7 16:02:03 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 16:02:03 go: downloading github.com/go-playground/validator/v10 v10.10.0 16:02:03 go: downloading github.com/go-kit/log v0.2.0 16:02:03 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 16:02:03 go: downloading github.com/davecgh/go-spew v1.1.1 16:02:03 go: downloading github.com/pmezard/go-difflib v1.0.0 16:02:03 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 16:02:03 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 16:02:03 go: downloading github.com/stretchr/objx v0.1.1 16:02:03 go: downloading github.com/gorilla/mux v1.8.0 16:02:03 go: downloading github.com/hashicorp/go-multierror v1.1.1 16:02:03 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 16:02:03 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.0 16:02:04 go: downloading github.com/go-playground/universal-translator v0.18.0 16:02:04 go: downloading github.com/leodido/go-urn v1.2.1 16:02:04 go: downloading golang.org/x/crypto v0.0.0-20210915214749-c084706c2272 16:02:04 go: downloading golang.org/x/text v0.3.7 16:02:04 go: downloading github.com/go-playground/locales v0.14.0 16:02:07 go: downloading github.com/go-playground/assert/v2 v2.0.1 16:02:07 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 16:02:07 go: downloading github.com/pelletier/go-toml v1.9.4 16:02:07 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 16:02:07 go: downloading github.com/go-logfmt/logfmt v0.5.1 16:02:07 go: downloading github.com/mitchellh/copystructure v1.0.0 16:02:07 go: downloading github.com/hashicorp/consul/api v1.9.1 16:02:07 go: downloading github.com/hashicorp/errwrap v1.0.0 16:02:07 go: downloading github.com/gorilla/websocket v1.4.2 16:02:07 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 16:02:07 go: downloading golang.org/x/sys v0.0.0-20210917161153-d61c044b1678 16:02:07 go: downloading github.com/kr/pretty v0.3.0 16:02:07 go: downloading github.com/mitchellh/reflectwalk v1.0.0 16:02:07 go: downloading github.com/x448/float16 v0.8.4 16:02:07 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 16:02:07 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 16:02:07 go: downloading github.com/hashicorp/go-hclog v0.12.0 16:02:07 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 16:02:07 go: downloading github.com/hashicorp/serf v0.9.5 16:02:07 go: downloading github.com/mitchellh/mapstructure v1.1.2 16:02:07 go: downloading github.com/hashicorp/consul/sdk v0.8.0 16:02:07 go: downloading github.com/hashicorp/go-uuid v1.0.1 16:02:08 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 16:02:08 go: downloading github.com/kr/text v0.2.0 16:02:08 go: downloading github.com/rogpeppe/go-internal v1.8.0 16:02:08 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 16:02:08 go: downloading github.com/go-redis/redis/v7 v7.3.0 16:02:08 go: downloading github.com/pebbe/zmq4 v1.2.7 16:02:08 go: downloading github.com/mitchellh/go-homedir v1.1.0 16:02:08 go: downloading github.com/fatih/color v1.9.0 16:02:08 go: downloading github.com/mattn/go-colorable v0.1.6 16:02:08 go: downloading github.com/mattn/go-isatty v0.0.12 16:02:08 go: downloading github.com/pkg/errors v0.9.1 16:02:08 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 16:02:08 go: downloading github.com/hashicorp/go-msgpack v0.5.3 16:02:08 go: downloading github.com/hashicorp/memberlist v0.2.2 16:02:08 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 16:02:08 go: downloading github.com/onsi/ginkgo v1.10.1 16:02:08 go: downloading github.com/onsi/gomega v1.7.0 16:02:08 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 16:02:08 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 16:02:08 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 16:02:08 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 16:02:08 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 16:02:08 go: downloading github.com/miekg/dns v1.1.26 16:02:08 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 16:02:08 go: downloading github.com/hashicorp/golang-lru v0.5.0 16:02:08 go: downloading github.com/hpcloud/tail v1.0.0 16:02:08 go: downloading gopkg.in/yaml.v2 v2.3.0 16:02:08 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 16:02:08 go: downloading gopkg.in/fsnotify.v1 v1.4.7 16:02:08 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0-dev.11 16:02:08 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0-dev.8 16:02:08 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.1.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service 16:02:21 make[1]: Leaving directory '/w/workspace/dry_app-functions-sdk-go_PR-1047/app-service-template' 16:02:21 make -C ./app-service-template test 16:02:21 make[1]: Entering directory '/w/workspace/dry_app-functions-sdk-go_PR-1047/app-service-template' 16:02:21 CGO_ENABLED=1 go test -race -coverprofile=coverage.out ./... 16:02:53 ok new-app-service 0.046s coverage: 48.1% of statements 16:02:53 ? new-app-service/config [no test files] 16:02:53 ok new-app-service/functions 0.043s 16:02:53 CGO_ENABLED=1 go vet ./... 16:02:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:02:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:02:57 ./bin/test-attribution-txt.sh 16:02:57 make[1]: Leaving directory '/w/workspace/dry_app-functions-sdk-go_PR-1047/app-service-template' 16:02:57 CGO_ENABLED=1 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 16:02:57 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 16:02:59 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.069s coverage: 64.9% of statements 16:02:59 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.077s coverage: 93.7% of statements 16:02:59 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 16:03:00 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.062s coverage: 48.1% of statements 16:03:00 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 16:03:00 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.059s 16:03:00 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.043s coverage: 100.0% of statements 16:03:01 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.104s coverage: 78.3% of statements 16:03:01 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 16:03:01 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 16:03:01 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 16:03:01 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 16:03:01 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 16:03:01 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 16:03:01 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.046s coverage: 97.3% of statements 16:03:01 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 16:03:01 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] 16:03:01 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.049s coverage: 91.8% of statements 16:03:01 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] 16:03:02 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 0.694s coverage: 80.4% of statements 16:03:02 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] 16:03:02 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] 16:03:02 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.053s coverage: 33.3% of statements 16:03:02 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] 16:03:02 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.044s coverage: 14.3% of statements 16:03:03 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.044s coverage: 27.3% of statements 16:03:03 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 16:03:03 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 16:03:03 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.053s coverage: 36.0% of statements 16:03:29 Running on prd-ubuntu18.04-docker-arm64-4c-16g-6182 in /w/workspace/dry_app-functions-sdk-go_PR-1047 [Pipeline] { [Pipeline] ws 16:03:29 Running in /w/workspace/app-functions-sdk-go/4 [Pipeline] { [Pipeline] checkout 16:03:29 The recommended git tool is: git 16:03:30 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.134s coverage: 78.2% of statements 16:03:30 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.048s coverage: 94.4% of statements 16:03:30 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:03:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:03:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:03:34 using credential edgex-jenkins-ssh 16:03:34 Cloning the remote Git repository 16:03:34 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 16:03:34 > git init /w/workspace/app-functions-sdk-go/4 # timeout=10 16:03:34 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 16:03:34 > git --version # timeout=10 16:03:34 > git --version # 'git version 2.17.1' 16:03:34 using GIT_SSH to set credentials SSH Credentials for GitHub 16:03:34 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:03:38 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 16:03:39 Merging remotes/origin/main commit 18aea919e856cf66c43bd9a5ad63b0e8025cbed2 into PR head commit 0cbca7626975c0e4f61f1b2dba7a3bf4bd268640 16:03:39 Merge succeeded, producing 0cbca7626975c0e4f61f1b2dba7a3bf4bd268640 16:03:39 Checking out Revision 0cbca7626975c0e4f61f1b2dba7a3bf4bd268640 (PR-1047) 16:03:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:03:38 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 16:03:38 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 16:03:38 using GIT_SSH to set credentials SSH Credentials for GitHub 16:03:38 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/1047/head:refs/remotes/origin/PR-1047 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:03:39 > git config core.sparsecheckout # timeout=10 16:03:39 > git checkout -f 0cbca7626975c0e4f61f1b2dba7a3bf4bd268640 # timeout=10 16:03:39 > git remote # timeout=10 16:03:39 > git config --get remote.origin.url # timeout=10 16:03:39 using GIT_SSH to set credentials SSH Credentials for GitHub 16:03:39 > git merge 18aea919e856cf66c43bd9a5ad63b0e8025cbed2 # timeout=10 16:03:39 > git rev-parse HEAD^{commit} # timeout=10 16:03:39 > git config core.sparsecheckout # timeout=10 16:03:39 > git checkout -f 0cbca7626975c0e4f61f1b2dba7a3bf4bd268640 # timeout=10 16:03:43 Commit message: "fix: use a simple channel receive instead of `select` with a single case" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:03:44 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:03:44 % Total % Received % Xferd Average Speed Time Time Time Current 16:03:44 Dload Upload Total Spent Left Speed 16:03:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 43222 0 --:--:-- --:--:-- --:--:-- 43380 [Pipeline] sh 16:03:45 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:03:45 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:03:45 + sudo tee /etc/docker/daemon.new 16:03:45 { 16:03:45 "registry-mirrors": [ 16:03:45 "https://nexus3.edgexfoundry.org:10001" 16:03:45 ], 16:03:45 "bip": "10.250.0.254/24", 16:03:45 "hosts": [ 16:03:45 "tcp://0.0.0.0:5555", 16:03:45 "unix:///var/run/docker.sock" 16:03:45 ], 16:03:45 "mtu": 1458, 16:03:45 "selinux-enabled": true, 16:03:45 "seccomp-profile": "/etc/docker/seccomp.json" 16:03:45 } [Pipeline] sh 16:03:45 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [Pipeline] echo 16:03:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:03:46 $ docker stop --time=1 d545d1a85e27e610e9bcd4d841ef24022e86b460ffc99f65e62e9a97e636964b 16:03:46 + sudo service docker restart 16:03:47 $ docker rm -f d545d1a85e27e610e9bcd4d841ef24022e86b460ffc99f65e62e9a97e636964b [Pipeline] // withDockerContainer [Pipeline] sh 16:03:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:03:48 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 16:03:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:03:48 16:03:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 16:03:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:03:49 latest: Pulling from edgex-lftools-log-publisher 16:03:49 5eb5b503b376: Pulling fs layer 16:03:49 5c69ac0246d0: Pulling fs layer 16:03:49 ec43610c2a17: Pulling fs layer 16:03:49 3a2ae6a8a46f: Pulling fs layer 16:03:49 33b1e0a273af: Pulling fs layer 16:03:49 5d3b04190fa2: Pulling fs layer 16:03:49 2f39f015ded8: Pulling fs layer 16:03:49 5d3b04190fa2: Waiting 16:03:49 2f39f015ded8: Waiting 16:03:49 3a2ae6a8a46f: Waiting 16:03:49 33b1e0a273af: Waiting 16:03:49 5c69ac0246d0: Verifying Checksum 16:03:49 5c69ac0246d0: Download complete 16:03:49 3a2ae6a8a46f: Verifying Checksum 16:03:49 3a2ae6a8a46f: Download complete 16:03:49 33b1e0a273af: Verifying Checksum 16:03:49 33b1e0a273af: Download complete 16:03:49 ec43610c2a17: Verifying Checksum 16:03:49 ec43610c2a17: Download complete 16:03:49 5d3b04190fa2: Verifying Checksum 16:03:49 5d3b04190fa2: Download complete 16:03:49 5eb5b503b376: Verifying Checksum 16:03:49 5eb5b503b376: Download complete 16:03:49 2f39f015ded8: Verifying Checksum 16:03:49 2f39f015ded8: Download complete 16:03:50 5eb5b503b376: Pull complete 16:03:50 5c69ac0246d0: Pull complete 16:03:51 ec43610c2a17: Pull complete 16:03:51 3a2ae6a8a46f: Pull complete 16:03:51 33b1e0a273af: Pull complete 16:03:51 5d3b04190fa2: Pull complete 16:03:57 2f39f015ded8: Pull complete 16:03:57 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:03:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:03:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 16:03:57 prd-centos7-docker-4c-2g-6181 does not seem to be running inside a container 16:03:57 $ 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/dry_app-functions-sdk-go_PR-1047 -v /w/workspace/dry_app-functions-sdk-go_PR-1047:/w/workspace/dry_app-functions-sdk-go_PR-1047:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1047@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1047@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:04:00 $ docker top dcd92e9b5450a3f54032457c2f3b62379c2401f760f3e2536b8b30bc0abaaa0b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:04:00 ---> job-cost.sh 16:04:00 lf-activate-venv: SKIPPING 16:04:00 INFO: No Stack... 16:04:00 INFO: Retrieving Pricing Info for: v3-standard-2 16:04:01 INFO: Archiving Costs [Pipeline] sh 16:04:01 + cat /w/workspace/dry_app-functions-sdk-go_PR-1047/archives/cost.csv 16:04:01 + cut -d, -f6 [Pipeline] lock 16:04:01 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1047-4-stack-cost] 16:04:01 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1047-4-stack-cost] did not exist. Created. 16:04:01 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1047-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:04:02 + echo total: 0.05999999865889549 [Pipeline] stash 16:04:02 Stashed 1 file(s) [Pipeline] } 16:04:02 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1047-4-stack-cost] [Pipeline] // lock [Pipeline] } 16:04:02 $ docker stop --time=1 dcd92e9b5450a3f54032457c2f3b62379c2401f760f3e2536b8b30bc0abaaa0b 16:04:03 $ docker rm -f dcd92e9b5450a3f54032457c2f3b62379c2401f760f3e2536b8b30bc0abaaa0b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] unstash [Pipeline] echo 16:04:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:04:04 ========================================================= 16:04:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 16:04:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 16:04:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 16:04:05 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:04:05 9b3977197b4f: Pulling fs layer 16:04:05 1a89e8eeedd5: Pulling fs layer 16:04:05 94645a83ff95: Pulling fs layer 16:04:05 3f3a8bcf1eab: Pulling fs layer 16:04:05 0c92f367c5e7: Pulling fs layer 16:04:05 f7c0051592d6: Pulling fs layer 16:04:05 a227ed2f7395: Pulling fs layer 16:04:05 7b1c46037f91: Pulling fs layer 16:04:05 0c92f367c5e7: Waiting 16:04:05 f7c0051592d6: Waiting 16:04:05 a227ed2f7395: Waiting 16:04:05 7b1c46037f91: Waiting 16:04:05 3f3a8bcf1eab: Waiting 16:04:05 94645a83ff95: Verifying Checksum 16:04:05 94645a83ff95: Download complete 16:04:05 1a89e8eeedd5: Verifying Checksum 16:04:05 1a89e8eeedd5: Download complete 16:04:05 0c92f367c5e7: Download complete 16:04:05 f7c0051592d6: Verifying Checksum 16:04:05 f7c0051592d6: Download complete 16:04:05 a227ed2f7395: Verifying Checksum 16:04:05 a227ed2f7395: Download complete 16:04:05 9b3977197b4f: Verifying Checksum 16:04:05 9b3977197b4f: Download complete 16:04:06 9b3977197b4f: Pull complete 16:04:07 1a89e8eeedd5: Pull complete 16:04:07 94645a83ff95: Pull complete 16:04:07 7b1c46037f91: Verifying Checksum 16:04:07 7b1c46037f91: Download complete 16:04:08 3f3a8bcf1eab: Verifying Checksum 16:04:08 3f3a8bcf1eab: Download complete 16:04:21 3f3a8bcf1eab: Pull complete 16:04:21 0c92f367c5e7: Pull complete 16:04:21 f7c0051592d6: Pull complete 16:04:21 a227ed2f7395: Pull complete 16:04:26 7b1c46037f91: Pull complete 16:04:26 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 16:04:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 16:04:26 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] sh 16:04:26 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 16:04:27 + docker inspect -f . ci-base-image-arm64 16:04:27 . [Pipeline] withDockerContainer 16:04:27 prd-ubuntu18.04-docker-arm64-4c-16g-6182 does not seem to be running inside a container 16:04:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:04:30 $ docker top 836e7a1579bd6aa7675659eae67efa05829bbbccb96e009da14e03e49dfea41b -eo pid,comm [Pipeline] { [Pipeline] sh 16:04:31 + go version 16:04:31 go version go1.17.6 linux/arm64 [Pipeline] } 16:04:31 $ docker stop --time=1 836e7a1579bd6aa7675659eae67efa05829bbbccb96e009da14e03e49dfea41b 16:04:32 $ docker rm -f 836e7a1579bd6aa7675659eae67efa05829bbbccb96e009da14e03e49dfea41b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:04:33 + docker inspect -f . ci-base-image-arm64 16:04:33 . [Pipeline] withDockerContainer 16:04:33 prd-ubuntu18.04-docker-arm64-4c-16g-6182 does not seem to be running inside a container 16:04:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:04:35 $ docker top 2cf644a12b6a56604ebfa92afe20a7c6ffae8d339d647acb105b0036b3ce0272 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:04:35 + make test 16:04:35 make -C ./app-service-template build 16:04:35 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/4/app-service-template' 16:04:35 go mod tidy 16:04:35 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0-dev.9 16:04:35 go: downloading github.com/stretchr/testify v1.7.0 16:04:36 go: downloading github.com/google/uuid v1.3.0 16:04:36 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.1-dev.28 16:04:36 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0-dev.7 16:04:36 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 16:04:36 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 16:04:36 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 16:04:36 go: downloading github.com/davecgh/go-spew v1.1.1 16:04:36 go: downloading github.com/pmezard/go-difflib v1.0.0 16:04:36 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 16:04:36 go: downloading github.com/stretchr/objx v0.1.1 16:04:36 go: downloading github.com/gorilla/mux v1.8.0 16:04:36 go: downloading github.com/hashicorp/go-multierror v1.1.1 16:04:36 go: downloading github.com/go-playground/validator/v10 v10.10.0 16:04:36 go: downloading github.com/go-kit/log v0.2.0 16:04:36 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 16:04:36 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.0 16:04:36 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 16:04:36 go: downloading github.com/mitchellh/copystructure v1.0.0 16:04:36 go: downloading github.com/gorilla/websocket v1.4.2 16:04:36 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 16:04:36 go: downloading github.com/pelletier/go-toml v1.9.4 16:04:36 go: downloading github.com/hashicorp/errwrap v1.0.0 16:04:36 go: downloading github.com/go-logfmt/logfmt v0.5.1 16:04:36 go: downloading github.com/hashicorp/consul/api v1.9.1 16:04:36 go: downloading github.com/mitchellh/reflectwalk v1.0.0 16:04:37 go: downloading github.com/go-playground/universal-translator v0.18.0 16:04:37 go: downloading github.com/leodido/go-urn v1.2.1 16:04:37 go: downloading golang.org/x/crypto v0.0.0-20210915214749-c084706c2272 16:04:37 go: downloading golang.org/x/text v0.3.7 16:04:37 go: downloading github.com/go-playground/locales v0.14.0 16:04:37 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 16:04:37 go: downloading github.com/go-playground/assert/v2 v2.0.1 16:04:40 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 16:04:40 go: downloading github.com/x448/float16 v0.8.4 16:04:40 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 16:04:40 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 16:04:40 go: downloading github.com/hashicorp/go-hclog v0.12.0 16:04:40 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 16:04:40 go: downloading github.com/hashicorp/serf v0.9.5 16:04:40 go: downloading github.com/mitchellh/mapstructure v1.1.2 16:04:40 go: downloading github.com/hashicorp/consul/sdk v0.8.0 16:04:40 go: downloading github.com/hashicorp/go-uuid v1.0.1 16:04:40 go: downloading golang.org/x/sys v0.0.0-20210917161153-d61c044b1678 16:04:40 go: downloading github.com/kr/pretty v0.3.0 16:04:40 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 16:04:40 go: downloading github.com/go-redis/redis/v7 v7.3.0 16:04:40 go: downloading github.com/pebbe/zmq4 v1.2.7 16:04:40 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 16:04:40 go: downloading github.com/mitchellh/go-homedir v1.1.0 16:04:40 go: downloading github.com/fatih/color v1.9.0 16:04:40 go: downloading github.com/mattn/go-colorable v0.1.6 16:04:40 go: downloading github.com/mattn/go-isatty v0.0.12 16:04:40 go: downloading github.com/pkg/errors v0.9.1 16:04:40 go: downloading github.com/kr/text v0.2.0 16:04:40 go: downloading github.com/rogpeppe/go-internal v1.8.0 16:04:40 go: downloading github.com/onsi/ginkgo v1.10.1 16:04:40 go: downloading github.com/onsi/gomega v1.7.0 16:04:41 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 16:04:41 go: downloading github.com/hashicorp/go-msgpack v0.5.3 16:04:41 go: downloading github.com/hashicorp/memberlist v0.2.2 16:04:41 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 16:04:41 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 16:04:41 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 16:04:41 go: downloading gopkg.in/yaml.v2 v2.3.0 16:04:41 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 16:04:41 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 16:04:41 go: downloading github.com/miekg/dns v1.1.26 16:04:41 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 16:04:41 go: downloading github.com/hashicorp/golang-lru v0.5.0 16:04:41 go: downloading github.com/hpcloud/tail v1.0.0 16:04:41 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 16:04:41 go: downloading gopkg.in/fsnotify.v1 v1.4.7 16:04:41 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0-dev.11 16:04:41 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0-dev.8 16:04:42 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.1.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service 16:05:21 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/4/app-service-template' 16:05:21 make -C ./app-service-template test 16:05:21 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/4/app-service-template' 16:05:21 CGO_ENABLED=1 go test -race -coverprofile=coverage.out ./... 16:06:58 ok new-app-service 0.204s coverage: 48.1% of statements 16:06:58 ? new-app-service/config [no test files] 16:06:58 ok new-app-service/functions 0.170s 16:06:58 CGO_ENABLED=1 go vet ./... 16:07:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:07:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:07:13 ./bin/test-attribution-txt.sh 16:07:15 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/4/app-service-template' 16:07:15 CGO_ENABLED=1 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 16:07:17 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 16:07:29 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.448s coverage: 64.9% of statements 16:07:29 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.349s coverage: 93.7% of statements 16:07:29 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 16:07:29 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.296s coverage: 48.1% of statements 16:07:29 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 16:07:29 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.167s 16:07:29 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.132s coverage: 100.0% of statements 16:07:29 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.478s coverage: 78.3% of statements 16:07:29 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 16:07:29 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 16:07:29 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 16:07:29 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 16:07:29 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 16:07:29 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 16:07:29 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.052s coverage: 97.3% of statements 16:07:29 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 16:07:29 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] 16:07:29 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.262s coverage: 91.8% of statements 16:07:29 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] 16:07:32 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 0.926s coverage: 80.4% of statements 16:07:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] 16:07:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] 16:07:32 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.323s coverage: 33.3% of statements 16:07:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] 16:07:32 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.216s coverage: 14.3% of statements 16:07:35 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.170s coverage: 27.3% of statements 16:07:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 16:07:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 16:07:35 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.185s coverage: 36.0% of statements 16:08:07 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.455s coverage: 78.2% of statements 16:08:07 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.172s coverage: 94.4% of statements 16:08:07 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:08:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:08:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:08:09 WARNING: Linting skipped (not on x86_64 or linter not installed) [Pipeline] echo 16:08:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:08:09 $ docker stop --time=1 2cf644a12b6a56604ebfa92afe20a7c6ffae8d339d647acb105b0036b3ce0272 16:08:11 $ docker rm -f 2cf644a12b6a56604ebfa92afe20a7c6ffae8d339d647acb105b0036b3ce0272 [Pipeline] // withDockerContainer [Pipeline] sh 16:08:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:08:14 Warning: overwriting stash ‘coverage-report’ 16:08:14 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 16:08:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:08:15 16:08:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 16:08:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:08:16 arm64: Pulling from edgex-lftools-log-publisher 16:08:16 8998bd30e6a1: Pulling fs layer 16:08:16 04944245beec: Pulling fs layer 16:08:16 699f458cf7ca: Pulling fs layer 16:08:16 765212b225bb: Pulling fs layer 16:08:16 f23df028b6ca: Pulling fs layer 16:08:16 d65c8cfc05b1: Pulling fs layer 16:08:16 2437ff75d9bd: Pulling fs layer 16:08:16 f23df028b6ca: Waiting 16:08:16 d65c8cfc05b1: Waiting 16:08:16 2437ff75d9bd: Waiting 16:08:16 765212b225bb: Waiting 16:08:16 04944245beec: Verifying Checksum 16:08:16 04944245beec: Download complete 16:08:16 765212b225bb: Verifying Checksum 16:08:16 765212b225bb: Download complete 16:08:16 f23df028b6ca: Download complete 16:08:16 d65c8cfc05b1: Verifying Checksum 16:08:16 d65c8cfc05b1: Download complete 16:08:16 699f458cf7ca: Verifying Checksum 16:08:16 699f458cf7ca: Download complete 16:08:16 8998bd30e6a1: Verifying Checksum 16:08:16 8998bd30e6a1: Download complete 16:08:19 2437ff75d9bd: Verifying Checksum 16:08:19 2437ff75d9bd: Download complete 16:08:21 8998bd30e6a1: Pull complete 16:08:21 04944245beec: Pull complete 16:08:23 699f458cf7ca: Pull complete 16:08:23 765212b225bb: Pull complete 16:08:24 f23df028b6ca: Pull complete 16:08:24 d65c8cfc05b1: Pull complete 16:08:39 2437ff75d9bd: Pull complete 16:08:39 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:08:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:08:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 16:08:39 prd-ubuntu18.04-docker-arm64-4c-16g-6182 does not seem to be running inside a container 16:08: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/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:08:42 $ docker top 669aa346ead6aa590daf354f96c322662191dd334708746fbc0b397f772c0836 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:08:43 ---> job-cost.sh 16:08:43 lf-activate-venv: SKIPPING 16:08:43 INFO: No Stack... 16:08:43 INFO: Retrieving Pricing Info for: v3-standard-4 16:08:44 INFO: Archiving Costs [Pipeline] sh 16:08:45 + cat /w/workspace/app-functions-sdk-go/4/archives/cost.csv 16:08:45 + cut -d, -f6 [Pipeline] lock 16:08:45 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1047-4-stack-cost] 16:08:45 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1047-4-stack-cost] did not exist. Created. 16:08:45 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1047-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:08:46 /w/workspace/app-functions-sdk-go/4@tmp/durable-a05bdf87/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:08:46 + echo total: 0.10999999940395355 [Pipeline] stash 16:08:46 Warning: overwriting stash ‘stack-cost’ 16:08:46 Stashed 1 file(s) [Pipeline] } 16:08:46 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1047-4-stack-cost] [Pipeline] // lock [Pipeline] } 16:08:46 $ docker stop --time=1 669aa346ead6aa590daf354f96c322662191dd334708746fbc0b397f772c0836 16:08:48 $ docker rm -f 669aa346ead6aa590daf354f96c322662191dd334708746fbc0b397f772c0836 [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 16:08:48 provisioning config files... 16:08:48 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/dry_app-functions-sdk-go_PR-1047@tmp/config4961663671986951372tmp [Pipeline] { [Pipeline] sh 16:08:49 + set +x 16:08:49 + curl -s https://codecov.io/bash 16:08:49 + bash -s -- 16:08:49 16:08:49 _____ _ 16:08:49 / ____| | | 16:08:49 | | ___ __| | ___ ___ _____ __ 16:08:49 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:08:49 | |___| (_) | (_| | __/ (_| (_) \ V / 16:08:49 \_____\___/ \__,_|\___|\___\___/ \_/ 16:08:49 Bash-1.0.6 16:08:49 16:08:49 16:08:49 ==> git version 2.24.4 found 16:08:49 ==> 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 16:08:49 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 16:08:49 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 16:08:49 ==> Jenkins CI detected. 16:08:49 current dir:  /w/workspace/dry_app-functions-sdk-go_PR-1047 16:08:49 project root: . 16:08:49 --> token set from env 16:08:49 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:08:49 ==> Running gcov in . (disable via -X gcov) 16:08:49 ==> Python coveragepy not found 16:08:49 ==> Searching for coverage reports in: 16:08:49 + . 16:08:49 -> Found 2 reports 16:08:49 ==> Detecting git/mercurial file structure 16:08:49 ==> Reading reports 16:08:49 + ./app-service-template/coverage.out bytes=1222 16:08:49 + ./coverage.out bytes=112236 16:08:49 ==> Appending adjustments 16:08:49 https://docs.codecov.io/docs/fixing-reports 16:08:49 + Found adjustments 16:08:49 ==> Gzipping contents 16:08:49 20K /tmp/codecov.X4ILFU.gz 16:08:49 ==> Uploading reports 16:08:49 url: https://codecov.io 16:08:49 query: branch=PR-1047&commit=0cbca7626975c0e4f61f1b2dba7a3bf4bd268640&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-1047%2F4%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=1047&job=&cmd_args= 16:08:49 -> Pinging Codecov 16:08:49 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=17ebf437-e483-4174-b11b-49c3772ebb45&branch=PR-1047&commit=0cbca7626975c0e4f61f1b2dba7a3bf4bd268640&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-1047%2F4%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=1047&job=&cmd_args= 16:08:50 -> Uploading to 16:08:50 https://storage.googleapis.com/codecov/v4/raw/2022-03-01/3D8B5DFFC46A037C893635FACE044666/0cbca7626975c0e4f61f1b2dba7a3bf4bd268640/0ccc4789-e346-46a6-af69-da6467ad1eaa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220301%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220301T160849Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=11ea29940d97feea9250bdbc84b80e7f84c3448bb5e25078bfa01d6ba048730c 16:08:50 % Total % Received % Xferd Average Speed Time Time Time Current 16:08:50 Dload Upload Total Spent Left Speed 16:08:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19977 0 0 100 19977 0 53797 --:--:-- --:--:-- --:--:-- 53701 100 19977 0 0 100 19977 0 53777 --:--:-- --:--:-- --:--:-- 53701 16:08:50 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/0cbca7626975c0e4f61f1b2dba7a3bf4bd268640 [Pipeline] } 16:08:50 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 16:08:51 + '[' -d /w/workspace/dry_app-functions-sdk-go_PR-1047/archives ']' 16:08:51 + ls -al /w/workspace/dry_app-functions-sdk-go_PR-1047/archives 16:08:51 total 8 16:08:51 drwxr-xr-x. 3 root root 34 Mar 1 16:04 . 16:08:51 drwxrwxr-x. 10 jenkins jenkins 4096 Mar 1 16:04 .. 16:08:51 drwxr-xr-x. 2 root root 6 Mar 1 16:04 cost 16:08:51 -rw-r--r--. 1 root root 92 Mar 1 16:04 cost.csv 16:08:51 + sudo chown -R jenkins:jenkins /w/workspace/dry_app-functions-sdk-go_PR-1047/archives 16:08:51 + ls -al /w/workspace/dry_app-functions-sdk-go_PR-1047/archives 16:08:51 total 8 16:08:51 drwxr-xr-x. 3 jenkins jenkins 34 Mar 1 16:04 . 16:08:51 drwxrwxr-x. 10 jenkins jenkins 4096 Mar 1 16:04 .. 16:08:51 drwxr-xr-x. 2 jenkins jenkins 6 Mar 1 16:04 cost 16:08:51 -rw-r--r--. 1 jenkins jenkins 92 Mar 1 16:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:08:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:08:52 ---> package-listing.sh 16:08:52 ++ facter osfamily 16:08:52 ++ tr '[:upper:]' '[:lower:]' 16:08:52 + OS_FAMILY=redhat 16:08:52 + workspace=/w/workspace/dry_app-functions-sdk-go_PR-1047 16:08:52 + START_PACKAGES=/tmp/packages_start.txt 16:08:52 + END_PACKAGES=/tmp/packages_end.txt 16:08:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:08:52 + PACKAGES=/tmp/packages_start.txt 16:08:52 + '[' /w/workspace/dry_app-functions-sdk-go_PR-1047 ']' 16:08:52 + PACKAGES=/tmp/packages_end.txt 16:08:52 + case "${OS_FAMILY}" in 16:08:52 + rpm -qa 16:08:52 + sort 16:08:53 + '[' -f /tmp/packages_start.txt ']' 16:08:53 + '[' -f /tmp/packages_end.txt ']' 16:08:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:08:53 + '[' /w/workspace/dry_app-functions-sdk-go_PR-1047 ']' 16:08:53 + mkdir -p /w/workspace/dry_app-functions-sdk-go_PR-1047/archives/ 16:08:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_app-functions-sdk-go_PR-1047/archives/ [Pipeline] echo 16:08:53 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_app-functions-sdk-go_PR-1047/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:08:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:08:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:08:53 . [Pipeline] withDockerContainer 16:08:53 prd-centos7-docker-4c-2g-6181 does not seem to be running inside a container 16:08:54 $ 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/dry_app-functions-sdk-go_PR-1047/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_app-functions-sdk-go_PR-1047 -v /w/workspace/dry_app-functions-sdk-go_PR-1047:/w/workspace/dry_app-functions-sdk-go_PR-1047:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1047@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1047@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 16:08:54 $ docker top f80875f50f1429fe9f1a74777e788aebfd8ebb78a98db41546c7e87d6ffe5360 -eo pid,comm [Pipeline] { [Pipeline] sh 16:08:54 + touch /tmp/pre-build-complete [Pipeline] sh 16:08:54 + mkdir -p /var/log/sysstat [Pipeline] sh 16:08:55 + ls /var/log/sa-host 16:08:55 + sadf -c /var/log/sa-host/sa01 16:08:55 file_magic: OK 16:08:55 HZ: Using current value: 100 16:08:55 file_header: OK 16:08:55 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 16:08:55 Statistics: 16:08:55 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 16:08:55 File successfully converted to sysstat format version 12.5.2 16:08:55 + sadf -c /var/log/sa-host/sa17 16:08:55 file_magic: OK 16:08:55 HZ: Using current value: 100 16:08:55 file_header: OK 16:08:55 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 16:08:55 Statistics: 16:08:55 Hnuu...uuuununununu...Hnuu...uuuununununu... 16:08:55 File successfully converted to sysstat format version 12.5.2 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:08:55 provisioning config files... 16:08:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_app-functions-sdk-go_PR-1047@tmp/config2063201916291194641tmp [Pipeline] { [Pipeline] echo 16:08:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:08:55 ---> create-netrc.sh [Pipeline] } 16:08:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:08:56 ---> python-tools-install.sh [Pipeline] echo 16:08:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:08:56 ---> sudo-logs.sh 16:08:56 Archiving 'sudo' log.. 16:08:56 sudo: unable to resolve host prd-centos7-docker-4c-2g-6181.novalocal: Name or service not known 16:08:56 sudo: unable to resolve host prd-centos7-docker-4c-2g-6181.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 16:08:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:08:56 ---> job-cost.sh 16:08:56 lf-activate-venv: SKIPPING 16:08:56 DEBUG: total: 0.05999999865889549 16:08:56 INFO: Retrieving Stack Cost... 16:08:56 INFO: Retrieving Pricing Info for: v3-standard-2 16:08:57 INFO: Archiving Costs [Pipeline] echo 16:08:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:08:57 ---> logs-deploy.sh 16:08:57 lf-activate-venv: SKIPPING 16:08:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-1047/4 16:08:57 INFO: archiving workspace using pattern(s): 16:08:58 Archives upload complete. 16:08:58 INFO: archiving logs to Nexus 16:08:59 ---> uname -a: 16:08:59 Linux prd-centos7-docker-4c-2g-6181.novalocal 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64 GNU/Linux 16:08:59 16:08:59 16:08:59 ---> lscpu: 16:08:59 Architecture: x86_64 16:08:59 CPU op-mode(s): 32-bit, 64-bit 16:08:59 Byte Order: Little Endian 16:08:59 Address sizes: 40 bits physical, 48 bits virtual 16:08:59 CPU(s): 2 16:08:59 On-line CPU(s) list: 0,1 16:08:59 Thread(s) per core: 1 16:08:59 Core(s) per socket: 1 16:08:59 Socket(s): 2 16:08:59 NUMA node(s): 1 16:08:59 Vendor ID: AuthenticAMD 16:08:59 CPU family: 23 16:08:59 Model: 49 16:08:59 Model name: AMD EPYC-Rome Processor 16:08:59 Stepping: 0 16:08:59 CPU MHz: 2799.996 16:08:59 BogoMIPS: 5599.99 16:08:59 Virtualization: AMD-V 16:08:59 Hypervisor vendor: KVM 16:08:59 Virtualization type: full 16:08:59 L1d cache: 64 KiB 16:08:59 L1i cache: 64 KiB 16:08:59 L2 cache: 1 MiB 16:08:59 L3 cache: 32 MiB 16:08:59 NUMA node0 CPU(s): 0,1 16:08:59 Vulnerability Itlb multihit: Not affected 16:08:59 Vulnerability L1tf: Not affected 16:08:59 Vulnerability Mds: Not affected 16:08:59 Vulnerability Meltdown: Not affected 16:08:59 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 16:08:59 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 16:08:59 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 16:08:59 Vulnerability Srbds: Not affected 16:08:59 Vulnerability Tsx async abort: Not affected 16:08:59 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 16:08:59 16:08:59 16:08:59 ---> nproc: 16:08:59 2 16:08:59 16:08:59 16:08:59 ---> df -h: 16:08:59 Filesystem Size Used Avail Use% Mounted on 16:08:59 overlay 40G 8.3G 32G 21% / 16:08:59 tmpfs 64M 0 64M 0% /dev 16:08:59 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 16:08:59 shm 64M 0 64M 0% /dev/shm 16:08:59 /dev/vda1 40G 8.3G 32G 21% /facter-os 16:08:59 16:08:59 16:08:59 ---> sar -b -r -n DEV: 16:08:59 Linux 3.10.0-1160.45.1.el7.x86_64 (centos-7-docker-61956895-6fad-6945-99d6-2040f50c295e.novalocal) 03/01/22 _x86_64_ (2 CPU) 16:08:59 16:08:59 16:01:00 LINUX RESTART (2 CPU) 16:08:59 16:08:59 16:02:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 16:08:59 16:03:01 82.65 0.05 82.60 0.00 1.07 9561.28 0.00 16:08:59 16:04:01 133.56 0.00 133.56 0.00 0.00 21987.94 0.00 16:08:59 16:05:01 2.86 0.00 2.86 0.00 0.00 52.94 0.00 16:08:59 16:06:01 0.15 0.00 0.15 0.00 0.00 2.28 0.00 16:08:59 16:07:01 0.35 0.00 0.35 0.00 0.00 4.73 0.00 16:08:59 16:08:01 0.22 0.00 0.22 0.00 0.00 3.10 0.00 16:08:59 Average: 36.64 0.01 36.63 0.00 0.18 5269.68 0.00 16:08:59 16:08:59 16:02:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 16:08:59 16:03:01 4430044 0 876216 10.94 2620 2700060 1483268 16.38 1041544 2161932 127420 16:08:59 16:04:01 4320644 0 897868 11.21 2620 2787808 1322300 14.60 926188 2365056 44 16:08:59 16:05:01 4319788 0 898848 11.22 2620 2787684 1209716 13.36 928384 2364764 20 16:08:59 16:06:01 4324196 0 894432 11.17 2620 2787692 1174752 12.97 925092 2364764 8 16:08:59 16:07:01 4339140 0 879484 10.98 2620 2787696 1174836 12.97 910116 2364764 16 16:08:59 16:08:01 4339772 0 878848 10.97 2620 2787700 1174752 12.97 909608 2364764 12 16:08:59 Average: 4345597 0 887616 11.08 2620 2773107 1256604 13.87 940155 2331007 21253 16:08:59 16:08:59 16:02:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 16:08:59 16:03:01 veth0118451 58.63 67.72 5.32 415.06 0.00 0.00 0.00 0.00 16:08:59 16:03:01 eth0 95.11 73.63 438.84 16.32 0.00 0.00 0.00 0.00 16:08:59 16:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:08:59 16:03:01 docker0 58.63 67.59 4.52 415.05 0.00 0.00 0.00 0.00 16:08:59 16:04:01 eth0 120.15 73.71 2538.89 15.84 0.00 0.00 0.00 0.00 16:08:59 16:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:08:59 16:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:08:59 16:05:01 eth0 5.08 3.41 5.02 1.80 0.00 0.00 0.00 0.00 16:08:59 16:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:08:59 16:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:08:59 16:06:01 eth0 0.12 0.10 0.01 0.01 0.00 0.00 0.00 0.00 16:08:59 16:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:08:59 16:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:08:59 16:07:01 eth0 0.18 0.15 0.08 0.07 0.00 0.00 0.00 0.00 16:08:59 16:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:08:59 16:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:08:59 16:08:01 eth0 0.07 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:08:59 16:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:08:59 16:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:08:59 Average: eth0 36.79 25.18 497.21 5.67 0.00 0.00 0.00 0.00 16:08:59 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:08:59 Average: docker0 9.78 11.27 0.75 69.20 0.00 0.00 0.00 0.00 16:08:59 16:08:59 16:08:59 ---> sar -P ALL: 16:08:59 Linux 3.10.0-1160.45.1.el7.x86_64 (centos-7-docker-61956895-6fad-6945-99d6-2040f50c295e.novalocal) 03/01/22 _x86_64_ (2 CPU) 16:08:59 16:08:59 16:01:00 LINUX RESTART (2 CPU) 16:08:59 16:08:59 16:02:01 CPU %user %nice %system %iowait %steal %idle 16:08:59 16:03:01 all 69.47 0.00 8.78 1.62 0.15 19.99 16:08:59 16:03:01 0 69.27 0.00 9.65 2.08 0.15 18.85 16:08:59 16:03:01 1 69.67 0.00 7.91 1.15 0.15 21.12 16:08:59 16:04:01 all 30.08 0.00 5.37 1.64 0.08 62.83 16:08:59 16:04:01 0 28.95 0.00 5.82 1.76 0.07 63.39 16:08:59 16:04:01 1 31.21 0.00 4.92 1.51 0.09 62.27 16:08:59 16:05:01 all 0.38 0.00 0.23 0.01 0.01 99.38 16:08:59 16:05:01 0 0.42 0.00 0.23 0.00 0.02 99.33 16:08:59 16:05:01 1 0.33 0.00 0.22 0.02 0.00 99.43 16:08:59 16:06:01 all 0.09 0.00 0.08 0.00 0.01 99.82 16:08:59 16:06:01 0 0.10 0.00 0.05 0.00 0.00 99.85 16:08:59 16:06:01 1 0.08 0.00 0.10 0.00 0.02 99.80 16:08:59 16:07:01 all 0.29 0.00 0.05 0.00 0.01 99.65 16:08:59 16:07:01 0 0.08 0.00 0.05 0.00 0.02 99.85 16:08:59 16:07:01 1 0.50 0.00 0.05 0.00 0.00 99.45 16:08:59 16:08:01 all 0.24 0.00 0.04 0.00 0.02 99.70 16:08:59 16:08:01 0 0.05 0.00 0.05 0.00 0.02 99.88 16:08:59 16:08:01 1 0.43 0.00 0.03 0.00 0.02 99.52 16:08:59 Average: all 15.80 0.00 2.30 0.52 0.04 81.34 16:08:59 Average: 0 15.53 0.00 2.50 0.61 0.04 81.31 16:08:59 Average: 1 16.07 0.00 2.09 0.42 0.04 81.37 16:08:59 16:08:59 16:08:59