Pull request #1060 opened 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 79ebb605b9be8ec14e621d71e04271fa966125ac rather than fffe9b9da50ad4a6c28981a3051999a0a808b859 Obtained Jenkinsfile from 79ebb605b9be8ec14e621d71e04271fa966125ac 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-ssh2336575184499603019.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh6630692057869330743.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 c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1060/workspace@libs/edgex-global-pipelines # timeout=10 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-1060/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5120725505173616018.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-1060/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh396116054533982212.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh16977031544517710976.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1060/workspace@libs/lf-pipelines # timeout=10 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-1060/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh17995877644158763924.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 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: [[ubuntu20.04-docker-8c-8g, ubuntu20.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 ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7788 in /w/workspace/dry_app-functions-sdk-go_PR-1060 [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-1060 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 79ebb605b9be8ec14e621d71e04271fa966125ac into PR head commit fffe9b9da50ad4a6c28981a3051999a0a808b859 Merge succeeded, producing fffe9b9da50ad4a6c28981a3051999a0a808b859 Checking out Revision fffe9b9da50ad4a6c28981a3051999a0a808b859 (PR-1060) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/1060/head:refs/remotes/origin/PR-1060 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fffe9b9da50ad4a6c28981a3051999a0a808b859 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 79ebb605b9be8ec14e621d71e04271fa966125ac # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fffe9b9da50ad4a6c28981a3051999a0a808b859 # timeout=10 Commit message: "refactor: Improve the code readability for the change of issue #1046" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:25:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:25:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:25:59 ========================================================= 05:25:59 EdgeX Global Pipelines Version Info 05:25:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:26:00 ------------------- 05:26:00 stable info: 05:26:00 ------------------- 05:26:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:26:00 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 05:26:00 Message: update stable to v1.0.221 05:26:01 ------------------- 05:26:01 experimental info: 05:26:01 ------------------- 05:26:01 Commited By: **** collab-it+edgex@linuxfoundation.org 05:26:01 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 05:26:01 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:26:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 05:26:01 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 05:26:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:26:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:26:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:26:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 05:26:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:26:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:26:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:26:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:26:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:26:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 05:26:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:26:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:26:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 05:26:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:26:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:26:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:26:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:26:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:26:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:26:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 05:26:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:26:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:26:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 05:26:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:26:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1060 [Pipeline] echo 05:26:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1060 [Pipeline] echo 05:26:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1060 [Pipeline] echo 05:26:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fffe9b9da50ad4a6c28981a3051999a0a808b859 [Pipeline] echo 05:26:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fffe9b9 [Pipeline] echo 05:26:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:26:03 + git rev-list -1 --merges fffe9b9da50ad4a6c28981a3051999a0a808b859~1..fffe9b9da50ad4a6c28981a3051999a0a808b859 [Pipeline] echo 05:26:03 -----------> git rev-list -1 --merges fffe9b9da50ad4a6c28981a3051999a0a808b859~1..fffe9b9da50ad4a6c28981a3051999a0a808b859 fffe9b9da50ad4a6c28981a3051999a0a808b859 [false] [Pipeline] sh 05:26:03 + git log --format=format:%s -1 fffe9b9da50ad4a6c28981a3051999a0a808b859 [Pipeline] echo 05:26:03 ========================================================= 05:26:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:26:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:26:04 + git log --format=format:%s -1 fffe9b9da50ad4a6c28981a3051999a0a808b859 [Pipeline] echo 05:26:04 [semverPrep] GIT_COMMIT: fffe9b9da50ad4a6c28981a3051999a0a808b859, Commit Message: refactor: Improve the code readability for the change of issue #1046 [Pipeline] echo 05:26:04 [semverPrep] This is not a build commit. [Pipeline] sh 05:26:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:26:04 + grep -v github /etc/ssh/ssh_known_hosts 05:26:04 + [ -e /tmp/ssh_known_hosts ] 05:26:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:26:04 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:26:04 + sudo tee -a /etc/ssh/ssh_known_hosts 05:26:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:26:05 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:26:05 05:26:05 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:26:05 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:26:05 latest: Pulling from edgex-devops/git-semver 05:26:05 a0d0a0d46f8b: Pulling fs layer 05:26:05 3e5f54012d9b: Pulling fs layer 05:26:05 4c7163046ea9: Pulling fs layer 05:26:05 0c2d73faf560: Pulling fs layer 05:26:05 0c2d73faf560: Waiting 05:26:05 3e5f54012d9b: Verifying Checksum 05:26:05 3e5f54012d9b: Download complete 05:26:05 a0d0a0d46f8b: Download complete 05:26:05 0c2d73faf560: Download complete 05:26:05 4c7163046ea9: Verifying Checksum 05:26:05 4c7163046ea9: Download complete 05:26:05 a0d0a0d46f8b: Pull complete 05:26:05 3e5f54012d9b: Pull complete 05:26:06 4c7163046ea9: Pull complete 05:26:06 0c2d73faf560: Pull complete 05:26:06 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 05:26:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:26:06 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:26:06 prd-ubuntu20.04-docker-8c-8g-7788 does not seem to be running inside a container 05:26:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-functions-sdk-go_PR-1060 -v /w/workspace/dry_app-functions-sdk-go_PR-1060:/w/workspace/dry_app-functions-sdk-go_PR-1060:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1060@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1060@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:26:07 $ docker top 09bcf1b60b2b689054653becfc7538daf69c0ae5dc5c5bdfd285debd84f0ef4f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:26:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:26:07 [ssh-agent] Looking for ssh-agent implementation... 05:26:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:26:07 $ docker exec 09bcf1b60b2b689054653becfc7538daf69c0ae5dc5c5bdfd285debd84f0ef4f ssh-agent 05:26:07 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMeDinH/agent.15 05:26:07 SSH_AGENT_PID=21 05:26:07 Running ssh-add (command line suppressed) 05:26:08 Identity added: /w/workspace/dry_app-functions-sdk-go_PR-1060@tmp/private_key_7071260392378971169.key (/w/workspace/dry_app-functions-sdk-go_PR-1060@tmp/private_key_7071260392378971169.key) 05:26:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:26:08 + git tag --points-at HEAD [Pipeline] } 05:26:08 $ docker exec --env ******** --env ******** 09bcf1b60b2b689054653becfc7538daf69c0ae5dc5c5bdfd285debd84f0ef4f ssh-agent -k 05:26:08 unset SSH_AUTH_SOCK; 05:26:08 unset SSH_AGENT_PID; 05:26:08 echo Agent pid 21 killed; 05:26:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:26:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:26:08 [ssh-agent] Looking for ssh-agent implementation... 05:26:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:26:08 $ docker exec 09bcf1b60b2b689054653becfc7538daf69c0ae5dc5c5bdfd285debd84f0ef4f ssh-agent 05:26:08 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnGcAlf/agent.53 05:26:08 SSH_AGENT_PID=59 05:26:08 Running ssh-add (command line suppressed) 05:26:09 Identity added: /w/workspace/dry_app-functions-sdk-go_PR-1060@tmp/private_key_9071792411273717048.key (/w/workspace/dry_app-functions-sdk-go_PR-1060@tmp/private_key_9071792411273717048.key) 05:26:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:26:09 + git semver init 05:26:09 # -> Open(): unable to determine branch for HEAD 05:26:09 # $GIT_DIR = /w/workspace/dry_app-functions-sdk-go_PR-1060/.git 05:26:09 # $GIT_WORK_TREE = /w/workspace/dry_app-functions-sdk-go_PR-1060 05:26:09 # $SEMVER_REMOTE_NAME = origin 05:26:09 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:26:09 # $SEMVER_USER_NAME = edgex-jenkins 05:26:09 # $SEMVER_BRANCH = PR-1060 05:26:09 # $SEMVER_TEMP = /tmp/semver-487155905 05:26:09 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 05:26:11 # '/tmp/semver-487155905' -> '/w/workspace/dry_app-functions-sdk-go_PR-1060/.semver' 05:26:11 # -> Force: false 05:26:11 # $SEMVER_DIR = /w/workspace/dry_app-functions-sdk-go_PR-1060/.semver [Pipeline] } 05:26:11 $ docker exec --env ******** --env ******** 09bcf1b60b2b689054653becfc7538daf69c0ae5dc5c5bdfd285debd84f0ef4f ssh-agent -k 05:26:12 unset SSH_AUTH_SOCK; 05:26:12 unset SSH_AGENT_PID; 05:26:12 echo Agent pid 59 killed; 05:26:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:26:12 + git semver [Pipeline] } 05:26:12 $ docker stop --time=1 09bcf1b60b2b689054653becfc7538daf69c0ae5dc5c5bdfd285debd84f0ef4f 05:26:14 $ docker rm -f 09bcf1b60b2b689054653becfc7538daf69c0ae5dc5c5bdfd285debd84f0ef4f [Pipeline] // withDockerContainer [Pipeline] sh 05:26:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:26:14 Stashed 1 file(s) [Pipeline] echo 05:26:14 [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 05:26:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:26:15 ========================================================= 05:26:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 05:26:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 05:26:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 05:26:15 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 05:26:15 59bf1c3509f3: Pulling fs layer 05:26:15 666ba61612fd: Pulling fs layer 05:26:15 8ed8ca486205: Pulling fs layer 05:26:15 4fe6c5a15a65: Pulling fs layer 05:26:15 22a0e8bec74d: Pulling fs layer 05:26:15 640e595b4fbd: Pulling fs layer 05:26:15 763cafe07f6e: Pulling fs layer 05:26:15 0c0b528cf693: Pulling fs layer 05:26:15 10935f4eaf8b: Pulling fs layer 05:26:15 763cafe07f6e: Waiting 05:26:15 0c0b528cf693: Waiting 05:26:15 10935f4eaf8b: Waiting 05:26:15 22a0e8bec74d: Waiting 05:26:15 640e595b4fbd: Waiting 05:26:15 4fe6c5a15a65: Waiting 05:26:15 8ed8ca486205: Verifying Checksum 05:26:15 8ed8ca486205: Download complete 05:26:15 666ba61612fd: Download complete 05:26:15 22a0e8bec74d: Download complete 05:26:15 640e595b4fbd: Verifying Checksum 05:26:15 640e595b4fbd: Download complete 05:26:15 763cafe07f6e: Verifying Checksum 05:26:15 763cafe07f6e: Download complete 05:26:15 59bf1c3509f3: Verifying Checksum 05:26:15 59bf1c3509f3: Download complete 05:26:16 0c0b528cf693: Verifying Checksum 05:26:16 0c0b528cf693: Download complete 05:26:16 59bf1c3509f3: Pull complete 05:26:16 666ba61612fd: Pull complete 05:26:16 8ed8ca486205: Pull complete 05:26:16 10935f4eaf8b: Verifying Checksum 05:26:16 10935f4eaf8b: Download complete 05:26:16 4fe6c5a15a65: Verifying Checksum 05:26:16 4fe6c5a15a65: Download complete 05:26:19 4fe6c5a15a65: Pull complete 05:26:20 22a0e8bec74d: Pull complete 05:26:20 640e595b4fbd: Pull complete 05:26:20 763cafe07f6e: Pull complete 05:26:20 0c0b528cf693: Pull complete 05:26:22 10935f4eaf8b: Pull complete 05:26:22 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 05:26:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 05:26:22 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] sh 05:26:22 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 05:26:22 + docker inspect -f . ci-base-image-x86_64 05:26:22 . [Pipeline] withDockerContainer 05:26:23 prd-ubuntu20.04-docker-8c-8g-7788 does not seem to be running inside a container 05:26:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-functions-sdk-go_PR-1060 -v /w/workspace/dry_app-functions-sdk-go_PR-1060:/w/workspace/dry_app-functions-sdk-go_PR-1060:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1060@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1060@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 ******** ci-base-image-x86_64 cat 05:26:24 $ docker top 1a76a6afc56d1f69d21d8490d4a19826e14f70bae3fb470ad8497d43552d420e -eo pid,comm [Pipeline] { [Pipeline] sh 05:26:25 + go version 05:26:25 go version go1.17.6 linux/amd64 [Pipeline] } 05:26:25 $ docker stop --time=1 1a76a6afc56d1f69d21d8490d4a19826e14f70bae3fb470ad8497d43552d420e 05:26:26 $ docker rm -f 1a76a6afc56d1f69d21d8490d4a19826e14f70bae3fb470ad8497d43552d420e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:26:27 + docker inspect -f . ci-base-image-x86_64 05:26:27 . [Pipeline] withDockerContainer 05:26:27 prd-ubuntu20.04-docker-8c-8g-7788 does not seem to be running inside a container 05:26:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-functions-sdk-go_PR-1060 -v /w/workspace/dry_app-functions-sdk-go_PR-1060:/w/workspace/dry_app-functions-sdk-go_PR-1060:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1060@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1060@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 ******** ci-base-image-x86_64 cat 05:26:27 $ docker top b9723bc3beac1b03867d87123a23840bcc153188300883e34c2667fef829fd1c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:26:28 + make test 05:26:28 make -C ./app-service-template build 05:26:28 make[1]: Entering directory '/w/workspace/dry_app-functions-sdk-go_PR-1060/app-service-template' 05:26:28 go mod tidy 05:26:28 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0-dev.11 05:26:28 go: downloading github.com/google/uuid v1.3.0 05:26:28 go: downloading github.com/stretchr/testify v1.7.0 05:26:28 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.1-dev.28 05:26:28 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0-dev.8 05:26:28 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 05:26:28 go: downloading github.com/davecgh/go-spew v1.1.1 05:26:28 go: downloading github.com/pmezard/go-difflib v1.0.0 05:26:28 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 05:26:28 go: downloading github.com/go-kit/log v0.2.0 05:26:28 go: downloading github.com/go-playground/validator/v10 v10.10.0 05:26:28 go: downloading github.com/gorilla/mux v1.8.0 05:26:28 go: downloading github.com/hashicorp/go-multierror v1.1.1 05:26:28 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 05:26:28 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 05:26:28 go: downloading github.com/stretchr/objx v0.1.1 05:26:28 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 05:26:28 go: downloading github.com/go-logfmt/logfmt v0.5.1 05:26:28 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 05:26:28 go: downloading github.com/go-playground/universal-translator v0.18.0 05:26:28 go: downloading github.com/leodido/go-urn v1.2.1 05:26:28 go: downloading golang.org/x/crypto v0.0.0-20210915214749-c084706c2272 05:26:28 go: downloading golang.org/x/text v0.3.7 05:26:28 go: downloading github.com/go-playground/locales v0.14.0 05:26:28 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.0 05:26:28 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 05:26:28 go: downloading github.com/pelletier/go-toml v1.9.4 05:26:28 go: downloading github.com/hashicorp/consul/api v1.9.1 05:26:28 go: downloading github.com/hashicorp/errwrap v1.0.0 05:26:28 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 05:26:28 go: downloading github.com/x448/float16 v0.8.4 05:26:28 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 05:26:28 go: downloading github.com/go-playground/assert/v2 v2.0.1 05:26:28 go: downloading github.com/gorilla/websocket v1.4.2 05:26:28 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 05:26:29 go: downloading github.com/mitchellh/copystructure v1.0.0 05:26:29 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 05:26:29 go: downloading github.com/hashicorp/go-hclog v0.12.0 05:26:29 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 05:26:29 go: downloading github.com/hashicorp/serf v0.9.5 05:26:29 go: downloading github.com/mitchellh/mapstructure v1.1.2 05:26:29 go: downloading github.com/hashicorp/consul/sdk v0.8.0 05:26:29 go: downloading github.com/hashicorp/go-uuid v1.0.1 05:26:29 go: downloading github.com/go-redis/redis/v7 v7.3.0 05:26:29 go: downloading github.com/pebbe/zmq4 v1.2.7 05:26:29 go: downloading github.com/kr/pretty v0.3.0 05:26:29 go: downloading golang.org/x/sys v0.0.0-20210917161153-d61c044b1678 05:26:29 go: downloading github.com/mitchellh/reflectwalk v1.0.0 05:26:29 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 05:26:29 go: downloading github.com/fatih/color v1.9.0 05:26:29 go: downloading github.com/mattn/go-colorable v0.1.6 05:26:29 go: downloading github.com/mattn/go-isatty v0.0.12 05:26:29 go: downloading github.com/mitchellh/go-homedir v1.1.0 05:26:29 go: downloading github.com/pkg/errors v0.9.1 05:26:29 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 05:26:29 go: downloading github.com/hashicorp/go-msgpack v0.5.3 05:26:29 go: downloading github.com/hashicorp/memberlist v0.2.2 05:26:29 go: downloading github.com/kr/text v0.2.0 05:26:29 go: downloading github.com/rogpeppe/go-internal v1.8.0 05:26:29 go: downloading github.com/onsi/ginkgo v1.10.1 05:26:29 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 05:26:29 go: downloading github.com/onsi/gomega v1.7.0 05:26:29 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 05:26:29 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 05:26:29 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 05:26:29 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 05:26:29 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 05:26:29 go: downloading github.com/miekg/dns v1.1.26 05:26:29 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 05:26:29 go: downloading github.com/hashicorp/golang-lru v0.5.0 05:26:29 go: downloading gopkg.in/yaml.v2 v2.3.0 05:26:29 go: downloading github.com/hpcloud/tail v1.0.0 05:26:29 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 05:26:29 go: downloading gopkg.in/fsnotify.v1 v1.4.7 05:26:29 go: downloading github.com/stretchr/testify v1.7.1 05:26:29 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 05:26:30 Still waiting to schedule task 05:26:30 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:26:36 make[1]: Leaving directory '/w/workspace/dry_app-functions-sdk-go_PR-1060/app-service-template' 05:26:36 make -C ./app-service-template test 05:26:36 make[1]: Entering directory '/w/workspace/dry_app-functions-sdk-go_PR-1060/app-service-template' 05:26:36 CGO_ENABLED=1 go test -race -coverprofile=coverage.out ./... 05:26:54 ok new-app-service 0.060s coverage: 48.1% of statements 05:26:54 ? new-app-service/config [no test files] 05:26:54 ok new-app-service/functions 0.050s 05:26:54 CGO_ENABLED=1 go vet ./... 05:26:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:26:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:26:55 ./bin/test-attribution-txt.sh 05:26:56 make[1]: Leaving directory '/w/workspace/dry_app-functions-sdk-go_PR-1060/app-service-template' 05:26:56 CGO_ENABLED=1 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:26:56 go: downloading github.com/gomodule/redigo v1.8.8 05:26:57 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 05:26:59 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.098s coverage: 63.8% of statements 05:26:59 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.085s coverage: 93.7% of statements 05:26:59 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 05:26:59 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.099s coverage: 76.5% of statements 05:26:59 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 05:26:59 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.068s 05:26:59 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.062s coverage: 100.0% of statements 05:26:59 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.145s coverage: 78.3% of statements 05:26:59 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 05:26:59 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 05:26:59 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.092s coverage: 97.3% of statements 05:26:59 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 05:26:59 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] 05:26:59 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.079s coverage: 91.8% of statements 05:26:59 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] 05:26:59 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 0.713s coverage: 80.4% of statements 05:26:59 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] 05:26:59 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] 05:26:59 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.100s coverage: 29.3% of statements 05:26:59 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] 05:26:59 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.058s coverage: 14.3% of statements 05:26:59 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.049s coverage: 27.3% of statements 05:26:59 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 05:26:59 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 05:26:59 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.064s coverage: 51.4% of statements 05:27:26 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.169s coverage: 78.2% of statements 05:27:26 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.053s coverage: 94.4% of statements 05:27:26 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:27:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:27:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 05:27:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:27:33 $ docker stop --time=1 b9723bc3beac1b03867d87123a23840bcc153188300883e34c2667fef829fd1c 05:27:34 $ docker rm -f b9723bc3beac1b03867d87123a23840bcc153188300883e34c2667fef829fd1c [Pipeline] // withDockerContainer [Pipeline] sh 05:27:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:27:35 Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:27:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:27:36 05:27:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 05:27:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:27:36 latest: Pulling from edgex-lftools-log-publisher 05:27:36 5eb5b503b376: Pulling fs layer 05:27:36 5c69ac0246d0: Pulling fs layer 05:27:36 ec43610c2a17: Pulling fs layer 05:27:36 3a2ae6a8a46f: Pulling fs layer 05:27:36 33b1e0a273af: Pulling fs layer 05:27:36 5d3b04190fa2: Pulling fs layer 05:27:36 2f39f015ded8: Pulling fs layer 05:27:36 3a2ae6a8a46f: Waiting 05:27:36 5d3b04190fa2: Waiting 05:27:36 33b1e0a273af: Waiting 05:27:36 2f39f015ded8: Waiting 05:27:36 5c69ac0246d0: Download complete 05:27:36 3a2ae6a8a46f: Download complete 05:27:36 33b1e0a273af: Verifying Checksum 05:27:36 33b1e0a273af: Download complete 05:27:36 5d3b04190fa2: Download complete 05:27:36 ec43610c2a17: Verifying Checksum 05:27:36 ec43610c2a17: Download complete 05:27:36 5eb5b503b376: Verifying Checksum 05:27:36 5eb5b503b376: Download complete 05:27:37 2f39f015ded8: Verifying Checksum 05:27:37 2f39f015ded8: Download complete 05:27:38 5eb5b503b376: Pull complete 05:27:38 5c69ac0246d0: Pull complete 05:27:38 ec43610c2a17: Pull complete 05:27:39 3a2ae6a8a46f: Pull complete 05:27:39 33b1e0a273af: Pull complete 05:27:39 5d3b04190fa2: Pull complete 05:27:44 2f39f015ded8: Pull complete 05:27:44 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:27:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:27:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 05:27:44 prd-ubuntu20.04-docker-8c-8g-7788 does not seem to be running inside a container 05:27:44 $ 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-1060 -v /w/workspace/dry_app-functions-sdk-go_PR-1060:/w/workspace/dry_app-functions-sdk-go_PR-1060:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1060@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1060@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:27:47 $ docker top e618d22d3efd788221dbbd733c88f82bdaa57989cad3b079a06e4acfc256b276 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:27:47 ---> job-cost.sh 05:27:47 lf-activate-venv: SKIPPING 05:27:47 INFO: No Stack... 05:27:48 INFO: Retrieving Pricing Info for: v3-standard-8 05:27:48 INFO: Archiving Costs [Pipeline] sh 05:27:48 + cat /w/workspace/dry_app-functions-sdk-go_PR-1060/archives/cost.csv 05:27:48 + cut -d, -f6 [Pipeline] lock 05:27:48 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1060-1-stack-cost] 05:27:48 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1060-1-stack-cost] did not exist. Created. 05:27:48 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1060-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:27:49 + echo total: 0.2199999988079071 [Pipeline] stash 05:27:49 Stashed 1 file(s) [Pipeline] } 05:27:49 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1060-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:27:49 $ docker stop --time=1 e618d22d3efd788221dbbd733c88f82bdaa57989cad3b079a06e4acfc256b276 05:27:50 $ docker rm -f e618d22d3efd788221dbbd733c88f82bdaa57989cad3b079a06e4acfc256b276 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:28:09 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7789 in /w/workspace/dry_app-functions-sdk-go_PR-1060 [Pipeline] { [Pipeline] ws 05:28:09 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:28:09 The recommended git tool is: git 05:28:16 using credential edgex-jenkins-ssh 05:28:16 Cloning the remote Git repository 05:28:16 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 05:28:17 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 05:28:17 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 05:28:17 > git --version # timeout=10 05:28:17 > git --version # 'git version 2.25.1' 05:28:17 using GIT_SSH to set credentials SSH Credentials for GitHub 05:28:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:28:21 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 05:28:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:28:21 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 05:28:21 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 05:28:21 using GIT_SSH to set credentials SSH Credentials for GitHub 05:28:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/1060/head:refs/remotes/origin/PR-1060 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:28:21 Merging remotes/origin/main commit 79ebb605b9be8ec14e621d71e04271fa966125ac into PR head commit fffe9b9da50ad4a6c28981a3051999a0a808b859 05:28:22 Merge succeeded, producing fffe9b9da50ad4a6c28981a3051999a0a808b859 05:28:22 Checking out Revision fffe9b9da50ad4a6c28981a3051999a0a808b859 (PR-1060) 05:28:21 > git config core.sparsecheckout # timeout=10 05:28:21 > git checkout -f fffe9b9da50ad4a6c28981a3051999a0a808b859 # timeout=10 05:28:22 > git remote # timeout=10 05:28:22 > git config --get remote.origin.url # timeout=10 05:28:22 using GIT_SSH to set credentials SSH Credentials for GitHub 05:28:22 > git merge 79ebb605b9be8ec14e621d71e04271fa966125ac # timeout=10 05:28:22 > git rev-parse HEAD^{commit} # timeout=10 05:28:22 > git config core.sparsecheckout # timeout=10 05:28:22 > git checkout -f fffe9b9da50ad4a6c28981a3051999a0a808b859 # timeout=10 05:28:26 Commit message: "refactor: Improve the code readability for the change of issue #1046" 05:28:26 > git --version # timeout=10 05:28:26 > git --version # 'git version 2.25.1' 05:28:26 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:28:27 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:28:27 % Total % Received % Xferd Average Speed Time Time Time Current 05:28:27 Dload Upload Total Spent Left Speed 05:28:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 50611 0 --:--:-- --:--:-- --:--:-- 50611 [Pipeline] sh 05:28:28 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:28:28 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:28:28 + sudo tee /etc/docker/daemon.new 05:28:28 { 05:28:28 "registry-mirrors": [ 05:28:28 "https://nexus3.edgexfoundry.org:10001" 05:28:28 ], 05:28:28 "bip": "10.250.0.254/24", 05:28:28 "hosts": [ 05:28:28 "tcp://0.0.0.0:5555", 05:28:28 "unix:///var/run/docker.sock" 05:28:28 ], 05:28:28 "mtu": 1458, 05:28:28 "selinux-enabled": true, 05:28:28 "seccomp-profile": "/etc/docker/seccomp.json" 05:28:28 } [Pipeline] sh 05:28:29 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:28:29 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 05:28:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:28:48 ========================================================= 05:28:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 05:28:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 05:28:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 05:28:49 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:28:49 9b3977197b4f: Pulling fs layer 05:28:49 1a89e8eeedd5: Pulling fs layer 05:28:49 94645a83ff95: Pulling fs layer 05:28:49 3f3a8bcf1eab: Pulling fs layer 05:28:49 0c92f367c5e7: Pulling fs layer 05:28:49 f7c0051592d6: Pulling fs layer 05:28:49 a227ed2f7395: Pulling fs layer 05:28:49 7b1c46037f91: Pulling fs layer 05:28:49 3f3a8bcf1eab: Waiting 05:28:49 a227ed2f7395: Waiting 05:28:49 f7c0051592d6: Waiting 05:28:49 0c92f367c5e7: Waiting 05:28:49 7b1c46037f91: Waiting 05:28:49 94645a83ff95: Verifying Checksum 05:28:49 94645a83ff95: Download complete 05:28:49 1a89e8eeedd5: Verifying Checksum 05:28:49 1a89e8eeedd5: Download complete 05:28:49 0c92f367c5e7: Verifying Checksum 05:28:49 0c92f367c5e7: Download complete 05:28:49 f7c0051592d6: Verifying Checksum 05:28:49 f7c0051592d6: Download complete 05:28:49 9b3977197b4f: Download complete 05:28:49 a227ed2f7395: Verifying Checksum 05:28:49 a227ed2f7395: Download complete 05:28:49 9b3977197b4f: Pull complete 05:28:50 1a89e8eeedd5: Pull complete 05:28:50 94645a83ff95: Pull complete 05:28:51 7b1c46037f91: Verifying Checksum 05:28:51 7b1c46037f91: Download complete 05:28:51 3f3a8bcf1eab: Verifying Checksum 05:28:51 3f3a8bcf1eab: Download complete 05:29:04 3f3a8bcf1eab: Pull complete 05:29:04 0c92f367c5e7: Pull complete 05:29:04 f7c0051592d6: Pull complete 05:29:04 a227ed2f7395: Pull complete 05:29:11 7b1c46037f91: Pull complete 05:29:11 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 05:29:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 05:29:11 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] sh 05:29:11 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 05:29:11 + docker inspect -f . ci-base-image-arm64 05:29:11 . [Pipeline] withDockerContainer 05:29:11 prd-ubuntu20.04-docker-arm64-4c-16g-7789 does not seem to be running inside a container 05:29:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:29:14 $ docker top 8450be7eb43600cff02fa67dd38108b22ab73ef8942bd3072cdecd13e0f4f3e3 -eo pid,comm [Pipeline] { [Pipeline] sh 05:29:15 + go version 05:29:15 go version go1.17.6 linux/arm64 [Pipeline] } 05:29:15 $ docker stop --time=1 8450be7eb43600cff02fa67dd38108b22ab73ef8942bd3072cdecd13e0f4f3e3 05:29:17 $ docker rm -f 8450be7eb43600cff02fa67dd38108b22ab73ef8942bd3072cdecd13e0f4f3e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:29:18 + docker inspect -f . ci-base-image-arm64 05:29:18 . [Pipeline] withDockerContainer 05:29:18 prd-ubuntu20.04-docker-arm64-4c-16g-7789 does not seem to be running inside a container 05:29:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:29:19 $ docker top c7464b8ac20a52502cd567355764f289a2ea59c080cbec54780c32563675ca97 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:29:20 + make test 05:29:20 make -C ./app-service-template build 05:29:20 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 05:29:20 go mod tidy 05:29:20 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0-dev.11 05:29:20 go: downloading github.com/google/uuid v1.3.0 05:29:20 go: downloading github.com/stretchr/testify v1.7.0 05:29:21 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.1-dev.28 05:29:21 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0-dev.8 05:29:21 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 05:29:21 go: downloading github.com/davecgh/go-spew v1.1.1 05:29:21 go: downloading github.com/pmezard/go-difflib v1.0.0 05:29:21 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 05:29:21 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 05:29:21 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 05:29:21 go: downloading github.com/stretchr/objx v0.1.1 05:29:21 go: downloading github.com/go-playground/validator/v10 v10.10.0 05:29:21 go: downloading github.com/go-kit/log v0.2.0 05:29:21 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.0 05:29:21 go: downloading github.com/gorilla/mux v1.8.0 05:29:21 go: downloading github.com/hashicorp/go-multierror v1.1.1 05:29:21 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 05:29:21 go: downloading github.com/mitchellh/copystructure v1.0.0 05:29:21 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 05:29:21 go: downloading github.com/gorilla/websocket v1.4.2 05:29:21 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 05:29:21 go: downloading github.com/pelletier/go-toml v1.9.4 05:29:22 go: downloading github.com/go-logfmt/logfmt v0.5.1 05:29:22 go: downloading github.com/hashicorp/consul/api v1.9.1 05:29:22 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 05:29:22 go: downloading github.com/hashicorp/errwrap v1.0.0 05:29:22 go: downloading github.com/go-playground/universal-translator v0.18.0 05:29:22 go: downloading github.com/leodido/go-urn v1.2.1 05:29:22 go: downloading golang.org/x/crypto v0.0.0-20210915214749-c084706c2272 05:29:22 go: downloading golang.org/x/text v0.3.7 05:29:23 go: downloading github.com/go-playground/locales v0.14.0 05:29:23 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 05:29:23 go: downloading github.com/go-playground/assert/v2 v2.0.1 05:29:25 go: downloading github.com/mitchellh/reflectwalk v1.0.0 05:29:26 go: downloading github.com/x448/float16 v0.8.4 05:29:26 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 05:29:26 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 05:29:26 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 05:29:26 go: downloading github.com/hashicorp/serf v0.9.5 05:29:26 go: downloading github.com/mitchellh/mapstructure v1.1.2 05:29:26 go: downloading github.com/hashicorp/go-hclog v0.12.0 05:29:26 go: downloading github.com/hashicorp/consul/sdk v0.8.0 05:29:26 go: downloading github.com/hashicorp/go-uuid v1.0.1 05:29:26 go: downloading golang.org/x/sys v0.0.0-20210917161153-d61c044b1678 05:29:26 go: downloading github.com/kr/pretty v0.3.0 05:29:26 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 05:29:26 go: downloading github.com/go-redis/redis/v7 v7.3.0 05:29:26 go: downloading github.com/pebbe/zmq4 v1.2.7 05:29:26 go: downloading github.com/mitchellh/go-homedir v1.1.0 05:29:26 go: downloading github.com/fatih/color v1.9.0 05:29:26 go: downloading github.com/mattn/go-colorable v0.1.6 05:29:26 go: downloading github.com/mattn/go-isatty v0.0.12 05:29:26 go: downloading github.com/pkg/errors v0.9.1 05:29:26 go: downloading github.com/kr/text v0.2.0 05:29:26 go: downloading github.com/rogpeppe/go-internal v1.8.0 05:29:27 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 05:29:27 go: downloading github.com/onsi/ginkgo v1.10.1 05:29:27 go: downloading github.com/onsi/gomega v1.7.0 05:29:27 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 05:29:27 go: downloading github.com/hashicorp/go-msgpack v0.5.3 05:29:27 go: downloading github.com/hashicorp/memberlist v0.2.2 05:29:27 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 05:29:27 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 05:29:27 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 05:29:27 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 05:29:27 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 05:29:27 go: downloading github.com/miekg/dns v1.1.26 05:29:27 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 05:29:27 go: downloading gopkg.in/yaml.v2 v2.3.0 05:29:27 go: downloading github.com/hashicorp/golang-lru v0.5.0 05:29:27 go: downloading github.com/hpcloud/tail v1.0.0 05:29:27 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 05:29:27 go: downloading gopkg.in/fsnotify.v1 v1.4.7 05:29:28 go: downloading github.com/stretchr/testify v1.7.1 05:29:28 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 05:30:07 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 05:30:07 make -C ./app-service-template test 05:30:07 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 05:30:07 CGO_ENABLED=1 go test -race -coverprofile=coverage.out ./... 05:31:44 ok new-app-service 0.254s coverage: 48.1% of statements 05:31:44 ? new-app-service/config [no test files] 05:31:44 ok new-app-service/functions 0.176s 05:31:44 CGO_ENABLED=1 go vet ./... 05:32:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:32:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:32:02 ./bin/test-attribution-txt.sh 05:32:05 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 05:32:05 CGO_ENABLED=1 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:32:05 go: downloading github.com/gomodule/redigo v1.8.8 05:32:07 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 05:32:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.627s coverage: 63.8% of statements 05:32:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.222s coverage: 93.7% of statements 05:32:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 05:32:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.387s coverage: 76.5% of statements 05:32:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 05:32:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.192s 05:32:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.129s coverage: 100.0% of statements 05:32:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.461s coverage: 78.3% of statements 05:32:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 05:32:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 05:32:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.250s coverage: 97.3% of statements 05:32:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 05:32:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] 05:32:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.255s coverage: 91.8% of statements 05:32:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] 05:32:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 0.987s coverage: 80.4% of statements 05:32:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] 05:32:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] 05:32:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.373s coverage: 29.3% of statements 05:32:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] 05:32:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.224s coverage: 14.3% of statements 05:32:29 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.176s coverage: 27.3% of statements 05:32:29 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 05:32:29 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 05:32:29 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.281s coverage: 51.4% of statements 05:32:56 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.585s coverage: 78.2% of statements 05:32:56 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.188s coverage: 94.4% of statements 05:32:56 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:33:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:33:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:33:03 WARNING: Linting skipped (not on x86_64 or linter not installed) [Pipeline] echo 05:33:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:33:03 $ docker stop --time=1 c7464b8ac20a52502cd567355764f289a2ea59c080cbec54780c32563675ca97 05:33:05 $ docker rm -f c7464b8ac20a52502cd567355764f289a2ea59c080cbec54780c32563675ca97 [Pipeline] // withDockerContainer [Pipeline] sh 05:33:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:33:08 Warning: overwriting stash ‘coverage-report’ 05:33:08 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 05:33:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:33:09 05:33:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 05:33:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:33:10 arm64: Pulling from edgex-lftools-log-publisher 05:33:10 8998bd30e6a1: Pulling fs layer 05:33:10 04944245beec: Pulling fs layer 05:33:10 699f458cf7ca: Pulling fs layer 05:33:10 765212b225bb: Pulling fs layer 05:33:10 f23df028b6ca: Pulling fs layer 05:33:10 d65c8cfc05b1: Pulling fs layer 05:33:10 2437ff75d9bd: Pulling fs layer 05:33:10 765212b225bb: Waiting 05:33:10 f23df028b6ca: Waiting 05:33:10 d65c8cfc05b1: Waiting 05:33:10 2437ff75d9bd: Waiting 05:33:10 04944245beec: Verifying Checksum 05:33:10 04944245beec: Download complete 05:33:10 765212b225bb: Verifying Checksum 05:33:10 765212b225bb: Download complete 05:33:10 f23df028b6ca: Verifying Checksum 05:33:10 f23df028b6ca: Download complete 05:33:10 d65c8cfc05b1: Verifying Checksum 05:33:10 d65c8cfc05b1: Download complete 05:33:10 699f458cf7ca: Verifying Checksum 05:33:10 699f458cf7ca: Download complete 05:33:10 8998bd30e6a1: Download complete 05:33:13 2437ff75d9bd: Verifying Checksum 05:33:13 2437ff75d9bd: Download complete 05:33:15 8998bd30e6a1: Pull complete 05:33:16 04944245beec: Pull complete 05:33:17 699f458cf7ca: Pull complete 05:33:17 765212b225bb: Pull complete 05:33:18 f23df028b6ca: Pull complete 05:33:18 d65c8cfc05b1: Pull complete 05:33:34 2437ff75d9bd: Pull complete 05:33:34 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:33:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:33:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 05:33:34 prd-ubuntu20.04-docker-arm64-4c-16g-7789 does not seem to be running inside a container 05:33:34 $ 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/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@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:10003/edgex-lftools-log-publisher:arm64 cat 05:33:36 $ docker top 7f7fc26b8b01198ef14c3b2b492413b7f3508780a03f286937010a826b1f0c29 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:33:37 ---> job-cost.sh 05:33:37 lf-activate-venv: SKIPPING 05:33:37 INFO: No Stack... 05:33:38 INFO: Retrieving Pricing Info for: v3-standard-4 05:33:39 INFO: Archiving Costs [Pipeline] sh 05:33:40 + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv 05:33:40 + cut -d, -f6 [Pipeline] lock 05:33:40 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1060-1-stack-cost] 05:33:40 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1060-1-stack-cost] did not exist. Created. 05:33:40 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1060-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:33:40 /w/workspace/app-functions-sdk-go/1@tmp/durable-1b15cd30/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:33:41 + echo total: 0.10999999940395355 [Pipeline] stash 05:33:41 Warning: overwriting stash ‘stack-cost’ 05:33:41 Stashed 1 file(s) [Pipeline] } 05:33:41 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1060-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:33:41 $ docker stop --time=1 7f7fc26b8b01198ef14c3b2b492413b7f3508780a03f286937010a826b1f0c29 05:33:43 $ docker rm -f 7f7fc26b8b01198ef14c3b2b492413b7f3508780a03f286937010a826b1f0c29 [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 05:33:44 provisioning config files... 05:33:44 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/dry_app-functions-sdk-go_PR-1060@tmp/config8356279655161528099tmp [Pipeline] { [Pipeline] sh 05:33:44 + set +x 05:33:44 + curl -s https://codecov.io/bash 05:33:44 + bash -s -- 05:33:44 05:33:44 _____ _ 05:33:44 / ____| | | 05:33:44 | | ___ __| | ___ ___ _____ __ 05:33:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:33:44 | |___| (_) | (_| | __/ (_| (_) \ V / 05:33:44 \_____\___/ \__,_|\___|\___\___/ \_/ 05:33:44 Bash-1.0.6 05:33:44 05:33:44 05:33:44 ==> git version 2.25.1 found 05:33:44 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 05:33:44 Release-Date: 2020-01-08 05:33:44 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:33:44 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:33:44 ==> Jenkins CI detected. 05:33:44 current dir:  /w/workspace/dry_app-functions-sdk-go_PR-1060 05:33:44 project root: . 05:33:44 --> token set from env 05:33:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:33:44 ==> Running gcov in . (disable via -X gcov) 05:33:44 ==> Python coveragepy not found 05:33:44 ==> Searching for coverage reports in: 05:33:44 + . 05:33:44 -> Found 2 reports 05:33:44 ==> Detecting git/mercurial file structure 05:33:44 ==> Reading reports 05:33:44 + ./app-service-template/coverage.out bytes=1222 05:33:44 + ./coverage.out bytes=112101 05:33:44 ==> Appending adjustments 05:33:44 https://docs.codecov.io/docs/fixing-reports 05:33:45 + Found adjustments 05:33:45 ==> Gzipping contents 05:33:45 20K /tmp/codecov.05X1fn.gz 05:33:45 ==> Uploading reports 05:33:45 url: https://codecov.io 05:33:45 query: branch=PR-1060&commit=fffe9b9da50ad4a6c28981a3051999a0a808b859&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-1060%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=1060&job=&cmd_args= 05:33:45 -> Pinging Codecov 05:33:45 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=17ebf437-e483-4174-b11b-49c3772ebb45&branch=PR-1060&commit=fffe9b9da50ad4a6c28981a3051999a0a808b859&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-1060%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=1060&job=&cmd_args= 05:33:45 -> Uploading to 05:33:45 https://storage.googleapis.com/codecov/v4/raw/2022-03-17/3D8B5DFFC46A037C893635FACE044666/fffe9b9da50ad4a6c28981a3051999a0a808b859/f8e67f9b-d58e-41a4-9036-feb5c0e6df13.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220317%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220317T053345Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ff06c292313187a8c22a9649047d04a1e485fae832a6c86316dc5ce8e12e4f5d 05:33:45 % Total % Received % Xferd Average Speed Time Time Time Current 05:33:45 Dload Upload Total Spent Left Speed 05:33:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19865 0 0 100 19865 0 71974 --:--:-- --:--:-- --:--:-- 71974 05:33:45 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/fffe9b9da50ad4a6c28981a3051999a0a808b859 [Pipeline] } 05:33:45 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 05:33:47 + [ -d /w/workspace/dry_app-functions-sdk-go_PR-1060/archives ] 05:33:47 + ls -al /w/workspace/dry_app-functions-sdk-go_PR-1060/archives 05:33:47 total 16 05:33:47 drwxr-xr-x 3 root root 4096 Mar 17 05:27 . 05:33:47 drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 05:27 .. 05:33:47 drwxr-xr-x 2 root root 4096 Mar 17 05:27 cost 05:33:47 -rw-r--r-- 1 root root 92 Mar 17 05:27 cost.csv 05:33:47 + sudo chown -R jenkins:jenkins /w/workspace/dry_app-functions-sdk-go_PR-1060/archives 05:33:47 + ls -al /w/workspace/dry_app-functions-sdk-go_PR-1060/archives 05:33:47 total 16 05:33:47 drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 05:27 . 05:33:47 drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 05:27 .. 05:33:47 drwxr-xr-x 2 jenkins jenkins 4096 Mar 17 05:27 cost 05:33:47 -rw-r--r-- 1 jenkins jenkins 92 Mar 17 05:27 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:33:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:33:48 ---> package-listing.sh 05:33:48 ++ facter osfamily 05:33:48 ++ tr '[:upper:]' '[:lower:]' 05:33:48 + OS_FAMILY=debian 05:33:48 + workspace=/w/workspace/dry_app-functions-sdk-go_PR-1060 05:33:48 + START_PACKAGES=/tmp/packages_start.txt 05:33:48 + END_PACKAGES=/tmp/packages_end.txt 05:33:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:33:48 + PACKAGES=/tmp/packages_start.txt 05:33:48 + '[' /w/workspace/dry_app-functions-sdk-go_PR-1060 ']' 05:33:48 + PACKAGES=/tmp/packages_end.txt 05:33:48 + case "${OS_FAMILY}" in 05:33:48 + dpkg -l 05:33:48 + grep '^ii' 05:33:48 + '[' -f /tmp/packages_start.txt ']' 05:33:48 + '[' -f /tmp/packages_end.txt ']' 05:33:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:33:48 + '[' /w/workspace/dry_app-functions-sdk-go_PR-1060 ']' 05:33:48 + mkdir -p /w/workspace/dry_app-functions-sdk-go_PR-1060/archives/ 05:33:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_app-functions-sdk-go_PR-1060/archives/ [Pipeline] echo 05:33:48 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -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-1060/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:33:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:33:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:33:49 . [Pipeline] withDockerContainer 05:33:49 prd-ubuntu20.04-docker-8c-8g-7788 does not seem to be running inside a container 05:33:49 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -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-1060/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-1060 -v /w/workspace/dry_app-functions-sdk-go_PR-1060:/w/workspace/dry_app-functions-sdk-go_PR-1060:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1060@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1060@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:33:50 $ docker top f5e8121a2ea9e5576167ef86566c9957bf84090c56aac31560ce1cfb756c87bb -eo pid,comm [Pipeline] { [Pipeline] sh 05:33:50 + touch /tmp/pre-build-complete [Pipeline] sh 05:33:50 + mkdir -p /var/log/sysstat [Pipeline] sh 05:33:51 + ls /var/log/sa-host 05:33:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:33:51 provisioning config files... 05:33:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_app-functions-sdk-go_PR-1060@tmp/config7529948420698152622tmp [Pipeline] { [Pipeline] echo 05:33:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:33:51 ---> create-netrc.sh [Pipeline] } 05:33:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:33:52 ---> python-tools-install.sh [Pipeline] echo 05:33:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:33:52 ---> sudo-logs.sh 05:33:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:33:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:33:52 ---> job-cost.sh 05:33:52 lf-activate-venv: SKIPPING 05:33:52 DEBUG: total: 0.2199999988079071 05:33:52 INFO: Retrieving Stack Cost... 05:33:53 INFO: Retrieving Pricing Info for: v3-standard-8 05:33:53 INFO: Archiving Costs [Pipeline] echo 05:33:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:33:54 ---> logs-deploy.sh 05:33:54 lf-activate-venv: SKIPPING 05:33:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-1060/1 05:33:54 INFO: archiving workspace using pattern(s): 05:33:55 Archives upload complete. 05:33:55 INFO: archiving logs to Nexus 05:33:55 ---> uname -a: 05:33:55 Linux prd-ubuntu20-04-docker-8c-8g-7788 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 05:33:55 05:33:55 05:33:55 ---> lscpu: 05:33:55 Architecture: x86_64 05:33:55 CPU op-mode(s): 32-bit, 64-bit 05:33:55 Byte Order: Little Endian 05:33:55 Address sizes: 40 bits physical, 48 bits virtual 05:33:55 CPU(s): 8 05:33:55 On-line CPU(s) list: 0-7 05:33:55 Thread(s) per core: 1 05:33:55 Core(s) per socket: 1 05:33:55 Socket(s): 8 05:33:55 NUMA node(s): 1 05:33:55 Vendor ID: AuthenticAMD 05:33:55 CPU family: 23 05:33:55 Model: 49 05:33:55 Model name: AMD EPYC-Rome Processor 05:33:55 Stepping: 0 05:33:55 CPU MHz: 2799.998 05:33:55 BogoMIPS: 5599.99 05:33:55 Virtualization: AMD-V 05:33:55 Hypervisor vendor: KVM 05:33:55 Virtualization type: full 05:33:55 L1d cache: 256 KiB 05:33:55 L1i cache: 256 KiB 05:33:55 L2 cache: 4 MiB 05:33:55 L3 cache: 128 MiB 05:33:55 NUMA node0 CPU(s): 0-7 05:33:55 Vulnerability Itlb multihit: Not affected 05:33:55 Vulnerability L1tf: Not affected 05:33:55 Vulnerability Mds: Not affected 05:33:55 Vulnerability Meltdown: Not affected 05:33:55 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 05:33:55 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 05:33:55 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 05:33:55 Vulnerability Srbds: Not affected 05:33:55 Vulnerability Tsx async abort: Not affected 05:33:55 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 rep_good nopl cpuid extd_apicid tsc_known_freq 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 ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 05:33:55 05:33:55 05:33:55 ---> nproc: 05:33:55 8 05:33:55 05:33:55 05:33:55 ---> df -h: 05:33:55 Filesystem Size Used Avail Use% Mounted on 05:33:55 overlay 155G 9.9G 146G 7% / 05:33:55 tmpfs 64M 0 64M 0% /dev 05:33:55 tmpfs 16G 0 16G 0% /sys/fs/cgroup 05:33:55 shm 64M 0 64M 0% /dev/shm 05:33:55 /dev/vda1 155G 9.9G 146G 7% /facter-os 05:33:55 05:33:55 05:33:55 ---> sar -b -r -n DEV: 05:33:55 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-7788) 03/17/22 _x86_64_ (8 CPU) 05:33:55 05:33:55 05:25:22 LINUX RESTART (8 CPU) 05:33:55 05:33:55 05:26:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 05:33:55 05:27:01 85.82 10.71 75.10 0.00 1926.88 71489.29 0.00 05:33:55 05:28:01 59.68 0.05 59.63 0.00 1.07 30830.81 0.00 05:33:55 05:29:01 1.83 0.00 1.83 0.00 0.00 21.46 0.00 05:33:55 05:30:01 1.40 0.00 1.40 0.00 0.00 16.93 0.00 05:33:55 05:31:01 1.25 0.03 1.22 0.00 0.40 13.46 0.00 05:33:55 05:32:01 1.50 0.00 1.50 0.00 0.00 18.26 0.00 05:33:55 05:33:01 0.95 0.00 0.95 0.00 0.00 12.26 0.00 05:33:55 Average: 21.78 1.54 20.23 0.00 275.47 14629.31 0.00 05:33:55 05:33:55 05:26:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 05:33:55 05:27:01 28813328 31747540 549492 1.67 107608 3079892 2029516 5.98 1409240 2259264 406172 05:33:55 05:28:01 28777968 31790244 510548 1.55 112684 3145332 1799048 5.30 1244492 2453876 412 05:33:55 05:29:01 28778448 31790792 509924 1.55 112740 3145336 1799048 5.30 1244696 2453880 172 05:33:55 05:30:01 28779352 31791728 508952 1.55 112772 3145336 1799048 5.30 1243396 2453880 212 05:33:55 05:31:01 28785176 31797776 502940 1.53 112820 3145344 1799048 5.30 1236920 2454044 24 05:33:55 05:32:01 28786128 31799000 501552 1.53 112860 3145480 1799048 5.30 1236856 2454164 212 05:33:55 05:33:01 28790184 31803080 497468 1.51 112880 3145488 1799048 5.30 1232396 2454168 20 05:33:55 Average: 28787226 31788594 511554 1.56 112052 3136030 1831972 5.40 1263999 2426182 58175 05:33:55 05:33:55 05:26:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 05:33:55 05:27:01 lo 2.13 2.13 0.21 0.21 0.00 0.00 0.00 0.00 05:33:55 05:27:01 ens3 295.82 254.29 4441.79 51.23 0.00 0.00 0.00 0.00 05:33:55 05:27:01 vethb2f0da3 46.53 56.67 4.41 412.61 0.00 0.00 0.00 0.03 05:33:55 05:27:01 docker0 147.84 113.73 13.20 766.30 0.00 0.00 0.00 0.00 05:33:55 05:28:01 lo 1.33 1.33 0.13 0.13 0.00 0.00 0.00 0.00 05:33:55 05:28:01 ens3 142.09 120.48 2531.67 67.90 0.00 0.00 0.00 0.00 05:33:55 05:28:01 docker0 0.05 0.03 0.00 0.00 0.00 0.00 0.00 0.00 05:33:55 05:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:33:55 05:29:01 ens3 0.45 0.23 0.26 0.19 0.00 0.00 0.00 0.00 05:33:55 05:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:33:55 05:30:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 05:33:55 05:30:01 ens3 10.90 5.07 9.58 0.37 0.00 0.00 0.00 0.00 05:33:55 05:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:33:55 05:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:33:55 05:31:01 ens3 0.60 0.13 0.12 0.07 0.00 0.00 0.00 0.00 05:33:55 05:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:33:55 05:32:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 05:33:55 05:32:01 ens3 1.50 0.78 0.71 0.48 0.00 0.00 0.00 0.00 05:33:55 05:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:33:55 05:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:33:55 05:33:01 ens3 0.05 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:33:55 05:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:33:55 Average: lo 0.55 0.55 0.05 0.05 0.00 0.00 0.00 0.00 05:33:55 Average: ens3 64.49 54.43 997.77 17.18 0.00 0.00 0.00 0.00 05:33:55 Average: docker0 21.13 16.25 1.89 109.47 0.00 0.00 0.00 0.00 05:33:55 05:33:55 05:33:55 ---> sar -P ALL: 05:33:55 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-7788) 03/17/22 _x86_64_ (8 CPU) 05:33:55 05:33:55 05:25:22 LINUX RESTART (8 CPU) 05:33:55 05:33:55 05:26:01 CPU %user %nice %system %iowait %steal %idle 05:33:55 05:27:01 all 28.77 0.00 6.14 0.70 0.08 64.32 05:33:55 05:27:01 0 28.81 0.00 5.71 0.17 0.07 65.24 05:33:55 05:27:01 1 29.72 0.00 6.18 0.51 0.08 63.51 05:33:55 05:27:01 2 28.82 0.00 6.24 0.20 0.08 64.65 05:33:55 05:27:01 3 29.04 0.00 6.24 0.34 0.08 64.29 05:33:55 05:27:01 4 29.51 0.00 5.87 1.64 0.07 62.91 05:33:55 05:27:01 5 27.76 0.00 6.83 0.19 0.07 65.16 05:33:55 05:27:01 6 28.16 0.00 5.96 0.17 0.07 65.65 05:33:55 05:27:01 7 28.31 0.00 6.09 2.40 0.08 63.11 05:33:55 05:28:01 all 10.34 0.00 2.18 0.77 0.04 86.68 05:33:55 05:28:01 0 11.30 0.00 2.26 0.05 0.05 86.34 05:33:55 05:28:01 1 10.71 0.00 1.88 0.76 0.03 86.62 05:33:55 05:28:01 2 10.20 0.00 2.14 0.03 0.03 87.59 05:33:55 05:28:01 3 10.54 0.00 1.87 0.02 0.03 87.53 05:33:55 05:28:01 4 10.12 0.00 2.20 0.13 0.03 87.51 05:33:55 05:28:01 5 10.01 0.00 1.83 0.05 0.03 88.08 05:33:55 05:28:01 6 9.64 0.00 2.16 0.12 0.03 88.05 05:33:55 05:28:01 7 10.18 0.00 3.08 5.02 0.03 81.69 05:33:55 05:29:01 all 0.17 0.00 0.01 0.01 0.01 99.80 05:33:55 05:29:01 0 0.00 0.00 0.00 0.00 0.00 100.00 05:33:55 05:29:01 1 0.02 0.00 0.02 0.00 0.00 99.97 05:33:55 05:29:01 2 0.05 0.00 0.03 0.00 0.02 99.90 05:33:55 05:29:01 3 1.22 0.00 0.00 0.00 0.00 98.78 05:33:55 05:29:01 4 0.02 0.00 0.00 0.00 0.00 99.98 05:33:55 05:29:01 5 0.02 0.00 0.00 0.00 0.02 99.97 05:33:55 05:29:01 6 0.05 0.00 0.02 0.00 0.02 99.92 05:33:55 05:29:01 7 0.02 0.00 0.03 0.07 0.00 99.88 05:33:55 05:30:01 all 0.04 0.00 0.01 0.00 0.01 99.94 05:33:55 05:30:01 0 0.03 0.00 0.00 0.00 0.00 99.97 05:33:55 05:30:01 1 0.03 0.00 0.02 0.00 0.00 99.95 05:33:55 05:30:01 2 0.05 0.00 0.03 0.00 0.03 99.88 05:33:55 05:30:01 3 0.00 0.00 0.02 0.00 0.02 99.97 05:33:55 05:30:01 4 0.02 0.00 0.00 0.00 0.00 99.98 05:33:55 05:30:01 5 0.07 0.00 0.02 0.00 0.00 99.92 05:33:55 05:30:01 6 0.03 0.00 0.00 0.00 0.00 99.97 05:33:55 05:30:01 7 0.08 0.00 0.02 0.03 0.02 99.85 05:33:55 05:31:01 all 0.02 0.00 0.01 0.01 0.00 99.95 05:33:55 05:31:01 0 0.00 0.00 0.02 0.00 0.00 99.98 05:33:55 05:31:01 1 0.03 0.00 0.00 0.00 0.00 99.97 05:33:55 05:31:01 2 0.05 0.00 0.03 0.00 0.02 99.90 05:33:55 05:31:01 3 0.02 0.00 0.00 0.00 0.00 99.98 05:33:55 05:31:01 4 0.03 0.00 0.00 0.00 0.02 99.95 05:33:55 05:31:01 5 0.02 0.00 0.02 0.00 0.00 99.97 05:33:55 05:31:01 6 0.00 0.00 0.03 0.00 0.00 99.97 05:33:55 05:31:01 7 0.02 0.00 0.02 0.10 0.00 99.87 05:33:55 05:32:01 all 0.02 0.00 0.01 0.00 0.01 99.96 05:33:55 05:32:01 0 0.02 0.00 0.00 0.00 0.02 99.97 05:33:55 05:32:01 1 0.00 0.00 0.02 0.00 0.02 99.97 05:33:55 05:32:01 2 0.07 0.00 0.02 0.00 0.02 99.90 05:33:55 05:32:01 3 0.00 0.00 0.02 0.00 0.00 99.98 05:33:55 05:32:01 4 0.05 0.00 0.00 0.00 0.00 99.95 05:33:55 05:32:01 5 0.03 0.00 0.00 0.00 0.02 99.95 05:33:55 05:32:01 6 0.02 0.00 0.00 0.00 0.00 99.98 05:33:55 05:32:01 7 0.00 0.00 0.00 0.03 0.00 99.97 05:33:55 05:33:01 all 0.02 0.00 0.01 0.00 0.00 99.96 05:33:55 05:33:01 0 0.02 0.00 0.00 0.00 0.00 99.98 05:33:55 05:33:01 1 0.03 0.00 0.02 0.00 0.00 99.95 05:33:55 05:33:01 2 0.02 0.00 0.05 0.00 0.02 99.92 05:33:55 05:33:01 3 0.00 0.00 0.00 0.00 0.02 99.98 05:33:55 05:33:01 4 0.05 0.00 0.02 0.00 0.00 99.93 05:33:55 05:33:01 5 0.00 0.00 0.00 0.00 0.00 100.00 05:33:55 05:33:01 6 0.02 0.00 0.00 0.02 0.00 99.97 05:33:55 05:33:01 7 0.03 0.00 0.03 0.02 0.00 99.92 05:33:55 Average: all 5.58 0.00 1.19 0.21 0.02 93.00 05:33:55 Average: 0 5.70 0.00 1.13 0.03 0.02 93.11 05:33:55 Average: 1 5.75 0.00 1.15 0.18 0.02 92.90 05:33:55 Average: 2 5.56 0.00 1.21 0.03 0.03 93.17 05:33:55 Average: 3 5.79 0.00 1.15 0.05 0.02 92.98 05:33:55 Average: 4 5.64 0.00 1.15 0.25 0.02 92.95 05:33:55 Average: 5 5.37 0.00 1.23 0.03 0.02 93.34 05:33:55 Average: 6 5.36 0.00 1.16 0.04 0.02 93.42 05:33:55 Average: 7 5.46 0.00 1.31 1.09 0.02 92.12 05:33:55 05:33:55 05:33:55