Pull request #168 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 95a54b94a2142859137191b62118521f2e30f5b4+56a76017a4c78fe79ed9b52823f4ed35d3337cbd (b2af35dc04bbaed8bc55935a94cda0820b100d98) 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-ssh4296345675213245284.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-ssh4768360683856680038.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 7928b8837ad34b090831a72fcdf53bff9dae4c17 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-168/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-168/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1160242453929108334.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-168/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9522210820107610541.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7928b8837ad34b090831a72fcdf53bff9dae4c17 # timeout=10 Commit message: "Merge pull request #462 from cherrycl/skip-arm-c-sdk-2" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh14073253317209431356.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-168/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-168/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17078313156128441150.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 7928b8837ad34b090831a72fcdf53bff9dae4c17 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that 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-record-replay, buildSnap:false] ========================================================= [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: app-record-replay-settings PROJECT: app-record-replay USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-record-replay DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true 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: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-36675 in /w/workspace/foundry_app-record-replay_PR-168 [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/app-record-replay.git > git init /w/workspace/foundry_app-record-replay_PR-168 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.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/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 56a76017a4c78fe79ed9b52823f4ed35d3337cbd into PR head commit 95a54b94a2142859137191b62118521f2e30f5b4 Merge succeeded, producing 95a54b94a2142859137191b62118521f2e30f5b4 Checking out Revision 95a54b94a2142859137191b62118521f2e30f5b4 (PR-168) Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v4" First time build. Skipping changelog. > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.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-record-replay.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/168/head:refs/remotes/origin/PR-168 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 95a54b94a2142859137191b62118521f2e30f5b4 # 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 56a76017a4c78fe79ed9b52823f4ed35d3337cbd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 95a54b94a2142859137191b62118521f2e30f5b4 # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 7928b8837ad34b090831a72fcdf53bff9dae4c17 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:30:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:30:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:30:10 ========================================================= 03:30:10 EdgeX Global Pipelines Version Info 03:30:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:30:11 ------------------- 03:30:11 stable info: 03:30:11 ------------------- 03:30:11 Commited By: Cherry Wang cherry@iotechsys.com 03:30:11 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 03:30:11 Message: update stable to v1.0.269 03:30:11 ------------------- 03:30:11 experimental info: 03:30:11 ------------------- 03:30:11 Commited By: **** collab-it+edgex@linuxfoundation.org 03:30:11 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 03:30:11 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:30:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 03:30:11 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 03:30:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:30:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:30:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:30:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 03:30:12 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:30:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:30:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:30:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:30:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:30:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 03:30:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:30:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:30:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:30:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:30:12 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:30:12 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:30:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:30:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:30:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:30:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:30:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:30:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:30:13 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:30:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:30:13 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:30:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-168 [Pipeline] echo 03:30:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-168 [Pipeline] echo 03:30:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-168 [Pipeline] echo 03:30:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 95a54b94a2142859137191b62118521f2e30f5b4 [Pipeline] echo 03:30:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 95a54b9 [Pipeline] echo 03:30:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:30:13 provisioning config files... 03:30:13 copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-168@tmp/config13374490426547902335tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:30:14 ---> ****-login.sh 03:30:14 nexus3.edgexfoundry.org:10001 03:30:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:30:14 Configure a credential helper to remove this warning. See 03:30:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:30:14 03:30:14 Login Succeeded 03:30:14 nexus3.edgexfoundry.org:10002 03:30:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:30:14 Configure a credential helper to remove this warning. See 03:30:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:30:14 03:30:14 Login Succeeded 03:30:14 nexus3.edgexfoundry.org:10003 03:30:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:30:14 Configure a credential helper to remove this warning. See 03:30:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:30:14 03:30:14 Login Succeeded 03:30:14 nexus3.edgexfoundry.org:10004 03:30:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:30:15 Configure a credential helper to remove this warning. See 03:30:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:30:15 03:30:15 Login Succeeded 03:30:15 ****.io 03:30:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:30:15 Configure a credential helper to remove this warning. See 03:30:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:30:15 03:30:15 Login Succeeded 03:30:15 ---> ****-login.sh ends [Pipeline] } 03:30:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:30:16 + git rev-list -1 --merges 95a54b94a2142859137191b62118521f2e30f5b4~1..95a54b94a2142859137191b62118521f2e30f5b4 [Pipeline] echo 03:30:16 -----------> git rev-list -1 --merges 95a54b94a2142859137191b62118521f2e30f5b4~1..95a54b94a2142859137191b62118521f2e30f5b4 95a54b94a2142859137191b62118521f2e30f5b4 [false] [Pipeline] sh 03:30:16 + git log --format=format:%s -1 95a54b94a2142859137191b62118521f2e30f5b4 [Pipeline] echo 03:30:16 ========================================================= 03:30:16 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:30:16 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:30:16 + git log --format=format:%s -1 95a54b94a2142859137191b62118521f2e30f5b4 [Pipeline] echo 03:30:17 [semverPrep] GIT_COMMIT: 95a54b94a2142859137191b62118521f2e30f5b4, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v4 [Pipeline] echo 03:30:17 [semverPrep] This is not a build commit. [Pipeline] sh 03:30:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:30:17 + grep -v github /etc/ssh/ssh_known_hosts 03:30:17 + [ -e /tmp/ssh_known_hosts ] 03:30:17 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:30:17 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:30:17 + sudo tee -a /etc/ssh/ssh_known_hosts 03:30:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:30:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:30:18 03:30:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:30:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:30:18 0.1.4: Pulling from edgex-devops/py-git-semver 03:30:18 b85a868b505f: Pulling fs layer 03:30:18 e2be974225ed: Pulling fs layer 03:30:18 339a4e72a1f5: Pulling fs layer 03:30:18 988bab9f4d93: Pulling fs layer 03:30:18 1469e6f7b9e6: Pulling fs layer 03:30:18 eaf3925da568: Pulling fs layer 03:30:18 bab4dde63d76: Pulling fs layer 03:30:18 bde34c3a00c8: Pulling fs layer 03:30:18 b352a97aabf1: Pulling fs layer 03:30:18 4872d77fe225: Pulling fs layer 03:30:18 5851b861e8e6: Pulling fs layer 03:30:18 1469e6f7b9e6: Waiting 03:30:18 eaf3925da568: Waiting 03:30:18 bab4dde63d76: Waiting 03:30:18 4872d77fe225: Waiting 03:30:18 bde34c3a00c8: Waiting 03:30:18 5851b861e8e6: Waiting 03:30:18 b352a97aabf1: Waiting 03:30:18 e2be974225ed: Verifying Checksum 03:30:18 e2be974225ed: Download complete 03:30:18 988bab9f4d93: Verifying Checksum 03:30:18 988bab9f4d93: Download complete 03:30:18 1469e6f7b9e6: Verifying Checksum 03:30:18 1469e6f7b9e6: Download complete 03:30:18 eaf3925da568: Verifying Checksum 03:30:18 eaf3925da568: Download complete 03:30:18 339a4e72a1f5: Verifying Checksum 03:30:18 339a4e72a1f5: Download complete 03:30:18 bde34c3a00c8: Verifying Checksum 03:30:18 bde34c3a00c8: Download complete 03:30:18 b352a97aabf1: Download complete 03:30:18 4872d77fe225: Verifying Checksum 03:30:18 4872d77fe225: Download complete 03:30:18 5851b861e8e6: Verifying Checksum 03:30:18 5851b861e8e6: Download complete 03:30:18 b85a868b505f: Verifying Checksum 03:30:18 b85a868b505f: Download complete 03:30:18 bab4dde63d76: Verifying Checksum 03:30:18 bab4dde63d76: Download complete 03:30:19 b85a868b505f: Pull complete 03:30:20 e2be974225ed: Pull complete 03:30:21 339a4e72a1f5: Pull complete 03:30:21 988bab9f4d93: Pull complete 03:30:21 1469e6f7b9e6: Pull complete 03:30:22 eaf3925da568: Pull complete 03:30:24 bab4dde63d76: Pull complete 03:30:24 bde34c3a00c8: Pull complete 03:30:24 b352a97aabf1: Pull complete 03:30:24 4872d77fe225: Pull complete 03:30:24 5851b861e8e6: Pull complete 03:30:24 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:30:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:30:24 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:30:25 prd-ubuntu20.04-docker-8c-8g-36675 does not seem to be running inside a container 03:30:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_app-record-replay_PR-168 -v /w/workspace/foundry_app-record-replay_PR-168:/w/workspace/foundry_app-record-replay_PR-168:rw,z -v /w/workspace/foundry_app-record-replay_PR-168@tmp:/w/workspace/foundry_app-record-replay_PR-168@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:30:28 $ docker top 65a6ab67ab256ea457034b3e634a11c451b141d12a17655715aacaa6cc1d0a9b -eo pid,comm 03:30:28 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). 03:30:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:30:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:30:28 [ssh-agent] Looking for ssh-agent implementation... 03:30:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:30:28 $ docker exec 65a6ab67ab256ea457034b3e634a11c451b141d12a17655715aacaa6cc1d0a9b ssh-agent 03:30:28 SSH_AUTH_SOCK=/tmp/ssh-MwEl2locRprr/agent.34 03:30:28 SSH_AGENT_PID=40 03:30:28 Running ssh-add (command line suppressed) 03:30:28 Identity added: /w/workspace/foundry_app-record-replay_PR-168@tmp/private_key_2153107702726178330.key (/w/workspace/foundry_app-record-replay_PR-168@tmp/private_key_2153107702726178330.key) 03:30:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:30:29 + git tag --points-at HEAD [Pipeline] } 03:30:29 $ docker exec --env ******** --env ******** 65a6ab67ab256ea457034b3e634a11c451b141d12a17655715aacaa6cc1d0a9b ssh-agent -k 03:30:29 unset SSH_AUTH_SOCK; 03:30:29 unset SSH_AGENT_PID; 03:30:29 echo Agent pid 40 killed; 03:30:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:30:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:30:29 [ssh-agent] Looking for ssh-agent implementation... 03:30:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:30:29 $ docker exec 65a6ab67ab256ea457034b3e634a11c451b141d12a17655715aacaa6cc1d0a9b ssh-agent 03:30:29 SSH_AUTH_SOCK=/tmp/ssh-o5k6I5PJm66E/agent.73 03:30:29 SSH_AGENT_PID=79 03:30:29 Running ssh-add (command line suppressed) 03:30:29 Identity added: /w/workspace/foundry_app-record-replay_PR-168@tmp/private_key_15719330856707558469.key (/w/workspace/foundry_app-record-replay_PR-168@tmp/private_key_15719330856707558469.key) 03:30:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:30:30 + git semver init 03:30:30 2025-01-14 03:30:30,329 [run_init] DEBUG init version:0.0.0 force:False 03:30:30 2025-01-14 03:30:30,330 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_app-record-replay_PR-168/.semver 03:30:30 2025-01-14 03:30:30,330 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/foundry_app-record-replay_PR-168/.semver 03:30:30 2025-01-14 03:30:30,331 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/foundry_app-record-replay_PR-168/.semver'], cwd=/w/workspace/foundry_app-record-replay_PR-168, universal_newlines=False, shell=None, istream=None) 03:30:32 2025-01-14 03:30:31,900 [append_file] DEBUG append to file:/w/workspace/foundry_app-record-replay_PR-168/.git/info/exclude 03:30:32 2025-01-14 03:30:31,901 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_app-record-replay_PR-168/.semver/PR-168 with force:False 03:30:32 2025-01-14 03:30:31,901 [write_file] DEBUG write to file:/w/workspace/foundry_app-record-replay_PR-168/.semver/PR-168 03:30:32 2025-01-14 03:30:31,905 [execute] INFO git cat-file --batch-check 03:30:32 2025-01-14 03:30:31,905 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_app-record-replay_PR-168/.semver, universal_newlines=False, shell=None, istream=) 03:30:32 2025-01-14 03:30:31,912 [execute] INFO git cat-file --batch 03:30:32 2025-01-14 03:30:31,912 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_app-record-replay_PR-168/.semver, universal_newlines=False, shell=None, istream=) 03:30:32 2025-01-14 03:30:31,918 [read_version] DEBUG read version from /w/workspace/foundry_app-record-replay_PR-168/.semver/PR-168 03:30:32 0.0.0 [Pipeline] } 03:30:32 $ docker exec --env ******** --env ******** 65a6ab67ab256ea457034b3e634a11c451b141d12a17655715aacaa6cc1d0a9b ssh-agent -k 03:30:32 unset SSH_AUTH_SOCK; 03:30:32 unset SSH_AGENT_PID; 03:30:32 echo Agent pid 79 killed; 03:30:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:30:32 + git semver [Pipeline] } 03:30:33 $ docker stop --time=1 65a6ab67ab256ea457034b3e634a11c451b141d12a17655715aacaa6cc1d0a9b 03:30:35 $ docker rm -f --volumes 65a6ab67ab256ea457034b3e634a11c451b141d12a17655715aacaa6cc1d0a9b [Pipeline] // withDockerContainer [Pipeline] sh 03:30:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:30:36 Stashed 1 file(s) [Pipeline] echo 03:30: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) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Test) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:30:37 provisioning config files... 03:30:37 copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-168@tmp/config3270547269872177819tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 03:30:37 ---> ****-login.sh 03:30:37 nexus3.edgexfoundry.org:10001 03:30:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:30:37 Configure a credential helper to remove this warning. See 03:30:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:30:37 03:30:37 Login Succeeded 03:30:37 nexus3.edgexfoundry.org:10002 03:30:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:30:37 Configure a credential helper to remove this warning. See 03:30:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:30:37 03:30:37 Login Succeeded 03:30:37 nexus3.edgexfoundry.org:10003 03:30:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:30:37 Configure a credential helper to remove this warning. See 03:30:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:30:37 03:30:37 Login Succeeded 03:30:37 nexus3.edgexfoundry.org:10004 03:30:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:30:37 Configure a credential helper to remove this warning. See 03:30:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:30:37 03:30:37 Login Succeeded 03:30:37 ****.io 03:30:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:30:38 Configure a credential helper to remove this warning. See 03:30:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:30:38 03:30:38 Login Succeeded 03:30:38 ---> ****-login.sh ends [Pipeline] } 03:30:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:30:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:30:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:30:38 ========================================================= 03:30:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 03:30:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:30:38 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 03:30:38 Sending build context to Docker daemon 9.861MB 03:30:38 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 03:30:38 Step 2/12 : FROM ${BASE} AS builder 03:30:38 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 03:30:38 da9db072f522: Pulling fs layer 03:30:38 6ef4a4ee8ca5: Pulling fs layer 03:30:38 06f05ace1117: Pulling fs layer 03:30:38 5fe327b54edc: Pulling fs layer 03:30:38 4f4fb700ef54: Pulling fs layer 03:30:38 92a5565b7b96: Pulling fs layer 03:30:38 ff9bb7016b71: Pulling fs layer 03:30:38 b67dba6c2c7d: Pulling fs layer 03:30:38 a813b0c90790: Pulling fs layer 03:30:38 5fe327b54edc: Waiting 03:30:38 4f4fb700ef54: Waiting 03:30:38 92a5565b7b96: Waiting 03:30:38 ff9bb7016b71: Waiting 03:30:38 b67dba6c2c7d: Waiting 03:30:38 a813b0c90790: Waiting 03:30:39 6ef4a4ee8ca5: Verifying Checksum 03:30:39 6ef4a4ee8ca5: Download complete 03:30:39 5fe327b54edc: Download complete 03:30:39 92a5565b7b96: Download complete 03:30:39 da9db072f522: Download complete 03:30:39 ff9bb7016b71: Verifying Checksum 03:30:39 ff9bb7016b71: Download complete 03:30:39 da9db072f522: Pull complete 03:30:39 a813b0c90790: Verifying Checksum 03:30:39 a813b0c90790: Download complete 03:30:39 6ef4a4ee8ca5: Pull complete 03:30:39 06f05ace1117: Verifying Checksum 03:30:39 06f05ace1117: Download complete 03:30:39 b67dba6c2c7d: Verifying Checksum 03:30:39 b67dba6c2c7d: Download complete 03:30:44 06f05ace1117: Pull complete 03:30:44 5fe327b54edc: Pull complete 03:30:44 4f4fb700ef54: Pull complete 03:30:44 92a5565b7b96: Pull complete 03:30:44 ff9bb7016b71: Pull complete 03:30:47 b67dba6c2c7d: Pull complete 03:30:48 a813b0c90790: Pull complete 03:30:48 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 03:30:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 03:30:48 ---> 3ba60ce46760 03:30:48 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 03:30:54 ---> Running in 9e8f4982be0a 03:30:54 Removing intermediate container 9e8f4982be0a 03:30:54 ---> ff54a5226ad6 03:30:54 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:30:54 ---> Running in 5876bb946022 03:30:54 Removing intermediate container 5876bb946022 03:30:54 ---> 7c4993cf9a55 03:30:54 Step 5/12 : ARG ADD_BUILD_TAGS="" 03:30:54 ---> Running in 39203beded83 03:30:54 Removing intermediate container 39203beded83 03:30:54 ---> ff0db8d3ef93 03:30:54 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:30:54 ---> Running in e137e139ce4e 03:30:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:30:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:30:54 OK: 248 MiB in 58 packages 03:30:55 Removing intermediate container e137e139ce4e 03:30:55 ---> bd6211ff1a0e 03:30:55 Step 7/12 : WORKDIR /app 03:30:55 ---> Running in 1aca1bb553af 03:30:55 Removing intermediate container 1aca1bb553af 03:30:55 ---> 7c17a62ab6f5 03:30:55 Step 8/12 : COPY go.mod vendor* ./ 03:30:55 ---> ebf269fa8e76 03:30:55 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:30:55 ---> Running in b2f59f63530d 03:31:51 Removing intermediate container b2f59f63530d 03:31:51 ---> 0ad789bc4609 03:31:51 Step 10/12 : COPY . . 03:31:51 ---> a78b95104ded 03:31:51 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:31:51 ---> Running in 3b7a27bfd013 03:31:51 Removing intermediate container 3b7a27bfd013 03:31:51 ---> 369bb2971895 03:31:51 Step 12/12 : RUN $MAKE 03:31:51 ---> Running in dd864ebb0844 03:31:51 noop 03:31:51 Removing intermediate container dd864ebb0844 03:31:51 ---> 94010e121fac 03:31:51 Successfully built 94010e121fac 03:31:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:31:52 + docker inspect -f . ci-base-image-x86_64 03:31:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:31:52 prd-ubuntu20.04-docker-8c-8g-36675 does not seem to be running inside a container 03:31:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_app-record-replay_PR-168 -v /w/workspace/foundry_app-record-replay_PR-168:/w/workspace/foundry_app-record-replay_PR-168:rw,z -v /w/workspace/foundry_app-record-replay_PR-168@tmp:/w/workspace/foundry_app-record-replay_PR-168@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 ******** ci-base-image-x86_64 cat 03:31:52 $ docker top 64262a1bf2702ac30fe0c7e5806b435973d87adaa4725cf470c47cc103670a79 -eo pid,comm [Pipeline] { [Pipeline] sh 03:31:53 + go version 03:31:53 go version go1.23.4 linux/amd64 [Pipeline] } 03:31:53 $ docker stop --time=1 64262a1bf2702ac30fe0c7e5806b435973d87adaa4725cf470c47cc103670a79 03:31:54 $ docker rm -f --volumes 64262a1bf2702ac30fe0c7e5806b435973d87adaa4725cf470c47cc103670a79 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:31:55 + docker inspect -f . ci-base-image-x86_64 03:31:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:31:55 prd-ubuntu20.04-docker-8c-8g-36675 does not seem to be running inside a container 03:31:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_app-record-replay_PR-168 -v /w/workspace/foundry_app-record-replay_PR-168:/w/workspace/foundry_app-record-replay_PR-168:rw,z -v /w/workspace/foundry_app-record-replay_PR-168@tmp:/w/workspace/foundry_app-record-replay_PR-168@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 ******** ci-base-image-x86_64 cat 03:31:55 $ docker top 0382d86bd4bf6f85c7c2be806c1da74628f11a4e2f3c493f7e1ebc82b04b9cc5 -eo pid,comm [Pipeline] { [Pipeline] sh 03:31:56 + git config --global --add safe.directory /w/workspace/foundry_app-record-replay_PR-168 [Pipeline] fileExists [Pipeline] sh 03:31:56 + make test 03:31:56 go test -race -coverprofile=coverage.out ./... 03:32:35 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 03:32:35 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 03:32:35 github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks coverage: 0.0% of statements 03:32:35 github.com/edgexfoundry/app-record-replay coverage: 0.0% of statements 03:32:35 ok github.com/edgexfoundry/app-record-replay/internal/app 1.025s coverage: 88.0% of statements 03:32:41 ok github.com/edgexfoundry/app-record-replay/internal/application 9.581s coverage: 98.7% of statements 03:32:41 ok github.com/edgexfoundry/app-record-replay/internal/controller 1.072s coverage: 89.7% of statements 03:32:41 ok github.com/edgexfoundry/app-record-replay/internal/utils 1.022s coverage: 100.0% of statements 03:32:48 running golangci-lint 03:32:48 golangci-lint has version 1.61.0 built with go1.23.1 from a1d6c560 on 2024-09-09T17:44:42Z 03:32:48 go version go1.23.4 linux/amd64 03:32:48 level=info msg="golangci-lint has version 1.61.0 built with go1.23.1 from a1d6c560 on 2024-09-09T17:44:42Z" 03:32:48 level=info msg="[config_reader] Used config file .golangci.yml" 03:32:48 level=info msg="[lintersdb] Active 7 linters: [errcheck gosec gosimple govet ineffassign staticcheck unused]" 03:33:10 level=info msg="[loader] Go packages loading at mode 575 (deps|exports_file|name|types_sizes|compiled_files|files|imports) took 20.827152208s" 03:33:10 level=info msg="[runner/filename_unadjuster] Pre-built 0 adjustments in 6.68716ms" 03:33:18 level=info msg="[linters_context/goanalysis] analyzers took 45.039418403s with top 10 stages: buildir: 36.318755065s, fact_deprecated: 1.533096041s, inspect: 1.442558878s, ctrlflow: 1.076461692s, printf: 938.190252ms, fact_purity: 717.260933ms, nilness: 609.621619ms, typedness: 387.829052ms, SA5012: 319.534735ms, gosec: 216.250873ms" 03:33:18 level=info msg="[runner] Issues before processing: 10, after processing: 0" 03:33:18 level=info msg="[runner] Processors filtering stat (in/out): filename_unadjuster: 10/10, skip_dirs: 10/10, identifier_marker: 10/10, cgo: 10/10, path_prettifier: 10/10, skip_files: 10/10, exclude: 10/10, invalid_issue: 10/10, autogenerated_exclude: 10/10, exclude-rules: 10/0" 03:33:18 level=info msg="[runner] processing took 840.631µs with stages: identifier_marker: 411.015µs, autogenerated_exclude: 150.312µs, path_prettifier: 119.673µs, exclude-rules: 97.791µs, skip_dirs: 42.44µs, invalid_issue: 5.58µs, cgo: 3.45µs, filename_unadjuster: 1.91µs, nolint: 1.72µs, max_same_issues: 1.27µs, fixer: 730ns, uniq_by_line: 660ns, max_from_linter: 650ns, path_shortener: 570ns, exclude: 480ns, skip_files: 460ns, sort_results: 420ns, severity-rules: 370ns, source_code: 300ns, diff: 300ns, max_per_file_from_linter: 280ns, path_prefixer: 250ns" 03:33:18 level=info msg="[runner] linters took 9.022367029s with stages: goanalysis_metalinter: 9.021378636s" 03:33:18 level=info msg="File cache stats: 0 entries of total size 0B" 03:33:18 level=info msg="Memory: 300 samples, avg is 222.8MB, max is 1068.3MB" 03:33:18 level=info msg="Execution took 29.862803666s" 03:33:18 go vet ./... 03:33:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:33:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:33:24 ./bin/test-attribution-txt.sh [Pipeline] echo 03:33:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:33:24 $ docker stop --time=1 0382d86bd4bf6f85c7c2be806c1da74628f11a4e2f3c493f7e1ebc82b04b9cc5 03:33:30 $ docker rm -f --volumes 0382d86bd4bf6f85c7c2be806c1da74628f11a4e2f3c493f7e1ebc82b04b9cc5 [Pipeline] // withDockerContainer [Pipeline] sh 03:33:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:33:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:33:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:33:32 + ls -al . 03:33:32 total 264 03:33:32 drwxrwxr-x 10 jenkins jenkins 4096 Jan 14 03:31 . 03:33:32 drwxrwxr-x 4 jenkins jenkins 4096 Jan 14 03:30 .. 03:33:32 -rw-rw-r-- 1 jenkins jenkins 119 Jan 14 03:30 .dockerignore 03:33:32 drwxrwxr-x 8 jenkins jenkins 4096 Jan 14 03:32 .git 03:33:32 drwxrwxr-x 3 jenkins jenkins 4096 Jan 14 03:30 .github 03:33:32 -rw-rw-r-- 1 jenkins jenkins 164 Jan 14 03:30 .gitignore 03:33:32 -rw-rw-r-- 1 jenkins jenkins 41 Jan 14 03:30 .golangci.yml 03:33:32 drwxr-xr-x 3 jenkins jenkins 4096 Jan 14 03:30 .semver 03:33:32 -rw-rw-r-- 1 jenkins jenkins 16870 Jan 14 03:30 Attribution.txt 03:33:32 -rw-rw-r-- 1 jenkins jenkins 458 Jan 14 03:30 CHANGELOG.md 03:33:32 -rw-rw-r-- 1 jenkins jenkins 1726 Jan 14 03:30 Dockerfile 03:33:32 -rw-rw-r-- 1 jenkins jenkins 677 Jan 14 03:30 GOVERNANCE.md 03:33:32 -rw-rw-r-- 1 jenkins jenkins 681 Jan 14 03:30 Jenkinsfile 03:33:32 -rw-rw-r-- 1 jenkins jenkins 10174 Jan 14 03:30 LICENSE 03:33:32 -rw-rw-r-- 1 jenkins jenkins 3851 Jan 14 03:30 Makefile 03:33:32 -rw-rw-r-- 1 jenkins jenkins 611 Jan 14 03:30 OWNERS.md 03:33:32 -rw-rw-r-- 1 jenkins jenkins 4107 Jan 14 03:30 README.md 03:33:32 -rw-rw-r-- 1 jenkins jenkins 7789 Jan 14 03:30 Record and Reply.postman_collection.json 03:33:32 -rw-rw-r-- 1 jenkins jenkins 5 Jan 14 03:30 VERSION 03:33:32 drwxrwxr-x 2 jenkins jenkins 4096 Jan 14 03:30 bin 03:33:32 -rw-r--r-- 1 jenkins jenkins 34247 Jan 14 03:32 coverage.out 03:33:32 -rw-rw-r-- 1 jenkins jenkins 6720 Jan 14 03:30 go.mod 03:33:32 -rw-rw-r-- 1 jenkins jenkins 87876 Jan 14 03:30 go.sum 03:33:32 drwxrwxr-x 7 jenkins jenkins 4096 Jan 14 03:30 internal 03:33:32 -rw-rw-r-- 1 jenkins jenkins 913 Jan 14 03:30 main.go 03:33:32 drwxrwxr-x 2 jenkins jenkins 4096 Jan 14 03:30 openapi 03:33:32 drwxrwxr-x 3 jenkins jenkins 4096 Jan 14 03:30 pkg 03:33:32 drwxrwxr-x 2 jenkins jenkins 4096 Jan 14 03:30 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:33:33 + docker build -t app-record-replay -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=95a54b94a2142859137191b62118521f2e30f5b4 --label arch=amd64 --label version=0.0.0 . 03:33:33 Sending build context to Docker daemon 9.895MB 03:33:33 Step 1/27 : ARG BASE=golang:1.23-alpine3.20 03:33:33 Step 2/27 : FROM ${BASE} AS builder 03:33:33 ---> 94010e121fac 03:33:33 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 03:33:33 ---> Running in 68ee325c13c5 03:33:34 Removing intermediate container 68ee325c13c5 03:33:34 ---> 5f8ec2ccdc3c 03:33:34 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 03:33:34 ---> Running in e6380b78d464 03:33:34 Removing intermediate container e6380b78d464 03:33:34 ---> 5caff798f2b7 03:33:34 Step 5/27 : ARG ADD_BUILD_TAGS="" 03:33:34 ---> Running in 32cab3d37bdd 03:33:35 Removing intermediate container 32cab3d37bdd 03:33:35 ---> f61a3c76f7e4 03:33:35 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:33:35 ---> Running in c351ce13f3be 03:33:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:33:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:33:36 OK: 248 MiB in 58 packages 03:33:37 Removing intermediate container c351ce13f3be 03:33:37 ---> c107395d191a 03:33:37 Step 7/27 : WORKDIR /app 03:33:37 ---> Running in fd63842f8ecb 03:33:37 Removing intermediate container fd63842f8ecb 03:33:37 ---> 9454e7ec8624 03:33:37 Step 8/27 : COPY go.mod vendor* ./ 03:33:37 ---> 89312159b8b5 03:33:37 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:33:37 ---> Running in d37fbef6b70c 03:33:37 Removing intermediate container d37fbef6b70c 03:33:37 ---> 7d5ee7a136bc 03:33:37 Step 10/27 : COPY . . 03:33:38 ---> 84e1370347cd 03:33:38 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:33:38 ---> Running in 5d683c458982 03:33:38 Removing intermediate container 5d683c458982 03:33:38 ---> d5a40f59fe93 03:33:38 Step 12/27 : RUN $MAKE 03:33:38 ---> Running in 065f9d229463 03:33:38 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v4/internal.SDKVersion=v4.0.0-dev.21 -X github.com/edgexfoundry/app-functions-sdk-go/v4/internal.ApplicationVersion=0.0.0 -bindnow" -trimpath -mod=readonly -buildmode=pie -o app-record-replay 03:34:17 Removing intermediate container 065f9d229463 03:34:17 ---> 260f1a612883 03:34:17 Step 13/27 : FROM alpine:3.20 03:34:17 3.20: Pulling from library/alpine 03:34:17 66a3d608f3fa: Pulling fs layer 03:34:17 66a3d608f3fa: Verifying Checksum 03:34:17 66a3d608f3fa: Download complete 03:34:17 66a3d608f3fa: Pull complete 03:34:17 Digest: sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 03:34:17 Status: Downloaded newer image for alpine:3.20 03:34:17 ---> e29df9b510ff 03:34:17 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:34:17 ---> Running in d3210e50011a 03:34:17 Removing intermediate container d3210e50011a 03:34:17 ---> 28aa42a71e7e 03:34:17 Step 15/27 : LABEL Name=app-record-replay Version=${VERSION} 03:34:17 ---> Running in 6445411437e4 03:34:17 Removing intermediate container 6445411437e4 03:34:17 ---> 9092f285258e 03:34:17 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 03:34:17 ---> Running in 823ce715fd06 03:34:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:34:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:34:17 (1/2) Installing ca-certificates (20241121-r1) 03:34:17 (2/2) Installing dumb-init (1.2.5-r3) 03:34:17 Executing busybox-1.36.1-r29.trigger 03:34:17 Executing ca-certificates-20241121-r1.trigger 03:34:17 OK: 9 MiB in 16 packages 03:34:17 Removing intermediate container 823ce715fd06 03:34:17 ---> 554eb0de69fe 03:34:17 Step 17/27 : RUN apk --no-cache upgrade 03:34:17 ---> Running in 8bf99c5f8b85 03:34:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:34:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:34:17 OK: 9 MiB in 16 packages 03:34:17 Removing intermediate container 8bf99c5f8b85 03:34:17 ---> 7b0b36e07149 03:34:17 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 03:34:17 ---> 4eeaced842cc 03:34:17 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 03:34:17 ---> 77d02b6c52d3 03:34:17 Step 20/27 : COPY --from=builder /app/res/ /res/ 03:34:17 ---> 8a4cc995f7fe 03:34:17 Step 21/27 : COPY --from=builder /app/app-record-replay /app-record-replay 03:34:17 ---> 7f2c3e995b5c 03:34:17 Step 22/27 : EXPOSE 59712 03:34:17 ---> Running in f978f14621e9 03:34:17 Removing intermediate container f978f14621e9 03:34:17 ---> 868449621066 03:34:17 Step 23/27 : ENTRYPOINT ["/app-record-replay"] 03:34:17 ---> Running in 74f703603ef0 03:34:17 Removing intermediate container 74f703603ef0 03:34:17 ---> 6459f812b0d5 03:34:17 Step 24/27 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 03:34:17 ---> Running in 009553166cd3 03:34:17 Removing intermediate container 009553166cd3 03:34:17 ---> b0fd22c6a7cd 03:34:17 Step 25/27 : LABEL arch=amd64 03:34:17 ---> Running in 2ec23860ff6c 03:34:17 Removing intermediate container 2ec23860ff6c 03:34:17 ---> bb54644c3bb3 03:34:17 Step 26/27 : LABEL git_sha=95a54b94a2142859137191b62118521f2e30f5b4 03:34:17 ---> Running in 89e8e501a3c9 03:34:17 Removing intermediate container 89e8e501a3c9 03:34:17 ---> f5b7deab4f64 03:34:17 Step 27/27 : LABEL version=0.0.0 03:34:17 ---> Running in 76b586179e78 03:34:17 Removing intermediate container 76b586179e78 03:34:17 ---> 064e7f3843a5 03:34:17 [Warning] One or more build-args [ARCH] were not consumed 03:34:17 Successfully built 064e7f3843a5 03:34:17 Successfully tagged app-record-replay:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:34:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:34:18 03:34:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:34:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:34:18 latest: Pulling from edgex-lftools-log-publisher 03:34:18 5eb5b503b376: Pulling fs layer 03:34:18 5c69ac0246d0: Pulling fs layer 03:34:18 ec43610c2a17: Pulling fs layer 03:34:18 3a2ae6a8a46f: Pulling fs layer 03:34:18 33b1e0a273af: Pulling fs layer 03:34:18 5d3b04190fa2: Pulling fs layer 03:34:18 2f39f015ded8: Pulling fs layer 03:34:18 33b1e0a273af: Waiting 03:34:18 5d3b04190fa2: Waiting 03:34:18 2f39f015ded8: Waiting 03:34:18 3a2ae6a8a46f: Waiting 03:34:18 5c69ac0246d0: Verifying Checksum 03:34:18 5c69ac0246d0: Download complete 03:34:18 3a2ae6a8a46f: Verifying Checksum 03:34:18 3a2ae6a8a46f: Download complete 03:34:18 33b1e0a273af: Download complete 03:34:18 5d3b04190fa2: Verifying Checksum 03:34:18 5d3b04190fa2: Download complete 03:34:18 ec43610c2a17: Download complete 03:34:19 5eb5b503b376: Verifying Checksum 03:34:19 5eb5b503b376: Download complete 03:34:19 2f39f015ded8: Download complete 03:34:20 5eb5b503b376: Pull complete 03:34:20 5c69ac0246d0: Pull complete 03:34:21 ec43610c2a17: Pull complete 03:34:21 3a2ae6a8a46f: Pull complete 03:34:21 33b1e0a273af: Pull complete 03:34:21 5d3b04190fa2: Pull complete 03:34:25 2f39f015ded8: Pull complete 03:34:25 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:34:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:34:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:34:25 prd-ubuntu20.04-docker-8c-8g-36675 does not seem to be running inside a container 03:34:25 $ 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/foundry_app-record-replay_PR-168 -v /w/workspace/foundry_app-record-replay_PR-168:/w/workspace/foundry_app-record-replay_PR-168:rw,z -v /w/workspace/foundry_app-record-replay_PR-168@tmp:/w/workspace/foundry_app-record-replay_PR-168@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:34:30 $ docker top 7a7685cceb3465189a83a2fbcc03c0ca57f24a999a9348f44453542ca8172c60 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:34:30 ---> job-cost.sh 03:34:30 lf-activate-venv: SKIPPING 03:34:30 INFO: No Stack... 03:34:31 INFO: Retrieving Pricing Info for: v3-standard-8 03:34:31 INFO: Archiving Costs [Pipeline] sh 03:34:31 + cat /w/workspace/foundry_app-record-replay_PR-168/archives/cost.csv 03:34:31 + cut -d, -f6 [Pipeline] lock 03:34:31 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-record-replay-PR-168-1-stack-cost] 03:34:31 Resource [jenkins-edgexfoundry-app-record-replay-PR-168-1-stack-cost] did not exist. Created. 03:34:31 Lock acquired on [Resource: jenkins-edgexfoundry-app-record-replay-PR-168-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:34:32 + echo total: 0.2199999988079071 [Pipeline] stash 03:34:32 Stashed 1 file(s) [Pipeline] } 03:34:32 Lock released on resource [Resource: jenkins-edgexfoundry-app-record-replay-PR-168-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:34:32 $ docker stop --time=1 7a7685cceb3465189a83a2fbcc03c0ca57f24a999a9348f44453542ca8172c60 03:34:33 $ docker rm -f --volumes 7a7685cceb3465189a83a2fbcc03c0ca57f24a999a9348f44453542ca8172c60 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 03:34:34 provisioning config files... 03:34:34 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/foundry_app-record-replay_PR-168@tmp/config10871297940912827589tmp [Pipeline] { [Pipeline] sh 03:34:34 + set +x 03:34:34 + curl -s https://codecov.io/bash 03:34:34 + bash -s -- 03:34:34 03:34:34 _____ _ 03:34:34 / ____| | | 03:34:34 | | ___ __| | ___ ___ _____ __ 03:34:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:34:34 | |___| (_) | (_| | __/ (_| (_) \ V / 03:34:34 \_____\___/ \__,_|\___|\___\___/ \_/ 03:34:34 Bash-1.0.6 03:34:34 03:34:34 03:34:34 ==> git version 2.25.1 found 03:34:34 ==> 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 03:34:34 Release-Date: 2020-01-08 03:34:34 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:34:34 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:34:34 ==> Jenkins CI detected. 03:34:34 current dir:  /w/workspace/foundry_app-record-replay_PR-168 03:34:34 project root: . 03:34:34 --> token set from env 03:34:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:34:34 ==> Running gcov in . (disable via -X gcov) 03:34:34 ==> Python coveragepy not found 03:34:34 ==> Searching for coverage reports in: 03:34:34 + . 03:34:34 -> Found 1 reports 03:34:34 ==> Detecting git/mercurial file structure 03:34:35 ==> Reading reports 03:34:35 + ./coverage.out bytes=34247 03:34:35 ==> Appending adjustments 03:34:35 https://docs.codecov.io/docs/fixing-reports 03:34:35 + Found adjustments 03:34:35 ==> Gzipping contents 03:34:35 8.0K /tmp/codecov.aZ9GpL.gz 03:34:35 ==> Uploading reports 03:34:35 url: https://codecov.io 03:34:35 query: branch=PR-168&commit=95a54b94a2142859137191b62118521f2e30f5b4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-168%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=168&job=&cmd_args= 03:34:35 -> Pinging Codecov 03:34:35 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-168&commit=95a54b94a2142859137191b62118521f2e30f5b4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-168%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=168&job=&cmd_args= 03:34:37 -> Uploading to 03:34:37 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/app-record-replay/95a54b94a2142859137191b62118521f2e30f5b4/d8bcd42e-9223-4ffb-8752-bb874c73c5af.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250114%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250114T033437Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=670c8a8f94014f931c25e9f493fd966a5a46227b215d5f877fef5fcaa77a4d95 03:34:37 % Total % Received % Xferd Average Speed Time Time Time Current 03:34:37 Dload Upload Total Spent Left Speed 03:34:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5391 0 0 100 5391 0 34337 --:--:-- --:--:-- --:--:-- 34120 100 5391 0 0 100 5391 0 34337 --:--:-- --:--:-- --:--:-- 34120 03:34:37 -> Reports have been successfully queued for processing at upstream connect error or disconnect/reset before headers. reset reason: connection terminationhttps://app.codecov.io/github/edgexfoundry/app-record-replay/commit/95a54b94a2142859137191b62118521f2e30f5b4 [Pipeline] } 03:34:37 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 03:34:39 + [ -d /w/workspace/foundry_app-record-replay_PR-168/archives ] 03:34:39 + ls -al /w/workspace/foundry_app-record-replay_PR-168/archives 03:34:39 total 16 03:34:39 drwxr-xr-x 3 root root 4096 Jan 14 03:34 . 03:34:39 drwxrwxr-x 11 jenkins jenkins 4096 Jan 14 03:34 .. 03:34:39 drwxr-xr-x 2 root root 4096 Jan 14 03:34 cost 03:34:39 -rw-r--r-- 1 root root 89 Jan 14 03:34 cost.csv 03:34:39 + sudo chown -R jenkins:jenkins /w/workspace/foundry_app-record-replay_PR-168/archives 03:34:39 + ls -al /w/workspace/foundry_app-record-replay_PR-168/archives 03:34:39 total 16 03:34:39 drwxr-xr-x 3 jenkins jenkins 4096 Jan 14 03:34 . 03:34:39 drwxrwxr-x 11 jenkins jenkins 4096 Jan 14 03:34 .. 03:34:39 drwxr-xr-x 2 jenkins jenkins 4096 Jan 14 03:34 cost 03:34:39 -rw-r--r-- 1 jenkins jenkins 89 Jan 14 03:34 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:34:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:34:41 ---> package-listing.sh 03:34:41 ++ facter osfamily 03:34:41 ++ tr '[:upper:]' '[:lower:]' 03:34:41 + OS_FAMILY=debian 03:34:41 + workspace=/w/workspace/foundry_app-record-replay_PR-168 03:34:41 + START_PACKAGES=/tmp/packages_start.txt 03:34:41 + END_PACKAGES=/tmp/packages_end.txt 03:34:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:34:41 + PACKAGES=/tmp/packages_start.txt 03:34:41 + '[' /w/workspace/foundry_app-record-replay_PR-168 ']' 03:34:41 + PACKAGES=/tmp/packages_end.txt 03:34:41 + case "${OS_FAMILY}" in 03:34:41 + dpkg -l 03:34:41 + grep '^ii' 03:34:41 + '[' -f /tmp/packages_start.txt ']' 03:34:41 + '[' -f /tmp/packages_end.txt ']' 03:34:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:34:41 + '[' /w/workspace/foundry_app-record-replay_PR-168 ']' 03:34:41 + mkdir -p /w/workspace/foundry_app-record-replay_PR-168/archives/ 03:34:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_app-record-replay_PR-168/archives/ [Pipeline] echo 03:34:41 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/foundry_app-record-replay_PR-168/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:34:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:34:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:34:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:34:42 prd-ubuntu20.04-docker-8c-8g-36675 does not seem to be running inside a container 03:34:42 $ 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/foundry_app-record-replay_PR-168/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_app-record-replay_PR-168 -v /w/workspace/foundry_app-record-replay_PR-168:/w/workspace/foundry_app-record-replay_PR-168:rw,z -v /w/workspace/foundry_app-record-replay_PR-168@tmp:/w/workspace/foundry_app-record-replay_PR-168@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-lftools-log-publisher:latest cat 03:34:43 $ docker top 504190dd38b73980a694cc6e980dd17acf6a55ae21bb4e23c9795678c6f833d6 -eo pid,comm [Pipeline] { [Pipeline] sh 03:34:44 + touch /tmp/pre-build-complete [Pipeline] sh 03:34:44 + mkdir -p /var/log/sysstat [Pipeline] sh 03:34:44 + ls /var/log/sa-host 03:34:44 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:34:45 provisioning config files... 03:34:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_app-record-replay_PR-168@tmp/config16292210183518380187tmp [Pipeline] { [Pipeline] echo 03:34:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:34:45 ---> create-netrc.sh [Pipeline] } 03:34:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:34:46 ---> python-tools-install.sh [Pipeline] echo 03:34:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:34:46 ---> sudo-logs.sh 03:34:46 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:34:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:34:46 ---> job-cost.sh 03:34:46 lf-activate-venv: SKIPPING 03:34:46 DEBUG: total: 0.2199999988079071 03:34:46 INFO: Retrieving Stack Cost... 03:34:47 INFO: Retrieving Pricing Info for: v3-standard-8 03:34:48 INFO: Archiving Costs [Pipeline] echo 03:34:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:34:48 ---> logs-deploy.sh 03:34:48 lf-activate-venv: SKIPPING 03:34:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-168/1 03:34:48 INFO: archiving workspace using pattern(s): 03:34:49 Archives upload complete. 03:34:49 INFO: archiving logs to Nexus