Pull request #1105 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 f279096a45514c4518cfacf4db5a9247258f0d22+8ff173fd18bf782e524f745cdae59ce6ba93ae89 (57767955a76c0c94d4eeb2c56999c39998c956fb) 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-ssh13813227345225440244.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh16941684744327759197.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-1105/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-1105/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh17270750192553788534.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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-ssh10796156679674523333.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1105/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-1105/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1603902384934160375.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-functions-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-33678’ is offline Running on prd-ubuntu20.04-docker-8c-8g-33683 in /w/workspace/dry_app-functions-sdk-go_PR-1105 [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-1105 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/1105/head:refs/remotes/origin/PR-1105 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8ff173fd18bf782e524f745cdae59ce6ba93ae89 into PR head commit f279096a45514c4518cfacf4db5a9247258f0d22 Merge succeeded, producing f279096a45514c4518cfacf4db5a9247258f0d22 Checking out Revision f279096a45514c4518cfacf4db5a9247258f0d22 (PR-1105) > git config core.sparsecheckout # timeout=10 > git checkout -f f279096a45514c4518cfacf4db5a9247258f0d22 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 8ff173fd18bf782e524f745cdae59ce6ba93ae89 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f279096a45514c4518cfacf4db5a9247258f0d22 # timeout=10 Commit message: "fix: Update all doc links in app template to refer to version 2.2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-28T17:25:45.438Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-28T17:25:45.506Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-28T17:25:45.523Z] ========================================================= [2022-04-28T17:25:45.523Z] EdgeX Global Pipelines Version Info [2022-04-28T17:25:45.523Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 2e65055c81ad331f06cf64bbe8861481efbeffcc # timeout=10 [2022-04-28T17:25:46.274Z] ------------------- [2022-04-28T17:25:46.274Z] stable info: [2022-04-28T17:25:46.274Z] ------------------- [2022-04-28T17:25:46.274Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-28T17:25:46.274Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-04-28T17:25:46.274Z] Message: update stable to v1.0.227 [2022-04-28T17:25:46.848Z] ------------------- [2022-04-28T17:25:46.848Z] experimental info: [2022-04-28T17:25:46.848Z] ------------------- [2022-04-28T17:25:46.848Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-28T17:25:46.848Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-04-28T17:25:46.848Z] Message: update experimental to v1.0.227 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-28T17:25:46.996Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2022-04-28T17:25:47.008Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2022-04-28T17:25:47.023Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-28T17:25:47.036Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-28T17:25:47.047Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-28T17:25:47.063Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-28T17:25:47.079Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-28T17:25:47.090Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-28T17:25:47.106Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-28T17:25:47.117Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-28T17:25:47.134Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-28T17:25:47.145Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2022-04-28T17:25:47.160Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-28T17:25:47.176Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-28T17:25:47.188Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2022-04-28T17:25:47.206Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-04-28T17:25:47.223Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-28T17:25:47.234Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-28T17:25:47.251Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-28T17:25:47.271Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-28T17:25:47.281Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-04-28T17:25:47.292Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-04-28T17:25:47.303Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-28T17:25:47.317Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-28T17:25:47.330Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2022-04-28T17:25:47.346Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-28T17:25:47.359Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1105 [Pipeline] echo [2022-04-28T17:25:47.378Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1105 [Pipeline] echo [2022-04-28T17:25:47.394Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1105 [Pipeline] echo [2022-04-28T17:25:47.408Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f279096a45514c4518cfacf4db5a9247258f0d22 [Pipeline] echo [2022-04-28T17:25:47.424Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f279096 [Pipeline] echo [2022-04-28T17:25:47.441Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-28T17:25:47.800Z] + git rev-list -1 --merges f279096a45514c4518cfacf4db5a9247258f0d22~1..f279096a45514c4518cfacf4db5a9247258f0d22 [Pipeline] echo [2022-04-28T17:25:47.842Z] -----------> git rev-list -1 --merges f279096a45514c4518cfacf4db5a9247258f0d22~1..f279096a45514c4518cfacf4db5a9247258f0d22 f279096a45514c4518cfacf4db5a9247258f0d22 [false] [Pipeline] sh [2022-04-28T17:25:48.140Z] + git log --format=format:%s -1 f279096a45514c4518cfacf4db5a9247258f0d22 [Pipeline] echo [2022-04-28T17:25:48.155Z] ========================================================= [2022-04-28T17:25:48.155Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-28T17:25:48.155Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-28T17:25:48.505Z] + git log --format=format:%s -1 f279096a45514c4518cfacf4db5a9247258f0d22 [Pipeline] echo [2022-04-28T17:25:48.521Z] [semverPrep] GIT_COMMIT: f279096a45514c4518cfacf4db5a9247258f0d22, Commit Message: fix: Update all doc links in app template to refer to version 2.2 [Pipeline] echo [2022-04-28T17:25:48.530Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-28T17:25:49.092Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-28T17:25:49.092Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-28T17:25:49.092Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-28T17:25:49.092Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-28T17:25:49.092Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-28T17:25:49.092Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-28T17:25:49.092Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-28T17:25:49.451Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-04-28T17:25:49.714Z] [2022-04-28T17:25:49.714Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-28T17:25:50.027Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-04-28T17:25:50.027Z] latest: Pulling from edgex-devops/py-git-semver [2022-04-28T17:25:50.027Z] 1fe172e4850f: Pulling fs layer [2022-04-28T17:25:50.027Z] caf521ccaac6: Pulling fs layer [2022-04-28T17:25:50.027Z] 3ead6fa29328: Pulling fs layer [2022-04-28T17:25:50.027Z] 5c2a1cbceb83: Pulling fs layer [2022-04-28T17:25:50.027Z] a8d5f1318db7: Pulling fs layer [2022-04-28T17:25:50.027Z] c427282e49a2: Pulling fs layer [2022-04-28T17:25:50.027Z] 1827001aaf11: Pulling fs layer [2022-04-28T17:25:50.027Z] 0714d37db230: Pulling fs layer [2022-04-28T17:25:50.027Z] ac28cf19c067: Pulling fs layer [2022-04-28T17:25:50.027Z] ca983d60f3e2: Pulling fs layer [2022-04-28T17:25:50.027Z] 9f894cec8388: Pulling fs layer [2022-04-28T17:25:50.027Z] 1827001aaf11: Waiting [2022-04-28T17:25:50.027Z] 0714d37db230: Waiting [2022-04-28T17:25:50.027Z] ac28cf19c067: Waiting [2022-04-28T17:25:50.027Z] ca983d60f3e2: Waiting [2022-04-28T17:25:50.027Z] 9f894cec8388: Waiting [2022-04-28T17:25:50.027Z] 5c2a1cbceb83: Waiting [2022-04-28T17:25:50.027Z] a8d5f1318db7: Waiting [2022-04-28T17:25:50.027Z] c427282e49a2: Waiting [2022-04-28T17:25:50.290Z] caf521ccaac6: Verifying Checksum [2022-04-28T17:25:50.290Z] caf521ccaac6: Download complete [2022-04-28T17:25:50.290Z] 5c2a1cbceb83: Download complete [2022-04-28T17:25:50.290Z] 3ead6fa29328: Verifying Checksum [2022-04-28T17:25:50.290Z] 3ead6fa29328: Download complete [2022-04-28T17:25:50.290Z] a8d5f1318db7: Verifying Checksum [2022-04-28T17:25:50.290Z] a8d5f1318db7: Download complete [2022-04-28T17:25:50.291Z] c427282e49a2: Verifying Checksum [2022-04-28T17:25:50.291Z] c427282e49a2: Download complete [2022-04-28T17:25:50.291Z] 0714d37db230: Download complete [2022-04-28T17:25:50.291Z] ac28cf19c067: Verifying Checksum [2022-04-28T17:25:50.291Z] ac28cf19c067: Download complete [2022-04-28T17:25:50.291Z] ca983d60f3e2: Verifying Checksum [2022-04-28T17:25:50.291Z] ca983d60f3e2: Download complete [2022-04-28T17:25:50.550Z] 9f894cec8388: Verifying Checksum [2022-04-28T17:25:50.550Z] 9f894cec8388: Download complete [2022-04-28T17:25:50.550Z] 1fe172e4850f: Verifying Checksum [2022-04-28T17:25:50.550Z] 1fe172e4850f: Download complete [2022-04-28T17:25:50.809Z] 1827001aaf11: Verifying Checksum [2022-04-28T17:25:51.750Z] 1fe172e4850f: Pull complete [2022-04-28T17:25:52.011Z] caf521ccaac6: Pull complete [2022-04-28T17:25:52.590Z] 3ead6fa29328: Pull complete [2022-04-28T17:25:52.590Z] 5c2a1cbceb83: Pull complete [2022-04-28T17:25:53.160Z] a8d5f1318db7: Pull complete [2022-04-28T17:25:53.160Z] c427282e49a2: Pull complete [2022-04-28T17:25:55.073Z] 1827001aaf11: Pull complete [2022-04-28T17:25:55.073Z] 0714d37db230: Pull complete [2022-04-28T17:25:55.073Z] ac28cf19c067: Pull complete [2022-04-28T17:25:55.335Z] ca983d60f3e2: Pull complete [2022-04-28T17:25:55.335Z] 9f894cec8388: Pull complete [2022-04-28T17:25:55.335Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-04-28T17:25:55.335Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-04-28T17:25:55.335Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-04-28T17:25:55.416Z] prd-ubuntu20.04-docker-8c-8g-33683 does not seem to be running inside a container [2022-04-28T17:25:55.457Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-functions-sdk-go_PR-1105 -v /w/workspace/dry_app-functions-sdk-go_PR-1105:/w/workspace/dry_app-functions-sdk-go_PR-1105:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1105@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1105@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-04-28T17:25:57.403Z] $ docker top c5d06a4b90bcba88af099375c1720ae3f7ee82eb1ca106982848a9f8a1a3eadc -eo pid,comm [2022-04-28T17:25:57.473Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-04-28T17:25:57.473Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-28T17:25:57.512Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-28T17:25:57.512Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-28T17:25:57.662Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-28T17:25:57.667Z] $ docker exec c5d06a4b90bcba88af099375c1720ae3f7ee82eb1ca106982848a9f8a1a3eadc ssh-agent [2022-04-28T17:25:57.823Z] SSH_AUTH_SOCK=/tmp/ssh-DlxY08LWBNqK/agent.34 [2022-04-28T17:25:57.823Z] SSH_AGENT_PID=40 [2022-04-28T17:25:57.832Z] Running ssh-add (command line suppressed) [2022-04-28T17:25:57.958Z] Identity added: /w/workspace/dry_app-functions-sdk-go_PR-1105@tmp/private_key_4043643579792728994.key (/w/workspace/dry_app-functions-sdk-go_PR-1105@tmp/private_key_4043643579792728994.key) [2022-04-28T17:25:57.974Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-28T17:25:58.273Z] + git tag --points-at HEAD [Pipeline] } [2022-04-28T17:25:58.289Z] $ docker exec --env ******** --env ******** c5d06a4b90bcba88af099375c1720ae3f7ee82eb1ca106982848a9f8a1a3eadc ssh-agent -k [2022-04-28T17:25:58.405Z] unset SSH_AUTH_SOCK; [2022-04-28T17:25:58.405Z] unset SSH_AGENT_PID; [2022-04-28T17:25:58.405Z] echo Agent pid 40 killed; [2022-04-28T17:25:58.415Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-28T17:25:58.441Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-28T17:25:58.441Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-28T17:25:58.586Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-28T17:25:58.591Z] $ docker exec c5d06a4b90bcba88af099375c1720ae3f7ee82eb1ca106982848a9f8a1a3eadc ssh-agent [2022-04-28T17:25:58.720Z] SSH_AUTH_SOCK=/tmp/ssh-vlf3GEXCykWX/agent.75 [2022-04-28T17:25:58.720Z] SSH_AGENT_PID=81 [2022-04-28T17:25:58.726Z] Running ssh-add (command line suppressed) [2022-04-28T17:25:58.852Z] Identity added: /w/workspace/dry_app-functions-sdk-go_PR-1105@tmp/private_key_6206541177639012156.key (/w/workspace/dry_app-functions-sdk-go_PR-1105@tmp/private_key_6206541177639012156.key) [2022-04-28T17:25:58.869Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-28T17:25:59.161Z] + git semver init [2022-04-28T17:25:59.422Z] 2022-04-28 17:25:59,387 [run_init] DEBUG init version:0.0.0 force:False [2022-04-28T17:25:59.422Z] 2022-04-28 17:25:59,388 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dry_app-functions-sdk-go_PR-1105/.semver [2022-04-28T17:25:59.422Z] 2022-04-28 17:25:59,388 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-functions-sdk-go.git /w/workspace/dry_app-functions-sdk-go_PR-1105/.semver [2022-04-28T17:25:59.422Z] 2022-04-28 17:25:59,388 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-functions-sdk-go.git', '/w/workspace/dry_app-functions-sdk-go_PR-1105/.semver'], cwd=/w/workspace/dry_app-functions-sdk-go_PR-1105, universal_newlines=False, shell=None, istream=None) [2022-04-28T17:26:01.342Z] 2022-04-28 17:26:00,833 [append_file] DEBUG append to file:/w/workspace/dry_app-functions-sdk-go_PR-1105/.git/info/exclude [2022-04-28T17:26:01.342Z] 2022-04-28 17:26:00,834 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dry_app-functions-sdk-go_PR-1105/.semver/PR-1105 with force:False [2022-04-28T17:26:01.342Z] 2022-04-28 17:26:00,834 [write_file] DEBUG write to file:/w/workspace/dry_app-functions-sdk-go_PR-1105/.semver/PR-1105 [2022-04-28T17:26:01.342Z] 2022-04-28 17:26:00,838 [execute] INFO git cat-file --batch-check [2022-04-28T17:26:01.342Z] 2022-04-28 17:26:00,839 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_app-functions-sdk-go_PR-1105/.semver, universal_newlines=False, shell=None, istream=) [2022-04-28T17:26:01.342Z] 2022-04-28 17:26:00,846 [execute] INFO git cat-file --batch [2022-04-28T17:26:01.342Z] 2022-04-28 17:26:00,847 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_app-functions-sdk-go_PR-1105/.semver, universal_newlines=False, shell=None, istream=) [2022-04-28T17:26:01.342Z] 2022-04-28 17:26:00,852 [read_version] DEBUG read version from /w/workspace/dry_app-functions-sdk-go_PR-1105/.semver/PR-1105 [2022-04-28T17:26:01.342Z] 0.0.0 [Pipeline] } [2022-04-28T17:26:01.359Z] $ docker exec --env ******** --env ******** c5d06a4b90bcba88af099375c1720ae3f7ee82eb1ca106982848a9f8a1a3eadc ssh-agent -k [2022-04-28T17:26:01.480Z] unset SSH_AUTH_SOCK; [2022-04-28T17:26:01.480Z] unset SSH_AGENT_PID; [2022-04-28T17:26:01.480Z] echo Agent pid 81 killed; [2022-04-28T17:26:01.490Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-28T17:26:01.814Z] + git semver [Pipeline] } [2022-04-28T17:26:02.095Z] $ docker stop --time=1 c5d06a4b90bcba88af099375c1720ae3f7ee82eb1ca106982848a9f8a1a3eadc [2022-04-28T17:26:03.449Z] $ docker rm -f c5d06a4b90bcba88af099375c1720ae3f7ee82eb1ca106982848a9f8a1a3eadc [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-28T17:26:03.810Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-28T17:26:04.064Z] Stashed 1 file(s) [Pipeline] echo [2022-04-28T17:26:04.070Z] [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 [2022-04-28T17:26:04.295Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-28T17:26:04.307Z] ========================================================= [2022-04-28T17:26:04.307Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-28T17:26:04.307Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-04-28T17:26:04.615Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-28T17:26:04.615Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-28T17:26:04.615Z] 59bf1c3509f3: Pulling fs layer [2022-04-28T17:26:04.615Z] 666ba61612fd: Pulling fs layer [2022-04-28T17:26:04.615Z] 8ed8ca486205: Pulling fs layer [2022-04-28T17:26:04.616Z] 4fe6c5a15a65: Pulling fs layer [2022-04-28T17:26:04.616Z] 22a0e8bec74d: Pulling fs layer [2022-04-28T17:26:04.616Z] ca2b28591e48: Pulling fs layer [2022-04-28T17:26:04.616Z] a51346096db8: Pulling fs layer [2022-04-28T17:26:04.616Z] daebc70d1ce1: Pulling fs layer [2022-04-28T17:26:04.616Z] 0e18a0eac166: Pulling fs layer [2022-04-28T17:26:04.616Z] ca2b28591e48: Waiting [2022-04-28T17:26:04.616Z] 4fe6c5a15a65: Waiting [2022-04-28T17:26:04.616Z] 22a0e8bec74d: Waiting [2022-04-28T17:26:04.616Z] a51346096db8: Waiting [2022-04-28T17:26:04.616Z] daebc70d1ce1: Waiting [2022-04-28T17:26:04.616Z] 0e18a0eac166: Waiting [2022-04-28T17:26:04.616Z] 8ed8ca486205: Verifying Checksum [2022-04-28T17:26:04.616Z] 8ed8ca486205: Download complete [2022-04-28T17:26:04.616Z] 666ba61612fd: Verifying Checksum [2022-04-28T17:26:04.616Z] 666ba61612fd: Download complete [2022-04-28T17:26:04.616Z] 22a0e8bec74d: Download complete [2022-04-28T17:26:04.616Z] ca2b28591e48: Verifying Checksum [2022-04-28T17:26:04.616Z] a51346096db8: Download complete [2022-04-28T17:26:04.616Z] 59bf1c3509f3: Verifying Checksum [2022-04-28T17:26:04.616Z] 59bf1c3509f3: Download complete [2022-04-28T17:26:04.876Z] daebc70d1ce1: Verifying Checksum [2022-04-28T17:26:04.876Z] daebc70d1ce1: Download complete [2022-04-28T17:26:04.876Z] 59bf1c3509f3: Pull complete [2022-04-28T17:26:05.138Z] 666ba61612fd: Pull complete [2022-04-28T17:26:05.138Z] 8ed8ca486205: Pull complete [2022-04-28T17:26:05.399Z] 0e18a0eac166: Verifying Checksum [2022-04-28T17:26:05.399Z] 0e18a0eac166: Download complete [2022-04-28T17:26:05.660Z] 4fe6c5a15a65: Verifying Checksum [2022-04-28T17:26:05.660Z] 4fe6c5a15a65: Download complete [2022-04-28T17:26:09.859Z] 4fe6c5a15a65: Pull complete [2022-04-28T17:26:09.860Z] 22a0e8bec74d: Pull complete [2022-04-28T17:26:09.860Z] ca2b28591e48: Pull complete [2022-04-28T17:26:09.860Z] a51346096db8: Pull complete [2022-04-28T17:26:09.860Z] daebc70d1ce1: Pull complete [2022-04-28T17:26:11.769Z] 0e18a0eac166: Pull complete [2022-04-28T17:26:11.769Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-04-28T17:26:11.769Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-28T17:26:11.769Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] sh [2022-04-28T17:26:12.063Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh [2022-04-28T17:26:12.361Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-28T17:26:12.361Z] . [Pipeline] withDockerContainer [2022-04-28T17:26:12.429Z] prd-ubuntu20.04-docker-8c-8g-33683 does not seem to be running inside a container [2022-04-28T17:26:12.468Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-functions-sdk-go_PR-1105 -v /w/workspace/dry_app-functions-sdk-go_PR-1105:/w/workspace/dry_app-functions-sdk-go_PR-1105:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1105@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1105@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 ******** -e ******** ci-base-image-x86_64 cat [2022-04-28T17:26:14.983Z] $ docker top 18bcd990a16919c97873d1de9bcf28cc0da4b81340828e602a99c1720555646b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-28T17:26:15.351Z] + go version [2022-04-28T17:26:15.351Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-28T17:26:15.369Z] $ docker stop --time=1 18bcd990a16919c97873d1de9bcf28cc0da4b81340828e602a99c1720555646b [2022-04-28T17:26:16.694Z] $ docker rm -f 18bcd990a16919c97873d1de9bcf28cc0da4b81340828e602a99c1720555646b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-28T17:26:17.149Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-28T17:26:17.150Z] . [Pipeline] withDockerContainer [2022-04-28T17:26:17.225Z] prd-ubuntu20.04-docker-8c-8g-33683 does not seem to be running inside a container [2022-04-28T17:26:17.266Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-functions-sdk-go_PR-1105 -v /w/workspace/dry_app-functions-sdk-go_PR-1105:/w/workspace/dry_app-functions-sdk-go_PR-1105:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1105@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1105@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 ******** -e ******** ci-base-image-x86_64 cat [2022-04-28T17:26:17.686Z] $ docker top 7e2a50ee492366f1fa1c3732c8a02653c3f073a611f7c099ef84c188c39506e1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-28T17:26:18.061Z] + make test [2022-04-28T17:26:18.061Z] make -C ./app-service-template build [2022-04-28T17:26:18.061Z] make[1]: Entering directory '/w/workspace/dry_app-functions-sdk-go_PR-1105/app-service-template' [2022-04-28T17:26:18.061Z] go mod tidy -compat=1.17 [2022-04-28T17:26:18.061Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a [2022-04-28T17:26:18.061Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0-dev.26 [2022-04-28T17:26:18.061Z] go: downloading github.com/google/uuid v1.3.0 [2022-04-28T17:26:18.061Z] go: downloading github.com/stretchr/testify v1.7.1 [2022-04-28T17:26:18.061Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.0-dev.19 [2022-04-28T17:26:18.061Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0-dev.12 [2022-04-28T17:26:18.061Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0-dev.3 [2022-04-28T17:26:18.320Z] go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2022-04-28T17:26:18.320Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2022-04-28T17:26:18.320Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-04-28T17:26:18.320Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2022-04-28T17:26:18.320Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-04-28T17:26:18.320Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-04-28T17:26:18.320Z] go: downloading github.com/stretchr/objx v0.1.1 [2022-04-28T17:26:18.320Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-04-28T17:26:18.320Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0-dev.3 [2022-04-28T17:26:18.320Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0-dev.6 [2022-04-28T17:26:18.320Z] go: downloading github.com/go-kit/log v0.2.0 [2022-04-28T17:26:18.320Z] go: downloading github.com/go-playground/validator/v10 v10.10.1 [2022-04-28T17:26:18.320Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2022-04-28T17:26:18.320Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2022-04-28T17:26:18.320Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2022-04-28T17:26:18.320Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-04-28T17:26:18.320Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-04-28T17:26:18.320Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-04-28T17:26:18.320Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-04-28T17:26:18.320Z] go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 [2022-04-28T17:26:18.320Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2022-04-28T17:26:18.320Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 [2022-04-28T17:26:18.320Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-04-28T17:26:18.320Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-04-28T17:26:18.320Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-04-28T17:26:18.320Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2022-04-28T17:26:18.320Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-04-28T17:26:18.320Z] go: downloading github.com/x448/float16 v0.8.4 [2022-04-28T17:26:18.320Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-04-28T17:26:18.320Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-04-28T17:26:18.320Z] go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 [2022-04-28T17:26:18.320Z] go: downloading golang.org/x/text v0.3.7 [2022-04-28T17:26:18.320Z] go: downloading github.com/go-playground/locales v0.14.0 [2022-04-28T17:26:18.580Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-04-28T17:26:18.580Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-04-28T17:26:18.580Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-04-28T17:26:18.580Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-04-28T17:26:18.580Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2022-04-28T17:26:18.580Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2022-04-28T17:26:18.580Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-04-28T17:26:18.580Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2022-04-28T17:26:18.580Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2022-04-28T17:26:18.841Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-04-28T17:26:18.841Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2022-04-28T17:26:18.841Z] go: downloading github.com/onsi/gomega v1.7.0 [2022-04-28T17:26:18.841Z] go: downloading github.com/zeebo/errs v1.2.2 [2022-04-28T17:26:18.841Z] go: downloading google.golang.org/grpc v1.42.0 [2022-04-28T17:26:19.103Z] go: downloading github.com/fatih/color v1.9.0 [2022-04-28T17:26:19.103Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-04-28T17:26:19.103Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-04-28T17:26:19.103Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2022-04-28T17:26:19.103Z] go: downloading github.com/kr/pretty v0.3.0 [2022-04-28T17:26:19.103Z] go: downloading github.com/pkg/errors v0.9.1 [2022-04-28T17:26:19.103Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-04-28T17:26:19.103Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2022-04-28T17:26:19.103Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2022-04-28T17:26:19.103Z] go: downloading gopkg.in/square/go-jose.v2 v2.4.1 [2022-04-28T17:26:19.103Z] go: downloading google.golang.org/protobuf v1.27.1 [2022-04-28T17:26:19.214Z] Still waiting to schedule task [2022-04-28T17:26:19.214Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-28T17:26:19.365Z] go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 [2022-04-28T17:26:19.365Z] go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa [2022-04-28T17:26:19.365Z] go: downloading github.com/golang/protobuf v1.5.2 [2022-04-28T17:26:19.365Z] go: downloading github.com/google/go-cmp v0.5.6 [2022-04-28T17:26:19.365Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2022-04-28T17:26:19.365Z] go: downloading github.com/kr/text v0.2.0 [2022-04-28T17:26:19.365Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2022-04-28T17:26:19.365Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-04-28T17:26:19.365Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2022-04-28T17:26:19.365Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2022-04-28T17:26:19.365Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2022-04-28T17:26:19.365Z] go: downloading github.com/miekg/dns v1.1.26 [2022-04-28T17:26:19.365Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2022-04-28T17:26:19.365Z] go: downloading github.com/hpcloud/tail v1.0.0 [2022-04-28T17:26:19.365Z] go: downloading gopkg.in/yaml.v2 v2.2.8 [2022-04-28T17:26:19.627Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-04-28T17:26:19.627Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2022-04-28T17:26:19.627Z] go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 [2022-04-28T17:26:19.627Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2022-04-28T17:26:21.020Z] CGO_ENABLED=1 go build -ldflags "-linkmode=external -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" -trimpath -mod=readonly -buildmode=pie -o new-app-service [2022-04-28T17:26:39.168Z] make[1]: Leaving directory '/w/workspace/dry_app-functions-sdk-go_PR-1105/app-service-template' [2022-04-28T17:26:39.168Z] make -C ./app-service-template test [2022-04-28T17:26:39.168Z] make[1]: Entering directory '/w/workspace/dry_app-functions-sdk-go_PR-1105/app-service-template' [2022-04-28T17:26:39.168Z] CGO_ENABLED=1 go test -race -coverprofile=coverage.out ./... [2022-04-28T17:26:57.291Z] ok new-app-service 0.052s coverage: 48.1% of statements [2022-04-28T17:26:57.291Z] ? new-app-service/config [no test files] [2022-04-28T17:26:57.291Z] ok new-app-service/functions 0.049s [2022-04-28T17:26:57.291Z] CGO_ENABLED=1 go vet ./... [2022-04-28T17:27:03.871Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-28T17:27:03.871Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-28T17:27:03.871Z] ./bin/test-attribution-txt.sh [2022-04-28T17:27:04.445Z] make[1]: Leaving directory '/w/workspace/dry_app-functions-sdk-go_PR-1105/app-service-template' [2022-04-28T17:27:04.445Z] CGO_ENABLED=1 GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-28T17:27:04.445Z] go: downloading github.com/gomodule/redigo v1.8.8 [2022-04-28T17:27:05.017Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2022-04-28T17:27:08.323Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.105s coverage: 63.7% of statements [2022-04-28T17:27:08.323Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.080s coverage: 93.8% of statements [2022-04-28T17:27:08.323Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2022-04-28T17:27:08.323Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.117s coverage: 76.5% of statements [2022-04-28T17:27:08.323Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2022-04-28T17:27:08.323Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.117s coverage: 88.7% of statements [2022-04-28T17:27:08.323Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.048s coverage: 100.0% of statements [2022-04-28T17:27:08.323Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.140s coverage: 78.5% of statements [2022-04-28T17:27:08.323Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2022-04-28T17:27:08.323Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2022-04-28T17:27:08.323Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.072s coverage: 97.3% of statements [2022-04-28T17:27:08.323Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2022-04-28T17:27:08.323Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] [2022-04-28T17:27:08.323Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.078s coverage: 91.8% of statements [2022-04-28T17:27:08.323Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] [2022-04-28T17:27:08.323Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 0.759s coverage: 79.8% of statements [2022-04-28T17:27:08.323Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] [2022-04-28T17:27:08.323Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] [2022-04-28T17:27:08.323Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.069s coverage: 28.7% of statements [2022-04-28T17:27:08.323Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] [2022-04-28T17:27:08.323Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.069s coverage: 14.0% of statements [2022-04-28T17:27:08.323Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.049s coverage: 27.3% of statements [2022-04-28T17:27:08.323Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2022-04-28T17:27:08.323Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-04-28T17:27:08.323Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.059s coverage: 51.4% of statements [2022-04-28T17:27:34.931Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.156s coverage: 78.6% of statements [2022-04-28T17:27:34.931Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.051s coverage: 94.4% of statements [2022-04-28T17:27:34.931Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-28T17:27:34.931Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-28T17:27:34.931Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2022-04-28T17:27:43.247Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-28T17:27:43.271Z] $ docker stop --time=1 7e2a50ee492366f1fa1c3732c8a02653c3f073a611f7c099ef84c188c39506e1 [2022-04-28T17:27:44.736Z] $ docker rm -f 7e2a50ee492366f1fa1c3732c8a02653c3f073a611f7c099ef84c188c39506e1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-28T17:27:45.488Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-28T17:27:45.562Z] 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 [2022-04-28T17:27:46.048Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-28T17:27:46.048Z] [2022-04-28T17:27:46.048Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-28T17:27:46.361Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-28T17:27:46.625Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-28T17:27:46.625Z] 5eb5b503b376: Pulling fs layer [2022-04-28T17:27:46.625Z] 5c69ac0246d0: Pulling fs layer [2022-04-28T17:27:46.625Z] ec43610c2a17: Pulling fs layer [2022-04-28T17:27:46.625Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-28T17:27:46.625Z] 33b1e0a273af: Pulling fs layer [2022-04-28T17:27:46.625Z] 5d3b04190fa2: Pulling fs layer [2022-04-28T17:27:46.625Z] 2f39f015ded8: Pulling fs layer [2022-04-28T17:27:46.625Z] 5d3b04190fa2: Waiting [2022-04-28T17:27:46.625Z] 3a2ae6a8a46f: Waiting [2022-04-28T17:27:46.625Z] 33b1e0a273af: Waiting [2022-04-28T17:27:46.625Z] 2f39f015ded8: Waiting [2022-04-28T17:27:46.887Z] 5c69ac0246d0: Verifying Checksum [2022-04-28T17:27:46.887Z] 5c69ac0246d0: Download complete [2022-04-28T17:27:46.887Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-28T17:27:46.887Z] 3a2ae6a8a46f: Download complete [2022-04-28T17:27:46.887Z] 33b1e0a273af: Download complete [2022-04-28T17:27:46.887Z] 5d3b04190fa2: Download complete [2022-04-28T17:27:46.887Z] ec43610c2a17: Download complete [2022-04-28T17:27:46.887Z] 5eb5b503b376: Verifying Checksum [2022-04-28T17:27:46.887Z] 5eb5b503b376: Download complete [2022-04-28T17:27:47.828Z] 2f39f015ded8: Verifying Checksum [2022-04-28T17:27:47.828Z] 2f39f015ded8: Download complete [2022-04-28T17:27:48.398Z] 5eb5b503b376: Pull complete [2022-04-28T17:27:48.398Z] 5c69ac0246d0: Pull complete [2022-04-28T17:27:48.969Z] ec43610c2a17: Pull complete [2022-04-28T17:27:48.969Z] 3a2ae6a8a46f: Pull complete [2022-04-28T17:27:49.230Z] 33b1e0a273af: Pull complete [2022-04-28T17:27:49.491Z] 5d3b04190fa2: Pull complete [2022-04-28T17:27:54.796Z] 2f39f015ded8: Pull complete [2022-04-28T17:27:54.796Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-28T17:27:54.796Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-28T17:27:54.796Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-28T17:27:54.862Z] prd-ubuntu20.04-docker-8c-8g-33683 does not seem to be running inside a container [2022-04-28T17:27:54.904Z] $ 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-1105 -v /w/workspace/dry_app-functions-sdk-go_PR-1105:/w/workspace/dry_app-functions-sdk-go_PR-1105:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1105@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1105@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-28T17:27:56.721Z] $ docker top 61f194d3f05ded9f1d775e9e3613b4123d027baaebd5d1e4bb938c6ebd3e76dc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-28T17:27:57.132Z] ---> job-cost.sh [2022-04-28T17:27:57.132Z] lf-activate-venv: SKIPPING [2022-04-28T17:27:57.132Z] INFO: No Stack... [2022-04-28T17:27:57.394Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-28T17:27:57.967Z] INFO: Archiving Costs [Pipeline] sh [2022-04-28T17:27:58.269Z] + cat /w/workspace/dry_app-functions-sdk-go_PR-1105/archives/cost.csv [2022-04-28T17:27:58.269Z] + cut -d, -f6 [Pipeline] lock [2022-04-28T17:27:58.296Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1105-2-stack-cost] [2022-04-28T17:27:58.303Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1105-2-stack-cost] did not exist. Created. [2022-04-28T17:27:58.303Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1105-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-28T17:27:58.628Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-28T17:27:58.655Z] Stashed 1 file(s) [Pipeline] } [2022-04-28T17:27:58.674Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1105-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-28T17:27:58.700Z] $ docker stop --time=1 61f194d3f05ded9f1d775e9e3613b4123d027baaebd5d1e4bb938c6ebd3e76dc [2022-04-28T17:27:59.880Z] $ docker rm -f 61f194d3f05ded9f1d775e9e3613b4123d027baaebd5d1e4bb938c6ebd3e76dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-28T17:28:03.437Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-33684 in /w/workspace/dry_app-functions-sdk-go_PR-1105 [Pipeline] { [Pipeline] ws [2022-04-28T17:28:03.455Z] Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout [2022-04-28T17:28:03.752Z] The recommended git tool is: git [2022-04-28T17:28:08.930Z] using credential edgex-jenkins-ssh [2022-04-28T17:28:08.948Z] Cloning the remote Git repository [2022-04-28T17:28:09.006Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2022-04-28T17:28:09.078Z] > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 [2022-04-28T17:28:09.147Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2022-04-28T17:28:09.148Z] > git --version # timeout=10 [2022-04-28T17:28:09.169Z] > git --version # 'git version 2.25.1' [2022-04-28T17:28:09.170Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-28T17:28:09.266Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-28T17:28:12.733Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2022-04-28T17:28:12.805Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-28T17:28:12.844Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2022-04-28T17:28:13.616Z] Merging remotes/origin/main commit 8ff173fd18bf782e524f745cdae59ce6ba93ae89 into PR head commit f279096a45514c4518cfacf4db5a9247258f0d22 [2022-04-28T17:28:13.891Z] Merge succeeded, producing f279096a45514c4518cfacf4db5a9247258f0d22 [2022-04-28T17:28:13.891Z] Checking out Revision f279096a45514c4518cfacf4db5a9247258f0d22 (PR-1105) [2022-04-28T17:28:12.899Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2022-04-28T17:28:12.902Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-28T17:28:12.934Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/1105/head:refs/remotes/origin/PR-1105 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-28T17:28:13.637Z] > git config core.sparsecheckout # timeout=10 [2022-04-28T17:28:13.673Z] > git checkout -f f279096a45514c4518cfacf4db5a9247258f0d22 # timeout=10 [2022-04-28T17:28:13.799Z] > git remote # timeout=10 [2022-04-28T17:28:13.824Z] > git config --get remote.origin.url # timeout=10 [2022-04-28T17:28:13.839Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-28T17:28:13.851Z] > git merge 8ff173fd18bf782e524f745cdae59ce6ba93ae89 # timeout=10 [2022-04-28T17:28:13.876Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-28T17:28:13.901Z] > git config core.sparsecheckout # timeout=10 [2022-04-28T17:28:13.921Z] > git checkout -f f279096a45514c4518cfacf4db5a9247258f0d22 # timeout=10 [2022-04-28T17:28:18.086Z] Commit message: "fix: Update all doc links in app template to refer to version 2.2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-28T17:28:18.967Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-28T17:28:18.967Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-28T17:28:18.967Z] Dload Upload Total Spent Left Speed [2022-04-28T17:28:18.967Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 87725 0 --:--:-- --:--:-- --:--:-- 87725 [Pipeline] sh [2022-04-28T17:28:19.500Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-28T17:28:19.851Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-28T17:28:19.851Z] + sudo tee /etc/docker/daemon.new [2022-04-28T17:28:19.851Z] { [2022-04-28T17:28:19.851Z] "registry-mirrors": [ [2022-04-28T17:28:19.851Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-28T17:28:19.851Z] ], [2022-04-28T17:28:19.851Z] "bip": "10.250.0.254/24", [2022-04-28T17:28:19.851Z] "hosts": [ [2022-04-28T17:28:19.851Z] "tcp://0.0.0.0:5555", [2022-04-28T17:28:19.851Z] "unix:///var/run/docker.sock" [2022-04-28T17:28:19.851Z] ], [2022-04-28T17:28:19.851Z] "mtu": 1458, [2022-04-28T17:28:19.851Z] "selinux-enabled": true, [2022-04-28T17:28:19.851Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-28T17:28:19.851Z] } [Pipeline] sh [2022-04-28T17:28:20.204Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-28T17:28:20.553Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2022-04-28T17:28:39.298Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-28T17:28:39.316Z] ========================================================= [2022-04-28T17:28:39.316Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-28T17:28:39.316Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-04-28T17:28:39.663Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-28T17:28:40.277Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-28T17:28:40.277Z] 9b3977197b4f: Pulling fs layer [2022-04-28T17:28:40.277Z] 1a89e8eeedd5: Pulling fs layer [2022-04-28T17:28:40.277Z] 94645a83ff95: Pulling fs layer [2022-04-28T17:28:40.277Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-28T17:28:40.277Z] 0c92f367c5e7: Pulling fs layer [2022-04-28T17:28:40.277Z] 3096ccb668a1: Pulling fs layer [2022-04-28T17:28:40.277Z] e8cf19c19ddd: Pulling fs layer [2022-04-28T17:28:40.277Z] a4caa8a26152: Pulling fs layer [2022-04-28T17:28:40.277Z] 0c92f367c5e7: Waiting [2022-04-28T17:28:40.277Z] 3096ccb668a1: Waiting [2022-04-28T17:28:40.277Z] e8cf19c19ddd: Waiting [2022-04-28T17:28:40.277Z] a4caa8a26152: Waiting [2022-04-28T17:28:40.277Z] 3f3a8bcf1eab: Waiting [2022-04-28T17:28:40.277Z] 94645a83ff95: Download complete [2022-04-28T17:28:40.277Z] 1a89e8eeedd5: Verifying Checksum [2022-04-28T17:28:40.277Z] 1a89e8eeedd5: Download complete [2022-04-28T17:28:40.277Z] 0c92f367c5e7: Verifying Checksum [2022-04-28T17:28:40.277Z] 0c92f367c5e7: Download complete [2022-04-28T17:28:40.277Z] 3096ccb668a1: Verifying Checksum [2022-04-28T17:28:40.277Z] 3096ccb668a1: Download complete [2022-04-28T17:28:40.277Z] 9b3977197b4f: Verifying Checksum [2022-04-28T17:28:40.277Z] 9b3977197b4f: Download complete [2022-04-28T17:28:40.277Z] e8cf19c19ddd: Verifying Checksum [2022-04-28T17:28:40.277Z] e8cf19c19ddd: Download complete [2022-04-28T17:28:41.259Z] 9b3977197b4f: Pull complete [2022-04-28T17:28:41.539Z] 1a89e8eeedd5: Pull complete [2022-04-28T17:28:42.144Z] 94645a83ff95: Pull complete [2022-04-28T17:28:42.144Z] a4caa8a26152: Download complete [2022-04-28T17:28:42.743Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-28T17:28:42.743Z] 3f3a8bcf1eab: Download complete [2022-04-28T17:28:55.154Z] 3f3a8bcf1eab: Pull complete [2022-04-28T17:28:55.154Z] 0c92f367c5e7: Pull complete [2022-04-28T17:28:55.154Z] 3096ccb668a1: Pull complete [2022-04-28T17:28:55.427Z] e8cf19c19ddd: Pull complete [2022-04-28T17:29:02.149Z] a4caa8a26152: Pull complete [2022-04-28T17:29:02.149Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-04-28T17:29:02.149Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-28T17:29:02.149Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] sh [2022-04-28T17:29:02.490Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-28T17:29:02.838Z] + docker inspect -f . ci-base-image-arm64 [2022-04-28T17:29:02.839Z] . [Pipeline] withDockerContainer [2022-04-28T17:29:03.067Z] prd-ubuntu20.04-docker-arm64-4c-16g-33684 does not seem to be running inside a container [2022-04-28T17:29:03.161Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@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 ******** -e ******** ci-base-image-arm64 cat [2022-04-28T17:29:05.950Z] $ docker top 34e20ba437254f2ccdb09f594efccbad93b804e09a50161b2eb230d8a3f2bfd3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-28T17:29:06.887Z] + go version [2022-04-28T17:29:06.887Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-28T17:29:06.951Z] $ docker stop --time=1 34e20ba437254f2ccdb09f594efccbad93b804e09a50161b2eb230d8a3f2bfd3 [2022-04-28T17:29:08.676Z] $ docker rm -f 34e20ba437254f2ccdb09f594efccbad93b804e09a50161b2eb230d8a3f2bfd3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-28T17:29:09.250Z] + docker inspect -f . ci-base-image-arm64 [2022-04-28T17:29:09.250Z] . [Pipeline] withDockerContainer [2022-04-28T17:29:09.482Z] prd-ubuntu20.04-docker-arm64-4c-16g-33684 does not seem to be running inside a container [2022-04-28T17:29:09.585Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@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 ******** -e ******** ci-base-image-arm64 cat [2022-04-28T17:29:10.846Z] $ docker top 75e743099a1e23af1cc2f5838eac2a1669b20c96a7ecb97bc1774c25fd408b00 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-28T17:29:11.747Z] + make test [2022-04-28T17:29:11.747Z] make -C ./app-service-template build [2022-04-28T17:29:11.747Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2022-04-28T17:29:11.747Z] go mod tidy -compat=1.17 [2022-04-28T17:29:11.747Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0-dev.26 [2022-04-28T17:29:11.747Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a [2022-04-28T17:29:12.025Z] go: downloading github.com/google/uuid v1.3.0 [2022-04-28T17:29:12.025Z] go: downloading github.com/stretchr/testify v1.7.1 [2022-04-28T17:29:12.025Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.0-dev.19 [2022-04-28T17:29:12.025Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0-dev.12 [2022-04-28T17:29:12.025Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0-dev.3 [2022-04-28T17:29:12.302Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-04-28T17:29:12.302Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-04-28T17:29:12.302Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-04-28T17:29:12.302Z] go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2022-04-28T17:29:12.302Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2022-04-28T17:29:12.302Z] go: downloading github.com/go-playground/validator/v10 v10.10.1 [2022-04-28T17:29:12.302Z] go: downloading github.com/go-kit/log v0.2.0 [2022-04-28T17:29:12.302Z] go: downloading github.com/stretchr/objx v0.1.1 [2022-04-28T17:29:12.578Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0-dev.6 [2022-04-28T17:29:12.578Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-04-28T17:29:12.578Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2022-04-28T17:29:12.578Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0-dev.3 [2022-04-28T17:29:12.578Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2022-04-28T17:29:12.578Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-04-28T17:29:12.578Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2022-04-28T17:29:12.578Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-04-28T17:29:12.578Z] go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 [2022-04-28T17:29:12.854Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2022-04-28T17:29:12.854Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-04-28T17:29:12.854Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-04-28T17:29:12.854Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-04-28T17:29:13.132Z] go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 [2022-04-28T17:29:13.415Z] go: downloading golang.org/x/text v0.3.7 [2022-04-28T17:29:13.692Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2022-04-28T17:29:13.692Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2022-04-28T17:29:13.692Z] go: downloading github.com/go-playground/locales v0.14.0 [2022-04-28T17:29:17.108Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2022-04-28T17:29:17.108Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-04-28T17:29:17.108Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 [2022-04-28T17:29:17.108Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-04-28T17:29:17.108Z] go: downloading github.com/x448/float16 v0.8.4 [2022-04-28T17:29:17.108Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-04-28T17:29:17.108Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-04-28T17:29:17.108Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-04-28T17:29:17.108Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-04-28T17:29:17.108Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-04-28T17:29:17.108Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2022-04-28T17:29:17.108Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2022-04-28T17:29:17.108Z] go: downloading github.com/kr/pretty v0.3.0 [2022-04-28T17:29:17.108Z] go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 [2022-04-28T17:29:17.108Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2022-04-28T17:29:17.108Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-04-28T17:29:17.108Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-04-28T17:29:17.108Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-04-28T17:29:17.108Z] go: downloading github.com/zeebo/errs v1.2.2 [2022-04-28T17:29:17.108Z] go: downloading google.golang.org/grpc v1.42.0 [2022-04-28T17:29:18.096Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2022-04-28T17:29:18.096Z] go: downloading github.com/fatih/color v1.9.0 [2022-04-28T17:29:18.096Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-04-28T17:29:18.096Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-04-28T17:29:18.096Z] go: downloading github.com/pkg/errors v0.9.1 [2022-04-28T17:29:18.096Z] go: downloading github.com/kr/text v0.2.0 [2022-04-28T17:29:18.096Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2022-04-28T17:29:18.096Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2022-04-28T17:29:18.096Z] go: downloading github.com/onsi/gomega v1.7.0 [2022-04-28T17:29:18.096Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-04-28T17:29:18.096Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2022-04-28T17:29:18.096Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2022-04-28T17:29:18.368Z] go: downloading gopkg.in/square/go-jose.v2 v2.4.1 [2022-04-28T17:29:18.368Z] go: downloading google.golang.org/protobuf v1.27.1 [2022-04-28T17:29:18.368Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-04-28T17:29:18.368Z] go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa [2022-04-28T17:29:19.367Z] go: downloading github.com/golang/protobuf v1.5.2 [2022-04-28T17:29:19.367Z] go: downloading github.com/google/go-cmp v0.5.6 [2022-04-28T17:29:19.367Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2022-04-28T17:29:19.641Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-04-28T17:29:19.642Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2022-04-28T17:29:19.642Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2022-04-28T17:29:19.642Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2022-04-28T17:29:19.919Z] go: downloading github.com/miekg/dns v1.1.26 [2022-04-28T17:29:19.919Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2022-04-28T17:29:20.210Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-04-28T17:29:20.210Z] go: downloading gopkg.in/yaml.v2 v2.2.8 [2022-04-28T17:29:20.210Z] go: downloading github.com/hpcloud/tail v1.0.0 [2022-04-28T17:29:20.210Z] go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 [2022-04-28T17:29:20.485Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2022-04-28T17:29:20.485Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2022-04-28T17:29:24.797Z] CGO_ENABLED=1 go build -ldflags "-linkmode=external -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" -trimpath -mod=readonly -buildmode=pie -o new-app-service [2022-04-28T17:31:16.758Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2022-04-28T17:31:16.758Z] make -C ./app-service-template test [2022-04-28T17:31:16.758Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2022-04-28T17:31:16.758Z] CGO_ENABLED=1 go test -race -coverprofile=coverage.out ./... [2022-04-28T17:33:23.630Z] ok new-app-service 0.234s coverage: 48.1% of statements [2022-04-28T17:33:23.630Z] ? new-app-service/config [no test files] [2022-04-28T17:33:23.630Z] ok new-app-service/functions 0.223s [2022-04-28T17:33:23.630Z] CGO_ENABLED=1 go vet ./... [2022-04-28T17:34:45.532Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-28T17:34:45.532Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-28T17:34:45.532Z] ./bin/test-attribution-txt.sh [2022-04-28T17:34:45.532Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2022-04-28T17:34:45.532Z] CGO_ENABLED=1 GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-28T17:34:45.532Z] go: downloading github.com/gomodule/redigo v1.8.8 [2022-04-28T17:34:45.532Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2022-04-28T17:35:03.874Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.572s coverage: 63.7% of statements [2022-04-28T17:35:03.874Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.448s coverage: 93.8% of statements [2022-04-28T17:35:03.874Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2022-04-28T17:35:03.874Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.376s coverage: 76.5% of statements [2022-04-28T17:35:03.874Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2022-04-28T17:35:03.874Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.583s coverage: 88.7% of statements [2022-04-28T17:35:03.874Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.138s coverage: 100.0% of statements [2022-04-28T17:35:05.317Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.585s coverage: 78.5% of statements [2022-04-28T17:35:05.317Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2022-04-28T17:35:05.317Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2022-04-28T17:35:05.317Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.330s coverage: 97.3% of statements [2022-04-28T17:35:05.317Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2022-04-28T17:35:05.317Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] [2022-04-28T17:35:10.751Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.405s coverage: 91.8% of statements [2022-04-28T17:35:10.751Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] [2022-04-28T17:35:14.169Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 0.972s coverage: 79.8% of statements [2022-04-28T17:35:14.169Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] [2022-04-28T17:35:14.169Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] [2022-04-28T17:35:14.169Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.293s coverage: 28.7% of statements [2022-04-28T17:35:14.169Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] [2022-04-28T17:35:14.169Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.228s coverage: 14.0% of statements [2022-04-28T17:35:22.649Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.208s coverage: 27.3% of statements [2022-04-28T17:35:22.649Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2022-04-28T17:35:22.649Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-04-28T17:35:22.649Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.233s coverage: 51.4% of statements [2022-04-28T17:35:54.987Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.506s coverage: 78.6% of statements [2022-04-28T17:35:54.987Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.430s coverage: 94.4% of statements [2022-04-28T17:35:54.987Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-28T17:35:59.310Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-28T17:35:59.584Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-28T17:36:00.180Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [Pipeline] echo [2022-04-28T17:36:00.205Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-28T17:36:00.225Z] $ docker stop --time=1 75e743099a1e23af1cc2f5838eac2a1669b20c96a7ecb97bc1774c25fd408b00 [2022-04-28T17:36:02.059Z] $ docker rm -f 75e743099a1e23af1cc2f5838eac2a1669b20c96a7ecb97bc1774c25fd408b00 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-28T17:36:05.579Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-28T17:36:05.599Z] Warning: overwriting stash ‘coverage-report’ [2022-04-28T17:36:06.168Z] 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 [2022-04-28T17:36:06.597Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-28T17:36:06.597Z] [2022-04-28T17:36:06.597Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-28T17:36:06.949Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-28T17:36:07.547Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-28T17:36:07.547Z] 8998bd30e6a1: Pulling fs layer [2022-04-28T17:36:07.547Z] 04944245beec: Pulling fs layer [2022-04-28T17:36:07.547Z] 699f458cf7ca: Pulling fs layer [2022-04-28T17:36:07.547Z] 765212b225bb: Pulling fs layer [2022-04-28T17:36:07.547Z] f23df028b6ca: Pulling fs layer [2022-04-28T17:36:07.547Z] d65c8cfc05b1: Pulling fs layer [2022-04-28T17:36:07.547Z] 2437ff75d9bd: Pulling fs layer [2022-04-28T17:36:07.547Z] d65c8cfc05b1: Waiting [2022-04-28T17:36:07.547Z] 2437ff75d9bd: Waiting [2022-04-28T17:36:07.547Z] 765212b225bb: Waiting [2022-04-28T17:36:07.547Z] f23df028b6ca: Waiting [2022-04-28T17:36:07.547Z] 04944245beec: Verifying Checksum [2022-04-28T17:36:07.547Z] 04944245beec: Download complete [2022-04-28T17:36:07.547Z] 765212b225bb: Verifying Checksum [2022-04-28T17:36:07.547Z] 765212b225bb: Download complete [2022-04-28T17:36:07.822Z] f23df028b6ca: Verifying Checksum [2022-04-28T17:36:07.822Z] f23df028b6ca: Download complete [2022-04-28T17:36:07.822Z] d65c8cfc05b1: Verifying Checksum [2022-04-28T17:36:07.822Z] d65c8cfc05b1: Download complete [2022-04-28T17:36:07.822Z] 699f458cf7ca: Verifying Checksum [2022-04-28T17:36:07.822Z] 699f458cf7ca: Download complete [2022-04-28T17:36:08.096Z] 8998bd30e6a1: Verifying Checksum [2022-04-28T17:36:08.096Z] 8998bd30e6a1: Download complete [2022-04-28T17:36:10.739Z] 2437ff75d9bd: Verifying Checksum [2022-04-28T17:36:10.739Z] 2437ff75d9bd: Download complete [2022-04-28T17:36:12.731Z] 8998bd30e6a1: Pull complete [2022-04-28T17:36:13.003Z] 04944245beec: Pull complete [2022-04-28T17:36:14.442Z] 699f458cf7ca: Pull complete [2022-04-28T17:36:14.715Z] 765212b225bb: Pull complete [2022-04-28T17:36:15.698Z] f23df028b6ca: Pull complete [2022-04-28T17:36:15.698Z] d65c8cfc05b1: Pull complete [2022-04-28T17:36:30.781Z] 2437ff75d9bd: Pull complete [2022-04-28T17:36:30.781Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-28T17:36:30.781Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-28T17:36:30.781Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-28T17:36:31.016Z] prd-ubuntu20.04-docker-arm64-4c-16g-33684 does not seem to be running inside a container [2022-04-28T17:36:31.100Z] $ 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/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-28T17:36:33.479Z] $ docker top bc7bbc8e5fb382ee2dcbbdd9dd1ebe503e54f4e631cad18351396a28f1235272 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-28T17:36:34.413Z] ---> job-cost.sh [2022-04-28T17:36:34.413Z] lf-activate-venv: SKIPPING [2022-04-28T17:36:34.413Z] INFO: No Stack... [2022-04-28T17:36:34.685Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-28T17:36:35.664Z] INFO: Archiving Costs [Pipeline] sh [2022-04-28T17:36:36.332Z] + cat /w/workspace/app-functions-sdk-go/2/archives/cost.csv [2022-04-28T17:36:36.332Z] + cut -d, -f6 [Pipeline] lock [2022-04-28T17:36:36.397Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1105-2-stack-cost] [2022-04-28T17:36:36.432Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1105-2-stack-cost] did not exist. Created. [2022-04-28T17:36:36.432Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1105-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-28T17:36:37.102Z] /w/workspace/app-functions-sdk-go/2@tmp/durable-f6d308de/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-28T17:36:37.778Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-28T17:36:37.807Z] Warning: overwriting stash ‘stack-cost’ [2022-04-28T17:36:37.871Z] Stashed 1 file(s) [Pipeline] } [2022-04-28T17:36:37.946Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1105-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-28T17:36:37.971Z] $ docker stop --time=1 bc7bbc8e5fb382ee2dcbbdd9dd1ebe503e54f4e631cad18351396a28f1235272 [2022-04-28T17:36:39.475Z] $ docker rm -f bc7bbc8e5fb382ee2dcbbdd9dd1ebe503e54f4e631cad18351396a28f1235272 [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 [2022-04-28T17:36:39.937Z] provisioning config files... [2022-04-28T17:36:39.946Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/dry_app-functions-sdk-go_PR-1105@tmp/config8536105416725776827tmp [Pipeline] { [Pipeline] sh [2022-04-28T17:36:40.248Z] + set +x [2022-04-28T17:36:40.248Z] + curl -s https://codecov.io/bash [2022-04-28T17:36:40.248Z] + bash -s -- [2022-04-28T17:36:40.248Z] [2022-04-28T17:36:40.248Z] _____ _ [2022-04-28T17:36:40.248Z] / ____| | | [2022-04-28T17:36:40.248Z] | | ___ __| | ___ ___ _____ __ [2022-04-28T17:36:40.248Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-28T17:36:40.248Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-28T17:36:40.248Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-28T17:36:40.248Z] Bash-1.0.6 [2022-04-28T17:36:40.248Z] [2022-04-28T17:36:40.248Z] [2022-04-28T17:36:40.248Z] ==> git version 2.25.1 found [2022-04-28T17:36:40.248Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-04-28T17:36:40.248Z] Release-Date: 2020-01-08 [2022-04-28T17:36:40.248Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-04-28T17:36:40.248Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-28T17:36:40.248Z] ==> Jenkins CI detected. [2022-04-28T17:36:40.248Z] current dir:  /w/workspace/dry_app-functions-sdk-go_PR-1105 [2022-04-28T17:36:40.248Z] project root: . [2022-04-28T17:36:40.248Z] --> token set from env [2022-04-28T17:36:40.248Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-28T17:36:40.248Z] ==> Running gcov in . (disable via -X gcov) [2022-04-28T17:36:40.248Z] ==> Python coveragepy not found [2022-04-28T17:36:40.248Z] ==> Searching for coverage reports in: [2022-04-28T17:36:40.248Z] + . [2022-04-28T17:36:40.248Z] -> Found 2 reports [2022-04-28T17:36:40.248Z] ==> Detecting git/mercurial file structure [2022-04-28T17:36:40.248Z] ==> Reading reports [2022-04-28T17:36:40.248Z] + ./app-service-template/coverage.out bytes=1222 [2022-04-28T17:36:40.510Z] + ./coverage.out bytes=119611 [2022-04-28T17:36:40.510Z] ==> Appending adjustments [2022-04-28T17:36:40.510Z] https://docs.codecov.io/docs/fixing-reports [2022-04-28T17:36:40.770Z] + Found adjustments [2022-04-28T17:36:40.770Z] ==> Gzipping contents [2022-04-28T17:36:40.770Z] 24K /tmp/codecov.s5yCkC.gz [2022-04-28T17:36:40.770Z] ==> Uploading reports [2022-04-28T17:36:40.770Z] url: https://codecov.io [2022-04-28T17:36:40.770Z] query: branch=PR-1105&commit=f279096a45514c4518cfacf4db5a9247258f0d22&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-1105%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=1105&job=&cmd_args= [2022-04-28T17:36:40.770Z] -> Pinging Codecov [2022-04-28T17:36:40.770Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=17ebf437-e483-4174-b11b-49c3772ebb45&branch=PR-1105&commit=f279096a45514c4518cfacf4db5a9247258f0d22&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-1105%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=1105&job=&cmd_args= [2022-04-28T17:36:41.343Z] -> Uploading to [2022-04-28T17:36:41.343Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-28/3D8B5DFFC46A037C893635FACE044666/f279096a45514c4518cfacf4db5a9247258f0d22/295027a2-9beb-4066-9292-7651d4a4dd05.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220428%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220428T173641Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=129fc6af9ebbf6cba98673e803a82f7f1018450073eb2651f3bedabfbbd6bb79 [2022-04-28T17:36:41.343Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-28T17:36:41.343Z] Dload Upload Total Spent Left Speed [2022-04-28T17:36:41.604Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20795 0 0 100 20795 0 93671 --:--:-- --:--:-- --:--:-- 93251 100 20795 0 0 100 20795 0 74534 --:--:-- --:--:-- --:--:-- 74267 [2022-04-28T17:36:41.604Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/f279096a45514c4518cfacf4db5a9247258f0d22 [Pipeline] } [2022-04-28T17:36:41.613Z] 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 [2022-04-28T17:36:42.322Z] + [ -d /w/workspace/dry_app-functions-sdk-go_PR-1105/archives ] [2022-04-28T17:36:42.322Z] + ls -al /w/workspace/dry_app-functions-sdk-go_PR-1105/archives [2022-04-28T17:36:42.322Z] total 16 [2022-04-28T17:36:42.322Z] drwxr-xr-x 3 root root 4096 Apr 28 17:27 . [2022-04-28T17:36:42.322Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 28 17:27 .. [2022-04-28T17:36:42.322Z] drwxr-xr-x 2 root root 4096 Apr 28 17:27 cost [2022-04-28T17:36:42.322Z] -rw-r--r-- 1 root root 92 Apr 28 17:27 cost.csv [2022-04-28T17:36:42.322Z] + sudo chown -R jenkins:jenkins /w/workspace/dry_app-functions-sdk-go_PR-1105/archives [2022-04-28T17:36:42.322Z] + ls -al /w/workspace/dry_app-functions-sdk-go_PR-1105/archives [2022-04-28T17:36:42.322Z] total 16 [2022-04-28T17:36:42.322Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 28 17:27 . [2022-04-28T17:36:42.322Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 28 17:27 .. [2022-04-28T17:36:42.322Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 28 17:27 cost [2022-04-28T17:36:42.322Z] -rw-r--r-- 1 jenkins jenkins 92 Apr 28 17:27 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-28T17:36:42.625Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-28T17:36:43.492Z] ---> package-listing.sh [2022-04-28T17:36:43.492Z] ++ facter osfamily [2022-04-28T17:36:43.492Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-28T17:36:43.753Z] + OS_FAMILY=debian [2022-04-28T17:36:43.753Z] + workspace=/w/workspace/dry_app-functions-sdk-go_PR-1105 [2022-04-28T17:36:43.753Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-28T17:36:43.753Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-28T17:36:43.753Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-28T17:36:43.753Z] + PACKAGES=/tmp/packages_start.txt [2022-04-28T17:36:43.753Z] + '[' /w/workspace/dry_app-functions-sdk-go_PR-1105 ']' [2022-04-28T17:36:43.753Z] + PACKAGES=/tmp/packages_end.txt [2022-04-28T17:36:43.753Z] + case "${OS_FAMILY}" in [2022-04-28T17:36:43.753Z] + dpkg -l [2022-04-28T17:36:43.753Z] + grep '^ii' [2022-04-28T17:36:43.753Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-28T17:36:43.753Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-28T17:36:43.753Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-28T17:36:43.753Z] + '[' /w/workspace/dry_app-functions-sdk-go_PR-1105 ']' [2022-04-28T17:36:43.753Z] + mkdir -p /w/workspace/dry_app-functions-sdk-go_PR-1105/archives/ [2022-04-28T17:36:43.753Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_app-functions-sdk-go_PR-1105/archives/ [Pipeline] echo [2022-04-28T17:36:43.768Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_app-functions-sdk-go_PR-1105/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-28T17:36:44.051Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-28T17:36:44.612Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-28T17:36:44.612Z] . [Pipeline] withDockerContainer [2022-04-28T17:36:44.675Z] prd-ubuntu20.04-docker-8c-8g-33683 does not seem to be running inside a container [2022-04-28T17:36:44.713Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_app-functions-sdk-go_PR-1105/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-1105 -v /w/workspace/dry_app-functions-sdk-go_PR-1105:/w/workspace/dry_app-functions-sdk-go_PR-1105:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1105@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1105@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 [2022-04-28T17:36:44.965Z] $ docker top 05d93d01b76309c85fcc149c8cf899632d7208bd600ae1be63edcb1d7d5b53a4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-28T17:36:45.337Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-28T17:36:45.625Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-28T17:36:45.911Z] + ls /var/log/sa-host [2022-04-28T17:36:45.911Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-28T17:36:46.121Z] provisioning config files... [2022-04-28T17:36:46.131Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_app-functions-sdk-go_PR-1105@tmp/config1297306574269837498tmp [Pipeline] { [Pipeline] echo [2022-04-28T17:36:46.145Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-28T17:36:46.434Z] ---> create-netrc.sh [Pipeline] } [2022-04-28T17:36:46.443Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-28T17:36:46.787Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-28T17:36:46.798Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-28T17:36:48.308Z] ---> sudo-logs.sh [2022-04-28T17:36:48.308Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-28T17:36:48.333Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-28T17:36:48.621Z] ---> job-cost.sh [2022-04-28T17:36:48.621Z] lf-activate-venv: SKIPPING [2022-04-28T17:36:48.621Z] DEBUG: total: 0.2199999988079071 [2022-04-28T17:36:48.621Z] INFO: Retrieving Stack Cost... [2022-04-28T17:36:49.195Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-28T17:36:49.456Z] INFO: Archiving Costs [Pipeline] echo [2022-04-28T17:36:49.468Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-28T17:36:49.757Z] ---> logs-deploy.sh [2022-04-28T17:36:49.757Z] lf-activate-venv: SKIPPING [2022-04-28T17:36:49.757Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-1105/2 [2022-04-28T17:36:49.757Z] INFO: archiving workspace using pattern(s): [2022-04-28T17:36:50.700Z] Archives upload complete. [2022-04-28T17:36:50.961Z] INFO: archiving logs to Nexus