Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bcc4045c0f625d2c64703f4a48b16876b1e8a5b8 Running in Durability level: PERFORMANCE_OPTIMIZED 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-ssh1010467575330215073.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a03e002eace0db65b27acd1444eb3c4392a49323 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-ssh1509749669238662272.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 a03e002eace0db65b27acd1444eb3c4392a49323 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-ssh8404527153886977317.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a03e002eace0db65b27acd1444eb3c4392a49323 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a03e002eace0db65b27acd1444eb3c4392a49323 # timeout=10 Commit message: "Merge pull request #364 from ernestojeda/fix-folder-name" > 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-ssh7619981212786148881.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/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-ssh3884265837871626942.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-functions-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-177 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.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/oundry_app-functions-sdk-go_main@tmp/jenkins-gitclient-ssh518515874404639063.key > 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 bcc4045c0f625d2c64703f4a48b16876b1e8a5b8 (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 bcc4045c0f625d2c64703f4a48b16876b1e8a5b8 # timeout=10 Commit message: "fix: Set TargetType properly when dynamically updating to configurable pipeline (#1007)" > git rev-list --no-walk 39a95b068cd0ed8870bdfa4a10bdeebc7b1cc4b6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-11T18:37:57.170Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-11T18:37:57.221Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-11T18:37:57.241Z] ========================================================= [2021-11-11T18:37:57.241Z] EdgeX Global Pipelines Version Info [2021-11-11T18:37:57.241Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-11T18:37:58.399Z] ------------------- [2021-11-11T18:37:58.399Z] stable info: [2021-11-11T18:37:58.399Z] ------------------- [2021-11-11T18:37:58.399Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-11T18:37:58.399Z] Commit SHA: a03e002eace0db65b27acd1444eb3c4392a49323 [2021-11-11T18:37:58.399Z] Message: update stable to v1.0.213 [2021-11-11T18:37:58.974Z] ------------------- [2021-11-11T18:37:58.974Z] experimental info: [2021-11-11T18:37:58.974Z] ------------------- [2021-11-11T18:37:58.974Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-11T18:37:58.974Z] Commit SHA: a03e002eace0db65b27acd1444eb3c4392a49323 [2021-11-11T18:37:58.974Z] Message: update experimental to v1.0.213 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-11T18:37:59.056Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-11-11T18:37:59.065Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-11-11T18:37:59.073Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-11T18:37:59.081Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-11T18:37:59.089Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-11T18:37:59.097Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-11T18:37:59.105Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-11T18:37:59.113Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-11-11T18:37:59.127Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-11T18:37:59.136Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-11T18:37:59.146Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-11T18:37:59.158Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2021-11-11T18:37:59.170Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-11T18:37:59.182Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-11T18:37:59.193Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-11-11T18:37:59.208Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-11-11T18:37:59.217Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-11T18:37:59.228Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-11T18:37:59.239Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-11T18:37:59.249Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-11-11T18:37:59.260Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-11-11T18:37:59.270Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-11-11T18:37:59.287Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-11T18:37:59.302Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-11T18:37:59.314Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-11-11T18:37:59.325Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-11T18:37:59.336Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-11-11T18:37:59.357Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-11-11T18:37:59.367Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-11-11T18:37:59.378Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bcc4045c0f625d2c64703f4a48b16876b1e8a5b8 [Pipeline] echo [2021-11-11T18:37:59.390Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bcc4045 [Pipeline] echo [2021-11-11T18:37:59.406Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-11T18:37:59.851Z] + git rev-list -1 --merges bcc4045c0f625d2c64703f4a48b16876b1e8a5b8~1..bcc4045c0f625d2c64703f4a48b16876b1e8a5b8 [Pipeline] echo [2021-11-11T18:37:59.894Z] -----------> git rev-list -1 --merges bcc4045c0f625d2c64703f4a48b16876b1e8a5b8~1..bcc4045c0f625d2c64703f4a48b16876b1e8a5b8 bcc4045c0f625d2c64703f4a48b16876b1e8a5b8 [false] [Pipeline] sh [2021-11-11T18:38:00.187Z] + git log --format=format:%s -1 bcc4045c0f625d2c64703f4a48b16876b1e8a5b8 [Pipeline] echo [2021-11-11T18:38:00.203Z] ========================================================= [2021-11-11T18:38:00.203Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-11T18:38:00.203Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-11T18:38:00.545Z] + git log --format=format:%s -1 bcc4045c0f625d2c64703f4a48b16876b1e8a5b8 [Pipeline] echo [2021-11-11T18:38:00.559Z] [semverPrep] GIT_COMMIT: bcc4045c0f625d2c64703f4a48b16876b1e8a5b8, Commit Message: fix: Set TargetType properly when dynamically updating to configurable pipeline (#1007) [Pipeline] echo [2021-11-11T18:38:00.567Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:38:01.014Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-11T18:38:01.014Z] [2021-11-11T18:38:01.014Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:38:01.338Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-11T18:38:01.338Z] latest: Pulling from edgex-devops/git-semver [2021-11-11T18:38:01.338Z] a0d0a0d46f8b: Pulling fs layer [2021-11-11T18:38:01.338Z] 3e5f54012d9b: Pulling fs layer [2021-11-11T18:38:01.338Z] 4c7163046ea9: Pulling fs layer [2021-11-11T18:38:01.338Z] 0c2d73faf560: Pulling fs layer [2021-11-11T18:38:01.338Z] 0c2d73faf560: Waiting [2021-11-11T18:38:01.338Z] 3e5f54012d9b: Verifying Checksum [2021-11-11T18:38:01.338Z] 3e5f54012d9b: Download complete [2021-11-11T18:38:01.338Z] a0d0a0d46f8b: Verifying Checksum [2021-11-11T18:38:01.338Z] a0d0a0d46f8b: Download complete [2021-11-11T18:38:01.610Z] 0c2d73faf560: Verifying Checksum [2021-11-11T18:38:01.610Z] 0c2d73faf560: Download complete [2021-11-11T18:38:01.610Z] 4c7163046ea9: Verifying Checksum [2021-11-11T18:38:01.610Z] 4c7163046ea9: Download complete [2021-11-11T18:38:01.610Z] a0d0a0d46f8b: Pull complete [2021-11-11T18:38:01.610Z] 3e5f54012d9b: Pull complete [2021-11-11T18:38:01.879Z] 4c7163046ea9: Pull complete [2021-11-11T18:38:02.144Z] 0c2d73faf560: Pull complete [2021-11-11T18:38:02.144Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-11T18:38:02.144Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-11T18:38:02.144Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-11T18:38:02.222Z] prd-centos7-docker-4c-2g-177 does not seem to be running inside a container [2021-11-11T18:38:02.068Z] $ 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:10004/edgex-devops/git-semver:latest cat [2021-11-11T18:38:02.804Z] $ docker top bb62e5225fbce1300926036b6c660d45771c5c819a22658818b22693ede52358 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-11T18:38:03.031Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-11T18:38:03.031Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-11T18:38:03.121Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-11T18:38:03.001Z] $ docker exec bb62e5225fbce1300926036b6c660d45771c5c819a22658818b22693ede52358 ssh-agent [2021-11-11T18:38:03.210Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdImHOf/agent.15 [2021-11-11T18:38:03.210Z] SSH_AGENT_PID=21 [2021-11-11T18:38:03.217Z] Running ssh-add (command line suppressed) [2021-11-11T18:38:03.182Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7860502715543711277.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7860502715543711277.key) [2021-11-11T18:38:03.301Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-11T18:38:03.598Z] + git tag --points-at HEAD [Pipeline] } [2021-11-11T18:38:03.528Z] $ docker exec --env ******** --env ******** bb62e5225fbce1300926036b6c660d45771c5c819a22658818b22693ede52358 ssh-agent -k [2021-11-11T18:38:03.613Z] unset SSH_AUTH_SOCK; [2021-11-11T18:38:03.614Z] unset SSH_AGENT_PID; [2021-11-11T18:38:03.614Z] echo Agent pid 21 killed; [2021-11-11T18:38:03.700Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-11T18:38:03.727Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-11T18:38:03.727Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-11T18:38:03.824Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-11T18:38:03.762Z] $ docker exec bb62e5225fbce1300926036b6c660d45771c5c819a22658818b22693ede52358 ssh-agent [2021-11-11T18:38:03.915Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFGmgHn/agent.54 [2021-11-11T18:38:03.915Z] SSH_AGENT_PID=60 [2021-11-11T18:38:03.920Z] Running ssh-add (command line suppressed) [2021-11-11T18:38:03.952Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7915191036697317460.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7915191036697317460.key) [2021-11-11T18:38:04.012Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-11T18:38:04.301Z] + git semver init [2021-11-11T18:38:04.301Z] # -> Open(): unable to determine branch for HEAD [2021-11-11T18:38:04.301Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2021-11-11T18:38:04.301Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2021-11-11T18:38:04.301Z] # $SEMVER_REMOTE_NAME = origin [2021-11-11T18:38:04.301Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-11T18:38:04.301Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-11T18:38:04.301Z] # $SEMVER_BRANCH = main [2021-11-11T18:38:04.301Z] # $SEMVER_TEMP = /tmp/semver-921252628 [2021-11-11T18:38:04.301Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-11-11T18:38:08.510Z] # '/tmp/semver-921252628' -> '/w/workspace/oundry_app-functions-sdk-go_main/.semver' [2021-11-11T18:38:08.510Z] # -> Force: false [2021-11-11T18:38:08.510Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [Pipeline] } [2021-11-11T18:38:08.518Z] $ docker exec --env ******** --env ******** bb62e5225fbce1300926036b6c660d45771c5c819a22658818b22693ede52358 ssh-agent -k [2021-11-11T18:38:08.604Z] unset SSH_AUTH_SOCK; [2021-11-11T18:38:08.604Z] unset SSH_AGENT_PID; [2021-11-11T18:38:08.604Z] echo Agent pid 60 killed; [2021-11-11T18:38:08.616Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-11T18:38:08.923Z] + git semver [Pipeline] } [2021-11-11T18:38:08.935Z] $ docker stop --time=1 bb62e5225fbce1300926036b6c660d45771c5c819a22658818b22693ede52358 [2021-11-11T18:38:10.260Z] $ docker rm -f bb62e5225fbce1300926036b6c660d45771c5c819a22658818b22693ede52358 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-11T18:38:10.627Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-11T18:38:10.885Z] Stashed 1 file(s) [Pipeline] echo [2021-11-11T18:38:10.889Z] [edgeXSemver]: initialized semver on version 2.0.2-dev.45 [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] node [Pipeline] node [2021-11-11T18:38:26.101Z] Still waiting to schedule task [2021-11-11T18:38:26.101Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-11-11T18:38:26.103Z] Still waiting to schedule task [2021-11-11T18:38:26.103Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-175’ is offline [2021-11-11T18:39:55.846Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-178 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws [2021-11-11T18:39:55.859Z] Running in /w/workspace/app-functions-sdk-go/58 [Pipeline] { [Pipeline] checkout [2021-11-11T18:39:56.045Z] The recommended git tool is: git [2021-11-11T18:40:01.593Z] using credential edgex-jenkins-ssh [2021-11-11T18:40:01.612Z] Cloning the remote Git repository [2021-11-11T18:40:01.668Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-11-11T18:40:01.758Z] > git init /w/workspace/app-functions-sdk-go/58 # timeout=10 [2021-11-11T18:40:01.827Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-11-11T18:40:01.828Z] > git --version # timeout=10 [2021-11-11T18:40:01.849Z] > git --version # 'git version 2.17.1' [2021-11-11T18:40:01.850Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-11T18:40:01.920Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-11T18:40:05.292Z] Avoid second fetch [2021-11-11T18:40:05.292Z] Checking out Revision bcc4045c0f625d2c64703f4a48b16876b1e8a5b8 (main) [2021-11-11T18:40:05.235Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-11-11T18:40:05.267Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-11T18:40:05.310Z] > git config core.sparsecheckout # timeout=10 [2021-11-11T18:40:05.323Z] > git checkout -f bcc4045c0f625d2c64703f4a48b16876b1e8a5b8 # timeout=10 [2021-11-11T18:40:09.504Z] Commit message: "fix: Set TargetType properly when dynamically updating to configurable pipeline (#1007)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-11T18:40:10.305Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-11T18:40:10.305Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-11T18:40:10.305Z] Dload Upload Total Spent Left Speed [2021-11-11T18:40:10.305Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 76779 0 --:--:-- --:--:-- --:--:-- 76779 [Pipeline] sh [2021-11-11T18:40:10.734Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-11T18:40:11.081Z] + sudo tee /etc/docker/daemon.new [2021-11-11T18:40:11.081Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-11T18:40:11.081Z] { [2021-11-11T18:40:11.081Z] "registry-mirrors": [ [2021-11-11T18:40:11.081Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-11T18:40:11.081Z] ], [2021-11-11T18:40:11.081Z] "bip": "10.250.0.254/24", [2021-11-11T18:40:11.081Z] "hosts": [ [2021-11-11T18:40:11.081Z] "tcp://0.0.0.0:5555", [2021-11-11T18:40:11.081Z] "unix:///var/run/docker.sock" [2021-11-11T18:40:11.081Z] ], [2021-11-11T18:40:11.081Z] "mtu": 1458, [2021-11-11T18:40:11.082Z] "selinux-enabled": true, [2021-11-11T18:40:11.082Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-11T18:40:11.082Z] } [Pipeline] sh [2021-11-11T18:40:11.421Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-11T18:40:11.764Z] + sudo service docker restart [2021-11-11T18:40:24.579Z] Running on prd-centos7-docker-4c-2g-179 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws [2021-11-11T18:40:24.593Z] Running in /w/workspace/app-functions-sdk-go/58 [Pipeline] { [Pipeline] checkout [2021-11-11T18:40:24.707Z] The recommended git tool is: git [2021-11-11T18:40:26.684Z] using credential edgex-jenkins-ssh [2021-11-11T18:40:26.696Z] Cloning the remote Git repository [2021-11-11T18:40:25.871Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-11-11T18:40:25.923Z] > git init /w/workspace/app-functions-sdk-go/58 # timeout=10 [2021-11-11T18:40:26.028Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-11-11T18:40:26.028Z] > git --version # timeout=10 [2021-11-11T18:40:26.035Z] > git --version # 'git version 2.24.4' [2021-11-11T18:40:26.035Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-11T18:40:26.063Z] [INFO] Currently running in a labeled security context [2021-11-11T18:40:26.063Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-11T18:40:26.064Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/58@tmp/jenkins-gitclient-ssh4419667845493277243.key [2021-11-11T18:40:26.083Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-11T18:40:28.646Z] Avoid second fetch [2021-11-11T18:40:28.646Z] Checking out Revision bcc4045c0f625d2c64703f4a48b16876b1e8a5b8 (main) [2021-11-11T18:40:27.779Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-11-11T18:40:27.790Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-11T18:40:27.807Z] > git config core.sparsecheckout # timeout=10 [2021-11-11T18:40:27.810Z] > git checkout -f bcc4045c0f625d2c64703f4a48b16876b1e8a5b8 # timeout=10 [Pipeline] unstash [Pipeline] echo [2021-11-11T18:40:30.390Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-11T18:40:30.401Z] ========================================================= [2021-11-11T18:40:30.402Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-11T18:40:30.402Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-11-11T18:40:30.789Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-11T18:40:31.770Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-11T18:40:31.770Z] 552d1f2373af: Pulling fs layer [2021-11-11T18:40:31.770Z] ea3f2d53f512: Pulling fs layer [2021-11-11T18:40:31.770Z] 9e70ebbbe112: Pulling fs layer [2021-11-11T18:40:31.770Z] 7a9cfe048b4a: Pulling fs layer [2021-11-11T18:40:31.770Z] 72dc09318566: Pulling fs layer [2021-11-11T18:40:31.770Z] f4f7b4309257: Pulling fs layer [2021-11-11T18:40:31.770Z] 0ac9a79272e3: Pulling fs layer [2021-11-11T18:40:31.770Z] b78e95d17946: Pulling fs layer [2021-11-11T18:40:31.770Z] 7a9cfe048b4a: Waiting [2021-11-11T18:40:31.770Z] 72dc09318566: Waiting [2021-11-11T18:40:31.770Z] f4f7b4309257: Waiting [2021-11-11T18:40:31.770Z] 0ac9a79272e3: Waiting [2021-11-11T18:40:31.770Z] b78e95d17946: Waiting [2021-11-11T18:40:31.770Z] 9e70ebbbe112: Verifying Checksum [2021-11-11T18:40:31.770Z] ea3f2d53f512: Verifying Checksum [2021-11-11T18:40:31.770Z] ea3f2d53f512: Download complete [2021-11-11T18:40:31.770Z] 72dc09318566: Verifying Checksum [2021-11-11T18:40:31.770Z] 72dc09318566: Download complete [2021-11-11T18:40:31.770Z] f4f7b4309257: Download complete [2021-11-11T18:40:31.770Z] 0ac9a79272e3: Verifying Checksum [2021-11-11T18:40:31.770Z] 0ac9a79272e3: Download complete [2021-11-11T18:40:31.770Z] 552d1f2373af: Verifying Checksum [2021-11-11T18:40:32.131Z] Commit message: "fix: Set TargetType properly when dynamically updating to configurable pipeline (#1007)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2021-11-11T18:40:32.756Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-11T18:40:32.764Z] ========================================================= [2021-11-11T18:40:32.764Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-11T18:40:32.764Z] ========================================================= [Pipeline] fileExists [2021-11-11T18:40:32.773Z] 552d1f2373af: Pull complete [Pipeline] fileExists [Pipeline] sh [2021-11-11T18:40:33.142Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-11T18:40:33.383Z] ea3f2d53f512: Pull complete [2021-11-11T18:40:33.409Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-11T18:40:33.409Z] a0d0a0d46f8b: Pulling fs layer [2021-11-11T18:40:33.409Z] 31adcdaf11c8: Pulling fs layer [2021-11-11T18:40:33.409Z] b8b176561691: Pulling fs layer [2021-11-11T18:40:33.409Z] 4527c011a84f: Pulling fs layer [2021-11-11T18:40:33.409Z] 5d74067f8e1e: Pulling fs layer [2021-11-11T18:40:33.409Z] e0aca202a116: Pulling fs layer [2021-11-11T18:40:33.409Z] 3a43be97a3b4: Pulling fs layer [2021-11-11T18:40:33.409Z] 34cad66bf833: Pulling fs layer [2021-11-11T18:40:33.409Z] b4e3c513aaa6: Pulling fs layer [2021-11-11T18:40:33.409Z] 4527c011a84f: Waiting [2021-11-11T18:40:33.409Z] 5d74067f8e1e: Waiting [2021-11-11T18:40:33.409Z] e0aca202a116: Waiting [2021-11-11T18:40:33.409Z] 3a43be97a3b4: Waiting [2021-11-11T18:40:33.409Z] 34cad66bf833: Waiting [2021-11-11T18:40:33.409Z] b4e3c513aaa6: Waiting [2021-11-11T18:40:33.409Z] b8b176561691: Verifying Checksum [2021-11-11T18:40:33.409Z] b8b176561691: Download complete [2021-11-11T18:40:33.409Z] 31adcdaf11c8: Verifying Checksum [2021-11-11T18:40:33.409Z] 31adcdaf11c8: Download complete [2021-11-11T18:40:33.409Z] 5d74067f8e1e: Verifying Checksum [2021-11-11T18:40:33.409Z] 5d74067f8e1e: Download complete [2021-11-11T18:40:33.409Z] e0aca202a116: Verifying Checksum [2021-11-11T18:40:33.409Z] e0aca202a116: Download complete [2021-11-11T18:40:33.409Z] 3a43be97a3b4: Download complete [2021-11-11T18:40:33.409Z] a0d0a0d46f8b: Verifying Checksum [2021-11-11T18:40:33.409Z] a0d0a0d46f8b: Download complete [2021-11-11T18:40:33.409Z] 34cad66bf833: Verifying Checksum [2021-11-11T18:40:33.409Z] 34cad66bf833: Download complete [2021-11-11T18:40:33.657Z] b78e95d17946: Verifying Checksum [2021-11-11T18:40:33.657Z] b78e95d17946: Download complete [2021-11-11T18:40:33.657Z] 9e70ebbbe112: Pull complete [2021-11-11T18:40:33.681Z] a0d0a0d46f8b: Pull complete [2021-11-11T18:40:33.947Z] b4e3c513aaa6: Verifying Checksum [2021-11-11T18:40:33.947Z] b4e3c513aaa6: Download complete [2021-11-11T18:40:33.947Z] 4527c011a84f: Verifying Checksum [2021-11-11T18:40:33.947Z] 4527c011a84f: Download complete [2021-11-11T18:40:33.947Z] 31adcdaf11c8: Pull complete [2021-11-11T18:40:33.947Z] b8b176561691: Pull complete [2021-11-11T18:40:34.255Z] 7a9cfe048b4a: Verifying Checksum [2021-11-11T18:40:34.255Z] 7a9cfe048b4a: Download complete [2021-11-11T18:40:38.196Z] 4527c011a84f: Pull complete [2021-11-11T18:40:38.196Z] 5d74067f8e1e: Pull complete [2021-11-11T18:40:38.196Z] e0aca202a116: Pull complete [2021-11-11T18:40:38.196Z] 3a43be97a3b4: Pull complete [2021-11-11T18:40:38.196Z] 34cad66bf833: Pull complete [2021-11-11T18:40:40.761Z] b4e3c513aaa6: Pull complete [2021-11-11T18:40:40.761Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-11T18:40:40.761Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-11T18:40:40.761Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh [2021-11-11T18:40:41.079Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:40:41.385Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-11T18:40:41.385Z] . [Pipeline] withDockerContainer [2021-11-11T18:40:41.455Z] prd-centos7-docker-4c-2g-179 does not seem to be running inside a container [2021-11-11T18:40:41.496Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/58 -v /w/workspace/app-functions-sdk-go/58:/w/workspace/app-functions-sdk-go/58:rw,z -v /w/workspace/app-functions-sdk-go/58@tmp:/w/workspace/app-functions-sdk-go/58@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-x86_64 cat [2021-11-11T18:40:44.182Z] $ docker top 27a694ddab22d884c0ee02a1388d7738a3acf5232f4fa9455b07e9c83feb78ec -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-11T18:40:44.430Z] 7a9cfe048b4a: Pull complete [2021-11-11T18:40:44.552Z] + go version [2021-11-11T18:40:44.552Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-11T18:40:44.565Z] $ docker stop --time=1 27a694ddab22d884c0ee02a1388d7738a3acf5232f4fa9455b07e9c83feb78ec [2021-11-11T18:40:44.703Z] 72dc09318566: Pull complete [2021-11-11T18:40:44.976Z] f4f7b4309257: Pull complete [2021-11-11T18:40:45.250Z] 0ac9a79272e3: Pull complete [2021-11-11T18:40:45.740Z] $ docker rm -f 27a694ddab22d884c0ee02a1388d7738a3acf5232f4fa9455b07e9c83feb78ec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:40:46.190Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-11T18:40:46.191Z] . [Pipeline] withDockerContainer [2021-11-11T18:40:46.261Z] prd-centos7-docker-4c-2g-179 does not seem to be running inside a container [2021-11-11T18:40:46.295Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/58 -v /w/workspace/app-functions-sdk-go/58:/w/workspace/app-functions-sdk-go/58:rw,z -v /w/workspace/app-functions-sdk-go/58@tmp:/w/workspace/app-functions-sdk-go/58@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-x86_64 cat [2021-11-11T18:40:46.600Z] $ docker top a57eb226befea3c560386c85abb1524d94f83cb0559ce28219b111b4bba57ac3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-11T18:40:46.952Z] + make test [2021-11-11T18:40:46.953Z] make -C ./app-service-template build [2021-11-11T18:40:46.953Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/58/app-service-template' [2021-11-11T18:40:46.953Z] go mod tidy [2021-11-11T18:40:48.341Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.1-dev.27 [2021-11-11T18:40:48.341Z] go: downloading github.com/google/uuid v1.3.0 [2021-11-11T18:40:48.341Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-11-11T18:40:48.341Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.1-dev.20 [2021-11-11T18:40:48.341Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.2-dev.7 [2021-11-11T18:40:48.341Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.1-dev.9 [2021-11-11T18:40:48.341Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2021-11-11T18:40:48.341Z] go: downloading github.com/go-kit/kit v0.11.0 [2021-11-11T18:40:48.610Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2021-11-11T18:40:48.610Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-11-11T18:40:48.610Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-11-11T18:40:48.610Z] go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2021-11-11T18:40:48.610Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-11-11T18:40:48.610Z] go: downloading github.com/stretchr/objx v0.1.1 [2021-11-11T18:40:48.610Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-11-11T18:40:48.610Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2021-11-11T18:40:48.610Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.1-dev.5 [2021-11-11T18:40:48.873Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.1-dev.9 [2021-11-11T18:40:48.873Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2021-11-11T18:40:48.873Z] go: downloading github.com/leodido/go-urn v1.2.1 [2021-11-11T18:40:48.873Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2021-11-11T18:40:48.873Z] go: downloading golang.org/x/text v0.3.6 [2021-11-11T18:40:49.139Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-11-11T18:40:49.139Z] go: downloading github.com/go-playground/locales v0.14.0 [2021-11-11T18:40:50.091Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2021-11-11T18:40:50.091Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-11-11T18:40:50.091Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2021-11-11T18:40:50.091Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-11-11T18:40:50.091Z] go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 [2021-11-11T18:40:50.091Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2021-11-11T18:40:50.091Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2021-11-11T18:40:50.091Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2021-11-11T18:40:50.091Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-11-11T18:40:50.091Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-11-11T18:40:50.091Z] go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 [2021-11-11T18:40:50.091Z] go: downloading github.com/kr/pretty v0.3.0 [2021-11-11T18:40:50.091Z] go: downloading github.com/x448/float16 v0.8.4 [2021-11-11T18:40:50.091Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-11-11T18:40:50.350Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-11-11T18:40:50.350Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-11-11T18:40:50.350Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-11-11T18:40:50.350Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-11-11T18:40:50.350Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2021-11-11T18:40:50.350Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-11-11T18:40:50.350Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-11-11T18:40:50.616Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-11-11T18:40:50.616Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-11-11T18:40:50.616Z] go: downloading github.com/kr/text v0.2.0 [2021-11-11T18:40:50.616Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2021-11-11T18:40:50.616Z] go: downloading github.com/fatih/color v1.9.0 [2021-11-11T18:40:50.616Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-11-11T18:40:50.616Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-11-11T18:40:50.616Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-11-11T18:40:50.616Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-11-11T18:40:50.616Z] go: downloading github.com/pkg/errors v0.9.1 [2021-11-11T18:40:50.616Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-11-11T18:40:50.877Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2021-11-11T18:40:50.877Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2021-11-11T18:40:50.877Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-11-11T18:40:50.877Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-11-11T18:40:50.877Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-11-11T18:40:50.877Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-11-11T18:40:50.877Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-11-11T18:40:50.877Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-11-11T18:40:50.877Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2021-11-11T18:40:50.877Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2021-11-11T18:40:50.877Z] go: downloading github.com/miekg/dns v1.1.26 [2021-11-11T18:40:50.877Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-11-11T18:40:50.877Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2021-11-11T18:40:50.877Z] go: downloading github.com/onsi/gomega v1.7.0 [2021-11-11T18:40:51.139Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-11-11T18:40:51.139Z] go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c [2021-11-11T18:40:51.139Z] go: downloading gopkg.in/yaml.v2 v2.3.0 [2021-11-11T18:40:51.139Z] go: downloading github.com/hpcloud/tail v1.0.0 [2021-11-11T18:40:51.139Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2021-11-11T18:40:51.139Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2021-11-11T18:40:51.139Z] go: downloading github.com/golang/protobuf v1.5.2 [2021-11-11T18:40:51.139Z] go: downloading github.com/fsnotify/fsnotify v1.4.7 [2021-11-11T18:40:51.405Z] go: downloading google.golang.org/protobuf v1.27.1 [2021-11-11T18:40:51.672Z] go: downloading github.com/google/go-cmp v0.5.5 [2021-11-11T18:40:51.672Z] go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 [2021-11-11T18:40:51.672Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.1 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-11-11T18:40:51.971Z] b78e95d17946: Pull complete [2021-11-11T18:40:51.971Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-11T18:40:51.971Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-11T18:40:51.971Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh [2021-11-11T18:40:52.319Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:40:52.660Z] + docker inspect -f . ci-base-image-arm64 [2021-11-11T18:40:52.661Z] . [Pipeline] withDockerContainer [2021-11-11T18:40:52.895Z] prd-ubuntu18.04-docker-arm64-4c-16g-178 does not seem to be running inside a container [2021-11-11T18:40:52.982Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/58 -v /w/workspace/app-functions-sdk-go/58:/w/workspace/app-functions-sdk-go/58:rw,z -v /w/workspace/app-functions-sdk-go/58@tmp:/w/workspace/app-functions-sdk-go/58@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 [2021-11-11T18:40:56.025Z] $ docker top 11c71fe21a337865cf4f0df6b576d7eeca87fba238a32cc64f34f9f047c8ed21 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-11T18:40:57.184Z] + go version [2021-11-11T18:40:57.184Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-11T18:40:57.224Z] $ docker stop --time=1 11c71fe21a337865cf4f0df6b576d7eeca87fba238a32cc64f34f9f047c8ed21 [2021-11-11T18:40:58.962Z] $ docker rm -f 11c71fe21a337865cf4f0df6b576d7eeca87fba238a32cc64f34f9f047c8ed21 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:40:59.707Z] + docker inspect -f . ci-base-image-arm64 [2021-11-11T18:40:59.707Z] . [Pipeline] withDockerContainer [2021-11-11T18:40:59.938Z] prd-ubuntu18.04-docker-arm64-4c-16g-178 does not seem to be running inside a container [2021-11-11T18:41:00.019Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/58 -v /w/workspace/app-functions-sdk-go/58:/w/workspace/app-functions-sdk-go/58:rw,z -v /w/workspace/app-functions-sdk-go/58@tmp:/w/workspace/app-functions-sdk-go/58@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 [2021-11-11T18:41:01.489Z] $ docker top 891fe56afabf96d6549ab2187a352312db235c8739426fd2f1b659672ec59958 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-11T18:41:02.437Z] + make test [2021-11-11T18:41:02.437Z] make -C ./app-service-template build [2021-11-11T18:41:02.437Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/58/app-service-template' [2021-11-11T18:41:02.437Z] go mod tidy [2021-11-11T18:41:03.873Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.1-dev.27 [2021-11-11T18:41:03.873Z] go: downloading github.com/google/uuid v1.3.0 [2021-11-11T18:41:03.952Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/58/app-service-template' [2021-11-11T18:41:03.952Z] make -C ./app-service-template test [2021-11-11T18:41:03.952Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/58/app-service-template' [2021-11-11T18:41:03.952Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-11-11T18:41:04.149Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-11-11T18:41:04.149Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.1-dev.20 [2021-11-11T18:41:04.149Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.2-dev.7 [2021-11-11T18:41:04.149Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.1-dev.9 [2021-11-11T18:41:04.423Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-11-11T18:41:04.423Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-11-11T18:41:04.423Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2021-11-11T18:41:04.423Z] go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2021-11-11T18:41:04.423Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-11-11T18:41:04.423Z] go: downloading github.com/stretchr/objx v0.1.1 [2021-11-11T18:41:04.423Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2021-11-11T18:41:04.423Z] go: downloading github.com/go-kit/kit v0.11.0 [2021-11-11T18:41:04.700Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.1-dev.5 [2021-11-11T18:41:04.700Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.1-dev.9 [2021-11-11T18:41:04.700Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-11-11T18:41:04.700Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2021-11-11T18:41:04.700Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2021-11-11T18:41:04.700Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-11-11T18:41:04.700Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2021-11-11T18:41:04.700Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2021-11-11T18:41:04.700Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-11-11T18:41:04.973Z] go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 [2021-11-11T18:41:04.973Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2021-11-11T18:41:04.973Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2021-11-11T18:41:04.973Z] go: downloading github.com/leodido/go-urn v1.2.1 [2021-11-11T18:41:04.973Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2021-11-11T18:41:04.973Z] go: downloading golang.org/x/text v0.3.6 [2021-11-11T18:41:05.247Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-11-11T18:41:05.248Z] go: downloading github.com/go-playground/locales v0.14.0 [2021-11-11T18:41:07.899Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-11-11T18:41:07.899Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-11-11T18:41:07.899Z] go: downloading github.com/kr/pretty v0.3.0 [2021-11-11T18:41:07.899Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2021-11-11T18:41:07.899Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-11-11T18:41:07.899Z] go: downloading github.com/x448/float16 v0.8.4 [2021-11-11T18:41:07.899Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-11-11T18:41:07.899Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-11-11T18:41:07.899Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-11-11T18:41:07.899Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-11-11T18:41:07.899Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-11-11T18:41:07.899Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2021-11-11T18:41:08.176Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-11-11T18:41:08.176Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-11-11T18:41:08.176Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-11-11T18:41:08.176Z] go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 [2021-11-11T18:41:08.176Z] go: downloading github.com/kr/text v0.2.0 [2021-11-11T18:41:08.176Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2021-11-11T18:41:08.449Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-11-11T18:41:08.449Z] go: downloading github.com/fatih/color v1.9.0 [2021-11-11T18:41:08.449Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-11-11T18:41:08.449Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-11-11T18:41:08.449Z] go: downloading github.com/pkg/errors v0.9.1 [2021-11-11T18:41:08.449Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-11-11T18:41:08.449Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2021-11-11T18:41:08.449Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-11-11T18:41:08.449Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-11-11T18:41:08.449Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-11-11T18:41:08.449Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-11-11T18:41:08.449Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2021-11-11T18:41:08.726Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-11-11T18:41:08.726Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-11-11T18:41:08.726Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-11-11T18:41:08.726Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2021-11-11T18:41:08.726Z] go: downloading github.com/onsi/gomega v1.7.0 [2021-11-11T18:41:09.010Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2021-11-11T18:41:09.010Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2021-11-11T18:41:09.010Z] go: downloading github.com/miekg/dns v1.1.26 [2021-11-11T18:41:09.010Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-11-11T18:41:09.010Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-11-11T18:41:09.286Z] go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c [2021-11-11T18:41:09.286Z] go: downloading github.com/hpcloud/tail v1.0.0 [2021-11-11T18:41:09.286Z] go: downloading gopkg.in/yaml.v2 v2.3.0 [2021-11-11T18:41:09.286Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2021-11-11T18:41:09.286Z] go: downloading github.com/golang/protobuf v1.5.2 [2021-11-11T18:41:09.286Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2021-11-11T18:41:09.286Z] go: downloading github.com/fsnotify/fsnotify v1.4.7 [2021-11-11T18:41:09.286Z] go: downloading google.golang.org/protobuf v1.27.1 [2021-11-11T18:41:10.265Z] go: downloading github.com/google/go-cmp v0.5.5 [2021-11-11T18:41:10.265Z] go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 [2021-11-11T18:41:10.265Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.1 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-11-11T18:41:12.157Z] ok new-app-service 0.013s coverage: 48.1% of statements [2021-11-11T18:41:12.157Z] ? new-app-service/config [no test files] [2021-11-11T18:41:12.157Z] ok new-app-service/functions 0.007s [2021-11-11T18:41:12.157Z] CGO_ENABLED=1 go vet ./... [2021-11-11T18:41:17.528Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-11T18:41:17.528Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-11T18:41:17.528Z] ./bin/test-attribution-txt.sh [2021-11-11T18:41:18.100Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/58/app-service-template' [2021-11-11T18:41:18.100Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-11-11T18:41:18.369Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-11-11T18:41:19.769Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.017s coverage: 65.8% of statements [2021-11-11T18:41:19.769Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app/mocks [no test files] [2021-11-11T18:41:20.358Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.007s coverage: 93.7% of statements [2021-11-11T18:41:20.358Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-11-11T18:41:20.631Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.010s coverage: 61.8% of statements [2021-11-11T18:41:20.631Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-11-11T18:41:20.896Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.005s [2021-11-11T18:41:20.896Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.009s coverage: 100.0% of statements [2021-11-11T18:41:22.286Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.062s coverage: 78.3% of statements [2021-11-11T18:41:22.286Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-11-11T18:41:22.286Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-11-11T18:41:22.286Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-11-11T18:41:22.286Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-11-11T18:41:22.286Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-11-11T18:41:22.286Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-11-11T18:41:22.286Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.016s coverage: 97.3% of statements [2021-11-11T18:41:22.286Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-11-11T18:41:22.286Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] [2021-11-11T18:41:22.565Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.010s coverage: 10.5% of statements [2021-11-11T18:41:26.790Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.047s coverage: 77.0% of statements [2021-11-11T18:41:26.790Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] [2021-11-11T18:41:26.790Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-11-11T18:41:26.790Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.006s coverage: 14.3% of statements [2021-11-11T18:41:26.790Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.010s coverage: 27.3% of statements [2021-11-11T18:41:26.790Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-11-11T18:41:26.790Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-11-11T18:41:26.790Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.010s coverage: 51.4% of statements [2021-11-11T18:41:49.308Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/58/app-service-template' [2021-11-11T18:41:49.308Z] make -C ./app-service-template test [2021-11-11T18:41:49.308Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/58/app-service-template' [2021-11-11T18:41:49.308Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-11-11T18:41:53.373Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.041s coverage: 78.2% of statements [2021-11-11T18:41:53.373Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.006s coverage: 94.4% of statements [2021-11-11T18:41:53.373Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-11T18:41:53.373Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-11T18:41:53.373Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] } [2021-11-11T18:42:05.719Z] $ docker stop --time=1 a57eb226befea3c560386c85abb1524d94f83cb0559ce28219b111b4bba57ac3 [2021-11-11T18:42:07.042Z] $ docker rm -f a57eb226befea3c560386c85abb1524d94f83cb0559ce28219b111b4bba57ac3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-11T18:42:07.757Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-11T18:42:07.985Z] 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 [2021-11-11T18:42:08.764Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T18:42:08.764Z] [2021-11-11T18:42:08.764Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:42:09.087Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T18:42:09.087Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-11T18:42:09.087Z] b4d181a07f80: Pulling fs layer [2021-11-11T18:42:09.087Z] a1111a8f2ec3: Pulling fs layer [2021-11-11T18:42:09.087Z] ed53099fbce6: Pulling fs layer [2021-11-11T18:42:09.087Z] dc539afda2c1: Pulling fs layer [2021-11-11T18:42:09.087Z] 77bc0d833cb6: Pulling fs layer [2021-11-11T18:42:09.087Z] 9065ff56babe: Pulling fs layer [2021-11-11T18:42:09.087Z] d287ab97295c: Pulling fs layer [2021-11-11T18:42:09.087Z] dc539afda2c1: Waiting [2021-11-11T18:42:09.087Z] 9065ff56babe: Waiting [2021-11-11T18:42:09.087Z] d287ab97295c: Waiting [2021-11-11T18:42:09.087Z] 77bc0d833cb6: Waiting [2021-11-11T18:42:09.087Z] a1111a8f2ec3: Verifying Checksum [2021-11-11T18:42:09.087Z] a1111a8f2ec3: Download complete [2021-11-11T18:42:09.087Z] dc539afda2c1: Verifying Checksum [2021-11-11T18:42:09.087Z] dc539afda2c1: Download complete [2021-11-11T18:42:09.087Z] ed53099fbce6: Verifying Checksum [2021-11-11T18:42:09.087Z] ed53099fbce6: Download complete [2021-11-11T18:42:09.087Z] 9065ff56babe: Verifying Checksum [2021-11-11T18:42:09.087Z] 9065ff56babe: Download complete [2021-11-11T18:42:09.351Z] 77bc0d833cb6: Verifying Checksum [2021-11-11T18:42:09.351Z] 77bc0d833cb6: Download complete [2021-11-11T18:42:09.351Z] b4d181a07f80: Verifying Checksum [2021-11-11T18:42:09.351Z] b4d181a07f80: Download complete [2021-11-11T18:42:09.935Z] d287ab97295c: Verifying Checksum [2021-11-11T18:42:09.935Z] d287ab97295c: Download complete [2021-11-11T18:42:10.882Z] b4d181a07f80: Pull complete [2021-11-11T18:42:10.882Z] a1111a8f2ec3: Pull complete [2021-11-11T18:42:11.467Z] ed53099fbce6: Pull complete [2021-11-11T18:42:11.730Z] dc539afda2c1: Pull complete [2021-11-11T18:42:11.993Z] 77bc0d833cb6: Pull complete [2021-11-11T18:42:11.993Z] 9065ff56babe: Pull complete [2021-11-11T18:42:18.650Z] d287ab97295c: Pull complete [2021-11-11T18:42:18.650Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-11T18:42:18.650Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T18:42:18.650Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-11T18:42:18.732Z] prd-centos7-docker-4c-2g-179 does not seem to be running inside a container [2021-11-11T18:42:18.788Z] $ 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/58 -v /w/workspace/app-functions-sdk-go/58:/w/workspace/app-functions-sdk-go/58:rw,z -v /w/workspace/app-functions-sdk-go/58@tmp:/w/workspace/app-functions-sdk-go/58@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-11T18:42:21.674Z] $ docker top 458f400a7368c01d3ac078c68e3495ecaebe0da23e85707bab92789b876b6d0e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-11T18:42:21.851Z] ok new-app-service 0.047s coverage: 48.1% of statements [2021-11-11T18:42:21.851Z] ? new-app-service/config [no test files] [2021-11-11T18:42:21.851Z] ok new-app-service/functions 0.051s [2021-11-11T18:42:21.851Z] CGO_ENABLED=1 go vet ./... [2021-11-11T18:42:22.110Z] ---> job-cost.sh [2021-11-11T18:42:22.110Z] lf-activate-venv: SKIPPING [2021-11-11T18:42:22.110Z] INFO: No Stack... [2021-11-11T18:42:22.683Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-11T18:42:22.945Z] INFO: Archiving Costs [Pipeline] sh [2021-11-11T18:42:23.239Z] + cat /w/workspace/app-functions-sdk-go/58/archives/cost.csv [2021-11-11T18:42:23.239Z] + cut -d, -f6 [Pipeline] lock [2021-11-11T18:42:23.266Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-58-stack-cost] [2021-11-11T18:42:23.271Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-58-stack-cost] did not exist. Created. [2021-11-11T18:42:23.271Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-58-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-11T18:42:23.577Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-11T18:42:23.610Z] Stashed 1 file(s) [Pipeline] } [2021-11-11T18:42:23.615Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-58-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-11T18:42:23.632Z] $ docker stop --time=1 458f400a7368c01d3ac078c68e3495ecaebe0da23e85707bab92789b876b6d0e [2021-11-11T18:42:24.768Z] $ docker rm -f 458f400a7368c01d3ac078c68e3495ecaebe0da23e85707bab92789b876b6d0e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-11T18:42:44.059Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-11T18:42:44.059Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-11T18:42:44.059Z] ./bin/test-attribution-txt.sh [2021-11-11T18:42:46.032Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/58/app-service-template' [2021-11-11T18:42:46.032Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-11-11T18:42:47.467Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-11-11T18:42:57.683Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.144s coverage: 65.8% of statements [2021-11-11T18:42:57.683Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app/mocks [no test files] [2021-11-11T18:42:57.683Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.088s coverage: 93.7% of statements [2021-11-11T18:42:57.683Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-11-11T18:42:57.683Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.100s coverage: 61.8% of statements [2021-11-11T18:42:57.683Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-11-11T18:42:57.683Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.054s [2021-11-11T18:42:57.683Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.037s coverage: 100.0% of statements [2021-11-11T18:42:57.683Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.240s coverage: 78.3% of statements [2021-11-11T18:42:57.683Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-11-11T18:42:57.683Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-11-11T18:42:57.683Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-11-11T18:42:57.683Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-11-11T18:42:57.683Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-11-11T18:42:57.683Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-11-11T18:42:57.683Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.009s coverage: 97.3% of statements [2021-11-11T18:42:57.683Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-11-11T18:42:57.683Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] [2021-11-11T18:42:57.958Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.063s coverage: 10.5% of statements [2021-11-11T18:43:04.683Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.212s coverage: 77.0% of statements [2021-11-11T18:43:04.683Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] [2021-11-11T18:43:04.683Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-11-11T18:43:04.683Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.060s coverage: 14.3% of statements [2021-11-11T18:43:04.683Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.130s coverage: 27.3% of statements [2021-11-11T18:43:04.683Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-11-11T18:43:04.683Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-11-11T18:43:04.683Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.047s coverage: 51.4% of statements [2021-11-11T18:43:31.456Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.126s coverage: 78.2% of statements [2021-11-11T18:43:31.456Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.032s coverage: 94.4% of statements [2021-11-11T18:43:31.456Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-11T18:43:34.083Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-11T18:43:34.678Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-11T18:43:35.268Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [Pipeline] } [2021-11-11T18:43:35.298Z] $ docker stop --time=1 891fe56afabf96d6549ab2187a352312db235c8739426fd2f1b659672ec59958 [2021-11-11T18:43:37.114Z] $ docker rm -f 891fe56afabf96d6549ab2187a352312db235c8739426fd2f1b659672ec59958 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-11T18:43:39.555Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-11T18:43:39.582Z] Warning: overwriting stash ‘coverage-report’ [2021-11-11T18:43:40.122Z] Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:43:40.855Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-11T18:43:40.855Z] [2021-11-11T18:43:40.855Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:43:41.193Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-11T18:43:41.470Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-11T18:43:41.470Z] 448f6bf000e3: Pulling fs layer [2021-11-11T18:43:41.470Z] f757da607395: Pulling fs layer [2021-11-11T18:43:41.470Z] 05883995daec: Pulling fs layer [2021-11-11T18:43:41.470Z] 8603b9c90790: Pulling fs layer [2021-11-11T18:43:41.470Z] 1560dd03e051: Pulling fs layer [2021-11-11T18:43:41.470Z] 27f5ce0e4adf: Pulling fs layer [2021-11-11T18:43:41.470Z] c2d8d7efcc4b: Pulling fs layer [2021-11-11T18:43:41.470Z] 8603b9c90790: Waiting [2021-11-11T18:43:41.470Z] 1560dd03e051: Waiting [2021-11-11T18:43:41.470Z] 27f5ce0e4adf: Waiting [2021-11-11T18:43:41.470Z] c2d8d7efcc4b: Waiting [2021-11-11T18:43:41.470Z] f757da607395: Verifying Checksum [2021-11-11T18:43:41.470Z] f757da607395: Download complete [2021-11-11T18:43:41.470Z] 8603b9c90790: Download complete [2021-11-11T18:43:41.742Z] 1560dd03e051: Verifying Checksum [2021-11-11T18:43:41.742Z] 1560dd03e051: Download complete [2021-11-11T18:43:41.742Z] 27f5ce0e4adf: Verifying Checksum [2021-11-11T18:43:41.742Z] 27f5ce0e4adf: Download complete [2021-11-11T18:43:41.742Z] 05883995daec: Verifying Checksum [2021-11-11T18:43:41.742Z] 05883995daec: Download complete [2021-11-11T18:43:42.014Z] 448f6bf000e3: Verifying Checksum [2021-11-11T18:43:42.014Z] 448f6bf000e3: Download complete [2021-11-11T18:43:44.639Z] c2d8d7efcc4b: Verifying Checksum [2021-11-11T18:43:44.639Z] c2d8d7efcc4b: Download complete [2021-11-11T18:43:45.619Z] 448f6bf000e3: Pull complete [2021-11-11T18:43:46.215Z] f757da607395: Pull complete [2021-11-11T18:43:47.647Z] 05883995daec: Pull complete [2021-11-11T18:43:47.920Z] 8603b9c90790: Pull complete [2021-11-11T18:43:48.895Z] 1560dd03e051: Pull complete [2021-11-11T18:43:48.895Z] 27f5ce0e4adf: Pull complete [2021-11-11T18:44:04.067Z] c2d8d7efcc4b: Pull complete [2021-11-11T18:44:04.067Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-11T18:44:04.067Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-11T18:44:04.067Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-11T18:44:04.341Z] prd-ubuntu18.04-docker-arm64-4c-16g-178 does not seem to be running inside a container [2021-11-11T18:44:04.428Z] $ 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/58 -v /w/workspace/app-functions-sdk-go/58:/w/workspace/app-functions-sdk-go/58:rw,z -v /w/workspace/app-functions-sdk-go/58@tmp:/w/workspace/app-functions-sdk-go/58@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 [2021-11-11T18:44:07.078Z] $ docker top a0847e403ee3947ecae6f48e4a7ced62d3b7103383b836d66cf5ec01ddafc359 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-11T18:44:08.042Z] ---> job-cost.sh [2021-11-11T18:44:08.042Z] lf-activate-venv: SKIPPING [2021-11-11T18:44:08.042Z] INFO: No Stack... [2021-11-11T18:44:08.313Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-11T18:44:08.913Z] INFO: Archiving Costs [Pipeline] sh [2021-11-11T18:44:09.574Z] + cat /w/workspace/app-functions-sdk-go/58/archives/cost.csv [2021-11-11T18:44:09.574Z] + cut -d, -f6 [Pipeline] lock [2021-11-11T18:44:09.634Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-58-stack-cost] [2021-11-11T18:44:09.639Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-58-stack-cost] did not exist. Created. [2021-11-11T18:44:09.639Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-58-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-11T18:44:10.311Z] /w/workspace/app-functions-sdk-go/58@tmp/durable-0aa47d60/script.sh: 1: /w/workspace/app-functions-sdk-go/58@tmp/durable-0aa47d60/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-11T18:44:10.974Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-11T18:44:10.993Z] Warning: overwriting stash ‘stack-cost’ [2021-11-11T18:44:11.055Z] Stashed 1 file(s) [Pipeline] } [2021-11-11T18:44:11.062Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-58-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-11T18:44:11.088Z] $ docker stop --time=1 a0847e403ee3947ecae6f48e4a7ced62d3b7103383b836d66cf5ec01ddafc359 [2021-11-11T18:44:12.611Z] $ docker rm -f a0847e403ee3947ecae6f48e4a7ced62d3b7103383b836d66cf5ec01ddafc359 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-11-11T18:44:13.275Z] provisioning config files... [2021-11-11T18:44:13.288Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config6341911355565652735tmp [Pipeline] { [Pipeline] sh [2021-11-11T18:44:13.599Z] + set +x [2021-11-11T18:44:13.599Z] + curl -s https://codecov.io/bash [2021-11-11T18:44:13.599Z] + bash -s -- [2021-11-11T18:44:13.599Z] [2021-11-11T18:44:13.599Z] _____ _ [2021-11-11T18:44:13.599Z] / ____| | | [2021-11-11T18:44:13.599Z] | | ___ __| | ___ ___ _____ __ [2021-11-11T18:44:13.599Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-11T18:44:13.599Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-11T18:44:13.599Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-11T18:44:13.599Z] Bash-1.0.6 [2021-11-11T18:44:13.599Z] [2021-11-11T18:44:13.599Z] [2021-11-11T18:44:13.599Z] ==> git version 2.24.4 found [2021-11-11T18:44:13.600Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-11-11T18:44:13.600Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-11T18:44:13.600Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-11T18:44:13.600Z] ==> Jenkins CI detected. [2021-11-11T18:44:13.600Z] current dir:  /w/workspace/oundry_app-functions-sdk-go_main [2021-11-11T18:44:13.600Z] project root: . [2021-11-11T18:44:13.600Z] --> token set from env [2021-11-11T18:44:13.859Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-11T18:44:13.859Z] ==> Running gcov in . (disable via -X gcov) [2021-11-11T18:44:13.859Z] ==> Python coveragepy not found [2021-11-11T18:44:13.859Z] ==> Searching for coverage reports in: [2021-11-11T18:44:13.859Z] + . [2021-11-11T18:44:13.859Z] -> Found 2 reports [2021-11-11T18:44:13.859Z] ==> Detecting git/mercurial file structure [2021-11-11T18:44:13.859Z] ==> Reading reports [2021-11-11T18:44:13.859Z] + ./app-service-template/coverage.out bytes=1219 [2021-11-11T18:44:13.859Z] + ./coverage.out bytes=107982 [2021-11-11T18:44:13.859Z] ==> Appending adjustments [2021-11-11T18:44:13.859Z] https://docs.codecov.io/docs/fixing-reports [2021-11-11T18:44:14.120Z] + Found adjustments [2021-11-11T18:44:14.120Z] ==> Gzipping contents [2021-11-11T18:44:14.120Z] 20K /tmp/codecov.BtgJ2V.gz [2021-11-11T18:44:14.120Z] ==> Uploading reports [2021-11-11T18:44:14.120Z] url: https://codecov.io [2021-11-11T18:44:14.120Z] query: branch=main&commit=bcc4045c0f625d2c64703f4a48b16876b1e8a5b8&build=58&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F58%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-11T18:44:14.120Z] -> Pinging Codecov [2021-11-11T18:44:14.120Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=17ebf437-e483-4174-b11b-49c3772ebb45&branch=main&commit=bcc4045c0f625d2c64703f4a48b16876b1e8a5b8&build=58&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F58%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-11T18:44:15.059Z] -> Uploading to [2021-11-11T18:44:15.059Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-11/3D8B5DFFC46A037C893635FACE044666/bcc4045c0f625d2c64703f4a48b16876b1e8a5b8/eeae5869-5ede-4689-9686-a039d87602be.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211111T184414Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=12aa0fbf52704e6280174a67bae2494c8ef2d803985f25a4be4593275d40a615 [2021-11-11T18:44:15.059Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-11T18:44:15.059Z] Dload Upload Total Spent Left Speed [2021-11-11T18:44:15.320Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18890 0 0 100 18890 0 47194 --:--:-- --:--:-- --:--:-- 47225 [2021-11-11T18:44:15.320Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/bcc4045c0f625d2c64703f4a48b16876b1e8a5b8 [Pipeline] } [2021-11-11T18:44:15.332Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-11-11T18:44:15.486Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-11-11T18:44:15.498Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:44:15.795Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-11T18:44:15.795Z] [2021-11-11T18:44:15.795Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:44:16.118Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-11T18:44:16.119Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-11-11T18:44:16.119Z] 188c0c94c7c5: Pulling fs layer [2021-11-11T18:44:16.119Z] 0ef7d3d256c8: Pulling fs layer [2021-11-11T18:44:16.119Z] de9db76c5a1d: Pulling fs layer [2021-11-11T18:44:16.119Z] 0eba1c9be4d2: Pulling fs layer [2021-11-11T18:44:16.119Z] 0d57e429df01: Pulling fs layer [2021-11-11T18:44:16.119Z] 4e4be7b47b0d: Pulling fs layer [2021-11-11T18:44:16.119Z] e1f770b5df2f: Pulling fs layer [2021-11-11T18:44:16.119Z] 85a0685a4137: Pulling fs layer [2021-11-11T18:44:16.119Z] 0eba1c9be4d2: Waiting [2021-11-11T18:44:16.119Z] 0d57e429df01: Waiting [2021-11-11T18:44:16.119Z] 4e4be7b47b0d: Waiting [2021-11-11T18:44:16.119Z] e1f770b5df2f: Waiting [2021-11-11T18:44:16.119Z] 85a0685a4137: Waiting [2021-11-11T18:44:16.119Z] de9db76c5a1d: Verifying Checksum [2021-11-11T18:44:16.119Z] de9db76c5a1d: Download complete [2021-11-11T18:44:16.119Z] 0ef7d3d256c8: Verifying Checksum [2021-11-11T18:44:16.119Z] 0ef7d3d256c8: Download complete [2021-11-11T18:44:16.119Z] 0d57e429df01: Verifying Checksum [2021-11-11T18:44:16.119Z] 0d57e429df01: Download complete [2021-11-11T18:44:16.119Z] 4e4be7b47b0d: Verifying Checksum [2021-11-11T18:44:16.119Z] 4e4be7b47b0d: Download complete [2021-11-11T18:44:16.119Z] 188c0c94c7c5: Verifying Checksum [2021-11-11T18:44:16.119Z] 188c0c94c7c5: Download complete [2021-11-11T18:44:16.380Z] e1f770b5df2f: Verifying Checksum [2021-11-11T18:44:16.380Z] e1f770b5df2f: Download complete [2021-11-11T18:44:16.645Z] 0eba1c9be4d2: Verifying Checksum [2021-11-11T18:44:16.645Z] 0eba1c9be4d2: Download complete [2021-11-11T18:44:16.645Z] 188c0c94c7c5: Pull complete [2021-11-11T18:44:16.911Z] 0ef7d3d256c8: Pull complete [2021-11-11T18:44:16.911Z] 85a0685a4137: Verifying Checksum [2021-11-11T18:44:16.911Z] 85a0685a4137: Download complete [2021-11-11T18:44:16.911Z] de9db76c5a1d: Pull complete [2021-11-11T18:44:21.180Z] 0eba1c9be4d2: Pull complete [2021-11-11T18:44:21.180Z] 0d57e429df01: Pull complete [2021-11-11T18:44:21.180Z] 4e4be7b47b0d: Pull complete [2021-11-11T18:44:21.751Z] e1f770b5df2f: Pull complete [2021-11-11T18:44:25.988Z] 85a0685a4137: Pull complete [2021-11-11T18:44:25.988Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-11-11T18:44:25.988Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-11T18:44:25.988Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-11-11T18:44:26.061Z] prd-centos7-docker-4c-2g-177 does not seem to be running inside a container [2021-11-11T18:44:26.094Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -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-devops/edgex-snyk-go:1.410.4 cat [2021-11-11T18:44:28.100Z] $ docker top 0d95cfcc2ac44858c02208d7f1da80af7038241bc3d2d245bfd0311ce231fc77 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-11-11T18:44:28.176Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-11-11T18:44:28.465Z] + set -o pipefail [2021-11-11T18:44:28.465Z] + snyk monitor '--org=edgex-jenkins' [2021-11-11T18:44:32.698Z] [2021-11-11T18:44:32.698Z] Monitoring /w/workspace/oundry_app-functions-sdk-go_main (github.com/edgexfoundry/app-functions-sdk-go/v2)... [2021-11-11T18:44:32.698Z] [2021-11-11T18:44:32.698Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/31e332fd-1f1f-4834-86f6-4a5c00c84ab1 [2021-11-11T18:44:32.698Z] [2021-11-11T18:44:32.698Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-11-11T18:44:32.698Z] [2021-11-11T18:44:32.698Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-11-11T18:44:32.698Z] [2021-11-11T18:44:32.959Z] [2021-11-11T18:44:32.959Z] You have reached your monthly limit of 200 private tests for your edgex-jenkins org. [2021-11-11T18:44:32.959Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2021-11-11T18:44:32.969Z] $ docker stop --time=1 0d95cfcc2ac44858c02208d7f1da80af7038241bc3d2d245bfd0311ce231fc77 [2021-11-11T18:44:34.829Z] $ docker rm -f 0d95cfcc2ac44858c02208d7f1da80af7038241bc3d2d245bfd0311ce231fc77 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2021-11-11T18:44:35.454Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-11T18:44:35.467Z] provisioning config files... [2021-11-11T18:44:35.477Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config108348730765053282tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-11T18:44:35.782Z] --> edgex-publish-swagger.sh [2021-11-11T18:44:35.782Z] === Publish openapi/v2 API === [2021-11-11T18:44:35.782Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-11-11T18:44:35.782Z] [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/oundry_app-functions-sdk-go_main/openapi/v2/app-functions-sdk.yaml] [2021-11-11T18:44:35.782Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-11T18:44:35.782Z] Dload Upload Total Spent Left Speed [2021-11-11T18:44:36.726Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13054 0 0 100 13054 0 11378 0:00:01 0:00:01 --:--:-- 11390 100 13054 0 0 100 13054 0 11376 0:00:01 0:00:01 --:--:-- 11390 [2021-11-11T18:44:36.726Z] [2021-11-11T18:44:36.726Z] [Pipeline] } [2021-11-11T18:44:36.734Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-11T18:44:37.178Z] + git log --format=format:%s -1 bcc4045c0f625d2c64703f4a48b16876b1e8a5b8 [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:44:37.480Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-11T18:44:37.480Z] . [Pipeline] withDockerContainer [2021-11-11T18:44:37.545Z] prd-centos7-docker-4c-2g-177 does not seem to be running inside a container [2021-11-11T18:44:37.576Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-11T18:44:37.916Z] $ docker top a8d1ab1958a3ced83c6b2701b72531a8cda00b38717ff2c5ff14b150fdfa8e04 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-11T18:44:38.006Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-11T18:44:38.006Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-11T18:44:38.126Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-11T18:44:38.126Z] $ docker exec a8d1ab1958a3ced83c6b2701b72531a8cda00b38717ff2c5ff14b150fdfa8e04 ssh-agent [2021-11-11T18:44:38.247Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDgnpIj/agent.13 [2021-11-11T18:44:38.247Z] SSH_AGENT_PID=20 [2021-11-11T18:44:38.252Z] Running ssh-add (command line suppressed) [2021-11-11T18:44:38.334Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_4813777536099571923.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_4813777536099571923.key) [2021-11-11T18:44:38.347Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-11T18:44:38.649Z] + git semver tag [2021-11-11T18:44:38.649Z] # -> Open(): unable to determine branch for HEAD [2021-11-11T18:44:38.649Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2021-11-11T18:44:38.649Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2021-11-11T18:44:38.649Z] # $SEMVER_REMOTE_NAME = origin [2021-11-11T18:44:38.649Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-11T18:44:38.649Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-11T18:44:38.649Z] # $SEMVER_BRANCH = main [2021-11-11T18:44:38.649Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [2021-11-11T18:44:38.649Z] # bcc4045c0f625d2c64703f4a48b16876b1e8a5b8 HEAD [2021-11-11T18:44:38.649Z] # -> Force: false [2021-11-11T18:44:38.649Z] # a140d1a9bb430b1666e68be75b63089fbf5febca refs/tags/v2.0.2-dev.45 [Pipeline] } [2021-11-11T18:44:38.656Z] $ docker exec --env ******** --env ******** a8d1ab1958a3ced83c6b2701b72531a8cda00b38717ff2c5ff14b150fdfa8e04 ssh-agent -k [2021-11-11T18:44:38.735Z] unset SSH_AUTH_SOCK; [2021-11-11T18:44:38.735Z] unset SSH_AGENT_PID; [2021-11-11T18:44:38.735Z] echo Agent pid 20 killed; [2021-11-11T18:44:38.745Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-11T18:44:39.056Z] + git semver [Pipeline] } [2021-11-11T18:44:39.072Z] $ docker stop --time=1 a8d1ab1958a3ced83c6b2701b72531a8cda00b38717ff2c5ff14b150fdfa8e04 [2021-11-11T18:44:40.238Z] $ docker rm -f a8d1ab1958a3ced83c6b2701b72531a8cda00b38717ff2c5ff14b150fdfa8e04 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:44:40.618Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-11T18:44:40.618Z] [2021-11-11T18:44:40.618Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:44:40.925Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-11T18:44:40.925Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-11-11T18:44:40.925Z] ab5ef0e58194: Pulling fs layer [2021-11-11T18:44:40.925Z] 9712f1f96733: Pulling fs layer [2021-11-11T18:44:40.925Z] 63f879dbbcfc: Pulling fs layer [2021-11-11T18:44:40.925Z] 0d9ebad4ef96: Pulling fs layer [2021-11-11T18:44:40.925Z] e9a5061849ea: Pulling fs layer [2021-11-11T18:44:40.925Z] d747dcd14b5f: Pulling fs layer [2021-11-11T18:44:40.925Z] 2de7ff778b66: Pulling fs layer [2021-11-11T18:44:40.925Z] e9a5061849ea: Waiting [2021-11-11T18:44:40.925Z] d747dcd14b5f: Waiting [2021-11-11T18:44:40.925Z] 2de7ff778b66: Waiting [2021-11-11T18:44:40.925Z] 0d9ebad4ef96: Waiting [2021-11-11T18:44:40.925Z] 9712f1f96733: Verifying Checksum [2021-11-11T18:44:40.925Z] 9712f1f96733: Download complete [2021-11-11T18:44:41.531Z] ab5ef0e58194: Verifying Checksum [2021-11-11T18:44:41.531Z] ab5ef0e58194: Download complete [2021-11-11T18:44:41.531Z] 0d9ebad4ef96: Verifying Checksum [2021-11-11T18:44:41.531Z] 0d9ebad4ef96: Download complete [2021-11-11T18:44:41.531Z] d747dcd14b5f: Verifying Checksum [2021-11-11T18:44:41.531Z] d747dcd14b5f: Download complete [2021-11-11T18:44:41.531Z] 63f879dbbcfc: Verifying Checksum [2021-11-11T18:44:41.531Z] 63f879dbbcfc: Download complete [2021-11-11T18:44:41.531Z] e9a5061849ea: Verifying Checksum [2021-11-11T18:44:41.531Z] e9a5061849ea: Download complete [2021-11-11T18:44:41.531Z] 2de7ff778b66: Verifying Checksum [2021-11-11T18:44:41.531Z] 2de7ff778b66: Download complete [2021-11-11T18:44:44.125Z] ab5ef0e58194: Pull complete [2021-11-11T18:44:44.125Z] 9712f1f96733: Pull complete [2021-11-11T18:44:45.073Z] 63f879dbbcfc: Pull complete [2021-11-11T18:44:49.309Z] 0d9ebad4ef96: Pull complete [2021-11-11T18:44:49.577Z] e9a5061849ea: Pull complete [2021-11-11T18:44:49.577Z] d747dcd14b5f: Pull complete [2021-11-11T18:44:51.022Z] 2de7ff778b66: Pull complete [2021-11-11T18:44:51.022Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-11-11T18:44:51.022Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-11T18:44:51.022Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-11-11T18:44:51.079Z] prd-centos7-docker-4c-2g-177 does not seem to be running inside a container [2021-11-11T18:44:51.107Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-11-11T18:44:54.322Z] $ docker top e5aa9c68551d09e72601962f6b121825455cda04a207214c46287de29d1e0640 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-11-11T18:44:54.418Z] provisioning config files... [2021-11-11T18:44:54.428Z] copy managed file [sigul-config] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config8797702618189559405tmp [2021-11-11T18:44:54.439Z] copy managed file [sigul-password] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config1045935402912554757tmp [2021-11-11T18:44:54.450Z] copy managed file [sigul-pki] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config3283231482218958014tmp [Pipeline] { [Pipeline] echo [2021-11-11T18:44:54.464Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T18:44:54.749Z] ---> sigul-configuration.sh [2021-11-11T18:44:54.749Z] gpg: directory `/root/.gnupg' created [2021-11-11T18:44:54.749Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-11-11T18:44:54.749Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-11-11T18:44:54.749Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-11-11T18:44:54.749Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-11-11T18:44:54.749Z] gpg: CAST5 encrypted data [2021-11-11T18:44:54.749Z] gpg: encrypted with 1 passphrase [2021-11-11T18:44:54.749Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-11-11T18:44:55.039Z] + mkdir /home/jenkins [2021-11-11T18:44:55.039Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-11-11T18:44:55.330Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-11-11T18:44:55.338Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T18:44:55.627Z] ---> sigul-install.sh [2021-11-11T18:44:55.627Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-11-11T18:44:55.918Z] + git tag --list [2021-11-11T18:44:55.918Z] v0.1.0 [2021-11-11T18:44:55.918Z] v0.1.1 [2021-11-11T18:44:55.918Z] v1.0.0 [2021-11-11T18:44:55.918Z] v1.1.0 [2021-11-11T18:44:55.918Z] v1.2.0 [2021-11-11T18:44:55.918Z] v1.3.0 [2021-11-11T18:44:55.918Z] v1.3.1 [2021-11-11T18:44:55.918Z] v2.0.0 [2021-11-11T18:44:55.918Z] v2.0.1 [2021-11-11T18:44:55.918Z] v2.0.1-dev.1 [2021-11-11T18:44:55.918Z] v2.0.1-dev.2 [2021-11-11T18:44:55.918Z] v2.0.1-dev.3 [2021-11-11T18:44:55.918Z] v2.0.1-dev.4 [2021-11-11T18:44:55.918Z] v2.0.1-dev.5 [2021-11-11T18:44:55.918Z] v2.0.1-dev.6 [2021-11-11T18:44:55.918Z] v2.0.1-dev.7 [2021-11-11T18:44:55.918Z] v2.0.2-dev.1 [2021-11-11T18:44:55.918Z] v2.0.2-dev.10 [2021-11-11T18:44:55.918Z] v2.0.2-dev.11 [2021-11-11T18:44:55.918Z] v2.0.2-dev.12 [2021-11-11T18:44:55.918Z] v2.0.2-dev.13 [2021-11-11T18:44:55.918Z] v2.0.2-dev.14 [2021-11-11T18:44:55.918Z] v2.0.2-dev.15 [2021-11-11T18:44:55.918Z] v2.0.2-dev.16 [2021-11-11T18:44:55.918Z] v2.0.2-dev.17 [2021-11-11T18:44:55.918Z] v2.0.2-dev.18 [2021-11-11T18:44:55.918Z] v2.0.2-dev.19 [2021-11-11T18:44:55.918Z] v2.0.2-dev.2 [2021-11-11T18:44:55.918Z] v2.0.2-dev.20 [2021-11-11T18:44:55.918Z] v2.0.2-dev.21 [2021-11-11T18:44:55.918Z] v2.0.2-dev.22 [2021-11-11T18:44:55.918Z] v2.0.2-dev.23 [2021-11-11T18:44:55.918Z] v2.0.2-dev.24 [2021-11-11T18:44:55.918Z] v2.0.2-dev.25 [2021-11-11T18:44:55.918Z] v2.0.2-dev.26 [2021-11-11T18:44:55.918Z] v2.0.2-dev.27 [2021-11-11T18:44:55.918Z] v2.0.2-dev.28 [2021-11-11T18:44:55.918Z] v2.0.2-dev.29 [2021-11-11T18:44:55.918Z] v2.0.2-dev.3 [2021-11-11T18:44:55.918Z] v2.0.2-dev.30 [2021-11-11T18:44:55.918Z] v2.0.2-dev.31 [2021-11-11T18:44:55.918Z] v2.0.2-dev.32 [2021-11-11T18:44:55.918Z] v2.0.2-dev.33 [2021-11-11T18:44:55.918Z] v2.0.2-dev.34 [2021-11-11T18:44:55.918Z] v2.0.2-dev.35 [2021-11-11T18:44:55.918Z] v2.0.2-dev.36 [2021-11-11T18:44:55.918Z] v2.0.2-dev.37 [2021-11-11T18:44:55.918Z] v2.0.2-dev.38 [2021-11-11T18:44:55.918Z] v2.0.2-dev.39 [2021-11-11T18:44:55.918Z] v2.0.2-dev.4 [2021-11-11T18:44:55.918Z] v2.0.2-dev.40 [2021-11-11T18:44:55.918Z] v2.0.2-dev.41 [2021-11-11T18:44:55.918Z] v2.0.2-dev.42 [2021-11-11T18:44:55.918Z] v2.0.2-dev.43 [2021-11-11T18:44:55.918Z] v2.0.2-dev.44 [2021-11-11T18:44:55.918Z] v2.0.2-dev.45 [2021-11-11T18:44:55.918Z] v2.0.2-dev.5 [2021-11-11T18:44:55.918Z] v2.0.2-dev.6 [2021-11-11T18:44:55.918Z] v2.0.2-dev.7 [2021-11-11T18:44:55.918Z] v2.0.2-dev.8 [2021-11-11T18:44:55.918Z] v2.0.2-dev.9 [Pipeline] sh [2021-11-11T18:44:56.223Z] + lftools sign git-tag v2.0.2-dev.45 [2021-11-11T18:44:56.794Z] Signing Git tag with Sigul... [2021-11-11T18:44:56.794Z] Signing v2.0.2-dev.45 [Pipeline] echo [2021-11-11T18:44:57.753Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T18:44:58.045Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-11-11T18:44:58.058Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-11-11T18:44:58.073Z] $ docker stop --time=1 e5aa9c68551d09e72601962f6b121825455cda04a207214c46287de29d1e0640 [2021-11-11T18:44:59.275Z] $ docker rm -f e5aa9c68551d09e72601962f6b121825455cda04a207214c46287de29d1e0640 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:44:59.870Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-11T18:44:59.870Z] . [Pipeline] withDockerContainer [2021-11-11T18:44:59.930Z] prd-centos7-docker-4c-2g-177 does not seem to be running inside a container [2021-11-11T18:44:59.961Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-11T18:45:00.310Z] $ docker top 650a49e97ef346df83ca62ec3a5fbefd244ad389e88d4b354ddf5d888c9c6d2f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-11T18:45:00.401Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-11T18:45:00.401Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-11T18:45:00.495Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-11T18:45:00.495Z] $ docker exec 650a49e97ef346df83ca62ec3a5fbefd244ad389e88d4b354ddf5d888c9c6d2f ssh-agent [2021-11-11T18:45:00.587Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEGPjEk/agent.12 [2021-11-11T18:45:00.587Z] SSH_AGENT_PID=20 [2021-11-11T18:45:00.592Z] Running ssh-add (command line suppressed) [2021-11-11T18:45:00.686Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_3371360196922724021.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_3371360196922724021.key) [2021-11-11T18:45:00.700Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-11T18:45:00.991Z] + git semver bump pre [2021-11-11T18:45:00.991Z] # -> Open(): unable to determine branch for HEAD [2021-11-11T18:45:00.991Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2021-11-11T18:45:00.991Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2021-11-11T18:45:00.991Z] # $SEMVER_REMOTE_NAME = origin [2021-11-11T18:45:00.991Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-11T18:45:00.991Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-11T18:45:00.991Z] # $SEMVER_BRANCH = main [2021-11-11T18:45:00.991Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [2021-11-11T18:45:00.991Z] 2.0.2-dev.46 [Pipeline] } [2021-11-11T18:45:00.998Z] $ docker exec --env ******** --env ******** 650a49e97ef346df83ca62ec3a5fbefd244ad389e88d4b354ddf5d888c9c6d2f ssh-agent -k [2021-11-11T18:45:01.110Z] unset SSH_AUTH_SOCK; [2021-11-11T18:45:01.110Z] unset SSH_AGENT_PID; [2021-11-11T18:45:01.110Z] echo Agent pid 20 killed; [2021-11-11T18:45:01.119Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-11T18:45:01.433Z] + git semver [Pipeline] } [2021-11-11T18:45:01.447Z] $ docker stop --time=1 650a49e97ef346df83ca62ec3a5fbefd244ad389e88d4b354ddf5d888c9c6d2f [2021-11-11T18:45:02.685Z] $ docker rm -f 650a49e97ef346df83ca62ec3a5fbefd244ad389e88d4b354ddf5d888c9c6d2f [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:45:03.064Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-11T18:45:03.064Z] . [Pipeline] withDockerContainer [2021-11-11T18:45:03.127Z] prd-centos7-docker-4c-2g-177 does not seem to be running inside a container [2021-11-11T18:45:03.159Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-11T18:45:03.595Z] $ docker top e5a3f4dee1afa7f6b96de1d6a79b8c7e1870876575517948eabe9779acb0bb59 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-11T18:45:03.719Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-11T18:45:03.719Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-11T18:45:03.883Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-11T18:45:03.884Z] $ docker exec e5a3f4dee1afa7f6b96de1d6a79b8c7e1870876575517948eabe9779acb0bb59 ssh-agent [2021-11-11T18:45:04.041Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXckAOJp/agent.13 [2021-11-11T18:45:04.041Z] SSH_AGENT_PID=19 [2021-11-11T18:45:04.050Z] Running ssh-add (command line suppressed) [2021-11-11T18:45:04.136Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_616507104061510563.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_616507104061510563.key) [2021-11-11T18:45:04.152Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-11T18:45:04.442Z] + git semver push [2021-11-11T18:45:04.442Z] # -> Open(): unable to determine branch for HEAD [2021-11-11T18:45:04.442Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2021-11-11T18:45:04.442Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2021-11-11T18:45:04.442Z] # $SEMVER_REMOTE_NAME = origin [2021-11-11T18:45:04.442Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-11T18:45:04.442Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-11T18:45:04.442Z] # $SEMVER_BRANCH = main [2021-11-11T18:45:04.442Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [Pipeline] } [2021-11-11T18:45:06.995Z] $ docker exec --env ******** --env ******** e5a3f4dee1afa7f6b96de1d6a79b8c7e1870876575517948eabe9779acb0bb59 ssh-agent -k [2021-11-11T18:45:07.091Z] unset SSH_AUTH_SOCK; [2021-11-11T18:45:07.092Z] unset SSH_AGENT_PID; [2021-11-11T18:45:07.092Z] echo Agent pid 19 killed; [2021-11-11T18:45:07.099Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-11T18:45:07.405Z] + git semver [Pipeline] } [2021-11-11T18:45:07.413Z] $ docker stop --time=1 e5a3f4dee1afa7f6b96de1d6a79b8c7e1870876575517948eabe9779acb0bb59 [2021-11-11T18:45:08.584Z] $ docker rm -f e5a3f4dee1afa7f6b96de1d6a79b8c7e1870876575517948eabe9779acb0bb59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-11-11T18:45:09.513Z] + '[' -d /w/workspace/oundry_app-functions-sdk-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-11T18:45:09.830Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T18:45:10.388Z] ---> package-listing.sh [2021-11-11T18:45:10.388Z] ++ facter osfamily [2021-11-11T18:45:10.388Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-11T18:45:10.648Z] + OS_FAMILY=redhat [2021-11-11T18:45:10.648Z] + workspace=/w/workspace/oundry_app-functions-sdk-go_main [2021-11-11T18:45:10.648Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-11T18:45:10.648Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-11T18:45:10.648Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-11T18:45:10.648Z] + PACKAGES=/tmp/packages_start.txt [2021-11-11T18:45:10.648Z] + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' [2021-11-11T18:45:10.648Z] + PACKAGES=/tmp/packages_end.txt [2021-11-11T18:45:10.648Z] + case "${OS_FAMILY}" in [2021-11-11T18:45:10.648Z] + rpm -qa [2021-11-11T18:45:10.648Z] + sort [2021-11-11T18:45:11.218Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-11T18:45:11.218Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-11T18:45:11.218Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-11T18:45:11.218Z] + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' [2021-11-11T18:45:11.218Z] + mkdir -p /w/workspace/oundry_app-functions-sdk-go_main/archives/ [2021-11-11T18:45:11.218Z] + 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 [2021-11-11T18:45:11.490Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/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 [2021-11-11T18:45:11.772Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:45:12.325Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T18:45:12.325Z] [2021-11-11T18:45:12.325Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:45:12.625Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T18:45:12.626Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-11T18:45:12.626Z] b4d181a07f80: Pulling fs layer [2021-11-11T18:45:12.626Z] a1111a8f2ec3: Pulling fs layer [2021-11-11T18:45:12.626Z] ed53099fbce6: Pulling fs layer [2021-11-11T18:45:12.626Z] dc539afda2c1: Pulling fs layer [2021-11-11T18:45:12.626Z] 77bc0d833cb6: Pulling fs layer [2021-11-11T18:45:12.626Z] 9065ff56babe: Pulling fs layer [2021-11-11T18:45:12.626Z] d287ab97295c: Pulling fs layer [2021-11-11T18:45:12.626Z] 9065ff56babe: Waiting [2021-11-11T18:45:12.626Z] dc539afda2c1: Waiting [2021-11-11T18:45:12.626Z] 77bc0d833cb6: Waiting [2021-11-11T18:45:12.626Z] d287ab97295c: Waiting [2021-11-11T18:45:12.626Z] a1111a8f2ec3: Verifying Checksum [2021-11-11T18:45:12.626Z] a1111a8f2ec3: Download complete [2021-11-11T18:45:12.626Z] dc539afda2c1: Verifying Checksum [2021-11-11T18:45:12.626Z] dc539afda2c1: Download complete [2021-11-11T18:45:12.626Z] ed53099fbce6: Verifying Checksum [2021-11-11T18:45:12.626Z] ed53099fbce6: Download complete [2021-11-11T18:45:12.626Z] 9065ff56babe: Verifying Checksum [2021-11-11T18:45:12.626Z] 9065ff56babe: Download complete [2021-11-11T18:45:12.890Z] 77bc0d833cb6: Verifying Checksum [2021-11-11T18:45:12.890Z] 77bc0d833cb6: Download complete [2021-11-11T18:45:12.890Z] b4d181a07f80: Verifying Checksum [2021-11-11T18:45:12.890Z] b4d181a07f80: Download complete [2021-11-11T18:45:13.471Z] d287ab97295c: Verifying Checksum [2021-11-11T18:45:13.471Z] d287ab97295c: Download complete [2021-11-11T18:45:14.041Z] b4d181a07f80: Pull complete [2021-11-11T18:45:14.300Z] a1111a8f2ec3: Pull complete [2021-11-11T18:45:14.873Z] ed53099fbce6: Pull complete [2021-11-11T18:45:14.873Z] dc539afda2c1: Pull complete [2021-11-11T18:45:15.136Z] 77bc0d833cb6: Pull complete [2021-11-11T18:45:15.395Z] 9065ff56babe: Pull complete [2021-11-11T18:45:20.714Z] d287ab97295c: Pull complete [2021-11-11T18:45:20.714Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-11T18:45:20.714Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T18:45:20.714Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-11T18:45:20.780Z] prd-centos7-docker-4c-2g-177 does not seem to be running inside a container [2021-11-11T18:45:20.815Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/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 [2021-11-11T18:45:22.785Z] $ docker top 69fdbc2eb31d4baafc429bdac3a0ddadaec826ebcc02be94f0c5966ebf33e8fe -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-11T18:45:23.142Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-11T18:45:23.435Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-11T18:45:23.730Z] + ls /var/log/sa-host [2021-11-11T18:45:23.731Z] + sadf -c /var/log/sa-host/sa11 [2021-11-11T18:45:23.731Z] file_magic: OK [2021-11-11T18:45:23.731Z] HZ: Using current value: 100 [2021-11-11T18:45:23.731Z] file_header: OK [2021-11-11T18:45:23.731Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-11-11T18:45:23.731Z] Statistics: [2021-11-11T18:45:23.731Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-11T18:45:23.731Z] File successfully converted to sysstat format version 12.0.3 [2021-11-11T18:45:23.731Z] + sadf -c /var/log/sa-host/sa30 [2021-11-11T18:45:23.731Z] file_magic: OK [2021-11-11T18:45:23.731Z] HZ: Using current value: 100 [2021-11-11T18:45:23.731Z] file_header: OK [2021-11-11T18:45:23.731Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-11-11T18:45:23.731Z] Statistics: [2021-11-11T18:45:23.731Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-11T18:45:23.731Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-11T18:45:23.815Z] provisioning config files... [2021-11-11T18:45:23.826Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config2697028477152650105tmp [Pipeline] { [Pipeline] echo [2021-11-11T18:45:23.840Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T18:45:24.128Z] ---> create-netrc.sh [Pipeline] } [2021-11-11T18:45:24.135Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-11T18:45:24.473Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-11T18:45:24.483Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T18:45:24.781Z] ---> sudo-logs.sh [2021-11-11T18:45:24.781Z] Archiving 'sudo' log.. [2021-11-11T18:45:25.040Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-177.novalocal: Name or service not known [2021-11-11T18:45:25.041Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-177.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-11T18:45:25.063Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T18:45:25.346Z] ---> job-cost.sh [2021-11-11T18:45:25.346Z] lf-activate-venv: SKIPPING [2021-11-11T18:45:25.346Z] DEBUG: total: 0.10999999940395355 [2021-11-11T18:45:25.346Z] INFO: Retrieving Stack Cost... [2021-11-11T18:45:29.539Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-11T18:45:29.539Z] INFO: Archiving Costs [Pipeline] echo [2021-11-11T18:45:29.554Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T18:45:29.850Z] ---> logs-deploy.sh [2021-11-11T18:45:29.850Z] lf-activate-venv: SKIPPING [2021-11-11T18:45:29.850Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/main/58 [2021-11-11T18:45:29.850Z] INFO: archiving workspace using pattern(s): [2021-11-11T18:45:30.426Z] Archives upload complete. [2021-11-11T18:45:30.687Z] INFO: archiving logs to Nexus