Pull request #172 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 532ec8cbf3c8d90c1e9a680c8467cbce41a4520b+8cc8644154733f4f3544498f2753be7fafbd0391 (8678fdac3b8fb0cb3853845a3677ae4461782c2d) 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-ssh12171162651087351749.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-ssh11271504289456941673.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-172/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-172/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3336040585364783005.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-172/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11582840663185876386.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-ssh16951608817218401093.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-172/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-172/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14779397805697810699.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-39388 in /w/workspace/foundry_app-record-replay_PR-172 [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-172 # 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 8cc8644154733f4f3544498f2753be7fafbd0391 into PR head commit 532ec8cbf3c8d90c1e9a680c8467cbce41a4520b Merge succeeded, producing 532ec8cbf3c8d90c1e9a680c8467cbce41a4520b Checking out Revision 532ec8cbf3c8d90c1e9a680c8467cbce41a4520b (PR-172) > 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/172/head:refs/remotes/origin/PR-172 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 532ec8cbf3c8d90c1e9a680c8467cbce41a4520b # 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 8cc8644154733f4f3544498f2753be7fafbd0391 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 532ec8cbf3c8d90c1e9a680c8467cbce41a4520b # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v4" First time build. Skipping changelog. > 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:12:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:12:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:12:30 ========================================================= 03:12:30 EdgeX Global Pipelines Version Info 03:12:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:12:31 ------------------- 03:12:31 stable info: 03:12:31 ------------------- 03:12:31 Commited By: Cherry Wang cherry@iotechsys.com 03:12:31 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 03:12:31 Message: update stable to v1.0.269 03:12:31 ------------------- 03:12:31 experimental info: 03:12:31 ------------------- 03:12:31 Commited By: **** collab-it+edgex@linuxfoundation.org 03:12:31 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 03:12:31 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:12:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 03:12:32 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 03:12:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:12:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:12:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:12:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 03:12:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:12:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:12:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:12:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:12:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:12:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 03:12:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:12:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:12:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:12:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:12:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:12:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:12:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:12:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:12:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:12:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:12:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:12:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:12:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:12:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:12:33 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:12:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-172 [Pipeline] echo 03:12:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-172 [Pipeline] echo 03:12:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-172 [Pipeline] echo 03:12:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 532ec8cbf3c8d90c1e9a680c8467cbce41a4520b [Pipeline] echo 03:12:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 532ec8c [Pipeline] echo 03:12:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:12:33 provisioning config files... 03:12:33 copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-172@tmp/config17248610554589843010tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:12:34 ---> ****-login.sh 03:12:34 nexus3.edgexfoundry.org:10001 03:12:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:12:34 Configure a credential helper to remove this warning. See 03:12:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:12:34 03:12:34 Login Succeeded 03:12:34 nexus3.edgexfoundry.org:10002 03:12:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:12:34 Configure a credential helper to remove this warning. See 03:12:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:12:34 03:12:34 Login Succeeded 03:12:34 nexus3.edgexfoundry.org:10003 03:12:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:12:35 Configure a credential helper to remove this warning. See 03:12:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:12:35 03:12:35 Login Succeeded 03:12:35 nexus3.edgexfoundry.org:10004 03:12:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:12:35 Configure a credential helper to remove this warning. See 03:12:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:12:35 03:12:35 Login Succeeded 03:12:35 ****.io 03:12:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:12:35 Configure a credential helper to remove this warning. See 03:12:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:12:35 03:12:35 Login Succeeded 03:12:35 ---> ****-login.sh ends [Pipeline] } 03:12:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:12:36 + git rev-list -1 --merges 532ec8cbf3c8d90c1e9a680c8467cbce41a4520b~1..532ec8cbf3c8d90c1e9a680c8467cbce41a4520b [Pipeline] echo 03:12:36 -----------> git rev-list -1 --merges 532ec8cbf3c8d90c1e9a680c8467cbce41a4520b~1..532ec8cbf3c8d90c1e9a680c8467cbce41a4520b 532ec8cbf3c8d90c1e9a680c8467cbce41a4520b [false] [Pipeline] sh 03:12:36 + git log --format=format:%s -1 532ec8cbf3c8d90c1e9a680c8467cbce41a4520b [Pipeline] echo 03:12:36 ========================================================= 03:12:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:12:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:12:36 + git log --format=format:%s -1 532ec8cbf3c8d90c1e9a680c8467cbce41a4520b [Pipeline] echo 03:12:36 [semverPrep] GIT_COMMIT: 532ec8cbf3c8d90c1e9a680c8467cbce41a4520b, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v4 [Pipeline] echo 03:12:36 [semverPrep] This is not a build commit. [Pipeline] sh 03:12:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:12:37 + grep -v github /etc/ssh/ssh_known_hosts 03:12:37 + [ -e /tmp/ssh_known_hosts ] 03:12:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:12:37 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:12:37 + sudo tee -a /etc/ssh/ssh_known_hosts 03:12:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:12:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:12:37 03:12:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:12:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:12:38 0.1.4: Pulling from edgex-devops/py-git-semver 03:12:38 b85a868b505f: Pulling fs layer 03:12:38 e2be974225ed: Pulling fs layer 03:12:38 339a4e72a1f5: Pulling fs layer 03:12:38 988bab9f4d93: Pulling fs layer 03:12:38 1469e6f7b9e6: Pulling fs layer 03:12:38 eaf3925da568: Pulling fs layer 03:12:38 bab4dde63d76: Pulling fs layer 03:12:38 bde34c3a00c8: Pulling fs layer 03:12:38 b352a97aabf1: Pulling fs layer 03:12:38 4872d77fe225: Pulling fs layer 03:12:38 5851b861e8e6: Pulling fs layer 03:12:38 988bab9f4d93: Waiting 03:12:38 bab4dde63d76: Waiting 03:12:38 eaf3925da568: Waiting 03:12:38 5851b861e8e6: Waiting 03:12:38 bde34c3a00c8: Waiting 03:12:38 4872d77fe225: Waiting 03:12:38 1469e6f7b9e6: Waiting 03:12:38 e2be974225ed: Download complete 03:12:38 988bab9f4d93: Download complete 03:12:38 1469e6f7b9e6: Verifying Checksum 03:12:38 1469e6f7b9e6: Download complete 03:12:38 339a4e72a1f5: Verifying Checksum 03:12:38 eaf3925da568: Download complete 03:12:38 339a4e72a1f5: Download complete 03:12:38 bde34c3a00c8: Download complete 03:12:38 b352a97aabf1: Verifying Checksum 03:12:38 b352a97aabf1: Download complete 03:12:38 4872d77fe225: Verifying Checksum 03:12:38 4872d77fe225: Download complete 03:12:38 5851b861e8e6: Verifying Checksum 03:12:38 5851b861e8e6: Download complete 03:12:38 b85a868b505f: Verifying Checksum 03:12:38 b85a868b505f: Download complete 03:12:38 bab4dde63d76: Verifying Checksum 03:12:38 bab4dde63d76: Download complete 03:12:39 b85a868b505f: Pull complete 03:12:39 e2be974225ed: Pull complete 03:12:40 339a4e72a1f5: Pull complete 03:12:40 988bab9f4d93: Pull complete 03:12:41 1469e6f7b9e6: Pull complete 03:12:41 eaf3925da568: Pull complete 03:12:42 bab4dde63d76: Pull complete 03:12:42 bde34c3a00c8: Pull complete 03:12:43 b352a97aabf1: Pull complete 03:12:43 4872d77fe225: Pull complete 03:12:43 5851b861e8e6: Pull complete 03:12:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:12:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:12:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:12:43 prd-ubuntu20.04-docker-8c-8g-39388 does not seem to be running inside a container 03:12:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_app-record-replay_PR-172 -v /w/workspace/foundry_app-record-replay_PR-172:/w/workspace/foundry_app-record-replay_PR-172:rw,z -v /w/workspace/foundry_app-record-replay_PR-172@tmp:/w/workspace/foundry_app-record-replay_PR-172@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:12:45 $ docker top dd97ead0b818875286dda5ae814182f779ed327aa4ed9b41ea1fbddd4db5edfe -eo pid,comm 03:12:45 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:12:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:12:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:12:45 [ssh-agent] Looking for ssh-agent implementation... 03:12:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:12:45 $ docker exec dd97ead0b818875286dda5ae814182f779ed327aa4ed9b41ea1fbddd4db5edfe ssh-agent 03:12:46 SSH_AUTH_SOCK=/tmp/ssh-miArY6V5MUIJ/agent.32 03:12:46 SSH_AGENT_PID=38 03:12:46 Running ssh-add (command line suppressed) 03:12:46 Identity added: /w/workspace/foundry_app-record-replay_PR-172@tmp/private_key_5479684828809578605.key (/w/workspace/foundry_app-record-replay_PR-172@tmp/private_key_5479684828809578605.key) 03:12:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:12:46 + git tag --points-at HEAD [Pipeline] } 03:12:46 $ docker exec --env ******** --env ******** dd97ead0b818875286dda5ae814182f779ed327aa4ed9b41ea1fbddd4db5edfe ssh-agent -k 03:12:46 unset SSH_AUTH_SOCK; 03:12:46 unset SSH_AGENT_PID; 03:12:46 echo Agent pid 38 killed; 03:12:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:12:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:12:46 [ssh-agent] Looking for ssh-agent implementation... 03:12:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:12:46 $ docker exec dd97ead0b818875286dda5ae814182f779ed327aa4ed9b41ea1fbddd4db5edfe ssh-agent 03:12:47 SSH_AUTH_SOCK=/tmp/ssh-wgsLlrBAzBm3/agent.71 03:12:47 SSH_AGENT_PID=77 03:12:47 Running ssh-add (command line suppressed) 03:12:47 Identity added: /w/workspace/foundry_app-record-replay_PR-172@tmp/private_key_17401485790243228950.key (/w/workspace/foundry_app-record-replay_PR-172@tmp/private_key_17401485790243228950.key) 03:12:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:12:47 + git semver init 03:12:47 2025-02-21 03:12:47,664 [run_init] DEBUG init version:0.0.0 force:False 03:12:47 2025-02-21 03:12:47,665 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_app-record-replay_PR-172/.semver 03:12:47 2025-02-21 03:12:47,666 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/foundry_app-record-replay_PR-172/.semver 03:12:47 2025-02-21 03:12:47,666 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/foundry_app-record-replay_PR-172/.semver'], cwd=/w/workspace/foundry_app-record-replay_PR-172, universal_newlines=False, shell=None, istream=None) 03:12:49 2025-02-21 03:12:49,115 [append_file] DEBUG append to file:/w/workspace/foundry_app-record-replay_PR-172/.git/info/exclude 03:12:49 2025-02-21 03:12:49,115 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_app-record-replay_PR-172/.semver/PR-172 with force:False 03:12:49 2025-02-21 03:12:49,115 [write_file] DEBUG write to file:/w/workspace/foundry_app-record-replay_PR-172/.semver/PR-172 03:12:49 2025-02-21 03:12:49,120 [execute] INFO git cat-file --batch-check 03:12:49 2025-02-21 03:12:49,121 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_app-record-replay_PR-172/.semver, universal_newlines=False, shell=None, istream=) 03:12:49 2025-02-21 03:12:49,127 [execute] INFO git cat-file --batch 03:12:49 2025-02-21 03:12:49,127 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_app-record-replay_PR-172/.semver, universal_newlines=False, shell=None, istream=) 03:12:49 2025-02-21 03:12:49,134 [read_version] DEBUG read version from /w/workspace/foundry_app-record-replay_PR-172/.semver/PR-172 03:12:49 0.0.0 [Pipeline] } 03:12:49 $ docker exec --env ******** --env ******** dd97ead0b818875286dda5ae814182f779ed327aa4ed9b41ea1fbddd4db5edfe ssh-agent -k 03:12:49 unset SSH_AUTH_SOCK; 03:12:49 unset SSH_AGENT_PID; 03:12:49 echo Agent pid 77 killed; 03:12:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:12:49 + git semver [Pipeline] } 03:12:50 $ docker stop --time=1 dd97ead0b818875286dda5ae814182f779ed327aa4ed9b41ea1fbddd4db5edfe 03:12:51 $ docker rm -f --volumes dd97ead0b818875286dda5ae814182f779ed327aa4ed9b41ea1fbddd4db5edfe [Pipeline] // withDockerContainer [Pipeline] sh 03:12:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:12:52 Stashed 1 file(s) [Pipeline] echo 03:12:52 [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:12:53 provisioning config files... 03:12:53 copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-172@tmp/config962641096704136129tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 03:12:53 ---> ****-login.sh 03:12:53 nexus3.edgexfoundry.org:10001 03:12:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:12:53 Configure a credential helper to remove this warning. See 03:12:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:12:53 03:12:53 Login Succeeded 03:12:53 nexus3.edgexfoundry.org:10002 03:12:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:12:53 Configure a credential helper to remove this warning. See 03:12:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:12:53 03:12:53 Login Succeeded 03:12:53 nexus3.edgexfoundry.org:10003 03:12:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:12:54 Configure a credential helper to remove this warning. See 03:12:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:12:54 03:12:54 Login Succeeded 03:12:54 nexus3.edgexfoundry.org:10004 03:12:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:12:54 Configure a credential helper to remove this warning. See 03:12:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:12:54 03:12:54 Login Succeeded 03:12:54 ****.io 03:12:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:12:54 Configure a credential helper to remove this warning. See 03:12:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:12:54 03:12:54 Login Succeeded 03:12:54 ---> ****-login.sh ends [Pipeline] } 03:12:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:12:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:12:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:12:54 ========================================================= 03:12:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 03:12:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:12:55 + 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:12:55 Sending build context to Docker daemon 9.873MB 03:12:55 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 03:12:55 Step 2/12 : FROM ${BASE} AS builder 03:12:55 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 03:12:55 da9db072f522: Pulling fs layer 03:12:55 6ef4a4ee8ca5: Pulling fs layer 03:12:55 06f05ace1117: Pulling fs layer 03:12:55 5fe327b54edc: Pulling fs layer 03:12:55 4f4fb700ef54: Pulling fs layer 03:12:55 92a5565b7b96: Pulling fs layer 03:12:55 ff9bb7016b71: Pulling fs layer 03:12:55 b67dba6c2c7d: Pulling fs layer 03:12:55 a813b0c90790: Pulling fs layer 03:12:55 5fe327b54edc: Waiting 03:12:55 4f4fb700ef54: Waiting 03:12:55 ff9bb7016b71: Waiting 03:12:55 b67dba6c2c7d: Waiting 03:12:55 a813b0c90790: Waiting 03:12:55 92a5565b7b96: Waiting 03:12:55 6ef4a4ee8ca5: Verifying Checksum 03:12:55 6ef4a4ee8ca5: Download complete 03:12:55 5fe327b54edc: Verifying Checksum 03:12:55 5fe327b54edc: Download complete 03:12:55 4f4fb700ef54: Verifying Checksum 03:12:55 4f4fb700ef54: Download complete 03:12:55 da9db072f522: Download complete 03:12:55 92a5565b7b96: Verifying Checksum 03:12:55 92a5565b7b96: Download complete 03:12:55 ff9bb7016b71: Verifying Checksum 03:12:55 ff9bb7016b71: Download complete 03:12:55 da9db072f522: Pull complete 03:12:55 a813b0c90790: Verifying Checksum 03:12:55 a813b0c90790: Download complete 03:12:55 6ef4a4ee8ca5: Pull complete 03:12:55 06f05ace1117: Verifying Checksum 03:12:55 06f05ace1117: Download complete 03:12:56 b67dba6c2c7d: Verifying Checksum 03:12:56 b67dba6c2c7d: Download complete 03:12:59 06f05ace1117: Pull complete 03:12:59 5fe327b54edc: Pull complete 03:12:59 4f4fb700ef54: Pull complete 03:12:59 92a5565b7b96: Pull complete 03:12:59 ff9bb7016b71: Pull complete 03:13:02 b67dba6c2c7d: Pull complete 03:13:02 a813b0c90790: Pull complete 03:13:02 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 03:13:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 03:13:02 ---> 3ba60ce46760 03:13:02 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 03:13:07 ---> Running in 5829a0b34845 03:13:07 Removing intermediate container 5829a0b34845 03:13:07 ---> 3de73b545253 03:13:07 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:13:07 ---> Running in 4b604803cf0f 03:13:07 Removing intermediate container 4b604803cf0f 03:13:07 ---> e2633c4fa286 03:13:07 Step 5/12 : ARG ADD_BUILD_TAGS="" 03:13:07 ---> Running in e095f15560b9 03:13:07 Removing intermediate container e095f15560b9 03:13:07 ---> 0591c026b916 03:13:07 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:13:07 ---> Running in 5aac5f7e40d1 03:13:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:13:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:13:08 OK: 248 MiB in 58 packages 03:13:08 Removing intermediate container 5aac5f7e40d1 03:13:08 ---> 8e2a6733b7ac 03:13:08 Step 7/12 : WORKDIR /app 03:13:08 ---> Running in c3fc22292b4b 03:13:08 Removing intermediate container c3fc22292b4b 03:13:08 ---> e4c7c482e6ed 03:13:08 Step 8/12 : COPY go.mod vendor* ./ 03:13:08 ---> 64ced9efbf2d 03:13:08 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:13:08 ---> Running in 7e87283e70e3 03:13:55 Removing intermediate container 7e87283e70e3 03:13:55 ---> 74addf097e51 03:13:55 Step 10/12 : COPY . . 03:13:55 ---> 0191804adaa9 03:13:55 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:13:55 ---> Running in 3ab6ee64ac40 03:13:55 Removing intermediate container 3ab6ee64ac40 03:13:55 ---> 91c5757a5089 03:13:55 Step 12/12 : RUN $MAKE 03:13:55 ---> Running in 4172adf50bf3 03:13:55 noop 03:13:55 Removing intermediate container 4172adf50bf3 03:13:55 ---> 406c9f3bf5d6 03:13:55 Successfully built 406c9f3bf5d6 03:13:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:13:55 + docker inspect -f . ci-base-image-x86_64 03:13:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:13:56 prd-ubuntu20.04-docker-8c-8g-39388 does not seem to be running inside a container 03:13:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_app-record-replay_PR-172 -v /w/workspace/foundry_app-record-replay_PR-172:/w/workspace/foundry_app-record-replay_PR-172:rw,z -v /w/workspace/foundry_app-record-replay_PR-172@tmp:/w/workspace/foundry_app-record-replay_PR-172@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:13:56 $ docker top cbbb32fe9d24b5e37bf0a9d92a4beafa1ec5798d91cee3127afbb37759042168 -eo pid,comm [Pipeline] { [Pipeline] sh 03:13:56 + go version 03:13:56 go version go1.23.4 linux/amd64 [Pipeline] } 03:13:56 $ docker stop --time=1 cbbb32fe9d24b5e37bf0a9d92a4beafa1ec5798d91cee3127afbb37759042168 03:13:58 $ docker rm -f --volumes cbbb32fe9d24b5e37bf0a9d92a4beafa1ec5798d91cee3127afbb37759042168 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:13:59 + docker inspect -f . ci-base-image-x86_64 03:13:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:13:59 prd-ubuntu20.04-docker-8c-8g-39388 does not seem to be running inside a container 03:13:59 $ 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-172 -v /w/workspace/foundry_app-record-replay_PR-172:/w/workspace/foundry_app-record-replay_PR-172:rw,z -v /w/workspace/foundry_app-record-replay_PR-172@tmp:/w/workspace/foundry_app-record-replay_PR-172@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:13:59 $ docker top 24d2378f926e5b25a19687d66b30515567fae72abba06214c145be7c86cf2ae9 -eo pid,comm [Pipeline] { [Pipeline] sh 03:13:59 + git config --global --add safe.directory /w/workspace/foundry_app-record-replay_PR-172 [Pipeline] fileExists [Pipeline] sh 03:14:00 + make test 03:14:00 go test -race -coverprofile=coverage.out ./... 03:14:39 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 03:14:39 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 03:14:39 github.com/edgexfoundry/app-record-replay coverage: 0.0% of statements 03:14:39 github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks coverage: 0.0% of statements 03:14:39 ok github.com/edgexfoundry/app-record-replay/internal/app 1.029s coverage: 88.0% of statements 03:14:45 ok github.com/edgexfoundry/app-record-replay/internal/application 9.596s coverage: 98.7% of statements 03:14:45 ok github.com/edgexfoundry/app-record-replay/internal/controller 1.094s coverage: 89.7% of statements 03:14:45 ok github.com/edgexfoundry/app-record-replay/internal/utils 1.019s coverage: 100.0% of statements 03:14:45 running golangci-lint 03:14:45 golangci-lint has version 1.61.0 built with go1.23.1 from a1d6c560 on 2024-09-09T17:44:42Z 03:14:45 go version go1.23.4 linux/amd64 03:14:45 level=info msg="golangci-lint has version 1.61.0 built with go1.23.1 from a1d6c560 on 2024-09-09T17:44:42Z" 03:14:45 level=info msg="[config_reader] Used config file .golangci.yml" 03:14:45 level=info msg="[lintersdb] Active 7 linters: [errcheck gosec gosimple govet ineffassign staticcheck unused]" 03:15:12 level=info msg="[loader] Go packages loading at mode 575 (compiled_files|deps|files|name|exports_file|imports|types_sizes) took 24.256371306s" 03:15:12 level=info msg="[runner/filename_unadjuster] Pre-built 0 adjustments in 7.240268ms" 03:15:22 level=info msg="[linters_context/goanalysis] analyzers took 1m1.711155189s with top 10 stages: buildir: 51.146521729s, inspect: 2.432342435s, fact_deprecated: 1.976059471s, printf: 1.190094979s, ctrlflow: 1.092618266s, fact_purity: 1.044802164s, nilness: 919.729591ms, SA5012: 526.709739ms, tokenfileanalyzer: 464.919608ms, typedness: 457.720079ms" 03:15:22 level=info msg="[runner] Issues before processing: 10, after processing: 0" 03:15:22 level=info msg="[runner] Processors filtering stat (in/out): identifier_marker: 10/10, exclude: 10/10, exclude-rules: 10/0, invalid_issue: 10/10, path_prettifier: 10/10, skip_files: 10/10, skip_dirs: 10/10, filename_unadjuster: 10/10, cgo: 10/10, autogenerated_exclude: 10/10" 03:15:22 level=info msg="[runner] processing took 515.974µs with stages: identifier_marker: 265.193µs, autogenerated_exclude: 90.86µs, exclude-rules: 58.88µs, path_prettifier: 42.79µs, skip_dirs: 37.851µs, cgo: 10.09µs, invalid_issue: 2.51µs, filename_unadjuster: 1.54µs, nolint: 1.41µs, max_same_issues: 1.05µs, exclude: 680ns, fixer: 630ns, uniq_by_line: 550ns, skip_files: 320ns, max_from_linter: 310ns, sort_results: 280ns, path_prefixer: 250ns, severity-rules: 200ns, source_code: 170ns, diff: 140ns, path_shortener: 140ns, max_per_file_from_linter: 130ns" 03:15:22 level=info msg="[runner] linters took 12.20210336s with stages: goanalysis_metalinter: 12.201472385s" 03:15:22 level=info msg="File cache stats: 0 entries of total size 0B" 03:15:22 level=info msg="Memory: 364 samples, avg is 241.1MB, max is 1097.0MB" 03:15:22 level=info msg="Execution took 36.472682284s" 03:15:22 go vet ./... 03:15:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:15:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:15:28 ./bin/test-attribution-txt.sh 03:15:28 An attribution for github.com/blang/semver/v4 is missing from Attribution.txt, please add [Pipeline] echo 03:15:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:15:28 $ docker stop --time=1 24d2378f926e5b25a19687d66b30515567fae72abba06214c145be7c86cf2ae9 03:15:33 $ docker rm -f --volumes 24d2378f926e5b25a19687d66b30515567fae72abba06214c145be7c86cf2ae9 [Pipeline] // withDockerContainer [Pipeline] sh 03:15:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:15:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:15:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:15:35 + ls -al . 03:15:35 total 264 03:15:35 drwxrwxr-x 10 jenkins jenkins 4096 Feb 21 03:14 . 03:15:35 drwxrwxr-x 4 jenkins jenkins 4096 Feb 21 03:12 .. 03:15:35 -rw-rw-r-- 1 jenkins jenkins 119 Feb 21 03:12 .dockerignore 03:15:35 drwxrwxr-x 8 jenkins jenkins 4096 Feb 21 03:14 .git 03:15:35 drwxrwxr-x 3 jenkins jenkins 4096 Feb 21 03:12 .github 03:15:35 -rw-rw-r-- 1 jenkins jenkins 164 Feb 21 03:12 .gitignore 03:15:35 -rw-rw-r-- 1 jenkins jenkins 41 Feb 21 03:12 .golangci.yml 03:15:35 drwxr-xr-x 3 jenkins jenkins 4096 Feb 21 03:12 .semver 03:15:35 -rw-rw-r-- 1 jenkins jenkins 16870 Feb 21 03:12 Attribution.txt 03:15:35 -rw-rw-r-- 1 jenkins jenkins 458 Feb 21 03:12 CHANGELOG.md 03:15:35 -rw-rw-r-- 1 jenkins jenkins 1726 Feb 21 03:12 Dockerfile 03:15:35 -rw-rw-r-- 1 jenkins jenkins 677 Feb 21 03:12 GOVERNANCE.md 03:15:35 -rw-rw-r-- 1 jenkins jenkins 681 Feb 21 03:12 Jenkinsfile 03:15:35 -rw-rw-r-- 1 jenkins jenkins 10174 Feb 21 03:12 LICENSE 03:15:35 -rw-rw-r-- 1 jenkins jenkins 3851 Feb 21 03:12 Makefile 03:15:35 -rw-rw-r-- 1 jenkins jenkins 611 Feb 21 03:12 OWNERS.md 03:15:35 -rw-rw-r-- 1 jenkins jenkins 4107 Feb 21 03:12 README.md 03:15:35 -rw-rw-r-- 1 jenkins jenkins 7789 Feb 21 03:12 Record and Reply.postman_collection.json 03:15:35 -rw-rw-r-- 1 jenkins jenkins 5 Feb 21 03:12 VERSION 03:15:35 drwxrwxr-x 2 jenkins jenkins 4096 Feb 21 03:12 bin 03:15:35 -rw-r--r-- 1 jenkins jenkins 34247 Feb 21 03:14 coverage.out 03:15:35 -rw-rw-r-- 1 jenkins jenkins 6721 Feb 21 03:12 go.mod 03:15:35 -rw-rw-r-- 1 jenkins jenkins 88240 Feb 21 03:12 go.sum 03:15:35 drwxrwxr-x 7 jenkins jenkins 4096 Feb 21 03:12 internal 03:15:35 -rw-rw-r-- 1 jenkins jenkins 913 Feb 21 03:12 main.go 03:15:35 drwxrwxr-x 2 jenkins jenkins 4096 Feb 21 03:12 openapi 03:15:35 drwxrwxr-x 3 jenkins jenkins 4096 Feb 21 03:12 pkg 03:15:35 drwxrwxr-x 2 jenkins jenkins 4096 Feb 21 03:12 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:15:35 + 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=532ec8cbf3c8d90c1e9a680c8467cbce41a4520b --label arch=amd64 --label version=0.0.0 . 03:15:35 Sending build context to Docker daemon 9.908MB 03:15:35 Step 1/27 : ARG BASE=golang:1.23-alpine3.20 03:15:35 Step 2/27 : FROM ${BASE} AS builder 03:15:35 ---> 406c9f3bf5d6 03:15:35 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 03:15:36 ---> Running in d4c53650e7aa 03:15:37 Removing intermediate container d4c53650e7aa 03:15:37 ---> 6f9ddbb46394 03:15:37 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 03:15:38 ---> Running in ae8a97dd1bdb 03:15:38 Removing intermediate container ae8a97dd1bdb 03:15:38 ---> d494b198d1ab 03:15:38 Step 5/27 : ARG ADD_BUILD_TAGS="" 03:15:39 ---> Running in b400fd41c4bc 03:15:39 Removing intermediate container b400fd41c4bc 03:15:39 ---> fddbae956e8b 03:15:39 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:15:39 ---> Running in f84b5468dd72 03:15:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:15:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:15:40 OK: 248 MiB in 58 packages 03:15:42 Removing intermediate container f84b5468dd72 03:15:42 ---> 5adf913e80d5 03:15:42 Step 7/27 : WORKDIR /app 03:15:42 ---> Running in ac455f0f4339 03:15:42 Removing intermediate container ac455f0f4339 03:15:42 ---> 914afa47d108 03:15:42 Step 8/27 : COPY go.mod vendor* ./ 03:15:43 ---> 92666381eb19 03:15:43 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:15:43 ---> Running in d8612d7da8df 03:15:44 Removing intermediate container d8612d7da8df 03:15:44 ---> cfd98b7e82de 03:15:44 Step 10/27 : COPY . . 03:15:44 ---> 1948c75e84d6 03:15:44 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:15:44 ---> Running in 60fad183cdda 03:15:44 Removing intermediate container 60fad183cdda 03:15:44 ---> c4406333af8e 03:15:44 Step 12/27 : RUN $MAKE 03:15:44 ---> Running in bd9d14b42501 03:15:44 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v4/internal.SDKVersion=v4.0.0-dev.28 -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:16:23 Removing intermediate container bd9d14b42501 03:16:23 ---> 1d7b961a0c75 03:16:23 Step 13/27 : FROM alpine:3.20 03:16:23 3.20: Pulling from library/alpine 03:16:23 0a9a5dfd008f: Pulling fs layer 03:16:23 0a9a5dfd008f: Verifying Checksum 03:16:23 0a9a5dfd008f: Download complete 03:16:23 0a9a5dfd008f: Pull complete 03:16:23 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 03:16:23 Status: Downloaded newer image for alpine:3.20 03:16:23 ---> ff221270b9fb 03:16:23 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:16:23 ---> Running in 985099993f6f 03:16:23 Removing intermediate container 985099993f6f 03:16:23 ---> bc9cf775df44 03:16:23 Step 15/27 : LABEL Name=app-record-replay Version=${VERSION} 03:16:23 ---> Running in e99829bc22bf 03:16:23 Removing intermediate container e99829bc22bf 03:16:23 ---> 43614417ac26 03:16:23 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 03:16:23 ---> Running in 0cf604db158a 03:16:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:16:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:16:23 (1/2) Installing ca-certificates (20241121-r1) 03:16:23 (2/2) Installing dumb-init (1.2.5-r3) 03:16:23 Executing busybox-1.36.1-r29.trigger 03:16:23 Executing ca-certificates-20241121-r1.trigger 03:16:23 OK: 9 MiB in 16 packages 03:16:23 Removing intermediate container 0cf604db158a 03:16:23 ---> 5d0a57cf978e 03:16:23 Step 17/27 : RUN apk --no-cache upgrade 03:16:23 ---> Running in 0c93a21ac502 03:16:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:16:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:16:23 OK: 9 MiB in 16 packages 03:16:23 Removing intermediate container 0c93a21ac502 03:16:23 ---> 0dd3791a47ea 03:16:23 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 03:16:23 ---> 225f7fe69224 03:16:23 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 03:16:23 ---> a7d0f7ea48d6 03:16:23 Step 20/27 : COPY --from=builder /app/res/ /res/ 03:16:23 ---> 6a382fc357ff 03:16:23 Step 21/27 : COPY --from=builder /app/app-record-replay /app-record-replay 03:16:23 ---> ecd1e29aa20b 03:16:23 Step 22/27 : EXPOSE 59712 03:16:23 ---> Running in edd98f082da4 03:16:23 Removing intermediate container edd98f082da4 03:16:23 ---> d212c0701682 03:16:23 Step 23/27 : ENTRYPOINT ["/app-record-replay"] 03:16:23 ---> Running in ad0941870dee 03:16:23 Removing intermediate container ad0941870dee 03:16:23 ---> 30f2c19edb14 03:16:23 Step 24/27 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 03:16:23 ---> Running in de08df0324aa 03:16:23 Removing intermediate container de08df0324aa 03:16:23 ---> 41704dfbb661 03:16:23 Step 25/27 : LABEL arch=amd64 03:16:23 ---> Running in 55bf1435d6e2 03:16:23 Removing intermediate container 55bf1435d6e2 03:16:23 ---> 40eb7eecd698 03:16:23 Step 26/27 : LABEL git_sha=532ec8cbf3c8d90c1e9a680c8467cbce41a4520b 03:16:23 ---> Running in 8c3761662c65 03:16:23 Removing intermediate container 8c3761662c65 03:16:23 ---> 4e08dbdbe036 03:16:23 Step 27/27 : LABEL version=0.0.0 03:16:23 ---> Running in bc681ec9164e 03:16:23 Removing intermediate container bc681ec9164e 03:16:23 ---> 3662278a52e0 03:16:23 [Warning] One or more build-args [ARCH] were not consumed 03:16:23 Successfully built 3662278a52e0 03:16:23 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:16:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:16:24 03:16:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:16:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:16:24 latest: Pulling from edgex-lftools-log-publisher 03:16:24 5eb5b503b376: Pulling fs layer 03:16:24 5c69ac0246d0: Pulling fs layer 03:16:24 ec43610c2a17: Pulling fs layer 03:16:24 3a2ae6a8a46f: Pulling fs layer 03:16:24 33b1e0a273af: Pulling fs layer 03:16:24 5d3b04190fa2: Pulling fs layer 03:16:24 2f39f015ded8: Pulling fs layer 03:16:24 33b1e0a273af: Waiting 03:16:24 2f39f015ded8: Waiting 03:16:24 5d3b04190fa2: Waiting 03:16:24 3a2ae6a8a46f: Waiting 03:16:24 5c69ac0246d0: Verifying Checksum 03:16:24 5c69ac0246d0: Download complete 03:16:24 3a2ae6a8a46f: Download complete 03:16:24 ec43610c2a17: Verifying Checksum 03:16:24 ec43610c2a17: Download complete 03:16:24 33b1e0a273af: Verifying Checksum 03:16:24 33b1e0a273af: Download complete 03:16:24 5d3b04190fa2: Verifying Checksum 03:16:24 5d3b04190fa2: Download complete 03:16:24 5eb5b503b376: Verifying Checksum 03:16:24 5eb5b503b376: Download complete 03:16:25 2f39f015ded8: Download complete 03:16:26 5eb5b503b376: Pull complete 03:16:26 5c69ac0246d0: Pull complete 03:16:26 ec43610c2a17: Pull complete 03:16:26 3a2ae6a8a46f: Pull complete 03:16:26 33b1e0a273af: Pull complete 03:16:27 5d3b04190fa2: Pull complete 03:16:32 2f39f015ded8: Pull complete 03:16:32 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:16:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:16:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:16:32 prd-ubuntu20.04-docker-8c-8g-39388 does not seem to be running inside a container 03:16:32 $ 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-172 -v /w/workspace/foundry_app-record-replay_PR-172:/w/workspace/foundry_app-record-replay_PR-172:rw,z -v /w/workspace/foundry_app-record-replay_PR-172@tmp:/w/workspace/foundry_app-record-replay_PR-172@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:16:35 $ docker top 3d25388c2e9c6937d9d2ecf13f19809297cb3819325ed0da7c682b2c3ea46d7f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:16:36 ---> job-cost.sh 03:16:36 lf-activate-venv: SKIPPING 03:16:36 INFO: No Stack... 03:16:37 INFO: Retrieving Pricing Info for: v3-standard-8 03:16:37 INFO: Archiving Costs [Pipeline] sh 03:16:37 + + cat /w/workspace/foundry_app-record-replay_PR-172/archives/cost.csv 03:16:37 cut -d, -f6 [Pipeline] lock 03:16:37 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-record-replay-PR-172-1-stack-cost] 03:16:37 Resource [jenkins-edgexfoundry-app-record-replay-PR-172-1-stack-cost] did not exist. Created. 03:16:37 Lock acquired on [Resource: jenkins-edgexfoundry-app-record-replay-PR-172-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:16:38 + echo total: 0.2199999988079071 [Pipeline] stash 03:16:38 Stashed 1 file(s) [Pipeline] } 03:16:38 Lock released on resource [Resource: jenkins-edgexfoundry-app-record-replay-PR-172-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:16:38 $ docker stop --time=1 3d25388c2e9c6937d9d2ecf13f19809297cb3819325ed0da7c682b2c3ea46d7f 03:16:39 $ docker rm -f --volumes 3d25388c2e9c6937d9d2ecf13f19809297cb3819325ed0da7c682b2c3ea46d7f [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:16:40 provisioning config files... 03:16:40 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/foundry_app-record-replay_PR-172@tmp/config10664116866994720134tmp [Pipeline] { [Pipeline] sh 03:16:40 + set +x 03:16:40 + curl -s https://codecov.io/bash 03:16:40 + bash -s -- 03:16:40 03:16:40 _____ _ 03:16:40 / ____| | | 03:16:40 | | ___ __| | ___ ___ _____ __ 03:16:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:16:40 | |___| (_) | (_| | __/ (_| (_) \ V / 03:16:40 \_____\___/ \__,_|\___|\___\___/ \_/ 03:16:40 Bash-1.0.6 03:16:40 03:16:40 03:16:40 ==> git version 2.25.1 found 03:16:40 ==> 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:16:40 Release-Date: 2020-01-08 03:16:40 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:16:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:16:40 ==> Jenkins CI detected. 03:16:40 current dir:  /w/workspace/foundry_app-record-replay_PR-172 03:16:40 project root: . 03:16:40 --> token set from env 03:16:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:16:40 ==> Running gcov in . (disable via -X gcov) 03:16:40 ==> Python coveragepy not found 03:16:40 ==> Searching for coverage reports in: 03:16:40 + . 03:16:40 -> Found 1 reports 03:16:40 ==> Detecting git/mercurial file structure 03:16:40 ==> Reading reports 03:16:40 + ./coverage.out bytes=34247 03:16:40 ==> Appending adjustments 03:16:40 https://docs.codecov.io/docs/fixing-reports 03:16:40 + Found adjustments 03:16:40 ==> Gzipping contents 03:16:40 8.0K /tmp/codecov.JCVwiv.gz 03:16:40 ==> Uploading reports 03:16:40 url: https://codecov.io 03:16:40 query: branch=PR-172&commit=532ec8cbf3c8d90c1e9a680c8467cbce41a4520b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-172%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=172&job=&cmd_args= 03:16:40 -> Pinging Codecov 03:16:40 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-172&commit=532ec8cbf3c8d90c1e9a680c8467cbce41a4520b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-172%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=172&job=&cmd_args= 03:16:41 -> Uploading to 03:16:41 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/app-record-replay/532ec8cbf3c8d90c1e9a680c8467cbce41a4520b/5b5deda8-74f7-4e96-92d0-ebd87c910658.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250221%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250221T031640Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=981838e618ede7c0d42db487468118827e1efc3913ac57c9219ce168a9fa7157 03:16:41 % Total % Received % Xferd Average Speed Time Time Time Current 03:16:41 Dload Upload Total Spent Left Speed 03:16:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5393 0 0 100 5393 0 16905 --:--:-- --:--:-- --:--:-- 16853 100 5393 0 0 100 5393 0 16853 --:--:-- --:--:-- --:--:-- 16853 03:16:41 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-record-replay/commit/532ec8cbf3c8d90c1e9a680c8467cbce41a4520b [Pipeline] } 03:16:41 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:16:43 + [ -d /w/workspace/foundry_app-record-replay_PR-172/archives ] 03:16:43 + ls -al /w/workspace/foundry_app-record-replay_PR-172/archives 03:16:43 total 16 03:16:43 drwxr-xr-x 3 root root 4096 Feb 21 03:16 . 03:16:43 drwxrwxr-x 11 jenkins jenkins 4096 Feb 21 03:16 .. 03:16:43 drwxr-xr-x 2 root root 4096 Feb 21 03:16 cost 03:16:43 -rw-r--r-- 1 root root 89 Feb 21 03:16 cost.csv 03:16:43 + sudo chown -R jenkins:jenkins /w/workspace/foundry_app-record-replay_PR-172/archives 03:16:43 + ls -al /w/workspace/foundry_app-record-replay_PR-172/archives 03:16:43 total 16 03:16:43 drwxr-xr-x 3 jenkins jenkins 4096 Feb 21 03:16 . 03:16:43 drwxrwxr-x 11 jenkins jenkins 4096 Feb 21 03:16 .. 03:16:43 drwxr-xr-x 2 jenkins jenkins 4096 Feb 21 03:16 cost 03:16:43 -rw-r--r-- 1 jenkins jenkins 89 Feb 21 03:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:16:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:16:44 ---> package-listing.sh 03:16:44 ++ facter osfamily 03:16:44 ++ tr '[:upper:]' '[:lower:]' 03:16:44 + OS_FAMILY=debian 03:16:44 + workspace=/w/workspace/foundry_app-record-replay_PR-172 03:16:44 + START_PACKAGES=/tmp/packages_start.txt 03:16:44 + END_PACKAGES=/tmp/packages_end.txt 03:16:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:16:44 + PACKAGES=/tmp/packages_start.txt 03:16:44 + '[' /w/workspace/foundry_app-record-replay_PR-172 ']' 03:16:44 + PACKAGES=/tmp/packages_end.txt 03:16:44 + case "${OS_FAMILY}" in 03:16:44 + dpkg -l 03:16:44 + grep '^ii' 03:16:44 + '[' -f /tmp/packages_start.txt ']' 03:16:44 + '[' -f /tmp/packages_end.txt ']' 03:16:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:16:44 + '[' /w/workspace/foundry_app-record-replay_PR-172 ']' 03:16:44 + mkdir -p /w/workspace/foundry_app-record-replay_PR-172/archives/ 03:16:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_app-record-replay_PR-172/archives/ [Pipeline] echo 03:16: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/foundry_app-record-replay_PR-172/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:16:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:16:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:16:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:16:45 prd-ubuntu20.04-docker-8c-8g-39388 does not seem to be running inside a container 03:16: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/foundry_app-record-replay_PR-172/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-172 -v /w/workspace/foundry_app-record-replay_PR-172:/w/workspace/foundry_app-record-replay_PR-172:rw,z -v /w/workspace/foundry_app-record-replay_PR-172@tmp:/w/workspace/foundry_app-record-replay_PR-172@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:16:46 $ docker top d9e6f484d4dc2b6271ad5c7659386975e9ab170e104af1e71e07545752ad778a -eo pid,comm [Pipeline] { [Pipeline] sh 03:16:46 + touch /tmp/pre-build-complete [Pipeline] sh 03:16:46 + mkdir -p /var/log/sysstat [Pipeline] sh 03:16:47 + ls /var/log/sa-host 03:16:47 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:16:47 provisioning config files... 03:16:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_app-record-replay_PR-172@tmp/config8494373392992525151tmp [Pipeline] { [Pipeline] echo 03:16:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:16:47 ---> create-netrc.sh [Pipeline] } 03:16:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:16:48 ---> python-tools-install.sh [Pipeline] echo 03:16:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:16:48 ---> sudo-logs.sh 03:16:48 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:16:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:16:49 ---> job-cost.sh 03:16:49 lf-activate-venv: SKIPPING 03:16:49 DEBUG: total: 0.2199999988079071 03:16:49 INFO: Retrieving Stack Cost... 03:16:49 INFO: Retrieving Pricing Info for: v3-standard-8 03:16:49 INFO: Archiving Costs [Pipeline] echo 03:16:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:16:49 ---> logs-deploy.sh 03:16:49 lf-activate-venv: SKIPPING 03:16:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-172/1 03:16:49 INFO: archiving workspace using pattern(s): 03:16:50 Archives upload complete. 03:16:50 INFO: archiving logs to Nexus