Pull request #1047 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/app-functions-sdk-go Loading trusted files from base branch main at 18aea919e856cf66c43bd9a5ad63b0e8025cbed2 rather than 65cbdfe9e8dc3c0857d438b88a8c409e49a3bf6e Obtained Jenkinsfile from 18aea919e856cf66c43bd9a5ad63b0e8025cbed2 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1979940793220487146.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-ssh8260547027746074675.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1047/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1047/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh14168576140966012367.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1047/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7524743827443700539.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17645317507866915794.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1047/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1047/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12408779988737263282.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-functions-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-5973 in /w/workspace/dry_app-functions-sdk-go_PR-1047 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/dry_app-functions-sdk-go_PR-1047 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/dry_app-functions-sdk-go_PR-1047@tmp/jenkins-gitclient-ssh8356003109828435046.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/dry_app-functions-sdk-go_PR-1047@tmp/jenkins-gitclient-ssh4088553424727692476.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/1047/head:refs/remotes/origin/PR-1047 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 18aea919e856cf66c43bd9a5ad63b0e8025cbed2 into PR head commit 65cbdfe9e8dc3c0857d438b88a8c409e49a3bf6e Merge succeeded, producing 65cbdfe9e8dc3c0857d438b88a8c409e49a3bf6e Checking out Revision 65cbdfe9e8dc3c0857d438b88a8c409e49a3bf6e (PR-1047) > git config core.sparsecheckout # timeout=10 > git checkout -f 65cbdfe9e8dc3c0857d438b88a8c409e49a3bf6e # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/dry_app-functions-sdk-go_PR-1047@tmp/jenkins-gitclient-ssh366001823648592540.key > git merge 18aea919e856cf66c43bd9a5ad63b0e8025cbed2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 65cbdfe9e8dc3c0857d438b88a8c409e49a3bf6e # timeout=10 Commit message: "feat: Improve service initialization process" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:25:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:25:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:25:08 ========================================================= 09:25:08 EdgeX Global Pipelines Version Info 09:25:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:25:09 ------------------- 09:25:09 stable info: 09:25:09 ------------------- 09:25:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:25:09 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 09:25:09 Message: update stable to v1.0.220 09:25:10 ------------------- 09:25:10 experimental info: 09:25:10 ------------------- 09:25:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:25:10 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 09:25:10 Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:25:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 09:25:10 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 09:25:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:25:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:25:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:25:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 09:25:10 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:25:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:25:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:25:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:25:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:25:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 09:25:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:25:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:25:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 09:25:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 09:25:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:25:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:25:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:25:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:25:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 09:25:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 09:25:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:25:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:25:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 09:25:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:25:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1047 [Pipeline] echo 09:25:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1047 [Pipeline] echo 09:25:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1047 [Pipeline] echo 09:25:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 65cbdfe9e8dc3c0857d438b88a8c409e49a3bf6e [Pipeline] echo 09:25:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 65cbdfe [Pipeline] echo 09:25:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:25:12 + git rev-list -1 --merges 65cbdfe9e8dc3c0857d438b88a8c409e49a3bf6e~1..65cbdfe9e8dc3c0857d438b88a8c409e49a3bf6e [Pipeline] echo 09:25:12 -----------> git rev-list -1 --merges 65cbdfe9e8dc3c0857d438b88a8c409e49a3bf6e~1..65cbdfe9e8dc3c0857d438b88a8c409e49a3bf6e 65cbdfe9e8dc3c0857d438b88a8c409e49a3bf6e [false] [Pipeline] sh 09:25:12 + git log --format=format:%s -1 65cbdfe9e8dc3c0857d438b88a8c409e49a3bf6e [Pipeline] echo 09:25:12 ========================================================= 09:25:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:25:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:25:13 + git log --format=format:%s -1 65cbdfe9e8dc3c0857d438b88a8c409e49a3bf6e [Pipeline] echo 09:25:13 [semverPrep] GIT_COMMIT: 65cbdfe9e8dc3c0857d438b88a8c409e49a3bf6e, Commit Message: feat: Improve service initialization process [Pipeline] echo 09:25:13 [semverPrep] This is not a build commit. [Pipeline] sh 09:25:13 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 09:25:13 + grep -v github /etc/ssh/ssh_known_hosts 09:25:13 + '[' -e /tmp/ssh_known_hosts ']' 09:25:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:25:13 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 09:25:13 + sudo tee -a /etc/ssh/ssh_known_hosts 09:25:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 09:25:14 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:25:14 09:25:14 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:25:14 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:25:14 latest: Pulling from edgex-devops/git-semver 09:25:14 a0d0a0d46f8b: Pulling fs layer 09:25:14 3e5f54012d9b: Pulling fs layer 09:25:14 4c7163046ea9: Pulling fs layer 09:25:14 0c2d73faf560: Pulling fs layer 09:25:14 0c2d73faf560: Waiting 09:25:14 3e5f54012d9b: Verifying Checksum 09:25:14 3e5f54012d9b: Download complete 09:25:14 a0d0a0d46f8b: Verifying Checksum 09:25:14 a0d0a0d46f8b: Download complete 09:25:14 0c2d73faf560: Verifying Checksum 09:25:14 0c2d73faf560: Download complete 09:25:14 4c7163046ea9: Verifying Checksum 09:25:14 4c7163046ea9: Download complete 09:25:14 a0d0a0d46f8b: Pull complete 09:25:14 3e5f54012d9b: Pull complete 09:25:14 4c7163046ea9: Pull complete 09:25:15 0c2d73faf560: Pull complete 09:25:15 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 09:25:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:25:15 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:25:15 prd-centos7-docker-4c-2g-5973 does not seem to be running inside a container 09:25:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-functions-sdk-go_PR-1047 -v /w/workspace/dry_app-functions-sdk-go_PR-1047:/w/workspace/dry_app-functions-sdk-go_PR-1047:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1047@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1047@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:25:15 $ docker top da46f241ee96998ad4bb40fa7add1789f8cc00843dbb23ffec0e70e28a51bb85 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:25:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:25:16 [ssh-agent] Looking for ssh-agent implementation... 09:25:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:25:16 $ docker exec da46f241ee96998ad4bb40fa7add1789f8cc00843dbb23ffec0e70e28a51bb85 ssh-agent 09:25:16 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkMoMcC/agent.13 09:25:16 SSH_AGENT_PID=19 09:25:16 Running ssh-add (command line suppressed) 09:25:16 Identity added: /w/workspace/dry_app-functions-sdk-go_PR-1047@tmp/private_key_3567830002100581760.key (/w/workspace/dry_app-functions-sdk-go_PR-1047@tmp/private_key_3567830002100581760.key) 09:25:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:25:16 + git tag --points-at HEAD [Pipeline] } 09:25:16 $ docker exec --env ******** --env ******** da46f241ee96998ad4bb40fa7add1789f8cc00843dbb23ffec0e70e28a51bb85 ssh-agent -k 09:25:16 unset SSH_AUTH_SOCK; 09:25:16 unset SSH_AGENT_PID; 09:25:16 echo Agent pid 19 killed; 09:25:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:25:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:25:17 [ssh-agent] Looking for ssh-agent implementation... 09:25:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:25:17 $ docker exec da46f241ee96998ad4bb40fa7add1789f8cc00843dbb23ffec0e70e28a51bb85 ssh-agent 09:25:17 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjNdEmC/agent.53 09:25:17 SSH_AGENT_PID=59 09:25:17 Running ssh-add (command line suppressed) 09:25:17 Identity added: /w/workspace/dry_app-functions-sdk-go_PR-1047@tmp/private_key_6025853916713852459.key (/w/workspace/dry_app-functions-sdk-go_PR-1047@tmp/private_key_6025853916713852459.key) 09:25:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:25:17 + git semver init 09:25:17 # -> Open(): unable to determine branch for HEAD 09:25:17 # $GIT_DIR = /w/workspace/dry_app-functions-sdk-go_PR-1047/.git 09:25:17 # $GIT_WORK_TREE = /w/workspace/dry_app-functions-sdk-go_PR-1047 09:25:17 # $SEMVER_REMOTE_NAME = origin 09:25:17 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:25:17 # $SEMVER_USER_NAME = edgex-jenkins 09:25:17 # $SEMVER_BRANCH = PR-1047 09:25:17 # $SEMVER_TEMP = /tmp/semver-033093666 09:25:17 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 09:25:20 # '/tmp/semver-033093666' -> '/w/workspace/dry_app-functions-sdk-go_PR-1047/.semver' 09:25:20 # -> Force: false 09:25:20 # $SEMVER_DIR = /w/workspace/dry_app-functions-sdk-go_PR-1047/.semver [Pipeline] } 09:25:20 $ docker exec --env ******** --env ******** da46f241ee96998ad4bb40fa7add1789f8cc00843dbb23ffec0e70e28a51bb85 ssh-agent -k 09:25:20 unset SSH_AUTH_SOCK; 09:25:20 unset SSH_AGENT_PID; 09:25:20 echo Agent pid 59 killed; 09:25:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:25:20 + git semver [Pipeline] } 09:25:20 $ docker stop --time=1 da46f241ee96998ad4bb40fa7add1789f8cc00843dbb23ffec0e70e28a51bb85 09:25:22 $ docker rm -f da46f241ee96998ad4bb40fa7add1789f8cc00843dbb23ffec0e70e28a51bb85 [Pipeline] // withDockerContainer [Pipeline] sh 09:25:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:25:22 Stashed 1 file(s) [Pipeline] echo 09:25:23 [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 09:25:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:25:23 ========================================================= 09:25:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 09:25:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 09:25:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 09:25:24 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 09:25:24 59bf1c3509f3: Pulling fs layer 09:25:24 666ba61612fd: Pulling fs layer 09:25:24 8ed8ca486205: Pulling fs layer 09:25:24 4fe6c5a15a65: Pulling fs layer 09:25:24 22a0e8bec74d: Pulling fs layer 09:25:24 640e595b4fbd: Pulling fs layer 09:25:24 763cafe07f6e: Pulling fs layer 09:25:24 0c0b528cf693: Pulling fs layer 09:25:24 10935f4eaf8b: Pulling fs layer 09:25:24 4fe6c5a15a65: Waiting 09:25:24 22a0e8bec74d: Waiting 09:25:24 640e595b4fbd: Waiting 09:25:24 763cafe07f6e: Waiting 09:25:24 0c0b528cf693: Waiting 09:25:24 10935f4eaf8b: Waiting 09:25:24 8ed8ca486205: Verifying Checksum 09:25:24 8ed8ca486205: Download complete 09:25:24 666ba61612fd: Download complete 09:25:24 22a0e8bec74d: Verifying Checksum 09:25:24 22a0e8bec74d: Download complete 09:25:24 640e595b4fbd: Verifying Checksum 09:25:24 640e595b4fbd: Download complete 09:25:24 59bf1c3509f3: Verifying Checksum 09:25:24 59bf1c3509f3: Download complete 09:25:24 763cafe07f6e: Verifying Checksum 09:25:24 763cafe07f6e: Download complete 09:25:24 0c0b528cf693: Verifying Checksum 09:25:24 0c0b528cf693: Download complete 09:25:24 10935f4eaf8b: Verifying Checksum 09:25:24 10935f4eaf8b: Download complete 09:25:24 4fe6c5a15a65: Verifying Checksum 09:25:24 4fe6c5a15a65: Download complete 09:25:24 59bf1c3509f3: Pull complete 09:25:24 666ba61612fd: Pull complete 09:25:24 8ed8ca486205: Pull complete 09:25:29 4fe6c5a15a65: Pull complete 09:25:29 22a0e8bec74d: Pull complete 09:25:29 640e595b4fbd: Pull complete 09:25:29 763cafe07f6e: Pull complete 09:25:29 0c0b528cf693: Pull complete 09:25:31 10935f4eaf8b: Pull complete 09:25:31 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 09:25:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 09:25:31 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] sh 09:25:31 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 09:25:32 + docker inspect -f . ci-base-image-x86_64 09:25:32 . [Pipeline] withDockerContainer 09:25:32 prd-centos7-docker-4c-2g-5973 does not seem to be running inside a container 09:25:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-functions-sdk-go_PR-1047 -v /w/workspace/dry_app-functions-sdk-go_PR-1047:/w/workspace/dry_app-functions-sdk-go_PR-1047:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1047@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1047@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:25:34 $ docker top 408904e8e4276c85e23386f82061fd6339f062223b7e954f760e71592be2111e -eo pid,comm [Pipeline] { [Pipeline] sh 09:25:35 + go version 09:25:35 go version go1.17.6 linux/amd64 [Pipeline] } 09:25:35 $ docker stop --time=1 408904e8e4276c85e23386f82061fd6339f062223b7e954f760e71592be2111e 09:25:36 $ docker rm -f 408904e8e4276c85e23386f82061fd6339f062223b7e954f760e71592be2111e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:25:36 + docker inspect -f . ci-base-image-x86_64 09:25:36 . [Pipeline] withDockerContainer 09:25:36 prd-centos7-docker-4c-2g-5973 does not seem to be running inside a container 09:25:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-functions-sdk-go_PR-1047 -v /w/workspace/dry_app-functions-sdk-go_PR-1047:/w/workspace/dry_app-functions-sdk-go_PR-1047:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1047@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1047@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:25:37 $ docker top 4b7ba2021e4079e278820c497ba09c62dbab76bda4ddda5897b62c7d34466916 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:25:37 + make test 09:25:37 make -C ./app-service-template build 09:25:37 make[1]: Entering directory '/w/workspace/dry_app-functions-sdk-go_PR-1047/app-service-template' 09:25:37 go mod tidy 09:25:37 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0-dev.9 09:25:37 go: downloading github.com/stretchr/testify v1.7.0 09:25:38 go: downloading github.com/google/uuid v1.3.0 09:25:38 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.1-dev.28 09:25:38 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0-dev.7 09:25:38 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 09:25:38 Still waiting to schedule task 09:25:38 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 09:25:38 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 09:25:38 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 09:25:38 go: downloading github.com/davecgh/go-spew v1.1.1 09:25:38 go: downloading github.com/pmezard/go-difflib v1.0.0 09:25:38 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 09:25:38 go: downloading github.com/stretchr/objx v0.1.1 09:25:38 go: downloading github.com/go-playground/validator/v10 v10.10.0 09:25:38 go: downloading github.com/go-kit/log v0.2.0 09:25:38 go: downloading github.com/gorilla/mux v1.8.0 09:25:38 go: downloading github.com/hashicorp/go-multierror v1.1.1 09:25:38 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 09:25:38 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.0 09:25:39 go: downloading github.com/mitchellh/copystructure v1.0.0 09:25:39 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 09:25:39 go: downloading github.com/gorilla/websocket v1.4.2 09:25:39 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 09:25:39 go: downloading github.com/go-playground/universal-translator v0.18.0 09:25:39 go: downloading github.com/leodido/go-urn v1.2.1 09:25:39 go: downloading golang.org/x/crypto v0.0.0-20210915214749-c084706c2272 09:25:40 go: downloading golang.org/x/text v0.3.7 09:25:42 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 09:25:42 go: downloading github.com/go-playground/assert/v2 v2.0.1 09:25:42 go: downloading github.com/go-playground/locales v0.14.0 09:25:43 go: downloading github.com/go-logfmt/logfmt v0.5.1 09:25:43 go: downloading github.com/pelletier/go-toml v1.9.4 09:25:43 go: downloading github.com/hashicorp/errwrap v1.0.0 09:25:43 go: downloading github.com/hashicorp/consul/api v1.9.1 09:25:43 go: downloading github.com/mitchellh/reflectwalk v1.0.0 09:25:43 go: downloading github.com/x448/float16 v0.8.4 09:25:43 go: downloading golang.org/x/sys v0.0.0-20210917161153-d61c044b1678 09:25:43 go: downloading github.com/kr/pretty v0.3.0 09:25:43 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 09:25:43 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 09:25:43 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 09:25:43 go: downloading github.com/hashicorp/go-hclog v0.12.0 09:25:43 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 09:25:43 go: downloading github.com/hashicorp/serf v0.9.5 09:25:43 go: downloading github.com/mitchellh/mapstructure v1.1.2 09:25:43 go: downloading github.com/hashicorp/consul/sdk v0.8.0 09:25:43 go: downloading github.com/hashicorp/go-uuid v1.0.1 09:25:43 go: downloading github.com/kr/text v0.2.0 09:25:43 go: downloading github.com/rogpeppe/go-internal v1.8.0 09:25:43 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 09:25:43 go: downloading github.com/go-redis/redis/v7 v7.3.0 09:25:43 go: downloading github.com/pebbe/zmq4 v1.2.7 09:25:43 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 09:25:43 go: downloading github.com/fatih/color v1.9.0 09:25:43 go: downloading github.com/mattn/go-colorable v0.1.6 09:25:43 go: downloading github.com/mattn/go-isatty v0.0.12 09:25:43 go: downloading github.com/mitchellh/go-homedir v1.1.0 09:25:43 go: downloading github.com/pkg/errors v0.9.1 09:25:43 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 09:25:43 go: downloading github.com/hashicorp/go-msgpack v0.5.3 09:25:43 go: downloading github.com/hashicorp/memberlist v0.2.2 09:25:43 go: downloading github.com/onsi/ginkgo v1.10.1 09:25:43 go: downloading github.com/onsi/gomega v1.7.0 09:25:43 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 09:25:43 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 09:25:43 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 09:25:43 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 09:25:43 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 09:25:44 go: downloading github.com/miekg/dns v1.1.26 09:25:44 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 09:25:44 go: downloading github.com/hashicorp/golang-lru v0.5.0 09:25:44 go: downloading github.com/hpcloud/tail v1.0.0 09:25:44 go: downloading gopkg.in/yaml.v2 v2.3.0 09:25:44 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 09:25:44 go: downloading gopkg.in/fsnotify.v1 v1.4.7 09:25:44 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0-dev.11 09:25:44 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0-dev.8 09:25:44 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 09:25:57 make[1]: Leaving directory '/w/workspace/dry_app-functions-sdk-go_PR-1047/app-service-template' 09:25:57 make -C ./app-service-template test 09:25:57 make[1]: Entering directory '/w/workspace/dry_app-functions-sdk-go_PR-1047/app-service-template' 09:25:57 CGO_ENABLED=1 go test -race -coverprofile=coverage.out ./... 09:26:29 ok new-app-service 0.048s coverage: 48.1% of statements 09:26:29 ? new-app-service/config [no test files] 09:26:29 ok new-app-service/functions 0.042s 09:26:29 CGO_ENABLED=1 go vet ./... 09:26:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:26:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:26:32 ./bin/test-attribution-txt.sh 09:26:32 make[1]: Leaving directory '/w/workspace/dry_app-functions-sdk-go_PR-1047/app-service-template' 09:26:32 CGO_ENABLED=1 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 09:26:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 09:26:34 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.075s coverage: 64.9% of statements 09:26:34 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.053s coverage: 93.7% of statements 09:26:34 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 09:26:34 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.063s coverage: 48.1% of statements 09:26:34 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 09:26:34 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.041s 09:26:34 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.035s coverage: 100.0% of statements 09:26:35 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.114s coverage: 78.3% of statements 09:26:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 09:26:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 09:26:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 09:26:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 09:26:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 09:26:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 09:26:35 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.029s coverage: 97.3% of statements 09:26:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 09:26:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] 09:26:35 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.048s coverage: 91.8% of statements 09:26:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] 09:26:37 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 0.666s coverage: 80.4% of statements 09:26:37 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] 09:26:37 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] 09:26:37 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.042s coverage: 32.9% of statements 09:26:37 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] 09:26:37 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.043s coverage: 14.3% of statements 09:26:38 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.031s coverage: 27.3% of statements 09:26:38 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 09:26:38 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 09:26:38 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.047s coverage: 34.0% of statements 09:27:04 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.126s coverage: 78.2% of statements 09:27:04 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.067s coverage: 94.4% of statements 09:27:04 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:27:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:27:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:27:10 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5974 in /w/workspace/dry_app-functions-sdk-go_PR-1047 [Pipeline] { [Pipeline] ws 09:27:10 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout 09:27:11 The recommended git tool is: git 09:27:15 using credential edgex-jenkins-ssh 09:27:15 Cloning the remote Git repository 09:27:15 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 09:27:16 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 09:27:16 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 09:27:16 > git --version # timeout=10 09:27:16 > git --version # 'git version 2.17.1' 09:27:16 using GIT_SSH to set credentials SSH Credentials for GitHub 09:27:16 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:27:17 internal/app/service.go:495:53: SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck) 09:27:17 svc.ctx.appCtx = context.WithValue(svc.ctx.appCtx, internal.ContextKeySecretAddedSignal, secretAddedSignal) 09:27:17 ^ 09:27:17 make: *** [Makefile:30: lint] Error 1 [Pipeline] } 09:27:17 $ docker stop --time=1 4b7ba2021e4079e278820c497ba09c62dbab76bda4ddda5897b62c7d34466916 09:27:19 $ docker rm -f 4b7ba2021e4079e278820c497ba09c62dbab76bda4ddda5897b62c7d34466916 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) 09:27:19 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 09:27:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:27:20 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:27:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:27:20 09:27:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:27:20 Merging remotes/origin/main commit 18aea919e856cf66c43bd9a5ad63b0e8025cbed2 into PR head commit 65cbdfe9e8dc3c0857d438b88a8c409e49a3bf6e [Pipeline] isUnix [Pipeline] sh 09:27:21 Merge succeeded, producing 65cbdfe9e8dc3c0857d438b88a8c409e49a3bf6e 09:27:21 Checking out Revision 65cbdfe9e8dc3c0857d438b88a8c409e49a3bf6e (PR-1047) 09:27:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:27:21 latest: Pulling from edgex-lftools-log-publisher 09:27:21 b4d181a07f80: Pulling fs layer 09:27:21 a1111a8f2ec3: Pulling fs layer 09:27:21 ed53099fbce6: Pulling fs layer 09:27:21 dc539afda2c1: Pulling fs layer 09:27:21 77bc0d833cb6: Pulling fs layer 09:27:21 9065ff56babe: Pulling fs layer 09:27:21 d287ab97295c: Pulling fs layer 09:27:21 77bc0d833cb6: Waiting 09:27:21 9065ff56babe: Waiting 09:27:21 d287ab97295c: Waiting 09:27:21 dc539afda2c1: Waiting 09:27:21 a1111a8f2ec3: Verifying Checksum 09:27:21 a1111a8f2ec3: Download complete 09:27:21 dc539afda2c1: Verifying Checksum 09:27:21 dc539afda2c1: Download complete 09:27:21 ed53099fbce6: Verifying Checksum 09:27:21 ed53099fbce6: Download complete 09:27:21 9065ff56babe: Verifying Checksum 09:27:21 9065ff56babe: Download complete 09:27:21 77bc0d833cb6: Verifying Checksum 09:27:21 77bc0d833cb6: Download complete 09:27:21 b4d181a07f80: Verifying Checksum 09:27:21 b4d181a07f80: Download complete 09:27:20 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 09:27:20 using GIT_SSH to set credentials SSH Credentials for GitHub 09:27:20 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/1047/head:refs/remotes/origin/PR-1047 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:27:20 > git config core.sparsecheckout # timeout=10 09:27:20 > git checkout -f 65cbdfe9e8dc3c0857d438b88a8c409e49a3bf6e # timeout=10 09:27:20 > git remote # timeout=10 09:27:20 > git config --get remote.origin.url # timeout=10 09:27:20 using GIT_SSH to set credentials SSH Credentials for GitHub 09:27:20 > git merge 18aea919e856cf66c43bd9a5ad63b0e8025cbed2 # timeout=10 09:27:21 > git rev-parse HEAD^{commit} # timeout=10 09:27:21 > git config core.sparsecheckout # timeout=10 09:27:21 > git checkout -f 65cbdfe9e8dc3c0857d438b88a8c409e49a3bf6e # timeout=10 09:27:21 d287ab97295c: Verifying Checksum 09:27:21 d287ab97295c: Download complete 09:27:22 b4d181a07f80: Pull complete 09:27:22 a1111a8f2ec3: Pull complete 09:27:23 ed53099fbce6: Pull complete 09:27:23 dc539afda2c1: Pull complete 09:27:23 77bc0d833cb6: Pull complete 09:27:23 9065ff56babe: Pull complete 09:27:25 Commit message: "feat: Improve service initialization process" 09:27:25 > git --version # timeout=10 09:27:25 > git --version # 'git version 2.17.1' 09:27:25 fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 09:27:25 09:27:25 GitHub has been notified of this commit’s build result 09:27:25 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:27:26 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:27:26 % Total % Received % Xferd Average Speed Time Time Time Current 09:27:26 Dload Upload Total Spent Left Speed 09:27:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 59215 0 --:--:-- --:--:-- --:--:-- 59215 [Pipeline] sh 09:27:26 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:27:27 + sudo tee /etc/docker/daemon.new 09:27:27 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:27:27 { 09:27:27 "registry-mirrors": [ 09:27:27 "https://nexus3.edgexfoundry.org:10001" 09:27:27 ], 09:27:27 "bip": "10.250.0.254/24", 09:27:27 "hosts": [ 09:27:27 "tcp://0.0.0.0:5555", 09:27:27 "unix:///var/run/docker.sock" 09:27:27 ], 09:27:27 "mtu": 1458, 09:27:27 "selinux-enabled": true, 09:27:27 "seccomp-profile": "/etc/docker/seccomp.json" 09:27:27 } [Pipeline] sh 09:27:27 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:27:28 + sudo service docker restart 09:27:29 d287ab97295c: Pull complete 09:27:29 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 09:27:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:27:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 09:27:29 prd-centos7-docker-4c-2g-5973 does not seem to be running inside a container 09:27:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_app-functions-sdk-go_PR-1047 -v /w/workspace/dry_app-functions-sdk-go_PR-1047:/w/workspace/dry_app-functions-sdk-go_PR-1047:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1047@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1047@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:27:31 $ docker top 636b7b9867808618d050b5d9d9fa560d50358e07f49a60078c6ce6accad2f21a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:27:32 ---> job-cost.sh 09:27:32 lf-activate-venv: SKIPPING 09:27:32 INFO: No Stack... 09:27:32 INFO: Retrieving Pricing Info for: v3-standard-2 09:27:32 INFO: Archiving Costs [Pipeline] sh 09:27:33 + cat /w/workspace/dry_app-functions-sdk-go_PR-1047/archives/cost.csv 09:27:33 + cut -d, -f6 [Pipeline] lock 09:27:33 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1047-1-stack-cost] 09:27:33 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1047-1-stack-cost] did not exist. Created. 09:27:33 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1047-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:27:33 + echo total: 0.05999999865889549 [Pipeline] stash 09:27:33 Stashed 1 file(s) [Pipeline] } 09:27:33 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1047-1-stack-cost] [Pipeline] // lock [Pipeline] } 09:27:33 $ docker stop --time=1 636b7b9867808618d050b5d9d9fa560d50358e07f49a60078c6ce6accad2f21a 09:27:34 $ docker rm -f 636b7b9867808618d050b5d9d9fa560d50358e07f49a60078c6ce6accad2f21a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:27:35 Failed in branch amd64 [Pipeline] unstash [Pipeline] echo 09:27:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:27:46 ========================================================= 09:27:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 09:27:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 09:27:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 09:27:48 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:27:48 9b3977197b4f: Pulling fs layer 09:27:48 1a89e8eeedd5: Pulling fs layer 09:27:48 94645a83ff95: Pulling fs layer 09:27:48 3f3a8bcf1eab: Pulling fs layer 09:27:48 0c92f367c5e7: Pulling fs layer 09:27:48 f7c0051592d6: Pulling fs layer 09:27:48 a227ed2f7395: Pulling fs layer 09:27:48 7b1c46037f91: Pulling fs layer 09:27:48 0c92f367c5e7: Waiting 09:27:48 3f3a8bcf1eab: Waiting 09:27:48 f7c0051592d6: Waiting 09:27:48 a227ed2f7395: Waiting 09:27:48 94645a83ff95: Verifying Checksum 09:27:48 94645a83ff95: Download complete 09:27:48 1a89e8eeedd5: Verifying Checksum 09:27:48 1a89e8eeedd5: Download complete 09:27:48 0c92f367c5e7: Verifying Checksum 09:27:48 0c92f367c5e7: Download complete 09:27:48 f7c0051592d6: Verifying Checksum 09:27:48 f7c0051592d6: Download complete 09:27:48 9b3977197b4f: Download complete 09:27:48 a227ed2f7395: Verifying Checksum 09:27:48 a227ed2f7395: Download complete 09:27:48 9b3977197b4f: Pull complete 09:27:49 1a89e8eeedd5: Pull complete 09:27:49 94645a83ff95: Pull complete 09:27:49 7b1c46037f91: Verifying Checksum 09:27:49 7b1c46037f91: Download complete 09:27:50 3f3a8bcf1eab: Verifying Checksum 09:27:50 3f3a8bcf1eab: Download complete 09:28:02 3f3a8bcf1eab: Pull complete 09:28:02 0c92f367c5e7: Pull complete 09:28:02 f7c0051592d6: Pull complete 09:28:02 a227ed2f7395: Pull complete 09:28:08 7b1c46037f91: Pull complete 09:28:08 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 09:28:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 09:28:08 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] sh 09:28:08 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 09:28:08 + docker inspect -f . ci-base-image-arm64 09:28:08 . [Pipeline] withDockerContainer 09:28:09 prd-ubuntu18.04-docker-arm64-4c-16g-5974 does not seem to be running inside a container 09:28:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:28:12 $ docker top 6632a8d82c66616147cf6a9cb270754f61220e68236b849c6134746094a27d85 -eo pid,comm [Pipeline] { [Pipeline] sh 09:28:13 + go version 09:28:13 go version go1.17.6 linux/arm64 [Pipeline] } 09:28:13 $ docker stop --time=1 6632a8d82c66616147cf6a9cb270754f61220e68236b849c6134746094a27d85 09:28:14 $ docker rm -f 6632a8d82c66616147cf6a9cb270754f61220e68236b849c6134746094a27d85 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:28:15 + docker inspect -f . ci-base-image-arm64 09:28:15 . [Pipeline] withDockerContainer 09:28:16 prd-ubuntu18.04-docker-arm64-4c-16g-5974 does not seem to be running inside a container 09:28:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:28:17 $ docker top c5d3d6e27329b5e7df5b3b9113a9d9c833fc5710a8f9fba699d23c944923f4a7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:28:18 + make test 09:28:18 make -C ./app-service-template build 09:28:18 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 09:28:18 go mod tidy 09:28:18 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0-dev.9 09:28:18 go: downloading github.com/google/uuid v1.3.0 09:28:18 go: downloading github.com/stretchr/testify v1.7.0 09:28:18 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.1-dev.28 09:28:18 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0-dev.7 09:28:18 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 09:28:18 go: downloading github.com/davecgh/go-spew v1.1.1 09:28:18 go: downloading github.com/pmezard/go-difflib v1.0.0 09:28:18 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 09:28:18 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 09:28:18 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 09:28:19 go: downloading github.com/stretchr/objx v0.1.1 09:28:19 go: downloading github.com/go-playground/validator/v10 v10.10.0 09:28:19 go: downloading github.com/go-kit/log v0.2.0 09:28:19 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 09:28:19 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.0 09:28:19 go: downloading github.com/gorilla/mux v1.8.0 09:28:19 go: downloading github.com/hashicorp/go-multierror v1.1.1 09:28:19 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 09:28:19 go: downloading github.com/mitchellh/copystructure v1.0.0 09:28:19 go: downloading github.com/hashicorp/consul/api v1.9.1 09:28:19 go: downloading github.com/pelletier/go-toml v1.9.4 09:28:19 go: downloading github.com/gorilla/websocket v1.4.2 09:28:19 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 09:28:19 go: downloading github.com/go-logfmt/logfmt v0.5.1 09:28:19 go: downloading github.com/go-playground/universal-translator v0.18.0 09:28:19 go: downloading github.com/leodido/go-urn v1.2.1 09:28:19 go: downloading golang.org/x/crypto v0.0.0-20210915214749-c084706c2272 09:28:19 go: downloading golang.org/x/text v0.3.7 09:28:20 go: downloading github.com/go-playground/locales v0.14.0 09:28:20 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 09:28:20 go: downloading github.com/go-playground/assert/v2 v2.0.1 09:28:23 go: downloading github.com/hashicorp/errwrap v1.0.0 09:28:23 go: downloading github.com/mitchellh/reflectwalk v1.0.0 09:28:23 go: downloading github.com/x448/float16 v0.8.4 09:28:23 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 09:28:23 go: downloading github.com/hashicorp/go-hclog v0.12.0 09:28:23 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 09:28:23 go: downloading github.com/hashicorp/serf v0.9.5 09:28:23 go: downloading github.com/mitchellh/mapstructure v1.1.2 09:28:23 go: downloading github.com/hashicorp/consul/sdk v0.8.0 09:28:23 go: downloading github.com/hashicorp/go-uuid v1.0.1 09:28:23 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 09:28:23 go: downloading golang.org/x/sys v0.0.0-20210917161153-d61c044b1678 09:28:23 go: downloading github.com/kr/pretty v0.3.0 09:28:23 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 09:28:23 go: downloading github.com/mitchellh/go-homedir v1.1.0 09:28:23 go: downloading github.com/fatih/color v1.9.0 09:28:23 go: downloading github.com/mattn/go-colorable v0.1.6 09:28:23 go: downloading github.com/mattn/go-isatty v0.0.12 09:28:23 go: downloading github.com/pkg/errors v0.9.1 09:28:23 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 09:28:23 go: downloading github.com/go-redis/redis/v7 v7.3.0 09:28:23 go: downloading github.com/pebbe/zmq4 v1.2.7 09:28:23 go: downloading github.com/kr/text v0.2.0 09:28:23 go: downloading github.com/rogpeppe/go-internal v1.8.0 09:28:23 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 09:28:23 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 09:28:23 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 09:28:23 go: downloading github.com/hashicorp/go-msgpack v0.5.3 09:28:23 go: downloading github.com/hashicorp/memberlist v0.2.2 09:28:23 go: downloading github.com/onsi/ginkgo v1.10.1 09:28:23 go: downloading github.com/onsi/gomega v1.7.0 09:28:23 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 09:28:23 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 09:28:23 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 09:28:23 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 09:28:23 go: downloading github.com/miekg/dns v1.1.26 09:28:23 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 09:28:23 go: downloading github.com/hashicorp/golang-lru v0.5.0 09:28:23 go: downloading gopkg.in/yaml.v2 v2.3.0 09:28:23 go: downloading github.com/hpcloud/tail v1.0.0 09:28:24 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 09:28:24 go: downloading gopkg.in/fsnotify.v1 v1.4.7 09:28:24 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0-dev.11 09:28:24 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0-dev.8 09:28:25 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 09:29:04 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 09:29:04 make -C ./app-service-template test 09:29:04 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 09:29:04 CGO_ENABLED=1 go test -race -coverprofile=coverage.out ./... 09:30:40 ok new-app-service 0.224s coverage: 48.1% of statements 09:30:40 ? new-app-service/config [no test files] 09:30:40 ok new-app-service/functions 0.191s 09:30:40 CGO_ENABLED=1 go vet ./... 09:30:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:30:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:30:56 ./bin/test-attribution-txt.sh 09:30:57 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' 09:30:57 CGO_ENABLED=1 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 09:30:59 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 09:31:11 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.475s coverage: 64.9% of statements 09:31:11 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.237s coverage: 93.7% of statements 09:31:11 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 09:31:11 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.392s coverage: 48.1% of statements 09:31:11 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 09:31:11 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.230s 09:31:11 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.128s coverage: 100.0% of statements 09:31:11 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.445s coverage: 78.3% of statements 09:31:11 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 09:31:11 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 09:31:11 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 09:31:11 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 09:31:11 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 09:31:11 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 09:31:11 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.088s coverage: 97.3% of statements 09:31:11 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 09:31:11 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] 09:31:12 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.312s coverage: 91.8% of statements 09:31:12 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] 09:31:16 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 0.950s coverage: 80.4% of statements 09:31:16 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] 09:31:16 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] 09:31:16 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.333s coverage: 32.9% of statements 09:31:16 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] 09:31:16 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.176s coverage: 14.3% of statements 09:31:18 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.182s coverage: 27.3% of statements 09:31:18 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 09:31:18 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 09:31:18 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.208s coverage: 34.0% of statements 09:31:51 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.458s coverage: 78.2% of statements 09:31:51 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.214s coverage: 94.4% of statements 09:31:51 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:31:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:31:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:31:53 WARNING: Linting skipped (not on x86_64 or linter not installed) [Pipeline] echo 09:31:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:31:53 $ docker stop --time=1 c5d3d6e27329b5e7df5b3b9113a9d9c833fc5710a8f9fba699d23c944923f4a7 09:31:55 $ docker rm -f c5d3d6e27329b5e7df5b3b9113a9d9c833fc5710a8f9fba699d23c944923f4a7 [Pipeline] // withDockerContainer [Pipeline] sh 09:31:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:31:58 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 09:31:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:31:59 09:31:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 09:31:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:31:59 arm64: Pulling from edgex-lftools-log-publisher 09:31:59 448f6bf000e3: Pulling fs layer 09:31:59 f757da607395: Pulling fs layer 09:31:59 05883995daec: Pulling fs layer 09:31:59 8603b9c90790: Pulling fs layer 09:31:59 1560dd03e051: Pulling fs layer 09:31:59 27f5ce0e4adf: Pulling fs layer 09:31:59 c2d8d7efcc4b: Pulling fs layer 09:31:59 8603b9c90790: Waiting 09:31:59 1560dd03e051: Waiting 09:31:59 27f5ce0e4adf: Waiting 09:31:59 c2d8d7efcc4b: Waiting 09:31:59 f757da607395: Verifying Checksum 09:31:59 f757da607395: Download complete 09:31:59 8603b9c90790: Verifying Checksum 09:31:59 8603b9c90790: Download complete 09:31:59 1560dd03e051: Verifying Checksum 09:31:59 1560dd03e051: Download complete 09:31:59 27f5ce0e4adf: Verifying Checksum 09:31:59 27f5ce0e4adf: Download complete 09:31:59 05883995daec: Verifying Checksum 09:31:59 05883995daec: Download complete 09:32:00 448f6bf000e3: Verifying Checksum 09:32:00 448f6bf000e3: Download complete 09:32:02 c2d8d7efcc4b: Verifying Checksum 09:32:02 c2d8d7efcc4b: Download complete 09:32:04 448f6bf000e3: Pull complete 09:32:04 f757da607395: Pull complete 09:32:06 05883995daec: Pull complete 09:32:06 8603b9c90790: Pull complete 09:32:07 1560dd03e051: Pull complete 09:32:07 27f5ce0e4adf: Pull complete 09:32:22 c2d8d7efcc4b: Pull complete 09:32:22 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 09:32:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:32:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 09:32:22 prd-ubuntu18.04-docker-arm64-4c-16g-5974 does not seem to be running inside a container 09:32:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:32:25 $ docker top d65724db47753bf2aac39b59555c51ea2ac3e78a417981219e70663be60b1fa2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:32:26 ---> job-cost.sh 09:32:26 lf-activate-venv: SKIPPING 09:32:26 INFO: No Stack... 09:32:26 INFO: Retrieving Pricing Info for: v3-standard-4 09:32:27 INFO: Archiving Costs [Pipeline] sh 09:32:27 + cut -d, -f6 09:32:27 + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv [Pipeline] lock 09:32:28 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1047-1-stack-cost] 09:32:28 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1047-1-stack-cost] did not exist. Created. 09:32:28 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1047-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:32:28 /w/workspace/app-functions-sdk-go/1@tmp/durable-214917d9/script.sh: 1: /w/workspace/app-functions-sdk-go/1@tmp/durable-214917d9/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 09:32:29 + echo total: 0.10999999940395355 [Pipeline] stash 09:32:29 Warning: overwriting stash ‘stack-cost’ 09:32:29 Stashed 1 file(s) [Pipeline] } 09:32:29 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1047-1-stack-cost] [Pipeline] // lock [Pipeline] } 09:32:29 $ docker stop --time=1 d65724db47753bf2aac39b59555c51ea2ac3e78a417981219e70663be60b1fa2 09:32:31 $ docker rm -f d65724db47753bf2aac39b59555c51ea2ac3e78a417981219e70663be60b1fa2 [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) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 09:32:33 + '[' -d /w/workspace/dry_app-functions-sdk-go_PR-1047/archives ']' 09:32:33 + ls -al /w/workspace/dry_app-functions-sdk-go_PR-1047/archives 09:32:33 total 8 09:32:33 drwxr-xr-x. 3 root root 34 Feb 25 09:27 . 09:32:33 drwxrwxr-x. 10 jenkins jenkins 4096 Feb 25 09:27 .. 09:32:33 drwxr-xr-x. 2 root root 6 Feb 25 09:27 cost 09:32:33 -rw-r--r--. 1 root root 92 Feb 25 09:27 cost.csv 09:32:33 + sudo chown -R jenkins:jenkins /w/workspace/dry_app-functions-sdk-go_PR-1047/archives 09:32:33 + ls -al /w/workspace/dry_app-functions-sdk-go_PR-1047/archives 09:32:33 total 8 09:32:33 drwxr-xr-x. 3 jenkins jenkins 34 Feb 25 09:27 . 09:32:33 drwxrwxr-x. 10 jenkins jenkins 4096 Feb 25 09:27 .. 09:32:33 drwxr-xr-x. 2 jenkins jenkins 6 Feb 25 09:27 cost 09:32:33 -rw-r--r--. 1 jenkins jenkins 92 Feb 25 09:27 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:32:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:32:34 ---> package-listing.sh 09:32:34 ++ facter osfamily 09:32:34 ++ tr '[:upper:]' '[:lower:]' 09:32:35 + OS_FAMILY=redhat 09:32:35 + workspace=/w/workspace/dry_app-functions-sdk-go_PR-1047 09:32:35 + START_PACKAGES=/tmp/packages_start.txt 09:32:35 + END_PACKAGES=/tmp/packages_end.txt 09:32:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:32:35 + PACKAGES=/tmp/packages_start.txt 09:32:35 + '[' /w/workspace/dry_app-functions-sdk-go_PR-1047 ']' 09:32:35 + PACKAGES=/tmp/packages_end.txt 09:32:35 + case "${OS_FAMILY}" in 09:32:35 + rpm -qa 09:32:35 + sort 09:32:35 + '[' -f /tmp/packages_start.txt ']' 09:32:35 + '[' -f /tmp/packages_end.txt ']' 09:32:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:32:35 + '[' /w/workspace/dry_app-functions-sdk-go_PR-1047 ']' 09:32:35 + mkdir -p /w/workspace/dry_app-functions-sdk-go_PR-1047/archives/ 09:32:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_app-functions-sdk-go_PR-1047/archives/ [Pipeline] echo 09:32:35 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_app-functions-sdk-go_PR-1047/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:32:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:32:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:32:36 . [Pipeline] withDockerContainer 09:32:36 prd-centos7-docker-4c-2g-5973 does not seem to be running inside a container 09:32:36 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_app-functions-sdk-go_PR-1047/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_app-functions-sdk-go_PR-1047 -v /w/workspace/dry_app-functions-sdk-go_PR-1047:/w/workspace/dry_app-functions-sdk-go_PR-1047:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1047@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1047@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:32:36 $ docker top 8f52f1b6cad0b0de67feeea87e357c13b589a7ab6cb1011f5f5bd75f02f59b53 -eo pid,comm [Pipeline] { [Pipeline] sh 09:32:37 + touch /tmp/pre-build-complete [Pipeline] sh 09:32:37 + mkdir -p /var/log/sysstat [Pipeline] sh 09:32:38 + ls /var/log/sa-host 09:32:38 + sadf -c /var/log/sa-host/sa17 09:32:38 file_magic: OK 09:32:38 HZ: Using current value: 100 09:32:38 file_header: OK 09:32:38 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 09:32:38 Statistics: 09:32:38 Hnuu...uuuununununu...Hnuu...uuuununununu... 09:32:38 File successfully converted to sysstat format version 12.0.3 09:32:38 + sadf -c /var/log/sa-host/sa25 09:32:38 file_magic: OK 09:32:38 HZ: Using current value: 100 09:32:38 file_header: OK 09:32:38 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 09:32:38 Statistics: 09:32:38 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 09:32:38 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:32:38 provisioning config files... 09:32:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_app-functions-sdk-go_PR-1047@tmp/config7452393243951496505tmp [Pipeline] { [Pipeline] echo 09:32:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:32:38 ---> create-netrc.sh [Pipeline] } 09:32:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:32:39 ---> python-tools-install.sh [Pipeline] echo 09:32:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:32:39 ---> sudo-logs.sh 09:32:39 Archiving 'sudo' log.. 09:32:39 sudo: unable to resolve host prd-centos7-docker-4c-2g-5973.novalocal: Name or service not known 09:32:39 sudo: unable to resolve host prd-centos7-docker-4c-2g-5973.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 09:32:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:32:39 ---> job-cost.sh 09:32:39 lf-activate-venv: SKIPPING 09:32:39 DEBUG: total: 0.05999999865889549 09:32:39 INFO: Retrieving Stack Cost... 09:32:40 INFO: Retrieving Pricing Info for: v3-standard-2 09:32:40 INFO: Archiving Costs [Pipeline] echo 09:32:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:32:40 ---> logs-deploy.sh 09:32:40 lf-activate-venv: SKIPPING 09:32:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-1047/1 09:32:40 INFO: archiving workspace using pattern(s): 09:32:41 Archives upload complete. 09:32:41 INFO: archiving logs to Nexus