Pull request #56 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 53d214d660c211fabaeb1f0df01625a9dcc42235 rather than e8aac7c45f8fdf70ae4443fc0a41071cd1a7e61d Obtained Jenkinsfile from 53d214d660c211fabaeb1f0df01625a9dcc42235 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-ssh7876904339623663848.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-ssh17770415314733899084.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-56/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-56/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1321819050878699374.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-ssh5815988704921818933.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-56/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-56/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17152157935085274752.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2924 in /w/workspace/xfoundry_app-record-replay_PR-56 [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-56 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 53d214d660c211fabaeb1f0df01625a9dcc42235 into PR head commit e8aac7c45f8fdf70ae4443fc0a41071cd1a7e61d > 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/56/head:refs/remotes/origin/PR-56 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e8aac7c45f8fdf70ae4443fc0a41071cd1a7e61d # timeout=10 Merge succeeded, producing e8aac7c45f8fdf70ae4443fc0a41071cd1a7e61d Checking out Revision e8aac7c45f8fdf70ae4443fc0a41071cd1a7e61d (PR-56) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 53d214d660c211fabaeb1f0df01625a9dcc42235 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e8aac7c45f8fdf70ae4443fc0a41071cd1a7e61d # timeout=10 Commit message: "feat: Implement Upload (Import) Endpoint" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:21:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script > git rev-list --no-walk 96973b2378f9610ecf731d335722e6aba87b8b43 # timeout=10 [Pipeline] { [Pipeline] withCredentials 23:21:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:21:13 ========================================================= 23:21:13 EdgeX Global Pipelines Version Info 23:21:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:21:15 ------------------- 23:21:15 stable info: 23:21:15 ------------------- 23:21:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:21:15 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 23:21:15 Message: update stable to v1.0.250 23:21:15 ------------------- 23:21:15 experimental info: 23:21:15 ------------------- 23:21:15 Commited By: **** collab-it+edgex@linuxfoundation.org 23:21:15 Commit SHA: 163b961b6db2076ae8f48a223fc443a7a2a2eae3 23:21:15 Message: update experimental to v1.0.251 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:21:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 23:21:15 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 23:21:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:21:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:21:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:21:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:21:15 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:21:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:21:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:21:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:21:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:21:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 23:21:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:21:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:21:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:21:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:21:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:21:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:21:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:21:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:21:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:21:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:21:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:21:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:21:15 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:21:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:21:15 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:21:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-56 [Pipeline] echo 23:21:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-56 [Pipeline] echo 23:21:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-56 [Pipeline] echo 23:21:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e8aac7c45f8fdf70ae4443fc0a41071cd1a7e61d [Pipeline] echo 23:21:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e8aac7c [Pipeline] echo 23:21:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:21:16 provisioning config files... 23:21:16 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-56@tmp/config3563737227203525202tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:21:16 ---> docker-login.sh 23:21:16 nexus3.edgexfoundry.org:10001 23:21:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:16 Configure a credential helper to remove this warning. See 23:21:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:16 23:21:16 Login Succeeded 23:21:16 nexus3.edgexfoundry.org:10002 23:21:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:16 Configure a credential helper to remove this warning. See 23:21:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:16 23:21:16 Login Succeeded 23:21:16 nexus3.edgexfoundry.org:10003 23:21:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:16 Configure a credential helper to remove this warning. See 23:21:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:16 23:21:16 Login Succeeded 23:21:16 nexus3.edgexfoundry.org:10004 23:21:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:17 Configure a credential helper to remove this warning. See 23:21:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:17 23:21:17 Login Succeeded 23:21:17 docker.io 23:21:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:17 Configure a credential helper to remove this warning. See 23:21:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:17 23:21:17 Login Succeeded 23:21:17 ---> docker-login.sh ends [Pipeline] } 23:21:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:21:17 + git rev-list -1 --merges e8aac7c45f8fdf70ae4443fc0a41071cd1a7e61d~1..e8aac7c45f8fdf70ae4443fc0a41071cd1a7e61d [Pipeline] echo 23:21:17 -----------> git rev-list -1 --merges e8aac7c45f8fdf70ae4443fc0a41071cd1a7e61d~1..e8aac7c45f8fdf70ae4443fc0a41071cd1a7e61d e8aac7c45f8fdf70ae4443fc0a41071cd1a7e61d [false] [Pipeline] sh 23:21:18 + git log --format=format:%s -1 e8aac7c45f8fdf70ae4443fc0a41071cd1a7e61d [Pipeline] echo 23:21:18 ========================================================= 23:21:18 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:21:18 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:21:18 + git log --format=format:%s -1 e8aac7c45f8fdf70ae4443fc0a41071cd1a7e61d [Pipeline] echo 23:21:18 [semverPrep] GIT_COMMIT: e8aac7c45f8fdf70ae4443fc0a41071cd1a7e61d, Commit Message: feat: Implement Upload (Import) Endpoint [Pipeline] echo 23:21:18 [semverPrep] This is not a build commit. [Pipeline] sh 23:21:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:21:18 + grep -v github /etc/ssh/ssh_known_hosts 23:21:18 + [ -e /tmp/ssh_known_hosts ] 23:21:18 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:21:18 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:21:18 + sudo tee -a /etc/ssh/ssh_known_hosts 23:21:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:21:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:21:19 23:21:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:21:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:21:19 0.1.4: Pulling from edgex-devops/py-git-semver 23:21:19 b85a868b505f: Pulling fs layer 23:21:19 e2be974225ed: Pulling fs layer 23:21:19 339a4e72a1f5: Pulling fs layer 23:21:19 988bab9f4d93: Pulling fs layer 23:21:19 1469e6f7b9e6: Pulling fs layer 23:21:19 eaf3925da568: Pulling fs layer 23:21:19 bab4dde63d76: Pulling fs layer 23:21:19 bde34c3a00c8: Pulling fs layer 23:21:19 b352a97aabf1: Pulling fs layer 23:21:19 4872d77fe225: Pulling fs layer 23:21:19 5851b861e8e6: Pulling fs layer 23:21:19 bab4dde63d76: Waiting 23:21:19 bde34c3a00c8: Waiting 23:21:19 b352a97aabf1: Waiting 23:21:19 4872d77fe225: Waiting 23:21:19 5851b861e8e6: Waiting 23:21:19 988bab9f4d93: Waiting 23:21:19 1469e6f7b9e6: Waiting 23:21:19 eaf3925da568: Waiting 23:21:19 e2be974225ed: Download complete 23:21:19 988bab9f4d93: Verifying Checksum 23:21:19 988bab9f4d93: Download complete 23:21:19 1469e6f7b9e6: Verifying Checksum 23:21:19 1469e6f7b9e6: Download complete 23:21:19 339a4e72a1f5: Verifying Checksum 23:21:19 339a4e72a1f5: Download complete 23:21:19 eaf3925da568: Verifying Checksum 23:21:19 eaf3925da568: Download complete 23:21:19 bde34c3a00c8: Download complete 23:21:19 b352a97aabf1: Download complete 23:21:19 4872d77fe225: Verifying Checksum 23:21:19 4872d77fe225: Download complete 23:21:19 5851b861e8e6: Download complete 23:21:19 b85a868b505f: Verifying Checksum 23:21:19 b85a868b505f: Download complete 23:21:20 bab4dde63d76: Verifying Checksum 23:21:20 bab4dde63d76: Download complete 23:21:21 b85a868b505f: Pull complete 23:21:21 e2be974225ed: Pull complete 23:21:21 339a4e72a1f5: Pull complete 23:21:21 988bab9f4d93: Pull complete 23:21:22 1469e6f7b9e6: Pull complete 23:21:22 eaf3925da568: Pull complete 23:21:23 bab4dde63d76: Pull complete 23:21:23 bde34c3a00c8: Pull complete 23:21:23 b352a97aabf1: Pull complete 23:21:23 4872d77fe225: Pull complete 23:21:23 5851b861e8e6: Pull complete 23:21:23 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:21:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:21:23 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:21:24 prd-ubuntu20.04-docker-8c-8g-2924 does not seem to be running inside a container 23:21:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-56 -v /w/workspace/xfoundry_app-record-replay_PR-56:/w/workspace/xfoundry_app-record-replay_PR-56:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-56@tmp:/w/workspace/xfoundry_app-record-replay_PR-56@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:21:27 $ docker top 4c22e8c2adc49f7de5bb56f65e5788cc27795ae3e2f694209957d1a79803f562 -eo pid,comm 23:21:27 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). 23:21:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:21:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:21:27 [ssh-agent] Looking for ssh-agent implementation... 23:21:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:21:27 $ docker exec 4c22e8c2adc49f7de5bb56f65e5788cc27795ae3e2f694209957d1a79803f562 ssh-agent 23:21:27 SSH_AUTH_SOCK=/tmp/ssh-kCESWCT4wVoN/agent.33 23:21:27 SSH_AGENT_PID=39 23:21:27 Running ssh-add (command line suppressed) 23:21:27 Identity added: /w/workspace/xfoundry_app-record-replay_PR-56@tmp/private_key_878347107631376633.key (/w/workspace/xfoundry_app-record-replay_PR-56@tmp/private_key_878347107631376633.key) 23:21:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:21:28 + git tag --points-at HEAD [Pipeline] } 23:21:28 $ docker exec --env ******** --env ******** 4c22e8c2adc49f7de5bb56f65e5788cc27795ae3e2f694209957d1a79803f562 ssh-agent -k 23:21:28 unset SSH_AUTH_SOCK; 23:21:28 unset SSH_AGENT_PID; 23:21:28 echo Agent pid 39 killed; 23:21:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:21:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:21:28 [ssh-agent] Looking for ssh-agent implementation... 23:21:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:21:28 $ docker exec 4c22e8c2adc49f7de5bb56f65e5788cc27795ae3e2f694209957d1a79803f562 ssh-agent 23:21:28 SSH_AUTH_SOCK=/tmp/ssh-ItASfbzcrEpu/agent.71 23:21:28 SSH_AGENT_PID=77 23:21:28 Running ssh-add (command line suppressed) 23:21:28 Identity added: /w/workspace/xfoundry_app-record-replay_PR-56@tmp/private_key_4084809922692732278.key (/w/workspace/xfoundry_app-record-replay_PR-56@tmp/private_key_4084809922692732278.key) 23:21:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:21:28 + git semver init 23:21:29 2023-08-04 23:21:29,037 [run_init] DEBUG init version:0.0.0 force:False 23:21:29 2023-08-04 23:21:29,038 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-56/.semver 23:21:29 2023-08-04 23:21:29,038 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-56/.semver 23:21:29 2023-08-04 23:21:29,039 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-56/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-56, universal_newlines=False, shell=None, istream=None) 23:21:29 2023-08-04 23:21:29,657 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-56/.git/info/exclude 23:21:29 2023-08-04 23:21:29,658 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-56/.semver/PR-56 with force:False 23:21:29 2023-08-04 23:21:29,658 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-56/.semver/PR-56 23:21:29 2023-08-04 23:21:29,662 [execute] INFO git cat-file --batch-check 23:21:29 2023-08-04 23:21:29,663 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-56/.semver, universal_newlines=False, shell=None, istream=) 23:21:29 2023-08-04 23:21:29,669 [execute] INFO git cat-file --batch 23:21:29 2023-08-04 23:21:29,670 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-56/.semver, universal_newlines=False, shell=None, istream=) 23:21:29 2023-08-04 23:21:29,674 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-56/.semver/PR-56 23:21:29 0.0.0 [Pipeline] } 23:21:29 $ docker exec --env ******** --env ******** 4c22e8c2adc49f7de5bb56f65e5788cc27795ae3e2f694209957d1a79803f562 ssh-agent -k 23:21:30 unset SSH_AUTH_SOCK; 23:21:30 unset SSH_AGENT_PID; 23:21:30 echo Agent pid 77 killed; 23:21:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:21:30 + git semver [Pipeline] } 23:21:30 $ docker stop --time=1 4c22e8c2adc49f7de5bb56f65e5788cc27795ae3e2f694209957d1a79803f562 23:21:31 $ docker rm -f --volumes 4c22e8c2adc49f7de5bb56f65e5788cc27795ae3e2f694209957d1a79803f562 [Pipeline] // withDockerContainer [Pipeline] sh 23:21:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:21:32 Stashed 1 file(s) [Pipeline] echo 23:21:32 [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 23:21:32 provisioning config files... 23:21:32 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-56@tmp/config1911417602442890262tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:21:32 ---> docker-login.sh 23:21:32 nexus3.edgexfoundry.org:10001 23:21:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:32 Configure a credential helper to remove this warning. See 23:21:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:32 23:21:32 Login Succeeded 23:21:32 nexus3.edgexfoundry.org:10002 23:21:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:32 Configure a credential helper to remove this warning. See 23:21:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:32 23:21:32 Login Succeeded 23:21:32 nexus3.edgexfoundry.org:10003 23:21:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:33 Configure a credential helper to remove this warning. See 23:21:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:33 23:21:33 Login Succeeded 23:21:33 nexus3.edgexfoundry.org:10004 23:21:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:33 Configure a credential helper to remove this warning. See 23:21:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:33 23:21:33 Login Succeeded 23:21:33 docker.io 23:21:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:33 Configure a credential helper to remove this warning. See 23:21:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:33 23:21:33 Login Succeeded 23:21:33 ---> docker-login.sh ends [Pipeline] } 23:21:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:21:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:21:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:21:33 ========================================================= 23:21:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:21:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:21:33 + 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 . 23:21:33 Sending build context to Docker daemon 441.9kB 23:21:33 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:21:33 Step 2/12 : FROM ${BASE} AS builder 23:21:33 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:21:33 4db1b89c0bd1: Pulling fs layer 23:21:33 6911f1a30b25: Pulling fs layer 23:21:33 e194b8c5c2a9: Pulling fs layer 23:21:33 6863d3e3a2b1: Pulling fs layer 23:21:33 ec0bb842ea78: Pulling fs layer 23:21:33 6863d3e3a2b1: Waiting 23:21:33 40a00589a448: Pulling fs layer 23:21:33 6c08303d61cc: Pulling fs layer 23:21:33 798269fcf238: Pulling fs layer 23:21:33 6c08303d61cc: Waiting 23:21:33 798269fcf238: Waiting 23:21:33 40a00589a448: Waiting 23:21:33 6911f1a30b25: Download complete 23:21:33 6863d3e3a2b1: Verifying Checksum 23:21:33 6863d3e3a2b1: Download complete 23:21:33 ec0bb842ea78: Verifying Checksum 23:21:33 ec0bb842ea78: Download complete 23:21:33 4db1b89c0bd1: Verifying Checksum 23:21:33 4db1b89c0bd1: Download complete 23:21:34 40a00589a448: Verifying Checksum 23:21:34 40a00589a448: Download complete 23:21:34 4db1b89c0bd1: Pull complete 23:21:34 6911f1a30b25: Pull complete 23:21:34 798269fcf238: Verifying Checksum 23:21:34 798269fcf238: Download complete 23:21:34 e194b8c5c2a9: Verifying Checksum 23:21:34 e194b8c5c2a9: Download complete 23:21:34 6c08303d61cc: Verifying Checksum 23:21:34 6c08303d61cc: Download complete 23:21:38 e194b8c5c2a9: Pull complete 23:21:38 6863d3e3a2b1: Pull complete 23:21:38 ec0bb842ea78: Pull complete 23:21:38 40a00589a448: Pull complete 23:21:40 6c08303d61cc: Pull complete 23:21:41 798269fcf238: Pull complete 23:21:41 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 23:21:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:21:41 ---> ec979cd7f677 23:21:41 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 23:21:47 Still waiting to schedule task 23:21:47 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 23:21:47 ---> Running in 2f1a85dfc22e 23:21:47 Removing intermediate container 2f1a85dfc22e 23:21:47 ---> c0eafe839007 23:21:47 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:21:47 ---> Running in f03b7148c068 23:21:47 Removing intermediate container f03b7148c068 23:21:47 ---> a02be0f9baf5 23:21:47 Step 5/12 : ARG ADD_BUILD_TAGS="" 23:21:47 ---> Running in 46526d5ae955 23:21:47 Removing intermediate container 46526d5ae955 23:21:47 ---> df9356e059fd 23:21:47 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:21:47 ---> Running in 2eb830a877f4 23:21:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:21:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:21:48 OK: 265 MiB in 53 packages 23:21:48 Removing intermediate container 2eb830a877f4 23:21:48 ---> 6812922ab8e9 23:21:48 Step 7/12 : WORKDIR /app 23:21:48 ---> Running in 53e7e0d8677d 23:21:48 Removing intermediate container 53e7e0d8677d 23:21:48 ---> a03b96bbbcd2 23:21:48 Step 8/12 : COPY go.mod vendor* ./ 23:21:48 ---> 8650c458e6d5 23:21:48 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:21:48 ---> Running in 0e3d4a9bc0fd 23:22:27 Removing intermediate container 0e3d4a9bc0fd 23:22:27 ---> e67a9975b28d 23:22:27 Step 10/12 : COPY . . 23:22:27 ---> a282e2f4115a 23:22:27 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:22:27 ---> Running in 1b424d36e728 23:22:27 Removing intermediate container 1b424d36e728 23:22:27 ---> e8cd3f58f01b 23:22:27 Step 12/12 : RUN $MAKE 23:22:27 ---> Running in 9b5ef60522e6 23:22:27 noop 23:22:27 Removing intermediate container 9b5ef60522e6 23:22:27 ---> 7937123d6407 23:22:27 Successfully built 7937123d6407 23:22:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:22:27 + docker inspect -f . ci-base-image-x86_64 23:22:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:22:27 prd-ubuntu20.04-docker-8c-8g-2924 does not seem to be running inside a container 23:22:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-56 -v /w/workspace/xfoundry_app-record-replay_PR-56:/w/workspace/xfoundry_app-record-replay_PR-56:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-56@tmp:/w/workspace/xfoundry_app-record-replay_PR-56@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 ******** -e ******** ci-base-image-x86_64 cat 23:22:28 $ docker top 390cccaa71f416fabf0d90debd7552f47ac57f889bb9195015e1bc51269fcb89 -eo pid,comm [Pipeline] { [Pipeline] sh 23:22:28 + go version 23:22:28 go version go1.20.6 linux/amd64 [Pipeline] } 23:22:28 $ docker stop --time=1 390cccaa71f416fabf0d90debd7552f47ac57f889bb9195015e1bc51269fcb89 23:22:29 $ docker rm -f --volumes 390cccaa71f416fabf0d90debd7552f47ac57f889bb9195015e1bc51269fcb89 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:22:30 + docker inspect -f . ci-base-image-x86_64 23:22:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:22:30 prd-ubuntu20.04-docker-8c-8g-2924 does not seem to be running inside a container 23:22:30 $ 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-56 -v /w/workspace/xfoundry_app-record-replay_PR-56:/w/workspace/xfoundry_app-record-replay_PR-56:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-56@tmp:/w/workspace/xfoundry_app-record-replay_PR-56@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 ******** -e ******** ci-base-image-x86_64 cat 23:22:30 $ docker top 365a19c2caabfe9f4214df6976a570c14ea3483942cb0d3f290ab660d28cb4bd -eo pid,comm [Pipeline] { [Pipeline] sh 23:22:30 + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-56 [Pipeline] fileExists [Pipeline] sh 23:22:31 + make test 23:22:31 go test -race -coverprofile=coverage.out ./... 23:22:53 ? github.com/edgexfoundry/app-record-replay [no test files] 23:22:53 ok github.com/edgexfoundry/app-record-replay/internal/app 0.055s coverage: 88.0% of statements 23:22:53 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 23:22:53 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 23:22:53 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 23:22:59 ok github.com/edgexfoundry/app-record-replay/internal/application 8.589s coverage: 97.5% of statements 23:22:59 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.104s coverage: 79.8% of statements 23:23:17 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2925 in /w/workspace/xfoundry_app-record-replay_PR-56 [Pipeline] { [Pipeline] ws 23:23:17 Running in /w/workspace/app-record-replay/3 [Pipeline] { [Pipeline] checkout 23:23:17 Selected Git installation does not exist. Using Default 23:23:17 The recommended git tool is: NONE 23:23:21 go vet ./... 23:23:22 using credential edgex-jenkins-ssh 23:23:22 Cloning the remote Git repository 23:23:22 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 23:23:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:23:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:23:24 ./bin/test-attribution-txt.sh [Pipeline] echo 23:23:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:23:24 $ docker stop --time=1 365a19c2caabfe9f4214df6976a570c14ea3483942cb0d3f290ab660d28cb4bd 23:23:22 > git init /w/workspace/app-record-replay/3 # timeout=10 23:23:24 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 23:23:24 > git --version # timeout=10 23:23:24 > git --version # 'git version 2.25.1' 23:23:24 using GIT_SSH to set credentials SSH Credentials for GitHub 23:23:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:23:25 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 23:23:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:23:27 Merging remotes/origin/main commit 53d214d660c211fabaeb1f0df01625a9dcc42235 into PR head commit e8aac7c45f8fdf70ae4443fc0a41071cd1a7e61d 23:23:26 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 23:23:26 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 23:23:26 using GIT_SSH to set credentials SSH Credentials for GitHub 23:23:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/56/head:refs/remotes/origin/PR-56 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:23:27 > git config core.sparsecheckout # timeout=10 23:23:27 > git checkout -f e8aac7c45f8fdf70ae4443fc0a41071cd1a7e61d # timeout=10 23:23:27 Merge succeeded, producing e8aac7c45f8fdf70ae4443fc0a41071cd1a7e61d 23:23:27 Checking out Revision e8aac7c45f8fdf70ae4443fc0a41071cd1a7e61d (PR-56) 23:23:27 $ docker rm -f --volumes 365a19c2caabfe9f4214df6976a570c14ea3483942cb0d3f290ab660d28cb4bd [Pipeline] // withDockerContainer [Pipeline] sh 23:23:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:23:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 23:23:27 > git remote # timeout=10 23:23:27 > git config --get remote.origin.url # timeout=10 23:23:27 using GIT_SSH to set credentials SSH Credentials for GitHub 23:23:27 > git merge 53d214d660c211fabaeb1f0df01625a9dcc42235 # timeout=10 23:23:27 > git rev-parse HEAD^{commit} # timeout=10 23:23:27 > git config core.sparsecheckout # timeout=10 23:23:27 > git checkout -f e8aac7c45f8fdf70ae4443fc0a41071cd1a7e61d # timeout=10 [Pipeline] sh 23:23:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:23:29 + ls -al . 23:23:29 total 176 23:23:29 drwxrwxr-x 9 jenkins jenkins 4096 Aug 4 23:22 . 23:23:29 drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 23:21 .. 23:23:29 -rw-rw-r-- 1 jenkins jenkins 119 Aug 4 23:21 .dockerignore 23:23:29 drwxrwxr-x 8 jenkins jenkins 4096 Aug 4 23:21 .git 23:23:29 drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 23:21 .github 23:23:29 -rw-rw-r-- 1 jenkins jenkins 164 Aug 4 23:21 .gitignore 23:23:29 -rw-rw-r-- 1 jenkins jenkins 41 Aug 4 23:21 .golangci.yml 23:23:29 drwxr-xr-x 3 jenkins jenkins 4096 Aug 4 23:21 .semver 23:23:29 -rw-rw-r-- 1 jenkins jenkins 10642 Aug 4 23:21 Attribution.txt 23:23:29 -rw-rw-r-- 1 jenkins jenkins 258 Aug 4 23:21 CHANGELOG.md 23:23:29 -rw-rw-r-- 1 jenkins jenkins 1616 Aug 4 23:21 Dockerfile 23:23:29 -rw-rw-r-- 1 jenkins jenkins 677 Aug 4 23:21 GOVERNANCE.md 23:23:29 -rw-rw-r-- 1 jenkins jenkins 681 Aug 4 23:21 Jenkinsfile 23:23:29 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 4 23:21 LICENSE 23:23:29 -rw-rw-r-- 1 jenkins jenkins 3139 Aug 4 23:21 Makefile 23:23:29 -rw-rw-r-- 1 jenkins jenkins 611 Aug 4 23:21 OWNERS.md 23:23:29 -rw-rw-r-- 1 jenkins jenkins 2363 Aug 4 23:21 README.md 23:23:29 -rw-rw-r-- 1 jenkins jenkins 4285 Aug 4 23:21 Record and Reply.postman_collection.json 23:23:29 -rw-rw-r-- 1 jenkins jenkins 5 Aug 4 23:21 VERSION 23:23:29 drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 23:21 bin 23:23:29 -rw-r--r-- 1 jenkins jenkins 17650 Aug 4 23:22 coverage.out 23:23:29 -rw-rw-r-- 1 jenkins jenkins 3668 Aug 4 23:21 go.mod 23:23:29 -rw-rw-r-- 1 jenkins jenkins 32847 Aug 4 23:21 go.sum 23:23:29 drwxrwxr-x 6 jenkins jenkins 4096 Aug 4 23:21 internal 23:23:29 -rw-rw-r-- 1 jenkins jenkins 913 Aug 4 23:21 main.go 23:23:29 drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 23:21 pkg 23:23:29 drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 23:21 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:23:29 + 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=e8aac7c45f8fdf70ae4443fc0a41071cd1a7e61d --label arch=amd64 --label version=0.0.0 . 23:23:29 Sending build context to Docker daemon 460.3kB 23:23:29 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 23:23:29 Step 2/26 : FROM ${BASE} AS builder 23:23:29 ---> 7937123d6407 23:23:29 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 23:23:29 ---> Running in 014864b052cd 23:23:29 Removing intermediate container 014864b052cd 23:23:29 ---> 651c897facf7 23:23:29 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 23:23:29 ---> Running in 0350f18f2037 23:23:29 Removing intermediate container 0350f18f2037 23:23:29 ---> e7b2509aa3f2 23:23:29 Step 5/26 : ARG ADD_BUILD_TAGS="" 23:23:29 ---> Running in 26c31be7f151 23:23:29 Removing intermediate container 26c31be7f151 23:23:29 ---> 6a6fae036749 23:23:29 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:23:29 ---> Running in 26398753bbee 23:23:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:23:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:23:30 OK: 265 MiB in 53 packages 23:23:30 Removing intermediate container 26398753bbee 23:23:30 Commit message: "feat: Implement Upload (Import) Endpoint" 23:23:30 ---> 2ba1ed619055 23:23:30 Step 7/26 : WORKDIR /app 23:23:30 ---> Running in 33d48b50ebaa 23:23:31 Removing intermediate container 33d48b50ebaa 23:23:31 ---> 081615648561 23:23:31 Step 8/26 : COPY go.mod vendor* ./ 23:23:31 ---> dc92b18e48e3 23:23:31 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:23:31 ---> Running in 3f89cce3d0a0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:23:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:23:31 % Total % Received % Xferd Average Speed Time Time Time Current 23:23:31 Dload Upload Total Spent Left Speed 23:23:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 99k 0 --:--:-- --:--:-- --:--:-- 99k 23:23:32 Removing intermediate container 3f89cce3d0a0 23:23:32 ---> 56859fec2ebf 23:23:32 Step 10/26 : COPY . . 23:23:32 ---> 4e93754a2914 23:23:32 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:23:32 ---> Running in 2659fbdcc97c 23:23:32 Removing intermediate container 2659fbdcc97c 23:23:32 ---> e0677490e762 23:23:32 Step 12/26 : RUN $MAKE [Pipeline] sh 23:23:32 ---> Running in bd2c899156d1 23:23:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:23:32 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.15 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 23:23:32 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:23:32 + sudo tee /etc/docker/daemon.new 23:23:32 { 23:23:32 "registry-mirrors": [ 23:23:32 "https://nexus3.edgexfoundry.org:10001" 23:23:32 ], 23:23:32 "bip": "10.250.0.254/24", 23:23:32 "hosts": [ 23:23:32 "tcp://0.0.0.0:5555", 23:23:32 "unix:///var/run/docker.sock" 23:23:32 ], 23:23:32 "mtu": 1458, 23:23:32 "selinux-enabled": true, 23:23:32 "seccomp-profile": "/etc/docker/seccomp.json" 23:23:32 } [Pipeline] sh 23:23:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:23:33 + sudo service docker restart 23:23:50 Removing intermediate container bd2c899156d1 23:23:50 ---> 17a799e923de 23:23:50 Step 13/26 : FROM alpine:3.17 23:23:50 3.17: Pulling from library/alpine 23:23:51 4db1b89c0bd1: Already exists 23:23:51 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 23:23:51 Status: Downloaded newer image for alpine:3.17 23:23:51 ---> 1f73a9d63274 23:23:51 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 23:23:51 ---> Running in c961ca83f7af 23:23:51 Removing intermediate container c961ca83f7af 23:23:51 ---> c655e0332079 23:23:51 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 23:23:51 ---> Running in 002679973b18 23:23:51 Removing intermediate container 002679973b18 23:23:51 ---> 3f39d3cd4a2d 23:23:51 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 23:23:51 ---> Running in a1e8be4ee5e9 23:23:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:23:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:23:52 (1/2) Installing ca-certificates (20230506-r0) 23:23:52 (2/2) Installing dumb-init (1.2.5-r2) 23:23:52 Executing busybox-1.35.0-r29.trigger 23:23:52 Executing ca-certificates-20230506-r0.trigger 23:23:52 OK: 8 MiB in 17 packages 23:23:52 Removing intermediate container a1e8be4ee5e9 23:23:52 ---> 06221856671f 23:23:52 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 23:23:52 ---> 5fd4c0bd2831 23:23:52 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 23:23:52 ---> 5a722cf1dc3a 23:23:52 Step 19/26 : COPY --from=builder /app/res/ /res/ 23:23:52 ---> 006ea88a10a6 23:23:52 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 23:23:53 ---> a29de033779c 23:23:53 Step 21/26 : EXPOSE 59712 23:23:53 ---> Running in 16de39b99058 23:23:53 Removing intermediate container 16de39b99058 23:23:53 ---> 454e109e8a14 23:23:53 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 23:23:53 ---> Running in 17f2624dc124 23:23:53 Removing intermediate container 17f2624dc124 23:23:53 ---> 941bed6a462f 23:23:53 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 23:23:53 ---> Running in 4443b302f1cf 23:23:53 Removing intermediate container 4443b302f1cf 23:23:53 ---> 1c62dcb72db7 23:23:53 Step 24/26 : LABEL arch=amd64 23:23:53 ---> Running in 23765d4c80e5 23:23:53 Removing intermediate container 23765d4c80e5 23:23:53 ---> b463904d00cb 23:23:53 Step 25/26 : LABEL git_sha=e8aac7c45f8fdf70ae4443fc0a41071cd1a7e61d 23:23:54 ---> Running in 9f2515f9bd99 23:23:54 Removing intermediate container 9f2515f9bd99 23:23:54 ---> 16dc4f2276a2 23:23:54 Step 26/26 : LABEL version=0.0.0 23:23:54 ---> Running in 9c353181dc51 23:23:54 Removing intermediate container 9c353181dc51 23:23:54 ---> 93c7095006c7 23:23:54 [Warning] One or more build-args [ARCH] were not consumed 23:23:54 Successfully built 93c7095006c7 23:23:54 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 23:23:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:23:54 23:23:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:23:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:23:54 latest: Pulling from edgex-lftools-log-publisher 23:23:54 5eb5b503b376: Pulling fs layer 23:23:54 5c69ac0246d0: Pulling fs layer 23:23:54 ec43610c2a17: Pulling fs layer 23:23:54 3a2ae6a8a46f: Pulling fs layer 23:23:54 33b1e0a273af: Pulling fs layer 23:23:54 5d3b04190fa2: Pulling fs layer 23:23:54 2f39f015ded8: Pulling fs layer 23:23:54 3a2ae6a8a46f: Waiting 23:23:54 33b1e0a273af: Waiting 23:23:54 5d3b04190fa2: Waiting 23:23:54 2f39f015ded8: Waiting 23:23:54 5c69ac0246d0: Download complete 23:23:54 3a2ae6a8a46f: Verifying Checksum 23:23:54 3a2ae6a8a46f: Download complete 23:23:54 33b1e0a273af: Verifying Checksum 23:23:54 33b1e0a273af: Download complete 23:23:54 5d3b04190fa2: Verifying Checksum 23:23:54 5d3b04190fa2: Download complete 23:23:55 ec43610c2a17: Verifying Checksum 23:23:55 ec43610c2a17: Download complete 23:23:55 5eb5b503b376: Verifying Checksum 23:23:55 5eb5b503b376: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:23:55 provisioning config files... 23:23:55 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/3@tmp/config11192433349622058863tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:23:55 2f39f015ded8: Download complete 23:23:55 ---> docker-login.sh 23:23:55 nexus3.edgexfoundry.org:10001 23:23:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:23:56 5eb5b503b376: Pull complete 23:23:56 5c69ac0246d0: Pull complete 23:23:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:23:56 Configure a credential helper to remove this warning. See 23:23:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:23:56 23:23:56 Login Succeeded 23:23:56 nexus3.edgexfoundry.org:10002 23:23:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:23:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:23:56 Configure a credential helper to remove this warning. See 23:23:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:23:56 23:23:56 Login Succeeded 23:23:56 nexus3.edgexfoundry.org:10003 23:23:56 ec43610c2a17: Pull complete 23:23:56 3a2ae6a8a46f: Pull complete 23:23:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:23:57 33b1e0a273af: Pull complete 23:23:57 5d3b04190fa2: Pull complete 23:23:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:23:57 Configure a credential helper to remove this warning. See 23:23:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:23:57 23:23:57 Login Succeeded 23:23:57 nexus3.edgexfoundry.org:10004 23:23:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:23:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:23:57 Configure a credential helper to remove this warning. See 23:23:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:23:57 23:23:57 Login Succeeded 23:23:57 docker.io 23:23:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:23:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:23:58 Configure a credential helper to remove this warning. See 23:23:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:23:58 23:23:58 Login Succeeded 23:23:58 ---> docker-login.sh ends [Pipeline] } 23:23:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:23:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:23:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:23:58 ========================================================= 23:23:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:23:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:23:58 + 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 . 23:23:58 Sending build context to Docker daemon 203.3kB 23:23:58 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:23:58 Step 2/12 : FROM ${BASE} AS builder 23:23:58 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:23:58 edb6bdbacee9: Pulling fs layer 23:23:58 5f9638ab2659: Pulling fs layer 23:23:58 8d51d6327a98: Pulling fs layer 23:23:58 8b374f2dd631: Pulling fs layer 23:23:58 ec14aa9079de: Pulling fs layer 23:23:58 8b374f2dd631: Waiting 23:23:58 ec14aa9079de: Waiting 23:23:58 2f466654f4bb: Pulling fs layer 23:23:58 554e91adad29: Pulling fs layer 23:23:58 2f466654f4bb: Waiting 23:23:58 554e91adad29: Waiting 23:23:58 5f9638ab2659: Verifying Checksum 23:23:58 5f9638ab2659: Download complete 23:23:59 8b374f2dd631: Verifying Checksum 23:23:59 8b374f2dd631: Download complete 23:23:59 ec14aa9079de: Verifying Checksum 23:23:59 ec14aa9079de: Download complete 23:23:59 edb6bdbacee9: Verifying Checksum 23:23:59 edb6bdbacee9: Download complete 23:24:00 edb6bdbacee9: Pull complete 23:24:00 554e91adad29: Verifying Checksum 23:24:00 554e91adad29: Download complete 23:24:00 5f9638ab2659: Pull complete 23:24:01 2f39f015ded8: Pull complete 23:24:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:24:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:24:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:24:01 prd-ubuntu20.04-docker-8c-8g-2924 does not seem to be running inside a container 23:24:01 $ 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-56 -v /w/workspace/xfoundry_app-record-replay_PR-56:/w/workspace/xfoundry_app-record-replay_PR-56:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-56@tmp:/w/workspace/xfoundry_app-record-replay_PR-56@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:24:01 8d51d6327a98: Verifying Checksum 23:24:01 8d51d6327a98: Download complete 23:24:01 2f466654f4bb: Verifying Checksum 23:24:01 2f466654f4bb: Download complete 23:24:04 $ docker top 7b5fd7bea9354a960094bf6dbcb21726530f7d0a32d353d779d46892eede35ba -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:24:04 ---> job-cost.sh 23:24:04 lf-activate-venv: SKIPPING 23:24:04 INFO: No Stack... 23:24:05 INFO: Retrieving Pricing Info for: v3-standard-8 23:24:05 INFO: Archiving Costs [Pipeline] sh 23:24:06 + cat /w/workspace/xfoundry_app-record-replay_PR-56/archives/cost.csv 23:24:06 + cut -d, -f6 [Pipeline] lock 23:24:06 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-56-3-stack-cost] 23:24:06 Resource [jenkins-edgexfoundry-app-record-replay-PR-56-3-stack-cost] did not exist. Created. 23:24:06 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-56-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:24:06 + echo total: 0.2199999988079071 [Pipeline] stash 23:24:06 Stashed 1 file(s) [Pipeline] } 23:24:06 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-56-3-stack-cost] [Pipeline] // lock [Pipeline] } 23:24:06 $ docker stop --time=1 7b5fd7bea9354a960094bf6dbcb21726530f7d0a32d353d779d46892eede35ba 23:24:07 $ docker rm -f --volumes 7b5fd7bea9354a960094bf6dbcb21726530f7d0a32d353d779d46892eede35ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:24:14 8d51d6327a98: Pull complete 23:24:14 8b374f2dd631: Pull complete 23:24:14 ec14aa9079de: Pull complete 23:24:20 2f466654f4bb: Pull complete 23:24:22 554e91adad29: Pull complete 23:24:22 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 23:24:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:24:22 ---> 1e15ea492957 23:24:22 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 23:24:23 ---> Running in 2878ed39c433 23:24:23 Removing intermediate container 2878ed39c433 23:24:23 ---> 7072dcdce02c 23:24:23 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:24:23 ---> Running in 0687fc2d12ca 23:24:23 Removing intermediate container 0687fc2d12ca 23:24:23 ---> 25a890ff5133 23:24:23 Step 5/12 : ARG ADD_BUILD_TAGS="" 23:24:23 ---> Running in 744fc46137d4 23:24:24 Removing intermediate container 744fc46137d4 23:24:24 ---> 70b49b40692a 23:24:24 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:24:24 ---> Running in e39d7182a367 23:24:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:24:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:24:26 OK: 263 MiB in 53 packages 23:24:27 Removing intermediate container e39d7182a367 23:24:27 ---> 92f376acdd0f 23:24:27 Step 7/12 : WORKDIR /app 23:24:27 ---> Running in 828bdabd95d0 23:24:27 Removing intermediate container 828bdabd95d0 23:24:27 ---> 2d501411223c 23:24:27 Step 8/12 : COPY go.mod vendor* ./ 23:24:28 ---> 3dd5699c5428 23:24:28 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:24:28 ---> Running in 40bba80a46e2 23:25:36 Removing intermediate container 40bba80a46e2 23:25:36 ---> af106a8de63a 23:25:36 Step 10/12 : COPY . . 23:25:36 ---> 38fbf34033aa 23:25:36 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:25:36 ---> Running in fda834b252f9 23:25:36 Removing intermediate container fda834b252f9 23:25:36 ---> c91080cb739c 23:25:36 Step 12/12 : RUN $MAKE 23:25:36 ---> Running in 4e7f88865c5b 23:25:36 noop 23:25:36 Removing intermediate container 4e7f88865c5b 23:25:36 ---> 737601ac7b1d 23:25:36 Successfully built 737601ac7b1d 23:25:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:25:36 + docker inspect -f . ci-base-image-arm64 23:25:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:25:36 prd-ubuntu20.04-docker-arm64-4c-16g-2925 does not seem to be running inside a container 23:25:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/3 -v /w/workspace/app-record-replay/3:/w/workspace/app-record-replay/3:rw,z -v /w/workspace/app-record-replay/3@tmp:/w/workspace/app-record-replay/3@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 ******** -e ******** ci-base-image-arm64 cat 23:25:38 $ docker top 568fca7048b95b806d230cd979668b645b2ce195aec60a30fe32e8d7c67aec66 -eo pid,comm [Pipeline] { [Pipeline] sh 23:25:39 + go version 23:25:39 go version go1.20.6 linux/arm64 [Pipeline] } 23:25:39 $ docker stop --time=1 568fca7048b95b806d230cd979668b645b2ce195aec60a30fe32e8d7c67aec66 23:25:40 $ docker rm -f --volumes 568fca7048b95b806d230cd979668b645b2ce195aec60a30fe32e8d7c67aec66 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:25:41 + docker inspect -f . ci-base-image-arm64 23:25:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:25:41 prd-ubuntu20.04-docker-arm64-4c-16g-2925 does not seem to be running inside a container 23:25:41 $ 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/3 -v /w/workspace/app-record-replay/3:/w/workspace/app-record-replay/3:rw,z -v /w/workspace/app-record-replay/3@tmp:/w/workspace/app-record-replay/3@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 ******** -e ******** ci-base-image-arm64 cat 23:25:42 $ docker top eae2d93de6b74aa1b582d1eb7753908920e592678308e393bbed7366c05e0f69 -eo pid,comm [Pipeline] { [Pipeline] sh 23:25:43 + git config --global --add safe.directory /w/workspace/app-record-replay/3 [Pipeline] fileExists [Pipeline] sh 23:25:43 + make test 23:25:43 go test -race -coverprofile=coverage.out ./... 23:28:35 ? github.com/edgexfoundry/app-record-replay [no test files] 23:28:35 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 23:28:35 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 23:28:35 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 23:28:35 ok github.com/edgexfoundry/app-record-replay/internal/app 0.329s coverage: 88.0% of statements 23:28:45 ok github.com/edgexfoundry/app-record-replay/internal/application 8.912s coverage: 97.5% of statements 23:28:45 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.577s coverage: 79.8% of statements 23:28:45 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:28:45 go vet ./... 23:31:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:31:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:31:06 ./bin/test-attribution-txt.sh [Pipeline] echo 23:31:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:31:06 $ docker stop --time=1 eae2d93de6b74aa1b582d1eb7753908920e592678308e393bbed7366c05e0f69 23:31:08 $ docker rm -f --volumes eae2d93de6b74aa1b582d1eb7753908920e592678308e393bbed7366c05e0f69 [Pipeline] // withDockerContainer [Pipeline] sh 23:31:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:31:10 Warning: overwriting stash ‘coverage-report’ 23:31:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:31:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:31:11 + ls -al . 23:31:11 total 172 23:31:11 drwxrwxr-x 8 jenkins jenkins 4096 Aug 4 23:25 . 23:31:11 drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 23:23 .. 23:31:11 -rw-rw-r-- 1 jenkins jenkins 119 Aug 4 23:23 .dockerignore 23:31:11 drwxrwxr-x 8 jenkins jenkins 4096 Aug 4 23:23 .git 23:31:11 drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 23:23 .github 23:31:11 -rw-rw-r-- 1 jenkins jenkins 164 Aug 4 23:23 .gitignore 23:31:11 -rw-rw-r-- 1 jenkins jenkins 41 Aug 4 23:23 .golangci.yml 23:31:11 -rw-rw-r-- 1 jenkins jenkins 10642 Aug 4 23:23 Attribution.txt 23:31:11 -rw-rw-r-- 1 jenkins jenkins 258 Aug 4 23:23 CHANGELOG.md 23:31:11 -rw-rw-r-- 1 jenkins jenkins 1616 Aug 4 23:23 Dockerfile 23:31:11 -rw-rw-r-- 1 jenkins jenkins 677 Aug 4 23:23 GOVERNANCE.md 23:31:11 -rw-rw-r-- 1 jenkins jenkins 681 Aug 4 23:23 Jenkinsfile 23:31:11 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 4 23:23 LICENSE 23:31:11 -rw-rw-r-- 1 jenkins jenkins 3139 Aug 4 23:23 Makefile 23:31:11 -rw-rw-r-- 1 jenkins jenkins 611 Aug 4 23:23 OWNERS.md 23:31:11 -rw-rw-r-- 1 jenkins jenkins 2363 Aug 4 23:23 README.md 23:31:11 -rw-rw-r-- 1 jenkins jenkins 4285 Aug 4 23:23 Record and Reply.postman_collection.json 23:31:11 -rw-rw-r-- 1 jenkins jenkins 5 Aug 4 23:21 VERSION 23:31:11 drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 23:23 bin 23:31:11 -rw-r--r-- 1 jenkins jenkins 17650 Aug 4 23:28 coverage.out 23:31:11 -rw-rw-r-- 1 jenkins jenkins 3668 Aug 4 23:23 go.mod 23:31:11 -rw-rw-r-- 1 jenkins jenkins 32847 Aug 4 23:23 go.sum 23:31:11 drwxrwxr-x 6 jenkins jenkins 4096 Aug 4 23:23 internal 23:31:11 -rw-rw-r-- 1 jenkins jenkins 913 Aug 4 23:23 main.go 23:31:11 drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 23:23 pkg 23:31:11 drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 23:23 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:31:11 + 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=e8aac7c45f8fdf70ae4443fc0a41071cd1a7e61d --label arch=arm64 --label version=0.0.0 . 23:31:11 Sending build context to Docker daemon 221.7kB 23:31:12 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 23:31:12 Step 2/26 : FROM ${BASE} AS builder 23:31:12 ---> 737601ac7b1d 23:31:12 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 23:31:12 ---> Running in 85126515c9fc 23:31:12 Removing intermediate container 85126515c9fc 23:31:12 ---> 52bb494d1449 23:31:12 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 23:31:12 ---> Running in bc30d16a7956 23:31:12 Removing intermediate container bc30d16a7956 23:31:12 ---> 6bce0ecd42ac 23:31:12 Step 5/26 : ARG ADD_BUILD_TAGS="" 23:31:12 ---> Running in 208d37fa664a 23:31:13 Removing intermediate container 208d37fa664a 23:31:13 ---> 898b82d79edd 23:31:13 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:31:13 ---> Running in 4eee8fcee685 23:31:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:31:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:31:15 OK: 263 MiB in 53 packages 23:31:17 Removing intermediate container 4eee8fcee685 23:31:17 ---> 7de2ec798d09 23:31:17 Step 7/26 : WORKDIR /app 23:31:17 ---> Running in 0ae467946233 23:31:17 Removing intermediate container 0ae467946233 23:31:17 ---> 6080a3d9bf10 23:31:17 Step 8/26 : COPY go.mod vendor* ./ 23:31:18 ---> 9af157899ee6 23:31:18 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:31:18 ---> Running in 4af08b02030c 23:31:20 Removing intermediate container 4af08b02030c 23:31:20 ---> f852c82f10b2 23:31:20 Step 10/26 : COPY . . 23:31:20 ---> c7eea319c74c 23:31:20 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:31:20 ---> Running in 900c38aee88e 23:31:21 Removing intermediate container 900c38aee88e 23:31:21 ---> 9f5213c78f7f 23:31:21 Step 12/26 : RUN $MAKE 23:31:21 ---> Running in 7c49ac2c804e 23:31:22 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.15 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 23:33:28 Removing intermediate container 7c49ac2c804e 23:33:28 ---> fb3a5f6a2869 23:33:28 Step 13/26 : FROM alpine:3.17 23:33:28 3.17: Pulling from library/alpine 23:33:28 edb6bdbacee9: Already exists 23:33:28 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 23:33:28 Status: Downloaded newer image for alpine:3.17 23:33:28 ---> 779605e5fbc0 23:33:28 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 23:33:28 ---> Running in 4ca6f0fed919 23:33:28 Removing intermediate container 4ca6f0fed919 23:33:28 ---> a7d0ee47d746 23:33:28 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 23:33:28 ---> Running in 2f7438c27fca 23:33:28 Removing intermediate container 2f7438c27fca 23:33:28 ---> 1bbc6254ddba 23:33:28 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 23:33:28 ---> Running in e0a5b73e1d1e 23:33:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:33:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:33:28 (1/2) Installing ca-certificates (20230506-r0) 23:33:28 (2/2) Installing dumb-init (1.2.5-r2) 23:33:28 Executing busybox-1.35.0-r29.trigger 23:33:28 Executing ca-certificates-20230506-r0.trigger 23:33:29 OK: 8 MiB in 17 packages 23:33:32 Removing intermediate container e0a5b73e1d1e 23:33:32 ---> c86c30d05a12 23:33:32 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 23:33:32 ---> 5b631ecf733c 23:33:32 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 23:33:32 ---> 9b8b3ecd1fdb 23:33:32 Step 19/26 : COPY --from=builder /app/res/ /res/ 23:33:33 ---> 9d5100aee825 23:33:33 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 23:33:34 ---> 779eee6bcc82 23:33:34 Step 21/26 : EXPOSE 59712 23:33:34 ---> Running in a364418d9e3a 23:33:34 Removing intermediate container a364418d9e3a 23:33:34 ---> 58e35b22e826 23:33:34 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 23:33:35 ---> Running in 047e849ac42e 23:33:35 Removing intermediate container 047e849ac42e 23:33:35 ---> 5a1d576076a7 23:33:35 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 23:33:35 ---> Running in 6076e40d981d 23:33:35 Removing intermediate container 6076e40d981d 23:33:35 ---> e62666da6e63 23:33:35 Step 24/26 : LABEL arch=arm64 23:33:35 ---> Running in 35ed195ff4ac 23:33:35 Removing intermediate container 35ed195ff4ac 23:33:35 ---> 39644cdc3732 23:33:35 Step 25/26 : LABEL git_sha=e8aac7c45f8fdf70ae4443fc0a41071cd1a7e61d 23:33:35 ---> Running in 1f5000a92108 23:33:36 Removing intermediate container 1f5000a92108 23:33:36 ---> 731dbbd31af8 23:33:36 Step 26/26 : LABEL version=0.0.0 23:33:36 ---> Running in 8b097e0e766b 23:33:36 Removing intermediate container 8b097e0e766b 23:33:36 ---> 47d5fb793f19 23:33:36 [Warning] One or more build-args [ARCH] were not consumed 23:33:36 Successfully built 47d5fb793f19 23:33:36 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 23:33:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:33:37 23:33:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:33:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:33:37 arm64: Pulling from edgex-lftools-log-publisher 23:33:37 8998bd30e6a1: Pulling fs layer 23:33:37 04944245beec: Pulling fs layer 23:33:37 699f458cf7ca: Pulling fs layer 23:33:37 765212b225bb: Pulling fs layer 23:33:37 f23df028b6ca: Pulling fs layer 23:33:37 d65c8cfc05b1: Pulling fs layer 23:33:37 2437ff75d9bd: Pulling fs layer 23:33:37 f23df028b6ca: Waiting 23:33:37 d65c8cfc05b1: Waiting 23:33:37 2437ff75d9bd: Waiting 23:33:37 765212b225bb: Waiting 23:33:37 04944245beec: Verifying Checksum 23:33:37 04944245beec: Download complete 23:33:37 765212b225bb: Verifying Checksum 23:33:37 765212b225bb: Download complete 23:33:37 f23df028b6ca: Verifying Checksum 23:33:37 f23df028b6ca: Download complete 23:33:37 d65c8cfc05b1: Verifying Checksum 23:33:37 d65c8cfc05b1: Download complete 23:33:37 699f458cf7ca: Verifying Checksum 23:33:37 699f458cf7ca: Download complete 23:33:38 8998bd30e6a1: Verifying Checksum 23:33:38 8998bd30e6a1: Download complete 23:33:40 2437ff75d9bd: Verifying Checksum 23:33:40 2437ff75d9bd: Download complete 23:33:42 8998bd30e6a1: Pull complete 23:33:42 04944245beec: Pull complete 23:33:44 699f458cf7ca: Pull complete 23:33:44 765212b225bb: Pull complete 23:33:45 f23df028b6ca: Pull complete 23:33:45 d65c8cfc05b1: Pull complete 23:34:00 2437ff75d9bd: Pull complete 23:34:00 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:34:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:34:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:34:00 prd-ubuntu20.04-docker-arm64-4c-16g-2925 does not seem to be running inside a container 23:34:00 $ 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/3 -v /w/workspace/app-record-replay/3:/w/workspace/app-record-replay/3:rw,z -v /w/workspace/app-record-replay/3@tmp:/w/workspace/app-record-replay/3@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:34:03 $ docker top bcfdfd02dd47ff56d281fa10c039f8723ba90722cf110b582188e58774450b27 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:34:03 ---> job-cost.sh 23:34:03 lf-activate-venv: SKIPPING 23:34:03 INFO: No Stack... 23:34:04 INFO: Retrieving Pricing Info for: v3-standard-4 23:34:05 INFO: Archiving Costs [Pipeline] sh 23:34:05 + cat /w/workspace/app-record-replay/3/archives/cost.csv 23:34:05 + cut -d, -f6 [Pipeline] lock 23:34:05 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-56-3-stack-cost] 23:34:05 Resource [jenkins-edgexfoundry-app-record-replay-PR-56-3-stack-cost] did not exist. Created. 23:34:05 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-56-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:34:05 /w/workspace/app-record-replay/3@tmp/durable-f230857a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:34:06 + echo total: 0.10999999940395355 [Pipeline] stash 23:34:06 Warning: overwriting stash ‘stack-cost’ 23:34:06 Stashed 1 file(s) [Pipeline] } 23:34:06 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-56-3-stack-cost] [Pipeline] // lock [Pipeline] } 23:34:06 $ docker stop --time=1 bcfdfd02dd47ff56d281fa10c039f8723ba90722cf110b582188e58774450b27 23:34:07 $ docker rm -f --volumes bcfdfd02dd47ff56d281fa10c039f8723ba90722cf110b582188e58774450b27 [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 23:34:08 provisioning config files... 23:34:08 Could not find credentials [app-record-replay-codecov-token] for edgexfoundry/app-record-replay/PR-56 #3 23:34:08 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/xfoundry_app-record-replay_PR-56@tmp/config17333464846050747104tmp [Pipeline] { [Pipeline] sh 23:34:08 + set +x 23:34:08 + + bash -scurl -- -s 23:34:08 https://codecov.io/bash 23:34:08 23:34:08 _____ _ 23:34:08 / ____| | | 23:34:08 | | ___ __| | ___ ___ _____ __ 23:34:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:34:08 | |___| (_) | (_| | __/ (_| (_) \ V / 23:34:08 \_____\___/ \__,_|\___|\___\___/ \_/ 23:34:08 Bash-1.0.6 23:34:08 23:34:08 23:34:08 ==> git version 2.25.1 found 23:34:08 ==> 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 23:34:08 Release-Date: 2020-01-08 23:34:08 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:34:08 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:34:08 ==> Jenkins CI detected. 23:34:08 current dir:  /w/workspace/xfoundry_app-record-replay_PR-56 23:34:08 project root: . 23:34:08 --> token set from env 23:34:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:34:08 ==> Running gcov in . (disable via -X gcov) 23:34:08 ==> Python coveragepy not found 23:34:08 ==> Searching for coverage reports in: 23:34:08 + . 23:34:08 -> Found 1 reports 23:34:08 ==> Detecting git/mercurial file structure 23:34:08 ==> Reading reports 23:34:08 + ./coverage.out bytes=17650 23:34:08 ==> Appending adjustments 23:34:08 https://docs.codecov.io/docs/fixing-reports 23:34:08 + Found adjustments 23:34:08 ==> Gzipping contents 23:34:08 4.0K /tmp/codecov.lDU4nd.gz 23:34:08 ==> Uploading reports 23:34:08 url: https://codecov.io 23:34:08 query: branch=PR-56&commit=e8aac7c45f8fdf70ae4443fc0a41071cd1a7e61d&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-56%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=56&job=&cmd_args= 23:34:08 -> Pinging Codecov 23:34:08 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=$CCTOKEN&branch=PR-56&commit=e8aac7c45f8fdf70ae4443fc0a41071cd1a7e61d&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-56%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=56&job=&cmd_args= 23:34:08 Invalid request parameters 23:34:08 400 [Pipeline] } 23:34:08 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 23:34:09 + [ -d /w/workspace/xfoundry_app-record-replay_PR-56/archives ] 23:34:09 + ls -al /w/workspace/xfoundry_app-record-replay_PR-56/archives 23:34:09 total 16 23:34:09 drwxr-xr-x 3 root root 4096 Aug 4 23:24 . 23:34:09 drwxrwxr-x 10 jenkins jenkins 4096 Aug 4 23:24 .. 23:34:09 drwxr-xr-x 2 root root 4096 Aug 4 23:24 cost 23:34:09 -rw-r--r-- 1 root root 88 Aug 4 23:24 cost.csv 23:34:09 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-56/archives 23:34:09 + ls -al /w/workspace/xfoundry_app-record-replay_PR-56/archives 23:34:09 total 16 23:34:09 drwxr-xr-x 3 jenkins jenkins 4096 Aug 4 23:24 . 23:34:09 drwxrwxr-x 10 jenkins jenkins 4096 Aug 4 23:24 .. 23:34:09 drwxr-xr-x 2 jenkins jenkins 4096 Aug 4 23:24 cost 23:34:09 -rw-r--r-- 1 jenkins jenkins 88 Aug 4 23:24 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:34:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:34:10 ---> package-listing.sh 23:34:10 ++ facter osfamily 23:34:10 ++ tr '[:upper:]' '[:lower:]' 23:34:10 + OS_FAMILY=debian 23:34:10 + workspace=/w/workspace/xfoundry_app-record-replay_PR-56 23:34:10 + START_PACKAGES=/tmp/packages_start.txt 23:34:10 + END_PACKAGES=/tmp/packages_end.txt 23:34:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:34:10 + PACKAGES=/tmp/packages_start.txt 23:34:10 + '[' /w/workspace/xfoundry_app-record-replay_PR-56 ']' 23:34:10 + PACKAGES=/tmp/packages_end.txt 23:34:10 + case "${OS_FAMILY}" in 23:34:10 + dpkg -l 23:34:10 + grep '^ii' 23:34:10 + '[' -f /tmp/packages_start.txt ']' 23:34:10 + '[' -f /tmp/packages_end.txt ']' 23:34:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:34:10 + '[' /w/workspace/xfoundry_app-record-replay_PR-56 ']' 23:34:10 + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-56/archives/ 23:34:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-56/archives/ [Pipeline] echo 23:34:10 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-56/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:34:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:34:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:34:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:34:11 prd-ubuntu20.04-docker-8c-8g-2924 does not seem to be running inside a container 23:34:11 $ 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-56/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-56 -v /w/workspace/xfoundry_app-record-replay_PR-56:/w/workspace/xfoundry_app-record-replay_PR-56:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-56@tmp:/w/workspace/xfoundry_app-record-replay_PR-56@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 23:34:11 $ docker top dc740311482097304ff0b5016a9f0674d33e0f8839dda74e13e0a3a3bfff6b1a -eo pid,comm [Pipeline] { [Pipeline] sh 23:34:12 + touch /tmp/pre-build-complete [Pipeline] sh 23:34:12 + mkdir -p /var/log/sysstat [Pipeline] sh 23:34:12 + ls /var/log/sa-host 23:34:12 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:34:12 provisioning config files... 23:34:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-56@tmp/config11159798482724415174tmp [Pipeline] { [Pipeline] echo 23:34:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:34:13 ---> create-netrc.sh [Pipeline] } 23:34:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:34:13 ---> python-tools-install.sh [Pipeline] echo 23:34:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:34:13 ---> sudo-logs.sh 23:34:13 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:34:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:34:14 ---> job-cost.sh 23:34:14 lf-activate-venv: SKIPPING 23:34:14 DEBUG: total: 0.2199999988079071 23:34:14 INFO: Retrieving Stack Cost... 23:34:14 INFO: Retrieving Pricing Info for: v3-standard-8 23:34:15 INFO: Archiving Costs [Pipeline] echo 23:34:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:34:15 ---> logs-deploy.sh 23:34:15 lf-activate-venv: SKIPPING 23:34:15 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-56/3 23:34:15 INFO: archiving workspace using pattern(s): 23:34:16 Archives upload complete. 23:34:16 INFO: archiving logs to Nexus