Pull request #925 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from 5f922c31a128e44051e2c5e982279a7601051bcd+83c633e0233ae448cbb5e6a8cef38b01a51a199b (2ff66f06278b917a238687d8c487095aee6bf6fa) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5681429179412166895.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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1712100022460044503.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-925/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-925/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4805010149700559480.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 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3999601412248110651.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-925/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-925/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4214010267980749918.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3014 in /w/workspace/ndry_app-functions-sdk-go_PR-925 [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/ndry_app-functions-sdk-go_PR-925 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-925@tmp/jenkins-gitclient-ssh190571283682350756.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 83c633e0233ae448cbb5e6a8cef38b01a51a199b into PR head commit 5f922c31a128e44051e2c5e982279a7601051bcd Merge succeeded, producing 5f922c31a128e44051e2c5e982279a7601051bcd Checking out Revision 5f922c31a128e44051e2c5e982279a7601051bcd (PR-925) > 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 remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-925@tmp/jenkins-gitclient-ssh4068737242919379086.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/925/head:refs/remotes/origin/PR-925 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5f922c31a128e44051e2c5e982279a7601051bcd # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-925@tmp/jenkins-gitclient-ssh1697556374285931234.key > git merge 83c633e0233ae448cbb5e6a8cef38b01a51a199b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5f922c31a128e44051e2c5e982279a7601051bcd # timeout=10 Commit message: "Merge branch 'main' into filter-by-resource-fix" > git rev-list --no-walk 4d169d2de8f9d0fb838b77df330eabbc72317b43 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-07-15T23:17:12.930Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-07-15T23:17:13.014Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-15T23:17:13.049Z] ========================================================= [2021-07-15T23:17:13.049Z] EdgeX Global Pipelines Version Info [2021-07-15T23:17:13.049Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-07-15T23:17:14.317Z] ------------------- [2021-07-15T23:17:14.317Z] stable info: [2021-07-15T23:17:14.317Z] ------------------- [2021-07-15T23:17:14.317Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-07-15T23:17:14.317Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-15T23:17:14.317Z] Message: update stable to v1.0.196 [2021-07-15T23:17:14.913Z] ------------------- [2021-07-15T23:17:14.913Z] experimental info: [2021-07-15T23:17:14.913Z] ------------------- [2021-07-15T23:17:14.913Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-07-15T23:17:14.913Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-15T23:17:14.913Z] Message: update experimental to v1.0.196 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-07-15T23:17:15.154Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-07-15T23:17:15.176Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-07-15T23:17:15.198Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-07-15T23:17:15.222Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-07-15T23:17:15.248Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-07-15T23:17:15.275Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-07-15T23:17:15.304Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-07-15T23:17:15.331Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-07-15T23:17:15.365Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-07-15T23:17:15.391Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-07-15T23:17:15.417Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-07-15T23:17:15.442Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2021-07-15T23:17:15.465Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-07-15T23:17:15.489Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-07-15T23:17:15.511Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-07-15T23:17:15.533Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-07-15T23:17:15.555Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-07-15T23:17:15.576Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-07-15T23:17:15.599Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-07-15T23:17:15.620Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-07-15T23:17:15.644Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-07-15T23:17:15.666Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-07-15T23:17:15.689Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-07-15T23:17:15.712Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-07-15T23:17:15.734Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-07-15T23:17:15.755Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-07-15T23:17:15.777Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-925 [Pipeline] echo [2021-07-15T23:17:15.799Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-925 [Pipeline] echo [2021-07-15T23:17:15.824Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-925 [Pipeline] echo [2021-07-15T23:17:15.845Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5f922c31a128e44051e2c5e982279a7601051bcd [Pipeline] echo [2021-07-15T23:17:15.867Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5f922c3 [Pipeline] echo [2021-07-15T23:17:15.888Z] [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-15T23:17:16.397Z] + git log --format=format:%s -1 5f922c31a128e44051e2c5e982279a7601051bcd [Pipeline] echo [2021-07-15T23:17:16.456Z] GIT_COMMIT: 5f922c31a128e44051e2c5e982279a7601051bcd, Commit Message: Merge branch 'main' into filter-by-resource-fix [Pipeline] echo [2021-07-15T23:17:16.469Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-07-15T23:17:17.098Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-15T23:17:17.098Z] [2021-07-15T23:17:17.098Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-07-15T23:17:17.470Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-15T23:17:17.470Z] latest: Pulling from edgex-devops/git-semver [2021-07-15T23:17:17.470Z] 31603596830f: Pulling fs layer [2021-07-15T23:17:17.470Z] b6dc333f4379: Pulling fs layer [2021-07-15T23:17:17.470Z] 3d9ef1400e77: Pulling fs layer [2021-07-15T23:17:17.470Z] fd332fbdc1db: Pulling fs layer [2021-07-15T23:17:17.470Z] fd332fbdc1db: Waiting [2021-07-15T23:17:17.470Z] b6dc333f4379: Verifying Checksum [2021-07-15T23:17:17.470Z] b6dc333f4379: Download complete [2021-07-15T23:17:17.746Z] 31603596830f: Verifying Checksum [2021-07-15T23:17:17.747Z] 31603596830f: Download complete [2021-07-15T23:17:18.023Z] fd332fbdc1db: Verifying Checksum [2021-07-15T23:17:18.023Z] fd332fbdc1db: Download complete [2021-07-15T23:17:18.023Z] 31603596830f: Pull complete [2021-07-15T23:17:18.023Z] b6dc333f4379: Pull complete [2021-07-15T23:17:18.023Z] 3d9ef1400e77: Verifying Checksum [2021-07-15T23:17:18.023Z] 3d9ef1400e77: Download complete [2021-07-15T23:17:18.621Z] 3d9ef1400e77: Pull complete [2021-07-15T23:17:18.891Z] fd332fbdc1db: Pull complete [2021-07-15T23:17:18.891Z] Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 [2021-07-15T23:17:18.891Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-15T23:17:18.891Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-07-15T23:17:19.006Z] prd-centos7-docker-4c-2g-3014 does not seem to be running inside a container [2021-07-15T23:17:19.068Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-925 -v /w/workspace/ndry_app-functions-sdk-go_PR-925:/w/workspace/ndry_app-functions-sdk-go_PR-925:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-925@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-925@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-15T23:17:19.972Z] $ docker top c9160685befa0069dbf9d070aa6ae03a224cc454a73533abac688c73d3989928 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-15T23:17:20.106Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-15T23:17:20.107Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-15T23:17:20.234Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-15T23:17:20.236Z] $ docker exec c9160685befa0069dbf9d070aa6ae03a224cc454a73533abac688c73d3989928 ssh-agent [2021-07-15T23:17:20.366Z] SSH_AUTH_SOCK=/tmp/ssh-AqsFumPDB9nd/agent.13 [2021-07-15T23:17:20.367Z] SSH_AGENT_PID=19 [2021-07-15T23:17:20.379Z] Running ssh-add (command line suppressed) [2021-07-15T23:17:20.490Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-925@tmp/private_key_5401035354255403890.key (/w/workspace/ndry_app-functions-sdk-go_PR-925@tmp/private_key_5401035354255403890.key) [2021-07-15T23:17:20.516Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-15T23:17:20.839Z] + git tag --points-at HEAD [Pipeline] } [2021-07-15T23:17:20.858Z] $ docker exec --env ******** --env ******** c9160685befa0069dbf9d070aa6ae03a224cc454a73533abac688c73d3989928 ssh-agent -k [2021-07-15T23:17:20.960Z] unset SSH_AUTH_SOCK; [2021-07-15T23:17:20.961Z] unset SSH_AGENT_PID; [2021-07-15T23:17:20.961Z] echo Agent pid 19 killed; [2021-07-15T23:17:20.982Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-07-15T23:17:21.020Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-15T23:17:21.020Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-15T23:17:21.146Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-15T23:17:21.146Z] $ docker exec c9160685befa0069dbf9d070aa6ae03a224cc454a73533abac688c73d3989928 ssh-agent [2021-07-15T23:17:21.280Z] SSH_AUTH_SOCK=/tmp/ssh-4zG9uIkXwgiz/agent.51 [2021-07-15T23:17:21.280Z] SSH_AGENT_PID=57 [2021-07-15T23:17:21.289Z] Running ssh-add (command line suppressed) [2021-07-15T23:17:21.397Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-925@tmp/private_key_2100675653189825812.key (/w/workspace/ndry_app-functions-sdk-go_PR-925@tmp/private_key_2100675653189825812.key) [2021-07-15T23:17:21.423Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-15T23:17:21.745Z] + git semver init [2021-07-15T23:17:21.745Z] # -> Open(): unable to determine branch for HEAD [2021-07-15T23:17:21.745Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-925/.git [2021-07-15T23:17:21.745Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-925 [2021-07-15T23:17:21.745Z] # $SEMVER_REMOTE_NAME = origin [2021-07-15T23:17:21.745Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-15T23:17:21.745Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-15T23:17:21.745Z] # $SEMVER_BRANCH = PR-925 [2021-07-15T23:17:21.745Z] # $SEMVER_TEMP = /tmp/semver-489591517 [2021-07-15T23:17:21.745Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-07-15T23:17:23.726Z] # '/tmp/semver-489591517' -> '/w/workspace/ndry_app-functions-sdk-go_PR-925/.semver' [2021-07-15T23:17:23.726Z] # -> Force: false [2021-07-15T23:17:23.726Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-925/.semver [Pipeline] } [2021-07-15T23:17:23.739Z] $ docker exec --env ******** --env ******** c9160685befa0069dbf9d070aa6ae03a224cc454a73533abac688c73d3989928 ssh-agent -k [2021-07-15T23:17:23.842Z] unset SSH_AUTH_SOCK; [2021-07-15T23:17:23.844Z] unset SSH_AGENT_PID; [2021-07-15T23:17:23.844Z] echo Agent pid 57 killed; [2021-07-15T23:17:23.865Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-15T23:17:24.221Z] + git semver [Pipeline] } [2021-07-15T23:17:24.246Z] $ docker stop --time=1 c9160685befa0069dbf9d070aa6ae03a224cc454a73533abac688c73d3989928 [2021-07-15T23:17:25.572Z] $ docker rm -f c9160685befa0069dbf9d070aa6ae03a224cc454a73533abac688c73d3989928 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-15T23:17:25.983Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-07-15T23:17:26.334Z] Stashed 1 file(s) [Pipeline] echo [2021-07-15T23:17:26.337Z] [edgeXSemver]: initialized semver on version 0.0.0 [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-15T23:17:41.622Z] Still waiting to schedule task [2021-07-15T23:17:41.622Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-07-15T23:17:41.626Z] Still waiting to schedule task [2021-07-15T23:17:41.626Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-07-15T23:20:15.970Z] Running on prd-centos7-docker-4c-2g-3015 in /w/workspace/ndry_app-functions-sdk-go_PR-925 [Pipeline] { [Pipeline] ws [2021-07-15T23:20:15.998Z] Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-07-15T23:20:16.319Z] The recommended git tool is: git [2021-07-15T23:20:19.302Z] using credential edgex-jenkins-ssh [2021-07-15T23:20:19.317Z] Cloning the remote Git repository [2021-07-15T23:20:19.032Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-07-15T23:20:19.126Z] > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 [2021-07-15T23:20:19.174Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-07-15T23:20:19.175Z] > git --version # timeout=10 [2021-07-15T23:20:19.180Z] > git --version # 'git version 2.24.4' [2021-07-15T23:20:19.181Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-15T23:20:19.216Z] [INFO] Currently running in a labeled security context [2021-07-15T23:20:19.216Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-15T23:20:19.216Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/2@tmp/jenkins-gitclient-ssh747183129555078832.key [2021-07-15T23:20:19.235Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-15T23:20:20.531Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-07-15T23:20:20.549Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-15T23:20:20.568Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-07-15T23:20:20.587Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-07-15T23:20:20.587Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-15T23:20:20.588Z] [INFO] Currently running in a labeled security context [2021-07-15T23:20:20.588Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-15T23:20:20.588Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/2@tmp/jenkins-gitclient-ssh3155226255811260977.key [2021-07-15T23:20:20.593Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/925/head:refs/remotes/origin/PR-925 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-07-15T23:20:22.203Z] Merging remotes/origin/main commit 83c633e0233ae448cbb5e6a8cef38b01a51a199b into PR head commit 5f922c31a128e44051e2c5e982279a7601051bcd [2021-07-15T23:20:22.318Z] Merge succeeded, producing 5f922c31a128e44051e2c5e982279a7601051bcd [2021-07-15T23:20:22.319Z] Checking out Revision 5f922c31a128e44051e2c5e982279a7601051bcd (PR-925) [2021-07-15T23:20:22.142Z] > git config core.sparsecheckout # timeout=10 [2021-07-15T23:20:22.153Z] > git checkout -f 5f922c31a128e44051e2c5e982279a7601051bcd # timeout=10 [2021-07-15T23:20:22.203Z] > git remote # timeout=10 [2021-07-15T23:20:22.216Z] > git config --get remote.origin.url # timeout=10 [2021-07-15T23:20:22.224Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-15T23:20:22.226Z] [INFO] Currently running in a labeled security context [2021-07-15T23:20:22.226Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-15T23:20:22.226Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/2@tmp/jenkins-gitclient-ssh2393415974330788619.key [2021-07-15T23:20:22.233Z] > git merge 83c633e0233ae448cbb5e6a8cef38b01a51a199b # timeout=10 [2021-07-15T23:20:22.244Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-15T23:20:22.258Z] > git config core.sparsecheckout # timeout=10 [2021-07-15T23:20:22.263Z] > git checkout -f 5f922c31a128e44051e2c5e982279a7601051bcd # timeout=10 [2021-07-15T23:20:26.039Z] Commit message: "Merge branch 'main' into filter-by-resource-fix" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-15T23:20:27.293Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-07-15T23:20:27.650Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-15T23:20:27.968Z] + true [2021-07-15T23:20:27.968Z] + sudo service docker restart [2021-07-15T23:20:27.968Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-07-15T23:20:46.384Z] ========================================================= [2021-07-15T23:20:46.384Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-07-15T23:20:46.384Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-15T23:20:46.712Z] + 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-15T23:20:46.982Z] Sending build context to Docker daemon 19.77MB [2021-07-15T23:20:46.982Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-07-15T23:20:46.982Z] Step 2/8 : FROM ${BASE} [2021-07-15T23:20:47.250Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-07-15T23:20:47.250Z] 540db60ca938: Pulling fs layer [2021-07-15T23:20:47.250Z] adcc1eea9eea: Pulling fs layer [2021-07-15T23:20:47.250Z] 4c4ab2625f07: Pulling fs layer [2021-07-15T23:20:47.250Z] 0773c198feca: Pulling fs layer [2021-07-15T23:20:47.250Z] 345f892a5656: Pulling fs layer [2021-07-15T23:20:47.250Z] 4796506630df: Pulling fs layer [2021-07-15T23:20:47.250Z] cc55df3e53f1: Pulling fs layer [2021-07-15T23:20:47.250Z] 4d027b6c602c: Pulling fs layer [2021-07-15T23:20:47.250Z] 449e75d2c14e: Pulling fs layer [2021-07-15T23:20:47.250Z] 0773c198feca: Waiting [2021-07-15T23:20:47.250Z] 345f892a5656: Waiting [2021-07-15T23:20:47.250Z] 4796506630df: Waiting [2021-07-15T23:20:47.250Z] cc55df3e53f1: Waiting [2021-07-15T23:20:47.250Z] 4d027b6c602c: Waiting [2021-07-15T23:20:47.250Z] 449e75d2c14e: Waiting [2021-07-15T23:20:47.250Z] 4c4ab2625f07: Verifying Checksum [2021-07-15T23:20:47.250Z] 4c4ab2625f07: Download complete [2021-07-15T23:20:47.250Z] adcc1eea9eea: Verifying Checksum [2021-07-15T23:20:47.250Z] adcc1eea9eea: Download complete [2021-07-15T23:20:47.250Z] 345f892a5656: Verifying Checksum [2021-07-15T23:20:47.250Z] 345f892a5656: Download complete [2021-07-15T23:20:47.250Z] 4796506630df: Download complete [2021-07-15T23:20:47.250Z] cc55df3e53f1: Verifying Checksum [2021-07-15T23:20:47.250Z] cc55df3e53f1: Download complete [2021-07-15T23:20:47.529Z] 540db60ca938: Verifying Checksum [2021-07-15T23:20:47.529Z] 540db60ca938: Download complete [2021-07-15T23:20:47.799Z] 540db60ca938: Pull complete [2021-07-15T23:20:47.799Z] adcc1eea9eea: Pull complete [2021-07-15T23:20:47.799Z] 4c4ab2625f07: Pull complete [2021-07-15T23:20:48.069Z] 4d027b6c602c: Verifying Checksum [2021-07-15T23:20:48.069Z] 4d027b6c602c: Download complete [2021-07-15T23:20:50.670Z] 449e75d2c14e: Verifying Checksum [2021-07-15T23:20:50.670Z] 449e75d2c14e: Download complete [2021-07-15T23:20:52.086Z] 0773c198feca: Verifying Checksum [2021-07-15T23:20:52.086Z] 0773c198feca: Download complete [2021-07-15T23:20:55.531Z] 0773c198feca: Pull complete [2021-07-15T23:20:55.531Z] 345f892a5656: Pull complete [2021-07-15T23:20:55.531Z] 4796506630df: Pull complete [2021-07-15T23:20:55.531Z] cc55df3e53f1: Pull complete [2021-07-15T23:20:55.531Z] 4d027b6c602c: Pull complete [2021-07-15T23:20:57.503Z] 449e75d2c14e: Pull complete [2021-07-15T23:20:57.503Z] Digest: sha256:a2fa0993ec4462abfc92311096d2e43e803cda49eb027de246ea451416b7a8a8 [2021-07-15T23:20:57.503Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-07-15T23:20:57.503Z] ---> 0d28375d9b5b [2021-07-15T23:20:57.503Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-07-15T23:20:57.503Z] 20.10.0: Pulling from library/docker [2021-07-15T23:20:57.503Z] 05e7bc50f07f: Pulling fs layer [2021-07-15T23:20:57.503Z] 6db28d0fdbf6: Pulling fs layer [2021-07-15T23:20:57.503Z] 292df0bc6bf3: Pulling fs layer [2021-07-15T23:20:57.503Z] 2e060f4bd70b: Pulling fs layer [2021-07-15T23:20:57.503Z] 80e8d568a223: Pulling fs layer [2021-07-15T23:20:57.503Z] 8dc6ef1a942a: Pulling fs layer [2021-07-15T23:20:57.503Z] 2312dd95470a: Pulling fs layer [2021-07-15T23:20:57.503Z] 2e060f4bd70b: Waiting [2021-07-15T23:20:57.503Z] 80e8d568a223: Waiting [2021-07-15T23:20:57.503Z] 8dc6ef1a942a: Waiting [2021-07-15T23:20:57.503Z] 2312dd95470a: Waiting [2021-07-15T23:20:57.503Z] 292df0bc6bf3: Verifying Checksum [2021-07-15T23:20:57.503Z] 292df0bc6bf3: Download complete [2021-07-15T23:20:57.504Z] 6db28d0fdbf6: Download complete [2021-07-15T23:20:57.504Z] 05e7bc50f07f: Verifying Checksum [2021-07-15T23:20:57.504Z] 05e7bc50f07f: Download complete [2021-07-15T23:20:57.504Z] 8dc6ef1a942a: Verifying Checksum [2021-07-15T23:20:57.504Z] 8dc6ef1a942a: Download complete [2021-07-15T23:20:57.504Z] 80e8d568a223: Verifying Checksum [2021-07-15T23:20:57.504Z] 80e8d568a223: Download complete [2021-07-15T23:20:57.504Z] 2312dd95470a: Verifying Checksum [2021-07-15T23:20:57.504Z] 2312dd95470a: Download complete [2021-07-15T23:20:57.778Z] 05e7bc50f07f: Pull complete [2021-07-15T23:20:58.048Z] 6db28d0fdbf6: Pull complete [2021-07-15T23:20:58.048Z] 292df0bc6bf3: Pull complete [2021-07-15T23:21:00.015Z] 2e060f4bd70b: Verifying Checksum [2021-07-15T23:21:00.015Z] 2e060f4bd70b: Download complete [2021-07-15T23:21:01.452Z] 2e060f4bd70b: Pull complete [2021-07-15T23:21:01.724Z] 80e8d568a223: Pull complete [2021-07-15T23:21:01.724Z] 8dc6ef1a942a: Pull complete [2021-07-15T23:21:01.724Z] 2312dd95470a: Pull complete [2021-07-15T23:21:01.724Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-07-15T23:21:01.724Z] Status: Downloaded newer image for docker:20.10.0 [2021-07-15T23:21:04.342Z] ---> 0b638b7578c3 [2021-07-15T23:21:04.342Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-07-15T23:21:04.342Z] ---> Running in eaa0c7688f43 [2021-07-15T23:21:04.342Z] Removing intermediate container eaa0c7688f43 [2021-07-15T23:21:04.342Z] ---> 80a2679fca5f [2021-07-15T23:21:04.342Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-07-15T23:21:04.342Z] ---> Running in a09281861bdc [2021-07-15T23:21:04.933Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-15T23:21:05.516Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-15T23:21:06.100Z] (1/5) Installing libsodium (1.0.18-r0) [2021-07-15T23:21:06.100Z] (2/5) Installing libzmq (4.3.3-r1) [2021-07-15T23:21:06.100Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-07-15T23:21:06.367Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-07-15T23:21:06.367Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-07-15T23:21:06.367Z] Executing busybox-1.32.1-r6.trigger [2021-07-15T23:21:06.367Z] OK: 150 MiB in 45 packages [2021-07-15T23:21:06.957Z] Removing intermediate container a09281861bdc [2021-07-15T23:21:06.957Z] ---> de9949c95c64 [2021-07-15T23:21:06.957Z] Step 6/8 : WORKDIR /build [2021-07-15T23:21:06.957Z] ---> Running in 4b03ed6c91d1 [2021-07-15T23:21:06.957Z] Removing intermediate container 4b03ed6c91d1 [2021-07-15T23:21:06.957Z] ---> 65f64cdfef43 [2021-07-15T23:21:06.957Z] Step 7/8 : COPY go.mod . [2021-07-15T23:21:07.234Z] ---> 12bd7b11e27c [2021-07-15T23:21:07.234Z] Step 8/8 : RUN go mod download [2021-07-15T23:21:07.234Z] ---> Running in 28efb9a135d4 [2021-07-15T23:21:19.596Z] Removing intermediate container 28efb9a135d4 [2021-07-15T23:21:19.596Z] ---> 257757b79632 [2021-07-15T23:21:19.596Z] Successfully built 257757b79632 [2021-07-15T23:21:19.596Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-15T23:21:19.937Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-15T23:21:19.938Z] . [Pipeline] withDockerContainer [2021-07-15T23:21:20.060Z] prd-centos7-docker-4c-2g-3015 does not seem to be running inside a container [2021-07-15T23:21:20.133Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-07-15T23:21:20.601Z] $ docker top e82926ab736346260bf4afe955d8bed6c86b5ef422d64faf124bd9adee923489 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-15T23:21:21.039Z] + go version [2021-07-15T23:21:21.039Z] go version go1.16.5 linux/amd64 [Pipeline] } [2021-07-15T23:21:21.057Z] $ docker stop --time=1 e82926ab736346260bf4afe955d8bed6c86b5ef422d64faf124bd9adee923489 [2021-07-15T23:21:22.272Z] $ docker rm -f e82926ab736346260bf4afe955d8bed6c86b5ef422d64faf124bd9adee923489 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-15T23:21:22.894Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-15T23:21:22.894Z] . [Pipeline] withDockerContainer [2021-07-15T23:21:23.015Z] prd-centos7-docker-4c-2g-3015 does not seem to be running inside a container [2021-07-15T23:21:23.091Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-07-15T23:21:23.534Z] $ docker top 6c856762c9e902366334f1d20dd8210a9a526fccbdcf33a2470abc12662a481d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-15T23:21:23.977Z] + go mod tidy [Pipeline] sh [2021-07-15T23:21:24.595Z] + make test [2021-07-15T23:21:24.595Z] make -C ./app-service-template build [2021-07-15T23:21:24.595Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-07-15T23:21:24.595Z] go mod tidy [2021-07-15T23:21:24.867Z] 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-15T23:21:35.133Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-07-15T23:21:35.134Z] make -C ./app-service-template test [2021-07-15T23:21:35.134Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-07-15T23:21:35.134Z] go mod tidy [2021-07-15T23:21:35.134Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-07-15T23:21:35.448Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3016 in /w/workspace/ndry_app-functions-sdk-go_PR-925 [Pipeline] { [Pipeline] ws [2021-07-15T23:21:35.472Z] Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-07-15T23:21:35.848Z] The recommended git tool is: git [2021-07-15T23:21:41.964Z] using credential edgex-jenkins-ssh [2021-07-15T23:21:41.987Z] Cloning the remote Git repository [2021-07-15T23:21:42.055Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-07-15T23:21:42.179Z] > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 [2021-07-15T23:21:42.257Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-07-15T23:21:42.258Z] > git --version # timeout=10 [2021-07-15T23:21:42.277Z] > git --version # 'git version 2.17.1' [2021-07-15T23:21:42.280Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-15T23:21:42.367Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-15T23:21:45.335Z] ok new-app-service 0.014s coverage: 47.8% of statements [2021-07-15T23:21:45.335Z] ? new-app-service/config [no test files] [2021-07-15T23:21:45.335Z] ok new-app-service/functions 0.008s [2021-07-15T23:21:45.335Z] CGO_ENABLED=1 go vet ./... [2021-07-15T23:21:45.757Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-07-15T23:21:45.775Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-15T23:21:45.799Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-07-15T23:21:45.839Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-07-15T23:21:45.840Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-15T23:21:45.859Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/925/head:refs/remotes/origin/PR-925 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-07-15T23:21:46.510Z] Merging remotes/origin/main commit 83c633e0233ae448cbb5e6a8cef38b01a51a199b into PR head commit 5f922c31a128e44051e2c5e982279a7601051bcd [2021-07-15T23:21:46.760Z] Merge succeeded, producing 5f922c31a128e44051e2c5e982279a7601051bcd [2021-07-15T23:21:46.761Z] Checking out Revision 5f922c31a128e44051e2c5e982279a7601051bcd (PR-925) [2021-07-15T23:21:46.530Z] > git config core.sparsecheckout # timeout=10 [2021-07-15T23:21:46.547Z] > git checkout -f 5f922c31a128e44051e2c5e982279a7601051bcd # timeout=10 [2021-07-15T23:21:46.665Z] > git remote # timeout=10 [2021-07-15T23:21:46.686Z] > git config --get remote.origin.url # timeout=10 [2021-07-15T23:21:46.701Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-15T23:21:46.713Z] > git merge 83c633e0233ae448cbb5e6a8cef38b01a51a199b # timeout=10 [2021-07-15T23:21:46.737Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-15T23:21:46.767Z] > git config core.sparsecheckout # timeout=10 [2021-07-15T23:21:46.781Z] > git checkout -f 5f922c31a128e44051e2c5e982279a7601051bcd # timeout=10 [2021-07-15T23:21:51.209Z] Commit message: "Merge branch 'main' into filter-by-resource-fix" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-15T23:21:52.020Z] gofmt -l . [2021-07-15T23:21:52.020Z] [ "`gofmt -l .`" = "" ] [2021-07-15T23:21:52.020Z] ./bin/test-attribution-txt.sh [2021-07-15T23:21:52.267Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-07-15T23:21:52.617Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-07-15T23:21:52.617Z] go mod tidy [2021-07-15T23:21:52.617Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-07-15T23:21:52.694Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-15T23:21:53.040Z] + sudo service docker restart [2021-07-15T23:21:53.040Z] + true [2021-07-15T23:21:53.216Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-07-15T23:21:54.637Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.010s coverage: 63.6% of statements [2021-07-15T23:21:54.910Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.006s coverage: 96.5% of statements [2021-07-15T23:21:54.910Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-07-15T23:21:55.502Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.012s coverage: 61.8% of statements [2021-07-15T23:21:55.502Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-07-15T23:21:55.502Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.010s [2021-07-15T23:21:56.473Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.037s coverage: 74.5% of statements [2021-07-15T23:21:56.473Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-07-15T23:21:56.473Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-07-15T23:21:56.473Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-07-15T23:21:56.473Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-07-15T23:21:56.473Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-07-15T23:21:56.473Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-07-15T23:21:56.473Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.018s coverage: 97.1% of statements [2021-07-15T23:21:56.474Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-07-15T23:21:56.474Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.009s coverage: 10.5% of statements [2021-07-15T23:21:59.850Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.737s coverage: 76.1% of statements [2021-07-15T23:21:59.850Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-07-15T23:21:59.850Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.008s coverage: 12.5% of statements [2021-07-15T23:21:59.850Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.008s coverage: 27.3% of statements [2021-07-15T23:21:59.850Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-07-15T23:21:59.850Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-07-15T23:21:59.850Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.008s coverage: 51.4% of statements [Pipeline] unstash [Pipeline] echo [2021-07-15T23:22:11.756Z] ========================================================= [2021-07-15T23:22:11.756Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-07-15T23:22:11.756Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-15T23:22:12.115Z] + 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-15T23:22:13.102Z] Sending build context to Docker daemon 19.76MB [2021-07-15T23:22:13.378Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-07-15T23:22:13.378Z] Step 2/8 : FROM ${BASE} [2021-07-15T23:22:14.032Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-07-15T23:22:14.032Z] 595b0fe564bb: Pulling fs layer [2021-07-15T23:22:14.032Z] 24495759ef45: Pulling fs layer [2021-07-15T23:22:14.032Z] d148012ef14d: Pulling fs layer [2021-07-15T23:22:14.032Z] cb65c68fc2e2: Pulling fs layer [2021-07-15T23:22:14.032Z] 093eec477d81: Pulling fs layer [2021-07-15T23:22:14.032Z] a6d5b2bbb924: Pulling fs layer [2021-07-15T23:22:14.032Z] 2446dc1eb7d3: Pulling fs layer [2021-07-15T23:22:14.032Z] 596795e73e0f: Pulling fs layer [2021-07-15T23:22:14.032Z] cb65c68fc2e2: Waiting [2021-07-15T23:22:14.032Z] 093eec477d81: Waiting [2021-07-15T23:22:14.032Z] a6d5b2bbb924: Waiting [2021-07-15T23:22:14.032Z] 2446dc1eb7d3: Waiting [2021-07-15T23:22:14.032Z] 596795e73e0f: Waiting [2021-07-15T23:22:14.032Z] d148012ef14d: Download complete [2021-07-15T23:22:14.032Z] 24495759ef45: Download complete [2021-07-15T23:22:14.032Z] 093eec477d81: Verifying Checksum [2021-07-15T23:22:14.032Z] 093eec477d81: Download complete [2021-07-15T23:22:14.032Z] a6d5b2bbb924: Verifying Checksum [2021-07-15T23:22:14.032Z] a6d5b2bbb924: Download complete [2021-07-15T23:22:14.032Z] 595b0fe564bb: Verifying Checksum [2021-07-15T23:22:14.032Z] 595b0fe564bb: Download complete [2021-07-15T23:22:14.032Z] 2446dc1eb7d3: Verifying Checksum [2021-07-15T23:22:14.032Z] 2446dc1eb7d3: Download complete [2021-07-15T23:22:14.736Z] 595b0fe564bb: Pull complete [2021-07-15T23:22:15.411Z] 24495759ef45: Pull complete [2021-07-15T23:22:16.011Z] d148012ef14d: Pull complete [2021-07-15T23:22:17.005Z] 596795e73e0f: Verifying Checksum [2021-07-15T23:22:17.005Z] 596795e73e0f: Download complete [2021-07-15T23:22:17.990Z] cb65c68fc2e2: Verifying Checksum [2021-07-15T23:22:17.990Z] cb65c68fc2e2: Download complete [2021-07-15T23:22:26.601Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.123s coverage: 78.1% of statements [2021-07-15T23:22:26.601Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.008s coverage: 94.4% of statements [2021-07-15T23:22:26.601Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-07-15T23:22:26.601Z] gofmt -l . [2021-07-15T23:22:26.601Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-07-15T23:22:26.621Z] $ docker stop --time=1 6c856762c9e902366334f1d20dd8210a9a526fccbdcf33a2470abc12662a481d [2021-07-15T23:22:27.934Z] $ docker rm -f 6c856762c9e902366334f1d20dd8210a9a526fccbdcf33a2470abc12662a481d [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-15T23:22:28.186Z] cb65c68fc2e2: Pull complete [2021-07-15T23:22:28.187Z] 093eec477d81: Pull complete [2021-07-15T23:22:28.187Z] a6d5b2bbb924: Pull complete [2021-07-15T23:22:28.428Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-15T23:22:28.460Z] 2446dc1eb7d3: Pull complete [2021-07-15T23:22:28.715Z] 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-15T23:22:29.857Z] ---> job-cost.sh [2021-07-15T23:22:29.857Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-E7KB [2021-07-15T23:22:32.856Z] 596795e73e0f: Pull complete [2021-07-15T23:22:32.856Z] Digest: sha256:8fdc37217a1dd7593ea05f088b02ef5bfb3cd8d6ab6705c4f2c080891875b7a0 [2021-07-15T23:22:32.856Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-07-15T23:22:32.856Z] ---> d9e956139c92 [2021-07-15T23:22:32.856Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-07-15T23:22:32.856Z] 20.10.0: Pulling from library/docker [2021-07-15T23:22:32.856Z] a3cc7d3b244e: Pulling fs layer [2021-07-15T23:22:32.856Z] 02a3295e0d61: Pulling fs layer [2021-07-15T23:22:32.856Z] 0f4f2e6d8100: Pulling fs layer [2021-07-15T23:22:32.856Z] 330b718f631f: Pulling fs layer [2021-07-15T23:22:32.856Z] a93816041522: Pulling fs layer [2021-07-15T23:22:32.856Z] bdb6da89ff94: Pulling fs layer [2021-07-15T23:22:32.856Z] 2a70c0c122f4: Pulling fs layer [2021-07-15T23:22:32.856Z] a93816041522: Waiting [2021-07-15T23:22:32.856Z] 330b718f631f: Waiting [2021-07-15T23:22:32.856Z] bdb6da89ff94: Waiting [2021-07-15T23:22:32.856Z] 2a70c0c122f4: Waiting [2021-07-15T23:22:32.856Z] 0f4f2e6d8100: Verifying Checksum [2021-07-15T23:22:32.856Z] 0f4f2e6d8100: Download complete [2021-07-15T23:22:32.856Z] 02a3295e0d61: Verifying Checksum [2021-07-15T23:22:32.856Z] 02a3295e0d61: Download complete [2021-07-15T23:22:32.856Z] a3cc7d3b244e: Verifying Checksum [2021-07-15T23:22:32.856Z] a3cc7d3b244e: Download complete [2021-07-15T23:22:32.856Z] a93816041522: Verifying Checksum [2021-07-15T23:22:32.856Z] a93816041522: Download complete [2021-07-15T23:22:32.856Z] bdb6da89ff94: Download complete [2021-07-15T23:22:32.856Z] 2a70c0c122f4: Verifying Checksum [2021-07-15T23:22:32.856Z] 2a70c0c122f4: Download complete [2021-07-15T23:22:33.463Z] a3cc7d3b244e: Pull complete [2021-07-15T23:22:34.460Z] 02a3295e0d61: Pull complete [2021-07-15T23:22:34.460Z] 330b718f631f: Verifying Checksum [2021-07-15T23:22:34.460Z] 330b718f631f: Download complete [2021-07-15T23:22:34.734Z] 0f4f2e6d8100: Pull complete [2021-07-15T23:22:38.148Z] 330b718f631f: Pull complete [2021-07-15T23:22:38.425Z] a93816041522: Pull complete [2021-07-15T23:22:39.023Z] bdb6da89ff94: Pull complete [2021-07-15T23:22:39.298Z] 2a70c0c122f4: Pull complete [2021-07-15T23:22:39.298Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-07-15T23:22:39.298Z] Status: Downloaded newer image for docker:20.10.0 [2021-07-15T23:22:40.007Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-07-15T23:22:46.289Z] ---> c3b378d80d59 [2021-07-15T23:22:46.289Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-07-15T23:22:46.289Z] ---> Running in 2392caecaf1d [2021-07-15T23:22:46.289Z] Removing intermediate container 2392caecaf1d [2021-07-15T23:22:46.289Z] ---> a2cefc944728 [2021-07-15T23:22:46.289Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-07-15T23:22:46.563Z] ---> Running in b7874ad388b4 [2021-07-15T23:22:48.007Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-15T23:22:48.991Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-15T23:22:49.985Z] (1/5) Installing libsodium (1.0.18-r0) [2021-07-15T23:22:49.985Z] (2/5) Installing libzmq (4.3.3-r1) [2021-07-15T23:22:49.985Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-07-15T23:22:50.260Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-07-15T23:22:50.260Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-07-15T23:22:50.260Z] Executing busybox-1.32.1-r6.trigger [2021-07-15T23:22:50.260Z] OK: 139 MiB in 45 packages [2021-07-15T23:22:51.716Z] Removing intermediate container b7874ad388b4 [2021-07-15T23:22:51.716Z] ---> 6f48b187262b [2021-07-15T23:22:51.716Z] Step 6/8 : WORKDIR /build [2021-07-15T23:22:51.995Z] ---> Running in 0152acc9c878 [2021-07-15T23:22:52.434Z] lf-activate-venv(): INFO: Adding /tmp/venv-E7KB/bin to PATH [2021-07-15T23:22:52.434Z] INFO: No Stack... [2021-07-15T23:22:52.614Z] Removing intermediate container 0152acc9c878 [2021-07-15T23:22:52.614Z] ---> 5dfc1ae5dee1 [2021-07-15T23:22:52.614Z] Step 7/8 : COPY go.mod . [2021-07-15T23:22:53.026Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-15T23:22:53.217Z] ---> 2fa0d9871d85 [2021-07-15T23:22:53.217Z] Step 8/8 : RUN go mod download [2021-07-15T23:22:53.493Z] ---> Running in e1e91b5ce3b8 [2021-07-15T23:22:53.616Z] INFO: Archiving Costs [Pipeline] sh [2021-07-15T23:22:53.945Z] + cat /w/workspace/app-functions-sdk-go/2/archives/cost.csv [2021-07-15T23:22:53.945Z] + cut -d, -f6 [Pipeline] lock [2021-07-15T23:22:53.991Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-925-2-stack-cost] [2021-07-15T23:22:54.000Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-925-2-stack-cost] did not exist. Created. [2021-07-15T23:22:54.000Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-925-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-15T23:22:54.373Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-07-15T23:22:54.455Z] Stashed 1 file(s) [Pipeline] } [2021-07-15T23:22:54.470Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-925-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-07-15T23:23:20.334Z] Removing intermediate container e1e91b5ce3b8 [2021-07-15T23:23:20.334Z] ---> d1852653efff [2021-07-15T23:23:20.334Z] Successfully built d1852653efff [2021-07-15T23:23:20.334Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-15T23:23:20.713Z] + docker inspect -f . ci-base-image-arm64 [2021-07-15T23:23:20.713Z] . [Pipeline] withDockerContainer [2021-07-15T23:23:20.999Z] prd-ubuntu18.04-docker-arm64-4c-16g-3016 does not seem to be running inside a container [2021-07-15T23:23:21.110Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-07-15T23:23:22.735Z] $ docker top 2cf7c96b0006d957603ac7a5860005bc266b2b7126af11841dfba40bd0b5fe8d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-15T23:23:23.769Z] + go version [2021-07-15T23:23:23.769Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-07-15T23:23:23.794Z] $ docker stop --time=1 2cf7c96b0006d957603ac7a5860005bc266b2b7126af11841dfba40bd0b5fe8d [2021-07-15T23:23:25.620Z] $ docker rm -f 2cf7c96b0006d957603ac7a5860005bc266b2b7126af11841dfba40bd0b5fe8d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-15T23:23:26.381Z] + docker inspect -f . ci-base-image-arm64 [2021-07-15T23:23:26.381Z] . [Pipeline] withDockerContainer [2021-07-15T23:23:26.611Z] prd-ubuntu18.04-docker-arm64-4c-16g-3016 does not seem to be running inside a container [2021-07-15T23:23:26.711Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-07-15T23:23:28.306Z] $ docker top 3112f925fe644906b1914745eb511fb4d2b0cd115775270264ab30ff5d44e60f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-15T23:23:29.269Z] + go mod tidy [Pipeline] sh [2021-07-15T23:23:30.562Z] + make test [2021-07-15T23:23:30.562Z] make -C ./app-service-template build [2021-07-15T23:23:30.562Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-07-15T23:23:30.562Z] go mod tidy [2021-07-15T23:23:31.172Z] 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-15T23:24:10.252Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-07-15T23:24:10.252Z] make -C ./app-service-template test [2021-07-15T23:24:10.253Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-07-15T23:24:10.253Z] go mod tidy [2021-07-15T23:24:10.253Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-07-15T23:24:42.650Z] ok new-app-service 0.041s coverage: 47.8% of statements [2021-07-15T23:24:42.650Z] ? new-app-service/config [no test files] [2021-07-15T23:24:42.650Z] ok new-app-service/functions 0.038s [2021-07-15T23:24:42.650Z] CGO_ENABLED=1 go vet ./... [2021-07-15T23:25:09.519Z] gofmt -l . [2021-07-15T23:25:09.519Z] [ "`gofmt -l .`" = "" ] [2021-07-15T23:25:09.519Z] ./bin/test-attribution-txt.sh [2021-07-15T23:25:09.519Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-07-15T23:25:09.519Z] go mod tidy [2021-07-15T23:25:09.519Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-07-15T23:25:09.519Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-07-15T23:25:17.884Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.093s coverage: 63.6% of statements [2021-07-15T23:25:17.884Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.107s coverage: 96.5% of statements [2021-07-15T23:25:17.884Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-07-15T23:25:17.884Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.112s coverage: 61.8% of statements [2021-07-15T23:25:17.884Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-07-15T23:25:17.884Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.030s [2021-07-15T23:25:17.884Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.079s coverage: 74.5% of statements [2021-07-15T23:25:17.884Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-07-15T23:25:17.884Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-07-15T23:25:17.884Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-07-15T23:25:17.884Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-07-15T23:25:17.884Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-07-15T23:25:17.884Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-07-15T23:25:17.884Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.025s coverage: 97.1% of statements [2021-07-15T23:25:17.884Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-07-15T23:25:17.884Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.045s coverage: 10.5% of statements [2021-07-15T23:25:24.630Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.812s coverage: 76.1% of statements [2021-07-15T23:25:24.630Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-07-15T23:25:24.630Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.069s coverage: 12.5% of statements [2021-07-15T23:25:24.630Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.046s coverage: 27.3% of statements [2021-07-15T23:25:24.630Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-07-15T23:25:24.630Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-07-15T23:25:24.630Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.050s coverage: 51.4% of statements [2021-07-15T23:25:51.583Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.116s coverage: 78.1% of statements [2021-07-15T23:25:51.583Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.033s coverage: 94.4% of statements [2021-07-15T23:25:51.583Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-07-15T23:25:53.584Z] gofmt -l . [2021-07-15T23:25:53.861Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-07-15T23:25:54.494Z] $ docker stop --time=1 3112f925fe644906b1914745eb511fb4d2b0cd115775270264ab30ff5d44e60f [2021-07-15T23:25:56.519Z] $ docker rm -f 3112f925fe644906b1914745eb511fb4d2b0cd115775270264ab30ff5d44e60f [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-15T23:25:57.448Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-15T23:25:57.482Z] Warning: overwriting stash ‘coverage-report’ [2021-07-15T23:25:58.322Z] 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-15T23:25:59.153Z] ---> job-cost.sh [2021-07-15T23:25:59.153Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-enHq [2021-07-15T23:26:38.239Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-07-15T23:28:15.056Z] lf-activate-venv(): INFO: Adding /tmp/venv-enHq/bin to PATH [2021-07-15T23:28:15.056Z] INFO: No Stack... [2021-07-15T23:28:15.056Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-07-15T23:28:15.056Z] INFO: Archiving Costs [Pipeline] sh [2021-07-15T23:28:15.399Z] + cat /w/workspace/app-functions-sdk-go/2/archives/cost.csv [2021-07-15T23:28:15.399Z] + cut -d, -f6 [Pipeline] lock [2021-07-15T23:28:15.460Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-925-2-stack-cost] [2021-07-15T23:28:15.470Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-925-2-stack-cost] did not exist. Created. [2021-07-15T23:28:15.470Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-925-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-15T23:28:15.836Z] /w/workspace/app-functions-sdk-go/2@tmp/durable-ab7fd8da/script.sh: 1: /w/workspace/app-functions-sdk-go/2@tmp/durable-ab7fd8da/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-07-15T23:28:16.183Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-07-15T23:28:16.215Z] Warning: overwriting stash ‘stack-cost’ [2021-07-15T23:28:16.374Z] Stashed 1 file(s) [Pipeline] } [2021-07-15T23:28:16.391Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-925-2-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-15T23:28:17.116Z] provisioning config files... [2021-07-15T23:28:17.130Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-925@tmp/config3036502318680896833tmp [Pipeline] { [Pipeline] sh [2021-07-15T23:28:17.477Z] + set +x [2021-07-15T23:28:17.477Z] + curl -s https://codecov.io/bash [2021-07-15T23:28:17.477Z] + bash -s -- [2021-07-15T23:28:17.477Z] [2021-07-15T23:28:17.477Z] _____ _ [2021-07-15T23:28:17.477Z] / ____| | | [2021-07-15T23:28:17.477Z] | | ___ __| | ___ ___ _____ __ [2021-07-15T23:28:17.477Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-07-15T23:28:17.477Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-07-15T23:28:17.477Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-07-15T23:28:17.477Z] Bash-1.0.5 [2021-07-15T23:28:17.477Z] [2021-07-15T23:28:17.477Z] [2021-07-15T23:28:17.477Z] ==> git version 2.24.4 found [2021-07-15T23:28:17.477Z] ==> 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-15T23:28:17.477Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-07-15T23:28:17.477Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-07-15T23:28:17.477Z] ==> Jenkins CI detected. [2021-07-15T23:28:17.477Z] project root: . [2021-07-15T23:28:17.477Z] --> token set from env [2021-07-15T23:28:17.477Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-07-15T23:28:17.477Z] ==> Running gcov in . (disable via -X gcov) [2021-07-15T23:28:17.477Z] ==> Python coveragepy not found [2021-07-15T23:28:17.477Z] ==> Searching for coverage reports in: [2021-07-15T23:28:17.477Z] + . [2021-07-15T23:28:17.477Z] -> Found 2 reports [2021-07-15T23:28:17.477Z] ==> Detecting git/mercurial file structure [2021-07-15T23:28:17.757Z] ==> Reading reports [2021-07-15T23:28:17.757Z] + ./app-service-template/coverage.out bytes=1055 [2021-07-15T23:28:17.757Z] + ./coverage.out bytes=95181 [2021-07-15T23:28:17.757Z] ==> Appending adjustments [2021-07-15T23:28:17.757Z] https://docs.codecov.io/docs/fixing-reports [2021-07-15T23:28:18.027Z] + Found adjustments [2021-07-15T23:28:18.027Z] ==> Gzipping contents [2021-07-15T23:28:18.027Z] 20K /tmp/codecov.Sor1np.gz [2021-07-15T23:28:18.027Z] ==> Uploading reports [2021-07-15T23:28:18.027Z] url: https://codecov.io [2021-07-15T23:28:18.027Z] query: branch=PR-925&commit=5f922c31a128e44051e2c5e982279a7601051bcd&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-925%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=925&job=&cmd_args= [2021-07-15T23:28:18.027Z] -> Pinging Codecov [2021-07-15T23:28:18.027Z] https://codecov.io/upload/v4?package=bash-1.0.5&token=&package=bash-1.0.5&token=17ebf437-e483-4174-b11b-49c3772ebb45&branch=PR-925&commit=5f922c31a128e44051e2c5e982279a7601051bcd&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-925%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=925&job=&cmd_args= [2021-07-15T23:28:18.632Z] -> Uploading to [2021-07-15T23:28:18.632Z] https://storage.googleapis.com/codecov/v4/raw/2021-07-15/3D8B5DFFC46A037C893635FACE044666/5f922c31a128e44051e2c5e982279a7601051bcd/85b23902-2a22-4207-b4bf-8bef2ae1e640.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210715%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210715T232818Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=382682b3e50dc839cdcc317e8227909dd9f0cde01db46cf6752cfb519099adb3 [2021-07-15T23:28:18.632Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-07-15T23:28:18.632Z] Dload Upload Total Spent Left Speed [2021-07-15T23:28:18.898Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16443 0 0 100 16443 0 34320 --:--:-- --:--:-- --:--:-- 34327 [2021-07-15T23:28:18.898Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/5f922c31a128e44051e2c5e982279a7601051bcd [Pipeline] } [2021-07-15T23:28:18.911Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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-15T23:28:20.491Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-15T23:28:21.101Z] ---> package-listing.sh [2021-07-15T23:28:21.101Z] ++ facter osfamily [2021-07-15T23:28:21.101Z] ++ tr '[:upper:]' '[:lower:]' [2021-07-15T23:28:21.396Z] + OS_FAMILY=redhat [2021-07-15T23:28:21.396Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-925 [2021-07-15T23:28:21.396Z] + START_PACKAGES=/tmp/packages_start.txt [2021-07-15T23:28:21.396Z] + END_PACKAGES=/tmp/packages_end.txt [2021-07-15T23:28:21.396Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-07-15T23:28:21.396Z] + PACKAGES=/tmp/packages_start.txt [2021-07-15T23:28:21.396Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-925 ']' [2021-07-15T23:28:21.396Z] + PACKAGES=/tmp/packages_end.txt [2021-07-15T23:28:21.396Z] + case "${OS_FAMILY}" in [2021-07-15T23:28:21.396Z] + rpm -qa [2021-07-15T23:28:21.396Z] + sort [2021-07-15T23:28:21.990Z] + '[' -f /tmp/packages_start.txt ']' [2021-07-15T23:28:21.990Z] + '[' -f /tmp/packages_end.txt ']' [2021-07-15T23:28:21.990Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-07-15T23:28:21.990Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-925 ']' [2021-07-15T23:28:21.990Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-925/archives/ [2021-07-15T23:28:21.990Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-925/archives/ [Pipeline] echo [2021-07-15T23:28:22.012Z] 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/ndry_app-functions-sdk-go_PR-925/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-07-15T23:28:22.358Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-07-15T23:28:22.962Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-15T23:28:22.962Z] [2021-07-15T23:28:22.962Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-07-15T23:28:23.301Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-15T23:28:23.301Z] alpine: Pulling from edgex-lftools-log-publisher [2021-07-15T23:28:23.301Z] 5843afab3874: Pulling fs layer [2021-07-15T23:28:23.301Z] 2dfaacf7024e: Pulling fs layer [2021-07-15T23:28:23.302Z] 2dbba127c6aa: Pulling fs layer [2021-07-15T23:28:23.302Z] 1a467efa2204: Pulling fs layer [2021-07-15T23:28:23.302Z] 865369a531d5: Pulling fs layer [2021-07-15T23:28:23.302Z] 2dc3bafdbf1c: Pulling fs layer [2021-07-15T23:28:23.302Z] 9ac237eaa80d: Pulling fs layer [2021-07-15T23:28:23.302Z] 6bcad4ecc5c2: Pulling fs layer [2021-07-15T23:28:23.302Z] 7074353bde3e: Pulling fs layer [2021-07-15T23:28:23.302Z] 1a467efa2204: Waiting [2021-07-15T23:28:23.302Z] 865369a531d5: Waiting [2021-07-15T23:28:23.302Z] 2dc3bafdbf1c: Waiting [2021-07-15T23:28:23.302Z] 9ac237eaa80d: Waiting [2021-07-15T23:28:23.302Z] 6bcad4ecc5c2: Waiting [2021-07-15T23:28:23.302Z] 7074353bde3e: Waiting [2021-07-15T23:28:23.570Z] 2dfaacf7024e: Verifying Checksum [2021-07-15T23:28:23.570Z] 2dfaacf7024e: Download complete [2021-07-15T23:28:23.570Z] 1a467efa2204: Verifying Checksum [2021-07-15T23:28:23.570Z] 1a467efa2204: Download complete [2021-07-15T23:28:23.571Z] 5843afab3874: Verifying Checksum [2021-07-15T23:28:23.571Z] 5843afab3874: Download complete [2021-07-15T23:28:23.571Z] 2dc3bafdbf1c: Verifying Checksum [2021-07-15T23:28:23.571Z] 2dc3bafdbf1c: Download complete [2021-07-15T23:28:23.571Z] 9ac237eaa80d: Verifying Checksum [2021-07-15T23:28:23.571Z] 9ac237eaa80d: Download complete [2021-07-15T23:28:23.838Z] 6bcad4ecc5c2: Verifying Checksum [2021-07-15T23:28:23.838Z] 6bcad4ecc5c2: Download complete [2021-07-15T23:28:23.838Z] 865369a531d5: Verifying Checksum [2021-07-15T23:28:23.838Z] 865369a531d5: Download complete [2021-07-15T23:28:23.838Z] 5843afab3874: Pull complete [2021-07-15T23:28:24.108Z] 2dfaacf7024e: Pull complete [2021-07-15T23:28:24.380Z] 2dbba127c6aa: Verifying Checksum [2021-07-15T23:28:24.380Z] 2dbba127c6aa: Download complete [2021-07-15T23:28:24.648Z] 2dbba127c6aa: Pull complete [2021-07-15T23:28:24.922Z] 1a467efa2204: Pull complete [2021-07-15T23:28:24.922Z] 865369a531d5: Pull complete [2021-07-15T23:28:25.191Z] 2dc3bafdbf1c: Pull complete [2021-07-15T23:28:25.191Z] 9ac237eaa80d: Pull complete [2021-07-15T23:28:25.191Z] 6bcad4ecc5c2: Pull complete [2021-07-15T23:28:28.544Z] 7074353bde3e: Verifying Checksum [2021-07-15T23:28:28.544Z] 7074353bde3e: Download complete [2021-07-15T23:28:32.841Z] 7074353bde3e: Pull complete [2021-07-15T23:28:32.841Z] Digest: sha256:2a5174b1bc71a2b706ed38de5c718fca755e8a1691f7904ed9ba2ee036070238 [2021-07-15T23:28:32.841Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-15T23:28:32.841Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-07-15T23:28:32.951Z] prd-centos7-docker-4c-2g-3014 does not seem to be running inside a container [2021-07-15T23:28:33.036Z] $ 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/ndry_app-functions-sdk-go_PR-925/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ndry_app-functions-sdk-go_PR-925 -v /w/workspace/ndry_app-functions-sdk-go_PR-925:/w/workspace/ndry_app-functions-sdk-go_PR-925:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-925@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-925@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-07-15T23:28:34.874Z] $ docker top eea10d3880c32613b83ebb1a20c5a395100af80f4a3dc88d187bee4a828b08ce -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-15T23:28:35.309Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-07-15T23:28:35.643Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-07-15T23:28:35.961Z] + ls /var/log/sa-host [2021-07-15T23:28:35.961Z] + sadf -c /var/log/sa-host/sa05 [2021-07-15T23:28:35.961Z] file_magic: OK [2021-07-15T23:28:35.961Z] HZ: Using current value: 100 [2021-07-15T23:28:35.961Z] file_header: OK [2021-07-15T23:28:35.961Z] 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-15T23:28:35.961Z] Statistics: [2021-07-15T23:28:35.961Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-15T23:28:35.961Z] File successfully converted to sysstat format version 12.5.4 [2021-07-15T23:28:35.961Z] + sadf -c /var/log/sa-host/sa15 [2021-07-15T23:28:35.961Z] file_magic: OK [2021-07-15T23:28:35.961Z] HZ: Using current value: 100 [2021-07-15T23:28:35.961Z] file_header: OK [2021-07-15T23:28:35.961Z] 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-15T23:28:35.961Z] Statistics: [2021-07-15T23:28:35.961Z] 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-15T23:28:35.961Z] File successfully converted to sysstat format version 12.5.4 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-15T23:28:36.152Z] provisioning config files... [2021-07-15T23:28:36.171Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-925@tmp/config7596766648699202439tmp [Pipeline] { [Pipeline] echo [2021-07-15T23:28:36.198Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-15T23:28:36.521Z] ---> create-netrc.sh [Pipeline] } [2021-07-15T23:28:36.534Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-07-15T23:28:36.948Z] ---> python-tools-install.sh [Pipeline] echo [2021-07-15T23:28:36.962Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-15T23:28:37.276Z] ---> sudo-logs.sh [2021-07-15T23:28:37.276Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-07-15T23:28:37.304Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-15T23:28:37.617Z] ---> job-cost.sh [2021-07-15T23:28:37.617Z] lf-activate-venv: SKIPPING [2021-07-15T23:28:37.617Z] DEBUG: total: 0.18000000715255737 [2021-07-15T23:28:37.617Z] INFO: Retrieving Stack Cost... [2021-07-15T23:28:39.024Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-15T23:28:39.291Z] INFO: Archiving Costs [Pipeline] echo [2021-07-15T23:28:39.307Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-15T23:28:39.628Z] ---> logs-deploy.sh [2021-07-15T23:28:39.628Z] lf-activate-venv: SKIPPING [2021-07-15T23:28:39.628Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-925/2 [2021-07-15T23:28:39.628Z] INFO: archiving workspace using pattern(s): [2021-07-15T23:28:40.213Z] Archives upload complete. [2021-07-15T23:28:40.480Z] INFO: archiving logs to Nexus