Pull request #145 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5adec9a64be21fef2d0ffa47b0d78ce1dc9cdfd4+4e02d7e7ee3d056775d0a2c0a060980b3fd4bda4 (1debc694f1c4f4216e6ebe8d006cee2b3a96fd54) 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-ssh4746469199847042905.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-ssh8423374345835315261.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-145/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-145/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8004236581563084834.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-145/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16981455928097220019.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-ssh11824528070044815861.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-145/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-145/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3468595468429128007.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 ‘prd-ubuntu18.04-docker-8c-8g-21829’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-22349’ is offline Running on prd-ubuntu20.04-docker-8c-8g-22355 in /w/workspace/foundry_app-record-replay_PR-145 [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-145 # 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 > 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/145/head:refs/remotes/origin/PR-145 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4e02d7e7ee3d056775d0a2c0a060980b3fd4bda4 into PR head commit 5adec9a64be21fef2d0ffa47b0d78ce1dc9cdfd4 Merge succeeded, producing 5adec9a64be21fef2d0ffa47b0d78ce1dc9cdfd4 Checking out Revision 5adec9a64be21fef2d0ffa47b0d78ce1dc9cdfd4 (PR-145) Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac > git config core.sparsecheckout # timeout=10 > git checkout -f 5adec9a64be21fef2d0ffa47b0d78ce1dc9cdfd4 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 4e02d7e7ee3d056775d0a2c0a060980b3fd4bda4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5adec9a64be21fef2d0ffa47b0d78ce1dc9cdfd4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:04:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:04:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:04:06 ========================================================= 22:04:06 EdgeX Global Pipelines Version Info 22:04:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:04:07 ------------------- 22:04:07 stable info: 22:04:07 ------------------- 22:04:07 Commited By: Ginny Guan ginny@iotechsys.com 22:04:07 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 22:04:07 Message: update stable to v1.0.265 22:04:07 ------------------- 22:04:07 experimental info: 22:04:07 ------------------- 22:04:07 Commited By: Cherry Wang cherry@iotechsys.com 22:04:07 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 22:04:07 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:04:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 22:04:08 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 22:04:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:04:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:04:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:04:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 22:04:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:04:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:04:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:04:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:04:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:04:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 22:04:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:04:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:04:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:04:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:04:09 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:04:09 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:04:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:04:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:04:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:04:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:04:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:04:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:04:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:04:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:04:09 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:04:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-145 [Pipeline] echo 22:04:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-145 [Pipeline] echo 22:04:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-145 [Pipeline] echo 22:04:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5adec9a64be21fef2d0ffa47b0d78ce1dc9cdfd4 [Pipeline] echo 22:04:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5adec9a [Pipeline] echo 22:04:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:04:10 provisioning config files... 22:04:10 copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-145@tmp/config10317660753407320418tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:04:10 ---> ****-login.sh 22:04:10 nexus3.edgexfoundry.org:10001 22:04:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:04:10 Configure a credential helper to remove this warning. See 22:04:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:04:10 22:04:10 Login Succeeded 22:04:10 nexus3.edgexfoundry.org:10002 22:04:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:04:10 Configure a credential helper to remove this warning. See 22:04:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:04:10 22:04:10 Login Succeeded 22:04:10 nexus3.edgexfoundry.org:10003 22:04:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:04:11 Configure a credential helper to remove this warning. See 22:04:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:04:11 22:04:11 Login Succeeded 22:04:11 nexus3.edgexfoundry.org:10004 22:04:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:04:11 Configure a credential helper to remove this warning. See 22:04:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:04:11 22:04:11 Login Succeeded 22:04:11 ****.io 22:04:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:04:11 Configure a credential helper to remove this warning. See 22:04:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:04:11 22:04:11 Login Succeeded 22:04:11 ---> ****-login.sh ends [Pipeline] } 22:04:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:04:11 + git rev-list -1 --merges 5adec9a64be21fef2d0ffa47b0d78ce1dc9cdfd4~1..5adec9a64be21fef2d0ffa47b0d78ce1dc9cdfd4 [Pipeline] echo 22:04:12 -----------> git rev-list -1 --merges 5adec9a64be21fef2d0ffa47b0d78ce1dc9cdfd4~1..5adec9a64be21fef2d0ffa47b0d78ce1dc9cdfd4 5adec9a64be21fef2d0ffa47b0d78ce1dc9cdfd4 [false] [Pipeline] sh 22:04:12 + git log --format=format:%s -1 5adec9a64be21fef2d0ffa47b0d78ce1dc9cdfd4 [Pipeline] echo 22:04:12 ========================================================= 22:04:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:04:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:04:12 + git log --format=format:%s -1 5adec9a64be21fef2d0ffa47b0d78ce1dc9cdfd4 [Pipeline] echo 22:04:12 [semverPrep] GIT_COMMIT: 5adec9a64be21fef2d0ffa47b0d78ce1dc9cdfd4, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 22:04:12 [semverPrep] This is not a build commit. [Pipeline] sh 22:04:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:04:13 + grep -v github /etc/ssh/ssh_known_hosts 22:04:13 + [ -e /tmp/ssh_known_hosts ] 22:04:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:04:13 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:04:13 + sudo tee -a /etc/ssh/ssh_known_hosts 22:04:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:04:13 22:04:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:04:14 0.1.4: Pulling from edgex-devops/py-git-semver 22:04:14 b85a868b505f: Pulling fs layer 22:04:14 e2be974225ed: Pulling fs layer 22:04:14 339a4e72a1f5: Pulling fs layer 22:04:14 988bab9f4d93: Pulling fs layer 22:04:14 1469e6f7b9e6: Pulling fs layer 22:04:14 eaf3925da568: Pulling fs layer 22:04:14 bab4dde63d76: Pulling fs layer 22:04:14 bde34c3a00c8: Pulling fs layer 22:04:14 b352a97aabf1: Pulling fs layer 22:04:14 4872d77fe225: Pulling fs layer 22:04:14 5851b861e8e6: Pulling fs layer 22:04:14 1469e6f7b9e6: Waiting 22:04:14 bab4dde63d76: Waiting 22:04:14 5851b861e8e6: Waiting 22:04:14 eaf3925da568: Waiting 22:04:14 bde34c3a00c8: Waiting 22:04:14 b352a97aabf1: Waiting 22:04:14 4872d77fe225: Waiting 22:04:14 988bab9f4d93: Waiting 22:04:14 e2be974225ed: Verifying Checksum 22:04:14 e2be974225ed: Download complete 22:04:14 988bab9f4d93: Verifying Checksum 22:04:14 988bab9f4d93: Download complete 22:04:14 1469e6f7b9e6: Verifying Checksum 22:04:14 1469e6f7b9e6: Download complete 22:04:14 339a4e72a1f5: Verifying Checksum 22:04:14 339a4e72a1f5: Download complete 22:04:14 eaf3925da568: Verifying Checksum 22:04:14 eaf3925da568: Download complete 22:04:14 bde34c3a00c8: Verifying Checksum 22:04:14 bde34c3a00c8: Download complete 22:04:14 b352a97aabf1: Verifying Checksum 22:04:14 b352a97aabf1: Download complete 22:04:14 4872d77fe225: Verifying Checksum 22:04:14 4872d77fe225: Download complete 22:04:14 5851b861e8e6: Verifying Checksum 22:04:14 b85a868b505f: Verifying Checksum 22:04:14 b85a868b505f: Download complete 22:04:14 bab4dde63d76: Verifying Checksum 22:04:14 bab4dde63d76: Download complete 22:04:15 b85a868b505f: Pull complete 22:04:15 e2be974225ed: Pull complete 22:04:16 339a4e72a1f5: Pull complete 22:04:16 988bab9f4d93: Pull complete 22:04:16 1469e6f7b9e6: Pull complete 22:04:16 eaf3925da568: Pull complete 22:04:18 bab4dde63d76: Pull complete 22:04:18 bde34c3a00c8: Pull complete 22:04:18 b352a97aabf1: Pull complete 22:04:18 4872d77fe225: Pull complete 22:04:18 5851b861e8e6: Pull complete 22:04:18 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:04:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:04:18 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:04:18 prd-ubuntu20.04-docker-8c-8g-22355 does not seem to be running inside a container 22:04:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_app-record-replay_PR-145 -v /w/workspace/foundry_app-record-replay_PR-145:/w/workspace/foundry_app-record-replay_PR-145:rw,z -v /w/workspace/foundry_app-record-replay_PR-145@tmp:/w/workspace/foundry_app-record-replay_PR-145@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:04:21 $ docker top 51506416b865afe2c828697ea90bf132345cdc7ae48eab7430c6b0c55cd3c4b0 -eo pid,comm 22:04:21 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:04:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:04:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:04:21 [ssh-agent] Looking for ssh-agent implementation... 22:04:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:04:22 $ docker exec 51506416b865afe2c828697ea90bf132345cdc7ae48eab7430c6b0c55cd3c4b0 ssh-agent 22:04:22 SSH_AUTH_SOCK=/tmp/ssh-1fi0MzIyxrGg/agent.33 22:04:22 SSH_AGENT_PID=39 22:04:22 Running ssh-add (command line suppressed) 22:04:22 Identity added: /w/workspace/foundry_app-record-replay_PR-145@tmp/private_key_3802793306343427782.key (/w/workspace/foundry_app-record-replay_PR-145@tmp/private_key_3802793306343427782.key) 22:04:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:04:22 + git tag --points-at HEAD [Pipeline] } 22:04:22 $ docker exec --env ******** --env ******** 51506416b865afe2c828697ea90bf132345cdc7ae48eab7430c6b0c55cd3c4b0 ssh-agent -k 22:04:22 unset SSH_AUTH_SOCK; 22:04:22 unset SSH_AGENT_PID; 22:04:22 echo Agent pid 39 killed; 22:04:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:04:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:04:22 [ssh-agent] Looking for ssh-agent implementation... 22:04:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:04:23 $ docker exec 51506416b865afe2c828697ea90bf132345cdc7ae48eab7430c6b0c55cd3c4b0 ssh-agent 22:04:23 SSH_AUTH_SOCK=/tmp/ssh-09kC6RZYUyRn/agent.72 22:04:23 SSH_AGENT_PID=78 22:04:23 Running ssh-add (command line suppressed) 22:04:23 Identity added: /w/workspace/foundry_app-record-replay_PR-145@tmp/private_key_17029968432437446796.key (/w/workspace/foundry_app-record-replay_PR-145@tmp/private_key_17029968432437446796.key) 22:04:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:04:23 + git semver init 22:04:23 2024-10-09 22:04:23,812 [run_init] DEBUG init version:0.0.0 force:False 22:04:23 2024-10-09 22:04:23,813 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_app-record-replay_PR-145/.semver 22:04:23 2024-10-09 22:04:23,813 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/foundry_app-record-replay_PR-145/.semver 22:04:23 2024-10-09 22:04:23,813 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/foundry_app-record-replay_PR-145/.semver'], cwd=/w/workspace/foundry_app-record-replay_PR-145, universal_newlines=False, shell=None, istream=None) 22:04:25 2024-10-09 22:04:25,084 [append_file] DEBUG append to file:/w/workspace/foundry_app-record-replay_PR-145/.git/info/exclude 22:04:25 2024-10-09 22:04:25,084 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_app-record-replay_PR-145/.semver/PR-145 with force:False 22:04:25 2024-10-09 22:04:25,084 [write_file] DEBUG write to file:/w/workspace/foundry_app-record-replay_PR-145/.semver/PR-145 22:04:25 2024-10-09 22:04:25,088 [execute] INFO git cat-file --batch-check 22:04:25 2024-10-09 22:04:25,088 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_app-record-replay_PR-145/.semver, universal_newlines=False, shell=None, istream=) 22:04:25 2024-10-09 22:04:25,094 [execute] INFO git cat-file --batch 22:04:25 2024-10-09 22:04:25,094 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_app-record-replay_PR-145/.semver, universal_newlines=False, shell=None, istream=) 22:04:25 2024-10-09 22:04:25,099 [read_version] DEBUG read version from /w/workspace/foundry_app-record-replay_PR-145/.semver/PR-145 22:04:25 0.0.0 [Pipeline] } 22:04:25 $ docker exec --env ******** --env ******** 51506416b865afe2c828697ea90bf132345cdc7ae48eab7430c6b0c55cd3c4b0 ssh-agent -k 22:04:25 unset SSH_AUTH_SOCK; 22:04:25 unset SSH_AGENT_PID; 22:04:25 echo Agent pid 78 killed; 22:04:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:04:25 + git semver [Pipeline] } 22:04:26 $ docker stop --time=1 51506416b865afe2c828697ea90bf132345cdc7ae48eab7430c6b0c55cd3c4b0 22:04:27 $ docker rm -f --volumes 51506416b865afe2c828697ea90bf132345cdc7ae48eab7430c6b0c55cd3c4b0 [Pipeline] // withDockerContainer [Pipeline] sh 22:04:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:04:28 Stashed 1 file(s) [Pipeline] echo 22:04:28 [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 22:04:28 provisioning config files... 22:04:28 copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-145@tmp/config6652981808072263725tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:04:29 ---> ****-login.sh 22:04:29 nexus3.edgexfoundry.org:10001 22:04:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:04:29 Configure a credential helper to remove this warning. See 22:04:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:04:29 22:04:29 Login Succeeded 22:04:29 nexus3.edgexfoundry.org:10002 22:04:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:04:29 Configure a credential helper to remove this warning. See 22:04:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:04:29 22:04:29 Login Succeeded 22:04:29 nexus3.edgexfoundry.org:10003 22:04:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:04:29 Configure a credential helper to remove this warning. See 22:04:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:04:29 22:04:29 Login Succeeded 22:04:29 nexus3.edgexfoundry.org:10004 22:04:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:04:29 Configure a credential helper to remove this warning. See 22:04:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:04:29 22:04:29 Login Succeeded 22:04:29 ****.io 22:04:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:04:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:04:29 Configure a credential helper to remove this warning. See 22:04:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:04:29 22:04:29 Login Succeeded 22:04:29 ---> ****-login.sh ends [Pipeline] } 22:04:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:04:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:04:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:04:30 ========================================================= 22:04:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 22:04:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:30 + 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 . 22:04:30 Sending build context to Docker daemon 9.895MB 22:04:30 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 22:04:30 Step 2/12 : FROM ${BASE} AS builder 22:04:30 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 22:04:30 43c4264eed91: Pulling fs layer 22:04:30 4cc291be95ef: Pulling fs layer 22:04:30 2ac1f1163629: Pulling fs layer 22:04:30 5c3c966382ef: Pulling fs layer 22:04:30 4f4fb700ef54: Pulling fs layer 22:04:30 5d5c8e513c77: Pulling fs layer 22:04:30 9f66e0745190: Pulling fs layer 22:04:30 f49a43e4bbc0: Pulling fs layer 22:04:30 561ebcabdf7f: Pulling fs layer 22:04:30 9f66e0745190: Waiting 22:04:30 4f4fb700ef54: Waiting 22:04:30 5c3c966382ef: Waiting 22:04:30 5d5c8e513c77: Waiting 22:04:30 4cc291be95ef: Verifying Checksum 22:04:30 4cc291be95ef: Download complete 22:04:30 5c3c966382ef: Verifying Checksum 22:04:30 5c3c966382ef: Download complete 22:04:30 4f4fb700ef54: Download complete 22:04:30 5d5c8e513c77: Verifying Checksum 22:04:30 5d5c8e513c77: Download complete 22:04:30 43c4264eed91: Download complete 22:04:30 9f66e0745190: Verifying Checksum 22:04:30 9f66e0745190: Download complete 22:04:30 43c4264eed91: Pull complete 22:04:31 561ebcabdf7f: Download complete 22:04:31 4cc291be95ef: Pull complete 22:04:31 2ac1f1163629: Download complete 22:04:31 f49a43e4bbc0: Verifying Checksum 22:04:31 f49a43e4bbc0: Download complete 22:04:34 2ac1f1163629: Pull complete 22:04:34 5c3c966382ef: Pull complete 22:04:34 4f4fb700ef54: Pull complete 22:04:34 5d5c8e513c77: Pull complete 22:04:34 9f66e0745190: Pull complete 22:04:36 f49a43e4bbc0: Pull complete 22:04:37 561ebcabdf7f: Pull complete 22:04:37 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 22:04:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 22:04:37 ---> 3a752c3f9dda 22:04:37 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 22:04:41 ---> Running in 2197772aa344 22:04:41 Removing intermediate container 2197772aa344 22:04:41 ---> 7134ba68bbbe 22:04:41 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 22:04:41 ---> Running in f90d33dcd5a3 22:04:41 Removing intermediate container f90d33dcd5a3 22:04:41 ---> 982508289e88 22:04:41 Step 5/12 : ARG ADD_BUILD_TAGS="" 22:04:41 ---> Running in e4b394573912 22:04:41 Removing intermediate container e4b394573912 22:04:41 ---> e4ca42204dee 22:04:41 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:04:41 ---> Running in 998f9c55ac21 22:04:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 22:04:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 22:04:42 OK: 246 MiB in 54 packages 22:04:42 Removing intermediate container 998f9c55ac21 22:04:42 ---> 650d71af4541 22:04:42 Step 7/12 : WORKDIR /app 22:04:42 ---> Running in f1a80656c22c 22:04:42 Removing intermediate container f1a80656c22c 22:04:42 ---> 84105da9235c 22:04:42 Step 8/12 : COPY go.mod vendor* ./ 22:04:42 ---> bd0b594ed357 22:04:42 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:04:42 ---> Running in 1503a5b8ac44 22:04:43 Still waiting to schedule task 22:04:43 ‘prd-ubuntu18.04-docker-8c-8g-21829’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 22:04:43 ‘prd-ubuntu20.04-docker-arm64-4c-16g-22356’ is offline 22:05:33 Removing intermediate container 1503a5b8ac44 22:05:33 ---> 15ff03b52f6c 22:05:33 Step 10/12 : COPY . . 22:05:33 ---> 4f1346a62ea5 22:05:33 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:05:33 ---> Running in 59c7c0ccb0c6 22:05:33 Removing intermediate container 59c7c0ccb0c6 22:05:33 ---> 0d3361e1f0f5 22:05:33 Step 12/12 : RUN $MAKE 22:05:33 ---> Running in 6981dd8f200b 22:05:33 noop 22:05:33 Removing intermediate container 6981dd8f200b 22:05:33 ---> 65f564297c5a 22:05:33 Successfully built 65f564297c5a 22:05:33 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:05:33 + docker inspect -f . ci-base-image-x86_64 22:05:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:05:33 prd-ubuntu20.04-docker-8c-8g-22355 does not seem to be running inside a container 22:05:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_app-record-replay_PR-145 -v /w/workspace/foundry_app-record-replay_PR-145:/w/workspace/foundry_app-record-replay_PR-145:rw,z -v /w/workspace/foundry_app-record-replay_PR-145@tmp:/w/workspace/foundry_app-record-replay_PR-145@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:05:34 $ docker top 9a15cadf7e2b64cea3244317a343d2fdbfb5368d4aa47c5c6d54cbba0c235b4a -eo pid,comm [Pipeline] { [Pipeline] sh 22:05:34 + go version 22:05:34 go version go1.23.2 linux/amd64 [Pipeline] } 22:05:34 $ docker stop --time=1 9a15cadf7e2b64cea3244317a343d2fdbfb5368d4aa47c5c6d54cbba0c235b4a 22:05:35 $ docker rm -f --volumes 9a15cadf7e2b64cea3244317a343d2fdbfb5368d4aa47c5c6d54cbba0c235b4a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:05:36 + docker inspect -f . ci-base-image-x86_64 22:05:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:05:36 prd-ubuntu20.04-docker-8c-8g-22355 does not seem to be running inside a container 22:05:36 $ 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-145 -v /w/workspace/foundry_app-record-replay_PR-145:/w/workspace/foundry_app-record-replay_PR-145:rw,z -v /w/workspace/foundry_app-record-replay_PR-145@tmp:/w/workspace/foundry_app-record-replay_PR-145@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:05:37 $ docker top 1a458c6250f30647275a069a748b25c1421e69727b9d36936ec9b145035f7897 -eo pid,comm [Pipeline] { [Pipeline] sh 22:05:37 + git config --global --add safe.directory /w/workspace/foundry_app-record-replay_PR-145 [Pipeline] fileExists [Pipeline] sh 22:05:37 + make test 22:05:37 go test -race -coverprofile=coverage.out ./... 22:06:09 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 22:06:09 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 22:06:09 github.com/edgexfoundry/app-record-replay coverage: 0.0% of statements 22:06:09 github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks coverage: 0.0% of statements 22:06:09 ok github.com/edgexfoundry/app-record-replay/internal/app 1.030s coverage: 88.0% of statements 22:06:18 ok github.com/edgexfoundry/app-record-replay/internal/application 9.585s coverage: 98.7% of statements 22:06:18 ok github.com/edgexfoundry/app-record-replay/internal/controller 1.149s coverage: 89.7% of statements 22:06:18 ok github.com/edgexfoundry/app-record-replay/internal/utils 1.020s coverage: 100.0% of statements 22:06:18 running golangci-lint 22:06:18 golangci-lint has version 1.61.0 built with go1.23.1 from a1d6c560 on 2024-09-09T17:44:42Z 22:06:18 go version go1.23.2 linux/amd64 22:06:18 level=info msg="golangci-lint has version 1.61.0 built with go1.23.1 from a1d6c560 on 2024-09-09T17:44:42Z" 22:06:18 level=info msg="[config_reader] Used config file .golangci.yml" 22:06:18 level=info msg="[lintersdb] Active 7 linters: [errcheck gosec gosimple govet ineffassign staticcheck unused]" 22:06:39 level=info msg="[loader] Go packages loading at mode 575 (compiled_files|exports_file|name|types_sizes|deps|files|imports) took 20.773151117s" 22:06:39 level=info msg="[runner/filename_unadjuster] Pre-built 0 adjustments in 5.665581ms" 22:06:48 level=info msg="[linters_context/goanalysis] analyzers took 49.643978785s with top 10 stages: buildir: 37.516402116s, inspect: 2.150314011s, fact_deprecated: 1.547298235s, ctrlflow: 1.320580326s, printf: 1.218161437s, nilness: 835.706853ms, fact_purity: 821.717886ms, typedness: 565.803189ms, SA5012: 391.514893ms, tokenfileanalyzer: 360.346478ms" 22:06:48 level=info msg="[runner] Issues before processing: 10, after processing: 0" 22:06:48 level=info msg="[runner] Processors filtering stat (in/out): skip_files: 10/10, identifier_marker: 10/10, cgo: 10/10, path_prettifier: 10/10, skip_dirs: 10/10, autogenerated_exclude: 10/10, exclude: 10/10, filename_unadjuster: 10/10, invalid_issue: 10/10, exclude-rules: 10/0" 22:06:48 level=info msg="[runner] processing took 807.063µs with stages: identifier_marker: 399.396µs, autogenerated_exclude: 128.932µs, exclude-rules: 94.302µs, skip_dirs: 93.661µs, path_prettifier: 74.901µs, cgo: 3.26µs, invalid_issue: 2.99µs, filename_unadjuster: 1.82µs, nolint: 1.46µs, max_same_issues: 1.181µs, skip_files: 840ns, uniq_by_line: 620ns, fixer: 610ns, max_from_linter: 520ns, sort_results: 440ns, exclude: 400ns, max_per_file_from_linter: 400ns, diff: 320ns, source_code: 270ns, path_shortener: 270ns, path_prefixer: 240ns, severity-rules: 230ns" 22:06:48 level=info msg="[runner] linters took 9.291410416s with stages: goanalysis_metalinter: 9.290462922s" 22:06:48 level=info msg="File cache stats: 0 entries of total size 0B" 22:06:48 level=info msg="Memory: 302 samples, avg is 233.6MB, max is 1142.4MB" 22:06:48 level=info msg="Execution took 30.076840037s" 22:06:48 go vet ./... 22:06:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:06:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:06:54 ./bin/test-attribution-txt.sh 22:06:54 An attribution for github.com/barkimedes/go-deepcopy is missing from Attribution.txt, please add 22:06:54 An attribution for github.com/jackc/pgerrcode is missing from Attribution.txt, please add 22:06:54 An attribution for github.com/jackc/pgpassfile is missing from Attribution.txt, please add 22:06:54 An attribution for github.com/jackc/pgservicefile is missing from Attribution.txt, please add 22:06:54 An attribution for github.com/jackc/pgx/v5 is missing from Attribution.txt, please add 22:06:54 An attribution for github.com/jackc/puddle/v2 is missing from Attribution.txt, please add [Pipeline] echo 22:06:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 22:06:55 $ docker stop --time=1 1a458c6250f30647275a069a748b25c1421e69727b9d36936ec9b145035f7897 22:06:58 $ docker rm -f --volumes 1a458c6250f30647275a069a748b25c1421e69727b9d36936ec9b145035f7897 [Pipeline] // withDockerContainer [Pipeline] sh 22:06:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:06:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:07:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:07:00 + ls -al . 22:07:00 total 276 22:07:00 drwxrwxr-x 10 jenkins jenkins 4096 Oct 9 22:05 . 22:07:00 drwxrwxr-x 4 jenkins jenkins 4096 Oct 9 22:03 .. 22:07:00 -rw-rw-r-- 1 jenkins jenkins 119 Oct 9 22:03 .dockerignore 22:07:00 drwxrwxr-x 8 jenkins jenkins 4096 Oct 9 22:06 .git 22:07:00 drwxrwxr-x 3 jenkins jenkins 4096 Oct 9 22:03 .github 22:07:00 -rw-rw-r-- 1 jenkins jenkins 164 Oct 9 22:03 .gitignore 22:07:00 -rw-rw-r-- 1 jenkins jenkins 41 Oct 9 22:03 .golangci.yml 22:07:00 drwxr-xr-x 3 jenkins jenkins 4096 Oct 9 22:04 .semver 22:07:00 -rw-rw-r-- 1 jenkins jenkins 20126 Oct 9 22:03 Attribution.txt 22:07:00 -rw-rw-r-- 1 jenkins jenkins 458 Oct 9 22:03 CHANGELOG.md 22:07:00 -rw-rw-r-- 1 jenkins jenkins 1725 Oct 9 22:03 Dockerfile 22:07:00 -rw-rw-r-- 1 jenkins jenkins 677 Oct 9 22:03 GOVERNANCE.md 22:07:00 -rw-rw-r-- 1 jenkins jenkins 681 Oct 9 22:03 Jenkinsfile 22:07:00 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 9 22:03 LICENSE 22:07:00 -rw-rw-r-- 1 jenkins jenkins 3268 Oct 9 22:03 Makefile 22:07:00 -rw-rw-r-- 1 jenkins jenkins 611 Oct 9 22:03 OWNERS.md 22:07:00 -rw-rw-r-- 1 jenkins jenkins 4107 Oct 9 22:03 README.md 22:07:00 -rw-rw-r-- 1 jenkins jenkins 7789 Oct 9 22:03 Record and Reply.postman_collection.json 22:07:00 -rw-rw-r-- 1 jenkins jenkins 5 Oct 9 22:04 VERSION 22:07:00 drwxrwxr-x 2 jenkins jenkins 4096 Oct 9 22:03 bin 22:07:00 -rw-r--r-- 1 jenkins jenkins 34247 Oct 9 22:06 coverage.out 22:07:00 -rw-rw-r-- 1 jenkins jenkins 7488 Oct 9 22:03 go.mod 22:07:00 -rw-rw-r-- 1 jenkins jenkins 100896 Oct 9 22:03 go.sum 22:07:00 drwxrwxr-x 7 jenkins jenkins 4096 Oct 9 22:03 internal 22:07:00 -rw-rw-r-- 1 jenkins jenkins 913 Oct 9 22:03 main.go 22:07:00 drwxrwxr-x 3 jenkins jenkins 4096 Oct 9 22:03 openapi 22:07:00 drwxrwxr-x 3 jenkins jenkins 4096 Oct 9 22:03 pkg 22:07:00 drwxrwxr-x 2 jenkins jenkins 4096 Oct 9 22:03 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:07:01 + 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=5adec9a64be21fef2d0ffa47b0d78ce1dc9cdfd4 --label arch=amd64 --label version=0.0.0 . 22:07:01 Sending build context to Docker daemon 9.93MB 22:07:01 Step 1/27 : ARG BASE=golang:1.23-alpine3.20 22:07:01 Step 2/27 : FROM ${BASE} AS builder 22:07:01 ---> 65f564297c5a 22:07:01 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 22:07:01 ---> Running in 14b22fb62bb3 22:07:01 Removing intermediate container 14b22fb62bb3 22:07:01 ---> 6914ce57e164 22:07:01 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 22:07:01 ---> Running in 598eb3e7fab7 22:07:01 Removing intermediate container 598eb3e7fab7 22:07:01 ---> ab312f446131 22:07:01 Step 5/27 : ARG ADD_BUILD_TAGS="" 22:07:01 ---> Running in 3467e56d2bf6 22:07:01 Removing intermediate container 3467e56d2bf6 22:07:01 ---> 242a9eb5e7e7 22:07:01 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:07:01 ---> Running in be6c0099eace 22:07:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 22:07:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 22:07:02 OK: 246 MiB in 54 packages 22:07:02 Removing intermediate container be6c0099eace 22:07:02 ---> c90ead9f5646 22:07:02 Step 7/27 : WORKDIR /app 22:07:02 ---> Running in e1b58745e31f 22:07:02 Removing intermediate container e1b58745e31f 22:07:02 ---> d6441d8a45de 22:07:02 Step 8/27 : COPY go.mod vendor* ./ 22:07:02 ---> 444e7acaf4a5 22:07:02 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:07:02 ---> Running in 22df6f51ae87 22:07:03 Removing intermediate container 22df6f51ae87 22:07:03 ---> fd4b5aa06f3e 22:07:03 Step 10/27 : COPY . . 22:07:03 ---> 773c144b7366 22:07:03 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:07:03 ---> Running in 384a3eabef35 22:07:03 Removing intermediate container 384a3eabef35 22:07:03 ---> 664aa325b426 22:07:03 Step 12/27 : RUN $MAKE 22:07:03 ---> Running in d97732cf07b5 22:07:04 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.55 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 22:07:11 Running on prd-ubuntu20.04-docker-arm64-4c-16g-22360 in /w/workspace/foundry_app-record-replay_PR-145 [Pipeline] { [Pipeline] ws 22:07:11 Running in /w/workspace/app-record-replay/1 [Pipeline] { [Pipeline] checkout 22:07:11 Selected Git installation does not exist. Using Default 22:07:11 The recommended git tool is: NONE 22:07:19 using credential edgex-jenkins-ssh 22:07:19 Cloning the remote Git repository 22:07:19 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 22:07:19 > git init /w/workspace/app-record-replay/1 # timeout=10 22:07:19 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 22:07:19 > git --version # timeout=10 22:07:19 > git --version # 'git version 2.25.1' 22:07:19 using GIT_SSH to set credentials SSH Credentials for GitHub 22:07:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:07:22 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 22:07:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:07:23 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 22:07:23 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 22:07:23 using GIT_SSH to set credentials SSH Credentials for GitHub 22:07:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/145/head:refs/remotes/origin/PR-145 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:07:24 Merging remotes/origin/main commit 4e02d7e7ee3d056775d0a2c0a060980b3fd4bda4 into PR head commit 5adec9a64be21fef2d0ffa47b0d78ce1dc9cdfd4 22:07:24 Merge succeeded, producing 5adec9a64be21fef2d0ffa47b0d78ce1dc9cdfd4 22:07:24 Checking out Revision 5adec9a64be21fef2d0ffa47b0d78ce1dc9cdfd4 (PR-145) 22:07:25 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 22:07:25 > git --version # timeout=10 22:07:25 > git --version # 'git version 2.25.1' 22:07:25 fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac 22:07:24 > git config core.sparsecheckout # timeout=10 22:07:24 > git checkout -f 5adec9a64be21fef2d0ffa47b0d78ce1dc9cdfd4 # timeout=10 22:07:24 > git remote # timeout=10 22:07:24 > git config --get remote.origin.url # timeout=10 22:07:24 using GIT_SSH to set credentials SSH Credentials for GitHub 22:07:24 > git merge 4e02d7e7ee3d056775d0a2c0a060980b3fd4bda4 # timeout=10 22:07:24 > git rev-parse HEAD^{commit} # timeout=10 22:07:24 > git config core.sparsecheckout # timeout=10 22:07:24 > git checkout -f 5adec9a64be21fef2d0ffa47b0d78ce1dc9cdfd4 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:07:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:07:30 % Total % Received % Xferd Average Speed Time Time Time Current 22:07:30 Dload Upload Total Spent Left Speed 22:07:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 195k 0 --:--:-- --:--:-- --:--:-- 195k [Pipeline] sh 22:07:30 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:07:31 + sudo tee /etc/docker/daemon.new 22:07:31 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:07:31 { 22:07:31 "registry-mirrors": [ 22:07:31 "https://nexus3.edgexfoundry.org:10001" 22:07:31 ], 22:07:31 "bip": "10.250.0.254/24", 22:07:31 "hosts": [ 22:07:31 "tcp://0.0.0.0:5555", 22:07:31 "unix:///var/run/docker.sock" 22:07:31 ], 22:07:31 "mtu": 1458, 22:07:31 "selinux-enabled": true, 22:07:31 "seccomp-profile": "/etc/docker/seccomp.json" 22:07:31 } [Pipeline] sh 22:07:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:07:32 + sudo service docker restart 22:07:36 Removing intermediate container d97732cf07b5 22:07:36 ---> defeb3d2b8cb 22:07:36 Step 13/27 : FROM alpine:3.20 22:07:36 3.20: Pulling from library/alpine 22:07:36 43c4264eed91: Already exists 22:07:36 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 22:07:36 Status: Downloaded newer image for alpine:3.20 22:07:36 ---> 91ef0af61f39 22:07:36 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 22:07:36 ---> Running in 8229ba339860 22:07:36 Removing intermediate container 8229ba339860 22:07:36 ---> 7dfd2d7fadc0 22:07:36 Step 15/27 : LABEL Name=app-record-replay Version=${VERSION} 22:07:36 ---> Running in ecadccfc17ee 22:07:36 Removing intermediate container ecadccfc17ee 22:07:36 ---> d49f559d37d0 22:07:36 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 22:07:36 ---> Running in 31e531809f9d 22:07:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 22:07:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 22:07:36 (1/2) Installing ca-certificates (20240705-r0) 22:07:36 (2/2) Installing dumb-init (1.2.5-r3) 22:07:36 Executing busybox-1.36.1-r29.trigger 22:07:36 Executing ca-certificates-20240705-r0.trigger 22:07:36 OK: 9 MiB in 16 packages 22:07:36 Removing intermediate container 31e531809f9d 22:07:36 ---> 41ef9ed901a1 22:07:36 Step 17/27 : RUN apk --no-cache upgrade 22:07:36 ---> Running in 1b358da1e306 22:07:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 22:07:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 22:07:36 Upgrading critical system libraries and apk-tools: 22:07:36 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 22:07:36 Executing busybox-1.36.1-r29.trigger 22:07:36 Continuing the upgrade transaction with new apk-tools: 22:07:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 22:07:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 22:07:37 OK: 9 MiB in 16 packages 22:07:37 Removing intermediate container 1b358da1e306 22:07:37 ---> 4aca414aebdd 22:07:37 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 22:07:37 ---> 656630816003 22:07:37 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 22:07:37 ---> f3fcabd95e9c 22:07:37 Step 20/27 : COPY --from=builder /app/res/ /res/ 22:07:37 ---> 84bf8f0d3b72 22:07:37 Step 21/27 : COPY --from=builder /app/app-record-replay /app-record-replay 22:07:38 ---> f91e8d06b8ce 22:07:38 Step 22/27 : EXPOSE 59712 22:07:38 ---> Running in 008e771b9491 22:07:38 Removing intermediate container 008e771b9491 22:07:38 ---> 53e210fb4925 22:07:38 Step 23/27 : ENTRYPOINT ["/app-record-replay"] 22:07:38 ---> Running in 3c3ad94654a5 22:07:38 Removing intermediate container 3c3ad94654a5 22:07:38 ---> 84ea85a723ed 22:07:38 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 22:07:38 ---> Running in 99dd401489fb 22:07:39 Removing intermediate container 99dd401489fb 22:07:39 ---> ab848bac3ed6 22:07:39 Step 25/27 : LABEL arch=amd64 22:07:39 ---> Running in 45e0070a1e58 22:07:39 Removing intermediate container 45e0070a1e58 22:07:39 ---> 4e949484ea9f 22:07:39 Step 26/27 : LABEL git_sha=5adec9a64be21fef2d0ffa47b0d78ce1dc9cdfd4 22:07:39 ---> Running in 2596ce0b6185 22:07:39 Removing intermediate container 2596ce0b6185 22:07:39 ---> 9f362348cca0 22:07:39 Step 27/27 : LABEL version=0.0.0 22:07:39 ---> Running in 3968cdcf209a 22:07:39 Removing intermediate container 3968cdcf209a 22:07:39 ---> 896f34a5870e 22:07:39 [Warning] One or more build-args [ARCH] were not consumed 22:07:39 Successfully built 896f34a5870e 22:07:39 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 22:07:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:07:40 22:07:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:07:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:07:40 latest: Pulling from edgex-lftools-log-publisher 22:07:40 5eb5b503b376: Pulling fs layer 22:07:40 5c69ac0246d0: Pulling fs layer 22:07:40 ec43610c2a17: Pulling fs layer 22:07:40 3a2ae6a8a46f: Pulling fs layer 22:07:40 33b1e0a273af: Pulling fs layer 22:07:40 5d3b04190fa2: Pulling fs layer 22:07:40 2f39f015ded8: Pulling fs layer 22:07:40 3a2ae6a8a46f: Waiting 22:07:40 33b1e0a273af: Waiting 22:07:40 5d3b04190fa2: Waiting 22:07:40 2f39f015ded8: Waiting 22:07:40 5c69ac0246d0: Download complete 22:07:40 3a2ae6a8a46f: Verifying Checksum 22:07:40 3a2ae6a8a46f: Download complete 22:07:41 33b1e0a273af: Verifying Checksum 22:07:41 33b1e0a273af: Download complete 22:07:41 5d3b04190fa2: Verifying Checksum 22:07:41 5d3b04190fa2: Download complete 22:07:41 ec43610c2a17: Verifying Checksum 22:07:41 ec43610c2a17: Download complete 22:07:41 5eb5b503b376: Verifying Checksum 22:07:41 5eb5b503b376: Download complete 22:07:41 2f39f015ded8: Download complete 22:07:42 5eb5b503b376: Pull complete 22:07:42 5c69ac0246d0: Pull complete 22:07:42 ec43610c2a17: Pull complete 22:07:42 3a2ae6a8a46f: Pull complete 22:07:43 33b1e0a273af: Pull complete 22:07:43 5d3b04190fa2: Pull complete 22:07:47 2f39f015ded8: Pull complete 22:07:47 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:07:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:07:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:07:47 prd-ubuntu20.04-docker-8c-8g-22355 does not seem to be running inside a container 22:07:47 $ 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-145 -v /w/workspace/foundry_app-record-replay_PR-145:/w/workspace/foundry_app-record-replay_PR-145:rw,z -v /w/workspace/foundry_app-record-replay_PR-145@tmp:/w/workspace/foundry_app-record-replay_PR-145@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:07:51 $ docker top 878526d9fc19a4fba194c8a5035448a3fca69d918289c72f2be7a132056896e0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider 22:07:51 provisioning config files... 22:07:51 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/1@tmp/config7770780891315838567tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:07:51 ---> job-cost.sh 22:07:51 lf-activate-venv: SKIPPING 22:07:51 INFO: No Stack... 22:07:51 INFO: Retrieving Pricing Info for: v3-standard-8 22:07:51 ---> ****-login.sh 22:07:51 nexus3.edgexfoundry.org:10001 22:07:52 INFO: Archiving Costs [Pipeline] sh 22:07:52 + cat /w/workspace/foundry_app-record-replay_PR-145/archives/cost.csv 22:07:52 + cut -d, -f6 [Pipeline] lock 22:07:52 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-record-replay-PR-145-1-stack-cost] 22:07:52 Resource [jenkins-edgexfoundry-app-record-replay-PR-145-1-stack-cost] did not exist. Created. 22:07:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:07:52 Lock acquired on [Resource: jenkins-edgexfoundry-app-record-replay-PR-145-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:07:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:07:52 Configure a credential helper to remove this warning. See 22:07:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:07:52 22:07:52 Login Succeeded 22:07:52 nexus3.edgexfoundry.org:10002 22:07:52 + echo total: 0.2199999988079071 [Pipeline] stash 22:07:52 Stashed 1 file(s) [Pipeline] } 22:07:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:07:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:07:53 Configure a credential helper to remove this warning. See 22:07:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:07:53 22:07:53 Login Succeeded 22:07:53 Lock released on resource [Resource: jenkins-edgexfoundry-app-record-replay-PR-145-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:07:53 $ docker stop --time=1 878526d9fc19a4fba194c8a5035448a3fca69d918289c72f2be7a132056896e0 22:07:53 nexus3.edgexfoundry.org:10003 22:07:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:07:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:07:53 Configure a credential helper to remove this warning. See 22:07:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:07:53 22:07:53 Login Succeeded 22:07:53 nexus3.edgexfoundry.org:10004 22:07:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:07:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:07:54 Configure a credential helper to remove this warning. See 22:07:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:07:54 22:07:54 Login Succeeded 22:07:54 ****.io 22:07:54 $ docker rm -f --volumes 878526d9fc19a4fba194c8a5035448a3fca69d918289c72f2be7a132056896e0 22:07:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } 22:07:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:07:54 Configure a credential helper to remove this warning. See 22:07:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:07:54 22:07:54 Login Succeeded 22:07:54 ---> ****-login.sh ends [Pipeline] // stage [Pipeline] } [Pipeline] } 22:07:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:07:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:07:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:07:55 ========================================================= 22:07:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 22:07:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:07:55 + 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 . 22:07:56 Sending build context to Docker daemon 337.9kB 22:07:56 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 22:07:56 Step 2/12 : FROM ${BASE} AS builder 22:07:56 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:07:56 cf04c63912e1: Pulling fs layer 22:07:56 55b35a11ae5e: Pulling fs layer 22:07:56 a37a00ec5f00: Pulling fs layer 22:07:56 50b3750afda1: Pulling fs layer 22:07:56 4f4fb700ef54: Pulling fs layer 22:07:56 80978eb59214: Pulling fs layer 22:07:56 c9f46d7d2bd2: Pulling fs layer 22:07:56 c5a475d317c9: Pulling fs layer 22:07:56 80978eb59214: Waiting 22:07:56 c9f46d7d2bd2: Waiting 22:07:56 c5a475d317c9: Waiting 22:07:56 50b3750afda1: Waiting 22:07:56 4f4fb700ef54: Waiting 22:07:56 55b35a11ae5e: Verifying Checksum 22:07:56 55b35a11ae5e: Download complete 22:07:56 50b3750afda1: Verifying Checksum 22:07:56 50b3750afda1: Download complete 22:07:56 4f4fb700ef54: Verifying Checksum 22:07:56 4f4fb700ef54: Download complete 22:07:56 80978eb59214: Verifying Checksum 22:07:56 80978eb59214: Download complete 22:07:56 cf04c63912e1: Verifying Checksum 22:07:56 cf04c63912e1: Download complete 22:07:57 c5a475d317c9: Verifying Checksum 22:07:57 c5a475d317c9: Download complete 22:07:58 cf04c63912e1: Pull complete 22:07:58 55b35a11ae5e: Pull complete 22:07:58 a37a00ec5f00: Verifying Checksum 22:07:58 a37a00ec5f00: Download complete 22:07:59 c9f46d7d2bd2: Verifying Checksum 22:07:59 c9f46d7d2bd2: Download complete 22:08:15 a37a00ec5f00: Pull complete 22:08:15 50b3750afda1: Pull complete 22:08:15 4f4fb700ef54: Pull complete 22:08:15 80978eb59214: Pull complete 22:08:21 c9f46d7d2bd2: Pull complete 22:08:23 c5a475d317c9: Pull complete 22:08:23 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 22:08:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 22:08:23 ---> be29e6b0f0d4 22:08:23 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 22:08:25 ---> Running in cc8c49a650e5 22:08:25 Removing intermediate container cc8c49a650e5 22:08:25 ---> 91f418b4d7df 22:08:25 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 22:08:25 ---> Running in e1a31c5dea42 22:08:26 Removing intermediate container e1a31c5dea42 22:08:26 ---> 3e94fa2fae2a 22:08:26 Step 5/12 : ARG ADD_BUILD_TAGS="" 22:08:26 ---> Running in a41279a4c087 22:08:26 Removing intermediate container a41279a4c087 22:08:26 ---> 552272c55969 22:08:26 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:08:27 ---> Running in dc7238aa5c69 22:08:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 22:08:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 22:08:30 OK: 238 MiB in 54 packages 22:08:32 Removing intermediate container dc7238aa5c69 22:08:32 ---> bceccfedc6fd 22:08:32 Step 7/12 : WORKDIR /app 22:08:32 ---> Running in 6d0b291cdf2b 22:08:32 Removing intermediate container 6d0b291cdf2b 22:08:32 ---> 3c956a407a56 22:08:32 Step 8/12 : COPY go.mod vendor* ./ 22:08:33 ---> d25be964ef50 22:08:33 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:08:33 ---> Running in 3320aedff5c9 22:10:55 Removing intermediate container 3320aedff5c9 22:10:55 ---> b09df8678da8 22:10:55 Step 10/12 : COPY . . 22:10:55 ---> 504e6585be9e 22:10:55 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:10:55 ---> Running in fffd78966c49 22:10:55 Removing intermediate container fffd78966c49 22:10:55 ---> 687834d7e314 22:10:55 Step 12/12 : RUN $MAKE 22:10:55 ---> Running in cfeea8412f98 22:10:55 noop 22:10:55 Removing intermediate container cfeea8412f98 22:10:55 ---> 1a5848d720ec 22:10:55 Successfully built 1a5848d720ec 22:10:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:55 + docker inspect -f . ci-base-image-arm64 22:10:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:10:56 prd-ubuntu20.04-docker-arm64-4c-16g-22360 does not seem to be running inside a container 22:10:56 $ 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 ******** ci-base-image-arm64 cat 22:10:57 $ docker top 987788a44d8c2eb97b7c14cb9c565a957d7469cdbade7111e06a86dcb4f00231 -eo pid,comm [Pipeline] { [Pipeline] sh 22:10:58 + go version 22:10:58 go version go1.23.2 linux/arm64 [Pipeline] } 22:10:58 $ docker stop --time=1 987788a44d8c2eb97b7c14cb9c565a957d7469cdbade7111e06a86dcb4f00231 22:11:00 $ docker rm -f --volumes 987788a44d8c2eb97b7c14cb9c565a957d7469cdbade7111e06a86dcb4f00231 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:01 + docker inspect -f . ci-base-image-arm64 22:11:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:11:01 prd-ubuntu20.04-docker-arm64-4c-16g-22360 does not seem to be running inside a container 22:11:01 $ 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 ******** ci-base-image-arm64 cat 22:11:02 $ docker top 09a354e72590b26f49f4e2732720a22b70b9e4c9feb596545d9c4800c8804b73 -eo pid,comm [Pipeline] { [Pipeline] sh 22:11:03 + git config --global --add safe.directory /w/workspace/app-record-replay/1 [Pipeline] fileExists [Pipeline] sh 22:11:04 + make test 22:11:04 go test -race -coverprofile=coverage.out ./... 22:17:12 github.com/edgexfoundry/app-record-replay coverage: 0.0% of statements 22:17:25 ok github.com/edgexfoundry/app-record-replay/internal/app 1.150s coverage: 88.0% of statements 22:17:30 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 22:17:30 github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks coverage: 0.0% of statements 22:17:34 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 22:17:36 ok github.com/edgexfoundry/app-record-replay/internal/application 9.944s coverage: 98.7% of statements 22:17:36 ok github.com/edgexfoundry/app-record-replay/internal/controller 1.520s coverage: 89.7% of statements 22:17:36 ok github.com/edgexfoundry/app-record-replay/internal/utils 1.120s coverage: 100.0% of statements 22:17:38 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:17:38 go vet ./... 22:22:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:22:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:22:45 ./bin/test-attribution-txt.sh 22:22:45 An attribution for github.com/barkimedes/go-deepcopy is missing from Attribution.txt, please add 22:22:45 An attribution for github.com/jackc/pgerrcode is missing from Attribution.txt, please add 22:22:45 An attribution for github.com/jackc/pgpassfile is missing from Attribution.txt, please add 22:22:45 An attribution for github.com/jackc/pgservicefile is missing from Attribution.txt, please add 22:22:45 An attribution for github.com/jackc/pgx/v5 is missing from Attribution.txt, please add 22:22:45 An attribution for github.com/jackc/puddle/v2 is missing from Attribution.txt, please add [Pipeline] echo 22:22:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 22:22:45 $ docker stop --time=1 09a354e72590b26f49f4e2732720a22b70b9e4c9feb596545d9c4800c8804b73 22:22:47 $ docker rm -f --volumes 09a354e72590b26f49f4e2732720a22b70b9e4c9feb596545d9c4800c8804b73 [Pipeline] // withDockerContainer [Pipeline] sh 22:22:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:22:50 Warning: overwriting stash ‘coverage-report’ 22:22:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:22:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:22:52 + ls -al . 22:22:52 total 272 22:22:52 drwxrwxr-x 9 jenkins jenkins 4096 Oct 9 22:11 . 22:22:52 drwxrwxr-x 4 jenkins jenkins 4096 Oct 9 22:07 .. 22:22:52 -rw-rw-r-- 1 jenkins jenkins 119 Oct 9 22:07 .dockerignore 22:22:52 drwxrwxr-x 8 jenkins jenkins 4096 Oct 9 22:07 .git 22:22:52 drwxrwxr-x 3 jenkins jenkins 4096 Oct 9 22:07 .github 22:22:52 -rw-rw-r-- 1 jenkins jenkins 164 Oct 9 22:07 .gitignore 22:22:52 -rw-rw-r-- 1 jenkins jenkins 41 Oct 9 22:07 .golangci.yml 22:22:52 -rw-rw-r-- 1 jenkins jenkins 20126 Oct 9 22:07 Attribution.txt 22:22:52 -rw-rw-r-- 1 jenkins jenkins 458 Oct 9 22:07 CHANGELOG.md 22:22:52 -rw-rw-r-- 1 jenkins jenkins 1725 Oct 9 22:07 Dockerfile 22:22:52 -rw-rw-r-- 1 jenkins jenkins 677 Oct 9 22:07 GOVERNANCE.md 22:22:52 -rw-rw-r-- 1 jenkins jenkins 681 Oct 9 22:07 Jenkinsfile 22:22:52 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 9 22:07 LICENSE 22:22:52 -rw-rw-r-- 1 jenkins jenkins 3268 Oct 9 22:07 Makefile 22:22:52 -rw-rw-r-- 1 jenkins jenkins 611 Oct 9 22:07 OWNERS.md 22:22:52 -rw-rw-r-- 1 jenkins jenkins 4107 Oct 9 22:07 README.md 22:22:52 -rw-rw-r-- 1 jenkins jenkins 7789 Oct 9 22:07 Record and Reply.postman_collection.json 22:22:52 -rw-rw-r-- 1 jenkins jenkins 5 Oct 9 22:04 VERSION 22:22:52 drwxrwxr-x 2 jenkins jenkins 4096 Oct 9 22:07 bin 22:22:52 -rw-r--r-- 1 jenkins jenkins 34247 Oct 9 22:17 coverage.out 22:22:52 -rw-rw-r-- 1 jenkins jenkins 7488 Oct 9 22:07 go.mod 22:22:52 -rw-rw-r-- 1 jenkins jenkins 100896 Oct 9 22:07 go.sum 22:22:52 drwxrwxr-x 7 jenkins jenkins 4096 Oct 9 22:07 internal 22:22:52 -rw-rw-r-- 1 jenkins jenkins 913 Oct 9 22:07 main.go 22:22:52 drwxrwxr-x 3 jenkins jenkins 4096 Oct 9 22:07 openapi 22:22:52 drwxrwxr-x 3 jenkins jenkins 4096 Oct 9 22:07 pkg 22:22:52 drwxrwxr-x 2 jenkins jenkins 4096 Oct 9 22:07 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:53 + 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=5adec9a64be21fef2d0ffa47b0d78ce1dc9cdfd4 --label arch=arm64 --label version=0.0.0 . 22:22:53 Sending build context to Docker daemon 372.7kB 22:22:53 Step 1/27 : ARG BASE=golang:1.23-alpine3.20 22:22:53 Step 2/27 : FROM ${BASE} AS builder 22:22:53 ---> 1a5848d720ec 22:22:53 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 22:22:53 ---> Running in 14531e3aff65 22:22:54 Removing intermediate container 14531e3aff65 22:22:54 ---> b70d2f985e7b 22:22:54 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 22:22:54 ---> Running in cf9deed2083e 22:22:54 Removing intermediate container cf9deed2083e 22:22:54 ---> b845f0968200 22:22:54 Step 5/27 : ARG ADD_BUILD_TAGS="" 22:22:54 ---> Running in efde64f803a7 22:22:55 Removing intermediate container efde64f803a7 22:22:55 ---> 247515f50ddc 22:22:55 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:22:55 ---> Running in 218f7a5a66a9 22:22:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 22:22:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 22:22:58 OK: 238 MiB in 54 packages 22:22:59 Removing intermediate container 218f7a5a66a9 22:22:59 ---> 7b15acd4a9fc 22:22:59 Step 7/27 : WORKDIR /app 22:22:59 ---> Running in 962a1366c941 22:22:59 Removing intermediate container 962a1366c941 22:22:59 ---> 3e8416970538 22:22:59 Step 8/27 : COPY go.mod vendor* ./ 22:23:00 ---> d0a440109706 22:23:00 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:23:00 ---> Running in f0b47824b074 22:23:02 Removing intermediate container f0b47824b074 22:23:02 ---> 2b28d023ed90 22:23:02 Step 10/27 : COPY . . 22:23:03 ---> 57fb3badf92e 22:23:03 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:23:03 ---> Running in 7c399cbcd34f 22:23:03 Removing intermediate container 7c399cbcd34f 22:23:03 ---> 77b36b5547cc 22:23:03 Step 12/27 : RUN $MAKE 22:23:04 ---> Running in 58812cfbc487 22:23:05 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.55 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 22:27:11 Removing intermediate container 58812cfbc487 22:27:11 ---> 2d4591cb96a4 22:27:11 Step 13/27 : FROM alpine:3.20 22:27:11 3.20: Pulling from library/alpine 22:27:11 cf04c63912e1: Already exists 22:27:11 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 22:27:11 Status: Downloaded newer image for alpine:3.20 22:27:11 ---> c157a85ed455 22:27:11 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 22:27:11 ---> Running in dd8a0ecc16f4 22:27:11 Removing intermediate container dd8a0ecc16f4 22:27:11 ---> 8b24e9f55f8b 22:27:11 Step 15/27 : LABEL Name=app-record-replay Version=${VERSION} 22:27:11 ---> Running in 88d899775e01 22:27:11 Removing intermediate container 88d899775e01 22:27:11 ---> 7a26f586e9ff 22:27:11 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 22:27:12 ---> Running in 3b895495af55 22:27:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 22:27:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 22:27:14 (1/2) Installing ca-certificates (20240705-r0) 22:27:14 (2/2) Installing dumb-init (1.2.5-r3) 22:27:14 Executing busybox-1.36.1-r29.trigger 22:27:14 Executing ca-certificates-20240705-r0.trigger 22:27:15 OK: 10 MiB in 16 packages 22:27:16 Removing intermediate container 3b895495af55 22:27:16 ---> aeeb1c70bba6 22:27:16 Step 17/27 : RUN apk --no-cache upgrade 22:27:16 ---> Running in 13e761e58510 22:27:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 22:27:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 22:27:18 Upgrading critical system libraries and apk-tools: 22:27:18 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 22:27:18 Executing busybox-1.36.1-r29.trigger 22:27:18 Continuing the upgrade transaction with new apk-tools: 22:27:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 22:27:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 22:27:20 OK: 10 MiB in 16 packages 22:27:21 Removing intermediate container 13e761e58510 22:27:21 ---> 81b4a6780e50 22:27:21 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 22:27:21 ---> 3f3ce65d0301 22:27:21 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 22:27:22 ---> 01cc5f7b57c4 22:27:22 Step 20/27 : COPY --from=builder /app/res/ /res/ 22:27:22 ---> 3b76aa0c3893 22:27:22 Step 21/27 : COPY --from=builder /app/app-record-replay /app-record-replay 22:27:24 ---> eb236bab82ea 22:27:24 Step 22/27 : EXPOSE 59712 22:27:24 ---> Running in 302f48d97b98 22:27:24 Removing intermediate container 302f48d97b98 22:27:24 ---> c0d4538b7e67 22:27:24 Step 23/27 : ENTRYPOINT ["/app-record-replay"] 22:27:24 ---> Running in 1e83c65097a6 22:27:24 Removing intermediate container 1e83c65097a6 22:27:24 ---> 963c1d782ff6 22:27:24 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 22:27:24 ---> Running in 4b4e9a422ebb 22:27:25 Removing intermediate container 4b4e9a422ebb 22:27:25 ---> 2152dfe08156 22:27:25 Step 25/27 : LABEL arch=arm64 22:27:25 ---> Running in 4619698dd4f3 22:27:25 Removing intermediate container 4619698dd4f3 22:27:25 ---> d55fcd9c7f27 22:27:25 Step 26/27 : LABEL git_sha=5adec9a64be21fef2d0ffa47b0d78ce1dc9cdfd4 22:27:25 ---> Running in 95ba87861ac5 22:27:25 Removing intermediate container 95ba87861ac5 22:27:25 ---> 8c2a3d79d425 22:27:25 Step 27/27 : LABEL version=0.0.0 22:27:25 ---> Running in 8d810ae390b6 22:27:26 Removing intermediate container 8d810ae390b6 22:27:26 ---> ba42f4a711ad 22:27:26 [Warning] One or more build-args [ARCH] were not consumed 22:27:26 Successfully built ba42f4a711ad 22:27:26 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 22:27:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:27:27 22:27:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:27:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:27:27 arm64: Pulling from edgex-lftools-log-publisher 22:27:27 8998bd30e6a1: Pulling fs layer 22:27:27 04944245beec: Pulling fs layer 22:27:27 699f458cf7ca: Pulling fs layer 22:27:27 765212b225bb: Pulling fs layer 22:27:27 f23df028b6ca: Pulling fs layer 22:27:27 d65c8cfc05b1: Pulling fs layer 22:27:27 2437ff75d9bd: Pulling fs layer 22:27:27 f23df028b6ca: Waiting 22:27:27 d65c8cfc05b1: Waiting 22:27:27 2437ff75d9bd: Waiting 22:27:27 765212b225bb: Waiting 22:27:27 04944245beec: Verifying Checksum 22:27:27 04944245beec: Download complete 22:27:27 765212b225bb: Verifying Checksum 22:27:27 765212b225bb: Download complete 22:27:27 f23df028b6ca: Download complete 22:27:27 d65c8cfc05b1: Verifying Checksum 22:27:27 d65c8cfc05b1: Download complete 22:27:27 699f458cf7ca: Verifying Checksum 22:27:27 699f458cf7ca: Download complete 22:27:28 8998bd30e6a1: Verifying Checksum 22:27:28 8998bd30e6a1: Download complete 22:27:30 2437ff75d9bd: Verifying Checksum 22:27:30 2437ff75d9bd: Download complete 22:27:32 8998bd30e6a1: Pull complete 22:27:33 04944245beec: Pull complete 22:27:34 699f458cf7ca: Pull complete 22:27:34 765212b225bb: Pull complete 22:27:36 f23df028b6ca: Pull complete 22:27:36 d65c8cfc05b1: Pull complete 22:27:54 2437ff75d9bd: Pull complete 22:27:54 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:27:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:27:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:27:54 prd-ubuntu20.04-docker-arm64-4c-16g-22360 does not seem to be running inside a container 22:27: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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:27:57 $ docker top 9f2def2cb6b9668993d8d5a9ddbe190d435ad5b7d12498e452ee117a4387f7be -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:27:58 ---> job-cost.sh 22:27:58 lf-activate-venv: SKIPPING 22:27:58 INFO: No Stack... 22:27:59 INFO: Retrieving Pricing Info for: v3-standard-4 22:27:59 INFO: Archiving Costs [Pipeline] sh 22:28:00 + cat /w/workspace/app-record-replay/1/archives/cost.csv 22:28:00 + cut -d, -f6 [Pipeline] lock 22:28:00 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-record-replay-PR-145-1-stack-cost] 22:28:00 Resource [jenkins-edgexfoundry-app-record-replay-PR-145-1-stack-cost] did not exist. Created. 22:28:00 Lock acquired on [Resource: jenkins-edgexfoundry-app-record-replay-PR-145-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:28:01 /w/workspace/app-record-replay/1@tmp/durable-527d44a2/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:28:01 + echo total: 0.10999999940395355 [Pipeline] stash 22:28:02 Warning: overwriting stash ‘stack-cost’ 22:28:02 Stashed 1 file(s) [Pipeline] } 22:28:02 Lock released on resource [Resource: jenkins-edgexfoundry-app-record-replay-PR-145-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:28:02 $ docker stop --time=1 9f2def2cb6b9668993d8d5a9ddbe190d435ad5b7d12498e452ee117a4387f7be 22:28:03 $ docker rm -f --volumes 9f2def2cb6b9668993d8d5a9ddbe190d435ad5b7d12498e452ee117a4387f7be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 22:28:04 provisioning config files... 22:28:04 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/foundry_app-record-replay_PR-145@tmp/config5153958956087505938tmp [Pipeline] { [Pipeline] sh 22:28:05 + set +x 22:28:05 + curl -s https://codecov.io/bash 22:28:05 + bash -s -- 22:28:05 22:28:05 _____ _ 22:28:05 / ____| | | 22:28:05 | | ___ __| | ___ ___ _____ __ 22:28:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:28:05 | |___| (_) | (_| | __/ (_| (_) \ V / 22:28:05 \_____\___/ \__,_|\___|\___\___/ \_/ 22:28:05 Bash-1.0.6 22:28:05 22:28:05 22:28:05 ==> git version 2.25.1 found 22:28:05 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 22:28:05 Release-Date: 2020-01-08 22:28:05 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:28:05 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:28:05 ==> Jenkins CI detected. 22:28:05 current dir:  /w/workspace/foundry_app-record-replay_PR-145 22:28:05 project root: . 22:28:05 --> token set from env 22:28:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:28:05 ==> Running gcov in . (disable via -X gcov) 22:28:05 ==> Python coveragepy not found 22:28:05 ==> Searching for coverage reports in: 22:28:05 + . 22:28:05 -> Found 1 reports 22:28:05 ==> Detecting git/mercurial file structure 22:28:05 ==> Reading reports 22:28:05 + ./coverage.out bytes=34247 22:28:05 ==> Appending adjustments 22:28:05 https://docs.codecov.io/docs/fixing-reports 22:28:05 + Found adjustments 22:28:05 ==> Gzipping contents 22:28:05 8.0K /tmp/codecov.cy9bPA.gz 22:28:05 ==> Uploading reports 22:28:05 url: https://codecov.io 22:28:05 query: branch=PR-145&commit=5adec9a64be21fef2d0ffa47b0d78ce1dc9cdfd4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-145%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=145&job=&cmd_args= 22:28:05 -> Pinging Codecov 22:28:05 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-145&commit=5adec9a64be21fef2d0ffa47b0d78ce1dc9cdfd4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-145%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=145&job=&cmd_args= 22:28:05 -> Uploading to 22:28:05 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/app-record-replay/5adec9a64be21fef2d0ffa47b0d78ce1dc9cdfd4/f1141fed-e2a1-4106-8451-0b8b88d64b2a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241009%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241009T222805Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=c2ecfdd0e5d474fea086323b1781af3dd7ea4d10949f05ff22d25ddeb7284ca8 22:28:05 % Total % Received % Xferd Average Speed Time Time Time Current 22:28:05 Dload Upload Total Spent Left Speed 22:28:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5394 0 0 100 5394 0 23150 --:--:-- --:--:-- --:--:-- 23150 22:28:05 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-record-replay/commit/5adec9a64be21fef2d0ffa47b0d78ce1dc9cdfd4 [Pipeline] } 22:28:05 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 22:28:14 + [ -d /w/workspace/foundry_app-record-replay_PR-145/archives ] 22:28:14 + ls -al /w/workspace/foundry_app-record-replay_PR-145/archives 22:28:14 total 16 22:28:14 drwxr-xr-x 3 root root 4096 Oct 9 22:07 . 22:28:14 drwxrwxr-x 11 jenkins jenkins 4096 Oct 9 22:07 .. 22:28:14 drwxr-xr-x 2 root root 4096 Oct 9 22:07 cost 22:28:14 -rw-r--r-- 1 root root 89 Oct 9 22:07 cost.csv 22:28:14 + sudo chown -R jenkins:jenkins /w/workspace/foundry_app-record-replay_PR-145/archives 22:28:14 + ls -al /w/workspace/foundry_app-record-replay_PR-145/archives 22:28:14 total 16 22:28:14 drwxr-xr-x 3 jenkins jenkins 4096 Oct 9 22:07 . 22:28:14 drwxrwxr-x 11 jenkins jenkins 4096 Oct 9 22:07 .. 22:28:14 drwxr-xr-x 2 jenkins jenkins 4096 Oct 9 22:07 cost 22:28:14 -rw-r--r-- 1 jenkins jenkins 89 Oct 9 22:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:28:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:28:15 ---> package-listing.sh 22:28:15 ++ facter osfamily 22:28:15 ++ tr '[:upper:]' '[:lower:]' 22:28:15 + OS_FAMILY=debian 22:28:15 + workspace=/w/workspace/foundry_app-record-replay_PR-145 22:28:15 + START_PACKAGES=/tmp/packages_start.txt 22:28:15 + END_PACKAGES=/tmp/packages_end.txt 22:28:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:28:15 + PACKAGES=/tmp/packages_start.txt 22:28:15 + '[' /w/workspace/foundry_app-record-replay_PR-145 ']' 22:28:15 + PACKAGES=/tmp/packages_end.txt 22:28:15 + case "${OS_FAMILY}" in 22:28:15 + dpkg -l 22:28:15 + grep '^ii' 22:28:15 + '[' -f /tmp/packages_start.txt ']' 22:28:15 + '[' -f /tmp/packages_end.txt ']' 22:28:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:28:15 + '[' /w/workspace/foundry_app-record-replay_PR-145 ']' 22:28:15 + mkdir -p /w/workspace/foundry_app-record-replay_PR-145/archives/ 22:28:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_app-record-replay_PR-145/archives/ [Pipeline] echo 22:28:15 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-145/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:28:16 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:28:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:28:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:28:16 prd-ubuntu20.04-docker-8c-8g-22355 does not seem to be running inside a container 22:28:16 $ 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-145/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-145 -v /w/workspace/foundry_app-record-replay_PR-145:/w/workspace/foundry_app-record-replay_PR-145:rw,z -v /w/workspace/foundry_app-record-replay_PR-145@tmp:/w/workspace/foundry_app-record-replay_PR-145@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:28:17 $ docker top 2d33cef0618cdd9547115b59ebbed4346e3e00255e0b59f73675cbba1a0f6bad -eo pid,comm [Pipeline] { [Pipeline] sh 22:28:17 + touch /tmp/pre-build-complete [Pipeline] sh 22:28:17 + mkdir -p /var/log/sysstat [Pipeline] sh 22:28:18 + ls /var/log/sa-host 22:28:18 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:28:18 provisioning config files... 22:28:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_app-record-replay_PR-145@tmp/config13343213442417653959tmp [Pipeline] { [Pipeline] echo 22:28:18 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:28:18 ---> create-netrc.sh [Pipeline] } 22:28:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:28:19 ---> python-tools-install.sh [Pipeline] echo 22:28:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:28:19 ---> sudo-logs.sh 22:28:19 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:28:19 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:28:20 ---> job-cost.sh 22:28:20 lf-activate-venv: SKIPPING 22:28:20 DEBUG: total: 0.2199999988079071 22:28:20 INFO: Retrieving Stack Cost... 22:28:20 INFO: Retrieving Pricing Info for: v3-standard-8 22:28:20 INFO: Archiving Costs [Pipeline] echo 22:28:20 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:28:21 ---> logs-deploy.sh 22:28:21 lf-activate-venv: SKIPPING 22:28:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-145/1 22:28:21 INFO: archiving workspace using pattern(s): 22:28:22 Archives upload complete. 22:28:22 INFO: archiving logs to Nexus 22:28:22 ---> uname -a: 22:28:22 Linux prd-ubuntu20-04-docker-8c-8g-22355 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 22:28:22 22:28:22 22:28:22 ---> lscpu: 22:28:22 Architecture: x86_64 22:28:22 CPU op-mode(s): 32-bit, 64-bit 22:28:22 Byte Order: Little Endian 22:28:22 Address sizes: 40 bits physical, 48 bits virtual 22:28:22 CPU(s): 8 22:28:22 On-line CPU(s) list: 0-7 22:28:22 Thread(s) per core: 1 22:28:22 Core(s) per socket: 1 22:28:22 Socket(s): 8 22:28:22 NUMA node(s): 1 22:28:22 Vendor ID: AuthenticAMD 22:28:22 CPU family: 23 22:28:22 Model: 49 22:28:22 Model name: AMD EPYC-Rome Processor 22:28:22 Stepping: 0 22:28:22 CPU MHz: 2799.998 22:28:22 BogoMIPS: 5599.99 22:28:22 Virtualization: AMD-V 22:28:22 Hypervisor vendor: KVM 22:28:22 Virtualization type: full 22:28:22 L1d cache: 256 KiB 22:28:22 L1i cache: 256 KiB 22:28:22 L2 cache: 4 MiB 22:28:22 L3 cache: 128 MiB 22:28:22 NUMA node0 CPU(s): 0-7 22:28:22 Vulnerability Itlb multihit: Not affected 22:28:22 Vulnerability L1tf: Not affected 22:28:22 Vulnerability Mds: Not affected 22:28:22 Vulnerability Meltdown: Not affected 22:28:22 Vulnerability Mmio stale data: Not affected 22:28:22 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 22:28:22 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 22:28:22 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 22:28:22 Vulnerability Srbds: Not affected 22:28:22 Vulnerability Tsx async abort: Not affected 22:28:22 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 22:28:22 22:28:22