Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 11197de04f2a118dcffb9730f56982e2c8973cfa 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-ssh9803785585129211524.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7a502be46133bd83b74f613648f1d59e9d9e8641 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-ssh4436851952421478365.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 7a502be46133bd83b74f613648f1d59e9d9e8641 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-ssh18339299009407649957.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7a502be46133bd83b74f613648f1d59e9d9e8641 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7a502be46133bd83b74f613648f1d59e9d9e8641 # timeout=10 Commit message: "Merge pull request #374 from bill-mahoney/us2761" > 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-ssh12908308102281258449.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-ssh10720217469094706910.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-functions-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-1356 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-ssh658974674529092262.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 11197de04f2a118dcffb9730f56982e2c8973cfa (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 11197de04f2a118dcffb9730f56982e2c8973cfa # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 (#1017)" > git rev-list --no-walk 7c5d33e1809bb8eeeb34c547fd1ee090328e56e5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-12T15:27:13.374Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-12T15:27:13.433Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-12T15:27:13.452Z] ========================================================= [2022-01-12T15:27:13.453Z] EdgeX Global Pipelines Version Info [2022-01-12T15:27:13.453Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-12T15:27:14.601Z] ------------------- [2022-01-12T15:27:14.602Z] stable info: [2022-01-12T15:27:14.602Z] ------------------- [2022-01-12T15:27:14.602Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-12T15:27:14.602Z] Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 [2022-01-12T15:27:14.602Z] Message: update stable to v1.0.218 [2022-01-12T15:27:15.178Z] ------------------- [2022-01-12T15:27:15.178Z] experimental info: [2022-01-12T15:27:15.178Z] ------------------- [2022-01-12T15:27:15.178Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-12T15:27:15.178Z] Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 [2022-01-12T15:27:15.178Z] Message: update experimental to v1.0.218 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-12T15:27:15.340Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2022-01-12T15:27:15.357Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2022-01-12T15:27:15.376Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-12T15:27:15.393Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-12T15:27:15.408Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-12T15:27:15.421Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2022-01-12T15:27:15.435Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-12T15:27:15.451Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-01-12T15:27:15.465Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-12T15:27:15.476Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-12T15:27:15.488Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-12T15:27:15.500Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2022-01-12T15:27:15.510Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-12T15:27:15.520Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-12T15:27:15.529Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2022-01-12T15:27:15.538Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-01-12T15:27:15.546Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-12T15:27:15.555Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-12T15:27:15.566Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-12T15:27:15.586Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-01-12T15:27:15.604Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-01-12T15:27:15.618Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-01-12T15:27:15.637Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-12T15:27:15.657Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-12T15:27:15.673Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2022-01-12T15:27:15.690Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-12T15:27:15.706Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-01-12T15:27:15.723Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-01-12T15:27:15.741Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-01-12T15:27:15.759Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 11197de04f2a118dcffb9730f56982e2c8973cfa [Pipeline] echo [2022-01-12T15:27:15.768Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 11197de [Pipeline] echo [2022-01-12T15:27:15.777Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-12T15:27:16.117Z] + git rev-list -1 --merges 11197de04f2a118dcffb9730f56982e2c8973cfa~1..11197de04f2a118dcffb9730f56982e2c8973cfa [Pipeline] echo [2022-01-12T15:27:16.153Z] -----------> git rev-list -1 --merges 11197de04f2a118dcffb9730f56982e2c8973cfa~1..11197de04f2a118dcffb9730f56982e2c8973cfa 11197de04f2a118dcffb9730f56982e2c8973cfa [false] [Pipeline] sh [2022-01-12T15:27:16.464Z] + git log --format=format:%s -1 11197de04f2a118dcffb9730f56982e2c8973cfa [Pipeline] echo [2022-01-12T15:27:16.484Z] ========================================================= [2022-01-12T15:27:16.484Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-12T15:27:16.484Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-12T15:27:16.841Z] + git log --format=format:%s -1 11197de04f2a118dcffb9730f56982e2c8973cfa [Pipeline] echo [2022-01-12T15:27:16.855Z] [semverPrep] GIT_COMMIT: 11197de04f2a118dcffb9730f56982e2c8973cfa, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 (#1017) [Pipeline] echo [2022-01-12T15:27:16.864Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-12T15:27:17.304Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-12T15:27:17.304Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-12T15:27:17.304Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-12T15:27:17.304Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-12T15:27:17.304Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-12T15:27:17.304Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-12T15:27:17.304Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-12T15:27:17.753Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-12T15:27:17.753Z] [2022-01-12T15:27:17.753Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-12T15:27:18.075Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-12T15:27:18.345Z] latest: Pulling from edgex-devops/git-semver [2022-01-12T15:27:18.345Z] a0d0a0d46f8b: Pulling fs layer [2022-01-12T15:27:18.345Z] 3e5f54012d9b: Pulling fs layer [2022-01-12T15:27:18.345Z] 4c7163046ea9: Pulling fs layer [2022-01-12T15:27:18.345Z] 0c2d73faf560: Pulling fs layer [2022-01-12T15:27:18.345Z] 0c2d73faf560: Waiting [2022-01-12T15:27:18.345Z] 3e5f54012d9b: Verifying Checksum [2022-01-12T15:27:18.345Z] 3e5f54012d9b: Download complete [2022-01-12T15:27:18.345Z] a0d0a0d46f8b: Download complete [2022-01-12T15:27:18.345Z] 0c2d73faf560: Verifying Checksum [2022-01-12T15:27:18.345Z] 0c2d73faf560: Download complete [2022-01-12T15:27:18.345Z] 4c7163046ea9: Verifying Checksum [2022-01-12T15:27:18.345Z] 4c7163046ea9: Download complete [2022-01-12T15:27:18.610Z] a0d0a0d46f8b: Pull complete [2022-01-12T15:27:18.878Z] 3e5f54012d9b: Pull complete [2022-01-12T15:27:19.454Z] 4c7163046ea9: Pull complete [2022-01-12T15:27:19.454Z] 0c2d73faf560: Pull complete [2022-01-12T15:27:19.454Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-12T15:27:19.454Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-12T15:27:19.454Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-12T15:27:19.526Z] prd-centos7-docker-4c-2g-1356 does not seem to be running inside a container [2022-01-12T15:27:19.381Z] $ 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 [2022-01-12T15:27:20.232Z] $ docker top 66d575163f13e0660b46119a617997525c4cde9c34fe9ed7da968434dd96e03e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-12T15:27:20.449Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-12T15:27:20.449Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-12T15:27:20.581Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-12T15:27:20.483Z] $ docker exec 66d575163f13e0660b46119a617997525c4cde9c34fe9ed7da968434dd96e03e ssh-agent [2022-01-12T15:27:20.705Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJeiEkm/agent.14 [2022-01-12T15:27:20.705Z] SSH_AGENT_PID=20 [2022-01-12T15:27:20.713Z] Running ssh-add (command line suppressed) [2022-01-12T15:27:20.746Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7468387942644744382.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7468387942644744382.key) [2022-01-12T15:27:20.847Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-12T15:27:21.152Z] + git tag --points-at HEAD [Pipeline] } [2022-01-12T15:27:21.111Z] $ docker exec --env ******** --env ******** 66d575163f13e0660b46119a617997525c4cde9c34fe9ed7da968434dd96e03e ssh-agent -k [2022-01-12T15:27:21.224Z] unset SSH_AUTH_SOCK; [2022-01-12T15:27:21.224Z] unset SSH_AGENT_PID; [2022-01-12T15:27:21.224Z] echo Agent pid 20 killed; [2022-01-12T15:27:21.278Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-12T15:27:21.307Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-12T15:27:21.307Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-12T15:27:21.436Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-12T15:27:21.409Z] $ docker exec 66d575163f13e0660b46119a617997525c4cde9c34fe9ed7da968434dd96e03e ssh-agent [2022-01-12T15:27:21.553Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdiKKGk/agent.55 [2022-01-12T15:27:21.553Z] SSH_AGENT_PID=62 [2022-01-12T15:27:21.558Z] Running ssh-add (command line suppressed) [2022-01-12T15:27:21.630Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_706581542286788470.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_706581542286788470.key) [2022-01-12T15:27:21.654Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-12T15:27:21.944Z] + git semver init [2022-01-12T15:27:21.944Z] # -> Open(): unable to determine branch for HEAD [2022-01-12T15:27:21.944Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2022-01-12T15:27:21.944Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2022-01-12T15:27:21.944Z] # $SEMVER_REMOTE_NAME = origin [2022-01-12T15:27:21.944Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-12T15:27:21.944Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-12T15:27:21.944Z] # $SEMVER_BRANCH = main [2022-01-12T15:27:21.944Z] # $SEMVER_TEMP = /tmp/semver-075548754 [2022-01-12T15:27:21.944Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2022-01-12T15:27:24.511Z] # '/tmp/semver-075548754' -> '/w/workspace/oundry_app-functions-sdk-go_main/.semver' [2022-01-12T15:27:24.511Z] # -> Force: false [2022-01-12T15:27:24.511Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [Pipeline] } [2022-01-12T15:27:24.521Z] $ docker exec --env ******** --env ******** 66d575163f13e0660b46119a617997525c4cde9c34fe9ed7da968434dd96e03e ssh-agent -k [2022-01-12T15:27:24.629Z] unset SSH_AUTH_SOCK; [2022-01-12T15:27:24.629Z] unset SSH_AGENT_PID; [2022-01-12T15:27:24.629Z] echo Agent pid 62 killed; [2022-01-12T15:27:24.642Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-12T15:27:24.954Z] + git semver [Pipeline] } [2022-01-12T15:27:24.966Z] $ docker stop --time=1 66d575163f13e0660b46119a617997525c4cde9c34fe9ed7da968434dd96e03e [2022-01-12T15:27:26.304Z] $ docker rm -f 66d575163f13e0660b46119a617997525c4cde9c34fe9ed7da968434dd96e03e [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-12T15:27:26.669Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-12T15:27:26.912Z] Stashed 1 file(s) [Pipeline] echo [2022-01-12T15:27:26.916Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.9 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2022-01-12T15:27:27.093Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-12T15:27:27.104Z] ========================================================= [2022-01-12T15:27:27.105Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2022-01-12T15:27:27.105Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-01-12T15:27:27.423Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2022-01-12T15:27:27.423Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-12T15:27:27.423Z] a0d0a0d46f8b: Already exists [2022-01-12T15:27:27.423Z] 31adcdaf11c8: Pulling fs layer [2022-01-12T15:27:27.423Z] b8b176561691: Pulling fs layer [2022-01-12T15:27:27.423Z] 4527c011a84f: Pulling fs layer [2022-01-12T15:27:27.423Z] 5d74067f8e1e: Pulling fs layer [2022-01-12T15:27:27.423Z] e0aca202a116: Pulling fs layer [2022-01-12T15:27:27.423Z] 3a43be97a3b4: Pulling fs layer [2022-01-12T15:27:27.423Z] 34cad66bf833: Pulling fs layer [2022-01-12T15:27:27.423Z] b4e3c513aaa6: Pulling fs layer [2022-01-12T15:27:27.423Z] 5d74067f8e1e: Waiting [2022-01-12T15:27:27.423Z] e0aca202a116: Waiting [2022-01-12T15:27:27.423Z] 3a43be97a3b4: Waiting [2022-01-12T15:27:27.423Z] 34cad66bf833: Waiting [2022-01-12T15:27:27.423Z] b4e3c513aaa6: Waiting [2022-01-12T15:27:27.423Z] b8b176561691: Verifying Checksum [2022-01-12T15:27:27.423Z] b8b176561691: Download complete [2022-01-12T15:27:27.423Z] 31adcdaf11c8: Verifying Checksum [2022-01-12T15:27:27.423Z] 5d74067f8e1e: Verifying Checksum [2022-01-12T15:27:27.423Z] 5d74067f8e1e: Download complete [2022-01-12T15:27:27.423Z] e0aca202a116: Verifying Checksum [2022-01-12T15:27:27.423Z] e0aca202a116: Download complete [2022-01-12T15:27:27.423Z] 3a43be97a3b4: Verifying Checksum [2022-01-12T15:27:27.423Z] 3a43be97a3b4: Download complete [2022-01-12T15:27:27.684Z] 31adcdaf11c8: Pull complete [2022-01-12T15:27:27.684Z] 34cad66bf833: Verifying Checksum [2022-01-12T15:27:27.685Z] 34cad66bf833: Download complete [2022-01-12T15:27:27.685Z] b8b176561691: Pull complete [2022-01-12T15:27:27.949Z] 4527c011a84f: Verifying Checksum [2022-01-12T15:27:27.949Z] 4527c011a84f: Download complete [2022-01-12T15:27:27.949Z] b4e3c513aaa6: Verifying Checksum [2022-01-12T15:27:27.949Z] b4e3c513aaa6: Download complete [2022-01-12T15:27:32.199Z] 4527c011a84f: Pull complete [2022-01-12T15:27:32.199Z] 5d74067f8e1e: Pull complete [2022-01-12T15:27:32.199Z] e0aca202a116: Pull complete [2022-01-12T15:27:32.199Z] 3a43be97a3b4: Pull complete [2022-01-12T15:27:32.199Z] 34cad66bf833: Pull complete [2022-01-12T15:27:34.142Z] b4e3c513aaa6: Pull complete [2022-01-12T15:27:34.142Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2022-01-12T15:27:34.142Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2022-01-12T15:27:34.142Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh [2022-01-12T15:27:34.442Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh [2022-01-12T15:27:34.747Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-12T15:27:34.747Z] . [Pipeline] withDockerContainer [2022-01-12T15:27:34.809Z] prd-centos7-docker-4c-2g-1356 does not seem to be running inside a container [2022-01-12T15:27:34.856Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-01-12T15:27:38.921Z] $ docker top 420c4cf62ff81e1d4eec4de116a2543f852e85fe61f0c2ff4cfa6242aa411c0a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-12T15:27:39.274Z] + go version [2022-01-12T15:27:39.274Z] go version go1.16.8 linux/amd64 [Pipeline] } [2022-01-12T15:27:39.285Z] $ docker stop --time=1 420c4cf62ff81e1d4eec4de116a2543f852e85fe61f0c2ff4cfa6242aa411c0a [2022-01-12T15:27:40.488Z] $ docker rm -f 420c4cf62ff81e1d4eec4de116a2543f852e85fe61f0c2ff4cfa6242aa411c0a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-12T15:27:40.926Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-12T15:27:40.926Z] . [Pipeline] withDockerContainer [2022-01-12T15:27:40.993Z] prd-centos7-docker-4c-2g-1356 does not seem to be running inside a container [2022-01-12T15:27:41.027Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-01-12T15:27:41.391Z] $ docker top 0b6b953a022ada2ecbf01d8e7f768cf9d261e230b07539255c52b7cf48513c6e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-12T15:27:41.773Z] + make test [2022-01-12T15:27:41.773Z] make -C ./app-service-template build [2022-01-12T15:27:41.773Z] make[1]: Entering directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' [2022-01-12T15:27:41.773Z] go mod tidy [2022-01-12T15:27:42.027Z] Still waiting to schedule task [2022-01-12T15:27:42.028Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-01-12T15:27:43.156Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 [2022-01-12T15:27:43.156Z] go: downloading github.com/stretchr/testify v1.7.0 [2022-01-12T15:27:43.156Z] go: downloading github.com/google/uuid v1.3.0 [2022-01-12T15:27:43.156Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.0 [2022-01-12T15:27:43.156Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0-dev.4 [2022-01-12T15:27:43.156Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 [2022-01-12T15:27:43.156Z] go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2022-01-12T15:27:43.156Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2022-01-12T15:27:43.156Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-01-12T15:27:43.417Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-01-12T15:27:43.417Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-01-12T15:27:43.417Z] go: downloading github.com/stretchr/objx v0.1.1 [2022-01-12T15:27:43.417Z] go: downloading github.com/go-kit/kit v0.11.0 [2022-01-12T15:27:43.417Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2022-01-12T15:27:43.417Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-01-12T15:27:43.417Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2022-01-12T15:27:43.417Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 [2022-01-12T15:27:43.417Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.0 [2022-01-12T15:27:43.417Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-01-12T15:27:43.417Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2022-01-12T15:27:43.677Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-01-12T15:27:43.677Z] go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 [2022-01-12T15:27:43.677Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2022-01-12T15:27:43.677Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-01-12T15:27:43.677Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-01-12T15:27:43.677Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2022-01-12T15:27:43.945Z] go: downloading golang.org/x/text v0.3.6 [2022-01-12T15:27:43.945Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2022-01-12T15:27:43.945Z] go: downloading github.com/go-playground/locales v0.14.0 [2022-01-12T15:27:44.906Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2022-01-12T15:27:44.906Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2022-01-12T15:27:44.906Z] go: downloading github.com/go-stack/stack v1.8.0 [2022-01-12T15:27:44.906Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-01-12T15:27:44.906Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-01-12T15:27:44.906Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-01-12T15:27:44.906Z] go: downloading github.com/x448/float16 v0.8.4 [2022-01-12T15:27:44.906Z] go: downloading github.com/kr/pretty v0.3.0 [2022-01-12T15:27:44.906Z] go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 [2022-01-12T15:27:44.906Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2022-01-12T15:27:44.906Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-01-12T15:27:44.906Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-01-12T15:27:44.906Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-01-12T15:27:45.168Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-01-12T15:27:45.168Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-01-12T15:27:45.168Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-01-12T15:27:45.169Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2022-01-12T15:27:45.169Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2022-01-12T15:27:45.169Z] go: downloading github.com/kr/text v0.2.0 [2022-01-12T15:27:45.169Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2022-01-12T15:27:45.169Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2022-01-12T15:27:45.438Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-01-12T15:27:45.438Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-01-12T15:27:45.438Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-01-12T15:27:45.438Z] go: downloading github.com/fatih/color v1.9.0 [2022-01-12T15:27:45.438Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-01-12T15:27:45.438Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-01-12T15:27:45.438Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2022-01-12T15:27:45.438Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-01-12T15:27:45.438Z] go: downloading github.com/pkg/errors v0.9.1 [2022-01-12T15:27:45.438Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2022-01-12T15:27:45.438Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2022-01-12T15:27:45.438Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2022-01-12T15:27:45.438Z] go: downloading github.com/onsi/gomega v1.7.0 [2022-01-12T15:27:45.705Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2022-01-12T15:27:45.705Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-01-12T15:27:45.705Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2022-01-12T15:27:45.705Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2022-01-12T15:27:45.705Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2022-01-12T15:27:45.705Z] go: downloading github.com/miekg/dns v1.1.26 [2022-01-12T15:27:45.705Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2022-01-12T15:27:45.705Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-01-12T15:27:45.705Z] go: downloading gopkg.in/yaml.v2 v2.3.0 [2022-01-12T15:27:45.705Z] go: downloading github.com/hpcloud/tail v1.0.0 [2022-01-12T15:27:45.705Z] go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c [2022-01-12T15:27:45.705Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2022-01-12T15:27:45.705Z] go: downloading github.com/golang/protobuf v1.5.2 [2022-01-12T15:27:45.705Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2022-01-12T15:27:45.705Z] go: downloading github.com/fsnotify/fsnotify v1.4.7 [2022-01-12T15:27:45.968Z] go: downloading google.golang.org/protobuf v1.27.1 [2022-01-12T15:27:45.968Z] go: downloading github.com/google/go-cmp v0.5.5 [2022-01-12T15:27:46.228Z] go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 [2022-01-12T15:27:46.228Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.1.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2022-01-12T15:27:58.533Z] make[1]: Leaving directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' [2022-01-12T15:27:58.533Z] make -C ./app-service-template test [2022-01-12T15:27:58.533Z] make[1]: Entering directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' [2022-01-12T15:27:58.533Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2022-01-12T15:28:08.607Z] ok new-app-service 0.014s coverage: 48.1% of statements [2022-01-12T15:28:08.607Z] ? new-app-service/config [no test files] [2022-01-12T15:28:08.607Z] ok new-app-service/functions 0.007s [2022-01-12T15:28:08.607Z] CGO_ENABLED=1 go vet ./... [2022-01-12T15:28:15.228Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-12T15:28:15.228Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-12T15:28:15.228Z] ./bin/test-attribution-txt.sh [2022-01-12T15:28:15.228Z] make[1]: Leaving directory '/w/workspace/oundry_app-functions-sdk-go_main/app-service-template' [2022-01-12T15:28:15.228Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-01-12T15:28:15.228Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2022-01-12T15:28:17.167Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.024s coverage: 65.8% of statements [2022-01-12T15:28:17.437Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.009s coverage: 93.7% of statements [2022-01-12T15:28:17.437Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2022-01-12T15:28:18.013Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.012s coverage: 61.8% of statements [2022-01-12T15:28:18.013Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2022-01-12T15:28:18.013Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.006s [2022-01-12T15:28:18.013Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.004s coverage: 100.0% of statements [2022-01-12T15:28:18.615Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.073s coverage: 78.3% of statements [2022-01-12T15:28:18.615Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2022-01-12T15:28:18.615Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2022-01-12T15:28:18.615Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2022-01-12T15:28:18.615Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2022-01-12T15:28:18.615Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2022-01-12T15:28:18.615Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2022-01-12T15:28:18.615Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.008s coverage: 97.3% of statements [2022-01-12T15:28:18.615Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2022-01-12T15:28:18.615Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] [2022-01-12T15:28:19.189Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.012s coverage: 97.4% of statements [2022-01-12T15:28:19.189Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] [2022-01-12T15:28:20.582Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 0.626s coverage: 80.4% of statements [2022-01-12T15:28:20.582Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] [2022-01-12T15:28:20.582Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] [2022-01-12T15:28:20.582Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.010s coverage: 34.2% of statements [2022-01-12T15:28:20.582Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] [2022-01-12T15:28:20.582Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.006s coverage: 14.3% of statements [2022-01-12T15:28:20.582Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.017s coverage: 27.3% of statements [2022-01-12T15:28:20.582Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2022-01-12T15:28:20.582Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-01-12T15:28:20.872Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.009s coverage: 51.4% of statements [2022-01-12T15:28:47.475Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.023s coverage: 78.2% of statements [2022-01-12T15:28:47.475Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.010s coverage: 94.4% of statements [2022-01-12T15:28:47.475Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-01-12T15:28:48.436Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-12T15:28:48.436Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2022-01-12T15:29:00.736Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-12T15:29:00.747Z] $ docker stop --time=1 0b6b953a022ada2ecbf01d8e7f768cf9d261e230b07539255c52b7cf48513c6e [2022-01-12T15:29:02.085Z] $ docker rm -f 0b6b953a022ada2ecbf01d8e7f768cf9d261e230b07539255c52b7cf48513c6e [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-12T15:29:02.834Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-12T15:29:02.907Z] Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-12T15:29:03.355Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-12T15:29:03.355Z] [2022-01-12T15:29:03.355Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-12T15:29:03.661Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-12T15:29:03.661Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-12T15:29:03.661Z] b4d181a07f80: Pulling fs layer [2022-01-12T15:29:03.661Z] a1111a8f2ec3: Pulling fs layer [2022-01-12T15:29:03.661Z] ed53099fbce6: Pulling fs layer [2022-01-12T15:29:03.661Z] dc539afda2c1: Pulling fs layer [2022-01-12T15:29:03.661Z] 77bc0d833cb6: Pulling fs layer [2022-01-12T15:29:03.661Z] 9065ff56babe: Pulling fs layer [2022-01-12T15:29:03.661Z] d287ab97295c: Pulling fs layer [2022-01-12T15:29:03.661Z] dc539afda2c1: Waiting [2022-01-12T15:29:03.661Z] 77bc0d833cb6: Waiting [2022-01-12T15:29:03.661Z] 9065ff56babe: Waiting [2022-01-12T15:29:03.661Z] d287ab97295c: Waiting [2022-01-12T15:29:03.661Z] a1111a8f2ec3: Verifying Checksum [2022-01-12T15:29:03.661Z] a1111a8f2ec3: Download complete [2022-01-12T15:29:03.661Z] dc539afda2c1: Verifying Checksum [2022-01-12T15:29:03.661Z] dc539afda2c1: Download complete [2022-01-12T15:29:03.661Z] 77bc0d833cb6: Verifying Checksum [2022-01-12T15:29:03.661Z] 77bc0d833cb6: Download complete [2022-01-12T15:29:03.661Z] ed53099fbce6: Verifying Checksum [2022-01-12T15:29:03.661Z] ed53099fbce6: Download complete [2022-01-12T15:29:03.661Z] 9065ff56babe: Verifying Checksum [2022-01-12T15:29:03.661Z] 9065ff56babe: Download complete [2022-01-12T15:29:03.929Z] b4d181a07f80: Verifying Checksum [2022-01-12T15:29:03.929Z] b4d181a07f80: Download complete [2022-01-12T15:29:03.929Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1357 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws [2022-01-12T15:29:03.943Z] Running in /w/workspace/app-functions-sdk-go/69 [Pipeline] { [Pipeline] checkout [2022-01-12T15:29:04.124Z] The recommended git tool is: git [2022-01-12T15:29:04.534Z] d287ab97295c: Verifying Checksum [2022-01-12T15:29:04.534Z] d287ab97295c: Download complete [2022-01-12T15:29:05.499Z] b4d181a07f80: Pull complete [2022-01-12T15:29:05.499Z] a1111a8f2ec3: Pull complete [2022-01-12T15:29:06.076Z] ed53099fbce6: Pull complete [2022-01-12T15:29:06.076Z] dc539afda2c1: Pull complete [2022-01-12T15:29:06.342Z] 77bc0d833cb6: Pull complete [2022-01-12T15:29:06.342Z] 9065ff56babe: Pull complete [2022-01-12T15:29:08.679Z] using credential edgex-jenkins-ssh [2022-01-12T15:29:08.694Z] Cloning the remote Git repository [2022-01-12T15:29:08.741Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2022-01-12T15:29:08.819Z] > git init /w/workspace/app-functions-sdk-go/69 # timeout=10 [2022-01-12T15:29:08.888Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2022-01-12T15:29:08.890Z] > git --version # timeout=10 [2022-01-12T15:29:08.908Z] > git --version # 'git version 2.17.1' [2022-01-12T15:29:08.910Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-12T15:29:09.037Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-12T15:29:11.701Z] d287ab97295c: Pull complete [2022-01-12T15:29:11.701Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-12T15:29:11.701Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-12T15:29:11.701Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-12T15:29:11.782Z] prd-centos7-docker-4c-2g-1356 does not seem to be running inside a container [2022-01-12T15:29:11.819Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-12T15:29:12.504Z] Avoid second fetch [2022-01-12T15:29:12.505Z] Checking out Revision 11197de04f2a118dcffb9730f56982e2c8973cfa (main) [2022-01-12T15:29:12.468Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2022-01-12T15:29:12.488Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-12T15:29:12.530Z] > git config core.sparsecheckout # timeout=10 [2022-01-12T15:29:12.556Z] > git checkout -f 11197de04f2a118dcffb9730f56982e2c8973cfa # timeout=10 [2022-01-12T15:29:14.279Z] $ docker top 3c2b46699820548cba7e186c3d2081027cab4a7eac0ff64ca3d83299e4fd91df -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-12T15:29:14.721Z] ---> job-cost.sh [2022-01-12T15:29:14.721Z] lf-activate-venv: SKIPPING [2022-01-12T15:29:14.721Z] INFO: No Stack... [2022-01-12T15:29:14.983Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-12T15:29:15.243Z] INFO: Archiving Costs [Pipeline] sh [2022-01-12T15:29:15.545Z] + cat /w/workspace/oundry_app-functions-sdk-go_main/archives/cost.csv [2022-01-12T15:29:15.545Z] + cut -d, -f6 [Pipeline] lock [2022-01-12T15:29:15.563Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-69-stack-cost] [2022-01-12T15:29:15.569Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-69-stack-cost] did not exist. Created. [2022-01-12T15:29:15.569Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-69-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-12T15:29:15.879Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-12T15:29:15.916Z] Stashed 1 file(s) [Pipeline] } [2022-01-12T15:29:15.923Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-69-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-12T15:29:15.938Z] $ docker stop --time=1 3c2b46699820548cba7e186c3d2081027cab4a7eac0ff64ca3d83299e4fd91df [2022-01-12T15:29:16.728Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 (#1017)" [2022-01-12T15:29:17.067Z] $ docker rm -f 3c2b46699820548cba7e186c3d2081027cab4a7eac0ff64ca3d83299e4fd91df [2022-01-12T15:29:17.110Z] [2022-01-12T15:29:17.110Z] GitHub has been notified of this commit’s build result [2022-01-12T15:29:17.110Z] [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-12T15:29:17.694Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-12T15:29:17.694Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-12T15:29:17.694Z] Dload Upload Total Spent Left Speed [2022-01-12T15:29:17.694Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 62661 0 --:--:-- --:--:-- --:--:-- 62661 [Pipeline] sh [2022-01-12T15:29:18.219Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-12T15:29:18.562Z] + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new [2022-01-12T15:29:18.562Z] [2022-01-12T15:29:18.562Z] { [2022-01-12T15:29:18.562Z] "registry-mirrors": [ [2022-01-12T15:29:18.562Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-12T15:29:18.562Z] ], [2022-01-12T15:29:18.562Z] "bip": "10.250.0.254/24", [2022-01-12T15:29:18.562Z] "hosts": [ [2022-01-12T15:29:18.562Z] "tcp://0.0.0.0:5555", [2022-01-12T15:29:18.562Z] "unix:///var/run/docker.sock" [2022-01-12T15:29:18.562Z] ], [2022-01-12T15:29:18.562Z] "mtu": 1458, [2022-01-12T15:29:18.562Z] "selinux-enabled": true, [2022-01-12T15:29:18.562Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-12T15:29:18.562Z] } [Pipeline] sh [2022-01-12T15:29:18.905Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-12T15:29:19.250Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2022-01-12T15:29:37.904Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-12T15:29:37.924Z] ========================================================= [2022-01-12T15:29:37.924Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2022-01-12T15:29:37.924Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-01-12T15:29:38.265Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2022-01-12T15:29:38.863Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-12T15:29:38.863Z] 552d1f2373af: Pulling fs layer [2022-01-12T15:29:38.863Z] ea3f2d53f512: Pulling fs layer [2022-01-12T15:29:38.863Z] 9e70ebbbe112: Pulling fs layer [2022-01-12T15:29:38.863Z] 7a9cfe048b4a: Pulling fs layer [2022-01-12T15:29:38.863Z] 72dc09318566: Pulling fs layer [2022-01-12T15:29:38.863Z] f4f7b4309257: Pulling fs layer [2022-01-12T15:29:38.863Z] 0ac9a79272e3: Pulling fs layer [2022-01-12T15:29:38.863Z] b78e95d17946: Pulling fs layer [2022-01-12T15:29:38.863Z] 7a9cfe048b4a: Waiting [2022-01-12T15:29:38.863Z] 72dc09318566: Waiting [2022-01-12T15:29:38.863Z] f4f7b4309257: Waiting [2022-01-12T15:29:38.863Z] 0ac9a79272e3: Waiting [2022-01-12T15:29:38.863Z] b78e95d17946: Waiting [2022-01-12T15:29:38.863Z] 9e70ebbbe112: Download complete [2022-01-12T15:29:38.863Z] ea3f2d53f512: Verifying Checksum [2022-01-12T15:29:38.863Z] ea3f2d53f512: Download complete [2022-01-12T15:29:38.863Z] 72dc09318566: Verifying Checksum [2022-01-12T15:29:38.863Z] 72dc09318566: Download complete [2022-01-12T15:29:38.863Z] f4f7b4309257: Download complete [2022-01-12T15:29:38.863Z] 552d1f2373af: Verifying Checksum [2022-01-12T15:29:38.863Z] 552d1f2373af: Download complete [2022-01-12T15:29:38.863Z] 0ac9a79272e3: Download complete [2022-01-12T15:29:39.877Z] 552d1f2373af: Pull complete [2022-01-12T15:29:40.152Z] ea3f2d53f512: Pull complete [2022-01-12T15:29:40.429Z] 9e70ebbbe112: Pull complete [2022-01-12T15:29:40.704Z] b78e95d17946: Verifying Checksum [2022-01-12T15:29:40.704Z] b78e95d17946: Download complete [2022-01-12T15:29:41.303Z] 7a9cfe048b4a: Verifying Checksum [2022-01-12T15:29:41.303Z] 7a9cfe048b4a: Download complete [2022-01-12T15:29:53.706Z] 7a9cfe048b4a: Pull complete [2022-01-12T15:29:53.706Z] 72dc09318566: Pull complete [2022-01-12T15:29:53.706Z] f4f7b4309257: Pull complete [2022-01-12T15:29:53.706Z] 0ac9a79272e3: Pull complete [2022-01-12T15:29:59.119Z] b78e95d17946: Pull complete [2022-01-12T15:29:59.119Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2022-01-12T15:29:59.119Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2022-01-12T15:29:59.119Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh [2022-01-12T15:29:59.453Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-12T15:29:59.802Z] + docker inspect -f . ci-base-image-arm64 [2022-01-12T15:29:59.802Z] . [Pipeline] withDockerContainer [2022-01-12T15:30:00.029Z] prd-ubuntu18.04-docker-arm64-4c-16g-1357 does not seem to be running inside a container [2022-01-12T15:30:00.117Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/69 -v /w/workspace/app-functions-sdk-go/69:/w/workspace/app-functions-sdk-go/69:rw,z -v /w/workspace/app-functions-sdk-go/69@tmp:/w/workspace/app-functions-sdk-go/69@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-12T15:30:02.957Z] $ docker top e00b1c801fad6c7c96035e507819c70f0ffadc08c25ba3d9e34f4b1e7b051c42 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-12T15:30:03.860Z] + go version [2022-01-12T15:30:03.860Z] go version go1.16.8 linux/arm64 [Pipeline] } [2022-01-12T15:30:03.886Z] $ docker stop --time=1 e00b1c801fad6c7c96035e507819c70f0ffadc08c25ba3d9e34f4b1e7b051c42 [2022-01-12T15:30:05.507Z] $ docker rm -f e00b1c801fad6c7c96035e507819c70f0ffadc08c25ba3d9e34f4b1e7b051c42 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-12T15:30:06.144Z] + docker inspect -f . ci-base-image-arm64 [2022-01-12T15:30:06.144Z] . [Pipeline] withDockerContainer [2022-01-12T15:30:06.351Z] prd-ubuntu18.04-docker-arm64-4c-16g-1357 does not seem to be running inside a container [2022-01-12T15:30:06.430Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/69 -v /w/workspace/app-functions-sdk-go/69:/w/workspace/app-functions-sdk-go/69:rw,z -v /w/workspace/app-functions-sdk-go/69@tmp:/w/workspace/app-functions-sdk-go/69@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-12T15:30:07.731Z] $ docker top ca878c689a493df97df19a6b7dbf2b3c3bcf598b9110380de5a9b14aab893ef9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-12T15:30:08.636Z] + make test [2022-01-12T15:30:08.636Z] make -C ./app-service-template build [2022-01-12T15:30:08.636Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/69/app-service-template' [2022-01-12T15:30:08.636Z] go mod tidy [2022-01-12T15:30:10.077Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 [2022-01-12T15:30:10.077Z] go: downloading github.com/google/uuid v1.3.0 [2022-01-12T15:30:10.353Z] go: downloading github.com/stretchr/testify v1.7.0 [2022-01-12T15:30:10.353Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.0 [2022-01-12T15:30:10.353Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0-dev.4 [2022-01-12T15:30:10.353Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 [2022-01-12T15:30:10.626Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-01-12T15:30:10.626Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-01-12T15:30:10.626Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-01-12T15:30:10.626Z] go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2022-01-12T15:30:10.626Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2022-01-12T15:30:10.626Z] go: downloading github.com/stretchr/objx v0.1.1 [2022-01-12T15:30:10.626Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2022-01-12T15:30:10.626Z] go: downloading github.com/go-kit/kit v0.11.0 [2022-01-12T15:30:10.904Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-01-12T15:30:10.904Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2022-01-12T15:30:10.904Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 [2022-01-12T15:30:10.904Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.0 [2022-01-12T15:30:10.904Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2022-01-12T15:30:10.904Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2022-01-12T15:30:10.904Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-01-12T15:30:10.904Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-01-12T15:30:10.904Z] go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 [2022-01-12T15:30:11.176Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2022-01-12T15:30:11.176Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-01-12T15:30:11.176Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-01-12T15:30:11.176Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2022-01-12T15:30:11.176Z] go: downloading golang.org/x/text v0.3.6 [2022-01-12T15:30:11.456Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2022-01-12T15:30:11.456Z] go: downloading github.com/go-playground/locales v0.14.0 [2022-01-12T15:30:14.084Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-01-12T15:30:14.084Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-01-12T15:30:14.084Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-01-12T15:30:14.084Z] go: downloading github.com/kr/pretty v0.3.0 [2022-01-12T15:30:14.084Z] go: downloading github.com/x448/float16 v0.8.4 [2022-01-12T15:30:14.084Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2022-01-12T15:30:14.084Z] go: downloading github.com/go-stack/stack v1.8.0 [2022-01-12T15:30:14.357Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2022-01-12T15:30:14.357Z] go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 [2022-01-12T15:30:14.357Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-01-12T15:30:14.357Z] go: downloading github.com/kr/text v0.2.0 [2022-01-12T15:30:14.357Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2022-01-12T15:30:14.357Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2022-01-12T15:30:14.357Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-01-12T15:30:14.357Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-01-12T15:30:14.633Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-01-12T15:30:14.633Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-01-12T15:30:14.633Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-01-12T15:30:14.633Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-01-12T15:30:14.633Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-01-12T15:30:14.633Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2022-01-12T15:30:14.633Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2022-01-12T15:30:14.633Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-01-12T15:30:14.633Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2022-01-12T15:30:14.911Z] go: downloading github.com/onsi/gomega v1.7.0 [2022-01-12T15:30:14.911Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2022-01-12T15:30:14.911Z] go: downloading github.com/fatih/color v1.9.0 [2022-01-12T15:30:14.911Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-01-12T15:30:14.911Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-01-12T15:30:15.186Z] go: downloading github.com/pkg/errors v0.9.1 [2022-01-12T15:30:15.186Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-01-12T15:30:15.186Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2022-01-12T15:30:15.186Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2022-01-12T15:30:15.186Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2022-01-12T15:30:15.186Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-01-12T15:30:15.186Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2022-01-12T15:30:15.186Z] go: downloading github.com/hpcloud/tail v1.0.0 [2022-01-12T15:30:15.186Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2022-01-12T15:30:15.186Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2022-01-12T15:30:15.186Z] go: downloading github.com/miekg/dns v1.1.26 [2022-01-12T15:30:15.186Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2022-01-12T15:30:15.459Z] go: downloading gopkg.in/yaml.v2 v2.3.0 [2022-01-12T15:30:15.459Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-01-12T15:30:15.459Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2022-01-12T15:30:15.459Z] go: downloading github.com/golang/protobuf v1.5.2 [2022-01-12T15:30:15.459Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2022-01-12T15:30:15.459Z] go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c [2022-01-12T15:30:15.459Z] go: downloading github.com/fsnotify/fsnotify v1.4.7 [2022-01-12T15:30:15.733Z] go: downloading google.golang.org/protobuf v1.27.1 [2022-01-12T15:30:16.334Z] go: downloading github.com/google/go-cmp v0.5.5 [2022-01-12T15:30:16.334Z] go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 [2022-01-12T15:30:16.610Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.1.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2022-01-12T15:30:55.656Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/69/app-service-template' [2022-01-12T15:30:55.656Z] make -C ./app-service-template test [2022-01-12T15:30:55.656Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/69/app-service-template' [2022-01-12T15:30:55.656Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2022-01-12T15:31:22.453Z] ok new-app-service 0.060s coverage: 48.1% of statements [2022-01-12T15:31:22.453Z] ? new-app-service/config [no test files] [2022-01-12T15:31:22.453Z] ok new-app-service/functions 0.039s [2022-01-12T15:31:22.727Z] CGO_ENABLED=1 go vet ./... [2022-01-12T15:31:49.546Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-12T15:31:49.546Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-12T15:31:49.546Z] ./bin/test-attribution-txt.sh [2022-01-12T15:31:51.538Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/69/app-service-template' [2022-01-12T15:31:51.538Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-01-12T15:31:52.982Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2022-01-12T15:32:03.192Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.106s coverage: 65.8% of statements [2022-01-12T15:32:03.192Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.062s coverage: 93.7% of statements [2022-01-12T15:32:03.192Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2022-01-12T15:32:03.192Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.126s coverage: 61.8% of statements [2022-01-12T15:32:03.192Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2022-01-12T15:32:03.192Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.053s [2022-01-12T15:32:03.192Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/etm 0.040s coverage: 100.0% of statements [2022-01-12T15:32:03.192Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.123s coverage: 78.3% of statements [2022-01-12T15:32:03.192Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2022-01-12T15:32:03.192Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2022-01-12T15:32:03.192Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2022-01-12T15:32:03.192Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2022-01-12T15:32:03.192Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2022-01-12T15:32:03.192Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2022-01-12T15:32:03.192Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.013s coverage: 97.3% of statements [2022-01-12T15:32:03.192Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2022-01-12T15:32:03.192Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger [no test files] [2022-01-12T15:32:03.192Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.086s coverage: 97.4% of statements [2022-01-12T15:32:03.192Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http/mocks [no test files] [2022-01-12T15:32:07.538Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 0.775s coverage: 80.4% of statements [2022-01-12T15:32:07.538Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus/mocks [no test files] [2022-01-12T15:32:07.538Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mocks [no test files] [2022-01-12T15:32:07.538Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt 0.093s coverage: 34.2% of statements [2022-01-12T15:32:07.538Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt/mocks [no test files] [2022-01-12T15:32:07.538Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.047s coverage: 14.3% of statements [2022-01-12T15:32:07.815Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.060s coverage: 27.3% of statements [2022-01-12T15:32:07.815Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2022-01-12T15:32:07.815Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-01-12T15:32:08.090Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.089s coverage: 51.4% of statements [2022-01-12T15:32:40.417Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.118s coverage: 78.2% of statements [2022-01-12T15:32:40.417Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.034s coverage: 94.4% of statements [2022-01-12T15:32:40.417Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-01-12T15:32:41.401Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-12T15:32:41.674Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-12T15:32:42.264Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [Pipeline] echo [2022-01-12T15:32:42.286Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-12T15:32:42.297Z] $ docker stop --time=1 ca878c689a493df97df19a6b7dbf2b3c3bcf598b9110380de5a9b14aab893ef9 [2022-01-12T15:32:44.062Z] $ docker rm -f ca878c689a493df97df19a6b7dbf2b3c3bcf598b9110380de5a9b14aab893ef9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-12T15:32:46.519Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-12T15:32:46.539Z] Warning: overwriting stash ‘coverage-report’ [2022-01-12T15:32:47.063Z] Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-12T15:32:47.510Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-12T15:32:47.510Z] [2022-01-12T15:32:47.510Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-12T15:32:47.887Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-12T15:32:48.177Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-12T15:32:48.177Z] 448f6bf000e3: Pulling fs layer [2022-01-12T15:32:48.177Z] f757da607395: Pulling fs layer [2022-01-12T15:32:48.177Z] 05883995daec: Pulling fs layer [2022-01-12T15:32:48.177Z] 8603b9c90790: Pulling fs layer [2022-01-12T15:32:48.177Z] 1560dd03e051: Pulling fs layer [2022-01-12T15:32:48.177Z] 27f5ce0e4adf: Pulling fs layer [2022-01-12T15:32:48.177Z] c2d8d7efcc4b: Pulling fs layer [2022-01-12T15:32:48.177Z] 1560dd03e051: Waiting [2022-01-12T15:32:48.177Z] 8603b9c90790: Waiting [2022-01-12T15:32:48.177Z] 27f5ce0e4adf: Waiting [2022-01-12T15:32:48.177Z] c2d8d7efcc4b: Waiting [2022-01-12T15:32:48.177Z] f757da607395: Verifying Checksum [2022-01-12T15:32:48.177Z] f757da607395: Download complete [2022-01-12T15:32:48.177Z] 8603b9c90790: Verifying Checksum [2022-01-12T15:32:48.177Z] 8603b9c90790: Download complete [2022-01-12T15:32:48.455Z] 1560dd03e051: Verifying Checksum [2022-01-12T15:32:48.455Z] 1560dd03e051: Download complete [2022-01-12T15:32:48.455Z] 05883995daec: Verifying Checksum [2022-01-12T15:32:48.455Z] 05883995daec: Download complete [2022-01-12T15:32:48.455Z] 27f5ce0e4adf: Verifying Checksum [2022-01-12T15:32:48.455Z] 27f5ce0e4adf: Download complete [2022-01-12T15:32:48.751Z] 448f6bf000e3: Verifying Checksum [2022-01-12T15:32:48.751Z] 448f6bf000e3: Download complete [2022-01-12T15:32:51.428Z] c2d8d7efcc4b: Verifying Checksum [2022-01-12T15:32:51.428Z] c2d8d7efcc4b: Download complete [2022-01-12T15:32:52.858Z] 448f6bf000e3: Pull complete [2022-01-12T15:32:53.457Z] f757da607395: Pull complete [2022-01-12T15:32:54.886Z] 05883995daec: Pull complete [2022-01-12T15:32:55.161Z] 8603b9c90790: Pull complete [2022-01-12T15:32:56.138Z] 1560dd03e051: Pull complete [2022-01-12T15:32:56.411Z] 27f5ce0e4adf: Pull complete [2022-01-12T15:33:11.492Z] c2d8d7efcc4b: Pull complete [2022-01-12T15:33:11.492Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-12T15:33:11.492Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-12T15:33:11.492Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-12T15:33:11.691Z] prd-ubuntu18.04-docker-arm64-4c-16g-1357 does not seem to be running inside a container [2022-01-12T15:33:11.765Z] $ 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/69 -v /w/workspace/app-functions-sdk-go/69:/w/workspace/app-functions-sdk-go/69:rw,z -v /w/workspace/app-functions-sdk-go/69@tmp:/w/workspace/app-functions-sdk-go/69@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-01-12T15:33:14.270Z] $ docker top ff82f87b0ef19e08ccedbafbc8369bc1d73e39c841ee5fbc2abb290a09b2b337 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-12T15:33:15.164Z] ---> job-cost.sh [2022-01-12T15:33:15.164Z] lf-activate-venv: SKIPPING [2022-01-12T15:33:15.164Z] INFO: No Stack... [2022-01-12T15:33:15.434Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-12T15:33:15.704Z] INFO: Archiving Costs [Pipeline] sh [2022-01-12T15:33:16.363Z] + cut -d, -f6 [2022-01-12T15:33:16.363Z] + cat /w/workspace/app-functions-sdk-go/69/archives/cost.csv [Pipeline] lock [2022-01-12T15:33:16.426Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-69-stack-cost] [2022-01-12T15:33:16.433Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-69-stack-cost] did not exist. Created. [2022-01-12T15:33:16.433Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-69-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-12T15:33:17.107Z] /w/workspace/app-functions-sdk-go/69@tmp/durable-36f0dab7/script.sh: 1: /w/workspace/app-functions-sdk-go/69@tmp/durable-36f0dab7/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-12T15:33:17.780Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-12T15:33:17.803Z] Warning: overwriting stash ‘stack-cost’ [2022-01-12T15:33:17.866Z] Stashed 1 file(s) [Pipeline] } [2022-01-12T15:33:17.875Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-69-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-12T15:33:17.888Z] $ docker stop --time=1 ff82f87b0ef19e08ccedbafbc8369bc1d73e39c841ee5fbc2abb290a09b2b337 [2022-01-12T15:33:19.360Z] $ docker rm -f ff82f87b0ef19e08ccedbafbc8369bc1d73e39c841ee5fbc2abb290a09b2b337 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-01-12T15:33:19.862Z] provisioning config files... [2022-01-12T15:33:19.875Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config2714129993602141518tmp [Pipeline] { [Pipeline] sh [2022-01-12T15:33:20.196Z] + set +x [2022-01-12T15:33:20.196Z] + bash -s -- [2022-01-12T15:33:20.196Z] + curl -s https://codecov.io/bash [2022-01-12T15:33:20.196Z] [2022-01-12T15:33:20.196Z] _____ _ [2022-01-12T15:33:20.196Z] / ____| | | [2022-01-12T15:33:20.196Z] | | ___ __| | ___ ___ _____ __ [2022-01-12T15:33:20.196Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-01-12T15:33:20.196Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-01-12T15:33:20.196Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-01-12T15:33:20.196Z] Bash-1.0.6 [2022-01-12T15:33:20.196Z] [2022-01-12T15:33:20.196Z] [2022-01-12T15:33:20.196Z] ==> git version 2.24.4 found [2022-01-12T15:33:20.196Z] ==> 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 [2022-01-12T15:33:20.196Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2022-01-12T15:33:20.196Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2022-01-12T15:33:20.196Z] ==> Jenkins CI detected. [2022-01-12T15:33:20.196Z] current dir:  /w/workspace/oundry_app-functions-sdk-go_main [2022-01-12T15:33:20.196Z] project root: . [2022-01-12T15:33:20.196Z] --> token set from env [2022-01-12T15:33:20.196Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-01-12T15:33:20.196Z] ==> Running gcov in . (disable via -X gcov) [2022-01-12T15:33:20.196Z] ==> Python coveragepy not found [2022-01-12T15:33:20.196Z] ==> Searching for coverage reports in: [2022-01-12T15:33:20.196Z] + . [2022-01-12T15:33:20.196Z] -> Found 2 reports [2022-01-12T15:33:20.196Z] ==> Detecting git/mercurial file structure [2022-01-12T15:33:20.460Z] ==> Reading reports [2022-01-12T15:33:20.460Z] + ./app-service-template/coverage.out bytes=1219 [2022-01-12T15:33:20.460Z] + ./coverage.out bytes=111605 [2022-01-12T15:33:20.460Z] ==> Appending adjustments [2022-01-12T15:33:20.460Z] https://docs.codecov.io/docs/fixing-reports [2022-01-12T15:33:20.723Z] + Found adjustments [2022-01-12T15:33:20.723Z] ==> Gzipping contents [2022-01-12T15:33:20.723Z] 20K /tmp/codecov.72qf0p.gz [2022-01-12T15:33:20.723Z] ==> Uploading reports [2022-01-12T15:33:20.723Z] url: https://codecov.io [2022-01-12T15:33:20.723Z] query: branch=main&commit=11197de04f2a118dcffb9730f56982e2c8973cfa&build=69&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F69%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-01-12T15:33:20.723Z] -> Pinging Codecov [2022-01-12T15:33:20.723Z] 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=11197de04f2a118dcffb9730f56982e2c8973cfa&build=69&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F69%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-01-12T15:33:21.299Z] -> Uploading to [2022-01-12T15:33:21.299Z] https://storage.googleapis.com/codecov/v4/raw/2022-01-12/3D8B5DFFC46A037C893635FACE044666/11197de04f2a118dcffb9730f56982e2c8973cfa/50b4af51-09f6-4c67-aa74-3721ddff1028.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220112%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220112T153321Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d9e76642296f1e97872178cc8673ab6cacba87dd20f7ae0393c440c21e2a522c [2022-01-12T15:33:21.299Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-12T15:33:21.299Z] Dload Upload Total Spent Left Speed [2022-01-12T15:33:21.562Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19345 0 0 100 19345 0 50243 --:--:-- --:--:-- --:--:-- 50246 100 19345 0 0 100 19345 0 50223 --:--:-- --:--:-- --:--:-- 50116 [2022-01-12T15:33:21.562Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/11197de04f2a118dcffb9730f56982e2c8973cfa [Pipeline] } [2022-01-12T15:33:21.571Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-01-12T15:33:21.892Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-01-12T15:33:21.907Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-12T15:33:22.207Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-12T15:33:22.207Z] [2022-01-12T15:33:22.207Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-01-12T15:33:22.529Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-12T15:33:22.529Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-01-12T15:33:22.529Z] 188c0c94c7c5: Pulling fs layer [2022-01-12T15:33:22.529Z] 0ef7d3d256c8: Pulling fs layer [2022-01-12T15:33:22.529Z] de9db76c5a1d: Pulling fs layer [2022-01-12T15:33:22.529Z] 0eba1c9be4d2: Pulling fs layer [2022-01-12T15:33:22.529Z] 0d57e429df01: Pulling fs layer [2022-01-12T15:33:22.529Z] 4e4be7b47b0d: Pulling fs layer [2022-01-12T15:33:22.529Z] e1f770b5df2f: Pulling fs layer [2022-01-12T15:33:22.529Z] 85a0685a4137: Pulling fs layer [2022-01-12T15:33:22.529Z] 0eba1c9be4d2: Waiting [2022-01-12T15:33:22.529Z] 0d57e429df01: Waiting [2022-01-12T15:33:22.530Z] 4e4be7b47b0d: Waiting [2022-01-12T15:33:22.530Z] e1f770b5df2f: Waiting [2022-01-12T15:33:22.530Z] 85a0685a4137: Waiting [2022-01-12T15:33:22.530Z] de9db76c5a1d: Verifying Checksum [2022-01-12T15:33:22.530Z] de9db76c5a1d: Download complete [2022-01-12T15:33:22.530Z] 0ef7d3d256c8: Verifying Checksum [2022-01-12T15:33:22.530Z] 0ef7d3d256c8: Download complete [2022-01-12T15:33:22.530Z] 0d57e429df01: Verifying Checksum [2022-01-12T15:33:22.530Z] 0d57e429df01: Download complete [2022-01-12T15:33:22.530Z] 4e4be7b47b0d: Verifying Checksum [2022-01-12T15:33:22.530Z] 4e4be7b47b0d: Download complete [2022-01-12T15:33:22.530Z] 188c0c94c7c5: Verifying Checksum [2022-01-12T15:33:22.530Z] 188c0c94c7c5: Download complete [2022-01-12T15:33:22.810Z] e1f770b5df2f: Verifying Checksum [2022-01-12T15:33:22.810Z] e1f770b5df2f: Download complete [2022-01-12T15:33:23.082Z] 0eba1c9be4d2: Verifying Checksum [2022-01-12T15:33:23.082Z] 0eba1c9be4d2: Download complete [2022-01-12T15:33:23.082Z] 188c0c94c7c5: Pull complete [2022-01-12T15:33:23.349Z] 0ef7d3d256c8: Pull complete [2022-01-12T15:33:23.349Z] 85a0685a4137: Verifying Checksum [2022-01-12T15:33:23.349Z] 85a0685a4137: Download complete [2022-01-12T15:33:23.349Z] de9db76c5a1d: Pull complete [2022-01-12T15:33:27.628Z] 0eba1c9be4d2: Pull complete [2022-01-12T15:33:27.628Z] 0d57e429df01: Pull complete [2022-01-12T15:33:27.628Z] 4e4be7b47b0d: Pull complete [2022-01-12T15:33:27.628Z] e1f770b5df2f: Pull complete [2022-01-12T15:33:31.851Z] 85a0685a4137: Pull complete [2022-01-12T15:33:31.851Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-01-12T15:33:31.851Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-12T15:33:31.851Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-01-12T15:33:31.921Z] prd-centos7-docker-4c-2g-1356 does not seem to be running inside a container [2022-01-12T15:33:31.958Z] $ 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 [2022-01-12T15:33:34.073Z] $ docker top a419ba8ca73d5592c21b7ffbccda1844dc31388f6e4faa79f34648de2032a546 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-01-12T15:33:34.171Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-01-12T15:33:34.467Z] + set -o pipefail [2022-01-12T15:33:34.467Z] + snyk monitor '--org=edgex-jenkins' [2022-01-12T15:33:39.926Z] [2022-01-12T15:33:39.926Z] Monitoring /w/workspace/oundry_app-functions-sdk-go_main (github.com/edgexfoundry/app-functions-sdk-go/v2)... [2022-01-12T15:33:39.926Z] [2022-01-12T15:33:39.926Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/25ed87e7-17ff-42d3-a677-0fe020ea129e [2022-01-12T15:33:39.926Z] [2022-01-12T15:33:39.926Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-01-12T15:33:39.926Z] [2022-01-12T15:33:39.926Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-01-12T15:33:39.926Z] [2022-01-12T15:33:39.926Z] [Pipeline] } [2022-01-12T15:33:39.981Z] $ docker stop --time=1 a419ba8ca73d5592c21b7ffbccda1844dc31388f6e4faa79f34648de2032a546 [2022-01-12T15:33:41.716Z] $ docker rm -f a419ba8ca73d5592c21b7ffbccda1844dc31388f6e4faa79f34648de2032a546 [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 [2022-01-12T15:33:42.125Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-12T15:33:42.134Z] provisioning config files... [2022-01-12T15:33:42.143Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config8840503788931109841tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-12T15:33:42.457Z] --> edgex-publish-swagger.sh [2022-01-12T15:33:42.457Z] === Publish openapi/v2 API === [2022-01-12T15:33:42.457Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2022-01-12T15:33:42.457Z] [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/oundry_app-functions-sdk-go_main/openapi/v2/app-functions-sdk.yaml] [2022-01-12T15:33:42.457Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-12T15:33:42.457Z] Dload Upload Total Spent Left Speed [2022-01-12T15:33:43.843Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13054 0 0 100 13054 0 10592 0:00:01 0:00:01 --:--:-- 10587 100 13054 0 0 100 13054 0 10267 0:00:01 0:00:01 --:--:-- 10262 [2022-01-12T15:33:43.843Z] [2022-01-12T15:33:43.843Z] [Pipeline] } [2022-01-12T15:33:43.851Z] 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 [2022-01-12T15:33:44.280Z] + git log --format=format:%s -1 11197de04f2a118dcffb9730f56982e2c8973cfa [Pipeline] sh [2022-01-12T15:33:44.575Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-12T15:33:44.575Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-12T15:33:44.876Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-12T15:33:44.876Z] . [Pipeline] withDockerContainer [2022-01-12T15:33:44.948Z] prd-centos7-docker-4c-2g-1356 does not seem to be running inside a container [2022-01-12T15:33:44.982Z] $ 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 [2022-01-12T15:33:45.344Z] $ docker top b4eb732f774901b95d99efacd3eb73c46e4bf06da76a2fefbd20d8be8844a30e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-12T15:33:45.447Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-12T15:33:45.447Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-12T15:33:45.550Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-12T15:33:45.550Z] $ docker exec b4eb732f774901b95d99efacd3eb73c46e4bf06da76a2fefbd20d8be8844a30e ssh-agent [2022-01-12T15:33:45.650Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbhkpKO/agent.14 [2022-01-12T15:33:45.650Z] SSH_AGENT_PID=20 [2022-01-12T15:33:45.655Z] Running ssh-add (command line suppressed) [2022-01-12T15:33:45.746Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_1103962235879716022.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_1103962235879716022.key) [2022-01-12T15:33:45.760Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-12T15:33:46.061Z] + git semver tag [2022-01-12T15:33:46.061Z] # -> Open(): unable to determine branch for HEAD [2022-01-12T15:33:46.061Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2022-01-12T15:33:46.061Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2022-01-12T15:33:46.061Z] # $SEMVER_REMOTE_NAME = origin [2022-01-12T15:33:46.061Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-12T15:33:46.061Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-12T15:33:46.061Z] # $SEMVER_BRANCH = main [2022-01-12T15:33:46.061Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [2022-01-12T15:33:46.061Z] # 11197de04f2a118dcffb9730f56982e2c8973cfa HEAD [2022-01-12T15:33:46.061Z] # -> Force: false [2022-01-12T15:33:46.061Z] # bd117ae23ad2fb005632041573b82faae27c4ed8 refs/tags/v2.2.0-dev.9 [Pipeline] } [2022-01-12T15:33:46.070Z] $ docker exec --env ******** --env ******** b4eb732f774901b95d99efacd3eb73c46e4bf06da76a2fefbd20d8be8844a30e ssh-agent -k [2022-01-12T15:33:46.156Z] unset SSH_AUTH_SOCK; [2022-01-12T15:33:46.156Z] unset SSH_AGENT_PID; [2022-01-12T15:33:46.156Z] echo Agent pid 20 killed; [2022-01-12T15:33:46.165Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-12T15:33:46.480Z] + git semver [Pipeline] } [2022-01-12T15:33:46.490Z] $ docker stop --time=1 b4eb732f774901b95d99efacd3eb73c46e4bf06da76a2fefbd20d8be8844a30e [2022-01-12T15:33:47.658Z] $ docker rm -f b4eb732f774901b95d99efacd3eb73c46e4bf06da76a2fefbd20d8be8844a30e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-01-12T15:33:48.058Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-12T15:33:48.058Z] [2022-01-12T15:33:48.058Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-01-12T15:33:48.370Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-12T15:33:48.370Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-01-12T15:33:48.370Z] ab5ef0e58194: Pulling fs layer [2022-01-12T15:33:48.370Z] 9712f1f96733: Pulling fs layer [2022-01-12T15:33:48.370Z] 63f879dbbcfc: Pulling fs layer [2022-01-12T15:33:48.370Z] 0d9ebad4ef96: Pulling fs layer [2022-01-12T15:33:48.370Z] e9a5061849ea: Pulling fs layer [2022-01-12T15:33:48.370Z] d747dcd14b5f: Pulling fs layer [2022-01-12T15:33:48.370Z] 2de7ff778b66: Pulling fs layer [2022-01-12T15:33:48.370Z] e9a5061849ea: Waiting [2022-01-12T15:33:48.370Z] d747dcd14b5f: Waiting [2022-01-12T15:33:48.370Z] 0d9ebad4ef96: Waiting [2022-01-12T15:33:48.370Z] 2de7ff778b66: Waiting [2022-01-12T15:33:48.370Z] 9712f1f96733: Verifying Checksum [2022-01-12T15:33:48.370Z] 9712f1f96733: Download complete [2022-01-12T15:33:48.634Z] 63f879dbbcfc: Verifying Checksum [2022-01-12T15:33:48.634Z] 63f879dbbcfc: Download complete [2022-01-12T15:33:48.912Z] ab5ef0e58194: Verifying Checksum [2022-01-12T15:33:48.912Z] ab5ef0e58194: Download complete [2022-01-12T15:33:48.912Z] d747dcd14b5f: Verifying Checksum [2022-01-12T15:33:48.912Z] d747dcd14b5f: Download complete [2022-01-12T15:33:48.912Z] 0d9ebad4ef96: Verifying Checksum [2022-01-12T15:33:48.912Z] 0d9ebad4ef96: Download complete [2022-01-12T15:33:48.912Z] e9a5061849ea: Verifying Checksum [2022-01-12T15:33:48.912Z] e9a5061849ea: Download complete [2022-01-12T15:33:48.912Z] 2de7ff778b66: Verifying Checksum [2022-01-12T15:33:48.912Z] 2de7ff778b66: Download complete [2022-01-12T15:33:52.234Z] ab5ef0e58194: Pull complete [2022-01-12T15:33:52.234Z] 9712f1f96733: Pull complete [2022-01-12T15:33:52.820Z] 63f879dbbcfc: Pull complete [2022-01-12T15:33:57.043Z] 0d9ebad4ef96: Pull complete [2022-01-12T15:33:57.043Z] e9a5061849ea: Pull complete [2022-01-12T15:33:57.043Z] d747dcd14b5f: Pull complete [2022-01-12T15:33:57.988Z] 2de7ff778b66: Pull complete [2022-01-12T15:33:57.988Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-01-12T15:33:57.988Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-12T15:33:57.988Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-01-12T15:33:58.060Z] prd-centos7-docker-4c-2g-1356 does not seem to be running inside a container [2022-01-12T15:33:58.092Z] $ 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 [2022-01-12T15:34:01.194Z] $ docker top 56ef875d045ed9aaa39ddc6f72c1b0b4104f090725609912b5e748d6f6b32d42 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-01-12T15:34:01.268Z] provisioning config files... [2022-01-12T15:34:01.277Z] copy managed file [sigul-config] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config7801981220233522628tmp [2022-01-12T15:34:01.292Z] copy managed file [sigul-password] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config2328009168594746463tmp [2022-01-12T15:34:01.303Z] copy managed file [sigul-pki] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config2289821325186290556tmp [Pipeline] { [Pipeline] echo [2022-01-12T15:34:01.320Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-12T15:34:01.608Z] ---> sigul-configuration.sh [2022-01-12T15:34:01.608Z] gpg: directory `/root/.gnupg' created [2022-01-12T15:34:01.608Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-01-12T15:34:01.608Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-01-12T15:34:01.608Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-01-12T15:34:01.608Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-01-12T15:34:01.608Z] gpg: CAST5 encrypted data [2022-01-12T15:34:01.608Z] gpg: encrypted with 1 passphrase [2022-01-12T15:34:01.608Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-01-12T15:34:01.904Z] + mkdir /home/jenkins [2022-01-12T15:34:01.904Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-01-12T15:34:02.200Z] + 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 [2022-01-12T15:34:02.211Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-12T15:34:02.502Z] ---> sigul-install.sh [2022-01-12T15:34:02.503Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-01-12T15:34:02.796Z] + git tag --list [2022-01-12T15:34:02.796Z] v0.1.0 [2022-01-12T15:34:02.796Z] v0.1.1 [2022-01-12T15:34:02.796Z] v1.0.0 [2022-01-12T15:34:02.796Z] v1.1.0 [2022-01-12T15:34:02.796Z] v1.2.0 [2022-01-12T15:34:02.796Z] v1.3.0 [2022-01-12T15:34:02.796Z] v1.3.1 [2022-01-12T15:34:02.796Z] v2.0.0 [2022-01-12T15:34:02.796Z] v2.0.1 [2022-01-12T15:34:02.796Z] v2.0.1-dev.1 [2022-01-12T15:34:02.796Z] v2.0.1-dev.2 [2022-01-12T15:34:02.796Z] v2.0.1-dev.3 [2022-01-12T15:34:02.796Z] v2.0.1-dev.4 [2022-01-12T15:34:02.796Z] v2.0.1-dev.5 [2022-01-12T15:34:02.796Z] v2.0.1-dev.6 [2022-01-12T15:34:02.796Z] v2.0.1-dev.7 [2022-01-12T15:34:02.796Z] v2.0.2-dev.1 [2022-01-12T15:34:02.796Z] v2.0.2-dev.10 [2022-01-12T15:34:02.796Z] v2.0.2-dev.11 [2022-01-12T15:34:02.796Z] v2.0.2-dev.12 [2022-01-12T15:34:02.796Z] v2.0.2-dev.13 [2022-01-12T15:34:02.796Z] v2.0.2-dev.14 [2022-01-12T15:34:02.796Z] v2.0.2-dev.15 [2022-01-12T15:34:02.796Z] v2.0.2-dev.16 [2022-01-12T15:34:02.796Z] v2.0.2-dev.17 [2022-01-12T15:34:02.796Z] v2.0.2-dev.18 [2022-01-12T15:34:02.796Z] v2.0.2-dev.19 [2022-01-12T15:34:02.796Z] v2.0.2-dev.2 [2022-01-12T15:34:02.796Z] v2.0.2-dev.20 [2022-01-12T15:34:02.796Z] v2.0.2-dev.21 [2022-01-12T15:34:02.796Z] v2.0.2-dev.22 [2022-01-12T15:34:02.796Z] v2.0.2-dev.23 [2022-01-12T15:34:02.796Z] v2.0.2-dev.24 [2022-01-12T15:34:02.796Z] v2.0.2-dev.25 [2022-01-12T15:34:02.796Z] v2.0.2-dev.26 [2022-01-12T15:34:02.796Z] v2.0.2-dev.27 [2022-01-12T15:34:02.796Z] v2.0.2-dev.28 [2022-01-12T15:34:02.796Z] v2.0.2-dev.29 [2022-01-12T15:34:02.796Z] v2.0.2-dev.3 [2022-01-12T15:34:02.796Z] v2.0.2-dev.30 [2022-01-12T15:34:02.796Z] v2.0.2-dev.31 [2022-01-12T15:34:02.796Z] v2.0.2-dev.32 [2022-01-12T15:34:02.796Z] v2.0.2-dev.33 [2022-01-12T15:34:02.796Z] v2.0.2-dev.34 [2022-01-12T15:34:02.796Z] v2.0.2-dev.35 [2022-01-12T15:34:02.796Z] v2.0.2-dev.36 [2022-01-12T15:34:02.796Z] v2.0.2-dev.37 [2022-01-12T15:34:02.796Z] v2.0.2-dev.38 [2022-01-12T15:34:02.796Z] v2.0.2-dev.39 [2022-01-12T15:34:02.796Z] v2.0.2-dev.4 [2022-01-12T15:34:02.796Z] v2.0.2-dev.40 [2022-01-12T15:34:02.796Z] v2.0.2-dev.41 [2022-01-12T15:34:02.796Z] v2.0.2-dev.42 [2022-01-12T15:34:02.796Z] v2.0.2-dev.43 [2022-01-12T15:34:02.796Z] v2.0.2-dev.44 [2022-01-12T15:34:02.796Z] v2.0.2-dev.45 [2022-01-12T15:34:02.796Z] v2.0.2-dev.46 [2022-01-12T15:34:02.796Z] v2.0.2-dev.47 [2022-01-12T15:34:02.796Z] v2.0.2-dev.5 [2022-01-12T15:34:02.796Z] v2.0.2-dev.6 [2022-01-12T15:34:02.796Z] v2.0.2-dev.7 [2022-01-12T15:34:02.796Z] v2.0.2-dev.8 [2022-01-12T15:34:02.796Z] v2.0.2-dev.9 [2022-01-12T15:34:02.796Z] v2.1.0 [2022-01-12T15:34:02.796Z] v2.2.0-dev.1 [2022-01-12T15:34:02.796Z] v2.2.0-dev.2 [2022-01-12T15:34:02.796Z] v2.2.0-dev.3 [2022-01-12T15:34:02.796Z] v2.2.0-dev.4 [2022-01-12T15:34:02.796Z] v2.2.0-dev.5 [2022-01-12T15:34:02.796Z] v2.2.0-dev.6 [2022-01-12T15:34:02.796Z] v2.2.0-dev.7 [2022-01-12T15:34:02.796Z] v2.2.0-dev.8 [2022-01-12T15:34:02.796Z] v2.2.0-dev.9 [Pipeline] sh [2022-01-12T15:34:03.085Z] + lftools sign git-tag v2.2.0-dev.9 [2022-01-12T15:34:03.656Z] Signing Git tag with Sigul... [2022-01-12T15:34:03.656Z] Signing v2.2.0-dev.9 [Pipeline] echo [2022-01-12T15:34:03.925Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-12T15:34:04.221Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-01-12T15:34:04.228Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-01-12T15:34:04.248Z] $ docker stop --time=1 56ef875d045ed9aaa39ddc6f72c1b0b4104f090725609912b5e748d6f6b32d42 [2022-01-12T15:34:05.510Z] $ docker rm -f 56ef875d045ed9aaa39ddc6f72c1b0b4104f090725609912b5e748d6f6b32d42 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-01-12T15:34:05.918Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-12T15:34:05.918Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-12T15:34:06.221Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-12T15:34:06.221Z] . [Pipeline] withDockerContainer [2022-01-12T15:34:06.285Z] prd-centos7-docker-4c-2g-1356 does not seem to be running inside a container [2022-01-12T15:34:06.319Z] $ 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 [2022-01-12T15:34:06.661Z] $ docker top 94dc2fca9017900567fd50d09815206768f82db69f2aec1742bd52f06afd5083 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-12T15:34:06.769Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-12T15:34:06.769Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-12T15:34:06.868Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-12T15:34:06.869Z] $ docker exec 94dc2fca9017900567fd50d09815206768f82db69f2aec1742bd52f06afd5083 ssh-agent [2022-01-12T15:34:06.972Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKghgJA/agent.13 [2022-01-12T15:34:06.972Z] SSH_AGENT_PID=18 [2022-01-12T15:34:06.977Z] Running ssh-add (command line suppressed) [2022-01-12T15:34:07.065Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_4149530953924586003.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_4149530953924586003.key) [2022-01-12T15:34:07.078Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-12T15:34:07.384Z] + git semver bump pre [2022-01-12T15:34:07.384Z] # -> Open(): unable to determine branch for HEAD [2022-01-12T15:34:07.384Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2022-01-12T15:34:07.384Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2022-01-12T15:34:07.384Z] # $SEMVER_REMOTE_NAME = origin [2022-01-12T15:34:07.384Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-12T15:34:07.384Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-12T15:34:07.384Z] # $SEMVER_BRANCH = main [2022-01-12T15:34:07.384Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [2022-01-12T15:34:07.384Z] 2.2.0-dev.10 [Pipeline] } [2022-01-12T15:34:07.393Z] $ docker exec --env ******** --env ******** 94dc2fca9017900567fd50d09815206768f82db69f2aec1742bd52f06afd5083 ssh-agent -k [2022-01-12T15:34:07.480Z] unset SSH_AUTH_SOCK; [2022-01-12T15:34:07.480Z] unset SSH_AGENT_PID; [2022-01-12T15:34:07.480Z] echo Agent pid 18 killed; [2022-01-12T15:34:07.489Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-12T15:34:07.790Z] + git semver [Pipeline] } [2022-01-12T15:34:07.801Z] $ docker stop --time=1 94dc2fca9017900567fd50d09815206768f82db69f2aec1742bd52f06afd5083 [2022-01-12T15:34:08.996Z] $ docker rm -f 94dc2fca9017900567fd50d09815206768f82db69f2aec1742bd52f06afd5083 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-12T15:34:09.351Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-12T15:34:09.351Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-12T15:34:09.646Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-12T15:34:09.646Z] . [Pipeline] withDockerContainer [2022-01-12T15:34:09.720Z] prd-centos7-docker-4c-2g-1356 does not seem to be running inside a container [2022-01-12T15:34:09.758Z] $ 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 [2022-01-12T15:34:10.107Z] $ docker top 16f42975ba628b09c16368c13bd018172acb8b24fc3fa13e0a2aecfe8e594a9e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-12T15:34:10.198Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-12T15:34:10.198Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-12T15:34:10.291Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-12T15:34:10.292Z] $ docker exec 16f42975ba628b09c16368c13bd018172acb8b24fc3fa13e0a2aecfe8e594a9e ssh-agent [2022-01-12T15:34:10.395Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpbLkbk/agent.14 [2022-01-12T15:34:10.395Z] SSH_AGENT_PID=20 [2022-01-12T15:34:10.400Z] Running ssh-add (command line suppressed) [2022-01-12T15:34:10.490Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_6836332863135590687.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_6836332863135590687.key) [2022-01-12T15:34:10.505Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-12T15:34:10.796Z] + git semver push [2022-01-12T15:34:10.796Z] # -> Open(): unable to determine branch for HEAD [2022-01-12T15:34:10.796Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2022-01-12T15:34:10.796Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2022-01-12T15:34:10.796Z] # $SEMVER_REMOTE_NAME = origin [2022-01-12T15:34:10.796Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-12T15:34:10.796Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-12T15:34:10.796Z] # $SEMVER_BRANCH = main [2022-01-12T15:34:10.796Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [Pipeline] } [2022-01-12T15:34:12.723Z] $ docker exec --env ******** --env ******** 16f42975ba628b09c16368c13bd018172acb8b24fc3fa13e0a2aecfe8e594a9e ssh-agent -k [2022-01-12T15:34:12.815Z] unset SSH_AUTH_SOCK; [2022-01-12T15:34:12.815Z] unset SSH_AGENT_PID; [2022-01-12T15:34:12.815Z] echo Agent pid 20 killed; [2022-01-12T15:34:12.825Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-12T15:34:13.143Z] + git semver [Pipeline] } [2022-01-12T15:34:13.158Z] $ docker stop --time=1 16f42975ba628b09c16368c13bd018172acb8b24fc3fa13e0a2aecfe8e594a9e [2022-01-12T15:34:14.329Z] $ docker rm -f 16f42975ba628b09c16368c13bd018172acb8b24fc3fa13e0a2aecfe8e594a9e [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 [2022-01-12T15:34:14.907Z] + '[' -d /w/workspace/oundry_app-functions-sdk-go_main/archives ']' [2022-01-12T15:34:14.907Z] + ls -al /w/workspace/oundry_app-functions-sdk-go_main/archives [2022-01-12T15:34:14.907Z] total 8 [2022-01-12T15:34:14.907Z] drwxr-xr-x. 3 root root 34 Jan 12 15:29 . [2022-01-12T15:34:14.907Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 12 15:34 .. [2022-01-12T15:34:14.907Z] drwxr-xr-x. 2 root root 6 Jan 12 15:29 cost [2022-01-12T15:34:14.907Z] -rw-r--r--. 1 root root 90 Jan 12 15:29 cost.csv [2022-01-12T15:34:14.907Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_app-functions-sdk-go_main/archives [2022-01-12T15:34:14.907Z] + ls -al /w/workspace/oundry_app-functions-sdk-go_main/archives [2022-01-12T15:34:14.907Z] total 8 [2022-01-12T15:34:14.907Z] drwxr-xr-x. 3 jenkins jenkins 34 Jan 12 15:29 . [2022-01-12T15:34:14.907Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 12 15:34 .. [2022-01-12T15:34:14.907Z] drwxr-xr-x. 2 jenkins jenkins 6 Jan 12 15:29 cost [2022-01-12T15:34:14.907Z] -rw-r--r--. 1 jenkins jenkins 90 Jan 12 15:29 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-01-12T15:34:15.204Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-12T15:34:15.762Z] ---> package-listing.sh [2022-01-12T15:34:15.762Z] ++ facter osfamily [2022-01-12T15:34:15.762Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-12T15:34:16.026Z] + OS_FAMILY=redhat [2022-01-12T15:34:16.026Z] + workspace=/w/workspace/oundry_app-functions-sdk-go_main [2022-01-12T15:34:16.026Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-12T15:34:16.026Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-12T15:34:16.026Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-12T15:34:16.026Z] + PACKAGES=/tmp/packages_start.txt [2022-01-12T15:34:16.026Z] + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' [2022-01-12T15:34:16.026Z] + PACKAGES=/tmp/packages_end.txt [2022-01-12T15:34:16.026Z] + case "${OS_FAMILY}" in [2022-01-12T15:34:16.026Z] + rpm -qa [2022-01-12T15:34:16.026Z] + sort [2022-01-12T15:34:16.968Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-12T15:34:16.968Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-12T15:34:16.968Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-12T15:34:16.968Z] + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' [2022-01-12T15:34:16.968Z] + mkdir -p /w/workspace/oundry_app-functions-sdk-go_main/archives/ [2022-01-12T15:34:16.968Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_app-functions-sdk-go_main/archives/ [Pipeline] echo [2022-01-12T15:34:16.980Z] 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 [2022-01-12T15:34:17.262Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-12T15:34:17.823Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-12T15:34:17.823Z] . [Pipeline] withDockerContainer [2022-01-12T15:34:17.887Z] prd-centos7-docker-4c-2g-1356 does not seem to be running inside a container [2022-01-12T15:34:17.924Z] $ 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 [2022-01-12T15:34:18.159Z] $ docker top 7feb4800721c3c4e5b908927c6e667f4bf803c8d58c98cfd676b8fed3da717df -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-12T15:34:18.525Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-12T15:34:18.820Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-12T15:34:19.113Z] + ls /var/log/sa-host [2022-01-12T15:34:19.113Z] + sadf -c /var/log/sa-host/sa12 [2022-01-12T15:34:19.113Z] file_magic: OK [2022-01-12T15:34:19.113Z] HZ: Using current value: 100 [2022-01-12T15:34:19.113Z] file_header: OK [2022-01-12T15:34:19.113Z] 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 [2022-01-12T15:34:19.113Z] Statistics: [2022-01-12T15:34:19.113Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-12T15:34:19.113Z] File successfully converted to sysstat format version 12.0.3 [2022-01-12T15:34:19.113Z] + sadf -c /var/log/sa-host/sa17 [2022-01-12T15:34:19.113Z] file_magic: OK [2022-01-12T15:34:19.113Z] HZ: Using current value: 100 [2022-01-12T15:34:19.113Z] file_header: OK [2022-01-12T15:34:19.113Z] 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 [2022-01-12T15:34:19.113Z] Statistics: [2022-01-12T15:34:19.113Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-12T15:34:19.113Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-12T15:34:19.338Z] provisioning config files... [2022-01-12T15:34:19.348Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config1142780358086702600tmp [Pipeline] { [Pipeline] echo [2022-01-12T15:34:19.358Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-12T15:34:19.648Z] ---> create-netrc.sh [Pipeline] } [2022-01-12T15:34:19.656Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-12T15:34:20.010Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-12T15:34:20.021Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-12T15:34:20.309Z] ---> sudo-logs.sh [2022-01-12T15:34:20.309Z] Archiving 'sudo' log.. [2022-01-12T15:34:20.309Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1356.novalocal: Name or service not known [2022-01-12T15:34:20.309Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1356.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-12T15:34:20.385Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-12T15:34:20.676Z] ---> job-cost.sh [2022-01-12T15:34:20.676Z] lf-activate-venv: SKIPPING [2022-01-12T15:34:20.676Z] DEBUG: total: 0.05999999865889549 [2022-01-12T15:34:20.676Z] INFO: Retrieving Stack Cost... [2022-01-12T15:34:20.936Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-12T15:34:21.197Z] INFO: Archiving Costs [Pipeline] echo [2022-01-12T15:34:21.211Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-12T15:34:21.502Z] ---> logs-deploy.sh [2022-01-12T15:34:21.503Z] lf-activate-venv: SKIPPING [2022-01-12T15:34:21.503Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/main/69 [2022-01-12T15:34:21.503Z] INFO: archiving workspace using pattern(s): [2022-01-12T15:34:22.443Z] Archives upload complete. [2022-01-12T15:34:22.443Z] INFO: archiving logs to Nexus