Pull request #42 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 f87ca7d3b83689b830a75d23e332994a9af14d1e rather than ab616513ef9814d0fae59b16a412b6181ab4b81e Obtained Jenkinsfile from f87ca7d3b83689b830a75d23e332994a9af14d1e 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-ssh1220338039118690791.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-ssh8134289910959414517.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-42/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-42/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7202643284973164144.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-ssh9931800892587974128.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-42/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-42/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh620610251752009107.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-1097 in /w/workspace/xfoundry_app-record-replay_PR-42 [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-42 # 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 f87ca7d3b83689b830a75d23e332994a9af14d1e into PR head commit ab616513ef9814d0fae59b16a412b6181ab4b81e Merge succeeded, producing ab616513ef9814d0fae59b16a412b6181ab4b81e Checking out Revision ab616513ef9814d0fae59b16a412b6181ab4b81e (PR-42) > 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/42/head:refs/remotes/origin/PR-42 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ab616513ef9814d0fae59b16a412b6181ab4b81e # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge f87ca7d3b83689b830a75d23e332994a9af14d1e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ab616513ef9814d0fae59b16a412b6181ab4b81e # timeout=10 Commit message: "feat: Implement Export Recorded Data endpoint" First time build. Skipping changelog. > git rev-list --no-walk d944aab43ac9917b37a2b4ab2c76c17669a56c70 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:31:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:31:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:31:11 ========================================================= 21:31:11 EdgeX Global Pipelines Version Info 21:31:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:31:12 ------------------- 21:31:12 stable info: 21:31:12 ------------------- 21:31:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:31:12 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 21:31:12 Message: update stable to v1.0.250 21:31:12 ------------------- 21:31:12 experimental info: 21:31:12 ------------------- 21:31:12 Commited By: **** collab-it+edgex@linuxfoundation.org 21:31:12 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 21:31:12 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:31:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 21:31:12 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 21:31:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:31:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:31:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:31:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:31:12 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:31:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:31:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:31:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:31:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:31:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 21:31:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:31:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:31:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:31:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:31:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:31:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:31:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:31:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:31:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:31:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:31:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:31:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:31:13 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:31:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:31:13 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:31:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-42 [Pipeline] echo 21:31:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-42 [Pipeline] echo 21:31:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-42 [Pipeline] echo 21:31:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ab616513ef9814d0fae59b16a412b6181ab4b81e [Pipeline] echo 21:31:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ab61651 [Pipeline] echo 21:31:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:31:13 provisioning config files... 21:31:13 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-42@tmp/config17628644728873930649tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:31:13 ---> docker-login.sh 21:31:13 nexus3.edgexfoundry.org:10001 21:31:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:13 Configure a credential helper to remove this warning. See 21:31:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:13 21:31:13 Login Succeeded 21:31:13 nexus3.edgexfoundry.org:10002 21:31:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:14 Configure a credential helper to remove this warning. See 21:31:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:14 21:31:14 Login Succeeded 21:31:14 nexus3.edgexfoundry.org:10003 21:31:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:14 Configure a credential helper to remove this warning. See 21:31:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:14 21:31:14 Login Succeeded 21:31:14 nexus3.edgexfoundry.org:10004 21:31:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:14 Configure a credential helper to remove this warning. See 21:31:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:14 21:31:14 Login Succeeded 21:31:14 docker.io 21:31:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:14 Configure a credential helper to remove this warning. See 21:31:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:14 21:31:14 Login Succeeded 21:31:14 ---> docker-login.sh ends [Pipeline] } 21:31:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:31:15 + git rev-list -1 --merges ab616513ef9814d0fae59b16a412b6181ab4b81e~1..ab616513ef9814d0fae59b16a412b6181ab4b81e [Pipeline] echo 21:31:15 -----------> git rev-list -1 --merges ab616513ef9814d0fae59b16a412b6181ab4b81e~1..ab616513ef9814d0fae59b16a412b6181ab4b81e ab616513ef9814d0fae59b16a412b6181ab4b81e [false] [Pipeline] sh 21:31:15 + git log --format=format:%s -1 ab616513ef9814d0fae59b16a412b6181ab4b81e [Pipeline] echo 21:31:15 ========================================================= 21:31:15 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:31:15 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:31:15 + git log --format=format:%s -1 ab616513ef9814d0fae59b16a412b6181ab4b81e [Pipeline] echo 21:31:15 [semverPrep] GIT_COMMIT: ab616513ef9814d0fae59b16a412b6181ab4b81e, Commit Message: feat: Implement Export Recorded Data endpoint [Pipeline] echo 21:31:15 [semverPrep] This is not a build commit. [Pipeline] sh 21:31:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:31:16 + grep -v github /etc/ssh/ssh_known_hosts 21:31:16 + [ -e /tmp/ssh_known_hosts ] 21:31:16 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:31:16 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:31:16 + sudo tee -a /etc/ssh/ssh_known_hosts 21:31:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:31:16 21:31:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:31:16 0.1.4: Pulling from edgex-devops/py-git-semver 21:31:16 b85a868b505f: Pulling fs layer 21:31:16 e2be974225ed: Pulling fs layer 21:31:16 339a4e72a1f5: Pulling fs layer 21:31:16 988bab9f4d93: Pulling fs layer 21:31:16 1469e6f7b9e6: Pulling fs layer 21:31:16 eaf3925da568: Pulling fs layer 21:31:16 bab4dde63d76: Pulling fs layer 21:31:16 bde34c3a00c8: Pulling fs layer 21:31:16 b352a97aabf1: Pulling fs layer 21:31:16 4872d77fe225: Pulling fs layer 21:31:16 5851b861e8e6: Pulling fs layer 21:31:16 988bab9f4d93: Waiting 21:31:16 bab4dde63d76: Waiting 21:31:16 1469e6f7b9e6: Waiting 21:31:16 eaf3925da568: Waiting 21:31:16 b352a97aabf1: Waiting 21:31:16 5851b861e8e6: Waiting 21:31:16 4872d77fe225: Waiting 21:31:16 bde34c3a00c8: Waiting 21:31:16 e2be974225ed: Verifying Checksum 21:31:16 e2be974225ed: Download complete 21:31:16 988bab9f4d93: Verifying Checksum 21:31:16 988bab9f4d93: Download complete 21:31:17 1469e6f7b9e6: Verifying Checksum 21:31:17 1469e6f7b9e6: Download complete 21:31:17 eaf3925da568: Verifying Checksum 21:31:17 eaf3925da568: Download complete 21:31:17 339a4e72a1f5: Verifying Checksum 21:31:17 339a4e72a1f5: Download complete 21:31:17 bde34c3a00c8: Download complete 21:31:17 b352a97aabf1: Verifying Checksum 21:31:17 b352a97aabf1: Download complete 21:31:17 4872d77fe225: Verifying Checksum 21:31:17 4872d77fe225: Download complete 21:31:17 5851b861e8e6: Download complete 21:31:17 b85a868b505f: Verifying Checksum 21:31:17 b85a868b505f: Download complete 21:31:17 bab4dde63d76: Verifying Checksum 21:31:17 bab4dde63d76: Download complete 21:31:18 b85a868b505f: Pull complete 21:31:18 e2be974225ed: Pull complete 21:31:18 339a4e72a1f5: Pull complete 21:31:19 988bab9f4d93: Pull complete 21:31:19 1469e6f7b9e6: Pull complete 21:31:19 eaf3925da568: Pull complete 21:31:21 bab4dde63d76: Pull complete 21:31:21 bde34c3a00c8: Pull complete 21:31:21 b352a97aabf1: Pull complete 21:31:21 4872d77fe225: Pull complete 21:31:21 5851b861e8e6: Pull complete 21:31:21 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:31:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:31:21 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:31:21 prd-ubuntu20.04-docker-8c-8g-1097 does not seem to be running inside a container 21:31:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-42 -v /w/workspace/xfoundry_app-record-replay_PR-42:/w/workspace/xfoundry_app-record-replay_PR-42:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-42@tmp:/w/workspace/xfoundry_app-record-replay_PR-42@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:31:24 $ docker top 508a29d6b515ee215532b4ed3520354a93e2b43f79c5b3cf68db5d1e9ea9d8a8 -eo pid,comm 21:31:24 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). 21:31:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:31:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:31:24 [ssh-agent] Looking for ssh-agent implementation... 21:31:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:31:24 $ docker exec 508a29d6b515ee215532b4ed3520354a93e2b43f79c5b3cf68db5d1e9ea9d8a8 ssh-agent 21:31:24 SSH_AUTH_SOCK=/tmp/ssh-3ujWogvHQUI1/agent.32 21:31:24 SSH_AGENT_PID=39 21:31:24 Running ssh-add (command line suppressed) 21:31:25 Identity added: /w/workspace/xfoundry_app-record-replay_PR-42@tmp/private_key_965012827767356768.key (/w/workspace/xfoundry_app-record-replay_PR-42@tmp/private_key_965012827767356768.key) 21:31:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:31:25 + git tag --points-at HEAD [Pipeline] } 21:31:25 $ docker exec --env ******** --env ******** 508a29d6b515ee215532b4ed3520354a93e2b43f79c5b3cf68db5d1e9ea9d8a8 ssh-agent -k 21:31:25 unset SSH_AUTH_SOCK; 21:31:25 unset SSH_AGENT_PID; 21:31:25 echo Agent pid 39 killed; 21:31:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:31:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:31:25 [ssh-agent] Looking for ssh-agent implementation... 21:31:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:31:25 $ docker exec 508a29d6b515ee215532b4ed3520354a93e2b43f79c5b3cf68db5d1e9ea9d8a8 ssh-agent 21:31:25 SSH_AUTH_SOCK=/tmp/ssh-2Pc9UBpeTdhP/agent.71 21:31:25 SSH_AGENT_PID=77 21:31:25 Running ssh-add (command line suppressed) 21:31:25 Identity added: /w/workspace/xfoundry_app-record-replay_PR-42@tmp/private_key_7472979739011496464.key (/w/workspace/xfoundry_app-record-replay_PR-42@tmp/private_key_7472979739011496464.key) 21:31:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:31:26 + git semver init 21:31:26 2023-07-13 21:31:26,244 [run_init] DEBUG init version:0.0.0 force:False 21:31:26 2023-07-13 21:31:26,244 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-42/.semver 21:31:26 2023-07-13 21:31:26,245 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-42/.semver 21:31:26 2023-07-13 21:31:26,245 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-42/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-42, universal_newlines=False, shell=None, istream=None) 21:31:26 2023-07-13 21:31:26,828 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-42/.git/info/exclude 21:31:26 2023-07-13 21:31:26,829 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-42/.semver/PR-42 with force:False 21:31:26 2023-07-13 21:31:26,829 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-42/.semver/PR-42 21:31:26 2023-07-13 21:31:26,833 [execute] INFO git cat-file --batch-check 21:31:26 2023-07-13 21:31:26,833 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-42/.semver, universal_newlines=False, shell=None, istream=) 21:31:26 2023-07-13 21:31:26,839 [execute] INFO git cat-file --batch 21:31:26 2023-07-13 21:31:26,839 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-42/.semver, universal_newlines=False, shell=None, istream=) 21:31:26 2023-07-13 21:31:26,843 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-42/.semver/PR-42 21:31:26 0.0.0 [Pipeline] } 21:31:26 $ docker exec --env ******** --env ******** 508a29d6b515ee215532b4ed3520354a93e2b43f79c5b3cf68db5d1e9ea9d8a8 ssh-agent -k 21:31:27 unset SSH_AUTH_SOCK; 21:31:27 unset SSH_AGENT_PID; 21:31:27 echo Agent pid 77 killed; 21:31:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:31:27 + git semver [Pipeline] } 21:31:27 $ docker stop --time=1 508a29d6b515ee215532b4ed3520354a93e2b43f79c5b3cf68db5d1e9ea9d8a8 21:31:28 $ docker rm -f --volumes 508a29d6b515ee215532b4ed3520354a93e2b43f79c5b3cf68db5d1e9ea9d8a8 [Pipeline] // withDockerContainer [Pipeline] sh 21:31:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:31:29 Stashed 1 file(s) [Pipeline] echo 21:31:29 [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 21:31:29 provisioning config files... 21:31:29 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-42@tmp/config10390316956368479987tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:31:29 ---> docker-login.sh 21:31:29 nexus3.edgexfoundry.org:10001 21:31:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:29 Configure a credential helper to remove this warning. See 21:31:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:29 21:31:29 Login Succeeded 21:31:29 nexus3.edgexfoundry.org:10002 21:31:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:29 Configure a credential helper to remove this warning. See 21:31:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:29 21:31:29 Login Succeeded 21:31:29 nexus3.edgexfoundry.org:10003 21:31:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:30 Configure a credential helper to remove this warning. See 21:31:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:30 21:31:30 Login Succeeded 21:31:30 nexus3.edgexfoundry.org:10004 21:31:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:30 Configure a credential helper to remove this warning. See 21:31:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:30 21:31:30 Login Succeeded 21:31:30 docker.io 21:31:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:30 Configure a credential helper to remove this warning. See 21:31:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:30 21:31:30 Login Succeeded 21:31:30 ---> docker-login.sh ends [Pipeline] } 21:31:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:31:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:31:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:31:30 ========================================================= 21:31:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:31:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:30 + 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 . 21:31:30 Sending build context to Docker daemon 340kB 21:31:30 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:31:30 Step 2/12 : FROM ${BASE} AS builder 21:31:30 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:31:30 4db1b89c0bd1: Pulling fs layer 21:31:30 6911f1a30b25: Pulling fs layer 21:31:30 e194b8c5c2a9: Pulling fs layer 21:31:30 6863d3e3a2b1: Pulling fs layer 21:31:30 ec0bb842ea78: Pulling fs layer 21:31:30 40a00589a448: Pulling fs layer 21:31:30 6c08303d61cc: Pulling fs layer 21:31:30 798269fcf238: Pulling fs layer 21:31:30 40a00589a448: Waiting 21:31:30 ec0bb842ea78: Waiting 21:31:30 6863d3e3a2b1: Waiting 21:31:30 798269fcf238: Waiting 21:31:30 6c08303d61cc: Waiting 21:31:30 6911f1a30b25: Download complete 21:31:30 6863d3e3a2b1: Download complete 21:31:30 ec0bb842ea78: Verifying Checksum 21:31:30 ec0bb842ea78: Download complete 21:31:30 4db1b89c0bd1: Verifying Checksum 21:31:30 4db1b89c0bd1: Download complete 21:31:31 40a00589a448: Verifying Checksum 21:31:31 40a00589a448: Download complete 21:31:31 4db1b89c0bd1: Pull complete 21:31:31 6911f1a30b25: Pull complete 21:31:31 798269fcf238: Verifying Checksum 21:31:31 798269fcf238: Download complete 21:31:31 e194b8c5c2a9: Verifying Checksum 21:31:31 e194b8c5c2a9: Download complete 21:31:31 6c08303d61cc: Verifying Checksum 21:31:31 6c08303d61cc: Download complete 21:31:35 e194b8c5c2a9: Pull complete 21:31:35 6863d3e3a2b1: Pull complete 21:31:35 ec0bb842ea78: Pull complete 21:31:35 40a00589a448: Pull complete 21:31:37 6c08303d61cc: Pull complete 21:31:38 798269fcf238: Pull complete 21:31:38 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 21:31:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:31:38 ---> ec979cd7f677 21:31:38 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 21:31:43 ---> Running in c83500994210 21:31:43 Removing intermediate container c83500994210 21:31:43 ---> ff8ef0cf1826 21:31:43 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:31:43 ---> Running in 3186004979eb 21:31:43 Removing intermediate container 3186004979eb 21:31:43 ---> 460403c8b60f 21:31:43 Step 5/12 : ARG ADD_BUILD_TAGS="" 21:31:43 ---> Running in cdf25494d3fe 21:31:43 Removing intermediate container cdf25494d3fe 21:31:43 ---> dd26e5bd7a49 21:31:43 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:31:43 ---> Running in 7b8d42b27eb3 21:31:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:31:44 Still waiting to schedule task 21:31:44 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:31:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:31:46 OK: 265 MiB in 53 packages 21:31:47 Removing intermediate container 7b8d42b27eb3 21:31:47 ---> 2a82812b8952 21:31:47 Step 7/12 : WORKDIR /app 21:31:47 ---> Running in 89b626d410b3 21:31:47 Removing intermediate container 89b626d410b3 21:31:47 ---> 55cc4c3c315a 21:31:47 Step 8/12 : COPY go.mod vendor* ./ 21:31:47 ---> 469a25c921b6 21:31:47 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:31:47 ---> Running in c67c56f1c0ea 21:32:43 Removing intermediate container c67c56f1c0ea 21:32:43 ---> b97a0157dcfa 21:32:43 Step 10/12 : COPY . . 21:32:43 ---> 5883ceb36cf4 21:32:43 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:32:43 ---> Running in 2e461b759bdb 21:32:43 Removing intermediate container 2e461b759bdb 21:32:43 ---> 69ce253735c0 21:32:43 Step 12/12 : RUN $MAKE 21:32:43 ---> Running in a33702d58472 21:32:43 noop 21:32:43 Removing intermediate container a33702d58472 21:32:43 ---> a713a6eefe1f 21:32:43 Successfully built a713a6eefe1f 21:32:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:44 + docker inspect -f . ci-base-image-x86_64 21:32:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:32:44 prd-ubuntu20.04-docker-8c-8g-1097 does not seem to be running inside a container 21:32:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-42 -v /w/workspace/xfoundry_app-record-replay_PR-42:/w/workspace/xfoundry_app-record-replay_PR-42:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-42@tmp:/w/workspace/xfoundry_app-record-replay_PR-42@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:32:44 $ docker top c4646303a1f0e2d35469e7772a021e7c96071680e415aa8edaab575cc9b92e9c -eo pid,comm [Pipeline] { [Pipeline] sh 21:32:44 + go version 21:32:44 go version go1.20.6 linux/amd64 [Pipeline] } 21:32:44 $ docker stop --time=1 c4646303a1f0e2d35469e7772a021e7c96071680e415aa8edaab575cc9b92e9c 21:32:46 $ docker rm -f --volumes c4646303a1f0e2d35469e7772a021e7c96071680e415aa8edaab575cc9b92e9c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:46 + docker inspect -f . ci-base-image-x86_64 21:32:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:32:46 prd-ubuntu20.04-docker-8c-8g-1097 does not seem to be running inside a container 21:32:46 $ 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-42 -v /w/workspace/xfoundry_app-record-replay_PR-42:/w/workspace/xfoundry_app-record-replay_PR-42:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-42@tmp:/w/workspace/xfoundry_app-record-replay_PR-42@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:32:46 $ docker top 037eb1d615f24d0f488a483f37ea1db765c76a86516eff83b29c3cb29710de3f -eo pid,comm [Pipeline] { [Pipeline] sh 21:32:47 + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-42 [Pipeline] fileExists [Pipeline] sh 21:32:47 + make test 21:32:47 go test -race -coverprofile=coverage.out ./... 21:33:05 ? github.com/edgexfoundry/app-record-replay [no test files] 21:33:05 ok github.com/edgexfoundry/app-record-replay/internal/app 0.084s coverage: 87.5% of statements 21:33:05 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 21:33:05 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 21:33:05 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 21:33:05 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.070s coverage: 87.7% of statements 21:33:05 ok github.com/edgexfoundry/app-record-replay/internal/data 0.060s coverage: 65.2% of statements 21:33:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1098 in /w/workspace/xfoundry_app-record-replay_PR-42 [Pipeline] { [Pipeline] ws 21:33:14 Running in /w/workspace/app-record-replay/2 [Pipeline] { [Pipeline] checkout 21:33:14 Selected Git installation does not exist. Using Default 21:33:14 The recommended git tool is: NONE 21:33:19 using credential edgex-jenkins-ssh 21:33:19 Cloning the remote Git repository 21:33:19 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 21:33:19 > git init /w/workspace/app-record-replay/2 # timeout=10 21:33:19 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 21:33:19 > git --version # timeout=10 21:33:19 > git --version # 'git version 2.25.1' 21:33:19 using GIT_SSH to set credentials SSH Credentials for GitHub 21:33:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:33:20 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 21:33:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:33:21 Merging remotes/origin/main commit f87ca7d3b83689b830a75d23e332994a9af14d1e into PR head commit ab616513ef9814d0fae59b16a412b6181ab4b81e 21:33:21 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 21:33:21 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 21:33:21 using GIT_SSH to set credentials SSH Credentials for GitHub 21:33:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/42/head:refs/remotes/origin/PR-42 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:33:21 > git config core.sparsecheckout # timeout=10 21:33:22 Merge succeeded, producing ab616513ef9814d0fae59b16a412b6181ab4b81e 21:33:22 Checking out Revision ab616513ef9814d0fae59b16a412b6181ab4b81e (PR-42) 21:33:21 > git checkout -f ab616513ef9814d0fae59b16a412b6181ab4b81e # timeout=10 21:33:21 > git remote # timeout=10 21:33:21 > git config --get remote.origin.url # timeout=10 21:33:21 using GIT_SSH to set credentials SSH Credentials for GitHub 21:33:22 > git merge f87ca7d3b83689b830a75d23e332994a9af14d1e # timeout=10 21:33:22 > git rev-parse HEAD^{commit} # timeout=10 21:33:22 > git config core.sparsecheckout # timeout=10 21:33:22 > git checkout -f ab616513ef9814d0fae59b16a412b6181ab4b81e # timeout=10 21:33:25 Commit message: "feat: Implement Export Recorded Data endpoint" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:33:26 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:33:26 % Total % Received % Xferd Average Speed Time Time Time Current 21:33:26 Dload Upload Total Spent Left Speed 21:33:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 79198 0 --:--:-- --:--:-- --:--:-- 79198 [Pipeline] sh 21:33:27 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:33:27 + sudo tee /etc/docker/daemon.new 21:33:27 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:33:27 { 21:33:27 "registry-mirrors": [ 21:33:27 "https://nexus3.edgexfoundry.org:10001" 21:33:27 ], 21:33:27 "bip": "10.250.0.254/24", 21:33:27 "hosts": [ 21:33:27 "tcp://0.0.0.0:5555", 21:33:27 "unix:///var/run/docker.sock" 21:33:27 ], 21:33:27 "mtu": 1458, 21:33:27 "selinux-enabled": true, 21:33:27 "seccomp-profile": "/etc/docker/seccomp.json" 21:33:27 } [Pipeline] sh 21:33:27 go vet ./... 21:33:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:33:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:33:27 ./bin/test-attribution-txt.sh 21:33:27 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [Pipeline] echo 21:33:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:33:28 $ docker stop --time=1 037eb1d615f24d0f488a483f37ea1db765c76a86516eff83b29c3cb29710de3f 21:33:28 + sudo service docker restart 21:33:35 $ docker rm -f --volumes 037eb1d615f24d0f488a483f37ea1db765c76a86516eff83b29c3cb29710de3f [Pipeline] // withDockerContainer [Pipeline] sh 21:33:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:33:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:33:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:33:36 + ls -al . 21:33:36 total 164 21:33:36 drwxrwxr-x 9 jenkins jenkins 4096 Jul 13 21:32 . 21:33:36 drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 21:31 .. 21:33:36 -rw-rw-r-- 1 jenkins jenkins 119 Jul 13 21:31 .dockerignore 21:33:36 drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 21:31 .git 21:33:36 drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 21:31 .github 21:33:36 -rw-rw-r-- 1 jenkins jenkins 164 Jul 13 21:31 .gitignore 21:33:36 -rw-rw-r-- 1 jenkins jenkins 41 Jul 13 21:31 .golangci.yml 21:33:36 drwxr-xr-x 3 jenkins jenkins 4096 Jul 13 21:31 .semver 21:33:36 -rw-rw-r-- 1 jenkins jenkins 10642 Jul 13 21:31 Attribution.txt 21:33:36 -rw-rw-r-- 1 jenkins jenkins 258 Jul 13 21:31 CHANGELOG.md 21:33:36 -rw-rw-r-- 1 jenkins jenkins 1616 Jul 13 21:31 Dockerfile 21:33:36 -rw-rw-r-- 1 jenkins jenkins 677 Jul 13 21:31 GOVERNANCE.md 21:33:36 -rw-rw-r-- 1 jenkins jenkins 681 Jul 13 21:31 Jenkinsfile 21:33:36 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 13 21:31 LICENSE 21:33:36 -rw-rw-r-- 1 jenkins jenkins 3139 Jul 13 21:31 Makefile 21:33:36 -rw-rw-r-- 1 jenkins jenkins 611 Jul 13 21:31 OWNERS.md 21:33:36 -rw-rw-r-- 1 jenkins jenkins 2363 Jul 13 21:31 README.md 21:33:36 -rw-rw-r-- 1 jenkins jenkins 4285 Jul 13 21:31 Record and Reply.postman_collection.json 21:33:36 -rw-rw-r-- 1 jenkins jenkins 5 Jul 13 21:31 VERSION 21:33:36 drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 21:31 bin 21:33:36 -rw-r--r-- 1 jenkins jenkins 7918 Jul 13 21:33 coverage.out 21:33:36 -rw-rw-r-- 1 jenkins jenkins 3678 Jul 13 21:31 go.mod 21:33:36 -rw-rw-r-- 1 jenkins jenkins 32843 Jul 13 21:31 go.sum 21:33:36 drwxrwxr-x 6 jenkins jenkins 4096 Jul 13 21:31 internal 21:33:36 -rw-rw-r-- 1 jenkins jenkins 913 Jul 13 21:31 main.go 21:33:36 drwxrwxr-x 3 jenkins jenkins 4096 Jul 13 21:31 pkg 21:33:36 drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 21:31 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:36 + 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=ab616513ef9814d0fae59b16a412b6181ab4b81e --label arch=amd64 --label version=0.0.0 . 21:33:36 Sending build context to Docker daemon 348.7kB 21:33:36 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 21:33:36 Step 2/26 : FROM ${BASE} AS builder 21:33:36 ---> a713a6eefe1f 21:33:36 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 21:33:37 ---> Running in 766612d255b8 21:33:37 Removing intermediate container 766612d255b8 21:33:37 ---> b2427fd3815e 21:33:37 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 21:33:37 ---> Running in 05523e2598ae 21:33:37 Removing intermediate container 05523e2598ae 21:33:37 ---> 844f35530fd1 21:33:37 Step 5/26 : ARG ADD_BUILD_TAGS="" 21:33:37 ---> Running in 55c160c7480e 21:33:37 Removing intermediate container 55c160c7480e 21:33:37 ---> 0b00e3016a20 21:33:37 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:33:37 ---> Running in 5140c19ee9fd 21:33:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:33:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:33:38 OK: 265 MiB in 53 packages 21:33:38 Removing intermediate container 5140c19ee9fd 21:33:38 ---> 7884f834a508 21:33:38 Step 7/26 : WORKDIR /app 21:33:38 ---> Running in 2129805a3f76 21:33:38 Removing intermediate container 2129805a3f76 21:33:38 ---> 517fc6b29eb8 21:33:38 Step 8/26 : COPY go.mod vendor* ./ 21:33:38 ---> 80ed0fdb7bae 21:33:38 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:33:38 ---> Running in 62d64254f6b4 21:33:39 Removing intermediate container 62d64254f6b4 21:33:39 ---> c30bca1c796a 21:33:39 Step 10/26 : COPY . . 21:33:39 ---> 06028e44a9d7 21:33:39 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:33:39 ---> Running in a9890a22f5b3 21:33:39 Removing intermediate container a9890a22f5b3 21:33:39 ---> c2bccb12e11c 21:33:39 Step 12/26 : RUN $MAKE 21:33:39 ---> Running in 4c705ce12a2b 21:33:39 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.5 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:33:46 provisioning config files... 21:33:46 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/2@tmp/config14768749978180117754tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:33:46 ---> docker-login.sh 21:33:46 nexus3.edgexfoundry.org:10001 21:33:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:47 Configure a credential helper to remove this warning. See 21:33:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:47 21:33:47 Login Succeeded 21:33:47 nexus3.edgexfoundry.org:10002 21:33:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:47 Configure a credential helper to remove this warning. See 21:33:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:47 21:33:47 Login Succeeded 21:33:47 nexus3.edgexfoundry.org:10003 21:33:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:48 Configure a credential helper to remove this warning. See 21:33:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:48 21:33:48 Login Succeeded 21:33:48 nexus3.edgexfoundry.org:10004 21:33:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:48 Configure a credential helper to remove this warning. See 21:33:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:48 21:33:48 Login Succeeded 21:33:48 docker.io 21:33:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:48 Configure a credential helper to remove this warning. See 21:33:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:48 21:33:48 Login Succeeded 21:33:48 ---> docker-login.sh ends [Pipeline] } 21:33:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:33:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:33:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:33:49 ========================================================= 21:33:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:33:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:49 + 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 . 21:33:49 Sending build context to Docker daemon 160.8kB 21:33:49 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:33:49 Step 2/12 : FROM ${BASE} AS builder 21:33:51 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:33:51 edb6bdbacee9: Pulling fs layer 21:33:51 5f9638ab2659: Pulling fs layer 21:33:51 8d51d6327a98: Pulling fs layer 21:33:51 8b374f2dd631: Pulling fs layer 21:33:51 ec14aa9079de: Pulling fs layer 21:33:51 2f466654f4bb: Pulling fs layer 21:33:51 554e91adad29: Pulling fs layer 21:33:51 2f466654f4bb: Waiting 21:33:51 8b374f2dd631: Waiting 21:33:51 554e91adad29: Waiting 21:33:51 ec14aa9079de: Waiting 21:33:51 5f9638ab2659: Download complete 21:33:51 8b374f2dd631: Verifying Checksum 21:33:51 8b374f2dd631: Download complete 21:33:51 ec14aa9079de: Verifying Checksum 21:33:51 ec14aa9079de: Download complete 21:33:51 edb6bdbacee9: Verifying Checksum 21:33:51 edb6bdbacee9: Download complete 21:33:52 edb6bdbacee9: Pull complete 21:33:52 554e91adad29: Verifying Checksum 21:33:52 554e91adad29: Download complete 21:33:53 5f9638ab2659: Pull complete 21:33:53 2f466654f4bb: Verifying Checksum 21:33:53 8d51d6327a98: Download complete 21:34:01 Removing intermediate container 4c705ce12a2b 21:34:01 ---> 42cc99f6175c 21:34:01 Step 13/26 : FROM alpine:3.17 21:34:01 3.17: Pulling from library/alpine 21:34:01 4db1b89c0bd1: Already exists 21:34:01 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 21:34:01 Status: Downloaded newer image for alpine:3.17 21:34:01 ---> 1f73a9d63274 21:34:01 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:34:01 ---> Running in afbd0b136039 21:34:01 Removing intermediate container afbd0b136039 21:34:01 ---> 401ee1df4bcd 21:34:01 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 21:34:01 ---> Running in e8b224efb50c 21:34:01 Removing intermediate container e8b224efb50c 21:34:01 ---> eb7de0985d03 21:34:01 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 21:34:01 ---> Running in 7fbbb330794f 21:34:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:34:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:34:01 (1/2) Installing ca-certificates (20230506-r0) 21:34:01 (2/2) Installing dumb-init (1.2.5-r2) 21:34:01 Executing busybox-1.35.0-r29.trigger 21:34:01 Executing ca-certificates-20230506-r0.trigger 21:34:01 OK: 8 MiB in 17 packages 21:34:01 Removing intermediate container 7fbbb330794f 21:34:01 ---> 22b939c7c427 21:34:01 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 21:34:01 ---> 873d6ec65002 21:34:01 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 21:34:01 ---> 91931661ad97 21:34:01 Step 19/26 : COPY --from=builder /app/res/ /res/ 21:34:01 ---> 9b76eff646b1 21:34:01 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 21:34:02 ---> cb6937de5736 21:34:02 Step 21/26 : EXPOSE 59712 21:34:02 ---> Running in 155d02ed11c7 21:34:02 Removing intermediate container 155d02ed11c7 21:34:02 ---> 9eddf381212d 21:34:02 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 21:34:02 ---> Running in a3597aea4346 21:34:02 Removing intermediate container a3597aea4346 21:34:02 ---> 86dab96abf7d 21:34:02 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:34:02 ---> Running in 5840d59e958b 21:34:02 Removing intermediate container 5840d59e958b 21:34:02 ---> c1cad50e41b7 21:34:02 Step 24/26 : LABEL arch=amd64 21:34:03 ---> Running in 358323c281ad 21:34:03 Removing intermediate container 358323c281ad 21:34:03 ---> 7b1a4438b88b 21:34:03 Step 25/26 : LABEL git_sha=ab616513ef9814d0fae59b16a412b6181ab4b81e 21:34:03 ---> Running in 272af2dd5291 21:34:03 Removing intermediate container 272af2dd5291 21:34:03 ---> 57ecb4ea5aa2 21:34:03 Step 26/26 : LABEL version=0.0.0 21:34:03 ---> Running in 7e3d2ce82487 21:34:03 Removing intermediate container 7e3d2ce82487 21:34:03 ---> 516c35146f7a 21:34:03 [Warning] One or more build-args [ARCH] were not consumed 21:34:03 Successfully built 516c35146f7a 21:34:03 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 21:34:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:34:03 21:34:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:34:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:34:04 latest: Pulling from edgex-lftools-log-publisher 21:34:04 5eb5b503b376: Pulling fs layer 21:34:04 5c69ac0246d0: Pulling fs layer 21:34:04 ec43610c2a17: Pulling fs layer 21:34:04 3a2ae6a8a46f: Pulling fs layer 21:34:04 33b1e0a273af: Pulling fs layer 21:34:04 5d3b04190fa2: Pulling fs layer 21:34:04 2f39f015ded8: Pulling fs layer 21:34:04 3a2ae6a8a46f: Waiting 21:34:04 33b1e0a273af: Waiting 21:34:04 5d3b04190fa2: Waiting 21:34:04 2f39f015ded8: Waiting 21:34:04 5c69ac0246d0: Verifying Checksum 21:34:04 5c69ac0246d0: Download complete 21:34:04 3a2ae6a8a46f: Verifying Checksum 21:34:04 3a2ae6a8a46f: Download complete 21:34:04 33b1e0a273af: Verifying Checksum 21:34:04 33b1e0a273af: Download complete 21:34:04 ec43610c2a17: Verifying Checksum 21:34:04 ec43610c2a17: Download complete 21:34:04 5d3b04190fa2: Download complete 21:34:04 5eb5b503b376: Verifying Checksum 21:34:04 5eb5b503b376: Download complete 21:34:05 2f39f015ded8: Download complete 21:34:05 5eb5b503b376: Pull complete 21:34:05 5c69ac0246d0: Pull complete 21:34:05 ec43610c2a17: Pull complete 21:34:05 3a2ae6a8a46f: Pull complete 21:34:06 33b1e0a273af: Pull complete 21:34:06 5d3b04190fa2: Pull complete 21:34:06 8d51d6327a98: Pull complete 21:34:06 8b374f2dd631: Pull complete 21:34:06 ec14aa9079de: Pull complete 21:34:10 2f39f015ded8: Pull complete 21:34:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:34:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:34:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:34:10 prd-ubuntu20.04-docker-8c-8g-1097 does not seem to be running inside a container 21:34:10 $ 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-42 -v /w/workspace/xfoundry_app-record-replay_PR-42:/w/workspace/xfoundry_app-record-replay_PR-42:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-42@tmp:/w/workspace/xfoundry_app-record-replay_PR-42@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 21:34:11 2f466654f4bb: Pull complete 21:34:13 554e91adad29: Pull complete 21:34:13 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 21:34:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:34:13 ---> 1e15ea492957 21:34:13 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 21:34:15 ---> Running in 41755a318ba4 21:34:15 Removing intermediate container 41755a318ba4 21:34:15 ---> d65478531bb8 21:34:15 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:34:15 ---> Running in 95c0d4c99de7 21:34:16 Removing intermediate container 95c0d4c99de7 21:34:16 ---> 1e8f32d6fe06 21:34:16 Step 5/12 : ARG ADD_BUILD_TAGS="" 21:34:16 ---> Running in de84a7c25732 21:34:16 $ docker top f9121cdfa37cefb52b4af3bb5b7f4d74b2daed2f579b92c9835ffd3a048101d3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:34:16 ---> job-cost.sh 21:34:16 lf-activate-venv: SKIPPING 21:34:16 INFO: No Stack... 21:34:16 Removing intermediate container de84a7c25732 21:34:16 ---> 2a8f2ffa1d44 21:34:16 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:34:16 ---> Running in d521fe2c45de 21:34:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:34:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:34:18 INFO: Retrieving Pricing Info for: v3-standard-8 21:34:19 INFO: Archiving Costs [Pipeline] sh 21:34:19 OK: 263 MiB in 53 packages 21:34:19 + cat /w/workspace/xfoundry_app-record-replay_PR-42/archives/cost.csv 21:34:19 + cut -d, -f6 [Pipeline] lock 21:34:19 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-42-2-stack-cost] 21:34:19 Resource [jenkins-edgexfoundry-app-record-replay-PR-42-2-stack-cost] did not exist. Created. 21:34:19 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-42-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:34:19 + echo total: 0.2199999988079071 [Pipeline] stash 21:34:19 Stashed 1 file(s) [Pipeline] } 21:34:19 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-42-2-stack-cost] [Pipeline] // lock [Pipeline] } 21:34:19 $ docker stop --time=1 f9121cdfa37cefb52b4af3bb5b7f4d74b2daed2f579b92c9835ffd3a048101d3 21:34:19 Removing intermediate container d521fe2c45de 21:34:19 ---> f61d0dd93ebb 21:34:19 Step 7/12 : WORKDIR /app 21:34:20 ---> Running in 5a3919dbe18a 21:34:20 Removing intermediate container 5a3919dbe18a 21:34:20 ---> 4e01358dab99 21:34:20 Step 8/12 : COPY go.mod vendor* ./ 21:34:20 $ docker rm -f --volumes f9121cdfa37cefb52b4af3bb5b7f4d74b2daed2f579b92c9835ffd3a048101d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:34:20 ---> 1616c55b1350 21:34:20 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:34:20 ---> Running in 60d6d3cf8847 21:35:28 Removing intermediate container 60d6d3cf8847 21:35:28 ---> 84328adbef1f 21:35:28 Step 10/12 : COPY . . 21:35:28 ---> 7cab71787bd5 21:35:28 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:35:28 ---> Running in 4c9c3b63a403 21:35:28 Removing intermediate container 4c9c3b63a403 21:35:28 ---> 5bd4243c1034 21:35:28 Step 12/12 : RUN $MAKE 21:35:28 ---> Running in cadc01a45216 21:35:28 noop 21:35:28 Removing intermediate container cadc01a45216 21:35:28 ---> f10211c05cdc 21:35:28 Successfully built f10211c05cdc 21:35:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:35:29 + docker inspect -f . ci-base-image-arm64 21:35:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:35:29 prd-ubuntu20.04-docker-arm64-4c-16g-1098 does not seem to be running inside a container 21:35:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/2 -v /w/workspace/app-record-replay/2:/w/workspace/app-record-replay/2:rw,z -v /w/workspace/app-record-replay/2@tmp:/w/workspace/app-record-replay/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:35:30 $ docker top aeda10bbc64ae69a8bbada92487fe54fa01023d21464e4da6afc775950cd2589 -eo pid,comm [Pipeline] { [Pipeline] sh 21:35:31 + go version 21:35:31 go version go1.20.6 linux/arm64 [Pipeline] } 21:35:31 $ docker stop --time=1 aeda10bbc64ae69a8bbada92487fe54fa01023d21464e4da6afc775950cd2589 21:35:33 $ docker rm -f --volumes aeda10bbc64ae69a8bbada92487fe54fa01023d21464e4da6afc775950cd2589 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:35:33 + docker inspect -f . ci-base-image-arm64 21:35:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:35:33 prd-ubuntu20.04-docker-arm64-4c-16g-1098 does not seem to be running inside a container 21:35:33 $ 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/2 -v /w/workspace/app-record-replay/2:/w/workspace/app-record-replay/2:rw,z -v /w/workspace/app-record-replay/2@tmp:/w/workspace/app-record-replay/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:35:37 $ docker top 39b74588bf85ea028922f25e8706ef8b3ad56712ea11c16a15c7302588f60446 -eo pid,comm [Pipeline] { [Pipeline] sh 21:35:38 + git config --global --add safe.directory /w/workspace/app-record-replay/2 [Pipeline] fileExists [Pipeline] sh 21:35:38 + make test 21:35:38 go test -race -coverprofile=coverage.out ./... 21:38:15 ? github.com/edgexfoundry/app-record-replay [no test files] 21:38:20 ok github.com/edgexfoundry/app-record-replay/internal/app 0.253s coverage: 87.5% of statements 21:38:21 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.351s coverage: 87.7% of statements 21:38:25 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 21:38:25 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 21:38:25 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 21:38:25 ok github.com/edgexfoundry/app-record-replay/internal/data 0.279s coverage: 65.2% of statements 21:38:25 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:38:25 go vet ./... 21:40:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:40:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:40:47 ./bin/test-attribution-txt.sh [Pipeline] echo 21:40:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:40:47 $ docker stop --time=1 39b74588bf85ea028922f25e8706ef8b3ad56712ea11c16a15c7302588f60446 21:40:51 $ docker rm -f --volumes 39b74588bf85ea028922f25e8706ef8b3ad56712ea11c16a15c7302588f60446 [Pipeline] // withDockerContainer [Pipeline] sh 21:40:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:40:52 Warning: overwriting stash ‘coverage-report’ 21:40:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:40:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:40:53 + ls -al . 21:40:53 total 160 21:40:53 drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 21:35 . 21:40:53 drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 21:33 .. 21:40:53 -rw-rw-r-- 1 jenkins jenkins 119 Jul 13 21:33 .dockerignore 21:40:53 drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 21:33 .git 21:40:53 drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 21:33 .github 21:40:53 -rw-rw-r-- 1 jenkins jenkins 164 Jul 13 21:33 .gitignore 21:40:53 -rw-rw-r-- 1 jenkins jenkins 41 Jul 13 21:33 .golangci.yml 21:40:53 -rw-rw-r-- 1 jenkins jenkins 10642 Jul 13 21:33 Attribution.txt 21:40:53 -rw-rw-r-- 1 jenkins jenkins 258 Jul 13 21:33 CHANGELOG.md 21:40:53 -rw-rw-r-- 1 jenkins jenkins 1616 Jul 13 21:33 Dockerfile 21:40:53 -rw-rw-r-- 1 jenkins jenkins 677 Jul 13 21:33 GOVERNANCE.md 21:40:53 -rw-rw-r-- 1 jenkins jenkins 681 Jul 13 21:33 Jenkinsfile 21:40:53 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 13 21:33 LICENSE 21:40:53 -rw-rw-r-- 1 jenkins jenkins 3139 Jul 13 21:33 Makefile 21:40:53 -rw-rw-r-- 1 jenkins jenkins 611 Jul 13 21:33 OWNERS.md 21:40:53 -rw-rw-r-- 1 jenkins jenkins 2363 Jul 13 21:33 README.md 21:40:53 -rw-rw-r-- 1 jenkins jenkins 4285 Jul 13 21:33 Record and Reply.postman_collection.json 21:40:53 -rw-rw-r-- 1 jenkins jenkins 5 Jul 13 21:31 VERSION 21:40:53 drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 21:33 bin 21:40:53 -rw-r--r-- 1 jenkins jenkins 7918 Jul 13 21:38 coverage.out 21:40:53 -rw-rw-r-- 1 jenkins jenkins 3678 Jul 13 21:33 go.mod 21:40:53 -rw-rw-r-- 1 jenkins jenkins 32843 Jul 13 21:33 go.sum 21:40:53 drwxrwxr-x 6 jenkins jenkins 4096 Jul 13 21:33 internal 21:40:53 -rw-rw-r-- 1 jenkins jenkins 913 Jul 13 21:33 main.go 21:40:53 drwxrwxr-x 3 jenkins jenkins 4096 Jul 13 21:33 pkg 21:40:53 drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 21:33 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:40:54 + docker build -t app-record-replay-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=ab616513ef9814d0fae59b16a412b6181ab4b81e --label arch=arm64 --label version=0.0.0 . 21:40:54 Sending build context to Docker daemon 169.5kB 21:40:54 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 21:40:54 Step 2/26 : FROM ${BASE} AS builder 21:40:54 ---> f10211c05cdc 21:40:54 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 21:40:54 ---> Running in de5510544bbf 21:40:54 Removing intermediate container de5510544bbf 21:40:54 ---> 4c7a19bec233 21:40:54 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 21:40:54 ---> Running in 9672a67f4832 21:40:54 Removing intermediate container 9672a67f4832 21:40:54 ---> d37510b5f266 21:40:54 Step 5/26 : ARG ADD_BUILD_TAGS="" 21:40:55 ---> Running in 6378ec17aea6 21:40:55 Removing intermediate container 6378ec17aea6 21:40:55 ---> 7b97cdd8ae6d 21:40:55 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:40:55 ---> Running in 26c50f9fc95f 21:40:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:40:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:40:57 OK: 263 MiB in 53 packages 21:40:58 Removing intermediate container 26c50f9fc95f 21:40:58 ---> e890a720e92f 21:40:58 Step 7/26 : WORKDIR /app 21:40:58 ---> Running in 4372540c4373 21:40:59 Removing intermediate container 4372540c4373 21:40:59 ---> bcd13592d448 21:40:59 Step 8/26 : COPY go.mod vendor* ./ 21:40:59 ---> bf329554f45d 21:40:59 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:40:59 ---> Running in 858f178ed136 21:41:03 Removing intermediate container 858f178ed136 21:41:03 ---> 2055b0658891 21:41:03 Step 10/26 : COPY . . 21:41:03 ---> 75b1d9ceb73b 21:41:03 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:41:03 ---> Running in 083d4b5c0090 21:41:03 Removing intermediate container 083d4b5c0090 21:41:03 ---> 357616fdaff1 21:41:03 Step 12/26 : RUN $MAKE 21:41:04 ---> Running in 0d06f4a39a5b 21:41:05 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.5 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 21:43:11 Removing intermediate container 0d06f4a39a5b 21:43:11 ---> c5d6106bc5f4 21:43:11 Step 13/26 : FROM alpine:3.17 21:43:11 3.17: Pulling from library/alpine 21:43:11 edb6bdbacee9: Already exists 21:43:11 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 21:43:11 Status: Downloaded newer image for alpine:3.17 21:43:11 ---> 779605e5fbc0 21:43:11 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:43:11 ---> Running in b82e12ff6dd4 21:43:11 Removing intermediate container b82e12ff6dd4 21:43:11 ---> bdd95d4ff567 21:43:11 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 21:43:11 ---> Running in 2b6c6da5552f 21:43:11 Removing intermediate container 2b6c6da5552f 21:43:11 ---> 6efc50c3dc90 21:43:11 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 21:43:11 ---> Running in 48486dcf913d 21:43:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:43:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:43:11 (1/2) Installing ca-certificates (20230506-r0) 21:43:11 (2/2) Installing dumb-init (1.2.5-r2) 21:43:11 Executing busybox-1.35.0-r29.trigger 21:43:11 Executing ca-certificates-20230506-r0.trigger 21:43:11 OK: 8 MiB in 17 packages 21:43:12 Removing intermediate container 48486dcf913d 21:43:12 ---> a26b1eb85824 21:43:12 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 21:43:12 ---> 1fb77e044fda 21:43:12 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 21:43:13 ---> 0bb3d66516d5 21:43:13 Step 19/26 : COPY --from=builder /app/res/ /res/ 21:43:13 ---> 63a6941408d1 21:43:13 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 21:43:15 ---> 474d3588208a 21:43:15 Step 21/26 : EXPOSE 59712 21:43:15 ---> Running in b57e072fe9a9 21:43:15 Removing intermediate container b57e072fe9a9 21:43:15 ---> 746b852edabf 21:43:15 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 21:43:15 ---> Running in 46ca17575616 21:43:15 Removing intermediate container 46ca17575616 21:43:15 ---> ffc5862e3487 21:43:15 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:43:15 ---> Running in 226b4c66e399 21:43:16 Removing intermediate container 226b4c66e399 21:43:16 ---> 65fc434685f2 21:43:16 Step 24/26 : LABEL arch=arm64 21:43:16 ---> Running in c1f1a87bcf2c 21:43:16 Removing intermediate container c1f1a87bcf2c 21:43:16 ---> fd7453f5756c 21:43:16 Step 25/26 : LABEL git_sha=ab616513ef9814d0fae59b16a412b6181ab4b81e 21:43:16 ---> Running in f5236559cf64 21:43:16 Removing intermediate container f5236559cf64 21:43:16 ---> 9fc019c1876a 21:43:16 Step 26/26 : LABEL version=0.0.0 21:43:16 ---> Running in 535e523d59b5 21:43:17 Removing intermediate container 535e523d59b5 21:43:17 ---> 1a67ff542339 21:43:17 [Warning] One or more build-args [ARCH] were not consumed 21:43:17 Successfully built 1a67ff542339 21:43:17 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 21:43:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:43:17 21:43:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:43:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:43:17 arm64: Pulling from edgex-lftools-log-publisher 21:43:17 8998bd30e6a1: Pulling fs layer 21:43:17 04944245beec: Pulling fs layer 21:43:17 699f458cf7ca: Pulling fs layer 21:43:17 765212b225bb: Pulling fs layer 21:43:17 f23df028b6ca: Pulling fs layer 21:43:17 d65c8cfc05b1: Pulling fs layer 21:43:17 2437ff75d9bd: Pulling fs layer 21:43:17 765212b225bb: Waiting 21:43:17 f23df028b6ca: Waiting 21:43:17 d65c8cfc05b1: Waiting 21:43:17 2437ff75d9bd: Waiting 21:43:18 04944245beec: Verifying Checksum 21:43:18 04944245beec: Download complete 21:43:18 765212b225bb: Download complete 21:43:18 f23df028b6ca: Verifying Checksum 21:43:18 f23df028b6ca: Download complete 21:43:18 d65c8cfc05b1: Verifying Checksum 21:43:18 d65c8cfc05b1: Download complete 21:43:18 699f458cf7ca: Verifying Checksum 21:43:18 699f458cf7ca: Download complete 21:43:18 8998bd30e6a1: Verifying Checksum 21:43:18 8998bd30e6a1: Download complete 21:43:20 2437ff75d9bd: Verifying Checksum 21:43:20 2437ff75d9bd: Download complete 21:43:22 8998bd30e6a1: Pull complete 21:43:22 04944245beec: Pull complete 21:43:24 699f458cf7ca: Pull complete 21:43:24 765212b225bb: Pull complete 21:43:24 f23df028b6ca: Pull complete 21:43:25 d65c8cfc05b1: Pull complete 21:43:40 2437ff75d9bd: Pull complete 21:43:40 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:43:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:43:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:43:40 prd-ubuntu20.04-docker-arm64-4c-16g-1098 does not seem to be running inside a container 21:43:40 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-record-replay/2 -v /w/workspace/app-record-replay/2:/w/workspace/app-record-replay/2:rw,z -v /w/workspace/app-record-replay/2@tmp:/w/workspace/app-record-replay/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:43:42 $ docker top d882ffcce04a05e97dede9fd21caa7d6561a601dae4e3bc722c56c8490c29c9c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:43:43 ---> job-cost.sh 21:43:43 lf-activate-venv: SKIPPING 21:43:43 INFO: No Stack... 21:43:44 INFO: Retrieving Pricing Info for: v3-standard-4 21:43:44 INFO: Archiving Costs [Pipeline] sh 21:43:45 + + cat /w/workspace/app-record-replay/2/archives/cost.csv 21:43:45 cut -d, -f6 [Pipeline] lock 21:43:45 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-42-2-stack-cost] 21:43:45 Resource [jenkins-edgexfoundry-app-record-replay-PR-42-2-stack-cost] did not exist. Created. 21:43:45 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-42-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:43:46 /w/workspace/app-record-replay/2@tmp/durable-04a05fb9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:43:46 + echo total: 0.10999999940395355 [Pipeline] stash 21:43:46 Warning: overwriting stash ‘stack-cost’ 21:43:46 Stashed 1 file(s) [Pipeline] } 21:43:46 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-42-2-stack-cost] [Pipeline] // lock [Pipeline] } 21:43:46 $ docker stop --time=1 d882ffcce04a05e97dede9fd21caa7d6561a601dae4e3bc722c56c8490c29c9c 21:43:48 $ docker rm -f --volumes d882ffcce04a05e97dede9fd21caa7d6561a601dae4e3bc722c56c8490c29c9c [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 21:43:48 provisioning config files... 21:43:48 Could not find credentials [app-record-replay-codecov-token] for edgexfoundry/app-record-replay/PR-42 #2 21:43:48 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/xfoundry_app-record-replay_PR-42@tmp/config5990652328521303372tmp [Pipeline] { [Pipeline] sh 21:43:49 + set +x 21:43:49 + curl -s https://codecov.io/bash+ 21:43:49 bash -s -- 21:43:49 21:43:49 _____ _ 21:43:49 / ____| | | 21:43:49 | | ___ __| | ___ ___ _____ __ 21:43:49 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:43:49 | |___| (_) | (_| | __/ (_| (_) \ V / 21:43:49 \_____\___/ \__,_|\___|\___\___/ \_/ 21:43:49 Bash-1.0.6 21:43:49 21:43:49 21:43:49 ==> git version 2.25.1 found 21:43:49 ==> 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 21:43:49 Release-Date: 2020-01-08 21:43:49 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:43:49 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:43:49 ==> Jenkins CI detected. 21:43:49 current dir:  /w/workspace/xfoundry_app-record-replay_PR-42 21:43:49 project root: . 21:43:49 --> token set from env 21:43:49 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:43:49 ==> Running gcov in . (disable via -X gcov) 21:43:49 ==> Python coveragepy not found 21:43:49 ==> Searching for coverage reports in: 21:43:49 + . 21:43:49 -> Found 1 reports 21:43:49 ==> Detecting git/mercurial file structure 21:43:49 ==> Reading reports 21:43:49 + ./coverage.out bytes=7918 21:43:49 ==> Appending adjustments 21:43:49 https://docs.codecov.io/docs/fixing-reports 21:43:49 + Found adjustments 21:43:49 ==> Gzipping contents 21:43:49 4.0K /tmp/codecov.cuT0pS.gz 21:43:49 ==> Uploading reports 21:43:49 url: https://codecov.io 21:43:49 query: branch=PR-42&commit=ab616513ef9814d0fae59b16a412b6181ab4b81e&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-42%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=42&job=&cmd_args= 21:43:49 -> Pinging Codecov 21:43:49 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=$CCTOKEN&branch=PR-42&commit=ab616513ef9814d0fae59b16a412b6181ab4b81e&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-42%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=42&job=&cmd_args= 21:43:49 Invalid request parameters 21:43:49 400 [Pipeline] } 21:43:49 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 21:43:50 + [ -d /w/workspace/xfoundry_app-record-replay_PR-42/archives ] 21:43:50 + ls -al /w/workspace/xfoundry_app-record-replay_PR-42/archives 21:43:50 total 16 21:43:50 drwxr-xr-x 3 root root 4096 Jul 13 21:34 . 21:43:50 drwxrwxr-x 10 jenkins jenkins 4096 Jul 13 21:34 .. 21:43:50 drwxr-xr-x 2 root root 4096 Jul 13 21:34 cost 21:43:50 -rw-r--r-- 1 root root 88 Jul 13 21:34 cost.csv 21:43:50 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-42/archives 21:43:50 + ls -al /w/workspace/xfoundry_app-record-replay_PR-42/archives 21:43:50 total 16 21:43:50 drwxr-xr-x 3 jenkins jenkins 4096 Jul 13 21:34 . 21:43:50 drwxrwxr-x 10 jenkins jenkins 4096 Jul 13 21:34 .. 21:43:50 drwxr-xr-x 2 jenkins jenkins 4096 Jul 13 21:34 cost 21:43:50 -rw-r--r-- 1 jenkins jenkins 88 Jul 13 21:34 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:43:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:43:51 ---> package-listing.sh 21:43:51 ++ facter osfamily 21:43:51 ++ tr '[:upper:]' '[:lower:]' 21:43:51 + OS_FAMILY=debian 21:43:51 + workspace=/w/workspace/xfoundry_app-record-replay_PR-42 21:43:51 + START_PACKAGES=/tmp/packages_start.txt 21:43:51 + END_PACKAGES=/tmp/packages_end.txt 21:43:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:43:51 + PACKAGES=/tmp/packages_start.txt 21:43:51 + '[' /w/workspace/xfoundry_app-record-replay_PR-42 ']' 21:43:51 + PACKAGES=/tmp/packages_end.txt 21:43:51 + case "${OS_FAMILY}" in 21:43:51 + dpkg -l 21:43:51 + grep '^ii' 21:43:51 + '[' -f /tmp/packages_start.txt ']' 21:43:51 + '[' -f /tmp/packages_end.txt ']' 21:43:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:43:51 + '[' /w/workspace/xfoundry_app-record-replay_PR-42 ']' 21:43:51 + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-42/archives/ 21:43:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-42/archives/ [Pipeline] echo 21:43:51 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_app-record-replay_PR-42/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:43:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:43:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:43:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:43:52 prd-ubuntu20.04-docker-8c-8g-1097 does not seem to be running inside a container 21:43:52 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_app-record-replay_PR-42/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-42 -v /w/workspace/xfoundry_app-record-replay_PR-42:/w/workspace/xfoundry_app-record-replay_PR-42:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-42@tmp:/w/workspace/xfoundry_app-record-replay_PR-42@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:43:52 $ docker top 7d537992540b671aa53a149ee376e948e80122fa1f188aadf4e623314f9a63dd -eo pid,comm [Pipeline] { [Pipeline] sh 21:43:52 + touch /tmp/pre-build-complete [Pipeline] sh 21:43:53 + mkdir -p /var/log/sysstat [Pipeline] sh 21:43:53 + ls /var/log/sa-host 21:43:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:43:53 provisioning config files... 21:43:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-42@tmp/config9164774404617798935tmp [Pipeline] { [Pipeline] echo 21:43:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:43:53 ---> create-netrc.sh [Pipeline] } 21:43:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:43:54 ---> python-tools-install.sh [Pipeline] echo 21:43:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:43:54 ---> sudo-logs.sh 21:43:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:43:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:43:54 ---> job-cost.sh 21:43:54 lf-activate-venv: SKIPPING 21:43:54 DEBUG: total: 0.2199999988079071 21:43:54 INFO: Retrieving Stack Cost... 21:43:55 INFO: Retrieving Pricing Info for: v3-standard-8 21:43:55 INFO: Archiving Costs [Pipeline] echo 21:43:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:43:56 ---> logs-deploy.sh 21:43:56 lf-activate-venv: SKIPPING 21:43:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-42/2 21:43:56 INFO: archiving workspace using pattern(s): 21:43:57 Archives upload complete. 21:43:57 INFO: archiving logs to Nexus