Pull request #1062 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f4e0b34ef39211125bdbaa4d1fa8a59d6ac95801+fa9e06d3aebafc742c087a0d8f2712b2ab560b6e (c5a1c41bffb0bb4a8130fb21a12cc55d1df2eea3) 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-ssh491615218812286803.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3970085746985215379.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1062/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1062/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh15002941058982751518.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1062/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh533907941936207525.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9733186713048138683.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1062/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-1062/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6705861325622499163.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-functions-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-7909’ is offline Running on prd-ubuntu20.04-docker-8c-8g-7912 in /w/workspace/dry_app-functions-sdk-go_PR-1062 [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-1062 # 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/1062/head:refs/remotes/origin/PR-1062 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit fa9e06d3aebafc742c087a0d8f2712b2ab560b6e into PR head commit f4e0b34ef39211125bdbaa4d1fa8a59d6ac95801 Merge succeeded, producing f4e0b34ef39211125bdbaa4d1fa8a59d6ac95801 Checking out Revision f4e0b34ef39211125bdbaa4d1fa8a59d6ac95801 (PR-1062) > git config core.sparsecheckout # timeout=10 > git checkout -f f4e0b34ef39211125bdbaa4d1fa8a59d6ac95801 # 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 fa9e06d3aebafc742c087a0d8f2712b2ab560b6e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f4e0b34ef39211125bdbaa4d1fa8a59d6ac95801 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-03-18T04:06:39.544Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-03-18T04:06:39.730Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-03-18T04:06:39.840Z] ========================================================= [2022-03-18T04:06:39.840Z] EdgeX Global Pipelines Version Info [2022-03-18T04:06:39.840Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-03-18T04:06:40.607Z] ------------------- [2022-03-18T04:06:40.607Z] stable info: [2022-03-18T04:06:40.607Z] ------------------- [2022-03-18T04:06:40.607Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-18T04:06:40.607Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-18T04:06:40.607Z] Message: update stable to v1.0.221 [2022-03-18T04:06:41.181Z] ------------------- [2022-03-18T04:06:41.181Z] experimental info: [2022-03-18T04:06:41.181Z] ------------------- [2022-03-18T04:06:41.181Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-03-18T04:06:41.181Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-18T04:06:41.181Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-03-18T04:06:41.422Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2022-03-18T04:06:41.462Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2022-03-18T04:06:41.502Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-03-18T04:06:41.541Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-03-18T04:06:41.577Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-03-18T04:06:41.610Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-03-18T04:06:41.646Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-03-18T04:06:41.686Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-03-18T04:06:41.719Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-03-18T04:06:41.762Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-03-18T04:06:41.800Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-03-18T04:06:41.836Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2022-03-18T04:06:41.875Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-03-18T04:06:41.919Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-03-18T04:06:41.956Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2022-03-18T04:06:41.989Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-03-18T04:06:42.032Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-03-18T04:06:42.071Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-03-18T04:06:42.109Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-03-18T04:06:42.153Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-03-18T04:06:42.196Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-03-18T04:06:42.233Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-03-18T04:06:42.277Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-03-18T04:06:42.316Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-03-18T04:06:42.350Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2022-03-18T04:06:42.387Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-03-18T04:06:42.424Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1062 [Pipeline] echo [2022-03-18T04:06:42.458Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1062 [Pipeline] echo [2022-03-18T04:06:42.493Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1062 [Pipeline] echo [2022-03-18T04:06:42.528Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f4e0b34ef39211125bdbaa4d1fa8a59d6ac95801 [Pipeline] echo [2022-03-18T04:06:42.564Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f4e0b34 [Pipeline] echo [2022-03-18T04:06:42.598Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-03-18T04:06:43.109Z] + git rev-list -1 --merges f4e0b34ef39211125bdbaa4d1fa8a59d6ac95801~1..f4e0b34ef39211125bdbaa4d1fa8a59d6ac95801 [Pipeline] echo [2022-03-18T04:06:43.284Z] -----------> git rev-list -1 --merges f4e0b34ef39211125bdbaa4d1fa8a59d6ac95801~1..f4e0b34ef39211125bdbaa4d1fa8a59d6ac95801 f4e0b34ef39211125bdbaa4d1fa8a59d6ac95801 [false] [Pipeline] sh [2022-03-18T04:06:43.596Z] + git log --format=format:%s -1 f4e0b34ef39211125bdbaa4d1fa8a59d6ac95801 [Pipeline] echo [2022-03-18T04:06:43.628Z] ========================================================= [2022-03-18T04:06:43.628Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-18T04:06:43.628Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-18T04:06:44.065Z] + git log --format=format:%s -1 f4e0b34ef39211125bdbaa4d1fa8a59d6ac95801 [Pipeline] echo [2022-03-18T04:06:44.099Z] [semverPrep] GIT_COMMIT: f4e0b34ef39211125bdbaa4d1fa8a59d6ac95801, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2022-03-18T04:06:44.127Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-03-18T04:06:44.536Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-18T04:06:44.536Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-03-18T04:06:44.536Z] + [ -e /tmp/ssh_known_hosts ] [2022-03-18T04:06:44.536Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-03-18T04:06:44.536Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo [2022-03-18T04:06:44.536Z] tee -a /etc/ssh/ssh_known_hosts [2022-03-18T04:06:44.536Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-18T04:06:44.904Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-18T04:06:45.167Z] [2022-03-18T04:06:45.167Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-03-18T04:06:45.502Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-18T04:06:45.502Z] latest: Pulling from edgex-devops/git-semver [2022-03-18T04:06:45.502Z] a0d0a0d46f8b: Pulling fs layer [2022-03-18T04:06:45.502Z] 3e5f54012d9b: Pulling fs layer [2022-03-18T04:06:45.502Z] 4c7163046ea9: Pulling fs layer [2022-03-18T04:06:45.502Z] 0c2d73faf560: Pulling fs layer [2022-03-18T04:06:45.502Z] 0c2d73faf560: Waiting [2022-03-18T04:06:45.502Z] 3e5f54012d9b: Download complete [2022-03-18T04:06:45.502Z] a0d0a0d46f8b: Download complete [2022-03-18T04:06:45.764Z] 0c2d73faf560: Verifying Checksum [2022-03-18T04:06:45.764Z] 0c2d73faf560: Download complete [2022-03-18T04:06:45.764Z] 4c7163046ea9: Verifying Checksum [2022-03-18T04:06:45.764Z] 4c7163046ea9: Download complete [2022-03-18T04:06:45.764Z] a0d0a0d46f8b: Pull complete [2022-03-18T04:06:45.764Z] 3e5f54012d9b: Pull complete [2022-03-18T04:06:46.339Z] 4c7163046ea9: Pull complete [2022-03-18T04:06:46.339Z] 0c2d73faf560: Pull complete [2022-03-18T04:06:46.339Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-03-18T04:06:46.339Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-18T04:06:46.339Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-03-18T04:06:46.442Z] prd-ubuntu20.04-docker-8c-8g-7912 does not seem to be running inside a container [2022-03-18T04:06:46.491Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_app-functions-sdk-go_PR-1062 -v /w/workspace/dry_app-functions-sdk-go_PR-1062:/w/workspace/dry_app-functions-sdk-go_PR-1062:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1062@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1062@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-18T04:06:47.242Z] $ docker top 9acac5d56d7b6c624e06d921bf53944b18f580ca3105b38734b8d24b930e149e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-18T04:06:47.421Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-18T04:06:47.421Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-18T04:06:47.561Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-18T04:06:47.566Z] $ docker exec 9acac5d56d7b6c624e06d921bf53944b18f580ca3105b38734b8d24b930e149e ssh-agent [2022-03-18T04:06:47.697Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXolPLgK/agent.13 [2022-03-18T04:06:47.697Z] SSH_AGENT_PID=19 [2022-03-18T04:06:47.706Z] Running ssh-add (command line suppressed) [2022-03-18T04:06:47.840Z] Identity added: /w/workspace/dry_app-functions-sdk-go_PR-1062@tmp/private_key_4703584629458920936.key (/w/workspace/dry_app-functions-sdk-go_PR-1062@tmp/private_key_4703584629458920936.key) [2022-03-18T04:06:47.856Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-18T04:06:48.194Z] + git tag --points-at HEAD [Pipeline] } [2022-03-18T04:06:48.219Z] $ docker exec --env ******** --env ******** 9acac5d56d7b6c624e06d921bf53944b18f580ca3105b38734b8d24b930e149e ssh-agent -k [2022-03-18T04:06:48.344Z] unset SSH_AUTH_SOCK; [2022-03-18T04:06:48.344Z] unset SSH_AGENT_PID; [2022-03-18T04:06:48.345Z] echo Agent pid 19 killed; [2022-03-18T04:06:48.355Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-03-18T04:06:48.439Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-18T04:06:48.439Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-18T04:06:48.578Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-18T04:06:48.582Z] $ docker exec 9acac5d56d7b6c624e06d921bf53944b18f580ca3105b38734b8d24b930e149e ssh-agent [2022-03-18T04:06:48.708Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOCmegI/agent.52 [2022-03-18T04:06:48.708Z] SSH_AGENT_PID=59 [2022-03-18T04:06:48.714Z] Running ssh-add (command line suppressed) [2022-03-18T04:06:48.840Z] Identity added: /w/workspace/dry_app-functions-sdk-go_PR-1062@tmp/private_key_5238618318002745353.key (/w/workspace/dry_app-functions-sdk-go_PR-1062@tmp/private_key_5238618318002745353.key) [2022-03-18T04:06:48.857Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-18T04:06:49.190Z] + git semver init [2022-03-18T04:06:49.190Z] # -> Open(): unable to determine branch for HEAD [2022-03-18T04:06:49.190Z] # $GIT_DIR = /w/workspace/dry_app-functions-sdk-go_PR-1062/.git [2022-03-18T04:06:49.190Z] # $GIT_WORK_TREE = /w/workspace/dry_app-functions-sdk-go_PR-1062 [2022-03-18T04:06:49.190Z] # $SEMVER_REMOTE_NAME = origin [2022-03-18T04:06:49.190Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-18T04:06:49.190Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-18T04:06:49.190Z] # $SEMVER_BRANCH = PR-1062 [2022-03-18T04:06:49.190Z] # $SEMVER_TEMP = /tmp/semver-069126358 [2022-03-18T04:06:49.190Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2022-03-18T04:06:51.731Z] # '/tmp/semver-069126358' -> '/w/workspace/dry_app-functions-sdk-go_PR-1062/.semver' [2022-03-18T04:06:51.731Z] # -> Force: false [2022-03-18T04:06:51.731Z] # $SEMVER_DIR = /w/workspace/dry_app-functions-sdk-go_PR-1062/.semver [Pipeline] } [2022-03-18T04:06:51.752Z] $ docker exec --env ******** --env ******** 9acac5d56d7b6c624e06d921bf53944b18f580ca3105b38734b8d24b930e149e ssh-agent -k [2022-03-18T04:06:51.857Z] unset SSH_AUTH_SOCK; [2022-03-18T04:06:51.857Z] unset SSH_AGENT_PID; [2022-03-18T04:06:51.857Z] echo Agent pid 59 killed; [2022-03-18T04:06:51.867Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-18T04:06:52.296Z] + git semver [Pipeline] } [2022-03-18T04:06:52.327Z] $ docker stop --time=1 9acac5d56d7b6c624e06d921bf53944b18f580ca3105b38734b8d24b930e149e [2022-03-18T04:06:53.836Z] $ docker rm -f 9acac5d56d7b6c624e06d921bf53944b18f580ca3105b38734b8d24b930e149e [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-18T04:06:54.265Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-03-18T04:06:54.591Z] Stashed 1 file(s) [Pipeline] echo [2022-03-18T04:06:54.609Z] [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-03-18T04:06:55.287Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-18T04:06:55.322Z] ========================================================= [2022-03-18T04:06:55.322Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-03-18T04:06:55.322Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-03-18T04:06:55.717Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-18T04:06:55.717Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-03-18T04:06:55.717Z] 59bf1c3509f3: Pulling fs layer [2022-03-18T04:06:55.717Z] 666ba61612fd: Pulling fs layer [2022-03-18T04:06:55.717Z] 8ed8ca486205: Pulling fs layer [2022-03-18T04:06:55.717Z] 4fe6c5a15a65: Pulling fs layer [2022-03-18T04:06:55.717Z] 22a0e8bec74d: Pulling fs layer [2022-03-18T04:06:55.717Z] 640e595b4fbd: Pulling fs layer [2022-03-18T04:06:55.717Z] 763cafe07f6e: Pulling fs layer [2022-03-18T04:06:55.717Z] 0c0b528cf693: Pulling fs layer [2022-03-18T04:06:55.717Z] 10935f4eaf8b: Pulling fs layer [2022-03-18T04:06:55.717Z] 4fe6c5a15a65: Waiting [2022-03-18T04:06:55.717Z] 22a0e8bec74d: Waiting [2022-03-18T04:06:55.717Z] 640e595b4fbd: Waiting [2022-03-18T04:06:55.717Z] 763cafe07f6e: Waiting [2022-03-18T04:06:55.717Z] 0c0b528cf693: Waiting [2022-03-18T04:06:55.717Z] 10935f4eaf8b: Waiting [2022-03-18T04:06:55.717Z] 8ed8ca486205: Verifying Checksum [2022-03-18T04:06:55.717Z] 8ed8ca486205: Download complete [2022-03-18T04:06:55.717Z] 666ba61612fd: Verifying Checksum [2022-03-18T04:06:55.717Z] 666ba61612fd: Download complete [2022-03-18T04:06:55.717Z] 22a0e8bec74d: Verifying Checksum [2022-03-18T04:06:55.717Z] 22a0e8bec74d: Download complete [2022-03-18T04:06:55.717Z] 640e595b4fbd: Verifying Checksum [2022-03-18T04:06:55.717Z] 640e595b4fbd: Download complete [2022-03-18T04:06:55.717Z] 763cafe07f6e: Verifying Checksum [2022-03-18T04:06:55.717Z] 763cafe07f6e: Download complete [2022-03-18T04:06:55.717Z] 59bf1c3509f3: Download complete [2022-03-18T04:06:55.976Z] 0c0b528cf693: Verifying Checksum [2022-03-18T04:06:55.976Z] 0c0b528cf693: Download complete [2022-03-18T04:06:55.976Z] 59bf1c3509f3: Pull complete [2022-03-18T04:06:56.236Z] 666ba61612fd: Pull complete [2022-03-18T04:06:56.236Z] 8ed8ca486205: Pull complete [2022-03-18T04:06:56.498Z] 10935f4eaf8b: Verifying Checksum [2022-03-18T04:06:56.498Z] 10935f4eaf8b: Download complete [2022-03-18T04:06:56.498Z] 4fe6c5a15a65: Verifying Checksum [2022-03-18T04:06:56.498Z] 4fe6c5a15a65: Download complete [2022-03-18T04:07:00.715Z] 4fe6c5a15a65: Pull complete [2022-03-18T04:07:00.715Z] 22a0e8bec74d: Pull complete [2022-03-18T04:07:00.715Z] 640e595b4fbd: Pull complete [2022-03-18T04:07:00.715Z] 763cafe07f6e: Pull complete [2022-03-18T04:07:00.715Z] 0c0b528cf693: Pull complete [2022-03-18T04:07:03.263Z] 10935f4eaf8b: Pull complete [2022-03-18T04:07:03.263Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-03-18T04:07:03.263Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-18T04:07:03.263Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] sh [2022-03-18T04:07:03.581Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh [2022-03-18T04:07:03.908Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-18T04:07:03.908Z] . [Pipeline] withDockerContainer [2022-03-18T04:07:04.005Z] prd-ubuntu20.04-docker-8c-8g-7912 does not seem to be running inside a container [2022-03-18T04:07:04.042Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-functions-sdk-go_PR-1062 -v /w/workspace/dry_app-functions-sdk-go_PR-1062:/w/workspace/dry_app-functions-sdk-go_PR-1062:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1062@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1062@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 ******** ci-base-image-x86_64 cat [2022-03-18T04:07:05.895Z] $ docker top 4092cd2f0678e9f3617bf6b28b4773868bbd45e34955562d1d98a272c918c2aa -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-18T04:07:06.306Z] + go version [2022-03-18T04:07:06.306Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-03-18T04:07:06.339Z] $ docker stop --time=1 4092cd2f0678e9f3617bf6b28b4773868bbd45e34955562d1d98a272c918c2aa [2022-03-18T04:07:07.658Z] $ docker rm -f 4092cd2f0678e9f3617bf6b28b4773868bbd45e34955562d1d98a272c918c2aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-18T04:07:08.333Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-18T04:07:08.333Z] . [Pipeline] withDockerContainer [2022-03-18T04:07:08.431Z] prd-ubuntu20.04-docker-8c-8g-7912 does not seem to be running inside a container [2022-03-18T04:07:08.474Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_app-functions-sdk-go_PR-1062 -v /w/workspace/dry_app-functions-sdk-go_PR-1062:/w/workspace/dry_app-functions-sdk-go_PR-1062:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1062@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1062@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 ******** ci-base-image-x86_64 cat [2022-03-18T04:07:08.901Z] $ docker top e85f78c710a16d164211e95146f76fe3de647b1c941afbca0d655b5d866ec657 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-18T04:07:09.361Z] + make test [2022-03-18T04:07:09.361Z] make -C ./app-service-template build [2022-03-18T04:07:09.361Z] make[1]: Entering directory '/w/workspace/dry_app-functions-sdk-go_PR-1062/app-service-template' [2022-03-18T04:07:09.361Z] go mod tidy [2022-03-18T04:07:09.361Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0-dev.11 [2022-03-18T04:07:09.361Z] go: downloading github.com/stretchr/testify v1.7.0 [2022-03-18T04:07:09.361Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.1-dev.28 [2022-03-18T04:07:09.361Z] go: downloading github.com/google/uuid v1.3.0 [2022-03-18T04:07:09.361Z] go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2022-03-18T04:07:09.361Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2022-03-18T04:07:09.361Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0-dev.8 [2022-03-18T04:07:09.361Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 [2022-03-18T04:07:09.361Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-03-18T04:07:09.361Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2022-03-18T04:07:09.620Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-03-18T04:07:09.620Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-03-18T04:07:09.620Z] go: downloading github.com/stretchr/objx v0.1.1 [2022-03-18T04:07:09.620Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-03-18T04:07:09.620Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 [2022-03-18T04:07:09.620Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.0 [2022-03-18T04:07:09.620Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-03-18T04:07:09.620Z] go: downloading github.com/go-kit/log v0.2.0 [2022-03-18T04:07:09.620Z] go: downloading github.com/go-playground/validator/v10 v10.10.0 [2022-03-18T04:07:09.620Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2022-03-18T04:07:09.620Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2022-03-18T04:07:09.620Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2022-03-18T04:07:09.620Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-03-18T04:07:09.620Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-03-18T04:07:09.620Z] go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 [2022-03-18T04:07:09.620Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-03-18T04:07:09.620Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2022-03-18T04:07:09.620Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-03-18T04:07:09.620Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2022-03-18T04:07:09.620Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-03-18T04:07:09.620Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-03-18T04:07:09.620Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-03-18T04:07:09.620Z] go: downloading github.com/x448/float16 v0.8.4 [2022-03-18T04:07:09.620Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-03-18T04:07:09.620Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-03-18T04:07:09.620Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-03-18T04:07:09.620Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-03-18T04:07:09.620Z] go: downloading golang.org/x/crypto v0.0.0-20210915214749-c084706c2272 [2022-03-18T04:07:09.620Z] go: downloading golang.org/x/text v0.3.7 [2022-03-18T04:07:09.620Z] go: downloading github.com/go-playground/locales v0.14.0 [2022-03-18T04:07:09.880Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2022-03-18T04:07:09.880Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2022-03-18T04:07:09.880Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2022-03-18T04:07:09.880Z] go: downloading github.com/onsi/gomega v1.7.0 [2022-03-18T04:07:09.880Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-03-18T04:07:10.101Z] Still waiting to schedule task [2022-03-18T04:07:10.102Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-7913’ is offline [2022-03-18T04:07:10.139Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-03-18T04:07:10.139Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-03-18T04:07:10.139Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-03-18T04:07:10.139Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2022-03-18T04:07:10.139Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2022-03-18T04:07:10.139Z] go: downloading golang.org/x/sys v0.0.0-20210917161153-d61c044b1678 [2022-03-18T04:07:10.139Z] go: downloading github.com/kr/pretty v0.3.0 [2022-03-18T04:07:10.139Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2022-03-18T04:07:10.139Z] go: downloading github.com/fatih/color v1.9.0 [2022-03-18T04:07:10.139Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-03-18T04:07:10.139Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-03-18T04:07:10.139Z] go: downloading github.com/pkg/errors v0.9.1 [2022-03-18T04:07:10.139Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-03-18T04:07:10.139Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2022-03-18T04:07:10.139Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2022-03-18T04:07:10.139Z] go: downloading github.com/kr/text v0.2.0 [2022-03-18T04:07:10.139Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2022-03-18T04:07:10.399Z] go: downloading gopkg.in/yaml.v2 v2.3.0 [2022-03-18T04:07:10.399Z] go: downloading github.com/hpcloud/tail v1.0.0 [2022-03-18T04:07:10.399Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2022-03-18T04:07:10.399Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-03-18T04:07:10.399Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2022-03-18T04:07:10.399Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2022-03-18T04:07:10.399Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2022-03-18T04:07:10.399Z] go: downloading github.com/miekg/dns v1.1.26 [2022-03-18T04:07:10.399Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2022-03-18T04:07:10.399Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2022-03-18T04:07:10.399Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-03-18T04:07:10.399Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2022-03-18T04:07:10.659Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0-dev.17 [2022-03-18T04:07:10.659Z] go: downloading github.com/stretchr/testify v1.7.1 [2022-03-18T04:07:10.659Z] go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 [2022-03-18T04:07:10.659Z] go: downloading github.com/go-playground/validator/v10 v10.10.1 [2022-03-18T04:07:10.659Z] go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 [2022-03-18T04:07:10.919Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.1.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2022-03-18T04:07:17.496Z] make[1]: Leaving directory '/w/workspace/dry_app-functions-sdk-go_PR-1062/app-service-template' [2022-03-18T04:07:17.496Z] make -C ./app-service-template test [2022-03-18T04:07:17.496Z] make[1]: Entering directory '/w/workspace/dry_app-functions-sdk-go_PR-1062/app-service-template' [2022-03-18T04:07:17.496Z] CGO_ENABLED=1 go test -race -coverprofile=coverage.out ./... [2022-03-18T04:07:35.694Z] ok new-app-service 0.060s coverage: 48.1% of statements [2022-03-18T04:07:35.694Z] ? new-app-service/config [no test files] [2022-03-18T04:07:35.694Z] ok new-app-service/functions 0.048s [2022-03-18T04:07:35.694Z] CGO_ENABLED=1 go vet ./... [2022-03-18T04:07:37.607Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-18T04:07:37.607Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-18T04:07:37.607Z] ./bin/test-attribution-txt.sh [2022-03-18T04:07:38.186Z] make[1]: Leaving directory '/w/workspace/dry_app-functions-sdk-go_PR-1062/app-service-template' [2022-03-18T04:07:38.186Z] CGO_ENABLED=1 GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-03-18T04:07:38.186Z] go: downloading github.com/gomodule/redigo v1.8.8 [2022-03-18T04:07:38.756Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2022-03-18T04:07:41.296Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.093s coverage: 63.8% of statements [2022-03-18T04:07:41.296Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.082s coverage: 93.7% of statements [2022-03-18T04:07:41.296Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2022-03-18T04:07:41.296Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.146s coverage: 76.5% of statements [2022-03-18T04:07:41.296Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2022-03-18T04:07:41.296Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.067s [2022-03-18T04:07:41.296Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.066s coverage: 100.0% of statements [2022-03-18T04:07:41.296Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.150s coverage: 78.3% of statements [2022-03-18T04:07:41.296Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2022-03-18T04:07:41.296Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2022-03-18T04:07:41.296Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.080s coverage: 97.3% of statements [2022-03-18T04:07:41.296Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2022-03-18T04:07:41.296Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] [2022-03-18T04:07:41.296Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.092s coverage: 91.8% of statements [2022-03-18T04:07:41.296Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] [2022-03-18T04:07:41.296Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 0.695s coverage: 80.4% of statements [2022-03-18T04:07:41.296Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] [2022-03-18T04:07:41.296Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] [2022-03-18T04:07:41.296Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.079s coverage: 29.3% of statements [2022-03-18T04:07:41.296Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] [2022-03-18T04:07:41.296Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.057s coverage: 14.3% of statements [2022-03-18T04:07:41.296Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.045s coverage: 27.3% of statements [2022-03-18T04:07:41.296Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2022-03-18T04:07:41.296Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-03-18T04:07:41.296Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.055s coverage: 51.4% of statements [2022-03-18T04:08:07.891Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.192s coverage: 78.2% of statements [2022-03-18T04:08:07.891Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.048s coverage: 94.4% of statements [2022-03-18T04:08:07.891Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-03-18T04:08:07.891Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-18T04:08:07.891Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2022-03-18T04:08:16.063Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-18T04:08:16.092Z] $ docker stop --time=1 e85f78c710a16d164211e95146f76fe3de647b1c941afbca0d655b5d866ec657 [2022-03-18T04:08:17.517Z] $ docker rm -f e85f78c710a16d164211e95146f76fe3de647b1c941afbca0d655b5d866ec657 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-18T04:08:18.224Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-18T04:08:18.308Z] 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-03-18T04:08:19.194Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-18T04:08:19.195Z] [2022-03-18T04:08:19.195Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-03-18T04:08:19.549Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-18T04:08:19.549Z] latest: Pulling from edgex-lftools-log-publisher [2022-03-18T04:08:19.549Z] 5eb5b503b376: Pulling fs layer [2022-03-18T04:08:19.549Z] 5c69ac0246d0: Pulling fs layer [2022-03-18T04:08:19.549Z] ec43610c2a17: Pulling fs layer [2022-03-18T04:08:19.549Z] 3a2ae6a8a46f: Pulling fs layer [2022-03-18T04:08:19.549Z] 33b1e0a273af: Pulling fs layer [2022-03-18T04:08:19.549Z] 5d3b04190fa2: Pulling fs layer [2022-03-18T04:08:19.549Z] 2f39f015ded8: Pulling fs layer [2022-03-18T04:08:19.549Z] 3a2ae6a8a46f: Waiting [2022-03-18T04:08:19.549Z] 33b1e0a273af: Waiting [2022-03-18T04:08:19.549Z] 5d3b04190fa2: Waiting [2022-03-18T04:08:19.549Z] 2f39f015ded8: Waiting [2022-03-18T04:08:19.549Z] 5c69ac0246d0: Download complete [2022-03-18T04:08:19.549Z] 3a2ae6a8a46f: Verifying Checksum [2022-03-18T04:08:19.549Z] 3a2ae6a8a46f: Download complete [2022-03-18T04:08:19.809Z] 33b1e0a273af: Verifying Checksum [2022-03-18T04:08:19.809Z] 33b1e0a273af: Download complete [2022-03-18T04:08:19.809Z] 5d3b04190fa2: Verifying Checksum [2022-03-18T04:08:19.809Z] 5d3b04190fa2: Download complete [2022-03-18T04:08:19.809Z] ec43610c2a17: Verifying Checksum [2022-03-18T04:08:19.809Z] ec43610c2a17: Download complete [2022-03-18T04:08:19.809Z] 5eb5b503b376: Verifying Checksum [2022-03-18T04:08:19.809Z] 5eb5b503b376: Download complete [2022-03-18T04:08:20.377Z] 2f39f015ded8: Download complete [2022-03-18T04:08:21.330Z] 5eb5b503b376: Pull complete [2022-03-18T04:08:21.330Z] 5c69ac0246d0: Pull complete [2022-03-18T04:08:21.898Z] ec43610c2a17: Pull complete [2022-03-18T04:08:21.898Z] 3a2ae6a8a46f: Pull complete [2022-03-18T04:08:22.159Z] 33b1e0a273af: Pull complete [2022-03-18T04:08:22.159Z] 5d3b04190fa2: Pull complete [2022-03-18T04:08:27.442Z] 2f39f015ded8: Pull complete [2022-03-18T04:08:27.442Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-03-18T04:08:27.442Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-18T04:08:27.442Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-03-18T04:08:27.543Z] prd-ubuntu20.04-docker-8c-8g-7912 does not seem to be running inside a container [2022-03-18T04:08:27.584Z] $ 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-1062 -v /w/workspace/dry_app-functions-sdk-go_PR-1062:/w/workspace/dry_app-functions-sdk-go_PR-1062:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1062@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1062@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-18T04:08:29.373Z] $ docker top 0c3d619ba61d158a668026ed173ff82ad645929e6879ee9ae5b05e49961b5e30 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-18T04:08:29.823Z] ---> job-cost.sh [2022-03-18T04:08:29.823Z] lf-activate-venv: SKIPPING [2022-03-18T04:08:29.823Z] INFO: No Stack... [2022-03-18T04:08:30.085Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-18T04:08:30.657Z] INFO: Archiving Costs [Pipeline] sh [2022-03-18T04:08:30.974Z] + cat /w/workspace/dry_app-functions-sdk-go_PR-1062/archives/cost.csv [2022-03-18T04:08:30.974Z] + cut -d, -f6 [Pipeline] lock [2022-03-18T04:08:31.016Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1062-1-stack-cost] [2022-03-18T04:08:31.020Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1062-1-stack-cost] did not exist. Created. [2022-03-18T04:08:31.021Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1062-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-18T04:08:31.407Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-03-18T04:08:31.463Z] Stashed 1 file(s) [Pipeline] } [2022-03-18T04:08:31.485Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1062-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-18T04:08:31.563Z] $ docker stop --time=1 0c3d619ba61d158a668026ed173ff82ad645929e6879ee9ae5b05e49961b5e30 [2022-03-18T04:08:32.735Z] $ docker rm -f 0c3d619ba61d158a668026ed173ff82ad645929e6879ee9ae5b05e49961b5e30 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-18T04:09:59.829Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7916 in /w/workspace/dry_app-functions-sdk-go_PR-1062 [Pipeline] { [Pipeline] ws [2022-03-18T04:09:59.869Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-03-18T04:10:00.226Z] The recommended git tool is: git [2022-03-18T04:10:08.795Z] using credential edgex-jenkins-ssh [2022-03-18T04:10:08.817Z] Cloning the remote Git repository [2022-03-18T04:10:08.897Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2022-03-18T04:10:09.029Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2022-03-18T04:10:09.285Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2022-03-18T04:10:09.287Z] > git --version # timeout=10 [2022-03-18T04:10:09.363Z] > git --version # 'git version 2.25.1' [2022-03-18T04:10:09.366Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-18T04:10:09.569Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-18T04:10:14.180Z] Merging remotes/origin/main commit fa9e06d3aebafc742c087a0d8f2712b2ab560b6e into PR head commit f4e0b34ef39211125bdbaa4d1fa8a59d6ac95801 [2022-03-18T04:10:14.514Z] Merge succeeded, producing f4e0b34ef39211125bdbaa4d1fa8a59d6ac95801 [2022-03-18T04:10:14.514Z] Checking out Revision f4e0b34ef39211125bdbaa4d1fa8a59d6ac95801 (PR-1062) [2022-03-18T04:10:13.432Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2022-03-18T04:10:13.455Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-18T04:10:13.488Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2022-03-18T04:10:13.548Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2022-03-18T04:10:13.549Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-18T04:10:13.567Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/1062/head:refs/remotes/origin/PR-1062 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-03-18T04:10:14.208Z] > git config core.sparsecheckout # timeout=10 [2022-03-18T04:10:14.231Z] > git checkout -f f4e0b34ef39211125bdbaa4d1fa8a59d6ac95801 # timeout=10 [2022-03-18T04:10:14.381Z] > git remote # timeout=10 [2022-03-18T04:10:14.411Z] > git config --get remote.origin.url # timeout=10 [2022-03-18T04:10:14.430Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-18T04:10:14.447Z] > git merge fa9e06d3aebafc742c087a0d8f2712b2ab560b6e # timeout=10 [2022-03-18T04:10:14.481Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-03-18T04:10:14.526Z] > git config core.sparsecheckout # timeout=10 [2022-03-18T04:10:14.544Z] > git checkout -f f4e0b34ef39211125bdbaa4d1fa8a59d6ac95801 # timeout=10 [2022-03-18T04:10:19.412Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2022-03-18T04:10:19.494Z] > git --version # timeout=10 [2022-03-18T04:10:19.514Z] > git --version # 'git version 2.25.1' [2022-03-18T04:10:19.548Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-18T04:10:20.679Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-03-18T04:10:20.679Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-18T04:10:20.679Z] Dload Upload Total Spent Left Speed [2022-03-18T04:10:20.679Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 175k 0 --:--:-- --:--:-- --:--:-- 175k [Pipeline] sh [2022-03-18T04:10:21.259Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-03-18T04:10:21.650Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-03-18T04:10:21.650Z] + sudo tee /etc/docker/daemon.new [2022-03-18T04:10:21.650Z] { [2022-03-18T04:10:21.650Z] "registry-mirrors": [ [2022-03-18T04:10:21.650Z] "https://nexus3.edgexfoundry.org:10001" [2022-03-18T04:10:21.650Z] ], [2022-03-18T04:10:21.650Z] "bip": "10.250.0.254/24", [2022-03-18T04:10:21.650Z] "hosts": [ [2022-03-18T04:10:21.650Z] "tcp://0.0.0.0:5555", [2022-03-18T04:10:21.650Z] "unix:///var/run/docker.sock" [2022-03-18T04:10:21.650Z] ], [2022-03-18T04:10:21.650Z] "mtu": 1458, [2022-03-18T04:10:21.650Z] "selinux-enabled": true, [2022-03-18T04:10:21.650Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-03-18T04:10:21.650Z] } [Pipeline] sh [2022-03-18T04:10:22.045Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-03-18T04:10:22.442Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2022-03-18T04:10:41.417Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-18T04:10:41.454Z] ========================================================= [2022-03-18T04:10:41.454Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-03-18T04:10:41.454Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-03-18T04:10:41.891Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-18T04:10:42.881Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-03-18T04:10:42.881Z] 9b3977197b4f: Pulling fs layer [2022-03-18T04:10:42.881Z] 1a89e8eeedd5: Pulling fs layer [2022-03-18T04:10:42.881Z] 94645a83ff95: Pulling fs layer [2022-03-18T04:10:42.881Z] 3f3a8bcf1eab: Pulling fs layer [2022-03-18T04:10:42.881Z] 0c92f367c5e7: Pulling fs layer [2022-03-18T04:10:42.881Z] f7c0051592d6: Pulling fs layer [2022-03-18T04:10:42.881Z] a227ed2f7395: Pulling fs layer [2022-03-18T04:10:42.881Z] 7b1c46037f91: Pulling fs layer [2022-03-18T04:10:42.881Z] 0c92f367c5e7: Waiting [2022-03-18T04:10:42.881Z] f7c0051592d6: Waiting [2022-03-18T04:10:42.881Z] a227ed2f7395: Waiting [2022-03-18T04:10:42.881Z] 7b1c46037f91: Waiting [2022-03-18T04:10:42.881Z] 3f3a8bcf1eab: Waiting [2022-03-18T04:10:42.881Z] 94645a83ff95: Verifying Checksum [2022-03-18T04:10:42.881Z] 94645a83ff95: Download complete [2022-03-18T04:10:42.881Z] 1a89e8eeedd5: Verifying Checksum [2022-03-18T04:10:42.881Z] 1a89e8eeedd5: Download complete [2022-03-18T04:10:42.881Z] 0c92f367c5e7: Verifying Checksum [2022-03-18T04:10:42.881Z] 0c92f367c5e7: Download complete [2022-03-18T04:10:42.881Z] f7c0051592d6: Download complete [2022-03-18T04:10:42.881Z] a227ed2f7395: Verifying Checksum [2022-03-18T04:10:42.881Z] a227ed2f7395: Download complete [2022-03-18T04:10:42.881Z] 9b3977197b4f: Verifying Checksum [2022-03-18T04:10:42.881Z] 9b3977197b4f: Download complete [2022-03-18T04:10:43.489Z] 9b3977197b4f: Pull complete [2022-03-18T04:10:44.103Z] 1a89e8eeedd5: Pull complete [2022-03-18T04:10:44.385Z] 94645a83ff95: Pull complete [2022-03-18T04:10:44.993Z] 7b1c46037f91: Verifying Checksum [2022-03-18T04:10:44.993Z] 7b1c46037f91: Download complete [2022-03-18T04:10:45.620Z] 3f3a8bcf1eab: Verifying Checksum [2022-03-18T04:10:45.620Z] 3f3a8bcf1eab: Download complete [2022-03-18T04:11:00.792Z] 3f3a8bcf1eab: Pull complete [2022-03-18T04:11:00.792Z] 0c92f367c5e7: Pull complete [2022-03-18T04:11:00.792Z] f7c0051592d6: Pull complete [2022-03-18T04:11:00.792Z] a227ed2f7395: Pull complete [2022-03-18T04:11:06.234Z] 7b1c46037f91: Pull complete [2022-03-18T04:11:06.234Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-03-18T04:11:06.234Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-18T04:11:06.234Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] sh [2022-03-18T04:11:06.610Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-18T04:11:07.011Z] + docker inspect -f . ci-base-image-arm64 [2022-03-18T04:11:07.011Z] . [Pipeline] withDockerContainer [2022-03-18T04:11:07.314Z] prd-ubuntu20.04-docker-arm64-4c-16g-7916 does not seem to be running inside a container [2022-03-18T04:11:07.411Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-03-18T04:11:09.929Z] $ docker top 3cb14e3f7c1103e7e71b87c54eb01b22139731ca6ecb7c4dce9243707ceb98e9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-18T04:11:10.918Z] + go version [2022-03-18T04:11:10.918Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-03-18T04:11:10.962Z] $ docker stop --time=1 3cb14e3f7c1103e7e71b87c54eb01b22139731ca6ecb7c4dce9243707ceb98e9 [2022-03-18T04:11:12.856Z] $ docker rm -f 3cb14e3f7c1103e7e71b87c54eb01b22139731ca6ecb7c4dce9243707ceb98e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-18T04:11:13.801Z] + docker inspect -f . ci-base-image-arm64 [2022-03-18T04:11:13.801Z] . [Pipeline] withDockerContainer [2022-03-18T04:11:14.110Z] prd-ubuntu20.04-docker-arm64-4c-16g-7916 does not seem to be running inside a container [2022-03-18T04:11:14.217Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-03-18T04:11:15.726Z] $ docker top 4039b83c8287f6ec5ac6f2f8170a8b753934dfb960590a47bad7763e5313503b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-18T04:11:16.762Z] + make test [2022-03-18T04:11:16.762Z] make -C ./app-service-template build [2022-03-18T04:11:16.762Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2022-03-18T04:11:16.762Z] go mod tidy [2022-03-18T04:11:16.762Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0-dev.11 [2022-03-18T04:11:16.762Z] go: downloading github.com/stretchr/testify v1.7.0 [2022-03-18T04:11:17.044Z] go: downloading github.com/google/uuid v1.3.0 [2022-03-18T04:11:17.045Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.1-dev.28 [2022-03-18T04:11:17.334Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0-dev.8 [2022-03-18T04:11:17.334Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 [2022-03-18T04:11:17.334Z] go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2022-03-18T04:11:17.334Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2022-03-18T04:11:17.334Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-03-18T04:11:17.334Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-03-18T04:11:17.334Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-03-18T04:11:17.613Z] go: downloading github.com/stretchr/objx v0.1.1 [2022-03-18T04:11:17.613Z] go: downloading github.com/go-playground/validator/v10 v10.10.0 [2022-03-18T04:11:17.613Z] go: downloading github.com/go-kit/log v0.2.0 [2022-03-18T04:11:17.613Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.0 [2022-03-18T04:11:17.613Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-03-18T04:11:17.613Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2022-03-18T04:11:17.895Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 [2022-03-18T04:11:17.895Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2022-03-18T04:11:17.895Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-03-18T04:11:17.895Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-03-18T04:11:17.895Z] go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 [2022-03-18T04:11:17.895Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2022-03-18T04:11:17.895Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2022-03-18T04:11:18.174Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-03-18T04:11:18.175Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2022-03-18T04:11:18.175Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-03-18T04:11:18.175Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-03-18T04:11:18.175Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-03-18T04:11:18.451Z] go: downloading golang.org/x/crypto v0.0.0-20210915214749-c084706c2272 [2022-03-18T04:11:18.730Z] go: downloading golang.org/x/text v0.3.7 [2022-03-18T04:11:19.338Z] go: downloading github.com/go-playground/locales v0.14.0 [2022-03-18T04:11:19.617Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2022-03-18T04:11:19.617Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2022-03-18T04:11:22.265Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-03-18T04:11:22.543Z] go: downloading github.com/x448/float16 v0.8.4 [2022-03-18T04:11:22.543Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2022-03-18T04:11:22.543Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-03-18T04:11:22.543Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-03-18T04:11:22.543Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-03-18T04:11:22.543Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-03-18T04:11:22.543Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-03-18T04:11:22.543Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2022-03-18T04:11:22.543Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2022-03-18T04:11:22.543Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-03-18T04:11:22.544Z] go: downloading golang.org/x/sys v0.0.0-20210917161153-d61c044b1678 [2022-03-18T04:11:22.544Z] go: downloading github.com/kr/pretty v0.3.0 [2022-03-18T04:11:22.544Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2022-03-18T04:11:22.820Z] go: downloading github.com/fatih/color v1.9.0 [2022-03-18T04:11:22.820Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-03-18T04:11:22.820Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-03-18T04:11:22.820Z] go: downloading github.com/pkg/errors v0.9.1 [2022-03-18T04:11:22.820Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-03-18T04:11:22.820Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-03-18T04:11:22.820Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-03-18T04:11:22.820Z] go: downloading github.com/kr/text v0.2.0 [2022-03-18T04:11:22.820Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2022-03-18T04:11:23.101Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2022-03-18T04:11:23.101Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-03-18T04:11:23.101Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2022-03-18T04:11:23.101Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2022-03-18T04:11:23.101Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2022-03-18T04:11:23.101Z] go: downloading github.com/onsi/gomega v1.7.0 [2022-03-18T04:11:23.380Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-03-18T04:11:23.380Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2022-03-18T04:11:23.665Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2022-03-18T04:11:23.665Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2022-03-18T04:11:23.665Z] go: downloading github.com/miekg/dns v1.1.26 [2022-03-18T04:11:23.665Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2022-03-18T04:11:23.665Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-03-18T04:11:23.665Z] go: downloading gopkg.in/yaml.v2 v2.3.0 [2022-03-18T04:11:23.665Z] go: downloading github.com/hpcloud/tail v1.0.0 [2022-03-18T04:11:23.943Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2022-03-18T04:11:23.943Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2022-03-18T04:11:24.218Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0-dev.17 [2022-03-18T04:11:24.218Z] go: downloading github.com/stretchr/testify v1.7.1 [2022-03-18T04:11:24.816Z] go: downloading github.com/go-playground/validator/v10 v10.10.1 [2022-03-18T04:11:24.816Z] go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 [2022-03-18T04:11:25.097Z] go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 [2022-03-18T04:11:26.089Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.1.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2022-03-18T04:12:13.158Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2022-03-18T04:12:13.158Z] make -C ./app-service-template test [2022-03-18T04:12:13.158Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2022-03-18T04:12:13.158Z] CGO_ENABLED=1 go test -race -coverprofile=coverage.out ./... [2022-03-18T04:14:05.080Z] ok new-app-service 0.249s coverage: 48.1% of statements [2022-03-18T04:14:05.080Z] ? new-app-service/config [no test files] [2022-03-18T04:14:05.674Z] ok new-app-service/functions 0.194s [2022-03-18T04:14:05.950Z] CGO_ENABLED=1 go vet ./... [2022-03-18T04:14:32.846Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-18T04:14:32.846Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-18T04:14:32.846Z] ./bin/test-attribution-txt.sh [2022-03-18T04:14:35.463Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2022-03-18T04:14:35.463Z] CGO_ENABLED=1 GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-03-18T04:14:35.463Z] go: downloading github.com/gomodule/redigo v1.8.8 [2022-03-18T04:14:37.445Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2022-03-18T04:14:55.803Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.480s coverage: 63.8% of statements [2022-03-18T04:14:55.803Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.275s coverage: 93.7% of statements [2022-03-18T04:14:55.803Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2022-03-18T04:14:55.803Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.409s coverage: 76.5% of statements [2022-03-18T04:14:55.803Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2022-03-18T04:14:55.803Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.240s [2022-03-18T04:14:55.803Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.143s coverage: 100.0% of statements [2022-03-18T04:14:55.804Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.494s coverage: 78.3% of statements [2022-03-18T04:14:55.804Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2022-03-18T04:14:55.804Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2022-03-18T04:14:55.804Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.242s coverage: 97.3% of statements [2022-03-18T04:14:55.804Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2022-03-18T04:14:55.804Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] [2022-03-18T04:14:55.804Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.317s coverage: 91.8% of statements [2022-03-18T04:14:55.804Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] [2022-03-18T04:14:55.804Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 1.115s coverage: 80.4% of statements [2022-03-18T04:14:55.804Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] [2022-03-18T04:14:55.804Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] [2022-03-18T04:14:55.804Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.300s coverage: 29.3% of statements [2022-03-18T04:14:55.804Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] [2022-03-18T04:14:55.804Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.228s coverage: 14.3% of statements [2022-03-18T04:14:58.450Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.195s coverage: 27.3% of statements [2022-03-18T04:14:58.450Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2022-03-18T04:14:58.450Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-03-18T04:14:58.450Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.307s coverage: 51.4% of statements [2022-03-18T04:15:30.764Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.578s coverage: 78.2% of statements [2022-03-18T04:15:30.764Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.202s coverage: 94.4% of statements [2022-03-18T04:15:30.764Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-03-18T04:15:35.637Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-18T04:15:35.637Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-18T04:15:36.230Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [Pipeline] echo [2022-03-18T04:15:36.266Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-18T04:15:36.293Z] $ docker stop --time=1 4039b83c8287f6ec5ac6f2f8170a8b753934dfb960590a47bad7763e5313503b [2022-03-18T04:15:38.073Z] $ docker rm -f 4039b83c8287f6ec5ac6f2f8170a8b753934dfb960590a47bad7763e5313503b [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-18T04:15:41.004Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-18T04:15:41.042Z] Warning: overwriting stash ‘coverage-report’ [2022-03-18T04:15:41.587Z] 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-03-18T04:15:42.371Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-18T04:15:42.371Z] [2022-03-18T04:15:42.371Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-18T04:15:42.773Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-18T04:15:43.045Z] arm64: Pulling from edgex-lftools-log-publisher [2022-03-18T04:15:43.045Z] 8998bd30e6a1: Pulling fs layer [2022-03-18T04:15:43.045Z] 04944245beec: Pulling fs layer [2022-03-18T04:15:43.045Z] 699f458cf7ca: Pulling fs layer [2022-03-18T04:15:43.045Z] 765212b225bb: Pulling fs layer [2022-03-18T04:15:43.045Z] f23df028b6ca: Pulling fs layer [2022-03-18T04:15:43.045Z] d65c8cfc05b1: Pulling fs layer [2022-03-18T04:15:43.045Z] 2437ff75d9bd: Pulling fs layer [2022-03-18T04:15:43.045Z] 765212b225bb: Waiting [2022-03-18T04:15:43.045Z] d65c8cfc05b1: Waiting [2022-03-18T04:15:43.045Z] 2437ff75d9bd: Waiting [2022-03-18T04:15:43.045Z] f23df028b6ca: Waiting [2022-03-18T04:15:43.045Z] 04944245beec: Verifying Checksum [2022-03-18T04:15:43.045Z] 04944245beec: Download complete [2022-03-18T04:15:43.045Z] 765212b225bb: Verifying Checksum [2022-03-18T04:15:43.045Z] 765212b225bb: Download complete [2022-03-18T04:15:43.045Z] f23df028b6ca: Download complete [2022-03-18T04:15:43.045Z] d65c8cfc05b1: Download complete [2022-03-18T04:15:43.323Z] 699f458cf7ca: Verifying Checksum [2022-03-18T04:15:43.323Z] 699f458cf7ca: Download complete [2022-03-18T04:15:43.600Z] 8998bd30e6a1: Verifying Checksum [2022-03-18T04:15:43.600Z] 8998bd30e6a1: Download complete [2022-03-18T04:15:45.580Z] 2437ff75d9bd: Verifying Checksum [2022-03-18T04:15:45.580Z] 2437ff75d9bd: Download complete [2022-03-18T04:15:47.567Z] 8998bd30e6a1: Pull complete [2022-03-18T04:15:48.167Z] 04944245beec: Pull complete [2022-03-18T04:15:49.603Z] 699f458cf7ca: Pull complete [2022-03-18T04:15:49.877Z] 765212b225bb: Pull complete [2022-03-18T04:15:50.858Z] f23df028b6ca: Pull complete [2022-03-18T04:15:51.132Z] d65c8cfc05b1: Pull complete [2022-03-18T04:16:06.233Z] 2437ff75d9bd: Pull complete [2022-03-18T04:16:06.233Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-03-18T04:16:06.233Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-18T04:16:06.233Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-03-18T04:16:06.491Z] prd-ubuntu20.04-docker-arm64-4c-16g-7916 does not seem to be running inside a container [2022-03-18T04:16:06.579Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-03-18T04:16:09.008Z] $ docker top 4c139336bbbcd5d37655d9c9a90e950b2cd126526b8aae89f3e969688b529157 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-18T04:16:09.981Z] ---> job-cost.sh [2022-03-18T04:16:09.981Z] lf-activate-venv: SKIPPING [2022-03-18T04:16:09.981Z] INFO: No Stack... [2022-03-18T04:16:10.254Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-03-18T04:16:11.232Z] INFO: Archiving Costs [Pipeline] sh [2022-03-18T04:16:11.908Z] + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv [2022-03-18T04:16:11.908Z] + cut -d, -f6 [Pipeline] lock [2022-03-18T04:16:11.992Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1062-1-stack-cost] [2022-03-18T04:16:11.996Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1062-1-stack-cost] did not exist. Created. [2022-03-18T04:16:11.996Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-1062-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-18T04:16:12.746Z] /w/workspace/app-functions-sdk-go/1@tmp/durable-f049edd2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-03-18T04:16:13.434Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-03-18T04:16:13.470Z] Warning: overwriting stash ‘stack-cost’ [2022-03-18T04:16:13.534Z] Stashed 1 file(s) [Pipeline] } [2022-03-18T04:16:13.554Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-1062-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-18T04:16:13.636Z] $ docker stop --time=1 4c139336bbbcd5d37655d9c9a90e950b2cd126526b8aae89f3e969688b529157 [2022-03-18T04:16:15.117Z] $ docker rm -f 4c139336bbbcd5d37655d9c9a90e950b2cd126526b8aae89f3e969688b529157 [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-03-18T04:16:16.118Z] provisioning config files... [2022-03-18T04:16:16.132Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/dry_app-functions-sdk-go_PR-1062@tmp/config5984520902643436666tmp [Pipeline] { [Pipeline] sh [2022-03-18T04:16:16.468Z] + set +x [2022-03-18T04:16:16.468Z] + curl -s https://codecov.io/bash [2022-03-18T04:16:16.468Z] + bash -s -- [2022-03-18T04:16:16.468Z] [2022-03-18T04:16:16.468Z] _____ _ [2022-03-18T04:16:16.468Z] / ____| | | [2022-03-18T04:16:16.468Z] | | ___ __| | ___ ___ _____ __ [2022-03-18T04:16:16.468Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-03-18T04:16:16.468Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-03-18T04:16:16.468Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-03-18T04:16:16.468Z] Bash-1.0.6 [2022-03-18T04:16:16.468Z] [2022-03-18T04:16:16.468Z] [2022-03-18T04:16:16.468Z] ==> git version 2.25.1 found [2022-03-18T04:16:16.468Z] ==> 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-03-18T04:16:16.468Z] Release-Date: 2020-01-08 [2022-03-18T04:16:16.468Z] 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-03-18T04:16:16.468Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-03-18T04:16:16.468Z] ==> Jenkins CI detected. [2022-03-18T04:16:16.468Z] current dir:  /w/workspace/dry_app-functions-sdk-go_PR-1062 [2022-03-18T04:16:16.468Z] project root: . [2022-03-18T04:16:16.468Z] --> token set from env [2022-03-18T04:16:16.468Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-03-18T04:16:16.468Z] ==> Running gcov in . (disable via -X gcov) [2022-03-18T04:16:16.468Z] ==> Python coveragepy not found [2022-03-18T04:16:16.468Z] ==> Searching for coverage reports in: [2022-03-18T04:16:16.468Z] + . [2022-03-18T04:16:16.468Z] -> Found 2 reports [2022-03-18T04:16:16.468Z] ==> Detecting git/mercurial file structure [2022-03-18T04:16:16.468Z] ==> Reading reports [2022-03-18T04:16:16.468Z] + ./app-service-template/coverage.out bytes=1222 [2022-03-18T04:16:16.468Z] + ./coverage.out bytes=112101 [2022-03-18T04:16:16.468Z] ==> Appending adjustments [2022-03-18T04:16:16.468Z] https://docs.codecov.io/docs/fixing-reports [2022-03-18T04:16:17.040Z] + Found adjustments [2022-03-18T04:16:17.040Z] ==> Gzipping contents [2022-03-18T04:16:17.040Z] 20K /tmp/codecov.QrCWfZ.gz [2022-03-18T04:16:17.040Z] ==> Uploading reports [2022-03-18T04:16:17.040Z] url: https://codecov.io [2022-03-18T04:16:17.040Z] query: branch=PR-1062&commit=f4e0b34ef39211125bdbaa4d1fa8a59d6ac95801&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-1062%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=1062&job=&cmd_args= [2022-03-18T04:16:17.040Z] -> Pinging Codecov [2022-03-18T04:16:17.040Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=17ebf437-e483-4174-b11b-49c3772ebb45&branch=PR-1062&commit=f4e0b34ef39211125bdbaa4d1fa8a59d6ac95801&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-1062%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=1062&job=&cmd_args= [2022-03-18T04:16:17.301Z] -> Uploading to [2022-03-18T04:16:17.301Z] https://storage.googleapis.com/codecov/v4/raw/2022-03-18/3D8B5DFFC46A037C893635FACE044666/f4e0b34ef39211125bdbaa4d1fa8a59d6ac95801/70a1fa13-ce38-48c0-98bc-7547edfddf59.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220318%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220318T041617Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e7c4333ed232258f64f49dd2b82d43f70f63351912991dc6b63c281b49656aba [2022-03-18T04:16:17.301Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-18T04:16:17.301Z] Dload Upload Total Spent Left Speed [2022-03-18T04:16:17.562Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19919 0 0 100 19919 0 88924 --:--:-- --:--:-- --:--:-- 89322 [2022-03-18T04:16:17.562Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/f4e0b34ef39211125bdbaa4d1fa8a59d6ac95801 [Pipeline] } [2022-03-18T04:16:17.585Z] 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-03-18T04:16:19.276Z] + [ -d /w/workspace/dry_app-functions-sdk-go_PR-1062/archives ] [2022-03-18T04:16:19.276Z] + ls -al /w/workspace/dry_app-functions-sdk-go_PR-1062/archives [2022-03-18T04:16:19.276Z] total 16 [2022-03-18T04:16:19.276Z] drwxr-xr-x 3 root root 4096 Mar 18 04:08 . [2022-03-18T04:16:19.276Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 18 04:08 .. [2022-03-18T04:16:19.276Z] drwxr-xr-x 2 root root 4096 Mar 18 04:08 cost [2022-03-18T04:16:19.276Z] -rw-r--r-- 1 root root 92 Mar 18 04:08 cost.csv [2022-03-18T04:16:19.276Z] + sudo chown -R jenkins:jenkins /w/workspace/dry_app-functions-sdk-go_PR-1062/archives [2022-03-18T04:16:19.276Z] + ls -al /w/workspace/dry_app-functions-sdk-go_PR-1062/archives [2022-03-18T04:16:19.276Z] total 16 [2022-03-18T04:16:19.276Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 18 04:08 . [2022-03-18T04:16:19.276Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 18 04:08 .. [2022-03-18T04:16:19.276Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 18 04:08 cost [2022-03-18T04:16:19.276Z] -rw-r--r-- 1 jenkins jenkins 92 Mar 18 04:08 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-03-18T04:16:19.613Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-18T04:16:20.519Z] ---> package-listing.sh [2022-03-18T04:16:20.519Z] ++ facter osfamily [2022-03-18T04:16:20.519Z] ++ tr '[:upper:]' '[:lower:]' [2022-03-18T04:16:20.779Z] + OS_FAMILY=debian [2022-03-18T04:16:20.779Z] + workspace=/w/workspace/dry_app-functions-sdk-go_PR-1062 [2022-03-18T04:16:20.779Z] + START_PACKAGES=/tmp/packages_start.txt [2022-03-18T04:16:20.779Z] + END_PACKAGES=/tmp/packages_end.txt [2022-03-18T04:16:20.779Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-03-18T04:16:20.779Z] + PACKAGES=/tmp/packages_start.txt [2022-03-18T04:16:20.779Z] + '[' /w/workspace/dry_app-functions-sdk-go_PR-1062 ']' [2022-03-18T04:16:20.779Z] + PACKAGES=/tmp/packages_end.txt [2022-03-18T04:16:20.779Z] + case "${OS_FAMILY}" in [2022-03-18T04:16:20.779Z] + dpkg -l [2022-03-18T04:16:20.779Z] + grep '^ii' [2022-03-18T04:16:20.779Z] + '[' -f /tmp/packages_start.txt ']' [2022-03-18T04:16:20.779Z] + '[' -f /tmp/packages_end.txt ']' [2022-03-18T04:16:20.779Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-03-18T04:16:20.779Z] + '[' /w/workspace/dry_app-functions-sdk-go_PR-1062 ']' [2022-03-18T04:16:20.779Z] + mkdir -p /w/workspace/dry_app-functions-sdk-go_PR-1062/archives/ [2022-03-18T04:16:20.779Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_app-functions-sdk-go_PR-1062/archives/ [Pipeline] echo [2022-03-18T04:16:20.812Z] 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-1062/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-03-18T04:16:21.111Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-03-18T04:16:21.695Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-18T04:16:21.695Z] . [Pipeline] withDockerContainer [2022-03-18T04:16:21.783Z] prd-ubuntu20.04-docker-8c-8g-7912 does not seem to be running inside a container [2022-03-18T04:16:21.817Z] $ 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-1062/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-1062 -v /w/workspace/dry_app-functions-sdk-go_PR-1062:/w/workspace/dry_app-functions-sdk-go_PR-1062:rw,z -v /w/workspace/dry_app-functions-sdk-go_PR-1062@tmp:/w/workspace/dry_app-functions-sdk-go_PR-1062@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-18T04:16:22.060Z] $ docker top 2e77f42ea9159042e68dee15d679a4f77ab22895782857cd22744c6eb2b877ed -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-18T04:16:22.467Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-03-18T04:16:22.791Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-03-18T04:16:23.205Z] + ls /var/log/sa-host [2022-03-18T04:16:23.206Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-18T04:16:23.351Z] provisioning config files... [2022-03-18T04:16:23.361Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_app-functions-sdk-go_PR-1062@tmp/config6456143100570778721tmp [Pipeline] { [Pipeline] echo [2022-03-18T04:16:23.434Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-18T04:16:23.755Z] ---> create-netrc.sh [Pipeline] } [2022-03-18T04:16:23.784Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-03-18T04:16:24.192Z] ---> python-tools-install.sh [Pipeline] echo [2022-03-18T04:16:24.225Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-18T04:16:24.538Z] ---> sudo-logs.sh [2022-03-18T04:16:24.538Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-03-18T04:16:24.647Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-18T04:16:24.962Z] ---> job-cost.sh [2022-03-18T04:16:24.962Z] lf-activate-venv: SKIPPING [2022-03-18T04:16:24.962Z] DEBUG: total: 0.2199999988079071 [2022-03-18T04:16:24.962Z] INFO: Retrieving Stack Cost... [2022-03-18T04:16:25.222Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-18T04:16:25.794Z] INFO: Archiving Costs [Pipeline] echo [2022-03-18T04:16:25.829Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-18T04:16:26.147Z] ---> logs-deploy.sh [2022-03-18T04:16:26.147Z] lf-activate-venv: SKIPPING [2022-03-18T04:16:26.147Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-1062/1 [2022-03-18T04:16:26.147Z] INFO: archiving workspace using pattern(s): [2022-03-18T04:16:27.090Z] Archives upload complete. [2022-03-18T04:16:27.090Z] INFO: archiving logs to Nexus