Pull request #152 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jackchenjc for edgexfoundry/app-record-replay Obtained Jenkinsfile from d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de+62ddbc5b0f189cb0e082a652d86835a7c06dea97 (0d25a209f4ff164f028d7215161b6e793a12a772) 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-ssh1627382055522335530.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh67492465515494664.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-152/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-152/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5005883028499428735.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-152/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14728635070840597644.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > 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-ssh6759076350931833401.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-152/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-152/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6747278985181752928.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-24752 in /w/workspace/foundry_app-record-replay_PR-152 [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-152 # 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 62ddbc5b0f189cb0e082a652d86835a7c06dea97 into PR head commit d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de > 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/152/head:refs/remotes/origin/PR-152 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de # timeout=10 Merge succeeded, producing d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de Checking out Revision d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de (PR-152) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 62ddbc5b0f189cb0e082a652d86835a7c06dea97 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de # timeout=10 Commit message: "fix: Only one ldflags flag is allowed" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:28:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:28:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:28:03 ========================================================= 09:28:03 EdgeX Global Pipelines Version Info 09:28:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:28:04 ------------------- 09:28:04 stable info: 09:28:04 ------------------- 09:28:04 Commited By: Ginny Guan ginny@iotechsys.com 09:28:04 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 09:28:04 Message: update stable to v1.0.265 09:28:05 ------------------- 09:28:05 experimental info: 09:28:05 ------------------- 09:28:05 Commited By: Cherry Wang cherry@iotechsys.com 09:28:05 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 09:28:05 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:28:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 09:28:05 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 09:28:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:28:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:28:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:28:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 09:28:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:28:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:28:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:28:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:28:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:28:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 09:28:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:28:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:28:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:28:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:28:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:28:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:28:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:28:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:28:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:28:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:28:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:28:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:28:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:28:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:28:06 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:28:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-152 [Pipeline] echo 09:28:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-152 [Pipeline] echo 09:28:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-152 [Pipeline] echo 09:28:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de [Pipeline] echo 09:28:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d5d0cff [Pipeline] echo 09:28:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:28:07 provisioning config files... 09:28:07 copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-152@tmp/config10192255392965275710tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:28:07 ---> ****-login.sh 09:28:07 nexus3.edgexfoundry.org:10001 09:28:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:28:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:28:07 Configure a credential helper to remove this warning. See 09:28:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:28:07 09:28:07 Login Succeeded 09:28:07 nexus3.edgexfoundry.org:10002 09:28:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:28:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:28:08 Configure a credential helper to remove this warning. See 09:28:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:28:08 09:28:08 Login Succeeded 09:28:08 nexus3.edgexfoundry.org:10003 09:28:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:28:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:28:08 Configure a credential helper to remove this warning. See 09:28:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:28:08 09:28:08 Login Succeeded 09:28:08 nexus3.edgexfoundry.org:10004 09:28:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:28:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:28:08 Configure a credential helper to remove this warning. See 09:28:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:28:08 09:28:08 Login Succeeded 09:28:08 ****.io 09:28:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:28:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:28:08 Configure a credential helper to remove this warning. See 09:28:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:28:08 09:28:08 Login Succeeded 09:28:08 ---> ****-login.sh ends [Pipeline] } 09:28:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:28:09 + git rev-list -1 --merges d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de~1..d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de [Pipeline] echo 09:28:09 -----------> git rev-list -1 --merges d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de~1..d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de [false] [Pipeline] sh 09:28:09 + git log --format=format:%s -1 d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de [Pipeline] echo 09:28:09 ========================================================= 09:28:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:28:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:28:10 + git log --format=format:%s -1 d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de [Pipeline] echo 09:28:10 [semverPrep] GIT_COMMIT: d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de, Commit Message: fix: Only one ldflags flag is allowed [Pipeline] echo 09:28:10 [semverPrep] This is not a build commit. [Pipeline] sh 09:28:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:28:10 + grep -v github /etc/ssh/ssh_known_hosts 09:28:10 + [ -e /tmp/ssh_known_hosts ] 09:28:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:28:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:28:10 + sudo tee -a /etc/ssh/ssh_known_hosts 09:28:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:28:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:28:11 09:28:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:28:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:28:11 0.1.4: Pulling from edgex-devops/py-git-semver 09:28:11 b85a868b505f: Pulling fs layer 09:28:11 e2be974225ed: Pulling fs layer 09:28:11 339a4e72a1f5: Pulling fs layer 09:28:11 988bab9f4d93: Pulling fs layer 09:28:11 1469e6f7b9e6: Pulling fs layer 09:28:11 eaf3925da568: Pulling fs layer 09:28:11 bab4dde63d76: Pulling fs layer 09:28:11 bde34c3a00c8: Pulling fs layer 09:28:11 b352a97aabf1: Pulling fs layer 09:28:11 4872d77fe225: Pulling fs layer 09:28:11 5851b861e8e6: Pulling fs layer 09:28:11 1469e6f7b9e6: Waiting 09:28:11 4872d77fe225: Waiting 09:28:11 988bab9f4d93: Waiting 09:28:11 5851b861e8e6: Waiting 09:28:11 eaf3925da568: Waiting 09:28:11 bab4dde63d76: Waiting 09:28:11 b352a97aabf1: Waiting 09:28:11 e2be974225ed: Download complete 09:28:11 988bab9f4d93: Verifying Checksum 09:28:11 988bab9f4d93: Download complete 09:28:11 1469e6f7b9e6: Verifying Checksum 09:28:11 339a4e72a1f5: Verifying Checksum 09:28:11 339a4e72a1f5: Download complete 09:28:11 eaf3925da568: Download complete 09:28:11 bde34c3a00c8: Download complete 09:28:11 b352a97aabf1: Download complete 09:28:11 4872d77fe225: Verifying Checksum 09:28:11 4872d77fe225: Download complete 09:28:11 5851b861e8e6: Download complete 09:28:11 b85a868b505f: Verifying Checksum 09:28:11 b85a868b505f: Download complete 09:28:12 bab4dde63d76: Verifying Checksum 09:28:12 bab4dde63d76: Download complete 09:28:13 b85a868b505f: Pull complete 09:28:13 e2be974225ed: Pull complete 09:28:14 339a4e72a1f5: Pull complete 09:28:14 988bab9f4d93: Pull complete 09:28:14 1469e6f7b9e6: Pull complete 09:28:14 eaf3925da568: Pull complete 09:28:16 bab4dde63d76: Pull complete 09:28:16 bde34c3a00c8: Pull complete 09:28:16 b352a97aabf1: Pull complete 09:28:16 4872d77fe225: Pull complete 09:28:16 5851b861e8e6: Pull complete 09:28:16 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:28:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:28:16 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:28:19 prd-ubuntu20.04-docker-8c-8g-24752 does not seem to be running inside a container 09:28:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_app-record-replay_PR-152 -v /w/workspace/foundry_app-record-replay_PR-152:/w/workspace/foundry_app-record-replay_PR-152:rw,z -v /w/workspace/foundry_app-record-replay_PR-152@tmp:/w/workspace/foundry_app-record-replay_PR-152@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-devops/py-git-semver:0.1.4 cat 09:28:22 $ docker top 3b4bc4159d2f2ad34ef16fc8963b3845ffab34055c50cdbe01fb995787edb464 -eo pid,comm 09:28:22 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). 09:28:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:28:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:28:22 [ssh-agent] Looking for ssh-agent implementation... 09:28:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:28:23 $ docker exec 3b4bc4159d2f2ad34ef16fc8963b3845ffab34055c50cdbe01fb995787edb464 ssh-agent 09:28:23 SSH_AUTH_SOCK=/tmp/ssh-8IHMCYbAveH6/agent.33 09:28:23 SSH_AGENT_PID=39 09:28:23 Running ssh-add (command line suppressed) 09:28:23 Identity added: /w/workspace/foundry_app-record-replay_PR-152@tmp/private_key_11179021594807868071.key (/w/workspace/foundry_app-record-replay_PR-152@tmp/private_key_11179021594807868071.key) 09:28:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:28:23 + git tag --points-at HEAD [Pipeline] } 09:28:23 $ docker exec --env ******** --env ******** 3b4bc4159d2f2ad34ef16fc8963b3845ffab34055c50cdbe01fb995787edb464 ssh-agent -k 09:28:23 unset SSH_AUTH_SOCK; 09:28:23 unset SSH_AGENT_PID; 09:28:23 echo Agent pid 39 killed; 09:28:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:28:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:28:23 [ssh-agent] Looking for ssh-agent implementation... 09:28:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:28:24 $ docker exec 3b4bc4159d2f2ad34ef16fc8963b3845ffab34055c50cdbe01fb995787edb464 ssh-agent 09:28:24 SSH_AUTH_SOCK=/tmp/ssh-ximjDnFC9JI2/agent.72 09:28:24 SSH_AGENT_PID=78 09:28:24 Running ssh-add (command line suppressed) 09:28:24 Identity added: /w/workspace/foundry_app-record-replay_PR-152@tmp/private_key_5237541826911883353.key (/w/workspace/foundry_app-record-replay_PR-152@tmp/private_key_5237541826911883353.key) 09:28:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:28:24 + git semver init 09:28:24 2024-11-07 09:28:24,776 [run_init] DEBUG init version:0.0.0 force:False 09:28:24 2024-11-07 09:28:24,776 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_app-record-replay_PR-152/.semver 09:28:24 2024-11-07 09:28:24,777 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/foundry_app-record-replay_PR-152/.semver 09:28:24 2024-11-07 09:28:24,777 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/foundry_app-record-replay_PR-152/.semver'], cwd=/w/workspace/foundry_app-record-replay_PR-152, universal_newlines=False, shell=None, istream=None) 09:28:26 2024-11-07 09:28:26,360 [append_file] DEBUG append to file:/w/workspace/foundry_app-record-replay_PR-152/.git/info/exclude 09:28:26 2024-11-07 09:28:26,361 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_app-record-replay_PR-152/.semver/PR-152 with force:False 09:28:26 2024-11-07 09:28:26,361 [write_file] DEBUG write to file:/w/workspace/foundry_app-record-replay_PR-152/.semver/PR-152 09:28:26 2024-11-07 09:28:26,365 [execute] INFO git cat-file --batch-check 09:28:26 2024-11-07 09:28:26,365 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_app-record-replay_PR-152/.semver, universal_newlines=False, shell=None, istream=) 09:28:26 2024-11-07 09:28:26,372 [execute] INFO git cat-file --batch 09:28:26 2024-11-07 09:28:26,372 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_app-record-replay_PR-152/.semver, universal_newlines=False, shell=None, istream=) 09:28:26 2024-11-07 09:28:26,377 [read_version] DEBUG read version from /w/workspace/foundry_app-record-replay_PR-152/.semver/PR-152 09:28:26 0.0.0 [Pipeline] } 09:28:26 $ docker exec --env ******** --env ******** 3b4bc4159d2f2ad34ef16fc8963b3845ffab34055c50cdbe01fb995787edb464 ssh-agent -k 09:28:26 unset SSH_AUTH_SOCK; 09:28:26 unset SSH_AGENT_PID; 09:28:26 echo Agent pid 78 killed; 09:28:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:28:27 + git semver [Pipeline] } 09:28:27 $ docker stop --time=1 3b4bc4159d2f2ad34ef16fc8963b3845ffab34055c50cdbe01fb995787edb464 09:28:28 $ docker rm -f --volumes 3b4bc4159d2f2ad34ef16fc8963b3845ffab34055c50cdbe01fb995787edb464 [Pipeline] // withDockerContainer [Pipeline] sh 09:28:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:28:29 Stashed 1 file(s) [Pipeline] echo 09:28:29 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:28:30 provisioning config files... 09:28:30 copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-152@tmp/config12605370911459937569tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:28:30 ---> ****-login.sh 09:28:30 nexus3.edgexfoundry.org:10001 09:28:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:28:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:28:30 Configure a credential helper to remove this warning. See 09:28:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:28:30 09:28:30 Login Succeeded 09:28:30 nexus3.edgexfoundry.org:10002 09:28:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:28:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:28:30 Configure a credential helper to remove this warning. See 09:28:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:28:30 09:28:30 Login Succeeded 09:28:30 nexus3.edgexfoundry.org:10003 09:28:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:28:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:28:31 Configure a credential helper to remove this warning. See 09:28:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:28:31 09:28:31 Login Succeeded 09:28:31 nexus3.edgexfoundry.org:10004 09:28:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:28:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:28:31 Configure a credential helper to remove this warning. See 09:28:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:28:31 09:28:31 Login Succeeded 09:28:31 ****.io 09:28:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:28:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:28:31 Configure a credential helper to remove this warning. See 09:28:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:28:31 09:28:31 Login Succeeded 09:28:31 ---> ****-login.sh ends [Pipeline] } 09:28:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:28:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:28:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:28:31 ========================================================= 09:28:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 09:28:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:28:32 + 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 . 09:28:32 Sending build context to Docker daemon 9.803MB 09:28:32 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 09:28:32 Step 2/12 : FROM ${BASE} AS builder 09:28:32 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 09:28:32 43c4264eed91: Pulling fs layer 09:28:32 4cc291be95ef: Pulling fs layer 09:28:32 2ac1f1163629: Pulling fs layer 09:28:32 5c3c966382ef: Pulling fs layer 09:28:32 4f4fb700ef54: Pulling fs layer 09:28:32 5d5c8e513c77: Pulling fs layer 09:28:32 9f66e0745190: Pulling fs layer 09:28:32 f49a43e4bbc0: Pulling fs layer 09:28:32 561ebcabdf7f: Pulling fs layer 09:28:32 f49a43e4bbc0: Waiting 09:28:32 9f66e0745190: Waiting 09:28:32 561ebcabdf7f: Waiting 09:28:32 4f4fb700ef54: Waiting 09:28:32 5c3c966382ef: Waiting 09:28:32 5d5c8e513c77: Waiting 09:28:32 4cc291be95ef: Download complete 09:28:32 5c3c966382ef: Verifying Checksum 09:28:32 5c3c966382ef: Download complete 09:28:32 4f4fb700ef54: Download complete 09:28:32 43c4264eed91: Download complete 09:28:32 5d5c8e513c77: Download complete 09:28:32 9f66e0745190: Verifying Checksum 09:28:32 9f66e0745190: Download complete 09:28:32 43c4264eed91: Pull complete 09:28:32 561ebcabdf7f: Verifying Checksum 09:28:32 561ebcabdf7f: Download complete 09:28:32 4cc291be95ef: Pull complete 09:28:33 2ac1f1163629: Verifying Checksum 09:28:33 2ac1f1163629: Download complete 09:28:33 f49a43e4bbc0: Verifying Checksum 09:28:33 f49a43e4bbc0: Download complete 09:28:37 2ac1f1163629: Pull complete 09:28:37 5c3c966382ef: Pull complete 09:28:37 4f4fb700ef54: Pull complete 09:28:37 5d5c8e513c77: Pull complete 09:28:37 9f66e0745190: Pull complete 09:28:39 f49a43e4bbc0: Pull complete 09:28:40 561ebcabdf7f: Pull complete 09:28:40 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 09:28:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 09:28:40 ---> 3a752c3f9dda 09:28:40 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 09:28:45 Still waiting to schedule task 09:28:45 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 09:28:45 ---> Running in 9dde00bc5229 09:28:45 Removing intermediate container 9dde00bc5229 09:28:45 ---> 4881deb10d81 09:28:45 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 09:28:45 ---> Running in 64cc5b1ec87f 09:28:45 Removing intermediate container 64cc5b1ec87f 09:28:45 ---> 2b434f6cb5b9 09:28:45 Step 5/12 : ARG ADD_BUILD_TAGS="" 09:28:45 ---> Running in dcfbae9e97ae 09:28:45 Removing intermediate container dcfbae9e97ae 09:28:45 ---> 1e3e36c099e7 09:28:45 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:28:45 ---> Running in c78767b6ea6c 09:28:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:28:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:28:46 OK: 246 MiB in 54 packages 09:28:46 Removing intermediate container c78767b6ea6c 09:28:46 ---> 97c48c846462 09:28:46 Step 7/12 : WORKDIR /app 09:28:46 ---> Running in 404de12009d5 09:28:46 Removing intermediate container 404de12009d5 09:28:46 ---> 133a92d84d1d 09:28:46 Step 8/12 : COPY go.mod vendor* ./ 09:28:46 ---> 6c92a7988241 09:28:46 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:28:46 ---> Running in 9e19fcee3a88 09:29:43 Removing intermediate container 9e19fcee3a88 09:29:43 ---> 3380d58a3a1a 09:29:43 Step 10/12 : COPY . . 09:29:43 ---> ca9f2e87d030 09:29:43 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:29:43 ---> Running in 10dcc65eb729 09:29:43 Removing intermediate container 10dcc65eb729 09:29:43 ---> 9e6b4169c7b4 09:29:43 Step 12/12 : RUN $MAKE 09:29:43 ---> Running in 67efb5587ea4 09:29:43 noop 09:29:43 Removing intermediate container 67efb5587ea4 09:29:43 ---> 0efe9ca332f6 09:29:43 Successfully built 0efe9ca332f6 09:29:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:29:43 + docker inspect -f . ci-base-image-x86_64 09:29:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:29:43 prd-ubuntu20.04-docker-8c-8g-24752 does not seem to be running inside a container 09:29:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_app-record-replay_PR-152 -v /w/workspace/foundry_app-record-replay_PR-152:/w/workspace/foundry_app-record-replay_PR-152:rw,z -v /w/workspace/foundry_app-record-replay_PR-152@tmp:/w/workspace/foundry_app-record-replay_PR-152@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:29:44 $ docker top 0f044a855e3f35cb942fff5b80601951b453c6b83aa60f0fbbb586db1e46c414 -eo pid,comm [Pipeline] { [Pipeline] sh 09:29:44 + go version 09:29:44 go version go1.23.2 linux/amd64 [Pipeline] } 09:29:44 $ docker stop --time=1 0f044a855e3f35cb942fff5b80601951b453c6b83aa60f0fbbb586db1e46c414 09:29:45 $ docker rm -f --volumes 0f044a855e3f35cb942fff5b80601951b453c6b83aa60f0fbbb586db1e46c414 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:29:46 + docker inspect -f . ci-base-image-x86_64 09:29:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:29:46 prd-ubuntu20.04-docker-8c-8g-24752 does not seem to be running inside a container 09:29:46 $ 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-152 -v /w/workspace/foundry_app-record-replay_PR-152:/w/workspace/foundry_app-record-replay_PR-152:rw,z -v /w/workspace/foundry_app-record-replay_PR-152@tmp:/w/workspace/foundry_app-record-replay_PR-152@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:29:47 $ docker top 18949da3c1276cd79871e6de25b8ea601775cd17396243b05f4fdf04e1daac70 -eo pid,comm [Pipeline] { [Pipeline] sh 09:29:47 + git config --global --add safe.directory /w/workspace/foundry_app-record-replay_PR-152 [Pipeline] fileExists [Pipeline] sh 09:29:48 + make test 09:29:48 go test -race -coverprofile=coverage.out ./... 09:30:26 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 09:30:26 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 09:30:26 github.com/edgexfoundry/app-record-replay coverage: 0.0% of statements 09:30:26 github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks coverage: 0.0% of statements 09:30:26 ok github.com/edgexfoundry/app-record-replay/internal/app 1.030s coverage: 88.0% of statements 09:30:30 ok github.com/edgexfoundry/app-record-replay/internal/application 9.593s coverage: 98.7% of statements 09:30:30 ok github.com/edgexfoundry/app-record-replay/internal/controller 1.090s coverage: 89.7% of statements 09:30:30 ok github.com/edgexfoundry/app-record-replay/internal/utils 1.021s coverage: 100.0% of statements 09:30:30 running golangci-lint 09:30:30 golangci-lint has version 1.61.0 built with go1.23.1 from a1d6c560 on 2024-09-09T17:44:42Z 09:30:30 go version go1.23.2 linux/amd64 09:30:30 level=info msg="golangci-lint has version 1.61.0 built with go1.23.1 from a1d6c560 on 2024-09-09T17:44:42Z" 09:30:30 level=info msg="[config_reader] Used config file .golangci.yml" 09:30:30 level=info msg="[lintersdb] Active 7 linters: [errcheck gosec gosimple govet ineffassign staticcheck unused]" 09:30:57 level=info msg="[loader] Go packages loading at mode 575 (types_sizes|deps|files|imports|name|compiled_files|exports_file) took 22.932275364s" 09:30:57 level=info msg="[runner/filename_unadjuster] Pre-built 0 adjustments in 9.950176ms" 09:31:05 level=info msg="[linters_context/goanalysis] analyzers took 58.760314059s with top 10 stages: buildir: 46.107469787s, inspect: 1.879604908s, fact_deprecated: 1.563106398s, printf: 1.333452102s, ctrlflow: 1.053283612s, fact_purity: 865.316301ms, nilness: 843.229709ms, typedness: 527.844842ms, SA5012: 474.290265ms, tokenfileanalyzer: 436.261506ms" 09:31:05 level=info msg="[runner] Issues before processing: 10, after processing: 0" 09:31:05 level=info msg="[runner] Processors filtering stat (in/out): cgo: 10/10, filename_unadjuster: 10/10, path_prettifier: 10/10, skip_dirs: 10/10, identifier_marker: 10/10, exclude: 10/10, invalid_issue: 10/10, exclude-rules: 10/0, skip_files: 10/10, autogenerated_exclude: 10/10" 09:31:05 level=info msg="[runner] processing took 815.787µs with stages: identifier_marker: 427.274µs, autogenerated_exclude: 128.501µs, path_prettifier: 101.031µs, exclude-rules: 94.67µs, skip_dirs: 49.361µs, cgo: 3.42µs, invalid_issue: 2.86µs, nolint: 1.39µs, max_same_issues: 1.3µs, filename_unadjuster: 1.2µs, fixer: 750ns, uniq_by_line: 610ns, skip_files: 470ns, sort_results: 430ns, exclude: 420ns, path_shortener: 410ns, max_from_linter: 370ns, diff: 300ns, source_code: 290ns, max_per_file_from_linter: 260ns, path_prefixer: 240ns, severity-rules: 230ns" 09:31:05 level=info msg="[runner] linters took 11.024749855s with stages: goanalysis_metalinter: 11.023769976s" 09:31:05 level=info msg="File cache stats: 0 entries of total size 0B" 09:31:05 level=info msg="Memory: 338 samples, avg is 231.5MB, max is 1084.5MB" 09:31:05 level=info msg="Execution took 33.973760155s" 09:31:05 go vet ./... 09:31:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:31:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:31:12 ./bin/test-attribution-txt.sh [Pipeline] echo 09:31:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 09:31:12 $ docker stop --time=1 18949da3c1276cd79871e6de25b8ea601775cd17396243b05f4fdf04e1daac70 09:31:16 $ docker rm -f --volumes 18949da3c1276cd79871e6de25b8ea601775cd17396243b05f4fdf04e1daac70 [Pipeline] // withDockerContainer [Pipeline] sh 09:31:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:31:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:31:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:31:17 + ls -al . 09:31:17 total 280 09:31:17 drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 09:29 . 09:31:17 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 09:27 .. 09:31:17 -rw-rw-r-- 1 jenkins jenkins 119 Nov 7 09:27 .dockerignore 09:31:17 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 09:30 .git 09:31:17 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:27 .github 09:31:17 -rw-rw-r-- 1 jenkins jenkins 164 Nov 7 09:27 .gitignore 09:31:17 -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 09:27 .golangci.yml 09:31:17 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 09:28 .semver 09:31:17 -rw-rw-r-- 1 jenkins jenkins 20885 Nov 7 09:27 Attribution.txt 09:31:17 -rw-rw-r-- 1 jenkins jenkins 458 Nov 7 09:27 CHANGELOG.md 09:31:17 -rw-rw-r-- 1 jenkins jenkins 1725 Nov 7 09:27 Dockerfile 09:31:17 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 09:27 GOVERNANCE.md 09:31:17 -rw-rw-r-- 1 jenkins jenkins 681 Nov 7 09:27 Jenkinsfile 09:31:17 -rw-rw-r-- 1 jenkins jenkins 10174 Nov 7 09:27 LICENSE 09:31:17 -rw-rw-r-- 1 jenkins jenkins 3859 Nov 7 09:27 Makefile 09:31:17 -rw-rw-r-- 1 jenkins jenkins 611 Nov 7 09:27 OWNERS.md 09:31:17 -rw-rw-r-- 1 jenkins jenkins 4107 Nov 7 09:27 README.md 09:31:17 -rw-rw-r-- 1 jenkins jenkins 7789 Nov 7 09:27 Record and Reply.postman_collection.json 09:31:17 -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 09:28 VERSION 09:31:17 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:27 bin 09:31:17 -rw-r--r-- 1 jenkins jenkins 34247 Nov 7 09:30 coverage.out 09:31:17 -rw-rw-r-- 1 jenkins jenkins 7488 Nov 7 09:27 go.mod 09:31:17 -rw-rw-r-- 1 jenkins jenkins 100896 Nov 7 09:27 go.sum 09:31:17 drwxrwxr-x 7 jenkins jenkins 4096 Nov 7 09:27 internal 09:31:17 -rw-rw-r-- 1 jenkins jenkins 913 Nov 7 09:27 main.go 09:31:17 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:27 openapi 09:31:17 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:27 pkg 09:31:17 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:27 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:31:18 + 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=d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de --label arch=amd64 --label version=0.0.0 . 09:31:18 Sending build context to Docker daemon 9.838MB 09:31:18 Step 1/27 : ARG BASE=golang:1.23-alpine3.20 09:31:18 Step 2/27 : FROM ${BASE} AS builder 09:31:18 ---> 0efe9ca332f6 09:31:18 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 09:31:18 ---> Running in 2a92382f7bbd 09:31:18 Removing intermediate container 2a92382f7bbd 09:31:18 ---> 4f07cb06cbf5 09:31:18 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 09:31:18 ---> Running in ce5567dbef92 09:31:18 Removing intermediate container ce5567dbef92 09:31:18 ---> 77c06afc376e 09:31:18 Step 5/27 : ARG ADD_BUILD_TAGS="" 09:31:18 ---> Running in 5783e603b3a1 09:31:18 Removing intermediate container 5783e603b3a1 09:31:18 ---> 8246b5841c6d 09:31:18 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:31:18 ---> Running in 1b6e16d247cb 09:31:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:31:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:31:19 OK: 246 MiB in 54 packages 09:31:19 Removing intermediate container 1b6e16d247cb 09:31:19 ---> c6329830a93a 09:31:19 Step 7/27 : WORKDIR /app 09:31:19 ---> Running in dbeed08fc39a 09:31:19 Removing intermediate container dbeed08fc39a 09:31:19 ---> 638f862a1e89 09:31:19 Step 8/27 : COPY go.mod vendor* ./ 09:31:20 ---> bba97535eb69 09:31:20 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:31:20 ---> Running in 9c7a0cebcfb3 09:31:20 Removing intermediate container 9c7a0cebcfb3 09:31:20 ---> 15218ebb7fde 09:31:20 Step 10/27 : COPY . . 09:31:21 ---> 17175e90bd4c 09:31:21 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:31:21 ---> Running in e507b0f1832e 09:31:21 Removing intermediate container e507b0f1832e 09:31:21 ---> f4ec25c15904 09:31:21 Step 12/27 : RUN $MAKE 09:31:21 ---> Running in a3d824af6202 09:31:21 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.57 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0 " -trimpath -mod=readonly -buildmode=pie -o app-record-replay 09:32:00 Removing intermediate container a3d824af6202 09:32:00 ---> b784d72bad06 09:32:00 Step 13/27 : FROM alpine:3.20 09:32:00 3.20: Pulling from library/alpine 09:32:00 43c4264eed91: Already exists 09:32:00 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 09:32:00 Status: Downloaded newer image for alpine:3.20 09:32:00 ---> 91ef0af61f39 09:32:00 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:32:00 ---> Running in 4f33adbcfe4c 09:32:00 Removing intermediate container 4f33adbcfe4c 09:32:00 ---> d709ea699cce 09:32:00 Step 15/27 : LABEL Name=app-record-replay Version=${VERSION} 09:32:00 ---> Running in bad4427e13bf 09:32:00 Removing intermediate container bad4427e13bf 09:32:00 ---> 6e5ced56f04a 09:32:00 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 09:32:00 ---> Running in 9e9cab50c408 09:32:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:32:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:32:00 (1/2) Installing ca-certificates (20240705-r0) 09:32:00 (2/2) Installing dumb-init (1.2.5-r3) 09:32:00 Executing busybox-1.36.1-r29.trigger 09:32:00 Executing ca-certificates-20240705-r0.trigger 09:32:00 OK: 9 MiB in 16 packages 09:32:00 Removing intermediate container 9e9cab50c408 09:32:00 ---> 374246c5cd3d 09:32:00 Step 17/27 : RUN apk --no-cache upgrade 09:32:00 ---> Running in 16e7a766b230 09:32:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:32:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:32:00 Upgrading critical system libraries and apk-tools: 09:32:00 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 09:32:00 Executing busybox-1.36.1-r29.trigger 09:32:00 Continuing the upgrade transaction with new apk-tools: 09:32:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:32:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:32:00 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 09:32:00 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 09:32:00 Executing ca-certificates-20240705-r0.trigger 09:32:00 OK: 9 MiB in 16 packages 09:32:00 Removing intermediate container 16e7a766b230 09:32:00 ---> c1356614e369 09:32:00 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 09:32:00 ---> c48e0b519594 09:32:00 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 09:32:00 ---> 25a1498ee325 09:32:00 Step 20/27 : COPY --from=builder /app/res/ /res/ 09:32:00 ---> f201672da800 09:32:00 Step 21/27 : COPY --from=builder /app/app-record-replay /app-record-replay 09:32:00 ---> 26ca585c3fdd 09:32:00 Step 22/27 : EXPOSE 59712 09:32:00 ---> Running in 024d9c94e877 09:32:00 Removing intermediate container 024d9c94e877 09:32:00 ---> bb5233ad83b2 09:32:00 Step 23/27 : ENTRYPOINT ["/app-record-replay"] 09:32:00 ---> Running in 9d8a62d764e9 09:32:00 Removing intermediate container 9d8a62d764e9 09:32:00 ---> 5f9b6a6a5f0d 09:32:00 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 09:32:00 ---> Running in 5816ef9fbf8c 09:32:00 Removing intermediate container 5816ef9fbf8c 09:32:00 ---> 40ee2234ac4e 09:32:00 Step 25/27 : LABEL arch=amd64 09:32:00 ---> Running in 8a6c3aa3968f 09:32:00 Removing intermediate container 8a6c3aa3968f 09:32:00 ---> dd689939d89f 09:32:00 Step 26/27 : LABEL git_sha=d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de 09:32:00 ---> Running in 7a100bdbd2e8 09:32:00 Removing intermediate container 7a100bdbd2e8 09:32:00 ---> 0fdf63aeece5 09:32:00 Step 27/27 : LABEL version=0.0.0 09:32:00 ---> Running in faa8458f312a 09:32:00 Removing intermediate container faa8458f312a 09:32:00 ---> 83068847d890 09:32:00 [Warning] One or more build-args [ARCH] were not consumed 09:32:00 Successfully built 83068847d890 09:32:00 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 09:32:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:32:01 09:32:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:32:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:32:02 latest: Pulling from edgex-lftools-log-publisher 09:32:02 5eb5b503b376: Pulling fs layer 09:32:02 5c69ac0246d0: Pulling fs layer 09:32:02 ec43610c2a17: Pulling fs layer 09:32:02 3a2ae6a8a46f: Pulling fs layer 09:32:02 33b1e0a273af: Pulling fs layer 09:32:02 5d3b04190fa2: Pulling fs layer 09:32:02 2f39f015ded8: Pulling fs layer 09:32:02 3a2ae6a8a46f: Waiting 09:32:02 33b1e0a273af: Waiting 09:32:02 5d3b04190fa2: Waiting 09:32:02 2f39f015ded8: Waiting 09:32:02 5c69ac0246d0: Download complete 09:32:02 3a2ae6a8a46f: Download complete 09:32:02 33b1e0a273af: Verifying Checksum 09:32:02 33b1e0a273af: Download complete 09:32:02 5d3b04190fa2: Download complete 09:32:02 ec43610c2a17: Verifying Checksum 09:32:02 ec43610c2a17: Download complete 09:32:02 5eb5b503b376: Download complete 09:32:03 2f39f015ded8: Verifying Checksum 09:32:03 2f39f015ded8: Download complete 09:32:03 5eb5b503b376: Pull complete 09:32:03 5c69ac0246d0: Pull complete 09:32:04 ec43610c2a17: Pull complete 09:32:04 3a2ae6a8a46f: Pull complete 09:32:04 33b1e0a273af: Pull complete 09:32:04 5d3b04190fa2: Pull complete 09:32:09 2f39f015ded8: Pull complete 09:32:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:32:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:32:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:32:09 prd-ubuntu20.04-docker-8c-8g-24752 does not seem to be running inside a container 09:32:09 $ 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-152 -v /w/workspace/foundry_app-record-replay_PR-152:/w/workspace/foundry_app-record-replay_PR-152:rw,z -v /w/workspace/foundry_app-record-replay_PR-152@tmp:/w/workspace/foundry_app-record-replay_PR-152@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:32:12 $ docker top da5499e4f6b57241c60ee1ddd20d979e3f64ae31ba05eaa04b680f03b1aaafa2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:32:13 ---> job-cost.sh 09:32:13 lf-activate-venv: SKIPPING 09:32:13 INFO: No Stack... 09:32:13 INFO: Retrieving Pricing Info for: v3-standard-8 09:32:13 INFO: Archiving Costs [Pipeline] sh 09:32:14 + cat /w/workspace/foundry_app-record-replay_PR-152/archives/cost.csv 09:32:14 + cut -d, -f6 [Pipeline] lock 09:32:14 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-record-replay-PR-152-1-stack-cost] 09:32:14 Resource [jenkins-edgexfoundry-app-record-replay-PR-152-1-stack-cost] did not exist. Created. 09:32:14 Lock acquired on [Resource: jenkins-edgexfoundry-app-record-replay-PR-152-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:32:14 + echo total: 0.2199999988079071 [Pipeline] stash 09:32:14 Stashed 1 file(s) [Pipeline] } 09:32:14 Lock released on resource [Resource: jenkins-edgexfoundry-app-record-replay-PR-152-1-stack-cost] [Pipeline] // lock [Pipeline] } 09:32:14 $ docker stop --time=1 da5499e4f6b57241c60ee1ddd20d979e3f64ae31ba05eaa04b680f03b1aaafa2 09:32:16 $ docker rm -f --volumes da5499e4f6b57241c60ee1ddd20d979e3f64ae31ba05eaa04b680f03b1aaafa2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:33:57 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24777 in /w/workspace/foundry_app-record-replay_PR-152 [Pipeline] { [Pipeline] ws 09:33:57 Running in /w/workspace/app-record-replay/1 [Pipeline] { [Pipeline] checkout 09:34:00 Selected Git installation does not exist. Using Default 09:34:00 The recommended git tool is: NONE 09:34:07 using credential edgex-jenkins-ssh 09:34:07 Cloning the remote Git repository 09:34:07 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 09:34:07 > git init /w/workspace/app-record-replay/1 # timeout=10 09:34:07 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 09:34:07 > git --version # timeout=10 09:34:07 > git --version # 'git version 2.25.1' 09:34:07 using GIT_SSH to set credentials SSH Credentials for GitHub 09:34:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:34:11 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 09:34:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:34:13 Merging remotes/origin/main commit 62ddbc5b0f189cb0e082a652d86835a7c06dea97 into PR head commit d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de 09:34:13 Merge succeeded, producing d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de 09:34:13 Checking out Revision d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de (PR-152) 09:34:12 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 09:34:12 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 09:34:12 using GIT_SSH to set credentials SSH Credentials for GitHub 09:34:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/152/head:refs/remotes/origin/PR-152 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:34:13 > git config core.sparsecheckout # timeout=10 09:34:13 > git checkout -f d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de # timeout=10 09:34:13 > git remote # timeout=10 09:34:13 > git config --get remote.origin.url # timeout=10 09:34:13 using GIT_SSH to set credentials SSH Credentials for GitHub 09:34:13 > git merge 62ddbc5b0f189cb0e082a652d86835a7c06dea97 # timeout=10 09:34:13 > git rev-parse HEAD^{commit} # timeout=10 09:34:13 > git config core.sparsecheckout # timeout=10 09:34:13 > git checkout -f d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de # timeout=10 09:34:17 Commit message: "fix: Only one ldflags flag is allowed" 09:34:17 > git --version # timeout=10 09:34:17 > git --version # 'git version 2.25.1' 09:34:17 fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:34:20 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:34:20 % Total % Received % Xferd Average Speed Time Time Time Current 09:34:20 Dload Upload Total Spent Left Speed 09:34:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 202k 0 --:--:-- --:--:-- --:--:-- 202k [Pipeline] sh 09:34:20 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:34:20 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:34:20 + sudo tee /etc/docker/daemon.new 09:34:20 { 09:34:20 "registry-mirrors": [ 09:34:20 "https://nexus3.edgexfoundry.org:10001" 09:34:20 ], 09:34:20 "bip": "10.250.0.254/24", 09:34:20 "hosts": [ 09:34:20 "tcp://0.0.0.0:5555", 09:34:20 "unix:///var/run/docker.sock" 09:34:20 ], 09:34:20 "mtu": 1458, 09:34:20 "selinux-enabled": true, 09:34:20 "seccomp-profile": "/etc/docker/seccomp.json" 09:34:20 } [Pipeline] sh 09:34:21 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:34:21 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:34:40 provisioning config files... 09:34:40 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/1@tmp/config12566149762972926472tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:34:40 ---> ****-login.sh 09:34:40 nexus3.edgexfoundry.org:10001 09:34:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:34:41 Configure a credential helper to remove this warning. See 09:34:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:34:41 09:34:41 Login Succeeded 09:34:41 nexus3.edgexfoundry.org:10002 09:34:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:34:41 Configure a credential helper to remove this warning. See 09:34:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:34:41 09:34:41 Login Succeeded 09:34:41 nexus3.edgexfoundry.org:10003 09:34:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:34:42 Configure a credential helper to remove this warning. See 09:34:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:34:42 09:34:42 Login Succeeded 09:34:42 nexus3.edgexfoundry.org:10004 09:34:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:34:42 Configure a credential helper to remove this warning. See 09:34:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:34:42 09:34:42 Login Succeeded 09:34:42 ****.io 09:34:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:34:43 Configure a credential helper to remove this warning. See 09:34:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:34:43 09:34:43 Login Succeeded 09:34:43 ---> ****-login.sh ends [Pipeline] } 09:34:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:34:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:34:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:34:44 ========================================================= 09:34:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 09:34:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:34:44 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . 09:34:44 Sending build context to Docker daemon 337.9kB 09:34:44 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 09:34:44 Step 2/12 : FROM ${BASE} AS builder 09:34:45 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:34:45 cf04c63912e1: Pulling fs layer 09:34:45 55b35a11ae5e: Pulling fs layer 09:34:45 a37a00ec5f00: Pulling fs layer 09:34:45 50b3750afda1: Pulling fs layer 09:34:45 4f4fb700ef54: Pulling fs layer 09:34:45 80978eb59214: Pulling fs layer 09:34:45 c9f46d7d2bd2: Pulling fs layer 09:34:45 c5a475d317c9: Pulling fs layer 09:34:45 50b3750afda1: Waiting 09:34:45 4f4fb700ef54: Waiting 09:34:45 80978eb59214: Waiting 09:34:45 c9f46d7d2bd2: Waiting 09:34:45 c5a475d317c9: Waiting 09:34:45 55b35a11ae5e: Verifying Checksum 09:34:45 55b35a11ae5e: Download complete 09:34:45 50b3750afda1: Verifying Checksum 09:34:45 50b3750afda1: Download complete 09:34:45 4f4fb700ef54: Verifying Checksum 09:34:45 4f4fb700ef54: Download complete 09:34:45 80978eb59214: Verifying Checksum 09:34:45 80978eb59214: Download complete 09:34:45 cf04c63912e1: Verifying Checksum 09:34:45 cf04c63912e1: Download complete 09:34:46 c5a475d317c9: Verifying Checksum 09:34:46 c5a475d317c9: Download complete 09:34:46 cf04c63912e1: Pull complete 09:34:47 55b35a11ae5e: Pull complete 09:34:47 a37a00ec5f00: Verifying Checksum 09:34:47 a37a00ec5f00: Download complete 09:34:48 c9f46d7d2bd2: Verifying Checksum 09:34:48 c9f46d7d2bd2: Download complete 09:35:03 a37a00ec5f00: Pull complete 09:35:03 50b3750afda1: Pull complete 09:35:04 4f4fb700ef54: Pull complete 09:35:04 80978eb59214: Pull complete 09:35:14 c9f46d7d2bd2: Pull complete 09:35:15 c5a475d317c9: Pull complete 09:35:15 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 09:35:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 09:35:15 ---> be29e6b0f0d4 09:35:15 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 09:35:18 ---> Running in 9c044fa3489b 09:35:18 Removing intermediate container 9c044fa3489b 09:35:18 ---> f5ea2510445b 09:35:18 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 09:35:18 ---> Running in 3fe3b40afe0e 09:35:18 Removing intermediate container 3fe3b40afe0e 09:35:18 ---> 0fd9b35e9a9d 09:35:18 Step 5/12 : ARG ADD_BUILD_TAGS="" 09:35:18 ---> Running in 2e76b400b3ee 09:35:19 Removing intermediate container 2e76b400b3ee 09:35:19 ---> d4e3e26294c4 09:35:19 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:35:19 ---> Running in e162682676d5 09:35:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:35:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:35:23 OK: 238 MiB in 54 packages 09:35:24 Removing intermediate container e162682676d5 09:35:24 ---> 662f01239851 09:35:24 Step 7/12 : WORKDIR /app 09:35:24 ---> Running in 39fbc90ed402 09:35:25 Removing intermediate container 39fbc90ed402 09:35:25 ---> 324c8bf9da0e 09:35:25 Step 8/12 : COPY go.mod vendor* ./ 09:35:25 ---> 2e49182a5501 09:35:25 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:35:26 ---> Running in 7a744ee0aed4 09:37:32 Removing intermediate container 7a744ee0aed4 09:37:32 ---> 54b92fb5466f 09:37:32 Step 10/12 : COPY . . 09:37:32 ---> 86ea290e68d1 09:37:32 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:37:32 ---> Running in 297380400fac 09:37:32 Removing intermediate container 297380400fac 09:37:32 ---> f39fb7d046d5 09:37:32 Step 12/12 : RUN $MAKE 09:37:32 ---> Running in 374970f93cc3 09:37:32 noop 09:37:32 Removing intermediate container 374970f93cc3 09:37:32 ---> ad7825448755 09:37:32 Successfully built ad7825448755 09:37:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:37:33 + docker inspect -f . ci-base-image-arm64 09:37:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:37:33 prd-ubuntu20.04-docker-arm64-4c-16g-24777 does not seem to be running inside a container 09:37:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:37:35 $ docker top 544bc5e00f2f7b856965772fdc836dc5ca370ce15633c5df6e8e08f1244e8107 -eo pid,comm [Pipeline] { [Pipeline] sh 09:37:36 + go version 09:37:36 go version go1.23.2 linux/arm64 [Pipeline] } 09:37:36 $ docker stop --time=1 544bc5e00f2f7b856965772fdc836dc5ca370ce15633c5df6e8e08f1244e8107 09:37:37 $ docker rm -f --volumes 544bc5e00f2f7b856965772fdc836dc5ca370ce15633c5df6e8e08f1244e8107 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:37:38 + docker inspect -f . ci-base-image-arm64 09:37:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:37:39 prd-ubuntu20.04-docker-arm64-4c-16g-24777 does not seem to be running inside a container 09:37:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:37:40 $ docker top c0f4217bba7badd9315ec9bca8c388331824638d746889624639b4f5fd483ddc -eo pid,comm [Pipeline] { [Pipeline] sh 09:37:41 + git config --global --add safe.directory /w/workspace/app-record-replay/1 [Pipeline] fileExists [Pipeline] sh 09:37:42 + make test 09:37:42 go test -race -coverprofile=coverage.out ./... 09:43:35 github.com/edgexfoundry/app-record-replay coverage: 0.0% of statements 09:43:47 ok github.com/edgexfoundry/app-record-replay/internal/app 1.169s coverage: 88.0% of statements 09:43:51 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 09:43:51 github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks coverage: 0.0% of statements 09:43:54 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 09:44:01 ok github.com/edgexfoundry/app-record-replay/internal/application 9.935s coverage: 98.7% of statements 09:44:01 ok github.com/edgexfoundry/app-record-replay/internal/controller 1.513s coverage: 89.7% of statements 09:44:01 ok github.com/edgexfoundry/app-record-replay/internal/utils 1.085s coverage: 100.0% of statements 09:44:03 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:44:03 go vet ./... 09:49:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:49:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:49:26 ./bin/test-attribution-txt.sh [Pipeline] echo 09:49:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 09:49:26 $ docker stop --time=1 c0f4217bba7badd9315ec9bca8c388331824638d746889624639b4f5fd483ddc 09:49:28 $ docker rm -f --volumes c0f4217bba7badd9315ec9bca8c388331824638d746889624639b4f5fd483ddc [Pipeline] // withDockerContainer [Pipeline] sh 09:49:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:49:32 Warning: overwriting stash ‘coverage-report’ 09:49:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:49:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:49:34 + ls -al . 09:49:34 total 276 09:49:34 drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 09:37 . 09:49:34 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 09:34 .. 09:49:34 -rw-rw-r-- 1 jenkins jenkins 119 Nov 7 09:34 .dockerignore 09:49:34 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 09:34 .git 09:49:34 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:34 .github 09:49:34 -rw-rw-r-- 1 jenkins jenkins 164 Nov 7 09:34 .gitignore 09:49:34 -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 09:34 .golangci.yml 09:49:34 -rw-rw-r-- 1 jenkins jenkins 20885 Nov 7 09:34 Attribution.txt 09:49:34 -rw-rw-r-- 1 jenkins jenkins 458 Nov 7 09:34 CHANGELOG.md 09:49:34 -rw-rw-r-- 1 jenkins jenkins 1725 Nov 7 09:34 Dockerfile 09:49:34 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 09:34 GOVERNANCE.md 09:49:34 -rw-rw-r-- 1 jenkins jenkins 681 Nov 7 09:34 Jenkinsfile 09:49:34 -rw-rw-r-- 1 jenkins jenkins 10174 Nov 7 09:34 LICENSE 09:49:34 -rw-rw-r-- 1 jenkins jenkins 3859 Nov 7 09:34 Makefile 09:49:34 -rw-rw-r-- 1 jenkins jenkins 611 Nov 7 09:34 OWNERS.md 09:49:34 -rw-rw-r-- 1 jenkins jenkins 4107 Nov 7 09:34 README.md 09:49:34 -rw-rw-r-- 1 jenkins jenkins 7789 Nov 7 09:34 Record and Reply.postman_collection.json 09:49:34 -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 09:28 VERSION 09:49:34 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:34 bin 09:49:34 -rw-r--r-- 1 jenkins jenkins 34248 Nov 7 09:44 coverage.out 09:49:34 -rw-rw-r-- 1 jenkins jenkins 7488 Nov 7 09:34 go.mod 09:49:34 -rw-rw-r-- 1 jenkins jenkins 100896 Nov 7 09:34 go.sum 09:49:34 drwxrwxr-x 7 jenkins jenkins 4096 Nov 7 09:34 internal 09:49:34 -rw-rw-r-- 1 jenkins jenkins 913 Nov 7 09:34 main.go 09:49:34 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:34 openapi 09:49:34 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:34 pkg 09:49:34 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:34 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:49:34 + docker build -t app-record-replay-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de --label arch=arm64 --label version=0.0.0 . 09:49:35 Sending build context to Docker daemon 372.7kB 09:49:35 Step 1/27 : ARG BASE=golang:1.23-alpine3.20 09:49:35 Step 2/27 : FROM ${BASE} AS builder 09:49:35 ---> ad7825448755 09:49:35 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 09:49:35 ---> Running in cdba4fe9163c 09:49:35 Removing intermediate container cdba4fe9163c 09:49:35 ---> dab0707cb729 09:49:35 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 09:49:36 ---> Running in 529934fec4f6 09:49:37 Removing intermediate container 529934fec4f6 09:49:37 ---> d229812b186f 09:49:37 Step 5/27 : ARG ADD_BUILD_TAGS="" 09:49:37 ---> Running in c0a0bf1b2948 09:49:37 Removing intermediate container c0a0bf1b2948 09:49:37 ---> e17caeef81c7 09:49:37 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:49:37 ---> Running in d9beef5d306b 09:49:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:49:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:49:41 OK: 238 MiB in 54 packages 09:49:42 Removing intermediate container d9beef5d306b 09:49:42 ---> f0cd79474960 09:49:42 Step 7/27 : WORKDIR /app 09:49:42 ---> Running in 39dfca8bde36 09:49:42 Removing intermediate container 39dfca8bde36 09:49:42 ---> 67d3396e9a0a 09:49:42 Step 8/27 : COPY go.mod vendor* ./ 09:49:43 ---> ac9d264eb1bd 09:49:43 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:49:43 ---> Running in cee1cd050d9d 09:49:46 Removing intermediate container cee1cd050d9d 09:49:46 ---> 1bbd67fce0c8 09:49:46 Step 10/27 : COPY . . 09:49:46 ---> 589bc9c1b7d9 09:49:46 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:49:47 ---> Running in 41d45d5be186 09:49:47 Removing intermediate container 41d45d5be186 09:49:47 ---> 95b549138122 09:49:47 Step 12/27 : RUN $MAKE 09:49:47 ---> Running in d434e9873df6 09:49:48 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.57 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0 " -trimpath -mod=readonly -buildmode=pie -o app-record-replay 09:54:11 Removing intermediate container d434e9873df6 09:54:11 ---> b67d438aa460 09:54:11 Step 13/27 : FROM alpine:3.20 09:54:11 3.20: Pulling from library/alpine 09:54:11 cf04c63912e1: Already exists 09:54:11 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 09:54:11 Status: Downloaded newer image for alpine:3.20 09:54:11 ---> c157a85ed455 09:54:11 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:54:11 ---> Running in 389614024a06 09:54:11 Removing intermediate container 389614024a06 09:54:11 ---> 100171d0b464 09:54:11 Step 15/27 : LABEL Name=app-record-replay Version=${VERSION} 09:54:11 ---> Running in db2857308659 09:54:11 Removing intermediate container db2857308659 09:54:11 ---> 9f96a29e0b5b 09:54:11 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 09:54:11 ---> Running in 9c5486125fa3 09:54:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:54:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:54:12 (1/2) Installing ca-certificates (20240705-r0) 09:54:12 (2/2) Installing dumb-init (1.2.5-r3) 09:54:12 Executing busybox-1.36.1-r29.trigger 09:54:12 Executing ca-certificates-20240705-r0.trigger 09:54:12 OK: 10 MiB in 16 packages 09:54:13 Removing intermediate container 9c5486125fa3 09:54:13 ---> 745b749548e2 09:54:13 Step 17/27 : RUN apk --no-cache upgrade 09:54:13 ---> Running in 5d2fc820edcd 09:54:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:54:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:54:16 Upgrading critical system libraries and apk-tools: 09:54:16 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 09:54:16 Executing busybox-1.36.1-r29.trigger 09:54:16 Continuing the upgrade transaction with new apk-tools: 09:54:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:54:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:54:18 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 09:54:18 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 09:54:18 Executing ca-certificates-20240705-r0.trigger 09:54:18 OK: 10 MiB in 16 packages 09:54:19 Removing intermediate container 5d2fc820edcd 09:54:19 ---> f33def6c07f5 09:54:19 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 09:54:20 ---> 7deee6f769e0 09:54:20 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 09:54:20 ---> 0ca63946d145 09:54:20 Step 20/27 : COPY --from=builder /app/res/ /res/ 09:54:21 ---> 0c0907a700f2 09:54:21 Step 21/27 : COPY --from=builder /app/app-record-replay /app-record-replay 09:54:23 ---> bb26cc4431a3 09:54:23 Step 22/27 : EXPOSE 59712 09:54:23 ---> Running in 62a42bee4f36 09:54:23 Removing intermediate container 62a42bee4f36 09:54:23 ---> 8ad94640406c 09:54:23 Step 23/27 : ENTRYPOINT ["/app-record-replay"] 09:54:23 ---> Running in 78e110c5480a 09:54:23 Removing intermediate container 78e110c5480a 09:54:23 ---> 2de9101c2e93 09:54:23 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 09:54:23 ---> Running in fa657d72768f 09:54:24 Removing intermediate container fa657d72768f 09:54:24 ---> ea38c4c994db 09:54:24 Step 25/27 : LABEL arch=arm64 09:54:24 ---> Running in 264f25b291cd 09:54:24 Removing intermediate container 264f25b291cd 09:54:24 ---> 0ffaffc6cc46 09:54:24 Step 26/27 : LABEL git_sha=d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de 09:54:24 ---> Running in 5add3d16d84e 09:54:25 Removing intermediate container 5add3d16d84e 09:54:25 ---> 59705542ec14 09:54:25 Step 27/27 : LABEL version=0.0.0 09:54:25 ---> Running in 539bb7f72df3 09:54:25 Removing intermediate container 539bb7f72df3 09:54:25 ---> 468a5949fea4 09:54:25 [Warning] One or more build-args [ARCH] were not consumed 09:54:25 Successfully built 468a5949fea4 09:54:25 Successfully tagged app-record-replay-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:54:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:54:26 09:54:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:54:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:54:26 arm64: Pulling from edgex-lftools-log-publisher 09:54:26 8998bd30e6a1: Pulling fs layer 09:54:26 04944245beec: Pulling fs layer 09:54:26 699f458cf7ca: Pulling fs layer 09:54:26 765212b225bb: Pulling fs layer 09:54:26 f23df028b6ca: Pulling fs layer 09:54:26 d65c8cfc05b1: Pulling fs layer 09:54:26 2437ff75d9bd: Pulling fs layer 09:54:26 f23df028b6ca: Waiting 09:54:26 d65c8cfc05b1: Waiting 09:54:26 2437ff75d9bd: Waiting 09:54:26 765212b225bb: Waiting 09:54:27 04944245beec: Verifying Checksum 09:54:27 04944245beec: Download complete 09:54:27 765212b225bb: Verifying Checksum 09:54:27 765212b225bb: Download complete 09:54:27 f23df028b6ca: Verifying Checksum 09:54:27 f23df028b6ca: Download complete 09:54:27 d65c8cfc05b1: Verifying Checksum 09:54:27 d65c8cfc05b1: Download complete 09:54:27 699f458cf7ca: Verifying Checksum 09:54:27 699f458cf7ca: Download complete 09:54:27 8998bd30e6a1: Verifying Checksum 09:54:27 8998bd30e6a1: Download complete 09:54:30 2437ff75d9bd: Verifying Checksum 09:54:30 2437ff75d9bd: Download complete 09:54:32 8998bd30e6a1: Pull complete 09:54:33 04944245beec: Pull complete 09:54:35 699f458cf7ca: Pull complete 09:54:35 765212b225bb: Pull complete 09:54:35 f23df028b6ca: Pull complete 09:54:36 d65c8cfc05b1: Pull complete 09:54:54 2437ff75d9bd: Pull complete 09:54:54 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:54:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:54:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:54:54 prd-ubuntu20.04-docker-arm64-4c-16g-24777 does not seem to be running inside a container 09:54:54 $ 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/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:54:58 $ docker top 8435630825cddf23d27b66ed018f0b4d04892373cedf3fee23b9e6ea8ce5624c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:54:59 ---> job-cost.sh 09:54:59 lf-activate-venv: SKIPPING 09:54:59 INFO: No Stack... 09:55:00 INFO: Retrieving Pricing Info for: v3-standard-4 09:55:01 INFO: Archiving Costs [Pipeline] sh 09:55:01 + cat /w/workspace/app-record-replay/1/archives/cost.csv 09:55:01 + cut -d, -f6 [Pipeline] lock 09:55:01 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-record-replay-PR-152-1-stack-cost] 09:55:01 Resource [jenkins-edgexfoundry-app-record-replay-PR-152-1-stack-cost] did not exist. Created. 09:55:01 Lock acquired on [Resource: jenkins-edgexfoundry-app-record-replay-PR-152-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:55:02 /w/workspace/app-record-replay/1@tmp/durable-2ee646cb/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:55:03 + echo total: 0.10999999940395355 [Pipeline] stash 09:55:03 Warning: overwriting stash ‘stack-cost’ 09:55:03 Stashed 1 file(s) [Pipeline] } 09:55:03 Lock released on resource [Resource: jenkins-edgexfoundry-app-record-replay-PR-152-1-stack-cost] [Pipeline] // lock [Pipeline] } 09:55:03 $ docker stop --time=1 8435630825cddf23d27b66ed018f0b4d04892373cedf3fee23b9e6ea8ce5624c 09:55:05 $ docker rm -f --volumes 8435630825cddf23d27b66ed018f0b4d04892373cedf3fee23b9e6ea8ce5624c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 09:55:06 provisioning config files... 09:55:06 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/foundry_app-record-replay_PR-152@tmp/config15081669783239864775tmp [Pipeline] { [Pipeline] sh 09:55:07 + set +x 09:55:07 + curl -s https://codecov.io/bash 09:55:07 + bash -s -- 09:55:07 09:55:07 _____ _ 09:55:07 / ____| | | 09:55:07 | | ___ __| | ___ ___ _____ __ 09:55:07 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:55:07 | |___| (_) | (_| | __/ (_| (_) \ V / 09:55:07 \_____\___/ \__,_|\___|\___\___/ \_/ 09:55:07 Bash-1.0.6 09:55:07 09:55:07 09:55:07 ==> git version 2.25.1 found 09:55:07 ==> 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 09:55:07 Release-Date: 2020-01-08 09:55:07 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:55:07 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:55:07 ==> Jenkins CI detected. 09:55:07 current dir:  /w/workspace/foundry_app-record-replay_PR-152 09:55:07 project root: . 09:55:07 --> token set from env 09:55:07 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:55:07 ==> Running gcov in . (disable via -X gcov) 09:55:07 ==> Python coveragepy not found 09:55:07 ==> Searching for coverage reports in: 09:55:07 + . 09:55:07 -> Found 1 reports 09:55:07 ==> Detecting git/mercurial file structure 09:55:07 ==> Reading reports 09:55:07 + ./coverage.out bytes=34248 09:55:07 ==> Appending adjustments 09:55:07 https://docs.codecov.io/docs/fixing-reports 09:55:07 + Found adjustments 09:55:07 ==> Gzipping contents 09:55:07 8.0K /tmp/codecov.WFwxt7.gz 09:55:07 ==> Uploading reports 09:55:07 url: https://codecov.io 09:55:07 query: branch=PR-152&commit=d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-152%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=152&job=&cmd_args= 09:55:07 -> Pinging Codecov 09:55:07 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-152&commit=d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-152%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=152&job=&cmd_args= 09:55:07 -> Uploading to 09:55:07 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/app-record-replay/d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de/ac5e91b9-96ad-4f90-a5d4-c13728e06838.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241107%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241107T095507Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=9ea239ffb10964991b97e9519d2e2ea3471d98e068357ffbe76ce8b0deeb5067 09:55:07 % Total % Received % Xferd Average Speed Time Time Time Current 09:55:07 Dload Upload Total Spent Left Speed 09:55:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5387 0 0 100 5387 0 26278 --:--:-- --:--:-- --:--:-- 26150 100 5387 0 0 100 5387 0 23219 --:--:-- --:--:-- --:--:-- 23120 09:55:07 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-record-replay/commit/d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de [Pipeline] } 09:55:07 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 09:55:09 + [ -d /w/workspace/foundry_app-record-replay_PR-152/archives ] 09:55:09 + ls -al /w/workspace/foundry_app-record-replay_PR-152/archives 09:55:09 total 16 09:55:09 drwxr-xr-x 3 root root 4096 Nov 7 09:32 . 09:55:09 drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 09:32 .. 09:55:09 drwxr-xr-x 2 root root 4096 Nov 7 09:32 cost 09:55:09 -rw-r--r-- 1 root root 89 Nov 7 09:32 cost.csv 09:55:09 + sudo chown -R jenkins:jenkins /w/workspace/foundry_app-record-replay_PR-152/archives 09:55:09 + ls -al /w/workspace/foundry_app-record-replay_PR-152/archives 09:55:09 total 16 09:55:09 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 09:32 . 09:55:09 drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 09:32 .. 09:55:09 drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 09:32 cost 09:55:09 -rw-r--r-- 1 jenkins jenkins 89 Nov 7 09:32 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:55:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:55:11 ---> package-listing.sh 09:55:11 ++ facter osfamily 09:55:11 ++ tr '[:upper:]' '[:lower:]' 09:55:11 + OS_FAMILY=debian 09:55:11 + workspace=/w/workspace/foundry_app-record-replay_PR-152 09:55:11 + START_PACKAGES=/tmp/packages_start.txt 09:55:11 + END_PACKAGES=/tmp/packages_end.txt 09:55:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:55:11 + PACKAGES=/tmp/packages_start.txt 09:55:11 + '[' /w/workspace/foundry_app-record-replay_PR-152 ']' 09:55:11 + PACKAGES=/tmp/packages_end.txt 09:55:11 + case "${OS_FAMILY}" in 09:55:11 + dpkg -l 09:55:11 + grep '^ii' 09:55:11 + '[' -f /tmp/packages_start.txt ']' 09:55:11 + '[' -f /tmp/packages_end.txt ']' 09:55:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:55:11 + '[' /w/workspace/foundry_app-record-replay_PR-152 ']' 09:55:11 + mkdir -p /w/workspace/foundry_app-record-replay_PR-152/archives/ 09:55:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_app-record-replay_PR-152/archives/ [Pipeline] echo 09:55:11 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-152/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:55:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:55:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:55:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:55:12 prd-ubuntu20.04-docker-8c-8g-24752 does not seem to be running inside a container 09:55:12 $ 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-152/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-152 -v /w/workspace/foundry_app-record-replay_PR-152:/w/workspace/foundry_app-record-replay_PR-152:rw,z -v /w/workspace/foundry_app-record-replay_PR-152@tmp:/w/workspace/foundry_app-record-replay_PR-152@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:55:12 $ docker top 902aa635463f888f253ddec36a319cafc88c3b653c08bd2e8ea217c6b2bb93eb -eo pid,comm [Pipeline] { [Pipeline] sh 09:55:13 + touch /tmp/pre-build-complete [Pipeline] sh 09:55:13 + mkdir -p /var/log/sysstat [Pipeline] sh 09:55:13 + ls /var/log/sa-host 09:55:13 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:55:14 provisioning config files... 09:55:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_app-record-replay_PR-152@tmp/config13640060402607077738tmp [Pipeline] { [Pipeline] echo 09:55:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:55:14 ---> create-netrc.sh [Pipeline] } 09:55:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:55:14 ---> python-tools-install.sh [Pipeline] echo 09:55:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:55:15 ---> sudo-logs.sh 09:55:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:55:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:55:15 ---> job-cost.sh 09:55:15 lf-activate-venv: SKIPPING 09:55:15 DEBUG: total: 0.2199999988079071 09:55:15 INFO: Retrieving Stack Cost... 09:55:16 INFO: Retrieving Pricing Info for: v3-standard-8 09:55:16 INFO: Archiving Costs [Pipeline] echo 09:55:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:55:16 ---> logs-deploy.sh 09:55:16 lf-activate-venv: SKIPPING 09:55:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-152/1 09:55:16 INFO: archiving workspace using pattern(s): 09:55:17 Archives upload complete. 09:55:17 INFO: archiving logs to Nexus