Pull request #62 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0e2748769d3512e8a1474eca5c6bf7863fdeb9fb+505f740746f9bcc32021d75ef8e59bf329894c32 (a06b17c9e60c571ffc84cfdc29f5f00b65878672) 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-ssh10612044965407179595.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh11288201185366734682.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-configuration/branches/PR-62/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/go-mod-configuration/branches/PR-62/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4470695850832615111.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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-ssh10695143790957851890.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-configuration/branches/PR-62/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/go-mod-configuration/branches/PR-62/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh18167686252747941091.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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:go-mod-configuration, buildImage:false, pushImage:false, semverBump:pre] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: go-mod-configuration-settings PROJECT: go-mod-configuration USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: go-mod-configuration 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: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-63961’ is offline Running on prd-ubuntu20.04-docker-8c-8g-63965 in /w/workspace/undry_go-mod-configuration_PR-62 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/go-mod-configuration.git > git init /w/workspace/undry_go-mod-configuration_PR-62 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-configuration.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/go-mod-configuration.git # timeout=10 Merging remotes/origin/main commit 505f740746f9bcc32021d75ef8e59bf329894c32 into PR head commit 0e2748769d3512e8a1474eca5c6bf7863fdeb9fb Merge succeeded, producing 0e2748769d3512e8a1474eca5c6bf7863fdeb9fb Checking out Revision 0e2748769d3512e8a1474eca5c6bf7863fdeb9fb (PR-62) Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/pull/62/head:refs/remotes/origin/PR-62 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0e2748769d3512e8a1474eca5c6bf7863fdeb9fb # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 505f740746f9bcc32021d75ef8e59bf329894c32 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0e2748769d3512e8a1474eca5c6bf7863fdeb9fb # timeout=10 Commit message: "build(deps): Bump github.com/pelletier/go-toml from 1.9.4 to 1.9.5" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:28:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:28:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:28:19 ========================================================= 22:28:19 EdgeX Global Pipelines Version Info 22:28:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 096de404bab99f533850d376050f54016063db82 # timeout=10 22:28:20 ------------------- 22:28:20 stable info: 22:28:20 ------------------- 22:28:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:28:20 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 22:28:20 Message: update stable to v1.0.230 22:28:21 ------------------- 22:28:21 experimental info: 22:28:21 ------------------- 22:28:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:28:21 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 22:28:21 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:28:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-configuration-settings [Pipeline] echo 22:28:21 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-configuration [Pipeline] echo 22:28:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:28:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:28:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:28:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 22:28:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:28:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:28:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:28:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:28:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:28:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-configuration [Pipeline] echo 22:28:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:28:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:28:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 22:28:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:28:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:28:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:28:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:28:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:28:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:28:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:28:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:28:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:28:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 22:28:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:28:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-62 [Pipeline] echo 22:28:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-62 [Pipeline] echo 22:28:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-62 [Pipeline] echo 22:28:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0e2748769d3512e8a1474eca5c6bf7863fdeb9fb [Pipeline] echo 22:28:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0e27487 [Pipeline] echo 22:28:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:28:22 + git rev-list -1 --merges 0e2748769d3512e8a1474eca5c6bf7863fdeb9fb~1..0e2748769d3512e8a1474eca5c6bf7863fdeb9fb [Pipeline] echo 22:28:22 -----------> git rev-list -1 --merges 0e2748769d3512e8a1474eca5c6bf7863fdeb9fb~1..0e2748769d3512e8a1474eca5c6bf7863fdeb9fb 0e2748769d3512e8a1474eca5c6bf7863fdeb9fb [false] [Pipeline] sh 22:28:22 + git log --format=format:%s -1 0e2748769d3512e8a1474eca5c6bf7863fdeb9fb [Pipeline] echo 22:28:22 ========================================================= 22:28:22 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:28:22 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:28:22 + git log --format=format:%s -1 0e2748769d3512e8a1474eca5c6bf7863fdeb9fb [Pipeline] echo 22:28:22 [semverPrep] GIT_COMMIT: 0e2748769d3512e8a1474eca5c6bf7863fdeb9fb, Commit Message: build(deps): Bump github.com/pelletier/go-toml from 1.9.4 to 1.9.5 [Pipeline] echo 22:28:22 [semverPrep] This is not a build commit. [Pipeline] sh 22:28:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:28:23 + grep -v github /etc/ssh/ssh_known_hosts 22:28:23 + [ -e /tmp/ssh_known_hosts ] 22:28:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:28:23 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:28:23 + sudo tee -a /etc/ssh/ssh_known_hosts 22:28:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 22:28:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:28:23 22:28:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:28:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:28:24 latest: Pulling from edgex-devops/py-git-semver 22:28:24 1fe172e4850f: Pulling fs layer 22:28:24 caf521ccaac6: Pulling fs layer 22:28:24 3ead6fa29328: Pulling fs layer 22:28:24 5c2a1cbceb83: Pulling fs layer 22:28:24 a8d5f1318db7: Pulling fs layer 22:28:24 c427282e49a2: Pulling fs layer 22:28:24 1827001aaf11: Pulling fs layer 22:28:24 0714d37db230: Pulling fs layer 22:28:24 ac28cf19c067: Pulling fs layer 22:28:24 ca983d60f3e2: Pulling fs layer 22:28:24 9f894cec8388: Pulling fs layer 22:28:24 5c2a1cbceb83: Waiting 22:28:24 a8d5f1318db7: Waiting 22:28:24 ac28cf19c067: Waiting 22:28:24 ca983d60f3e2: Waiting 22:28:24 9f894cec8388: Waiting 22:28:24 0714d37db230: Waiting 22:28:24 1827001aaf11: Waiting 22:28:24 caf521ccaac6: Download complete 22:28:24 5c2a1cbceb83: Verifying Checksum 22:28:24 5c2a1cbceb83: Download complete 22:28:24 a8d5f1318db7: Verifying Checksum 22:28:24 a8d5f1318db7: Download complete 22:28:24 c427282e49a2: Verifying Checksum 22:28:24 c427282e49a2: Download complete 22:28:24 3ead6fa29328: Verifying Checksum 22:28:24 3ead6fa29328: Download complete 22:28:24 0714d37db230: Download complete 22:28:24 ac28cf19c067: Download complete 22:28:24 ca983d60f3e2: Verifying Checksum 22:28:24 ca983d60f3e2: Download complete 22:28:24 9f894cec8388: Verifying Checksum 22:28:24 9f894cec8388: Download complete 22:28:24 1fe172e4850f: Verifying Checksum 22:28:24 1fe172e4850f: Download complete 22:28:24 1827001aaf11: Verifying Checksum 22:28:26 1fe172e4850f: Pull complete 22:28:26 caf521ccaac6: Pull complete 22:28:26 3ead6fa29328: Pull complete 22:28:26 5c2a1cbceb83: Pull complete 22:28:26 a8d5f1318db7: Pull complete 22:28:26 c427282e49a2: Pull complete 22:28:28 1827001aaf11: Pull complete 22:28:28 0714d37db230: Pull complete 22:28:28 ac28cf19c067: Pull complete 22:28:29 ca983d60f3e2: Pull complete 22:28:29 9f894cec8388: Pull complete 22:28:29 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 22:28:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:28:29 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 22:28:29 prd-ubuntu20.04-docker-8c-8g-63965 does not seem to be running inside a container 22:28:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_go-mod-configuration_PR-62 -v /w/workspace/undry_go-mod-configuration_PR-62:/w/workspace/undry_go-mod-configuration_PR-62:rw,z -v /w/workspace/undry_go-mod-configuration_PR-62@tmp:/w/workspace/undry_go-mod-configuration_PR-62@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 22:28:30 $ docker top b1a44c4791b391fe8784a026744e76155373e269f3f4c22b23699ff8b60d259d -eo pid,comm 22:28:30 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:28:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:28:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:28:30 [ssh-agent] Looking for ssh-agent implementation... 22:28:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:28:31 $ docker exec b1a44c4791b391fe8784a026744e76155373e269f3f4c22b23699ff8b60d259d ssh-agent 22:28:31 SSH_AUTH_SOCK=/tmp/ssh-i1JRbkBClcqU/agent.32 22:28:31 SSH_AGENT_PID=40 22:28:31 Running ssh-add (command line suppressed) 22:28:31 Identity added: /w/workspace/undry_go-mod-configuration_PR-62@tmp/private_key_3580125325922561559.key (/w/workspace/undry_go-mod-configuration_PR-62@tmp/private_key_3580125325922561559.key) 22:28:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:28:31 + git tag --points-at HEAD [Pipeline] } 22:28:31 $ docker exec --env ******** --env ******** b1a44c4791b391fe8784a026744e76155373e269f3f4c22b23699ff8b60d259d ssh-agent -k 22:28:31 unset SSH_AUTH_SOCK; 22:28:31 unset SSH_AGENT_PID; 22:28:31 echo Agent pid 40 killed; 22:28:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:28:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:28:31 [ssh-agent] Looking for ssh-agent implementation... 22:28:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:28:31 $ docker exec b1a44c4791b391fe8784a026744e76155373e269f3f4c22b23699ff8b60d259d ssh-agent 22:28:32 SSH_AUTH_SOCK=/tmp/ssh-dyuy4mB8pbni/agent.74 22:28:32 SSH_AGENT_PID=81 22:28:32 Running ssh-add (command line suppressed) 22:28:32 Identity added: /w/workspace/undry_go-mod-configuration_PR-62@tmp/private_key_3226696180735978165.key (/w/workspace/undry_go-mod-configuration_PR-62@tmp/private_key_3226696180735978165.key) 22:28:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:28:32 + git semver init 22:28:32 2022-05-17 22:28:32,658 [run_init] DEBUG init version:0.0.0 force:False 22:28:32 2022-05-17 22:28:32,659 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_go-mod-configuration_PR-62/.semver 22:28:32 2022-05-17 22:28:32,659 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-configuration.git /w/workspace/undry_go-mod-configuration_PR-62/.semver 22:28:32 2022-05-17 22:28:32,659 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-configuration.git', '/w/workspace/undry_go-mod-configuration_PR-62/.semver'], cwd=/w/workspace/undry_go-mod-configuration_PR-62, universal_newlines=False, shell=None, istream=None) 22:28:33 2022-05-17 22:28:33,331 [append_file] DEBUG append to file:/w/workspace/undry_go-mod-configuration_PR-62/.git/info/exclude 22:28:33 2022-05-17 22:28:33,332 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_go-mod-configuration_PR-62/.semver/PR-62 with force:False 22:28:33 2022-05-17 22:28:33,332 [write_file] DEBUG write to file:/w/workspace/undry_go-mod-configuration_PR-62/.semver/PR-62 22:28:33 2022-05-17 22:28:33,336 [execute] INFO git cat-file --batch-check 22:28:33 2022-05-17 22:28:33,336 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_go-mod-configuration_PR-62/.semver, universal_newlines=False, shell=None, istream=) 22:28:33 2022-05-17 22:28:33,342 [execute] INFO git cat-file --batch 22:28:33 2022-05-17 22:28:33,342 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_go-mod-configuration_PR-62/.semver, universal_newlines=False, shell=None, istream=) 22:28:33 2022-05-17 22:28:33,346 [read_version] DEBUG read version from /w/workspace/undry_go-mod-configuration_PR-62/.semver/PR-62 22:28:33 0.0.0 [Pipeline] } 22:28:33 $ docker exec --env ******** --env ******** b1a44c4791b391fe8784a026744e76155373e269f3f4c22b23699ff8b60d259d ssh-agent -k 22:28:33 unset SSH_AUTH_SOCK; 22:28:33 unset SSH_AGENT_PID; 22:28:33 echo Agent pid 81 killed; 22:28:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:28:34 + git semver [Pipeline] } 22:28:34 $ docker stop --time=1 b1a44c4791b391fe8784a026744e76155373e269f3f4c22b23699ff8b60d259d 22:28:35 $ docker rm -f b1a44c4791b391fe8784a026744e76155373e269f3f4c22b23699ff8b60d259d [Pipeline] // withDockerContainer [Pipeline] sh 22:28:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:28:36 Stashed 1 file(s) [Pipeline] echo 22:28:36 [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] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 22:28:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:28:36 ========================================================= 22:28:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 22:28:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 22:28:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 22:28:36 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 22:28:36 59bf1c3509f3: Pulling fs layer 22:28:36 666ba61612fd: Pulling fs layer 22:28:36 8ed8ca486205: Pulling fs layer 22:28:36 4fe6c5a15a65: Pulling fs layer 22:28:36 22a0e8bec74d: Pulling fs layer 22:28:36 ca2b28591e48: Pulling fs layer 22:28:36 a51346096db8: Pulling fs layer 22:28:36 daebc70d1ce1: Pulling fs layer 22:28:36 0e18a0eac166: Pulling fs layer 22:28:36 4fe6c5a15a65: Waiting 22:28:36 daebc70d1ce1: Waiting 22:28:36 22a0e8bec74d: Waiting 22:28:36 ca2b28591e48: Waiting 22:28:36 0e18a0eac166: Waiting 22:28:36 a51346096db8: Waiting 22:28:36 8ed8ca486205: Verifying Checksum 22:28:36 8ed8ca486205: Download complete 22:28:36 666ba61612fd: Verifying Checksum 22:28:36 666ba61612fd: Download complete 22:28:36 22a0e8bec74d: Verifying Checksum 22:28:36 22a0e8bec74d: Download complete 22:28:36 ca2b28591e48: Verifying Checksum 22:28:36 ca2b28591e48: Download complete 22:28:36 a51346096db8: Verifying Checksum 22:28:36 a51346096db8: Download complete 22:28:36 59bf1c3509f3: Verifying Checksum 22:28:36 59bf1c3509f3: Download complete 22:28:37 daebc70d1ce1: Verifying Checksum 22:28:37 daebc70d1ce1: Download complete 22:28:37 59bf1c3509f3: Pull complete 22:28:37 666ba61612fd: Pull complete 22:28:37 8ed8ca486205: Pull complete 22:28:37 0e18a0eac166: Verifying Checksum 22:28:37 0e18a0eac166: Download complete 22:28:37 4fe6c5a15a65: Verifying Checksum 22:28:37 4fe6c5a15a65: Download complete 22:28:41 4fe6c5a15a65: Pull complete 22:28:41 22a0e8bec74d: Pull complete 22:28:41 ca2b28591e48: Pull complete 22:28:41 a51346096db8: Pull complete 22:28:41 daebc70d1ce1: Pull complete 22:28:43 0e18a0eac166: Pull complete 22:28:43 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 22:28:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 22:28:43 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] sh 22:28:44 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 22:28:44 + docker inspect -f . ci-base-image-x86_64 22:28:44 . [Pipeline] withDockerContainer 22:28:44 prd-ubuntu20.04-docker-8c-8g-63965 does not seem to be running inside a container 22:28:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_go-mod-configuration_PR-62 -v /w/workspace/undry_go-mod-configuration_PR-62:/w/workspace/undry_go-mod-configuration_PR-62:rw,z -v /w/workspace/undry_go-mod-configuration_PR-62@tmp:/w/workspace/undry_go-mod-configuration_PR-62@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 ******** ci-base-image-x86_64 cat 22:28:46 $ docker top dc290d99f2b6f4fb04e0c2c84f72ecc93a2a782c3c392b17df3d1beee33077e6 -eo pid,comm [Pipeline] { [Pipeline] sh 22:28:46 + go version 22:28:46 go version go1.17.6 linux/amd64 [Pipeline] } 22:28:46 $ docker stop --time=1 dc290d99f2b6f4fb04e0c2c84f72ecc93a2a782c3c392b17df3d1beee33077e6 22:28:48 $ docker rm -f dc290d99f2b6f4fb04e0c2c84f72ecc93a2a782c3c392b17df3d1beee33077e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:28:48 + docker inspect -f . ci-base-image-x86_64 22:28:48 . [Pipeline] withDockerContainer 22:28:48 prd-ubuntu20.04-docker-8c-8g-63965 does not seem to be running inside a container 22:28:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_go-mod-configuration_PR-62 -v /w/workspace/undry_go-mod-configuration_PR-62:/w/workspace/undry_go-mod-configuration_PR-62:rw,z -v /w/workspace/undry_go-mod-configuration_PR-62@tmp:/w/workspace/undry_go-mod-configuration_PR-62@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 ******** ci-base-image-x86_64 cat 22:28:48 $ docker top 7af2cc7db86855c2886134d681b16cbd69c5b0a2ee83b544eac10c921854d1df -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:28:49 + make test 22:28:49 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:28:49 go: downloading github.com/stretchr/testify v1.7.1 22:28:49 go: downloading github.com/pelletier/go-toml v1.9.5 22:28:49 go: downloading github.com/hashicorp/consul/api v1.9.1 22:28:49 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 22:28:49 go: downloading github.com/mitchellh/mapstructure v1.1.2 22:28:49 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 22:28:49 go: downloading github.com/mitchellh/copystructure v1.0.0 22:28:49 go: downloading github.com/mitchellh/reflectwalk v1.0.0 22:28:49 go: downloading github.com/pmezard/go-difflib v1.0.0 22:28:49 go: downloading github.com/davecgh/go-spew v1.1.1 22:28:49 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 22:28:49 go: downloading github.com/hashicorp/serf v0.9.5 22:28:49 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 22:28:49 go: downloading github.com/hashicorp/go-hclog v0.12.0 22:28:49 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 22:28:49 go: downloading github.com/mattn/go-isatty v0.0.12 22:28:49 go: downloading github.com/fatih/color v1.9.0 22:28:49 go: downloading golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae 22:28:49 go: downloading github.com/mattn/go-colorable v0.1.6 22:28:49 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 22:28:49 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 22:28:49 go: downloading github.com/hashicorp/golang-lru v0.5.0 22:28:51 Still waiting to schedule task 22:28:51 ‘prd-ubuntu20.04-docker-arm64-4c-16g-63966’ is offline 22:28:54 ok github.com/edgexfoundry/go-mod-configuration/v2/configuration 0.006s coverage: 85.7% of statements 22:29:01 ok github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul 6.593s coverage: 88.3% of statements 22:29:01 ok github.com/edgexfoundry/go-mod-configuration/v2/pkg/types 0.003s coverage: 100.0% of statements 22:29:08 CGO_ENABLED=0 GO111MODULE=on go vet ./... 22:29:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:29:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 22:29:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:29:10 $ docker stop --time=1 7af2cc7db86855c2886134d681b16cbd69c5b0a2ee83b544eac10c921854d1df 22:29:11 $ docker rm -f 7af2cc7db86855c2886134d681b16cbd69c5b0a2ee83b544eac10c921854d1df [Pipeline] // withDockerContainer [Pipeline] sh 22:29:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:29:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:29:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:29:12 22:29:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 22:29:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:29:12 latest: Pulling from edgex-lftools-log-publisher 22:29:12 5eb5b503b376: Pulling fs layer 22:29:12 5c69ac0246d0: Pulling fs layer 22:29:12 ec43610c2a17: Pulling fs layer 22:29:12 3a2ae6a8a46f: Pulling fs layer 22:29:12 33b1e0a273af: Pulling fs layer 22:29:12 5d3b04190fa2: Pulling fs layer 22:29:12 33b1e0a273af: Waiting 22:29:12 3a2ae6a8a46f: Waiting 22:29:12 5d3b04190fa2: Waiting 22:29:12 2f39f015ded8: Pulling fs layer 22:29:12 2f39f015ded8: Waiting 22:29:12 5c69ac0246d0: Verifying Checksum 22:29:12 5c69ac0246d0: Download complete 22:29:12 3a2ae6a8a46f: Verifying Checksum 22:29:12 3a2ae6a8a46f: Download complete 22:29:12 33b1e0a273af: Verifying Checksum 22:29:12 33b1e0a273af: Download complete 22:29:12 5d3b04190fa2: Download complete 22:29:12 ec43610c2a17: Verifying Checksum 22:29:12 ec43610c2a17: Download complete 22:29:13 5eb5b503b376: Verifying Checksum 22:29:13 5eb5b503b376: Download complete 22:29:13 2f39f015ded8: Download complete 22:29:14 5eb5b503b376: Pull complete 22:29:14 5c69ac0246d0: Pull complete 22:29:14 ec43610c2a17: Pull complete 22:29:15 3a2ae6a8a46f: Pull complete 22:29:15 33b1e0a273af: Pull complete 22:29:15 5d3b04190fa2: Pull complete 22:29:19 2f39f015ded8: Pull complete 22:29:19 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:29:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:29:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 22:29:19 prd-ubuntu20.04-docker-8c-8g-63965 does not seem to be running inside a container 22:29:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_go-mod-configuration_PR-62 -v /w/workspace/undry_go-mod-configuration_PR-62:/w/workspace/undry_go-mod-configuration_PR-62:rw,z -v /w/workspace/undry_go-mod-configuration_PR-62@tmp:/w/workspace/undry_go-mod-configuration_PR-62@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:10003/edgex-lftools-log-publisher:latest cat 22:29:21 $ docker top 6d4bee2a6ec12f1271628d76713859252db9bd6da6b595e1cf26fdaaeabe4b10 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:29:21 ---> job-cost.sh 22:29:21 lf-activate-venv: SKIPPING 22:29:21 INFO: No Stack... 22:29:22 INFO: Retrieving Pricing Info for: v3-standard-8 22:29:22 INFO: Archiving Costs [Pipeline] sh 22:29:22 + cat /w/workspace/undry_go-mod-configuration_PR-62/archives/cost.csv 22:29:22 + cut -d, -f6 [Pipeline] lock 22:29:22 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-configuration-PR-62-4-stack-cost] 22:29:22 Resource [jenkins-edgexfoundry-go-mod-configuration-PR-62-4-stack-cost] did not exist. Created. 22:29:22 Lock acquired on [jenkins-edgexfoundry-go-mod-configuration-PR-62-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:29:23 + echo total: 0.2199999988079071 [Pipeline] stash 22:29:23 Stashed 1 file(s) [Pipeline] } 22:29:23 Lock released on resource [jenkins-edgexfoundry-go-mod-configuration-PR-62-4-stack-cost] [Pipeline] // lock [Pipeline] } 22:29:23 $ docker stop --time=1 6d4bee2a6ec12f1271628d76713859252db9bd6da6b595e1cf26fdaaeabe4b10 22:29:24 $ docker rm -f 6d4bee2a6ec12f1271628d76713859252db9bd6da6b595e1cf26fdaaeabe4b10 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:31:54 Running on prd-ubuntu20.04-docker-arm64-4c-16g-63971 in /w/workspace/undry_go-mod-configuration_PR-62 [Pipeline] { [Pipeline] ws 22:31:54 Running in /w/workspace/go-mod-configuration/4 [Pipeline] { [Pipeline] checkout 22:31:54 Selected Git installation does not exist. Using Default 22:31:54 The recommended git tool is: NONE 22:32:02 using credential edgex-jenkins-ssh 22:32:02 Cloning the remote Git repository 22:32:02 Cloning repository git@github.com:edgexfoundry/go-mod-configuration.git 22:32:02 > git init /w/workspace/go-mod-configuration/4 # timeout=10 22:32:02 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git 22:32:02 > git --version # timeout=10 22:32:02 > git --version # 'git version 2.25.1' 22:32:02 using GIT_SSH to set credentials SSH Credentials for GitHub 22:32:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:32:03 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-configuration.git # timeout=10 22:32:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:32:03 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-configuration.git # timeout=10 22:32:03 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git 22:32:03 using GIT_SSH to set credentials SSH Credentials for GitHub 22:32:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/pull/62/head:refs/remotes/origin/PR-62 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:32:04 Merging remotes/origin/main commit 505f740746f9bcc32021d75ef8e59bf329894c32 into PR head commit 0e2748769d3512e8a1474eca5c6bf7863fdeb9fb 22:32:04 Merge succeeded, producing 0e2748769d3512e8a1474eca5c6bf7863fdeb9fb 22:32:04 Checking out Revision 0e2748769d3512e8a1474eca5c6bf7863fdeb9fb (PR-62) 22:32:04 > git config core.sparsecheckout # timeout=10 22:32:04 > git checkout -f 0e2748769d3512e8a1474eca5c6bf7863fdeb9fb # timeout=10 22:32:04 > git remote # timeout=10 22:32:04 > git config --get remote.origin.url # timeout=10 22:32:04 using GIT_SSH to set credentials SSH Credentials for GitHub 22:32:04 > git merge 505f740746f9bcc32021d75ef8e59bf329894c32 # timeout=10 22:32:04 > git rev-parse HEAD^{commit} # timeout=10 22:32:04 > git config core.sparsecheckout # timeout=10 22:32:04 > git checkout -f 0e2748769d3512e8a1474eca5c6bf7863fdeb9fb # timeout=10 22:32:09 Commit message: "build(deps): Bump github.com/pelletier/go-toml from 1.9.4 to 1.9.5" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:32:10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:32:10 % Total % Received % Xferd Average Speed Time Time Time Current 22:32:10 Dload Upload Total Spent Left Speed 22:32:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 168k 0 --:--:-- --:--:-- --:--:-- 168k [Pipeline] sh 22:32:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:32:11 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 22:32:11 /etc/docker/daemon.json 22:32:11 { 22:32:11 "registry-mirrors": [ 22:32:11 "https://nexus3.edgexfoundry.org:10001" 22:32:11 ], 22:32:11 "bip": "10.250.0.254/24", 22:32:11 "hosts": [ 22:32:11 "tcp://0.0.0.0:5555", 22:32:11 "unix:///var/run/docker.sock" 22:32:11 ], 22:32:11 "mtu": 1458, 22:32:11 "selinux-enabled": true, 22:32:11 "seccomp-profile": "/etc/docker/seccomp.json" 22:32:11 } [Pipeline] sh 22:32:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:32:12 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 22:32:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:32:31 ========================================================= 22:32:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 22:32:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 22:32:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 22:32:32 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:32:32 9b3977197b4f: Pulling fs layer 22:32:32 1a89e8eeedd5: Pulling fs layer 22:32:32 94645a83ff95: Pulling fs layer 22:32:32 3f3a8bcf1eab: Pulling fs layer 22:32:32 0c92f367c5e7: Pulling fs layer 22:32:32 3096ccb668a1: Pulling fs layer 22:32:32 e8cf19c19ddd: Pulling fs layer 22:32:32 a4caa8a26152: Pulling fs layer 22:32:32 3096ccb668a1: Waiting 22:32:32 e8cf19c19ddd: Waiting 22:32:32 a4caa8a26152: Waiting 22:32:32 3f3a8bcf1eab: Waiting 22:32:32 0c92f367c5e7: Waiting 22:32:32 94645a83ff95: Verifying Checksum 22:32:32 94645a83ff95: Download complete 22:32:32 1a89e8eeedd5: Verifying Checksum 22:32:32 1a89e8eeedd5: Download complete 22:32:32 0c92f367c5e7: Download complete 22:32:32 3096ccb668a1: Download complete 22:32:32 9b3977197b4f: Verifying Checksum 22:32:32 e8cf19c19ddd: Verifying Checksum 22:32:32 e8cf19c19ddd: Download complete 22:32:33 9b3977197b4f: Pull complete 22:32:33 1a89e8eeedd5: Pull complete 22:32:34 94645a83ff95: Pull complete 22:32:34 a4caa8a26152: Verifying Checksum 22:32:34 a4caa8a26152: Download complete 22:32:35 3f3a8bcf1eab: Verifying Checksum 22:32:35 3f3a8bcf1eab: Download complete 22:32:47 3f3a8bcf1eab: Pull complete 22:32:47 0c92f367c5e7: Pull complete 22:32:47 3096ccb668a1: Pull complete 22:32:47 e8cf19c19ddd: Pull complete 22:32:52 a4caa8a26152: Pull complete 22:32:52 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 22:32:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 22:32:52 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] sh 22:32:53 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 22:32:53 + docker inspect -f . ci-base-image-arm64 22:32:53 . [Pipeline] withDockerContainer 22:32:53 prd-ubuntu20.04-docker-arm64-4c-16g-63971 does not seem to be running inside a container 22:32:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-configuration/4 -v /w/workspace/go-mod-configuration/4:/w/workspace/go-mod-configuration/4:rw,z -v /w/workspace/go-mod-configuration/4@tmp:/w/workspace/go-mod-configuration/4@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 ******** ci-base-image-arm64 cat 22:32:56 $ docker top 60aa2407989ccf8b797b3c3c235f54fdaf2e687f5e9b389cbb290ee53d1a3913 -eo pid,comm [Pipeline] { [Pipeline] sh 22:32:57 + go version 22:32:57 go version go1.17.6 linux/arm64 [Pipeline] } 22:32:57 $ docker stop --time=1 60aa2407989ccf8b797b3c3c235f54fdaf2e687f5e9b389cbb290ee53d1a3913 22:32:59 $ docker rm -f 60aa2407989ccf8b797b3c3c235f54fdaf2e687f5e9b389cbb290ee53d1a3913 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:32:59 + docker inspect -f . ci-base-image-arm64 22:32:59 . [Pipeline] withDockerContainer 22:33:00 prd-ubuntu20.04-docker-arm64-4c-16g-63971 does not seem to be running inside a container 22:33:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-configuration/4 -v /w/workspace/go-mod-configuration/4:/w/workspace/go-mod-configuration/4:rw,z -v /w/workspace/go-mod-configuration/4@tmp:/w/workspace/go-mod-configuration/4@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 ******** ci-base-image-arm64 cat 22:33:02 $ docker top 001b37c15629a668b566e293c6a36ff048b2a5c08a3d76c27637b7b5117c2af5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:33:02 + make test 22:33:02 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:33:02 go: downloading github.com/stretchr/testify v1.7.1 22:33:02 go: downloading github.com/pelletier/go-toml v1.9.5 22:33:02 go: downloading github.com/hashicorp/consul/api v1.9.1 22:33:03 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 22:33:03 go: downloading github.com/davecgh/go-spew v1.1.1 22:33:03 go: downloading github.com/pmezard/go-difflib v1.0.0 22:33:03 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 22:33:03 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 22:33:03 go: downloading github.com/mitchellh/copystructure v1.0.0 22:33:03 go: downloading github.com/mitchellh/mapstructure v1.1.2 22:33:03 go: downloading github.com/mitchellh/reflectwalk v1.0.0 22:33:03 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 22:33:03 go: downloading github.com/hashicorp/go-hclog v0.12.0 22:33:03 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 22:33:03 go: downloading github.com/hashicorp/serf v0.9.5 22:33:03 go: downloading github.com/mattn/go-isatty v0.0.12 22:33:03 go: downloading github.com/fatih/color v1.9.0 22:33:03 go: downloading github.com/mattn/go-colorable v0.1.6 22:33:03 go: downloading golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae 22:33:03 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 22:33:04 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 22:33:04 go: downloading github.com/hashicorp/golang-lru v0.5.0 22:33:43 ok github.com/edgexfoundry/go-mod-configuration/v2/configuration 0.026s coverage: 85.7% of statements 22:33:48 ok github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul 6.757s coverage: 88.3% of statements 22:33:48 ok github.com/edgexfoundry/go-mod-configuration/v2/pkg/types 0.017s coverage: 100.0% of statements 22:33:48 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:33:48 CGO_ENABLED=0 GO111MODULE=on go vet ./... 22:34:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:34:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 22:34:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:34:03 $ docker stop --time=1 001b37c15629a668b566e293c6a36ff048b2a5c08a3d76c27637b7b5117c2af5 22:34:05 $ docker rm -f 001b37c15629a668b566e293c6a36ff048b2a5c08a3d76c27637b7b5117c2af5 [Pipeline] // withDockerContainer [Pipeline] sh 22:34:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:34:06 Warning: overwriting stash ‘coverage-report’ 22:34:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:34:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:34:07 22:34:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 22:34:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:34:08 arm64: Pulling from edgex-lftools-log-publisher 22:34:08 8998bd30e6a1: Pulling fs layer 22:34:08 04944245beec: Pulling fs layer 22:34:08 699f458cf7ca: Pulling fs layer 22:34:08 765212b225bb: Pulling fs layer 22:34:08 f23df028b6ca: Pulling fs layer 22:34:08 d65c8cfc05b1: Pulling fs layer 22:34:08 2437ff75d9bd: Pulling fs layer 22:34:08 f23df028b6ca: Waiting 22:34:08 765212b225bb: Waiting 22:34:08 d65c8cfc05b1: Waiting 22:34:08 2437ff75d9bd: Waiting 22:34:08 04944245beec: Verifying Checksum 22:34:08 04944245beec: Download complete 22:34:08 765212b225bb: Verifying Checksum 22:34:08 765212b225bb: Download complete 22:34:08 f23df028b6ca: Download complete 22:34:08 d65c8cfc05b1: Verifying Checksum 22:34:08 d65c8cfc05b1: Download complete 22:34:08 699f458cf7ca: Verifying Checksum 22:34:08 699f458cf7ca: Download complete 22:34:08 8998bd30e6a1: Verifying Checksum 22:34:08 8998bd30e6a1: Download complete 22:34:11 2437ff75d9bd: Verifying Checksum 22:34:11 2437ff75d9bd: Download complete 22:34:13 8998bd30e6a1: Pull complete 22:34:13 04944245beec: Pull complete 22:34:15 699f458cf7ca: Pull complete 22:34:15 765212b225bb: Pull complete 22:34:16 f23df028b6ca: Pull complete 22:34:16 d65c8cfc05b1: Pull complete 22:34:31 2437ff75d9bd: Pull complete 22:34:31 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:34:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:34:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 22:34:31 prd-ubuntu20.04-docker-arm64-4c-16g-63971 does not seem to be running inside a container 22:34:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/go-mod-configuration/4 -v /w/workspace/go-mod-configuration/4:/w/workspace/go-mod-configuration/4:rw,z -v /w/workspace/go-mod-configuration/4@tmp:/w/workspace/go-mod-configuration/4@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:10003/edgex-lftools-log-publisher:arm64 cat 22:34:34 $ docker top fd4b416e9f283273ebe8d2a41a11517def5f5c91a74659b490fe40797735d47d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:34:35 ---> job-cost.sh 22:34:35 lf-activate-venv: SKIPPING 22:34:35 INFO: No Stack... 22:34:36 INFO: Retrieving Pricing Info for: v3-standard-4 22:34:37 INFO: Archiving Costs [Pipeline] sh 22:34:37 + cat /w/workspace/go-mod-configuration/4/archives/cost.csv 22:34:37 + cut -d, -f6 [Pipeline] lock 22:34:37 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-configuration-PR-62-4-stack-cost] 22:34:37 Resource [jenkins-edgexfoundry-go-mod-configuration-PR-62-4-stack-cost] did not exist. Created. 22:34:37 Lock acquired on [jenkins-edgexfoundry-go-mod-configuration-PR-62-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:34:38 /w/workspace/go-mod-configuration/4@tmp/durable-856b822e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:34:39 + echo total: 0.10999999940395355 [Pipeline] stash 22:34:39 Warning: overwriting stash ‘stack-cost’ 22:34:39 Stashed 1 file(s) [Pipeline] } 22:34:39 Lock released on resource [jenkins-edgexfoundry-go-mod-configuration-PR-62-4-stack-cost] [Pipeline] // lock [Pipeline] } 22:34:39 $ docker stop --time=1 fd4b416e9f283273ebe8d2a41a11517def5f5c91a74659b490fe40797735d47d 22:34:40 $ docker rm -f fd4b416e9f283273ebe8d2a41a11517def5f5c91a74659b490fe40797735d47d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 22:34:41 provisioning config files... 22:34:41 copy managed file [go-mod-configuration-codecov-token] to file:/w/workspace/undry_go-mod-configuration_PR-62@tmp/config8221441106851616331tmp [Pipeline] { [Pipeline] sh 22:34:41 + set +x 22:34:41 + curl -s https://codecov.io/bash 22:34:41 + bash -s -- 22:34:41 22:34:41 _____ _ 22:34:41 / ____| | | 22:34:41 | | ___ __| | ___ ___ _____ __ 22:34:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:34:41 | |___| (_) | (_| | __/ (_| (_) \ V / 22:34:41 \_____\___/ \__,_|\___|\___\___/ \_/ 22:34:41 Bash-1.0.6 22:34:41 22:34:41 22:34:41 ==> git version 2.25.1 found 22:34:41 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 22:34:41 Release-Date: 2020-01-08 22:34:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:34:41 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:34:41 ==> Jenkins CI detected. 22:34:41 current dir:  /w/workspace/undry_go-mod-configuration_PR-62 22:34:41 project root: . 22:34:41 --> token set from env 22:34:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:34:41 ==> Running gcov in . (disable via -X gcov) 22:34:41 ==> Python coveragepy not found 22:34:41 ==> Searching for coverage reports in: 22:34:41 + . 22:34:41 -> Found 1 reports 22:34:41 ==> Detecting git/mercurial file structure 22:34:41 ==> Reading reports 22:34:41 + ./coverage.out bytes=17231 22:34:41 ==> Appending adjustments 22:34:41 https://docs.codecov.io/docs/fixing-reports 22:34:41 + Found adjustments 22:34:41 ==> Gzipping contents 22:34:41 4.0K /tmp/codecov.LE6zsA.gz 22:34:41 ==> Uploading reports 22:34:41 url: https://codecov.io 22:34:41 query: branch=PR-62&commit=0e2748769d3512e8a1474eca5c6bf7863fdeb9fb&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-configuration%2Fjob%2FPR-62%2F4%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-configuration&service=jenkins&flags=&pr=62&job=&cmd_args= 22:34:41 -> Pinging Codecov 22:34:41 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=b03387cf-fbed-45a6-9f6b-56101d2ea1b2&branch=PR-62&commit=0e2748769d3512e8a1474eca5c6bf7863fdeb9fb&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-configuration%2Fjob%2FPR-62%2F4%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-configuration&service=jenkins&flags=&pr=62&job=&cmd_args= 22:34:42 -> Uploading to 22:34:42 https://storage.googleapis.com/codecov/v4/raw/2022-05-17/9F92B070CA9CA35F4914AC8684776953/0e2748769d3512e8a1474eca5c6bf7863fdeb9fb/50d071c0-ec77-4b53-be68-52bfa147d8a2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220517%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220517T223442Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fc6aaa82f68b5ff561eadd5c185eb1ed2810b80dcf1885edd9b23b5bebe46ae9 22:34:42 % Total % Received % Xferd Average Speed Time Time Time Current 22:34:42 Dload Upload Total Spent Left Speed 22:34:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2951 0 0 100 2951 0 13599 --:--:-- --:--:-- --:--:-- 13599 22:34:42 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-configuration/commit/0e2748769d3512e8a1474eca5c6bf7863fdeb9fb [Pipeline] } 22:34:42 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 22:34:43 + [ -d /w/workspace/undry_go-mod-configuration_PR-62/archives ] 22:34:43 + ls -al /w/workspace/undry_go-mod-configuration_PR-62/archives 22:34:43 total 16 22:34:43 drwxr-xr-x 3 root root 4096 May 17 22:29 . 22:34:43 drwxrwxr-x 9 jenkins jenkins 4096 May 17 22:29 .. 22:34:43 drwxr-xr-x 2 root root 4096 May 17 22:29 cost 22:34:43 -rw-r--r-- 1 root root 90 May 17 22:29 cost.csv 22:34:43 + sudo chown -R jenkins:jenkins /w/workspace/undry_go-mod-configuration_PR-62/archives 22:34:43 + ls -al /w/workspace/undry_go-mod-configuration_PR-62/archives 22:34:43 total 16 22:34:43 drwxr-xr-x 3 jenkins jenkins 4096 May 17 22:29 . 22:34:43 drwxrwxr-x 9 jenkins jenkins 4096 May 17 22:29 .. 22:34:43 drwxr-xr-x 2 jenkins jenkins 4096 May 17 22:29 cost 22:34:43 -rw-r--r-- 1 jenkins jenkins 90 May 17 22:29 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:34:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:34:44 ---> package-listing.sh 22:34:44 ++ facter osfamily 22:34:44 ++ tr '[:upper:]' '[:lower:]' 22:34:44 + OS_FAMILY=debian 22:34:44 + workspace=/w/workspace/undry_go-mod-configuration_PR-62 22:34:44 + START_PACKAGES=/tmp/packages_start.txt 22:34:44 + END_PACKAGES=/tmp/packages_end.txt 22:34:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:34:44 + PACKAGES=/tmp/packages_start.txt 22:34:44 + '[' /w/workspace/undry_go-mod-configuration_PR-62 ']' 22:34:44 + PACKAGES=/tmp/packages_end.txt 22:34:44 + case "${OS_FAMILY}" in 22:34:44 + dpkg -l 22:34:44 + grep '^ii' 22:34:44 + '[' -f /tmp/packages_start.txt ']' 22:34:44 + '[' -f /tmp/packages_end.txt ']' 22:34:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:34:44 + '[' /w/workspace/undry_go-mod-configuration_PR-62 ']' 22:34:44 + mkdir -p /w/workspace/undry_go-mod-configuration_PR-62/archives/ 22:34:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_go-mod-configuration_PR-62/archives/ [Pipeline] echo 22:34:44 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_go-mod-configuration_PR-62/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:34:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:34:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:34:45 . [Pipeline] withDockerContainer 22:34:45 prd-ubuntu20.04-docker-8c-8g-63965 does not seem to be running inside a container 22:34:45 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_go-mod-configuration_PR-62/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_go-mod-configuration_PR-62 -v /w/workspace/undry_go-mod-configuration_PR-62:/w/workspace/undry_go-mod-configuration_PR-62:rw,z -v /w/workspace/undry_go-mod-configuration_PR-62@tmp:/w/workspace/undry_go-mod-configuration_PR-62@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:34:45 $ docker top 7ab1ea7e49e1bf91de19cde1e7241248e876c559bff3a22fa1b5cfca3ebad7db -eo pid,comm [Pipeline] { [Pipeline] sh 22:34:46 + touch /tmp/pre-build-complete [Pipeline] sh 22:34:46 + mkdir -p /var/log/sysstat [Pipeline] sh 22:34:46 + ls /var/log/sa-host 22:34:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:34:47 provisioning config files... 22:34:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_go-mod-configuration_PR-62@tmp/config1796655834602435988tmp [Pipeline] { [Pipeline] echo 22:34:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:34:47 ---> create-netrc.sh [Pipeline] } 22:34:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:34:47 ---> python-tools-install.sh [Pipeline] echo 22:34:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:34:48 ---> sudo-logs.sh 22:34:48 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:34:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:34:48 ---> job-cost.sh 22:34:48 lf-activate-venv: SKIPPING 22:34:48 DEBUG: total: 0.2199999988079071 22:34:48 INFO: Retrieving Stack Cost... 22:34:48 INFO: Retrieving Pricing Info for: v3-standard-8 22:34:49 INFO: Archiving Costs [Pipeline] echo 22:34:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:34:49 ---> logs-deploy.sh 22:34:49 lf-activate-venv: SKIPPING 22:34:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-configuration/PR-62/4 22:34:49 INFO: archiving workspace using pattern(s): 22:34:50 Archives upload complete. 22:34:50 INFO: archiving logs to Nexus