Pull request #144 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/app-record-replay Obtained Jenkinsfile from 3b3a4b358737e2da1c426ed6ab247ca110a4e992+a1dfb321dd51a4fc190594c7f49f2393a77cb439 (2fede647ef124939703877d5d38d2b1630df974e) 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-ssh13708908674560436511.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-ssh588706436336826207.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-144/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-144/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8028437960629141457.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-144/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18300318278300515303.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-ssh13962186741331138889.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-144/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-144/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10050696599532191449.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-record-replay, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-record-replay-settings PROJECT: app-record-replay USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-record-replay DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-22237’ Running on prd-ubuntu20.04-docker-8c-8g-22243 in /w/workspace/foundry_app-record-replay_PR-144 [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-144 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit a1dfb321dd51a4fc190594c7f49f2393a77cb439 into PR head commit 3b3a4b358737e2da1c426ed6ab247ca110a4e992 Merge succeeded, producing 3b3a4b358737e2da1c426ed6ab247ca110a4e992 Checking out Revision 3b3a4b358737e2da1c426ed6ab247ca110a4e992 (PR-144) > 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/144/head:refs/remotes/origin/PR-144 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3b3a4b358737e2da1c426ed6ab247ca110a4e992 # 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 a1dfb321dd51a4fc190594c7f49f2393a77cb439 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3b3a4b358737e2da1c426ed6ab247ca110a4e992 # timeout=10 Commit message: "build: Upgrade to go-1.23, Linter1.61.0 and Alpine 3.20" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:31:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:31:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:31:02 ========================================================= 02:31:02 EdgeX Global Pipelines Version Info 02:31:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:31:03 ------------------- 02:31:03 stable info: 02:31:03 ------------------- 02:31:03 Commited By: Ginny Guan ginny@iotechsys.com 02:31:03 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 02:31:03 Message: update stable to v1.0.265 02:31:03 ------------------- 02:31:03 experimental info: 02:31:03 ------------------- 02:31:03 Commited By: Cherry Wang cherry@iotechsys.com 02:31:03 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 02:31:03 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:31:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 02:31:03 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 02:31:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:31:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:31:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:31:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 02:31:04 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:31:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:31:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:31:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:31:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:31:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 02:31:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:31:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:31:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:31:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:31:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:31:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:31:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:31:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:31:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:31:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:31:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:31:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:31:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:31:05 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:31:05 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:31:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-144 [Pipeline] echo 02:31:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-144 [Pipeline] echo 02:31:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-144 [Pipeline] echo 02:31:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3b3a4b358737e2da1c426ed6ab247ca110a4e992 [Pipeline] echo 02:31:05 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3b3a4b3 [Pipeline] echo 02:31:05 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:31:05 provisioning config files... 02:31:05 copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-144@tmp/config18167786217871464845tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:31:06 ---> ****-login.sh 02:31:06 nexus3.edgexfoundry.org:10001 02:31:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:06 Configure a credential helper to remove this warning. See 02:31:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:06 02:31:06 Login Succeeded 02:31:06 nexus3.edgexfoundry.org:10002 02:31:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:06 Configure a credential helper to remove this warning. See 02:31:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:06 02:31:06 Login Succeeded 02:31:06 nexus3.edgexfoundry.org:10003 02:31:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:06 Configure a credential helper to remove this warning. See 02:31:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:06 02:31:06 Login Succeeded 02:31:06 nexus3.edgexfoundry.org:10004 02:31:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:07 Configure a credential helper to remove this warning. See 02:31:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:07 02:31:07 Login Succeeded 02:31:07 ****.io 02:31:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:07 Configure a credential helper to remove this warning. See 02:31:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:07 02:31:07 Login Succeeded 02:31:07 ---> ****-login.sh ends [Pipeline] } 02:31:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:31:08 + git rev-list -1 --merges 3b3a4b358737e2da1c426ed6ab247ca110a4e992~1..3b3a4b358737e2da1c426ed6ab247ca110a4e992 [Pipeline] echo 02:31:08 -----------> git rev-list -1 --merges 3b3a4b358737e2da1c426ed6ab247ca110a4e992~1..3b3a4b358737e2da1c426ed6ab247ca110a4e992 3b3a4b358737e2da1c426ed6ab247ca110a4e992 [false] [Pipeline] sh 02:31:08 + git log --format=format:%s -1 3b3a4b358737e2da1c426ed6ab247ca110a4e992 [Pipeline] echo 02:31:08 ========================================================= 02:31:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:31:08 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:31:09 + git log --format=format:%s -1 3b3a4b358737e2da1c426ed6ab247ca110a4e992 [Pipeline] echo 02:31:09 [semverPrep] GIT_COMMIT: 3b3a4b358737e2da1c426ed6ab247ca110a4e992, Commit Message: build: Upgrade to go-1.23, Linter1.61.0 and Alpine 3.20 [Pipeline] echo 02:31:09 [semverPrep] This is not a build commit. [Pipeline] sh 02:31:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:31:09 + grep -v github /etc/ssh/ssh_known_hosts 02:31:09 + [ -e /tmp/ssh_known_hosts ] 02:31:09 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:31:09 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:31:09 + sudo tee -a /etc/ssh/ssh_known_hosts 02:31:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:31:10 02:31:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:31:10 0.1.4: Pulling from edgex-devops/py-git-semver 02:31:10 b85a868b505f: Pulling fs layer 02:31:10 e2be974225ed: Pulling fs layer 02:31:10 339a4e72a1f5: Pulling fs layer 02:31:10 988bab9f4d93: Pulling fs layer 02:31:10 1469e6f7b9e6: Pulling fs layer 02:31:10 eaf3925da568: Pulling fs layer 02:31:10 bab4dde63d76: Pulling fs layer 02:31:10 bde34c3a00c8: Pulling fs layer 02:31:10 b352a97aabf1: Pulling fs layer 02:31:10 4872d77fe225: Pulling fs layer 02:31:10 5851b861e8e6: Pulling fs layer 02:31:10 988bab9f4d93: Waiting 02:31:10 4872d77fe225: Waiting 02:31:10 5851b861e8e6: Waiting 02:31:10 1469e6f7b9e6: Waiting 02:31:10 eaf3925da568: Waiting 02:31:10 bab4dde63d76: Waiting 02:31:10 bde34c3a00c8: Waiting 02:31:10 b352a97aabf1: Waiting 02:31:10 e2be974225ed: Download complete 02:31:10 988bab9f4d93: Download complete 02:31:10 1469e6f7b9e6: Verifying Checksum 02:31:10 1469e6f7b9e6: Download complete 02:31:10 eaf3925da568: Download complete 02:31:10 339a4e72a1f5: Verifying Checksum 02:31:10 339a4e72a1f5: Download complete 02:31:10 bde34c3a00c8: Download complete 02:31:10 b352a97aabf1: Verifying Checksum 02:31:10 b352a97aabf1: Download complete 02:31:10 4872d77fe225: Verifying Checksum 02:31:10 4872d77fe225: Download complete 02:31:10 5851b861e8e6: Download complete 02:31:10 b85a868b505f: Verifying Checksum 02:31:10 b85a868b505f: Download complete 02:31:11 bab4dde63d76: Verifying Checksum 02:31:11 bab4dde63d76: Download complete 02:31:12 b85a868b505f: Pull complete 02:31:12 e2be974225ed: Pull complete 02:31:12 339a4e72a1f5: Pull complete 02:31:12 988bab9f4d93: Pull complete 02:31:12 1469e6f7b9e6: Pull complete 02:31:12 eaf3925da568: Pull complete 02:31:14 bab4dde63d76: Pull complete 02:31:14 bde34c3a00c8: Pull complete 02:31:14 b352a97aabf1: Pull complete 02:31:15 4872d77fe225: Pull complete 02:31:15 5851b861e8e6: Pull complete 02:31:15 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:31:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:31:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:31:15 prd-ubuntu20.04-docker-8c-8g-22243 does not seem to be running inside a container 02:31:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_app-record-replay_PR-144 -v /w/workspace/foundry_app-record-replay_PR-144:/w/workspace/foundry_app-record-replay_PR-144:rw,z -v /w/workspace/foundry_app-record-replay_PR-144@tmp:/w/workspace/foundry_app-record-replay_PR-144@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:31:19 $ docker top 06b812608b8f6383e865abfd6ccad0f9f7e6ae842fc0690ac12f3009df474ebe -eo pid,comm 02:31:19 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). 02:31:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:31:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:31:19 [ssh-agent] Looking for ssh-agent implementation... 02:31:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:31:19 $ docker exec 06b812608b8f6383e865abfd6ccad0f9f7e6ae842fc0690ac12f3009df474ebe ssh-agent 02:31:19 SSH_AUTH_SOCK=/tmp/ssh-hp36ql4Z6R8v/agent.32 02:31:19 SSH_AGENT_PID=38 02:31:19 Running ssh-add (command line suppressed) 02:31:19 Identity added: /w/workspace/foundry_app-record-replay_PR-144@tmp/private_key_13222238537581569442.key (/w/workspace/foundry_app-record-replay_PR-144@tmp/private_key_13222238537581569442.key) 02:31:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:31:19 + git tag --points-at HEAD [Pipeline] } 02:31:19 $ docker exec --env ******** --env ******** 06b812608b8f6383e865abfd6ccad0f9f7e6ae842fc0690ac12f3009df474ebe ssh-agent -k 02:31:20 unset SSH_AUTH_SOCK; 02:31:20 unset SSH_AGENT_PID; 02:31:20 echo Agent pid 38 killed; 02:31:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:31:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:31:20 [ssh-agent] Looking for ssh-agent implementation... 02:31:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:31:20 $ docker exec 06b812608b8f6383e865abfd6ccad0f9f7e6ae842fc0690ac12f3009df474ebe ssh-agent 02:31:20 SSH_AUTH_SOCK=/tmp/ssh-belw21lGukRy/agent.72 02:31:20 SSH_AGENT_PID=78 02:31:20 Running ssh-add (command line suppressed) 02:31:20 Identity added: /w/workspace/foundry_app-record-replay_PR-144@tmp/private_key_18259958919082006131.key (/w/workspace/foundry_app-record-replay_PR-144@tmp/private_key_18259958919082006131.key) 02:31:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:31:20 + git semver init 02:31:21 2024-10-09 02:31:21,089 [run_init] DEBUG init version:0.0.0 force:False 02:31:21 2024-10-09 02:31:21,089 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_app-record-replay_PR-144/.semver 02:31:21 2024-10-09 02:31:21,090 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/foundry_app-record-replay_PR-144/.semver 02:31:21 2024-10-09 02:31:21,090 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/foundry_app-record-replay_PR-144/.semver'], cwd=/w/workspace/foundry_app-record-replay_PR-144, universal_newlines=False, shell=None, istream=None) 02:31:22 2024-10-09 02:31:22,342 [append_file] DEBUG append to file:/w/workspace/foundry_app-record-replay_PR-144/.git/info/exclude 02:31:22 2024-10-09 02:31:22,342 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_app-record-replay_PR-144/.semver/PR-144 with force:False 02:31:22 2024-10-09 02:31:22,342 [write_file] DEBUG write to file:/w/workspace/foundry_app-record-replay_PR-144/.semver/PR-144 02:31:22 2024-10-09 02:31:22,345 [execute] INFO git cat-file --batch-check 02:31:22 2024-10-09 02:31:22,345 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_app-record-replay_PR-144/.semver, universal_newlines=False, shell=None, istream=) 02:31:22 2024-10-09 02:31:22,351 [execute] INFO git cat-file --batch 02:31:22 2024-10-09 02:31:22,351 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_app-record-replay_PR-144/.semver, universal_newlines=False, shell=None, istream=) 02:31:22 2024-10-09 02:31:22,356 [read_version] DEBUG read version from /w/workspace/foundry_app-record-replay_PR-144/.semver/PR-144 02:31:22 0.0.0 [Pipeline] } 02:31:22 $ docker exec --env ******** --env ******** 06b812608b8f6383e865abfd6ccad0f9f7e6ae842fc0690ac12f3009df474ebe ssh-agent -k 02:31:22 unset SSH_AUTH_SOCK; 02:31:22 unset SSH_AGENT_PID; 02:31:22 echo Agent pid 78 killed; 02:31:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:31:23 + git semver [Pipeline] } 02:31:23 $ docker stop --time=1 06b812608b8f6383e865abfd6ccad0f9f7e6ae842fc0690ac12f3009df474ebe 02:31:24 $ docker rm -f --volumes 06b812608b8f6383e865abfd6ccad0f9f7e6ae842fc0690ac12f3009df474ebe [Pipeline] // withDockerContainer [Pipeline] sh 02:31:25 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:31:25 Stashed 1 file(s) [Pipeline] echo 02:31:25 [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 02:31:26 provisioning config files... 02:31:26 copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-144@tmp/config3277169931666458853tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:31:26 ---> ****-login.sh 02:31:26 nexus3.edgexfoundry.org:10001 02:31:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:26 Configure a credential helper to remove this warning. See 02:31:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:26 02:31:26 Login Succeeded 02:31:26 nexus3.edgexfoundry.org:10002 02:31:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:26 Configure a credential helper to remove this warning. See 02:31:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:26 02:31:26 Login Succeeded 02:31:26 nexus3.edgexfoundry.org:10003 02:31:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:26 Configure a credential helper to remove this warning. See 02:31:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:26 02:31:26 Login Succeeded 02:31:26 nexus3.edgexfoundry.org:10004 02:31:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:26 Configure a credential helper to remove this warning. See 02:31:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:26 02:31:26 Login Succeeded 02:31:26 ****.io 02:31:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:31:27 Configure a credential helper to remove this warning. See 02:31:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:31:27 02:31:27 Login Succeeded 02:31:27 ---> ****-login.sh ends [Pipeline] } 02:31:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:31:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:31:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:31:27 ========================================================= 02:31:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 02:31:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:28 + 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 . 02:31:28 Sending build context to Docker daemon 9.872MB 02:31:28 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 02:31:28 Step 2/12 : FROM ${BASE} AS builder 02:31:28 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 02:31:28 43c4264eed91: Pulling fs layer 02:31:28 4cc291be95ef: Pulling fs layer 02:31:28 2ac1f1163629: Pulling fs layer 02:31:28 5c3c966382ef: Pulling fs layer 02:31:28 4f4fb700ef54: Pulling fs layer 02:31:28 5d5c8e513c77: Pulling fs layer 02:31:28 9f66e0745190: Pulling fs layer 02:31:28 f49a43e4bbc0: Pulling fs layer 02:31:28 561ebcabdf7f: Pulling fs layer 02:31:28 4f4fb700ef54: Waiting 02:31:28 f49a43e4bbc0: Waiting 02:31:28 5d5c8e513c77: Waiting 02:31:28 561ebcabdf7f: Waiting 02:31:28 9f66e0745190: Waiting 02:31:28 5c3c966382ef: Waiting 02:31:28 4cc291be95ef: Verifying Checksum 02:31:28 4cc291be95ef: Download complete 02:31:28 5c3c966382ef: Verifying Checksum 02:31:28 5c3c966382ef: Download complete 02:31:28 4f4fb700ef54: Verifying Checksum 02:31:28 4f4fb700ef54: Download complete 02:31:28 43c4264eed91: Verifying Checksum 02:31:28 43c4264eed91: Download complete 02:31:28 5d5c8e513c77: Verifying Checksum 02:31:28 5d5c8e513c77: Download complete 02:31:28 9f66e0745190: Verifying Checksum 02:31:28 9f66e0745190: Download complete 02:31:28 43c4264eed91: Pull complete 02:31:28 561ebcabdf7f: Download complete 02:31:28 4cc291be95ef: Pull complete 02:31:29 2ac1f1163629: Verifying Checksum 02:31:29 2ac1f1163629: Download complete 02:31:29 f49a43e4bbc0: Verifying Checksum 02:31:29 f49a43e4bbc0: Download complete 02:31:32 2ac1f1163629: Pull complete 02:31:32 5c3c966382ef: Pull complete 02:31:32 4f4fb700ef54: Pull complete 02:31:32 5d5c8e513c77: Pull complete 02:31:32 9f66e0745190: Pull complete 02:31:34 f49a43e4bbc0: Pull complete 02:31:35 561ebcabdf7f: Pull complete 02:31:35 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 02:31:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 02:31:35 ---> 3a752c3f9dda 02:31:35 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 02:31:41 Still waiting to schedule task 02:31:41 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-22241’ 02:31:43 ---> Running in a93fa6ac56f6 02:31:43 Removing intermediate container a93fa6ac56f6 02:31:43 ---> cfad97ae9792 02:31:43 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 02:31:43 ---> Running in 7e238929edef 02:31:43 Removing intermediate container 7e238929edef 02:31:43 ---> 56aa76da12cc 02:31:43 Step 5/12 : ARG ADD_BUILD_TAGS="" 02:31:43 ---> Running in 0f433766f686 02:31:43 Removing intermediate container 0f433766f686 02:31:43 ---> 6fe366b44ad6 02:31:43 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:31:43 ---> Running in 5892f4618cd5 02:31:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:31:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:31:44 OK: 246 MiB in 54 packages 02:31:44 Removing intermediate container 5892f4618cd5 02:31:44 ---> 7524f9618470 02:31:44 Step 7/12 : WORKDIR /app 02:31:45 ---> Running in 544ac7027d09 02:31:45 Removing intermediate container 544ac7027d09 02:31:45 ---> dddfd13765f6 02:31:45 Step 8/12 : COPY go.mod vendor* ./ 02:31:45 ---> 06ad8e993295 02:31:45 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:31:45 ---> Running in e115143d429a 02:33:06 Removing intermediate container e115143d429a 02:33:06 ---> d5a9e63ad354 02:33:06 Step 10/12 : COPY . . 02:33:06 ---> e72791cfbffe 02:33:06 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:33:06 ---> Running in 23bd2d364034 02:33:06 Removing intermediate container 23bd2d364034 02:33:06 ---> 8a1b227cd67a 02:33:06 Step 12/12 : RUN $MAKE 02:33:06 ---> Running in 372f7c5976df 02:33:06 noop 02:33:06 Removing intermediate container 372f7c5976df 02:33:06 ---> fa332cc28c4a 02:33:06 Successfully built fa332cc28c4a 02:33:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:07 + docker inspect -f . ci-base-image-x86_64 02:33:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:33:07 prd-ubuntu20.04-docker-8c-8g-22243 does not seem to be running inside a container 02:33:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_app-record-replay_PR-144 -v /w/workspace/foundry_app-record-replay_PR-144:/w/workspace/foundry_app-record-replay_PR-144:rw,z -v /w/workspace/foundry_app-record-replay_PR-144@tmp:/w/workspace/foundry_app-record-replay_PR-144@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:33:07 $ docker top b87a7827a4874a6289e9b852a77ea40660c2fbc00042baa2bf5a8ee4d0209d02 -eo pid,comm [Pipeline] { [Pipeline] sh 02:33:08 + go version 02:33:08 go version go1.23.2 linux/amd64 [Pipeline] } 02:33:08 $ docker stop --time=1 b87a7827a4874a6289e9b852a77ea40660c2fbc00042baa2bf5a8ee4d0209d02 02:33:09 $ docker rm -f --volumes b87a7827a4874a6289e9b852a77ea40660c2fbc00042baa2bf5a8ee4d0209d02 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:10 + docker inspect -f . ci-base-image-x86_64 02:33:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:33:10 prd-ubuntu20.04-docker-8c-8g-22243 does not seem to be running inside a container 02:33:10 $ 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-144 -v /w/workspace/foundry_app-record-replay_PR-144:/w/workspace/foundry_app-record-replay_PR-144:rw,z -v /w/workspace/foundry_app-record-replay_PR-144@tmp:/w/workspace/foundry_app-record-replay_PR-144@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:33:11 $ docker top 502cb406735f48d66ecba312c578c30fafc92238c4662682aba905ad534e47a3 -eo pid,comm [Pipeline] { [Pipeline] sh 02:33:11 + git config --global --add safe.directory /w/workspace/foundry_app-record-replay_PR-144 [Pipeline] fileExists [Pipeline] sh 02:33:11 + make test 02:33:11 go test -race -coverprofile=coverage.out ./... 02:33:58 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 02:33:58 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 02:33:58 github.com/edgexfoundry/app-record-replay coverage: 0.0% of statements 02:33:58 github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks coverage: 0.0% of statements 02:33:58 ok github.com/edgexfoundry/app-record-replay/internal/app 1.031s coverage: 88.0% of statements 02:34:04 ok github.com/edgexfoundry/app-record-replay/internal/application 9.142s coverage: 98.7% of statements 02:34:04 ok github.com/edgexfoundry/app-record-replay/internal/controller 1.072s coverage: 89.7% of statements 02:34:04 ok github.com/edgexfoundry/app-record-replay/internal/utils 1.020s coverage: 100.0% of statements 02:34:09 running golangci-lint 02:34:09 golangci-lint has version 1.61.0 built with go1.23.1 from a1d6c560 on 2024-09-09T17:44:42Z 02:34:09 go version go1.23.2 linux/amd64 02:34:09 level=info msg="golangci-lint has version 1.61.0 built with go1.23.1 from a1d6c560 on 2024-09-09T17:44:42Z" 02:34:09 level=info msg="[config_reader] Used config file .golangci.yml" 02:34:09 level=info msg="[lintersdb] Active 7 linters: [errcheck gosec gosimple govet ineffassign staticcheck unused]" 02:34:31 level=info msg="[loader] Go packages loading at mode 575 (compiled_files|deps|name|types_sizes|exports_file|files|imports) took 20.073853354s" 02:34:31 level=info msg="[runner/filename_unadjuster] Pre-built 0 adjustments in 4.547903ms" 02:34:39 level=info msg="[linters_context/goanalysis] analyzers took 44.120873871s with top 10 stages: buildir: 34.93407235s, inspect: 1.996933563s, fact_deprecated: 1.562233938s, ctrlflow: 1.238797117s, printf: 1.197274259s, nilness: 862.822363ms, fact_purity: 842.705882ms, typedness: 521.12258ms, SA5012: 446.025578ms, tokenfileanalyzer: 185.322463ms" 02:34:39 level=info msg="[runner] Issues before processing: 10, after processing: 0" 02:34:39 level=info msg="[runner] Processors filtering stat (in/out): skip_dirs: 10/10, autogenerated_exclude: 10/10, cgo: 10/10, invalid_issue: 10/10, identifier_marker: 10/10, filename_unadjuster: 10/10, exclude-rules: 10/0, path_prettifier: 10/10, skip_files: 10/10, exclude: 10/10" 02:34:39 level=info msg="[runner] processing took 723.468µs with stages: identifier_marker: 374.934µs, autogenerated_exclude: 125.412µs, exclude-rules: 91.581µs, path_prettifier: 71.52µs, skip_dirs: 44.301µs, cgo: 4.39µs, invalid_issue: 2.85µs, nolint: 1.52µs, filename_unadjuster: 1.26µs, max_same_issues: 1.1µs, uniq_by_line: 650ns, fixer: 560ns, max_from_linter: 510ns, skip_files: 450ns, sort_results: 430ns, exclude: 420ns, diff: 310ns, source_code: 280ns, max_per_file_from_linter: 270ns, path_shortener: 260ns, path_prefixer: 240ns, severity-rules: 220ns" 02:34:39 level=info msg="[runner] linters took 8.683524792s with stages: goanalysis_metalinter: 8.682617061s" 02:34:39 level=info msg="File cache stats: 0 entries of total size 0B" 02:34:39 level=info msg="Memory: 289 samples, avg is 211.3MB, max is 995.2MB" 02:34:39 level=info msg="Execution took 28.768545589s" 02:34:39 go vet ./... 02:34:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:34:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:34:43 ./bin/test-attribution-txt.sh [Pipeline] echo 02:34:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:34:44 $ docker stop --time=1 502cb406735f48d66ecba312c578c30fafc92238c4662682aba905ad534e47a3 02:34:51 $ docker rm -f --volumes 502cb406735f48d66ecba312c578c30fafc92238c4662682aba905ad534e47a3 [Pipeline] // withDockerContainer [Pipeline] sh 02:34:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:34:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:34:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:34:53 + ls -al . 02:34:53 total 276 02:34:53 drwxrwxr-x 10 jenkins jenkins 4096 Oct 9 02:33 . 02:34:53 drwxrwxr-x 4 jenkins jenkins 4096 Oct 9 02:30 .. 02:34:53 -rw-rw-r-- 1 jenkins jenkins 119 Oct 9 02:30 .dockerignore 02:34:53 drwxrwxr-x 8 jenkins jenkins 4096 Oct 9 02:34 .git 02:34:53 drwxrwxr-x 3 jenkins jenkins 4096 Oct 9 02:30 .github 02:34:53 -rw-rw-r-- 1 jenkins jenkins 164 Oct 9 02:30 .gitignore 02:34:53 -rw-rw-r-- 1 jenkins jenkins 41 Oct 9 02:30 .golangci.yml 02:34:53 drwxr-xr-x 3 jenkins jenkins 4096 Oct 9 02:31 .semver 02:34:53 -rw-rw-r-- 1 jenkins jenkins 20126 Oct 9 02:30 Attribution.txt 02:34:53 -rw-rw-r-- 1 jenkins jenkins 458 Oct 9 02:30 CHANGELOG.md 02:34:53 -rw-rw-r-- 1 jenkins jenkins 1725 Oct 9 02:30 Dockerfile 02:34:53 -rw-rw-r-- 1 jenkins jenkins 677 Oct 9 02:30 GOVERNANCE.md 02:34:53 -rw-rw-r-- 1 jenkins jenkins 681 Oct 9 02:30 Jenkinsfile 02:34:53 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 9 02:30 LICENSE 02:34:53 -rw-rw-r-- 1 jenkins jenkins 3268 Oct 9 02:30 Makefile 02:34:53 -rw-rw-r-- 1 jenkins jenkins 611 Oct 9 02:30 OWNERS.md 02:34:53 -rw-rw-r-- 1 jenkins jenkins 4107 Oct 9 02:30 README.md 02:34:53 -rw-rw-r-- 1 jenkins jenkins 7789 Oct 9 02:30 Record and Reply.postman_collection.json 02:34:53 -rw-rw-r-- 1 jenkins jenkins 5 Oct 9 02:31 VERSION 02:34:53 drwxrwxr-x 2 jenkins jenkins 4096 Oct 9 02:30 bin 02:34:53 -rw-r--r-- 1 jenkins jenkins 34247 Oct 9 02:34 coverage.out 02:34:53 -rw-rw-r-- 1 jenkins jenkins 7113 Oct 9 02:30 go.mod 02:34:53 -rw-rw-r-- 1 jenkins jenkins 99876 Oct 9 02:30 go.sum 02:34:53 drwxrwxr-x 7 jenkins jenkins 4096 Oct 9 02:30 internal 02:34:53 -rw-rw-r-- 1 jenkins jenkins 913 Oct 9 02:30 main.go 02:34:53 drwxrwxr-x 3 jenkins jenkins 4096 Oct 9 02:30 openapi 02:34:53 drwxrwxr-x 3 jenkins jenkins 4096 Oct 9 02:30 pkg 02:34:53 drwxrwxr-x 2 jenkins jenkins 4096 Oct 9 02:30 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:34:54 + 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=3b3a4b358737e2da1c426ed6ab247ca110a4e992 --label arch=amd64 --label version=0.0.0 . 02:34:54 Sending build context to Docker daemon 9.907MB 02:34:54 Step 1/27 : ARG BASE=golang:1.23-alpine3.20 02:34:54 Step 2/27 : FROM ${BASE} AS builder 02:34:54 ---> fa332cc28c4a 02:34:54 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 02:34:55 ---> Running in eed61211b66b 02:34:55 Removing intermediate container eed61211b66b 02:34:55 ---> 62e20ff44108 02:34:55 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 02:34:56 ---> Running in b7f45b73dc34 02:34:56 Removing intermediate container b7f45b73dc34 02:34:56 ---> 5d0bcd8d7bb3 02:34:56 Step 5/27 : ARG ADD_BUILD_TAGS="" 02:34:56 ---> Running in abdda906802f 02:34:57 Removing intermediate container abdda906802f 02:34:57 ---> c41f71c730a1 02:34:57 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:34:57 ---> Running in a4d819c83c10 02:34:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:34:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:34:58 OK: 246 MiB in 54 packages 02:34:58 Removing intermediate container a4d819c83c10 02:34:58 ---> 02bee00eae10 02:34:58 Step 7/27 : WORKDIR /app 02:34:58 ---> Running in 7574b75977f2 02:34:58 Removing intermediate container 7574b75977f2 02:34:58 ---> 8024b398393b 02:34:58 Step 8/27 : COPY go.mod vendor* ./ 02:34:58 ---> 601a361579af 02:34:58 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:34:58 ---> Running in b5a5e8d08bda 02:34:59 Removing intermediate container b5a5e8d08bda 02:34:59 ---> 548de9b96cef 02:34:59 Step 10/27 : COPY . . 02:35:00 ---> 27cfa386e7d5 02:35:00 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:35:00 ---> Running in c8c2cdbd7513 02:35:00 Removing intermediate container c8c2cdbd7513 02:35:00 ---> fe3a90f34282 02:35:00 Step 12/27 : RUN $MAKE 02:35:00 ---> Running in 6f5b821926b1 02:35:00 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.32 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 02:35:15 Running on prd-ubuntu20.04-docker-arm64-4c-16g-22244 in /w/workspace/foundry_app-record-replay_PR-144 [Pipeline] { [Pipeline] ws 02:35:15 Running in /w/workspace/app-record-replay/1 [Pipeline] { [Pipeline] checkout 02:35:18 Selected Git installation does not exist. Using Default 02:35:18 The recommended git tool is: NONE 02:35:23 using credential edgex-jenkins-ssh 02:35:23 Cloning the remote Git repository 02:35:23 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 02:35:23 > git init /w/workspace/app-record-replay/1 # timeout=10 02:35:24 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 02:35:24 > git --version # timeout=10 02:35:24 > git --version # 'git version 2.25.1' 02:35:24 using GIT_SSH to set credentials SSH Credentials for GitHub 02:35:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:35:26 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 02:35:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:35:28 Merging remotes/origin/main commit a1dfb321dd51a4fc190594c7f49f2393a77cb439 into PR head commit 3b3a4b358737e2da1c426ed6ab247ca110a4e992 02:35:28 Merge succeeded, producing 3b3a4b358737e2da1c426ed6ab247ca110a4e992 02:35:28 Checking out Revision 3b3a4b358737e2da1c426ed6ab247ca110a4e992 (PR-144) 02:35:27 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 02:35:27 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 02:35:27 using GIT_SSH to set credentials SSH Credentials for GitHub 02:35:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/144/head:refs/remotes/origin/PR-144 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:35:28 > git config core.sparsecheckout # timeout=10 02:35:28 > git checkout -f 3b3a4b358737e2da1c426ed6ab247ca110a4e992 # timeout=10 02:35:28 > git remote # timeout=10 02:35:28 > git config --get remote.origin.url # timeout=10 02:35:28 using GIT_SSH to set credentials SSH Credentials for GitHub 02:35:28 > git merge a1dfb321dd51a4fc190594c7f49f2393a77cb439 # timeout=10 02:35:28 > git rev-parse HEAD^{commit} # timeout=10 02:35:28 > git config core.sparsecheckout # timeout=10 02:35:28 > git checkout -f 3b3a4b358737e2da1c426ed6ab247ca110a4e992 # timeout=10 02:35:32 Commit message: "build: Upgrade to go-1.23, Linter1.61.0 and Alpine 3.20" 02:35:32 > git --version # timeout=10 02:35:32 > git --version # 'git version 2.25.1' 02:35:32 fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:35:34 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:35:34 % Total % Received % Xferd Average Speed Time Time Time Current 02:35:34 Dload Upload Total Spent Left Speed 02:35:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 104k 0 --:--:-- --:--:-- --:--:-- 104k [Pipeline] sh 02:35:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:35:34 + sudo tee /etc/docker/daemon.new 02:35:34 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:35:34 { 02:35:34 "registry-mirrors": [ 02:35:34 "https://nexus3.edgexfoundry.org:10001" 02:35:34 ], 02:35:34 "bip": "10.250.0.254/24", 02:35:34 "hosts": [ 02:35:34 "tcp://0.0.0.0:5555", 02:35:34 "unix:///var/run/docker.sock" 02:35:34 ], 02:35:34 "mtu": 1458, 02:35:34 "selinux-enabled": true, 02:35:34 "seccomp-profile": "/etc/docker/seccomp.json" 02:35:34 } [Pipeline] sh 02:35:35 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:35:35 + sudo service docker restart 02:35:39 Removing intermediate container 6f5b821926b1 02:35:39 ---> 503365a27bd5 02:35:39 Step 13/27 : FROM alpine:3.20 02:35:39 3.20: Pulling from library/alpine 02:35:39 43c4264eed91: Already exists 02:35:39 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 02:35:39 Status: Downloaded newer image for alpine:3.20 02:35:39 ---> 91ef0af61f39 02:35:39 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 02:35:39 ---> Running in 971b6a1229df 02:35:39 Removing intermediate container 971b6a1229df 02:35:39 ---> df8dd63cddf8 02:35:39 Step 15/27 : LABEL Name=app-record-replay Version=${VERSION} 02:35:39 ---> Running in 7f58398164e0 02:35:39 Removing intermediate container 7f58398164e0 02:35:39 ---> 2b30d938c239 02:35:39 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 02:35:39 ---> Running in fef24b16d351 02:35:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:35:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:35:39 (1/2) Installing ca-certificates (20240705-r0) 02:35:39 (2/2) Installing dumb-init (1.2.5-r3) 02:35:39 Executing busybox-1.36.1-r29.trigger 02:35:39 Executing ca-certificates-20240705-r0.trigger 02:35:39 OK: 9 MiB in 16 packages 02:35:39 Removing intermediate container fef24b16d351 02:35:39 ---> 08438f49af54 02:35:39 Step 17/27 : RUN apk --no-cache upgrade 02:35:39 ---> Running in 386a2ec26bcc 02:35:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:35:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:35:39 Upgrading critical system libraries and apk-tools: 02:35:39 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 02:35:39 Executing busybox-1.36.1-r29.trigger 02:35:39 Continuing the upgrade transaction with new apk-tools: 02:35:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:35:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:35:39 OK: 9 MiB in 16 packages 02:35:39 Removing intermediate container 386a2ec26bcc 02:35:39 ---> 423e3b40c65c 02:35:39 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 02:35:39 ---> bceac3632d8d 02:35:39 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 02:35:39 ---> 210423495aa3 02:35:39 Step 20/27 : COPY --from=builder /app/res/ /res/ 02:35:39 ---> ecf53050173d 02:35:39 Step 21/27 : COPY --from=builder /app/app-record-replay /app-record-replay 02:35:40 ---> d0dd61c69ac5 02:35:40 Step 22/27 : EXPOSE 59712 02:35:40 ---> Running in fa3c376e1459 02:35:40 Removing intermediate container fa3c376e1459 02:35:40 ---> f54288d5b5b2 02:35:40 Step 23/27 : ENTRYPOINT ["/app-record-replay"] 02:35:40 ---> Running in a40ed0bdc4bb 02:35:40 Removing intermediate container a40ed0bdc4bb 02:35:40 ---> 28a043a4029f 02:35:40 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 02:35:40 ---> Running in 7c38e2e8c685 02:35:40 Removing intermediate container 7c38e2e8c685 02:35:40 ---> 6b8a493fab37 02:35:40 Step 25/27 : LABEL arch=amd64 02:35:40 ---> Running in 547daa51b2e8 02:35:40 Removing intermediate container 547daa51b2e8 02:35:40 ---> 4a06f2e0f690 02:35:40 Step 26/27 : LABEL git_sha=3b3a4b358737e2da1c426ed6ab247ca110a4e992 02:35:40 ---> Running in 005cea5620cd 02:35:40 Removing intermediate container 005cea5620cd 02:35:40 ---> e85807c36876 02:35:40 Step 27/27 : LABEL version=0.0.0 02:35:40 ---> Running in b6ba3d6bc097 02:35:40 Removing intermediate container b6ba3d6bc097 02:35:40 ---> 2f1cddfbb677 02:35:40 [Warning] One or more build-args [ARCH] were not consumed 02:35:40 Successfully built 2f1cddfbb677 02:35:40 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 02:35:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:35:41 02:35:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:35:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:35:42 latest: Pulling from edgex-lftools-log-publisher 02:35:42 5eb5b503b376: Pulling fs layer 02:35:42 5c69ac0246d0: Pulling fs layer 02:35:42 ec43610c2a17: Pulling fs layer 02:35:42 3a2ae6a8a46f: Pulling fs layer 02:35:42 33b1e0a273af: Pulling fs layer 02:35:42 5d3b04190fa2: Pulling fs layer 02:35:42 2f39f015ded8: Pulling fs layer 02:35:42 33b1e0a273af: Waiting 02:35:42 5d3b04190fa2: Waiting 02:35:42 3a2ae6a8a46f: Waiting 02:35:42 5c69ac0246d0: Download complete 02:35:42 3a2ae6a8a46f: Verifying Checksum 02:35:42 3a2ae6a8a46f: Download complete 02:35:42 33b1e0a273af: Verifying Checksum 02:35:42 33b1e0a273af: Download complete 02:35:42 ec43610c2a17: Verifying Checksum 02:35:42 ec43610c2a17: Download complete 02:35:42 5d3b04190fa2: Download complete 02:35:42 5eb5b503b376: Verifying Checksum 02:35:42 5eb5b503b376: Download complete 02:35:43 2f39f015ded8: Download complete 02:35:43 5eb5b503b376: Pull complete 02:35:43 5c69ac0246d0: Pull complete 02:35:44 ec43610c2a17: Pull complete 02:35:44 3a2ae6a8a46f: Pull complete 02:35:44 33b1e0a273af: Pull complete 02:35:44 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:35:54 provisioning config files... 02:35:54 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/1@tmp/config8741980710538283135tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:35:54 ---> ****-login.sh 02:35:54 nexus3.edgexfoundry.org:10001 02:35:54 2f39f015ded8: Pull complete 02:35:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:35:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:35:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:35:55 prd-ubuntu20.04-docker-8c-8g-22243 does not seem to be running inside a container 02:35:55 $ 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-144 -v /w/workspace/foundry_app-record-replay_PR-144:/w/workspace/foundry_app-record-replay_PR-144:rw,z -v /w/workspace/foundry_app-record-replay_PR-144@tmp:/w/workspace/foundry_app-record-replay_PR-144@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:35:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:35:55 Configure a credential helper to remove this warning. See 02:35:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:35:55 02:35:55 Login Succeeded 02:35:55 $ docker top c8424d33f714412a9a601515df975529bd712dbef50187c3ccdc72ff04709029 -eo pid,comm 02:35:55 nexus3.edgexfoundry.org:10002 02:35:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:35:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:35:55 Configure a credential helper to remove this warning. See 02:35:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:35:55 02:35:55 Login Succeeded 02:35:55 nexus3.edgexfoundry.org:10003 02:35:56 ---> job-cost.sh 02:35:56 lf-activate-venv: SKIPPING 02:35:56 INFO: No Stack... 02:35:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:35:56 Configure a credential helper to remove this warning. See 02:35:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:35:56 02:35:56 Login Succeeded 02:35:56 nexus3.edgexfoundry.org:10004 02:35:56 INFO: Retrieving Pricing Info for: v3-standard-8 02:35:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:56 INFO: Archiving Costs [Pipeline] sh 02:35:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:35:56 Configure a credential helper to remove this warning. See 02:35:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:35:56 02:35:56 Login Succeeded 02:35:56 ****.io 02:35:56 + cat /w/workspace/foundry_app-record-replay_PR-144/archives/cost.csv 02:35:56 + cut -d, -f6 02:35:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] lock 02:35:56 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-record-replay-PR-144-1-stack-cost] 02:35:56 Resource [jenkins-edgexfoundry-app-record-replay-PR-144-1-stack-cost] did not exist. Created. 02:35:56 Lock acquired on [Resource: jenkins-edgexfoundry-app-record-replay-PR-144-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:35:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:35:57 Configure a credential helper to remove this warning. See 02:35:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:35:57 02:35:57 Login Succeeded 02:35:57 ---> ****-login.sh ends [Pipeline] } 02:35:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 02:35:57 + echo total: 0.2199999988079071 [Pipeline] stash 02:35:57 Stashed 1 file(s) [Pipeline] } 02:35:57 Lock released on resource [Resource: jenkins-edgexfoundry-app-record-replay-PR-144-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:35:57 $ docker stop --time=1 c8424d33f714412a9a601515df975529bd712dbef50187c3ccdc72ff04709029 02:35:58 $ docker rm -f --volumes c8424d33f714412a9a601515df975529bd712dbef50187c3ccdc72ff04709029 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] echo 02:35:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:35:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] echo 02:35:59 ========================================================= 02:35:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 02:35:59 ========================================================= [Pipeline] fileExists [Pipeline] // stage [Pipeline] } [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:35:59 + 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 . 02:36:00 Sending build context to Docker daemon 336.4kB 02:36:00 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 02:36:00 Step 2/12 : FROM ${BASE} AS builder 02:36:00 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:36:00 cf04c63912e1: Pulling fs layer 02:36:00 55b35a11ae5e: Pulling fs layer 02:36:00 a37a00ec5f00: Pulling fs layer 02:36:00 50b3750afda1: Pulling fs layer 02:36:00 4f4fb700ef54: Pulling fs layer 02:36:00 80978eb59214: Pulling fs layer 02:36:00 c9f46d7d2bd2: Pulling fs layer 02:36:00 c5a475d317c9: Pulling fs layer 02:36:00 4f4fb700ef54: Waiting 02:36:00 80978eb59214: Waiting 02:36:00 c9f46d7d2bd2: Waiting 02:36:00 c5a475d317c9: Waiting 02:36:00 50b3750afda1: Waiting 02:36:00 55b35a11ae5e: Verifying Checksum 02:36:00 55b35a11ae5e: Download complete 02:36:00 50b3750afda1: Verifying Checksum 02:36:00 50b3750afda1: Download complete 02:36:00 4f4fb700ef54: Verifying Checksum 02:36:00 4f4fb700ef54: Download complete 02:36:00 80978eb59214: Verifying Checksum 02:36:00 80978eb59214: Download complete 02:36:00 cf04c63912e1: Verifying Checksum 02:36:00 cf04c63912e1: Download complete 02:36:00 c5a475d317c9: Verifying Checksum 02:36:00 c5a475d317c9: Download complete 02:36:01 cf04c63912e1: Pull complete 02:36:02 55b35a11ae5e: Pull complete 02:36:02 a37a00ec5f00: Verifying Checksum 02:36:02 a37a00ec5f00: Download complete 02:36:03 c9f46d7d2bd2: Verifying Checksum 02:36:03 c9f46d7d2bd2: Download complete 02:36:18 a37a00ec5f00: Pull complete 02:36:18 50b3750afda1: Pull complete 02:36:18 4f4fb700ef54: Pull complete 02:36:18 80978eb59214: Pull complete 02:36:25 c9f46d7d2bd2: Pull complete 02:36:27 c5a475d317c9: Pull complete 02:36:27 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 02:36:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 02:36:27 ---> be29e6b0f0d4 02:36:27 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 02:36:28 ---> Running in 6988ccaa0c3e 02:36:28 Removing intermediate container 6988ccaa0c3e 02:36:28 ---> 75e7e5d44816 02:36:28 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 02:36:28 ---> Running in 9a21f64ec474 02:36:28 Removing intermediate container 9a21f64ec474 02:36:28 ---> 7fa809a8c6e8 02:36:28 Step 5/12 : ARG ADD_BUILD_TAGS="" 02:36:28 ---> Running in 4a93228b59bf 02:36:29 Removing intermediate container 4a93228b59bf 02:36:29 ---> bc367901d9d7 02:36:29 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:36:29 ---> Running in 8dc62e19ac07 02:36:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:36:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:36:32 OK: 238 MiB in 54 packages 02:36:32 Removing intermediate container 8dc62e19ac07 02:36:32 ---> 63ec621c7f90 02:36:32 Step 7/12 : WORKDIR /app 02:36:32 ---> Running in 9377e1fd67ea 02:36:33 Removing intermediate container 9377e1fd67ea 02:36:33 ---> 7b75aaed4cbd 02:36:33 Step 8/12 : COPY go.mod vendor* ./ 02:36:34 ---> e2bba8a3b226 02:36:34 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:36:34 ---> Running in bdf6910c2b53 02:38:25 Removing intermediate container bdf6910c2b53 02:38:25 ---> 85e015438f40 02:38:25 Step 10/12 : COPY . . 02:38:25 ---> 1a2f108d2316 02:38:25 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:38:25 ---> Running in ce17696f25b0 02:38:25 Removing intermediate container ce17696f25b0 02:38:25 ---> dc597a993843 02:38:25 Step 12/12 : RUN $MAKE 02:38:25 ---> Running in 78445071d3b1 02:38:25 noop 02:38:25 Removing intermediate container 78445071d3b1 02:38:25 ---> 4c52a03eab13 02:38:25 Successfully built 4c52a03eab13 02:38:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:26 + docker inspect -f . ci-base-image-arm64 02:38:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:38:26 prd-ubuntu20.04-docker-arm64-4c-16g-22244 does not seem to be running inside a container 02:38:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:38:27 $ docker top 80f8ffcd8c620a9fabeeafc9e4b7e73e08416bd7eacb3d872b7aa20e13df966a -eo pid,comm [Pipeline] { [Pipeline] sh 02:38:28 + go version 02:38:28 go version go1.23.2 linux/arm64 [Pipeline] } 02:38:28 $ docker stop --time=1 80f8ffcd8c620a9fabeeafc9e4b7e73e08416bd7eacb3d872b7aa20e13df966a 02:38:30 $ docker rm -f --volumes 80f8ffcd8c620a9fabeeafc9e4b7e73e08416bd7eacb3d872b7aa20e13df966a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:38:31 + docker inspect -f . ci-base-image-arm64 02:38:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:38:31 prd-ubuntu20.04-docker-arm64-4c-16g-22244 does not seem to be running inside a container 02:38:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:38:32 $ docker top 1c9cd3e87c4a62a4ca0ac3f143aee67e2f875fb0de281fd6ab23653c14af2f6a -eo pid,comm [Pipeline] { [Pipeline] sh 02:38:33 + git config --global --add safe.directory /w/workspace/app-record-replay/1 [Pipeline] fileExists [Pipeline] sh 02:38:34 + make test 02:38:34 go test -race -coverprofile=coverage.out ./... 02:42:41 github.com/edgexfoundry/app-record-replay coverage: 0.0% of statements 02:42:46 ok github.com/edgexfoundry/app-record-replay/internal/app 1.120s coverage: 88.0% of statements 02:42:53 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 02:42:53 github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks coverage: 0.0% of statements 02:42:55 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 02:42:57 ok github.com/edgexfoundry/app-record-replay/internal/application 9.825s coverage: 98.7% of statements 02:42:57 ok github.com/edgexfoundry/app-record-replay/internal/controller 1.538s coverage: 89.7% of statements 02:42:57 ok github.com/edgexfoundry/app-record-replay/internal/utils 1.082s coverage: 100.0% of statements 02:42:58 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:42:58 go vet ./... 02:46:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:46:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:46:50 ./bin/test-attribution-txt.sh [Pipeline] echo 02:46:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:46:50 $ docker stop --time=1 1c9cd3e87c4a62a4ca0ac3f143aee67e2f875fb0de281fd6ab23653c14af2f6a 02:46:52 $ docker rm -f --volumes 1c9cd3e87c4a62a4ca0ac3f143aee67e2f875fb0de281fd6ab23653c14af2f6a [Pipeline] // withDockerContainer [Pipeline] sh 02:46:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:46:54 Warning: overwriting stash ‘coverage-report’ 02:46:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:46:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:46:56 + ls -al . 02:46:56 total 272 02:46:56 drwxrwxr-x 9 jenkins jenkins 4096 Oct 9 02:38 . 02:46:56 drwxrwxr-x 4 jenkins jenkins 4096 Oct 9 02:35 .. 02:46:56 -rw-rw-r-- 1 jenkins jenkins 119 Oct 9 02:35 .dockerignore 02:46:56 drwxrwxr-x 8 jenkins jenkins 4096 Oct 9 02:35 .git 02:46:56 drwxrwxr-x 3 jenkins jenkins 4096 Oct 9 02:35 .github 02:46:56 -rw-rw-r-- 1 jenkins jenkins 164 Oct 9 02:35 .gitignore 02:46:56 -rw-rw-r-- 1 jenkins jenkins 41 Oct 9 02:35 .golangci.yml 02:46:56 -rw-rw-r-- 1 jenkins jenkins 20126 Oct 9 02:35 Attribution.txt 02:46:56 -rw-rw-r-- 1 jenkins jenkins 458 Oct 9 02:35 CHANGELOG.md 02:46:56 -rw-rw-r-- 1 jenkins jenkins 1725 Oct 9 02:35 Dockerfile 02:46:56 -rw-rw-r-- 1 jenkins jenkins 677 Oct 9 02:35 GOVERNANCE.md 02:46:56 -rw-rw-r-- 1 jenkins jenkins 681 Oct 9 02:35 Jenkinsfile 02:46:56 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 9 02:35 LICENSE 02:46:56 -rw-rw-r-- 1 jenkins jenkins 3268 Oct 9 02:35 Makefile 02:46:56 -rw-rw-r-- 1 jenkins jenkins 611 Oct 9 02:35 OWNERS.md 02:46:56 -rw-rw-r-- 1 jenkins jenkins 4107 Oct 9 02:35 README.md 02:46:56 -rw-rw-r-- 1 jenkins jenkins 7789 Oct 9 02:35 Record and Reply.postman_collection.json 02:46:56 -rw-rw-r-- 1 jenkins jenkins 5 Oct 9 02:31 VERSION 02:46:56 drwxrwxr-x 2 jenkins jenkins 4096 Oct 9 02:35 bin 02:46:56 -rw-r--r-- 1 jenkins jenkins 34247 Oct 9 02:42 coverage.out 02:46:56 -rw-rw-r-- 1 jenkins jenkins 7113 Oct 9 02:35 go.mod 02:46:56 -rw-rw-r-- 1 jenkins jenkins 99876 Oct 9 02:35 go.sum 02:46:56 drwxrwxr-x 7 jenkins jenkins 4096 Oct 9 02:35 internal 02:46:56 -rw-rw-r-- 1 jenkins jenkins 913 Oct 9 02:35 main.go 02:46:56 drwxrwxr-x 3 jenkins jenkins 4096 Oct 9 02:35 openapi 02:46:56 drwxrwxr-x 3 jenkins jenkins 4096 Oct 9 02:35 pkg 02:46:56 drwxrwxr-x 2 jenkins jenkins 4096 Oct 9 02:35 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:46:56 + 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=3b3a4b358737e2da1c426ed6ab247ca110a4e992 --label arch=arm64 --label version=0.0.0 . 02:46:57 Sending build context to Docker daemon 371.2kB 02:46:57 Step 1/27 : ARG BASE=golang:1.23-alpine3.20 02:46:57 Step 2/27 : FROM ${BASE} AS builder 02:46:57 ---> 4c52a03eab13 02:46:57 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 02:46:57 ---> Running in 9e68cccfc992 02:46:57 Removing intermediate container 9e68cccfc992 02:46:57 ---> 98b1daae7fd1 02:46:57 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 02:46:57 ---> Running in 877d532117bb 02:46:57 Removing intermediate container 877d532117bb 02:46:57 ---> 3c39466b74b3 02:46:57 Step 5/27 : ARG ADD_BUILD_TAGS="" 02:46:57 ---> Running in 9f898d8f6897 02:46:58 Removing intermediate container 9f898d8f6897 02:46:58 ---> d040d8624bff 02:46:58 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:46:58 ---> Running in 619bcfce4527 02:46:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:46:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:47:01 OK: 238 MiB in 54 packages 02:47:02 Removing intermediate container 619bcfce4527 02:47:02 ---> bc08699608f3 02:47:02 Step 7/27 : WORKDIR /app 02:47:02 ---> Running in c6d5b08eb9bd 02:47:02 Removing intermediate container c6d5b08eb9bd 02:47:02 ---> 59b61573d00f 02:47:02 Step 8/27 : COPY go.mod vendor* ./ 02:47:03 ---> 6bf5e2ba5780 02:47:03 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:47:03 ---> Running in bb4dc71971fd 02:47:05 Removing intermediate container bb4dc71971fd 02:47:05 ---> c8ba0b5f8fcd 02:47:05 Step 10/27 : COPY . . 02:47:06 ---> ee006add5073 02:47:06 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:47:06 ---> Running in 97a992681809 02:47:06 Removing intermediate container 97a992681809 02:47:06 ---> c8375800db07 02:47:06 Step 12/27 : RUN $MAKE 02:47:06 ---> Running in f7485846a65a 02:47:08 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.32 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 02:50:44 Removing intermediate container f7485846a65a 02:50:44 ---> 5d61df6a2277 02:50:44 Step 13/27 : FROM alpine:3.20 02:50:44 3.20: Pulling from library/alpine 02:50:44 cf04c63912e1: Already exists 02:50:44 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 02:50:44 Status: Downloaded newer image for alpine:3.20 02:50:44 ---> c157a85ed455 02:50:44 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 02:50:44 ---> Running in 797655f759a6 02:50:44 Removing intermediate container 797655f759a6 02:50:44 ---> 86b28b02a7e6 02:50:44 Step 15/27 : LABEL Name=app-record-replay Version=${VERSION} 02:50:44 ---> Running in bd264416ec0a 02:50:44 Removing intermediate container bd264416ec0a 02:50:44 ---> e46ccef244d6 02:50:44 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 02:50:44 ---> Running in f6f83df4a3f8 02:50:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:50:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:50:44 (1/2) Installing ca-certificates (20240705-r0) 02:50:44 (2/2) Installing dumb-init (1.2.5-r3) 02:50:44 Executing busybox-1.36.1-r29.trigger 02:50:44 Executing ca-certificates-20240705-r0.trigger 02:50:44 OK: 10 MiB in 16 packages 02:50:44 Removing intermediate container f6f83df4a3f8 02:50:44 ---> da7d3b392e18 02:50:44 Step 17/27 : RUN apk --no-cache upgrade 02:50:44 ---> Running in 5325ea6b91c6 02:50:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:50:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:50:44 Upgrading critical system libraries and apk-tools: 02:50:44 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 02:50:44 Executing busybox-1.36.1-r29.trigger 02:50:44 Continuing the upgrade transaction with new apk-tools: 02:50:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:50:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:50:44 OK: 10 MiB in 16 packages 02:50:44 Removing intermediate container 5325ea6b91c6 02:50:44 ---> 567ade0d4b12 02:50:44 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 02:50:45 ---> 7a6a892a27b0 02:50:45 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 02:50:46 ---> 0299a4bfc27a 02:50:46 Step 20/27 : COPY --from=builder /app/res/ /res/ 02:50:46 ---> 66e5bf805007 02:50:46 Step 21/27 : COPY --from=builder /app/app-record-replay /app-record-replay 02:50:48 ---> 91c5d851367d 02:50:48 Step 22/27 : EXPOSE 59712 02:50:48 ---> Running in a4538e9f8ce8 02:50:48 Removing intermediate container a4538e9f8ce8 02:50:48 ---> e4d0b698deee 02:50:48 Step 23/27 : ENTRYPOINT ["/app-record-replay"] 02:50:48 ---> Running in 83f609afb448 02:50:49 Removing intermediate container 83f609afb448 02:50:49 ---> 78074388e9d7 02:50:49 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 02:50:49 ---> Running in 88204b5cb49e 02:50:49 Removing intermediate container 88204b5cb49e 02:50:49 ---> 6e9acc4e06c5 02:50:49 Step 25/27 : LABEL arch=arm64 02:50:49 ---> Running in 3c43daceee7e 02:50:49 Removing intermediate container 3c43daceee7e 02:50:49 ---> 773c9fc34f17 02:50:49 Step 26/27 : LABEL git_sha=3b3a4b358737e2da1c426ed6ab247ca110a4e992 02:50:49 ---> Running in 73b8063284ab 02:50:50 Removing intermediate container 73b8063284ab 02:50:50 ---> 2f8a366eac33 02:50:50 Step 27/27 : LABEL version=0.0.0 02:50:50 ---> Running in 2c8ec581d60a 02:50:50 Removing intermediate container 2c8ec581d60a 02:50:50 ---> ebd40cb90951 02:50:50 [Warning] One or more build-args [ARCH] were not consumed 02:50:50 Successfully built ebd40cb90951 02:50:50 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 02:50:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:50:51 02:50:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:50:52 arm64: Pulling from edgex-lftools-log-publisher 02:50:52 8998bd30e6a1: Pulling fs layer 02:50:52 04944245beec: Pulling fs layer 02:50:52 699f458cf7ca: Pulling fs layer 02:50:52 765212b225bb: Pulling fs layer 02:50:52 f23df028b6ca: Pulling fs layer 02:50:52 d65c8cfc05b1: Pulling fs layer 02:50:52 2437ff75d9bd: Pulling fs layer 02:50:52 f23df028b6ca: Waiting 02:50:52 d65c8cfc05b1: Waiting 02:50:52 2437ff75d9bd: Waiting 02:50:52 765212b225bb: Waiting 02:50:52 04944245beec: Verifying Checksum 02:50:52 04944245beec: Download complete 02:50:52 765212b225bb: Verifying Checksum 02:50:52 765212b225bb: Download complete 02:50:52 f23df028b6ca: Verifying Checksum 02:50:52 f23df028b6ca: Download complete 02:50:52 d65c8cfc05b1: Verifying Checksum 02:50:52 d65c8cfc05b1: Download complete 02:50:52 699f458cf7ca: Verifying Checksum 02:50:52 699f458cf7ca: Download complete 02:50:52 8998bd30e6a1: Verifying Checksum 02:50:52 8998bd30e6a1: Download complete 02:50:55 2437ff75d9bd: Verifying Checksum 02:50:55 2437ff75d9bd: Download complete 02:50:58 8998bd30e6a1: Pull complete 02:50:58 04944245beec: Pull complete 02:50:59 699f458cf7ca: Pull complete 02:51:00 765212b225bb: Pull complete 02:51:01 f23df028b6ca: Pull complete 02:51:01 d65c8cfc05b1: Pull complete 02:51:19 2437ff75d9bd: Pull complete 02:51:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:51:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:51:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:51:19 prd-ubuntu20.04-docker-arm64-4c-16g-22244 does not seem to be running inside a container 02:51:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:51:22 $ docker top b94ce043dd1e4234fc612dd1ed362095c0368e12259b7782f6462b2aced4d5ac -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:51:23 ---> job-cost.sh 02:51:23 lf-activate-venv: SKIPPING 02:51:23 INFO: No Stack... 02:51:24 INFO: Retrieving Pricing Info for: v3-standard-4 02:51:24 INFO: Archiving Costs [Pipeline] sh 02:51:25 + cat /w/workspace/app-record-replay/1/archives/cost.csv 02:51:25 + cut -d, -f6 [Pipeline] lock 02:51:25 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-record-replay-PR-144-1-stack-cost] 02:51:25 Resource [jenkins-edgexfoundry-app-record-replay-PR-144-1-stack-cost] did not exist. Created. 02:51:25 Lock acquired on [Resource: jenkins-edgexfoundry-app-record-replay-PR-144-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:51:26 /w/workspace/app-record-replay/1@tmp/durable-790d8e28/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:51:26 + echo total: 0.10999999940395355 [Pipeline] stash 02:51:27 Warning: overwriting stash ‘stack-cost’ 02:51:27 Stashed 1 file(s) [Pipeline] } 02:51:27 Lock released on resource [Resource: jenkins-edgexfoundry-app-record-replay-PR-144-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:51:27 $ docker stop --time=1 b94ce043dd1e4234fc612dd1ed362095c0368e12259b7782f6462b2aced4d5ac 02:51:28 $ docker rm -f --volumes b94ce043dd1e4234fc612dd1ed362095c0368e12259b7782f6462b2aced4d5ac [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 02:51:30 provisioning config files... 02:51:30 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/foundry_app-record-replay_PR-144@tmp/config2261582286935544999tmp [Pipeline] { [Pipeline] sh 02:51:30 + set +x 02:51:30 + bash -s -- 02:51:30 + curl -s https://codecov.io/bash 02:51:30 02:51:30 _____ _ 02:51:30 / ____| | | 02:51:30 | | ___ __| | ___ ___ _____ __ 02:51:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:51:30 | |___| (_) | (_| | __/ (_| (_) \ V / 02:51:30 \_____\___/ \__,_|\___|\___\___/ \_/ 02:51:30 Bash-1.0.6 02:51:30 02:51:30 02:51:30 ==> git version 2.25.1 found 02:51:30 ==> 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 02:51:30 Release-Date: 2020-01-08 02:51:30 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:51:30 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:51:30 ==> Jenkins CI detected. 02:51:30 current dir:  /w/workspace/foundry_app-record-replay_PR-144 02:51:30 project root: . 02:51:30 --> token set from env 02:51:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:51:30 ==> Running gcov in . (disable via -X gcov) 02:51:30 ==> Python coveragepy not found 02:51:30 ==> Searching for coverage reports in: 02:51:30 + . 02:51:30 -> Found 1 reports 02:51:30 ==> Detecting git/mercurial file structure 02:51:30 ==> Reading reports 02:51:30 + ./coverage.out bytes=34247 02:51:30 ==> Appending adjustments 02:51:30 https://docs.codecov.io/docs/fixing-reports 02:51:30 + Found adjustments 02:51:30 ==> Gzipping contents 02:51:30 8.0K /tmp/codecov.9X86qM.gz 02:51:30 ==> Uploading reports 02:51:30 url: https://codecov.io 02:51:30 query: branch=PR-144&commit=3b3a4b358737e2da1c426ed6ab247ca110a4e992&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-144%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=144&job=&cmd_args= 02:51:30 -> Pinging Codecov 02:51:30 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-144&commit=3b3a4b358737e2da1c426ed6ab247ca110a4e992&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-144%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=144&job=&cmd_args= 02:51:30 -> Uploading to 02:51:30 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/app-record-replay/3b3a4b358737e2da1c426ed6ab247ca110a4e992/1d5ce4b2-ab3e-4913-b68f-b871f9adfff4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241009%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241009T025130Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=0504d6b21e153544ceb1b0c9e08751d4e82a3b69cae587fa1db83234ac950d83 02:51:30 % Total % Received % Xferd Average Speed Time Time Time Current 02:51:30 Dload Upload Total Spent Left Speed 02:51:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5395 0 0 100 5395 0 20591 --:--:-- --:--:-- --:--:-- 20591 02:51:31 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-record-replay/commit/3b3a4b358737e2da1c426ed6ab247ca110a4e992 [Pipeline] } 02:51:31 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 02:51:33 + [ -d /w/workspace/foundry_app-record-replay_PR-144/archives ] 02:51:33 + ls -al /w/workspace/foundry_app-record-replay_PR-144/archives 02:51:33 total 16 02:51:33 drwxr-xr-x 3 root root 4096 Oct 9 02:35 . 02:51:33 drwxrwxr-x 11 jenkins jenkins 4096 Oct 9 02:35 .. 02:51:33 drwxr-xr-x 2 root root 4096 Oct 9 02:35 cost 02:51:33 -rw-r--r-- 1 root root 89 Oct 9 02:35 cost.csv 02:51:33 + sudo chown -R jenkins:jenkins /w/workspace/foundry_app-record-replay_PR-144/archives 02:51:33 + ls -al /w/workspace/foundry_app-record-replay_PR-144/archives 02:51:33 total 16 02:51:33 drwxr-xr-x 3 jenkins jenkins 4096 Oct 9 02:35 . 02:51:33 drwxrwxr-x 11 jenkins jenkins 4096 Oct 9 02:35 .. 02:51:33 drwxr-xr-x 2 jenkins jenkins 4096 Oct 9 02:35 cost 02:51:33 -rw-r--r-- 1 jenkins jenkins 89 Oct 9 02:35 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:51:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:51:34 ---> package-listing.sh 02:51:34 ++ facter osfamily 02:51:34 ++ tr '[:upper:]' '[:lower:]' 02:51:35 + OS_FAMILY=debian 02:51:35 + workspace=/w/workspace/foundry_app-record-replay_PR-144 02:51:35 + START_PACKAGES=/tmp/packages_start.txt 02:51:35 + END_PACKAGES=/tmp/packages_end.txt 02:51:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:51:35 + PACKAGES=/tmp/packages_start.txt 02:51:35 + '[' /w/workspace/foundry_app-record-replay_PR-144 ']' 02:51:35 + PACKAGES=/tmp/packages_end.txt 02:51:35 + case "${OS_FAMILY}" in 02:51:35 + dpkg -l 02:51:35 + grep '^ii' 02:51:35 + '[' -f /tmp/packages_start.txt ']' 02:51:35 + '[' -f /tmp/packages_end.txt ']' 02:51:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:51:35 + '[' /w/workspace/foundry_app-record-replay_PR-144 ']' 02:51:35 + mkdir -p /w/workspace/foundry_app-record-replay_PR-144/archives/ 02:51:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_app-record-replay_PR-144/archives/ [Pipeline] echo 02:51:35 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-144/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:51:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:51:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:51:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:51:36 prd-ubuntu20.04-docker-8c-8g-22243 does not seem to be running inside a container 02:51:36 $ 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-144/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-144 -v /w/workspace/foundry_app-record-replay_PR-144:/w/workspace/foundry_app-record-replay_PR-144:rw,z -v /w/workspace/foundry_app-record-replay_PR-144@tmp:/w/workspace/foundry_app-record-replay_PR-144@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:51:36 $ docker top a64e567b4fc1aeb0b9b6128736788efeeaa78a524d68eaf61a9d6b4a321784e6 -eo pid,comm [Pipeline] { [Pipeline] sh 02:51:37 + touch /tmp/pre-build-complete [Pipeline] sh 02:51:37 + mkdir -p /var/log/sysstat [Pipeline] sh 02:51:37 + ls /var/log/sa-host 02:51:37 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:51:37 provisioning config files... 02:51:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_app-record-replay_PR-144@tmp/config13097061165717606246tmp [Pipeline] { [Pipeline] echo 02:51:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:51:38 ---> create-netrc.sh [Pipeline] } 02:51:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:51:38 ---> python-tools-install.sh [Pipeline] echo 02:51:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:51:39 ---> sudo-logs.sh 02:51:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:51:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:51:39 ---> job-cost.sh 02:51:39 lf-activate-venv: SKIPPING 02:51:39 DEBUG: total: 0.2199999988079071 02:51:39 INFO: Retrieving Stack Cost... 02:51:39 INFO: Retrieving Pricing Info for: v3-standard-8 02:51:40 INFO: Archiving Costs [Pipeline] echo 02:51:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:51:40 ---> logs-deploy.sh 02:51:40 lf-activate-venv: SKIPPING 02:51:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-144/1 02:51:40 INFO: archiving workspace using pattern(s): 02:51:41 Archives upload complete. 02:51:41 INFO: archiving logs to Nexus