Pull request #162 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e4dab9b91e86886b4c4b04a702f4ed20b95a3cb3+ac93ab4e4f6be6635a1732c850fd941aad1a128a (e87a7429f15609fa70851ce0af6efd989b77874f) 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-ssh310714631214049336.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-ssh8547996529573207857.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-162/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-162/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18443482209433877747.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-162/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16388342942498488248.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-ssh2984018600594132890.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-162/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-162/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9008550101383365666.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 ‘prd-ubuntu20.04-docker-8c-8g-35170’ Running on prd-ubuntu20.04-docker-8c-8g-35173 in /w/workspace/foundry_app-record-replay_PR-162 [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-162 # 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 ac93ab4e4f6be6635a1732c850fd941aad1a128a into PR head commit e4dab9b91e86886b4c4b04a702f4ed20b95a3cb3 Merge succeeded, producing e4dab9b91e86886b4c4b04a702f4ed20b95a3cb3 Checking out Revision e4dab9b91e86886b4c4b04a702f4ed20b95a3cb3 (PR-162) > 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/162/head:refs/remotes/origin/PR-162 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e4dab9b91e86886b4c4b04a702f4ed20b95a3cb3 # 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 ac93ab4e4f6be6635a1732c850fd941aad1a128a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e4dab9b91e86886b4c4b04a702f4ed20b95a3cb3 # 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:43:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:43:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:43:33 ========================================================= 03:43:33 EdgeX Global Pipelines Version Info 03:43:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:43:34 ------------------- 03:43:34 stable info: 03:43:34 ------------------- 03:43:34 Commited By: Cherry Wang cherry@iotechsys.com 03:43:34 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 03:43:34 Message: update stable to v1.0.269 03:43:34 ------------------- 03:43:34 experimental info: 03:43:34 ------------------- 03:43:34 Commited By: **** collab-it+edgex@linuxfoundation.org 03:43:34 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 03:43:34 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:43:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 03:43:35 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 03:43:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:43:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:43:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:43:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 03:43:35 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:43:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:43:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:43:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:43:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:43:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 03:43:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:43:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:43:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:43:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:43:36 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:43:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:43:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:43:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:43:36 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:43:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:43:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:43:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:43:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:43:36 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:43:36 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:43:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-162 [Pipeline] echo 03:43:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-162 [Pipeline] echo 03:43:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-162 [Pipeline] echo 03:43:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e4dab9b91e86886b4c4b04a702f4ed20b95a3cb3 [Pipeline] echo 03:43:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e4dab9b [Pipeline] echo 03:43:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:43:37 provisioning config files... 03:43:37 copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-162@tmp/config3398965481734752514tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:43:37 ---> ****-login.sh 03:43:37 nexus3.edgexfoundry.org:10001 03:43:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:43:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:43:37 Configure a credential helper to remove this warning. See 03:43:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:43:37 03:43:37 Login Succeeded 03:43:37 nexus3.edgexfoundry.org:10002 03:43:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:43:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:43:38 Configure a credential helper to remove this warning. See 03:43:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:43:38 03:43:38 Login Succeeded 03:43:38 nexus3.edgexfoundry.org:10003 03:43:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:43:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:43:38 Configure a credential helper to remove this warning. See 03:43:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:43:38 03:43:38 Login Succeeded 03:43:38 nexus3.edgexfoundry.org:10004 03:43:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:43:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:43:38 Configure a credential helper to remove this warning. See 03:43:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:43:38 03:43:38 Login Succeeded 03:43:38 ****.io 03:43:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:43:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:43:38 Configure a credential helper to remove this warning. See 03:43:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:43:38 03:43:38 Login Succeeded 03:43:38 ---> ****-login.sh ends [Pipeline] } 03:43:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:43:39 + git rev-list -1 --merges e4dab9b91e86886b4c4b04a702f4ed20b95a3cb3~1..e4dab9b91e86886b4c4b04a702f4ed20b95a3cb3 [Pipeline] echo 03:43:39 -----------> git rev-list -1 --merges e4dab9b91e86886b4c4b04a702f4ed20b95a3cb3~1..e4dab9b91e86886b4c4b04a702f4ed20b95a3cb3 e4dab9b91e86886b4c4b04a702f4ed20b95a3cb3 [false] [Pipeline] sh 03:43:39 + git log --format=format:%s -1 e4dab9b91e86886b4c4b04a702f4ed20b95a3cb3 [Pipeline] echo 03:43:39 ========================================================= 03:43:39 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:43:39 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:43:40 + git log --format=format:%s -1 e4dab9b91e86886b4c4b04a702f4ed20b95a3cb3 [Pipeline] echo 03:43:40 [semverPrep] GIT_COMMIT: e4dab9b91e86886b4c4b04a702f4ed20b95a3cb3, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v4 [Pipeline] echo 03:43:40 [semverPrep] This is not a build commit. [Pipeline] sh 03:43:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:43:40 + grep -v github /etc/ssh/ssh_known_hosts 03:43:40 + [ -e /tmp/ssh_known_hosts ] 03:43:40 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:43:40 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:43:40 + sudo tee -a /etc/ssh/ssh_known_hosts 03:43:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:43:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:43:41 03:43:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:43:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:43:41 0.1.4: Pulling from edgex-devops/py-git-semver 03:43:41 b85a868b505f: Pulling fs layer 03:43:41 e2be974225ed: Pulling fs layer 03:43:41 339a4e72a1f5: Pulling fs layer 03:43:41 988bab9f4d93: Pulling fs layer 03:43:41 1469e6f7b9e6: Pulling fs layer 03:43:41 eaf3925da568: Pulling fs layer 03:43:41 bab4dde63d76: Pulling fs layer 03:43:41 bde34c3a00c8: Pulling fs layer 03:43:41 b352a97aabf1: Pulling fs layer 03:43:41 4872d77fe225: Pulling fs layer 03:43:41 bde34c3a00c8: Waiting 03:43:41 bab4dde63d76: Waiting 03:43:41 1469e6f7b9e6: Waiting 03:43:41 eaf3925da568: Waiting 03:43:41 988bab9f4d93: Waiting 03:43:41 5851b861e8e6: Pulling fs layer 03:43:41 4872d77fe225: Waiting 03:43:41 5851b861e8e6: Waiting 03:43:41 e2be974225ed: Verifying Checksum 03:43:41 e2be974225ed: Download complete 03:43:41 988bab9f4d93: Verifying Checksum 03:43:41 988bab9f4d93: Download complete 03:43:41 1469e6f7b9e6: Verifying Checksum 03:43:41 1469e6f7b9e6: Download complete 03:43:41 eaf3925da568: Verifying Checksum 03:43:41 eaf3925da568: Download complete 03:43:41 339a4e72a1f5: Verifying Checksum 03:43:41 339a4e72a1f5: Download complete 03:43:41 bde34c3a00c8: Download complete 03:43:41 b352a97aabf1: Download complete 03:43:41 4872d77fe225: Verifying Checksum 03:43:41 4872d77fe225: Download complete 03:43:41 5851b861e8e6: Download complete 03:43:41 b85a868b505f: Download complete 03:43:42 bab4dde63d76: Verifying Checksum 03:43:42 bab4dde63d76: Download complete 03:43:43 b85a868b505f: Pull complete 03:43:43 e2be974225ed: Pull complete 03:43:43 339a4e72a1f5: Pull complete 03:43:43 988bab9f4d93: Pull complete 03:43:44 1469e6f7b9e6: Pull complete 03:43:44 eaf3925da568: Pull complete 03:43:46 bab4dde63d76: Pull complete 03:43:46 bde34c3a00c8: Pull complete 03:43:46 b352a97aabf1: Pull complete 03:43:46 4872d77fe225: Pull complete 03:43:46 5851b861e8e6: Pull complete 03:43:46 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:43:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:43:46 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:43:46 prd-ubuntu20.04-docker-8c-8g-35173 does not seem to be running inside a container 03:43:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_app-record-replay_PR-162 -v /w/workspace/foundry_app-record-replay_PR-162:/w/workspace/foundry_app-record-replay_PR-162:rw,z -v /w/workspace/foundry_app-record-replay_PR-162@tmp:/w/workspace/foundry_app-record-replay_PR-162@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:43:51 $ docker top 67ba78622cd6ba96317bc594c946e652fb33af4771540865b56ea5b9c4a27825 -eo pid,comm 03:43:51 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:43:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:43:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:43:51 [ssh-agent] Looking for ssh-agent implementation... 03:43:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:43:51 $ docker exec 67ba78622cd6ba96317bc594c946e652fb33af4771540865b56ea5b9c4a27825 ssh-agent 03:43:51 SSH_AUTH_SOCK=/tmp/ssh-pFh0YNtjDxo1/agent.31 03:43:51 SSH_AGENT_PID=37 03:43:51 Running ssh-add (command line suppressed) 03:43:51 Identity added: /w/workspace/foundry_app-record-replay_PR-162@tmp/private_key_7666352222518493731.key (/w/workspace/foundry_app-record-replay_PR-162@tmp/private_key_7666352222518493731.key) 03:43:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:43:51 + git tag --points-at HEAD [Pipeline] } 03:43:51 $ docker exec --env ******** --env ******** 67ba78622cd6ba96317bc594c946e652fb33af4771540865b56ea5b9c4a27825 ssh-agent -k 03:43:52 unset SSH_AUTH_SOCK; 03:43:52 unset SSH_AGENT_PID; 03:43:52 echo Agent pid 37 killed; 03:43:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:43:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:43:52 [ssh-agent] Looking for ssh-agent implementation... 03:43:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:43:52 $ docker exec 67ba78622cd6ba96317bc594c946e652fb33af4771540865b56ea5b9c4a27825 ssh-agent 03:43:52 SSH_AUTH_SOCK=/tmp/ssh-9zF2LWniQkSb/agent.70 03:43:52 SSH_AGENT_PID=77 03:43:52 Running ssh-add (command line suppressed) 03:43:52 Identity added: /w/workspace/foundry_app-record-replay_PR-162@tmp/private_key_2051661323275986316.key (/w/workspace/foundry_app-record-replay_PR-162@tmp/private_key_2051661323275986316.key) 03:43:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:43:52 + git semver init 03:43:53 2024-12-16 03:43:53,052 [run_init] DEBUG init version:0.0.0 force:False 03:43:53 2024-12-16 03:43:53,052 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_app-record-replay_PR-162/.semver 03:43:53 2024-12-16 03:43:53,053 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/foundry_app-record-replay_PR-162/.semver 03:43:53 2024-12-16 03:43:53,053 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/foundry_app-record-replay_PR-162/.semver'], cwd=/w/workspace/foundry_app-record-replay_PR-162, universal_newlines=False, shell=None, istream=None) 03:43:55 2024-12-16 03:43:54,624 [append_file] DEBUG append to file:/w/workspace/foundry_app-record-replay_PR-162/.git/info/exclude 03:43:55 2024-12-16 03:43:54,625 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_app-record-replay_PR-162/.semver/PR-162 with force:False 03:43:55 2024-12-16 03:43:54,625 [write_file] DEBUG write to file:/w/workspace/foundry_app-record-replay_PR-162/.semver/PR-162 03:43:55 2024-12-16 03:43:54,629 [execute] INFO git cat-file --batch-check 03:43:55 2024-12-16 03:43:54,630 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_app-record-replay_PR-162/.semver, universal_newlines=False, shell=None, istream=) 03:43:55 2024-12-16 03:43:54,635 [execute] INFO git cat-file --batch 03:43:55 2024-12-16 03:43:54,636 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_app-record-replay_PR-162/.semver, universal_newlines=False, shell=None, istream=) 03:43:55 2024-12-16 03:43:54,641 [read_version] DEBUG read version from /w/workspace/foundry_app-record-replay_PR-162/.semver/PR-162 03:43:55 0.0.0 [Pipeline] } 03:43:55 $ docker exec --env ******** --env ******** 67ba78622cd6ba96317bc594c946e652fb33af4771540865b56ea5b9c4a27825 ssh-agent -k 03:43:55 unset SSH_AUTH_SOCK; 03:43:55 unset SSH_AGENT_PID; 03:43:55 echo Agent pid 77 killed; 03:43:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:43:55 + git semver [Pipeline] } 03:43:55 $ docker stop --time=1 67ba78622cd6ba96317bc594c946e652fb33af4771540865b56ea5b9c4a27825 03:43:57 $ docker rm -f --volumes 67ba78622cd6ba96317bc594c946e652fb33af4771540865b56ea5b9c4a27825 [Pipeline] // withDockerContainer [Pipeline] sh 03:43:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:43:57 Stashed 1 file(s) [Pipeline] echo 03:43:57 [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:43:59 provisioning config files... 03:43:59 copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-162@tmp/config6272081338984411637tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 03:43:59 ---> ****-login.sh 03:43:59 nexus3.edgexfoundry.org:10001 03:43:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:43:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:43:59 Configure a credential helper to remove this warning. See 03:43:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:43:59 03:43:59 Login Succeeded 03:43:59 nexus3.edgexfoundry.org:10002 03:43:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:43:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:43:59 Configure a credential helper to remove this warning. See 03:43:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:43:59 03:43:59 Login Succeeded 03:43:59 nexus3.edgexfoundry.org:10003 03:43:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:43:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:43:59 Configure a credential helper to remove this warning. See 03:43:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:43:59 03:43:59 Login Succeeded 03:43:59 nexus3.edgexfoundry.org:10004 03:43:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:43:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:43:59 Configure a credential helper to remove this warning. See 03:43:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:43:59 03:43:59 Login Succeeded 03:43:59 ****.io 03:44:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:44:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:44:00 Configure a credential helper to remove this warning. See 03:44:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:44:00 03:44:00 Login Succeeded 03:44:00 ---> ****-login.sh ends [Pipeline] } 03:44:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:44:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:44:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:44:00 ========================================================= 03:44:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 03:44:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:44:01 + 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:44:01 Sending build context to Docker daemon 9.819MB 03:44:01 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 03:44:01 Step 2/12 : FROM ${BASE} AS builder 03:44:01 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 03:44:01 43c4264eed91: Pulling fs layer 03:44:01 4cc291be95ef: Pulling fs layer 03:44:01 2ac1f1163629: Pulling fs layer 03:44:01 5c3c966382ef: Pulling fs layer 03:44:01 4f4fb700ef54: Pulling fs layer 03:44:01 5d5c8e513c77: Pulling fs layer 03:44:01 9f66e0745190: Pulling fs layer 03:44:01 f49a43e4bbc0: Pulling fs layer 03:44:01 561ebcabdf7f: Pulling fs layer 03:44:01 5c3c966382ef: Waiting 03:44:01 f49a43e4bbc0: Waiting 03:44:01 4f4fb700ef54: Waiting 03:44:01 561ebcabdf7f: Waiting 03:44:01 5d5c8e513c77: Waiting 03:44:01 9f66e0745190: Waiting 03:44:01 4cc291be95ef: Download complete 03:44:01 5c3c966382ef: Download complete 03:44:01 4f4fb700ef54: Verifying Checksum 03:44:01 4f4fb700ef54: Download complete 03:44:01 5d5c8e513c77: Download complete 03:44:01 43c4264eed91: Download complete 03:44:01 9f66e0745190: Verifying Checksum 03:44:01 9f66e0745190: Download complete 03:44:01 43c4264eed91: Pull complete 03:44:01 4cc291be95ef: Pull complete 03:44:01 561ebcabdf7f: Verifying Checksum 03:44:01 561ebcabdf7f: Download complete 03:44:01 2ac1f1163629: Verifying Checksum 03:44:01 2ac1f1163629: Download complete 03:44:01 f49a43e4bbc0: Verifying Checksum 03:44:01 f49a43e4bbc0: Download complete 03:44:06 2ac1f1163629: Pull complete 03:44:06 5c3c966382ef: Pull complete 03:44:06 4f4fb700ef54: Pull complete 03:44:06 5d5c8e513c77: Pull complete 03:44:06 9f66e0745190: Pull complete 03:44:07 f49a43e4bbc0: Pull complete 03:44:08 561ebcabdf7f: Pull complete 03:44:08 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 03:44:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 03:44:08 ---> 3a752c3f9dda 03:44:08 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 03:44:16 ---> Running in d8b4cbe80776 03:44:16 Removing intermediate container d8b4cbe80776 03:44:16 ---> 8387d0298d4d 03:44:16 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:44:16 ---> Running in 232776f44655 03:44:16 Removing intermediate container 232776f44655 03:44:16 ---> 7c59ea688fba 03:44:16 Step 5/12 : ARG ADD_BUILD_TAGS="" 03:44:16 ---> Running in 5fc151c6dc56 03:44:16 Removing intermediate container 5fc151c6dc56 03:44:16 ---> 407b61a4704f 03:44:16 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:44:16 ---> Running in 63a1821fcd2a 03:44:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:44:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:44:17 OK: 246 MiB in 54 packages 03:44:17 Removing intermediate container 63a1821fcd2a 03:44:17 ---> 9f8393e74455 03:44:17 Step 7/12 : WORKDIR /app 03:44:17 ---> Running in d6f74de5b7b2 03:44:17 Removing intermediate container d6f74de5b7b2 03:44:17 ---> c2f8eac04c0a 03:44:17 Step 8/12 : COPY go.mod vendor* ./ 03:44:17 ---> 9c4bfc831a46 03:44:17 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:44:17 ---> Running in 30cc01ab0327 03:45:25 Removing intermediate container 30cc01ab0327 03:45:25 ---> 35d4bf94f07a 03:45:25 Step 10/12 : COPY . . 03:45:25 ---> 19990ebc2703 03:45:25 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:45:25 ---> Running in 0c9b66ec937c 03:45:25 Removing intermediate container 0c9b66ec937c 03:45:25 ---> a8f4d1d0c8e4 03:45:25 Step 12/12 : RUN $MAKE 03:45:25 ---> Running in 82876957e91d 03:45:25 noop 03:45:25 Removing intermediate container 82876957e91d 03:45:25 ---> 8d933d186011 03:45:25 Successfully built 8d933d186011 03:45:25 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:45:25 + docker inspect -f . ci-base-image-x86_64 03:45:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:45:26 prd-ubuntu20.04-docker-8c-8g-35173 does not seem to be running inside a container 03:45:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_app-record-replay_PR-162 -v /w/workspace/foundry_app-record-replay_PR-162:/w/workspace/foundry_app-record-replay_PR-162:rw,z -v /w/workspace/foundry_app-record-replay_PR-162@tmp:/w/workspace/foundry_app-record-replay_PR-162@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:45:26 $ docker top e1f608cbf3c6f17ab345d2e51e9ca5b575cc2b85aefc8636631e8d87727264f0 -eo pid,comm [Pipeline] { [Pipeline] sh 03:45:26 + go version 03:45:26 go version go1.23.2 linux/amd64 [Pipeline] } 03:45:27 $ docker stop --time=1 e1f608cbf3c6f17ab345d2e51e9ca5b575cc2b85aefc8636631e8d87727264f0 03:45:28 $ docker rm -f --volumes e1f608cbf3c6f17ab345d2e51e9ca5b575cc2b85aefc8636631e8d87727264f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:45:29 + docker inspect -f . ci-base-image-x86_64 03:45:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:45:29 prd-ubuntu20.04-docker-8c-8g-35173 does not seem to be running inside a container 03:45:29 $ 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-162 -v /w/workspace/foundry_app-record-replay_PR-162:/w/workspace/foundry_app-record-replay_PR-162:rw,z -v /w/workspace/foundry_app-record-replay_PR-162@tmp:/w/workspace/foundry_app-record-replay_PR-162@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:45:29 $ docker top e9579d751f92544f46afd1aee9f45e1bbf81d15e058dae7dd9e77b64607cad43 -eo pid,comm [Pipeline] { [Pipeline] sh 03:45:29 + git config --global --add safe.directory /w/workspace/foundry_app-record-replay_PR-162 [Pipeline] fileExists [Pipeline] sh 03:45:30 + make test 03:45:30 go test -race -coverprofile=coverage.out ./... 03:46:09 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 03:46:09 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 03:46:09 github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks coverage: 0.0% of statements 03:46:09 github.com/edgexfoundry/app-record-replay coverage: 0.0% of statements 03:46:09 ok github.com/edgexfoundry/app-record-replay/internal/app 1.032s coverage: 88.0% of statements 03:46:17 ok github.com/edgexfoundry/app-record-replay/internal/application 9.591s coverage: 98.7% of statements 03:46:17 ok github.com/edgexfoundry/app-record-replay/internal/controller 1.073s coverage: 89.7% of statements 03:46:17 ok github.com/edgexfoundry/app-record-replay/internal/utils 1.019s coverage: 100.0% of statements 03:46:17 running golangci-lint 03:46:17 golangci-lint has version 1.61.0 built with go1.23.1 from a1d6c560 on 2024-09-09T17:44:42Z 03:46:17 go version go1.23.2 linux/amd64 03:46:17 level=info msg="golangci-lint has version 1.61.0 built with go1.23.1 from a1d6c560 on 2024-09-09T17:44:42Z" 03:46:17 level=info msg="[config_reader] Used config file .golangci.yml" 03:46:17 level=info msg="[lintersdb] Active 7 linters: [errcheck gosec gosimple govet ineffassign staticcheck unused]" 03:46:43 level=info msg="[loader] Go packages loading at mode 575 (deps|exports_file|imports|compiled_files|files|name|types_sizes) took 23.828289798s" 03:46:43 level=info msg="[runner/filename_unadjuster] Pre-built 0 adjustments in 4.478585ms" 03:46:53 level=info msg="[linters_context/goanalysis] analyzers took 59.709257574s with top 10 stages: buildir: 49.601777582s, inspect: 1.816845938s, fact_deprecated: 1.428006597s, ctrlflow: 1.340936793s, printf: 1.314504756s, fact_purity: 1.086797072s, nilness: 844.784123ms, typedness: 555.377461ms, SA5012: 454.792905ms, gosec: 333.298698ms" 03:46:53 level=info msg="[runner] Issues before processing: 10, after processing: 0" 03:46:53 level=info msg="[runner] Processors filtering stat (in/out): filename_unadjuster: 10/10, exclude: 10/10, exclude-rules: 10/0, path_prettifier: 10/10, autogenerated_exclude: 10/10, identifier_marker: 10/10, invalid_issue: 10/10, skip_files: 10/10, cgo: 10/10, skip_dirs: 10/10" 03:46:53 level=info msg="[runner] processing took 447.813µs with stages: identifier_marker: 220.001µs, autogenerated_exclude: 86.61µs, exclude-rules: 49.391µs, path_prettifier: 44.99µs, skip_dirs: 33.991µs, invalid_issue: 4.25µs, cgo: 2.5µs, filename_unadjuster: 1.07µs, max_same_issues: 850ns, nolint: 820ns, uniq_by_line: 620ns, fixer: 460ns, max_from_linter: 440ns, skip_files: 350ns, exclude: 270ns, sort_results: 260ns, diff: 250ns, severity-rules: 200ns, source_code: 150ns, max_per_file_from_linter: 120ns, path_prefixer: 110ns, path_shortener: 110ns" 03:46:53 level=info msg="[runner] linters took 11.824368912s with stages: goanalysis_metalinter: 11.823843409s" 03:46:53 level=info msg="File cache stats: 0 entries of total size 0B" 03:46:53 level=info msg="Memory: 356 samples, avg is 237.7MB, max is 1043.8MB" 03:46:53 level=info msg="Execution took 35.664175982s" 03:46:53 go vet ./... 03:47:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:47:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:47:00 ./bin/test-attribution-txt.sh [Pipeline] echo 03:47:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:47:00 $ docker stop --time=1 e9579d751f92544f46afd1aee9f45e1bbf81d15e058dae7dd9e77b64607cad43 03:47:05 $ docker rm -f --volumes e9579d751f92544f46afd1aee9f45e1bbf81d15e058dae7dd9e77b64607cad43 [Pipeline] // withDockerContainer [Pipeline] sh 03:47:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:47:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:47:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:47:07 + ls -al . 03:47:07 total 264 03:47:07 drwxrwxr-x 10 jenkins jenkins 4096 Dec 16 03:45 . 03:47:07 drwxrwxr-x 4 jenkins jenkins 4096 Dec 16 03:43 .. 03:47:07 -rw-rw-r-- 1 jenkins jenkins 119 Dec 16 03:43 .dockerignore 03:47:07 drwxrwxr-x 8 jenkins jenkins 4096 Dec 16 03:46 .git 03:47:07 drwxrwxr-x 3 jenkins jenkins 4096 Dec 16 03:43 .github 03:47:07 -rw-rw-r-- 1 jenkins jenkins 164 Dec 16 03:43 .gitignore 03:47:07 -rw-rw-r-- 1 jenkins jenkins 41 Dec 16 03:43 .golangci.yml 03:47:07 drwxr-xr-x 3 jenkins jenkins 4096 Dec 16 03:43 .semver 03:47:07 -rw-rw-r-- 1 jenkins jenkins 16870 Dec 16 03:43 Attribution.txt 03:47:07 -rw-rw-r-- 1 jenkins jenkins 458 Dec 16 03:43 CHANGELOG.md 03:47:07 -rw-rw-r-- 1 jenkins jenkins 1726 Dec 16 03:43 Dockerfile 03:47:07 -rw-rw-r-- 1 jenkins jenkins 677 Dec 16 03:43 GOVERNANCE.md 03:47:07 -rw-rw-r-- 1 jenkins jenkins 681 Dec 16 03:43 Jenkinsfile 03:47:07 -rw-rw-r-- 1 jenkins jenkins 10174 Dec 16 03:43 LICENSE 03:47:07 -rw-rw-r-- 1 jenkins jenkins 3851 Dec 16 03:43 Makefile 03:47:07 -rw-rw-r-- 1 jenkins jenkins 611 Dec 16 03:43 OWNERS.md 03:47:07 -rw-rw-r-- 1 jenkins jenkins 4107 Dec 16 03:43 README.md 03:47:07 -rw-rw-r-- 1 jenkins jenkins 7789 Dec 16 03:43 Record and Reply.postman_collection.json 03:47:07 -rw-rw-r-- 1 jenkins jenkins 5 Dec 16 03:43 VERSION 03:47:07 drwxrwxr-x 2 jenkins jenkins 4096 Dec 16 03:43 bin 03:47:07 -rw-r--r-- 1 jenkins jenkins 34248 Dec 16 03:46 coverage.out 03:47:07 -rw-rw-r-- 1 jenkins jenkins 6718 Dec 16 03:43 go.mod 03:47:07 -rw-rw-r-- 1 jenkins jenkins 87872 Dec 16 03:43 go.sum 03:47:07 drwxrwxr-x 7 jenkins jenkins 4096 Dec 16 03:43 internal 03:47:07 -rw-rw-r-- 1 jenkins jenkins 913 Dec 16 03:43 main.go 03:47:07 drwxrwxr-x 2 jenkins jenkins 4096 Dec 16 03:43 openapi 03:47:07 drwxrwxr-x 3 jenkins jenkins 4096 Dec 16 03:43 pkg 03:47:07 drwxrwxr-x 2 jenkins jenkins 4096 Dec 16 03:43 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:47:08 + 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=e4dab9b91e86886b4c4b04a702f4ed20b95a3cb3 --label arch=amd64 --label version=0.0.0 . 03:47:08 Sending build context to Docker daemon 9.853MB 03:47:08 Step 1/27 : ARG BASE=golang:1.23-alpine3.20 03:47:08 Step 2/27 : FROM ${BASE} AS builder 03:47:08 ---> 8d933d186011 03:47:08 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 03:47:08 ---> Running in 181ade5c9e54 03:47:08 Removing intermediate container 181ade5c9e54 03:47:08 ---> 831ccbe99c1d 03:47:08 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 03:47:08 ---> Running in e59c2bb59282 03:47:08 Removing intermediate container e59c2bb59282 03:47:08 ---> 96a523672d53 03:47:08 Step 5/27 : ARG ADD_BUILD_TAGS="" 03:47:08 ---> Running in d0a6c7e041e3 03:47:08 Removing intermediate container d0a6c7e041e3 03:47:08 ---> a9d64dc987ea 03:47:08 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:47:08 ---> Running in c95e84aa9c12 03:47:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:47:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:47:09 OK: 246 MiB in 54 packages 03:47:09 Removing intermediate container c95e84aa9c12 03:47:09 ---> 6ad1155950ab 03:47:09 Step 7/27 : WORKDIR /app 03:47:09 ---> Running in 4803dc8179c8 03:47:09 Removing intermediate container 4803dc8179c8 03:47:09 ---> 28bc083af364 03:47:09 Step 8/27 : COPY go.mod vendor* ./ 03:47:10 ---> ee686efb2448 03:47:10 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:47:10 ---> Running in 9dcb1445b4f8 03:47:10 Removing intermediate container 9dcb1445b4f8 03:47:10 ---> 594d03ddaaab 03:47:10 Step 10/27 : COPY . . 03:47:11 ---> 8b9ac8a82e71 03:47:11 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:47:11 ---> Running in f60acdb55639 03:47:11 Removing intermediate container f60acdb55639 03:47:11 ---> 9469509cf2ff 03:47:11 Step 12/27 : RUN $MAKE 03:47:11 ---> Running in 76b67da24a55 03:47:11 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v4/internal.SDKVersion=v4.0.0-dev.14 -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:47:58 Removing intermediate container 76b67da24a55 03:47:58 ---> d198f60b164b 03:47:58 Step 13/27 : FROM alpine:3.20 03:47:58 3.20: Pulling from library/alpine 03:47:58 da9db072f522: Pulling fs layer 03:47:58 da9db072f522: Verifying Checksum 03:47:58 da9db072f522: Download complete 03:47:58 da9db072f522: Pull complete 03:47:58 Digest: sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a 03:47:58 Status: Downloaded newer image for alpine:3.20 03:47:58 ---> 63b790fccc90 03:47:58 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:47:58 ---> Running in 2e7d098e5b9b 03:47:58 Removing intermediate container 2e7d098e5b9b 03:47:58 ---> 4d224b9878cf 03:47:58 Step 15/27 : LABEL Name=app-record-replay Version=${VERSION} 03:47:58 ---> Running in f7fa2ddaf774 03:47:58 Removing intermediate container f7fa2ddaf774 03:47:58 ---> dd14b3dfc989 03:47:58 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 03:47:58 ---> Running in 6539afbc0970 03:47:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:47:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:47:58 (1/2) Installing ca-certificates (20240705-r0) 03:47:58 (2/2) Installing dumb-init (1.2.5-r3) 03:47:58 Executing busybox-1.36.1-r29.trigger 03:47:58 Executing ca-certificates-20240705-r0.trigger 03:47:58 OK: 9 MiB in 16 packages 03:47:58 Removing intermediate container 6539afbc0970 03:47:58 ---> 35940e66c32e 03:47:58 Step 17/27 : RUN apk --no-cache upgrade 03:47:58 ---> Running in cadc287563b6 03:47:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:47:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:47:58 Upgrading critical system libraries and apk-tools: 03:47:58 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 03:47:58 Executing busybox-1.36.1-r29.trigger 03:47:58 Continuing the upgrade transaction with new apk-tools: 03:47:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:47:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:47:58 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 03:47:58 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 03:47:58 Executing ca-certificates-20240705-r0.trigger 03:47:58 OK: 9 MiB in 16 packages 03:47:58 Removing intermediate container cadc287563b6 03:47:58 ---> df47911ee55f 03:47:58 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 03:47:58 ---> d0600ccf695f 03:47:58 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 03:47:58 ---> 7334c738f8d9 03:47:58 Step 20/27 : COPY --from=builder /app/res/ /res/ 03:47:58 ---> 7910efe230e7 03:47:58 Step 21/27 : COPY --from=builder /app/app-record-replay /app-record-replay 03:48:00 ---> 7e7bb7ebb14b 03:48:00 Step 22/27 : EXPOSE 59712 03:48:00 ---> Running in 5dbd326a8cd6 03:48:00 Removing intermediate container 5dbd326a8cd6 03:48:00 ---> 3c43fbe5cab0 03:48:00 Step 23/27 : ENTRYPOINT ["/app-record-replay"] 03:48:00 ---> Running in 924168a128aa 03:48:01 Removing intermediate container 924168a128aa 03:48:01 ---> d32110438621 03:48:01 Step 24/27 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 03:48:01 ---> Running in 6fd99afaeac7 03:48:02 Removing intermediate container 6fd99afaeac7 03:48:02 ---> 12f98f7c09b4 03:48:02 Step 25/27 : LABEL arch=amd64 03:48:02 ---> Running in 04cabf755d2a 03:48:02 Removing intermediate container 04cabf755d2a 03:48:02 ---> ba4dd7018a3b 03:48:02 Step 26/27 : LABEL git_sha=e4dab9b91e86886b4c4b04a702f4ed20b95a3cb3 03:48:02 ---> Running in c89a214ecd00 03:48:02 Removing intermediate container c89a214ecd00 03:48:02 ---> d061548147f2 03:48:02 Step 27/27 : LABEL version=0.0.0 03:48:02 ---> Running in a19e11cf95ce 03:48:02 Removing intermediate container a19e11cf95ce 03:48:02 ---> 2d376aa2ae53 03:48:02 [Warning] One or more build-args [ARCH] were not consumed 03:48:02 Successfully built 2d376aa2ae53 03:48:02 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:48:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:48:03 03:48:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:48:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:48:03 latest: Pulling from edgex-lftools-log-publisher 03:48:03 5eb5b503b376: Pulling fs layer 03:48:03 5c69ac0246d0: Pulling fs layer 03:48:03 ec43610c2a17: Pulling fs layer 03:48:03 3a2ae6a8a46f: Pulling fs layer 03:48:03 33b1e0a273af: Pulling fs layer 03:48:03 5d3b04190fa2: Pulling fs layer 03:48:03 2f39f015ded8: Pulling fs layer 03:48:03 5d3b04190fa2: Waiting 03:48:03 2f39f015ded8: Waiting 03:48:03 3a2ae6a8a46f: Waiting 03:48:03 5c69ac0246d0: Verifying Checksum 03:48:03 5c69ac0246d0: Download complete 03:48:03 3a2ae6a8a46f: Verifying Checksum 03:48:03 3a2ae6a8a46f: Download complete 03:48:03 33b1e0a273af: Verifying Checksum 03:48:03 33b1e0a273af: Download complete 03:48:03 5d3b04190fa2: Verifying Checksum 03:48:03 5d3b04190fa2: Download complete 03:48:03 ec43610c2a17: Verifying Checksum 03:48:03 ec43610c2a17: Download complete 03:48:04 5eb5b503b376: Verifying Checksum 03:48:04 5eb5b503b376: Download complete 03:48:04 2f39f015ded8: Download complete 03:48:09 5eb5b503b376: Pull complete 03:48:09 5c69ac0246d0: Pull complete 03:48:09 ec43610c2a17: Pull complete 03:48:09 3a2ae6a8a46f: Pull complete 03:48:10 33b1e0a273af: Pull complete 03:48:10 5d3b04190fa2: Pull complete 03:48:14 2f39f015ded8: Pull complete 03:48:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:48:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:48:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:48:14 prd-ubuntu20.04-docker-8c-8g-35173 does not seem to be running inside a container 03:48:15 $ 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-162 -v /w/workspace/foundry_app-record-replay_PR-162:/w/workspace/foundry_app-record-replay_PR-162:rw,z -v /w/workspace/foundry_app-record-replay_PR-162@tmp:/w/workspace/foundry_app-record-replay_PR-162@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:48:20 $ docker top 80abe4b92469b53e42597e1d6649912d940502890c90925d2fbbec8ea18e0988 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:48:21 ---> job-cost.sh 03:48:21 lf-activate-venv: SKIPPING 03:48:21 INFO: No Stack... 03:48:21 INFO: Retrieving Pricing Info for: v3-standard-8 03:48:22 INFO: Archiving Costs [Pipeline] sh 03:48:22 + cat /w/workspace/foundry_app-record-replay_PR-162/archives/cost.csv 03:48:22 + cut -d, -f6 [Pipeline] lock 03:48:22 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-record-replay-PR-162-1-stack-cost] 03:48:22 Resource [jenkins-edgexfoundry-app-record-replay-PR-162-1-stack-cost] did not exist. Created. 03:48:22 Lock acquired on [Resource: jenkins-edgexfoundry-app-record-replay-PR-162-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:48:22 + echo total: 0.2199999988079071 [Pipeline] stash 03:48:23 Stashed 1 file(s) [Pipeline] } 03:48:23 Lock released on resource [Resource: jenkins-edgexfoundry-app-record-replay-PR-162-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:48:23 $ docker stop --time=1 80abe4b92469b53e42597e1d6649912d940502890c90925d2fbbec8ea18e0988 03:48:24 $ docker rm -f --volumes 80abe4b92469b53e42597e1d6649912d940502890c90925d2fbbec8ea18e0988 [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:48:25 provisioning config files... 03:48:25 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/foundry_app-record-replay_PR-162@tmp/config13666038900654105322tmp [Pipeline] { [Pipeline] sh 03:48:25 + set +x 03:48:25 + curl -s https://codecov.io/bash 03:48:25 + bash -s -- 03:48:25 03:48:25 _____ _ 03:48:25 / ____| | | 03:48:25 | | ___ __| | ___ ___ _____ __ 03:48:25 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:48:25 | |___| (_) | (_| | __/ (_| (_) \ V / 03:48:25 \_____\___/ \__,_|\___|\___\___/ \_/ 03:48:25 Bash-1.0.6 03:48:25 03:48:25 03:48:25 ==> git version 2.25.1 found 03:48:25 ==> 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:48:25 Release-Date: 2020-01-08 03:48:25 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:48:25 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:48:25 ==> Jenkins CI detected. 03:48:25 current dir:  /w/workspace/foundry_app-record-replay_PR-162 03:48:25 project root: . 03:48:25 --> token set from env 03:48:25 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:48:25 ==> Running gcov in . (disable via -X gcov) 03:48:25 ==> Python coveragepy not found 03:48:25 ==> Searching for coverage reports in: 03:48:25 + . 03:48:25 -> Found 1 reports 03:48:25 ==> Detecting git/mercurial file structure 03:48:25 ==> Reading reports 03:48:25 + ./coverage.out bytes=34248 03:48:25 ==> Appending adjustments 03:48:25 https://docs.codecov.io/docs/fixing-reports 03:48:25 + Found adjustments 03:48:25 ==> Gzipping contents 03:48:25 8.0K /tmp/codecov.tBU3j7.gz 03:48:25 ==> Uploading reports 03:48:25 url: https://codecov.io 03:48:25 query: branch=PR-162&commit=e4dab9b91e86886b4c4b04a702f4ed20b95a3cb3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-162%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=162&job=&cmd_args= 03:48:25 -> Pinging Codecov 03:48:25 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-162&commit=e4dab9b91e86886b4c4b04a702f4ed20b95a3cb3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-162%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=162&job=&cmd_args= 03:48:25 -> Uploading to 03:48:25 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/app-record-replay/e4dab9b91e86886b4c4b04a702f4ed20b95a3cb3/46d6ad87-0bd9-4d2c-ac3c-cd19e99f1b80.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241216%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241216T034825Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=a5266fb43ec5b52a4f9996f4452a1e07be71c6df310864e37cb62181e70ff9fd 03:48:25 % Total % Received % Xferd Average Speed Time Time Time Current 03:48:25 Dload Upload Total Spent Left Speed 03:48:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5391 0 0 100 5391 0 16794 --:--:-- --:--:-- --:--:-- 16794 03:48:26 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-record-replay/commit/e4dab9b91e86886b4c4b04a702f4ed20b95a3cb3 [Pipeline] } 03:48:26 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:48:28 + [ -d /w/workspace/foundry_app-record-replay_PR-162/archives ] 03:48:28 + ls -al /w/workspace/foundry_app-record-replay_PR-162/archives 03:48:28 total 16 03:48:28 drwxr-xr-x 3 root root 4096 Dec 16 03:48 . 03:48:28 drwxrwxr-x 11 jenkins jenkins 4096 Dec 16 03:48 .. 03:48:28 drwxr-xr-x 2 root root 4096 Dec 16 03:48 cost 03:48:28 -rw-r--r-- 1 root root 89 Dec 16 03:48 cost.csv 03:48:28 + sudo chown -R jenkins:jenkins /w/workspace/foundry_app-record-replay_PR-162/archives 03:48:28 + ls -al /w/workspace/foundry_app-record-replay_PR-162/archives 03:48:28 total 16 03:48:28 drwxr-xr-x 3 jenkins jenkins 4096 Dec 16 03:48 . 03:48:28 drwxrwxr-x 11 jenkins jenkins 4096 Dec 16 03:48 .. 03:48:28 drwxr-xr-x 2 jenkins jenkins 4096 Dec 16 03:48 cost 03:48:28 -rw-r--r-- 1 jenkins jenkins 89 Dec 16 03:48 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:48:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:48:29 ---> package-listing.sh 03:48:29 ++ facter osfamily 03:48:29 ++ tr '[:upper:]' '[:lower:]' 03:48:29 + OS_FAMILY=debian 03:48:29 + workspace=/w/workspace/foundry_app-record-replay_PR-162 03:48:29 + START_PACKAGES=/tmp/packages_start.txt 03:48:29 + END_PACKAGES=/tmp/packages_end.txt 03:48:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:48:29 + PACKAGES=/tmp/packages_start.txt 03:48:29 + '[' /w/workspace/foundry_app-record-replay_PR-162 ']' 03:48:29 + PACKAGES=/tmp/packages_end.txt 03:48:29 + case "${OS_FAMILY}" in 03:48:29 + dpkg -l 03:48:29 + grep '^ii' 03:48:29 + '[' -f /tmp/packages_start.txt ']' 03:48:29 + '[' -f /tmp/packages_end.txt ']' 03:48:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:48:29 + '[' /w/workspace/foundry_app-record-replay_PR-162 ']' 03:48:29 + mkdir -p /w/workspace/foundry_app-record-replay_PR-162/archives/ 03:48:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_app-record-replay_PR-162/archives/ [Pipeline] echo 03:48:29 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-162/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:48:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:48:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:48:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:48:31 prd-ubuntu20.04-docker-8c-8g-35173 does not seem to be running inside a container 03:48:31 $ 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-162/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-162 -v /w/workspace/foundry_app-record-replay_PR-162:/w/workspace/foundry_app-record-replay_PR-162:rw,z -v /w/workspace/foundry_app-record-replay_PR-162@tmp:/w/workspace/foundry_app-record-replay_PR-162@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:48:31 $ docker top 3ebee241bf06105f2ee98742ed2ad4b236a66c46d66dc11c4db26f5856c2d48f -eo pid,comm [Pipeline] { [Pipeline] sh 03:48:31 + touch /tmp/pre-build-complete [Pipeline] sh 03:48:32 + mkdir -p /var/log/sysstat [Pipeline] sh 03:48:32 + ls /var/log/sa-host 03:48:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:48:32 provisioning config files... 03:48:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_app-record-replay_PR-162@tmp/config4428173295425674770tmp [Pipeline] { [Pipeline] echo 03:48:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:48:32 ---> create-netrc.sh [Pipeline] } 03:48:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:48:33 ---> python-tools-install.sh [Pipeline] echo 03:48:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:48:33 ---> sudo-logs.sh 03:48:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:48:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:48:34 ---> job-cost.sh 03:48:34 lf-activate-venv: SKIPPING 03:48:34 DEBUG: total: 0.2199999988079071 03:48:34 INFO: Retrieving Stack Cost... 03:48:34 INFO: Retrieving Pricing Info for: v3-standard-8 03:48:34 INFO: Archiving Costs [Pipeline] echo 03:48:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:48:34 ---> logs-deploy.sh 03:48:34 lf-activate-venv: SKIPPING 03:48:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-162/1 03:48:34 INFO: archiving workspace using pattern(s): 03:48:35 Archives upload complete. 03:48:35 INFO: archiving logs to Nexus