Pull request #140 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 cloudxxx8 for edgexfoundry/app-record-replay Obtained Jenkinsfile from 165582aed703d65460be826d446d8007e7cd8af1+b51154c725b31c6aeb2609dc377731a158de3e91 (a4751a351003cb3479970a7cb0d6a148db327e50) 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-ssh6897519682582126436.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f5e0e1f8358a839901f1a476b3a28a62f8570917 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-ssh13310608153421096895.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 f5e0e1f8358a839901f1a476b3a28a62f8570917 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-140/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-140/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9098292300806359577.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-140/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7911280090177055764.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f5e0e1f8358a839901f1a476b3a28a62f8570917 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f5e0e1f8358a839901f1a476b3a28a62f8570917 # timeout=10 Commit message: "Merge pull request #449 from jinlinGuan/issue-448" > 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-ssh8510139291387858340.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-140/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-140/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17015457799288728523.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 f5e0e1f8358a839901f1a476b3a28a62f8570917 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.21 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-831’ Running on prd-ubuntu20.04-docker-8c-8g-834 in /w/workspace/foundry_app-record-replay_PR-140 [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-140 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/140/head:refs/remotes/origin/PR-140 +refs/heads/napa:refs/remotes/origin/napa # timeout=10 Merging remotes/origin/napa commit b51154c725b31c6aeb2609dc377731a158de3e91 into PR head commit 165582aed703d65460be826d446d8007e7cd8af1 Merge succeeded, producing 165582aed703d65460be826d446d8007e7cd8af1 Checking out Revision 165582aed703d65460be826d446d8007e7cd8af1 (PR-140) Commit message: "build: Bump SDK to v3.1.1" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object f5e0e1f8358a839901f1a476b3a28a62f8570917 > git config core.sparsecheckout # timeout=10 > git checkout -f 165582aed703d65460be826d446d8007e7cd8af1 # 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 b51154c725b31c6aeb2609dc377731a158de3e91 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 165582aed703d65460be826d446d8007e7cd8af1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:10:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:10:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:11:00 ========================================================= 09:11:00 EdgeX Global Pipelines Version Info 09:11:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:11:00 ------------------- 09:11:00 stable info: 09:11:00 ------------------- 09:11:00 Commited By: Ginny Guan ginny@iotechsys.com 09:11:00 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 09:11:00 Message: update stable to v1.0.259 09:11:01 ------------------- 09:11:01 experimental info: 09:11:01 ------------------- 09:11:01 Commited By: Ginny Guan ginny@iotechsys.com 09:11:01 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 09:11:01 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:11:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 09:11:01 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 09:11:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:11:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:11:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:11:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 09:11:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:11:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:11:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:11:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:11:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:11:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 09:11:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:11:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:11:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:11:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:11:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:11:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:11:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:11:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:11:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:11:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:11:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:11:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:11:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:11:03 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:11:03 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:11:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-140 [Pipeline] echo 09:11:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-140 [Pipeline] echo 09:11:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-140 [Pipeline] echo 09:11:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 165582aed703d65460be826d446d8007e7cd8af1 [Pipeline] echo 09:11:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 165582a [Pipeline] echo 09:11:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:11:03 provisioning config files... 09:11:03 copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-140@tmp/config9084319139377377684tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:11:03 ---> ****-login.sh 09:11:03 nexus3.edgexfoundry.org:10001 09:11:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:11:04 Configure a credential helper to remove this warning. See 09:11:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:11:04 09:11:04 Login Succeeded 09:11:04 nexus3.edgexfoundry.org:10002 09:11:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:11:04 Configure a credential helper to remove this warning. See 09:11:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:11:04 09:11:04 Login Succeeded 09:11:04 nexus3.edgexfoundry.org:10003 09:11:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:11:04 Configure a credential helper to remove this warning. See 09:11:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:11:04 09:11:04 Login Succeeded 09:11:04 nexus3.edgexfoundry.org:10004 09:11:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:11:04 Configure a credential helper to remove this warning. See 09:11:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:11:04 09:11:04 Login Succeeded 09:11:04 ****.io 09:11:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:11:04 Configure a credential helper to remove this warning. See 09:11:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:11:04 09:11:04 Login Succeeded 09:11:04 ---> ****-login.sh ends [Pipeline] } 09:11:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:11:05 + git rev-list -1 --merges 165582aed703d65460be826d446d8007e7cd8af1~1..165582aed703d65460be826d446d8007e7cd8af1 [Pipeline] echo 09:11:05 -----------> git rev-list -1 --merges 165582aed703d65460be826d446d8007e7cd8af1~1..165582aed703d65460be826d446d8007e7cd8af1 165582aed703d65460be826d446d8007e7cd8af1 [false] [Pipeline] sh 09:11:05 + git log --format=format:%s -1 165582aed703d65460be826d446d8007e7cd8af1 [Pipeline] echo 09:11:05 ========================================================= 09:11:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:11:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:11:06 + git log --format=format:%s -1 165582aed703d65460be826d446d8007e7cd8af1 [Pipeline] echo 09:11:06 [semverPrep] GIT_COMMIT: 165582aed703d65460be826d446d8007e7cd8af1, Commit Message: build: Bump SDK to v3.1.1 [Pipeline] echo 09:11:06 [semverPrep] This is not a build commit. [Pipeline] sh 09:11:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:11:06 + grep -v github /etc/ssh/ssh_known_hosts 09:11:06 + [ -e /tmp/ssh_known_hosts ] 09:11:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:11:06 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:11:06 + sudo tee -a /etc/ssh/ssh_known_hosts 09:11:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:11:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:11:07 09:11:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:11:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:11:07 0.1.4: Pulling from edgex-devops/py-git-semver 09:11:07 b85a868b505f: Pulling fs layer 09:11:07 e2be974225ed: Pulling fs layer 09:11:07 339a4e72a1f5: Pulling fs layer 09:11:07 988bab9f4d93: Pulling fs layer 09:11:07 1469e6f7b9e6: Pulling fs layer 09:11:07 eaf3925da568: Pulling fs layer 09:11:07 bab4dde63d76: Pulling fs layer 09:11:07 bde34c3a00c8: Pulling fs layer 09:11:07 b352a97aabf1: Pulling fs layer 09:11:07 4872d77fe225: Pulling fs layer 09:11:07 5851b861e8e6: Pulling fs layer 09:11:07 b352a97aabf1: Waiting 09:11:07 bde34c3a00c8: Waiting 09:11:07 4872d77fe225: Waiting 09:11:07 bab4dde63d76: Waiting 09:11:07 5851b861e8e6: Waiting 09:11:07 1469e6f7b9e6: Waiting 09:11:07 eaf3925da568: Waiting 09:11:07 e2be974225ed: Verifying Checksum 09:11:07 e2be974225ed: Download complete 09:11:07 988bab9f4d93: Verifying Checksum 09:11:07 988bab9f4d93: Download complete 09:11:07 1469e6f7b9e6: Verifying Checksum 09:11:07 1469e6f7b9e6: Download complete 09:11:07 eaf3925da568: Verifying Checksum 09:11:07 eaf3925da568: Download complete 09:11:07 339a4e72a1f5: Verifying Checksum 09:11:07 339a4e72a1f5: Download complete 09:11:07 bde34c3a00c8: Verifying Checksum 09:11:07 bde34c3a00c8: Download complete 09:11:07 b352a97aabf1: Verifying Checksum 09:11:07 b352a97aabf1: Download complete 09:11:07 4872d77fe225: Verifying Checksum 09:11:07 5851b861e8e6: Download complete 09:11:07 b85a868b505f: Verifying Checksum 09:11:07 b85a868b505f: Download complete 09:11:08 bab4dde63d76: Verifying Checksum 09:11:08 bab4dde63d76: Download complete 09:11:09 b85a868b505f: Pull complete 09:11:09 e2be974225ed: Pull complete 09:11:09 339a4e72a1f5: Pull complete 09:11:09 988bab9f4d93: Pull complete 09:11:09 1469e6f7b9e6: Pull complete 09:11:09 eaf3925da568: Pull complete 09:11:11 bab4dde63d76: Pull complete 09:11:11 bde34c3a00c8: Pull complete 09:11:11 b352a97aabf1: Pull complete 09:11:11 4872d77fe225: Pull complete 09:11:11 5851b861e8e6: Pull complete 09:11:11 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:11:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:11:11 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:11:12 prd-ubuntu20.04-docker-8c-8g-834 does not seem to be running inside a container 09:11:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_app-record-replay_PR-140 -v /w/workspace/foundry_app-record-replay_PR-140:/w/workspace/foundry_app-record-replay_PR-140:rw,z -v /w/workspace/foundry_app-record-replay_PR-140@tmp:/w/workspace/foundry_app-record-replay_PR-140@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:11:15 $ docker top fd59d182a851efc5369d1a16540a920f5ffeda4a6de97e261e1e2853d1452428 -eo pid,comm 09:11:15 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 09:11:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:11:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:11:15 [ssh-agent] Looking for ssh-agent implementation... 09:11:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:11:15 $ docker exec fd59d182a851efc5369d1a16540a920f5ffeda4a6de97e261e1e2853d1452428 ssh-agent 09:11:15 SSH_AUTH_SOCK=/tmp/ssh-9ss5EoxkTWbp/agent.32 09:11:15 SSH_AGENT_PID=38 09:11:15 Running ssh-add (command line suppressed) 09:11:15 Identity added: /w/workspace/foundry_app-record-replay_PR-140@tmp/private_key_15171717686231438543.key (/w/workspace/foundry_app-record-replay_PR-140@tmp/private_key_15171717686231438543.key) 09:11:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:11:16 + git tag --points-at HEAD [Pipeline] } 09:11:16 $ docker exec --env ******** --env ******** fd59d182a851efc5369d1a16540a920f5ffeda4a6de97e261e1e2853d1452428 ssh-agent -k 09:11:16 unset SSH_AUTH_SOCK; 09:11:16 unset SSH_AGENT_PID; 09:11:16 echo Agent pid 38 killed; 09:11:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:11:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:11:16 [ssh-agent] Looking for ssh-agent implementation... 09:11:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:11:16 $ docker exec fd59d182a851efc5369d1a16540a920f5ffeda4a6de97e261e1e2853d1452428 ssh-agent 09:11:16 SSH_AUTH_SOCK=/tmp/ssh-3itoxzJQrtdK/agent.71 09:11:16 SSH_AGENT_PID=77 09:11:16 Running ssh-add (command line suppressed) 09:11:16 Identity added: /w/workspace/foundry_app-record-replay_PR-140@tmp/private_key_8464013318834024437.key (/w/workspace/foundry_app-record-replay_PR-140@tmp/private_key_8464013318834024437.key) 09:11:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:11:17 + git semver init 09:11:17 2024-05-27 09:11:17,222 [run_init] DEBUG init version:0.0.0 force:False 09:11:17 2024-05-27 09:11:17,223 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_app-record-replay_PR-140/.semver 09:11:17 2024-05-27 09:11:17,224 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/foundry_app-record-replay_PR-140/.semver 09:11:17 2024-05-27 09:11:17,224 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/foundry_app-record-replay_PR-140/.semver'], cwd=/w/workspace/foundry_app-record-replay_PR-140, universal_newlines=False, shell=None, istream=None) 09:11:18 2024-05-27 09:11:18,062 [append_file] DEBUG append to file:/w/workspace/foundry_app-record-replay_PR-140/.git/info/exclude 09:11:18 2024-05-27 09:11:18,062 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_app-record-replay_PR-140/.semver/PR-140 with force:False 09:11:18 2024-05-27 09:11:18,062 [write_file] DEBUG write to file:/w/workspace/foundry_app-record-replay_PR-140/.semver/PR-140 09:11:18 2024-05-27 09:11:18,066 [execute] INFO git cat-file --batch-check 09:11:18 2024-05-27 09:11:18,066 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_app-record-replay_PR-140/.semver, universal_newlines=False, shell=None, istream=) 09:11:18 2024-05-27 09:11:18,073 [execute] INFO git cat-file --batch 09:11:18 2024-05-27 09:11:18,073 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_app-record-replay_PR-140/.semver, universal_newlines=False, shell=None, istream=) 09:11:18 2024-05-27 09:11:18,078 [read_version] DEBUG read version from /w/workspace/foundry_app-record-replay_PR-140/.semver/PR-140 09:11:18 0.0.0 [Pipeline] } 09:11:18 $ docker exec --env ******** --env ******** fd59d182a851efc5369d1a16540a920f5ffeda4a6de97e261e1e2853d1452428 ssh-agent -k 09:11:18 unset SSH_AUTH_SOCK; 09:11:18 unset SSH_AGENT_PID; 09:11:18 echo Agent pid 77 killed; 09:11:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:11:18 + git semver [Pipeline] } 09:11:19 $ docker stop --time=1 fd59d182a851efc5369d1a16540a920f5ffeda4a6de97e261e1e2853d1452428 09:11:20 $ docker rm -f --volumes fd59d182a851efc5369d1a16540a920f5ffeda4a6de97e261e1e2853d1452428 [Pipeline] // withDockerContainer [Pipeline] sh 09:11:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:11:21 Stashed 1 file(s) [Pipeline] echo 09:11:21 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:11:21 provisioning config files... 09:11:21 copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-140@tmp/config8838218845948611501tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:11:22 ---> ****-login.sh 09:11:22 nexus3.edgexfoundry.org:10001 09:11:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:11:22 Configure a credential helper to remove this warning. See 09:11:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:11:22 09:11:22 Login Succeeded 09:11:22 nexus3.edgexfoundry.org:10002 09:11:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:11:22 Configure a credential helper to remove this warning. See 09:11:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:11:22 09:11:22 Login Succeeded 09:11:22 nexus3.edgexfoundry.org:10003 09:11:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:11:22 Configure a credential helper to remove this warning. See 09:11:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:11:22 09:11:22 Login Succeeded 09:11:22 nexus3.edgexfoundry.org:10004 09:11:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:11:22 Configure a credential helper to remove this warning. See 09:11:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:11:22 09:11:22 Login Succeeded 09:11:22 ****.io 09:11:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:11:23 Configure a credential helper to remove this warning. See 09:11:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:11:23 09:11:23 Login Succeeded 09:11:23 ---> ****-login.sh ends [Pipeline] } 09:11:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:11:23 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh 09:11:23 + grep ^go [0-9].[0-9]* go.mod 09:11:23 + cut -d -f 2 [Pipeline] echo 09:11:23 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:11:23 ========================================================= 09:11:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts] 09:11:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:11:24 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . 09:11:24 Sending build context to Docker daemon 34.66MB 09:11:24 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 09:11:24 Step 2/12 : FROM ${BASE} AS builder 09:11:24 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base 09:11:24 619be1103602: Pulling fs layer 09:11:24 7862e08f4a3e: Pulling fs layer 09:11:24 5df492c9dc93: Pulling fs layer 09:11:24 7629e6793208: Pulling fs layer 09:11:24 4f4fb700ef54: Pulling fs layer 09:11:24 8de7f028bff5: Pulling fs layer 09:11:24 44042ff1420b: Pulling fs layer 09:11:24 5cdaf54b7214: Pulling fs layer 09:11:24 38f3e5a9071a: Pulling fs layer 09:11:24 7629e6793208: Waiting 09:11:24 4f4fb700ef54: Waiting 09:11:24 8de7f028bff5: Waiting 09:11:24 44042ff1420b: Waiting 09:11:24 5cdaf54b7214: Waiting 09:11:24 38f3e5a9071a: Waiting 09:11:24 7629e6793208: Verifying Checksum 09:11:24 7629e6793208: Download complete 09:11:24 4f4fb700ef54: Download complete 09:11:24 8de7f028bff5: Verifying Checksum 09:11:24 8de7f028bff5: Download complete 09:11:24 619be1103602: Verifying Checksum 09:11:24 619be1103602: Download complete 09:11:24 44042ff1420b: Verifying Checksum 09:11:24 44042ff1420b: Download complete 09:11:24 619be1103602: Pull complete 09:11:24 7862e08f4a3e: Pull complete 09:11:24 38f3e5a9071a: Verifying Checksum 09:11:24 38f3e5a9071a: Download complete 09:11:25 5df492c9dc93: Download complete 09:11:25 5cdaf54b7214: Verifying Checksum 09:11:25 5cdaf54b7214: Download complete 09:11:27 5df492c9dc93: Pull complete 09:11:27 7629e6793208: Pull complete 09:11:27 4f4fb700ef54: Pull complete 09:11:28 8de7f028bff5: Pull complete 09:11:28 44042ff1420b: Pull complete 09:11:30 5cdaf54b7214: Pull complete 09:11:30 38f3e5a9071a: Pull complete 09:11:30 Digest: sha256:d452b7c9dc822626b28f2158ccf3bbf04957b0b2ad14062d8ea2b98b8d6f5c64 09:11:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts 09:11:30 ---> 60b93f829570 09:11:30 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 09:11:34 ---> Running in 46de302f1f9b 09:11:34 Removing intermediate container 46de302f1f9b 09:11:34 ---> e0f2ca4c9dc3 09:11:34 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 09:11:35 ---> Running in 5944a2e6bc1b 09:11:35 Removing intermediate container 5944a2e6bc1b 09:11:35 ---> c65654dd1f71 09:11:35 Step 5/12 : ARG ADD_BUILD_TAGS="" 09:11:35 ---> Running in 8349457962f0 09:11:35 Removing intermediate container 8349457962f0 09:11:35 ---> 51dd74c243d1 09:11:35 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:11:35 ---> Running in f26a39a1cd5c 09:11:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:11:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:11:35 OK: 264 MiB in 52 packages 09:11:36 Removing intermediate container f26a39a1cd5c 09:11:36 ---> b49488b87bb5 09:11:36 Step 7/12 : WORKDIR /app 09:11:36 ---> Running in 3779af4912ad 09:11:36 Removing intermediate container 3779af4912ad 09:11:36 ---> c10a4d77e3e9 09:11:36 Step 8/12 : COPY go.mod vendor* ./ 09:11:36 Still waiting to schedule task 09:11:36 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-832’ 09:11:38 ---> 00a8f5cf79c7 09:11:38 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:11:38 ---> Running in 13102f52f62b 09:12:04 Removing intermediate container 13102f52f62b 09:12:04 ---> a4eea068256b 09:12:04 Step 10/12 : COPY . . 09:12:04 ---> 63c1c9622991 09:12:04 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:12:05 ---> Running in 42d11539e270 09:12:05 Removing intermediate container 42d11539e270 09:12:05 ---> 420da4804ea0 09:12:05 Step 12/12 : RUN $MAKE 09:12:05 ---> Running in e2589b3efe86 09:12:05 noop 09:12:05 Removing intermediate container e2589b3efe86 09:12:05 ---> 0f0bf047660e 09:12:05 Successfully built 0f0bf047660e 09:12:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:12:06 + docker inspect -f . ci-base-image-x86_64 09:12:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:12:06 prd-ubuntu20.04-docker-8c-8g-834 does not seem to be running inside a container 09:12:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_app-record-replay_PR-140 -v /w/workspace/foundry_app-record-replay_PR-140:/w/workspace/foundry_app-record-replay_PR-140:rw,z -v /w/workspace/foundry_app-record-replay_PR-140@tmp:/w/workspace/foundry_app-record-replay_PR-140@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 ******** ci-base-image-x86_64 cat 09:12:06 $ docker top ed07cb726feef5116a8cc0d1b235e44a1a38778c7f01f94bae0209cab2e93e18 -eo pid,comm [Pipeline] { [Pipeline] sh 09:12:07 + go version 09:12:07 go version go1.21.9 linux/amd64 [Pipeline] } 09:12:07 $ docker stop --time=1 ed07cb726feef5116a8cc0d1b235e44a1a38778c7f01f94bae0209cab2e93e18 09:12:08 $ docker rm -f --volumes ed07cb726feef5116a8cc0d1b235e44a1a38778c7f01f94bae0209cab2e93e18 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:12:09 + docker inspect -f . ci-base-image-x86_64 09:12:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:12:09 prd-ubuntu20.04-docker-8c-8g-834 does not seem to be running inside a container 09:12:09 $ 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-140 -v /w/workspace/foundry_app-record-replay_PR-140:/w/workspace/foundry_app-record-replay_PR-140:rw,z -v /w/workspace/foundry_app-record-replay_PR-140@tmp:/w/workspace/foundry_app-record-replay_PR-140@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 ******** ci-base-image-x86_64 cat 09:12:09 $ docker top b852850983ca866433165b61c7a181d4f878da246a97d658678761d0663e5e60 -eo pid,comm [Pipeline] { [Pipeline] sh 09:12:10 + git config --global --add safe.directory /w/workspace/foundry_app-record-replay_PR-140 [Pipeline] fileExists [Pipeline] sh 09:12:10 + make test 09:12:10 go test -race -coverprofile=coverage.out ./... 09:12:28 ? github.com/edgexfoundry/app-record-replay [no test files] 09:12:29 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 09:12:29 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 09:12:29 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 09:12:30 ok github.com/edgexfoundry/app-record-replay/internal/app 1.043s coverage: 88.0% of statements 09:12:40 ok github.com/edgexfoundry/app-record-replay/internal/application 9.610s coverage: 98.7% of statements 09:12:40 ok github.com/edgexfoundry/app-record-replay/internal/controller 1.099s coverage: 89.7% of statements 09:12:40 ok github.com/edgexfoundry/app-record-replay/internal/utils 1.040s coverage: 100.0% of statements 09:12:58 go vet ./... 09:13:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:13:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:13:01 ./bin/test-attribution-txt.sh [Pipeline] echo 09:13:01 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 09:13:02 + go mod tidy [Pipeline] } 09:13:02 $ docker stop --time=1 b852850983ca866433165b61c7a181d4f878da246a97d658678761d0663e5e60 09:13:06 $ docker rm -f --volumes b852850983ca866433165b61c7a181d4f878da246a97d658678761d0663e5e60 [Pipeline] // withDockerContainer [Pipeline] sh 09:13:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:13:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:13:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:13:08 + ls -al . 09:13:08 total 196 09:13:08 drwxrwxr-x 11 jenkins jenkins 4096 May 27 09:12 . 09:13:08 drwxrwxr-x 4 jenkins jenkins 4096 May 27 09:10 .. 09:13:08 -rw-rw-r-- 1 jenkins jenkins 119 May 27 09:10 .dockerignore 09:13:08 drwxrwxr-x 8 jenkins jenkins 4096 May 27 09:12 .git 09:13:08 drwxrwxr-x 3 jenkins jenkins 4096 May 27 09:10 .github 09:13:08 -rw-rw-r-- 1 jenkins jenkins 156 May 27 09:10 .gitignore 09:13:08 -rw-rw-r-- 1 jenkins jenkins 41 May 27 09:10 .golangci.yml 09:13:08 drwxr-xr-x 3 jenkins jenkins 4096 May 27 09:11 .semver 09:13:08 -rw-rw-r-- 1 jenkins jenkins 11320 May 27 09:10 Attribution.txt 09:13:08 -rw-rw-r-- 1 jenkins jenkins 458 May 27 09:10 CHANGELOG.md 09:13:08 -rw-rw-r-- 1 jenkins jenkins 1725 May 27 09:10 Dockerfile 09:13:08 -rw-rw-r-- 1 jenkins jenkins 677 May 27 09:10 GOVERNANCE.md 09:13:08 -rw-rw-r-- 1 jenkins jenkins 681 May 27 09:10 Jenkinsfile 09:13:08 -rw-rw-r-- 1 jenkins jenkins 10174 May 27 09:10 LICENSE 09:13:08 -rw-rw-r-- 1 jenkins jenkins 3136 May 27 09:10 Makefile 09:13:08 -rw-rw-r-- 1 jenkins jenkins 611 May 27 09:10 OWNERS.md 09:13:08 -rw-rw-r-- 1 jenkins jenkins 4107 May 27 09:10 README.md 09:13:08 -rw-rw-r-- 1 jenkins jenkins 7789 May 27 09:10 Record and Reply.postman_collection.json 09:13:08 -rw-rw-r-- 1 jenkins jenkins 5 May 27 09:11 VERSION 09:13:08 drwxrwxr-x 2 jenkins jenkins 4096 May 27 09:10 bin 09:13:08 -rw-r--r-- 1 jenkins jenkins 24666 May 27 09:12 coverage.out 09:13:08 -rw-rw-r-- 1 jenkins jenkins 3829 May 27 09:10 go.mod 09:13:08 -rw-rw-r-- 1 jenkins jenkins 34082 May 27 09:10 go.sum 09:13:08 drwxrwxr-x 7 jenkins jenkins 4096 May 27 09:10 internal 09:13:08 -rw-rw-r-- 1 jenkins jenkins 913 May 27 09:10 main.go 09:13:08 drwxrwxr-x 3 jenkins jenkins 4096 May 27 09:10 openapi 09:13:08 drwxrwxr-x 3 jenkins jenkins 4096 May 27 09:10 pkg 09:13:08 drwxrwxr-x 2 jenkins jenkins 4096 May 27 09:10 res 09:13:08 drwxrwxr-x 6 jenkins jenkins 4096 May 27 09:10 vendor [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:13:08 + docker build -t app-record-replay -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=165582aed703d65460be826d446d8007e7cd8af1 --label arch=amd64 --label version=0.0.0 . 09:13:08 Sending build context to Docker daemon 34.69MB 09:13:08 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 09:13:08 Step 2/27 : FROM ${BASE} AS builder 09:13:08 ---> 0f0bf047660e 09:13:08 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 09:13:09 ---> Running in 5b276b83261c 09:13:09 Removing intermediate container 5b276b83261c 09:13:09 ---> cba5eb35a678 09:13:09 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 09:13:09 ---> Running in 18c01d7f011c 09:13:09 Removing intermediate container 18c01d7f011c 09:13:09 ---> 9ae40c27f321 09:13:09 Step 5/27 : ARG ADD_BUILD_TAGS="" 09:13:09 ---> Running in 7dabc209b38d 09:13:09 Removing intermediate container 7dabc209b38d 09:13:09 ---> 4279e3b03b9c 09:13:09 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:13:09 ---> Running in d4cd9d1fc4d9 09:13:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:13:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:13:10 OK: 264 MiB in 52 packages 09:13:10 Removing intermediate container d4cd9d1fc4d9 09:13:10 ---> 323edd63bfcf 09:13:10 Step 7/27 : WORKDIR /app 09:13:10 ---> Running in 4bc9951a530d 09:13:10 Removing intermediate container 4bc9951a530d 09:13:10 ---> f0ba99248ecf 09:13:10 Step 8/27 : COPY go.mod vendor* ./ 09:13:12 ---> 220439924f5f 09:13:12 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:13:12 ---> Running in 6be051a05e75 09:13:12 skipping... 09:13:12 Removing intermediate container 6be051a05e75 09:13:12 ---> 1f51ad8c8f69 09:13:12 Step 10/27 : COPY . . 09:13:15 ---> 2d9492b8b1e8 09:13:15 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:13:15 ---> Running in 1a23b1bc68eb 09:13:15 Removing intermediate container 1a23b1bc68eb 09:13:15 ---> 45a7349b7953 09:13:15 Step 12/27 : RUN $MAKE 09:13:15 ---> Running in 7546b3398682 09:13:15 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.1 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 09:13:37 Removing intermediate container 7546b3398682 09:13:37 ---> 6bb6e7a6aa0c 09:13:37 Step 13/27 : FROM alpine:3.18 09:13:37 3.18: Pulling from library/alpine 09:13:37 619be1103602: Already exists 09:13:37 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 09:13:37 Status: Downloaded newer image for alpine:3.18 09:13:37 ---> d3782b16ccc9 09:13:37 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:13:37 ---> Running in 233b625be994 09:13:37 Removing intermediate container 233b625be994 09:13:37 ---> 15b1d8d6727c 09:13:37 Step 15/27 : LABEL Name=app-record-replay Version=${VERSION} 09:13:37 ---> Running in a1567cf037c2 09:13:37 Removing intermediate container a1567cf037c2 09:13:37 ---> da9571d880fa 09:13:37 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 09:13:37 ---> Running in 65f8d5acae34 09:13:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:13:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:13:38 (1/2) Installing ca-certificates (20240226-r0) 09:13:38 (2/2) Installing dumb-init (1.2.5-r2) 09:13:38 Executing busybox-1.36.1-r5.trigger 09:13:38 Executing ca-certificates-20240226-r0.trigger 09:13:38 OK: 8 MiB in 17 packages 09:13:39 Removing intermediate container 65f8d5acae34 09:13:39 ---> ad1aeb9560ed 09:13:39 Step 17/27 : RUN apk --no-cache upgrade 09:13:39 ---> Running in 1faf6412aa25 09:13:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:13:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:13:39 Upgrading critical system libraries and apk-tools: 09:13:39 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 09:13:39 Executing busybox-1.36.1-r5.trigger 09:13:39 Continuing the upgrade transaction with new apk-tools: 09:13:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:13:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:13:39 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) 09:13:39 Executing busybox-1.36.1-r6.post-upgrade 09:13:39 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) 09:13:39 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 09:13:39 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 09:13:40 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 09:13:40 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) 09:13:40 Executing busybox-1.36.1-r6.trigger 09:13:40 Executing ca-certificates-20240226-r0.trigger 09:13:40 OK: 8 MiB in 17 packages 09:13:41 Removing intermediate container 1faf6412aa25 09:13:41 ---> 60ad7bda793a 09:13:41 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 09:13:41 ---> 4f62d900b2e0 09:13:41 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 09:13:41 ---> 78f618aa1354 09:13:41 Step 20/27 : COPY --from=builder /app/res/ /res/ 09:13:41 ---> 264abf5dfd01 09:13:41 Step 21/27 : COPY --from=builder /app/app-record-replay /app-record-replay 09:13:43 ---> e0949aea5a72 09:13:43 Step 22/27 : EXPOSE 59712 09:13:43 ---> Running in fa083d93c5aa 09:13:43 Removing intermediate container fa083d93c5aa 09:13:43 ---> b832ef1c3039 09:13:43 Step 23/27 : ENTRYPOINT ["/app-record-replay"] 09:13:43 ---> Running in 20507ddbae19 09:13:43 Removing intermediate container 20507ddbae19 09:13:43 ---> d5695a7689f7 09:13:43 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 09:13:43 ---> Running in 1c47135e0d91 09:13:43 Removing intermediate container 1c47135e0d91 09:13:43 ---> e58286c0ee47 09:13:43 Step 25/27 : LABEL arch=amd64 09:13:43 ---> Running in 1302f02d6fe9 09:13:43 Removing intermediate container 1302f02d6fe9 09:13:43 ---> 85f67c5a6b74 09:13:43 Step 26/27 : LABEL git_sha=165582aed703d65460be826d446d8007e7cd8af1 09:13:43 ---> Running in 16289b37239b 09:13:43 Removing intermediate container 16289b37239b 09:13:43 ---> f09a31768a2b 09:13:43 Step 27/27 : LABEL version=0.0.0 09:13:43 ---> Running in fa4032c430ac 09:13:43 Removing intermediate container fa4032c430ac 09:13:43 ---> 0aafd93c9bfb 09:13:43 [Warning] One or more build-args [ARCH] were not consumed 09:13:43 Successfully built 0aafd93c9bfb 09:13:43 Successfully tagged app-record-replay:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:13:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:13:44 09:13:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:13:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:13:45 latest: Pulling from edgex-lftools-log-publisher 09:13:45 5eb5b503b376: Pulling fs layer 09:13:45 5c69ac0246d0: Pulling fs layer 09:13:45 ec43610c2a17: Pulling fs layer 09:13:45 3a2ae6a8a46f: Pulling fs layer 09:13:45 33b1e0a273af: Pulling fs layer 09:13:45 5d3b04190fa2: Pulling fs layer 09:13:45 2f39f015ded8: Pulling fs layer 09:13:45 3a2ae6a8a46f: Waiting 09:13:45 33b1e0a273af: Waiting 09:13:45 5d3b04190fa2: Waiting 09:13:45 2f39f015ded8: Waiting 09:13:45 5c69ac0246d0: Download complete 09:13:45 3a2ae6a8a46f: Verifying Checksum 09:13:45 3a2ae6a8a46f: Download complete 09:13:45 33b1e0a273af: Verifying Checksum 09:13:45 33b1e0a273af: Download complete 09:13:45 5d3b04190fa2: Verifying Checksum 09:13:45 5d3b04190fa2: Download complete 09:13:45 ec43610c2a17: Download complete 09:13:45 5eb5b503b376: Verifying Checksum 09:13:45 5eb5b503b376: Download complete 09:13:46 2f39f015ded8: Download complete 09:13:46 5eb5b503b376: Pull complete 09:13:47 5c69ac0246d0: Pull complete 09:13:47 ec43610c2a17: Pull complete 09:13:47 3a2ae6a8a46f: Pull complete 09:13:48 33b1e0a273af: Pull complete 09:13:48 5d3b04190fa2: Pull complete 09:13:52 2f39f015ded8: Pull complete 09:13:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:13:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:13:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:13:52 prd-ubuntu20.04-docker-8c-8g-834 does not seem to be running inside a container 09:13:52 $ 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-140 -v /w/workspace/foundry_app-record-replay_PR-140:/w/workspace/foundry_app-record-replay_PR-140:rw,z -v /w/workspace/foundry_app-record-replay_PR-140@tmp:/w/workspace/foundry_app-record-replay_PR-140@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:13:58 $ docker top f14f69d7979fb186f1a3cf802304fa690eae14476431a248fe0d1f3a4e00de42 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:13:59 ---> job-cost.sh 09:13:59 lf-activate-venv: SKIPPING 09:13:59 INFO: No Stack... 09:13:59 INFO: Retrieving Pricing Info for: v3-standard-8 09:14:00 INFO: Archiving Costs [Pipeline] sh 09:14:00 + cat /w/workspace/foundry_app-record-replay_PR-140/archives/cost.csv 09:14:00 + cut -d, -f6 [Pipeline] lock 09:14:00 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-record-replay-PR-140-1-stack-cost] 09:14:00 Resource [jenkins-edgexfoundry-app-record-replay-PR-140-1-stack-cost] did not exist. Created. 09:14:00 Lock acquired on [Resource: jenkins-edgexfoundry-app-record-replay-PR-140-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:14:00 + echo total: 0.2199999988079071 [Pipeline] stash 09:14:00 Stashed 1 file(s) [Pipeline] } 09:14:00 Lock released on resource [Resource: jenkins-edgexfoundry-app-record-replay-PR-140-1-stack-cost] [Pipeline] // lock [Pipeline] } 09:14:01 $ docker stop --time=1 f14f69d7979fb186f1a3cf802304fa690eae14476431a248fe0d1f3a4e00de42 09:14:02 $ docker rm -f --volumes f14f69d7979fb186f1a3cf802304fa690eae14476431a248fe0d1f3a4e00de42 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:15:15 Running on prd-ubuntu20.04-docker-arm64-4c-16g-835 in /w/workspace/foundry_app-record-replay_PR-140 [Pipeline] { [Pipeline] ws 09:15:16 Running in /w/workspace/app-record-replay/1 [Pipeline] { [Pipeline] checkout 09:15:19 Selected Git installation does not exist. Using Default 09:15:19 The recommended git tool is: NONE 09:15:24 using credential edgex-jenkins-ssh 09:15:24 Cloning the remote Git repository 09:15:24 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 09:15:24 > git init /w/workspace/app-record-replay/1 # timeout=10 09:15:24 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 09:15:24 > git --version # timeout=10 09:15:24 > git --version # 'git version 2.25.1' 09:15:24 using GIT_SSH to set credentials SSH Credentials for GitHub 09:15:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:15:26 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 09:15:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:15:27 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 09:15:27 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 09:15:27 using GIT_SSH to set credentials SSH Credentials for GitHub 09:15:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/140/head:refs/remotes/origin/PR-140 +refs/heads/napa:refs/remotes/origin/napa # timeout=10 09:15:28 Merging remotes/origin/napa commit b51154c725b31c6aeb2609dc377731a158de3e91 into PR head commit 165582aed703d65460be826d446d8007e7cd8af1 09:15:28 > git config core.sparsecheckout # timeout=10 09:15:28 > git checkout -f 165582aed703d65460be826d446d8007e7cd8af1 # timeout=10 09:15:29 Merge succeeded, producing 165582aed703d65460be826d446d8007e7cd8af1 09:15:29 Checking out Revision 165582aed703d65460be826d446d8007e7cd8af1 (PR-140) 09:15:29 > git remote # timeout=10 09:15:29 > git config --get remote.origin.url # timeout=10 09:15:29 using GIT_SSH to set credentials SSH Credentials for GitHub 09:15:29 > git merge b51154c725b31c6aeb2609dc377731a158de3e91 # timeout=10 09:15:29 > git rev-parse HEAD^{commit} # timeout=10 09:15:29 > git config core.sparsecheckout # timeout=10 09:15:29 > git checkout -f 165582aed703d65460be826d446d8007e7cd8af1 # timeout=10 09:15:31 Commit message: "build: Bump SDK to v3.1.1" 09:15:31 > git --version # timeout=10 09:15:31 > git --version # 'git version 2.25.1' 09:15:31 fatal: bad object f5e0e1f8358a839901f1a476b3a28a62f8570917 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:15:36 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:15:36 % Total % Received % Xferd Average Speed Time Time Time Current 09:15:36 Dload Upload Total Spent Left Speed 09:15:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 97181 0 --:--:-- --:--:-- --:--:-- 97181 [Pipeline] sh 09:15:36 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:15:37 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:15:37 + sudo tee /etc/docker/daemon.new 09:15:37 { 09:15:37 "registry-mirrors": [ 09:15:37 "https://nexus3.edgexfoundry.org:10001" 09:15:37 ], 09:15:37 "bip": "10.250.0.254/24", 09:15:37 "hosts": [ 09:15:37 "tcp://0.0.0.0:5555", 09:15:37 "unix:///var/run/docker.sock" 09:15:37 ], 09:15:37 "mtu": 1458, 09:15:37 "selinux-enabled": true, 09:15:37 "seccomp-profile": "/etc/docker/seccomp.json" 09:15:37 } [Pipeline] sh 09:15:37 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:15:37 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:15:56 provisioning config files... 09:15:56 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/1@tmp/config5761214379425585270tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:15:56 ---> ****-login.sh 09:15:56 nexus3.edgexfoundry.org:10001 09:15:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:15:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:15:57 Configure a credential helper to remove this warning. See 09:15:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:15:57 09:15:57 Login Succeeded 09:15:57 nexus3.edgexfoundry.org:10002 09:15:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:15:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:15:57 Configure a credential helper to remove this warning. See 09:15:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:15:57 09:15:57 Login Succeeded 09:15:57 nexus3.edgexfoundry.org:10003 09:15:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:15:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:15:58 Configure a credential helper to remove this warning. See 09:15:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:15:58 09:15:58 Login Succeeded 09:15:58 nexus3.edgexfoundry.org:10004 09:15:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:15:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:15:58 Configure a credential helper to remove this warning. See 09:15:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:15:58 09:15:58 Login Succeeded 09:15:58 ****.io 09:15:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:15:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:15:59 Configure a credential helper to remove this warning. See 09:15:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:15:59 09:15:59 Login Succeeded 09:15:59 ---> ****-login.sh ends [Pipeline] } 09:15:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:15:59 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh 09:16:00 + cut -d -f 2 09:16:00 + grep ^go [0-9].[0-9]* go.mod [Pipeline] echo 09:16:00 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:16:00 ========================================================= 09:16:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts] 09:16:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:16:00 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . 09:16:03 Sending build context to Docker daemon 28.15MB 09:16:03 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 09:16:03 Step 2/12 : FROM ${BASE} AS builder 09:16:03 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 09:16:03 c6b39de5b339: Pulling fs layer 09:16:03 a69c41024577: Pulling fs layer 09:16:03 d6de4b400683: Pulling fs layer 09:16:03 35cb2a7552d0: Pulling fs layer 09:16:03 4f4fb700ef54: Pulling fs layer 09:16:03 9e011611b7f5: Pulling fs layer 09:16:03 3bd174042beb: Pulling fs layer 09:16:03 4476f39b5e91: Pulling fs layer 09:16:03 4f4fb700ef54: Waiting 09:16:03 9e011611b7f5: Waiting 09:16:03 3bd174042beb: Waiting 09:16:03 a69c41024577: Download complete 09:16:03 35cb2a7552d0: Verifying Checksum 09:16:03 35cb2a7552d0: Download complete 09:16:03 4f4fb700ef54: Verifying Checksum 09:16:03 4f4fb700ef54: Download complete 09:16:03 9e011611b7f5: Download complete 09:16:03 c6b39de5b339: Verifying Checksum 09:16:03 c6b39de5b339: Download complete 09:16:03 4476f39b5e91: Verifying Checksum 09:16:03 4476f39b5e91: Download complete 09:16:04 c6b39de5b339: Pull complete 09:16:04 a69c41024577: Pull complete 09:16:05 d6de4b400683: Verifying Checksum 09:16:05 d6de4b400683: Download complete 09:16:06 3bd174042beb: Verifying Checksum 09:16:06 3bd174042beb: Download complete 09:16:18 d6de4b400683: Pull complete 09:16:18 35cb2a7552d0: Pull complete 09:16:18 4f4fb700ef54: Pull complete 09:16:18 9e011611b7f5: Pull complete 09:16:28 3bd174042beb: Pull complete 09:16:28 4476f39b5e91: Pull complete 09:16:28 Digest: sha256:3ff92c4bac7a686c9bee1a691493ca45b01f27f0008dd3b8e347e1ca93528f02 09:16:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts 09:16:28 ---> 981a0608b64a 09:16:28 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 09:16:30 ---> Running in b52b2c9bbe87 09:16:31 Removing intermediate container b52b2c9bbe87 09:16:31 ---> a167ac4c137c 09:16:31 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 09:16:31 ---> Running in e082f24ad30a 09:16:31 Removing intermediate container e082f24ad30a 09:16:31 ---> 601bc198c5d1 09:16:31 Step 5/12 : ARG ADD_BUILD_TAGS="" 09:16:31 ---> Running in 2a4c5a13654f 09:16:31 Removing intermediate container 2a4c5a13654f 09:16:31 ---> 91ef425d06c8 09:16:31 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:16:31 ---> Running in 49741d1b7e82 09:16:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:16:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:16:34 OK: 266 MiB in 52 packages 09:16:35 Removing intermediate container 49741d1b7e82 09:16:35 ---> 39973494f245 09:16:35 Step 7/12 : WORKDIR /app 09:16:35 ---> Running in b3d20ece9255 09:16:35 Removing intermediate container b3d20ece9255 09:16:35 ---> 7b6d26def5ce 09:16:35 Step 8/12 : COPY go.mod vendor* ./ 09:16:42 ---> 053b14300503 09:16:42 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:16:42 ---> Running in 27c924c51aa8 09:17:38 Removing intermediate container 27c924c51aa8 09:17:38 ---> 91aae23f6b1d 09:17:38 Step 10/12 : COPY . . 09:17:43 ---> 7e02abfcde3a 09:17:43 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:17:43 ---> Running in cb3cde618f8a 09:17:43 Removing intermediate container cb3cde618f8a 09:17:43 ---> 6f086a31fb7b 09:17:43 Step 12/12 : RUN $MAKE 09:17:43 ---> Running in 8a09a3976791 09:17:44 noop 09:17:45 Removing intermediate container 8a09a3976791 09:17:45 ---> f030013e1ebf 09:17:45 Successfully built f030013e1ebf 09:17:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:17:46 + docker inspect -f . ci-base-image-arm64 09:17:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:17:46 prd-ubuntu20.04-docker-arm64-4c-16g-835 does not seem to be running inside a container 09:17:46 $ 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 ******** ci-base-image-arm64 cat 09:17:47 $ docker top fc40cdafd905a8b6efd90c00e87d914e894544d9b405fdaeb50cf1e207815469 -eo pid,comm [Pipeline] { [Pipeline] sh 09:17:48 + go version 09:17:48 go version go1.21.9 linux/arm64 [Pipeline] } 09:17:48 $ docker stop --time=1 fc40cdafd905a8b6efd90c00e87d914e894544d9b405fdaeb50cf1e207815469 09:17:50 $ docker rm -f --volumes fc40cdafd905a8b6efd90c00e87d914e894544d9b405fdaeb50cf1e207815469 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:17:51 + docker inspect -f . ci-base-image-arm64 09:17:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:17:51 prd-ubuntu20.04-docker-arm64-4c-16g-835 does not seem to be running inside a container 09:17:51 $ 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 ******** ci-base-image-arm64 cat 09:17:53 $ docker top a8e15124f9424069aaeb96a6c4042020a9995602af4c0319f8752f5a18ca08d6 -eo pid,comm [Pipeline] { [Pipeline] sh 09:17:54 + git config --global --add safe.directory /w/workspace/app-record-replay/1 [Pipeline] fileExists [Pipeline] sh 09:17:54 + make test 09:17:54 go test -race -coverprofile=coverage.out ./... 09:20:31 ? github.com/edgexfoundry/app-record-replay [no test files] 09:20:34 ok github.com/edgexfoundry/app-record-replay/internal/app 1.233s coverage: 88.0% of statements 09:20:39 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 09:20:39 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 09:20:40 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 09:20:45 ok github.com/edgexfoundry/app-record-replay/internal/application 9.965s coverage: 98.7% of statements 09:20:45 ok github.com/edgexfoundry/app-record-replay/internal/controller 1.476s coverage: 89.7% of statements 09:20:45 ok github.com/edgexfoundry/app-record-replay/internal/utils 1.170s coverage: 100.0% of statements 09:20:46 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:20:46 go vet ./... 09:23:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:23:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:23:08 ./bin/test-attribution-txt.sh [Pipeline] echo 09:23:08 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 09:23:09 + go mod tidy [Pipeline] } 09:23:12 $ docker stop --time=1 a8e15124f9424069aaeb96a6c4042020a9995602af4c0319f8752f5a18ca08d6 09:23:14 $ docker rm -f --volumes a8e15124f9424069aaeb96a6c4042020a9995602af4c0319f8752f5a18ca08d6 [Pipeline] // withDockerContainer [Pipeline] sh 09:23:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:23:16 Warning: overwriting stash ‘coverage-report’ 09:23:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:23:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:23:18 + ls -al . 09:23:18 total 192 09:23:18 drwxrwxr-x 10 jenkins jenkins 4096 May 27 09:17 . 09:23:18 drwxrwxr-x 4 jenkins jenkins 4096 May 27 09:15 .. 09:23:18 -rw-rw-r-- 1 jenkins jenkins 119 May 27 09:15 .dockerignore 09:23:18 drwxrwxr-x 8 jenkins jenkins 4096 May 27 09:15 .git 09:23:18 drwxrwxr-x 3 jenkins jenkins 4096 May 27 09:15 .github 09:23:18 -rw-rw-r-- 1 jenkins jenkins 156 May 27 09:15 .gitignore 09:23:18 -rw-rw-r-- 1 jenkins jenkins 41 May 27 09:15 .golangci.yml 09:23:18 -rw-rw-r-- 1 jenkins jenkins 11320 May 27 09:15 Attribution.txt 09:23:18 -rw-rw-r-- 1 jenkins jenkins 458 May 27 09:15 CHANGELOG.md 09:23:18 -rw-rw-r-- 1 jenkins jenkins 1725 May 27 09:15 Dockerfile 09:23:18 -rw-rw-r-- 1 jenkins jenkins 677 May 27 09:15 GOVERNANCE.md 09:23:18 -rw-rw-r-- 1 jenkins jenkins 681 May 27 09:15 Jenkinsfile 09:23:18 -rw-rw-r-- 1 jenkins jenkins 10174 May 27 09:15 LICENSE 09:23:18 -rw-rw-r-- 1 jenkins jenkins 3136 May 27 09:15 Makefile 09:23:18 -rw-rw-r-- 1 jenkins jenkins 611 May 27 09:15 OWNERS.md 09:23:18 -rw-rw-r-- 1 jenkins jenkins 4107 May 27 09:15 README.md 09:23:18 -rw-rw-r-- 1 jenkins jenkins 7789 May 27 09:15 Record and Reply.postman_collection.json 09:23:18 -rw-rw-r-- 1 jenkins jenkins 5 May 27 09:11 VERSION 09:23:18 drwxrwxr-x 2 jenkins jenkins 4096 May 27 09:15 bin 09:23:18 -rw-r--r-- 1 jenkins jenkins 24666 May 27 09:20 coverage.out 09:23:18 -rw-rw-r-- 1 jenkins jenkins 3829 May 27 09:15 go.mod 09:23:18 -rw-rw-r-- 1 jenkins jenkins 34082 May 27 09:15 go.sum 09:23:18 drwxrwxr-x 7 jenkins jenkins 4096 May 27 09:15 internal 09:23:18 -rw-rw-r-- 1 jenkins jenkins 913 May 27 09:15 main.go 09:23:18 drwxrwxr-x 3 jenkins jenkins 4096 May 27 09:15 openapi 09:23:18 drwxrwxr-x 3 jenkins jenkins 4096 May 27 09:15 pkg 09:23:18 drwxrwxr-x 2 jenkins jenkins 4096 May 27 09:15 res 09:23:18 drwxrwxr-x 6 jenkins jenkins 4096 May 27 09:15 vendor [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:23:18 + 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=165582aed703d65460be826d446d8007e7cd8af1 --label arch=arm64 --label version=0.0.0 . 09:23:20 Sending build context to Docker daemon 28.17MB 09:23:21 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 09:23:21 Step 2/27 : FROM ${BASE} AS builder 09:23:21 ---> f030013e1ebf 09:23:21 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 09:23:21 ---> Running in fc37a6888b51 09:23:21 Removing intermediate container fc37a6888b51 09:23:21 ---> c4db820f51e1 09:23:21 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 09:23:21 ---> Running in 28713403c133 09:23:21 Removing intermediate container 28713403c133 09:23:21 ---> 341e3c4824cc 09:23:21 Step 5/27 : ARG ADD_BUILD_TAGS="" 09:23:21 ---> Running in d0d252ca69f5 09:23:22 Removing intermediate container d0d252ca69f5 09:23:22 ---> 312e6f6b49fc 09:23:22 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:23:22 ---> Running in f2475c28fe43 09:23:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:23:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:23:24 OK: 266 MiB in 52 packages 09:23:25 Removing intermediate container f2475c28fe43 09:23:25 ---> 52a351ed57d0 09:23:25 Step 7/27 : WORKDIR /app 09:23:25 ---> Running in 25554171683c 09:23:25 Removing intermediate container 25554171683c 09:23:25 ---> 3de1c58f5289 09:23:25 Step 8/27 : COPY go.mod vendor* ./ 09:23:33 ---> 56102924bf68 09:23:33 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:23:33 ---> Running in 52f7dcfcf949 09:23:33 skipping... 09:23:34 Removing intermediate container 52f7dcfcf949 09:23:34 ---> 77741b1d9e71 09:23:34 Step 10/27 : COPY . . 09:23:41 ---> 7f9f52287e77 09:23:41 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:23:41 ---> Running in 68efc1121c72 09:23:41 Removing intermediate container 68efc1121c72 09:23:41 ---> 0716ce11513a 09:23:41 Step 12/27 : RUN $MAKE 09:23:41 ---> Running in 70fbcc0c3210 09:23:42 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.1 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 09:26:04 Removing intermediate container 70fbcc0c3210 09:26:04 ---> 3cc9dbf0c11b 09:26:04 Step 13/27 : FROM alpine:3.18 09:26:04 3.18: Pulling from library/alpine 09:26:04 c6b39de5b339: Already exists 09:26:04 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 09:26:04 Status: Downloaded newer image for alpine:3.18 09:26:04 ---> 33abbf032149 09:26:04 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:26:04 ---> Running in 6a4f45c67d52 09:26:04 Removing intermediate container 6a4f45c67d52 09:26:04 ---> 7a169777cd88 09:26:04 Step 15/27 : LABEL Name=app-record-replay Version=${VERSION} 09:26:04 ---> Running in f26f2aa215a8 09:26:04 Removing intermediate container f26f2aa215a8 09:26:04 ---> c0daac71f8ab 09:26:04 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 09:26:04 ---> Running in 942181b3fad3 09:26:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:26:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:26:04 (1/2) Installing ca-certificates (20240226-r0) 09:26:04 (2/2) Installing dumb-init (1.2.5-r2) 09:26:04 Executing busybox-1.36.1-r5.trigger 09:26:04 Executing ca-certificates-20240226-r0.trigger 09:26:04 OK: 9 MiB in 17 packages 09:26:04 Removing intermediate container 942181b3fad3 09:26:04 ---> 42b466c18bd7 09:26:04 Step 17/27 : RUN apk --no-cache upgrade 09:26:04 ---> Running in 0e94dbf3bc21 09:26:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:26:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:26:04 Upgrading critical system libraries and apk-tools: 09:26:04 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 09:26:04 Executing busybox-1.36.1-r5.trigger 09:26:04 Continuing the upgrade transaction with new apk-tools: 09:26:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:26:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:26:04 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) 09:26:04 Executing busybox-1.36.1-r6.post-upgrade 09:26:04 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) 09:26:04 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 09:26:04 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 09:26:04 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 09:26:04 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) 09:26:04 Executing busybox-1.36.1-r6.trigger 09:26:04 Executing ca-certificates-20240226-r0.trigger 09:26:04 OK: 9 MiB in 17 packages 09:26:04 Removing intermediate container 0e94dbf3bc21 09:26:04 ---> 82e1e9dd27a9 09:26:04 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 09:26:04 ---> 54eaa4201cf2 09:26:04 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 09:26:04 ---> 29044281c892 09:26:04 Step 20/27 : COPY --from=builder /app/res/ /res/ 09:26:04 ---> 80065d57346a 09:26:04 Step 21/27 : COPY --from=builder /app/app-record-replay /app-record-replay 09:26:04 ---> 55b51f9356a4 09:26:04 Step 22/27 : EXPOSE 59712 09:26:04 ---> Running in 466e242780f9 09:26:04 Removing intermediate container 466e242780f9 09:26:04 ---> ac38489a8fed 09:26:04 Step 23/27 : ENTRYPOINT ["/app-record-replay"] 09:26:04 ---> Running in b1086aca2d54 09:26:04 Removing intermediate container b1086aca2d54 09:26:04 ---> 74b07f19d8c7 09:26:04 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 09:26:04 ---> Running in 48eb886d83cb 09:26:05 Removing intermediate container 48eb886d83cb 09:26:05 ---> c0f47b2e52ef 09:26:05 Step 25/27 : LABEL arch=arm64 09:26:05 ---> Running in ff9635e372d9 09:26:05 Removing intermediate container ff9635e372d9 09:26:05 ---> cfdacf3a42c8 09:26:05 Step 26/27 : LABEL git_sha=165582aed703d65460be826d446d8007e7cd8af1 09:26:05 ---> Running in f0d4480c8e6a 09:26:06 Removing intermediate container f0d4480c8e6a 09:26:06 ---> caa6382b2cd6 09:26:06 Step 27/27 : LABEL version=0.0.0 09:26:06 ---> Running in 5f2bb7b62224 09:26:06 Removing intermediate container 5f2bb7b62224 09:26:06 ---> 89a7e0904888 09:26:06 [Warning] One or more build-args [ARCH] were not consumed 09:26:06 Successfully built 89a7e0904888 09:26:06 Successfully tagged app-record-replay-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:26:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:26:07 09:26:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:26:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:26:08 arm64: Pulling from edgex-lftools-log-publisher 09:26:08 8998bd30e6a1: Pulling fs layer 09:26:08 04944245beec: Pulling fs layer 09:26:08 699f458cf7ca: Pulling fs layer 09:26:08 765212b225bb: Pulling fs layer 09:26:08 f23df028b6ca: Pulling fs layer 09:26:08 d65c8cfc05b1: Pulling fs layer 09:26:08 2437ff75d9bd: Pulling fs layer 09:26:08 f23df028b6ca: Waiting 09:26:08 d65c8cfc05b1: Waiting 09:26:08 2437ff75d9bd: Waiting 09:26:08 765212b225bb: Waiting 09:26:08 04944245beec: Verifying Checksum 09:26:08 04944245beec: Download complete 09:26:08 765212b225bb: Verifying Checksum 09:26:08 765212b225bb: Download complete 09:26:08 f23df028b6ca: Verifying Checksum 09:26:08 f23df028b6ca: Download complete 09:26:08 d65c8cfc05b1: Verifying Checksum 09:26:08 d65c8cfc05b1: Download complete 09:26:08 699f458cf7ca: Verifying Checksum 09:26:08 699f458cf7ca: Download complete 09:26:09 8998bd30e6a1: Download complete 09:26:11 2437ff75d9bd: Verifying Checksum 09:26:11 2437ff75d9bd: Download complete 09:26:13 8998bd30e6a1: Pull complete 09:26:14 04944245beec: Pull complete 09:26:15 699f458cf7ca: Pull complete 09:26:16 765212b225bb: Pull complete 09:26:17 f23df028b6ca: Pull complete 09:26:17 d65c8cfc05b1: Pull complete 09:26:35 2437ff75d9bd: Pull complete 09:26:35 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:26:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:26:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:26:35 prd-ubuntu20.04-docker-arm64-4c-16g-835 does not seem to be running inside a container 09:26:35 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:26:38 $ docker top fd081a5b5693443163b7a10b97b5d54105887a73e4075941e7cd1325d22ac581 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:26:39 ---> job-cost.sh 09:26:39 lf-activate-venv: SKIPPING 09:26:39 INFO: No Stack... 09:26:40 INFO: Retrieving Pricing Info for: v3-standard-4 09:26:40 INFO: Archiving Costs [Pipeline] sh 09:26:41 + cat /w/workspace/app-record-replay/1/archives/cost.csv 09:26:41 + cut -d, -f6 [Pipeline] lock 09:26:41 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-record-replay-PR-140-1-stack-cost] 09:26:41 Resource [jenkins-edgexfoundry-app-record-replay-PR-140-1-stack-cost] did not exist. Created. 09:26:41 Lock acquired on [Resource: jenkins-edgexfoundry-app-record-replay-PR-140-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:26:42 /w/workspace/app-record-replay/1@tmp/durable-695f33c3/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:26:42 + echo total: 0.10999999940395355 [Pipeline] stash 09:26:42 Warning: overwriting stash ‘stack-cost’ 09:26:43 Stashed 1 file(s) [Pipeline] } 09:26:43 Lock released on resource [Resource: jenkins-edgexfoundry-app-record-replay-PR-140-1-stack-cost] [Pipeline] // lock [Pipeline] } 09:26:43 $ docker stop --time=1 fd081a5b5693443163b7a10b97b5d54105887a73e4075941e7cd1325d22ac581 09:26:45 $ docker rm -f --volumes fd081a5b5693443163b7a10b97b5d54105887a73e4075941e7cd1325d22ac581 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 09:26:46 provisioning config files... 09:26:46 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/foundry_app-record-replay_PR-140@tmp/config1458517154608335554tmp [Pipeline] { [Pipeline] sh 09:26:46 + set +x 09:26:46 + curl -s https://codecov.io/bash 09:26:46 + bash -s -- 09:26:46 09:26:46 _____ _ 09:26:46 / ____| | | 09:26:46 | | ___ __| | ___ ___ _____ __ 09:26:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:26:46 | |___| (_) | (_| | __/ (_| (_) \ V / 09:26:46 \_____\___/ \__,_|\___|\___\___/ \_/ 09:26:46 Bash-1.0.6 09:26:46 09:26:46 09:26:46 ==> git version 2.25.1 found 09:26:46 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 09:26:46 Release-Date: 2020-01-08 09:26:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:26:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:26:46 ==> Jenkins CI detected. 09:26:46 current dir:  /w/workspace/foundry_app-record-replay_PR-140 09:26:46 project root: . 09:26:46 --> token set from env 09:26:46 Yaml found at: vendor/github.com/diegoholiveira/jsonlogic/v3/codecov.yml 09:26:46 ==> Running gcov in . (disable via -X gcov) 09:26:46 ==> Python coveragepy not found 09:26:46 ==> Searching for coverage reports in: 09:26:46 + . 09:26:46 -> Found 1 reports 09:26:46 ==> Detecting git/mercurial file structure 09:26:46 ==> Reading reports 09:26:46 + ./coverage.out bytes=24666 09:26:46 ==> Appending adjustments 09:26:46 https://docs.codecov.io/docs/fixing-reports 09:26:46 + Found adjustments 09:26:46 ==> Gzipping contents 09:26:46 20K /tmp/codecov.Mvxgoe.gz 09:26:46 ==> Uploading reports 09:26:46 url: https://codecov.io 09:26:46 query: branch=PR-140&commit=165582aed703d65460be826d446d8007e7cd8af1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-140%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=140&job=&cmd_args= 09:26:46 -> Pinging Codecov 09:26:46 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-140&commit=165582aed703d65460be826d446d8007e7cd8af1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-140%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=140&job=&cmd_args= 09:26:47 -> Uploading to 09:26:47 https://storage.googleapis.com/codecov/v4/raw/2024-05-27/F467761B9912B4F32F9BC62907045C81/165582aed703d65460be826d446d8007e7cd8af1/cfe643b5-d357-4a98-8069-34bc30415d5e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240527%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240527T092646Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7613fea9aad6dd8546ecc4e37ea4f6efd2e096f01cde5b8c598f1bd7fea223f0 09:26:47 % Total % Received % Xferd Average Speed Time Time Time Current 09:26:47 Dload Upload Total Spent Left Speed 09:26:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17080 0 0 100 17080 0 83725 --:--:-- --:--:-- --:--:-- 83317 100 17080 0 0 100 17080 0 70871 --:--:-- --:--:-- --:--:-- 70578 09:26:47 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-record-replay/commit/165582aed703d65460be826d446d8007e7cd8af1 [Pipeline] } 09:26:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 09:26:49 + [ -d /w/workspace/foundry_app-record-replay_PR-140/archives ] 09:26:49 + ls -al /w/workspace/foundry_app-record-replay_PR-140/archives 09:26:49 total 16 09:26:49 drwxr-xr-x 3 root root 4096 May 27 09:13 . 09:26:49 drwxrwxr-x 12 jenkins jenkins 4096 May 27 09:14 .. 09:26:49 drwxr-xr-x 2 root root 4096 May 27 09:13 cost 09:26:49 -rw-r--r-- 1 root root 89 May 27 09:13 cost.csv 09:26:49 + sudo chown -R jenkins:jenkins /w/workspace/foundry_app-record-replay_PR-140/archives 09:26:49 + ls -al /w/workspace/foundry_app-record-replay_PR-140/archives 09:26:49 total 16 09:26:49 drwxr-xr-x 3 jenkins jenkins 4096 May 27 09:13 . 09:26:49 drwxrwxr-x 12 jenkins jenkins 4096 May 27 09:14 .. 09:26:49 drwxr-xr-x 2 jenkins jenkins 4096 May 27 09:13 cost 09:26:49 -rw-r--r-- 1 jenkins jenkins 89 May 27 09:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:26:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:26:50 ---> package-listing.sh 09:26:50 ++ facter osfamily 09:26:50 ++ tr '[:upper:]' '[:lower:]' 09:26:51 + OS_FAMILY=debian 09:26:51 + workspace=/w/workspace/foundry_app-record-replay_PR-140 09:26:51 + START_PACKAGES=/tmp/packages_start.txt 09:26:51 + END_PACKAGES=/tmp/packages_end.txt 09:26:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:26:51 + PACKAGES=/tmp/packages_start.txt 09:26:51 + '[' /w/workspace/foundry_app-record-replay_PR-140 ']' 09:26:51 + PACKAGES=/tmp/packages_end.txt 09:26:51 + case "${OS_FAMILY}" in 09:26:51 + dpkg -l 09:26:51 + grep '^ii' 09:26:51 + '[' -f /tmp/packages_start.txt ']' 09:26:51 + '[' -f /tmp/packages_end.txt ']' 09:26:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:26:51 + '[' /w/workspace/foundry_app-record-replay_PR-140 ']' 09:26:51 + mkdir -p /w/workspace/foundry_app-record-replay_PR-140/archives/ 09:26:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_app-record-replay_PR-140/archives/ [Pipeline] echo 09:26:51 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-140/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:26:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:26:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:26:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:26:52 prd-ubuntu20.04-docker-8c-8g-834 does not seem to be running inside a container 09:26:52 $ 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-140/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-140 -v /w/workspace/foundry_app-record-replay_PR-140:/w/workspace/foundry_app-record-replay_PR-140:rw,z -v /w/workspace/foundry_app-record-replay_PR-140@tmp:/w/workspace/foundry_app-record-replay_PR-140@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:26:52 $ docker top 193613d4c46d583af85ca5d5aca92b00202da7d6fce4b62ae004a5278607ac8b -eo pid,comm [Pipeline] { [Pipeline] sh 09:26:53 + touch /tmp/pre-build-complete [Pipeline] sh 09:26:53 + mkdir -p /var/log/sysstat [Pipeline] sh 09:26:53 + ls /var/log/sa-host 09:26:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:26:53 provisioning config files... 09:26:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_app-record-replay_PR-140@tmp/config2456860687824572147tmp [Pipeline] { [Pipeline] echo 09:26:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:26:54 ---> create-netrc.sh [Pipeline] } 09:26:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:26:54 ---> python-tools-install.sh [Pipeline] echo 09:26:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:26:55 ---> sudo-logs.sh 09:26:55 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:26:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:26:55 ---> job-cost.sh 09:26:55 lf-activate-venv: SKIPPING 09:26:55 DEBUG: total: 0.2199999988079071 09:26:55 INFO: Retrieving Stack Cost... 09:26:56 INFO: Retrieving Pricing Info for: v3-standard-8 09:26:56 INFO: Archiving Costs [Pipeline] echo 09:26:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:26:56 ---> logs-deploy.sh 09:26:56 lf-activate-venv: SKIPPING 09:26:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-140/1 09:26:56 INFO: archiving workspace using pattern(s): 09:26:57 Archives upload complete. 09:26:57 INFO: archiving logs to Nexus