Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 521ab93fa6410c1be0cb80b1cb635940af6f602b 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-ssh12829914312049622476.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh14157336782259849801.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8647059349622816032.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15096572524309061258.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh17334769111839795528.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-functions-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-47779 in /w/workspace/oundry_app-functions-sdk-go_main [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/oundry_app-functions-sdk-go_main # 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 Avoid second fetch Checking out Revision 521ab93fa6410c1be0cb80b1cb635940af6f602b (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f 521ab93fa6410c1be0cb80b1cb635940af6f602b # timeout=10 Commit message: "fix: Make deep copy of MessageBus Optional map to avoid external adds (#1109)" > git rev-list --no-walk 7bee7a9f9932f46647b23ba9087777e1c9b631ac # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-10T15:09:20.324Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-10T15:09:20.383Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-10T15:09:20.404Z] ========================================================= [2022-05-10T15:09:20.404Z] EdgeX Global Pipelines Version Info [2022-05-10T15:09:20.404Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-10T15:09:21.185Z] ------------------- [2022-05-10T15:09:21.185Z] stable info: [2022-05-10T15:09:21.185Z] ------------------- [2022-05-10T15:09:21.185Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-10T15:09:21.185Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-10T15:09:21.185Z] Message: update stable to v1.0.227 [2022-05-10T15:09:21.759Z] ------------------- [2022-05-10T15:09:21.759Z] experimental info: [2022-05-10T15:09:21.759Z] ------------------- [2022-05-10T15:09:21.759Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-10T15:09:21.759Z] Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c [2022-05-10T15:09:21.759Z] Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-10T15:09:21.924Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2022-05-10T15:09:21.937Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2022-05-10T15:09:21.954Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-10T15:09:21.970Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-10T15:09:21.982Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-10T15:09:21.996Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-10T15:09:22.008Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-10T15:09:22.020Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-10T15:09:22.032Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-10T15:09:22.045Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-10T15:09:22.057Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-10T15:09:22.071Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2022-05-10T15:09:22.084Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-10T15:09:22.102Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-10T15:09:22.120Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2022-05-10T15:09:22.133Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-05-10T15:09:22.145Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-10T15:09:22.156Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-10T15:09:22.168Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-10T15:09:22.178Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-10T15:09:22.186Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-05-10T15:09:22.195Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-05-10T15:09:22.203Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-10T15:09:22.212Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-10T15:09:22.220Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2022-05-10T15:09:22.229Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-10T15:09:22.245Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-05-10T15:09:22.258Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-05-10T15:09:22.269Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-05-10T15:09:22.284Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 521ab93fa6410c1be0cb80b1cb635940af6f602b [Pipeline] echo [2022-05-10T15:09:22.298Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 521ab93 [Pipeline] echo [2022-05-10T15:09:22.317Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-10T15:09:22.678Z] + git rev-list -1 --merges 521ab93fa6410c1be0cb80b1cb635940af6f602b~1..521ab93fa6410c1be0cb80b1cb635940af6f602b [Pipeline] echo [2022-05-10T15:09:22.714Z] -----------> git rev-list -1 --merges 521ab93fa6410c1be0cb80b1cb635940af6f602b~1..521ab93fa6410c1be0cb80b1cb635940af6f602b 521ab93fa6410c1be0cb80b1cb635940af6f602b [false] [Pipeline] sh [2022-05-10T15:09:23.023Z] + git log --format=format:%s -1 521ab93fa6410c1be0cb80b1cb635940af6f602b [Pipeline] echo [2022-05-10T15:09:23.052Z] ========================================================= [2022-05-10T15:09:23.052Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-10T15:09:23.052Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T15:09:23.396Z] + git log --format=format:%s -1 521ab93fa6410c1be0cb80b1cb635940af6f602b [Pipeline] echo [2022-05-10T15:09:23.412Z] [semverPrep] GIT_COMMIT: 521ab93fa6410c1be0cb80b1cb635940af6f602b, Commit Message: fix: Make deep copy of MessageBus Optional map to avoid external adds (#1109) [Pipeline] echo [2022-05-10T15:09:23.423Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-10T15:09:23.980Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T15:09:23.980Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-10T15:09:23.980Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-10T15:09:23.980Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-10T15:09:23.980Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-10T15:09:23.980Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-10T15:09:23.980Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T15:09:24.324Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T15:09:24.585Z] [2022-05-10T15:09:24.585Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T15:09:24.892Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T15:09:24.893Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-10T15:09:24.893Z] 1fe172e4850f: Pulling fs layer [2022-05-10T15:09:24.893Z] caf521ccaac6: Pulling fs layer [2022-05-10T15:09:24.893Z] 3ead6fa29328: Pulling fs layer [2022-05-10T15:09:24.893Z] 5c2a1cbceb83: Pulling fs layer [2022-05-10T15:09:24.893Z] a8d5f1318db7: Pulling fs layer [2022-05-10T15:09:24.893Z] c427282e49a2: Pulling fs layer [2022-05-10T15:09:24.893Z] 1827001aaf11: Pulling fs layer [2022-05-10T15:09:24.893Z] 0714d37db230: Pulling fs layer [2022-05-10T15:09:24.893Z] ac28cf19c067: Pulling fs layer [2022-05-10T15:09:24.893Z] ca983d60f3e2: Pulling fs layer [2022-05-10T15:09:24.893Z] 9f894cec8388: Pulling fs layer [2022-05-10T15:09:24.893Z] 1827001aaf11: Waiting [2022-05-10T15:09:24.893Z] ca983d60f3e2: Waiting [2022-05-10T15:09:24.893Z] 9f894cec8388: Waiting [2022-05-10T15:09:24.893Z] 5c2a1cbceb83: Waiting [2022-05-10T15:09:24.893Z] a8d5f1318db7: Waiting [2022-05-10T15:09:24.893Z] c427282e49a2: Waiting [2022-05-10T15:09:24.893Z] ac28cf19c067: Waiting [2022-05-10T15:09:24.893Z] 0714d37db230: Waiting [2022-05-10T15:09:24.893Z] caf521ccaac6: Download complete [2022-05-10T15:09:24.893Z] 5c2a1cbceb83: Verifying Checksum [2022-05-10T15:09:24.893Z] 5c2a1cbceb83: Download complete [2022-05-10T15:09:25.153Z] a8d5f1318db7: Verifying Checksum [2022-05-10T15:09:25.153Z] a8d5f1318db7: Download complete [2022-05-10T15:09:25.153Z] 3ead6fa29328: Verifying Checksum [2022-05-10T15:09:25.153Z] 3ead6fa29328: Download complete [2022-05-10T15:09:25.153Z] c427282e49a2: Verifying Checksum [2022-05-10T15:09:25.153Z] c427282e49a2: Download complete [2022-05-10T15:09:25.153Z] 0714d37db230: Verifying Checksum [2022-05-10T15:09:25.153Z] 0714d37db230: Download complete [2022-05-10T15:09:25.153Z] ac28cf19c067: Verifying Checksum [2022-05-10T15:09:25.153Z] ac28cf19c067: Download complete [2022-05-10T15:09:25.153Z] ca983d60f3e2: Download complete [2022-05-10T15:09:25.153Z] 9f894cec8388: Download complete [2022-05-10T15:09:25.153Z] 1fe172e4850f: Verifying Checksum [2022-05-10T15:09:25.153Z] 1fe172e4850f: Download complete [2022-05-10T15:09:25.417Z] 1827001aaf11: Verifying Checksum [2022-05-10T15:09:25.417Z] 1827001aaf11: Download complete [2022-05-10T15:09:26.801Z] 1fe172e4850f: Pull complete [2022-05-10T15:09:26.801Z] caf521ccaac6: Pull complete [2022-05-10T15:09:27.373Z] 3ead6fa29328: Pull complete [2022-05-10T15:09:27.373Z] 5c2a1cbceb83: Pull complete [2022-05-10T15:09:27.634Z] a8d5f1318db7: Pull complete [2022-05-10T15:09:27.897Z] c427282e49a2: Pull complete [2022-05-10T15:09:29.813Z] 1827001aaf11: Pull complete [2022-05-10T15:09:29.813Z] 0714d37db230: Pull complete [2022-05-10T15:09:29.813Z] ac28cf19c067: Pull complete [2022-05-10T15:09:30.076Z] ca983d60f3e2: Pull complete [2022-05-10T15:09:30.076Z] 9f894cec8388: Pull complete [2022-05-10T15:09:30.076Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-10T15:09:30.076Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T15:09:30.076Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-10T15:09:30.153Z] prd-ubuntu20.04-docker-8c-8g-47779 does not seem to be running inside a container [2022-05-10T15:09:30.203Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-10T15:09:31.640Z] $ docker top e4c469c94adf23786c7dca91ae96d58d27f0334523922f8b24cc6a6c8b1155a4 -eo pid,comm [2022-05-10T15:09:31.719Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-05-10T15:09:31.719Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-10T15:09:31.762Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T15:09:31.762Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T15:09:31.907Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T15:09:31.917Z] $ docker exec e4c469c94adf23786c7dca91ae96d58d27f0334523922f8b24cc6a6c8b1155a4 ssh-agent [2022-05-10T15:09:32.047Z] SSH_AUTH_SOCK=/tmp/ssh-LsT2NWyWkQfx/agent.32 [2022-05-10T15:09:32.047Z] SSH_AGENT_PID=38 [2022-05-10T15:09:32.057Z] Running ssh-add (command line suppressed) [2022-05-10T15:09:32.188Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_548175708319909944.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_548175708319909944.key) [2022-05-10T15:09:32.201Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T15:09:32.497Z] + git tag --points-at HEAD [Pipeline] } [2022-05-10T15:09:32.518Z] $ docker exec --env ******** --env ******** e4c469c94adf23786c7dca91ae96d58d27f0334523922f8b24cc6a6c8b1155a4 ssh-agent -k [2022-05-10T15:09:32.638Z] unset SSH_AUTH_SOCK; [2022-05-10T15:09:32.638Z] unset SSH_AGENT_PID; [2022-05-10T15:09:32.639Z] echo Agent pid 38 killed; [2022-05-10T15:09:32.643Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-10T15:09:32.669Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T15:09:32.669Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T15:09:32.810Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T15:09:32.820Z] $ docker exec e4c469c94adf23786c7dca91ae96d58d27f0334523922f8b24cc6a6c8b1155a4 ssh-agent [2022-05-10T15:09:32.943Z] SSH_AUTH_SOCK=/tmp/ssh-VyaIEucMXWMU/agent.71 [2022-05-10T15:09:32.943Z] SSH_AGENT_PID=77 [2022-05-10T15:09:32.949Z] Running ssh-add (command line suppressed) [2022-05-10T15:09:33.081Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_5786582585504309088.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_5786582585504309088.key) [2022-05-10T15:09:33.089Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T15:09:33.381Z] + git semver init [2022-05-10T15:09:33.642Z] 2022-05-10 15:09:33,610 [run_init] DEBUG init version:0.0.0 force:False [2022-05-10T15:09:33.642Z] 2022-05-10 15:09:33,610 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_app-functions-sdk-go_main/.semver [2022-05-10T15:09:33.642Z] 2022-05-10 15:09:33,611 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-functions-sdk-go.git /w/workspace/oundry_app-functions-sdk-go_main/.semver [2022-05-10T15:09:33.642Z] 2022-05-10 15:09:33,611 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-functions-sdk-go.git', '/w/workspace/oundry_app-functions-sdk-go_main/.semver'], cwd=/w/workspace/oundry_app-functions-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2022-05-10T15:09:35.026Z] 2022-05-10 15:09:34,986 [append_file] DEBUG append to file:/w/workspace/oundry_app-functions-sdk-go_main/.git/info/exclude [2022-05-10T15:09:35.026Z] 2022-05-10 15:09:34,987 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_app-functions-sdk-go_main/.semver/main with force:False [2022-05-10T15:09:35.026Z] 2022-05-10 15:09:34,987 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2022-05-10T15:09:35.026Z] 2022-05-10 15:09:34,988 [read_version] DEBUG read version from /w/workspace/oundry_app-functions-sdk-go_main/.semver/main [2022-05-10T15:09:35.026Z] 2.2.0-dev.56 [Pipeline] } [2022-05-10T15:09:35.046Z] $ docker exec --env ******** --env ******** e4c469c94adf23786c7dca91ae96d58d27f0334523922f8b24cc6a6c8b1155a4 ssh-agent -k [2022-05-10T15:09:35.165Z] unset SSH_AUTH_SOCK; [2022-05-10T15:09:35.165Z] unset SSH_AGENT_PID; [2022-05-10T15:09:35.165Z] echo Agent pid 77 killed; [2022-05-10T15:09:35.172Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T15:09:35.484Z] + git semver [Pipeline] } [2022-05-10T15:09:35.768Z] $ docker stop --time=1 e4c469c94adf23786c7dca91ae96d58d27f0334523922f8b24cc6a6c8b1155a4 [2022-05-10T15:09:37.091Z] $ docker rm -f e4c469c94adf23786c7dca91ae96d58d27f0334523922f8b24cc6a6c8b1155a4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T15:09:37.449Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-10T15:09:37.700Z] Stashed 1 file(s) [Pipeline] echo [2022-05-10T15:09:37.704Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.56 [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-05-10T15:09:37.853Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T15:09:37.866Z] ========================================================= [2022-05-10T15:09:37.866Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-10T15:09:37.866Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-05-10T15:09:38.172Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-10T15:09:38.172Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-10T15:09:38.172Z] 59bf1c3509f3: Pulling fs layer [2022-05-10T15:09:38.172Z] 666ba61612fd: Pulling fs layer [2022-05-10T15:09:38.172Z] 8ed8ca486205: Pulling fs layer [2022-05-10T15:09:38.172Z] 4fe6c5a15a65: Pulling fs layer [2022-05-10T15:09:38.172Z] 22a0e8bec74d: Pulling fs layer [2022-05-10T15:09:38.172Z] 4fe6c5a15a65: Waiting [2022-05-10T15:09:38.172Z] 22a0e8bec74d: Waiting [2022-05-10T15:09:38.172Z] ca2b28591e48: Pulling fs layer [2022-05-10T15:09:38.172Z] a51346096db8: Pulling fs layer [2022-05-10T15:09:38.172Z] daebc70d1ce1: Pulling fs layer [2022-05-10T15:09:38.172Z] 0e18a0eac166: Pulling fs layer [2022-05-10T15:09:38.172Z] ca2b28591e48: Waiting [2022-05-10T15:09:38.172Z] 0e18a0eac166: Waiting [2022-05-10T15:09:38.172Z] a51346096db8: Waiting [2022-05-10T15:09:38.172Z] daebc70d1ce1: Waiting [2022-05-10T15:09:38.172Z] 8ed8ca486205: Verifying Checksum [2022-05-10T15:09:38.172Z] 8ed8ca486205: Download complete [2022-05-10T15:09:38.172Z] 666ba61612fd: Download complete [2022-05-10T15:09:38.172Z] 22a0e8bec74d: Download complete [2022-05-10T15:09:38.172Z] ca2b28591e48: Download complete [2022-05-10T15:09:38.172Z] a51346096db8: Download complete [2022-05-10T15:09:38.172Z] 59bf1c3509f3: Verifying Checksum [2022-05-10T15:09:38.172Z] 59bf1c3509f3: Download complete [2022-05-10T15:09:38.437Z] daebc70d1ce1: Verifying Checksum [2022-05-10T15:09:38.437Z] daebc70d1ce1: Download complete [2022-05-10T15:09:38.437Z] 59bf1c3509f3: Pull complete [2022-05-10T15:09:38.437Z] 666ba61612fd: Pull complete [2022-05-10T15:09:38.698Z] 8ed8ca486205: Pull complete [2022-05-10T15:09:38.957Z] 0e18a0eac166: Verifying Checksum [2022-05-10T15:09:38.957Z] 0e18a0eac166: Download complete [2022-05-10T15:09:38.957Z] 4fe6c5a15a65: Verifying Checksum [2022-05-10T15:09:38.957Z] 4fe6c5a15a65: Download complete [2022-05-10T15:09:43.151Z] 4fe6c5a15a65: Pull complete [2022-05-10T15:09:43.151Z] 22a0e8bec74d: Pull complete [2022-05-10T15:09:43.151Z] ca2b28591e48: Pull complete [2022-05-10T15:09:43.151Z] a51346096db8: Pull complete [2022-05-10T15:09:43.151Z] daebc70d1ce1: Pull complete [2022-05-10T15:09:45.065Z] 0e18a0eac166: Pull complete [2022-05-10T15:09:45.065Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-10T15:09:45.065Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-10T15:09:45.065Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] sh [2022-05-10T15:09:45.357Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh [2022-05-10T15:09:45.659Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-10T15:09:45.659Z] . [Pipeline] withDockerContainer [2022-05-10T15:09:45.727Z] prd-ubuntu20.04-docker-8c-8g-47779 does not seem to be running inside a container [2022-05-10T15:09:45.770Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@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 ******** ci-base-image-x86_64 cat [2022-05-10T15:09:47.726Z] $ docker top 62cbb003807cc3dda9fa923cda50866edcc91d6674a07339f5f65547daacdbcc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T15:09:48.089Z] + go version [2022-05-10T15:09:48.089Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-10T15:09:48.109Z] $ docker stop --time=1 62cbb003807cc3dda9fa923cda50866edcc91d6674a07339f5f65547daacdbcc [2022-05-10T15:09:49.422Z] $ docker rm -f 62cbb003807cc3dda9fa923cda50866edcc91d6674a07339f5f65547daacdbcc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T15:09:49.810Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-10T15:09:49.811Z] . [Pipeline] withDockerContainer [2022-05-10T15:09:49.884Z] prd-ubuntu20.04-docker-8c-8g-47779 does not seem to be running inside a container [2022-05-10T15:09:49.930Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@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 ******** ci-base-image-x86_64 cat [2022-05-10T15:09:50.314Z] $ docker top ed14d11ca4361c5049fb6576458374d315e40c3cf12d94cfa820056f0acc7fe6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-10T15:09:50.683Z] + make test [2022-05-10T15:09:50.683Z] make -C ./app-service-template build [2022-05-10T15:09:50.683Z] make[1]: Entering directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' [2022-05-10T15:09:50.683Z] go mod tidy -compat=1.17 [2022-05-10T15:09:50.683Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a [2022-05-10T15:09:50.683Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 [2022-05-10T15:09:50.683Z] go: downloading github.com/google/uuid v1.3.0 [2022-05-10T15:09:50.683Z] go: downloading github.com/stretchr/testify v1.7.1 [2022-05-10T15:09:50.683Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.0 [2022-05-10T15:09:50.944Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0 [2022-05-10T15:09:50.944Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 [2022-05-10T15:09:50.944Z] go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2022-05-10T15:09:50.944Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2022-05-10T15:09:50.944Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-05-10T15:09:50.944Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-05-10T15:09:50.944Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-05-10T15:09:50.944Z] go: downloading github.com/stretchr/objx v0.1.1 [2022-05-10T15:09:50.944Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-05-10T15:09:50.944Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2022-05-10T15:09:50.944Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0 [2022-05-10T15:09:50.944Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 [2022-05-10T15:09:50.944Z] go: downloading github.com/go-kit/log v0.2.0 [2022-05-10T15:09:50.944Z] go: downloading github.com/go-playground/validator/v10 v10.10.1 [2022-05-10T15:09:51.204Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2022-05-10T15:09:51.204Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2022-05-10T15:09:51.204Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2022-05-10T15:09:51.204Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-05-10T15:09:51.204Z] go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 [2022-05-10T15:09:51.204Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-05-10T15:09:51.204Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2022-05-10T15:09:51.204Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-05-10T15:09:51.204Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-05-10T15:09:51.204Z] go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 [2022-05-10T15:09:51.204Z] go: downloading golang.org/x/text v0.3.7 [2022-05-10T15:09:51.204Z] go: downloading github.com/go-playground/locales v0.14.0 [2022-05-10T15:09:51.464Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-05-10T15:09:51.464Z] go: downloading github.com/x448/float16 v0.8.4 [2022-05-10T15:09:51.464Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2022-05-10T15:09:51.464Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 [2022-05-10T15:09:51.464Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-05-10T15:09:52.035Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2022-05-10T15:09:52.035Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2022-05-10T15:09:52.035Z] go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 [2022-05-10T15:09:52.035Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-05-10T15:09:52.035Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-05-10T15:09:52.035Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-05-10T15:09:52.035Z] go: downloading github.com/zeebo/errs v1.2.2 [2022-05-10T15:09:52.035Z] go: downloading google.golang.org/grpc v1.42.0 [2022-05-10T15:09:52.035Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-05-10T15:09:52.035Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-05-10T15:09:52.035Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-05-10T15:09:52.035Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-05-10T15:09:52.035Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-05-10T15:09:52.035Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-05-10T15:09:52.035Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2022-05-10T15:09:52.035Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2022-05-10T15:09:52.035Z] go: downloading github.com/kr/pretty v0.3.0 [2022-05-10T15:09:52.294Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2022-05-10T15:09:52.295Z] go: downloading github.com/onsi/gomega v1.7.0 [2022-05-10T15:09:52.295Z] go: downloading gopkg.in/square/go-jose.v2 v2.4.1 [2022-05-10T15:09:52.295Z] go: downloading google.golang.org/protobuf v1.27.1 [2022-05-10T15:09:52.295Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-05-10T15:09:52.295Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2022-05-10T15:09:52.295Z] go: downloading github.com/fatih/color v1.9.0 [2022-05-10T15:09:52.295Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-05-10T15:09:52.295Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-05-10T15:09:52.295Z] go: downloading github.com/pkg/errors v0.9.1 [2022-05-10T15:09:52.295Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-05-10T15:09:52.295Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2022-05-10T15:09:52.295Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2022-05-10T15:09:52.295Z] go: downloading github.com/kr/text v0.2.0 [2022-05-10T15:09:52.295Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2022-05-10T15:09:52.295Z] go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa [2022-05-10T15:09:52.295Z] go: downloading github.com/golang/protobuf v1.5.2 [2022-05-10T15:09:52.295Z] go: downloading github.com/google/go-cmp v0.5.6 [2022-05-10T15:09:52.556Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2022-05-10T15:09:52.556Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-05-10T15:09:52.556Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2022-05-10T15:09:52.556Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2022-05-10T15:09:52.556Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2022-05-10T15:09:52.556Z] go: downloading github.com/miekg/dns v1.1.26 [2022-05-10T15:09:52.556Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2022-05-10T15:09:52.556Z] go: downloading gopkg.in/yaml.v2 v2.2.8 [2022-05-10T15:09:52.556Z] go: downloading github.com/hpcloud/tail v1.0.0 [2022-05-10T15:09:52.556Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-05-10T15:09:52.556Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2022-05-10T15:09:52.556Z] go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 [2022-05-10T15:09:52.556Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2022-05-10T15:09:52.795Z] Still waiting to schedule task [2022-05-10T15:09:52.796Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-05-10T15:09:53.945Z] CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.2.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -buildmode=pie -o new-app-service [2022-05-10T15:10:12.126Z] make[1]: Leaving directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' [2022-05-10T15:10:12.126Z] make -C ./app-service-template test [2022-05-10T15:10:12.126Z] make[1]: Entering directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' [2022-05-10T15:10:12.126Z] CGO_ENABLED=1 go test -race -coverprofile=coverage.out ./... [2022-05-10T15:10:30.290Z] ok new-app-service 0.059s coverage: 48.1% of statements [2022-05-10T15:10:30.290Z] ? new-app-service/config [no test files] [2022-05-10T15:10:30.290Z] ok new-app-service/functions 0.051s [2022-05-10T15:10:30.290Z] CGO_ENABLED=1 go vet ./... [2022-05-10T15:10:38.418Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-10T15:10:38.418Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-10T15:10:38.418Z] ./bin/test-attribution-txt.sh [2022-05-10T15:10:38.418Z] make[1]: Leaving directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' [2022-05-10T15:10:38.418Z] CGO_ENABLED=1 GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-05-10T15:10:38.418Z] go: downloading github.com/gomodule/redigo v1.8.8 [2022-05-10T15:10:38.676Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2022-05-10T15:10:41.970Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.150s coverage: 63.7% of statements [2022-05-10T15:10:41.970Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.084s coverage: 93.8% of statements [2022-05-10T15:10:41.970Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2022-05-10T15:10:41.970Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.112s coverage: 76.5% of statements [2022-05-10T15:10:41.970Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2022-05-10T15:10:41.970Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.071s coverage: 88.7% of statements [2022-05-10T15:10:41.970Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.049s coverage: 100.0% of statements [2022-05-10T15:10:41.970Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.151s coverage: 78.5% of statements [2022-05-10T15:10:41.970Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2022-05-10T15:10:41.970Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2022-05-10T15:10:41.970Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.045s coverage: 97.3% of statements [2022-05-10T15:10:41.970Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2022-05-10T15:10:41.970Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] [2022-05-10T15:10:41.970Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.110s coverage: 91.8% of statements [2022-05-10T15:10:41.970Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] [2022-05-10T15:10:41.970Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 0.711s coverage: 81.4% of statements [2022-05-10T15:10:41.970Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] [2022-05-10T15:10:41.970Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] [2022-05-10T15:10:41.970Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.069s coverage: 28.7% of statements [2022-05-10T15:10:41.970Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] [2022-05-10T15:10:41.970Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.088s coverage: 14.0% of statements [2022-05-10T15:10:41.970Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.069s coverage: 27.3% of statements [2022-05-10T15:10:41.970Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2022-05-10T15:10:41.970Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-05-10T15:10:41.970Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.066s coverage: 51.4% of statements [2022-05-10T15:11:08.566Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.149s coverage: 78.6% of statements [2022-05-10T15:11:08.566Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.068s coverage: 94.4% of statements [2022-05-10T15:11:08.566Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-10T15:11:08.566Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-10T15:11:08.566Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2022-05-10T15:11:16.703Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-10T15:11:16.723Z] $ docker stop --time=1 ed14d11ca4361c5049fb6576458374d315e40c3cf12d94cfa820056f0acc7fe6 [2022-05-10T15:11:18.315Z] $ docker rm -f ed14d11ca4361c5049fb6576458374d315e40c3cf12d94cfa820056f0acc7fe6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T15:11:19.037Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-10T15:11:19.110Z] 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-05-10T15:11:19.540Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T15:11:19.540Z] [2022-05-10T15:11:19.540Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T15:11:19.841Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T15:11:19.841Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-10T15:11:19.841Z] 5eb5b503b376: Pulling fs layer [2022-05-10T15:11:19.841Z] 5c69ac0246d0: Pulling fs layer [2022-05-10T15:11:19.841Z] ec43610c2a17: Pulling fs layer [2022-05-10T15:11:19.841Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-10T15:11:19.841Z] 33b1e0a273af: Pulling fs layer [2022-05-10T15:11:19.841Z] 5d3b04190fa2: Pulling fs layer [2022-05-10T15:11:19.841Z] 2f39f015ded8: Pulling fs layer [2022-05-10T15:11:19.841Z] 3a2ae6a8a46f: Waiting [2022-05-10T15:11:19.841Z] 33b1e0a273af: Waiting [2022-05-10T15:11:19.841Z] 5d3b04190fa2: Waiting [2022-05-10T15:11:19.841Z] 2f39f015ded8: Waiting [2022-05-10T15:11:19.841Z] 5c69ac0246d0: Verifying Checksum [2022-05-10T15:11:19.841Z] 5c69ac0246d0: Download complete [2022-05-10T15:11:19.841Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-10T15:11:19.841Z] 3a2ae6a8a46f: Download complete [2022-05-10T15:11:19.841Z] 33b1e0a273af: Download complete [2022-05-10T15:11:20.100Z] ec43610c2a17: Verifying Checksum [2022-05-10T15:11:20.100Z] ec43610c2a17: Download complete [2022-05-10T15:11:20.100Z] 5d3b04190fa2: Download complete [2022-05-10T15:11:20.100Z] 5eb5b503b376: Verifying Checksum [2022-05-10T15:11:20.100Z] 5eb5b503b376: Download complete [2022-05-10T15:11:20.669Z] 2f39f015ded8: Download complete [2022-05-10T15:11:21.237Z] 5eb5b503b376: Pull complete [2022-05-10T15:11:21.497Z] 5c69ac0246d0: Pull complete [2022-05-10T15:11:22.068Z] ec43610c2a17: Pull complete [2022-05-10T15:11:22.068Z] 3a2ae6a8a46f: Pull complete [2022-05-10T15:11:22.328Z] 33b1e0a273af: Pull complete [2022-05-10T15:11:22.328Z] 5d3b04190fa2: Pull complete [2022-05-10T15:11:26.521Z] 2f39f015ded8: Pull complete [2022-05-10T15:11:26.521Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-10T15:11:26.521Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T15:11:26.521Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-10T15:11:26.587Z] prd-ubuntu20.04-docker-8c-8g-47779 does not seem to be running inside a container [2022-05-10T15:11:26.625Z] $ 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/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-10T15:11:28.853Z] $ docker top b3b0a1148bef54ed5f0c4904aec057b1a5df4e2b65e014c989ed84ff76a94dcf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T15:11:29.273Z] ---> job-cost.sh [2022-05-10T15:11:29.273Z] lf-activate-venv: SKIPPING [2022-05-10T15:11:29.273Z] INFO: No Stack... [2022-05-10T15:11:29.533Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-10T15:11:30.105Z] INFO: Archiving Costs [Pipeline] sh [2022-05-10T15:11:30.404Z] + + cat /w/workspace/oundry_app-functions-sdk-go_main/archives/cost.csv [2022-05-10T15:11:30.404Z] cut -d, -f6 [Pipeline] lock [2022-05-10T15:11:30.419Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-117-stack-cost] [2022-05-10T15:11:30.427Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-117-stack-cost] did not exist. Created. [2022-05-10T15:11:30.427Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-117-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-10T15:11:30.737Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-10T15:11:30.764Z] Stashed 1 file(s) [Pipeline] } [2022-05-10T15:11:30.769Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-117-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-10T15:11:30.790Z] $ docker stop --time=1 b3b0a1148bef54ed5f0c4904aec057b1a5df4e2b65e014c989ed84ff76a94dcf [2022-05-10T15:11:31.975Z] $ docker rm -f b3b0a1148bef54ed5f0c4904aec057b1a5df4e2b65e014c989ed84ff76a94dcf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-10T15:13:34.985Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-47780 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws [2022-05-10T15:13:34.996Z] Running in /w/workspace/app-functions-sdk-go/117 [Pipeline] { [Pipeline] checkout [2022-05-10T15:13:35.349Z] The recommended git tool is: git [2022-05-10T15:13:42.255Z] using credential edgex-jenkins-ssh [2022-05-10T15:13:42.278Z] Cloning the remote Git repository [2022-05-10T15:13:42.342Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2022-05-10T15:13:42.426Z] > git init /w/workspace/app-functions-sdk-go/117 # timeout=10 [2022-05-10T15:13:42.516Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2022-05-10T15:13:42.517Z] > git --version # timeout=10 [2022-05-10T15:13:42.544Z] > git --version # 'git version 2.25.1' [2022-05-10T15:13:42.546Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-10T15:13:42.673Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-10T15:13:46.179Z] Avoid second fetch [2022-05-10T15:13:46.180Z] Checking out Revision 521ab93fa6410c1be0cb80b1cb635940af6f602b (main) [2022-05-10T15:13:46.133Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2022-05-10T15:13:46.161Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-10T15:13:46.205Z] > git config core.sparsecheckout # timeout=10 [2022-05-10T15:13:46.220Z] > git checkout -f 521ab93fa6410c1be0cb80b1cb635940af6f602b # timeout=10 [2022-05-10T15:13:50.593Z] Commit message: "fix: Make deep copy of MessageBus Optional map to avoid external adds (#1109)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T15:13:51.590Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-10T15:13:51.590Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-10T15:13:51.590Z] Dload Upload Total Spent Left Speed [2022-05-10T15:13:51.590Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 75916 0 --:--:-- --:--:-- --:--:-- 76406 [Pipeline] sh [2022-05-10T15:13:52.138Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-10T15:13:52.489Z] + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new [2022-05-10T15:13:52.489Z] [2022-05-10T15:13:52.489Z] { [2022-05-10T15:13:52.490Z] "registry-mirrors": [ [2022-05-10T15:13:52.490Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-10T15:13:52.490Z] ], [2022-05-10T15:13:52.490Z] "bip": "10.250.0.254/24", [2022-05-10T15:13:52.490Z] "hosts": [ [2022-05-10T15:13:52.490Z] "tcp://0.0.0.0:5555", [2022-05-10T15:13:52.490Z] "unix:///var/run/docker.sock" [2022-05-10T15:13:52.490Z] ], [2022-05-10T15:13:52.490Z] "mtu": 1458, [2022-05-10T15:13:52.490Z] "selinux-enabled": true, [2022-05-10T15:13:52.490Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-10T15:13:52.490Z] } [Pipeline] sh [2022-05-10T15:13:52.849Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-10T15:13:53.200Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2022-05-10T15:14:12.071Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T15:14:12.082Z] ========================================================= [2022-05-10T15:14:12.082Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-10T15:14:12.082Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-05-10T15:14:12.444Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-10T15:14:13.430Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-10T15:14:13.430Z] 9b3977197b4f: Pulling fs layer [2022-05-10T15:14:13.430Z] 1a89e8eeedd5: Pulling fs layer [2022-05-10T15:14:13.430Z] 94645a83ff95: Pulling fs layer [2022-05-10T15:14:13.430Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-10T15:14:13.430Z] 0c92f367c5e7: Pulling fs layer [2022-05-10T15:14:13.430Z] 3096ccb668a1: Pulling fs layer [2022-05-10T15:14:13.430Z] e8cf19c19ddd: Pulling fs layer [2022-05-10T15:14:13.430Z] a4caa8a26152: Pulling fs layer [2022-05-10T15:14:13.430Z] 0c92f367c5e7: Waiting [2022-05-10T15:14:13.430Z] 3096ccb668a1: Waiting [2022-05-10T15:14:13.430Z] e8cf19c19ddd: Waiting [2022-05-10T15:14:13.430Z] a4caa8a26152: Waiting [2022-05-10T15:14:13.430Z] 3f3a8bcf1eab: Waiting [2022-05-10T15:14:13.430Z] 94645a83ff95: Verifying Checksum [2022-05-10T15:14:13.430Z] 94645a83ff95: Download complete [2022-05-10T15:14:13.430Z] 1a89e8eeedd5: Verifying Checksum [2022-05-10T15:14:13.430Z] 1a89e8eeedd5: Download complete [2022-05-10T15:14:13.430Z] 0c92f367c5e7: Verifying Checksum [2022-05-10T15:14:13.430Z] 0c92f367c5e7: Download complete [2022-05-10T15:14:13.430Z] 3096ccb668a1: Download complete [2022-05-10T15:14:13.430Z] 9b3977197b4f: Verifying Checksum [2022-05-10T15:14:13.430Z] 9b3977197b4f: Download complete [2022-05-10T15:14:13.430Z] e8cf19c19ddd: Download complete [2022-05-10T15:14:14.038Z] 9b3977197b4f: Pull complete [2022-05-10T15:14:14.665Z] 1a89e8eeedd5: Pull complete [2022-05-10T15:14:14.945Z] 94645a83ff95: Pull complete [2022-05-10T15:14:15.547Z] a4caa8a26152: Verifying Checksum [2022-05-10T15:14:15.547Z] a4caa8a26152: Download complete [2022-05-10T15:14:15.825Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-10T15:14:15.825Z] 3f3a8bcf1eab: Download complete [2022-05-10T15:14:28.262Z] 3f3a8bcf1eab: Pull complete [2022-05-10T15:14:28.540Z] 0c92f367c5e7: Pull complete [2022-05-10T15:14:28.816Z] 3096ccb668a1: Pull complete [2022-05-10T15:14:29.091Z] e8cf19c19ddd: Pull complete [2022-05-10T15:14:35.860Z] a4caa8a26152: Pull complete [2022-05-10T15:14:35.860Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-10T15:14:35.860Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-10T15:14:35.860Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] sh [2022-05-10T15:14:36.206Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-10T15:14:36.560Z] + docker inspect -f . ci-base-image-arm64 [2022-05-10T15:14:36.560Z] . [Pipeline] withDockerContainer [2022-05-10T15:14:36.794Z] prd-ubuntu20.04-docker-arm64-4c-16g-47780 does not seem to be running inside a container [2022-05-10T15:14:36.886Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/117 -v /w/workspace/app-functions-sdk-go/117:/w/workspace/app-functions-sdk-go/117:rw,z -v /w/workspace/app-functions-sdk-go/117@tmp:/w/workspace/app-functions-sdk-go/117@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 ******** ci-base-image-arm64 cat [2022-05-10T15:14:39.836Z] $ docker top 1c47131ac0f7ed75f927335c88b51d04057ac83a2aba5ae5c996d29c88b7bec3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T15:14:40.740Z] + go version [2022-05-10T15:14:40.740Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-10T15:14:40.769Z] $ docker stop --time=1 1c47131ac0f7ed75f927335c88b51d04057ac83a2aba5ae5c996d29c88b7bec3 [2022-05-10T15:14:42.447Z] $ docker rm -f 1c47131ac0f7ed75f927335c88b51d04057ac83a2aba5ae5c996d29c88b7bec3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T15:14:43.048Z] + docker inspect -f . ci-base-image-arm64 [2022-05-10T15:14:43.048Z] . [Pipeline] withDockerContainer [2022-05-10T15:14:43.287Z] prd-ubuntu20.04-docker-arm64-4c-16g-47780 does not seem to be running inside a container [2022-05-10T15:14:43.377Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/117 -v /w/workspace/app-functions-sdk-go/117:/w/workspace/app-functions-sdk-go/117:rw,z -v /w/workspace/app-functions-sdk-go/117@tmp:/w/workspace/app-functions-sdk-go/117@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 ******** ci-base-image-arm64 cat [2022-05-10T15:14:44.604Z] $ docker top a8b2cd8ab3016e75e22b95aed9586030142415e24d72bee846a8609a9c732f7d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-10T15:14:45.486Z] + make test [2022-05-10T15:14:45.486Z] make -C ./app-service-template build [2022-05-10T15:14:45.486Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/117/app-service-template' [2022-05-10T15:14:45.486Z] go mod tidy -compat=1.17 [2022-05-10T15:14:45.486Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 [2022-05-10T15:14:45.486Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a [2022-05-10T15:14:45.761Z] go: downloading github.com/google/uuid v1.3.0 [2022-05-10T15:14:45.761Z] go: downloading github.com/stretchr/testify v1.7.1 [2022-05-10T15:14:45.761Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.0 [2022-05-10T15:14:45.761Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0 [2022-05-10T15:14:45.761Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 [2022-05-10T15:14:46.037Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-05-10T15:14:46.037Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-05-10T15:14:46.037Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-05-10T15:14:46.037Z] go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2022-05-10T15:14:46.037Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2022-05-10T15:14:46.037Z] go: downloading github.com/go-playground/validator/v10 v10.10.1 [2022-05-10T15:14:46.037Z] go: downloading github.com/go-kit/log v0.2.0 [2022-05-10T15:14:46.037Z] go: downloading github.com/stretchr/objx v0.1.1 [2022-05-10T15:14:46.312Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0 [2022-05-10T15:14:46.312Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-05-10T15:14:46.312Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2022-05-10T15:14:46.312Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 [2022-05-10T15:14:46.312Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2022-05-10T15:14:46.312Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-05-10T15:14:46.312Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2022-05-10T15:14:46.312Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-05-10T15:14:46.312Z] go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 [2022-05-10T15:14:46.595Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2022-05-10T15:14:46.595Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-05-10T15:14:46.595Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-05-10T15:14:46.595Z] go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 [2022-05-10T15:14:46.872Z] go: downloading golang.org/x/text v0.3.7 [2022-05-10T15:14:47.478Z] go: downloading github.com/go-playground/locales v0.14.0 [2022-05-10T15:14:48.464Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2022-05-10T15:14:48.464Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2022-05-10T15:14:50.450Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-05-10T15:14:50.450Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2022-05-10T15:14:50.450Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-05-10T15:14:50.450Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 [2022-05-10T15:14:50.450Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-05-10T15:14:50.450Z] go: downloading github.com/x448/float16 v0.8.4 [2022-05-10T15:14:50.450Z] go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 [2022-05-10T15:14:50.450Z] go: downloading github.com/kr/pretty v0.3.0 [2022-05-10T15:14:50.450Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-05-10T15:14:50.450Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-05-10T15:14:50.728Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-05-10T15:14:50.728Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-05-10T15:14:50.728Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-05-10T15:14:50.728Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2022-05-10T15:14:50.728Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2022-05-10T15:14:50.728Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2022-05-10T15:14:50.728Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-05-10T15:14:51.006Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-05-10T15:14:51.006Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-05-10T15:14:51.006Z] go: downloading github.com/zeebo/errs v1.2.2 [2022-05-10T15:14:51.006Z] go: downloading google.golang.org/grpc v1.42.0 [2022-05-10T15:14:51.992Z] go: downloading github.com/kr/text v0.2.0 [2022-05-10T15:14:51.992Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2022-05-10T15:14:51.992Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2022-05-10T15:14:51.992Z] go: downloading github.com/fatih/color v1.9.0 [2022-05-10T15:14:51.992Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-05-10T15:14:51.992Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-05-10T15:14:51.992Z] go: downloading github.com/pkg/errors v0.9.1 [2022-05-10T15:14:51.992Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2022-05-10T15:14:51.992Z] go: downloading github.com/onsi/gomega v1.7.0 [2022-05-10T15:14:51.992Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-05-10T15:14:51.992Z] go: downloading gopkg.in/square/go-jose.v2 v2.4.1 [2022-05-10T15:14:52.263Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2022-05-10T15:14:52.263Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2022-05-10T15:14:52.263Z] go: downloading google.golang.org/protobuf v1.27.1 [2022-05-10T15:14:52.263Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-05-10T15:14:52.539Z] go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa [2022-05-10T15:14:53.133Z] go: downloading github.com/golang/protobuf v1.5.2 [2022-05-10T15:14:53.416Z] go: downloading github.com/google/go-cmp v0.5.6 [2022-05-10T15:14:53.416Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2022-05-10T15:14:53.416Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-05-10T15:14:53.689Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2022-05-10T15:14:53.689Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2022-05-10T15:14:53.689Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2022-05-10T15:14:53.689Z] go: downloading github.com/miekg/dns v1.1.26 [2022-05-10T15:14:53.964Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2022-05-10T15:14:53.964Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-05-10T15:14:53.964Z] go: downloading gopkg.in/yaml.v2 v2.2.8 [2022-05-10T15:14:54.236Z] go: downloading github.com/hpcloud/tail v1.0.0 [2022-05-10T15:14:54.236Z] go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 [2022-05-10T15:14:54.236Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2022-05-10T15:14:54.236Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2022-05-10T15:14:58.527Z] CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.2.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -buildmode=pie -o new-app-service [2022-05-10T15:16:50.366Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/117/app-service-template' [2022-05-10T15:16:50.366Z] make -C ./app-service-template test [2022-05-10T15:16:50.366Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/117/app-service-template' [2022-05-10T15:16:50.366Z] CGO_ENABLED=1 go test -race -coverprofile=coverage.out ./... [2022-05-10T15:19:12.263Z] ok new-app-service 0.246s coverage: 48.1% of statements [2022-05-10T15:19:12.263Z] ? new-app-service/config [no test files] [2022-05-10T15:19:12.263Z] ok new-app-service/functions 0.244s [2022-05-10T15:19:12.263Z] CGO_ENABLED=1 go vet ./... [2022-05-10T15:20:49.259Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-10T15:20:49.259Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-10T15:20:49.259Z] ./bin/test-attribution-txt.sh [2022-05-10T15:20:49.259Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/117/app-service-template' [2022-05-10T15:20:49.259Z] CGO_ENABLED=1 GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-05-10T15:20:49.259Z] go: downloading github.com/gomodule/redigo v1.8.8 [2022-05-10T15:20:49.259Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2022-05-10T15:21:01.705Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.540s coverage: 63.7% of statements [2022-05-10T15:21:01.705Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.468s coverage: 93.8% of statements [2022-05-10T15:21:01.705Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2022-05-10T15:21:01.705Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.432s coverage: 76.5% of statements [2022-05-10T15:21:01.705Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2022-05-10T15:21:01.705Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.377s coverage: 88.7% of statements [2022-05-10T15:21:01.705Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.154s coverage: 100.0% of statements [2022-05-10T15:21:01.984Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.620s coverage: 78.5% of statements [2022-05-10T15:21:01.984Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2022-05-10T15:21:01.984Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2022-05-10T15:21:02.265Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.256s coverage: 97.3% of statements [2022-05-10T15:21:02.265Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2022-05-10T15:21:02.265Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] [2022-05-10T15:21:09.246Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.336s coverage: 91.8% of statements [2022-05-10T15:21:09.246Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] [2022-05-10T15:21:14.786Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 1.103s coverage: 81.4% of statements [2022-05-10T15:21:14.786Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] [2022-05-10T15:21:14.786Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] [2022-05-10T15:21:14.786Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.399s coverage: 28.7% of statements [2022-05-10T15:21:14.786Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] [2022-05-10T15:21:14.786Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.313s coverage: 14.0% of statements [2022-05-10T15:21:21.540Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.208s coverage: 27.3% of statements [2022-05-10T15:21:21.540Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2022-05-10T15:21:21.540Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-05-10T15:21:21.540Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.240s coverage: 51.4% of statements [2022-05-10T15:21:48.331Z] panic: interface conversion: interface {} is nil, not [][]uint8 [2022-05-10T15:21:48.331Z] [2022-05-10T15:21:48.331Z] goroutine 25 [running]: [2022-05-10T15:21:48.331Z] github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms.TestBatchInTimeMode.func1(0xc000436104, 0xc00052c070, 0xc000582340, 0xc0004360b4) [2022-05-10T15:21:48.331Z] /w/workspace/app-functions-sdk-go/117/pkg/transforms/batch_test.go:168 +0x1dc [2022-05-10T15:21:48.331Z] created by github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms.TestBatchInTimeMode [2022-05-10T15:21:48.331Z] /w/workspace/app-functions-sdk-go/117/pkg/transforms/batch_test.go:160 +0x110 [2022-05-10T15:21:48.331Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 22.246s [2022-05-10T15:21:48.331Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.207s coverage: 94.4% of statements [2022-05-10T15:21:48.331Z] FAIL [2022-05-10T15:21:48.331Z] make: *** [Makefile:39: test-sdk] Error 1 [Pipeline] } [2022-05-10T15:21:48.355Z] $ docker stop --time=1 a8b2cd8ab3016e75e22b95aed9586030142415e24d72bee846a8609a9c732f7d [2022-05-10T15:21:50.250Z] $ docker rm -f a8b2cd8ab3016e75e22b95aed9586030142415e24d72bee846a8609a9c732f7d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T15:21:54.120Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T15:21:54.120Z] [2022-05-10T15:21:54.120Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-10T15:21:54.471Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T15:21:54.746Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-10T15:21:54.746Z] 8998bd30e6a1: Pulling fs layer [2022-05-10T15:21:54.746Z] 04944245beec: Pulling fs layer [2022-05-10T15:21:54.746Z] 699f458cf7ca: Pulling fs layer [2022-05-10T15:21:54.746Z] 765212b225bb: Pulling fs layer [2022-05-10T15:21:54.746Z] f23df028b6ca: Pulling fs layer [2022-05-10T15:21:54.746Z] d65c8cfc05b1: Pulling fs layer [2022-05-10T15:21:54.746Z] 2437ff75d9bd: Pulling fs layer [2022-05-10T15:21:54.746Z] 765212b225bb: Waiting [2022-05-10T15:21:54.746Z] f23df028b6ca: Waiting [2022-05-10T15:21:54.746Z] d65c8cfc05b1: Waiting [2022-05-10T15:21:54.746Z] 2437ff75d9bd: Waiting [2022-05-10T15:21:54.746Z] 04944245beec: Verifying Checksum [2022-05-10T15:21:54.746Z] 04944245beec: Download complete [2022-05-10T15:21:54.746Z] 765212b225bb: Verifying Checksum [2022-05-10T15:21:54.746Z] 765212b225bb: Download complete [2022-05-10T15:21:54.746Z] f23df028b6ca: Verifying Checksum [2022-05-10T15:21:54.746Z] f23df028b6ca: Download complete [2022-05-10T15:21:54.746Z] d65c8cfc05b1: Verifying Checksum [2022-05-10T15:21:54.746Z] d65c8cfc05b1: Download complete [2022-05-10T15:21:55.021Z] 699f458cf7ca: Download complete [2022-05-10T15:21:55.296Z] 8998bd30e6a1: Verifying Checksum [2022-05-10T15:21:55.296Z] 8998bd30e6a1: Download complete [2022-05-10T15:21:57.926Z] 2437ff75d9bd: Verifying Checksum [2022-05-10T15:21:57.926Z] 2437ff75d9bd: Download complete [2022-05-10T15:21:59.905Z] 8998bd30e6a1: Pull complete [2022-05-10T15:22:00.180Z] 04944245beec: Pull complete [2022-05-10T15:22:01.619Z] 699f458cf7ca: Pull complete [2022-05-10T15:22:01.897Z] 765212b225bb: Pull complete [2022-05-10T15:22:02.880Z] f23df028b6ca: Pull complete [2022-05-10T15:22:03.160Z] d65c8cfc05b1: Pull complete [2022-05-10T15:22:18.250Z] 2437ff75d9bd: Pull complete [2022-05-10T15:22:18.250Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-10T15:22:18.250Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T15:22:18.250Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-10T15:22:18.472Z] prd-ubuntu20.04-docker-arm64-4c-16g-47780 does not seem to be running inside a container [2022-05-10T15:22:18.559Z] $ 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/117 -v /w/workspace/app-functions-sdk-go/117:/w/workspace/app-functions-sdk-go/117:rw,z -v /w/workspace/app-functions-sdk-go/117@tmp:/w/workspace/app-functions-sdk-go/117@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:arm64 cat [2022-05-10T15:22:21.202Z] $ docker top 9b7b38a04dc0e0e1cdc828d313dc55403978a1832f67efa85a2f526de8f04539 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T15:22:22.146Z] ---> job-cost.sh [2022-05-10T15:22:22.146Z] lf-activate-venv: SKIPPING [2022-05-10T15:22:22.146Z] INFO: No Stack... [2022-05-10T15:22:22.741Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-10T15:22:23.336Z] INFO: Archiving Costs [Pipeline] sh [2022-05-10T15:22:24.012Z] + cat /w/workspace/app-functions-sdk-go/117/archives/cost.csv [2022-05-10T15:22:24.012Z] + cut -d, -f6 [Pipeline] lock [2022-05-10T15:22:24.080Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-117-stack-cost] [2022-05-10T15:22:24.086Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-117-stack-cost] did not exist. Created. [2022-05-10T15:22:24.086Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-117-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-10T15:22:24.778Z] /w/workspace/app-functions-sdk-go/117@tmp/durable-2b852a9c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-10T15:22:25.458Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-10T15:22:25.480Z] Warning: overwriting stash ‘stack-cost’ [2022-05-10T15:22:25.988Z] Stashed 1 file(s) [Pipeline] } [2022-05-10T15:22:26.057Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-117-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-10T15:22:26.083Z] $ docker stop --time=1 9b7b38a04dc0e0e1cdc828d313dc55403978a1832f67efa85a2f526de8f04539 [2022-05-10T15:22:27.619Z] $ docker rm -f 9b7b38a04dc0e0e1cdc828d313dc55403978a1832f67efa85a2f526de8f04539 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-10T15:22:27.913Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-05-10T15:22:28.632Z] + [ -d /w/workspace/oundry_app-functions-sdk-go_main/archives ] [2022-05-10T15:22:28.632Z] + ls -al /w/workspace/oundry_app-functions-sdk-go_main/archives [2022-05-10T15:22:28.632Z] total 16 [2022-05-10T15:22:28.632Z] drwxr-xr-x 3 root root 4096 May 10 15:11 . [2022-05-10T15:22:28.632Z] drwxrwxr-x 10 jenkins jenkins 4096 May 10 15:11 .. [2022-05-10T15:22:28.632Z] drwxr-xr-x 2 root root 4096 May 10 15:11 cost [2022-05-10T15:22:28.632Z] -rw-r--r-- 1 root root 91 May 10 15:11 cost.csv [2022-05-10T15:22:28.632Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_app-functions-sdk-go_main/archives [2022-05-10T15:22:28.632Z] + ls -al /w/workspace/oundry_app-functions-sdk-go_main/archives [2022-05-10T15:22:28.632Z] total 16 [2022-05-10T15:22:28.632Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 15:11 . [2022-05-10T15:22:28.632Z] drwxrwxr-x 10 jenkins jenkins 4096 May 10 15:11 .. [2022-05-10T15:22:28.632Z] drwxr-xr-x 2 jenkins jenkins 4096 May 10 15:11 cost [2022-05-10T15:22:28.632Z] -rw-r--r-- 1 jenkins jenkins 91 May 10 15:11 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-10T15:22:28.926Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T15:22:29.791Z] ---> package-listing.sh [2022-05-10T15:22:29.791Z] ++ facter osfamily [2022-05-10T15:22:29.791Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-10T15:22:30.052Z] + OS_FAMILY=debian [2022-05-10T15:22:30.052Z] + workspace=/w/workspace/oundry_app-functions-sdk-go_main [2022-05-10T15:22:30.052Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-10T15:22:30.052Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-10T15:22:30.052Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-10T15:22:30.052Z] + PACKAGES=/tmp/packages_start.txt [2022-05-10T15:22:30.052Z] + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' [2022-05-10T15:22:30.052Z] + PACKAGES=/tmp/packages_end.txt [2022-05-10T15:22:30.052Z] + case "${OS_FAMILY}" in [2022-05-10T15:22:30.052Z] + grep '^ii' [2022-05-10T15:22:30.052Z] + dpkg -l [2022-05-10T15:22:30.052Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-10T15:22:30.052Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-10T15:22:30.052Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-10T15:22:30.052Z] + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' [2022-05-10T15:22:30.052Z] + mkdir -p /w/workspace/oundry_app-functions-sdk-go_main/archives/ [2022-05-10T15:22:30.052Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_app-functions-sdk-go_main/archives/ [Pipeline] echo [2022-05-10T15:22:30.064Z] 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/oundry_app-functions-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-10T15:22:30.348Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-10T15:22:30.646Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T15:22:30.646Z] . [Pipeline] withDockerContainer [2022-05-10T15:22:30.712Z] prd-ubuntu20.04-docker-8c-8g-47779 does not seem to be running inside a container [2022-05-10T15:22:30.753Z] $ 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/oundry_app-functions-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@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:10003/edgex-lftools-log-publisher:latest cat [2022-05-10T15:22:30.991Z] $ docker top 5b6683ebd74c3a95667cba94350f18e4dd360213ef097ec6e667a3c99192f0c1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T15:22:31.365Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-10T15:22:31.651Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-10T15:22:31.942Z] + ls /var/log/sa-host [2022-05-10T15:22:31.942Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T15:22:32.158Z] provisioning config files... [2022-05-10T15:22:32.170Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config2944568506727824509tmp [Pipeline] { [Pipeline] echo [2022-05-10T15:22:32.189Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T15:22:32.477Z] ---> create-netrc.sh [Pipeline] } [2022-05-10T15:22:32.484Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-10T15:22:32.830Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-10T15:22:32.841Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T15:22:33.128Z] ---> sudo-logs.sh [2022-05-10T15:22:33.128Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-10T15:22:33.152Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T15:22:33.440Z] ---> job-cost.sh [2022-05-10T15:22:33.440Z] lf-activate-venv: SKIPPING [2022-05-10T15:22:33.440Z] DEBUG: total: 0.2199999988079071 [2022-05-10T15:22:33.440Z] INFO: Retrieving Stack Cost... [2022-05-10T15:22:33.701Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-10T15:22:34.270Z] INFO: Archiving Costs [Pipeline] echo [2022-05-10T15:22:34.286Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T15:22:34.571Z] ---> logs-deploy.sh [2022-05-10T15:22:34.571Z] lf-activate-venv: SKIPPING [2022-05-10T15:22:34.571Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/main/117 [2022-05-10T15:22:34.571Z] INFO: archiving workspace using pattern(s): [2022-05-10T15:22:35.511Z] Archives upload complete. [2022-05-10T15:22:35.511Z] INFO: archiving logs to Nexus