Pull request #24 updated 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 marcpfuller for edgexfoundry/app-record-replay Loading trusted files from base branch main at 047236f56ce2e90b3717e3891727cd37ccf4463d rather than e300506309d141a9ae6a933d98b93c6273e8a025 Obtained Jenkinsfile from 047236f56ce2e90b3717e3891727cd37ccf4463d 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-ssh13656603602682791990.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh4235228132888192127.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-24/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-24/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15059320971961523551.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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 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-ssh1797995478332240222.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-24/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-24/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14351766244753611974.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-record-replay DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-55’ is offline Running on prd-ubuntu20.04-docker-8c-8g-57 in /w/workspace/xfoundry_app-record-replay_PR-24 [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/xfoundry_app-record-replay_PR-24 # 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/24/head:refs/remotes/origin/PR-24 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 047236f56ce2e90b3717e3891727cd37ccf4463d into PR head commit e300506309d141a9ae6a933d98b93c6273e8a025 Merge succeeded, producing 9bd0765fa4d572264101b663823e3a283631aa3d Checking out Revision 9bd0765fa4d572264101b663823e3a283631aa3d (PR-24) > git config core.sparsecheckout # timeout=10 > git checkout -f e300506309d141a9ae6a933d98b93c6273e8a025 # 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 047236f56ce2e90b3717e3891727cd37ccf4463d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9bd0765fa4d572264101b663823e3a283631aa3d # timeout=10 Commit message: "Merge commit '047236f56ce2e90b3717e3891727cd37ccf4463d' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 1f298652509700724c469dce89099a0ffd204a3e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:48:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:48:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:48:17 ========================================================= 18:48:17 EdgeX Global Pipelines Version Info 18:48:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:48:18 ------------------- 18:48:18 stable info: 18:48:18 ------------------- 18:48:18 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:48:18 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 18:48:18 Message: update stable to v1.0.250 18:48:19 ------------------- 18:48:19 experimental info: 18:48:19 ------------------- 18:48:19 Commited By: **** collab-it+edgex@linuxfoundation.org 18:48:19 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 18:48:19 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:48:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 18:48:19 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 18:48:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:48:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:48:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:48:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 18:48:19 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:48:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:48:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:48:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:48:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:48:19 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 18:48:19 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:48:19 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:48:19 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:48:19 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:48:19 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:48:19 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:48:19 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:48:19 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:48:19 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:48:19 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:48:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:48:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:48:19 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:48:19 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:48:19 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:48:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-24 [Pipeline] echo 18:48:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-24 [Pipeline] echo 18:48:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-24 [Pipeline] echo 18:48:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9bd0765fa4d572264101b663823e3a283631aa3d [Pipeline] echo 18:48:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9bd0765 [Pipeline] echo 18:48:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:48:19 provisioning config files... 18:48:19 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-24@tmp/config14987150991053348178tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:48:20 ---> docker-login.sh 18:48:20 nexus3.edgexfoundry.org:10001 18:48:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:20 Configure a credential helper to remove this warning. See 18:48:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:20 18:48:20 Login Succeeded 18:48:20 nexus3.edgexfoundry.org:10002 18:48:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:20 Configure a credential helper to remove this warning. See 18:48:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:20 18:48:20 Login Succeeded 18:48:20 nexus3.edgexfoundry.org:10003 18:48:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:20 Configure a credential helper to remove this warning. See 18:48:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:20 18:48:20 Login Succeeded 18:48:20 nexus3.edgexfoundry.org:10004 18:48:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:20 Configure a credential helper to remove this warning. See 18:48:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:20 18:48:20 Login Succeeded 18:48:20 docker.io 18:48:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:21 Configure a credential helper to remove this warning. See 18:48:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:21 18:48:21 Login Succeeded 18:48:21 ---> docker-login.sh ends [Pipeline] } 18:48:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:48:21 + git rev-list -1 --merges 9bd0765fa4d572264101b663823e3a283631aa3d~1..9bd0765fa4d572264101b663823e3a283631aa3d [Pipeline] echo 18:48:21 -----------> git rev-list -1 --merges 9bd0765fa4d572264101b663823e3a283631aa3d~1..9bd0765fa4d572264101b663823e3a283631aa3d 9bd0765fa4d572264101b663823e3a283631aa3d 18:48:21 9bd0765fa4d572264101b663823e3a283631aa3d [false] [Pipeline] sh 18:48:21 + git log --format=format:%s -1 9bd0765fa4d572264101b663823e3a283631aa3d [Pipeline] echo 18:48:21 ========================================================= 18:48:21 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:48:21 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:48:22 + git log --format=format:%s -1 9bd0765fa4d572264101b663823e3a283631aa3d [Pipeline] echo 18:48:22 [semverPrep] GIT_COMMIT: 9bd0765fa4d572264101b663823e3a283631aa3d, Commit Message: Merge commit '047236f56ce2e90b3717e3891727cd37ccf4463d' into HEAD [Pipeline] echo 18:48:22 [semverPrep] This is not a build commit. [Pipeline] sh 18:48:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:48:22 + grep -v github /etc/ssh/ssh_known_hosts 18:48:22 + [ -e /tmp/ssh_known_hosts ] 18:48:22 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:48:22 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:48:22 + sudo tee -a /etc/ssh/ssh_known_hosts 18:48:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:48:22 18:48:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:48:23 0.1.4: Pulling from edgex-devops/py-git-semver 18:48:23 b85a868b505f: Pulling fs layer 18:48:23 e2be974225ed: Pulling fs layer 18:48:23 339a4e72a1f5: Pulling fs layer 18:48:23 988bab9f4d93: Pulling fs layer 18:48:23 1469e6f7b9e6: Pulling fs layer 18:48:23 eaf3925da568: Pulling fs layer 18:48:23 bab4dde63d76: Pulling fs layer 18:48:23 bde34c3a00c8: Pulling fs layer 18:48:23 1469e6f7b9e6: Waiting 18:48:23 eaf3925da568: Waiting 18:48:23 bab4dde63d76: Waiting 18:48:23 b352a97aabf1: Pulling fs layer 18:48:23 4872d77fe225: Pulling fs layer 18:48:23 5851b861e8e6: Pulling fs layer 18:48:23 5851b861e8e6: Waiting 18:48:23 bde34c3a00c8: Waiting 18:48:23 4872d77fe225: Waiting 18:48:23 b352a97aabf1: Waiting 18:48:23 e2be974225ed: Download complete 18:48:23 988bab9f4d93: Verifying Checksum 18:48:23 988bab9f4d93: Download complete 18:48:23 1469e6f7b9e6: Verifying Checksum 18:48:23 1469e6f7b9e6: Download complete 18:48:23 eaf3925da568: Verifying Checksum 18:48:23 eaf3925da568: Download complete 18:48:23 339a4e72a1f5: Verifying Checksum 18:48:23 339a4e72a1f5: Download complete 18:48:23 bde34c3a00c8: Verifying Checksum 18:48:23 bde34c3a00c8: Download complete 18:48:23 b352a97aabf1: Download complete 18:48:23 4872d77fe225: Verifying Checksum 18:48:23 4872d77fe225: Download complete 18:48:23 5851b861e8e6: Verifying Checksum 18:48:23 5851b861e8e6: Download complete 18:48:23 b85a868b505f: Verifying Checksum 18:48:23 b85a868b505f: Download complete 18:48:23 bab4dde63d76: Verifying Checksum 18:48:23 bab4dde63d76: Download complete 18:48:25 b85a868b505f: Pull complete 18:48:25 e2be974225ed: Pull complete 18:48:25 339a4e72a1f5: Pull complete 18:48:25 988bab9f4d93: Pull complete 18:48:26 1469e6f7b9e6: Pull complete 18:48:26 eaf3925da568: Pull complete 18:48:28 bab4dde63d76: Pull complete 18:48:28 bde34c3a00c8: Pull complete 18:48:28 b352a97aabf1: Pull complete 18:48:28 4872d77fe225: Pull complete 18:48:28 5851b861e8e6: Pull complete 18:48:28 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:48:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:48:28 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:48:28 prd-ubuntu20.04-docker-8c-8g-57 does not seem to be running inside a container 18:48:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-24 -v /w/workspace/xfoundry_app-record-replay_PR-24:/w/workspace/xfoundry_app-record-replay_PR-24:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-24@tmp:/w/workspace/xfoundry_app-record-replay_PR-24@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-devops/py-git-semver:0.1.4 cat 18:48:32 $ docker top 4884b318c5e190a02e105aceeb3cc5b22c39ef5e1a0d9f8ab1467bea1891b93e -eo pid,comm 18:48:32 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). 18:48:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:48:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:48:32 [ssh-agent] Looking for ssh-agent implementation... 18:48:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:48:32 $ docker exec 4884b318c5e190a02e105aceeb3cc5b22c39ef5e1a0d9f8ab1467bea1891b93e ssh-agent 18:48:32 SSH_AUTH_SOCK=/tmp/ssh-OmiAitWseSmY/agent.32 18:48:32 SSH_AGENT_PID=38 18:48:32 Running ssh-add (command line suppressed) 18:48:32 Identity added: /w/workspace/xfoundry_app-record-replay_PR-24@tmp/private_key_16583956483036609115.key (/w/workspace/xfoundry_app-record-replay_PR-24@tmp/private_key_16583956483036609115.key) 18:48:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:48:32 + git tag --points-at HEAD [Pipeline] } 18:48:32 $ docker exec --env ******** --env ******** 4884b318c5e190a02e105aceeb3cc5b22c39ef5e1a0d9f8ab1467bea1891b93e ssh-agent -k 18:48:33 unset SSH_AUTH_SOCK; 18:48:33 unset SSH_AGENT_PID; 18:48:33 echo Agent pid 38 killed; 18:48:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:48:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:48:33 [ssh-agent] Looking for ssh-agent implementation... 18:48:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:48:33 $ docker exec 4884b318c5e190a02e105aceeb3cc5b22c39ef5e1a0d9f8ab1467bea1891b93e ssh-agent 18:48:33 SSH_AUTH_SOCK=/tmp/ssh-WTRJuvVh8vUB/agent.70 18:48:33 SSH_AGENT_PID=76 18:48:33 Running ssh-add (command line suppressed) 18:48:33 Identity added: /w/workspace/xfoundry_app-record-replay_PR-24@tmp/private_key_8054565559070614008.key (/w/workspace/xfoundry_app-record-replay_PR-24@tmp/private_key_8054565559070614008.key) 18:48:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:48:33 + git semver init 18:48:33 2023-06-27 18:48:33,890 [run_init] DEBUG init version:0.0.0 force:False 18:48:33 2023-06-27 18:48:33,891 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-24/.semver 18:48:33 2023-06-27 18:48:33,891 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-24/.semver 18:48:33 2023-06-27 18:48:33,892 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-24/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-24, universal_newlines=False, shell=None, istream=None) 18:48:34 2023-06-27 18:48:34,490 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-24/.git/info/exclude 18:48:34 2023-06-27 18:48:34,490 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-24/.semver/PR-24 with force:False 18:48:34 2023-06-27 18:48:34,491 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-24/.semver/PR-24 18:48:34 2023-06-27 18:48:34,495 [execute] INFO git cat-file --batch-check 18:48:34 2023-06-27 18:48:34,495 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-24/.semver, universal_newlines=False, shell=None, istream=) 18:48:34 2023-06-27 18:48:34,501 [execute] INFO git cat-file --batch 18:48:34 2023-06-27 18:48:34,502 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-24/.semver, universal_newlines=False, shell=None, istream=) 18:48:34 2023-06-27 18:48:34,508 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-24/.semver/PR-24 18:48:34 0.0.0 [Pipeline] } 18:48:34 $ docker exec --env ******** --env ******** 4884b318c5e190a02e105aceeb3cc5b22c39ef5e1a0d9f8ab1467bea1891b93e ssh-agent -k 18:48:34 unset SSH_AUTH_SOCK; 18:48:34 unset SSH_AGENT_PID; 18:48:34 echo Agent pid 76 killed; 18:48:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:48:34 + git semver [Pipeline] } 18:48:35 $ docker stop --time=1 4884b318c5e190a02e105aceeb3cc5b22c39ef5e1a0d9f8ab1467bea1891b93e 18:48:36 $ docker rm -f --volumes 4884b318c5e190a02e105aceeb3cc5b22c39ef5e1a0d9f8ab1467bea1891b93e [Pipeline] // withDockerContainer [Pipeline] sh 18:48:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:48:37 Stashed 1 file(s) [Pipeline] echo 18:48:37 [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 18:48:37 provisioning config files... 18:48:37 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-24@tmp/config16820229319911659241tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:48:37 ---> docker-login.sh 18:48:37 nexus3.edgexfoundry.org:10001 18:48:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:37 Configure a credential helper to remove this warning. See 18:48:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:37 18:48:37 Login Succeeded 18:48:37 nexus3.edgexfoundry.org:10002 18:48:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:37 Configure a credential helper to remove this warning. See 18:48:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:37 18:48:37 Login Succeeded 18:48:37 nexus3.edgexfoundry.org:10003 18:48:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:37 Configure a credential helper to remove this warning. See 18:48:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:37 18:48:37 Login Succeeded 18:48:37 nexus3.edgexfoundry.org:10004 18:48:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:37 Configure a credential helper to remove this warning. See 18:48:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:37 18:48:37 Login Succeeded 18:48:37 docker.io 18:48:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:38 Configure a credential helper to remove this warning. See 18:48:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:38 18:48:38 Login Succeeded 18:48:38 ---> docker-login.sh ends [Pipeline] } 18:48:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:48:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:48:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:48:38 ========================================================= 18:48:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 18:48:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:38 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 18:48:38 Sending build context to Docker daemon 263.7kB 18:48:38 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 18:48:38 Step 2/12 : FROM ${BASE} AS builder 18:48:38 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 18:48:38 f56be85fc22e: Pulling fs layer 18:48:38 85791d961cd3: Pulling fs layer 18:48:38 d694b5ae8c79: Pulling fs layer 18:48:38 9f32a84ed3da: Pulling fs layer 18:48:38 4d19c01a9841: Pulling fs layer 18:48:38 9325e15d5711: Pulling fs layer 18:48:38 556b6ee489ea: Pulling fs layer 18:48:38 c5a4b2cf53e6: Pulling fs layer 18:48:38 4d19c01a9841: Waiting 18:48:38 9f32a84ed3da: Waiting 18:48:38 c5a4b2cf53e6: Waiting 18:48:38 9325e15d5711: Waiting 18:48:38 556b6ee489ea: Waiting 18:48:38 85791d961cd3: Download complete 18:48:38 9f32a84ed3da: Verifying Checksum 18:48:38 9f32a84ed3da: Download complete 18:48:38 4d19c01a9841: Verifying Checksum 18:48:38 4d19c01a9841: Download complete 18:48:38 f56be85fc22e: Verifying Checksum 18:48:38 f56be85fc22e: Download complete 18:48:38 9325e15d5711: Verifying Checksum 18:48:38 9325e15d5711: Download complete 18:48:38 f56be85fc22e: Pull complete 18:48:39 85791d961cd3: Pull complete 18:48:39 c5a4b2cf53e6: Verifying Checksum 18:48:39 c5a4b2cf53e6: Download complete 18:48:39 d694b5ae8c79: Download complete 18:48:39 556b6ee489ea: Verifying Checksum 18:48:39 556b6ee489ea: Download complete 18:48:43 d694b5ae8c79: Pull complete 18:48:43 9f32a84ed3da: Pull complete 18:48:43 4d19c01a9841: Pull complete 18:48:43 9325e15d5711: Pull complete 18:48:45 556b6ee489ea: Pull complete 18:48:46 c5a4b2cf53e6: Pull complete 18:48:46 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 18:48:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 18:48:46 ---> c4be618373d6 18:48:46 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 18:48:52 Still waiting to schedule task 18:48:52 ‘prd-ubuntu20.04-docker-arm64-4c-16g-56’ is offline 18:48:54 ---> Running in 4300f7738646 18:48:55 Removing intermediate container 4300f7738646 18:48:55 ---> 329f09156e50 18:48:55 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:48:55 ---> Running in 62fab93ca8ae 18:48:55 Removing intermediate container 62fab93ca8ae 18:48:55 ---> 9c532e5201f9 18:48:55 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:48:55 ---> Running in 43ace31d7764 18:48:55 Removing intermediate container 43ace31d7764 18:48:55 ---> f032483ae94e 18:48:55 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:48:55 ---> Running in 76bf1ce6e518 18:48:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:48:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:48:56 OK: 265 MiB in 53 packages 18:48:56 Removing intermediate container 76bf1ce6e518 18:48:56 ---> 79379b6183c9 18:48:56 Step 7/12 : WORKDIR /app 18:48:56 ---> Running in 5cda446de28c 18:48:56 Removing intermediate container 5cda446de28c 18:48:56 ---> 30b05747b2b8 18:48:56 Step 8/12 : COPY go.mod vendor* ./ 18:48:56 ---> f58aee88cf99 18:48:56 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:48:56 ---> Running in 2c2cad91cf7e 18:49:43 Removing intermediate container 2c2cad91cf7e 18:49:43 ---> 3aaaa7a95326 18:49:43 Step 10/12 : COPY . . 18:49:43 ---> b4370d4d27a7 18:49:43 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:49:43 ---> Running in 8734acf9e435 18:49:43 Removing intermediate container 8734acf9e435 18:49:43 ---> 9c2fe065d3c1 18:49:43 Step 12/12 : RUN $MAKE 18:49:43 ---> Running in 7cbb2a904a00 18:49:43 noop 18:49:43 Removing intermediate container 7cbb2a904a00 18:49:43 ---> 23ecc7b8a07a 18:49:43 Successfully built 23ecc7b8a07a 18:49:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:49:43 + docker inspect -f . ci-base-image-x86_64 18:49:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:49:43 prd-ubuntu20.04-docker-8c-8g-57 does not seem to be running inside a container 18:49:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-24 -v /w/workspace/xfoundry_app-record-replay_PR-24:/w/workspace/xfoundry_app-record-replay_PR-24:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-24@tmp:/w/workspace/xfoundry_app-record-replay_PR-24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:49:45 $ docker top c066740c3212a71b469985515fcb261f9b72988aa674c8bef0fd7106d00c5c29 -eo pid,comm [Pipeline] { [Pipeline] sh 18:49:45 + go version 18:49:45 go version go1.20.2 linux/amd64 [Pipeline] } 18:49:45 $ docker stop --time=1 c066740c3212a71b469985515fcb261f9b72988aa674c8bef0fd7106d00c5c29 18:49:47 $ docker rm -f --volumes c066740c3212a71b469985515fcb261f9b72988aa674c8bef0fd7106d00c5c29 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:49:48 + docker inspect -f . ci-base-image-x86_64 18:49:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:49:48 prd-ubuntu20.04-docker-8c-8g-57 does not seem to be running inside a container 18:49:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_app-record-replay_PR-24 -v /w/workspace/xfoundry_app-record-replay_PR-24:/w/workspace/xfoundry_app-record-replay_PR-24:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-24@tmp:/w/workspace/xfoundry_app-record-replay_PR-24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:49:49 $ docker top a5835d066111a75ea7822f2d354f3e17a097b893b3f117cb7cc6b40b1a16fe3d -eo pid,comm [Pipeline] { [Pipeline] sh 18:49:49 + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-24 [Pipeline] fileExists [Pipeline] sh 18:49:49 + make test 18:49:49 go test -race -coverprofile=coverage.out ./... 18:50:11 ? github.com/edgexfoundry/app-record-replay [no test files] 18:50:11 ok github.com/edgexfoundry/app-record-replay/internal/app 0.075s coverage: 90.0% of statements 18:50:11 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.086s coverage: 85.1% of statements 18:50:11 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 18:50:11 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 18:50:11 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 18:50:11 ok github.com/edgexfoundry/app-record-replay/internal/data 0.073s coverage: 27.3% of statements 18:50:21 Running on prd-ubuntu20.04-docker-arm64-4c-16g-58 in /w/workspace/xfoundry_app-record-replay_PR-24 [Pipeline] { [Pipeline] ws 18:50:21 Running in /w/workspace/app-record-replay/9 [Pipeline] { [Pipeline] checkout 18:50:21 Selected Git installation does not exist. Using Default 18:50:21 The recommended git tool is: NONE 18:50:26 using credential edgex-jenkins-ssh 18:50:26 Cloning the remote Git repository 18:50:26 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 18:50:26 > git init /w/workspace/app-record-replay/9 # timeout=10 18:50:26 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 18:50:26 > git --version # timeout=10 18:50:26 > git --version # 'git version 2.25.1' 18:50:26 using GIT_SSH to set credentials SSH Credentials for GitHub 18:50:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:50:27 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 18:50:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:50:28 Merging remotes/origin/main commit 047236f56ce2e90b3717e3891727cd37ccf4463d into PR head commit e300506309d141a9ae6a933d98b93c6273e8a025 18:50:28 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 18:50:28 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 18:50:28 using GIT_SSH to set credentials SSH Credentials for GitHub 18:50:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/24/head:refs/remotes/origin/PR-24 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:50:28 Merge succeeded, producing 68e55f1ff814f8c8fba1f37694b4805cdf96dd95 18:50:28 Checking out Revision 68e55f1ff814f8c8fba1f37694b4805cdf96dd95 (PR-24) 18:50:28 > git config core.sparsecheckout # timeout=10 18:50:28 > git checkout -f e300506309d141a9ae6a933d98b93c6273e8a025 # timeout=10 18:50:28 > git remote # timeout=10 18:50:28 > git config --get remote.origin.url # timeout=10 18:50:28 using GIT_SSH to set credentials SSH Credentials for GitHub 18:50:28 > git merge 047236f56ce2e90b3717e3891727cd37ccf4463d # timeout=10 18:50:28 > git rev-parse HEAD^{commit} # timeout=10 18:50:28 > git config core.sparsecheckout # timeout=10 18:50:28 > git checkout -f 68e55f1ff814f8c8fba1f37694b4805cdf96dd95 # timeout=10 18:50:32 Commit message: "Merge commit '047236f56ce2e90b3717e3891727cd37ccf4463d' into HEAD" 18:50:32 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:50:32 > git rev-list --no-walk 1f298652509700724c469dce89099a0ffd204a3e # timeout=10 18:50:33 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:50:33 % Total % Received % Xferd Average Speed Time Time Time Current 18:50:33 Dload Upload Total Spent Left Speed 18:50:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12726 100 12726 0 0 81576 0 --:--:-- --:--:-- --:--:-- 81576 [Pipeline] sh 18:50:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:50:34 + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new 18:50:34 18:50:34 { 18:50:34 "registry-mirrors": [ 18:50:34 "https://nexus3.edgexfoundry.org:10001" 18:50:34 ], 18:50:34 "bip": "10.250.0.254/24", 18:50:34 "hosts": [ 18:50:34 "tcp://0.0.0.0:5555", 18:50:34 "unix:///var/run/docker.sock" 18:50:34 ], 18:50:34 "mtu": 1458, 18:50:34 "selinux-enabled": true, 18:50:34 "seccomp-profile": "/etc/docker/seccomp.json" 18:50:34 } [Pipeline] sh 18:50:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:50:34 + sudo service docker restart 18:50:38 go vet ./... 18:50:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:50:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:50:42 ./bin/test-attribution-txt.sh [Pipeline] echo 18:50:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:50:42 $ docker stop --time=1 a5835d066111a75ea7822f2d354f3e17a097b893b3f117cb7cc6b40b1a16fe3d 18:50:53 $ docker rm -f --volumes a5835d066111a75ea7822f2d354f3e17a097b893b3f117cb7cc6b40b1a16fe3d [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:50:53 provisioning config files... 18:50:53 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/9@tmp/config3297949650813194271tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:50:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:50:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 18:50:54 ---> docker-login.sh 18:50:54 nexus3.edgexfoundry.org:10001 18:50:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] sh 18:50:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:50:54 Configure a credential helper to remove this warning. See 18:50:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:50:54 18:50:54 Login Succeeded 18:50:54 nexus3.edgexfoundry.org:10002 18:50:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:50:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:50:54 + ls -al . 18:50:54 total 152 18:50:54 drwxrwxr-x 9 jenkins jenkins 4096 Jun 27 18:49 . 18:50:54 drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 18:48 .. 18:50:54 -rw-rw-r-- 1 jenkins jenkins 119 Jun 27 18:48 .dockerignore 18:50:54 drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 18:48 .git 18:50:54 drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 18:48 .github 18:50:54 -rw-rw-r-- 1 jenkins jenkins 164 Jun 27 18:48 .gitignore 18:50:54 -rw-rw-r-- 1 jenkins jenkins 41 Jun 27 18:48 .golangci.yml 18:50:54 drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 18:48 .semver 18:50:54 -rw-rw-r-- 1 jenkins jenkins 10245 Jun 27 18:48 Attribution.txt 18:50:54 -rw-rw-r-- 1 jenkins jenkins 258 Jun 27 18:48 CHANGELOG.md 18:50:54 -rw-rw-r-- 1 jenkins jenkins 1616 Jun 27 18:48 Dockerfile 18:50:54 -rw-rw-r-- 1 jenkins jenkins 677 Jun 27 18:48 GOVERNANCE.md 18:50:54 -rw-rw-r-- 1 jenkins jenkins 681 Jun 27 18:48 Jenkinsfile 18:50:54 -rw-rw-r-- 1 jenkins jenkins 10174 Jun 27 18:48 LICENSE 18:50:54 -rw-rw-r-- 1 jenkins jenkins 3139 Jun 27 18:48 Makefile 18:50:54 -rw-rw-r-- 1 jenkins jenkins 611 Jun 27 18:48 OWNERS.md 18:50:54 -rw-rw-r-- 1 jenkins jenkins 2363 Jun 27 18:48 README.md 18:50:54 -rw-rw-r-- 1 jenkins jenkins 5 Jun 27 18:48 VERSION 18:50:54 drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 18:48 bin 18:50:54 -rw-r--r-- 1 jenkins jenkins 4703 Jun 27 18:50 coverage.out 18:50:54 -rw-rw-r-- 1 jenkins jenkins 3405 Jun 27 18:48 go.mod 18:50:54 -rw-rw-r-- 1 jenkins jenkins 31479 Jun 27 18:48 go.sum 18:50:54 drwxrwxr-x 6 jenkins jenkins 4096 Jun 27 18:48 internal 18:50:54 -rw-rw-r-- 1 jenkins jenkins 914 Jun 27 18:48 main.go 18:50:54 drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 18:48 pkg 18:50:54 drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 18:48 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:50:55 Configure a credential helper to remove this warning. See 18:50:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:50:55 18:50:55 Login Succeeded 18:50:55 nexus3.edgexfoundry.org:10003 18:50:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:50:55 + 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=9bd0765fa4d572264101b663823e3a283631aa3d --label arch=amd64 --label version=0.0.0 . 18:50:55 Sending build context to Docker daemon 269.3kB 18:50:55 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 18:50:55 Step 2/26 : FROM ${BASE} AS builder 18:50:55 ---> 23ecc7b8a07a 18:50:55 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 18:50:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:50:55 Configure a credential helper to remove this warning. See 18:50:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:50:55 18:50:55 Login Succeeded 18:50:55 nexus3.edgexfoundry.org:10004 18:50:55 ---> Running in 48589082e598 18:50:55 Removing intermediate container 48589082e598 18:50:55 ---> 7f3e12c5f28d 18:50:55 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 18:50:55 ---> Running in 7c5b0c7e9e78 18:50:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:50:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:50:55 Configure a credential helper to remove this warning. See 18:50:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:50:55 18:50:55 Login Succeeded 18:50:55 docker.io 18:50:55 Removing intermediate container 7c5b0c7e9e78 18:50:55 ---> 400a725d0f54 18:50:55 Step 5/26 : ARG ADD_BUILD_TAGS="" 18:50:55 ---> Running in 534d68499611 18:50:55 Removing intermediate container 534d68499611 18:50:55 ---> 7d8956b2d2a6 18:50:55 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:50:55 ---> Running in 21d082dbef68 18:50:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:50:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:50:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:50:56 Configure a credential helper to remove this warning. See 18:50:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:50:56 18:50:56 Login Succeeded 18:50:56 ---> docker-login.sh ends [Pipeline] } 18:50:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 18:50:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [Pipeline] echo 18:50:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:50:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:50:56 ========================================================= 18:50:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 18:50:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:56 OK: 265 MiB in 53 packages 18:50:56 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 18:50:56 Sending build context to Docker daemon 137.7kB 18:50:57 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 18:50:57 Step 2/12 : FROM ${BASE} AS builder 18:50:57 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:50:57 c41833b44d91: Pulling fs layer 18:50:57 ed15518f5707: Pulling fs layer 18:50:57 feae8fd75edb: Pulling fs layer 18:50:57 242c74f7c9fa: Pulling fs layer 18:50:57 3cdef696dda3: Pulling fs layer 18:50:57 2ced38df9373: Pulling fs layer 18:50:57 58f1dce35555: Pulling fs layer 18:50:57 3cdef696dda3: Waiting 18:50:57 2ced38df9373: Waiting 18:50:57 58f1dce35555: Waiting 18:50:57 ed15518f5707: Verifying Checksum 18:50:57 ed15518f5707: Download complete 18:50:57 Removing intermediate container 21d082dbef68 18:50:57 ---> 61771f459ea7 18:50:57 Step 7/26 : WORKDIR /app 18:50:57 ---> Running in 969dbec5640a 18:50:57 242c74f7c9fa: Verifying Checksum 18:50:57 242c74f7c9fa: Download complete 18:50:57 3cdef696dda3: Verifying Checksum 18:50:57 3cdef696dda3: Download complete 18:50:57 c41833b44d91: Download complete 18:50:57 Removing intermediate container 969dbec5640a 18:50:57 ---> d86f59211920 18:50:57 Step 8/26 : COPY go.mod vendor* ./ 18:50:57 ---> c20f877b48f0 18:50:57 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:50:57 ---> Running in eeeed9adc1cc 18:50:58 Removing intermediate container eeeed9adc1cc 18:50:58 ---> 280d54f9d876 18:50:58 Step 10/26 : COPY . . 18:50:58 58f1dce35555: Verifying Checksum 18:50:58 58f1dce35555: Download complete 18:50:58 ---> 1eabcb628d81 18:50:58 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:50:58 ---> Running in f161b7491287 18:50:58 Removing intermediate container f161b7491287 18:50:58 ---> 70748d3f246a 18:50:58 Step 12/26 : RUN $MAKE 18:50:58 ---> Running in 146ae6345cd4 18:50:59 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 18:50:59 feae8fd75edb: Download complete 18:50:59 2ced38df9373: Download complete 18:51:00 c41833b44d91: Pull complete 18:51:01 ed15518f5707: Pull complete 18:51:16 feae8fd75edb: Pull complete 18:51:16 242c74f7c9fa: Pull complete 18:51:16 3cdef696dda3: Pull complete 18:51:23 2ced38df9373: Pull complete 18:51:24 58f1dce35555: Pull complete 18:51:24 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 18:51:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 18:51:24 ---> fadd8f120f05 18:51:24 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 18:51:25 Removing intermediate container 146ae6345cd4 18:51:25 ---> b34e60ac332e 18:51:25 Step 13/26 : FROM alpine:3.17 18:51:25 3.17: Pulling from library/alpine 18:51:25 4db1b89c0bd1: Pulling fs layer 18:51:25 4db1b89c0bd1: Verifying Checksum 18:51:25 4db1b89c0bd1: Download complete 18:51:25 4db1b89c0bd1: Pull complete 18:51:25 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 18:51:25 Status: Downloaded newer image for alpine:3.17 18:51:25 ---> 1f73a9d63274 18:51:25 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:51:25 ---> Running in 8a5bc5089051 18:51:25 Removing intermediate container 8a5bc5089051 18:51:25 ---> 9ee7ad77a8c2 18:51:25 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 18:51:25 ---> Running in a3f95075f7ce 18:51:25 Removing intermediate container a3f95075f7ce 18:51:25 ---> af854e2e9b0d 18:51:25 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 18:51:25 ---> Running in 4926d3180bd2 18:51:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:51:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:51:25 (1/2) Installing ca-certificates (20230506-r0) 18:51:25 (2/2) Installing dumb-init (1.2.5-r2) 18:51:25 Executing busybox-1.35.0-r29.trigger 18:51:25 Executing ca-certificates-20230506-r0.trigger 18:51:25 OK: 8 MiB in 17 packages 18:51:25 Removing intermediate container 4926d3180bd2 18:51:25 ---> 91d8942a9d32 18:51:25 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 18:51:25 ---> 347cbf70ffa8 18:51:25 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 18:51:25 ---> 6d0c4b77084c 18:51:25 Step 19/26 : COPY --from=builder /app/res/ /res/ 18:51:25 ---> 9bb4d7b80df4 18:51:25 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 18:51:25 ---> 116356ec99c4 18:51:25 Step 21/26 : EXPOSE 59712 18:51:25 ---> Running in 7615fe1b16ae 18:51:25 Removing intermediate container 7615fe1b16ae 18:51:25 ---> 2823c426dcc8 18:51:25 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 18:51:25 ---> Running in 74da0cab9e5c 18:51:26 Removing intermediate container 74da0cab9e5c 18:51:26 ---> 8876ecbdc197 18:51:26 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:51:26 ---> Running in 317564bed333 18:51:26 ---> Running in b4a7198287a0 18:51:26 Removing intermediate container b4a7198287a0 18:51:26 ---> 52a72dcd4409 18:51:26 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:51:26 ---> Running in 16e68b0ec7c4 18:51:26 Removing intermediate container 317564bed333 18:51:26 ---> b64ee8421e54 18:51:26 Step 24/26 : LABEL arch=amd64 18:51:26 ---> Running in f55ea8f8ff92 18:51:26 Removing intermediate container 16e68b0ec7c4 18:51:26 ---> fbcbcc1366e5 18:51:26 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:51:26 ---> Running in 72a6a87b979a 18:51:27 Removing intermediate container f55ea8f8ff92 18:51:27 ---> cf2955396b7e 18:51:27 Step 25/26 : LABEL git_sha=9bd0765fa4d572264101b663823e3a283631aa3d 18:51:27 Removing intermediate container 72a6a87b979a 18:51:27 ---> b38d86af1080 18:51:27 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:51:27 ---> Running in 9e3f9ab06742 18:51:27 ---> Running in d945c1a44410 18:51:28 Removing intermediate container d945c1a44410 18:51:28 ---> 666c91d6bcbe 18:51:28 Step 26/26 : LABEL version=0.0.0 18:51:28 ---> Running in bd04a1b63f0b 18:51:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:51:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:51:29 OK: 263 MiB in 53 packages 18:51:29 Removing intermediate container bd04a1b63f0b 18:51:29 ---> a1ba7105ce35 18:51:29 [Warning] One or more build-args [ARCH] were not consumed 18:51:29 Successfully built a1ba7105ce35 18:51:29 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:51:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:51:30 18:51:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:51:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:51:30 Removing intermediate container 9e3f9ab06742 18:51:30 ---> 13ea128f507b 18:51:30 Step 7/12 : WORKDIR /app 18:51:30 ---> Running in d6610dafa9fe 18:51:31 Removing intermediate container d6610dafa9fe 18:51:31 ---> 09005dfcfd3d 18:51:31 Step 8/12 : COPY go.mod vendor* ./ 18:51:31 latest: Pulling from edgex-lftools-log-publisher 18:51:31 5eb5b503b376: Pulling fs layer 18:51:31 5c69ac0246d0: Pulling fs layer 18:51:31 ec43610c2a17: Pulling fs layer 18:51:31 3a2ae6a8a46f: Pulling fs layer 18:51:31 33b1e0a273af: Pulling fs layer 18:51:31 5d3b04190fa2: Pulling fs layer 18:51:31 2f39f015ded8: Pulling fs layer 18:51:31 2f39f015ded8: Waiting 18:51:31 33b1e0a273af: Waiting 18:51:31 3a2ae6a8a46f: Waiting 18:51:31 5c69ac0246d0: Verifying Checksum 18:51:31 5c69ac0246d0: Download complete 18:51:31 3a2ae6a8a46f: Download complete 18:51:31 33b1e0a273af: Verifying Checksum 18:51:31 33b1e0a273af: Download complete 18:51:31 5d3b04190fa2: Download complete 18:51:31 ec43610c2a17: Verifying Checksum 18:51:31 ec43610c2a17: Download complete 18:51:31 5eb5b503b376: Verifying Checksum 18:51:31 5eb5b503b376: Download complete 18:51:31 ---> 6a2d82887630 18:51:31 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:51:31 ---> Running in 4a6778e362a9 18:51:32 2f39f015ded8: Download complete 18:51:33 5eb5b503b376: Pull complete 18:51:33 5c69ac0246d0: Pull complete 18:51:34 ec43610c2a17: Pull complete 18:51:34 3a2ae6a8a46f: Pull complete 18:51:34 33b1e0a273af: Pull complete 18:51:34 5d3b04190fa2: Pull complete 18:51:38 2f39f015ded8: Pull complete 18:51:38 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:51:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:51:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:51:38 prd-ubuntu20.04-docker-8c-8g-57 does not seem to be running inside a container 18:51:38 $ 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/xfoundry_app-record-replay_PR-24 -v /w/workspace/xfoundry_app-record-replay_PR-24:/w/workspace/xfoundry_app-record-replay_PR-24:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-24@tmp:/w/workspace/xfoundry_app-record-replay_PR-24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:51:47 $ docker top e93fcecb8b70fc44841243fa7bf07c1cf59663943d402e07489630ab033d0fda -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:51:48 ---> job-cost.sh 18:51:48 lf-activate-venv: SKIPPING 18:51:48 INFO: No Stack... 18:51:48 INFO: Retrieving Pricing Info for: v3-standard-8 18:51:48 INFO: Archiving Costs [Pipeline] sh 18:51:49 + cat /w/workspace/xfoundry_app-record-replay_PR-24/archives/cost.csv 18:51:49 + cut -d, -f6 [Pipeline] lock 18:51:49 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-24-9-stack-cost] 18:51:49 Resource [jenkins-edgexfoundry-app-record-replay-PR-24-9-stack-cost] did not exist. Created. 18:51:49 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-24-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:51:49 + echo total: 0.2199999988079071 [Pipeline] stash 18:51:49 Stashed 1 file(s) [Pipeline] } 18:51:49 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-24-9-stack-cost] [Pipeline] // lock [Pipeline] } 18:51:49 $ docker stop --time=1 e93fcecb8b70fc44841243fa7bf07c1cf59663943d402e07489630ab033d0fda 18:51:50 $ docker rm -f --volumes e93fcecb8b70fc44841243fa7bf07c1cf59663943d402e07489630ab033d0fda [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:52:39 Removing intermediate container 4a6778e362a9 18:52:39 ---> 9993f580d9a0 18:52:39 Step 10/12 : COPY . . 18:52:39 ---> ab4604e00abf 18:52:39 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:52:39 ---> Running in c7636ad99e11 18:52:39 Removing intermediate container c7636ad99e11 18:52:39 ---> 9f80c177d69a 18:52:39 Step 12/12 : RUN $MAKE 18:52:39 ---> Running in 4cfd8cb10310 18:52:39 noop 18:52:39 Removing intermediate container 4cfd8cb10310 18:52:39 ---> 22f2cee84447 18:52:39 Successfully built 22f2cee84447 18:52:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:52:39 + docker inspect -f . ci-base-image-arm64 18:52:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:52:40 prd-ubuntu20.04-docker-arm64-4c-16g-58 does not seem to be running inside a container 18:52:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/9 -v /w/workspace/app-record-replay/9:/w/workspace/app-record-replay/9:rw,z -v /w/workspace/app-record-replay/9@tmp:/w/workspace/app-record-replay/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:52:41 $ docker top baa666d3618a30747c141fe94cefb349d2c464a878f0e00b6620af02d4012b13 -eo pid,comm [Pipeline] { [Pipeline] sh 18:52:42 + go version 18:52:42 go version go1.20.2 linux/arm64 [Pipeline] } 18:52:42 $ docker stop --time=1 baa666d3618a30747c141fe94cefb349d2c464a878f0e00b6620af02d4012b13 18:52:43 $ docker rm -f --volumes baa666d3618a30747c141fe94cefb349d2c464a878f0e00b6620af02d4012b13 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:52:44 + docker inspect -f . ci-base-image-arm64 18:52:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:52:44 prd-ubuntu20.04-docker-arm64-4c-16g-58 does not seem to be running inside a container 18:52:44 $ 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/9 -v /w/workspace/app-record-replay/9:/w/workspace/app-record-replay/9:rw,z -v /w/workspace/app-record-replay/9@tmp:/w/workspace/app-record-replay/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:52:45 $ docker top 68e6cf545c61e90b97103f0020446a348ec6c84329c69f2b2cfda0c8afc649ec -eo pid,comm [Pipeline] { [Pipeline] sh 18:52:46 + git config --global --add safe.directory /w/workspace/app-record-replay/9 [Pipeline] fileExists [Pipeline] sh 18:52:46 + make test 18:52:46 go test -race -coverprofile=coverage.out ./... 18:55:23 ? github.com/edgexfoundry/app-record-replay [no test files] 18:55:23 ok github.com/edgexfoundry/app-record-replay/internal/app 0.314s coverage: 90.0% of statements 18:55:23 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.294s coverage: 85.1% of statements 18:55:26 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 18:55:26 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 18:55:26 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 18:55:26 ok github.com/edgexfoundry/app-record-replay/internal/data 0.206s coverage: 27.3% of statements 18:55:27 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:55:27 go vet ./... 18:57:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:57:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:57:49 ./bin/test-attribution-txt.sh [Pipeline] echo 18:57:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:57:49 $ docker stop --time=1 68e6cf545c61e90b97103f0020446a348ec6c84329c69f2b2cfda0c8afc649ec 18:57:51 $ docker rm -f --volumes 68e6cf545c61e90b97103f0020446a348ec6c84329c69f2b2cfda0c8afc649ec [Pipeline] // withDockerContainer [Pipeline] sh 18:57:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:57:52 Warning: overwriting stash ‘coverage-report’ 18:57:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:57:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:57:53 + ls -al . 18:57:53 total 148 18:57:53 drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 18:52 . 18:57:53 drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 18:50 .. 18:57:53 -rw-rw-r-- 1 jenkins jenkins 119 Jun 27 18:50 .dockerignore 18:57:53 drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 18:50 .git 18:57:53 drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 18:50 .github 18:57:53 -rw-rw-r-- 1 jenkins jenkins 164 Jun 27 18:50 .gitignore 18:57:53 -rw-rw-r-- 1 jenkins jenkins 41 Jun 27 18:50 .golangci.yml 18:57:53 -rw-rw-r-- 1 jenkins jenkins 10245 Jun 27 18:50 Attribution.txt 18:57:53 -rw-rw-r-- 1 jenkins jenkins 258 Jun 27 18:50 CHANGELOG.md 18:57:53 -rw-rw-r-- 1 jenkins jenkins 1616 Jun 27 18:50 Dockerfile 18:57:53 -rw-rw-r-- 1 jenkins jenkins 677 Jun 27 18:50 GOVERNANCE.md 18:57:53 -rw-rw-r-- 1 jenkins jenkins 681 Jun 27 18:50 Jenkinsfile 18:57:53 -rw-rw-r-- 1 jenkins jenkins 10174 Jun 27 18:50 LICENSE 18:57:53 -rw-rw-r-- 1 jenkins jenkins 3139 Jun 27 18:50 Makefile 18:57:53 -rw-rw-r-- 1 jenkins jenkins 611 Jun 27 18:50 OWNERS.md 18:57:53 -rw-rw-r-- 1 jenkins jenkins 2363 Jun 27 18:50 README.md 18:57:53 -rw-rw-r-- 1 jenkins jenkins 5 Jun 27 18:48 VERSION 18:57:53 drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 18:50 bin 18:57:53 -rw-r--r-- 1 jenkins jenkins 4703 Jun 27 18:55 coverage.out 18:57:53 -rw-rw-r-- 1 jenkins jenkins 3405 Jun 27 18:50 go.mod 18:57:53 -rw-rw-r-- 1 jenkins jenkins 31479 Jun 27 18:50 go.sum 18:57:53 drwxrwxr-x 6 jenkins jenkins 4096 Jun 27 18:50 internal 18:57:53 -rw-rw-r-- 1 jenkins jenkins 914 Jun 27 18:50 main.go 18:57:53 drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 18:50 pkg 18:57:53 drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 18:50 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:54 + 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=68e55f1ff814f8c8fba1f37694b4805cdf96dd95 --label arch=arm64 --label version=0.0.0 . 18:57:54 Sending build context to Docker daemon 143.4kB 18:57:54 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 18:57:54 Step 2/26 : FROM ${BASE} AS builder 18:57:54 ---> 22f2cee84447 18:57:54 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 18:57:54 ---> Running in 70471c90bb31 18:57:54 Removing intermediate container 70471c90bb31 18:57:54 ---> c20e54d14933 18:57:54 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 18:57:54 ---> Running in 4203206ce431 18:57:54 Removing intermediate container 4203206ce431 18:57:54 ---> 54c98e43188a 18:57:54 Step 5/26 : ARG ADD_BUILD_TAGS="" 18:57:55 ---> Running in 36d76ab32fd2 18:57:55 Removing intermediate container 36d76ab32fd2 18:57:55 ---> 65e34749c268 18:57:55 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:57:55 ---> Running in e6a1975bcd80 18:57:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:57:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:57:58 OK: 263 MiB in 53 packages 18:57:58 Removing intermediate container e6a1975bcd80 18:57:58 ---> dbd714428bb8 18:57:58 Step 7/26 : WORKDIR /app 18:57:58 ---> Running in 39ee54b22805 18:57:59 Removing intermediate container 39ee54b22805 18:57:59 ---> 4ce2981f39f3 18:57:59 Step 8/26 : COPY go.mod vendor* ./ 18:57:59 ---> 1cfcac7c1ee1 18:57:59 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:57:59 ---> Running in 22b9b9256418 18:58:04 Removing intermediate container 22b9b9256418 18:58:04 ---> 5069df8bd537 18:58:04 Step 10/26 : COPY . . 18:58:04 ---> 2c68afdd161b 18:58:04 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:58:04 ---> Running in 8c8fc26e7cad 18:58:04 Removing intermediate container 8c8fc26e7cad 18:58:04 ---> 8a56a1bc71da 18:58:04 Step 12/26 : RUN $MAKE 18:58:04 ---> Running in ec01a5b03897 18:58:05 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 19:00:12 Removing intermediate container ec01a5b03897 19:00:12 ---> 7edac9c1a231 19:00:12 Step 13/26 : FROM alpine:3.17 19:00:12 3.17: Pulling from library/alpine 19:00:12 edb6bdbacee9: Pulling fs layer 19:00:12 edb6bdbacee9: Verifying Checksum 19:00:12 edb6bdbacee9: Download complete 19:00:12 edb6bdbacee9: Pull complete 19:00:12 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 19:00:12 Status: Downloaded newer image for alpine:3.17 19:00:12 ---> 779605e5fbc0 19:00:12 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 19:00:12 ---> Running in 5e5032febf35 19:00:12 Removing intermediate container 5e5032febf35 19:00:12 ---> b31dfd5079a1 19:00:12 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 19:00:12 ---> Running in 8629f54a9e06 19:00:12 Removing intermediate container 8629f54a9e06 19:00:12 ---> 8235473caf3e 19:00:12 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 19:00:12 ---> Running in 2debfd727806 19:00:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:00:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:00:12 (1/2) Installing ca-certificates (20230506-r0) 19:00:12 (2/2) Installing dumb-init (1.2.5-r2) 19:00:12 Executing busybox-1.35.0-r29.trigger 19:00:12 Executing ca-certificates-20230506-r0.trigger 19:00:12 OK: 8 MiB in 17 packages 19:00:12 Removing intermediate container 2debfd727806 19:00:12 ---> 017bbe3a27c1 19:00:12 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 19:00:12 ---> d97c754f9a47 19:00:12 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 19:00:13 ---> c037c5db9631 19:00:13 Step 19/26 : COPY --from=builder /app/res/ /res/ 19:00:13 ---> e44b71d689c7 19:00:13 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 19:00:14 ---> c67b3f3751a7 19:00:14 Step 21/26 : EXPOSE 59712 19:00:14 ---> Running in 15b6558b1ab8 19:00:15 Removing intermediate container 15b6558b1ab8 19:00:15 ---> 856ed1b4c7cf 19:00:15 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 19:00:15 ---> Running in 24a965f1169f 19:00:15 Removing intermediate container 24a965f1169f 19:00:15 ---> 64e3ac95e1bb 19:00:15 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 19:00:15 ---> Running in 4842dea040ff 19:00:15 Removing intermediate container 4842dea040ff 19:00:15 ---> a2304b1e5762 19:00:15 Step 24/26 : LABEL arch=arm64 19:00:15 ---> Running in a1b5c235f831 19:00:16 Removing intermediate container a1b5c235f831 19:00:16 ---> 8c65ad448abc 19:00:16 Step 25/26 : LABEL git_sha=68e55f1ff814f8c8fba1f37694b4805cdf96dd95 19:00:16 ---> Running in 6a0923aad18d 19:00:16 Removing intermediate container 6a0923aad18d 19:00:16 ---> f469d06e510d 19:00:16 Step 26/26 : LABEL version=0.0.0 19:00:16 ---> Running in 43ec413fb140 19:00:16 Removing intermediate container 43ec413fb140 19:00:16 ---> f18d3a9ab33d 19:00:16 [Warning] One or more build-args [ARCH] were not consumed 19:00:16 Successfully built f18d3a9ab33d 19:00:16 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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:00:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:00:17 19:00:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:00:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:00:17 arm64: Pulling from edgex-lftools-log-publisher 19:00:17 8998bd30e6a1: Pulling fs layer 19:00:17 04944245beec: Pulling fs layer 19:00:17 699f458cf7ca: Pulling fs layer 19:00:17 765212b225bb: Pulling fs layer 19:00:17 f23df028b6ca: Pulling fs layer 19:00:17 d65c8cfc05b1: Pulling fs layer 19:00:17 2437ff75d9bd: Pulling fs layer 19:00:17 f23df028b6ca: Waiting 19:00:17 d65c8cfc05b1: Waiting 19:00:17 765212b225bb: Waiting 19:00:17 2437ff75d9bd: Waiting 19:00:17 04944245beec: Verifying Checksum 19:00:17 765212b225bb: Verifying Checksum 19:00:17 765212b225bb: Download complete 19:00:17 f23df028b6ca: Verifying Checksum 19:00:17 f23df028b6ca: Download complete 19:00:17 d65c8cfc05b1: Verifying Checksum 19:00:17 d65c8cfc05b1: Download complete 19:00:17 699f458cf7ca: Verifying Checksum 19:00:17 699f458cf7ca: Download complete 19:00:18 8998bd30e6a1: Verifying Checksum 19:00:18 8998bd30e6a1: Download complete 19:00:20 2437ff75d9bd: Verifying Checksum 19:00:20 2437ff75d9bd: Download complete 19:00:22 8998bd30e6a1: Pull complete 19:00:22 04944245beec: Pull complete 19:00:23 699f458cf7ca: Pull complete 19:00:24 765212b225bb: Pull complete 19:00:24 f23df028b6ca: Pull complete 19:00:25 d65c8cfc05b1: Pull complete 19:00:39 2437ff75d9bd: Pull complete 19:00:39 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:00:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:00:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:00:40 prd-ubuntu20.04-docker-arm64-4c-16g-58 does not seem to be running inside a container 19:00:40 $ 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/9 -v /w/workspace/app-record-replay/9:/w/workspace/app-record-replay/9:rw,z -v /w/workspace/app-record-replay/9@tmp:/w/workspace/app-record-replay/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:00:42 $ docker top 0013bdc3962d8bf735608161579ebb7f795ec9385e0d4fec1d02ca8b56893da3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:00:43 ---> job-cost.sh 19:00:43 lf-activate-venv: SKIPPING 19:00:43 INFO: No Stack... 19:00:43 INFO: Retrieving Pricing Info for: v3-standard-4 19:00:44 INFO: Archiving Costs [Pipeline] sh 19:00:45 + cat /w/workspace/app-record-replay/9/archives/cost.csv 19:00:45 + cut -d, -f6 [Pipeline] lock 19:00:45 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-24-9-stack-cost] 19:00:45 Resource [jenkins-edgexfoundry-app-record-replay-PR-24-9-stack-cost] did not exist. Created. 19:00:45 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-24-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:00:45 /w/workspace/app-record-replay/9@tmp/durable-a8e2ca82/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:00:46 + echo total: 0.10999999940395355 [Pipeline] stash 19:00:46 Warning: overwriting stash ‘stack-cost’ 19:00:46 Stashed 1 file(s) [Pipeline] } 19:00:46 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-24-9-stack-cost] [Pipeline] // lock [Pipeline] } 19:00:46 $ docker stop --time=1 0013bdc3962d8bf735608161579ebb7f795ec9385e0d4fec1d02ca8b56893da3 19:00:47 $ docker rm -f --volumes 0013bdc3962d8bf735608161579ebb7f795ec9385e0d4fec1d02ca8b56893da3 [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 19:00:48 provisioning config files... 19:00:48 Could not find credentials [app-record-replay-codecov-token] for edgexfoundry/app-record-replay/PR-24 #9 19:00:48 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/xfoundry_app-record-replay_PR-24@tmp/config13510037756569037331tmp [Pipeline] { [Pipeline] sh 19:00:48 + set +x 19:00:48 + + bash -s -- 19:00:48 curl -s https://codecov.io/bash 19:00:48 19:00:48 _____ _ 19:00:48 / ____| | | 19:00:48 | | ___ __| | ___ ___ _____ __ 19:00:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:00:48 | |___| (_) | (_| | __/ (_| (_) \ V / 19:00:48 \_____\___/ \__,_|\___|\___\___/ \_/ 19:00:48 Bash-1.0.6 19:00:48 19:00:48 19:00:48 ==> git version 2.25.1 found 19:00:48 ==> 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 19:00:48 Release-Date: 2020-01-08 19:00:48 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:00:48 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:00:48 ==> Jenkins CI detected. 19:00:48 current dir:  /w/workspace/xfoundry_app-record-replay_PR-24 19:00:48 project root: . 19:00:48 --> token set from env 19:00:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:00:48 ==> Running gcov in . (disable via -X gcov) 19:00:48 ==> Python coveragepy not found 19:00:48 ==> Searching for coverage reports in: 19:00:48 + . 19:00:48 -> Found 1 reports 19:00:48 ==> Detecting git/mercurial file structure 19:00:48 ==> Reading reports 19:00:48 + ./coverage.out bytes=4703 19:00:48 ==> Appending adjustments 19:00:48 https://docs.codecov.io/docs/fixing-reports 19:00:48 + Found adjustments 19:00:48 ==> Gzipping contents 19:00:48 4.0K /tmp/codecov.uH01nb.gz 19:00:48 ==> Uploading reports 19:00:48 url: https://codecov.io 19:00:48 query: branch=PR-24&commit=9bd0765fa4d572264101b663823e3a283631aa3d&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-24%2F9%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=24&job=&cmd_args= 19:00:48 -> Pinging Codecov 19:00:48 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=$CCTOKEN&branch=PR-24&commit=9bd0765fa4d572264101b663823e3a283631aa3d&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-24%2F9%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=24&job=&cmd_args= 19:00:48 Invalid request parameters 19:00:48 400 [Pipeline] } 19:00:48 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 19:00:49 + [ -d /w/workspace/xfoundry_app-record-replay_PR-24/archives ] 19:00:49 + ls -al /w/workspace/xfoundry_app-record-replay_PR-24/archives 19:00:49 total 16 19:00:49 drwxr-xr-x 3 root root 4096 Jun 27 18:51 . 19:00:49 drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 18:51 .. 19:00:49 drwxr-xr-x 2 root root 4096 Jun 27 18:51 cost 19:00:49 -rw-r--r-- 1 root root 88 Jun 27 18:51 cost.csv 19:00:49 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-24/archives 19:00:49 + ls -al /w/workspace/xfoundry_app-record-replay_PR-24/archives 19:00:49 total 16 19:00:49 drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 18:51 . 19:00:49 drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 18:51 .. 19:00:49 drwxr-xr-x 2 jenkins jenkins 4096 Jun 27 18:51 cost 19:00:49 -rw-r--r-- 1 jenkins jenkins 88 Jun 27 18:51 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:00:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:00:50 ---> package-listing.sh 19:00:50 ++ facter osfamily 19:00:50 ++ tr '[:upper:]' '[:lower:]' 19:00:50 + OS_FAMILY=debian 19:00:50 + workspace=/w/workspace/xfoundry_app-record-replay_PR-24 19:00:50 + START_PACKAGES=/tmp/packages_start.txt 19:00:50 + END_PACKAGES=/tmp/packages_end.txt 19:00:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:00:50 + PACKAGES=/tmp/packages_start.txt 19:00:50 + '[' /w/workspace/xfoundry_app-record-replay_PR-24 ']' 19:00:50 + PACKAGES=/tmp/packages_end.txt 19:00:50 + case "${OS_FAMILY}" in 19:00:50 + dpkg -l 19:00:50 + grep '^ii' 19:00:50 + '[' -f /tmp/packages_start.txt ']' 19:00:50 + '[' -f /tmp/packages_end.txt ']' 19:00:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:00:50 + '[' /w/workspace/xfoundry_app-record-replay_PR-24 ']' 19:00:50 + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-24/archives/ 19:00:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-24/archives/ [Pipeline] echo 19:00:50 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/xfoundry_app-record-replay_PR-24/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:00:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:00:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:00:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:00:51 prd-ubuntu20.04-docker-8c-8g-57 does not seem to be running inside a container 19:00:51 $ 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/xfoundry_app-record-replay_PR-24/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_app-record-replay_PR-24 -v /w/workspace/xfoundry_app-record-replay_PR-24:/w/workspace/xfoundry_app-record-replay_PR-24:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-24@tmp:/w/workspace/xfoundry_app-record-replay_PR-24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:00:52 $ docker top 5ad3a11fa79a0f74ae80a2a49736567d4d090ffee8ebca232cc55ebb049a4ded -eo pid,comm [Pipeline] { [Pipeline] sh 19:00:52 + touch /tmp/pre-build-complete [Pipeline] sh 19:00:53 + mkdir -p /var/log/sysstat [Pipeline] sh 19:00:53 + ls /var/log/sa-host 19:00:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:00:53 provisioning config files... 19:00:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-24@tmp/config9084007040181282930tmp [Pipeline] { [Pipeline] echo 19:00:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:00:55 ---> create-netrc.sh [Pipeline] } 19:00:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:00:56 ---> python-tools-install.sh [Pipeline] echo 19:00:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:00:56 ---> sudo-logs.sh 19:00:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:00:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:00:56 ---> job-cost.sh 19:00:56 lf-activate-venv: SKIPPING 19:00:56 DEBUG: total: 0.2199999988079071 19:00:56 INFO: Retrieving Stack Cost... 19:00:57 INFO: Retrieving Pricing Info for: v3-standard-8 19:00:57 INFO: Archiving Costs [Pipeline] echo 19:00:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:00:57 ---> logs-deploy.sh 19:00:57 lf-activate-venv: SKIPPING 19:00:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-24/9 19:00:57 INFO: archiving workspace using pattern(s): 19:00:58 Archives upload complete. 19:00:58 INFO: archiving logs to Nexus