Pull request #56 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of marcpfuller for edgexfoundry/app-record-replay Loading trusted files from base branch main at 53d214d660c211fabaeb1f0df01625a9dcc42235 rather than 9d67ec6c84775a96f29de82c164e4f2d147e8381 Obtained Jenkinsfile from 53d214d660c211fabaeb1f0df01625a9dcc42235 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14338438778355417134.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-ssh16603434120661982241.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-56/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-56/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6833295255454090065.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-ssh2196131122500258018.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-56/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-56/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17744855559321483820.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-3243 in /w/workspace/xfoundry_app-record-replay_PR-56 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-record-replay.git > git init /w/workspace/xfoundry_app-record-replay_PR-56 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 53d214d660c211fabaeb1f0df01625a9dcc42235 into PR head commit 9d67ec6c84775a96f29de82c164e4f2d147e8381 Merge succeeded, producing 9d67ec6c84775a96f29de82c164e4f2d147e8381 Checking out Revision 9d67ec6c84775a96f29de82c164e4f2d147e8381 (PR-56) > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/56/head:refs/remotes/origin/PR-56 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9d67ec6c84775a96f29de82c164e4f2d147e8381 # 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 53d214d660c211fabaeb1f0df01625a9dcc42235 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9d67ec6c84775a96f29de82c164e4f2d147e8381 # timeout=10 Commit message: "fix: Resolve Jims comments" > git rev-list --no-walk e8aac7c45f8fdf70ae4443fc0a41071cd1a7e61d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:16:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:16:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:16:12 ========================================================= 20:16:12 EdgeX Global Pipelines Version Info 20:16:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:16:12 ------------------- 20:16:12 stable info: 20:16:12 ------------------- 20:16:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:16:12 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 20:16:12 Message: update stable to v1.0.250 20:16:13 ------------------- 20:16:13 experimental info: 20:16:13 ------------------- 20:16:13 Commited By: **** collab-it+edgex@linuxfoundation.org 20:16:13 Commit SHA: e40317f62605a4f3b5f0b8a3ca7537e8fb1ff910 20:16:13 Message: update experimental to v1.0.252 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:16:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 20:16:13 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 20:16:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:16:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:16:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:16:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 20:16:13 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:16:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:16:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:16:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:16:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:16:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 20:16:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:16:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:16:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:16:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:16:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:16:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:16:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:16:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:16:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:16:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:16:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:16:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:16:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:16:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:16:14 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:16:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-56 [Pipeline] echo 20:16:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-56 [Pipeline] echo 20:16:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-56 [Pipeline] echo 20:16:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9d67ec6c84775a96f29de82c164e4f2d147e8381 [Pipeline] echo 20:16:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9d67ec6 [Pipeline] echo 20:16:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:16:14 provisioning config files... 20:16:14 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-56@tmp/config9911571771127676908tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:16:14 ---> docker-login.sh 20:16:14 nexus3.edgexfoundry.org:10001 20:16:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:14 Configure a credential helper to remove this warning. See 20:16:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:14 20:16:14 Login Succeeded 20:16:14 nexus3.edgexfoundry.org:10002 20:16:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:15 Configure a credential helper to remove this warning. See 20:16:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:15 20:16:15 Login Succeeded 20:16:15 nexus3.edgexfoundry.org:10003 20:16:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:15 Configure a credential helper to remove this warning. See 20:16:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:15 20:16:15 Login Succeeded 20:16:15 nexus3.edgexfoundry.org:10004 20:16:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:15 Configure a credential helper to remove this warning. See 20:16:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:15 20:16:15 Login Succeeded 20:16:15 docker.io 20:16:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:15 Configure a credential helper to remove this warning. See 20:16:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:15 20:16:15 Login Succeeded 20:16:15 ---> docker-login.sh ends [Pipeline] } 20:16:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:16:15 + git rev-list -1 --merges 9d67ec6c84775a96f29de82c164e4f2d147e8381~1..9d67ec6c84775a96f29de82c164e4f2d147e8381 [Pipeline] echo 20:16:16 -----------> git rev-list -1 --merges 9d67ec6c84775a96f29de82c164e4f2d147e8381~1..9d67ec6c84775a96f29de82c164e4f2d147e8381 9d67ec6c84775a96f29de82c164e4f2d147e8381 [false] [Pipeline] sh 20:16:16 + git log --format=format:%s -1 9d67ec6c84775a96f29de82c164e4f2d147e8381 [Pipeline] echo 20:16:16 ========================================================= 20:16:16 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:16:16 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:16:16 + git log --format=format:%s -1 9d67ec6c84775a96f29de82c164e4f2d147e8381 [Pipeline] echo 20:16:16 [semverPrep] GIT_COMMIT: 9d67ec6c84775a96f29de82c164e4f2d147e8381, Commit Message: fix: Resolve Jims comments [Pipeline] echo 20:16:16 [semverPrep] This is not a build commit. [Pipeline] sh 20:16:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:16:17 + grep -v github /etc/ssh/ssh_known_hosts 20:16:17 + [ -e /tmp/ssh_known_hosts ] 20:16:17 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:16:17 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 20:16:17 -a /etc/ssh/ssh_known_hosts 20:16:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:16:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:16:17 20:16:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:16:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:16:17 0.1.4: Pulling from edgex-devops/py-git-semver 20:16:17 b85a868b505f: Pulling fs layer 20:16:17 e2be974225ed: Pulling fs layer 20:16:17 339a4e72a1f5: Pulling fs layer 20:16:17 988bab9f4d93: Pulling fs layer 20:16:17 1469e6f7b9e6: Pulling fs layer 20:16:17 eaf3925da568: Pulling fs layer 20:16:17 bab4dde63d76: Pulling fs layer 20:16:17 bde34c3a00c8: Pulling fs layer 20:16:17 b352a97aabf1: Pulling fs layer 20:16:17 4872d77fe225: Pulling fs layer 20:16:17 5851b861e8e6: Pulling fs layer 20:16:17 988bab9f4d93: Waiting 20:16:17 bde34c3a00c8: Waiting 20:16:17 1469e6f7b9e6: Waiting 20:16:17 b352a97aabf1: Waiting 20:16:17 eaf3925da568: Waiting 20:16:17 4872d77fe225: Waiting 20:16:17 bab4dde63d76: Waiting 20:16:17 e2be974225ed: Verifying Checksum 20:16:17 e2be974225ed: Download complete 20:16:17 988bab9f4d93: Verifying Checksum 20:16:17 988bab9f4d93: Download complete 20:16:18 339a4e72a1f5: Verifying Checksum 20:16:18 339a4e72a1f5: Download complete 20:16:18 1469e6f7b9e6: Verifying Checksum 20:16:18 1469e6f7b9e6: Download complete 20:16:18 eaf3925da568: Verifying Checksum 20:16:18 eaf3925da568: Download complete 20:16:18 bde34c3a00c8: Verifying Checksum 20:16:18 bde34c3a00c8: Download complete 20:16:18 b352a97aabf1: Verifying Checksum 20:16:18 b352a97aabf1: Download complete 20:16:18 4872d77fe225: Verifying Checksum 20:16:18 4872d77fe225: Download complete 20:16:18 5851b861e8e6: Verifying Checksum 20:16:18 5851b861e8e6: Download complete 20:16:18 b85a868b505f: Verifying Checksum 20:16:18 b85a868b505f: Download complete 20:16:18 bab4dde63d76: Verifying Checksum 20:16:18 bab4dde63d76: Download complete 20:16:19 b85a868b505f: Pull complete 20:16:19 e2be974225ed: Pull complete 20:16:19 339a4e72a1f5: Pull complete 20:16:20 988bab9f4d93: Pull complete 20:16:20 1469e6f7b9e6: Pull complete 20:16:20 eaf3925da568: Pull complete 20:16:22 bab4dde63d76: Pull complete 20:16:22 bde34c3a00c8: Pull complete 20:16:22 b352a97aabf1: Pull complete 20:16:22 4872d77fe225: Pull complete 20:16:22 5851b861e8e6: Pull complete 20:16:22 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:16:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:16:22 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:16:22 prd-ubuntu20.04-docker-8c-8g-3243 does not seem to be running inside a container 20:16:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-56 -v /w/workspace/xfoundry_app-record-replay_PR-56:/w/workspace/xfoundry_app-record-replay_PR-56:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-56@tmp:/w/workspace/xfoundry_app-record-replay_PR-56@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:16:25 $ docker top f2cbcd426f0de00719bee10ab362f0222dc3d0a217022ca78bd0d01be617eb6f -eo pid,comm 20:16:25 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). 20:16:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:16:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:16:25 [ssh-agent] Looking for ssh-agent implementation... 20:16:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:16:25 $ docker exec f2cbcd426f0de00719bee10ab362f0222dc3d0a217022ca78bd0d01be617eb6f ssh-agent 20:16:25 SSH_AUTH_SOCK=/tmp/ssh-Ju6ICejgXAOV/agent.32 20:16:25 SSH_AGENT_PID=38 20:16:25 Running ssh-add (command line suppressed) 20:16:25 Identity added: /w/workspace/xfoundry_app-record-replay_PR-56@tmp/private_key_10285120715721653983.key (/w/workspace/xfoundry_app-record-replay_PR-56@tmp/private_key_10285120715721653983.key) 20:16:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:16:26 + git tag --points-at HEAD [Pipeline] } 20:16:26 $ docker exec --env ******** --env ******** f2cbcd426f0de00719bee10ab362f0222dc3d0a217022ca78bd0d01be617eb6f ssh-agent -k 20:16:26 unset SSH_AUTH_SOCK; 20:16:26 unset SSH_AGENT_PID; 20:16:26 echo Agent pid 38 killed; 20:16:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:16:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:16:26 [ssh-agent] Looking for ssh-agent implementation... 20:16:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:16:26 $ docker exec f2cbcd426f0de00719bee10ab362f0222dc3d0a217022ca78bd0d01be617eb6f ssh-agent 20:16:26 SSH_AUTH_SOCK=/tmp/ssh-OVwkzffM8N5b/agent.70 20:16:26 SSH_AGENT_PID=76 20:16:26 Running ssh-add (command line suppressed) 20:16:26 Identity added: /w/workspace/xfoundry_app-record-replay_PR-56@tmp/private_key_245628418595019620.key (/w/workspace/xfoundry_app-record-replay_PR-56@tmp/private_key_245628418595019620.key) 20:16:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:16:26 + git semver init 20:16:27 2023-08-09 20:16:27,013 [run_init] DEBUG init version:0.0.0 force:False 20:16:27 2023-08-09 20:16:27,013 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-56/.semver 20:16:27 2023-08-09 20:16:27,014 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-56/.semver 20:16:27 2023-08-09 20:16:27,014 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-56/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-56, universal_newlines=False, shell=None, istream=None) 20:16:27 2023-08-09 20:16:27,589 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-56/.git/info/exclude 20:16:27 2023-08-09 20:16:27,590 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-56/.semver/PR-56 with force:False 20:16:27 2023-08-09 20:16:27,590 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-56/.semver/PR-56 20:16:27 2023-08-09 20:16:27,594 [execute] INFO git cat-file --batch-check 20:16:27 2023-08-09 20:16:27,594 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-56/.semver, universal_newlines=False, shell=None, istream=) 20:16:27 2023-08-09 20:16:27,600 [execute] INFO git cat-file --batch 20:16:27 2023-08-09 20:16:27,601 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-56/.semver, universal_newlines=False, shell=None, istream=) 20:16:27 2023-08-09 20:16:27,606 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-56/.semver/PR-56 20:16:27 0.0.0 [Pipeline] } 20:16:27 $ docker exec --env ******** --env ******** f2cbcd426f0de00719bee10ab362f0222dc3d0a217022ca78bd0d01be617eb6f ssh-agent -k 20:16:27 unset SSH_AUTH_SOCK; 20:16:27 unset SSH_AGENT_PID; 20:16:27 echo Agent pid 76 killed; 20:16:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:16:28 + git semver [Pipeline] } 20:16:28 $ docker stop --time=1 f2cbcd426f0de00719bee10ab362f0222dc3d0a217022ca78bd0d01be617eb6f 20:16:29 $ docker rm -f --volumes f2cbcd426f0de00719bee10ab362f0222dc3d0a217022ca78bd0d01be617eb6f [Pipeline] // withDockerContainer [Pipeline] sh 20:16:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:16:30 Stashed 1 file(s) [Pipeline] echo 20:16:30 [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 20:16:30 provisioning config files... 20:16:30 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-56@tmp/config14875275626637589672tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:16:30 ---> docker-login.sh 20:16:30 nexus3.edgexfoundry.org:10001 20:16:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:30 Configure a credential helper to remove this warning. See 20:16:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:30 20:16:30 Login Succeeded 20:16:30 nexus3.edgexfoundry.org:10002 20:16:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:30 Configure a credential helper to remove this warning. See 20:16:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:30 20:16:30 Login Succeeded 20:16:30 nexus3.edgexfoundry.org:10003 20:16:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:30 Configure a credential helper to remove this warning. See 20:16:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:30 20:16:30 Login Succeeded 20:16:30 nexus3.edgexfoundry.org:10004 20:16:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:30 Configure a credential helper to remove this warning. See 20:16:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:30 20:16:30 Login Succeeded 20:16:30 docker.io 20:16:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:31 Configure a credential helper to remove this warning. See 20:16:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:31 20:16:31 Login Succeeded 20:16:31 ---> docker-login.sh ends [Pipeline] } 20:16:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:16:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:16:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:16:31 ========================================================= 20:16:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 20:16:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:16:31 + 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 . 20:16:31 Sending build context to Docker daemon 441.9kB 20:16:31 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 20:16:31 Step 2/12 : FROM ${BASE} AS builder 20:16:31 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 20:16:31 4db1b89c0bd1: Pulling fs layer 20:16:31 6911f1a30b25: Pulling fs layer 20:16:31 e194b8c5c2a9: Pulling fs layer 20:16:31 6863d3e3a2b1: Pulling fs layer 20:16:31 ec0bb842ea78: Pulling fs layer 20:16:31 40a00589a448: Pulling fs layer 20:16:31 6c08303d61cc: Pulling fs layer 20:16:31 798269fcf238: Pulling fs layer 20:16:31 6863d3e3a2b1: Waiting 20:16:31 ec0bb842ea78: Waiting 20:16:31 6c08303d61cc: Waiting 20:16:31 798269fcf238: Waiting 20:16:31 40a00589a448: Waiting 20:16:31 6911f1a30b25: Download complete 20:16:31 6863d3e3a2b1: Verifying Checksum 20:16:31 6863d3e3a2b1: Download complete 20:16:31 ec0bb842ea78: Download complete 20:16:31 4db1b89c0bd1: Verifying Checksum 20:16:31 4db1b89c0bd1: Download complete 20:16:32 40a00589a448: Verifying Checksum 20:16:32 40a00589a448: Download complete 20:16:32 4db1b89c0bd1: Pull complete 20:16:32 6911f1a30b25: Pull complete 20:16:32 798269fcf238: Verifying Checksum 20:16:32 798269fcf238: Download complete 20:16:32 e194b8c5c2a9: Download complete 20:16:32 6c08303d61cc: Verifying Checksum 20:16:32 6c08303d61cc: Download complete 20:16:35 e194b8c5c2a9: Pull complete 20:16:35 6863d3e3a2b1: Pull complete 20:16:36 ec0bb842ea78: Pull complete 20:16:36 40a00589a448: Pull complete 20:16:38 6c08303d61cc: Pull complete 20:16:39 798269fcf238: Pull complete 20:16:39 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 20:16:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:16:39 ---> ec979cd7f677 20:16:39 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 20:16:42 ---> Running in 1926e291a1b3 20:16:43 Removing intermediate container 1926e291a1b3 20:16:43 ---> 2f5132199560 20:16:43 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 20:16:43 ---> Running in ef628d4c8a58 20:16:43 Removing intermediate container ef628d4c8a58 20:16:43 ---> 6a720a5ec4ce 20:16:43 Step 5/12 : ARG ADD_BUILD_TAGS="" 20:16:43 ---> Running in 86c28d121cf8 20:16:43 Removing intermediate container 86c28d121cf8 20:16:43 ---> 17cf88bd8dcc 20:16:43 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:16:43 ---> Running in bf9cd23ae15d 20:16:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:16:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:16:43 OK: 265 MiB in 53 packages 20:16:44 Removing intermediate container bf9cd23ae15d 20:16:44 ---> cc17e1bc68a3 20:16:44 Step 7/12 : WORKDIR /app 20:16:44 ---> Running in 32eaaa0eae4d 20:16:44 Removing intermediate container 32eaaa0eae4d 20:16:44 ---> b27e1dd91a36 20:16:44 Step 8/12 : COPY go.mod vendor* ./ 20:16:44 ---> c2d298f4970c 20:16:44 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:16:44 ---> Running in 70ebbfba1020 20:16:45 Still waiting to schedule task 20:16:45 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:17:31 Removing intermediate container 70ebbfba1020 20:17:31 ---> e3ea5c1505ef 20:17:31 Step 10/12 : COPY . . 20:17:31 ---> e905f5f3b741 20:17:31 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:17:31 ---> Running in cd0a3d0819d5 20:17:31 Removing intermediate container cd0a3d0819d5 20:17:31 ---> 0fe889768ab6 20:17:31 Step 12/12 : RUN $MAKE 20:17:31 ---> Running in a42df03c098e 20:17:31 noop 20:17:31 Removing intermediate container a42df03c098e 20:17:31 ---> 177078d6c997 20:17:31 Successfully built 177078d6c997 20:17:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:17:31 + docker inspect -f . ci-base-image-x86_64 20:17:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:17:31 prd-ubuntu20.04-docker-8c-8g-3243 does not seem to be running inside a container 20:17:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-56 -v /w/workspace/xfoundry_app-record-replay_PR-56:/w/workspace/xfoundry_app-record-replay_PR-56:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-56@tmp:/w/workspace/xfoundry_app-record-replay_PR-56@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:17:31 $ docker top 53243659669db2101677c1435aba2f4243ea76eac6d4b8def41a03308efd69cf -eo pid,comm [Pipeline] { [Pipeline] sh 20:17:32 + go version 20:17:32 go version go1.20.6 linux/amd64 [Pipeline] } 20:17:32 $ docker stop --time=1 53243659669db2101677c1435aba2f4243ea76eac6d4b8def41a03308efd69cf 20:17:33 $ docker rm -f --volumes 53243659669db2101677c1435aba2f4243ea76eac6d4b8def41a03308efd69cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:17:33 + docker inspect -f . ci-base-image-x86_64 20:17:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:17:33 prd-ubuntu20.04-docker-8c-8g-3243 does not seem to be running inside a container 20:17:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_app-record-replay_PR-56 -v /w/workspace/xfoundry_app-record-replay_PR-56:/w/workspace/xfoundry_app-record-replay_PR-56:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-56@tmp:/w/workspace/xfoundry_app-record-replay_PR-56@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:17:34 $ docker top af36106610b47afcff81dfc71d5f11e2342147df14967acfc94349941369f79d -eo pid,comm [Pipeline] { [Pipeline] sh 20:17:34 + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-56 [Pipeline] fileExists [Pipeline] sh 20:17:34 + make test 20:17:34 go test -race -coverprofile=coverage.out ./... 20:17:56 ? github.com/edgexfoundry/app-record-replay [no test files] 20:17:56 ok github.com/edgexfoundry/app-record-replay/internal/app 0.070s coverage: 88.0% of statements 20:17:56 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 20:17:56 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 20:17:56 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 20:18:03 ok github.com/edgexfoundry/app-record-replay/internal/application 8.594s coverage: 97.5% of statements 20:18:03 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.101s coverage: 77.9% of statements 20:18:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3244 in /w/workspace/xfoundry_app-record-replay_PR-56 [Pipeline] { [Pipeline] ws 20:18:14 Running in /w/workspace/app-record-replay/4 [Pipeline] { [Pipeline] checkout 20:18:14 Selected Git installation does not exist. Using Default 20:18:14 The recommended git tool is: NONE 20:18:19 using credential edgex-jenkins-ssh 20:18:19 Cloning the remote Git repository 20:18:19 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 20:18:19 > git init /w/workspace/app-record-replay/4 # timeout=10 20:18:19 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 20:18:19 > git --version # timeout=10 20:18:19 > git --version # 'git version 2.25.1' 20:18:19 using GIT_SSH to set credentials SSH Credentials for GitHub 20:18:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:18:20 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 20:18:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:18:21 go vet ./... 20:18:22 Merging remotes/origin/main commit 53d214d660c211fabaeb1f0df01625a9dcc42235 into PR head commit 9d67ec6c84775a96f29de82c164e4f2d147e8381 20:18:21 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 20:18:21 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 20:18:21 using GIT_SSH to set credentials SSH Credentials for GitHub 20:18:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/56/head:refs/remotes/origin/PR-56 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:18:22 > git config core.sparsecheckout # timeout=10 20:18:22 Merge succeeded, producing 9d67ec6c84775a96f29de82c164e4f2d147e8381 20:18:22 Checking out Revision 9d67ec6c84775a96f29de82c164e4f2d147e8381 (PR-56) 20:18:22 > git checkout -f 9d67ec6c84775a96f29de82c164e4f2d147e8381 # timeout=10 20:18:22 > git remote # timeout=10 20:18:22 > git config --get remote.origin.url # timeout=10 20:18:22 using GIT_SSH to set credentials SSH Credentials for GitHub 20:18:22 > git merge 53d214d660c211fabaeb1f0df01625a9dcc42235 # timeout=10 20:18:22 > git rev-parse HEAD^{commit} # timeout=10 20:18:22 > git config core.sparsecheckout # timeout=10 20:18:22 > git checkout -f 9d67ec6c84775a96f29de82c164e4f2d147e8381 # timeout=10 20:18:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:18:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:18:25 ./bin/test-attribution-txt.sh [Pipeline] echo 20:18:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:18:25 $ docker stop --time=1 af36106610b47afcff81dfc71d5f11e2342147df14967acfc94349941369f79d 20:18:25 Commit message: "fix: Resolve Jims comments" 20:18:29 $ docker rm -f --volumes af36106610b47afcff81dfc71d5f11e2342147df14967acfc94349941369f79d [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:18:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:18:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 20:18:29 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:18:29 % Total % Received % Xferd Average Speed Time Time Time Current 20:18:29 Dload Upload Total Spent Left Speed 20:18:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89167 0 --:--:-- --:--:-- --:--:-- 89795 [Pipeline] sh 20:18:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] sh 20:18:30 + ls -al . 20:18:30 total 176 20:18:30 drwxrwxr-x 9 jenkins jenkins 4096 Aug 9 20:17 . 20:18:30 drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 20:16 .. 20:18:30 -rw-rw-r-- 1 jenkins jenkins 119 Aug 9 20:16 .dockerignore 20:18:30 drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 20:16 .git 20:18:30 drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 20:16 .github 20:18:30 -rw-rw-r-- 1 jenkins jenkins 164 Aug 9 20:16 .gitignore 20:18:30 -rw-rw-r-- 1 jenkins jenkins 41 Aug 9 20:16 .golangci.yml 20:18:30 drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 20:16 .semver 20:18:30 -rw-rw-r-- 1 jenkins jenkins 10642 Aug 9 20:16 Attribution.txt 20:18:30 -rw-rw-r-- 1 jenkins jenkins 258 Aug 9 20:16 CHANGELOG.md 20:18:30 -rw-rw-r-- 1 jenkins jenkins 1616 Aug 9 20:16 Dockerfile 20:18:30 -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 20:16 GOVERNANCE.md 20:18:30 -rw-rw-r-- 1 jenkins jenkins 681 Aug 9 20:16 Jenkinsfile 20:18:30 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 9 20:16 LICENSE 20:18:30 -rw-rw-r-- 1 jenkins jenkins 3139 Aug 9 20:16 Makefile 20:18:30 -rw-rw-r-- 1 jenkins jenkins 611 Aug 9 20:16 OWNERS.md 20:18:30 -rw-rw-r-- 1 jenkins jenkins 2363 Aug 9 20:16 README.md 20:18:30 -rw-rw-r-- 1 jenkins jenkins 4285 Aug 9 20:16 Record and Reply.postman_collection.json 20:18:30 -rw-rw-r-- 1 jenkins jenkins 5 Aug 9 20:16 VERSION 20:18:30 drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 20:16 bin 20:18:30 -rw-r--r-- 1 jenkins jenkins 17650 Aug 9 20:18 coverage.out 20:18:30 -rw-rw-r-- 1 jenkins jenkins 3668 Aug 9 20:16 go.mod 20:18:30 -rw-rw-r-- 1 jenkins jenkins 32847 Aug 9 20:16 go.sum 20:18:30 drwxrwxr-x 6 jenkins jenkins 4096 Aug 9 20:16 internal 20:18:30 -rw-rw-r-- 1 jenkins jenkins 913 Aug 9 20:16 main.go 20:18:30 drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 20:16 pkg 20:18:30 drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 20:16 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:18:30 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:18:30 + 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=9d67ec6c84775a96f29de82c164e4f2d147e8381 --label arch=amd64 --label version=0.0.0 . 20:18:30 Sending build context to Docker daemon 460.3kB 20:18:30 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 20:18:30 Step 2/26 : FROM ${BASE} AS builder 20:18:30 ---> 177078d6c997 20:18:30 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 20:18:30 ---> Running in 74951b180f09 20:18:30 Removing intermediate container 74951b180f09 20:18:30 ---> 4abe3b3567c2 20:18:30 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 20:18:31 + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo 20:18:31 tee /etc/docker/daemon.new 20:18:31 ---> Running in 8949b21c172d 20:18:31 Removing intermediate container 8949b21c172d 20:18:31 ---> 7a1a2be3b2aa 20:18:31 Step 5/26 : ARG ADD_BUILD_TAGS="" 20:18:31 ---> Running in 8dea75825a59 20:18:31 Removing intermediate container 8dea75825a59 20:18:31 ---> def38d881eaf 20:18:31 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:18:31 ---> Running in 35acabf8f587 20:18:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:18:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:18:31 { 20:18:31 "registry-mirrors": [ 20:18:31 "https://nexus3.edgexfoundry.org:10001" 20:18:31 ], 20:18:31 "bip": "10.250.0.254/24", 20:18:31 "hosts": [ 20:18:31 "tcp://0.0.0.0:5555", 20:18:31 "unix:///var/run/docker.sock" 20:18:31 ], 20:18:31 "mtu": 1458, 20:18:31 "selinux-enabled": true, 20:18:31 "seccomp-profile": "/etc/docker/seccomp.json" 20:18:31 } [Pipeline] sh 20:18:31 OK: 265 MiB in 53 packages 20:18:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:18:32 Removing intermediate container 35acabf8f587 20:18:32 ---> c13657efd8fb 20:18:32 Step 7/26 : WORKDIR /app 20:18:32 ---> Running in 8861d4fb62f2 20:18:32 Removing intermediate container 8861d4fb62f2 20:18:32 ---> 95cb60cb51c0 20:18:32 Step 8/26 : COPY go.mod vendor* ./ 20:18:32 + sudo service docker restart 20:18:32 ---> 27e3aff4bd4b 20:18:32 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:18:32 ---> Running in c34ab793d172 20:18:33 Removing intermediate container c34ab793d172 20:18:33 ---> 90c59a5a5838 20:18:33 Step 10/26 : COPY . . 20:18:33 ---> 7aca6ba8427f 20:18:33 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:18:33 ---> Running in d1c08f02962e 20:18:33 Removing intermediate container d1c08f02962e 20:18:33 ---> b0832134f296 20:18:33 Step 12/26 : RUN $MAKE 20:18:33 ---> Running in 3b9fb5c7a78e 20:18:33 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.15 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:18:50 provisioning config files... 20:18:50 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/4@tmp/config6389537494370404543tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:18:50 ---> docker-login.sh 20:18:50 nexus3.edgexfoundry.org:10001 20:18:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:51 Configure a credential helper to remove this warning. See 20:18:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:51 20:18:51 Login Succeeded 20:18:51 nexus3.edgexfoundry.org:10002 20:18:51 Removing intermediate container 3b9fb5c7a78e 20:18:51 ---> 40afb8c1827d 20:18:51 Step 13/26 : FROM alpine:3.17 20:18:51 3.17: Pulling from library/alpine 20:18:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:51 Configure a credential helper to remove this warning. See 20:18:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:51 20:18:51 Login Succeeded 20:18:51 nexus3.edgexfoundry.org:10003 20:18:51 9398808236ff: Pulling fs layer 20:18:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:52 Configure a credential helper to remove this warning. See 20:18:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:52 20:18:52 Login Succeeded 20:18:52 nexus3.edgexfoundry.org:10004 20:18:52 9398808236ff: Verifying Checksum 20:18:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:52 9398808236ff: Pull complete 20:18:52 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 20:18:52 Status: Downloaded newer image for alpine:3.17 20:18:52 ---> 1e0b8b5322fc 20:18:52 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:18:52 ---> Running in b7f0d0517e5d 20:18:52 Removing intermediate container b7f0d0517e5d 20:18:52 ---> 85660533c248 20:18:52 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 20:18:52 ---> Running in 57b53e2546e0 20:18:52 Removing intermediate container 57b53e2546e0 20:18:52 ---> 1f8d7aea7f77 20:18:52 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 20:18:52 ---> Running in 87b04e595614 20:18:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:52 Configure a credential helper to remove this warning. See 20:18:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:52 20:18:52 Login Succeeded 20:18:52 docker.io 20:18:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:18:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:18:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:53 Configure a credential helper to remove this warning. See 20:18:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:53 20:18:53 Login Succeeded 20:18:53 ---> docker-login.sh ends [Pipeline] } 20:18:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 20:18:53 (1/2) Installing ca-certificates (20230506-r0) 20:18:53 (2/2) Installing dumb-init (1.2.5-r2) 20:18:53 Executing busybox-1.35.0-r29.trigger 20:18:53 Executing ca-certificates-20230506-r0.trigger [Pipeline] echo 20:18:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:18:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:18:53 ========================================================= 20:18:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 20:18:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:18:53 OK: 8 MiB in 17 packages 20:18:53 + 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 . 20:18:53 Sending build context to Docker daemon 203.3kB 20:18:53 Removing intermediate container 87b04e595614 20:18:53 ---> af42acb1d412 20:18:53 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 20:18:53 ---> 64ad03f5211d 20:18:53 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 20:18:53 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 20:18:53 Step 2/12 : FROM ${BASE} AS builder 20:18:53 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:18:53 edb6bdbacee9: Pulling fs layer 20:18:53 5f9638ab2659: Pulling fs layer 20:18:53 8d51d6327a98: Pulling fs layer 20:18:53 8b374f2dd631: Pulling fs layer 20:18:53 ec14aa9079de: Pulling fs layer 20:18:53 2f466654f4bb: Pulling fs layer 20:18:53 554e91adad29: Pulling fs layer 20:18:53 ec14aa9079de: Waiting 20:18:53 2f466654f4bb: Waiting 20:18:53 554e91adad29: Waiting 20:18:53 8b374f2dd631: Waiting 20:18:53 5f9638ab2659: Verifying Checksum 20:18:53 5f9638ab2659: Download complete 20:18:54 ---> 75522e72ff12 20:18:54 Step 19/26 : COPY --from=builder /app/res/ /res/ 20:18:54 ---> 52cbadb1a461 20:18:54 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 20:18:54 8b374f2dd631: Download complete 20:18:54 ec14aa9079de: Verifying Checksum 20:18:54 ec14aa9079de: Download complete 20:18:54 edb6bdbacee9: Verifying Checksum 20:18:54 ---> 238b0a849b3f 20:18:54 Step 21/26 : EXPOSE 59712 20:18:54 ---> Running in d6ca5fa3a2a7 20:18:54 Removing intermediate container d6ca5fa3a2a7 20:18:54 ---> edca6661c3bc 20:18:54 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 20:18:54 ---> Running in 5254baf28f88 20:18:54 Removing intermediate container 5254baf28f88 20:18:54 ---> b07e4ef544b6 20:18:54 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 20:18:54 ---> Running in 3fbb88de949d 20:18:55 Removing intermediate container 3fbb88de949d 20:18:55 ---> 453986d9ec79 20:18:55 Step 24/26 : LABEL arch=amd64 20:18:55 ---> Running in fa98993d33b4 20:18:55 Removing intermediate container fa98993d33b4 20:18:55 ---> 054ab575f4e9 20:18:55 Step 25/26 : LABEL git_sha=9d67ec6c84775a96f29de82c164e4f2d147e8381 20:18:55 ---> Running in 5a31eff59452 20:18:55 Removing intermediate container 5a31eff59452 20:18:55 ---> ac726c8621c6 20:18:55 Step 26/26 : LABEL version=0.0.0 20:18:55 ---> Running in 37bda6cad1de 20:18:55 edb6bdbacee9: Pull complete 20:18:55 Removing intermediate container 37bda6cad1de 20:18:55 ---> 89bcb7e98012 20:18:55 [Warning] One or more build-args [ARCH] were not consumed 20:18:55 Successfully built 89bcb7e98012 20:18:55 Successfully tagged app-record-replay:latest [Pipeline] } [Pipeline] // withEnv 20:18:55 554e91adad29: Verifying Checksum 20:18:55 554e91adad29: Download complete [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 20:18:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:18:55 20:18:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:18:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:18:56 latest: Pulling from edgex-lftools-log-publisher 20:18:56 5eb5b503b376: Pulling fs layer 20:18:56 5c69ac0246d0: Pulling fs layer 20:18:56 ec43610c2a17: Pulling fs layer 20:18:56 3a2ae6a8a46f: Pulling fs layer 20:18:56 33b1e0a273af: Pulling fs layer 20:18:56 3a2ae6a8a46f: Waiting 20:18:56 33b1e0a273af: Waiting 20:18:56 5d3b04190fa2: Pulling fs layer 20:18:56 2f39f015ded8: Pulling fs layer 20:18:56 5d3b04190fa2: Waiting 20:18:56 2f39f015ded8: Waiting 20:18:56 5c69ac0246d0: Verifying Checksum 20:18:56 5c69ac0246d0: Download complete 20:18:56 3a2ae6a8a46f: Verifying Checksum 20:18:56 3a2ae6a8a46f: Download complete 20:18:56 33b1e0a273af: Verifying Checksum 20:18:56 33b1e0a273af: Download complete 20:18:56 ec43610c2a17: Verifying Checksum 20:18:56 ec43610c2a17: Download complete 20:18:56 5d3b04190fa2: Verifying Checksum 20:18:56 5d3b04190fa2: Download complete 20:18:56 2f466654f4bb: Verifying Checksum 20:18:56 2f466654f4bb: Download complete 20:18:56 8d51d6327a98: Verifying Checksum 20:18:56 8d51d6327a98: Download complete 20:18:56 5eb5b503b376: Verifying Checksum 20:18:56 5eb5b503b376: Download complete 20:18:57 2f39f015ded8: Verifying Checksum 20:18:57 2f39f015ded8: Download complete 20:18:57 5eb5b503b376: Pull complete 20:18:57 5c69ac0246d0: Pull complete 20:18:57 ec43610c2a17: Pull complete 20:18:57 3a2ae6a8a46f: Pull complete 20:18:58 33b1e0a273af: Pull complete 20:18:58 5d3b04190fa2: Pull complete 20:18:58 5f9638ab2659: Pull complete 20:19:02 2f39f015ded8: Pull complete 20:19:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:19:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:19:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:19:02 prd-ubuntu20.04-docker-8c-8g-3243 does not seem to be running inside a container 20:19:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_app-record-replay_PR-56 -v /w/workspace/xfoundry_app-record-replay_PR-56:/w/workspace/xfoundry_app-record-replay_PR-56:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-56@tmp:/w/workspace/xfoundry_app-record-replay_PR-56@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:19:05 $ docker top 022b1d3968f13e4d9a6c2d870e9eff98a014a596e180e67d10cf9845f972033b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:19:05 ---> job-cost.sh 20:19:05 lf-activate-venv: SKIPPING 20:19:05 INFO: No Stack... 20:19:06 INFO: Retrieving Pricing Info for: v3-standard-8 20:19:06 INFO: Archiving Costs [Pipeline] sh 20:19:07 + cat /w/workspace/xfoundry_app-record-replay_PR-56/archives/cost.csv 20:19:07 + cut -d, -f6 [Pipeline] lock 20:19:07 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-56-4-stack-cost] 20:19:07 Resource [jenkins-edgexfoundry-app-record-replay-PR-56-4-stack-cost] did not exist. Created. 20:19:07 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-56-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:19:07 + echo total: 0.2199999988079071 [Pipeline] stash 20:19:07 Stashed 1 file(s) [Pipeline] } 20:19:07 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-56-4-stack-cost] [Pipeline] // lock [Pipeline] } 20:19:07 $ docker stop --time=1 022b1d3968f13e4d9a6c2d870e9eff98a014a596e180e67d10cf9845f972033b 20:19:08 $ docker rm -f --volumes 022b1d3968f13e4d9a6c2d870e9eff98a014a596e180e67d10cf9845f972033b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:19:13 8d51d6327a98: Pull complete 20:19:13 8b374f2dd631: Pull complete 20:19:13 ec14aa9079de: Pull complete 20:19:18 2f466654f4bb: Pull complete 20:19:20 554e91adad29: Pull complete 20:19:20 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 20:19:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:19:20 ---> 1e15ea492957 20:19:20 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 20:19:22 ---> Running in 56d4aa82ae4a 20:19:22 Removing intermediate container 56d4aa82ae4a 20:19:22 ---> dc4439c9d56b 20:19:22 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 20:19:22 ---> Running in e258e11facde 20:19:23 Removing intermediate container e258e11facde 20:19:23 ---> 8bb141b36c19 20:19:23 Step 5/12 : ARG ADD_BUILD_TAGS="" 20:19:23 ---> Running in 87ed43cfa964 20:19:23 Removing intermediate container 87ed43cfa964 20:19:23 ---> 4f7099642de8 20:19:23 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:19:23 ---> Running in 9999f1a1f373 20:19:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:19:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:19:26 OK: 263 MiB in 53 packages 20:19:27 Removing intermediate container 9999f1a1f373 20:19:27 ---> 52fee484d193 20:19:27 Step 7/12 : WORKDIR /app 20:19:27 ---> Running in 1da872083dd6 20:19:27 Removing intermediate container 1da872083dd6 20:19:27 ---> da4992586890 20:19:27 Step 8/12 : COPY go.mod vendor* ./ 20:19:27 ---> 5172a9fb6d3b 20:19:27 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:19:27 ---> Running in 4412ed91df2a 20:20:35 Removing intermediate container 4412ed91df2a 20:20:35 ---> 309a15271daf 20:20:35 Step 10/12 : COPY . . 20:20:35 ---> 8e185ec96ffc 20:20:35 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:20:35 ---> Running in 273c4a864a81 20:20:35 Removing intermediate container 273c4a864a81 20:20:35 ---> 95e2ce7149a9 20:20:35 Step 12/12 : RUN $MAKE 20:20:35 ---> Running in b1cdaa2be2df 20:20:35 noop 20:20:35 Removing intermediate container b1cdaa2be2df 20:20:35 ---> b8079515060a 20:20:35 Successfully built b8079515060a 20:20:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:20:36 + docker inspect -f . ci-base-image-arm64 20:20:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:20:36 prd-ubuntu20.04-docker-arm64-4c-16g-3244 does not seem to be running inside a container 20:20:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/4 -v /w/workspace/app-record-replay/4:/w/workspace/app-record-replay/4:rw,z -v /w/workspace/app-record-replay/4@tmp:/w/workspace/app-record-replay/4@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 20:20:37 $ docker top 7eeaa9666aa9285bd9c18c3c5c6218dcc5f7089abeab264174c9458d931e0ba9 -eo pid,comm [Pipeline] { [Pipeline] sh 20:20:38 + go version 20:20:38 go version go1.20.6 linux/arm64 [Pipeline] } 20:20:38 $ docker stop --time=1 7eeaa9666aa9285bd9c18c3c5c6218dcc5f7089abeab264174c9458d931e0ba9 20:20:39 $ docker rm -f --volumes 7eeaa9666aa9285bd9c18c3c5c6218dcc5f7089abeab264174c9458d931e0ba9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:20:40 + docker inspect -f . ci-base-image-arm64 20:20:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:20:40 prd-ubuntu20.04-docker-arm64-4c-16g-3244 does not seem to be running inside a container 20:20:40 $ 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/4 -v /w/workspace/app-record-replay/4:/w/workspace/app-record-replay/4:rw,z -v /w/workspace/app-record-replay/4@tmp:/w/workspace/app-record-replay/4@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 20:20:41 $ docker top e2abf3961396cbe0572cdf2b601e796c387680a8260e85c1147bf245993dbab5 -eo pid,comm [Pipeline] { [Pipeline] sh 20:20:42 + git config --global --add safe.directory /w/workspace/app-record-replay/4 [Pipeline] fileExists [Pipeline] sh 20:20:42 + make test 20:20:42 go test -race -coverprofile=coverage.out ./... 20:23:19 ? github.com/edgexfoundry/app-record-replay [no test files] 20:23:32 ok github.com/edgexfoundry/app-record-replay/internal/app 0.271s coverage: 88.0% of statements 20:23:36 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 20:23:36 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 20:23:36 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 20:23:39 ok github.com/edgexfoundry/app-record-replay/internal/application 8.868s coverage: 97.5% of statements 20:23:39 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.402s coverage: 77.9% of statements 20:23:40 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:23:40 go vet ./... 20:26:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:26:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:26:01 ./bin/test-attribution-txt.sh [Pipeline] echo 20:26:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:26:01 $ docker stop --time=1 e2abf3961396cbe0572cdf2b601e796c387680a8260e85c1147bf245993dbab5 20:26:03 $ docker rm -f --volumes e2abf3961396cbe0572cdf2b601e796c387680a8260e85c1147bf245993dbab5 [Pipeline] // withDockerContainer [Pipeline] sh 20:26:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:26:05 Warning: overwriting stash ‘coverage-report’ 20:26:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:26:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:26:06 + ls -al . 20:26:06 total 172 20:26:06 drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 20:20 . 20:26:06 drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 20:18 .. 20:26:06 -rw-rw-r-- 1 jenkins jenkins 119 Aug 9 20:18 .dockerignore 20:26:06 drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 20:18 .git 20:26:06 drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 20:18 .github 20:26:06 -rw-rw-r-- 1 jenkins jenkins 164 Aug 9 20:18 .gitignore 20:26:06 -rw-rw-r-- 1 jenkins jenkins 41 Aug 9 20:18 .golangci.yml 20:26:06 -rw-rw-r-- 1 jenkins jenkins 10642 Aug 9 20:18 Attribution.txt 20:26:06 -rw-rw-r-- 1 jenkins jenkins 258 Aug 9 20:18 CHANGELOG.md 20:26:06 -rw-rw-r-- 1 jenkins jenkins 1616 Aug 9 20:18 Dockerfile 20:26:06 -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 20:18 GOVERNANCE.md 20:26:06 -rw-rw-r-- 1 jenkins jenkins 681 Aug 9 20:18 Jenkinsfile 20:26:06 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 9 20:18 LICENSE 20:26:06 -rw-rw-r-- 1 jenkins jenkins 3139 Aug 9 20:18 Makefile 20:26:06 -rw-rw-r-- 1 jenkins jenkins 611 Aug 9 20:18 OWNERS.md 20:26:06 -rw-rw-r-- 1 jenkins jenkins 2363 Aug 9 20:18 README.md 20:26:06 -rw-rw-r-- 1 jenkins jenkins 4285 Aug 9 20:18 Record and Reply.postman_collection.json 20:26:06 -rw-rw-r-- 1 jenkins jenkins 5 Aug 9 20:16 VERSION 20:26:06 drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 20:18 bin 20:26:06 -rw-r--r-- 1 jenkins jenkins 17650 Aug 9 20:23 coverage.out 20:26:06 -rw-rw-r-- 1 jenkins jenkins 3668 Aug 9 20:18 go.mod 20:26:06 -rw-rw-r-- 1 jenkins jenkins 32847 Aug 9 20:18 go.sum 20:26:06 drwxrwxr-x 6 jenkins jenkins 4096 Aug 9 20:18 internal 20:26:06 -rw-rw-r-- 1 jenkins jenkins 913 Aug 9 20:18 main.go 20:26:06 drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 20:18 pkg 20:26:06 drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 20:18 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:26:06 + 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=9d67ec6c84775a96f29de82c164e4f2d147e8381 --label arch=arm64 --label version=0.0.0 . 20:26:06 Sending build context to Docker daemon 221.7kB 20:26:07 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 20:26:07 Step 2/26 : FROM ${BASE} AS builder 20:26:07 ---> b8079515060a 20:26:07 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 20:26:07 ---> Running in 540c4e9a75c5 20:26:07 Removing intermediate container 540c4e9a75c5 20:26:07 ---> ac687687df15 20:26:07 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 20:26:07 ---> Running in f1f9fe187171 20:26:07 Removing intermediate container f1f9fe187171 20:26:07 ---> 986e65d5b849 20:26:07 Step 5/26 : ARG ADD_BUILD_TAGS="" 20:26:07 ---> Running in 3d95c79dd661 20:26:08 Removing intermediate container 3d95c79dd661 20:26:08 ---> de1dc3cccc95 20:26:08 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:26:08 ---> Running in 025ac5d892cf 20:26:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:26:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:26:10 OK: 263 MiB in 53 packages 20:26:11 Removing intermediate container 025ac5d892cf 20:26:11 ---> 0f12a45c8b5b 20:26:11 Step 7/26 : WORKDIR /app 20:26:11 ---> Running in 0f7d1e2b0d95 20:26:11 Removing intermediate container 0f7d1e2b0d95 20:26:11 ---> 2a0526d5634d 20:26:11 Step 8/26 : COPY go.mod vendor* ./ 20:26:12 ---> 155b1c825789 20:26:12 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:26:12 ---> Running in 01ff25f3b6a3 20:26:15 Removing intermediate container 01ff25f3b6a3 20:26:15 ---> f5940ed28bc1 20:26:15 Step 10/26 : COPY . . 20:26:16 ---> 1c1be311fb48 20:26:16 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:26:16 ---> Running in a8909e61460b 20:26:16 Removing intermediate container a8909e61460b 20:26:16 ---> a06c85fd23fe 20:26:16 Step 12/26 : RUN $MAKE 20:26:16 ---> Running in be64e237bf90 20:26:17 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.15 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 20:28:24 Removing intermediate container be64e237bf90 20:28:24 ---> 099b965a870a 20:28:24 Step 13/26 : FROM alpine:3.17 20:28:24 3.17: Pulling from library/alpine 20:28:24 4060ece20d7a: Pulling fs layer 20:28:24 4060ece20d7a: Verifying Checksum 20:28:24 4060ece20d7a: Download complete 20:28:24 4060ece20d7a: Pull complete 20:28:24 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 20:28:24 Status: Downloaded newer image for alpine:3.17 20:28:24 ---> 8650cd65339b 20:28:24 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:28:24 ---> Running in 3b1d7d3ff3bd 20:28:24 Removing intermediate container 3b1d7d3ff3bd 20:28:24 ---> 5cde9f5e51b4 20:28:24 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 20:28:24 ---> Running in 51e422a425a3 20:28:24 Removing intermediate container 51e422a425a3 20:28:24 ---> aae8c69b4ad5 20:28:24 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 20:28:24 ---> Running in 2bbc6c9f0968 20:28:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:28:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:28:24 (1/2) Installing ca-certificates (20230506-r0) 20:28:24 (2/2) Installing dumb-init (1.2.5-r2) 20:28:24 Executing busybox-1.35.0-r29.trigger 20:28:24 Executing ca-certificates-20230506-r0.trigger 20:28:25 OK: 8 MiB in 17 packages 20:28:26 Removing intermediate container 2bbc6c9f0968 20:28:26 ---> 749fe8c3af8d 20:28:26 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 20:28:27 ---> 14172a32a115 20:28:27 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 20:28:31 ---> 336dfeae4c47 20:28:31 Step 19/26 : COPY --from=builder /app/res/ /res/ 20:28:31 ---> 69e870bee45e 20:28:31 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 20:28:32 ---> 0b58ef063ae6 20:28:32 Step 21/26 : EXPOSE 59712 20:28:32 ---> Running in 83dcfb63ff1e 20:28:32 Removing intermediate container 83dcfb63ff1e 20:28:32 ---> 1af2819ad8e4 20:28:32 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 20:28:33 ---> Running in 75ef9116f16c 20:28:33 Removing intermediate container 75ef9116f16c 20:28:33 ---> 7d971f4dfe5f 20:28:33 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 20:28:33 ---> Running in 51ba0fbc7bdd 20:28:33 Removing intermediate container 51ba0fbc7bdd 20:28:33 ---> bdeaa62d5d38 20:28:33 Step 24/26 : LABEL arch=arm64 20:28:33 ---> Running in bb67b5f31964 20:28:33 Removing intermediate container bb67b5f31964 20:28:33 ---> 82b2d5bd14b9 20:28:33 Step 25/26 : LABEL git_sha=9d67ec6c84775a96f29de82c164e4f2d147e8381 20:28:33 ---> Running in 6a67e2a9fb2b 20:28:34 Removing intermediate container 6a67e2a9fb2b 20:28:34 ---> eacecc3dfe6c 20:28:34 Step 26/26 : LABEL version=0.0.0 20:28:34 ---> Running in 1b7db34a5b19 20:28:34 Removing intermediate container 1b7db34a5b19 20:28:34 ---> 271cea767a66 20:28:34 [Warning] One or more build-args [ARCH] were not consumed 20:28:34 Successfully built 271cea767a66 20:28:34 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 20:28:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:28:35 20:28:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:28:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:28:35 arm64: Pulling from edgex-lftools-log-publisher 20:28:35 8998bd30e6a1: Pulling fs layer 20:28:35 04944245beec: Pulling fs layer 20:28:35 699f458cf7ca: Pulling fs layer 20:28:35 765212b225bb: Pulling fs layer 20:28:35 f23df028b6ca: Pulling fs layer 20:28:35 d65c8cfc05b1: Pulling fs layer 20:28:35 2437ff75d9bd: Pulling fs layer 20:28:35 f23df028b6ca: Waiting 20:28:35 d65c8cfc05b1: Waiting 20:28:35 2437ff75d9bd: Waiting 20:28:35 765212b225bb: Waiting 20:28:35 04944245beec: Verifying Checksum 20:28:35 04944245beec: Download complete 20:28:35 765212b225bb: Verifying Checksum 20:28:35 765212b225bb: Download complete 20:28:35 f23df028b6ca: Verifying Checksum 20:28:35 f23df028b6ca: Download complete 20:28:35 d65c8cfc05b1: Verifying Checksum 20:28:35 d65c8cfc05b1: Download complete 20:28:35 699f458cf7ca: Verifying Checksum 20:28:35 699f458cf7ca: Download complete 20:28:36 8998bd30e6a1: Verifying Checksum 20:28:36 8998bd30e6a1: Download complete 20:28:38 2437ff75d9bd: Verifying Checksum 20:28:38 2437ff75d9bd: Download complete 20:28:40 8998bd30e6a1: Pull complete 20:28:40 04944245beec: Pull complete 20:28:41 699f458cf7ca: Pull complete 20:28:42 765212b225bb: Pull complete 20:28:42 f23df028b6ca: Pull complete 20:28:42 d65c8cfc05b1: Pull complete 20:28:57 2437ff75d9bd: Pull complete 20:28:57 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:28:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:28:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:28:58 prd-ubuntu20.04-docker-arm64-4c-16g-3244 does not seem to be running inside a container 20:28:58 $ 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/4 -v /w/workspace/app-record-replay/4:/w/workspace/app-record-replay/4:rw,z -v /w/workspace/app-record-replay/4@tmp:/w/workspace/app-record-replay/4@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 20:29:00 $ docker top 79907b77a983510548566075e420f37a3f990ca1ef87e6c452e681598f7f8d29 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:29:01 ---> job-cost.sh 20:29:01 lf-activate-venv: SKIPPING 20:29:01 INFO: No Stack... 20:29:01 INFO: Retrieving Pricing Info for: v3-standard-4 20:29:02 INFO: Archiving Costs [Pipeline] sh 20:29:02 + cat /w/workspace/app-record-replay/4/archives/cost.csv 20:29:02 + cut -d, -f6 [Pipeline] lock 20:29:02 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-56-4-stack-cost] 20:29:02 Resource [jenkins-edgexfoundry-app-record-replay-PR-56-4-stack-cost] did not exist. Created. 20:29:02 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-56-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:29:03 /w/workspace/app-record-replay/4@tmp/durable-745d63f5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:29:03 + echo total: 0.10999999940395355 [Pipeline] stash 20:29:03 Warning: overwriting stash ‘stack-cost’ 20:29:03 Stashed 1 file(s) [Pipeline] } 20:29:03 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-56-4-stack-cost] [Pipeline] // lock [Pipeline] } 20:29:03 $ docker stop --time=1 79907b77a983510548566075e420f37a3f990ca1ef87e6c452e681598f7f8d29 20:29:05 $ docker rm -f --volumes 79907b77a983510548566075e420f37a3f990ca1ef87e6c452e681598f7f8d29 [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 20:29:05 provisioning config files... 20:29:05 Could not find credentials [app-record-replay-codecov-token] for edgexfoundry/app-record-replay/PR-56 #4 20:29:05 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/xfoundry_app-record-replay_PR-56@tmp/config12040750311894756898tmp [Pipeline] { [Pipeline] sh 20:29:05 + set +x 20:29:05 + + curl -s https://codecov.io/bash 20:29:05 bash -s -- 20:29:05 20:29:05 _____ _ 20:29:05 / ____| | | 20:29:05 | | ___ __| | ___ ___ _____ __ 20:29:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:29:05 | |___| (_) | (_| | __/ (_| (_) \ V / 20:29:05 \_____\___/ \__,_|\___|\___\___/ \_/ 20:29:05 Bash-1.0.6 20:29:05 20:29:05 20:29:05 ==> git version 2.25.1 found 20:29:05 ==> 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 20:29:05 Release-Date: 2020-01-08 20:29:05 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:29:05 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:29:05 ==> Jenkins CI detected. 20:29:05 current dir:  /w/workspace/xfoundry_app-record-replay_PR-56 20:29:05 project root: . 20:29:05 --> token set from env 20:29:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:29:05 ==> Running gcov in . (disable via -X gcov) 20:29:05 ==> Python coveragepy not found 20:29:05 ==> Searching for coverage reports in: 20:29:05 + . 20:29:05 -> Found 1 reports 20:29:05 ==> Detecting git/mercurial file structure 20:29:05 ==> Reading reports 20:29:06 + ./coverage.out bytes=17650 20:29:06 ==> Appending adjustments 20:29:06 https://docs.codecov.io/docs/fixing-reports 20:29:06 + Found adjustments 20:29:06 ==> Gzipping contents 20:29:06 4.0K /tmp/codecov.RwhkkI.gz 20:29:06 ==> Uploading reports 20:29:06 url: https://codecov.io 20:29:06 query: branch=PR-56&commit=9d67ec6c84775a96f29de82c164e4f2d147e8381&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-56%2F4%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=56&job=&cmd_args= 20:29:06 -> Pinging Codecov 20:29:06 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=$CCTOKEN&branch=PR-56&commit=9d67ec6c84775a96f29de82c164e4f2d147e8381&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-56%2F4%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=56&job=&cmd_args= 20:29:06 Invalid request parameters 20:29:06 400 [Pipeline] } 20:29:06 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 20:29:06 + [ -d /w/workspace/xfoundry_app-record-replay_PR-56/archives ] 20:29:06 + ls -al /w/workspace/xfoundry_app-record-replay_PR-56/archives 20:29:06 total 16 20:29:06 drwxr-xr-x 3 root root 4096 Aug 9 20:19 . 20:29:06 drwxrwxr-x 10 jenkins jenkins 4096 Aug 9 20:19 .. 20:29:06 drwxr-xr-x 2 root root 4096 Aug 9 20:19 cost 20:29:06 -rw-r--r-- 1 root root 88 Aug 9 20:19 cost.csv 20:29:06 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-56/archives 20:29:06 + ls -al /w/workspace/xfoundry_app-record-replay_PR-56/archives 20:29:06 total 16 20:29:06 drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 20:19 . 20:29:06 drwxrwxr-x 10 jenkins jenkins 4096 Aug 9 20:19 .. 20:29:06 drwxr-xr-x 2 jenkins jenkins 4096 Aug 9 20:19 cost 20:29:06 -rw-r--r-- 1 jenkins jenkins 88 Aug 9 20:19 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:29:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:29:08 ---> package-listing.sh 20:29:08 ++ tr '[:upper:]' '[:lower:]' 20:29:08 ++ facter osfamily 20:29:08 + OS_FAMILY=debian 20:29:08 + workspace=/w/workspace/xfoundry_app-record-replay_PR-56 20:29:08 + START_PACKAGES=/tmp/packages_start.txt 20:29:08 + END_PACKAGES=/tmp/packages_end.txt 20:29:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:29:08 + PACKAGES=/tmp/packages_start.txt 20:29:08 + '[' /w/workspace/xfoundry_app-record-replay_PR-56 ']' 20:29:08 + PACKAGES=/tmp/packages_end.txt 20:29:08 + case "${OS_FAMILY}" in 20:29:08 + grep '^ii' 20:29:08 + dpkg -l 20:29:08 + '[' -f /tmp/packages_start.txt ']' 20:29:08 + '[' -f /tmp/packages_end.txt ']' 20:29:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:29:08 + '[' /w/workspace/xfoundry_app-record-replay_PR-56 ']' 20:29:08 + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-56/archives/ 20:29:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-56/archives/ [Pipeline] echo 20:29:08 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_app-record-replay_PR-56/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:29:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:29:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:29:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:29:09 prd-ubuntu20.04-docker-8c-8g-3243 does not seem to be running inside a container 20:29:09 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_app-record-replay_PR-56/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_app-record-replay_PR-56 -v /w/workspace/xfoundry_app-record-replay_PR-56:/w/workspace/xfoundry_app-record-replay_PR-56:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-56@tmp:/w/workspace/xfoundry_app-record-replay_PR-56@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:29:09 $ docker top 26d05d337b1f25d6a1f72906c9f066d20360bdf32d5670a8b64dd6f9a3a2b645 -eo pid,comm [Pipeline] { [Pipeline] sh 20:29:09 + touch /tmp/pre-build-complete [Pipeline] sh 20:29:10 + mkdir -p /var/log/sysstat [Pipeline] sh 20:29:10 + ls /var/log/sa-host 20:29:10 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:29:10 provisioning config files... 20:29:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-56@tmp/config17344616820852971436tmp [Pipeline] { [Pipeline] echo 20:29:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:29:10 ---> create-netrc.sh [Pipeline] } 20:29:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:29:11 ---> python-tools-install.sh [Pipeline] echo 20:29:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:29:11 ---> sudo-logs.sh 20:29:11 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:29:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:29:11 ---> job-cost.sh 20:29:11 lf-activate-venv: SKIPPING 20:29:11 DEBUG: total: 0.2199999988079071 20:29:11 INFO: Retrieving Stack Cost... 20:29:11 INFO: Retrieving Pricing Info for: v3-standard-8 20:29:12 INFO: Archiving Costs [Pipeline] echo 20:29:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:29:12 ---> logs-deploy.sh 20:29:12 lf-activate-venv: SKIPPING 20:29:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-56/4 20:29:12 INFO: archiving workspace using pattern(s): 20:29:13 Archives upload complete. 20:29:13 INFO: archiving logs to Nexus