Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 59d1d4077dda0ce3fabe92eef71b89b7846b5892 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2788545975731412500.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 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-ssh2435071824033546703.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 d6bf42d899a6140169a1fadeb6f44df9cdc48750 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-ssh7358626859571332757.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d6bf42d899a6140169a1fadeb6f44df9cdc48750 # timeout=10 Commit message: "Merge pull request #360 from ernestojeda/fix-alpine-3-14-seccomp-issue" > 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-ssh2952226623008293693.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-ssh43046404984364001.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 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-functions-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2112 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-ssh6366291984091317933.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 59d1d4077dda0ce3fabe92eef71b89b7846b5892 (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 59d1d4077dda0ce3fabe92eef71b89b7846b5892 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 (#986)" > git rev-list --no-walk 9aae799423011e90ec652a5979dfe05cd5119fd8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:56:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:56:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:56:55 ========================================================= 18:56:55 EdgeX Global Pipelines Version Info 18:56:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:56:56 ------------------- 18:56:56 stable info: 18:56:56 ------------------- 18:56:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:56:56 Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 18:56:56 Message: update stable to v1.0.210 18:56:57 ------------------- 18:56:57 experimental info: 18:56:57 ------------------- 18:56:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:56:57 Commit SHA: 6722a7c1c8ebe94597741d4fbba21f45702e0c7d 18:56:57 Message: testing jakarta lts changes [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:56:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 18:56:57 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 18:56:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:56:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:56:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:56:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 18:56:57 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 18:56:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:56:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:56:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:56:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:56:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 18:56:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:56:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:56:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 18:56:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:56:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:56:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:56:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:56:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:56:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:56:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 18:56:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:56:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:56:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 18:56:57 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:56:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 18:56:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 18:56:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 18:56:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 59d1d4077dda0ce3fabe92eef71b89b7846b5892 [Pipeline] echo 18:56:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 59d1d40 [Pipeline] echo 18:56:57 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:56:58 + git log --format=format:%s -1 59d1d4077dda0ce3fabe92eef71b89b7846b5892 [Pipeline] echo 18:56:58 GIT_COMMIT: 59d1d4077dda0ce3fabe92eef71b89b7846b5892, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 (#986) [Pipeline] echo 18:56:58 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 18:56:58 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:56:58 18:56:58 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:56:59 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:56:59 latest: Pulling from edgex-devops/git-semver 18:56:59 a0d0a0d46f8b: Pulling fs layer 18:56:59 3e5f54012d9b: Pulling fs layer 18:56:59 4c7163046ea9: Pulling fs layer 18:56:59 0c2d73faf560: Pulling fs layer 18:56:59 0c2d73faf560: Waiting 18:56:59 3e5f54012d9b: Verifying Checksum 18:56:59 3e5f54012d9b: Download complete 18:56:59 a0d0a0d46f8b: Verifying Checksum 18:56:59 a0d0a0d46f8b: Download complete 18:56:59 4c7163046ea9: Verifying Checksum 18:56:59 4c7163046ea9: Download complete 18:56:59 0c2d73faf560: Verifying Checksum 18:56:59 0c2d73faf560: Download complete 18:56:59 a0d0a0d46f8b: Pull complete 18:56:59 3e5f54012d9b: Pull complete 18:56:59 4c7163046ea9: Pull complete 18:56:59 0c2d73faf560: Pull complete 18:56:59 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 18:56:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:56:59 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:57:00 prd-centos7-docker-4c-2g-2112 does not seem to be running inside a container 18:57:00 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:57:00 $ docker top 5e578238eb1e8efcf5014482576e6949753669200f56bba9dc142a12f00efb54 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:57:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:57:00 [ssh-agent] Looking for ssh-agent implementation... 18:57:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:57:00 $ docker exec 5e578238eb1e8efcf5014482576e6949753669200f56bba9dc142a12f00efb54 ssh-agent 18:57:01 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnHlIeK/agent.13 18:57:01 SSH_AGENT_PID=19 18:57:01 Running ssh-add (command line suppressed) 18:57:01 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_58032341379410757.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_58032341379410757.key) 18:57:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:57:01 + git tag --points-at HEAD [Pipeline] } 18:57:01 $ docker exec --env ******** --env ******** 5e578238eb1e8efcf5014482576e6949753669200f56bba9dc142a12f00efb54 ssh-agent -k 18:57:01 unset SSH_AUTH_SOCK; 18:57:01 unset SSH_AGENT_PID; 18:57:01 echo Agent pid 19 killed; 18:57:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:57:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:57:01 [ssh-agent] Looking for ssh-agent implementation... 18:57:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:57:01 $ docker exec 5e578238eb1e8efcf5014482576e6949753669200f56bba9dc142a12f00efb54 ssh-agent 18:57:01 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJkcLBG/agent.53 18:57:01 SSH_AGENT_PID=60 18:57:01 Running ssh-add (command line suppressed) 18:57:02 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_9177455366045331200.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_9177455366045331200.key) 18:57:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:57:02 + git semver init 18:57:02 # -> Open(): unable to determine branch for HEAD 18:57:02 # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git 18:57:02 # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main 18:57:02 # $SEMVER_REMOTE_NAME = origin 18:57:02 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:57:02 # $SEMVER_USER_NAME = edgex-jenkins 18:57:02 # $SEMVER_BRANCH = main 18:57:02 # $SEMVER_TEMP = /tmp/semver-042559442 18:57:02 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 18:57:05 # '/tmp/semver-042559442' -> '/w/workspace/oundry_app-functions-sdk-go_main/.semver' 18:57:05 # -> Force: false 18:57:05 # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [Pipeline] } 18:57:05 $ docker exec --env ******** --env ******** 5e578238eb1e8efcf5014482576e6949753669200f56bba9dc142a12f00efb54 ssh-agent -k 18:57:05 unset SSH_AUTH_SOCK; 18:57:05 unset SSH_AGENT_PID; 18:57:05 echo Agent pid 60 killed; 18:57:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:57:06 + git semver [Pipeline] } 18:57:06 $ docker stop --time=1 5e578238eb1e8efcf5014482576e6949753669200f56bba9dc142a12f00efb54 18:57:07 $ docker rm -f 5e578238eb1e8efcf5014482576e6949753669200f56bba9dc142a12f00efb54 [Pipeline] // withDockerContainer [Pipeline] sh 18:57:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:57:08 Stashed 1 file(s) [Pipeline] echo 18:57:08 [edgeXSemver]: initialized semver on version 2.0.2-dev.35 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 18:57:23 Still waiting to schedule task 18:57:23 Waiting for next available executor on ‘centos7-docker-4c-2g’ 18:57:23 Still waiting to schedule task 18:57:23 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 18:58:23 Running on prd-centos7-docker-4c-2g-2114 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws 18:58:23 Running in /w/workspace/app-functions-sdk-go/48 [Pipeline] { [Pipeline] checkout 18:58:23 The recommended git tool is: git 18:58:25 using credential edgex-jenkins-ssh 18:58:25 Cloning the remote Git repository 18:58:23 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 18:58:23 > git init /w/workspace/app-functions-sdk-go/48 # timeout=10 18:58:23 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 18:58:23 > git --version # timeout=10 18:58:23 > git --version # 'git version 2.24.4' 18:58:23 using GIT_SSH to set credentials SSH Credentials for GitHub 18:58:23 [INFO] Currently running in a labeled security context 18:58:23 [INFO] Currently SELinux is 'enforcing' on the host 18:58:23 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/48@tmp/jenkins-gitclient-ssh3375631468072889400.key 18:58:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:58:26 Avoid second fetch 18:58:26 Checking out Revision 59d1d4077dda0ce3fabe92eef71b89b7846b5892 (main) 18:58:25 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 18:58:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:58:25 > git config core.sparsecheckout # timeout=10 18:58:25 > git checkout -f 59d1d4077dda0ce3fabe92eef71b89b7846b5892 # timeout=10 18:58:30 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 (#986)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 18:58:31 ========================================================= 18:58:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 18:58:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 18:58:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 18:58:31 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 18:58:31 a0d0a0d46f8b: Pulling fs layer 18:58:31 31adcdaf11c8: Pulling fs layer 18:58:31 b8b176561691: Pulling fs layer 18:58:31 4527c011a84f: Pulling fs layer 18:58:31 5d74067f8e1e: Pulling fs layer 18:58:31 e0aca202a116: Pulling fs layer 18:58:31 3a43be97a3b4: Pulling fs layer 18:58:31 34cad66bf833: Pulling fs layer 18:58:31 b4e3c513aaa6: Pulling fs layer 18:58:31 4527c011a84f: Waiting 18:58:31 5d74067f8e1e: Waiting 18:58:31 b4e3c513aaa6: Waiting 18:58:31 3a43be97a3b4: Waiting 18:58:31 34cad66bf833: Waiting 18:58:31 b8b176561691: Verifying Checksum 18:58:31 b8b176561691: Download complete 18:58:31 31adcdaf11c8: Verifying Checksum 18:58:31 31adcdaf11c8: Download complete 18:58:31 5d74067f8e1e: Download complete 18:58:31 e0aca202a116: Verifying Checksum 18:58:31 e0aca202a116: Download complete 18:58:31 3a43be97a3b4: Verifying Checksum 18:58:31 3a43be97a3b4: Download complete 18:58:31 a0d0a0d46f8b: Download complete 18:58:31 34cad66bf833: Verifying Checksum 18:58:31 34cad66bf833: Download complete 18:58:32 a0d0a0d46f8b: Pull complete 18:58:32 31adcdaf11c8: Pull complete 18:58:32 b4e3c513aaa6: Verifying Checksum 18:58:32 b4e3c513aaa6: Download complete 18:58:32 b8b176561691: Pull complete 18:58:32 4527c011a84f: Verifying Checksum 18:58:32 4527c011a84f: Download complete 18:58:36 4527c011a84f: Pull complete 18:58:36 5d74067f8e1e: Pull complete 18:58:36 e0aca202a116: Pull complete 18:58:36 3a43be97a3b4: Pull complete 18:58:36 34cad66bf833: Pull complete 18:58:38 b4e3c513aaa6: Pull complete 18:58:38 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 18:58:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 18:58:38 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh 18:58:38 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 18:58:39 + docker inspect -f . ci-base-image-x86_64 18:58:39 . [Pipeline] withDockerContainer 18:58:39 prd-centos7-docker-4c-2g-2114 does not seem to be running inside a container 18:58:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/48 -v /w/workspace/app-functions-sdk-go/48:/w/workspace/app-functions-sdk-go/48:rw,z -v /w/workspace/app-functions-sdk-go/48@tmp:/w/workspace/app-functions-sdk-go/48@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:58:42 $ docker top ccb65123f683e962cbe398bd3808a94bf8ff884689c4da21edbf3d890405923f -eo pid,comm [Pipeline] { [Pipeline] sh 18:58:43 + go version 18:58:43 go version go1.16.8 linux/amd64 [Pipeline] } 18:58:43 $ docker stop --time=1 ccb65123f683e962cbe398bd3808a94bf8ff884689c4da21edbf3d890405923f 18:58:44 $ docker rm -f ccb65123f683e962cbe398bd3808a94bf8ff884689c4da21edbf3d890405923f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:58:44 + docker inspect -f . ci-base-image-x86_64 18:58:44 . [Pipeline] withDockerContainer 18:58:44 prd-centos7-docker-4c-2g-2114 does not seem to be running inside a container 18:58:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/48 -v /w/workspace/app-functions-sdk-go/48:/w/workspace/app-functions-sdk-go/48:rw,z -v /w/workspace/app-functions-sdk-go/48@tmp:/w/workspace/app-functions-sdk-go/48@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:58:45 $ docker top 05b9bc9a3171b072e0c398da38631f62ddaaf8b44d6ea7596fc55df9e8df6d51 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:58:45 + make test 18:58:45 make -C ./app-service-template build 18:58:45 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/48/app-service-template' 18:58:45 go mod tidy 18:58:47 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.1-dev.23 18:58:47 go: downloading github.com/stretchr/testify v1.7.0 18:58:47 go: downloading github.com/google/uuid v1.3.0 18:58:47 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.1-dev.15 18:58:47 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.2-dev.7 18:58:47 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.1-dev.9 18:58:47 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 18:58:47 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 18:58:47 go: downloading github.com/davecgh/go-spew v1.1.1 18:58:47 go: downloading github.com/pmezard/go-difflib v1.0.0 18:58:47 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 18:58:47 go: downloading github.com/stretchr/objx v0.1.1 18:58:47 go: downloading github.com/go-kit/kit v0.11.0 18:58:47 go: downloading github.com/go-playground/validator/v10 v10.9.0 18:58:47 go: downloading github.com/gorilla/mux v1.8.0 18:58:47 go: downloading github.com/hashicorp/go-multierror v1.1.1 18:58:47 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.1-dev.5 18:58:47 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.1-dev.7 18:58:47 go: downloading github.com/mitchellh/copystructure v1.0.0 18:58:47 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 18:58:47 go: downloading github.com/gorilla/websocket v1.4.2 18:58:47 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 18:58:47 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 18:58:47 go: downloading github.com/go-playground/universal-translator v0.18.0 18:58:47 go: downloading github.com/leodido/go-urn v1.2.1 18:58:48 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 18:58:48 go: downloading golang.org/x/text v0.3.6 18:58:48 go: downloading github.com/go-playground/assert/v2 v2.0.1 18:58:48 go: downloading github.com/go-playground/locales v0.14.0 18:58:49 go: downloading github.com/pelletier/go-toml v1.9.4 18:58:49 go: downloading github.com/go-logfmt/logfmt v0.5.0 18:58:49 go: downloading github.com/go-stack/stack v1.8.0 18:58:49 go: downloading github.com/hashicorp/errwrap v1.0.0 18:58:49 go: downloading github.com/hashicorp/consul/api v1.9.1 18:58:49 go: downloading github.com/mitchellh/reflectwalk v1.0.0 18:58:49 go: downloading github.com/x448/float16 v0.8.4 18:58:49 go: downloading github.com/kr/pretty v0.3.0 18:58:49 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 18:58:49 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 18:58:49 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 18:58:49 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 18:58:49 go: downloading github.com/hashicorp/go-hclog v0.12.0 18:58:49 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 18:58:49 go: downloading github.com/hashicorp/serf v0.9.5 18:58:49 go: downloading github.com/mitchellh/mapstructure v1.1.2 18:58:49 go: downloading github.com/hashicorp/consul/sdk v0.8.0 18:58:49 go: downloading github.com/hashicorp/go-uuid v1.0.1 18:58:49 go: downloading github.com/kr/text v0.2.0 18:58:49 go: downloading github.com/rogpeppe/go-internal v1.8.0 18:58:49 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 18:58:50 go: downloading github.com/go-redis/redis/v7 v7.3.0 18:58:50 go: downloading github.com/pebbe/zmq4 v1.2.7 18:58:50 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 18:58:50 go: downloading github.com/fatih/color v1.9.0 18:58:50 go: downloading github.com/mattn/go-colorable v0.1.6 18:58:50 go: downloading github.com/mattn/go-isatty v0.0.12 18:58:50 go: downloading github.com/mitchellh/go-homedir v1.1.0 18:58:50 go: downloading github.com/pkg/errors v0.9.1 18:58:50 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 18:58:50 go: downloading github.com/hashicorp/go-msgpack v0.5.3 18:58:50 go: downloading github.com/hashicorp/memberlist v0.2.2 18:58:50 go: downloading github.com/onsi/ginkgo v1.10.1 18:58:50 go: downloading github.com/onsi/gomega v1.7.0 18:58:50 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 18:58:50 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 18:58:50 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 18:58:50 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 18:58:50 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 18:58:50 go: downloading github.com/miekg/dns v1.1.26 18:58:50 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 18:58:50 go: downloading github.com/hashicorp/golang-lru v0.5.0 18:58:50 go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c 18:58:50 go: downloading github.com/hpcloud/tail v1.0.0 18:58:50 go: downloading gopkg.in/yaml.v2 v2.4.0 18:58:50 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 18:58:50 go: downloading github.com/golang/protobuf v1.5.2 18:58:50 go: downloading gopkg.in/fsnotify.v1 v1.4.7 18:58:50 go: downloading github.com/fsnotify/fsnotify v1.4.7 18:58:50 go: downloading google.golang.org/protobuf v1.27.1 18:58:50 go: downloading github.com/google/go-cmp v0.5.5 18:58:50 go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 18:58:50 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.1 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service 18:58:57 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2113 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws 18:58:57 Running in /w/workspace/app-functions-sdk-go/48 [Pipeline] { [Pipeline] checkout 18:58:57 The recommended git tool is: git 18:59:03 using credential edgex-jenkins-ssh 18:59:03 Cloning the remote Git repository 18:59:03 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/48/app-service-template' 18:59:03 make -C ./app-service-template test 18:59:03 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/48/app-service-template' 18:59:03 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 18:59:03 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 18:59:03 > git init /w/workspace/app-functions-sdk-go/48 # timeout=10 18:59:03 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 18:59:03 > git --version # timeout=10 18:59:03 > git --version # 'git version 2.17.1' 18:59:03 using GIT_SSH to set credentials SSH Credentials for GitHub 18:59:03 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:59:06 Avoid second fetch 18:59:06 Checking out Revision 59d1d4077dda0ce3fabe92eef71b89b7846b5892 (main) 18:59:06 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 18:59:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:59:06 > git config core.sparsecheckout # timeout=10 18:59:06 > git checkout -f 59d1d4077dda0ce3fabe92eef71b89b7846b5892 # timeout=10 18:59:09 ok new-app-service 0.008s coverage: 48.1% of statements 18:59:09 ? new-app-service/config [no test files] 18:59:09 ok new-app-service/functions 0.007s 18:59:09 CGO_ENABLED=1 go vet ./... 18:59:10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 (#986)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:59:12 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:59:12 % Total % Received % Xferd Average Speed Time Time Time Current 18:59:12 Dload Upload Total Spent Left Speed 18:59:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 86941 0 --:--:-- --:--:-- --:--:-- 86941 [Pipeline] sh 18:59:12 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:59:12 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 18:59:12 /etc/docker/daemon.new 18:59:12 { 18:59:12 "registry-mirrors": [ 18:59:12 "https://nexus3.edgexfoundry.org:10001" 18:59:12 ], 18:59:12 "bip": "10.250.0.254/24", 18:59:12 "hosts": [ 18:59:12 "tcp://0.0.0.0:5555", 18:59:12 "unix:///var/run/docker.sock" 18:59:12 ], 18:59:12 "mtu": 1458, 18:59:12 "selinux-enabled": true, 18:59:12 "seccomp-profile": "/etc/docker/seccomp.json" 18:59:12 } [Pipeline] sh 18:59:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:59:13 + sudo service docker restart 18:59:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:59:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:59:17 ./bin/test-attribution-txt.sh 18:59:17 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/48/app-service-template' 18:59:17 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:59:17 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 18:59:19 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.013s coverage: 67.0% of statements 18:59:19 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app/mocks [no test files] 18:59:19 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.008s coverage: 93.7% of statements 18:59:19 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 18:59:20 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.011s coverage: 61.8% of statements 18:59:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 18:59:20 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.005s 18:59:21 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.060s coverage: 75.7% of statements 18:59:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 18:59:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 18:59:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 18:59:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 18:59:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 18:59:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 18:59:21 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.016s coverage: 97.3% of statements 18:59:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 18:59:21 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.006s coverage: 10.5% of statements 18:59:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.040s coverage: 77.0% of statements 18:59:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 18:59:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.008s coverage: 14.9% of statements 18:59:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.011s coverage: 27.3% of statements 18:59:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 18:59:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 18:59:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.010s coverage: 51.4% of statements [Pipeline] unstash [Pipeline] echo 18:59:32 ========================================================= 18:59:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 18:59:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 18:59:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 18:59:33 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:59:33 552d1f2373af: Pulling fs layer 18:59:33 ea3f2d53f512: Pulling fs layer 18:59:33 9e70ebbbe112: Pulling fs layer 18:59:33 7a9cfe048b4a: Pulling fs layer 18:59:33 72dc09318566: Pulling fs layer 18:59:33 f4f7b4309257: Pulling fs layer 18:59:33 0ac9a79272e3: Pulling fs layer 18:59:33 b78e95d17946: Pulling fs layer 18:59:33 7a9cfe048b4a: Waiting 18:59:33 72dc09318566: Waiting 18:59:33 f4f7b4309257: Waiting 18:59:33 0ac9a79272e3: Waiting 18:59:33 b78e95d17946: Waiting 18:59:33 9e70ebbbe112: Verifying Checksum 18:59:33 9e70ebbbe112: Download complete 18:59:33 ea3f2d53f512: Verifying Checksum 18:59:33 ea3f2d53f512: Download complete 18:59:33 72dc09318566: Verifying Checksum 18:59:33 72dc09318566: Download complete 18:59:33 f4f7b4309257: Verifying Checksum 18:59:33 f4f7b4309257: Download complete 18:59:33 0ac9a79272e3: Verifying Checksum 18:59:33 0ac9a79272e3: Download complete 18:59:33 552d1f2373af: Verifying Checksum 18:59:33 552d1f2373af: Download complete 18:59:34 552d1f2373af: Pull complete 18:59:35 ea3f2d53f512: Pull complete 18:59:35 b78e95d17946: Verifying Checksum 18:59:35 b78e95d17946: Download complete 18:59:35 9e70ebbbe112: Pull complete 18:59:36 7a9cfe048b4a: Verifying Checksum 18:59:36 7a9cfe048b4a: Download complete 18:59:46 7a9cfe048b4a: Pull complete 18:59:46 72dc09318566: Pull complete 18:59:46 f4f7b4309257: Pull complete 18:59:47 0ac9a79272e3: Pull complete 18:59:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.024s coverage: 78.7% of statements 18:59:52 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.010s coverage: 94.4% of statements 18:59:52 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:59:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:59:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:59:52 b78e95d17946: Pull complete 18:59:52 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 18:59:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 18:59:52 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh 18:59:53 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 18:59:53 + docker inspect -f . ci-base-image-arm64 18:59:53 . [Pipeline] withDockerContainer 18:59:53 prd-ubuntu18.04-docker-arm64-4c-16g-2113 does not seem to be running inside a container 18:59:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/48 -v /w/workspace/app-functions-sdk-go/48:/w/workspace/app-functions-sdk-go/48:rw,z -v /w/workspace/app-functions-sdk-go/48@tmp:/w/workspace/app-functions-sdk-go/48@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:59:56 $ docker top fe370ff40b9ab8ea05cde1eecada7bc0baa548df25eda45768ea78f11a998da2 -eo pid,comm [Pipeline] { [Pipeline] sh 18:59:57 + go version 18:59:57 go version go1.16.8 linux/arm64 [Pipeline] } 18:59:57 $ docker stop --time=1 fe370ff40b9ab8ea05cde1eecada7bc0baa548df25eda45768ea78f11a998da2 18:59:59 $ docker rm -f fe370ff40b9ab8ea05cde1eecada7bc0baa548df25eda45768ea78f11a998da2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:00:00 + docker inspect -f . ci-base-image-arm64 19:00:00 . [Pipeline] withDockerContainer 19:00:00 prd-ubuntu18.04-docker-arm64-4c-16g-2113 does not seem to be running inside a container 19:00:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/48 -v /w/workspace/app-functions-sdk-go/48:/w/workspace/app-functions-sdk-go/48:rw,z -v /w/workspace/app-functions-sdk-go/48@tmp:/w/workspace/app-functions-sdk-go/48@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:00:02 $ docker top b06e3473b27970ac75958443b76ae89c0cb5bea702c5b77e49ba3768657fb13e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [Pipeline] } 19:00:02 $ docker stop --time=1 05b9bc9a3171b072e0c398da38631f62ddaaf8b44d6ea7596fc55df9e8df6d51 19:00:03 + make test 19:00:03 make -C ./app-service-template build 19:00:03 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/48/app-service-template' 19:00:03 go mod tidy 19:00:03 $ docker rm -f 05b9bc9a3171b072e0c398da38631f62ddaaf8b44d6ea7596fc55df9e8df6d51 [Pipeline] // withDockerContainer [Pipeline] sh 19:00:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:00:04 Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage 19:00:05 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.1-dev.23 19:00:05 go: downloading github.com/google/uuid v1.3.0 19:00:05 go: downloading github.com/stretchr/testify v1.7.0 [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] } 19:00:05 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.1-dev.15 19:00:05 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.2-dev.7 19:00:05 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.1-dev.9 19:00:05 go: downloading github.com/davecgh/go-spew v1.1.1 19:00:05 go: downloading github.com/pmezard/go-difflib v1.0.0 [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:00:05 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 19:00:05 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 19:00:05 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 19:00:05 go: downloading github.com/stretchr/objx v0.1.1 19:00:05 go: downloading github.com/go-playground/validator/v10 v10.9.0 19:00:05 go: downloading github.com/go-kit/kit v0.11.0 19:00:05 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.1-dev.5 19:00:05 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.1-dev.7 19:00:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:00:05 19:00:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 19:00:05 go: downloading github.com/gorilla/mux v1.8.0 19:00:05 go: downloading github.com/hashicorp/go-multierror v1.1.1 19:00:05 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 19:00:05 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 19:00:05 go: downloading github.com/mitchellh/copystructure v1.0.0 19:00:05 go: downloading github.com/hashicorp/consul/api v1.9.1 19:00:05 go: downloading github.com/gorilla/websocket v1.4.2 19:00:05 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 19:00:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:00:06 latest: Pulling from edgex-lftools-log-publisher 19:00:06 b4d181a07f80: Pulling fs layer 19:00:06 a1111a8f2ec3: Pulling fs layer 19:00:06 ed53099fbce6: Pulling fs layer 19:00:06 dc539afda2c1: Pulling fs layer 19:00:06 77bc0d833cb6: Pulling fs layer 19:00:06 9065ff56babe: Pulling fs layer 19:00:06 d287ab97295c: Pulling fs layer 19:00:06 77bc0d833cb6: Waiting 19:00:06 9065ff56babe: Waiting 19:00:06 d287ab97295c: Waiting 19:00:06 dc539afda2c1: Waiting 19:00:06 a1111a8f2ec3: Verifying Checksum 19:00:06 a1111a8f2ec3: Download complete 19:00:06 dc539afda2c1: Verifying Checksum 19:00:06 dc539afda2c1: Download complete 19:00:06 ed53099fbce6: Verifying Checksum 19:00:06 ed53099fbce6: Download complete 19:00:06 go: downloading github.com/pelletier/go-toml v1.9.4 19:00:06 go: downloading github.com/go-playground/universal-translator v0.18.0 19:00:06 go: downloading github.com/leodido/go-urn v1.2.1 19:00:06 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 19:00:06 go: downloading golang.org/x/text v0.3.6 19:00:06 9065ff56babe: Verifying Checksum 19:00:06 9065ff56babe: Download complete 19:00:06 b4d181a07f80: Download complete 19:00:06 77bc0d833cb6: Verifying Checksum 19:00:06 77bc0d833cb6: Download complete 19:00:06 go: downloading github.com/go-playground/assert/v2 v2.0.1 19:00:06 go: downloading github.com/go-playground/locales v0.14.0 19:00:06 d287ab97295c: Verifying Checksum 19:00:06 d287ab97295c: Download complete 19:00:07 b4d181a07f80: Pull complete 19:00:07 a1111a8f2ec3: Pull complete 19:00:08 ed53099fbce6: Pull complete 19:00:08 dc539afda2c1: Pull complete 19:00:08 77bc0d833cb6: Pull complete 19:00:08 9065ff56babe: Pull complete 19:00:09 go: downloading github.com/hashicorp/errwrap v1.0.0 19:00:09 go: downloading github.com/mitchellh/reflectwalk v1.0.0 19:00:09 go: downloading github.com/kr/pretty v0.3.0 19:00:09 go: downloading github.com/x448/float16 v0.8.4 19:00:09 go: downloading github.com/go-logfmt/logfmt v0.5.0 19:00:09 go: downloading github.com/go-stack/stack v1.8.0 19:00:09 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 19:00:09 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 19:00:09 go: downloading github.com/hashicorp/go-hclog v0.12.0 19:00:09 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 19:00:09 go: downloading github.com/hashicorp/serf v0.9.5 19:00:09 go: downloading github.com/mitchellh/mapstructure v1.1.2 19:00:09 go: downloading github.com/hashicorp/consul/sdk v0.8.0 19:00:09 go: downloading github.com/hashicorp/go-uuid v1.0.1 19:00:09 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 19:00:09 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 19:00:09 go: downloading github.com/kr/text v0.2.0 19:00:09 go: downloading github.com/rogpeppe/go-internal v1.8.0 19:00:09 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 19:00:09 go: downloading github.com/fatih/color v1.9.0 19:00:09 go: downloading github.com/mattn/go-colorable v0.1.6 19:00:09 go: downloading github.com/mattn/go-isatty v0.0.12 19:00:09 go: downloading github.com/mitchellh/go-homedir v1.1.0 19:00:09 go: downloading github.com/pkg/errors v0.9.1 19:00:09 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 19:00:09 go: downloading github.com/go-redis/redis/v7 v7.3.0 19:00:09 go: downloading github.com/pebbe/zmq4 v1.2.7 19:00:09 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 19:00:09 go: downloading github.com/hashicorp/go-msgpack v0.5.3 19:00:09 go: downloading github.com/hashicorp/memberlist v0.2.2 19:00:09 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 19:00:09 go: downloading github.com/onsi/ginkgo v1.10.1 19:00:09 go: downloading github.com/onsi/gomega v1.7.0 19:00:10 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 19:00:10 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 19:00:10 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 19:00:10 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 19:00:10 go: downloading github.com/miekg/dns v1.1.26 19:00:10 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 19:00:10 go: downloading github.com/hashicorp/golang-lru v0.5.0 19:00:10 go: downloading gopkg.in/yaml.v2 v2.4.0 19:00:10 go: downloading github.com/hpcloud/tail v1.0.0 19:00:10 go: downloading github.com/golang/protobuf v1.5.2 19:00:10 go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c 19:00:10 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 19:00:10 go: downloading gopkg.in/fsnotify.v1 v1.4.7 19:00:10 go: downloading github.com/fsnotify/fsnotify v1.4.7 19:00:10 go: downloading google.golang.org/protobuf v1.27.1 19:00:11 go: downloading github.com/google/go-cmp v0.5.5 19:00:11 go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 19:00:11 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.1 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service 19:00:14 d287ab97295c: Pull complete 19:00:14 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 19:00:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:00:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 19:00:14 prd-centos7-docker-4c-2g-2114 does not seem to be running inside a container 19:00:14 $ 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/48 -v /w/workspace/app-functions-sdk-go/48:/w/workspace/app-functions-sdk-go/48:rw,z -v /w/workspace/app-functions-sdk-go/48@tmp:/w/workspace/app-functions-sdk-go/48@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:00:16 $ docker top 1a6fdd00189eaa11923d84c08c0bb6f8af90f37647ca501a4a6b19b65b6b45fb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:00:17 ---> job-cost.sh 19:00:17 lf-activate-venv: SKIPPING 19:00:17 INFO: No Stack... 19:00:17 INFO: Retrieving Pricing Info for: v3-standard-2 19:00:17 INFO: Archiving Costs [Pipeline] sh 19:00:18 + cat /w/workspace/app-functions-sdk-go/48/archives/cost.csv 19:00:18 + cut -d, -f6 [Pipeline] lock 19:00:18 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-48-stack-cost] 19:00:18 Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-48-stack-cost] did not exist. Created. 19:00:18 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-48-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:00:18 + echo total: 0.05999999865889549 [Pipeline] stash 19:00:18 Stashed 1 file(s) [Pipeline] } 19:00:18 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-48-stack-cost] [Pipeline] // lock [Pipeline] } 19:00:18 $ docker stop --time=1 1a6fdd00189eaa11923d84c08c0bb6f8af90f37647ca501a4a6b19b65b6b45fb 19:00:19 $ docker rm -f 1a6fdd00189eaa11923d84c08c0bb6f8af90f37647ca501a4a6b19b65b6b45fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 19:00:50 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/48/app-service-template' 19:00:50 make -C ./app-service-template test 19:00:50 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/48/app-service-template' 19:00:50 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 19:01:23 ok new-app-service 0.053s coverage: 48.1% of statements 19:01:23 ? new-app-service/config [no test files] 19:01:23 ok new-app-service/functions 0.048s 19:01:23 CGO_ENABLED=1 go vet ./... 19:01:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:01:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:01:50 ./bin/test-attribution-txt.sh 19:01:50 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/48/app-service-template' 19:01:50 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 19:01:51 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 19:02:00 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.098s coverage: 67.0% of statements 19:02:00 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app/mocks [no test files] 19:02:00 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.116s coverage: 93.7% of statements 19:02:00 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 19:02:00 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.152s coverage: 61.8% of statements 19:02:00 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 19:02:00 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.096s 19:02:01 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.149s coverage: 75.7% of statements 19:02:01 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 19:02:01 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 19:02:01 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 19:02:01 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 19:02:01 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 19:02:01 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 19:02:01 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.011s coverage: 97.3% of statements 19:02:01 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 19:02:01 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.097s coverage: 10.5% of statements 19:02:08 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.173s coverage: 77.0% of statements 19:02:08 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 19:02:08 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.047s coverage: 14.9% of statements 19:02:08 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.089s coverage: 27.3% of statements 19:02:08 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 19:02:08 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 19:02:08 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.048s coverage: 51.4% of statements 19:02:35 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.125s coverage: 78.7% of statements 19:02:35 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.032s coverage: 94.4% of statements 19:02:35 CGO_ENABLED=1 GO111MODULE=on go vet ./... 19:02:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:02:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:02:39 WARNING: Linting skipped (not on x86_64 or linter not installed) [Pipeline] } 19:02:39 $ docker stop --time=1 b06e3473b27970ac75958443b76ae89c0cb5bea702c5b77e49ba3768657fb13e 19:02:41 $ docker rm -f b06e3473b27970ac75958443b76ae89c0cb5bea702c5b77e49ba3768657fb13e [Pipeline] // withDockerContainer [Pipeline] sh 19:02:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:02:43 Warning: overwriting stash ‘coverage-report’ 19:02:44 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 19:02:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:02:45 19:02:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 19:02:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:02:45 arm64: Pulling from edgex-lftools-log-publisher 19:02:45 448f6bf000e3: Pulling fs layer 19:02:45 f757da607395: Pulling fs layer 19:02:45 05883995daec: Pulling fs layer 19:02:45 8603b9c90790: Pulling fs layer 19:02:45 1560dd03e051: Pulling fs layer 19:02:45 27f5ce0e4adf: Pulling fs layer 19:02:45 c2d8d7efcc4b: Pulling fs layer 19:02:45 1560dd03e051: Waiting 19:02:45 8603b9c90790: Waiting 19:02:45 c2d8d7efcc4b: Waiting 19:02:45 27f5ce0e4adf: Waiting 19:02:46 f757da607395: Verifying Checksum 19:02:46 f757da607395: Download complete 19:02:46 8603b9c90790: Verifying Checksum 19:02:46 8603b9c90790: Download complete 19:02:46 1560dd03e051: Verifying Checksum 19:02:46 1560dd03e051: Download complete 19:02:46 27f5ce0e4adf: Verifying Checksum 19:02:46 27f5ce0e4adf: Download complete 19:02:46 05883995daec: Verifying Checksum 19:02:46 05883995daec: Download complete 19:02:46 448f6bf000e3: Verifying Checksum 19:02:46 448f6bf000e3: Download complete 19:02:49 c2d8d7efcc4b: Verifying Checksum 19:02:49 c2d8d7efcc4b: Download complete 19:02:50 448f6bf000e3: Pull complete 19:02:51 f757da607395: Pull complete 19:02:53 05883995daec: Pull complete 19:02:53 8603b9c90790: Pull complete 19:02:54 1560dd03e051: Pull complete 19:02:54 27f5ce0e4adf: Pull complete 19:03:09 c2d8d7efcc4b: Pull complete 19:03:09 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 19:03:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:03:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 19:03:09 prd-ubuntu18.04-docker-arm64-4c-16g-2113 does not seem to be running inside a container 19:03:09 $ 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/48 -v /w/workspace/app-functions-sdk-go/48:/w/workspace/app-functions-sdk-go/48:rw,z -v /w/workspace/app-functions-sdk-go/48@tmp:/w/workspace/app-functions-sdk-go/48@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:03:12 $ docker top c90b46111edcf0feda219d3a288adfe257766f983c28843264f2c8187c3b58fa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:03:13 ---> job-cost.sh 19:03:13 lf-activate-venv: SKIPPING 19:03:13 INFO: No Stack... 19:03:14 INFO: Retrieving Pricing Info for: v3-standard-4 19:03:14 INFO: Archiving Costs [Pipeline] sh 19:03:15 + cat /w/workspace/app-functions-sdk-go/48/archives/cost.csv 19:03:15 + cut -d, -f6 [Pipeline] lock 19:03:15 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-48-stack-cost] 19:03:15 Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-48-stack-cost] did not exist. Created. 19:03:15 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-48-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:03:16 /w/workspace/app-functions-sdk-go/48@tmp/durable-43ce406d/script.sh: 1: /w/workspace/app-functions-sdk-go/48@tmp/durable-43ce406d/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 19:03:16 + echo total: 0.10999999940395355 [Pipeline] stash 19:03:16 Warning: overwriting stash ‘stack-cost’ 19:03:16 Stashed 1 file(s) [Pipeline] } 19:03:16 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-48-stack-cost] [Pipeline] // lock [Pipeline] } 19:03:16 $ docker stop --time=1 c90b46111edcf0feda219d3a288adfe257766f983c28843264f2c8187c3b58fa 19:03:18 $ docker rm -f c90b46111edcf0feda219d3a288adfe257766f983c28843264f2c8187c3b58fa [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 19:03:19 provisioning config files... 19:03:19 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config8679216281569671327tmp [Pipeline] { [Pipeline] sh 19:03:19 + set +x 19:03:19 + curl -s https://codecov.io/bash 19:03:19 + bash -s -- 19:03:19 19:03:19 _____ _ 19:03:19 / ____| | | 19:03:19 | | ___ __| | ___ ___ _____ __ 19:03:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:03:19 | |___| (_) | (_| | __/ (_| (_) \ V / 19:03:19 \_____\___/ \__,_|\___|\___\___/ \_/ 19:03:19 Bash-1.0.6 19:03:19 19:03:19 19:03:19 ==> git version 2.24.4 found 19:03:19 ==> 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 19:03:19 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 19:03:19 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 19:03:19 ==> Jenkins CI detected. 19:03:19 current dir:  /w/workspace/oundry_app-functions-sdk-go_main 19:03:19 project root: . 19:03:19 --> token set from env 19:03:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:03:19 ==> Running gcov in . (disable via -X gcov) 19:03:19 ==> Python coveragepy not found 19:03:19 ==> Searching for coverage reports in: 19:03:19 + . 19:03:19 -> Found 2 reports 19:03:19 ==> Detecting git/mercurial file structure 19:03:19 ==> Reading reports 19:03:19 + ./app-service-template/coverage.out bytes=1219 19:03:19 + ./coverage.out bytes=101648 19:03:19 ==> Appending adjustments 19:03:19 https://docs.codecov.io/docs/fixing-reports 19:03:19 + Found adjustments 19:03:19 ==> Gzipping contents 19:03:19 20K /tmp/codecov.8GtqQG.gz 19:03:19 ==> Uploading reports 19:03:19 url: https://codecov.io 19:03:19 query: branch=main&commit=59d1d4077dda0ce3fabe92eef71b89b7846b5892&build=48&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F48%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 19:03:19 -> Pinging Codecov 19:03:19 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=59d1d4077dda0ce3fabe92eef71b89b7846b5892&build=48&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F48%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 19:03:20 -> Uploading to 19:03:20 https://storage.googleapis.com/codecov/v4/raw/2021-10-26/3D8B5DFFC46A037C893635FACE044666/59d1d4077dda0ce3fabe92eef71b89b7846b5892/2a401715-f6c1-43cd-93b5-e3c4ac1ead4e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211026T190320Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=14a62db82c04f7687863749f3d6dd5e95b72190cb8843210475d291563c1817a 19:03:20 % Total % Received % Xferd Average Speed Time Time Time Current 19:03:20 Dload Upload Total Spent Left Speed 19:03:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17816 0 0 100 17816 0 52737 --:--:-- --:--:-- --:--:-- 52866 19:03:20 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/59d1d4077dda0ce3fabe92eef71b89b7846b5892 [Pipeline] } 19:03:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 19:03:21 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 19:03:21 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:03:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:03:21 19:03:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 19:03:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:03:21 1.410.4: Pulling from edgex-devops/edgex-snyk-go 19:03:21 188c0c94c7c5: Pulling fs layer 19:03:21 0ef7d3d256c8: Pulling fs layer 19:03:21 de9db76c5a1d: Pulling fs layer 19:03:21 0eba1c9be4d2: Pulling fs layer 19:03:21 0d57e429df01: Pulling fs layer 19:03:21 4e4be7b47b0d: Pulling fs layer 19:03:21 e1f770b5df2f: Pulling fs layer 19:03:21 85a0685a4137: Pulling fs layer 19:03:21 0eba1c9be4d2: Waiting 19:03:21 0d57e429df01: Waiting 19:03:21 4e4be7b47b0d: Waiting 19:03:21 e1f770b5df2f: Waiting 19:03:21 85a0685a4137: Waiting 19:03:21 de9db76c5a1d: Verifying Checksum 19:03:21 de9db76c5a1d: Download complete 19:03:21 0ef7d3d256c8: Download complete 19:03:21 0d57e429df01: Verifying Checksum 19:03:21 0d57e429df01: Download complete 19:03:21 4e4be7b47b0d: Verifying Checksum 19:03:21 4e4be7b47b0d: Download complete 19:03:21 188c0c94c7c5: Verifying Checksum 19:03:21 188c0c94c7c5: Download complete 19:03:21 e1f770b5df2f: Verifying Checksum 19:03:21 e1f770b5df2f: Download complete 19:03:22 188c0c94c7c5: Pull complete 19:03:22 0eba1c9be4d2: Verifying Checksum 19:03:22 0eba1c9be4d2: Download complete 19:03:22 0ef7d3d256c8: Pull complete 19:03:22 de9db76c5a1d: Pull complete 19:03:22 85a0685a4137: Verifying Checksum 19:03:22 85a0685a4137: Download complete 19:03:26 0eba1c9be4d2: Pull complete 19:03:26 0d57e429df01: Pull complete 19:03:26 4e4be7b47b0d: Pull complete 19:03:26 e1f770b5df2f: Pull complete 19:03:31 85a0685a4137: Pull complete 19:03:31 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 19:03:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:03:31 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 19:03:31 prd-centos7-docker-4c-2g-2112 does not seem to be running inside a container 19:03:31 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 19:03:33 $ docker top 5fced1caa9194d8b63bad988110d67a2b5084ef069b4c89438e488c15dc2b258 -eo pid,comm [Pipeline] { [Pipeline] echo 19:03:33 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 19:03:33 + set -o pipefail 19:03:33 + snyk monitor '--org=edgex-jenkins' 19:03:45 19:03:45 Monitoring /w/workspace/oundry_app-functions-sdk-go_main (github.com/edgexfoundry/app-functions-sdk-go/v2)... 19:03:45 19:03:45 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/ef0f4a95-0e8b-4b76-b7b8-233d98972699 19:03:45 19:03:45 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 19:03:45 19:03:45 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 19:03:45 19:03:45 [Pipeline] } 19:03:46 $ docker stop --time=1 5fced1caa9194d8b63bad988110d67a2b5084ef069b4c89438e488c15dc2b258 19:03:48 $ docker rm -f 5fced1caa9194d8b63bad988110d67a2b5084ef069b4c89438e488c15dc2b258 [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 19:03:49 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:03:49 provisioning config files... 19:03:49 copy managed file [swaggerhub-api-key] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config5855521963622868504tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:03:49 --> edgex-publish-swagger.sh 19:03:49 === Publish openapi/v2 API === 19:03:49 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 19:03:49 [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/oundry_app-functions-sdk-go_main/openapi/v2/app-functions-sdk.yaml] 19:03:49 % Total % Received % Xferd Average Speed Time Time Time Current 19:03:49 Dload Upload Total Spent Left Speed 19:03:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13054 0 0 100 13054 0 11845 0:00:01 0:00:01 --:--:-- 11856 100 13054 0 0 100 13054 0 11843 0:00:01 0:00:01 --:--:-- 11845 19:03:50 19:03:50 [Pipeline] } 19:03:50 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 19:03:50 + git log --format=format:%s -1 59d1d4077dda0ce3fabe92eef71b89b7846b5892 [Pipeline] isUnix [Pipeline] sh 19:03:51 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:03:51 . [Pipeline] withDockerContainer 19:03:51 prd-centos7-docker-4c-2g-2112 does not seem to be running inside a container 19:03:51 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 19:03:51 $ docker top ae39c212e935aacf02d1f92872731e4d4efdf6789b2acf52b3c1cacd8ebcbf24 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:03:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:03:51 [ssh-agent] Looking for ssh-agent implementation... 19:03:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:03:51 $ docker exec ae39c212e935aacf02d1f92872731e4d4efdf6789b2acf52b3c1cacd8ebcbf24 ssh-agent 19:03:52 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJpNNPh/agent.14 19:03:52 SSH_AGENT_PID=21 19:03:52 Running ssh-add (command line suppressed) 19:03:52 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7582189711965079084.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7582189711965079084.key) 19:03:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:03:52 + git semver tag 19:03:52 # -> Open(): unable to determine branch for HEAD 19:03:52 # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git 19:03:52 # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main 19:03:52 # $SEMVER_REMOTE_NAME = origin 19:03:52 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 19:03:52 # $SEMVER_USER_NAME = edgex-jenkins 19:03:52 # $SEMVER_BRANCH = main 19:03:52 # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver 19:03:52 # 59d1d4077dda0ce3fabe92eef71b89b7846b5892 HEAD 19:03:52 # -> Force: false 19:03:52 # 89b86aa5f8122e2a9287116a309abc05caa870e2 refs/tags/v2.0.2-dev.35 [Pipeline] } 19:03:52 $ docker exec --env ******** --env ******** ae39c212e935aacf02d1f92872731e4d4efdf6789b2acf52b3c1cacd8ebcbf24 ssh-agent -k 19:03:52 unset SSH_AUTH_SOCK; 19:03:52 unset SSH_AGENT_PID; 19:03:52 echo Agent pid 21 killed; 19:03:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:03:52 + git semver [Pipeline] } 19:03:52 $ docker stop --time=1 ae39c212e935aacf02d1f92872731e4d4efdf6789b2acf52b3c1cacd8ebcbf24 19:03:54 $ docker rm -f ae39c212e935aacf02d1f92872731e4d4efdf6789b2acf52b3c1cacd8ebcbf24 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 19:03:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:03:54 19:03:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 19:03:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:03:54 0.23.1-centos7: Pulling from edgex-lftools 19:03:54 ab5ef0e58194: Pulling fs layer 19:03:54 9712f1f96733: Pulling fs layer 19:03:54 63f879dbbcfc: Pulling fs layer 19:03:54 0d9ebad4ef96: Pulling fs layer 19:03:54 e9a5061849ea: Pulling fs layer 19:03:54 d747dcd14b5f: Pulling fs layer 19:03:54 2de7ff778b66: Pulling fs layer 19:03:54 d747dcd14b5f: Waiting 19:03:54 0d9ebad4ef96: Waiting 19:03:54 2de7ff778b66: Waiting 19:03:54 e9a5061849ea: Waiting 19:03:54 9712f1f96733: Verifying Checksum 19:03:54 9712f1f96733: Download complete 19:03:55 ab5ef0e58194: Verifying Checksum 19:03:55 ab5ef0e58194: Download complete 19:03:55 0d9ebad4ef96: Verifying Checksum 19:03:55 0d9ebad4ef96: Download complete 19:03:55 63f879dbbcfc: Verifying Checksum 19:03:55 63f879dbbcfc: Download complete 19:03:55 d747dcd14b5f: Verifying Checksum 19:03:55 d747dcd14b5f: Download complete 19:03:55 e9a5061849ea: Verifying Checksum 19:03:55 e9a5061849ea: Download complete 19:03:55 2de7ff778b66: Verifying Checksum 19:03:55 2de7ff778b66: Download complete 19:03:57 ab5ef0e58194: Pull complete 19:03:57 9712f1f96733: Pull complete 19:03:58 63f879dbbcfc: Pull complete 19:04:03 0d9ebad4ef96: Pull complete 19:04:03 e9a5061849ea: Pull complete 19:04:03 d747dcd14b5f: Pull complete 19:04:04 2de7ff778b66: Pull complete 19:04:04 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 19:04:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:04:04 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 19:04:04 prd-centos7-docker-4c-2g-2112 does not seem to be running inside a container 19:04:04 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 19:04:07 $ docker top fed65e31feb4ee280e3117daa096a501e3877e1dcbae25011a8eafb5fe8d921e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 19:04:07 provisioning config files... 19:04:07 copy managed file [sigul-config] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config8342016576789742540tmp 19:04:07 copy managed file [sigul-password] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config4491643090907707504tmp 19:04:07 copy managed file [sigul-pki] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config1858779001606556889tmp [Pipeline] { [Pipeline] echo 19:04:07 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 19:04:08 ---> sigul-configuration.sh 19:04:08 gpg: directory `/root/.gnupg' created 19:04:08 gpg: new configuration file `/root/.gnupg/gpg.conf' created 19:04:08 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 19:04:08 gpg: keyring `/root/.gnupg/secring.gpg' created 19:04:08 gpg: keyring `/root/.gnupg/pubring.gpg' created 19:04:08 gpg: CAST5 encrypted data 19:04:08 gpg: encrypted with 1 passphrase 19:04:08 gpg: WARNING: message was not integrity protected [Pipeline] sh 19:04:08 + mkdir /home/jenkins 19:04:08 + mkdir /home/jenkins/sigul [Pipeline] sh 19:04:08 + 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 19:04:08 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 19:04:08 ---> sigul-install.sh 19:04:08 Sigul already installed; skipping installation. [Pipeline] sh 19:04:09 + git tag --list 19:04:09 v0.1.0 19:04:09 v0.1.1 19:04:09 v1.0.0 19:04:09 v1.1.0 19:04:09 v1.2.0 19:04:09 v1.3.0 19:04:09 v1.3.1 19:04:09 v2.0.0 19:04:09 v2.0.1 19:04:09 v2.0.1-dev.1 19:04:09 v2.0.1-dev.2 19:04:09 v2.0.1-dev.3 19:04:09 v2.0.1-dev.4 19:04:09 v2.0.1-dev.5 19:04:09 v2.0.1-dev.6 19:04:09 v2.0.1-dev.7 19:04:09 v2.0.2-dev.1 19:04:09 v2.0.2-dev.10 19:04:09 v2.0.2-dev.11 19:04:09 v2.0.2-dev.12 19:04:09 v2.0.2-dev.13 19:04:09 v2.0.2-dev.14 19:04:09 v2.0.2-dev.15 19:04:09 v2.0.2-dev.16 19:04:09 v2.0.2-dev.17 19:04:09 v2.0.2-dev.18 19:04:09 v2.0.2-dev.19 19:04:09 v2.0.2-dev.2 19:04:09 v2.0.2-dev.20 19:04:09 v2.0.2-dev.21 19:04:09 v2.0.2-dev.22 19:04:09 v2.0.2-dev.23 19:04:09 v2.0.2-dev.24 19:04:09 v2.0.2-dev.25 19:04:09 v2.0.2-dev.26 19:04:09 v2.0.2-dev.27 19:04:09 v2.0.2-dev.28 19:04:09 v2.0.2-dev.29 19:04:09 v2.0.2-dev.3 19:04:09 v2.0.2-dev.30 19:04:09 v2.0.2-dev.31 19:04:09 v2.0.2-dev.32 19:04:09 v2.0.2-dev.33 19:04:09 v2.0.2-dev.34 19:04:09 v2.0.2-dev.35 19:04:09 v2.0.2-dev.4 19:04:09 v2.0.2-dev.5 19:04:09 v2.0.2-dev.6 19:04:09 v2.0.2-dev.7 19:04:09 v2.0.2-dev.8 19:04:09 v2.0.2-dev.9 [Pipeline] sh 19:04:09 + lftools sign git-tag v2.0.2-dev.35 19:04:10 Signing Git tag with Sigul... 19:04:10 Signing v2.0.2-dev.35 [Pipeline] echo 19:04:11 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 19:04:11 ---> sigul-configuration-cleanup.sh [Pipeline] } 19:04:11 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 19:04:11 $ docker stop --time=1 fed65e31feb4ee280e3117daa096a501e3877e1dcbae25011a8eafb5fe8d921e 19:04:12 $ docker rm -f fed65e31feb4ee280e3117daa096a501e3877e1dcbae25011a8eafb5fe8d921e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 19:04:13 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:04:13 . [Pipeline] withDockerContainer 19:04:13 prd-centos7-docker-4c-2g-2112 does not seem to be running inside a container 19:04:13 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 19:04:13 $ docker top 4bf81fb5cd6a80793975a62365080f1f13c218802ee6038fad71b61b3accb37f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:04:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:04:13 [ssh-agent] Looking for ssh-agent implementation... 19:04:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:04:13 $ docker exec 4bf81fb5cd6a80793975a62365080f1f13c218802ee6038fad71b61b3accb37f ssh-agent 19:04:14 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXinIEoK/agent.13 19:04:14 SSH_AGENT_PID=19 19:04:14 Running ssh-add (command line suppressed) 19:04:14 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_3439618387054135874.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_3439618387054135874.key) 19:04:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:04:14 + git semver bump pre 19:04:14 # -> Open(): unable to determine branch for HEAD 19:04:14 # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git 19:04:14 # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main 19:04:14 # $SEMVER_REMOTE_NAME = origin 19:04:14 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 19:04:14 # $SEMVER_USER_NAME = edgex-jenkins 19:04:14 # $SEMVER_BRANCH = main 19:04:14 # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver 19:04:14 2.0.2-dev.36 [Pipeline] } 19:04:14 $ docker exec --env ******** --env ******** 4bf81fb5cd6a80793975a62365080f1f13c218802ee6038fad71b61b3accb37f ssh-agent -k 19:04:14 unset SSH_AUTH_SOCK; 19:04:14 unset SSH_AGENT_PID; 19:04:14 echo Agent pid 19 killed; 19:04:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:04:14 + git semver [Pipeline] } 19:04:14 $ docker stop --time=1 4bf81fb5cd6a80793975a62365080f1f13c218802ee6038fad71b61b3accb37f 19:04:16 $ docker rm -f 4bf81fb5cd6a80793975a62365080f1f13c218802ee6038fad71b61b3accb37f [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 19:04:16 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:04:16 . [Pipeline] withDockerContainer 19:04:16 prd-centos7-docker-4c-2g-2112 does not seem to be running inside a container 19:04:16 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 19:04:16 $ docker top 201cedaa8eca6c4a35c50034d0abb432165a88e340a346c056a8fcdd69dd9027 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:04:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:04:17 [ssh-agent] Looking for ssh-agent implementation... 19:04:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:04:17 $ docker exec 201cedaa8eca6c4a35c50034d0abb432165a88e340a346c056a8fcdd69dd9027 ssh-agent 19:04:17 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdMkhOe/agent.12 19:04:17 SSH_AGENT_PID=18 19:04:17 Running ssh-add (command line suppressed) 19:04:17 Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_490796671176567728.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_490796671176567728.key) 19:04:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:04:17 + git semver push 19:04:17 # -> Open(): unable to determine branch for HEAD 19:04:17 # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git 19:04:17 # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main 19:04:17 # $SEMVER_REMOTE_NAME = origin 19:04:17 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 19:04:17 # $SEMVER_USER_NAME = edgex-jenkins 19:04:17 # $SEMVER_BRANCH = main 19:04:17 # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [Pipeline] } 19:04:19 $ docker exec --env ******** --env ******** 201cedaa8eca6c4a35c50034d0abb432165a88e340a346c056a8fcdd69dd9027 ssh-agent -k 19:04:19 unset SSH_AUTH_SOCK; 19:04:19 unset SSH_AGENT_PID; 19:04:19 echo Agent pid 18 killed; 19:04:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:04:20 + git semver [Pipeline] } 19:04:20 $ docker stop --time=1 201cedaa8eca6c4a35c50034d0abb432165a88e340a346c056a8fcdd69dd9027 19:04:21 $ docker rm -f 201cedaa8eca6c4a35c50034d0abb432165a88e340a346c056a8fcdd69dd9027 [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] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 19:04:22 + '[' -d /w/workspace/oundry_app-functions-sdk-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 19:04:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:04:23 ---> package-listing.sh 19:04:23 ++ tr '[:upper:]' '[:lower:]' 19:04:23 ++ facter osfamily 19:04:23 + OS_FAMILY=redhat 19:04:23 + workspace=/w/workspace/oundry_app-functions-sdk-go_main 19:04:23 + START_PACKAGES=/tmp/packages_start.txt 19:04:23 + END_PACKAGES=/tmp/packages_end.txt 19:04:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:04:23 + PACKAGES=/tmp/packages_start.txt 19:04:23 + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' 19:04:23 + PACKAGES=/tmp/packages_end.txt 19:04:23 + case "${OS_FAMILY}" in 19:04:23 + sort 19:04:23 + rpm -qa 19:04:23 + '[' -f /tmp/packages_start.txt ']' 19:04:23 + '[' -f /tmp/packages_end.txt ']' 19:04:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:04:23 + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' 19:04:23 + mkdir -p /w/workspace/oundry_app-functions-sdk-go_main/archives/ 19:04:23 + 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 19:04:23 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 19:04:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 19:04:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:04:24 19:04:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 19:04:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:04:25 latest: Pulling from edgex-lftools-log-publisher 19:04:25 b4d181a07f80: Pulling fs layer 19:04:25 a1111a8f2ec3: Pulling fs layer 19:04:25 ed53099fbce6: Pulling fs layer 19:04:25 dc539afda2c1: Pulling fs layer 19:04:25 77bc0d833cb6: Pulling fs layer 19:04:25 9065ff56babe: Pulling fs layer 19:04:25 d287ab97295c: Pulling fs layer 19:04:25 dc539afda2c1: Waiting 19:04:25 77bc0d833cb6: Waiting 19:04:25 9065ff56babe: Waiting 19:04:25 d287ab97295c: Waiting 19:04:25 a1111a8f2ec3: Verifying Checksum 19:04:25 a1111a8f2ec3: Download complete 19:04:25 dc539afda2c1: Verifying Checksum 19:04:25 dc539afda2c1: Download complete 19:04:25 77bc0d833cb6: Verifying Checksum 19:04:25 77bc0d833cb6: Download complete 19:04:25 ed53099fbce6: Verifying Checksum 19:04:25 ed53099fbce6: Download complete 19:04:25 9065ff56babe: Verifying Checksum 19:04:25 9065ff56babe: Download complete 19:04:25 b4d181a07f80: Verifying Checksum 19:04:25 b4d181a07f80: Download complete 19:04:25 d287ab97295c: Verifying Checksum 19:04:25 d287ab97295c: Download complete 19:04:26 b4d181a07f80: Pull complete 19:04:26 a1111a8f2ec3: Pull complete 19:04:27 ed53099fbce6: Pull complete 19:04:27 dc539afda2c1: Pull complete 19:04:27 77bc0d833cb6: Pull complete 19:04:27 9065ff56babe: Pull complete 19:04:33 d287ab97295c: Pull complete 19:04:33 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 19:04:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:04:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 19:04:33 prd-centos7-docker-4c-2g-2112 does not seem to be running inside a container 19:04:33 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:04:35 $ docker top 61cb6b9fe5732e8bab3b8dc198373677d570349eca9bf85591a7693de9f8a19b -eo pid,comm [Pipeline] { [Pipeline] sh 19:04:35 + touch /tmp/pre-build-complete [Pipeline] sh 19:04:36 + mkdir -p /var/log/sysstat [Pipeline] sh 19:04:36 + ls /var/log/sa-host 19:04:36 + sadf -c /var/log/sa-host/sa26 19:04:36 file_magic: OK 19:04:36 HZ: Using current value: 100 19:04:36 file_header: OK 19:04:36 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 19:04:36 Statistics: 19:04:36 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 19:04:36 File successfully converted to sysstat format version 12.0.3 19:04:36 + sadf -c /var/log/sa-host/sa30 19:04:36 file_magic: OK 19:04:36 HZ: Using current value: 100 19:04:36 file_header: OK 19:04:36 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 19:04:36 Statistics: 19:04:36 Hnuu...uuuununununu...Hnuu...uuuununununu... 19:04:36 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:04:36 provisioning config files... 19:04:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config4300095006705022836tmp [Pipeline] { [Pipeline] echo 19:04:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:04:37 ---> create-netrc.sh [Pipeline] } 19:04:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:04:37 ---> python-tools-install.sh [Pipeline] echo 19:04:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:04:37 ---> sudo-logs.sh 19:04:37 Archiving 'sudo' log.. 19:04:37 sudo: unable to resolve host prd-centos7-docker-4c-2g-2112.novalocal: Name or service not known 19:04:37 sudo: unable to resolve host prd-centos7-docker-4c-2g-2112.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 19:04:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:04:38 ---> job-cost.sh 19:04:38 lf-activate-venv: SKIPPING 19:04:38 DEBUG: total: 0.10999999940395355 19:04:38 INFO: Retrieving Stack Cost... 19:04:38 INFO: Retrieving Pricing Info for: v3-standard-2 19:04:38 INFO: Archiving Costs [Pipeline] echo 19:04:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:04:38 ---> logs-deploy.sh 19:04:38 lf-activate-venv: SKIPPING 19:04:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/main/48 19:04:38 INFO: archiving workspace using pattern(s): 19:04:39 Archives upload complete. 19:04:39 INFO: archiving logs to Nexus 19:04:40 ---> uname -a: 19:04:40 Linux prd-centos7-docker-4c-2g-2112.novalocal 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 GNU/Linux 19:04:40 19:04:40 19:04:40 ---> lscpu: 19:04:40 Architecture: x86_64 19:04:40 CPU op-mode(s): 32-bit, 64-bit 19:04:40 Byte Order: Little Endian 19:04:40 Address sizes: 40 bits physical, 48 bits virtual 19:04:40 CPU(s): 2 19:04:40 On-line CPU(s) list: 0,1 19:04:40 Thread(s) per core: 1 19:04:40 Core(s) per socket: 1 19:04:40 Socket(s): 2 19:04:40 NUMA node(s): 1 19:04:40 Vendor ID: AuthenticAMD 19:04:40 CPU family: 23 19:04:40 Model: 49 19:04:40 Model name: AMD EPYC-Rome Processor 19:04:40 Stepping: 0 19:04:40 CPU MHz: 2799.998 19:04:40 BogoMIPS: 5599.99 19:04:40 Virtualization: AMD-V 19:04:40 Hypervisor vendor: KVM 19:04:40 Virtualization type: full 19:04:40 L1d cache: 32K 19:04:40 L1i cache: 32K 19:04:40 L2 cache: 512K 19:04:40 L3 cache: 16384K 19:04:40 NUMA node0 CPU(s): 0,1 19:04:40 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 19:04:40 19:04:40 19:04:40 ---> nproc: 19:04:40 2 19:04:40 19:04:40 19:04:40 ---> df -h: 19:04:40 Filesystem Size Used Avail Use% Mounted on 19:04:40 overlay 40G 9.0G 32G 23% / 19:04:40 tmpfs 64M 0 64M 0% /dev 19:04:40 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 19:04:40 shm 64M 0 64M 0% /dev/shm 19:04:40 /dev/vda1 40G 9.0G 32G 23% /facter-os 19:04:40 19:04:40 19:04:40 ---> sar -b -r -n DEV: 19:04:40 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/26/21 _x86_64_ (2 CPU) 19:04:40 19:04:40 18:56:20 LINUX RESTART (2 CPU) 19:04:40 19:04:40 18:57:03 tps rtps wtps bread/s bwrtn/s 19:04:40 18:58:01 7.70 0.33 7.37 30.72 1429.02 19:04:40 18:59:01 0.48 0.00 0.48 0.00 7.71 19:04:40 19:00:01 0.25 0.00 0.25 0.00 2.70 19:04:40 19:01:01 0.25 0.02 0.23 0.13 3.48 19:04:40 19:02:01 0.40 0.08 0.32 1.60 5.34 19:04:40 19:03:01 0.28 0.00 0.28 0.00 3.91 19:04:40 19:04:01 144.66 0.05 144.61 4.26 33011.04 19:04:40 Average: 22.08 0.07 22.01 5.13 4941.11 19:04:40 19:04:40 18:57:03 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 19:04:40 18:58:01 5657600 0 616740 7.70 2620 1731972 1225496 13.53 574800 1541488 20 19:04:40 18:59:01 5655156 0 619180 7.73 2620 1731976 1225508 13.53 577060 1541452 16 19:04:40 19:00:01 5658112 0 616220 7.69 2620 1731980 1225532 13.53 573580 1541932 8 19:04:40 19:01:01 5663476 0 610848 7.63 2620 1731988 1164896 12.86 569844 1541932 8 19:04:40 19:02:01 5662912 0 611284 7.63 2620 1732116 1163296 12.84 569888 1542884 16 19:04:40 19:03:01 5661296 0 612896 7.65 2620 1732120 1163296 12.84 571004 1542888 8 19:04:40 19:04:01 4084220 0 917160 11.45 2620 3004932 1533420 16.93 929620 2594828 553916 19:04:40 Average: 5434682 0 657761 8.21 2620 1913869 1243063 13.72 623685 1692486 79142 19:04:40 19:04:40 18:57:03 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 19:04:40 18:58:01 eth0 65.68 110.14 336.94 13.59 0.00 0.00 0.00 0.00 19:04:40 18:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:04:40 18:58:01 docker0 102.32 51.73 8.24 323.16 0.00 0.00 0.00 0.00 19:04:40 18:59:01 eth0 1.22 0.25 0.40 0.13 0.00 0.00 0.00 0.00 19:04:40 18:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:04:40 18:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:04:40 19:00:01 eth0 0.32 0.32 0.26 0.26 0.00 0.00 0.00 0.00 19:04:40 19:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:04:40 19:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:04:40 19:01:01 eth0 0.67 0.10 0.06 0.01 0.00 0.00 0.00 0.00 19:04:40 19:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:04:40 19:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:04:40 19:02:01 eth0 1.12 0.38 0.39 0.26 0.00 0.00 0.00 0.00 19:04:40 19:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:04:40 19:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:04:40 19:03:01 eth0 0.62 0.43 0.33 0.18 0.00 0.00 0.00 0.00 19:04:40 19:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:04:40 19:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:04:40 19:04:01 eth0 321.41 190.73 7645.83 30.83 0.00 0.00 0.00 0.00 19:04:40 19:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:04:40 19:04:01 docker0 36.75 50.92 3.44 389.07 0.00 0.00 0.00 0.00 19:04:40 Average: eth0 55.83 42.88 1144.70 6.43 0.00 0.00 0.00 0.00 19:04:40 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:04:40 Average: docker0 19.48 14.49 1.64 100.72 0.00 0.00 0.00 0.00 19:04:40 19:04:40 19:04:40 ---> sar -P ALL: 19:04:40 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/26/21 _x86_64_ (2 CPU) 19:04:40 19:04:40 18:56:20 LINUX RESTART (2 CPU) 19:04:40 19:04:40 18:57:03 CPU %user %nice %system %iowait %steal %idle 19:04:40 18:58:01 all 2.27 0.00 0.63 0.07 0.03 97.01 19:04:40 18:58:01 0 2.55 0.00 0.64 0.02 0.03 96.75 19:04:40 18:58:01 1 1.98 0.00 0.62 0.12 0.02 97.26 19:04:40 18:59:01 all 0.18 0.00 0.07 0.00 0.03 99.73 19:04:40 18:59:01 0 0.30 0.00 0.07 0.00 0.03 99.60 19:04:40 18:59:01 1 0.05 0.00 0.07 0.00 0.02 99.87 19:04:40 19:00:01 all 0.27 0.00 0.06 0.00 0.01 99.67 19:04:40 19:00:01 0 0.43 0.00 0.05 0.00 0.00 99.52 19:04:40 19:00:01 1 0.10 0.00 0.07 0.00 0.02 99.82 19:04:40 19:01:01 all 0.27 0.00 0.05 0.00 0.01 99.67 19:04:40 19:01:01 0 0.45 0.00 0.05 0.00 0.02 99.48 19:04:40 19:01:01 1 0.08 0.00 0.05 0.00 0.00 99.87 19:04:40 19:02:01 all 0.29 0.00 0.09 0.00 0.01 99.61 19:04:40 19:02:01 0 0.08 0.00 0.12 0.00 0.02 99.78 19:04:40 19:02:01 1 0.50 0.00 0.07 0.00 0.00 99.43 19:04:40 19:03:01 all 0.26 0.00 0.04 0.00 0.01 99.69 19:04:40 19:03:01 0 0.05 0.00 0.05 0.00 0.00 99.90 19:04:40 19:03:01 1 0.47 0.00 0.03 0.00 0.02 99.48 19:04:40 19:04:01 all 20.02 0.00 8.14 1.89 0.08 69.87 19:04:40 19:04:01 0 20.45 0.00 8.40 2.08 0.09 68.99 19:04:40 19:04:01 1 19.60 0.00 7.89 1.69 0.07 70.76 19:04:40 Average: all 3.26 0.00 1.26 0.27 0.02 95.19 19:04:40 Average: 0 3.37 0.00 1.30 0.29 0.03 95.02 19:04:40 Average: 1 3.16 0.00 1.22 0.25 0.02 95.35 19:04:40 19:04:40 19:04:40