Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c65d10e135e3ef80f0bf631db50596f792cc9a4b 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-ssh4047962820652912278.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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-ssh8053703220748809158.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 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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-ssh2444221959494354486.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9a07f3f07dd1acff74ab8b51a5ea399813bb16af # timeout=10 Commit message: "Merge pull request #362 from edgexfoundry/lts-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh997872819861956150.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-ssh1684673630260012776.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 ‘prd-centos7-docker-4c-2g-13833’ is offline Running on prd-centos7-docker-4c-2g-13836 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-ssh2147776521895572266.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 c65d10e135e3ef80f0bf631db50596f792cc9a4b (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 c65d10e135e3ef80f0bf631db50596f792cc9a4b # timeout=10 Commit message: "fix(transforms): MQTTSend should treat connection not open as error. (#992)" > git rev-list --no-walk 8fa13c6388ce76a6b878b54490eac61aa7d81165 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-02T16:43:39.254Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-02T16:43:39.286Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-02T16:43:39.297Z] ========================================================= [2021-11-02T16:43:39.297Z] EdgeX Global Pipelines Version Info [2021-11-02T16:43:39.297Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-02T16:43:40.426Z] ------------------- [2021-11-02T16:43:40.426Z] stable info: [2021-11-02T16:43:40.426Z] ------------------- [2021-11-02T16:43:40.426Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-02T16:43:40.426Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-02T16:43:40.426Z] Message: update stable to v1.0.211 [2021-11-02T16:43:40.998Z] ------------------- [2021-11-02T16:43:40.998Z] experimental info: [2021-11-02T16:43:40.998Z] ------------------- [2021-11-02T16:43:40.998Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-02T16:43:40.998Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-02T16:43:40.998Z] Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-02T16:43:41.077Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-11-02T16:43:41.086Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-11-02T16:43:41.097Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-02T16:43:41.107Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-02T16:43:41.117Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-02T16:43:41.127Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-02T16:43:41.137Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-02T16:43:41.147Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-11-02T16:43:41.157Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-02T16:43:41.168Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-02T16:43:41.178Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-02T16:43:41.186Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2021-11-02T16:43:41.194Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-02T16:43:41.203Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-02T16:43:41.211Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-11-02T16:43:41.226Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-11-02T16:43:41.235Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-02T16:43:41.243Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-02T16:43:41.250Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-02T16:43:41.257Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-11-02T16:43:41.270Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-11-02T16:43:41.279Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-11-02T16:43:41.288Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-02T16:43:41.295Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-02T16:43:41.303Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-11-02T16:43:41.316Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-02T16:43:41.326Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-11-02T16:43:41.339Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-11-02T16:43:41.354Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-11-02T16:43:41.365Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c65d10e135e3ef80f0bf631db50596f792cc9a4b [Pipeline] echo [2021-11-02T16:43:41.379Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c65d10e [Pipeline] echo [2021-11-02T16:43:41.392Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-02T16:43:42.458Z] + git rev-list -1 --merges c65d10e135e3ef80f0bf631db50596f792cc9a4b~1..c65d10e135e3ef80f0bf631db50596f792cc9a4b [Pipeline] echo [2021-11-02T16:43:42.493Z] -----------> git rev-list -1 --merges c65d10e135e3ef80f0bf631db50596f792cc9a4b~1..c65d10e135e3ef80f0bf631db50596f792cc9a4b c65d10e135e3ef80f0bf631db50596f792cc9a4b [false] [Pipeline] sh [2021-11-02T16:43:42.789Z] + git log --format=format:%s -1 c65d10e135e3ef80f0bf631db50596f792cc9a4b [Pipeline] echo [2021-11-02T16:43:42.805Z] ========================================================= [2021-11-02T16:43:42.805Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-02T16:43:42.805Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-02T16:43:43.142Z] + git log --format=format:%s -1 c65d10e135e3ef80f0bf631db50596f792cc9a4b [Pipeline] echo [2021-11-02T16:43:43.153Z] [semverPrep] GIT_COMMIT: c65d10e135e3ef80f0bf631db50596f792cc9a4b, Commit Message: fix(transforms): MQTTSend should treat connection not open as error. (#992) [Pipeline] echo [2021-11-02T16:43:43.161Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-02T16:43:43.746Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-02T16:43:43.746Z] [2021-11-02T16:43:43.746Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-02T16:43:44.054Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-02T16:43:44.054Z] latest: Pulling from edgex-devops/git-semver [2021-11-02T16:43:44.054Z] a0d0a0d46f8b: Pulling fs layer [2021-11-02T16:43:44.054Z] 3e5f54012d9b: Pulling fs layer [2021-11-02T16:43:44.054Z] 4c7163046ea9: Pulling fs layer [2021-11-02T16:43:44.054Z] 0c2d73faf560: Pulling fs layer [2021-11-02T16:43:44.054Z] 0c2d73faf560: Waiting [2021-11-02T16:43:44.054Z] 3e5f54012d9b: Verifying Checksum [2021-11-02T16:43:44.054Z] 3e5f54012d9b: Download complete [2021-11-02T16:43:44.054Z] a0d0a0d46f8b: Verifying Checksum [2021-11-02T16:43:44.054Z] a0d0a0d46f8b: Download complete [2021-11-02T16:43:44.314Z] 0c2d73faf560: Verifying Checksum [2021-11-02T16:43:44.314Z] 0c2d73faf560: Download complete [2021-11-02T16:43:44.314Z] 4c7163046ea9: Verifying Checksum [2021-11-02T16:43:44.314Z] 4c7163046ea9: Download complete [2021-11-02T16:43:44.314Z] a0d0a0d46f8b: Pull complete [2021-11-02T16:43:44.314Z] 3e5f54012d9b: Pull complete [2021-11-02T16:43:44.574Z] 4c7163046ea9: Pull complete [2021-11-02T16:43:44.834Z] 0c2d73faf560: Pull complete [2021-11-02T16:43:44.834Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-02T16:43:44.834Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-02T16:43:44.834Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-02T16:43:44.905Z] prd-centos7-docker-4c-2g-13836 does not seem to be running inside a container [2021-11-02T16:43:44.943Z] $ 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-02T16:43:45.498Z] $ docker top b7ca50396918830694d4e22b11622bb39d9b2bd3c5001b2c6be4193003c83e8f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-02T16:43:45.594Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-02T16:43:45.594Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-02T16:43:45.693Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-02T16:43:45.694Z] $ docker exec b7ca50396918830694d4e22b11622bb39d9b2bd3c5001b2c6be4193003c83e8f ssh-agent [2021-11-02T16:43:45.792Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFPbhlp/agent.15 [2021-11-02T16:43:45.792Z] SSH_AGENT_PID=21 [2021-11-02T16:43:45.799Z] Running ssh-add (command line suppressed) [2021-11-02T16:43:45.883Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7772856450239767014.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7772856450239767014.key) [2021-11-02T16:43:45.897Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-02T16:43:46.195Z] + git tag --points-at HEAD [Pipeline] } [2021-11-02T16:43:46.207Z] $ docker exec --env ******** --env ******** b7ca50396918830694d4e22b11622bb39d9b2bd3c5001b2c6be4193003c83e8f ssh-agent -k [2021-11-02T16:43:46.298Z] unset SSH_AUTH_SOCK; [2021-11-02T16:43:46.298Z] unset SSH_AGENT_PID; [2021-11-02T16:43:46.298Z] echo Agent pid 21 killed; [2021-11-02T16:43:46.309Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-02T16:43:46.331Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-02T16:43:46.331Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-02T16:43:46.454Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-02T16:43:46.456Z] $ docker exec b7ca50396918830694d4e22b11622bb39d9b2bd3c5001b2c6be4193003c83e8f ssh-agent [2021-11-02T16:43:46.565Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmofOiE/agent.54 [2021-11-02T16:43:46.565Z] SSH_AGENT_PID=61 [2021-11-02T16:43:46.569Z] Running ssh-add (command line suppressed) [2021-11-02T16:43:46.679Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_5795796532849901915.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_5795796532849901915.key) [2021-11-02T16:43:46.692Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-02T16:43:46.979Z] + git semver init [2021-11-02T16:43:46.979Z] # -> Open(): unable to determine branch for HEAD [2021-11-02T16:43:46.979Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2021-11-02T16:43:46.979Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2021-11-02T16:43:46.979Z] # $SEMVER_REMOTE_NAME = origin [2021-11-02T16:43:46.979Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-02T16:43:46.979Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-02T16:43:46.979Z] # $SEMVER_BRANCH = main [2021-11-02T16:43:46.979Z] # $SEMVER_TEMP = /tmp/semver-698818346 [2021-11-02T16:43:46.979Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-11-02T16:43:49.537Z] # '/tmp/semver-698818346' -> '/w/workspace/oundry_app-functions-sdk-go_main/.semver' [2021-11-02T16:43:49.537Z] # -> Force: false [2021-11-02T16:43:49.537Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [Pipeline] } [2021-11-02T16:43:49.547Z] $ docker exec --env ******** --env ******** b7ca50396918830694d4e22b11622bb39d9b2bd3c5001b2c6be4193003c83e8f ssh-agent -k [2021-11-02T16:43:49.632Z] unset SSH_AUTH_SOCK; [2021-11-02T16:43:49.632Z] unset SSH_AGENT_PID; [2021-11-02T16:43:49.632Z] echo Agent pid 61 killed; [2021-11-02T16:43:49.643Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-02T16:43:49.954Z] + git semver [Pipeline] } [2021-11-02T16:43:49.967Z] $ docker stop --time=1 b7ca50396918830694d4e22b11622bb39d9b2bd3c5001b2c6be4193003c83e8f [2021-11-02T16:43:51.304Z] $ docker rm -f b7ca50396918830694d4e22b11622bb39d9b2bd3c5001b2c6be4193003c83e8f [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-02T16:43:51.653Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-02T16:43:51.894Z] Stashed 1 file(s) [Pipeline] echo [2021-11-02T16:43:51.897Z] [edgeXSemver]: initialized semver on version 2.0.2-dev.39 [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-02T16:44:07.090Z] Still waiting to schedule task [2021-11-02T16:44:07.090Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-11-02T16:44:07.091Z] Still waiting to schedule task [2021-11-02T16:44:07.091Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-13834’ is offline [2021-11-02T16:45:50.779Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-13837 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws [2021-11-02T16:45:50.791Z] Running in /w/workspace/app-functions-sdk-go/52 [Pipeline] { [Pipeline] checkout [2021-11-02T16:45:50.988Z] The recommended git tool is: git [2021-11-02T16:45:56.416Z] using credential edgex-jenkins-ssh [2021-11-02T16:45:56.432Z] Cloning the remote Git repository [2021-11-02T16:45:56.488Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-11-02T16:45:56.595Z] > git init /w/workspace/app-functions-sdk-go/52 # timeout=10 [2021-11-02T16:45:56.697Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-11-02T16:45:56.698Z] > git --version # timeout=10 [2021-11-02T16:45:56.722Z] > git --version # 'git version 2.17.1' [2021-11-02T16:45:56.724Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-02T16:45:56.833Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-02T16:46:00.063Z] Avoid second fetch [2021-11-02T16:46:00.064Z] Checking out Revision c65d10e135e3ef80f0bf631db50596f792cc9a4b (main) [2021-11-02T16:46:00.018Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-11-02T16:46:00.035Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-02T16:46:00.092Z] > git config core.sparsecheckout # timeout=10 [2021-11-02T16:46:00.109Z] > git checkout -f c65d10e135e3ef80f0bf631db50596f792cc9a4b # timeout=10 [2021-11-02T16:46:04.442Z] Commit message: "fix(transforms): MQTTSend should treat connection not open as error. (#992)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-02T16:46:05.424Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-02T16:46:05.424Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-02T16:46:05.424Z] Dload Upload Total Spent Left Speed [2021-11-02T16:46:06.403Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 89 11824 89 10504 0 0 8746 0 0:00:01 0:00:01 --:--:-- 8738 100 11824 100 11824 0 0 9828 0 0:00:01 0:00:01 --:--:-- 9828 [Pipeline] sh [2021-11-02T16:46:06.821Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-02T16:46:07.161Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-02T16:46:07.162Z] + sudo tee /etc/docker/daemon.new [2021-11-02T16:46:07.162Z] { [2021-11-02T16:46:07.162Z] "registry-mirrors": [ [2021-11-02T16:46:07.162Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-02T16:46:07.162Z] ], [2021-11-02T16:46:07.162Z] "bip": "10.250.0.254/24", [2021-11-02T16:46:07.162Z] "hosts": [ [2021-11-02T16:46:07.162Z] "tcp://0.0.0.0:5555", [2021-11-02T16:46:07.162Z] "unix:///var/run/docker.sock" [2021-11-02T16:46:07.162Z] ], [2021-11-02T16:46:07.162Z] "mtu": 1458, [2021-11-02T16:46:07.162Z] "selinux-enabled": true, [2021-11-02T16:46:07.162Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-02T16:46:07.162Z] } [Pipeline] sh [2021-11-02T16:46:07.510Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-02T16:46:07.851Z] + sudo service docker restart [2021-11-02T16:46:14.714Z] Running on prd-centos7-docker-4c-2g-13838 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws [2021-11-02T16:46:14.725Z] Running in /w/workspace/app-functions-sdk-go/52 [Pipeline] { [Pipeline] checkout [2021-11-02T16:46:14.827Z] The recommended git tool is: git [2021-11-02T16:46:16.797Z] using credential edgex-jenkins-ssh [2021-11-02T16:46:16.808Z] Cloning the remote Git repository [2021-11-02T16:46:16.917Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-11-02T16:46:16.968Z] > git init /w/workspace/app-functions-sdk-go/52 # timeout=10 [2021-11-02T16:46:17.006Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-11-02T16:46:17.006Z] > git --version # timeout=10 [2021-11-02T16:46:17.021Z] > git --version # 'git version 2.24.4' [2021-11-02T16:46:17.021Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-02T16:46:17.042Z] [INFO] Currently running in a labeled security context [2021-11-02T16:46:17.043Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-02T16:46:17.043Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/52@tmp/jenkins-gitclient-ssh3983290155372980233.key [2021-11-02T16:46:17.070Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-02T16:46:18.689Z] Avoid second fetch [2021-11-02T16:46:18.689Z] Checking out Revision c65d10e135e3ef80f0bf631db50596f792cc9a4b (main) [2021-11-02T16:46:18.762Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-11-02T16:46:18.766Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-02T16:46:18.787Z] > git config core.sparsecheckout # timeout=10 [2021-11-02T16:46:18.793Z] > git checkout -f c65d10e135e3ef80f0bf631db50596f792cc9a4b # timeout=10 [2021-11-02T16:46:22.269Z] Commit message: "fix(transforms): MQTTSend should treat connection not open as error. (#992)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2021-11-02T16:46:22.793Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-02T16:46:22.803Z] ========================================================= [2021-11-02T16:46:22.803Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-02T16:46:22.803Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-11-02T16:46:23.201Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-02T16:46:23.201Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-02T16:46:23.201Z] a0d0a0d46f8b: Pulling fs layer [2021-11-02T16:46:23.201Z] 31adcdaf11c8: Pulling fs layer [2021-11-02T16:46:23.201Z] b8b176561691: Pulling fs layer [2021-11-02T16:46:23.201Z] 4527c011a84f: Pulling fs layer [2021-11-02T16:46:23.201Z] 5d74067f8e1e: Pulling fs layer [2021-11-02T16:46:23.201Z] e0aca202a116: Pulling fs layer [2021-11-02T16:46:23.201Z] 3a43be97a3b4: Pulling fs layer [2021-11-02T16:46:23.201Z] 34cad66bf833: Pulling fs layer [2021-11-02T16:46:23.201Z] b4e3c513aaa6: Pulling fs layer [2021-11-02T16:46:23.201Z] e0aca202a116: Waiting [2021-11-02T16:46:23.201Z] 3a43be97a3b4: Waiting [2021-11-02T16:46:23.201Z] 34cad66bf833: Waiting [2021-11-02T16:46:23.201Z] b4e3c513aaa6: Waiting [2021-11-02T16:46:23.201Z] 4527c011a84f: Waiting [2021-11-02T16:46:23.201Z] 5d74067f8e1e: Waiting [2021-11-02T16:46:23.201Z] b8b176561691: Verifying Checksum [2021-11-02T16:46:23.201Z] b8b176561691: Download complete [2021-11-02T16:46:23.201Z] 31adcdaf11c8: Verifying Checksum [2021-11-02T16:46:23.201Z] 31adcdaf11c8: Download complete [2021-11-02T16:46:23.201Z] 5d74067f8e1e: Verifying Checksum [2021-11-02T16:46:23.201Z] 5d74067f8e1e: Download complete [2021-11-02T16:46:23.201Z] e0aca202a116: Verifying Checksum [2021-11-02T16:46:23.201Z] e0aca202a116: Download complete [2021-11-02T16:46:23.201Z] 3a43be97a3b4: Verifying Checksum [2021-11-02T16:46:23.201Z] 3a43be97a3b4: Download complete [2021-11-02T16:46:23.201Z] a0d0a0d46f8b: Download complete [2021-11-02T16:46:23.472Z] 34cad66bf833: Verifying Checksum [2021-11-02T16:46:23.472Z] 34cad66bf833: Download complete [2021-11-02T16:46:23.739Z] a0d0a0d46f8b: Pull complete [2021-11-02T16:46:24.007Z] 4527c011a84f: Verifying Checksum [2021-11-02T16:46:24.007Z] 4527c011a84f: Download complete [2021-11-02T16:46:24.007Z] b4e3c513aaa6: Verifying Checksum [2021-11-02T16:46:24.007Z] b4e3c513aaa6: Download complete [2021-11-02T16:46:24.007Z] 31adcdaf11c8: Pull complete [2021-11-02T16:46:24.007Z] b8b176561691: Pull complete [Pipeline] unstash [Pipeline] echo [2021-11-02T16:46:26.673Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-02T16:46:26.689Z] ========================================================= [2021-11-02T16:46:26.689Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-02T16:46:26.689Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-11-02T16:46:27.111Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-02T16:46:27.343Z] 4527c011a84f: Pull complete [2021-11-02T16:46:27.602Z] 5d74067f8e1e: Pull complete [2021-11-02T16:46:27.602Z] e0aca202a116: Pull complete [2021-11-02T16:46:27.602Z] 3a43be97a3b4: Pull complete [2021-11-02T16:46:27.876Z] 34cad66bf833: Pull complete [2021-11-02T16:46:28.100Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-02T16:46:28.100Z] 552d1f2373af: Pulling fs layer [2021-11-02T16:46:28.100Z] ea3f2d53f512: Pulling fs layer [2021-11-02T16:46:28.100Z] 9e70ebbbe112: Pulling fs layer [2021-11-02T16:46:28.100Z] 7a9cfe048b4a: Pulling fs layer [2021-11-02T16:46:28.100Z] 72dc09318566: Pulling fs layer [2021-11-02T16:46:28.100Z] f4f7b4309257: Pulling fs layer [2021-11-02T16:46:28.100Z] 0ac9a79272e3: Pulling fs layer [2021-11-02T16:46:28.100Z] b78e95d17946: Pulling fs layer [2021-11-02T16:46:28.100Z] 0ac9a79272e3: Waiting [2021-11-02T16:46:28.100Z] 7a9cfe048b4a: Waiting [2021-11-02T16:46:28.100Z] 72dc09318566: Waiting [2021-11-02T16:46:28.100Z] 9e70ebbbe112: Download complete [2021-11-02T16:46:28.100Z] ea3f2d53f512: Verifying Checksum [2021-11-02T16:46:28.100Z] ea3f2d53f512: Download complete [2021-11-02T16:46:28.379Z] 72dc09318566: Verifying Checksum [2021-11-02T16:46:28.379Z] 72dc09318566: Download complete [2021-11-02T16:46:28.379Z] f4f7b4309257: Verifying Checksum [2021-11-02T16:46:28.379Z] f4f7b4309257: Download complete [2021-11-02T16:46:28.379Z] 552d1f2373af: Verifying Checksum [2021-11-02T16:46:28.379Z] 552d1f2373af: Download complete [2021-11-02T16:46:28.379Z] 0ac9a79272e3: Verifying Checksum [2021-11-02T16:46:28.379Z] 0ac9a79272e3: Download complete [2021-11-02T16:46:29.361Z] 552d1f2373af: Pull complete [2021-11-02T16:46:29.828Z] b4e3c513aaa6: Pull complete [2021-11-02T16:46:29.828Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-02T16:46:29.828Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-02T16:46:29.828Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh [2021-11-02T16:46:29.962Z] ea3f2d53f512: Pull complete [2021-11-02T16:46:30.136Z] + 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-02T16:46:30.238Z] 9e70ebbbe112: Pull complete [2021-11-02T16:46:30.238Z] b78e95d17946: Verifying Checksum [2021-11-02T16:46:30.238Z] b78e95d17946: Download complete [2021-11-02T16:46:30.440Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-02T16:46:30.440Z] . [Pipeline] withDockerContainer [2021-11-02T16:46:30.517Z] prd-centos7-docker-4c-2g-13838 does not seem to be running inside a container [2021-11-02T16:46:30.559Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/52 -v /w/workspace/app-functions-sdk-go/52:/w/workspace/app-functions-sdk-go/52:rw,z -v /w/workspace/app-functions-sdk-go/52@tmp:/w/workspace/app-functions-sdk-go/52@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-02T16:46:30.847Z] 7a9cfe048b4a: Verifying Checksum [2021-11-02T16:46:30.847Z] 7a9cfe048b4a: Download complete [2021-11-02T16:46:34.099Z] $ docker top fe4e4b2379160f7011887af42000be0254f04ae5fcc60964c0e4bf581e3e9aac -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-02T16:46:34.480Z] + go version [2021-11-02T16:46:34.480Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-02T16:46:34.492Z] $ docker stop --time=1 fe4e4b2379160f7011887af42000be0254f04ae5fcc60964c0e4bf581e3e9aac [2021-11-02T16:46:35.681Z] $ docker rm -f fe4e4b2379160f7011887af42000be0254f04ae5fcc60964c0e4bf581e3e9aac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-02T16:46:36.897Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-02T16:46:36.897Z] . [Pipeline] withDockerContainer [2021-11-02T16:46:36.957Z] prd-centos7-docker-4c-2g-13838 does not seem to be running inside a container [2021-11-02T16:46:36.997Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/52 -v /w/workspace/app-functions-sdk-go/52:/w/workspace/app-functions-sdk-go/52:rw,z -v /w/workspace/app-functions-sdk-go/52@tmp:/w/workspace/app-functions-sdk-go/52@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-02T16:46:37.360Z] $ docker top d81a455a27575caa3ce04c7c5dfd98d863693feda7a46a37a8ead2f2cc65780d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-02T16:46:37.725Z] + make test [2021-11-02T16:46:37.725Z] make -C ./app-service-template build [2021-11-02T16:46:37.725Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/52/app-service-template' [2021-11-02T16:46:37.725Z] go mod tidy [2021-11-02T16:46:39.114Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.1-dev.26 [2021-11-02T16:46:39.114Z] go: downloading github.com/google/uuid v1.3.0 [2021-11-02T16:46:39.114Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-11-02T16:46:39.379Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.1-dev.20 [2021-11-02T16:46:39.379Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.2-dev.7 [2021-11-02T16:46:39.379Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.1-dev.9 [2021-11-02T16:46:39.641Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2021-11-02T16:46:39.641Z] go: downloading github.com/go-kit/kit v0.11.0 [2021-11-02T16:46:39.641Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2021-11-02T16:46:39.641Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-11-02T16:46:39.641Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-11-02T16:46:39.641Z] go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2021-11-02T16:46:39.641Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-11-02T16:46:39.907Z] go: downloading github.com/stretchr/objx v0.1.1 [2021-11-02T16:46:39.907Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2021-11-02T16:46:39.907Z] go: downloading github.com/leodido/go-urn v1.2.1 [2021-11-02T16:46:39.907Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2021-11-02T16:46:39.907Z] go: downloading golang.org/x/text v0.3.6 [2021-11-02T16:46:39.907Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-11-02T16:46:40.170Z] go: downloading github.com/go-playground/locales v0.14.0 [2021-11-02T16:46:40.744Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-11-02T16:46:40.744Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2021-11-02T16:46:40.744Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.1-dev.5 [2021-11-02T16:46:40.744Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.1-dev.9 [2021-11-02T16:46:41.005Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2021-11-02T16:46:41.005Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2021-11-02T16:46:41.005Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-11-02T16:46:41.005Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-11-02T16:46:41.005Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2021-11-02T16:46:41.005Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2021-11-02T16:46:41.005Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2021-11-02T16:46:41.005Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-11-02T16:46:41.005Z] go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 [2021-11-02T16:46:41.267Z] go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 [2021-11-02T16:46:41.267Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-11-02T16:46:41.267Z] go: downloading github.com/kr/pretty v0.3.0 [2021-11-02T16:46:41.267Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-11-02T16:46:41.267Z] go: downloading github.com/x448/float16 v0.8.4 [2021-11-02T16:46:41.268Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-11-02T16:46:41.529Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-11-02T16:46:41.529Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-11-02T16:46:41.529Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-11-02T16:46:41.529Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-11-02T16:46:41.529Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2021-11-02T16:46:41.529Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-11-02T16:46:41.529Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-11-02T16:46:41.529Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-11-02T16:46:41.529Z] go: downloading github.com/kr/text v0.2.0 [2021-11-02T16:46:41.529Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2021-11-02T16:46:41.529Z] go: downloading github.com/fatih/color v1.9.0 [2021-11-02T16:46:41.529Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-11-02T16:46:41.529Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-11-02T16:46:41.529Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-11-02T16:46:41.529Z] go: downloading github.com/pkg/errors v0.9.1 [2021-11-02T16:46:41.790Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-11-02T16:46:41.790Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2021-11-02T16:46:41.790Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-11-02T16:46:41.790Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2021-11-02T16:46:41.790Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-11-02T16:46:41.790Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-11-02T16:46:41.790Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-11-02T16:46:41.790Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-11-02T16:46:41.790Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-11-02T16:46:41.790Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-11-02T16:46:41.790Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2021-11-02T16:46:41.790Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2021-11-02T16:46:41.790Z] go: downloading github.com/miekg/dns v1.1.26 [2021-11-02T16:46:42.049Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-11-02T16:46:42.049Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2021-11-02T16:46:42.049Z] go: downloading github.com/onsi/gomega v1.7.0 [2021-11-02T16:46:42.050Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-11-02T16:46:42.050Z] go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c [2021-11-02T16:46:42.050Z] go: downloading gopkg.in/yaml.v2 v2.3.0 [2021-11-02T16:46:42.050Z] go: downloading github.com/hpcloud/tail v1.0.0 [2021-11-02T16:46:42.050Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2021-11-02T16:46:42.050Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2021-11-02T16:46:42.050Z] go: downloading github.com/golang/protobuf v1.5.2 [2021-11-02T16:46:42.050Z] go: downloading github.com/fsnotify/fsnotify v1.4.7 [2021-11-02T16:46:42.050Z] go: downloading google.golang.org/protobuf v1.27.1 [2021-11-02T16:46:42.313Z] go: downloading github.com/google/go-cmp v0.5.5 [2021-11-02T16:46:42.313Z] go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 [2021-11-02T16:46:42.575Z] 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-02T16:46:43.252Z] 7a9cfe048b4a: Pull complete [2021-11-02T16:46:43.252Z] 72dc09318566: Pull complete [2021-11-02T16:46:43.252Z] f4f7b4309257: Pull complete [2021-11-02T16:46:43.252Z] 0ac9a79272e3: Pull complete [2021-11-02T16:46:48.654Z] b78e95d17946: Pull complete [2021-11-02T16:46:48.654Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-02T16:46:48.654Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-02T16:46:48.654Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh [2021-11-02T16:46:48.991Z] + 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-02T16:46:49.337Z] + docker inspect -f . ci-base-image-arm64 [2021-11-02T16:46:49.337Z] . [Pipeline] withDockerContainer [2021-11-02T16:46:49.575Z] prd-ubuntu18.04-docker-arm64-4c-16g-13837 does not seem to be running inside a container [2021-11-02T16:46:49.667Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/52 -v /w/workspace/app-functions-sdk-go/52:/w/workspace/app-functions-sdk-go/52:rw,z -v /w/workspace/app-functions-sdk-go/52@tmp:/w/workspace/app-functions-sdk-go/52@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-02T16:46:53.659Z] $ docker top f8c8eeda19914f0a2263382fecaa2b32e2477c55c82c6d31e099620918cf6187 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-02T16:46:54.841Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/52/app-service-template' [2021-11-02T16:46:54.841Z] make -C ./app-service-template test [2021-11-02T16:46:54.841Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/52/app-service-template' [2021-11-02T16:46:54.841Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-11-02T16:46:54.850Z] + go version [2021-11-02T16:46:54.850Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-02T16:46:54.876Z] $ docker stop --time=1 f8c8eeda19914f0a2263382fecaa2b32e2477c55c82c6d31e099620918cf6187 [2021-11-02T16:46:56.651Z] $ docker rm -f f8c8eeda19914f0a2263382fecaa2b32e2477c55c82c6d31e099620918cf6187 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-02T16:46:57.356Z] + docker inspect -f . ci-base-image-arm64 [2021-11-02T16:46:57.357Z] . [Pipeline] withDockerContainer [2021-11-02T16:46:57.595Z] prd-ubuntu18.04-docker-arm64-4c-16g-13837 does not seem to be running inside a container [2021-11-02T16:46:57.692Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/52 -v /w/workspace/app-functions-sdk-go/52:/w/workspace/app-functions-sdk-go/52:rw,z -v /w/workspace/app-functions-sdk-go/52@tmp:/w/workspace/app-functions-sdk-go/52@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-02T16:46:59.210Z] $ docker top d9e3f781f59df930dce391f79dd4ff7e8e153c4f97f5bd97c25a3d5cc3369be3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-02T16:47:00.136Z] + make test [2021-11-02T16:47:00.136Z] make -C ./app-service-template build [2021-11-02T16:47:00.137Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/52/app-service-template' [2021-11-02T16:47:00.137Z] go mod tidy [2021-11-02T16:47:02.116Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.1-dev.26 [2021-11-02T16:47:02.116Z] go: downloading github.com/google/uuid v1.3.0 [2021-11-02T16:47:02.116Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-11-02T16:47:02.116Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.1-dev.20 [2021-11-02T16:47:02.116Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.2-dev.7 [2021-11-02T16:47:02.116Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.1-dev.9 [2021-11-02T16:47:02.390Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-11-02T16:47:02.390Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-11-02T16:47:02.390Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2021-11-02T16:47:02.390Z] go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2021-11-02T16:47:02.390Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-11-02T16:47:02.390Z] go: downloading github.com/stretchr/objx v0.1.1 [2021-11-02T16:47:02.390Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2021-11-02T16:47:02.666Z] go: downloading github.com/go-kit/kit v0.11.0 [2021-11-02T16:47:02.666Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-11-02T16:47:02.666Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2021-11-02T16:47:02.666Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.1-dev.5 [2021-11-02T16:47:02.666Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.1-dev.9 [2021-11-02T16:47:02.666Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2021-11-02T16:47:02.666Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2021-11-02T16:47:02.943Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-11-02T16:47:02.943Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2021-11-02T16:47:02.943Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-11-02T16:47:02.943Z] go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 [2021-11-02T16:47:02.943Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2021-11-02T16:47:02.943Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-11-02T16:47:02.943Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2021-11-02T16:47:02.943Z] go: downloading github.com/leodido/go-urn v1.2.1 [2021-11-02T16:47:03.070Z] ok new-app-service 0.010s coverage: 48.1% of statements [2021-11-02T16:47:03.070Z] ? new-app-service/config [no test files] [2021-11-02T16:47:03.070Z] ok new-app-service/functions 0.007s [2021-11-02T16:47:03.070Z] CGO_ENABLED=1 go vet ./... [2021-11-02T16:47:03.219Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2021-11-02T16:47:03.219Z] go: downloading golang.org/x/text v0.3.6 [2021-11-02T16:47:03.497Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-11-02T16:47:03.497Z] go: downloading github.com/go-playground/locales v0.14.0 [2021-11-02T16:47:06.133Z] go: downloading github.com/kr/pretty v0.3.0 [2021-11-02T16:47:06.133Z] go: downloading github.com/x448/float16 v0.8.4 [2021-11-02T16:47:06.133Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2021-11-02T16:47:06.414Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-11-02T16:47:06.414Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-11-02T16:47:06.414Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-11-02T16:47:06.414Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-11-02T16:47:06.414Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-11-02T16:47:06.414Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-11-02T16:47:06.414Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-11-02T16:47:06.414Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-11-02T16:47:06.414Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2021-11-02T16:47:06.414Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-11-02T16:47:06.414Z] go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 [2021-11-02T16:47:06.414Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-11-02T16:47:06.690Z] go: downloading github.com/kr/text v0.2.0 [2021-11-02T16:47:06.690Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2021-11-02T16:47:06.690Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2021-11-02T16:47:06.690Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-11-02T16:47:06.690Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-11-02T16:47:06.690Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-11-02T16:47:06.971Z] go: downloading github.com/fatih/color v1.9.0 [2021-11-02T16:47:06.971Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-11-02T16:47:06.971Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-11-02T16:47:06.971Z] go: downloading github.com/pkg/errors v0.9.1 [2021-11-02T16:47:06.971Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-11-02T16:47:06.971Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-11-02T16:47:06.971Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-11-02T16:47:06.971Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2021-11-02T16:47:06.971Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-11-02T16:47:06.971Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2021-11-02T16:47:06.971Z] go: downloading github.com/onsi/gomega v1.7.0 [2021-11-02T16:47:07.250Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-11-02T16:47:07.250Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-11-02T16:47:07.250Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2021-11-02T16:47:07.250Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2021-11-02T16:47:07.250Z] go: downloading github.com/miekg/dns v1.1.26 [2021-11-02T16:47:07.250Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-11-02T16:47:07.528Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-11-02T16:47:07.528Z] go: downloading gopkg.in/yaml.v2 v2.3.0 [2021-11-02T16:47:07.528Z] go: downloading github.com/hpcloud/tail v1.0.0 [2021-11-02T16:47:07.528Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2021-11-02T16:47:07.528Z] go: downloading github.com/golang/protobuf v1.5.2 [2021-11-02T16:47:07.528Z] go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c [2021-11-02T16:47:07.528Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2021-11-02T16:47:07.814Z] go: downloading github.com/fsnotify/fsnotify v1.4.7 [2021-11-02T16:47:07.814Z] go: downloading google.golang.org/protobuf v1.27.1 [2021-11-02T16:47:08.410Z] go: downloading github.com/google/go-cmp v0.5.5 [2021-11-02T16:47:08.685Z] go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 [2021-11-02T16:47:08.685Z] 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-02T16:47:09.710Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-02T16:47:09.710Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-02T16:47:09.710Z] ./bin/test-attribution-txt.sh [2021-11-02T16:47:09.710Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/52/app-service-template' [2021-11-02T16:47:09.710Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-11-02T16:47:09.710Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-11-02T16:47:11.121Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.011s coverage: 67.0% of statements [2021-11-02T16:47:11.121Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app/mocks [no test files] [2021-11-02T16:47:11.381Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.006s coverage: 93.7% of statements [2021-11-02T16:47:11.381Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-11-02T16:47:11.642Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.013s coverage: 61.8% of statements [2021-11-02T16:47:11.642Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-11-02T16:47:11.905Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.023s [2021-11-02T16:47:11.905Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.010s coverage: 100.0% of statements [2021-11-02T16:47:12.854Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.027s coverage: 75.7% of statements [2021-11-02T16:47:12.854Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-11-02T16:47:12.854Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-11-02T16:47:12.854Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-11-02T16:47:12.854Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-11-02T16:47:12.854Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-11-02T16:47:12.854Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-11-02T16:47:12.854Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.004s coverage: 97.3% of statements [2021-11-02T16:47:12.854Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-11-02T16:47:13.133Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.005s coverage: 10.5% of statements [2021-11-02T16:47:16.468Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.049s coverage: 77.0% of statements [2021-11-02T16:47:16.468Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-11-02T16:47:16.468Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.006s coverage: 14.3% of statements [2021-11-02T16:47:16.468Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.009s coverage: 27.3% of statements [2021-11-02T16:47:16.468Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-11-02T16:47:16.468Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-11-02T16:47:16.468Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.008s coverage: 51.4% of statements [2021-11-02T16:47:43.072Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.022s coverage: 78.2% of statements [2021-11-02T16:47:43.072Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.007s coverage: 94.4% of statements [2021-11-02T16:47:43.072Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-02T16:47:43.072Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-02T16:47:43.072Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-02T16:47:47.721Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/52/app-service-template' [2021-11-02T16:47:47.721Z] make -C ./app-service-template test [2021-11-02T16:47:47.721Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/52/app-service-template' [2021-11-02T16:47:47.721Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [Pipeline] } [2021-11-02T16:47:55.365Z] $ docker stop --time=1 d81a455a27575caa3ce04c7c5dfd98d863693feda7a46a37a8ead2f2cc65780d [2021-11-02T16:47:56.665Z] $ docker rm -f d81a455a27575caa3ce04c7c5dfd98d863693feda7a46a37a8ead2f2cc65780d [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-02T16:47:57.373Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-02T16:47:57.567Z] 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-02T16:47:58.339Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-02T16:47:58.339Z] [2021-11-02T16:47:58.339Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-02T16:47:58.641Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-02T16:47:58.641Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-02T16:47:58.641Z] b4d181a07f80: Pulling fs layer [2021-11-02T16:47:58.641Z] a1111a8f2ec3: Pulling fs layer [2021-11-02T16:47:58.641Z] ed53099fbce6: Pulling fs layer [2021-11-02T16:47:58.641Z] dc539afda2c1: Pulling fs layer [2021-11-02T16:47:58.641Z] 77bc0d833cb6: Pulling fs layer [2021-11-02T16:47:58.641Z] 9065ff56babe: Pulling fs layer [2021-11-02T16:47:58.641Z] d287ab97295c: Pulling fs layer [2021-11-02T16:47:58.641Z] dc539afda2c1: Waiting [2021-11-02T16:47:58.641Z] 77bc0d833cb6: Waiting [2021-11-02T16:47:58.641Z] 9065ff56babe: Waiting [2021-11-02T16:47:58.641Z] d287ab97295c: Waiting [2021-11-02T16:47:58.641Z] a1111a8f2ec3: Verifying Checksum [2021-11-02T16:47:58.641Z] a1111a8f2ec3: Download complete [2021-11-02T16:47:58.641Z] dc539afda2c1: Verifying Checksum [2021-11-02T16:47:58.641Z] dc539afda2c1: Download complete [2021-11-02T16:47:58.641Z] ed53099fbce6: Verifying Checksum [2021-11-02T16:47:58.641Z] ed53099fbce6: Download complete [2021-11-02T16:47:58.641Z] 9065ff56babe: Download complete [2021-11-02T16:47:58.905Z] 77bc0d833cb6: Verifying Checksum [2021-11-02T16:47:58.905Z] 77bc0d833cb6: Download complete [2021-11-02T16:47:58.905Z] b4d181a07f80: Verifying Checksum [2021-11-02T16:47:58.905Z] b4d181a07f80: Download complete [2021-11-02T16:47:59.496Z] d287ab97295c: Verifying Checksum [2021-11-02T16:47:59.496Z] d287ab97295c: Download complete [2021-11-02T16:48:00.454Z] b4d181a07f80: Pull complete [2021-11-02T16:48:00.454Z] a1111a8f2ec3: Pull complete [2021-11-02T16:48:01.037Z] ed53099fbce6: Pull complete [2021-11-02T16:48:01.037Z] dc539afda2c1: Pull complete [2021-11-02T16:48:01.300Z] 77bc0d833cb6: Pull complete [2021-11-02T16:48:01.300Z] 9065ff56babe: Pull complete [2021-11-02T16:48:06.611Z] d287ab97295c: Pull complete [2021-11-02T16:48:06.611Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-02T16:48:06.611Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-02T16:48:06.611Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-02T16:48:06.672Z] prd-centos7-docker-4c-2g-13838 does not seem to be running inside a container [2021-11-02T16:48:06.709Z] $ 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/52 -v /w/workspace/app-functions-sdk-go/52:/w/workspace/app-functions-sdk-go/52:rw,z -v /w/workspace/app-functions-sdk-go/52@tmp:/w/workspace/app-functions-sdk-go/52@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-02T16:48:09.009Z] $ docker top 02162e0217edf9810176e9c9be2e2a6a598e0ee2409661a14de20fa2a7568380 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-02T16:48:09.462Z] ---> job-cost.sh [2021-11-02T16:48:09.462Z] lf-activate-venv: SKIPPING [2021-11-02T16:48:09.462Z] INFO: No Stack... [2021-11-02T16:48:09.723Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-02T16:48:09.981Z] INFO: Archiving Costs [Pipeline] sh [2021-11-02T16:48:10.276Z] + cat /w/workspace/app-functions-sdk-go/52/archives/cost.csv [2021-11-02T16:48:10.277Z] + cut -d, -f6 [Pipeline] lock [2021-11-02T16:48:10.302Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-52-stack-cost] [2021-11-02T16:48:10.307Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-52-stack-cost] did not exist. Created. [2021-11-02T16:48:10.307Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-52-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-02T16:48:10.611Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-02T16:48:10.649Z] Stashed 1 file(s) [Pipeline] } [2021-11-02T16:48:10.656Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-52-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-02T16:48:10.670Z] $ docker stop --time=1 02162e0217edf9810176e9c9be2e2a6a598e0ee2409661a14de20fa2a7568380 [2021-11-02T16:48:11.783Z] $ docker rm -f 02162e0217edf9810176e9c9be2e2a6a598e0ee2409661a14de20fa2a7568380 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-02T16:48:20.081Z] ok new-app-service 0.052s coverage: 48.1% of statements [2021-11-02T16:48:20.081Z] ? new-app-service/config [no test files] [2021-11-02T16:48:20.081Z] ok new-app-service/functions 0.050s [2021-11-02T16:48:20.081Z] CGO_ENABLED=1 go vet ./... [2021-11-02T16:48:52.442Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-02T16:48:52.442Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-02T16:48:52.442Z] ./bin/test-attribution-txt.sh [2021-11-02T16:48:52.442Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/52/app-service-template' [2021-11-02T16:48:52.442Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-11-02T16:48:52.442Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-11-02T16:49:02.632Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.143s coverage: 67.0% of statements [2021-11-02T16:49:02.632Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app/mocks [no test files] [2021-11-02T16:49:02.632Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.067s coverage: 93.7% of statements [2021-11-02T16:49:02.632Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-11-02T16:49:02.632Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.173s coverage: 61.8% of statements [2021-11-02T16:49:02.632Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-11-02T16:49:02.632Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.081s [2021-11-02T16:49:02.632Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.019s coverage: 100.0% of statements [2021-11-02T16:49:02.632Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.192s coverage: 75.7% of statements [2021-11-02T16:49:02.632Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-11-02T16:49:02.632Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-11-02T16:49:02.632Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-11-02T16:49:02.632Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-11-02T16:49:02.632Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-11-02T16:49:02.632Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-11-02T16:49:02.632Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.011s coverage: 97.3% of statements [2021-11-02T16:49:02.632Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-11-02T16:49:02.632Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.044s coverage: 10.5% of statements [2021-11-02T16:49:09.388Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.193s coverage: 77.0% of statements [2021-11-02T16:49:09.388Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-11-02T16:49:09.388Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.063s coverage: 14.3% of statements [2021-11-02T16:49:09.388Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.057s coverage: 27.3% of statements [2021-11-02T16:49:09.388Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-11-02T16:49:09.388Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-11-02T16:49:09.388Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.039s coverage: 51.4% of statements [2021-11-02T16:49:36.175Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.130s coverage: 78.2% of statements [2021-11-02T16:49:36.175Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.035s coverage: 94.4% of statements [2021-11-02T16:49:36.175Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-02T16:49:39.579Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-02T16:49:40.171Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-02T16:49:40.441Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [Pipeline] } [2021-11-02T16:49:40.457Z] $ docker stop --time=1 d9e3f781f59df930dce391f79dd4ff7e8e153c4f97f5bd97c25a3d5cc3369be3 [2021-11-02T16:49:42.395Z] $ docker rm -f d9e3f781f59df930dce391f79dd4ff7e8e153c4f97f5bd97c25a3d5cc3369be3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-02T16:49:45.055Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-02T16:49:45.078Z] Warning: overwriting stash ‘coverage-report’ [2021-11-02T16:49:45.661Z] 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-02T16:49:46.295Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-02T16:49:46.578Z] [2021-11-02T16:49:46.578Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-02T16:49:46.925Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-02T16:49:47.203Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-02T16:49:47.203Z] 448f6bf000e3: Pulling fs layer [2021-11-02T16:49:47.203Z] f757da607395: Pulling fs layer [2021-11-02T16:49:47.203Z] 05883995daec: Pulling fs layer [2021-11-02T16:49:47.203Z] 8603b9c90790: Pulling fs layer [2021-11-02T16:49:47.203Z] 1560dd03e051: Pulling fs layer [2021-11-02T16:49:47.203Z] 27f5ce0e4adf: Pulling fs layer [2021-11-02T16:49:47.203Z] c2d8d7efcc4b: Pulling fs layer [2021-11-02T16:49:47.203Z] 1560dd03e051: Waiting [2021-11-02T16:49:47.203Z] 27f5ce0e4adf: Waiting [2021-11-02T16:49:47.203Z] c2d8d7efcc4b: Waiting [2021-11-02T16:49:47.203Z] 8603b9c90790: Waiting [2021-11-02T16:49:47.203Z] f757da607395: Verifying Checksum [2021-11-02T16:49:47.203Z] f757da607395: Download complete [2021-11-02T16:49:47.203Z] 8603b9c90790: Verifying Checksum [2021-11-02T16:49:47.203Z] 8603b9c90790: Download complete [2021-11-02T16:49:47.476Z] 1560dd03e051: Verifying Checksum [2021-11-02T16:49:47.476Z] 1560dd03e051: Download complete [2021-11-02T16:49:47.476Z] 27f5ce0e4adf: Verifying Checksum [2021-11-02T16:49:47.476Z] 27f5ce0e4adf: Download complete [2021-11-02T16:49:47.476Z] 05883995daec: Verifying Checksum [2021-11-02T16:49:47.476Z] 05883995daec: Download complete [2021-11-02T16:49:47.748Z] 448f6bf000e3: Verifying Checksum [2021-11-02T16:49:47.748Z] 448f6bf000e3: Download complete [2021-11-02T16:49:50.367Z] c2d8d7efcc4b: Verifying Checksum [2021-11-02T16:49:50.367Z] c2d8d7efcc4b: Download complete [2021-11-02T16:49:51.342Z] 448f6bf000e3: Pull complete [2021-11-02T16:49:51.934Z] f757da607395: Pull complete [2021-11-02T16:49:53.365Z] 05883995daec: Pull complete [2021-11-02T16:49:53.637Z] 8603b9c90790: Pull complete [2021-11-02T16:49:54.622Z] 1560dd03e051: Pull complete [2021-11-02T16:49:54.903Z] 27f5ce0e4adf: Pull complete [2021-11-02T16:50:09.993Z] c2d8d7efcc4b: Pull complete [2021-11-02T16:50:09.993Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-02T16:50:09.994Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-02T16:50:09.994Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-02T16:50:10.248Z] prd-ubuntu18.04-docker-arm64-4c-16g-13837 does not seem to be running inside a container [2021-11-02T16:50:10.405Z] $ 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/52 -v /w/workspace/app-functions-sdk-go/52:/w/workspace/app-functions-sdk-go/52:rw,z -v /w/workspace/app-functions-sdk-go/52@tmp:/w/workspace/app-functions-sdk-go/52@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-11-02T16:50:13.616Z] $ docker top b3a5aa58e91ca7d84eea958f53ec302f12bb3bc5803704ca1000de2234943a24 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-02T16:50:14.634Z] ---> job-cost.sh [2021-11-02T16:50:14.634Z] lf-activate-venv: SKIPPING [2021-11-02T16:50:14.634Z] INFO: No Stack... [2021-11-02T16:50:14.906Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-02T16:50:15.510Z] INFO: Archiving Costs [Pipeline] sh [2021-11-02T16:50:16.161Z] + cut -d, -f6 [2021-11-02T16:50:16.161Z] + cat /w/workspace/app-functions-sdk-go/52/archives/cost.csv [Pipeline] lock [2021-11-02T16:50:16.219Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-52-stack-cost] [2021-11-02T16:50:16.225Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-52-stack-cost] did not exist. Created. [2021-11-02T16:50:16.225Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-52-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-02T16:50:16.887Z] /w/workspace/app-functions-sdk-go/52@tmp/durable-45b9d5fd/script.sh: 1: /w/workspace/app-functions-sdk-go/52@tmp/durable-45b9d5fd/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-02T16:50:17.543Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-02T16:50:17.561Z] Warning: overwriting stash ‘stack-cost’ [2021-11-02T16:50:17.624Z] Stashed 1 file(s) [Pipeline] } [2021-11-02T16:50:17.630Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-52-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-02T16:50:17.644Z] $ docker stop --time=1 b3a5aa58e91ca7d84eea958f53ec302f12bb3bc5803704ca1000de2234943a24 [2021-11-02T16:50:19.269Z] $ docker rm -f b3a5aa58e91ca7d84eea958f53ec302f12bb3bc5803704ca1000de2234943a24 [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-02T16:50:19.935Z] provisioning config files... [2021-11-02T16:50:19.955Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config2048545654634484111tmp [Pipeline] { [Pipeline] sh [2021-11-02T16:50:20.255Z] + set +x [2021-11-02T16:50:20.255Z] + curl -s https://codecov.io/bash [2021-11-02T16:50:20.255Z] + bash -s -- [2021-11-02T16:50:20.255Z] [2021-11-02T16:50:20.255Z] _____ _ [2021-11-02T16:50:20.255Z] / ____| | | [2021-11-02T16:50:20.255Z] | | ___ __| | ___ ___ _____ __ [2021-11-02T16:50:20.255Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-02T16:50:20.255Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-02T16:50:20.255Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-02T16:50:20.255Z] Bash-1.0.6 [2021-11-02T16:50:20.255Z] [2021-11-02T16:50:20.255Z] [2021-11-02T16:50:20.255Z] ==> git version 2.24.4 found [2021-11-02T16:50:20.255Z] ==> 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-02T16:50:20.255Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-02T16:50:20.255Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-02T16:50:20.255Z] ==> Jenkins CI detected. [2021-11-02T16:50:20.255Z] current dir:  /w/workspace/oundry_app-functions-sdk-go_main [2021-11-02T16:50:20.255Z] project root: . [2021-11-02T16:50:20.255Z] --> token set from env [2021-11-02T16:50:20.255Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-02T16:50:20.519Z] ==> Running gcov in . (disable via -X gcov) [2021-11-02T16:50:20.519Z] ==> Python coveragepy not found [2021-11-02T16:50:20.519Z] ==> Searching for coverage reports in: [2021-11-02T16:50:20.519Z] + . [2021-11-02T16:50:20.519Z] -> Found 2 reports [2021-11-02T16:50:20.519Z] ==> Detecting git/mercurial file structure [2021-11-02T16:50:20.519Z] ==> Reading reports [2021-11-02T16:50:20.519Z] + ./app-service-template/coverage.out bytes=1219 [2021-11-02T16:50:20.519Z] + ./coverage.out bytes=106140 [2021-11-02T16:50:20.519Z] ==> Appending adjustments [2021-11-02T16:50:20.519Z] https://docs.codecov.io/docs/fixing-reports [2021-11-02T16:50:20.779Z] + Found adjustments [2021-11-02T16:50:20.779Z] ==> Gzipping contents [2021-11-02T16:50:20.779Z] 20K /tmp/codecov.X06QqS.gz [2021-11-02T16:50:20.779Z] ==> Uploading reports [2021-11-02T16:50:20.779Z] url: https://codecov.io [2021-11-02T16:50:20.779Z] query: branch=main&commit=c65d10e135e3ef80f0bf631db50596f792cc9a4b&build=52&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F52%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-02T16:50:20.779Z] -> Pinging Codecov [2021-11-02T16:50:20.779Z] 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=c65d10e135e3ef80f0bf631db50596f792cc9a4b&build=52&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F52%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-02T16:50:21.352Z] -> Uploading to [2021-11-02T16:50:21.352Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-02/3D8B5DFFC46A037C893635FACE044666/c65d10e135e3ef80f0bf631db50596f792cc9a4b/36b48ac1-6283-4cd7-a090-582bc45ad637.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211102%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211102T165021Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=47e4c0de40df6691369d32f01b42073bed06350a6e26463a70095f10d1f48897 [2021-11-02T16:50:21.352Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-02T16:50:21.352Z] Dload Upload Total Spent Left Speed [2021-11-02T16:50:21.880Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18554 0 0 100 18554 0 53759 --:--:-- --:--:-- --:--:-- 53779 [2021-11-02T16:50:21.880Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/c65d10e135e3ef80f0bf631db50596f792cc9a4b [Pipeline] } [2021-11-02T16:50:21.888Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-11-02T16:50:22.517Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-11-02T16:50:22.526Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-02T16:50:22.831Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-02T16:50:22.831Z] [2021-11-02T16:50:22.831Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-11-02T16:50:23.142Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-02T16:50:23.142Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-11-02T16:50:23.142Z] 188c0c94c7c5: Pulling fs layer [2021-11-02T16:50:23.142Z] 0ef7d3d256c8: Pulling fs layer [2021-11-02T16:50:23.142Z] de9db76c5a1d: Pulling fs layer [2021-11-02T16:50:23.142Z] 0eba1c9be4d2: Pulling fs layer [2021-11-02T16:50:23.142Z] 0d57e429df01: Pulling fs layer [2021-11-02T16:50:23.142Z] 4e4be7b47b0d: Pulling fs layer [2021-11-02T16:50:23.142Z] e1f770b5df2f: Pulling fs layer [2021-11-02T16:50:23.142Z] 85a0685a4137: Pulling fs layer [2021-11-02T16:50:23.142Z] 0d57e429df01: Waiting [2021-11-02T16:50:23.142Z] 4e4be7b47b0d: Waiting [2021-11-02T16:50:23.142Z] e1f770b5df2f: Waiting [2021-11-02T16:50:23.142Z] 85a0685a4137: Waiting [2021-11-02T16:50:23.142Z] 0eba1c9be4d2: Waiting [2021-11-02T16:50:23.142Z] de9db76c5a1d: Verifying Checksum [2021-11-02T16:50:23.142Z] de9db76c5a1d: Download complete [2021-11-02T16:50:23.142Z] 0ef7d3d256c8: Verifying Checksum [2021-11-02T16:50:23.142Z] 0ef7d3d256c8: Download complete [2021-11-02T16:50:23.142Z] 0d57e429df01: Verifying Checksum [2021-11-02T16:50:23.142Z] 0d57e429df01: Download complete [2021-11-02T16:50:23.142Z] 4e4be7b47b0d: Verifying Checksum [2021-11-02T16:50:23.142Z] 4e4be7b47b0d: Download complete [2021-11-02T16:50:23.142Z] 188c0c94c7c5: Verifying Checksum [2021-11-02T16:50:23.142Z] 188c0c94c7c5: Download complete [2021-11-02T16:50:23.407Z] e1f770b5df2f: Verifying Checksum [2021-11-02T16:50:23.407Z] e1f770b5df2f: Download complete [2021-11-02T16:50:23.670Z] 188c0c94c7c5: Pull complete [2021-11-02T16:50:23.670Z] 0eba1c9be4d2: Verifying Checksum [2021-11-02T16:50:23.670Z] 0eba1c9be4d2: Download complete [2021-11-02T16:50:23.938Z] 0ef7d3d256c8: Pull complete [2021-11-02T16:50:23.938Z] 85a0685a4137: Verifying Checksum [2021-11-02T16:50:23.938Z] 85a0685a4137: Download complete [2021-11-02T16:50:23.938Z] de9db76c5a1d: Pull complete [2021-11-02T16:50:28.208Z] 0eba1c9be4d2: Pull complete [2021-11-02T16:50:28.208Z] 0d57e429df01: Pull complete [2021-11-02T16:50:28.208Z] 4e4be7b47b0d: Pull complete [2021-11-02T16:50:28.208Z] e1f770b5df2f: Pull complete [2021-11-02T16:50:32.426Z] 85a0685a4137: Pull complete [2021-11-02T16:50:32.426Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-11-02T16:50:32.426Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-02T16:50:32.426Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-11-02T16:50:32.485Z] prd-centos7-docker-4c-2g-13836 does not seem to be running inside a container [2021-11-02T16:50:32.516Z] $ 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-02T16:50:34.640Z] $ docker top 79f30ef287b28b90ad3eb153cc410b5ad8b1a4d786e8a69b030ef57f06500ad4 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-11-02T16:50:34.713Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-11-02T16:50:34.997Z] + set -o pipefail [2021-11-02T16:50:34.997Z] + snyk monitor '--org=edgex-jenkins' [2021-11-02T16:50:40.323Z] [2021-11-02T16:50:40.323Z] Monitoring /w/workspace/oundry_app-functions-sdk-go_main (github.com/edgexfoundry/app-functions-sdk-go/v2)... [2021-11-02T16:50:40.323Z] [2021-11-02T16:50:40.323Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/d177ba62-43c5-496c-9a3b-fac7d467758b [2021-11-02T16:50:40.323Z] [2021-11-02T16:50:40.323Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-11-02T16:50:40.323Z] [2021-11-02T16:50:40.323Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-11-02T16:50:40.323Z] [2021-11-02T16:50:40.323Z] [Pipeline] } [2021-11-02T16:50:40.333Z] $ docker stop --time=1 79f30ef287b28b90ad3eb153cc410b5ad8b1a4d786e8a69b030ef57f06500ad4 [2021-11-02T16:50:42.178Z] $ docker rm -f 79f30ef287b28b90ad3eb153cc410b5ad8b1a4d786e8a69b030ef57f06500ad4 [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-02T16:50:43.529Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-02T16:50:43.541Z] provisioning config files... [2021-11-02T16:50:43.548Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config8209375938777550604tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-02T16:50:43.856Z] --> edgex-publish-swagger.sh [2021-11-02T16:50:43.856Z] === Publish openapi/v2 API === [2021-11-02T16:50:43.856Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-11-02T16:50:43.856Z] [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/oundry_app-functions-sdk-go_main/openapi/v2/app-functions-sdk.yaml] [2021-11-02T16:50:43.856Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-02T16:50:43.856Z] Dload Upload Total Spent Left Speed [2021-11-02T16:50:45.507Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13054 0 0 100 13054 0 8368 0:00:01 0:00:01 --:--:-- 8373 100 13054 0 0 100 13054 0 7431 0:00:01 0:00:01 --:--:-- 7433 [2021-11-02T16:50:45.507Z] [2021-11-02T16:50:45.507Z] [Pipeline] } [2021-11-02T16:50:45.519Z] 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-02T16:50:46.345Z] + git log --format=format:%s -1 c65d10e135e3ef80f0bf631db50596f792cc9a4b [Pipeline] isUnix [Pipeline] sh [2021-11-02T16:50:46.642Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-02T16:50:46.642Z] . [Pipeline] withDockerContainer [2021-11-02T16:50:46.711Z] prd-centos7-docker-4c-2g-13836 does not seem to be running inside a container [2021-11-02T16:50:46.744Z] $ 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-02T16:50:47.057Z] $ docker top 66a35350d6e99f1fb5ea019668f33c20cf3a9767221ec05cf7779c004534a5a5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-02T16:50:47.138Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-02T16:50:47.138Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-02T16:50:47.234Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-02T16:50:47.235Z] $ docker exec 66a35350d6e99f1fb5ea019668f33c20cf3a9767221ec05cf7779c004534a5a5 ssh-agent [2021-11-02T16:50:47.330Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnoCDLC/agent.15 [2021-11-02T16:50:47.330Z] SSH_AGENT_PID=22 [2021-11-02T16:50:47.334Z] Running ssh-add (command line suppressed) [2021-11-02T16:50:47.421Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_18681612467446361.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_18681612467446361.key) [2021-11-02T16:50:47.432Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-02T16:50:47.728Z] + git semver tag [2021-11-02T16:50:47.728Z] # -> Open(): unable to determine branch for HEAD [2021-11-02T16:50:47.728Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2021-11-02T16:50:47.728Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2021-11-02T16:50:47.728Z] # $SEMVER_REMOTE_NAME = origin [2021-11-02T16:50:47.728Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-02T16:50:47.728Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-02T16:50:47.728Z] # $SEMVER_BRANCH = main [2021-11-02T16:50:47.728Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [2021-11-02T16:50:47.728Z] # c65d10e135e3ef80f0bf631db50596f792cc9a4b HEAD [2021-11-02T16:50:47.728Z] # -> Force: false [2021-11-02T16:50:47.728Z] # 4a472ed8cfa3e5e597c763c913d54fd027851ba2 refs/tags/v2.0.2-dev.39 [Pipeline] } [2021-11-02T16:50:47.739Z] $ docker exec --env ******** --env ******** 66a35350d6e99f1fb5ea019668f33c20cf3a9767221ec05cf7779c004534a5a5 ssh-agent -k [2021-11-02T16:50:47.827Z] unset SSH_AUTH_SOCK; [2021-11-02T16:50:47.828Z] unset SSH_AGENT_PID; [2021-11-02T16:50:47.828Z] echo Agent pid 22 killed; [2021-11-02T16:50:47.838Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-02T16:50:48.148Z] + git semver [Pipeline] } [2021-11-02T16:50:48.161Z] $ docker stop --time=1 66a35350d6e99f1fb5ea019668f33c20cf3a9767221ec05cf7779c004534a5a5 [2021-11-02T16:50:49.362Z] $ docker rm -f 66a35350d6e99f1fb5ea019668f33c20cf3a9767221ec05cf7779c004534a5a5 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-11-02T16:50:49.729Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-02T16:50:49.729Z] [2021-11-02T16:50:49.729Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-11-02T16:50:50.034Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-02T16:50:50.034Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-11-02T16:50:50.034Z] ab5ef0e58194: Pulling fs layer [2021-11-02T16:50:50.034Z] 9712f1f96733: Pulling fs layer [2021-11-02T16:50:50.034Z] 63f879dbbcfc: Pulling fs layer [2021-11-02T16:50:50.034Z] 0d9ebad4ef96: Pulling fs layer [2021-11-02T16:50:50.034Z] e9a5061849ea: Pulling fs layer [2021-11-02T16:50:50.034Z] d747dcd14b5f: Pulling fs layer [2021-11-02T16:50:50.034Z] 2de7ff778b66: Pulling fs layer [2021-11-02T16:50:50.034Z] 0d9ebad4ef96: Waiting [2021-11-02T16:50:50.034Z] e9a5061849ea: Waiting [2021-11-02T16:50:50.034Z] d747dcd14b5f: Waiting [2021-11-02T16:50:50.034Z] 2de7ff778b66: Waiting [2021-11-02T16:50:50.034Z] 9712f1f96733: Verifying Checksum [2021-11-02T16:50:50.034Z] 9712f1f96733: Download complete [2021-11-02T16:50:50.302Z] 63f879dbbcfc: Verifying Checksum [2021-11-02T16:50:50.302Z] 63f879dbbcfc: Download complete [2021-11-02T16:50:50.567Z] 0d9ebad4ef96: Verifying Checksum [2021-11-02T16:50:50.567Z] 0d9ebad4ef96: Download complete [2021-11-02T16:50:50.567Z] ab5ef0e58194: Verifying Checksum [2021-11-02T16:50:50.567Z] ab5ef0e58194: Download complete [2021-11-02T16:50:50.567Z] d747dcd14b5f: Verifying Checksum [2021-11-02T16:50:50.567Z] d747dcd14b5f: Download complete [2021-11-02T16:50:50.567Z] e9a5061849ea: Verifying Checksum [2021-11-02T16:50:50.567Z] e9a5061849ea: Download complete [2021-11-02T16:50:50.567Z] 2de7ff778b66: Verifying Checksum [2021-11-02T16:50:50.567Z] 2de7ff778b66: Download complete [2021-11-02T16:50:53.140Z] ab5ef0e58194: Pull complete [2021-11-02T16:50:53.408Z] 9712f1f96733: Pull complete [2021-11-02T16:50:53.991Z] 63f879dbbcfc: Pull complete [2021-11-02T16:50:58.229Z] 0d9ebad4ef96: Pull complete [2021-11-02T16:50:58.229Z] e9a5061849ea: Pull complete [2021-11-02T16:50:58.229Z] d747dcd14b5f: Pull complete [2021-11-02T16:50:59.622Z] 2de7ff778b66: Pull complete [2021-11-02T16:50:59.622Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-11-02T16:50:59.622Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-02T16:50:59.622Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-11-02T16:50:59.684Z] prd-centos7-docker-4c-2g-13836 does not seem to be running inside a container [2021-11-02T16:50:59.714Z] $ 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-02T16:51:02.702Z] $ docker top a0a25ab9ecd8c3ada242a2f07419a4fc201751f43cb01a7c51a2ff397fa11ab8 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-11-02T16:51:02.780Z] provisioning config files... [2021-11-02T16:51:02.795Z] copy managed file [sigul-config] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config6870369579168962981tmp [2021-11-02T16:51:02.809Z] copy managed file [sigul-password] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config1422207671111107024tmp [2021-11-02T16:51:02.820Z] copy managed file [sigul-pki] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config395505311551369099tmp [Pipeline] { [Pipeline] echo [2021-11-02T16:51:02.831Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-02T16:51:03.122Z] ---> sigul-configuration.sh [2021-11-02T16:51:03.122Z] gpg: directory `/root/.gnupg' created [2021-11-02T16:51:03.122Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-11-02T16:51:03.122Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-11-02T16:51:03.122Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-11-02T16:51:03.122Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-11-02T16:51:03.122Z] gpg: CAST5 encrypted data [2021-11-02T16:51:03.122Z] gpg: encrypted with 1 passphrase [2021-11-02T16:51:03.122Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-11-02T16:51:03.412Z] + mkdir /home/jenkins [2021-11-02T16:51:03.413Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-11-02T16:51:03.697Z] + 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-02T16:51:03.705Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-02T16:51:04.015Z] ---> sigul-install.sh [2021-11-02T16:51:04.015Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-11-02T16:51:04.303Z] + git tag --list [2021-11-02T16:51:04.303Z] v0.1.0 [2021-11-02T16:51:04.303Z] v0.1.1 [2021-11-02T16:51:04.303Z] v1.0.0 [2021-11-02T16:51:04.303Z] v1.1.0 [2021-11-02T16:51:04.303Z] v1.2.0 [2021-11-02T16:51:04.303Z] v1.3.0 [2021-11-02T16:51:04.303Z] v1.3.1 [2021-11-02T16:51:04.303Z] v2.0.0 [2021-11-02T16:51:04.303Z] v2.0.1 [2021-11-02T16:51:04.303Z] v2.0.1-dev.1 [2021-11-02T16:51:04.303Z] v2.0.1-dev.2 [2021-11-02T16:51:04.303Z] v2.0.1-dev.3 [2021-11-02T16:51:04.303Z] v2.0.1-dev.4 [2021-11-02T16:51:04.303Z] v2.0.1-dev.5 [2021-11-02T16:51:04.303Z] v2.0.1-dev.6 [2021-11-02T16:51:04.303Z] v2.0.1-dev.7 [2021-11-02T16:51:04.303Z] v2.0.2-dev.1 [2021-11-02T16:51:04.303Z] v2.0.2-dev.10 [2021-11-02T16:51:04.303Z] v2.0.2-dev.11 [2021-11-02T16:51:04.303Z] v2.0.2-dev.12 [2021-11-02T16:51:04.303Z] v2.0.2-dev.13 [2021-11-02T16:51:04.303Z] v2.0.2-dev.14 [2021-11-02T16:51:04.303Z] v2.0.2-dev.15 [2021-11-02T16:51:04.303Z] v2.0.2-dev.16 [2021-11-02T16:51:04.303Z] v2.0.2-dev.17 [2021-11-02T16:51:04.303Z] v2.0.2-dev.18 [2021-11-02T16:51:04.303Z] v2.0.2-dev.19 [2021-11-02T16:51:04.303Z] v2.0.2-dev.2 [2021-11-02T16:51:04.303Z] v2.0.2-dev.20 [2021-11-02T16:51:04.303Z] v2.0.2-dev.21 [2021-11-02T16:51:04.303Z] v2.0.2-dev.22 [2021-11-02T16:51:04.303Z] v2.0.2-dev.23 [2021-11-02T16:51:04.303Z] v2.0.2-dev.24 [2021-11-02T16:51:04.303Z] v2.0.2-dev.25 [2021-11-02T16:51:04.303Z] v2.0.2-dev.26 [2021-11-02T16:51:04.303Z] v2.0.2-dev.27 [2021-11-02T16:51:04.303Z] v2.0.2-dev.28 [2021-11-02T16:51:04.303Z] v2.0.2-dev.29 [2021-11-02T16:51:04.303Z] v2.0.2-dev.3 [2021-11-02T16:51:04.303Z] v2.0.2-dev.30 [2021-11-02T16:51:04.303Z] v2.0.2-dev.31 [2021-11-02T16:51:04.303Z] v2.0.2-dev.32 [2021-11-02T16:51:04.303Z] v2.0.2-dev.33 [2021-11-02T16:51:04.303Z] v2.0.2-dev.34 [2021-11-02T16:51:04.303Z] v2.0.2-dev.35 [2021-11-02T16:51:04.303Z] v2.0.2-dev.36 [2021-11-02T16:51:04.303Z] v2.0.2-dev.37 [2021-11-02T16:51:04.303Z] v2.0.2-dev.38 [2021-11-02T16:51:04.303Z] v2.0.2-dev.39 [2021-11-02T16:51:04.303Z] v2.0.2-dev.4 [2021-11-02T16:51:04.303Z] v2.0.2-dev.5 [2021-11-02T16:51:04.303Z] v2.0.2-dev.6 [2021-11-02T16:51:04.303Z] v2.0.2-dev.7 [2021-11-02T16:51:04.303Z] v2.0.2-dev.8 [2021-11-02T16:51:04.303Z] v2.0.2-dev.9 [Pipeline] sh [2021-11-02T16:51:04.591Z] + lftools sign git-tag v2.0.2-dev.39 [2021-11-02T16:51:05.162Z] Signing Git tag with Sigul... [2021-11-02T16:51:05.162Z] Signing v2.0.2-dev.39 [Pipeline] echo [2021-11-02T16:51:06.107Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-02T16:51:06.394Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-11-02T16:51:06.401Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-11-02T16:51:06.421Z] $ docker stop --time=1 a0a25ab9ecd8c3ada242a2f07419a4fc201751f43cb01a7c51a2ff397fa11ab8 [2021-11-02T16:51:07.623Z] $ docker rm -f a0a25ab9ecd8c3ada242a2f07419a4fc201751f43cb01a7c51a2ff397fa11ab8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-11-02T16:51:08.252Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-02T16:51:08.252Z] . [Pipeline] withDockerContainer [2021-11-02T16:51:08.328Z] prd-centos7-docker-4c-2g-13836 does not seem to be running inside a container [2021-11-02T16:51:08.357Z] $ 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-02T16:51:08.706Z] $ docker top dd2b8b81777365846bb84cc1b6a6d716d6e263ee3e98e4ef0e7b462b382514d1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-02T16:51:08.793Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-02T16:51:08.793Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-02T16:51:08.891Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-02T16:51:08.893Z] $ docker exec dd2b8b81777365846bb84cc1b6a6d716d6e263ee3e98e4ef0e7b462b382514d1 ssh-agent [2021-11-02T16:51:08.987Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCMjJlI/agent.15 [2021-11-02T16:51:08.987Z] SSH_AGENT_PID=22 [2021-11-02T16:51:08.992Z] Running ssh-add (command line suppressed) [2021-11-02T16:51:09.074Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_394683138843019509.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_394683138843019509.key) [2021-11-02T16:51:09.085Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-02T16:51:09.369Z] + git semver bump pre [2021-11-02T16:51:09.369Z] # -> Open(): unable to determine branch for HEAD [2021-11-02T16:51:09.369Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2021-11-02T16:51:09.369Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2021-11-02T16:51:09.369Z] # $SEMVER_REMOTE_NAME = origin [2021-11-02T16:51:09.369Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-02T16:51:09.369Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-02T16:51:09.369Z] # $SEMVER_BRANCH = main [2021-11-02T16:51:09.369Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [2021-11-02T16:51:09.369Z] 2.0.2-dev.40 [Pipeline] } [2021-11-02T16:51:09.377Z] $ docker exec --env ******** --env ******** dd2b8b81777365846bb84cc1b6a6d716d6e263ee3e98e4ef0e7b462b382514d1 ssh-agent -k [2021-11-02T16:51:09.450Z] unset SSH_AUTH_SOCK; [2021-11-02T16:51:09.450Z] unset SSH_AGENT_PID; [2021-11-02T16:51:09.451Z] echo Agent pid 22 killed; [2021-11-02T16:51:09.460Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-02T16:51:09.769Z] + git semver [Pipeline] } [2021-11-02T16:51:09.780Z] $ docker stop --time=1 dd2b8b81777365846bb84cc1b6a6d716d6e263ee3e98e4ef0e7b462b382514d1 [2021-11-02T16:51:10.951Z] $ docker rm -f dd2b8b81777365846bb84cc1b6a6d716d6e263ee3e98e4ef0e7b462b382514d1 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-11-02T16:51:11.303Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-02T16:51:11.303Z] . [Pipeline] withDockerContainer [2021-11-02T16:51:11.364Z] prd-centos7-docker-4c-2g-13836 does not seem to be running inside a container [2021-11-02T16:51:11.407Z] $ 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-02T16:51:11.746Z] $ docker top 397c56e6dc21b856d8104d5f293cf3f90a226091e250630e658ed79b27c3d0eb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-02T16:51:11.831Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-02T16:51:11.831Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-02T16:51:11.931Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-02T16:51:11.933Z] $ docker exec 397c56e6dc21b856d8104d5f293cf3f90a226091e250630e658ed79b27c3d0eb ssh-agent [2021-11-02T16:51:12.034Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKlMhFA/agent.13 [2021-11-02T16:51:12.034Z] SSH_AGENT_PID=20 [2021-11-02T16:51:12.039Z] Running ssh-add (command line suppressed) [2021-11-02T16:51:12.123Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_5954937226311333871.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_5954937226311333871.key) [2021-11-02T16:51:12.136Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-02T16:51:12.435Z] + git semver push [2021-11-02T16:51:12.435Z] # -> Open(): unable to determine branch for HEAD [2021-11-02T16:51:12.435Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2021-11-02T16:51:12.435Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2021-11-02T16:51:12.435Z] # $SEMVER_REMOTE_NAME = origin [2021-11-02T16:51:12.435Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-02T16:51:12.435Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-02T16:51:12.435Z] # $SEMVER_BRANCH = main [2021-11-02T16:51:12.435Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [Pipeline] } [2021-11-02T16:51:14.356Z] $ docker exec --env ******** --env ******** 397c56e6dc21b856d8104d5f293cf3f90a226091e250630e658ed79b27c3d0eb ssh-agent -k [2021-11-02T16:51:14.442Z] unset SSH_AUTH_SOCK; [2021-11-02T16:51:14.442Z] unset SSH_AGENT_PID; [2021-11-02T16:51:14.442Z] echo Agent pid 20 killed; [2021-11-02T16:51:14.454Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-02T16:51:14.765Z] + git semver [Pipeline] } [2021-11-02T16:51:14.777Z] $ docker stop --time=1 397c56e6dc21b856d8104d5f293cf3f90a226091e250630e658ed79b27c3d0eb [2021-11-02T16:51:15.951Z] $ docker rm -f 397c56e6dc21b856d8104d5f293cf3f90a226091e250630e658ed79b27c3d0eb [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-02T16:51:16.837Z] + '[' -d /w/workspace/oundry_app-functions-sdk-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-02T16:51:17.122Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-02T16:51:17.676Z] ---> package-listing.sh [2021-11-02T16:51:17.676Z] ++ facter osfamily [2021-11-02T16:51:17.676Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-02T16:51:17.937Z] + OS_FAMILY=redhat [2021-11-02T16:51:17.937Z] + workspace=/w/workspace/oundry_app-functions-sdk-go_main [2021-11-02T16:51:17.937Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-02T16:51:17.937Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-02T16:51:17.937Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-02T16:51:17.937Z] + PACKAGES=/tmp/packages_start.txt [2021-11-02T16:51:17.937Z] + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' [2021-11-02T16:51:17.937Z] + PACKAGES=/tmp/packages_end.txt [2021-11-02T16:51:17.937Z] + case "${OS_FAMILY}" in [2021-11-02T16:51:17.937Z] + rpm -qa [2021-11-02T16:51:17.937Z] + sort [2021-11-02T16:51:18.506Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-02T16:51:18.506Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-02T16:51:18.507Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-02T16:51:18.507Z] + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' [2021-11-02T16:51:18.507Z] + mkdir -p /w/workspace/oundry_app-functions-sdk-go_main/archives/ [2021-11-02T16:51:18.507Z] + 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-02T16:51:18.516Z] 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-02T16:51:18.795Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-02T16:51:19.352Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-02T16:51:19.353Z] [2021-11-02T16:51:19.353Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-02T16:51:19.653Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-02T16:51:19.653Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-02T16:51:19.653Z] b4d181a07f80: Pulling fs layer [2021-11-02T16:51:19.653Z] a1111a8f2ec3: Pulling fs layer [2021-11-02T16:51:19.653Z] ed53099fbce6: Pulling fs layer [2021-11-02T16:51:19.653Z] dc539afda2c1: Pulling fs layer [2021-11-02T16:51:19.653Z] 77bc0d833cb6: Pulling fs layer [2021-11-02T16:51:19.653Z] 9065ff56babe: Pulling fs layer [2021-11-02T16:51:19.653Z] d287ab97295c: Pulling fs layer [2021-11-02T16:51:19.653Z] 77bc0d833cb6: Waiting [2021-11-02T16:51:19.653Z] 9065ff56babe: Waiting [2021-11-02T16:51:19.653Z] d287ab97295c: Waiting [2021-11-02T16:51:19.653Z] dc539afda2c1: Waiting [2021-11-02T16:51:19.653Z] a1111a8f2ec3: Verifying Checksum [2021-11-02T16:51:19.653Z] a1111a8f2ec3: Download complete [2021-11-02T16:51:19.653Z] dc539afda2c1: Verifying Checksum [2021-11-02T16:51:19.653Z] dc539afda2c1: Download complete [2021-11-02T16:51:19.653Z] 77bc0d833cb6: Verifying Checksum [2021-11-02T16:51:19.653Z] 77bc0d833cb6: Download complete [2021-11-02T16:51:19.653Z] ed53099fbce6: Verifying Checksum [2021-11-02T16:51:19.653Z] ed53099fbce6: Download complete [2021-11-02T16:51:19.653Z] 9065ff56babe: Verifying Checksum [2021-11-02T16:51:19.653Z] 9065ff56babe: Download complete [2021-11-02T16:51:19.914Z] b4d181a07f80: Verifying Checksum [2021-11-02T16:51:19.914Z] b4d181a07f80: Download complete [2021-11-02T16:51:20.490Z] d287ab97295c: Verifying Checksum [2021-11-02T16:51:20.490Z] d287ab97295c: Download complete [2021-11-02T16:51:21.455Z] b4d181a07f80: Pull complete [2021-11-02T16:51:21.455Z] a1111a8f2ec3: Pull complete [2021-11-02T16:51:22.023Z] ed53099fbce6: Pull complete [2021-11-02T16:51:22.024Z] dc539afda2c1: Pull complete [2021-11-02T16:51:22.284Z] 77bc0d833cb6: Pull complete [2021-11-02T16:51:22.284Z] 9065ff56babe: Pull complete [2021-11-02T16:51:27.614Z] d287ab97295c: Pull complete [2021-11-02T16:51:27.614Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-02T16:51:27.614Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-02T16:51:27.614Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-02T16:51:27.674Z] prd-centos7-docker-4c-2g-13836 does not seem to be running inside a container [2021-11-02T16:51:27.705Z] $ 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-02T16:51:30.171Z] $ docker top 75098a4bcb62174aac9dec60380c21cba15ac113360d6ed7edd719ab24f28834 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-02T16:51:30.523Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-02T16:51:30.814Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-02T16:51:31.100Z] + ls /var/log/sa-host [2021-11-02T16:51:31.100Z] + sadf -c /var/log/sa-host/sa02 [2021-11-02T16:51:31.100Z] file_magic: OK [2021-11-02T16:51:31.100Z] HZ: Using current value: 100 [2021-11-02T16:51:31.100Z] file_header: OK [2021-11-02T16:51:31.100Z] 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-02T16:51:31.100Z] Statistics: [2021-11-02T16:51:31.100Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-02T16:51:31.100Z] File successfully converted to sysstat format version 12.0.3 [2021-11-02T16:51:31.100Z] + sadf -c /var/log/sa-host/sa30 [2021-11-02T16:51:31.100Z] file_magic: OK [2021-11-02T16:51:31.100Z] HZ: Using current value: 100 [2021-11-02T16:51:31.100Z] file_header: OK [2021-11-02T16:51:31.100Z] 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-02T16:51:31.100Z] Statistics: [2021-11-02T16:51:31.100Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-02T16:51:31.100Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-02T16:51:31.355Z] provisioning config files... [2021-11-02T16:51:31.367Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config8512914047905818654tmp [Pipeline] { [Pipeline] echo [2021-11-02T16:51:31.389Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-02T16:51:31.681Z] ---> create-netrc.sh [Pipeline] } [2021-11-02T16:51:31.687Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-02T16:51:32.019Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-02T16:51:32.026Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-02T16:51:32.310Z] ---> sudo-logs.sh [2021-11-02T16:51:32.310Z] Archiving 'sudo' log.. [2021-11-02T16:51:32.310Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-13836.novalocal: Name or service not known [2021-11-02T16:51:32.310Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-13836.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-02T16:51:32.330Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-02T16:51:32.617Z] ---> job-cost.sh [2021-11-02T16:51:32.617Z] lf-activate-venv: SKIPPING [2021-11-02T16:51:32.617Z] DEBUG: total: 0.10999999940395355 [2021-11-02T16:51:32.617Z] INFO: Retrieving Stack Cost... [2021-11-02T16:51:32.878Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-02T16:51:33.448Z] INFO: Archiving Costs [Pipeline] echo [2021-11-02T16:51:33.459Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-02T16:51:33.745Z] ---> logs-deploy.sh [2021-11-02T16:51:33.745Z] lf-activate-venv: SKIPPING [2021-11-02T16:51:33.745Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/main/52 [2021-11-02T16:51:33.745Z] INFO: archiving workspace using pattern(s): [2021-11-02T16:51:34.316Z] Archives upload complete. [2021-11-02T16:51:34.576Z] INFO: archiving logs to Nexus