Pull request #1039 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from 3118917b9c064b8facccf4e9dafb6e46c67b15a7+935ffdea1367b9fce73786fb0b6da633adc0bf2e (70992a119a9c32b06105ba6bbaeacb69060833f6) 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-ssh11582988548897433907.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh18229790789919909105.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1039/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1039/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh13619554464659002700.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13949650285458156420.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1039/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1039/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh17898703126322250600.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-functions-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4492 in /w/workspace/dry_app-functions-sdk-go_PR-1039 [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-1039 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/dry_app-functions-sdk-go_PR-1039@tmp/jenkins-gitclient-ssh6827110543369146129.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/dry_app-functions-sdk-go_PR-1039@tmp/jenkins-gitclient-ssh7024877268854466686.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/1039/head:refs/remotes/origin/PR-1039 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 935ffdea1367b9fce73786fb0b6da633adc0bf2e into PR head commit 3118917b9c064b8facccf4e9dafb6e46c67b15a7 Merge succeeded, producing 3118917b9c064b8facccf4e9dafb6e46c67b15a7 Checking out Revision 3118917b9c064b8facccf4e9dafb6e46c67b15a7 (PR-1039) > git config core.sparsecheckout # timeout=10 > git checkout -f 3118917b9c064b8facccf4e9dafb6e46c67b15a7 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/dry_app-functions-sdk-go_PR-1039@tmp/jenkins-gitclient-ssh3480942317846525146.key > git merge 935ffdea1367b9fce73786fb0b6da633adc0bf2e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3118917b9c064b8facccf4e9dafb6e46c67b15a7 # timeout=10 Commit message: "feat: Expose the RequestTimeout configuration setting to app service" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:59:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:59:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:59:44 ========================================================= 22:59:44 EdgeX Global Pipelines Version Info 22:59:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 7d2d1191d700d9f631997c915469163f381c6a46 # timeout=10 22:59:45 ------------------- 22:59:45 stable info: 22:59:45 ------------------- 22:59:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:59:45 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 22:59:45 Message: update stable to v1.0.220 22:59:45 ------------------- 22:59:45 experimental info: 22:59:45 ------------------- 22:59:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:59:45 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 22:59:45 Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:59:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 22:59:46 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 22:59:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:59:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:59:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:59:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 22:59:46 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:59:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:59:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:59:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:59:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:59:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 22:59:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:59:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:59:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 22:59:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:59:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:59:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:59:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:59:46 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:59:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:59:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 22:59:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:59:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:59:46 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 22:59:46 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:59:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1039 [Pipeline] echo 22:59:46 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1039 [Pipeline] echo 22:59:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1039 [Pipeline] echo 22:59:46 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3118917b9c064b8facccf4e9dafb6e46c67b15a7 [Pipeline] echo 22:59:46 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3118917 [Pipeline] echo 22:59:46 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:59:46 + git rev-list -1 --merges 3118917b9c064b8facccf4e9dafb6e46c67b15a7~1..3118917b9c064b8facccf4e9dafb6e46c67b15a7 [Pipeline] echo 22:59:46 -----------> git rev-list -1 --merges 3118917b9c064b8facccf4e9dafb6e46c67b15a7~1..3118917b9c064b8facccf4e9dafb6e46c67b15a7 3118917b9c064b8facccf4e9dafb6e46c67b15a7 [false] [Pipeline] sh 22:59:47 + git log --format=format:%s -1 3118917b9c064b8facccf4e9dafb6e46c67b15a7 [Pipeline] echo 22:59:47 ========================================================= 22:59:47 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:59:47 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:59:47 + git log --format=format:%s -1 3118917b9c064b8facccf4e9dafb6e46c67b15a7 [Pipeline] echo 22:59:47 [semverPrep] GIT_COMMIT: 3118917b9c064b8facccf4e9dafb6e46c67b15a7, Commit Message: feat: Expose the RequestTimeout configuration setting to app service [Pipeline] echo 22:59:47 [semverPrep] This is not a build commit. [Pipeline] sh 22:59:47 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 22:59:47 + grep -v github /etc/ssh/ssh_known_hosts 22:59:47 + '[' -e /tmp/ssh_known_hosts ']' 22:59:47 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:59:47 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 22:59:47 + sudo tee -a /etc/ssh/ssh_known_hosts 22:59:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 22:59:48 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:59:48 22:59:48 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:59:48 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:59:48 latest: Pulling from edgex-devops/git-semver 22:59:48 a0d0a0d46f8b: Pulling fs layer 22:59:48 3e5f54012d9b: Pulling fs layer 22:59:48 4c7163046ea9: Pulling fs layer 22:59:48 0c2d73faf560: Pulling fs layer 22:59:48 0c2d73faf560: Waiting 22:59:48 3e5f54012d9b: Verifying Checksum 22:59:48 3e5f54012d9b: Download complete 22:59:48 a0d0a0d46f8b: Verifying Checksum 22:59:48 a0d0a0d46f8b: Download complete 22:59:48 0c2d73faf560: Verifying Checksum 22:59:48 0c2d73faf560: Download complete 22:59:48 4c7163046ea9: Verifying Checksum 22:59:48 4c7163046ea9: Download complete 22:59:48 a0d0a0d46f8b: Pull complete 22:59:48 3e5f54012d9b: Pull complete 22:59:49 4c7163046ea9: Pull complete 22:59:49 0c2d73faf560: Pull complete 22:59:49 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 22:59:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:59:49 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:59:49 prd-centos7-docker-4c-2g-4492 does not seem to be running inside a container 22:59:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-functions-sdk-go_PR-1039 -v /w/workspace/dry_app-functions-sdk-go_PR-1039:/w/workspace/dry_app-functions-sdk-go_PR-1039:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1039@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1039@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:59:50 $ docker top e6616891250b6166fe2e0631473f518613fb61cec92e5367149e2759bf55c6ff -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:59:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:59:50 [ssh-agent] Looking for ssh-agent implementation... 22:59:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:59:50 $ docker exec e6616891250b6166fe2e0631473f518613fb61cec92e5367149e2759bf55c6ff ssh-agent 22:59:50 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOJDnmJ/agent.13 22:59:50 SSH_AGENT_PID=19 22:59:50 Running ssh-add (command line suppressed) 22:59:50 Identity added: /w/workspace/dry_app-functions-sdk-go_PR-1039@tmp/private_key_5255219786278469569.key (/w/workspace/dry_app-functions-sdk-go_PR-1039@tmp/private_key_5255219786278469569.key) 22:59:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:59:51 + git tag --points-at HEAD [Pipeline] } 22:59:51 $ docker exec --env ******** --env ******** e6616891250b6166fe2e0631473f518613fb61cec92e5367149e2759bf55c6ff ssh-agent -k 22:59:51 unset SSH_AUTH_SOCK; 22:59:51 unset SSH_AGENT_PID; 22:59:51 echo Agent pid 19 killed; 22:59:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:59:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:59:51 [ssh-agent] Looking for ssh-agent implementation... 22:59:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:59:51 $ docker exec e6616891250b6166fe2e0631473f518613fb61cec92e5367149e2759bf55c6ff ssh-agent 22:59:51 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkLOCIM/agent.53 22:59:51 SSH_AGENT_PID=59 22:59:51 Running ssh-add (command line suppressed) 22:59:51 Identity added: /w/workspace/dry_app-functions-sdk-go_PR-1039@tmp/private_key_2395021451931653975.key (/w/workspace/dry_app-functions-sdk-go_PR-1039@tmp/private_key_2395021451931653975.key) 22:59:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:59:51 + git semver init 22:59:51 # -> Open(): unable to determine branch for HEAD 22:59:51 # $GIT_DIR = /w/workspace/dry_app-functions-sdk-go_PR-1039/.git 22:59:51 # $GIT_WORK_TREE = /w/workspace/dry_app-functions-sdk-go_PR-1039 22:59:51 # $SEMVER_REMOTE_NAME = origin 22:59:51 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:59:51 # $SEMVER_USER_NAME = edgex-jenkins 22:59:51 # $SEMVER_BRANCH = PR-1039 22:59:51 # $SEMVER_TEMP = /tmp/semver-659261006 22:59:51 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 22:59:54 # '/tmp/semver-659261006' -> '/w/workspace/dry_app-functions-sdk-go_PR-1039/.semver' 22:59:54 # -> Force: false 22:59:54 # $SEMVER_DIR = /w/workspace/dry_app-functions-sdk-go_PR-1039/.semver [Pipeline] } 22:59:54 $ docker exec --env ******** --env ******** e6616891250b6166fe2e0631473f518613fb61cec92e5367149e2759bf55c6ff ssh-agent -k 22:59:54 unset SSH_AUTH_SOCK; 22:59:54 unset SSH_AGENT_PID; 22:59:54 echo Agent pid 59 killed; 22:59:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:59:54 + git semver [Pipeline] } 22:59:54 $ docker stop --time=1 e6616891250b6166fe2e0631473f518613fb61cec92e5367149e2759bf55c6ff 22:59:56 $ docker rm -f e6616891250b6166fe2e0631473f518613fb61cec92e5367149e2759bf55c6ff [Pipeline] // withDockerContainer [Pipeline] sh 22:59:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:59:56 Stashed 1 file(s) [Pipeline] echo 22:59:56 [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 22:59:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:59:56 ========================================================= 22:59:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 22:59:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 22:59:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 22:59:57 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 22:59:57 59bf1c3509f3: Pulling fs layer 22:59:57 666ba61612fd: Pulling fs layer 22:59:57 8ed8ca486205: Pulling fs layer 22:59:57 4fe6c5a15a65: Pulling fs layer 22:59:57 22a0e8bec74d: Pulling fs layer 22:59:57 640e595b4fbd: Pulling fs layer 22:59:57 763cafe07f6e: Pulling fs layer 22:59:57 0c0b528cf693: Pulling fs layer 22:59:57 10935f4eaf8b: Pulling fs layer 22:59:57 640e595b4fbd: Waiting 22:59:57 763cafe07f6e: Waiting 22:59:57 0c0b528cf693: Waiting 22:59:57 10935f4eaf8b: Waiting 22:59:57 4fe6c5a15a65: Waiting 22:59:57 22a0e8bec74d: Waiting 22:59:57 8ed8ca486205: Verifying Checksum 22:59:57 8ed8ca486205: Download complete 22:59:57 666ba61612fd: Verifying Checksum 22:59:57 666ba61612fd: Download complete 22:59:57 22a0e8bec74d: Verifying Checksum 22:59:57 22a0e8bec74d: Download complete 22:59:57 640e595b4fbd: Verifying Checksum 22:59:57 640e595b4fbd: Download complete 22:59:57 763cafe07f6e: Verifying Checksum 22:59:57 763cafe07f6e: Download complete 22:59:57 59bf1c3509f3: Verifying Checksum 22:59:57 0c0b528cf693: Verifying Checksum 22:59:57 0c0b528cf693: Download complete 22:59:57 4fe6c5a15a65: Verifying Checksum 22:59:57 4fe6c5a15a65: Download complete 22:59:57 10935f4eaf8b: Verifying Checksum 22:59:57 10935f4eaf8b: Download complete 22:59:57 59bf1c3509f3: Pull complete 22:59:58 666ba61612fd: Pull complete 22:59:58 8ed8ca486205: Pull complete 23:00:02 4fe6c5a15a65: Pull complete 23:00:02 22a0e8bec74d: Pull complete 23:00:02 640e595b4fbd: Pull complete 23:00:02 763cafe07f6e: Pull complete 23:00:02 0c0b528cf693: Pull complete 23:00:05 10935f4eaf8b: Pull complete 23:00:05 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 23:00:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 23:00:05 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] sh 23:00:05 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 23:00:05 + docker inspect -f . ci-base-image-x86_64 23:00:05 . [Pipeline] withDockerContainer 23:00:05 prd-centos7-docker-4c-2g-4492 does not seem to be running inside a container 23:00:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-functions-sdk-go_PR-1039 -v /w/workspace/dry_app-functions-sdk-go_PR-1039:/w/workspace/dry_app-functions-sdk-go_PR-1039:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1039@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1039@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:00:08 $ docker top 85e80e5905fe1b79d3665ca0e004680a822756f60b6385812cad3d2892a4632e -eo pid,comm [Pipeline] { [Pipeline] sh 23:00:08 + go version 23:00:08 go version go1.17.6 linux/amd64 [Pipeline] } 23:00:08 $ docker stop --time=1 85e80e5905fe1b79d3665ca0e004680a822756f60b6385812cad3d2892a4632e 23:00:09 $ docker rm -f 85e80e5905fe1b79d3665ca0e004680a822756f60b6385812cad3d2892a4632e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:00:10 + docker inspect -f . ci-base-image-x86_64 23:00:10 . [Pipeline] withDockerContainer 23:00:10 prd-centos7-docker-4c-2g-4492 does not seem to be running inside a container 23:00:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-functions-sdk-go_PR-1039 -v /w/workspace/dry_app-functions-sdk-go_PR-1039:/w/workspace/dry_app-functions-sdk-go_PR-1039:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1039@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1039@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:00:10 $ docker top 980cd448ad00e4a1b44dacc800e9dc417b7107392b0bbfcf52c52986844fa227 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:00:11 + make test 23:00:11 make -C ./app-service-template build 23:00:11 make[1]: Entering directory '/w/workspace/dry_app-functions-sdk-go_PR-1039/app-service-template' 23:00:11 go mod tidy 23:00:11 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0-dev.9 23:00:11 go: downloading github.com/stretchr/testify v1.7.0 23:00:11 go: downloading github.com/google/uuid v1.3.0 23:00:11 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.0 23:00:11 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0-dev.7 23:00:11 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 23:00:11 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 23:00:11 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 23:00:11 go: downloading github.com/davecgh/go-spew v1.1.1 23:00:11 go: downloading github.com/pmezard/go-difflib v1.0.0 23:00:11 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 23:00:11 go: downloading github.com/stretchr/objx v0.1.1 23:00:11 go: downloading github.com/go-kit/log v0.2.0 23:00:11 go: downloading github.com/go-playground/validator/v10 v10.10.0 23:00:11 go: downloading github.com/gorilla/mux v1.8.0 23:00:11 go: downloading github.com/hashicorp/go-multierror v1.1.1 23:00:11 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 23:00:11 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.0 23:00:11 go: downloading github.com/mitchellh/copystructure v1.0.0 23:00:11 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 23:00:11 go: downloading github.com/gorilla/websocket v1.4.2 23:00:11 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 23:00:11 go: downloading github.com/go-logfmt/logfmt v0.5.1 23:00:11 go: downloading github.com/pelletier/go-toml v1.9.4 23:00:11 go: downloading github.com/go-playground/universal-translator v0.18.0 23:00:11 go: downloading github.com/leodido/go-urn v1.2.1 23:00:11 go: downloading golang.org/x/crypto v0.0.0-20210915214749-c084706c2272 23:00:11 Still waiting to schedule task 23:00:11 ‘prd-ubuntu18.04-docker-arm64-4c-16g-4489’ is offline 23:00:12 go: downloading golang.org/x/text v0.3.7 23:00:12 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 23:00:12 go: downloading github.com/go-playground/assert/v2 v2.0.1 23:00:12 go: downloading github.com/go-playground/locales v0.14.0 23:00:13 go: downloading github.com/hashicorp/errwrap v1.0.0 23:00:13 go: downloading github.com/hashicorp/consul/api v1.9.1 23:00:13 go: downloading github.com/mitchellh/reflectwalk v1.0.0 23:00:13 go: downloading github.com/x448/float16 v0.8.4 23:00:13 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 23:00:13 go: downloading golang.org/x/sys v0.0.0-20210917161153-d61c044b1678 23:00:13 go: downloading github.com/kr/pretty v0.3.0 23:00:13 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 23:00:13 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 23:00:13 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 23:00:13 go: downloading github.com/hashicorp/go-hclog v0.12.0 23:00:13 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 23:00:13 go: downloading github.com/hashicorp/serf v0.9.5 23:00:13 go: downloading github.com/mitchellh/mapstructure v1.1.2 23:00:13 go: downloading github.com/hashicorp/consul/sdk v0.8.0 23:00:13 go: downloading github.com/hashicorp/go-uuid v1.0.1 23:00:13 go: downloading github.com/go-redis/redis/v7 v7.3.0 23:00:13 go: downloading github.com/pebbe/zmq4 v1.2.7 23:00:13 go: downloading github.com/kr/text v0.2.0 23:00:13 go: downloading github.com/rogpeppe/go-internal v1.8.0 23:00:13 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 23:00:13 go: downloading github.com/fatih/color v1.9.0 23:00:13 go: downloading github.com/mattn/go-colorable v0.1.6 23:00:13 go: downloading github.com/mattn/go-isatty v0.0.12 23:00:13 go: downloading github.com/mitchellh/go-homedir v1.1.0 23:00:13 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 23:00:13 go: downloading github.com/pkg/errors v0.9.1 23:00:13 go: downloading github.com/hashicorp/go-msgpack v0.5.3 23:00:13 go: downloading github.com/hashicorp/memberlist v0.2.2 23:00:13 go: downloading github.com/onsi/ginkgo v1.10.1 23:00:13 go: downloading github.com/onsi/gomega v1.7.0 23:00:13 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 23:00:13 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 23:00:13 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 23:00:13 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 23:00:13 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 23:00:13 go: downloading github.com/miekg/dns v1.1.26 23:00:13 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 23:00:13 go: downloading github.com/hashicorp/golang-lru v0.5.0 23:00:13 go: downloading gopkg.in/yaml.v2 v2.3.0 23:00:13 go: downloading github.com/hpcloud/tail v1.0.0 23:00:14 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 23:00:14 go: downloading gopkg.in/fsnotify.v1 v1.4.7 23:00:14 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 23:00:26 make[1]: Leaving directory '/w/workspace/dry_app-functions-sdk-go_PR-1039/app-service-template' 23:00:26 make -C ./app-service-template test 23:00:26 make[1]: Entering directory '/w/workspace/dry_app-functions-sdk-go_PR-1039/app-service-template' 23:00:26 CGO_ENABLED=1 go test -race -coverprofile=coverage.out ./... 23:00:53 ok new-app-service 0.053s coverage: 48.1% of statements 23:00:53 ? new-app-service/config [no test files] 23:00:53 ok new-app-service/functions 0.050s 23:00:53 CGO_ENABLED=1 go vet ./... 23:01:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:01:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:01:01 ./bin/test-attribution-txt.sh 23:01:01 make[1]: Leaving directory '/w/workspace/dry_app-functions-sdk-go_PR-1039/app-service-template' 23:01:01 CGO_ENABLED=1 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 23:01:01 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 23:01:03 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.077s coverage: 65.4% of statements 23:01:03 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.044s coverage: 93.7% of statements 23:01:03 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 23:01:03 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.070s coverage: 61.8% of statements 23:01:03 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 23:01:03 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.028s 23:01:03 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.033s coverage: 100.0% of statements 23:01:04 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.104s coverage: 78.3% of statements 23:01:04 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 23:01:04 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 23:01:04 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 23:01:04 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 23:01:04 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 23:01:04 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 23:01:04 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.028s coverage: 97.3% of statements 23:01:04 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 23:01:04 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] 23:01:04 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.061s coverage: 91.8% of statements 23:01:04 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] 23:01:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 0.680s coverage: 80.4% of statements 23:01:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] 23:01:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] 23:01:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.061s coverage: 35.1% of statements 23:01:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] 23:01:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.055s coverage: 14.3% of statements 23:01:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.037s coverage: 27.3% of statements 23:01:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 23:01:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 23:01:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.042s coverage: 51.4% of statements 23:01:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.139s coverage: 78.2% of statements 23:01:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.043s coverage: 94.4% of statements 23:01:33 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:01:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:01:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:01:39 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4493 in /w/workspace/dry_app-functions-sdk-go_PR-1039 [Pipeline] { [Pipeline] ws 23:01:39 Running in /w/workspace/app-functions-sdk-go/4 [Pipeline] { [Pipeline] checkout 23:01:40 The recommended git tool is: git 23:01:44 using credential edgex-jenkins-ssh 23:01:44 Cloning the remote Git repository 23:01:45 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 23:01:45 > git init /w/workspace/app-functions-sdk-go/4 # timeout=10 23:01:45 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:01:45 > git --version # timeout=10 23:01:45 > git --version # 'git version 2.17.1' 23:01:45 using GIT_SSH to set credentials SSH Credentials for GitHub 23:01:45 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:01:48 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:01:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:01:48 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:01:48 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:01:48 using GIT_SSH to set credentials SSH Credentials for GitHub 23:01:48 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/1039/head:refs/remotes/origin/PR-1039 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:01:49 Merging remotes/origin/main commit 935ffdea1367b9fce73786fb0b6da633adc0bf2e into PR head commit 3118917b9c064b8facccf4e9dafb6e46c67b15a7 23:01:49 Merge succeeded, producing 3118917b9c064b8facccf4e9dafb6e46c67b15a7 23:01:49 Checking out Revision 3118917b9c064b8facccf4e9dafb6e46c67b15a7 (PR-1039) 23:01:49 > git config core.sparsecheckout # timeout=10 23:01:49 > git checkout -f 3118917b9c064b8facccf4e9dafb6e46c67b15a7 # timeout=10 23:01:49 > git remote # timeout=10 23:01:49 > git config --get remote.origin.url # timeout=10 23:01:49 using GIT_SSH to set credentials SSH Credentials for GitHub 23:01:49 > git merge 935ffdea1367b9fce73786fb0b6da633adc0bf2e # timeout=10 23:01:49 > git rev-parse HEAD^{commit} # timeout=10 23:01:49 > git config core.sparsecheckout # timeout=10 23:01:49 > git checkout -f 3118917b9c064b8facccf4e9dafb6e46c67b15a7 # timeout=10 [Pipeline] echo 23:01:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:01:52 $ docker stop --time=1 980cd448ad00e4a1b44dacc800e9dc417b7107392b0bbfcf52c52986844fa227 23:01:54 Commit message: "feat: Expose the RequestTimeout configuration setting to app service" 23:01:54 $ docker rm -f 980cd448ad00e4a1b44dacc800e9dc417b7107392b0bbfcf52c52986844fa227 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:01:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:01:55 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 23:01:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:01:55 % Total % Received % Xferd Average Speed Time Time Time Current 23:01:55 Dload Upload Total Spent Left Speed 23:01:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 231k 0 --:--:-- --:--:-- --:--:-- 231k [Pipeline] sh 23:01:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:01:55 23:01:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:01:55 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:01:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:01:55 latest: Pulling from edgex-lftools-log-publisher 23:01:55 b4d181a07f80: Pulling fs layer 23:01:55 a1111a8f2ec3: Pulling fs layer 23:01:55 ed53099fbce6: Pulling fs layer 23:01:55 dc539afda2c1: Pulling fs layer 23:01:55 77bc0d833cb6: Pulling fs layer 23:01:55 9065ff56babe: Pulling fs layer 23:01:55 d287ab97295c: Pulling fs layer 23:01:55 dc539afda2c1: Waiting 23:01:55 77bc0d833cb6: Waiting 23:01:55 9065ff56babe: Waiting 23:01:55 d287ab97295c: Waiting 23:01:55 a1111a8f2ec3: Verifying Checksum 23:01:55 a1111a8f2ec3: Download complete 23:01:55 dc539afda2c1: Verifying Checksum 23:01:55 dc539afda2c1: Download complete 23:01:55 ed53099fbce6: Verifying Checksum 23:01:55 ed53099fbce6: Download complete 23:01:55 77bc0d833cb6: Verifying Checksum 23:01:55 77bc0d833cb6: Download complete 23:01:55 9065ff56babe: Verifying Checksum 23:01:55 9065ff56babe: Download complete 23:01:56 b4d181a07f80: Verifying Checksum 23:01:56 b4d181a07f80: Download complete 23:01:56 + sudo tee /etc/docker/daemon.new 23:01:56 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:01:56 { 23:01:56 "registry-mirrors": [ 23:01:56 "https://nexus3.edgexfoundry.org:10001" 23:01:56 ], 23:01:56 "bip": "10.250.0.254/24", 23:01:56 "hosts": [ 23:01:56 "tcp://0.0.0.0:5555", 23:01:56 "unix:///var/run/docker.sock" 23:01:56 ], 23:01:56 "mtu": 1458, 23:01:56 "selinux-enabled": true, 23:01:56 "seccomp-profile": "/etc/docker/seccomp.json" 23:01:56 } [Pipeline] sh 23:01:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:01:56 d287ab97295c: Verifying Checksum 23:01:56 d287ab97295c: Download complete 23:01:56 + sudo service docker restart 23:01:57 b4d181a07f80: Pull complete 23:01:57 a1111a8f2ec3: Pull complete 23:01:58 ed53099fbce6: Pull complete 23:01:58 dc539afda2c1: Pull complete 23:01:58 77bc0d833cb6: Pull complete 23:01:58 9065ff56babe: Pull complete 23:02:03 d287ab97295c: Pull complete 23:02:03 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 23:02:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:02:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:02:03 prd-centos7-docker-4c-2g-4492 does not seem to be running inside a container 23:02:03 $ 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-1039 -v /w/workspace/dry_app-functions-sdk-go_PR-1039:/w/workspace/dry_app-functions-sdk-go_PR-1039:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1039@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1039@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:02:06 $ docker top a3d09297e9756313a10efff783c7f3fee3dd7e08de24ce670ac26c2b2b277b35 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:02:06 ---> job-cost.sh 23:02:06 lf-activate-venv: SKIPPING 23:02:06 INFO: No Stack... 23:02:06 INFO: Retrieving Pricing Info for: v3-standard-2 23:02:07 INFO: Archiving Costs [Pipeline] sh 23:02:07 + cat /w/workspace/dry_app-functions-sdk-go_PR-1039/archives/cost.csv 23:02:07 + cut -d, -f6 [Pipeline] lock 23:02:07 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1039-4-stack-cost] 23:02:07 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1039-4-stack-cost] did not exist. Created. 23:02:07 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1039-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:02:07 + echo total: 0.05999999865889549 [Pipeline] stash 23:02:07 Stashed 1 file(s) [Pipeline] } 23:02:07 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1039-4-stack-cost] [Pipeline] // lock [Pipeline] } 23:02:07 $ docker stop --time=1 a3d09297e9756313a10efff783c7f3fee3dd7e08de24ce670ac26c2b2b277b35 23:02:09 $ docker rm -f a3d09297e9756313a10efff783c7f3fee3dd7e08de24ce670ac26c2b2b277b35 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] unstash [Pipeline] echo 23:02:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:02:15 ========================================================= 23:02:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 23:02:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 23:02:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 23:02:16 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:02:16 9b3977197b4f: Pulling fs layer 23:02:16 1a89e8eeedd5: Pulling fs layer 23:02:16 94645a83ff95: Pulling fs layer 23:02:16 3f3a8bcf1eab: Pulling fs layer 23:02:16 0c92f367c5e7: Pulling fs layer 23:02:16 f7c0051592d6: Pulling fs layer 23:02:16 a227ed2f7395: Pulling fs layer 23:02:16 7b1c46037f91: Pulling fs layer 23:02:16 3f3a8bcf1eab: Waiting 23:02:16 0c92f367c5e7: Waiting 23:02:16 f7c0051592d6: Waiting 23:02:16 a227ed2f7395: Waiting 23:02:16 7b1c46037f91: Waiting 23:02:16 94645a83ff95: Verifying Checksum 23:02:16 94645a83ff95: Download complete 23:02:16 1a89e8eeedd5: Verifying Checksum 23:02:16 1a89e8eeedd5: Download complete 23:02:16 0c92f367c5e7: Verifying Checksum 23:02:16 0c92f367c5e7: Download complete 23:02:16 f7c0051592d6: Verifying Checksum 23:02:16 f7c0051592d6: Download complete 23:02:16 9b3977197b4f: Verifying Checksum 23:02:16 9b3977197b4f: Download complete 23:02:16 a227ed2f7395: Verifying Checksum 23:02:16 a227ed2f7395: Download complete 23:02:17 9b3977197b4f: Pull complete 23:02:18 1a89e8eeedd5: Pull complete 23:02:18 94645a83ff95: Pull complete 23:02:18 7b1c46037f91: Verifying Checksum 23:02:18 7b1c46037f91: Download complete 23:02:19 3f3a8bcf1eab: Verifying Checksum 23:02:19 3f3a8bcf1eab: Download complete 23:02:31 3f3a8bcf1eab: Pull complete 23:02:31 0c92f367c5e7: Pull complete 23:02:31 f7c0051592d6: Pull complete 23:02:31 a227ed2f7395: Pull complete 23:02:37 7b1c46037f91: Pull complete 23:02:37 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 23:02:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 23:02:37 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] sh 23:02:37 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 23:02:37 + docker inspect -f . ci-base-image-arm64 23:02:37 . [Pipeline] withDockerContainer 23:02:38 prd-ubuntu18.04-docker-arm64-4c-16g-4493 does not seem to be running inside a container 23:02:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:02:41 $ docker top 7b9a02358af7ff5a21ce4deb2ec62c30f9911291d6ff81f914f43d3b9aabc09d -eo pid,comm [Pipeline] { [Pipeline] sh 23:02:42 + go version 23:02:42 go version go1.17.6 linux/arm64 [Pipeline] } 23:02:42 $ docker stop --time=1 7b9a02358af7ff5a21ce4deb2ec62c30f9911291d6ff81f914f43d3b9aabc09d 23:02:44 $ docker rm -f 7b9a02358af7ff5a21ce4deb2ec62c30f9911291d6ff81f914f43d3b9aabc09d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:02:44 + docker inspect -f . ci-base-image-arm64 23:02:44 . [Pipeline] withDockerContainer 23:02:44 prd-ubuntu18.04-docker-arm64-4c-16g-4493 does not seem to be running inside a container 23:02:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:02:46 $ docker top bdf7f9d6fc587ae878687fc7559ad31ff93b2e793355fd60d2334af1b683cdb8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:02:47 + make test 23:02:47 make -C ./app-service-template build 23:02:47 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/4/app-service-template' 23:02:47 go mod tidy 23:02:47 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0-dev.9 23:02:47 go: downloading github.com/google/uuid v1.3.0 23:02:47 go: downloading github.com/stretchr/testify v1.7.0 23:02:47 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.0 23:02:47 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0-dev.7 23:02:47 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 23:02:47 go: downloading github.com/davecgh/go-spew v1.1.1 23:02:47 go: downloading github.com/pmezard/go-difflib v1.0.0 23:02:47 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 23:02:47 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 23:02:47 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 23:02:47 go: downloading github.com/stretchr/objx v0.1.1 23:02:47 go: downloading github.com/go-kit/log v0.2.0 23:02:47 go: downloading github.com/go-playground/validator/v10 v10.10.0 23:02:47 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 23:02:47 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.0 23:02:47 go: downloading github.com/gorilla/mux v1.8.0 23:02:47 go: downloading github.com/hashicorp/go-multierror v1.1.1 23:02:48 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 23:02:48 go: downloading github.com/mitchellh/copystructure v1.0.0 23:02:48 go: downloading github.com/hashicorp/consul/api v1.9.1 23:02:48 go: downloading github.com/gorilla/websocket v1.4.2 23:02:48 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 23:02:48 go: downloading github.com/pelletier/go-toml v1.9.4 23:02:48 go: downloading github.com/go-logfmt/logfmt v0.5.1 23:02:48 go: downloading github.com/hashicorp/errwrap v1.0.0 23:02:48 go: downloading github.com/go-playground/universal-translator v0.18.0 23:02:48 go: downloading github.com/leodido/go-urn v1.2.1 23:02:48 go: downloading golang.org/x/crypto v0.0.0-20210915214749-c084706c2272 23:02:48 go: downloading golang.org/x/text v0.3.7 23:02:49 go: downloading github.com/go-playground/locales v0.14.0 23:02:49 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 23:02:49 go: downloading github.com/go-playground/assert/v2 v2.0.1 23:02:52 go: downloading github.com/mitchellh/reflectwalk v1.0.0 23:02:52 go: downloading github.com/x448/float16 v0.8.4 23:02:52 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 23:02:52 go: downloading github.com/hashicorp/go-hclog v0.12.0 23:02:52 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 23:02:52 go: downloading github.com/hashicorp/serf v0.9.5 23:02:52 go: downloading github.com/mitchellh/mapstructure v1.1.2 23:02:52 go: downloading github.com/hashicorp/consul/sdk v0.8.0 23:02:52 go: downloading github.com/hashicorp/go-uuid v1.0.1 23:02:52 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 23:02:52 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 23:02:52 go: downloading golang.org/x/sys v0.0.0-20210917161153-d61c044b1678 23:02:52 go: downloading github.com/kr/pretty v0.3.0 23:02:52 go: downloading github.com/mitchellh/go-homedir v1.1.0 23:02:52 go: downloading github.com/fatih/color v1.9.0 23:02:52 go: downloading github.com/mattn/go-colorable v0.1.6 23:02:52 go: downloading github.com/mattn/go-isatty v0.0.12 23:02:52 go: downloading github.com/pkg/errors v0.9.1 23:02:52 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 23:02:52 go: downloading github.com/go-redis/redis/v7 v7.3.0 23:02:52 go: downloading github.com/pebbe/zmq4 v1.2.7 23:02:52 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 23:02:52 go: downloading github.com/kr/text v0.2.0 23:02:52 go: downloading github.com/rogpeppe/go-internal v1.8.0 23:02:52 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 23:02:52 go: downloading github.com/hashicorp/go-msgpack v0.5.3 23:02:52 go: downloading github.com/hashicorp/memberlist v0.2.2 23:02:52 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 23:02:52 go: downloading github.com/onsi/ginkgo v1.10.1 23:02:52 go: downloading github.com/onsi/gomega v1.7.0 23:02:52 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 23:02:52 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 23:02:52 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 23:02:52 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 23:02:52 go: downloading github.com/miekg/dns v1.1.26 23:02:52 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 23:02:52 go: downloading github.com/hashicorp/golang-lru v0.5.0 23:02:52 go: downloading gopkg.in/yaml.v2 v2.3.0 23:02:52 go: downloading github.com/hpcloud/tail v1.0.0 23:02:53 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 23:02:53 go: downloading gopkg.in/fsnotify.v1 v1.4.7 23:02:53 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 23:03:49 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/4/app-service-template' 23:03:49 make -C ./app-service-template test 23:03:49 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/4/app-service-template' 23:03:49 CGO_ENABLED=1 go test -race -coverprofile=coverage.out ./... 23:05:26 ok new-app-service 0.194s coverage: 48.1% of statements 23:05:26 ? new-app-service/config [no test files] 23:05:26 ok new-app-service/functions 0.170s 23:05:26 CGO_ENABLED=1 go vet ./... 23:05:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:05:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:05:41 ./bin/test-attribution-txt.sh 23:05:42 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/4/app-service-template' 23:05:42 CGO_ENABLED=1 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 23:05:44 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 23:05:59 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.544s coverage: 65.4% of statements 23:05:59 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.380s coverage: 93.7% of statements 23:05:59 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 23:05:59 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.367s coverage: 61.8% of statements 23:05:59 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 23:05:59 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.166s 23:05:59 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.116s coverage: 100.0% of statements 23:05:59 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.482s coverage: 78.3% of statements 23:05:59 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 23:05:59 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 23:05:59 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 23:05:59 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 23:05:59 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 23:05:59 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 23:05:59 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.115s coverage: 97.3% of statements 23:05:59 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 23:05:59 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] 23:05:59 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.278s coverage: 91.8% of statements 23:05:59 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] 23:06:00 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 1.061s coverage: 80.4% of statements 23:06:00 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] 23:06:00 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] 23:06:00 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.255s coverage: 35.1% of statements 23:06:00 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] 23:06:00 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.195s coverage: 14.3% of statements 23:06:04 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.193s coverage: 27.3% of statements 23:06:04 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 23:06:04 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 23:06:04 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.266s coverage: 51.4% of statements 23:06:36 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.587s coverage: 78.2% of statements 23:06:36 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.225s coverage: 94.4% of statements 23:06:36 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:06:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:06:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:06:39 WARNING: Linting skipped (not on x86_64 or linter not installed) [Pipeline] echo 23:06:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:06:40 $ docker stop --time=1 bdf7f9d6fc587ae878687fc7559ad31ff93b2e793355fd60d2334af1b683cdb8 23:06:41 $ docker rm -f bdf7f9d6fc587ae878687fc7559ad31ff93b2e793355fd60d2334af1b683cdb8 [Pipeline] // withDockerContainer [Pipeline] sh 23:06:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:06:44 Warning: overwriting stash ‘coverage-report’ 23:06:45 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 23:06:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:06:45 23:06:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 23:06:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:06:46 arm64: Pulling from edgex-lftools-log-publisher 23:06:46 448f6bf000e3: Pulling fs layer 23:06:46 f757da607395: Pulling fs layer 23:06:46 05883995daec: Pulling fs layer 23:06:46 8603b9c90790: Pulling fs layer 23:06:46 1560dd03e051: Pulling fs layer 23:06:46 27f5ce0e4adf: Pulling fs layer 23:06:46 c2d8d7efcc4b: Pulling fs layer 23:06:46 8603b9c90790: Waiting 23:06:46 1560dd03e051: Waiting 23:06:46 27f5ce0e4adf: Waiting 23:06:46 c2d8d7efcc4b: Waiting 23:06:46 f757da607395: Verifying Checksum 23:06:46 f757da607395: Download complete 23:06:46 8603b9c90790: Verifying Checksum 23:06:46 8603b9c90790: Download complete 23:06:46 1560dd03e051: Verifying Checksum 23:06:46 1560dd03e051: Download complete 23:06:46 05883995daec: Verifying Checksum 23:06:46 27f5ce0e4adf: Verifying Checksum 23:06:46 05883995daec: Download complete 23:06:46 27f5ce0e4adf: Download complete 23:06:47 448f6bf000e3: Verifying Checksum 23:06:47 448f6bf000e3: Download complete 23:06:49 c2d8d7efcc4b: Verifying Checksum 23:06:49 c2d8d7efcc4b: Download complete 23:06:50 448f6bf000e3: Pull complete 23:06:51 f757da607395: Pull complete 23:06:52 05883995daec: Pull complete 23:06:52 8603b9c90790: Pull complete 23:06:53 1560dd03e051: Pull complete 23:06:53 27f5ce0e4adf: Pull complete 23:07:08 c2d8d7efcc4b: Pull complete 23:07:08 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 23:07:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:07:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 23:07:09 prd-ubuntu18.04-docker-arm64-4c-16g-4493 does not seem to be running inside a container 23:07:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:07:12 $ docker top 660f03ef4b8f4ec7e7cae8705259b395fa0b85cfc4a65e38ec944fc4170b4091 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:07:13 ---> job-cost.sh 23:07:13 lf-activate-venv: SKIPPING 23:07:13 INFO: No Stack... 23:07:13 INFO: Retrieving Pricing Info for: v3-standard-4 23:07:14 INFO: Archiving Costs [Pipeline] sh 23:07:14 + cat /w/workspace/app-functions-sdk-go/4/archives/cost.csv 23:07:14 + cut -d, -f6 [Pipeline] lock 23:07:14 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1039-4-stack-cost] 23:07:14 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1039-4-stack-cost] did not exist. Created. 23:07:14 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1039-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:07:15 /w/workspace/app-functions-sdk-go/4@tmp/durable-a58f2a25/script.sh: 1: /w/workspace/app-functions-sdk-go/4@tmp/durable-a58f2a25/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 23:07:16 + echo total: 0.10999999940395355 [Pipeline] stash 23:07:16 Warning: overwriting stash ‘stack-cost’ 23:07:16 Stashed 1 file(s) [Pipeline] } 23:07:16 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1039-4-stack-cost] [Pipeline] // lock [Pipeline] } 23:07:16 $ docker stop --time=1 660f03ef4b8f4ec7e7cae8705259b395fa0b85cfc4a65e38ec944fc4170b4091 23:07:17 $ docker rm -f 660f03ef4b8f4ec7e7cae8705259b395fa0b85cfc4a65e38ec944fc4170b4091 [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 23:07:18 provisioning config files... 23:07:18 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/dry_app-functions-sdk-go_PR-1039@tmp/config5959021829994641057tmp [Pipeline] { [Pipeline] sh 23:07:18 + set +x 23:07:18 + curl -s https://codecov.io/bash 23:07:18 + bash -s -- 23:07:18 23:07:18 _____ _ 23:07:18 / ____| | | 23:07:18 | | ___ __| | ___ ___ _____ __ 23:07:18 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:07:18 | |___| (_) | (_| | __/ (_| (_) \ V / 23:07:18 \_____\___/ \__,_|\___|\___\___/ \_/ 23:07:18 Bash-1.0.6 23:07:18 23:07:18 23:07:18 ==> git version 2.24.4 found 23:07:18 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 23:07:18 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 23:07:18 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 23:07:18 ==> Jenkins CI detected. 23:07:18 current dir:  /w/workspace/dry_app-functions-sdk-go_PR-1039 23:07:18 project root: . 23:07:18 --> token set from env 23:07:18 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:07:18 ==> Running gcov in . (disable via -X gcov) 23:07:18 ==> Python coveragepy not found 23:07:18 ==> Searching for coverage reports in: 23:07:18 + . 23:07:18 -> Found 2 reports 23:07:18 ==> Detecting git/mercurial file structure 23:07:18 ==> Reading reports 23:07:18 + ./app-service-template/coverage.out bytes=1222 23:07:18 + ./coverage.out bytes=112615 23:07:18 ==> Appending adjustments 23:07:18 https://docs.codecov.io/docs/fixing-reports 23:07:19 + Found adjustments 23:07:19 ==> Gzipping contents 23:07:19 20K /tmp/codecov.gBtJix.gz 23:07:19 ==> Uploading reports 23:07:19 url: https://codecov.io 23:07:19 query: branch=PR-1039&commit=3118917b9c064b8facccf4e9dafb6e46c67b15a7&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-1039%2F4%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=1039&job=&cmd_args= 23:07:19 -> Pinging Codecov 23:07:19 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=17ebf437-e483-4174-b11b-49c3772ebb45&branch=PR-1039&commit=3118917b9c064b8facccf4e9dafb6e46c67b15a7&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-1039%2F4%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=1039&job=&cmd_args= 23:07:19 -> Uploading to 23:07:19 https://storage.googleapis.com/codecov/v4/raw/2022-02-02/3D8B5DFFC46A037C893635FACE044666/3118917b9c064b8facccf4e9dafb6e46c67b15a7/a46b5dbe-0ef3-4989-a9bc-689a2595bb99.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220202%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220202T230719Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2448039e400c9e8ec24258deef836de3b3d61f5e333ac6fe398eedb529f2cfdf 23:07:19 % Total % Received % Xferd Average Speed Time Time Time Current 23:07:19 Dload Upload Total Spent Left Speed 23:07:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20032 0 0 100 20032 0 62712 --:--:-- --:--:-- --:--:-- 62796 23:07:19 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/3118917b9c064b8facccf4e9dafb6e46c67b15a7 [Pipeline] } 23:07:19 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 23:07:20 + '[' -d /w/workspace/dry_app-functions-sdk-go_PR-1039/archives ']' 23:07:20 + ls -al /w/workspace/dry_app-functions-sdk-go_PR-1039/archives 23:07:20 total 8 23:07:20 drwxr-xr-x. 3 root root 34 Feb 2 23:02 . 23:07:20 drwxrwxr-x. 10 jenkins jenkins 4096 Feb 2 23:02 .. 23:07:20 drwxr-xr-x. 2 root root 6 Feb 2 23:02 cost 23:07:20 -rw-r--r--. 1 root root 92 Feb 2 23:02 cost.csv 23:07:20 + sudo chown -R jenkins:jenkins /w/workspace/dry_app-functions-sdk-go_PR-1039/archives 23:07:20 + ls -al /w/workspace/dry_app-functions-sdk-go_PR-1039/archives 23:07:20 total 8 23:07:20 drwxr-xr-x. 3 jenkins jenkins 34 Feb 2 23:02 . 23:07:20 drwxrwxr-x. 10 jenkins jenkins 4096 Feb 2 23:02 .. 23:07:20 drwxr-xr-x. 2 jenkins jenkins 6 Feb 2 23:02 cost 23:07:20 -rw-r--r--. 1 jenkins jenkins 92 Feb 2 23:02 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:07:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:07:21 ---> package-listing.sh 23:07:21 ++ facter osfamily 23:07:21 ++ tr '[:upper:]' '[:lower:]' 23:07:21 + OS_FAMILY=redhat 23:07:21 + workspace=/w/workspace/dry_app-functions-sdk-go_PR-1039 23:07:21 + START_PACKAGES=/tmp/packages_start.txt 23:07:21 + END_PACKAGES=/tmp/packages_end.txt 23:07:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:07:21 + PACKAGES=/tmp/packages_start.txt 23:07:21 + '[' /w/workspace/dry_app-functions-sdk-go_PR-1039 ']' 23:07:21 + PACKAGES=/tmp/packages_end.txt 23:07:21 + case "${OS_FAMILY}" in 23:07:21 + sort 23:07:21 + rpm -qa 23:07:22 + '[' -f /tmp/packages_start.txt ']' 23:07:22 + '[' -f /tmp/packages_end.txt ']' 23:07:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:07:22 + '[' /w/workspace/dry_app-functions-sdk-go_PR-1039 ']' 23:07:22 + mkdir -p /w/workspace/dry_app-functions-sdk-go_PR-1039/archives/ 23:07:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_app-functions-sdk-go_PR-1039/archives/ [Pipeline] echo 23:07:22 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_app-functions-sdk-go_PR-1039/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:07:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:07:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:07:23 . [Pipeline] withDockerContainer 23:07:23 prd-centos7-docker-4c-2g-4492 does not seem to be running inside a container 23:07:23 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_app-functions-sdk-go_PR-1039/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-1039 -v /w/workspace/dry_app-functions-sdk-go_PR-1039:/w/workspace/dry_app-functions-sdk-go_PR-1039:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1039@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1039@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:07:23 $ docker top ed2ea1e49c261e2d717391bb4b9c40ceb26f15a1123f0d24a1b7050cc12bd28b -eo pid,comm [Pipeline] { [Pipeline] sh 23:07:23 + touch /tmp/pre-build-complete [Pipeline] sh 23:07:24 + mkdir -p /var/log/sysstat [Pipeline] sh 23:07:24 + ls /var/log/sa-host 23:07:24 + sadf -c /var/log/sa-host/sa02 23:07:24 file_magic: OK 23:07:24 HZ: Using current value: 100 23:07:24 file_header: OK 23:07:24 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 23:07:24 Statistics: 23:07:24 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 23:07:24 File successfully converted to sysstat format version 12.0.3 23:07:24 + sadf -c /var/log/sa-host/sa17 23:07:24 file_magic: OK 23:07:24 HZ: Using current value: 100 23:07:24 file_header: OK 23:07:24 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 23:07:24 Statistics: 23:07:24 Hnuu...uuuununununu...Hnuu...uuuununununu... 23:07:24 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:07:24 provisioning config files... 23:07:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_app-functions-sdk-go_PR-1039@tmp/config7553657552058564437tmp [Pipeline] { [Pipeline] echo 23:07:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:07:24 ---> create-netrc.sh [Pipeline] } 23:07:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:07:25 ---> python-tools-install.sh [Pipeline] echo 23:07:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:07:25 ---> sudo-logs.sh 23:07:25 Archiving 'sudo' log.. 23:07:25 sudo: unable to resolve host prd-centos7-docker-4c-2g-4492.novalocal: Name or service not known 23:07:25 sudo: unable to resolve host prd-centos7-docker-4c-2g-4492.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 23:07:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:07:25 ---> job-cost.sh 23:07:25 lf-activate-venv: SKIPPING 23:07:25 DEBUG: total: 0.05999999865889549 23:07:25 INFO: Retrieving Stack Cost... 23:07:26 INFO: Retrieving Pricing Info for: v3-standard-2 23:07:26 INFO: Archiving Costs [Pipeline] echo 23:07:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:07:26 ---> logs-deploy.sh 23:07:26 lf-activate-venv: SKIPPING 23:07:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-1039/4 23:07:26 INFO: archiving workspace using pattern(s): 23:07:27 Archives upload complete. 23:07:27 INFO: archiving logs to Nexus 23:07:28 ---> uname -a: 23:07:28 Linux prd-centos7-docker-4c-2g-4492.novalocal 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64 GNU/Linux 23:07:28 23:07:28 23:07:28 ---> lscpu: 23:07:28 Architecture: x86_64 23:07:28 CPU op-mode(s): 32-bit, 64-bit 23:07:28 Byte Order: Little Endian 23:07:28 Address sizes: 40 bits physical, 48 bits virtual 23:07:28 CPU(s): 2 23:07:28 On-line CPU(s) list: 0,1 23:07:28 Thread(s) per core: 1 23:07:28 Core(s) per socket: 1 23:07:28 Socket(s): 2 23:07:28 NUMA node(s): 1 23:07:28 Vendor ID: AuthenticAMD 23:07:28 CPU family: 23 23:07:28 Model: 49 23:07:28 Model name: AMD EPYC-Rome Processor 23:07:28 Stepping: 0 23:07:28 CPU MHz: 2799.996 23:07:28 BogoMIPS: 5599.99 23:07:28 Virtualization: AMD-V 23:07:28 Hypervisor vendor: KVM 23:07:28 Virtualization type: full 23:07:28 L1d cache: 32K 23:07:28 L1i cache: 32K 23:07:28 L2 cache: 512K 23:07:28 L3 cache: 16384K 23:07:28 NUMA node0 CPU(s): 0,1 23:07:28 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 23:07:28 23:07:28 23:07:28 ---> nproc: 23:07:28 2 23:07:28 23:07:28 23:07:28 ---> df -h: 23:07:28 Filesystem Size Used Avail Use% Mounted on 23:07:28 overlay 40G 8.3G 32G 21% / 23:07:28 tmpfs 64M 0 64M 0% /dev 23:07:28 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 23:07:28 shm 64M 0 64M 0% /dev/shm 23:07:28 /dev/vda1 40G 8.3G 32G 21% /facter-os 23:07:28 23:07:28 23:07:28 ---> sar -b -r -n DEV: 23:07:28 Linux 3.10.0-1160.45.1.el7.x86_64 (centos-7-docker-61956895-6fad-6945-99d6-2040f50c295e.novalocal) 02/02/22 _x86_64_ (2 CPU) 23:07:28 23:07:28 22:59:10 LINUX RESTART (2 CPU) 23:07:28 23:07:28 23:00:01 tps rtps wtps bread/s bwrtn/s 23:07:28 23:01:01 122.45 0.03 122.42 0.27 29478.65 23:07:28 23:02:01 80.57 0.07 80.51 1.46 6117.56 23:07:28 23:03:02 56.69 0.00 56.69 0.00 17563.93 23:07:28 23:04:01 0.15 0.00 0.15 0.00 2.18 23:07:28 23:05:01 0.30 0.00 0.30 0.00 3.83 23:07:28 23:06:01 0.33 0.00 0.33 0.00 4.31 23:07:28 23:07:01 0.17 0.00 0.17 0.00 1.75 23:07:28 Average: 37.34 0.01 37.33 0.25 7617.08 23:07:28 23:07:28 23:00:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 23:07:28 23:01:01 4449160 0 874240 10.92 2620 2682920 1522588 16.81 922584 2261976 115900 23:07:28 23:02:01 4241760 0 893692 11.16 2620 2870868 1575832 17.40 1027568 2363704 534500 23:07:28 23:03:02 4304356 0 876464 10.94 2620 2825500 1213084 13.39 908308 2400412 8 23:07:28 23:04:01 4303536 0 877280 10.95 2620 2825504 1175304 12.98 909880 2400412 8 23:07:28 23:05:01 4311820 0 868988 10.85 2620 2825512 1175220 12.98 901744 2400412 8 23:07:28 23:06:01 4312936 0 867864 10.84 2620 2825520 1175076 12.97 901024 2400420 28 23:07:28 23:07:01 4316672 0 864128 10.79 2620 2825520 1175076 12.97 897284 2400412 8 23:07:28 Average: 4320034 0 874665 10.92 2620 2811621 1287454 14.21 924056 2375393 92923 23:07:28 23:07:28 23:00:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 23:07:28 23:01:01 eth0 93.77 76.50 439.69 18.26 0.00 0.00 0.00 0.00 23:07:28 23:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:07:28 23:01:01 docker0 56.77 59.75 4.36 408.27 0.00 0.00 0.00 0.00 23:07:28 23:01:01 veth35938c6 56.77 59.89 5.13 408.28 0.00 0.00 0.00 0.00 23:07:28 23:02:01 eth0 108.47 69.37 2604.44 14.16 0.00 0.00 0.00 0.00 23:07:28 23:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:07:28 23:02:01 docker0 0.50 0.50 0.03 0.04 0.00 0.00 0.00 0.00 23:07:28 23:03:02 eth0 12.16 8.11 12.03 4.23 0.00 0.00 0.00 0.00 23:07:28 23:03:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:07:28 23:03:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:07:28 23:04:01 eth0 2.03 0.97 2.12 0.25 0.00 0.00 0.00 0.00 23:07:28 23:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:07:28 23:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:07:28 23:05:01 eth0 0.22 0.17 0.08 0.07 0.00 0.00 0.00 0.00 23:07:28 23:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:07:28 23:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:07:28 23:06:01 eth0 0.10 0.07 0.01 0.01 0.00 0.00 0.00 0.00 23:07:28 23:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:07:28 23:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:07:28 23:07:01 eth0 0.13 0.10 0.01 0.01 0.00 0.00 0.00 0.00 23:07:28 23:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:07:28 23:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:07:28 Average: eth0 31.07 22.24 438.14 5.30 0.00 0.00 0.00 0.00 23:07:28 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:07:28 Average: docker0 8.21 8.63 0.63 58.50 0.00 0.00 0.00 0.00 23:07:28 23:07:28 23:07:28 ---> sar -P ALL: 23:07:28 Linux 3.10.0-1160.45.1.el7.x86_64 (centos-7-docker-61956895-6fad-6945-99d6-2040f50c295e.novalocal) 02/02/22 _x86_64_ (2 CPU) 23:07:28 23:07:28 22:59:10 LINUX RESTART (2 CPU) 23:07:28 23:07:28 23:00:01 CPU %user %nice %system %iowait %steal %idle 23:07:28 23:01:01 all 68.16 0.00 10.10 1.52 0.11 20.11 23:07:28 23:01:01 0 67.52 0.00 10.73 1.55 0.13 20.06 23:07:28 23:01:01 1 68.79 0.00 9.47 1.50 0.09 20.15 23:07:28 23:02:01 all 35.26 0.00 5.36 0.91 0.08 58.39 23:07:28 23:02:01 0 34.50 0.00 5.43 0.95 0.07 59.05 23:07:28 23:02:01 1 36.02 0.00 5.29 0.88 0.09 57.73 23:07:28 23:03:02 all 1.50 0.00 1.02 0.54 0.03 96.90 23:07:28 23:03:02 0 1.29 0.00 1.14 0.32 0.05 97.20 23:07:28 23:03:02 1 1.71 0.00 0.91 0.76 0.02 96.61 23:07:28 23:04:01 all 0.15 0.00 0.03 0.00 0.03 99.78 23:07:28 23:04:01 0 0.08 0.00 0.05 0.00 0.05 99.81 23:07:28 23:04:01 1 0.22 0.00 0.02 0.00 0.02 99.74 23:07:28 23:05:01 all 0.16 0.00 0.03 0.00 0.03 99.78 23:07:28 23:05:01 0 0.08 0.00 0.03 0.00 0.05 99.83 23:07:28 23:05:01 1 0.23 0.00 0.02 0.00 0.02 99.73 23:07:28 23:06:01 all 0.12 0.00 0.03 0.00 0.03 99.82 23:07:28 23:06:01 0 0.03 0.00 0.03 0.00 0.03 99.90 23:07:28 23:06:01 1 0.20 0.00 0.03 0.00 0.03 99.73 23:07:28 23:07:01 all 0.10 0.00 0.03 0.00 0.05 99.82 23:07:28 23:07:01 0 0.03 0.00 0.03 0.00 0.05 99.88 23:07:28 23:07:01 1 0.17 0.00 0.03 0.00 0.05 99.75 23:07:28 Average: all 14.23 0.00 2.25 0.41 0.05 83.06 23:07:28 Average: 0 13.97 0.00 2.37 0.38 0.06 83.22 23:07:28 Average: 1 14.49 0.00 2.14 0.43 0.04 82.90 23:07:28 23:07:28 23:07:28