Push event to branch main Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b10469f13584187c4bd7f7cff58f5aa0259e83b1 Running in Durability level: MAX_SURVIVABILITY 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh819217507056421846.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 144eb70ba3d470a427e699408e811d3f535e987a 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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6112742919843280762.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 144eb70ba3d470a427e699408e811d3f535e987a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/main/workspace@libs/edgex-global-pipelines # timeout=10 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 > git /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-ssh3922618436538869063.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 > git /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-ssh5111573748210782710.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 144eb70ba3d470a427e699408e811d3f535e987a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 144eb70ba3d470a427e699408e811d3f535e987a # timeout=10 Commit message: "Merge pull request #341 from ernestojeda/master-2-main" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4778042788574055086.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/main/workspace@libs/lf-pipelines # timeout=10 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 > git /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-ssh8851681578766885580.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a 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 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ 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_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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-212 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/oundry_app-functions-sdk-go_main@tmp/jenkins-gitclient-ssh6088954290364600004.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 b10469f13584187c4bd7f7cff58f5aa0259e83b1 (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 b10469f13584187c4bd7f7cff58f5aa0259e83b1 # timeout=10 Commit message: "build: change swagger version to 2.0.0 (#919)" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-07-06T22:33:15.727Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-07-06T22:33:15.955Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-06T22:33:16.088Z] ========================================================= [2021-07-06T22:33:16.088Z] EdgeX Global Pipelines Version Info [2021-07-06T22:33:16.088Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-07-06T22:33:17.545Z] ------------------- [2021-07-06T22:33:17.545Z] stable info: [2021-07-06T22:33:17.545Z] ------------------- [2021-07-06T22:33:17.545Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-07-06T22:33:17.545Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-06T22:33:17.545Z] Message: update stable to v1.0.196 [2021-07-06T22:33:18.117Z] ------------------- [2021-07-06T22:33:18.117Z] experimental info: [2021-07-06T22:33:18.117Z] ------------------- [2021-07-06T22:33:18.117Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-07-06T22:33:18.117Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-06T22:33:18.117Z] Message: update experimental to v1.0.196 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-07-06T22:33:18.359Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-07-06T22:33:18.420Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-07-06T22:33:18.479Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-07-06T22:33:18.539Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-07-06T22:33:18.595Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-07-06T22:33:18.655Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-07-06T22:33:18.731Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-07-06T22:33:18.789Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-07-06T22:33:18.843Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-07-06T22:33:18.897Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-07-06T22:33:18.955Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-07-06T22:33:19.010Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2021-07-06T22:33:19.069Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-07-06T22:33:19.120Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-07-06T22:33:19.189Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-07-06T22:33:19.249Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-07-06T22:33:19.310Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-07-06T22:33:19.386Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-07-06T22:33:19.448Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-07-06T22:33:19.508Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-07-06T22:33:19.564Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-07-06T22:33:19.617Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-07-06T22:33:19.674Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-07-06T22:33:19.727Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-07-06T22:33:19.784Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-07-06T22:33:19.843Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-07-06T22:33:19.900Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-07-06T22:33:19.972Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-07-06T22:33:20.030Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-07-06T22:33:20.089Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b10469f13584187c4bd7f7cff58f5aa0259e83b1 [Pipeline] echo [2021-07-06T22:33:20.146Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b10469f [Pipeline] echo [2021-07-06T22:33:20.202Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-06T22:33:21.011Z] + git log --format=format:%s -1 b10469f13584187c4bd7f7cff58f5aa0259e83b1 [Pipeline] echo [2021-07-06T22:33:21.072Z] GIT_COMMIT: b10469f13584187c4bd7f7cff58f5aa0259e83b1, Commit Message: build: change swagger version to 2.0.0 (#919) [Pipeline] echo [2021-07-06T22:33:21.114Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:33:22.422Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-06T22:33:22.683Z] [2021-07-06T22:33:22.683Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:33:23.050Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-06T22:33:23.328Z] latest: Pulling from edgex-devops/git-semver [2021-07-06T22:33:23.328Z] 31603596830f: Pulling fs layer [2021-07-06T22:33:23.328Z] 54011a49482f: Pulling fs layer [2021-07-06T22:33:23.328Z] a6820b24f6d8: Pulling fs layer [2021-07-06T22:33:23.328Z] f581987b2513: Pulling fs layer [2021-07-06T22:33:23.328Z] f581987b2513: Waiting [2021-07-06T22:33:23.328Z] 54011a49482f: Verifying Checksum [2021-07-06T22:33:23.328Z] 54011a49482f: Download complete [2021-07-06T22:33:23.328Z] 31603596830f: Verifying Checksum [2021-07-06T22:33:23.328Z] 31603596830f: Download complete [2021-07-06T22:33:23.328Z] f581987b2513: Verifying Checksum [2021-07-06T22:33:23.328Z] f581987b2513: Download complete [2021-07-06T22:33:23.594Z] 31603596830f: Pull complete [2021-07-06T22:33:23.594Z] a6820b24f6d8: Verifying Checksum [2021-07-06T22:33:23.594Z] a6820b24f6d8: Download complete [2021-07-06T22:33:23.594Z] 54011a49482f: Pull complete [2021-07-06T22:33:24.171Z] a6820b24f6d8: Pull complete [2021-07-06T22:33:24.435Z] f581987b2513: Pull complete [2021-07-06T22:33:24.435Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-07-06T22:33:24.435Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-06T22:33:24.435Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-07-06T22:33:24.533Z] prd-centos7-docker-4c-2g-212 does not seem to be running inside a container [2021-07-06T22:33:24.571Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-06T22:33:25.634Z] $ docker top 8e8b9be1a3f8322e84181c44950a7f084bba7fcb5167f1a45f4e2cb614d98f77 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-06T22:33:25.849Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-06T22:33:25.849Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-06T22:33:25.961Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-06T22:33:25.961Z] $ docker exec 8e8b9be1a3f8322e84181c44950a7f084bba7fcb5167f1a45f4e2cb614d98f77 ssh-agent [2021-07-06T22:33:26.069Z] SSH_AUTH_SOCK=/tmp/ssh-jfq1ekjVEC2O/agent.15 [2021-07-06T22:33:26.069Z] SSH_AGENT_PID=22 [2021-07-06T22:33:26.077Z] Running ssh-add (command line suppressed) [2021-07-06T22:33:26.178Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_5676517900529319761.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_5676517900529319761.key) [2021-07-06T22:33:26.199Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-06T22:33:26.551Z] + git tag --points-at HEAD [Pipeline] } [2021-07-06T22:33:26.569Z] $ docker exec --env ******** --env ******** 8e8b9be1a3f8322e84181c44950a7f084bba7fcb5167f1a45f4e2cb614d98f77 ssh-agent -k [2021-07-06T22:33:26.680Z] unset SSH_AUTH_SOCK; [2021-07-06T22:33:26.680Z] unset SSH_AGENT_PID; [2021-07-06T22:33:26.680Z] echo Agent pid 22 killed; [2021-07-06T22:33:26.693Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2021-07-06T22:33:26.812Z] [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v2.0.1-dev.2' [Pipeline] sshagent [2021-07-06T22:33:26.864Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-06T22:33:26.864Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-06T22:33:26.966Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-06T22:33:26.965Z] $ docker exec 8e8b9be1a3f8322e84181c44950a7f084bba7fcb5167f1a45f4e2cb614d98f77 ssh-agent [2021-07-06T22:33:27.077Z] SSH_AUTH_SOCK=/tmp/ssh-kKz8YA4Tvf2p/agent.55 [2021-07-06T22:33:27.077Z] SSH_AGENT_PID=62 [2021-07-06T22:33:27.082Z] Running ssh-add (command line suppressed) [2021-07-06T22:33:27.169Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_969197073411323463.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_969197073411323463.key) [2021-07-06T22:33:27.186Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-06T22:33:27.530Z] + git semver init [2021-07-06T22:33:27.531Z] # -> Open(): unable to determine branch for HEAD [2021-07-06T22:33:27.531Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2021-07-06T22:33:27.531Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2021-07-06T22:33:27.531Z] # $SEMVER_REMOTE_NAME = origin [2021-07-06T22:33:27.531Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-06T22:33:27.531Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-06T22:33:27.531Z] # $SEMVER_BRANCH = main [2021-07-06T22:33:27.531Z] # $SEMVER_TEMP = /tmp/semver-439764621 [2021-07-06T22:33:27.531Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-07-06T22:33:29.481Z] # '/tmp/semver-439764621' -> '/w/workspace/oundry_app-functions-sdk-go_main/.semver' [2021-07-06T22:33:29.481Z] # -> Force: false [2021-07-06T22:33:29.481Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [Pipeline] } [2021-07-06T22:33:29.528Z] $ docker exec --env ******** --env ******** 8e8b9be1a3f8322e84181c44950a7f084bba7fcb5167f1a45f4e2cb614d98f77 ssh-agent -k [2021-07-06T22:33:29.619Z] unset SSH_AUTH_SOCK; [2021-07-06T22:33:29.619Z] unset SSH_AGENT_PID; [2021-07-06T22:33:29.619Z] echo Agent pid 62 killed; [2021-07-06T22:33:29.635Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-06T22:33:30.068Z] + git semver [Pipeline] } [2021-07-06T22:33:30.093Z] $ docker stop --time=1 8e8b9be1a3f8322e84181c44950a7f084bba7fcb5167f1a45f4e2cb614d98f77 [2021-07-06T22:33:31.517Z] $ docker rm -f 8e8b9be1a3f8322e84181c44950a7f084bba7fcb5167f1a45f4e2cb614d98f77 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-06T22:33:31.976Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-07-06T22:33:32.322Z] Stashed 1 file(s) [Pipeline] echo [2021-07-06T22:33:32.345Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.3 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-07-06T22:33:47.917Z] Still waiting to schedule task [2021-07-06T22:33:47.917Z] ‘prd-centos7-blackbox-4c-2g-1384’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-07-06T22:33:47.918Z] ‘prd-centos7-docker-4c-2g-213’ is offline [2021-07-06T22:33:47.948Z] Still waiting to schedule task [2021-07-06T22:33:47.948Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-07-06T22:35:40.387Z] Running on prd-centos7-docker-4c-2g-215 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws [2021-07-06T22:35:40.447Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-07-06T22:35:40.607Z] The recommended git tool is: git [2021-07-06T22:35:43.254Z] using credential edgex-jenkins-ssh [2021-07-06T22:35:43.268Z] Cloning the remote Git repository [2021-07-06T22:35:43.293Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-07-06T22:35:43.366Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2021-07-06T22:35:43.400Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-07-06T22:35:43.400Z] > git --version # timeout=10 [2021-07-06T22:35:43.406Z] > git --version # 'git version 2.24.4' [2021-07-06T22:35:43.407Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-06T22:35:43.433Z] [INFO] Currently running in a labeled security context [2021-07-06T22:35:43.433Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-06T22:35:43.433Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/1@tmp/jenkins-gitclient-ssh7572520852005438689.key [2021-07-06T22:35:43.445Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-06T22:35:45.700Z] Avoid second fetch [2021-07-06T22:35:45.701Z] Checking out Revision b10469f13584187c4bd7f7cff58f5aa0259e83b1 (main) [2021-07-06T22:35:45.687Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-07-06T22:35:45.695Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-06T22:35:45.710Z] > git config core.sparsecheckout # timeout=10 [2021-07-06T22:35:45.726Z] > git checkout -f b10469f13584187c4bd7f7cff58f5aa0259e83b1 # timeout=10 [2021-07-06T22:35:49.397Z] Commit message: "build: change swagger version to 2.0.0 (#919)" [2021-07-06T22:35:49.423Z] > git --version # timeout=10 [2021-07-06T22:35:49.430Z] > git --version # 'git version 2.24.4' [2021-07-06T22:35:49.444Z] fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-06T22:35:50.732Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-07-06T22:35:51.083Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-06T22:35:51.408Z] + true [2021-07-06T22:35:51.408Z] + sudo service docker restart [2021-07-06T22:35:51.408Z] Redirecting to /bin/systemctl restart docker.service [2021-07-06T22:35:57.645Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-214 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws [2021-07-06T22:35:57.703Z] Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-07-06T22:35:57.961Z] The recommended git tool is: git [2021-07-06T22:36:04.150Z] using credential edgex-jenkins-ssh [2021-07-06T22:36:04.175Z] Cloning the remote Git repository [2021-07-06T22:36:04.248Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-07-06T22:36:04.358Z] > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 [2021-07-06T22:36:04.435Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-07-06T22:36:04.437Z] > git --version # timeout=10 [2021-07-06T22:36:04.459Z] > git --version # 'git version 2.17.1' [2021-07-06T22:36:04.461Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-06T22:36:04.560Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-06T22:36:07.837Z] Avoid second fetch [2021-07-06T22:36:07.837Z] Checking out Revision b10469f13584187c4bd7f7cff58f5aa0259e83b1 (main) [2021-07-06T22:36:07.780Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-07-06T22:36:07.806Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-06T22:36:07.854Z] > git config core.sparsecheckout # timeout=10 [2021-07-06T22:36:07.873Z] > git checkout -f b10469f13584187c4bd7f7cff58f5aa0259e83b1 # timeout=10 [Pipeline] unstash [Pipeline] echo [2021-07-06T22:36:09.744Z] ========================================================= [2021-07-06T22:36:09.744Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-07-06T22:36:09.744Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:36:10.109Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-07-06T22:36:10.374Z] Sending build context to Docker daemon 19.72MB [2021-07-06T22:36:10.374Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-07-06T22:36:10.374Z] Step 2/8 : FROM ${BASE} [2021-07-06T22:36:10.635Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-07-06T22:36:10.635Z] 540db60ca938: Pulling fs layer [2021-07-06T22:36:10.635Z] adcc1eea9eea: Pulling fs layer [2021-07-06T22:36:10.635Z] 4c4ab2625f07: Pulling fs layer [2021-07-06T22:36:10.635Z] 0510c868ecb4: Pulling fs layer [2021-07-06T22:36:10.635Z] afea3b2eda06: Pulling fs layer [2021-07-06T22:36:10.635Z] 7809a108b3ef: Pulling fs layer [2021-07-06T22:36:10.635Z] f706445af74f: Pulling fs layer [2021-07-06T22:36:10.635Z] afea3b2eda06: Waiting [2021-07-06T22:36:10.635Z] 7809a108b3ef: Waiting [2021-07-06T22:36:10.635Z] f706445af74f: Waiting [2021-07-06T22:36:10.635Z] 0510c868ecb4: Waiting [2021-07-06T22:36:10.635Z] 4c4ab2625f07: Download complete [2021-07-06T22:36:10.635Z] adcc1eea9eea: Verifying Checksum [2021-07-06T22:36:10.635Z] adcc1eea9eea: Download complete [2021-07-06T22:36:10.635Z] afea3b2eda06: Verifying Checksum [2021-07-06T22:36:10.635Z] afea3b2eda06: Download complete [2021-07-06T22:36:10.635Z] 540db60ca938: Verifying Checksum [2021-07-06T22:36:10.635Z] 540db60ca938: Download complete [2021-07-06T22:36:10.635Z] 7809a108b3ef: Verifying Checksum [2021-07-06T22:36:10.635Z] 7809a108b3ef: Download complete [2021-07-06T22:36:10.896Z] 540db60ca938: Pull complete [2021-07-06T22:36:10.896Z] adcc1eea9eea: Pull complete [2021-07-06T22:36:11.162Z] 4c4ab2625f07: Pull complete [2021-07-06T22:36:12.383Z] Commit message: "build: change swagger version to 2.0.0 (#919)" [2021-07-06T22:36:12.430Z] > git --version # timeout=10 [2021-07-06T22:36:12.447Z] > git --version # 'git version 2.17.1' [2021-07-06T22:36:12.460Z] fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-06T22:36:12.560Z] f706445af74f: Verifying Checksum [2021-07-06T22:36:12.561Z] f706445af74f: Download complete [2021-07-06T22:36:12.826Z] 0510c868ecb4: Verifying Checksum [2021-07-06T22:36:12.826Z] 0510c868ecb4: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-06T22:36:14.026Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-07-06T22:36:14.471Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-06T22:36:14.860Z] + + sudotrue service [2021-07-06T22:36:14.860Z] docker restart [2021-07-06T22:36:16.195Z] 0510c868ecb4: Pull complete [2021-07-06T22:36:16.195Z] afea3b2eda06: Pull complete [2021-07-06T22:36:16.195Z] 7809a108b3ef: Pull complete [2021-07-06T22:36:17.599Z] f706445af74f: Pull complete [2021-07-06T22:36:17.599Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-07-06T22:36:17.599Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-07-06T22:36:17.599Z] ---> b068be0155e3 [2021-07-06T22:36:17.599Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-07-06T22:36:17.860Z] 20.10.0: Pulling from library/docker [2021-07-06T22:36:18.126Z] 05e7bc50f07f: Pulling fs layer [2021-07-06T22:36:18.126Z] 6db28d0fdbf6: Pulling fs layer [2021-07-06T22:36:18.126Z] 292df0bc6bf3: Pulling fs layer [2021-07-06T22:36:18.126Z] 2e060f4bd70b: Pulling fs layer [2021-07-06T22:36:18.126Z] 80e8d568a223: Pulling fs layer [2021-07-06T22:36:18.126Z] 8dc6ef1a942a: Pulling fs layer [2021-07-06T22:36:18.126Z] 2312dd95470a: Pulling fs layer [2021-07-06T22:36:18.126Z] 2e060f4bd70b: Waiting [2021-07-06T22:36:18.126Z] 80e8d568a223: Waiting [2021-07-06T22:36:18.126Z] 8dc6ef1a942a: Waiting [2021-07-06T22:36:18.126Z] 2312dd95470a: Waiting [2021-07-06T22:36:18.126Z] 292df0bc6bf3: Verifying Checksum [2021-07-06T22:36:18.126Z] 292df0bc6bf3: Download complete [2021-07-06T22:36:18.126Z] 6db28d0fdbf6: Verifying Checksum [2021-07-06T22:36:18.126Z] 6db28d0fdbf6: Download complete [2021-07-06T22:36:18.126Z] 05e7bc50f07f: Verifying Checksum [2021-07-06T22:36:18.126Z] 05e7bc50f07f: Download complete [2021-07-06T22:36:18.397Z] 80e8d568a223: Verifying Checksum [2021-07-06T22:36:18.397Z] 80e8d568a223: Download complete [2021-07-06T22:36:18.397Z] 8dc6ef1a942a: Verifying Checksum [2021-07-06T22:36:18.397Z] 8dc6ef1a942a: Download complete [2021-07-06T22:36:18.397Z] 2312dd95470a: Verifying Checksum [2021-07-06T22:36:18.397Z] 2312dd95470a: Download complete [2021-07-06T22:36:18.397Z] 05e7bc50f07f: Pull complete [2021-07-06T22:36:18.658Z] 6db28d0fdbf6: Pull complete [2021-07-06T22:36:18.920Z] 292df0bc6bf3: Pull complete [2021-07-06T22:36:19.190Z] 2e060f4bd70b: Verifying Checksum [2021-07-06T22:36:19.190Z] 2e060f4bd70b: Download complete [2021-07-06T22:36:21.124Z] 2e060f4bd70b: Pull complete [2021-07-06T22:36:21.124Z] 80e8d568a223: Pull complete [2021-07-06T22:36:21.124Z] 8dc6ef1a942a: Pull complete [2021-07-06T22:36:21.400Z] 2312dd95470a: Pull complete [2021-07-06T22:36:21.400Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-07-06T22:36:21.400Z] Status: Downloaded newer image for docker:20.10.0 [2021-07-06T22:36:24.729Z] ---> 06927841e5ca [2021-07-06T22:36:24.729Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-07-06T22:36:24.729Z] ---> Running in b7cacfdaa006 [2021-07-06T22:36:24.729Z] Removing intermediate container b7cacfdaa006 [2021-07-06T22:36:24.729Z] ---> ce803c8ee3c7 [2021-07-06T22:36:24.729Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-07-06T22:36:24.729Z] ---> Running in fa550cd99b09 [2021-07-06T22:36:24.991Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-06T22:36:25.950Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-06T22:36:26.524Z] (1/5) Installing libsodium (1.0.18-r0) [2021-07-06T22:36:26.524Z] (2/5) Installing libzmq (4.3.3-r1) [2021-07-06T22:36:26.524Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-07-06T22:36:26.789Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-07-06T22:36:26.789Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-07-06T22:36:26.789Z] Executing busybox-1.32.1-r6.trigger [2021-07-06T22:36:26.789Z] OK: 150 MiB in 45 packages [2021-07-06T22:36:27.371Z] Removing intermediate container fa550cd99b09 [2021-07-06T22:36:27.371Z] ---> 0e64ccc89c62 [2021-07-06T22:36:27.371Z] Step 6/8 : WORKDIR /build [2021-07-06T22:36:27.371Z] ---> Running in 932a45d23a95 [2021-07-06T22:36:27.371Z] Removing intermediate container 932a45d23a95 [2021-07-06T22:36:27.371Z] ---> 1be42a93ff82 [2021-07-06T22:36:27.371Z] Step 7/8 : COPY go.mod . [2021-07-06T22:36:27.371Z] ---> 125916a237ab [2021-07-06T22:36:27.371Z] Step 8/8 : RUN go mod download [2021-07-06T22:36:27.639Z] ---> Running in d5f8d5797eff [Pipeline] unstash [Pipeline] echo [2021-07-06T22:36:33.692Z] ========================================================= [2021-07-06T22:36:33.692Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-07-06T22:36:33.692Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:36:34.164Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-07-06T22:36:35.615Z] Sending build context to Docker daemon 19.72MB [2021-07-06T22:36:35.615Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-07-06T22:36:35.615Z] Step 2/8 : FROM ${BASE} [2021-07-06T22:36:35.893Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-07-06T22:36:35.893Z] 595b0fe564bb: Pulling fs layer [2021-07-06T22:36:35.893Z] 3088b5b3c5c0: Pulling fs layer [2021-07-06T22:36:35.893Z] 5b7225fbf94c: Pulling fs layer [2021-07-06T22:36:35.893Z] ba82ee9f976e: Pulling fs layer [2021-07-06T22:36:35.893Z] 506bd15cee9f: Pulling fs layer [2021-07-06T22:36:35.893Z] 75a0a4a0db45: Pulling fs layer [2021-07-06T22:36:35.893Z] 618dc40b7e24: Pulling fs layer [2021-07-06T22:36:35.893Z] ba82ee9f976e: Waiting [2021-07-06T22:36:35.893Z] 506bd15cee9f: Waiting [2021-07-06T22:36:35.893Z] 618dc40b7e24: Waiting [2021-07-06T22:36:35.893Z] 75a0a4a0db45: Waiting [2021-07-06T22:36:36.182Z] 5b7225fbf94c: Verifying Checksum [2021-07-06T22:36:36.182Z] 5b7225fbf94c: Download complete [2021-07-06T22:36:36.182Z] 3088b5b3c5c0: Download complete [2021-07-06T22:36:36.182Z] 506bd15cee9f: Verifying Checksum [2021-07-06T22:36:36.182Z] 506bd15cee9f: Download complete [2021-07-06T22:36:36.182Z] 595b0fe564bb: Verifying Checksum [2021-07-06T22:36:36.182Z] 595b0fe564bb: Download complete [2021-07-06T22:36:36.182Z] 75a0a4a0db45: Verifying Checksum [2021-07-06T22:36:36.182Z] 75a0a4a0db45: Download complete [2021-07-06T22:36:36.797Z] 595b0fe564bb: Pull complete [2021-07-06T22:36:37.412Z] 3088b5b3c5c0: Pull complete [2021-07-06T22:36:38.018Z] 5b7225fbf94c: Pull complete [2021-07-06T22:36:38.294Z] 618dc40b7e24: Verifying Checksum [2021-07-06T22:36:38.294Z] 618dc40b7e24: Download complete [2021-07-06T22:36:39.737Z] ba82ee9f976e: Download complete [2021-07-06T22:36:49.660Z] Removing intermediate container d5f8d5797eff [2021-07-06T22:36:49.660Z] ---> db8af3ff3ca3 [2021-07-06T22:36:49.660Z] Successfully built db8af3ff3ca3 [2021-07-06T22:36:49.660Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:36:49.930Z] ba82ee9f976e: Pull complete [2021-07-06T22:36:50.000Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-06T22:36:50.000Z] . [Pipeline] withDockerContainer [2021-07-06T22:36:50.106Z] prd-centos7-docker-4c-2g-215 does not seem to be running inside a container [2021-07-06T22:36:50.147Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@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 ******** ci-base-image-x86_64 cat [2021-07-06T22:36:50.205Z] 506bd15cee9f: Pull complete [2021-07-06T22:36:50.480Z] 75a0a4a0db45: Pull complete [2021-07-06T22:36:50.569Z] $ docker top 5111e90cf169eae17a31f111989fe96e9162925ad89f5297d83b2199f4b4f878 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-06T22:36:51.044Z] + go version [2021-07-06T22:36:51.044Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-07-06T22:36:51.079Z] $ docker stop --time=1 5111e90cf169eae17a31f111989fe96e9162925ad89f5297d83b2199f4b4f878 [2021-07-06T22:36:52.830Z] $ docker rm -f 5111e90cf169eae17a31f111989fe96e9162925ad89f5297d83b2199f4b4f878 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:36:53.662Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-06T22:36:53.662Z] . [Pipeline] withDockerContainer [2021-07-06T22:36:53.776Z] prd-centos7-docker-4c-2g-215 does not seem to be running inside a container [2021-07-06T22:36:53.821Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@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 ******** ci-base-image-x86_64 cat [2021-07-06T22:36:53.867Z] 618dc40b7e24: Pull complete [2021-07-06T22:36:54.139Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-07-06T22:36:54.139Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-07-06T22:36:54.139Z] ---> a36622ca3599 [2021-07-06T22:36:54.139Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-07-06T22:36:54.139Z] 20.10.0: Pulling from library/docker [2021-07-06T22:36:54.336Z] $ docker top 827218d6e5d3a84d9385d62282e6152121a539ed4651646ac9cf56f39d235984 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-06T22:36:54.741Z] a3cc7d3b244e: Pulling fs layer [2021-07-06T22:36:54.741Z] 02a3295e0d61: Pulling fs layer [2021-07-06T22:36:54.741Z] 0f4f2e6d8100: Pulling fs layer [2021-07-06T22:36:54.741Z] 330b718f631f: Pulling fs layer [2021-07-06T22:36:54.741Z] a93816041522: Pulling fs layer [2021-07-06T22:36:54.741Z] bdb6da89ff94: Pulling fs layer [2021-07-06T22:36:54.741Z] 2a70c0c122f4: Pulling fs layer [2021-07-06T22:36:54.741Z] 330b718f631f: Waiting [2021-07-06T22:36:54.741Z] bdb6da89ff94: Waiting [2021-07-06T22:36:54.741Z] 2a70c0c122f4: Waiting [2021-07-06T22:36:54.741Z] a93816041522: Waiting [2021-07-06T22:36:54.741Z] 0f4f2e6d8100: Verifying Checksum [2021-07-06T22:36:54.741Z] 0f4f2e6d8100: Download complete [2021-07-06T22:36:54.741Z] 02a3295e0d61: Verifying Checksum [2021-07-06T22:36:54.741Z] 02a3295e0d61: Download complete [2021-07-06T22:36:54.741Z] a3cc7d3b244e: Verifying Checksum [2021-07-06T22:36:54.741Z] a3cc7d3b244e: Download complete [2021-07-06T22:36:54.741Z] a93816041522: Verifying Checksum [2021-07-06T22:36:54.741Z] a93816041522: Download complete [2021-07-06T22:36:54.741Z] bdb6da89ff94: Verifying Checksum [2021-07-06T22:36:54.741Z] bdb6da89ff94: Download complete [2021-07-06T22:36:54.741Z] 2a70c0c122f4: Verifying Checksum [2021-07-06T22:36:54.741Z] 2a70c0c122f4: Download complete [2021-07-06T22:36:54.812Z] + go mod tidy [Pipeline] sh [2021-07-06T22:36:55.347Z] a3cc7d3b244e: Pull complete [2021-07-06T22:36:55.406Z] + make test [2021-07-06T22:36:55.406Z] make -C ./app-service-template build [2021-07-06T22:36:55.406Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-07-06T22:36:55.406Z] go mod tidy [2021-07-06T22:36:55.677Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-07-06T22:36:55.947Z] 02a3295e0d61: Pull complete [2021-07-06T22:36:56.541Z] 0f4f2e6d8100: Pull complete [2021-07-06T22:36:56.541Z] 330b718f631f: Verifying Checksum [2021-07-06T22:36:56.541Z] 330b718f631f: Download complete [2021-07-06T22:37:00.857Z] 330b718f631f: Pull complete [2021-07-06T22:37:00.857Z] a93816041522: Pull complete [2021-07-06T22:37:00.857Z] bdb6da89ff94: Pull complete [2021-07-06T22:37:01.457Z] 2a70c0c122f4: Pull complete [2021-07-06T22:37:01.457Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-07-06T22:37:01.457Z] Status: Downloaded newer image for docker:20.10.0 [2021-07-06T22:37:08.018Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-07-06T22:37:08.018Z] make -C ./app-service-template test [2021-07-06T22:37:08.018Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-07-06T22:37:08.018Z] go mod tidy [2021-07-06T22:37:08.018Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-07-06T22:37:08.201Z] ---> ac99ef5f71ed [2021-07-06T22:37:08.201Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-07-06T22:37:08.201Z] ---> Running in 32d17aad2abb [2021-07-06T22:37:08.201Z] Removing intermediate container 32d17aad2abb [2021-07-06T22:37:08.201Z] ---> 4de9f8b48b3d [2021-07-06T22:37:08.201Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-07-06T22:37:08.201Z] ---> Running in 25ef1b7c71fb [2021-07-06T22:37:09.640Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-06T22:37:10.652Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-06T22:37:11.660Z] (1/5) Installing libsodium (1.0.18-r0) [2021-07-06T22:37:11.660Z] (2/5) Installing libzmq (4.3.3-r1) [2021-07-06T22:37:11.660Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-07-06T22:37:11.941Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-07-06T22:37:11.941Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-07-06T22:37:11.941Z] Executing busybox-1.32.1-r6.trigger [2021-07-06T22:37:11.941Z] OK: 139 MiB in 45 packages [2021-07-06T22:37:13.393Z] Removing intermediate container 25ef1b7c71fb [2021-07-06T22:37:13.393Z] ---> 4d8d962e1c7a [2021-07-06T22:37:13.393Z] Step 6/8 : WORKDIR /build [2021-07-06T22:37:13.393Z] ---> Running in 244b0323f5d2 [2021-07-06T22:37:13.995Z] Removing intermediate container 244b0323f5d2 [2021-07-06T22:37:13.995Z] ---> 31a013ab4c1f [2021-07-06T22:37:13.995Z] Step 7/8 : COPY go.mod . [2021-07-06T22:37:14.989Z] ---> 1569d05a5914 [2021-07-06T22:37:14.989Z] Step 8/8 : RUN go mod download [2021-07-06T22:37:14.989Z] ---> Running in f753885c0b84 [2021-07-06T22:37:16.266Z] ok new-app-service 0.011s coverage: 47.8% of statements [2021-07-06T22:37:16.266Z] ? new-app-service/config [no test files] [2021-07-06T22:37:16.266Z] ok new-app-service/functions 0.007s [2021-07-06T22:37:16.266Z] CGO_ENABLED=1 go vet ./... [2021-07-06T22:37:21.643Z] gofmt -l . [2021-07-06T22:37:21.643Z] [ "`gofmt -l .`" = "" ] [2021-07-06T22:37:21.643Z] ./bin/test-attribution-txt.sh [2021-07-06T22:37:22.220Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-07-06T22:37:22.220Z] go mod tidy [2021-07-06T22:37:22.220Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-07-06T22:37:22.801Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-07-06T22:37:24.201Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.019s coverage: 63.6% of statements [2021-07-06T22:37:24.201Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.006s coverage: 96.5% of statements [2021-07-06T22:37:24.201Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-07-06T22:37:24.832Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.011s coverage: 61.8% of statements [2021-07-06T22:37:24.832Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-07-06T22:37:24.832Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.006s [2021-07-06T22:37:25.420Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.033s coverage: 74.5% of statements [2021-07-06T22:37:25.420Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-07-06T22:37:25.420Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-07-06T22:37:25.420Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-07-06T22:37:25.420Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-07-06T22:37:25.420Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-07-06T22:37:25.420Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-07-06T22:37:25.420Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.006s coverage: 97.1% of statements [2021-07-06T22:37:25.420Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-07-06T22:37:25.688Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.012s coverage: 10.5% of statements [2021-07-06T22:37:29.027Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.732s coverage: 76.1% of statements [2021-07-06T22:37:29.028Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-07-06T22:37:29.028Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.006s coverage: 12.5% of statements [2021-07-06T22:37:29.028Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.009s coverage: 27.3% of statements [2021-07-06T22:37:29.028Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-07-06T22:37:29.028Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-07-06T22:37:29.028Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.007s coverage: 51.4% of statements [2021-07-06T22:37:41.948Z] Removing intermediate container f753885c0b84 [2021-07-06T22:37:41.948Z] ---> ca096c41020f [2021-07-06T22:37:41.948Z] Successfully built ca096c41020f [2021-07-06T22:37:41.948Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:37:42.364Z] + docker inspect -f . ci-base-image-arm64 [2021-07-06T22:37:42.364Z] . [Pipeline] withDockerContainer [2021-07-06T22:37:42.691Z] prd-ubuntu18.04-docker-arm64-4c-16g-214 does not seem to be running inside a container [2021-07-06T22:37:42.787Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@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 ******** ci-base-image-arm64 cat [2021-07-06T22:37:44.551Z] $ docker top 73e347450bc0e28c6f3a5a97c2a59323b0f693c647f8ffe468fdc54b9c68373b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-06T22:37:45.604Z] + go version [2021-07-06T22:37:45.605Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-07-06T22:37:45.636Z] $ docker stop --time=1 73e347450bc0e28c6f3a5a97c2a59323b0f693c647f8ffe468fdc54b9c68373b [2021-07-06T22:37:47.477Z] $ docker rm -f 73e347450bc0e28c6f3a5a97c2a59323b0f693c647f8ffe468fdc54b9c68373b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:37:48.588Z] + docker inspect -f . ci-base-image-arm64 [2021-07-06T22:37:48.588Z] . [Pipeline] withDockerContainer [2021-07-06T22:37:48.871Z] prd-ubuntu18.04-docker-arm64-4c-16g-214 does not seem to be running inside a container [2021-07-06T22:37:48.951Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@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 ******** ci-base-image-arm64 cat [2021-07-06T22:37:50.600Z] $ docker top e8ac1239d9654a454a85f5a9a8b1038f53a032d244bb44f9e8778d3d35dd3ebd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-06T22:37:51.657Z] + go mod tidy [Pipeline] sh [2021-07-06T22:37:52.970Z] + make test [2021-07-06T22:37:52.970Z] make -C ./app-service-template build [2021-07-06T22:37:52.970Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-07-06T22:37:52.970Z] go mod tidy [2021-07-06T22:37:53.575Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-07-06T22:37:55.661Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.044s coverage: 78.0% of statements [2021-07-06T22:37:55.662Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.009s coverage: 94.4% of statements [2021-07-06T22:37:55.662Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-07-06T22:37:55.662Z] gofmt -l . [2021-07-06T22:37:55.662Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-07-06T22:37:55.691Z] $ docker stop --time=1 827218d6e5d3a84d9385d62282e6152121a539ed4651646ac9cf56f39d235984 [2021-07-06T22:37:57.331Z] $ docker rm -f 827218d6e5d3a84d9385d62282e6152121a539ed4651646ac9cf56f39d235984 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-06T22:37:57.815Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-06T22:37:58.064Z] Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-07-06T22:37:59.597Z] ---> job-cost.sh [2021-07-06T22:37:59.597Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-wp7j [2021-07-06T22:38:09.665Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-07-06T22:38:24.020Z] lf-activate-venv(): INFO: Adding /tmp/venv-wp7j/bin to PATH [2021-07-06T22:38:24.020Z] INFO: No Stack... [2021-07-06T22:38:24.998Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-06T22:38:25.272Z] INFO: Archiving Costs [Pipeline] sh [2021-07-06T22:38:25.605Z] + cat /w/workspace/app-functions-sdk-go/1/archives/cost.csv [2021-07-06T22:38:25.605Z] + cut -d, -f6 [Pipeline] lock [2021-07-06T22:38:25.675Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-1-stack-cost] [2021-07-06T22:38:25.684Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-1-stack-cost] did not exist. Created. [2021-07-06T22:38:25.684Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-06T22:38:26.128Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-07-06T22:38:26.272Z] Stashed 1 file(s) [Pipeline] } [2021-07-06T22:38:26.301Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-07-06T22:38:32.808Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-07-06T22:38:32.808Z] make -C ./app-service-template test [2021-07-06T22:38:32.808Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-07-06T22:38:32.809Z] go mod tidy [2021-07-06T22:38:32.809Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-07-06T22:39:05.290Z] ok new-app-service 0.045s coverage: 47.8% of statements [2021-07-06T22:39:05.290Z] ? new-app-service/config [no test files] [2021-07-06T22:39:05.290Z] ok new-app-service/functions 0.047s [2021-07-06T22:39:05.290Z] CGO_ENABLED=1 go vet ./... [2021-07-06T22:39:32.199Z] gofmt -l . [2021-07-06T22:39:32.199Z] [ "`gofmt -l .`" = "" ] [2021-07-06T22:39:32.199Z] ./bin/test-attribution-txt.sh [2021-07-06T22:39:33.186Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/1/app-service-template' [2021-07-06T22:39:33.186Z] go mod tidy [2021-07-06T22:39:33.788Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-07-06T22:39:35.242Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-07-06T22:39:43.593Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.100s coverage: 63.6% of statements [2021-07-06T22:39:43.593Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.066s coverage: 96.5% of statements [2021-07-06T22:39:43.593Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-07-06T22:39:43.593Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.112s coverage: 61.8% of statements [2021-07-06T22:39:43.593Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-07-06T22:39:43.593Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.081s [2021-07-06T22:39:44.620Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.136s coverage: 74.5% of statements [2021-07-06T22:39:44.620Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-07-06T22:39:44.620Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-07-06T22:39:44.620Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-07-06T22:39:44.620Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-07-06T22:39:44.620Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-07-06T22:39:44.620Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-07-06T22:39:44.620Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.025s coverage: 97.1% of statements [2021-07-06T22:39:44.620Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-07-06T22:39:44.620Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.048s coverage: 10.5% of statements [2021-07-06T22:39:52.956Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.847s coverage: 76.1% of statements [2021-07-06T22:39:52.956Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-07-06T22:39:52.956Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.075s coverage: 12.5% of statements [2021-07-06T22:39:52.956Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.108s coverage: 27.3% of statements [2021-07-06T22:39:52.956Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-07-06T22:39:52.956Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-07-06T22:39:52.956Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.052s coverage: 51.4% of statements [2021-07-06T22:40:19.830Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.133s coverage: 78.0% of statements [2021-07-06T22:40:19.830Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.038s coverage: 94.4% of statements [2021-07-06T22:40:19.830Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-07-06T22:40:21.836Z] gofmt -l . [2021-07-06T22:40:22.437Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-07-06T22:40:23.080Z] $ docker stop --time=1 e8ac1239d9654a454a85f5a9a8b1038f53a032d244bb44f9e8778d3d35dd3ebd [2021-07-06T22:40:25.172Z] $ docker rm -f e8ac1239d9654a454a85f5a9a8b1038f53a032d244bb44f9e8778d3d35dd3ebd [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-06T22:40:26.380Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-06T22:40:26.437Z] Warning: overwriting stash ‘coverage-report’ [2021-07-06T22:40:27.195Z] 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] libraryResource [Pipeline] sh [2021-07-06T22:40:28.498Z] ---> job-cost.sh [2021-07-06T22:40:28.498Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-gwOn [2021-07-06T22:41:25.112Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-07-06T22:43:01.971Z] lf-activate-venv(): INFO: Adding /tmp/venv-gwOn/bin to PATH [2021-07-06T22:43:01.971Z] INFO: No Stack... [2021-07-06T22:43:01.971Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-07-06T22:43:01.971Z] INFO: Archiving Costs [Pipeline] sh [2021-07-06T22:43:02.352Z] + + cutcat -d, /w/workspace/app-functions-sdk-go/1/archives/cost.csv -f6 [2021-07-06T22:43:02.352Z] [Pipeline] lock [2021-07-06T22:43:02.462Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-1-stack-cost] [2021-07-06T22:43:02.469Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-1-stack-cost] did not exist. Created. [2021-07-06T22:43:02.469Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-06T22:43:02.948Z] /w/workspace/app-functions-sdk-go/1@tmp/durable-e52cc69a/script.sh: 1: /w/workspace/app-functions-sdk-go/1@tmp/durable-e52cc69a/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-07-06T22:43:03.336Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-07-06T22:43:03.391Z] Warning: overwriting stash ‘stack-cost’ [2021-07-06T22:43:03.583Z] Stashed 1 file(s) [Pipeline] } [2021-07-06T22:43:03.609Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-07-06T22:43:05.014Z] provisioning config files... [2021-07-06T22:43:05.029Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config57952918824346445tmp [Pipeline] { [Pipeline] sh [2021-07-06T22:43:05.426Z] + set +x [2021-07-06T22:43:05.426Z] + curl -s https://codecov.io/bash [2021-07-06T22:43:05.426Z] + bash -s -- [2021-07-06T22:43:05.426Z] [2021-07-06T22:43:05.426Z] _____ _ [2021-07-06T22:43:05.426Z] / ____| | | [2021-07-06T22:43:05.426Z] | | ___ __| | ___ ___ _____ __ [2021-07-06T22:43:05.426Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-07-06T22:43:05.426Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-07-06T22:43:05.426Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-07-06T22:43:05.426Z] Bash-1.0.3 [2021-07-06T22:43:05.426Z] [2021-07-06T22:43:05.426Z] [2021-07-06T22:43:05.426Z] ==> git version 2.24.4 found [2021-07-06T22:43:05.426Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-07-06T22:43:05.426Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-07-06T22:43:05.426Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-07-06T22:43:05.426Z] ==> Jenkins CI detected. [2021-07-06T22:43:05.426Z] project root: . [2021-07-06T22:43:05.426Z] --> token set from env [2021-07-06T22:43:05.695Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-07-06T22:43:05.695Z] ==> Running gcov in . (disable via -X gcov) [2021-07-06T22:43:05.695Z] ==> Python coveragepy not found [2021-07-06T22:43:05.695Z] ==> Searching for coverage reports in: [2021-07-06T22:43:05.695Z] + . [2021-07-06T22:43:05.695Z] -> Found 2 reports [2021-07-06T22:43:05.695Z] ==> Detecting git/mercurial file structure [2021-07-06T22:43:05.695Z] ==> Reading reports [2021-07-06T22:43:05.695Z] + ./app-service-template/coverage.out bytes=1055 [2021-07-06T22:43:05.695Z] + ./coverage.out bytes=95181 [2021-07-06T22:43:05.695Z] ==> Appending adjustments [2021-07-06T22:43:05.695Z] https://docs.codecov.io/docs/fixing-reports [2021-07-06T22:43:05.956Z] + Found adjustments [2021-07-06T22:43:05.956Z] ==> Gzipping contents [2021-07-06T22:43:05.956Z] 20K /tmp/codecov.Za3qOr.gz [2021-07-06T22:43:05.956Z] ==> Uploading reports [2021-07-06T22:43:05.956Z] url: https://codecov.io [2021-07-06T22:43:05.956Z] query: branch=main&commit=b10469f13584187c4bd7f7cff58f5aa0259e83b1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-07-06T22:43:05.956Z] -> Pinging Codecov [2021-07-06T22:43:05.956Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=main&commit=b10469f13584187c4bd7f7cff58f5aa0259e83b1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-07-06T22:43:06.565Z] -> Uploading to [2021-07-06T22:43:06.565Z] https://storage.googleapis.com/codecov/v4/raw/2021-07-06/3D8B5DFFC46A037C893635FACE044666/b10469f13584187c4bd7f7cff58f5aa0259e83b1/7a01f6a9-0706-441b-8ca6-9e45e9f02a4c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210706%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210706T224306Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5f39ad4341c30779361e8d511f715aff6a4082bc9be95bc9b5cd152a9112adbb [2021-07-06T22:43:06.565Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-07-06T22:43:06.565Z] Dload Upload Total Spent Left Speed [2021-07-06T22:43:07.137Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16870 0 0 100 16870 0 33131 --:--:-- --:--:-- --:--:-- 33078 [2021-07-06T22:43:07.137Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/b10469f13584187c4bd7f7cff58f5aa0259e83b1 [Pipeline] } [2021-07-06T22:43:07.159Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-07-06T22:43:08.238Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-07-06T22:43:08.285Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:43:08.676Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-07-06T22:43:08.676Z] [2021-07-06T22:43:08.676Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:43:09.040Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-07-06T22:43:09.040Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-07-06T22:43:09.040Z] 188c0c94c7c5: Pulling fs layer [2021-07-06T22:43:09.040Z] 0ef7d3d256c8: Pulling fs layer [2021-07-06T22:43:09.040Z] de9db76c5a1d: Pulling fs layer [2021-07-06T22:43:09.040Z] 0eba1c9be4d2: Pulling fs layer [2021-07-06T22:43:09.040Z] 0d57e429df01: Pulling fs layer [2021-07-06T22:43:09.040Z] 4e4be7b47b0d: Pulling fs layer [2021-07-06T22:43:09.040Z] e1f770b5df2f: Pulling fs layer [2021-07-06T22:43:09.040Z] 85a0685a4137: Pulling fs layer [2021-07-06T22:43:09.040Z] 0eba1c9be4d2: Waiting [2021-07-06T22:43:09.040Z] 0d57e429df01: Waiting [2021-07-06T22:43:09.040Z] 4e4be7b47b0d: Waiting [2021-07-06T22:43:09.040Z] e1f770b5df2f: Waiting [2021-07-06T22:43:09.040Z] 85a0685a4137: Waiting [2021-07-06T22:43:09.040Z] de9db76c5a1d: Verifying Checksum [2021-07-06T22:43:09.040Z] de9db76c5a1d: Download complete [2021-07-06T22:43:09.040Z] 0ef7d3d256c8: Download complete [2021-07-06T22:43:09.040Z] 0d57e429df01: Verifying Checksum [2021-07-06T22:43:09.040Z] 0d57e429df01: Download complete [2021-07-06T22:43:09.308Z] 188c0c94c7c5: Verifying Checksum [2021-07-06T22:43:09.308Z] 188c0c94c7c5: Download complete [2021-07-06T22:43:09.308Z] 188c0c94c7c5: Pull complete [2021-07-06T22:43:09.571Z] 0ef7d3d256c8: Pull complete [2021-07-06T22:43:09.571Z] de9db76c5a1d: Pull complete [2021-07-06T22:43:10.142Z] e1f770b5df2f: Verifying Checksum [2021-07-06T22:43:10.142Z] e1f770b5df2f: Download complete [2021-07-06T22:43:10.142Z] 4e4be7b47b0d: Verifying Checksum [2021-07-06T22:43:10.142Z] 4e4be7b47b0d: Download complete [2021-07-06T22:43:12.686Z] 0eba1c9be4d2: Verifying Checksum [2021-07-06T22:43:12.686Z] 0eba1c9be4d2: Download complete [2021-07-06T22:43:12.959Z] 85a0685a4137: Verifying Checksum [2021-07-06T22:43:12.959Z] 85a0685a4137: Download complete [2021-07-06T22:43:15.523Z] 0eba1c9be4d2: Pull complete [2021-07-06T22:43:15.523Z] 0d57e429df01: Pull complete [2021-07-06T22:43:15.785Z] 4e4be7b47b0d: Pull complete [2021-07-06T22:43:16.050Z] e1f770b5df2f: Pull complete [2021-07-06T22:43:19.384Z] 85a0685a4137: Pull complete [2021-07-06T22:43:19.384Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-07-06T22:43:19.384Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-07-06T22:43:19.384Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-07-06T22:43:19.523Z] prd-centos7-docker-4c-2g-212 does not seem to be running inside a container [2021-07-06T22:43:19.567Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-07-06T22:43:22.310Z] $ docker top ac3b70fb46d2dcb4bb67cc77894284085e82253bfab064570ca5261d1b05dae6 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-07-06T22:43:22.552Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-07-06T22:43:22.865Z] + set -o pipefail [2021-07-06T22:43:22.865Z] + snyk monitor '--org=edgex-jenkins' [2021-07-06T22:43:35.129Z] [2021-07-06T22:43:35.129Z] Monitoring /w/workspace/oundry_app-functions-sdk-go_main (github.com/edgexfoundry/app-functions-sdk-go/v2)... [2021-07-06T22:43:35.129Z] [2021-07-06T22:43:35.129Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/46639f70-8b33-406e-b61a-4548595ae8d5 [2021-07-06T22:43:35.129Z] [2021-07-06T22:43:35.129Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-07-06T22:43:35.129Z] [2021-07-06T22:43:35.129Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-07-06T22:43:35.129Z] [2021-07-06T22:43:35.129Z] [Pipeline] } [2021-07-06T22:43:35.158Z] $ docker stop --time=1 ac3b70fb46d2dcb4bb67cc77894284085e82253bfab064570ca5261d1b05dae6 [2021-07-06T22:43:37.442Z] $ docker rm -f ac3b70fb46d2dcb4bb67cc77894284085e82253bfab064570ca5261d1b05dae6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2021-07-06T22:43:38.513Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-06T22:43:38.625Z] provisioning config files... [2021-07-06T22:43:38.646Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config3581998311770404870tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-06T22:43:39.097Z] --> edgex-publish-swagger.sh [2021-07-06T22:43:39.097Z] === Publish openapi/v2 API === [2021-07-06T22:43:39.097Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-07-06T22:43:39.097Z] [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/oundry_app-functions-sdk-go_main/openapi/v2/app-functions-sdk.yaml] [2021-07-06T22:43:39.097Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-07-06T22:43:39.097Z] Dload Upload Total Spent Left Speed [2021-07-06T22:43:40.494Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13054 0 0 100 13054 0 9684 0:00:01 0:00:01 --:--:-- 9691 100 13054 0 0 100 13054 0 9683 0:00:01 0:00:01 --:--:-- 9683 [2021-07-06T22:43:40.494Z] [2021-07-06T22:43:40.494Z] [Pipeline] } [2021-07-06T22:43:40.527Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-06T22:43:41.451Z] + git log --format=format:%s -1 b10469f13584187c4bd7f7cff58f5aa0259e83b1 [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:43:41.787Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-06T22:43:41.787Z] . [Pipeline] withDockerContainer [2021-07-06T22:43:41.905Z] prd-centos7-docker-4c-2g-212 does not seem to be running inside a container [2021-07-06T22:43:41.944Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-06T22:43:42.286Z] $ docker top e8e26242c39b25ca8a61df76ee9320d7727902dbcc7098f0408cd23c642b25c2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-06T22:43:42.628Z] [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v2.0.1-dev.2' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-06T22:43:43.010Z] + git semver [Pipeline] } [2021-07-06T22:43:43.041Z] $ docker stop --time=1 e8e26242c39b25ca8a61df76ee9320d7727902dbcc7098f0408cd23c642b25c2 [2021-07-06T22:43:44.229Z] $ docker rm -f e8e26242c39b25ca8a61df76ee9320d7727902dbcc7098f0408cd23c642b25c2 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:43:44.844Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-07-06T22:43:44.845Z] [2021-07-06T22:43:44.845Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:43:45.215Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-07-06T22:43:45.215Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-07-06T22:43:45.215Z] ab5ef0e58194: Pulling fs layer [2021-07-06T22:43:45.215Z] 9712f1f96733: Pulling fs layer [2021-07-06T22:43:45.215Z] 63f879dbbcfc: Pulling fs layer [2021-07-06T22:43:45.215Z] 0d9ebad4ef96: Pulling fs layer [2021-07-06T22:43:45.215Z] e9a5061849ea: Pulling fs layer [2021-07-06T22:43:45.215Z] d747dcd14b5f: Pulling fs layer [2021-07-06T22:43:45.215Z] 2de7ff778b66: Pulling fs layer [2021-07-06T22:43:45.215Z] 0d9ebad4ef96: Waiting [2021-07-06T22:43:45.215Z] e9a5061849ea: Waiting [2021-07-06T22:43:45.215Z] d747dcd14b5f: Waiting [2021-07-06T22:43:45.215Z] 2de7ff778b66: Waiting [2021-07-06T22:43:45.215Z] 9712f1f96733: Verifying Checksum [2021-07-06T22:43:45.215Z] 9712f1f96733: Download complete [2021-07-06T22:43:47.147Z] 63f879dbbcfc: Verifying Checksum [2021-07-06T22:43:47.147Z] 63f879dbbcfc: Download complete [2021-07-06T22:43:47.148Z] e9a5061849ea: Verifying Checksum [2021-07-06T22:43:47.148Z] e9a5061849ea: Download complete [2021-07-06T22:43:47.148Z] d747dcd14b5f: Verifying Checksum [2021-07-06T22:43:47.148Z] d747dcd14b5f: Download complete [2021-07-06T22:43:47.729Z] 2de7ff778b66: Verifying Checksum [2021-07-06T22:43:47.729Z] 2de7ff778b66: Download complete [2021-07-06T22:43:47.729Z] 0d9ebad4ef96: Verifying Checksum [2021-07-06T22:43:47.729Z] 0d9ebad4ef96: Download complete [2021-07-06T22:43:47.994Z] ab5ef0e58194: Verifying Checksum [2021-07-06T22:43:47.994Z] ab5ef0e58194: Download complete [2021-07-06T22:43:50.586Z] ab5ef0e58194: Pull complete [2021-07-06T22:43:50.586Z] 9712f1f96733: Pull complete [2021-07-06T22:43:51.171Z] 63f879dbbcfc: Pull complete [2021-07-06T22:43:54.516Z] 0d9ebad4ef96: Pull complete [2021-07-06T22:43:54.516Z] e9a5061849ea: Pull complete [2021-07-06T22:43:54.787Z] d747dcd14b5f: Pull complete [2021-07-06T22:43:55.751Z] 2de7ff778b66: Pull complete [2021-07-06T22:43:55.751Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-07-06T22:43:55.751Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-07-06T22:43:55.751Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-07-06T22:43:55.876Z] prd-centos7-docker-4c-2g-212 does not seem to be running inside a container [2021-07-06T22:43:55.940Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-07-06T22:44:00.510Z] $ docker top 5ef3ffbb808bccf92186042a66e9607be0baef8d4562d860ef6da267d3af56eb -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-07-06T22:44:00.666Z] provisioning config files... [2021-07-06T22:44:00.682Z] copy managed file [sigul-config] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config3811781980213050175tmp [2021-07-06T22:44:00.701Z] copy managed file [sigul-password] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config1417651252703826932tmp [2021-07-06T22:44:00.713Z] copy managed file [sigul-pki] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config7148049135961228759tmp [Pipeline] { [Pipeline] echo [2021-07-06T22:44:00.768Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-06T22:44:01.114Z] ---> sigul-configuration.sh [2021-07-06T22:44:01.114Z] gpg: directory `/root/.gnupg' created [2021-07-06T22:44:01.114Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-07-06T22:44:01.114Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-07-06T22:44:01.114Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-07-06T22:44:01.114Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-07-06T22:44:01.114Z] gpg: CAST5 encrypted data [2021-07-06T22:44:01.114Z] gpg: encrypted with 1 passphrase [2021-07-06T22:44:01.114Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-07-06T22:44:01.447Z] + mkdir /home/jenkins [2021-07-06T22:44:01.447Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-07-06T22:44:01.773Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-07-06T22:44:01.808Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-06T22:44:02.511Z] ---> sigul-install.sh [2021-07-06T22:44:09.131Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-07-06T22:44:09.492Z] + git tag --list [2021-07-06T22:44:09.492Z] v0.1.0 [2021-07-06T22:44:09.492Z] v0.1.1 [2021-07-06T22:44:09.492Z] v1.0.0 [2021-07-06T22:44:09.492Z] v1.1.0 [2021-07-06T22:44:09.492Z] v1.2.0 [2021-07-06T22:44:09.492Z] v1.3.0 [2021-07-06T22:44:09.492Z] v1.3.1 [2021-07-06T22:44:09.492Z] v2.0.0 [2021-07-06T22:44:09.492Z] v2.0.1-dev.1 [2021-07-06T22:44:09.492Z] v2.0.1-dev.2 [Pipeline] sh [2021-07-06T22:44:09.829Z] + lftools sign git-tag v2.0.1-dev.3 [2021-07-06T22:44:10.416Z] Signing Git tag with Sigul... [2021-07-06T22:44:10.416Z] Signing v2.0.1-dev.3 [2021-07-06T22:44:10.416Z] Error while calling git, args ['git', 'show-ref', '-s', 'refs/tags/v2.0.1-dev.3'], return code 1, stdout , stderr [Pipeline] echo [2021-07-06T22:44:10.462Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-06T22:44:10.832Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-07-06T22:44:10.859Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-07-06T22:44:10.929Z] $ docker stop --time=1 5ef3ffbb808bccf92186042a66e9607be0baef8d4562d860ef6da267d3af56eb [2021-07-06T22:44:12.669Z] $ docker rm -f 5ef3ffbb808bccf92186042a66e9607be0baef8d4562d860ef6da267d3af56eb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:44:13.613Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-06T22:44:13.613Z] . [Pipeline] withDockerContainer [2021-07-06T22:44:13.704Z] prd-centos7-docker-4c-2g-212 does not seem to be running inside a container [2021-07-06T22:44:13.743Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-06T22:44:14.076Z] $ docker top 0dd78d091a246b4887c36144b83c0ff53a20be50f863e1ce8f58d6a4dc3d4b92 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-06T22:44:14.310Z] [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v2.0.1-dev.2' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-06T22:44:14.718Z] + git semver [Pipeline] } [2021-07-06T22:44:14.750Z] $ docker stop --time=1 0dd78d091a246b4887c36144b83c0ff53a20be50f863e1ce8f58d6a4dc3d4b92 [2021-07-06T22:44:15.940Z] $ docker rm -f 0dd78d091a246b4887c36144b83c0ff53a20be50f863e1ce8f58d6a4dc3d4b92 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:44:16.417Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-06T22:44:16.417Z] . [Pipeline] withDockerContainer [2021-07-06T22:44:16.521Z] prd-centos7-docker-4c-2g-212 does not seem to be running inside a container [2021-07-06T22:44:16.585Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-06T22:44:16.964Z] $ docker top 9e98eea3cecaa5ef0b8a3a91a94956dd71e5a0892334428127580beb2487b8a6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-06T22:44:17.181Z] [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v2.0.1-dev.2' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-06T22:44:17.595Z] + git semver [Pipeline] } [2021-07-06T22:44:17.645Z] $ docker stop --time=1 9e98eea3cecaa5ef0b8a3a91a94956dd71e5a0892334428127580beb2487b8a6 [2021-07-06T22:44:18.842Z] $ docker rm -f 9e98eea3cecaa5ef0b8a3a91a94956dd71e5a0892334428127580beb2487b8a6 [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] libraryResource [Pipeline] sh [2021-07-06T22:44:20.862Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-06T22:44:21.494Z] ---> package-listing.sh [2021-07-06T22:44:21.494Z] ++ tr '[:upper:]' '[:lower:]' [2021-07-06T22:44:21.494Z] ++ facter osfamily [2021-07-06T22:44:21.755Z] + OS_FAMILY=redhat [2021-07-06T22:44:21.755Z] + workspace=/w/workspace/oundry_app-functions-sdk-go_main [2021-07-06T22:44:21.755Z] + START_PACKAGES=/tmp/packages_start.txt [2021-07-06T22:44:21.755Z] + END_PACKAGES=/tmp/packages_end.txt [2021-07-06T22:44:21.755Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-07-06T22:44:21.755Z] + PACKAGES=/tmp/packages_start.txt [2021-07-06T22:44:21.755Z] + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' [2021-07-06T22:44:21.755Z] + PACKAGES=/tmp/packages_end.txt [2021-07-06T22:44:21.755Z] + case "${OS_FAMILY}" in [2021-07-06T22:44:21.755Z] + sort [2021-07-06T22:44:21.755Z] + rpm -qa [2021-07-06T22:44:22.329Z] + '[' -f /tmp/packages_start.txt ']' [2021-07-06T22:44:22.329Z] + '[' -f /tmp/packages_end.txt ']' [2021-07-06T22:44:22.329Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-07-06T22:44:22.329Z] + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' [2021-07-06T22:44:22.330Z] + mkdir -p /w/workspace/oundry_app-functions-sdk-go_main/archives/ [2021-07-06T22:44:22.330Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_app-functions-sdk-go_main/archives/ [Pipeline] echo [2021-07-06T22:44:22.371Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/oundry_app-functions-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-07-06T22:44:22.688Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:44:23.318Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-06T22:44:23.318Z] [2021-07-06T22:44:23.318Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:44:23.695Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-06T22:44:23.695Z] alpine: Pulling from edgex-lftools-log-publisher [2021-07-06T22:44:23.695Z] df20fa9351a1: Pulling fs layer [2021-07-06T22:44:23.695Z] 36b3adc4ff6f: Pulling fs layer [2021-07-06T22:44:23.695Z] 8ad3a11d3b57: Pulling fs layer [2021-07-06T22:44:23.695Z] 46f8f816bc3b: Pulling fs layer [2021-07-06T22:44:23.695Z] 93b61091891f: Pulling fs layer [2021-07-06T22:44:23.695Z] 93b9cdb0e59b: Pulling fs layer [2021-07-06T22:44:23.695Z] 5e14af77c1be: Pulling fs layer [2021-07-06T22:44:23.695Z] 01666e4c0597: Pulling fs layer [2021-07-06T22:44:23.695Z] aa168da1d23b: Pulling fs layer [2021-07-06T22:44:23.695Z] 46f8f816bc3b: Waiting [2021-07-06T22:44:23.695Z] 93b61091891f: Waiting [2021-07-06T22:44:23.695Z] 93b9cdb0e59b: Waiting [2021-07-06T22:44:23.695Z] 5e14af77c1be: Waiting [2021-07-06T22:44:23.695Z] 01666e4c0597: Waiting [2021-07-06T22:44:23.695Z] aa168da1d23b: Waiting [2021-07-06T22:44:23.695Z] 36b3adc4ff6f: Verifying Checksum [2021-07-06T22:44:23.695Z] 36b3adc4ff6f: Download complete [2021-07-06T22:44:23.695Z] 46f8f816bc3b: Verifying Checksum [2021-07-06T22:44:23.695Z] 46f8f816bc3b: Download complete [2021-07-06T22:44:23.695Z] df20fa9351a1: Verifying Checksum [2021-07-06T22:44:23.695Z] 93b9cdb0e59b: Verifying Checksum [2021-07-06T22:44:23.695Z] 93b9cdb0e59b: Download complete [2021-07-06T22:44:23.695Z] 5e14af77c1be: Verifying Checksum [2021-07-06T22:44:23.695Z] 5e14af77c1be: Download complete [2021-07-06T22:44:23.961Z] 01666e4c0597: Verifying Checksum [2021-07-06T22:44:23.961Z] 01666e4c0597: Download complete [2021-07-06T22:44:23.961Z] df20fa9351a1: Pull complete [2021-07-06T22:44:23.961Z] 8ad3a11d3b57: Verifying Checksum [2021-07-06T22:44:23.961Z] 8ad3a11d3b57: Download complete [2021-07-06T22:44:23.961Z] 93b61091891f: Verifying Checksum [2021-07-06T22:44:23.961Z] 93b61091891f: Download complete [2021-07-06T22:44:23.961Z] 36b3adc4ff6f: Pull complete [2021-07-06T22:44:24.551Z] 8ad3a11d3b57: Pull complete [2021-07-06T22:44:24.551Z] 46f8f816bc3b: Pull complete [2021-07-06T22:44:24.818Z] 93b61091891f: Pull complete [2021-07-06T22:44:24.818Z] 93b9cdb0e59b: Pull complete [2021-07-06T22:44:25.079Z] 5e14af77c1be: Pull complete [2021-07-06T22:44:25.079Z] 01666e4c0597: Pull complete [2021-07-06T22:44:25.672Z] aa168da1d23b: Verifying Checksum [2021-07-06T22:44:25.672Z] aa168da1d23b: Download complete [2021-07-06T22:44:29.004Z] aa168da1d23b: Pull complete [2021-07-06T22:44:29.004Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-07-06T22:44:29.004Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-06T22:44:29.004Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-07-06T22:44:29.131Z] prd-centos7-docker-4c-2g-212 does not seem to be running inside a container [2021-07-06T22:44:29.173Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-07-06T22:44:31.905Z] $ docker top 56090f0db84ee4567642a3dec85255498919df62cf4e19be96721a8a4e50e4b3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-06T22:44:32.349Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-07-06T22:44:32.855Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-07-06T22:44:33.410Z] + ls /var/log/sa-host [2021-07-06T22:44:33.410Z] + sadf -c /var/log/sa-host/sa05 [2021-07-06T22:44:33.410Z] file_magic: OK [2021-07-06T22:44:33.410Z] HZ: Using current value: 100 [2021-07-06T22:44:33.410Z] file_header: OK [2021-07-06T22:44:33.410Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-07-06T22:44:33.410Z] Statistics: [2021-07-06T22:44:33.410Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-06T22:44:33.410Z] File successfully converted to sysstat format version 12.2.1 [2021-07-06T22:44:33.410Z] + sadf -c /var/log/sa-host/sa06 [2021-07-06T22:44:33.410Z] file_magic: OK [2021-07-06T22:44:33.410Z] HZ: Using current value: 100 [2021-07-06T22:44:33.410Z] file_header: OK [2021-07-06T22:44:33.410Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-07-06T22:44:33.410Z] Statistics: [2021-07-06T22:44:33.410Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-06T22:44:33.410Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-06T22:44:33.740Z] provisioning config files... [2021-07-06T22:44:33.754Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config8627172025992984593tmp [Pipeline] { [Pipeline] echo [2021-07-06T22:44:33.813Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-06T22:44:34.172Z] ---> create-netrc.sh [Pipeline] } [2021-07-06T22:44:34.197Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-07-06T22:44:34.657Z] ---> python-tools-install.sh [Pipeline] echo [2021-07-06T22:44:34.691Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-06T22:44:35.045Z] ---> sudo-logs.sh [2021-07-06T22:44:35.045Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-07-06T22:44:35.134Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-06T22:44:35.473Z] ---> job-cost.sh [2021-07-06T22:44:35.473Z] lf-activate-venv: SKIPPING [2021-07-06T22:44:35.473Z] DEBUG: total: 0.18000000715255737 [2021-07-06T22:44:35.473Z] INFO: Retrieving Stack Cost... [2021-07-06T22:44:36.420Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-06T22:44:36.682Z] INFO: Archiving Costs [Pipeline] echo [2021-07-06T22:44:36.717Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-06T22:44:37.060Z] ---> logs-deploy.sh [2021-07-06T22:44:37.060Z] lf-activate-venv: SKIPPING [2021-07-06T22:44:37.060Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/main/1 [2021-07-06T22:44:37.060Z] INFO: archiving workspace using pattern(s): [2021-07-06T22:44:38.030Z] Archives upload complete. [2021-07-06T22:44:38.030Z] INFO: archiving logs to Nexus